jch-config-editor 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,27 @@
1
- (function(Me,l){const B=_0x4806,z=Me();for(;;)try{if(-parseInt(B(1951))/1*(parseInt(B(1640))/2)+-parseInt(B(1711))/3*(parseInt(B(1470))/4)+parseInt(B(2130))/5*(parseInt(B(605))/6)+-parseInt(B(385))/7+-parseInt(B(639))/8*(-parseInt(B(794))/9)+parseInt(B(1385))/10*(-parseInt(B(1664))/11)+parseInt(B(1466))/12===l)break;z.push(z.shift())}catch{z.push(z.shift())}})(_0x1b50,33e4),(function(Me,l){const B=_0x4806;typeof exports===B(2171)&&typeof module<"u"?l(exports,require(B(377)),require(B(1978)),require("antd"),require(B(1087)),require(B(1195)),require(B(1668)),require("nanoid"),require(B(531)),require(B(974))):typeof define===B(1154)&&define.amd?define([B(1749),B(377),B(1978),B(1703),B(1087),B(1195),B(1668),B(1161),B(531),"react-dom"],l):(Me=typeof globalThis<"u"?globalThis:Me||self,l(Me[B(1829)]={},Me[B(1863)],Me[B(1780)],Me[B(1703)],Me[B(453)],Me.zustand,Me[B(1668)],Me[B(1161)],Me[B(1818)]))})(this,function(Me,l,B,z,ae,zx,l0,be,d0){"use strict";function _0x1b50(){const Me=["zgfZAgvK","B25oB2rLC0nOyw5Nzq","CMDI","C25HCfrVr3jPza","y2XVBMvfBgvTzw50","B25oB2rLtw91C2vmzwf2zq","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","y2fSBgjHy2S","zgf0ys4","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","B25oB2rLC0rLBgv0zq","5y+V5O6s5BQp","qebPDgvYyxrVCG","zxzLBNrtDwjQzwn0CW","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","vgfN","55s75BIdide","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","zMX1C2G","EwvSBg93","AhnSysG","zwfZzq","Aw5KzxG","iwjNlwjSDwuTntaW","rgL2AwrLCG","x2HHC1bHCMvUDa","x3rPBwu","Dhj5CW","i2yWzJbMma","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","CMvHzefZvgv4Da","6l+u5zUE5lUk5AsP","CMvHy3qTzMXVD19FCMvUzgvYzxi","zhvYyxrPB24","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","vxbSB2fKt3v0BgLUzwq","AhLWB3q","iZHJogm4yW","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","Dgv4Dc14CW","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","Aw52zxj0wa","qebVyNnLCNzHyMXL","C3DPDgnOq2fUDMfZ","Bgv2zwW","x2DYB3vWCW","DgfYz2v0sgfUzgXL","BgLUzq","vgLTzw91DcbOyxmGB2nJDxjYzwq","zgvZDgLUyxrPB24","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","55s75BId5A+85yE65AsX6lsL","77Yi5y+V6ycj77Yj","DhDLzw4","Bw91C2vvCa","lNjLywn0lwzSB3C","zg9JDw1LBNrfBgvTzw50","ywjZB2X1Dgu","5BEY5l+D5A2y","6zw/5yIs6zE06zQu","w3jVBgu9iMXPC3rIB3GIxq","zxzLBNrcBg9JA0LK","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","zwrNzxngB2n1C2fIBgu","w2rHDgeTy2fUDMfZpsj0CNvLiL0","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","5PwW5O2U6zUg","AgfUzgXLqM91BMrZ","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","C3vJy2vZCW","yxjYB3DJBg9Zzwq","5lQl5lU25Rwb","6ycj5OUP5PE26zE0","5ywO6ycj5OMa5PYj","EKLUzgv4tw9Kzq","y29UDgfPBNm","AxndBgLJA2fIBgu6","BgfIzwXtAg93qMC","DMLLD0jVEa","BgfIzwXtDhLSzq","AxrLCMf0B3i","D29YAW","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","Cg9ZAxrPB25byNnVBhv0zq","BgLUzujVEa","u2HPzNq","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","DMfSDwvdB2XVCG","54Q25Ocb5PwWoIa","y29UBMvJDgLVBLjHzgL1CW","qwXPz25mzwz0t3v0BgLUzwq","CgfYyw1Zq29Kzq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","BMuTCMvZAxPL","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","u2vSzwn0t3v0BgLUzwq","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","x2zPBMfSAxPLCNm","BgLUzvDLAwDODa","C3rLCa","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","iI8+pc9ZDMC+","5OMN6kgm5lUJ56cb","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","Cg9PBNrLCI1LDMvUDhmTyxv0BW","mZqYntm1quztC3DO","zhjHz2DHyMXL","u3bHy2u","B25fCNjVCG","5BEY5zcV55sO","zMLUzefJDgL2zvn0yxr1CW","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","5PwW57Ue56YSia","y29UBMvJDgLVBK1Vzgu","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","6Ake6kEi5QIH5BYp","zxHPDa","Bg9VC2u","rwrNzsbMCM9Tia","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","DxnLCLnWywnLt25vC2u","ue9tsvrjvKvFsu5gsu5jvfK","zMLSzq","CgfYDgLHBa","zgvZy3jPChrPB24","Dg9iyw5KBgu","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","C3rHCNrsB3rHDgu","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","C2vJB25Kyxj5","w2rHDgeTBM9Kzs1Pzd0I","B250B3vJAhn0yxj0","ksb0CMfUC2XHDguO","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","5ywO6ycj5B2t6Ag1","zgLYzwn0Aw9U","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","CMvHy3qTzMXVD19FzwrNzs10zxH0","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","C3rHCNrizwLNAhq","AgLZDg9YEq","6kEM5y+roIa","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","BM9KzxneCMfNz2fIBgu","5lIl5lIa5Q2L","B2jQzwn0","Aw50zxjWB2XHDgu","lwzSB3DFx2vKz2u","B2jZzxj2zwq","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","C29SAwq","B3v0Chv0CW","C2vSzwn0zwq","zxHLy3v0Aw9Uugf0Aa","B25oB2rLtw91C2vnB3zL","5AAc77YA55s15PY65Rwl54k56zUg","Dw5ZAgLMDa","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","x3n1yNnJCMLIzq","57Uy5yI25lIT","C2vSzwn0tM9KzxnpBKrYywC","CMzFx2jHy2TNCM91BMq","zxzLBNrcBg9JA3m","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","Cg9SEwXPBMu","zM9YD2fYzfjLzG","CMvZB2X2zq","zM9UDc1TB25VihrLEhqTC20","BgvUz3rO","B3jPzw50","5A+85yE65B2t5yMn55s75BId","ChGP","Bw91C2vcDxr0B24","6BUy6k6K6Ag555UU","B2zMC2v0v2LKDgG","5lQK5O2I6lw354k55zkm57Ui54k5","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","yxjNCY5WCMv2ma","BMv3","5BYa5AEl5PE26zE0","Dg9tDhjPBMDuywC","C2vSzwn0zwroB2rLswrZ","5lQl5lU25z2x5BEY5PU05PAW","DhjHBNnSyxrLwcGTntaLkq","CMvZAxPL","DxnLrwzMzwn0","x19WCM90B19F","Bg9N","55UU5Qch55s75BId","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","C2nHBgvcEq","C2LIBgLUz0DYB3vWCW","sw5WDxq","5lIl5lIa5BM05lUJ","y2XVC2vKlq","BwvYz2vsDw50Aw1LsgfUzgXLCNm","Dg91y2HLCW","B2jQzwn0ihvUC3vIC2nYAwjLza","55s754k557Q/","CMvHy3qVANn4lxj1BNrPBwu","lI4U","mcaWidi1idmY","Aw50zxjUywXZ","zgvSDgfz","5yIG6zMK6k+L5PwW5O2U6zUg77YF","BMfTzxnWywnLvvjj","C3rHCNrz","ndi4mZm5mxvkDgXywq","tufurvjjquXFu1rbvfvtx0niqu5hrq","tw96vxnLCLnLBgvJDa","C3LUy1zPzxDWB3j0","DhjHBNnSyxrLka","zhjHz0HHBMrSzq","Bg9HzgLUzW","54Q25OcbicH0ExbLkq","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","x2LK","BM9KzuvSzw1LBNq","6l+u5zUE5yIx6kgO","yM9YzgvY","C21HBgW","CMvJB25Uzwn0ywjSzq","ww91ihbYB3zPzgvKia","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","5Asn5yI26iQc54k5","lcdOV57MJQxMLBa6ia","6zw/5yIslEwpJoEcUEs6PoABVW","ChGS","5PAW5lQl5lU25z2x","6yEn5zg95zcn","5A2x5l2t5AsN5Bcp","CxvLCNLtzwXLy3rVCKfSBa","6ycj5OUP57Ur5A6A5yc8","BNvTyMvY","zw5K","6ycj5OUP57Ur5A6A5A2x5Q61","5RIq5y+y6iMY","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","zg9Uzq","Ag9YAxPVBNrHBa","C2v0uhjVDg90ExbLt2y","Aw5KzxHpzG","Aw5ZDa","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","iZaWmtKZqW","uhjVDMLKzxi","77Yi5BEY5yIG6zMK77YA","6k+36ycj5OUP6iQc54k5","57Ut5P2F5A2J5BQM","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","5yAf572U5yQO5l2C","B3bZ","CgfYzw50tM9Kzq","zMXLEc0X","Bw91C2vfBNrLCG","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","5A+g6zUg54k554Q2","5BgE5OcN6z2I5P2/","AgfZt3DUuhjVCgvYDhK","C3vIC2nYAxb0Aw9UCW","B25oB2rLrhjHz1n0yxj0","mNb4ihnVBgLKicmXodKWzMy","5OYb57UT5PE26zE077Yi56Es77Yj","zwrNzuLUzgv4","z2v0uhjVCgvYDhLwywX1zq","iZi2mJyYnG","5lIk5lYGifnwrW","vw5NCM91Ce91DgXPBMvK","CMvUyw1L","yxnZzxj0AxzL","BgfIzwXgB250u2L6zq","C3vIAMvJDa","q3jVC3m","yMfJA2DYB3vUza","BwvZC2fNzq","AwnVBNm","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","xNjNyMfCka","zNjVBuHHBMrSzq","rM9YBq","CgLWzq","C2vSzwn0q2HPBgrYzw4","twfYA2vYrgvMAw5PDgLVBNm","5PwW57UeicG","u2vSzwn0","tM9Kzsb0ExbLici","5lIk5lIa5Q2L","u2LTCgXLqMv6AwvYrwrNzq","C2v0rhjHz0LTywDL","C2v0rMLLBgrZvMfSDwu","Aw52zxjZzq","6k+35AgR5yAz5O+q56s65yAf5A65","BgLMDa","zw1PDev4DgvYBMfS","q29SBgfWC2u","55s75BId5A+85yE65OIq5yQF77Yb","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","zgvMyxvSDevKz2vZ","C2nHBgu","5lUo57Ue5lIT56E76zMK","5Asw6yoO5lQl5lU2","57Uy5yI25QIH5BYp","BM9VCgvUzxiGBM9YzwzLCNjLCG","zMLYC3rdAgLSza","Dg9ju09tDhjPBMC","rxnJyxbL","Bs9ZWRi","rNvSBa","AxnwywXPza","DMfSDwvpzG","mc4Zzw0","CMvUzgvY","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","yMXVy2SGDhj1BMnHDgu","DY1MDwXSigP1C3rPzNKTzw5K","C2nHBgvuBW","rw50zxi","CMzFx2nVBNrYB2XZ","zMfJDg9Y","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","5yc85P2L5RQq","A2vLCefZCgvJDfjHDgLV","6ycj5OUP5PwW5O2U6zUg","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","y29SB3i","zw5Kwa","zgf0yvjLCxvLC3rlzxK","iZu5ntK1oq","zgf0yvrYyw5ZzMvY","C2v0qxr0CMLIDxrLtLm","yxnZAwDU","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","twvZC2fNzsdMJ5dNPlO","Bw91C2vz","y2HPBgrYzw4","zgv2zwXVCg1LBNq","54Q25Ocb5zcn56EW","57Ut5P2F5PEL5PYF","mcaWidmYidmY","Bwf0CML4vhjHBNnMB3jT","5PAW5BU65PwW5O2U6zUg","Cg9PBNrLCKLK","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","CMv2zxjZzq","CgfKzgLUzW","Ac1MDwXSigzSzxGGzMXLEc1JB2W","ioMHUsK","z2v0qxr0CMLIDxrL","DxnLtwvTBW","zgvJAw1HBhm","Bw91C2vTB3zL","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","CMvZDwX0","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","DMfSDwvtDhLSzq","Bw0VCW","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","BgLUAW","lwzSB3DFx2HHBMrSzq","zgL2","EKLUzgv4","C2v0twLUwM9VBq","BwfW","y2vUDgvY","B25oB2rLq2XPy2S","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","AgvHza","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","6ycj5OUP54MP5PAz","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","zxjYB3iWmdm","zxjYB3i","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","zhjHzW","D2HLzwW","C2v0q2vUDgvY","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","6k+36ycj5OUP5yAf572U5yQO5l2C","x19UB3nLBgvJDa","C2v0u2nHBgvfEhrLBNq","Axnqyw5ty3jVBgXPBMC","6k+35AgR5yAz6k+35Rgc5Qch6k+g","zhjHz2DPBMC","Bwf4vg91y2HqB2LUDhm","i2iXyJfInW","5Qch562+5PAh5PYSicHSywjLBcK","5yc85PAh5PYS","Aw5PDev2zw50","BgfIzwXcz0jVCMrLCLjHzgL1CW","y3rYBeTLEq","zgvMAw5LuhjVCgvYDhK","DhjHBNnMB3jTu3rHDgu","AxndBgLJA2fIBgu","BwfYA2vYrw5K","z2v0q29TChv0zwrtDhLSzq","DxnLuMvM","yxr0CI4","AxrLBq","ChjLDLzPzxDWB3j0","zgLZywjSzuTLEwjVyxjKqteXEq","lNjLywn0lwzSB3DFx3bHBMu","y3jLyxrLu1zhug9PBNq","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","DhjHBNnWyxjLBNq","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","zgvMyxvSDhm","EMGTy24","zgfZAc1KB3q","zgf0yxnLDa","zgv0ywLS","BwiTmG","Bw91C2vTB3zLlMrYywC","ufjfu0vovevex0LnquDfx1njtvbmrq","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","B25oB2rLrg91yMXLq2XPy2S","B25tzwXLy3rPB25eCMfNu3rHCNq","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","CMfUz2u","CMvWBgfJzq","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","Bwf0zxjPywW","CMvZB2X2zuzSB3DfDMvUDejSB2nR","B25ezwXLDgu","DgfYz2v0","uMvKB091DgXPBMvK","mtHgDxbmDLu","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","lwnHBNzHCY0","zxHLy3v0zuzSB3DoB2rLCW","DMvYDgLJywW","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","x19VBG","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","zgf0ytPPBwfNzs9ZDMCREg1S","zxHLyW","zg9TtM9Kzq","DgfWCW","qMv6AwvYrwrNzuLUDgvYBMfS","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","zMXVB3i","y29UDhjVBerPCMvJDgLVBG","y29UBMvJDgLVBKXVB2T1Ca","DxnLtgf5B3v0rwzMzwn0","AhnSka","zMLUzeLUzgv4","yxnpyNnLCNzHyMXL","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","6ycj5OUP5PAW54MP5PAz","zgLTzw5ZAw9UCW","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","rhjHz091DgXPBMvK","x2LUBMvYu3vIC2nYAwjL","u2v0DgLUz091DgXPBMvK","vgfICW","5Rc05BMZ5yIg5BId","vxbSB2fK","5A2x5l2t57kx57Ug","mZq0ntu4nefXzwPRsG","Bwf4wM9VBq","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","x3rYEvn1yNnJCMLIzq","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","zgvMyxvSDe5VzgvZ","5y+V6lcd5Pw05AsN5Bcp","CMvSzwfZzuXVy2S","ywzMzwn0C1K","yxjPyuXPDMvnzxnZywDL","y2HHBMDL","B25oB2rLrhjHzW","y3vYCMvUDe9IC2vYDMvYCW","C291CMnLrxzLBNq","r3jHCgHwAwv3","6iQc54k55PwWoIa","DxnLu3rHDgu","D2fYBG","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","DxbKyxrL","BMfTzq","Bw9Kzq","BxqTmsb0zxH0lwfTyMvYltGWma","CgHHBNrVBq","zxHLy3v0zuv2zw50rMXVDW","ChjLDMLLDW","57YP5Ps+5Q+u5l6l","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","C2vSzwn0zwroB2rLswq","tKvhqvrjvKvFsu5gsu5jvfK","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","C3rHDgu","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","y2HLy2TwAxnPyMLSAxr5","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","yw4GAw52ywXPzcbVyMPLy3q","iokaLca","AxnqCMLTyxj5","Aw52zxj0","5PYQ55+L5yAf572U5yQO5l2CoIa","EvnUyxbWzwq","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","ywn0AxzL","C3r5BgvuD2vLBG","Dg91y2GW","y2XVC2vZDa","57Ur5A6A5A2x5Q61","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","DxnLq29UDgv4Da","y29UBMvJDgfIBgvLBMq","zgvSDgfy","CMvHy3qTzMXVD19FzwrNzs0","qM90Dg9T","6ycj5OUP5PwW5O2U5A2x5Q61","zgf0yvbVB2W","y29UDgv4Dg1LBNu","zM9YBwf0uMDI","C2nHBgvy","rxLLt3v0BgLUzwq","mdeW","Bw91C2v1Cc5KCMfN","C2v0sw50zxj2ywW","zgvMAw5LuhjVCgvYDgLLCW","zMXVD0rHDge","x2vYCM9Y","5PI+56s6572r5Qc8","5lIk5lYG6zsz6k+V","C2HPzNq","y2f0y2G","y2XHC3noyw1L","BM9KzunSAwnRrgLZDgfUy2u","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","y29UzMLN","zML0vMLLDW","x+wKJEwiTG","tM9KzsbVBKnSAwnRoG","zxH0zxjUywW","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","C3zN","yM90Dg9TlxjPz2H0","BM9YBwfSu3r5Bgu","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","CM91BMq","z2v0sw5ZDgfUy2u","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","y29TCg9ZzwrqyxrO","Cg9PBNrLCG","twfYA2vYihr5CguGiG","zxHWyw5Kzwrszwn0","C2fTCgXLiePtt04G5PEG5Pwi","5PwW5O2U6zUgia","DMfSAwrHDgvgAwvSzhm","C3rHCNrxAwr0Aa","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","oMzVy3vZlxzPC2LIBgu","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","y2fUy2vS","BgfIzwXdB2XVCG","su5qvvq","zNjLzq","C2nYB2XSvg8","Dg91y2HZDgfYDc5KCMfN","zxHLy3v0zuj1AwX0Aw4","zwrPDgLUz0v2zw50uM9VDeLK","i2y1mJiYza","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","C2LU","5PU05O2I54MP5PAz","BM9KzuXVB2T1Ca","yMCTD2HPDguGChGTmsbYB3vUzgvK","CMv0DxjUig51BgW7","i2zHywqXna","Aw5PDgLHBfrLyxjKB3DU","q1vtve9n","yNvIyMXLCW","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","z2v0uhjVDg90ExbLt2y","z2v0sw5PDgLHBfn0yxrL","w1jLywn0iezSB3DDoIa","BM9Kzuv4DgvUDa","CMvHy3qTzMXVD19FzwrNzxm","zw5HyMXLrxzLBNrgBg93","u21VB3rOu3rLCevKz2u","zg93BMXVywq","5z6c55U05yIg5BId","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","Bwv0yuTLEq","yNvPBhrPBKLK","ywzMzwn0C1G","yNv0Dg9U","5lQm57U056cb6l+h5PYF","C3rYAw5N","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","y3vYC29YlwDYywi","t3b0Aw9U","6zw/54k5lEEFREEcUEs6PoABVW","mcaWidmYidu","C2TLD1G","BwLUwM9VBq","ChjVzhvJDgLVBG","yxjPyuXHyMvS","CMvWzwf0kdGSidfMCIK","twf0zxjPywXqyw5LBa","u3rYAwn0","zwXLDMf0zuvKz2vZt25tzwXLy3q","B25dB25Uzwn0rw5K","5OUw5OU95PEl6l2S","Aw50zxjHy3rPB25xAwr0Aa","Aw52B2TLuNvUDgLTzuHHBMrSzxi","zgLZCgf0y2HfDMvUDa","Dw5PDa","ow9QtMXTsW","AxnfzgL0Aw5NrxzLBNrgBg93","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","6ycj5OUP55s75BId5yQG5ywL","AxnAB29TAw5Nt3jqyw5UAw5N","C2v0","6l6t5ywL5yc85PAh5PYS","AxndB250zw50rwrPDgfIBgu","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","zM9UDfDLAwDODa","x2fJDgL2zq","5OUw5OU95QIH5BYp","C291CMnLtgfIzwW","C3fYDa","yM90Dg9T","yM94lxnLBgvJDa","mda4","zw5HyMXL","mxb4ihnVBgLKicnKowq5zdK","ug9Wy29UzMLYBq","y29UDhjVBeLUzM8","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","zxHWCMvZC2LVBG","DhjHBNnSyxrLqNK","6k+36ycj5OUP6kEM5y+r5PA55BYp","Dg91y2HTB3zLlMrYywC","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","y29UDgfPBG","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","igHHBMrSzsbPzdOGiG","Aw5ZDgfUDa","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","xMHZBfWO","5A+85ywL5OIq5yQF77Yb","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","DhjHBNnSyxrLwq","BwLU","yxjNCY4","C3rHCNrbBMDSzq","C2v0uhjVCgvYDhK","5Asw6yoO5PA55Rov","CM90yxrL","zgfYAW","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","CMvHy3qTzMXVD19FBM9Kzxm","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","DY1MDwXSigGTzNvSBa","yMCTD2HPDgu","5yIG6zMK5B2t6Ag1","zM9JDxm","BM9KCMfN","57Ur5A6A5PwW5O2U6zUg","y2XVC2vK","zw5Kug9PBNq","mtjWEa","DxjSka","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","AgfUzgXLCW","ChjLDG","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","C2v0ug9PBNrLCKnHChr1CMu","mta4ma","tgLUzq","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","q29UC3vTzxi","BM9KzvK","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","tgvMDe91DgXPBMvK","DgHYB3DUrxjYB3i","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","5y+w5RAi5ywO6ycj","CMDIysGYncWXndqSmJu1ldaUmdGP","ie0Wia","vxbtCxvHCMvpDxrSAw5Lza","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","B3jPz2LU","CgfYC2u","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","5Rwl6k+v5PwW5O2UicHku09okq","Bw91C2vKB3DU","u3rLCevKz2vjBNrLCM5HBa","DMfSDwvtB3vYy2vdB2rL","CgfYzw50tg9VA3vW","yMfJA2DYB3vUzeLTywDL","rg90CW","y2vUDgvYignLBNrLCG","zwzMzwn0qwXSB3DLza","uMLNAhrpDxrSAw5Lza","Aw5PDgLHBeHLAwDODa","C3LTyM9S","CMvJDa","AM9PBG","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","zgf0ys1Pza","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","CgfYzw50swq","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","DMLLDW","zxjYB3iWmde","DxnLCKfNzw50","sg9YAxPVBNrHBa","DxjSkcm","y2fSBa","BM9YBwfS","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","rw1WDhK","6k+36ycj5OUP5zgO","57Ui54k5ifK","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","DxnLrM9YBq","y29Uy2f0","zwrPDa","zgf0yvjLCxvLC3q","CMvZAxPPBMC","y2XVBMvoB2rL","iZaWmdaWma","Aw5JBhvKzxm","5yc85Qc35BYp","Dgv4Dc1SzYbMB250lw1LzgL1Bq","z3jPza","rNjHz21LBNq","Aw1N","B25czwzVCMvezwXLDgu","y2XPzw50vg9W","BwiTma","C2nOzwr1BgvY","CMvTB3zL","C3rHCNrZv2L0Aa","DxjSkcCJ","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","DxnLCLnLBgvJDgLVBKfJDgL2zq","C3zNigXPBMu","AxnbCNjHEq","yxjNCW","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","y2vPBa","C3bHy2u","5OUw5OU96lcd5Pw05AsN5Bcp","BM9Wyw4","mda5","x3bHCMvUDgfNzq","x25LEhq","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","C2uTCMvZAxPL","6k+35ywi57Ur5A6A5PwW5O2U6zUg","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","5PAh5lU25lIk5lYG5lIT","C2vSzwn0ywjSzq","AxneCMf3Aw5N","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","CMv0DxjUihrYDwu7","57Yw6l6r5lQl5lU25z2x","ywn0Aw9UCW","B25qB2LUDgvYrg93BG","57Ui54k5ifG","BM9KzurYywDuAhjLC2HVBgq","ywXS","y3jLyxrLq29UDgv4Da","z2v0rwrNzuLK","zxjYB3iWmta","wvLzwq","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","CMvTB3zLqxr0CMLIDxrLtLm","tg9VC2u","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","zM9Yy2u","zwrNzxnszwnVBM5Ly3rHyMXL","y29UDgvUDa","zMXLEc0Xig1PBI13lta","C291CMnL","Ac1MDwXS","vgHLig9SzcbLzgDLihDPDgGGAwq9","x196B29TAw5N","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","5Pw05z2x6l+u5zUE5yc8","CM90yxrLka","yNvPBgrnzxjNzwreyxrHuMvJB3jK","zMLYC3rfBgvTzw50q2HPBgq","y2HLy2TLza","CMvHy3qTzg9T","y29UzMLNrwrPDg9Y","5B+R6ycF5A+56B2q","zgjSy2XPy2SUEM9VBq","z2v0u25HChnOB3q","Bwf0CML4","Dg9qCM9TAxnL","B3bHy2L0Eq","vevyvefsrue","CgfYzw50rwXLBwvUDa","DhjHBNnSyxrLkc0","6iom5PMV6iMY","zwrNzuXVB2T1Ca","zgv2AwnL","zgLZy29UBMvJDa","5zU+54Mh5zcn56EW","6k+36l6t5ywL5PcC57sI5yAf5A65","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","Aw52ywXPzcbJywXSyMfJAZOG","5PAW5BU65lQl5lU25Rwb","BwfYA2vY","5OMN6kgm6kgO6l6+5BYp","AgfZrxjYB3i","vMvYDgLJywW","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","yMLUza","qxjYB3DdBg9Zzwq","6k+36ycj5OUP5lIa5lIQ6iQc54k5","y2XPy2TeAxn0yw5Jzq","B25dBgLJA0nVBM5Ly3rfBMq","y3jLyxrL","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","Aw5WDxrZ","CgfNzvG","tgvMDa","BwfUDwfS","B25tzwXLy3rPB25eCMfN","w3jVBgu9iMnVBwjVyM94iL0","wM9VBu91De91DgXPBMvK","B3zLCMzSB3CTAgLKzgvU","C2vSzwn0zwrfzgDLCW","qMfJA2DYB3vUza","ywjZ","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","yw5PBwf0zwq","5RE75yQG5lQl5lU25Rwb","EfnUyxbWzwq","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","lM5VA2v5","twLUAu1HCa","zg90CW","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","y29Z","C2v0tM9Kzxm","lNH5zMXVD19FDMLLD3bVCNq","mda0","C2vSzwn0Aw9U","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","z2v0vMLLD3bVCNq","BwWTmG","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","yxbWzw5K","DhjHBNnSyxrLrxH0zw50","CMvZzxq","5PAh5A2x6AkC6iMY","yMfZzwXPBMu","Bw91C2v1Cc56B29T","576K57Ue6iQc54k5","C2v0twf4wM9VBq","CMvHzefZrgf0yvvsta","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","sxrLBq","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","CMvHy3qTzMXVD19FyxjYB3DOzwfK","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","zwXLDMf0zu5VzgvZt25tzwXLy3q","vhLWB2DYyxbOEq","Dg9tDhjPBMC","DgLTzxjjza","CgfUu2nYB2XSvgLTzw91Da","Aw5SAw5LlwjSB2nR","CM9VDa","CMvTB3zLuhjVCgvYDhK","BM9KzvG","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","5PYQ55+L57g75z6l","q29UDhjVBa","55s75BId566H55cg","C3rVCfbYB3bHz2f0Aw9U","y2HHBMDLzfrVDwnOzxm","B2jZzxj2zxjZ","6lEZ6l2S55s75BId","AgfZqxr0CMLIDxrL","ChjVBwLZzq","AxntzwXLy3rLza","mdeY","su1br0u","BgLZDa","5yIG6zMK5ywO6yoO","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","mdeZ","u1fsvdi","CMvHy3qTzMXVD19Fy29UDgfPBMvY","Dg91y2HZDgfYDa","rwrPDe91DgXPBMvK","5z+656ga5B2I54Q2","CMvHy3qTzMXVD19FAgfUzgXL","5OUw5OU96lcd5Pw057Ui54k5","Bw91C2u","5A+85ywL55s75BId","qgfUDc1KzxnPz24VAwnVBNm","AxnwywXPzenVBM5Ly3rPB24","y2HYB21L","CgfZDa","vgfIBgu","Dg91y2HTB3zL","Dg9mB3DLCKnHC2u","BM9eCMfNq2XHC3noyw1L","qxjYB3C","rgvSzxrLt3v0BgLUzwq","zML0vMLLD09WDgLVBNm","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","mdaY","rNjLzq","zhjVCevMzMvJDa","C3bHBG","DMLLD3bVCNrjBML0AwfSAxPLza","q29SDw1UsgvPz2H0t3v0BgLUzwq","ru1qvfK","ChjVzhvJzq","i2zMzG","yM91BMreyxrHC2v0qMLUzenVzgu","6iom5PMV5zU+54Mh","C2v0qxr0CMLIDxrL","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","x25HBwvZ","57Q/5P2H5BgE5OcN","yxv0B1bHBK9Uq29UBMvJDa","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","zxjYB3iWmtm","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","B2zMC2v0","y2HLy2TIB3G","BgLZDgvUzxi","zxjYB3iWmti","5zcn56EW5lIn6io95lI656M6","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","5A+85yE65OIq5yQF77Yb","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","D2HLzwWUEM9VBq","DhjHBNnMB3jT","5B2t5yMn54Q25OcboG","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","ksbZy2fSzsG","lNn2zW","CMvXDwvZDefUAw1HDgLVBKzYyw1L","DMLZAwjSzq","572U5lQo6Ag25Bgc","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","zNjVBq","Aw5JBhvKzuHPzgrLBK5VzgvZ","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","y29UDgv4Da","zxjYB3iWmdq","54Q25Ocb5yIx6kgO","iIbYEd0InciVpJWVC3zNpG","zgvSzxrL","6iQc54k55zcn56EW","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","re9ntwf0CML4uMvHze9UBhK","y2fUDMfZ","y3vYCMvUDfrHCMDLDa","zNvUy3rPB24","5lIl5lIa6Ag1","B25ZzwXLy3rZDgfYDa","z2v0","uMLNAhq","yxjPyuXHyMvSq29UzMLN","Dg9izxHtDhjPBMC","BMfUB2LK","6k6+5Ash5zU+5Qch","Aw52zxj0wq","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","CMDIysGWldaSmcWWkq","C2fTCgXL","Cg9PBNrLCLG","5Asw6yoO5PA55Rov5Qch6k+g","BMv3wa","y29UDgfPBMvY","C2XPy2u","idaGvG","qxjYB3Dmzwz0","zg90","tgLUzxm","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","CMvQzwn0","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","qMv6AwvY","tw9KDwXL","yM91BMreyxrHC2v0qMLUzfzHBhvL","wM9VBsbjBG","CMv0DxjUigzHBhnLoW","5lIk5lIa6Ag1","DMLLD3bVCNq","Aw1Hz2uVkG","z3jHyG","5Qgg6ycj5QIH5BYp","Aw52ywXPza","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","Aw5MBW","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","ENvZDgfUza","Aw5SAw5Lu2nYAxb0","AxnjBNrLCM5HBa","yMvMB3jLC3rHCNq","Cgf0Aa","cIaGicaGicaGica","ChjVDg90ExbL","Dw5KzwzPBMvK","6k+36ycj5OUP55UU5Qch55s75BId","zgLZDgfUy2u","CgfYyw1ZtMfTzq","B3jKzxi","q29SDw1Uv2LKDgHpDxrSAw5Lza","DxbKyxrLtM9KzuLUDgvYBMfSCW","C2nOzwr1Bgu","ltuSltqGmcWWic01ldq","6k+36ycj5OUP5PYi5lU9","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","zMLYC3q","zgf0ytPPBwfNzs9ZDMCREg1Sla","DMLLD3bVCNqT","C2nHBgvz","CMv0DxjUigfYz3m7","zMXLEcbNyxaTna","DxnLCK5Vzgu","zgvNksa","sgfUzgXL","AwrLBNrPzMLLCG","6k+35Rgc5PwW5O2U","y29UBMvJDgfIBgu","Aw5Uzxjive1m","zMXLEcbMBgv4lwnVBa","C2TLD1GO","Bw9KztO","CgfYDgLHBe9IC2vYDMvY","zxzLBNruExbL","6ycj5OUP5zgO","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","5lQl5lU25Rwb5yIB5BU65OIq5yQF","yxjNCY5WCMv2","ChjPBwfYEq","BM9KzxngB2n1C2fIBgu","D2LKDgG","ANn4CW","5Qch562+5Qc35BYp","yxbWBhK","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","DhjHBNnPDgLVBG","CMvTB3zLqxr0CMLIDxrL","qMfJA3nWywnL","C3rHDhvZtgLZDa","zxzLBNq","Aw5Zzxj0qMvMB3jL","qwXPz25sAwDODe91DgXPBMvK","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","CMvJEwnSzufZEw5Jswq","CMvZAxPLrgLYzwn0Aw9U","6BYG5Qch6yEk5Ps+","6kEJ6zMK57Ue5zci","BM9Kzvf1zxvL","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","DhjPBq","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","y3vZDg9T","5zcr5zcoidmG6Ag1","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","y3jVC3m","zxjYB3iWmdi","AgvPz2H0","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","6iEQ5A6A5lMj","x19LC01VzhvSzq","y3jLyxrLrgvMyxvSDfn0yxr1CW","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","5zYg6kEs55+P5B2I","DhjHBNnSyxrL","yM9VBgvHBG","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","6lw354k5ifK","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","y2XPy2S","Bw92zwq","t1busu9o","BM9Kzu9YAwDPBG","B25fzgDLC0rLBgv0zq","C2vSzwn0q2HPBgq","5BYa5AEl5A2J5BQM","57Ut5P2F5PE26zE0","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","imk3ia","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","jhbYzxyU","5zYO562B6ycj6Ag55lIT5PcC57sI","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","zM9YBwf0shnS","C2HVD0DYAwq","5BYa5AEl5PEL5PYF","y29UDgvUDgvKAxrHyMXL","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","5PwW5O2U6k+35Rgc","zxzLBNrgBg93","DgLTzq","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","twv0yq","yMX1zq","z2v0vMfSDwvgCM9Tugf0Aa","y2XPzw50tgvMDa","CMvHy3qTzMXVD19FAgfUzgXLlq","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","Aw5qCM9NCMvZCW","BwvTBW","x3bHCMvUDa","yxv0BW","566H55cg55s75BIdlI4U","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","5y+V5OUw5OU9","zg91yMXLq2XPy2S","A2v5Dxa","CgfUzurYywDNAw5N","5PQc5PEG5PwW5O2U","lMPZB24","DxbKyxrLtM9Kzq","wM9VBuLUt3v0BgLUzwq","rML0ifzPzxC","zxHW","yw55","y29UBMvJDgLVBG","lteWic0XmcaYmcaYma","CMvTB3zLq2HPBgq","6BYG5Qch6l+B5ywL","qxjYB3DsAwDODa","C2v0rgf0yq","B3b0Aw9UCW","zxzLBNrMBg93","zwrNzxm","tK9erv9eruXfveu","CMvTB3zLrxzLBNrmAxn0zw5LCG","6BYG5Qch5OYj5lIl","rgf0yvbVB2XnB2rHBa","y3jPC3bfzgDLCW","z2v0u2vYDMvYu3rHDgu","5A+85ywLiePtt04","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","C3r5Bgu","x2jSyw5R","5BEM5A+56B2q","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","Aw5PDgLHBfDPzhrO","ugfYzw50ig5VzguG","ugfYDgLHBa","BM9Kzuv2zw50qMLUzgLUz3m","A2v5zg93BG","C3bHy2uTEs0Z","5l+D55wz5Bcp5PwW5l2n","56gU6k6K5yIG6zMK","AgfZvMfSDwu","DgfYz2v0q2fUDMfZswq","x2fKzfbHCMvUDa","BM9Kzxm","yxr0CLr3zwvU","yxv0BY1ZDgfYDc1YzxzLCNnL","vw5ZDwjZy3jPChrPB25fCNjVCG","yxbWzw5Kq2HPBgq","5lIk5lIa5BM05lUJ","z2v0qxr0CMLIDxrLtLm","DY04igGTmc41igjNlwDYyxKTndaW","zM9YrwfJAa","tufyx1zbtfvf","56gU6k6K5yIG6zMK6k+L5zcm57QN5ywZ57o757Ue77YF","DxnLv2f0y2G","i2zMzMzMzG","DhjHBNnSyxrLvg8","ChGSia","5PAh5lU25Qc85BYp6zsz6k+V","C2vUDa","5yIG6zMK6ycj5lITicHezwXLDguP","BwLUAw1HCc5HCMLHtgfIzwW","B25dBgLJAW","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","C2nHBgvfEhrLBNq","Cg9W","mtyZmdeWtgzuzhf3","EM9VBq","zg93BG","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","zwrNzvf1zxvL","rg93BMXVywrpDxrSAw5Lza","B25nB3zLu3rHCNq","u2LTCgXLqMv6AwvY","5Pon5l2C5OIq5yQF","zML0vMLLD1jLC29SDMvY","mc4X","iZCYmMvKmq","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","y2fUDMfZq29UzMLN","tw92zwqGC2vSzwn0zwqGBM9Kzsa","zxjYB3jZ","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","BgLI","zMLSBenVBg9Y","Bw91C2vKB3DUlNPVB20","zgvNkq","DxbKyxrLq29UBMvJDgLVBG","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","y3jLyxrLrwXLBwvUDe5t","yMLUze5VzgvfDMvUDa","yxv0B1bHBK9UtM9KzurYywC","zgf0ys1Oyw5KBgvPza","AhjLzG","Dg9W","C2v0vgLTzq","zhjHz3n0yxj0lMrYywC","y3vYCMvUDfn0yxr1C0LK","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","Aw5WDxq","D2fYBMLUzW","ChjLCgfYzuv2zw50qxjNCW","zw5KlNjLBw92zq","y3jLyxrLrxzLBNq","Bw91C2vy","DhLWzq","C291CMnLug9ZAxrPB24","zxH0zxjUywXfDMvUDeTLEq","q2XVC2vpDxrSAw5Lza","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","Bwv0yq","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","5y+V54k55yE7","B2jZzxj2zq","Cg93","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","B25nB3zL","y2XLyxjbBgW","55s75BIdia","ios4QUEkTUAaGq","Bwf4","BwfYA2vYu3rHCNq","55s75BId5A+85ywL5OIq5yQF77Yb","ugX1C091DgXPBMvK","Bw91C2vTB3zLlNPVB20","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","zgLZCgXHEwfIBgu","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","DxnLrgvIDwDwywX1zq","CMzFx2vKz2uT","BMv3wq","zw5HyMXLza","C2vSzwn0C3rHCNqUzhjHzW","zxzLCNK","yM9YzgvYq29SB3i","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","AxnwAwv3","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","x190CMfUC2L0Aw9U","5P2Hl+MHTq","tM8GDgLTzw91DcbWCM92AwrLzc4","A2v5","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","yMfZzvzHBa","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","ChvZAa","mtm1ntuWodbAu09ssfG","5BYa5AEl5PYi5lU9","zgf0yq","6zw/5yIslEEcUEs6PoABVW","ngDxwLbMrq","CMvSyxrPDMuG","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","yMfJA2DYB3vUzenVBg9Y","BM93AgvLBa","5A+85yE6iePtt04","CMLNAhq","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","x196B29T","x3zHBhvL","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","vg9W","57ky6ls0iePtt04G5yAf5A65lI4U","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","rgvSzxrL","z2v0tM9Kzuv2zw50qMLUzgLUz3m","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","B25tzwXLy3rPB25eCMfNu3rVCa","zw5Kwq","tw9KywW","ig5VDcbMB3vUza","57Ur5A6A54MP5PAz","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","mxb4igrHC2HLzcb0CMfUC3bHCMvUDa","qMv6AwvYrwrNzq","zgLZCgXHEu5HBwu","EM9VBs53AgvLBa","CMvHy3qTzMXVD19FCgfUzwW","sw1Hz2u","yM91BMrHCMLLCW","vw5KB091DgXPBMvK","Dhj1zq","q3vZDg9TrxzLBNq","zwXLBwvUDhntzwXLy3rHyMXL","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","vevyva","CMDIysG","Bwf0zxjPywXZ","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","DxnLCLnLBgvJDgLVBLjLy3q","qLvuve9o","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","C2v0rwrNzxm","CMvZDgfYDa","C3rVCa","5PwW5O2U5RgG","C2HPzNrlzxK","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","5BEY5RE75yQG","tgLZDa","Dg90ywXjBMnVBwLUzW","CMHV","54k55yE76zMn5BQp","mda1","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","BM9Kzu5HBwu","zxzLBNrsB290CW","z2v0rxzLBNrcBg9JAW","BMf0AxzLrxzLBNq","y29UDhjVBhmUyxjPyuXHyMvS","CMvXDwvZDefZEw5Jswq","zw5KlG","DMfSDwvZ","mdaZ","B25gAw5HBgL6zq","y29UDgvUDeLUzM8","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","B25dB25Uzwn0u3rHCNq","BgfZDeLUzgv4","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","CxvLCNLtzwXLy3rVCG","Cg9ZAxrPB24","5A2q6iQc54k5ia","AwnVBG","C3rHy2S","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","Aw50zxjUywW","Aw5ZDgfUy2u","5yAf6l656lED","zwrNzq","5lIk5RI46l+E57Q/oG","x19KzwzHDwX0x18","y29TCgXLDgu","C3rHCNry","y29Kzq","BgvMDa","rxzLBNrgBg93qMLUzgLUzW","5PQc5PEG54MP5PAz","y3vYCMvUDa","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","B25fzgDLC0nOyw5Nzq","BxqTncbMBgv4igP1C3rPzNKTzw5K","C3rYB2TLv2LKDgG","xhmQkfSRlv0/xgqRkvXZkG","B3DUzxjtvKDfBgvTzw50","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","y29UC29SAwrHDgu","y2XPzw50wa","y3LHBG","C3rYAw5NAwz5","Dgv4DgfYzwe","xcKK","Dw5RBM93BIb0ExbLoIa","ChGPihnJywXLka","C29YDa","yxrHBG","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","BgfIzwXcz1bHzgrPBMC","6ycj5OUP5PYi5lU9","Dw5ZDwjZy3jPyMu","zgvMyxvSDa","BwvHC3vYzwq","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","y2XHC3m","BgLUzvr5Cgu","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","DhjPz2DLCK5Vzgu","zNv0DxjL","57+75yIW5lIl5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","DxnLq2fSBgjHy2S","qxjYB3DvCe91DgXPBMvK","mxb4ihnVBgLKicnMmgyWzJa","CMvHy3qTzMXVD19FzwrNzq","ywjZB2X1DguGDg9WltaGBgvMDc0W","zMXLEc1ZDgfYDa","5BEY56Ab55sO","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","BgLUzurYyxDPBMC","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","igrVzxmGBM90igv4Axn0lG","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","D2L0Aa","CMvKDwnL","mI4WlJa","C3rHDhvZswq","y2LYy2XL","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","5yIG6zMK5PAh5lU2","y29UC3rYywLU","5PEG562B6ycj6Ag5","zg9TywLU","C3bSAxq","zMXLEa","DgfWrgLZDgfUy2u","DgfYz2v0ug9ZAxrPB24","Dg91y2GX","mdaX","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","y29UDgv4De1LBNu","C25HCeDYAwq","zgvZDhjVEq","zMXLEcbMBgv4lwnVBca","BM9KzuLK","AwXSzwDHBcb0ExbLoIa","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","6l6t5ywL5Qch562+5PAh5PYS","tM9KzvjLBMrLCMvY","AxntDg9WCgvK","u3rLCevKz2u","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","6k+35AgR5yAz5OMN6kgm5lUJ56cb","z2fTBwe","C2HVDwXKvw5ZDwjZy3jPyMu","yM9YzgvYuMfKAxvZ","AxneCMfNz2fIBgu","DgHYB3C","mLHuANDosG","zMLSDgvY","yw50ze1LC3nHz2u","zw5KlNn0EwXLlG","zg9JDw1LBNq","CMv0DxjU","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","AxngAw5PDgu","yMX1CG","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","zgvMyxvSDevKz2vpChrPB25Z","A2v5CW","x2vUDgvY","6k+36ycj5OUP5PEL5PYF","vg9VBhrPCa","y3vYC29YlxbVAw50zxiGBwiTma","BgLUzwfY","yNvPBhrPBG","B3DUzxjeB2n1BwvUDa","C2v0vMLLD3bVCNq","D2HLzwXezwX0yq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","zgvMyxvSDfzPzxC","zM9JDxnHyMXL","mJiWzKjNEK9W","ChjVCgvYDhK","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","57Ut5P2F5BM05lU9","Aw1Tzxi","yM91BMreyxrHC2v0swq","yxv0B1bHBLnWzwvK","BMv4DfnPyMXPBMC","Dg91y2HLBMq","zxH0zxjUywXiyw5KBgvYs2v5","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","zg9Tqxr0CMLIDxrLCW","DxnLzfjPz2H0tw91C2vcDxr0B24","Dg91y2HTB3zLlNPVB20","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","u3rYywLNAhrfzgDL","x19UzxDFxW","kow9K+wjJsK","x3rOCM93swzdBg9Zzwq","x2nVBxbSzxrL","Dw5VyNnLCNzL","zw1PDa","BwfYA2vYvw5PDhm","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","yxrHBJi","iZe4otbMzG","5lIl5lIa5lIw57QQ","DgL0Bgu","iIWGzwrNzsbPzdOG","5PYQ55+L55s75BId","6ycj5OUP5BM05lU9","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","x2v4zwn1Dgu","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","zNjVBNq","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","kgrHDgePid0+igjVB2XLyw4","C2vSzwn0zwrtDgf0Dxnjza","yw50za","Dg9gAxHLza","C2L6zq","C2LIBgLUz3m","q29WEu91DgXPBMvK","5y+Z6zsU6i+C5y2v","DhjHBNnPDgLVBIbUB3qGzM91BMq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","nZiYnduXA1fdsMD6","BM9Uzq","yM9Sza","zxHWyw5KugfYzw50","uMvHy3qGrMXVDW","zw5KC1DPDgG","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","zxjYB3iWmtu","Bwf0y2HLCW","C3r5BguU","yMLUze5Vzgvjza","C3vIC2nYAwjL","5Asw6yoO5lQl5lU25Qch6k+g","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","zgvSyxK","zgf0ys1Oyw5KBgvWB3m","Axnoyu4","z3jVDxa","u0vmrunu","57Ue5zci6ycj5lIT6iQc54k5","C2v0vhjHBNnMB3jT","BM9qyw5dBgfZC05HBwu","AgfUzgXLCG","i2zHogmXnG","5PAh5PYS5Qch562+","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","qxjYB3DeB3DU","q29UDhjVBhm","DMfSDwvgB250u2L6zq","z2v0u3rHDgu","zMLSzxm","B25oB2rLq29UDgv4De1LBNu","zxH0zw50","DgLTzxi","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGyMCTD2HPDguGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","Bw91C2vpDMvY","zxzLBNrcBg9JAW","C29Tzq","zxHWB3j0CW","yMfZAwm","CM9VDfbHCMvUDeLUzgv4","C3rYAwn0","57Yw6l6roIa","6ycj5OUP5PEL5PYF","Dgv4Da","5Qch6k+g5lIn6io95lI656M6","ywrK","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","i2zMngq0zG","z2v0qM91BMrPBMDdBgLLBNrszwn0","Bw91C2v1Ca","DhjHBNnSyxrLwa","y29TBw9Utg9JywXL","zM9YBwf0sgv4oa","C2v0u3rHDgu","5Asn5yI25OIq5yQF","y2fUDMfZswrZ","Dgv4Dc1ZBsb0zxH0lwDYyxKTnZaW","C3vWChjLC3nLza","zxHLy3v0B3juExbL","Bw91C2vmzwf2zq","Dg9qB3nPDgLVBG","C291CMnLswq","57ky6ls0iePtt04G5yAf5A6577YA","zM9UDfnPEMu","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","vgv4DefYzwe","uMvHy3q","CMvHy3qTzMXVD19FBwLUAw1HCa","5lIk5A+56B2q","sw5WDxroDw1Izxi","Eg1SBNm","BgLUzs1KCMf3","vg9Nz2XLieLUDgvYywn0AxzPDhK","5PwW5O2U5QIH5OUF","CgfUwM9VBq","C3rHCNroB2rLwq","u2f2zu91DgXPBMvK","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","Dw5IAw5KqwXSrM9YtM9Kzq","ttaGmgGZmNy0lJjimhO","DgvZDa","CMDIka","DgHLBG","6ycj5OUP5BM05lUJ","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","6ycj5OUP5QIH5BYp","Dgv4DenVBNrLBNq","CMvZzxrgAwvSzhm","q29UBMvJDgLVBKXPBMu","AgfUzgXLrg9TtM9Kzq","qNv0Dg9U","mtaWjq","6Ake6kEi5PAh5lU2","yxjPyvjVBgu","C3bSAwnL","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","5y+n6ycj5B2t6Ag1","rxzLBNq","Bw91C2vKB3DUlMrYywC","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","55s75BId5yIx6kgO","zxjYB3iWmte","zMLUywXPEMu","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","uMvHy3rAB29TugfUugLUy2G","zxzLBNrgBg93rgf0yq","q2fUDMfZ","AgLKzgvU","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","ugfUzwW","CgfYzw50","DhjPz2DLCK5VzgvdAgfUz2vZ","AgfZ","CNvUDgLTzuHHBMrSzxjZ","5PEG5zU+54Mh","q29UzMLNrwrPDg9Y","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","C3LZDgvT","DgHPy2TUzxnZ","Cgf0DgvYBG","BgfIzwW","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","EGOGicaGicaGie0","CMvSyxrPDMu","C2fTCgXLsNnVBG","C2v0vhjHBNnSyxrLrxH0zw50","r3jVDxbpDxrSAw5Lza","B25SB2fK","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","x19KyxrHx18","z2v0qKjVEa","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","y29YBMvY","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","Cgf0Ae9WDgLVBNm","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","C3vIBwL0","u21VB3rOu3rLCa","5PkK6zsaicHdDhjSk1OP","yNvPBhrPBKnVBMzPzW","y2XPzw50sgvPz2H0","BgfIzwXgB250v2vPz2H0","54MP5PAz5BQt","6iom5PMV6AkC6iMY","BgLNAhq","mtjWEcaW","57Ut5P2F5PYi5lU9","C2vSzwn0zwroB2rLCW","ANn4uNvUDgLTzq","C21VB3rOC3rLCa","Dg91y2GTywn0Aw9U","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","5zcm57QN5ywZ57o757Ue","6ycp5PIo5BQM","AxntzwXLy3rHyMXL","u3DPDgnO","yxbWBgLJyxrPB24","CMvHy3qTzMXVD19FBM9Kzs0","C2v0qxr0CMLIDxrLCW","Dg91y2HHyMXL","57+75yIW5lIk5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","zMLUza","C2vSzwn0","x25Vzgu","iZCZzdeZza","x3jLBw92zvbHCMvUDa","teLorq","qxjYB3DeB3DUt3v0BgLUzwq","Bg9JywXLq29TCgfYzq","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","yxbWBgLJyxrPB24VANnVBG","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","y3vYC29Ylw1VDMu","Dg91y2G","y2fUDMfZzxm","6BYG5Qch56E75yE6","Bg9JywW","6k+35AgR5yAz5zcn56EW","54MP5PAz5BgE5OcN","yxn5BMnjDgvYyxrVCG","lMrYywC","oJPLEhq6oG","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","5zcr5yMniduG6Ag1","zM9UDc1TzwrPDw0","C2nOzw1LxW","DxjSkcnNCMLKkq","i2q5zdLKoq","CgvUzgLUzW","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","zxzLBM9Kza","6k+36ycj5OUP5BM05lU9","nNb4idHWEa","C3jJ","C3rYB25N","x2nHBgW","y292zxi","BNCTCMvZAxPL","u3rLCa","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","x3bHCMvUDhm","q29UzMLNuhjVDMLKzxi","5zcr5zcoiduG6Ag1","ChGG","zwfJAa","C3bHy2uTEs00","z2v0u2nYzwvUq1rn","ChjLDMvUDerLzMf1Bhq","C3rHCNroB2rLwa","jsWG","5OMN6kgm5PA55BYp","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","zxHLy3v0zq","Dg91y2HZDgfYDc56B29T","y2XHC3nmAxn0","CMzFx21PBMLTyxa","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","rxHWzxjPBwvUDe91DgXPBMvK","BwfYz2LU","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","y29UDhjVBa","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","5ywZ6zET6kgm","zw50CMLLCW","6yEn572U6kEg5zU+","zw1WDhK","y3vYCMvUDenHBNzHC0LK","6BUy6k6K5yc877Yi5Ash55sO77Yj","y2XPzw50wq","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","qxjYB3DvCa","DY1MDwXSia","mJu3mdu5y0XoBgnW","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","vgLTzw91DevYCM9Y","lIbozxCGCg9ZAxrPB24SihG6ia","y29WEq","B3jPz2LUywXfDMvUDa","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","DgHHDa","C2nHBguO","BM93","zgvZyW","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","5RE75yQG5lQl5lU25z2x","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","5zcm57QN5ywZ57o7","ywrKrxzLBNrmAxn0zw5LCG","ywX0s2v5","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","5PAW5BU655s75BId","tgf5B3v0","6yEn5ygAicHdDhjSk1KP","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","5BYa5AEl5BM05lU9","y29UC3rYDwn0B3i","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","ltzWEa","CMvHy3q","yxjNCY5WCMv2mq","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","DMfSDwu","C3rHDhvZ","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","x2v4Axq","BM9KzxndB25Uzwn0ywjSzq","zgf0Dw0","CMvHy3qTzMXVD19FBwfYA2vY","C3rHCNq","y3jLyxrLrwXLBwvUDa","BMv4Da","iw1Ylta","ANn4","CMvHy3qTzMXVD19FBM9Kzq","iZeZyZjJmG","CMzjza","BM9Kzq","zxjYB3iWmdK","Aw50zxjYDxb0","mdeX","6l6t5ywL54Q25Ocb5zcn56EW","zgvSzxrHyMXL","5PAW6iQc54k5","C2LTCgXLyMv6AwvY","5PYQ6ywn572U55UU5Qch55s75BIdieLe","5y+Z5A+56B2q","DxnLu3LUy0v4DgvYBMfSu3rVCMu","C291CMnLsgfUzgXL","DMfSDwvgB250v2vPz2H0","iZuYyZqXyq","z2v0uMvHzgvY","x25HBwu","5PEG54Q25Ocb","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","y2XLyxi","ufjpuevsvfLFq0HbtKDf","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","zgvSDgfnB2rL","B2zMC2v0sgvPz2H0","C2v0tM9Kzuv4DgvUDa"];return _0x1b50=function(){return Me},_0x1b50()}function _0x4806(Me,l){Me=Me-361;const B=_0x1b50();let z=B[Me];if(_0x4806.XvjAdb===void 0){var ae=function(d0){const a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let rt="",Nt="";for(let Qe=0,Bn,Dn,St=0;Dn=d0.charAt(St++);~Dn&&(Bn=Qe%4?Bn*64+Dn:Dn,Qe++%4)?rt+=String.fromCharCode(255&Bn>>(-2*Qe&6)):0)Dn=a.indexOf(Dn);for(let Qe=0,Bn=rt.length;Qe<Bn;Qe++)Nt+="%"+("00"+rt.charCodeAt(Qe).toString(16)).slice(-2);return decodeURIComponent(Nt)};_0x4806.zeULrZ=ae,_0x4806.VDfstB={},_0x4806.XvjAdb=!0}const zx=B[0],l0=Me+zx,be=_0x4806.VDfstB[l0];return be?z=be:(z=_0x4806.zeULrZ(z),_0x4806.VDfstB[l0]=z),z}const a=_0x4806;var rt=document[a(1990)](a(1346));rt[a(1800)]=`.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
2
- /*$vite$:1*/`,document[a(546)][a(1365)](rt);function Nt(e){const n=a;return e&&e[n(1268)]&&Object.prototype[n(436)].call(e,"default")?e[n(1582)]:e}var Qe={},Bn={exports:{}},Dn;function St(){const e=a;return Dn?Bn.exports:(Dn=1,(function(n){const t=_0x4806;function o(x){return x&&x[_0x4806(1268)]?x:{default:x}}n[t(1749)]=o,n[t(1749)].__esModule=!0,n[t(1749)][t(1582)]=n[t(1749)]})(Bn),Bn[e(1749)])}var kt={},Ko;function ls(){const e=a;if(Ko)return kt;Ko=1,Object[e(570)](kt,e(1268),{value:!0}),kt[e(1582)]=void 0;const n={items_per_page:e(1458),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(1186),next_page:e(1155),prev_5:e(1899),next_5:e(1918),prev_3:"向前 3 页",next_3:e(1261),page_size:"页码"};return kt.default=n,kt}var It={},Pt={},At={},jt={},Zo;function ds(){const e=a;return Zo||(Zo=1,Object[e(570)](jt,e(1268),{value:!0}),jt[e(1764)]=void 0,jt.commonLocale={yearFormat:e(955),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),jt}var Ro;function us(){const e=a;if(Ro)return At;Ro=1,Object[e(570)](At,"__esModule",{value:!0}),At[e(1582)]=void 0;var n=ds();function t(s){"@babel/helpers - typeof";const u=e;return t=typeof Symbol=="function"&&u(884)==typeof Symbol[u(2104)]?function(f){return typeof f}:function(f){const y=u;return f&&typeof Symbol=="function"&&f[y(1975)]===Symbol&&f!==Symbol.prototype?y(884):typeof f},t(s)}function o(s,u){const f=e;var y=Object[f(1651)](s);if(Object[f(1969)]){var g=Object[f(1969)](s);u&&(g=g.filter(function(p){return Object.getOwnPropertyDescriptor(s,p).enumerable})),y[f(1465)][f(1241)](y,g)}return y}function x(s){const u=e;for(var f=1;f<arguments.length;f++){var y=arguments[f]!=null?arguments[f]:{};f%2?o(Object(y),!0).forEach(function(g){r(s,g,y[g])}):Object[u(1111)]?Object[u(703)](s,Object.getOwnPropertyDescriptors(y)):o(Object(y)).forEach(function(g){Object[u(570)](s,g,Object.getOwnPropertyDescriptor(y,g))})}return s}function r(s,u,f){return u=i(u),u in s?Object.defineProperty(s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s}function i(s){const u=e;var f=c(s,"string");return u(884)==t(f)?f:String(f)}function c(s,u){const f=e;if(f(2171)!=t(s)||!s)return s;var y=s[Symbol.toPrimitive];if(y!==void 0){var g=y[f(897)](s,u);if(f(2171)!=t(g))return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f(774)===u?String:Number)(s)}var d=x(x({},n[e(1764)]),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:e(2054),ok:"确定",timeSelect:e(2096),dateSelect:e(1754),weekSelect:e(1232),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(2015),nextMonth:e(1293),monthSelect:e(1580),yearSelect:e(1695),decadeSelect:e(1797),previousYear:e(1846),nextYear:e(1242),previousDecade:e(1366),nextDecade:e(371),previousCentury:"上一世纪",nextCentury:e(1691),yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return At[e(1582)]=d,At}var Et={},Jo;function _o(){const e=a;if(Jo)return Et;Jo=1,Object[e(570)](Et,e(1268),{value:!0}),Et.default=void 0;const n={placeholder:"请选择时间",rangePlaceholder:[e(2205),e(1287)]};return Et[e(1582)]=n,Et}var Fo;function Qo(){const e=a;if(Fo)return Pt;Fo=1;var n=St()[e(1582)];Object[e(570)](Pt,e(1268),{value:!0}),Pt[e(1582)]=void 0;var t=n(us()),o=n(_o());const x={lang:{placeholder:e(1653),yearPlaceholder:e(1907),quarterPlaceholder:"请选择季度",monthPlaceholder:e(1211),weekPlaceholder:e(901),rangePlaceholder:[e(1297),e(517)],rangeYearPlaceholder:[e(1974),e(1667)],rangeMonthPlaceholder:[e(1467),e(1861)],rangeQuarterPlaceholder:[e(1286),e(426)],rangeWeekPlaceholder:["开始周","结束周"],...t[e(1582)]},timePickerLocale:{...o[e(1582)]}};return x.lang.ok="确定",Pt[e(1582)]=x,Pt}var $o;function fs(){const e=a;if($o)return It;$o=1;var n=St().default;Object[e(570)](It,e(1268),{value:!0}),It[e(1582)]=void 0;var t=n(Qo());return It[e(1582)]=t[e(1582)],It}var er;function hs(){const e=a;if(er)return Qe;er=1;var n=St().default;Object[e(570)](Qe,"__esModule",{value:!0}),Qe[e(1582)]=void 0;var t=n(ls()),o=n(fs()),x=n(Qo()),r=n(_o());const i=e(491),c={locale:e(586),Pagination:t[e(1582)],DatePicker:x[e(1582)],TimePicker:r[e(1582)],Calendar:o[e(1582)],global:{placeholder:"请选择",close:"关闭",sortable:e(2033)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(1613),filterCheckAll:"全选",filterSearchPlaceholder:e(1292),emptyText:e(1322),selectAll:e(2160),selectInvert:e(1810),selectNone:"清空所有",selectionAll:e(2097),sortTitle:"排序",expand:"展开行",collapse:e(1941),triggerDesc:e(1524),triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:e(2170),Previous:e(464),Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:e(990),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(2160),removeCurrent:e(843),selectAll:e(2097),deselectAll:e(865),removeAll:e(1074),selectInvert:e(1810)},Upload:{uploading:e(941),removeFile:e(1611),uploadError:e(707),previewFile:e(1806),downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(1767),expand:"展开",collapse:"收起"},Form:{optional:e(2075),defaultValidateMessages:{default:e(490),required:"请输入${label}",enum:e(1599),whitespace:"${label}不能为空字符",date:{format:e(1578),parse:e(367),invalid:"${label}是一个无效日期"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:e(393),min:e(1561),max:e(613),range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:e(668),max:e(2159),range:e(2164)},array:{len:e(545),min:e(599),max:"最多${max}个${label}",range:e(838)},pattern:{mismatch:e(688)}}},QRCode:{expired:e(773),refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(414)}};return Qe[e(1582)]=c,Qe}var Cx,nr;function gs(){return nr||(nr=1,Cx=hs()),Cx}var ys=gs();const ms=Nt(ys),ws=e=>(n,t,o)=>{const x=a;return o[x(1766)]=(r,i,...c)=>{const d=x,s=typeof r===d(1154)?l0[d(1106)](r):r;return n(s,i,...c)},e(o[x(1766)],t,o)},vs=ws;function ps(e){return Array[a(927)](e)}function tr(e){const n=a,t=[];for(const o of Object[n(1651)](e)){t[n(1465)](o);const x=e[o];if(x!==null&&typeof x===n(2171)&&!Array[n(927)](x))for(const r of Object.keys(x))t.push(o+"."+r)}return t}function bs(e,n,t){const o=a,x=e[o(1167)];if(ps(x)){if(n!=null&&t!=null){const r=x.find(i=>i[n]===t);if(r)return r}return{}}return x}function xr(e,n,t,o){const x=a,r=bs(e,t,o),i={...r};if(n&&typeof n===x(2171)&&!Array.isArray(n))return{...i,...n};if(Array[x(927)](n)){const c={...i};for(const d of n){if(!d||typeof d!="object")continue;const s=d;s[x(2115)]!=null&&(c[String(s[x(2115)])]=s.value)}return c}return i}const zs={id:"_",name:"_",sample:{}};function Mx(e,n,t){const o=a,x=e[o(1669)]!=null?String(e[o(1669)]).trim():"",r=x?t[o(1876)](c=>c.id===x):void 0,i=r??zs;try{const c=xr(i,n,e.boundDatasetBindCode,e[o(1183)]);return new Function(o(1468),e[o(816)])(c)===!0}catch(c){return console[o(656)](o(1076)+e[o(659)]+"]:",c),!1}}function or(e,n,t){for(const o of e)if(Mx(o,n,t))return o}function rr(e,n){const t=a;for(const o of e){for(const x of o[t(1537)][t(1247)])x[t(1669)]===n&&(x[t(1669)]=null,x[t(1108)]=null,x[t(1183)]=null);o.type===t(1728)&&o.children?.length&&rr(o[t(514)],n)}}function Bx(e){const n=a;for(const t of e){for(const o of t.contentInfo[n(1247)])delete o.bindCodes;t[n(1424)]==="group"&&t[n(514)]?.[n(2194)]&&Bx(t[n(514)])}}const Dx=(e,n)=>({id:e||be[a(1161)](),name:n||a(2038),nodes:[],canvasConfig:{width:1920,height:1080,background:"#00193C",showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Cs=()=>{const e=a,n=Dx();return{id:be[e(1161)](),name:e(2199),canvases:[n],currentCanvasId:n.id,siblingGroups:[]}},ir=Cs(),qn=ir[a(1889)][0],Ms={root:ir,materials:[],mode:"select",lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:qn.nodes,canvas:qn[a(1398)],viewport:qn[a(1187)],selectedNodeId:qn[a(669)],selectedNodeIds:qn[a(2207)],selectedStatusId:qn.selectedStatusId,history:qn[a(2166)]},pn=(e,n,t)=>({id:be[a(1161)](),type:e,targetId:n,payload:t,timestamp:Date[a(1960)]()}),He=zx.create()(vs((e,n)=>({...Ms,addCanvas:t=>{const o=a,x=Dx(be[o(1161)](),t||o(1437)+(n().root[o(1889)].length+1));return e(r=>{const i=o;r[i(1057)][i(1889)][i(1465)](x),r[i(1057)][i(1945)]=x.id;const c=x;r[i(1361)]=c.nodes,r[i(1152)]=c[i(1398)],r[i(1187)]=c.viewport,r[i(669)]=c[i(669)],r.selectedNodeIds=c[i(2207)],r[i(1702)]=c[i(1702)],r[i(2166)]=c[i(2166)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)][x(626)](i=>i.id===t);if(r!==-1&&!(o[x(1057)][x(1889)][x(2194)]<=1)){if(o[x(1057)][x(1889)][x(1808)](r,1),o.root.siblingGroups)for(const i of o[x(1057)].siblingGroups){const c=i[x(1768)].indexOf(t);c!==-1&&i[x(1768)].splice(c,1)}if(o.root[x(1945)]===t){const i=o[x(1057)][x(1889)][0];o[x(1057)][x(1945)]=i.id,o.nodes=i[x(1361)],o[x(1152)]=i[x(1398)],o[x(1187)]=i[x(1187)],o[x(669)]=i.selectedNodeId,o[x(2207)]=i[x(2207)],o[x(1702)]=i[x(1702)],o.history=i[x(2166)]}}})},switchCanvas:t=>{e(o=>{const x=_0x4806,r=o[x(1057)].canvases[x(1876)](i=>i.id===t);r&&(o[x(1057)][x(1945)]=t,o.nodes=r[x(1361)],o[x(1152)]=r[x(1398)],o[x(1187)]=r[x(1187)],o[x(669)]=r.selectedNodeId,o[x(2207)]=r[x(2207)],o.selectedStatusId=r[x(1702)],o.history=r[x(2166)])})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)].canvases[r(1876)](c=>c.id===t);i&&(i.name=o)})},getCurrentCanvas:()=>{const t=a,o=n();return o[t(1057)][t(1889)][t(1876)](x=>x.id===o.root.currentCanvasId)},addSiblingGroup:(t,o)=>{const x=a,r=be[x(1161)]();return e(i=>{const c=x;i.root[c(369)]||(i[c(1057)].siblingGroups=[]);const d=i[c(1057)][c(369)][c(2194)]+1,s=Array[c(1139)](new Set((o||[]).filter(u=>i[c(1057)][c(1889)][c(1748)](f=>f.id===u))));i.root[c(369)][c(1465)]({id:r,name:t||"同级关系 "+d,canvasIds:s})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0x4806;if(!o[x(1057)].siblingGroups)return;const r=o[x(1057)][x(369)][x(626)](i=>i.id===t);r!==-1&&o[x(1057)][x(369)][x(1808)](r,1)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x4806;if(!x[r(1057)][r(369)])return;const i=x[r(1057)][r(369)][r(1876)](c=>c.id===t);if(i&&(o[r(659)]!==void 0&&(i[r(659)]=o[r(659)]),o[r(1768)]!==void 0)){const c=new Set,d=[];for(const s of o[r(1768)])c[r(1826)](s)||x[r(1057)][r(1889)].some(u=>u.id===s)&&(c.add(s),d[r(1465)](s));i[r(1768)]=d}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x4806;if(!r[i(1057)].siblingGroups)return;const c=r[i(1057)][i(369)].find(d=>d.id===t);c&&r[i(1057)][i(1889)][i(1748)](d=>d.id===o)&&(c[i(1768)][i(911)](o)||(typeof x=="number"&&x>=0&&x<=c[i(1768)].length?c[i(1768)][i(1808)](x,0,o):c[i(1768)][i(1465)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x4806;if(!x[r(1057)][r(369)])return;const i=x[r(1057)][r(369)][r(1876)](d=>d.id===t);if(!i)return;const c=i[r(1768)][r(419)](o);c!==-1&&i[r(1768)][r(1808)](c,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x4806;if(!r.root[i(369)])return;const c=r[i(1057)].siblingGroups[i(1876)](u=>u.id===t);if(!c)return;const d=c[i(1768)][i(419)](o);if(d===-1)return;const s=x==="up"?d-1:d+1;s<0||s>=c[i(1768)][i(2194)]||([c[i(1768)][d],c.canvasIds[s]]=[c[i(1768)][s],c[i(1768)][d]])})},nextSiblingCanvas:(t,o=!1)=>{const x=a,r=n(),i=r.root.siblingGroups?.[x(1876)](u=>u.id===t);if(!i||i[x(1768)][x(2194)]===0)return null;const c=i[x(1768)][x(1641)](u=>r[x(1057)][x(1889)].some(f=>f.id===u));if(c[x(2194)]===0)return null;const d=c[x(419)](r[x(1057)][x(1945)]||"");let s;if(d===-1)s=0;else if(d===c[x(2194)]-1){if(!o)return null;s=0}else s=d+1;return n()[x(2066)](c[s]),c[s]},prevSiblingCanvas:(t,o=!1)=>{const x=a,r=n(),i=r[x(1057)][x(369)]?.[x(1876)](u=>u.id===t);if(!i||i[x(1768)][x(2194)]===0)return null;const c=i[x(1768)][x(1641)](u=>r[x(1057)].canvases.some(f=>f.id===u));if(c[x(2194)]===0)return null;const d=c[x(419)](r.root[x(1945)]||"");let s;if(d===-1)s=c.length-1;else if(d===0){if(!o)return null;s=c[x(2194)]-1}else s=d-1;return n()[x(2066)](c[s]),c[s]},gotoSiblingCanvas:(t,o)=>{const x=a,r=n(),i=r.root.siblingGroups?.find(d=>d.id===t);if(!i)return null;const c=i[x(1768)][x(1641)](d=>r[x(1057)].canvases[x(1748)](s=>s.id===d));return o<0||o>=c[x(2194)]?null:(n()[x(2066)](c[o]),c[o])},getSiblingGroupsByCanvas:t=>{const o=a;return(n()[o(1057)][o(369)]||[])[o(1641)](r=>r[o(1768)][o(911)](t))},setSelectedNodeIds:t=>{e(o=>{const x=_0x4806,r=o.root.canvases[x(1876)](i=>i.id===o[x(1057)].currentCanvasId);r&&(r[x(2207)]=t,o[x(2207)]=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x4806,r=o.root[x(1889)][x(1876)](i=>i.id===o[x(1057)][x(1945)]);r&&!r[x(2207)][x(911)](t)&&(r[x(2207)][x(1465)](t),o[x(2207)]=r[x(2207)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)][x(1876)](i=>i.id===o[x(1057)][x(1945)]);r&&(r[x(2207)]=r[x(2207)].filter(i=>i!==t),o.selectedNodeIds=r.selectedNodeIds)})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x4806,x=t[o(1057)][o(1889)][o(1876)](r=>r.id===t[o(1057)][o(1945)]);x&&(x[o(2207)]=[],t.selectedNodeIds=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x4806,i=x[r(1057)].canvases[r(1876)](d=>d.id===x[r(1057)][r(1945)]);if(!i)return;const c={...t,id:t.id||be[r(1161)]()};i[r(1361)][r(1465)](c),x[r(1361)]=i[r(1361)],o&&(i[r(669)]=c.id,x[r(669)]=c.id,i[r(2166)][r(1090)].push(pn("NODE_SELECT",c.id)),x[r(2166)]=i[r(2166)])})},updateNode:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)].canvases[r(1876)](d=>d.id===x.root[r(1945)]);if(!i)return;const c=i.nodes[r(1876)](d=>d.id===t);c&&(o[r(721)]&&Object.assign(c.normalStyle,o[r(721)]),o[r(1537)]&&(c[r(1537)]={...c[r(1537)],...o[r(1537)]}),o[r(659)]&&(c[r(659)]=o.name),o[r(814)]&&Object[r(510)](c.controlInfo,o[r(814)]),o[r(514)]&&(c[r(514)]=o[r(514)]),i[r(2166)][r(1090)].push(pn(r(2017),t,o)),x[r(2166)]=i[r(2166)],x.nodes=i[r(1361)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)][r(1889)].find(d=>d.id===x[r(1057)].currentCanvasId);if(!i)return;const c=i[r(1361)][r(1876)](d=>d.id===t);c&&(Object[r(510)](c[r(721)],o),i[r(2166)][r(1090)][r(1465)](pn(r(2017),t,{normalStyle:o})),x[r(2166)]=i.history,x[r(1361)]=i[r(1361)])})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)][r(1889)][r(1876)](d=>d.id===x.root[r(1945)]);if(!i)return;const c=i[r(1361)][r(1876)](d=>d.id===t);c&&(c[r(1537)]={...c[r(1537)],...o},i.history[r(1090)][r(1465)](pn(r(2017),t,{contentInfo:o})),x[r(2166)]=i[r(2166)],x[r(1361)]=i[r(1361)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)][r(1889)].find(d=>d.id===x[r(1057)][r(1945)]);if(!i)return;const c=i[r(1361)][r(1876)](d=>d.id===t);c&&(Object[r(510)](c[r(814)],o),i.history[r(1090)][r(1465)](pn("PROPERTY_CHANGE",t,{controlInfo:o})),x[r(2166)]=i.history,x[r(1361)]=i.nodes)})},removeNode:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)][x(1876)](c=>c.id===o.root.currentCanvasId);if(!r)return;const i=r[x(1361)].findIndex(c=>c.id===t);i!==-1&&(r[x(1361)][x(1808)](i,1),o[x(1361)]=r[x(1361)],r.selectedNodeId===t&&(r[x(669)]=null,o[x(669)]=null,r.selectedStatusId=null,o[x(1702)]=null),r[x(2207)]=r[x(2207)][x(1641)](c=>c!==t),o[x(2207)]=r[x(2207)],r.history[x(1090)].push(pn(x(1338),t)),o.history=r.history)})},selectNode:t=>{e(o=>{const x=_0x4806,r=o[x(1057)].canvases[x(1876)](i=>i.id===o[x(1057)].currentCanvasId);r&&(r[x(669)]=t,o[x(669)]=t,r[x(1702)]=null,o[x(1702)]=null,t&&(r.history[x(1090)].push(pn("NODE_SELECT",t)),o[x(2166)]=r[x(2166)]))})},bringToFront:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)].find(d=>d.id===o[x(1057)].currentCanvasId);if(!r)return;const i=r[x(1361)][x(626)](d=>d.id===t);if(i===-1||i===r[x(1361)][x(2194)]-1)return;const[c]=r[x(1361)][x(1808)](i,1);r.nodes.push(c),o.nodes=r[x(1361)],r[x(2166)][x(1090)][x(1465)](pn(x(2017),t,{zOrder:x(1699)})),o[x(2166)]=r.history})},sendToBack:t=>{e(o=>{const x=_0x4806,r=o.root.canvases.find(d=>d.id===o[x(1057)][x(1945)]);if(!r)return;const i=r.nodes.findIndex(d=>d.id===t);if(i<=0)return;const[c]=r[x(1361)].splice(i,1);r[x(1361)][x(2182)](c),o[x(1361)]=r[x(1361)],r[x(2166)].past[x(1465)](pn(x(2017),t,{zOrder:"back"})),o[x(2166)]=r.history})},addStatus:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1057)][r(1889)][r(1876)](s=>s.id===x[r(1057)].currentCanvasId);if(!i)return;const c=i[r(1361)].find(s=>s.id===t);if(!c)return;const d={...o,id:be[r(1161)]()};c.contentInfo.statusList[r(1465)](d),i[r(2166)].past[r(1465)](pn(r(386),t,{statusId:d.id})),x[r(2166)]=i[r(2166)]})},removeStatus:(t,o)=>{e(x=>{const r=_0x4806,i=x.root[r(1889)][r(1876)](s=>s.id===x[r(1057)][r(1945)]);if(!i)return;const c=i[r(1361)][r(1876)](s=>s.id===t);if(!c)return;const d=c[r(1537)].statusList[r(626)](s=>s.id===o);d!==-1&&(c[r(1537)][r(1247)][r(1808)](d,1),c[r(1537)][r(1416)]===o&&(c.contentInfo[r(1416)]=void 0),i[r(1702)]===o&&(i.selectedStatusId=null,x[r(1702)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x4806,c=r.root[i(1889)][i(1876)](u=>u.id===r[i(1057)].currentCanvasId);if(!c)return;const d=c[i(1361)].find(u=>u.id===t);if(!d)return;const s=d[i(1537)][i(1247)][i(1876)](u=>u.id===o);s&&Object[i(510)](s,x)})},selectStatus:t=>{e(o=>{const x=_0x4806,r=o[x(1057)][x(1889)][x(1876)](i=>i.id===o.root.currentCanvasId);r&&(r[x(1702)]=t,o.selectedStatusId=t)})},evaluateCurrentStatus:(t,o)=>{const x=a,r=n(),i=r[x(1057)][x(1889)][x(1876)](s=>s.id===r.root[x(1945)]);if(!i)return;const c=i[x(1361)][x(1876)](s=>s.id===t);if(!c)return;const{dataPool:d}=n();for(const s of c[x(1537)].statusList)if(Mx(s,o,d))return s.id},addDataPoolItem:t=>{const o=a,x=be[o(1161)]();return e(r=>{const i=o;let c={};t.sample&&typeof t[i(1167)]===i(2171)&&(Array[i(927)](t[i(1167)])?c=t.sample:c=t[i(1167)]),r[i(695)][i(1465)]({...t,id:x,sample:c})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(695)][r(1876)](c=>c.id===t);i&&(o[r(659)]!==void 0&&(i[r(659)]=o[r(659)]),o[r(1167)]!==void 0&&(o[r(1167)]&&typeof o[r(1167)]===r(2171)?i[r(1167)]=o[r(1167)]:i[r(1167)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x4806,r=o[x(695)].findIndex(i=>i.id===t);if(r!==-1){o[x(695)][x(1808)](r,1);for(const i of o[x(1057)][x(1889)])rr(i[x(1361)],t)}})},setDataPool:t=>{e(o=>{const x=_0x4806;o.dataPool=t[x(542)](r=>{const i=x;let c={};return r[i(1167)]&&typeof r[i(1167)]===i(2171)&&(c=r[i(1167)]),{...r,sample:c}})})},setEventFlow:t=>{e(o=>{const x=_0x4806;o.eventFlow={eventBlocks:t[x(2188)]??[],eventRoots:t[x(1528)]??[],editingEventRootId:t[x(744)]??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x4806,r=new Set;o[x(1304)]=[];for(const i of t){const c=String(i.key??"").trim();!c||r[x(1826)](c)||(r[x(1757)](c),o[x(1304)][x(1465)]({key:c,label:String(i.label??"").trim()||c,description:i[x(2149)]}))}})},addMaterial:t=>{e(o=>{const x=_0x4806;if(o[x(1507)].some(c=>c[x(659)]===t[x(659)]))return;const i={...t,id:be[x(1161)]()};o[x(1507)][x(1465)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1507)][r(1876)](c=>c.id===t);i&&Object.assign(i,o)})},removeMaterial:t=>{e(o=>{const x=_0x4806,r=o[x(1507)].findIndex(i=>i.id===t);r!==-1&&o[x(1507)][x(1808)](r,1)})},setViewport:t=>{e(o=>{const x=_0x4806,r=o.root[x(1889)].find(i=>i.id===o[x(1057)][x(1945)]);r&&(Object[x(510)](r[x(1187)],t),o.viewport=r[x(1187)])})},setCanvasConfig:t=>{e(o=>{const x=_0x4806,r=o.root[x(1889)].find(i=>i.id===o[x(1057)][x(1945)]);r&&(r.canvasConfig={...r[x(1398)],...t},o[x(1152)]=r[x(1398)])})},setMode:t=>{e(o=>{o.mode=t})},startLineDrawing:t=>{e(o=>{const x=_0x4806;o[x(660)]=x(1785),o[x(1601)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x4806;o[x(1601)].isDrawing&&(o[x(1601)][x(848)]=t)})},endLineDrawing:()=>{e(t=>{const o=_0x4806;t[o(660)]=o(1877),t[o(1601)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x4806;t[o(660)]=o(1877),t[o(1601)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x4806,x=t[o(1057)][o(1889)][o(1876)](i=>i.id===t[o(1057)][o(1945)]);if(!x)return;const r=x[o(2166)][o(1090)][o(1384)]();r&&(x[o(2166)][o(1589)][o(1465)](r),t.history=x[o(2166)])})},redo:()=>{e(t=>{const o=_0x4806,x=t.root[o(1889)][o(1876)](i=>i.id===t[o(1057)][o(1945)]);if(!x)return;const r=x.history.future[o(1384)]();r&&(x[o(2166)][o(1090)][o(1465)](r),t[o(2166)]=x[o(2166)])})},recordEvent:t=>{e(o=>{const x=_0x4806,r=o[x(1057)].canvases[x(1876)](i=>i.id===o.root.currentCanvasId);r&&(r[x(2166)][x(1090)][x(1465)](t),r.history[x(1589)]=[],o[x(2166)]=r[x(2166)])})},exportScheme:()=>{const t=a,o=n();return{version:"2.0.0",root:o.root,materials:o.materials,dataPool:o.dataPool,eventFlow:o[t(1302)],metadata:{name:o[t(1057)][t(659)],description:"",createdAt:new Date()[t(482)](),updatedAt:new Date()[t(482)]()}}},importScheme:t=>{e(o=>{const x=_0x4806;if(t.root){if(o[x(1057)]=t[x(1057)],!o[x(1057)][x(369)])o.root.siblingGroups=[];else{const i=new Set(o[x(1057)][x(1889)][x(542)](c=>c.id));for(const c of o.root[x(369)])c[x(1768)]=c[x(1768)][x(1641)](d=>i[x(1826)](d))}o[x(695)]=t[x(695)]??[],t[x(1302)]&&(o[x(1302)]={eventBlocks:t[x(1302)].eventBlocks??[],eventRoots:t[x(1302)][x(1528)]??[],editingEventRootId:t[x(1302)][x(744)]??null,isEditingEventFlow:t[x(1302)].isEditingEventFlow??!1});const r=o[x(1057)].canvases[x(1876)](i=>i.id===o.root[x(1945)])||o[x(1057)][x(1889)][0];r&&(o[x(1057)][x(1945)]=r.id,o.nodes=r[x(1361)],o[x(1152)]=r[x(1398)],o[x(1187)]=r.viewport,o[x(669)]=r.selectedNodeId,o.selectedNodeIds=r.selectedNodeIds,o[x(1702)]=r[x(1702)],o[x(2166)]=r.history)}else{const r=Dx();r[x(1361)]=t[x(1361)]||[],o[x(1057)].canvases=[r],o[x(1057)][x(1945)]=r.id,o[x(1057)][x(369)]=[],o[x(695)]=t.dataPool??[],t[x(1302)]&&(o[x(1302)]={eventBlocks:t[x(1302)][x(2188)]??[],eventRoots:t[x(1302)][x(1528)]??[],editingEventRootId:t[x(1302)].editingEventRootId??null,isEditingEventFlow:t[x(1302)].isEditingEventFlow??!1}),o[x(1361)]=r[x(1361)],o[x(1152)]=r[x(1398)],o.viewport=t[x(1187)]||r[x(1187)],o.selectedNodeId=null,o[x(1702)]=null,o[x(2166)]={past:[],future:[]}}for(const r of o.root[x(1889)])Bx(r.nodes)})},exportCanvas:t=>{const o=a,x=n(),r=t||x[o(1057)][o(1945)],i=x.root[o(1889)][o(1876)](c=>c.id===r);if(!i)throw new Error(o(1437)+r+" 不存在");return{version:o(1607),canvas:i,metadata:{name:i.name,description:"",exportedAt:new Date()[o(482)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x4806,i=t[r(1152)],c=o||x.root[r(1945)],d=x.root[r(1889)].find(s=>s.id===c);if(d)d.name=i.name,d[r(1361)]=i.nodes||[],d[r(1398)]=i[r(1398)],d.viewport=i[r(1187)],d.selectedNodeId=null,d.selectedNodeIds=[],d[r(1702)]=null,d[r(2166)]=i[r(2166)]||{past:[],future:[]},c===x[r(1057)][r(1945)]&&(x[r(1361)]=d[r(1361)],x[r(1152)]=d[r(1398)],x[r(1187)]=d[r(1187)],x[r(669)]=d.selectedNodeId,x.selectedNodeIds=d[r(2207)],x[r(1702)]=d[r(1702)],x[r(2166)]=d[r(2166)]);else{const s={...i,id:be[r(1161)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(1057)][r(1889)][r(1465)](s),x[r(1057)][r(1945)]=s.id,x[r(1361)]=s[r(1361)],x.canvas=s.canvasConfig,x[r(1187)]=s[r(1187)],x[r(669)]=s[r(669)],x[r(2207)]=s[r(2207)],x[r(1702)]=s[r(1702)],x[r(2166)]=s[r(2166)]}for(const s of x[r(1057)][r(1889)])Bx(s[r(1361)])})},addEventBlock:t=>{const o=a,x=be[o(1161)]();return e(r=>{const i=o;r[i(1302)][i(2188)][i(1465)]({...t,id:x})}),x},upsertEventBlock:t=>{e(o=>{const x=_0x4806,r=o[x(1302)][x(2188)][x(626)](i=>i.id===t.id);r!==-1?o[x(1302)][x(2188)][r]={...t}:o.eventFlow[x(2188)].push({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x4806,i=x.eventFlow.eventBlocks[r(1876)](c=>c.id===t);i&&Object[r(510)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x4806,r=o.eventFlow.eventBlocks[x(626)](i=>i.id===t);r!==-1&&o[x(1302)][x(2188)][x(1808)](r,1)})},addEventRoot:t=>{const o=a,x=be[o(1161)]();return e(r=>{const i=o;r[i(1302)][i(1528)][i(1465)]({...t,id:x})}),x},updateEventRoot:(t,o)=>{e(x=>{const r=_0x4806,i=x[r(1302)].eventRoots.find(c=>c.id===t);i&&Object.assign(i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x4806,r=o[x(1302)][x(1528)].findIndex(i=>i.id===t);r!==-1&&o.eventFlow.eventRoots[x(1808)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x4806;o[x(1302)][x(744)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x4806;o.eventFlow[x(795)]=t})},bindNodeEvent:(t,o,x)=>{const r=a,i=be[r(1161)]();return e(c=>{c[r(1302)].eventRoots.push({id:i,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),i},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x4806,c=r[i(1302)][i(1528)][i(626)](d=>{const s=i;return d.bindNodeId!==t||d[s(1231)]!==o?!1:o===s(717)?(d[s(1426)]||"")[s(1258)]()===(x||"").trim():!0});c!==-1&&r[i(1302)][i(1528)][i(1808)](c,1)})},getNodeEventRoots:t=>{const o=a;return n()[o(1302)][o(1528)][o(1641)](x=>x.bindNodeId===t)}}))),cr=[{id:be[a(1161)](),name:"矩形",type:a(1072),src:"data:image/svg+xml,"+encodeURIComponent(a(1243))},{id:be[a(1161)](),name:"圆形",type:a(1072),src:a(1215)+encodeURIComponent(a(1299))},{id:be[a(1161)](),name:"圆角矩形",type:a(1072),src:"data:image/svg+xml,"+encodeURIComponent(a(722))},{id:be[a(1161)](),name:"阀门",type:a(1072),src:a(1215)+encodeURIComponent(a(1212))},{id:be[a(1161)](),name:"泵",type:"IMAGE",src:a(1215)+encodeURIComponent(a(712))},{id:be.nanoid(),name:"罐体",type:a(1072),src:"data:image/svg+xml,"+encodeURIComponent(a(1271))},{id:be[a(1161)](),name:a(1735),type:a(1505),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:a(1713),color:"#262626",textAlign:a(1557)},valueStyle:{fontSize:14,fontWeight:a(898),color:a(1690),textAlign:a(1557)}}},{id:be[a(1161)](),name:"线条",type:a(1881),config:{thickness:2,lineWeight:2,color:a(443),lineType:a(2176)}}],Lx=e=>({id:be[a(1161)](),name:"默认状态",expression:"return true;",material:{...e,id:be.nanoid()},boundDatasetId:null}),ar=(e,n,t)=>{const o=a;if(t?.[o(1424)]===o(755)&&t.config?.[o(1361)]){const x=t[o(713)][o(1361)].map(u=>({...u,id:be[o(1161)]()}));let r=1/0,i=1/0,c=-1/0,d=-1/0;x[o(1369)](u=>{const f=o,y=u[f(721)].x||0,g=u[f(721)].y||0,p=u[f(721)][f(1238)]||0,h=u[f(721)][f(1265)]||0;r=Math.min(r,y),i=Math[f(831)](i,g),c=Math.max(c,y+p),d=Math[f(1439)](d,g+h)});const s=x.map(u=>({...u,normalStyle:{...u[o(721)],x:(u[o(721)].x||0)-r,y:(u[o(721)].y||0)-i,scale:void 0}}));return{id:be[o(1161)](),name:t[o(659)]||o(1043),type:o(1728),normalStyle:{width:c-r,height:d-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:be.nanoid(),name:o(2003),type:o(898),normalStyle:{width:120,height:100,x:e,y:n,background:o(583),padding:8},contentInfo:{statusList:t?[Lx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:it}=z[a(472)],{Text:u0}=z[a(1052)],sr=({onUploadSvg:e})=>{const n=a,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:c,lineDrawing:d,startLineDrawing:s,cancelLineDrawing:u}=He(),[f,y]=B[n(655)]([n(1750),n(987),n(1755),n(2070)]),g=v=>{const m=n,w=new FileReader;return w[m(1841)]=C=>{const k=m,O=C.target?.result;o({name:v[k(659)][k(598)](k(1134),""),type:k(1072),src:O})},w[m(1045)](v),!1},p={basic:t[n(1641)](v=>["矩形","圆形",n(1272)][n(911)](v[n(659)])),device:t.filter(v=>["阀门","泵","罐体"][n(911)](v.name)||v.type===n(1072)&&!["矩形","圆形",n(1272)][n(911)](v[n(659)])&&v[n(659)]!==n(1267)),text:t.filter(v=>v[n(1424)]===n(1505)),line:t[n(1641)](v=>v[n(1424)]===n(1881)),group:t.filter(v=>v[n(1424)]===n(755)&&v[n(713)]?.[n(1361)]),custom:t.filter(v=>v[n(1424)]==="CUSTOM"&&!v[n(713)]?.[n(1361)]||v[n(1424)]==="IMAGE"&&!["矩形","圆形",n(1272),"阀门","泵","罐体"].includes(v[n(659)]))},h=(v,m)=>{const w=n;v[w(508)][w(881)]=w(1955),v[w(508)][w(1334)](w(1885),JSON.stringify(m));const C=v[w(1153)][w(1542)](".material-preview");C&&v[w(508)][w(466)](C,20,20)},b=v=>{const m=n;v[m(1424)]===m(1881)&&s(v)},M=(v,m=!1)=>{const w=n,C=m===!0,k=c===w(1785)&&C&&d[w(600)]?.id===v.id;return l[w(1993)](z[w(1521)][w(1047)],{draggable:!C,onDragStart:O=>h(O,v),onClick:()=>C&&b(v),className:w(1698)+(C?"cursor-pointer":w(1887))+w(1200)+"hover:bg-gray-100"+w(1200)+(k?"bg-blue-50 ring-2 ring-blue-400":"")+`
3
- `,actions:[C?l[w(1993)](z[w(1804)],{type:w(1755),size:w(398),icon:l[w(1993)](ae[w(1081)],{}),onClick:O=>{O[w(1064)](),b(v)},children:"绘制"},"draw"):null,l[w(1993)](z[w(1804)],{type:w(1755),size:w(398),danger:!0,icon:l.jsx(ae[w(1096)],{}),onClick:O=>{O[w(1064)](),x(v.id)}},"delete")][w(1641)](Boolean),children:l.jsxs(w(539),{className:w(1661)+(C?"":w(1884)),children:[l[w(1993)](w(539),{className:w(1745),children:v[w(1424)]===w(1072)&&v[w(1909)]?l[w(1993)](z[w(1498)],{src:v[w(1909)],alt:v[w(659)],width:40,height:40,preview:!1}):v[w(1424)]===w(1505)?l[w(1993)](w(1102),{className:w(1259),children:"T"}):v[w(1424)]==="LINE"?l[w(1993)](w(539),{className:w(1368)}):v.type===w(755)&&v[w(713)]?.[w(1361)]?l.jsx("span",{className:w(1316),children:"G"}):l[w(1993)](w(1102),{className:w(1259),children:"?"})}),l[w(1239)](w(539),{className:w(963),children:[l.jsx(u0,{strong:!0,className:w(492),children:v[w(659)]}),l.jsxs(w(539),{className:w(2036),children:[l.jsx(u0,{type:w(2155),className:w(2062),children:v.type}),k&&l[w(1993)](z[w(2037)],{color:w(1306),className:"text-xs",children:w(2185)})]})]})]})},v.id)};return l[n(1239)](n(539),{className:"h-full flex flex-col bg-white border-r border-gray-200",children:[l[n(1239)](n(539),{className:n(1401),children:[l[n(1993)]("h3",{className:n(1036),children:n(1857)}),l[n(1993)](u0,{type:n(2155),className:"text-sm",children:n(614)})]}),l.jsx(n(539),{className:"p-3 border-b border-gray-200",children:e?l[n(1993)](z[n(1804)],{icon:l[n(1993)](ae.UploadOutlined,{}),block:!0,type:n(2022),onClick:()=>{const v=n;e()[v(709)](m=>{const w=v;console[w(365)](w(1492),m)})},children:n(444)}):l[n(1993)](z[n(637)],{accept:n(1134),beforeUpload:g,showUploadList:!1,children:l[n(1993)](z.Button,{icon:l[n(1993)](ae[n(2058)],{}),block:!0,type:n(2022),children:n(444)})})}),l[n(1993)]("div",{className:n(822),children:l[n(1239)](z[n(472)],{activeKey:f,onChange:v=>y(v),ghost:!0,expandIconPosition:"end",children:[l.jsx(it,{header:"基础形状",children:l[n(1993)](z[n(1521)],{dataSource:p.basic,renderItem:v=>M(v,!1),locale:{emptyText:l[n(1993)](z.Empty,{description:n(1559),image:z[n(900)][n(592)]})}})},n(1750)),l.jsx(it,{header:n(1162),children:l[n(1993)](z[n(1521)],{dataSource:p[n(987)],renderItem:v=>M(v,!1),locale:{emptyText:l.jsx(z[n(900)],{description:n(1559),image:z[n(900)][n(592)]})}})},"device"),l[n(1993)](it,{header:"文本",children:l[n(1993)](z[n(1521)],{dataSource:p.text,renderItem:v=>M(v,!1),locale:{emptyText:l[n(1993)](z[n(900)],{description:n(1559),image:z[n(900)][n(592)]})}})},"text"),l[n(1239)](it,{header:l.jsxs(n(539),{className:n(556),children:[l[n(1993)](n(1102),{children:"线条"}),c===n(1785)&&l[n(1993)](z[n(2037)],{color:"blue",className:n(2062),children:n(479)})]}),children:[l.jsx(z[n(1521)],{dataSource:p[n(2070)],renderItem:v=>M(v,!0),locale:{emptyText:l.jsx(z[n(900)],{description:n(1559),image:z.Empty[n(592)]})}}),c==="line-draw"&&l[n(1239)](n(539),{className:n(1604),children:[l.jsx(n(539),{children:n(2144)}),l[n(1993)](n(539),{children:"点击画布确定起点和终点"})]})]},"line"),p[n(1728)].length>0&&l[n(1993)](it,{header:"群组",children:l[n(1993)](z[n(1521)],{dataSource:p[n(1728)],renderItem:v=>M(v,!1),locale:{emptyText:l.jsx(z[n(900)],{description:n(1559),image:z[n(900)][n(592)]})}})},"group"),p[n(1260)][n(2194)]>0&&l[n(1993)](it,{header:n(1267),children:l[n(1993)](z.List,{dataSource:p.custom,renderItem:v=>M(v,!1),locale:{emptyText:l[n(1993)](z[n(900)],{description:n(1559),image:z[n(900)][n(592)]})}})},"custom")]})}),l[n(1993)](n(539),{className:n(1317),children:l.jsx(u0,{type:"secondary",className:n(2062),children:c===n(1785)?l[n(1993)](l[n(915)],{children:"💡 提示:点击绘制线段,可连续绘制多段线,双击结束绘制,ESC 取消"}):l[n(1993)](l[n(915)],{children:n(1513)})})})]})};var Nx=function(e,n){const t=a;return Nx=Object[t(418)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(364)]=x}||function(o,x){const r=t;for(var i in x)Object[r(1201)][r(436)].call(x,i)&&(o[i]=x[i])},Nx(e,n)};function An(e,n){const t=a;if(typeof n!==t(1154)&&n!==null)throw new TypeError("Class extends value "+String(n)+t(1141));Nx(e,n);function o(){const x=t;this[x(1975)]=e}e.prototype=n===null?Object[t(1004)](n):(o[t(1201)]=n[t(1201)],new o)}function Bs(e,n,t,o){function x(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){const c=_0x4806;function d(f){const y=_0x4806;try{u(o[y(1991)](f))}catch(g){i(g)}}function s(f){try{u(o.throw(f))}catch(y){i(y)}}function u(f){const y=_0x4806;f[y(416)]?r(f[y(1981)]):x(f.value)[y(1796)](d,s)}u((o=o[c(1241)](e,n||[]))[c(1991)]())})}function lr(e,n){const t=a;var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},x,r,i,c=Object[t(1004)]((typeof Iterator===t(1154)?Iterator:Object)[t(1201)]);return c[t(1991)]=d(0),c[t(1639)]=d(1),c[t(1645)]=d(2),typeof Symbol=="function"&&(c[Symbol[t(2104)]]=function(){return this}),c;function d(u){return function(f){return s([u,f])}}function s(u){const f=t;if(x)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(o=0)),o;)try{if(x=1,r&&(i=u[0]&2?r[f(1645)]:u[0]?r[f(1639)]||((i=r[f(1645)])&&i[f(897)](r),0):r[f(1991)])&&!(i=i[f(897)](r,u[1]))[f(416)])return i;switch(r=0,i&&(u=[u[0]&2,i[f(1981)]]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o[f(1834)]++,r=u[1],u=[0];continue;case 7:u=o.ops[f(1384)](),o.trys[f(1384)]();continue;default:if(i=o[f(2050)],!(i=i[f(2194)]>0&&i[i[f(2194)]-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o[f(1834)]<i[1]){o[f(1834)]=i[1],i=u;break}if(i&&o[f(1834)]<i[2]){o.label=i[2],o.ops[f(1465)](u);break}i[2]&&o[f(429)][f(1384)](),o.trys[f(1384)]();continue}u=n[f(897)](e,o)}catch(y){u=[6,y],r=0}finally{x=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function ct(e){const n=a;var t=typeof Symbol===n(1154)&&Symbol[n(2104)],o=t&&e[t],x=0;if(o)return o.call(e);if(e&&typeof e[n(2194)]===n(411))return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(t?"Object is not iterable.":n(1349))}function f0(e,n){const t=a;var o=typeof Symbol=="function"&&e[Symbol[t(2104)]];if(!o)return e;var x=o.call(e),r,i=[],c;try{for(;(n===void 0||n-- >0)&&!(r=x[t(1991)]())[t(416)];)i.push(r[t(1981)])}catch(d){c={error:d}}finally{try{r&&!r[t(416)]&&(o=x[t(1645)])&&o[t(897)](x)}finally{if(c)throw c.error}}return i}function h0(e,n,t){const o=a;if(t||arguments[o(2194)]===2)for(var x=0,r=n[o(2194)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(1201)][o(1172)].call(n,0,x)),i[x]=n[x]);return e[o(905)](i||Array.prototype.slice[o(897)](n))}function at(e){return this instanceof at?(this.v=e,this):new at(e)}function Ds(e,n,t){const o=a;if(!Symbol[o(1894)])throw new TypeError("Symbol.asyncIterator is not defined.");var x=t[o(1241)](e,n||[]),r,i=[];return r=Object[o(1004)]((typeof AsyncIterator=="function"?AsyncIterator:Object)[o(1201)]),d("next"),d(o(1639)),d(o(1645),c),r[Symbol.asyncIterator]=function(){return this},r;function c(p){return function(h){const b=_0x4806;return Promise[b(2192)](h)[b(1796)](p,y)}}function d(p,h){x[p]&&(r[p]=function(b){return new Promise(function(M,v){i.push([p,b,M,v])>1||s(p,b)})},h&&(r[p]=h(r[p])))}function s(p,h){try{u(x[p](h))}catch(b){g(i[0][3],b)}}function u(p){const h=o;p.value instanceof at?Promise[h(2192)](p[h(1981)].v)[h(1796)](f,y):g(i[0][2],p)}function f(p){s("next",p)}function y(p){s(o(1639),p)}function g(p,h){const b=o;p(h),i.shift(),i[b(2194)]&&s(i[0][0],i[0][1])}}function Ls(e){const n=a;if(!Symbol[n(1894)])throw new TypeError(n(998));var t=e[Symbol[n(1894)]],o;return t?t[n(897)](e):(e=typeof ct===n(1154)?ct(e):e[Symbol[n(2104)]](),o={},x(n(1991)),x(n(1639)),x(n(1645)),o[Symbol[n(1894)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(c){return new Promise(function(d,s){const u=_0x4806;c=e[i](c),r(d,s,c[u(416)],c[u(1981)])})}}function r(i,c,d,s){const u=n;Promise[u(2192)](s)[u(1796)](function(f){i({value:f,done:d})},c)}}typeof SuppressedError=="function"&&SuppressedError;function Ue(e){return typeof e=="function"}function Sx(e){const n=a;var t=function(x){const r=_0x4806;Error[r(897)](x),x[r(1546)]=new Error()[r(1546)]},o=e(t);return o[n(1201)]=Object[n(1004)](Error[n(1201)]),o[n(1201)][n(1975)]=o,o}var kx=Sx(function(e){return function(t){const o=_0x4806;e(this),this.message=t?t[o(2194)]+o(924)+t.map(function(x,r){return r+1+") "+x.toString()})[o(886)](`
4
- `):"",this.name=o(1364),this[o(1400)]=t}});function g0(e,n){const t=a;if(e){var o=e[t(419)](n);0<=o&&e[t(1808)](o,1)}}var Yt=(function(){const e=a;function n(t){const o=_0x4806;this[o(754)]=t,this.closed=!1,this[o(935)]=null,this._finalizers=null}return n.prototype[e(1581)]=function(){const t=e;var o,x,r,i,c;if(!this[t(847)]){this[t(847)]=!0;var d=this[t(935)];if(d)if(this._parentage=null,Array[t(927)](d))try{for(var s=ct(d),u=s[t(1991)]();!u[t(416)];u=s[t(1991)]()){var f=u[t(1981)];f[t(921)](this)}}catch(M){o={error:M}}finally{try{u&&!u.done&&(x=s[t(1645)])&&x[t(897)](s)}finally{if(o)throw o.error}}else d.remove(this);var y=this[t(754)];if(Ue(y))try{y()}catch(M){c=M instanceof kx?M[t(1400)]:[M]}var g=this[t(2122)];if(g){this._finalizers=null;try{for(var p=ct(g),h=p.next();!h[t(416)];h=p.next()){var b=h[t(1981)];try{fr(b)}catch(M){c=c??[],M instanceof kx?c=h0(h0([],f0(c)),f0(M[t(1400)])):c[t(1465)](M)}}}catch(M){r={error:M}}finally{try{h&&!h[t(416)]&&(i=p[t(1645)])&&i[t(897)](p)}finally{if(r)throw r[t(551)]}}}if(c)throw new kx(c)}},n[e(1201)][e(1757)]=function(t){const o=e;var x;if(t&&t!==this)if(this[o(847)])fr(t);else{if(t instanceof n){if(t[o(847)]||t[o(2048)](this))return;t[o(1360)](this)}(this._finalizers=(x=this[o(2122)])!==null&&x!==void 0?x:[])[o(1465)](t)}},n[e(1201)][e(2048)]=function(t){const o=e;var x=this[o(935)];return x===t||Array.isArray(x)&&x[o(911)](t)},n[e(1201)][e(1360)]=function(t){const o=e;var x=this[o(935)];this[o(935)]=Array[o(927)](x)?(x[o(1465)](t),x):x?[x,t]:t},n[e(1201)]._removeParent=function(t){const o=e;var x=this[o(935)];x===t?this[o(935)]=null:Array.isArray(x)&&g0(x,t)},n[e(1201)][e(921)]=function(t){const o=e;var x=this[o(2122)];x&&g0(x,t),t instanceof n&&t[o(1880)](this)},n[e(1105)]=(function(){const t=e;var o=new n;return o[t(847)]=!0,o})(),n})(),dr=Yt[a(1105)];function ur(e){const n=a;return e instanceof Yt||e&&n(847)in e&&Ue(e[n(921)])&&Ue(e[n(1757)])&&Ue(e[n(1581)])}function fr(e){const n=a;Ue(e)?e():e[n(1581)]()}var Ns={Promise:void 0},Ss={setTimeout:function(e,n){const t=a;for(var o=[],x=2;x<arguments[t(2194)];x++)o[x-2]=arguments[x];return setTimeout.apply(void 0,h0([e,n],f0(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function hr(e){Ss.setTimeout(function(){throw e})}function gr(){}function y0(e){e()}var Ix=(function(e){const n=a;An(t,e);function t(o){const x=_0x4806;var r=e[x(897)](this)||this;return r.isStopped=!1,o?(r[x(2072)]=o,ur(o)&&o[x(1757)](r)):r.destination=Ps,r}return t[n(1004)]=function(o,x,r){return new Px(o,x,r)},t[n(1201)][n(1991)]=function(o){const x=n;this[x(1631)]||this[x(936)](o)},t[n(1201)].error=function(o){const x=n;this.isStopped||(this.isStopped=!0,this[x(705)](o))},t[n(1201)][n(1554)]=function(){const o=n;this.isStopped||(this[o(1631)]=!0,this._complete())},t[n(1201)][n(1581)]=function(){const o=n;!this.closed&&(this[o(1631)]=!0,e.prototype[o(1581)][o(897)](this),this[o(2072)]=null)},t[n(1201)][n(936)]=function(o){const x=n;this[x(2072)][x(1991)](o)},t.prototype[n(705)]=function(o){const x=n;try{this.destination[x(551)](o)}finally{this[x(1581)]()}},t.prototype._complete=function(){const o=n;try{this[o(2072)][o(1554)]()}finally{this[o(1581)]()}},t})(Yt),ks=(function(){const e=a;function n(t){this.partialObserver=t}return n[e(1201)][e(1991)]=function(t){const o=e;var x=this.partialObserver;if(x[o(1991)])try{x[o(1991)](t)}catch(r){m0(r)}},n[e(1201)].error=function(t){const o=e;var x=this[o(1230)];if(x.error)try{x[o(551)](t)}catch(r){m0(r)}else m0(t)},n[e(1201)][e(1554)]=function(){const t=e;var o=this[t(1230)];if(o.complete)try{o[t(1554)]()}catch(x){m0(x)}},n})(),Px=(function(e){An(n,e);function n(t,o,x){const r=_0x4806;var i=e[r(897)](this)||this,c;return Ue(t)||!t?c={next:t??void 0,error:o??void 0,complete:x??void 0}:c=t,i[r(2072)]=new ks(c),i}return n})(Ix);function m0(e){hr(e)}function Is(e){throw e}var Ps={closed:!0,next:gr,error:Is,complete:gr},Ax=(function(){const e=a;return typeof Symbol===e(1154)&&Symbol.observable||e(2065)})();function yr(e){return e}function As(e){const n=a;return e.length===0?yr:e[n(2194)]===1?e[0]:function(o){return e[n(1606)](function(r,i){return i(r)},o)}}var on=(function(){const e=a;function n(t){t&&(this._subscribe=t)}return n[e(1201)][e(470)]=function(t){const o=e;var x=new n;return x[o(964)]=this,x.operator=t,x},n[e(1201)][e(1722)]=function(t,o,x){var r=this,i=Es(t)?t:new Px(t,o,x);return y0(function(){const c=_0x4806;var d=r,s=d.operator,u=d.source;i[c(1757)](s?s[c(897)](i,u):u?r._subscribe(i):r[c(642)](i))}),i},n[e(1201)][e(642)]=function(t){const o=e;try{return this[o(2184)](t)}catch(x){t[o(551)](x)}},n.prototype[e(1369)]=function(t,o){var x=this;return o=mr(o),new o(function(r,i){var c=new Px({next:function(d){const s=_0x4806;try{t(d)}catch(u){i(u),c[s(1581)]()}},error:i,complete:r});x.subscribe(c)})},n[e(1201)][e(2184)]=function(t){const o=e;var x;return(x=this[o(964)])===null||x===void 0?void 0:x.subscribe(t)},n[e(1201)][Ax]=function(){return this},n[e(1201)][e(458)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(2194)];x++)o[x]=arguments[x];return As(o)(this)},n[e(1201)][e(980)]=function(t){var o=this;return t=mr(t),new t(function(x,r){const i=_0x4806;var c;o[i(1722)](function(d){return c=d},function(d){return r(d)},function(){return x(c)})})},n.create=function(t){return new n(t)},n})();function mr(e){var n;return(n=e??Ns.Promise)!==null&&n!==void 0?n:Promise}function js(e){const n=a;return e&&Ue(e[n(1991)])&&Ue(e[n(551)])&&Ue(e[n(1554)])}function Es(e){return e&&e instanceof Ix||js(e)&&ur(e)}function Ys(e){return Ue(e?.lift)}function Wn(e){return function(n){const t=_0x4806;if(Ys(n))return n[t(470)](function(o){const x=t;try{return e(o,this)}catch(r){this[x(551)](r)}});throw new TypeError(t(1382))}}function Xn(e,n,t,o,x){return new Us(e,n,t,o,x)}var Us=(function(e){const n=a;An(t,e);function t(o,x,r,i,c,d){const s=_0x4806;var u=e[s(897)](this,o)||this;return u[s(1536)]=c,u[s(1636)]=d,u[s(936)]=x?function(f){const y=s;try{x(f)}catch(g){o[y(551)](g)}}:e.prototype[s(936)],u[s(705)]=i?function(f){const y=s;try{i(f)}catch(g){o[y(551)](g)}finally{this[y(1581)]()}}:e.prototype[s(705)],u[s(1683)]=r?function(){const f=s;try{r()}catch(y){o.error(y)}finally{this[f(1581)]()}}:e.prototype[s(1683)],u}return t[n(1201)].unsubscribe=function(){const o=n;var x;if(!this.shouldUnsubscribe||this[o(1636)]()){var r=this[o(847)];e[o(1201)].unsubscribe[o(897)](this),!r&&((x=this.onFinalize)===null||x===void 0||x[o(897)](this))}},t})(Ix),Gs=Sx(function(e){return function(){const t=_0x4806;e(this),this[t(659)]=t(2057),this.message=t(375)}}),wr=(function(e){const n=a;An(t,e);function t(){const o=_0x4806;var x=e[o(897)](this)||this;return x[o(847)]=!1,x[o(651)]=null,x[o(1066)]=[],x.isStopped=!1,x.hasError=!1,x[o(863)]=null,x}return t.prototype.lift=function(o){var x=new vr(this,this);return x.operator=o,x},t.prototype._throwIfClosed=function(){if(this[_0x4806(847)])throw new Gs},t[n(1201)].next=function(o){var x=this;y0(function(){const r=_0x4806;var i,c;if(x._throwIfClosed(),!x[r(1631)]){!x[r(651)]&&(x[r(651)]=Array[r(1139)](x.observers));try{for(var d=ct(x[r(651)]),s=d[r(1991)]();!s[r(416)];s=d[r(1991)]()){var u=s[r(1981)];u.next(o)}}catch(f){i={error:f}}finally{try{s&&!s[r(416)]&&(c=d.return)&&c.call(d)}finally{if(i)throw i.error}}}})},t.prototype[n(551)]=function(o){var x=this;y0(function(){const r=_0x4806;if(x._throwIfClosed(),!x[r(1631)]){x[r(996)]=x[r(1631)]=!0,x[r(863)]=o;for(var i=x[r(1066)];i[r(2194)];)i[r(708)]().error(o)}})},t.prototype.complete=function(){var o=this;y0(function(){const x=_0x4806;if(o._throwIfClosed(),!o[x(1631)]){o[x(1631)]=!0;for(var r=o[x(1066)];r[x(2194)];)r[x(708)]().complete()}})},t[n(1201)].unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t[n(1201)],n(2174),{get:function(){var o;return((o=this.observers)===null||o===void 0?void 0:o.length)>0},enumerable:!1,configurable:!0}),t[n(1201)][n(642)]=function(o){const x=n;return this[x(1682)](),e.prototype[x(642)][x(897)](this,o)},t[n(1201)][n(2184)]=function(o){const x=n;return this[x(1682)](),this[x(1700)](o),this[x(633)](o)},t.prototype[n(633)]=function(o){const x=n;var r=this,i=this,c=i[x(996)],d=i[x(1631)],s=i[x(1066)];return c||d?dr:(this[x(651)]=null,s[x(1465)](o),new Yt(function(){const u=x;r[u(651)]=null,g0(s,o)}))},t[n(1201)][n(1700)]=function(o){const x=n;var r=this,i=r.hasError,c=r.thrownError,d=r[x(1631)];i?o.error(c):d&&o[x(1554)]()},t[n(1201)][n(627)]=function(){const o=n;var x=new on;return x[o(964)]=this,x},t[n(1004)]=function(o,x){return new vr(o,x)},t})(on),vr=(function(e){const n=a;An(t,e);function t(o,x){const r=_0x4806;var i=e[r(897)](this)||this;return i[r(2072)]=o,i[r(964)]=x,i}return t[n(1201)][n(1991)]=function(o){const x=n;var r,i;(i=(r=this[x(2072)])===null||r===void 0?void 0:r[x(1991)])===null||i===void 0||i[x(897)](r,o)},t[n(1201)].error=function(o){const x=n;var r,i;(i=(r=this[x(2072)])===null||r===void 0?void 0:r.error)===null||i===void 0||i[x(897)](r,o)},t.prototype[n(1554)]=function(){const o=n;var x,r;(r=(x=this[o(2072)])===null||x===void 0?void 0:x[o(1554)])===null||r===void 0||r[o(897)](x)},t[n(1201)][n(2184)]=function(o){const x=n;var r,i;return(i=(r=this[x(964)])===null||r===void 0?void 0:r.subscribe(o))!==null&&i!==void 0?i:dr},t})(wr),Os={now:function(){return Date[a(1960)]()}},Hs=(function(e){const n=a;An(t,e);function t(o,x){return e.call(this)||this}return t.prototype[n(1209)]=function(o,x){return this},t})(Yt),pr={setInterval:function(e,n){const t=a;for(var o=[],x=2;x<arguments.length;x++)o[x-2]=arguments[x];return setInterval[t(1241)](void 0,h0([e,n],f0(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Ts=(function(e){const n=a;An(t,e);function t(o,x){const r=_0x4806;var i=e.call(this,o,x)||this;return i[r(920)]=o,i[r(2105)]=x,i[r(1904)]=!1,i}return t.prototype[n(1209)]=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this[r(847)])return this;this.state=o;var c=this.id,d=this.scheduler;return c!=null&&(this.id=this[r(1252)](d,c,x)),this[r(1904)]=!0,this[r(1725)]=x,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(1532)](d,this.id,x),this},t[n(1201)][n(1532)]=function(o,x,r){const i=n;return r===void 0&&(r=0),pr[i(702)](o.flush[i(999)](o,this),r)},t[n(1201)][n(1252)]=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this[i(1725)]===r&&this[i(1904)]===!1?x:(x!=null&&pr.clearInterval(x),void 0)},t.prototype[n(1929)]=function(o,x){const r=n;if(this[r(847)])return new Error(r(1688));this[r(1904)]=!1;var i=this[r(1697)](o,x);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this[r(1252)](this[r(920)],this.id,null))},t[n(1201)]._execute=function(o,x){const r=n;var i=!1,c;try{this[r(2105)](o)}catch(d){i=!0,c=d||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),c},t[n(1201)][n(1581)]=function(){const o=n;if(!this.closed){var x=this,r=x.id,i=x.scheduler,c=i[o(947)];this[o(2105)]=this[o(672)]=this[o(920)]=null,this.pending=!1,g0(c,this),r!=null&&(this.id=this[o(1252)](i,r,null)),this.delay=null,e.prototype.unsubscribe[o(897)](this)}},t})(Hs),br=(function(){const e=a;function n(t,o){o===void 0&&(o=n[_0x4806(1960)]),this.schedulerActionCtor=t,this.now=o}return n[e(1201)].schedule=function(t,o,x){const r=e;return o===void 0&&(o=0),new this[r(1850)](this,t).schedule(x,o)},n[e(1960)]=Os[e(1960)],n})(),Vs=(function(e){const n=a;An(t,e);function t(o,x){const r=_0x4806;x===void 0&&(x=br[r(1960)]);var i=e.call(this,o,x)||this;return i[r(947)]=[],i[r(804)]=!1,i}return t.prototype[n(2041)]=function(o){const x=n;var r=this.actions;if(this._active){r.push(o);return}var i;this._active=!0;do if(i=o[x(1929)](o[x(672)],o[x(1725)]))break;while(o=r[x(708)]());if(this[x(804)]=!1,i){for(;o=r[x(708)]();)o[x(1581)]();throw i}},t})(br),qs=new Vs(Ts);function Ws(e){return e&&Ue(e[a(1209)])}function Xs(e){return e[e[a(2194)]-1]}function Ks(e){const n=a;return Ws(Xs(e))?e[n(1384)]():void 0}var zr=function(e){const n=a;return e&&typeof e[n(2194)]===n(411)&&typeof e!==n(1154)};function Cr(e){return Ue(e?.[a(1796)])}function Mr(e){return Ue(e[Ax])}function Br(e){return Symbol.asyncIterator&&Ue(e?.[Symbol.asyncIterator])}function Dr(e){const n=a;return new TypeError(n(400)+(e!==null&&typeof e===n(2171)?n(676):"'"+e+"'")+n(631))}function Zs(){const e=a;return typeof Symbol!==e(1154)||!Symbol[e(2104)]?e(2034):Symbol[e(2104)]}var Lr=Zs();function Nr(e){return Ue(e?.[Lr])}function Sr(e){return Ds(this,arguments,function(){var t,o,x,r;return lr(this,function(i){const c=_0x4806;switch(i.label){case 0:t=e[c(2011)](),i.label=1;case 1:i[c(2050)][c(1465)]([1,,9,10]),i.label=2;case 2:return[4,at(t.read())];case 3:return o=i.sent(),x=o[c(1981)],r=o[c(416)],r?[4,at(void 0)]:[3,5];case 4:return[2,i[c(1377)]()];case 5:return[4,at(x)];case 6:return[4,i[c(1377)]()];case 7:return i[c(1377)](),[3,2];case 8:return[3,10];case 9:return t[c(646)](),[7];case 10:return[2]}})})}function kr(e){return Ue(e?.[a(2011)])}function Kn(e){if(e instanceof on)return e;if(e!=null){if(Mr(e))return Rs(e);if(zr(e))return Js(e);if(Cr(e))return _s(e);if(Br(e))return Ir(e);if(Nr(e))return Fs(e);if(kr(e))return Qs(e)}throw Dr(e)}function Rs(e){return new on(function(n){const t=_0x4806;var o=e[Ax]();if(Ue(o[t(1722)]))return o[t(1722)](n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Js(e){return new on(function(n){const t=_0x4806;for(var o=0;o<e.length&&!n.closed;o++)n.next(e[o]);n[t(1554)]()})}function _s(e){return new on(function(n){const t=_0x4806;e[t(1796)](function(o){const x=t;!n[x(847)]&&(n.next(o),n[x(1554)]())},function(o){return n[t(551)](o)})[t(1796)](null,hr)})}function Fs(e){return new on(function(n){const t=_0x4806;var o,x;try{for(var r=ct(e),i=r[t(1991)]();!i[t(416)];i=r[t(1991)]()){var c=i[t(1981)];if(n.next(c),n[t(847)])return}}catch(d){o={error:d}}finally{try{i&&!i[t(416)]&&(x=r.return)&&x.call(r)}finally{if(o)throw o[t(551)]}}n[t(1554)]()})}function Ir(e){return new on(function(n){const t=_0x4806;$s(e,n)[t(709)](function(o){return n[t(551)](o)})})}function Qs(e){return Ir(Sr(e))}function $s(e,n){var t,o,x,r;return Bs(this,void 0,void 0,function(){var i,c;return lr(this,function(d){const s=_0x4806;switch(d[s(1834)]){case 0:d.trys.push([0,5,6,11]),t=Ls(e),d.label=1;case 1:return[4,t[s(1991)]()];case 2:if(o=d.sent(),!!o[s(416)])return[3,4];if(i=o[s(1981)],n[s(1991)](i),n[s(847)])return[2];d.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=d[s(1377)](),x={error:c},[3,11];case 6:return d[s(2050)][s(1465)]([6,,9,10]),o&&!o[s(416)]&&(r=t[s(1645)])?[4,r.call(t)]:[3,8];case 7:d.sent(),d.label=8;case 8:return[3,10];case 9:if(x)throw x[s(551)];return[7];case 10:return[7];case 11:return n[s(1554)](),[2]}})})}function jn(e,n,t,o,x){const r=a;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n[r(1209)](function(){const c=r;t(),x?e.add(this.schedule(null,o)):this[c(1581)]()},o);if(e[r(1757)](i),!x)return i}function Pr(e,n){return n===void 0&&(n=0),Wn(function(t,o){t.subscribe(Xn(o,function(x){return jn(o,e,function(){return o[_0x4806(1991)](x)},n)},function(){return jn(o,e,function(){return o[_0x4806(1554)]()},n)},function(x){return jn(o,e,function(){return o[_0x4806(551)](x)},n)}))})}function Ar(e,n){return n===void 0&&(n=0),Wn(function(t,o){const x=_0x4806;o[x(1757)](e[x(1209)](function(){return t[x(1722)](o)},n))})}function el(e,n){const t=a;return Kn(e)[t(458)](Ar(n),Pr(n))}function nl(e,n){return Kn(e).pipe(Ar(n),Pr(n))}function tl(e,n){return new on(function(t){const o=_0x4806;var x=0;return n[o(1209)](function(){const r=o;x===e[r(2194)]?t[r(1554)]():(t[r(1991)](e[x++]),!t[r(847)]&&this[r(1209)]())})})}function xl(e,n){return new on(function(t){var o;return jn(t,n,function(){o=e[Lr](),jn(t,n,function(){const x=_0x4806;var r,i,c;try{r=o[x(1991)](),i=r[x(1981)],c=r.done}catch(d){t[x(551)](d);return}c?t[x(1554)]():t[x(1991)](i)},0,!0)}),function(){const x=_0x4806;return Ue(o?.[x(1645)])&&o[x(1645)]()}})}function jr(e,n){if(!e)throw new Error("Iterable cannot be null");return new on(function(t){jn(t,n,function(){const o=_0x4806;var x=e[Symbol[o(1894)]]();jn(t,n,function(){const r=o;x[r(1991)]()[r(1796)](function(i){const c=r;i.done?t[c(1554)]():t[c(1991)](i[c(1981)])})},0,!0)})})}function ol(e,n){return jr(Sr(e),n)}function rl(e,n){if(e!=null){if(Mr(e))return el(e,n);if(zr(e))return tl(e,n);if(Cr(e))return nl(e,n);if(Br(e))return jr(e,n);if(Nr(e))return xl(e,n);if(kr(e))return ol(e,n)}throw Dr(e)}function w0(e,n){return n?rl(e,n):Kn(e)}function ln(){const e=a;for(var n=[],t=0;t<arguments[e(2194)];t++)n[t]=arguments[t];var o=Ks(n);return w0(n,o)}function Te(e,n){var t=Ue(e)?e:function(){return e},o=function(x){return x[_0x4806(551)](t())};return new on(o)}function il(e){return e instanceof Date&&!isNaN(e)}var cl=Sx(function(e){return function(t){const o=_0x4806;t===void 0&&(t=null),e(this),this[o(452)]=o(2071),this[o(659)]=o(1953),this[o(1193)]=t}});function al(e,n){const t=a;var o=il(e)?{first:e}:{each:e},x=o[t(1214)],r=o[t(1920)],i=o[t(1605)],c=i===void 0?sl:i,d=o.scheduler,s=d===void 0?qs:d,u=o[t(1429)],f=u===void 0?null:u;if(x==null&&r==null)throw new TypeError(t(1459));return Wn(function(y,g){const p=t;var h,b,M=null,v=0,m=function(w){b=jn(g,s,function(){const C=_0x4806;try{h.unsubscribe(),Kn(c({meta:f,lastValue:M,seen:v}))[C(1722)](g)}catch(k){g[C(551)](k)}},w)};h=y.subscribe(Xn(g,function(w){const C=_0x4806;b?.[C(1581)](),v++,g[C(1991)](M=w),r>0&&m(r)},void 0,void 0,function(){!b?.[_0x4806(847)]&&b?.unsubscribe(),M=null})),!v&&m(x!=null?typeof x===p(411)?x:+x-s.now():r)})}function sl(e){throw new cl(e)}function v0(e,n){return Wn(function(t,o){const x=_0x4806;var r=0;t[x(1722)](Xn(o,function(i){const c=x;o[c(1991)](e[c(897)](n,i,r++))}))})}function ll(e,n,t,o,x,r,i,c){const d=a;var s=[],u=0,f=0,y=!1,g=function(){const b=_0x4806;y&&!s.length&&!u&&n[b(1554)]()},p=function(b){return u<o?h(b):s.push(b)},h=function(b){const M=_0x4806;u++;var v=!1;Kn(t(b,f++))[M(1722)](Xn(n,function(m){n[M(1991)](m)},function(){v=!0},void 0,function(){if(v)try{u--;for(var m=function(){var C=s[_0x4806(708)]();i||h(C)};s.length&&u<o;)m();g()}catch(w){n.error(w)}}))};return e[d(1722)](Xn(n,p,function(){y=!0,g()})),function(){}}function jx(e,n,t){return t===void 0&&(t=1/0),Ue(n)?jx(function(o,x){return v0(function(r,i){return n(o,r,x,i)})(Kn(e(o,x)))},t):(typeof n=="number"&&(t=n),Wn(function(o,x){return ll(o,x,e,t)}))}function p0(e){return Wn(function(n,t){const o=_0x4806;var x=null,r=!1,i;x=n[o(1722)](Xn(t,void 0,void 0,function(c){const d=o;i=Kn(e(c,p0(e)(n))),x?(x[d(1581)](),x=null,i[d(1722)](t)):r=!0})),r&&(x[o(1581)](),x=null,i[o(1722)](t))})}function dl(e,n,t){var o=Ue(e)||n||t?{next:e,error:n,complete:t}:e;return o?Wn(function(x,r){const i=_0x4806;var c;(c=o.subscribe)===null||c===void 0||c[i(897)](o);var d=!0;x.subscribe(Xn(r,function(s){const u=i;var f;(f=o[u(1991)])===null||f===void 0||f[u(897)](o,s),r.next(s)},function(){const s=i;var u;d=!1,(u=o[s(1554)])===null||u===void 0||u.call(o),r.complete()},function(s){const u=i;var f;d=!1,(f=o[u(551)])===null||f===void 0||f.call(o,s),r[u(551)](s)},function(){const s=i;var u,f;d&&((u=o[s(1581)])===null||u===void 0||u.call(o)),(f=o[s(1816)])===null||f===void 0||f[s(897)](o)}))}):yr}function Ex(e){const n=a;return encodeURIComponent((e||"")[n(1258)]()||n(1553))}function ul(e){const n=a;return e.eventType===n(717)?e[n(1721)]+"::ext::"+Ex(e[n(1426)]??""):e[n(1721)]+"::"+e[n(1231)]}function Er(e,n){return e+":"+n}class st{static[a(1549)];eventSubjects=new Map;[a(437)]=new Map;[a(2188)]=new Map;[a(1353)]=new Map;defaultRuntimeHandlers;constructor(){}static[a(724)](){const n=a;return!st[n(1549)]&&(st[n(1549)]=new st),st[n(1549)]}registerEventBlock(n){this[a(2188)].set(n.id,n)}unregisterEventBlock(n){this[a(2188)].delete(n)}[a(1529)](n){const t=a;return this.eventBlocks[t(1157)](n)}setDefaultRuntimeHandlers(n){const t=a;this[t(757)]=n}[a(1444)](n){const t=a;if(!n)return;const o=this.defaultRuntimeHandlers;this[t(757)]={dataRequest:{...o?.[t(907)],...n[t(907)]},external:{...o?.[t(717)],...n[t(717)]}}}[a(373)](n){const t=a,o=this.defaultRuntimeHandlers;if(!(!o&&!n))return{dataRequest:{...o?.[t(907)],...n?.[t(907)]},external:{...o?.[t(717)],...n?.[t(717)]}}}[a(861)](n){const t=a,o=this[t(437)][t(1157)](n.id);o&&(o.unsubscribe(),this[t(437)][t(1147)](n.id)),this[t(2035)].delete(n.id)}[a(1409)](n){const t=a,o=ul(n),x=this[t(1353)][t(1157)](o);x&&x.id!==n.id&&this.disposeEventRootPipeline(x),this.nodeEventBindings[t(799)](o,n),!this[t(2035)][t(1826)](n.id)&&this[t(1567)](n)}unbindNodeEvent(n,t,o){const x=a;if(t===x(717)){const d=n+x(1896)+Ex(o??""),s=this[x(1353)][x(1157)](d);s&&(this.disposeEventRootPipeline(s),this[x(1353)][x(1147)](d));return}const r=n+"::"+t,i=Er(n,t),c=this.nodeEventBindings.get(r)??this.nodeEventBindings.get(i);c&&(this[x(861)](c),this[x(1353)][x(1147)](r),this[x(1353)].delete(i))}[a(1792)](n){const t=a,o=[];this[t(1353)].forEach((x,r)=>{x[t(1721)]===n&&o.push({key:r,root:x})}),o.forEach(({key:x,root:r})=>{const i=t;this[i(861)](r),this[i(1353)].delete(x)})}[a(1485)](n){const t=a,o=[];return this[t(1353)][t(1369)](x=>{const r=t;x[r(1721)]===n&&o[r(1465)](x)}),o}emit(n,t,o){const x=a,r=n+"::"+t,i=this[x(1353)][x(1157)](r)??this[x(1353)][x(1157)](Er(n,t));if(!i||!i[x(1450)])return ln({success:!0,result:null,path:[],duration:0});if(!this[x(2035)][x(1157)](i.id))return Te(()=>new Error(x(628)+r));const d=Date.now(),s={...o,executionPath:o[x(2179)]||[],runtimeHandlers:this[x(373)](o.runtimeHandlers)};return this[x(663)](i,s)[x(458)](v0(u=>({success:!0,result:u,path:s[x(2179)],duration:Date.now()-d})),p0(u=>ln({success:!1,error:u[x(452)]||x(2061),path:s[x(2179)],duration:Date[x(1960)]()-d})))}[a(471)](n,t,o){const x=a,r=n+x(1896)+Ex(t),i=this[x(1353)][x(1157)](r);if(!i||!i[x(1450)])return ln({success:!0,result:null,path:[],duration:0});if(!this[x(2035)][x(1157)](i.id))return Te(()=>new Error(x(628)+r));const d=Date[x(1960)](),s={...o,executionPath:o[x(2179)]||[],runtimeHandlers:this[x(373)](o[x(1827)])};return this[x(663)](i,s)[x(458)](v0(u=>({success:!0,result:u,path:s[x(2179)],duration:Date[x(1960)]()-d})),p0(u=>ln({success:!1,error:u[x(452)]||"Event flow execution failed",path:s[x(2179)],duration:Date[x(1960)]()-d})))}[a(1567)](n){const t=a,o=new wr;this[t(2035)][t(799)](n.id,o)}[a(663)](n,t){const o=a,{nodes:x,edges:r}=n[o(704)];if(x.length===0)return ln(null);const i=x[o(1641)](c=>c.inputs[o(2194)]===0);return i[o(2194)]===0?Te(()=>new Error(o(1454))):this[o(608)](i,x,r,t,{})}[a(608)](n,t,o,x,r){const i=a;if(n[i(2194)]===0)return ln(r);const c=n[i(542)](d=>this[i(758)](d,x,r).pipe(dl(s=>{const u=i;r[d.id]=s,x[u(2179)][u(1465)](d.id)})));return w0(c)[i(458)](jx(d=>d,1),v0(()=>{const d=i,s=new Set;return n[d(1369)](f=>{const y=d;f[y(2177)][y(1369)](g=>{const p=t.find(h=>h.id===g);p&&p.inputs.every(b=>r[b]!==void 0)&&s.add(g)})}),t[d(1641)](f=>s[d(1826)](f.id))}),jx(d=>d[i(2194)]>0?this.executeFlowNodes(d,t,o,x,r):ln(r)),al(3e4),p0(d=>{const s=i;return console[s(551)](s(667),d),Te(()=>d)}))}[a(601)](n){const t=a;return this[t(2188)][t(1157)](n[t(2084)])??n.data[t(1747)]}interpolateBuiltinString(n,t,o){const x=a;return n[x(598)](/\{\{\s*([^}]+?)\s*\}\}/g,(r,i)=>{const c=x,d=String(i)[c(1258)]();if(d[c(922)]("$")){const u=this[c(1307)](o,d.slice(1));return u==null?"":String(u)}const s=t[d];return s==null?"":String(s)})}executeBuiltin(n,t,o){const x=a,r=n.builtinId;if(!r)return Te(()=>new Error(x(1809)));if(r===x(1642)){const i=n[x(1854)]??{},c=String(i.content??""),d=i[x(2067)]??"info",s=i.duration,u=this[x(1251)](c,o,t);if(!u.trim())return Te(()=>new Error(x(899)));try{const f={type:d,content:u};if(s!=null&&s!==""){const y=Number(s);!Number[x(1727)](y)&&(f[x(2056)]=y)}return z[x(452)].open(f),ln({ok:!0,builtinId:r,content:u,level:d})}catch(f){return Te(()=>f)}}if(r==="switchCanvas"){const i=n.builtinConfig??{},c=String(i[x(1359)]??"").trim();if(!c)return Te(()=>new Error(x(2005)));if(!t[x(2066)])return Te(()=>new Error(x(2106)));try{return t[x(2066)](c),ln({ok:!0,builtinId:r,targetCanvasId:c})}catch(d){return Te(()=>d)}}return Te(()=>new Error(x(680)+String(r)))}[a(791)](n,t,o){try{const x=n(t,o);return x instanceof Promise?w0(x):ln(x)}catch(x){return Te(()=>x)}}executeSingleFlowNode(n,t,o){const x=a,r=this[x(601)](n);if(!r)return Te(()=>new Error(x(1724)+n[x(2084)]));const i=this.prepareEventArgs(n,t,o),c=r.executorType??"inlineScript";if(c===x(907)){const d=(r.dataRequestKey||"").trim();if(!d)return Te(()=>new Error(x(840)));const s=t[x(1827)]?.[x(907)]?.[d];return s?this[x(791)](s,t,i):Te(()=>new Error(x(593)+d))}if(c===x(717)){const d=(r[x(1673)]||"").trim();if(!d)return Te(()=>new Error(x(1933)));const s=t[x(1827)]?.[x(717)]?.[d];return s?this[x(791)](s,t,i):Te(()=>new Error(x(533)+d))}if(c===x(1657))return this[x(743)](r,t,i);try{const d=new Function(x(1997),x(1143),x(928),r[x(2029)]),s=d(t.triggerNode,t,i);return s instanceof Promise?w0(s):ln(s)}catch(d){return Te(()=>d)}}[a(1420)](n,t,o){const x=a,r={$event:t[x(1956)],$data:t.data,$node:t[x(1588)]},{inputMapping:i}=n[x(1468)];return i&&Object.entries(i)[x(1369)](([c,d])=>{const s=x;if(d[s(922)](s(1291))){const u=d[s(598)](s(1291),"");r[c]=o[u]}else if(d[s(922)]("$")){const u=d[s(1172)](1);r[c]=this[s(1307)](t,u)}else r[c]=d}),r}[a(1307)](n,t){return t.split(".").reduce((o,x)=>{if(o!==null&&typeof o===_0x4806(2171)&&x in o)return o[x]},n)}[a(1436)](){const n=a;this[n(437)][n(1369)](t=>t[n(1581)]()),this[n(437)][n(2016)](),this[n(2035)][n(2016)](),this[n(1353)].clear()}}const lt=st[a(724)](),Yr=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=a,{eventFlow:r,switchCanvas:i}=He(),c=B[x(575)](null),d=B.useCallback(()=>{const u=x;return r.eventRoots[u(1641)](f=>f.bindNodeId===e.id&&f[u(1450)])},[r.eventRoots,e.id]),s=B[x(1591)](u=>f=>{const y=_0x4806,g=d()[y(1641)](h=>h[y(1231)]===u);if(g.length===0)return;u!==y(1746)&&u!==y(1772)&&f[y(1923)](),f[y(1064)]();const p=o&&typeof o=="object"?{...o}:{};g[y(1369)](h=>{const b=y;lt[b(1685)](e.id,u,{triggerNode:e,originalEvent:f,data:p,runtimeHandlers:t,switchCanvas:i})[b(1722)]({next:M=>{const v=b;!M[v(2093)]&&console[v(551)]("Event flow execution failed:",M[v(551)])},error:M=>{console[b(551)]("Event flow error:",M)}})})},[d,e,t,o]);return B.useEffect(()=>(d().forEach(f=>{lt[_0x4806(1409)](f)}),()=>{lt[_0x4806(1792)](e.id)}),[d,e.id]),B[x(363)](()=>{const u=x,f=c[u(1560)];if(!f)return;const y={click:s(u(1280)),mousedown:s("mouseDown"),mouseup:s(u(2077)),dblclick:s(u(1319)),mouseover:s("mouseOver"),mouseleave:s(u(1772)),mouseenter:s(u(432)),contextmenu:s("contextMenu")};return Object.entries(y)[u(1369)](([g,p])=>{f[u(1966)](g,p,!0)}),()=>{const g=u;Object[g(1942)](y).forEach(([p,h])=>{f[g(1339)](p,h,!0)})}},[s]),B[x(2026)](n,{ref:u=>{const f=x;c[f(1560)]=u;const y=n.ref;typeof y===f(1154)?y(u):y&&f(1560)in y&&(y.current=u)}})},{Text:Ur}=z[a(1052)],Gr=(e,n)=>{const t=a;if(!n||!e)return{value:void 0};if(Array.isArray(e)){const o=e.find(x=>x[t(2115)]===n);if(o)return{value:o[t(1981)],unit:o[t(793)]}}else if(typeof e===t(2171)){const o=n[t(1615)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(2171))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e.unit}}return{value:void 0}};function fl(e){return Array.isArray(e)}const hl=(e,n,t)=>{const o=a,x=e[o(962)]||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:c,boundDatasetBindValue:d}=x;if(!r)return{value:void 0};if(i){const s=n[o(1876)](u=>u.id===i);if(s){let u;fl(s[o(1167)])?c!=null&&d!=null?u=s.sample[o(1876)](y=>y[c]===d)||{}:u={}:u=s[o(1167)];const f=t&&typeof t===o(2171)?{...u,...t}:u;return Gr(f,r)}}return Gr(t,r)},gl=(e,n)=>{const t=a;if(e==null||e==="")return"";if(n===-1)return String(e);const o=Number(e);return isNaN(o)?String(e):o[t(1704)](n??2)},yl=(e,n,t,o,x)=>{const r=a;switch(e[r(1424)]){case"IMAGE":const i=e,c=i.backgroundColor,d=i[r(1403)];let s=i.src;return d&&s&&s[r(911)](r(615))&&(e[r(659)]==="矩形"?s="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+d+r(1146)):e[r(659)]==="圆形"?s=r(1215)+encodeURIComponent(r(1822)+d+r(2126)):e[r(659)]===r(1272)&&(s="data:image/svg+xml,"+encodeURIComponent(r(2116)+d+'" rx="20"/></svg>'))),l[r(1993)](r(539),{className:r(820),style:{backgroundColor:c},children:s?l[r(1993)](r(916),{src:s,alt:e[r(659)],style:{width:r(1805),height:r(1805),objectFit:"contain"}}):l[r(1993)](r(539),{className:r(1778),children:l.jsx(r(1102),{className:r(929),children:r(1828)})})});case r(1505):const u=e,{label:f,value:y,valueSourceCode:g,unit:p,decimals:h,labelStyle:b,valueStyle:M,customStyle:v}=u[r(962)]||{},{value:m,unit:w}=g?hl(u,x||[],n):{value:void 0,unit:void 0},C=m!==void 0?m:y,k=gl(C,h),O=p||w||"";return l.jsxs(r(539),{className:r(1213),style:{...v},children:[f&&l[r(1993)](Ur,{style:{fontSize:14,fontWeight:r(1713),color:r(443),textAlign:r(1557),...b},children:f}),k&&l[r(1239)](Ur,{style:{fontSize:14,color:r(1690),textAlign:"left",...M},children:[k,O?" "+O:""]})]});case"LINE":const G=e,{thickness:j=2,color:A=r(1903),dashed:Z=!1,lineType:W=Z?"dashed":r(2176),lineWeight:q=j,startX:T=0,startY:N=0,endX:D=100,endY:L=0}=G[r(713)]||{},U=Q=>{const R=r,$=Math.max(q,1);switch(Q){case R(2176):return"";case R(2022):return $*8+","+$*4;case R(543):return $*12+","+$*3+","+$*2+","+$*3;case R(662):return $*12+","+$*3+","+$*2+","+$*3+","+$*2+","+$*3;case R(1175):return $+","+$*3;case"dash-dot":return $*8+","+$*3+","+$+","+$*3;default:return""}},P=U(W),S=t?"#1890ff":A;return l[r(1993)](r(539),{className:r(1504),style:{overflow:r(1136)},children:l[r(1239)](r(719),{className:r(1595),width:r(1805),height:r(1805),style:{overflow:r(1136),pointerEvents:r(1712)},children:[l[r(1993)]("line",{x1:T,y1:N,x2:D,y2:L,stroke:r(583),strokeWidth:Math[r(1439)](q,10),strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:"stroke",cursor:r(727)}}),l[r(1993)](r(2070),{x1:T,y1:N,x2:D,y2:L,stroke:S,strokeWidth:q,strokeDasharray:P,strokeLinecap:r(723),strokeLinejoin:r(723),style:{pointerEvents:r(1712)}})]})});case r(755):const K=e;return K[r(489)]?K[r(489)]({}):l[r(1993)](r(539),{className:r(1710),children:l[r(1993)](r(1102),{className:r(929),children:"自定义组件"})});default:return l.jsx(r(539),{className:"w-full h-full flex items-center justify-center bg-gray-100",children:l[r(1993)](r(1102),{className:r(929),children:r(1061)})})}},ml=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:c=!1,eventFlowData:d})=>{const s=a,{normalStyle:u,controlInfo:f}=e,{isClickable:y,isDraggable:g,isResizable:p}=f,h=e.contentInfo,b=He(_=>_[s(695)]),M=He(_=>_[s(1324)]),v=B[s(575)](t);B[s(363)](()=>{v.current=t},[t]);const[m,w]=B[s(655)](null),C=B[s(575)](null),k=B.useRef(null),O=B[s(575)](null),G=B.useRef(null),j=B[s(575)](null),[A,Z]=B[s(655)](null),[W,q]=B[s(655)](null),T=B.useRef(null),N=B[s(528)](()=>{const _=s,I=e.contentInfo[_(1247)];if(I[_(2194)]===0)return;const Y=or(I,x,b);return Y||I[0]},[e.contentInfo.statusList,x,b]),D=B.useRef(e.contentInfo.currentStatusId);B[s(363)](()=>{const _=s;D.current=e.contentInfo[_(1416)]},[e.id]),B.useEffect(()=>{const _=s,I=N?.id;I!==void 0&&D[_(1560)]!==I&&(D.current=I,M(e.id,{contentInfo:{...e[_(1537)],currentStatusId:I}}))},[N?.id,e.id,M]);const L=N?.[s(600)],U=L?.[s(1424)]===s(1881),P=U?L[s(713)]:null,S=u[s(476)]??1,K=(u.width||100)*S,Q=(u[s(1265)]||100)*S,R=B[s(1591)](()=>{const _=s,I=j[_(1560)]?.[_(686)](_(2087));if(!I)return i;const Y=I[_(1761)](),X=parseFloat(I[_(1346)].width);return X?Y[_(1238)]/X:i},[i]),$=B[s(1591)]((_,I)=>{const Y=s;_[Y(1064)](),_[Y(1923)]();const X=P?.[Y(1555)]||0,H=P?.startY||0,oe=P?.[Y(505)]||0,le=P?.[Y(1488)]||0,se=u.x||0,ge=u.y||0,ve=Math[Y(1439)]((P?.[Y(2123)]||P?.[Y(1832)]||2)*2,4),Ne=Math.min(X,oe),ze=Math[Y(831)](H,le),ke=Math[Y(1439)](X,oe),Ye=Math.max(H,le),Ie=Math[Y(1439)](ke-Ne,ve),Pe=Math[Y(1439)](Ye-ze,ve);C.current={mouseX:_[Y(1569)],mouseY:_[Y(1947)],startX:X,startY:H,endX:oe,endY:le,nodeX:se,nodeY:ge};const Ae=Math.min(X,oe),Ve=Math[Y(831)](H,le);O[Y(1560)]={nodeX:se+Ae,nodeY:ge+Ve,width:Ie,height:Pe,startX:X-Ae,startY:H-Ve,endX:oe-Ae,endY:le-Ve},k[Y(1560)]=N||null,w(I)},[P,u.x,u.y,N]);B[s(363)](()=>{const _=s;if(!m||!U||!P||!r)return;const I=X=>{const H=_0x4806,oe=C[H(1560)];if(!oe||!j.current)return;const le=R(),se=(X[H(1569)]-oe[H(1423)])/le,ge=(X[H(1947)]-oe[H(513)])/le;let ve=oe[H(1555)],Ne=oe[H(384)],ze=oe[H(505)],ke=oe[H(1488)],Ye=oe.nodeX,Ie=oe[H(860)];m===H(1989)?(ve=oe[H(1555)]+se,Ne=oe.startY+ge,ve<0&&(Ye=oe.nodeX+ve,ze=oe[H(505)]-ve,ve=0),Ne<0&&(Ie=oe[H(860)]+Ne,ke=oe[H(1488)]-Ne,Ne=0)):(ze=oe[H(505)]+se,ke=oe[H(1488)]+ge,ze<0&&(Ye=oe[H(1059)]+ze,ve=oe.startX-ze,ze=0),ke<0&&(Ie=oe[H(860)]+ke,Ne=oe[H(384)]-ke,ke=0));const Pe=Math[H(1439)]((P[H(2123)]||2)*2,4),Ae=Math[H(831)](ve,ze),Ve=Math.min(Ne,ke),tn=Math.max(ve,ze),yn=Math[H(1439)](Ne,ke),Je=Ye+Ae,rn=Ie+Ve,Xe=ve-Ae,cn=Ne-Ve,an=ze-Ae,xn=ke-Ve,mn=Math[H(1439)](tn-Ae,Pe),In=Math.max(yn-Ve,Pe);O[H(1560)]={nodeX:Je,nodeY:rn,width:mn,height:In,startX:Xe,startY:cn,endX:an,endY:xn};const _e=j.current;_e.style[H(1557)]=Je+"px",_e[H(1346)][H(1413)]=rn+"px",_e[H(1346)][H(1238)]=mn+"px",_e[H(1346)].height=In+"px",_e[H(409)](H(926))[H(1369)](We=>{const Pn=H;We.setAttribute("x1",String(Xe)),We.setAttribute("y1",String(cn)),We[Pn(1110)]("x2",String(an)),We[Pn(1110)]("y2",String(xn))});const Ke=_e[H(1542)]('[data-handle="start"]'),Hn=_e[H(1542)]('[data-handle="end"]');Ke&&(Ke[H(1346)][H(1557)]=Xe-6+"px",Ke.style[H(1413)]=cn-6+"px"),Hn&&(Hn[H(1346)].left=an-6+"px",Hn.style[H(1413)]=xn-6+"px")},Y=()=>{const X=_0x4806,H=O[X(1560)];if(!H||!r){w(null),C[X(1560)]=null,O[X(1560)]=null,k[X(1560)]=null;return}const oe=He.getState().nodes[X(1876)](ze=>ze.id===e.id),le=oe?.[X(1537)][X(1247)]??e.contentInfo[X(1247)],se=k.current,ge=se?.id??le[X(1876)](ze=>ze[X(600)][X(1424)]==="LINE")?.id,ve=le[X(542)](ze=>{const ke=X;if(ze[ke(600)][ke(1424)]!==ke(1881)||ze.id!==ge)return ze;const Ye=ze[ke(600)];return{...ze,material:{...Ye,config:{...Ye[ke(713)],startX:H[ke(1555)],startY:H[ke(384)],endX:H[ke(505)],endY:H[ke(1488)]}}}}),Ne=oe?.contentInfo??h;r(e.id,{normalStyle:{x:H[X(1059)],y:H[X(860)],width:H[X(1238)],height:H.height},contentInfo:{...Ne,statusList:ve}}),w(null),C.current=null,O[X(1560)]=null,k[X(1560)]=null};return window.addEventListener(_(530),I),window.addEventListener(_(1762),Y),()=>{const X=_;window[X(1339)](X(530),I),window[X(1339)](X(1762),Y)}},[m,U,P,e.id,u,h,e[s(1537)][s(1247)],r,R]),B[s(363)](()=>{const _=s;if(!A||!r)return;const I=X=>{const H=_0x4806;if(!j.current)return;const oe=R(),le=(X[H(1569)]-A[H(1555)])/oe,se=(X[H(1947)]-A[H(384)])/oe,ge=A[H(2153)],ve=ge*Math.PI/180,Ne=Math[H(1028)](ve),ze=Math[H(748)](ve),ke=le*Ne+se*ze,Ye=-le*ze+se*Ne;let Ie=A[H(733)],Pe=A[H(2165)],Ae=A.startNodeX,Ve=A[H(1789)];switch(A[H(1847)]){case"se":Ie=Math[H(1439)](20,A.startWidth+ke),Pe=Math[H(1439)](20,A.startHeight+Ye);break;case"sw":Ie=Math.max(20,A.startWidth-ke),Pe=Math[H(1439)](20,A[H(2165)]+Ye),Ae=A[H(1924)]+(A[H(733)]-Ie);break;case"ne":Ie=Math.max(20,A.startWidth+ke),Pe=Math[H(1439)](20,A.startHeight-Ye),Ve=A.startNodeY+(A[H(2165)]-Pe);break;case"nw":Ie=Math[H(1439)](20,A[H(733)]-ke),Pe=Math[H(1439)](20,A[H(2165)]-Ye),Ae=A[H(1924)]+(A[H(733)]-Ie),Ve=A[H(1789)]+(A[H(2165)]-Pe);break}if(ge!==0){let yn=0,Je=0,rn=0,Xe=0;switch(A[H(1847)]){case"se":yn=0,Je=0,rn=0,Xe=0;break;case"sw":yn=A[H(733)],Je=0,rn=Ie,Xe=0;break;case"ne":yn=0,Je=A[H(2165)],rn=0,Xe=Pe;break;case"nw":yn=A[H(733)],Je=A[H(2165)],rn=Ie,Xe=Pe;break}const cn=yn-A[H(733)]/2,an=Je-A[H(2165)]/2,xn=cn*Ne-an*ze,mn=cn*ze+an*Ne,In=rn-Ie/2,_e=Xe-Pe/2,Bt=In*Ne-_e*ze,Ke=In*ze+_e*Ne;Ae=A[H(1924)]+A.startWidth/2-Ie/2+xn-Bt,Ve=A[H(1789)]+A[H(2165)]/2-Pe/2+mn-Ke}G[H(1560)]={x:Ae,y:Ve,width:Ie,height:Pe};const tn=j[H(1560)];tn[H(1346)][H(1557)]=Ae+"px",tn.style.top=Ve+"px",tn[H(1346)][H(1238)]=Ie+"px",tn[H(1346)][H(1265)]=Pe+"px"},Y=()=>{const X=_0x4806,H=G[X(1560)];H&&r(e.id,{normalStyle:{...u,x:H.x,y:H.y,width:H[X(1238)],height:H[X(1265)]}}),Z(null),G[X(1560)]=null};return window[_(1966)]("mousemove",I),window[_(1966)](_(1762),Y),()=>{const X=_;window[X(1339)](X(530),I),window[X(1339)](X(1762),Y)}},[A,r,e.id,u,R]);const xe=B[s(1591)]((_,I)=>{const Y=s;_[Y(1064)](),_[Y(1923)](),Z({corner:I,startX:_[Y(1569)],startY:_[Y(1947)],startWidth:u[Y(1238)]||100,startHeight:u.height||100,startNodeX:u.x||0,startNodeY:u.y||0,startRotate:u[Y(836)]||0})},[u[s(1238)],u[s(1265)],u.x,u.y,u[s(836)]]),ce=B.useCallback(_=>{const I=s;_.stopPropagation(),_.preventDefault();const Y=j[I(1560)]?.getBoundingClientRect();Y&&q({startX:_[I(1569)],startY:_[I(1947)],startAngle:u[I(836)]||0,centerX:Y[I(1557)]+Y[I(1238)]/2,centerY:Y[I(1413)]+Y[I(1265)]/2})},[u[s(836)]]);B[s(363)](()=>{const _=s;if(!W)return;const I=X=>{const H=_0x4806,oe=X[H(1569)]-W.centerX,le=X[H(1947)]-W.centerY;let ge=(Math[H(1689)](le,oe)*(180/Math.PI)+90)%360;if(ge<0&&(ge+=360),T[H(1560)]=ge,j[H(1560)]){const ve=u[H(1130)]||"";j.current.style[H(1130)]=(H(970)+ge+H(1221)+ve)[H(1258)]()}},Y=()=>{const X=_0x4806,H=T[X(1560)]??W[X(833)];T[X(1560)]=null,r&&r(e.id,{normalStyle:{...u,rotate:Math[X(723)](H)}}),q(null)};return window[_(1966)](_(530),I),window[_(1966)](_(1762),Y),()=>{const X=_;window[X(1339)](X(530),I),window[X(1339)](X(1762),Y)}},[W,r,e.id,u]);const de=e.type===s(1728),fe={position:"absolute",left:u.x||0,top:u.y||0,width:K,height:Q,background:de?s(583):u[s(451)]||s(583),backgroundImage:de?void 0:u.backgroundImage?s(850)+u.backgroundImage+")":void 0,backgroundSize:s(1912),backgroundPosition:s(543),padding:Array[s(927)](u[s(524)])?u[s(524)][s(886)]("px ")+"px":u.padding,margin:Array.isArray(u[s(1936)])?u[s(1936)][s(886)](s(1919))+"px":u[s(1936)],borderRadius:de?void 0:u[s(1637)],border:n&&!U?s(439):U?s(1712):de?"none":u[s(397)]||s(1493),pointerEvents:s(1314),opacity:u.opacity??1,transform:U?u[s(1130)]||void 0:(s(970)+(T[s(1560)]??(u.rotate||0))+"deg) "+(u.transform||""))[s(1258)](),transformOrigin:s(880),zIndex:n?1e3:u[s(540)]??1,cursor:g&&!m?"move":y?s(727):"default",boxSizing:"border-box",overflow:s(n||U||de?1136:1821)},ie=P?{x:P.startX||0,y:P[s(384)]||0}:{x:0,y:0},J=P?{x:P[s(505)]||0,y:P[s(1488)]||0}:{x:0,y:0},re=l[s(1239)](s(539),{ref:j,"data-node-id":e.id,style:fe,onClick:_=>{const I=s;console[I(365)]("NodeRenderer onClick",e.id,I(2100),y);const Y=v[I(1560)];y&&Y&&!m&&!A&&!W&&(_[I(1064)](),Y(_))},onMouseDown:_=>{g&&o&&!m&&o(_)},children:[n&&!U&&l.jsxs(l.Fragment,{children:[!de&&l[s(1239)](l.Fragment,{children:[l[s(1993)](s(539),{className:s(1192),style:{zIndex:9999,pointerEvents:s(1314),cursor:s(1913),marginTop:"-6px",marginLeft:"-6px"},onMouseDown:_=>xe(_,"nw"),title:"拖拽调整大小"}),l[s(1993)]("div",{className:s(1119),style:{zIndex:9999,pointerEvents:s(1314),cursor:s(2117),marginTop:"-6px",marginRight:s(1977)},onMouseDown:_=>xe(_,"ne"),title:"拖拽调整大小"}),l[s(1993)](s(539),{className:"absolute bottom-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:"auto",cursor:"sw-resize",marginBottom:s(1977),marginLeft:s(1977)},onMouseDown:_=>xe(_,"sw"),title:s(932)}),l.jsx(s(539),{className:s(1939),style:{zIndex:9999,pointerEvents:"auto",cursor:s(938),marginBottom:"-6px",marginRight:s(1977)},onMouseDown:_=>xe(_,"se"),title:s(932)})]}),l[s(1993)]("div",{className:s(666),style:{zIndex:9999,pointerEvents:s(1314),cursor:s(1189),marginTop:"-20px",transform:s(361),boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:_=>ce(_),title:s(789)}),l[s(1993)]("div",{className:s(1866),style:{zIndex:9998,pointerEvents:s(1712),marginTop:"-14px",transform:"translateX(-50%)"}}),l.jsxs(s(539),{className:s(725),children:[e[s(659)]," ",N?"("+N[s(659)]+")":""]})]}),n&&U&&P&&r&&l[s(1239)](l[s(915)],{children:[l.jsx(s(539),{"data-handle":s(1989),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:ie.x-6,top:ie.y-6,boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:_=>$(_,s(1989)),title:"拖拽调整起点"}),l[s(1993)]("div",{"data-handle":s(412),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:J.x-6,top:J.y-6,boxShadow:s(1934)},onMouseDown:_=>$(_,s(412)),title:s(1084)}),l[s(1993)](s(539),{className:s(725),children:e[s(659)]})]}),l[s(1993)]("div",{className:s(1504),children:L?l.jsx("div",{className:s(841),children:yl(L,x,n,e,b)}):de?null:l[s(1993)](s(539),{className:s(2189),children:s(2013)})}),e[s(1424)]===s(1728)&&e[s(514)]&&l[s(1993)](s(539),{className:s(1194),children:e[s(514)].map(_=>l[s(1993)](s(539),{className:s(2129),children:l.jsx(Yx,{node:_,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:c,eventFlowData:d})},_.id))})]});return c?l[s(1993)](Yr,{node:e,flowContextData:d,children:re}):re},Yx=B[a(1312)](ml,(e,n)=>{const t=a,o=e[t(1997)],x=n[t(1997)],r=o.id===x.id&&o[t(721)].x===x[t(721)].x&&o[t(721)].y===x.normalStyle.y&&o[t(721)][t(1238)]===x[t(721)][t(1238)]&&o.normalStyle.height===x[t(721)].height&&o[t(721)][t(836)]===x.normalStyle.rotate,i=o[t(1537)]===x[t(1537)],c=JSON[t(1571)](e[t(1819)]??null)===JSON[t(1571)](n[t(1819)]??null),d=e[t(1070)]===n[t(1070)]&&e[t(476)]===n.scale&&e[t(764)]===n.enableEventFlow&&c,s=g=>{const p=t,h=[];return g.contentInfo?.[p(1247)]?.[p(1369)](b=>{const M=p;if(b[M(600)]?.type===M(1881)){const v=b.material[M(713)];h[M(1465)]({statusId:b.id,startX:v?.[M(1555)]??0,startY:v?.[M(384)]??0,endX:v?.[M(505)]??100,endY:v?.endY??0})}}),h},u=s(o),f=s(x);let y=!0;if(u[t(2194)]!==f[t(2194)])y=!1;else for(let g=0;g<u[t(2194)];g++){const p=u[g],h=f[t(1876)](b=>b[t(1608)]===p.statusId);if(!h||p[t(1555)]!==h.startX||p[t(384)]!==h.startY||p.endX!==h[t(505)]||p.endY!==h[t(1488)]){y=!1;break}}return r&&i&&d&&y}),wl=()=>{const e=a,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:c,nextSiblingCanvas:d,prevSiblingCanvas:s}=He(),u=n[e(369)]||[],[f,y]=B[e(655)](u[0]?.id??null),g=B[e(528)](()=>u.find(G=>G.id===f)||null,[u,f]),[p,h]=B[e(655)](null),[b,M]=B[e(655)](""),[v,m]=B[e(655)](void 0),w=B.useMemo(()=>{const G=e;return g?n[G(1889)].filter(j=>!g[G(1768)][G(911)](j.id)):n.canvases},[n[e(1889)],g]),C=B[e(1591)](()=>{const G=t();y(G)},[t]),k=B[e(1591)](G=>{const j=e,A=b[j(1258)]();if(!A){z.message[j(1419)](j(1124));return}x(G,{name:A}),h(null),M("")},[b,x]),O=B[e(1591)](()=>{!g||!v||(r(g.id,v),m(void 0))},[g,v,r]);return l.jsxs("div",{className:e(1219),style:{minHeight:360},children:[l[e(1239)](e(539),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:220},children:[l[e(1239)](e(539),{className:e(1845),children:[l[e(1993)](e(1102),{className:e(1759),children:e(1867)}),l[e(1993)](z[e(1804)],{type:e(1236),size:e(398),icon:l[e(1993)](ae[e(1442)],{}),onClick:C,children:"新建"})]}),u[e(2194)]===0?l[e(1993)](z[e(900)],{description:"暂无同级关系,点击「新建」开始",image:z[e(900)][e(592)],style:{marginTop:40}}):l[e(1993)](z.List,{size:e(398),dataSource:u,renderItem:G=>{const j=e,A=G.id===f,Z=p===G.id;return l[j(1993)](z.List.Item,{onClick:()=>{Z||y(G.id)},style:{cursor:j(727),background:A?j(866):void 0,padding:"6px 8px"},actions:[Z?l[j(1993)](z.Button,{type:"link",size:j(398),onClick:W=>{W[j(1064)](),k(G.id)},children:"保存"}):l[j(1993)](z[j(1654)],{title:j(407),children:l[j(1993)](z[j(1804)],{type:"text",size:"small",icon:l.jsx(ae[j(1081)],{}),onClick:W=>{const q=j;W[q(1064)](),h(G.id),M(G[q(659)])}})},j(446)),l[j(1993)](z[j(813)],{title:j(1371),okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:W=>{const q=j;if(W?.[q(1064)](),o(G.id),f===G.id){const T=u[q(1641)](N=>N.id!==G.id);y(T[0]?.id??null)}},onCancel:W=>W?.[j(1064)](),children:l[j(1993)](z.Button,{type:"text",size:j(398),danger:!0,icon:l[j(1993)](ae[j(1096)],{}),onClick:W=>W[j(1064)]()})},j(1147))],children:Z?l[j(1993)](z[j(370)],{autoFocus:!0,size:j(398),value:b,onChange:W=>M(W[j(603)][j(1981)]),onPressEnter:()=>k(G.id),onClick:W=>W[j(1064)](),style:{width:140}}):l[j(1239)](j(1102),{className:j(1266),children:[l[j(1993)](j(1102),{style:{fontWeight:A?600:400},children:G.name}),l[j(1993)](z[j(2037)],{color:j(1306),children:G[j(1768)][j(2194)]})]})})}})]}),l[e(1993)](e(539),{className:e(746),style:{minWidth:280},children:g?l[e(1239)](l[e(915)],{children:[l[e(1239)](e(539),{className:e(1845),children:[l[e(1993)](e(1102),{className:e(1759),children:e(1116)}),l.jsxs(z[e(2132)],{size:e(398),children:[l.jsx(z.Tooltip,{title:e(1875),children:l[e(1993)](z[e(1804)],{size:e(398),icon:l[e(1993)](ae[e(862)],{}),disabled:g[e(1768)][e(2194)]<2,onClick:()=>s(g.id)})}),l.jsx(z[e(1654)],{title:e(1590),children:l[e(1993)](z[e(1804)],{size:e(398),icon:l[e(1993)](ae[e(882)],{}),disabled:g[e(1768)][e(2194)]<2,onClick:()=>d(g.id)})})]})]}),l.jsxs(e(539),{className:"flex items-center gap-2 mb-3",children:[l[e(1993)](z[e(462)],{placeholder:e(797),value:v,onChange:m,style:{flex:1},size:e(398),disabled:w[e(2194)]===0,options:w[e(542)](G=>({label:G[e(659)],value:G.id}))}),l[e(1993)](z[e(1804)],{size:e(398),type:e(1236),icon:l[e(1993)](ae[e(1442)],{}),disabled:!v,onClick:O,children:"加入"})]}),g.canvasIds[e(2194)]===0?l[e(1993)](z.Empty,{description:e(1128),image:z[e(900)][e(592)],style:{marginTop:40}}):l.jsx(z.List,{size:e(398),dataSource:g[e(1768)],renderItem:(G,j)=>{const A=e,Z=n.canvases[A(1876)](T=>T.id===G),W=n[A(1945)]===G,q=g.canvasIds[A(2194)];return l.jsx(z.List.Item,{style:{padding:A(1908)},actions:[l[A(1993)](z[A(1654)],{title:"上移",children:l[A(1993)](z.Button,{type:A(1755),size:A(398),icon:l.jsx(ae[A(1592)],{}),disabled:j===0,onClick:()=>c(g.id,G,"up")})},"up"),l.jsx(z[A(1654)],{title:"下移",children:l[A(1993)](z[A(1804)],{type:A(1755),size:A(398),icon:l[A(1993)](ae[A(1882)],{}),disabled:j===q-1,onClick:()=>c(g.id,G,A(1387))})},A(1387)),l.jsx(z[A(1654)],{title:A(477),children:l.jsx(z[A(1804)],{type:A(1755),size:A(398),danger:!0,icon:l[A(1993)](ae.DeleteOutlined,{}),onClick:()=>i(g.id,G)})},A(921))],children:l[A(1239)](A(1102),{className:A(1266),children:[l[A(1993)](z[A(2037)],{children:j+1}),l[A(1993)](A(1102),{style:{fontWeight:W?600:400},children:Z?.name??A(424)+G[A(1172)](0,6)+")"}),W&&l[A(1993)](z.Tag,{color:"green",children:"当前"})]})})}})]}):l[e(1993)](z.Empty,{description:e(1976),image:z.Empty.PRESENTED_IMAGE_SIMPLE,style:{marginTop:60}})})]})},vl=[a(1690),a(2010),a(753),a(745),a(1396),"#eb2f96",a(1995),a(1734),a(507),a(443),a(2060),a(1903),"#ffffff",a(910),a(1760),a(1879)],dt=({value:e=a(1690),onChange:n,onChangeComplete:t})=>{const o=a,[x,r]=B.useState(!1),[i,c]=B.useState(e),d=B.useRef(null);B[o(363)](()=>{c(e)},[e]),B[o(363)](()=>{const u=o,f=y=>{const g=_0x4806;d[g(1560)]&&!d.current.contains(y[g(603)])&&(r(!1),t?.({toHexString:()=>i}))};return x&&document[u(1966)](u(874),f),()=>document[u(1339)](u(874),f)},[x,t,i]);const s=u=>{c(u),n?.({toHexString:()=>u})};return l.jsxs(o(539),{ref:d,style:{position:o(1837),display:o(1056)},children:[l[o(1993)](o(539),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:o(812),borderRadius:4,cursor:"pointer"}}),x&&l[o(1239)](o(539),{style:{position:o(2080),top:32,left:0,zIndex:1e3,background:o(1107),padding:8,borderRadius:4,boxShadow:"0 2px 8px rgba(0,0,0,0.15)",border:o(1593)},children:[l[o(1993)](o(539),{style:{display:o(914),gridTemplateColumns:o(784),gap:4},children:vl[o(542)](u=>l.jsx("div",{onClick:()=>{s(u),r(!1),t?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:o(i===u?439:812),borderRadius:2,cursor:o(727)}},u))}),l[o(1993)]("input",{type:"color",value:i,onChange:u=>s(u.target[o(1981)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:"100%",marginTop:8,height:28,border:o(812),borderRadius:4}})]})]})},{TextArea:pl}=z.Input;function bl(e){const n=a;if(!e||!(e instanceof HTMLElement))return!1;const t=e.tagName;return!!(t===n(739)||t===n(982)||t===n(1729)||t===n(1282)||e[n(801)]||e[n(686)](n(1598))||e.closest(n(1013))||e[n(686)](n(2083)))}const Or=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=a,i=B.useRef(null),c=B.useRef(null),d=B[r(575)](null),{nodes:s,selectedNodeId:u,selectedNodeIds:f,mode:y,lineDrawing:g,viewport:p,canvas:h,root:b,setViewport:M,setCanvasConfig:v,addNode:m,selectNode:w,updateNode:C,removeNode:k,bringToFront:O,sendToBack:G,undo:j,redo:A,setMode:Z,startLineDrawing:W,endLineDrawing:q,cancelLineDrawing:T,addCanvas:N,removeCanvas:D,switchCanvas:L,updateCanvasName:U,exportCanvas:P,importCanvas:S,setSelectedNodeIds:K}=He(),[Q,R]=B[r(655)](!1),[,$]=B[r(655)]({}),xe=B[r(575)](y);B.useEffect(()=>{const E=r;xe[E(1560)]=y},[y]),B.useEffect(()=>{const E=r;Z(E(n?664:1877))},[n,Z]);const ce=n&&o&&h[r(1238)]>0?Math[r(831)](o/h[r(1238)],1):.5,de=n&&o?1:5,fe=n&&o&&h[r(1238)]>0?ce:1,ie=n&&o?r(1216)+o+"-"+(x||r(1314))+r(607)+h[r(1238)]+"-"+h.height:r(1582),J=B[r(575)](fe),re=B[r(575)](!1),_=B[r(575)]({x:0,y:0}),I=B.useRef({x:0,y:0,newX:0,newY:0}),Y=B.useRef(null),[X,H]=B[r(655)]({start:null,end:null,isDrawing:!1}),[oe,le]=B[r(655)]({start:null,end:null}),se=f,ge=K;B[r(575)](!1);const[ve,Ne]=B[r(655)](!1),[ze,ke]=B[r(655)](!1),[Ye,Ie]=B[r(655)](()=>JSON[r(1571)](e??null,null,2)),Pe=B[r(528)](()=>{const E=r;if(!ze)return e;try{return JSON[E(871)](Ye)}catch{return e}},[Ye,e,ze]),Ae=B[r(528)](()=>{const E=r,V=Pe;if(V!==null&&typeof V===E(2171))return V;if(V!==void 0)return{_payload:V}},[Pe]),Ve=B[r(528)](()=>{const E=Pe;return E!==null&&typeof E=="object"&&!Array.isArray(E)?E:Array.isArray(E)?{_telemetryRows:E}:E==null?{}:{_payload:E}},[Pe]),tn=B.useCallback(()=>{const E=r;let V=e;if(ze)try{V=JSON[E(871)](Ye)}catch{V=e}Ie(JSON[E(1571)](V??null,null,2)),Ne(!0)},[Ye,e,ze]),[yn,Je]=B[r(655)](!1),[rn,Xe]=B[r(655)](!1),[cn,an]=B[r(655)](""),[xn,mn]=B[r(655)](!1),In=B.useCallback(()=>{const E=r;try{const V=P(),ne=JSON[E(1571)](V,null,2),te=E(869)+encodeURIComponent(ne),ue="canvas_"+V.canvas.name+"_"+Date[E(1960)]()+E(1323),F=document[E(1990)]("a");F[E(1110)](E(1412),te),F[E(1110)](E(766),ue),F[E(1280)](),z.message[E(2093)](E(473))}catch{z[E(452)].error(E(2074))}},[P]),_e=B[r(1591)](()=>{const E=r;try{const V=JSON[E(871)](cn);xn?S(V):S(V,b.currentCanvasId||void 0),Xe(!1),an(""),mn(!1),z[E(452)].success(E(1441))}catch{z.message[E(551)](E(2151))}},[cn,xn,S,b[r(1945)]]),Bt=B[r(1591)](E=>{const V=r,ne=new FileReader;return ne[V(1841)]=te=>{const ue=V;try{const F=te.target?.[ue(532)],ee=JSON[ue(871)](F);xn?S(ee):S(ee,b.currentCanvasId||void 0),z[ue(452)][ue(2093)](ue(1441)),Xe(!1),mn(!1)}catch{z[ue(452)][ue(551)]("文件格式错误")}},ne[V(2053)](E),!1},[xn,S,b.currentCanvasId]),[Ke,Hn]=B.useState(!1),We=B[r(1591)]((E,V)=>{const ne=r;if(!c[ne(1560)])return{x:0,y:0};const te=c[ne(1560)][ne(1761)](),ue=E-te[ne(1557)],F=V-te[ne(1413)],ee=te[ne(1238)]/h[ne(1238)],ye=te[ne(1265)]/h[ne(1265)],we=ue/ee,me=F/ye;return{x:Math.round(we),y:Math[ne(723)](me)}},[h[r(1238)],h[r(1265)]]),Pn=B[r(1591)]((E,V)=>We(E,V),[We]),Dt=B[r(1591)]((E,V,ne=!0)=>{const te=r;if(!g[te(600)])return;const ue=g[te(600)],F=ue[te(713)]||{},ee=F[te(2123)]||F[te(1832)]||2,ye=Math.min(E.x,V.x),we=Math.min(E.y,V.y),me=Math[te(723)](E.x-ye),Ce=Math[te(723)](E.y-we),pe=Math[te(723)](V.x-ye),Se=Math[te(723)](V.y-we),Oe=Math.max(ee*2,4),Fe=Math[te(1439)](Math[te(1018)](E.x-V.x),Oe),wn=Math.max(Math[te(1018)](E.y-V.y),Oe),Ze={...ue,id:be[te(1161)](),config:{color:F.color,lineWeight:ee,thickness:ee,lineType:F[te(1586)],startX:me,startY:Ce,endX:pe,endY:Se}},Le={id:be[te(1161)](),name:ue.name+"_"+Date.now(),type:"normal",normalStyle:{width:Fe,height:wn,x:ye,y:we,background:te(583)},contentInfo:{statusList:[Lx(Ze)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(m(Le,!1),ne){const De={x:V.x,y:V.y};H({start:De,end:{...De},isDrawing:!0})}else H({start:null,end:null,isDrawing:!1}),q()},[g[r(600)],m,q]),ko=B[r(1591)](()=>{const E=r,V=i[E(1560)]?.[E(1549)];if(!V)return;const ne=V[E(571)];J.current=ne.scale,M({scale:ne.scale,positionX:0,positionY:0})},[M]),Io=B[r(1591)](E=>{const V=r;re[V(1560)]||y!==V(809)&&(E[V(603)]===c.current||E[V(603)][V(588)]?.canvas===V(1501))&&(w(null),ge([]))},[w,y]),Po=B[r(1591)](E=>{const V=r;if(E[V(772)]===0){if(y==="line-draw"&&g[V(600)]){E.stopPropagation();const ne=We(E[V(1569)],E.clientY);X[V(943)]?X[V(1989)]&&Dt(X.start,ne,!0):H({start:ne,end:ne,isDrawing:!0});return}if(y===V(809)&&!Ke){const ne=Pn(E[V(1569)],E[V(1947)]);le({start:ne,end:ne}),ge([]),w(null),E[V(1923)](),E[V(1064)]()}}},[y,g[r(600)],X[r(943)],X[r(1989)],Ke,Dt,We,Pn]),Ao=B[r(1591)](E=>{const V=r;if(!(y!==V(1785)||!g[V(600)])&&X[V(943)]&&X.start){const ne=We(E[V(1569)],E[V(1947)]);Dt(X[V(1989)],ne,!1)}},[y,g[r(600)],X.isDrawing,X.start,Dt,We]),jo=B[r(1591)](E=>{const V=r;E[V(1923)](),E[V(508)][V(1101)]="copy",R(!0)},[]),Eo=B[r(1591)](E=>{E[r(1923)](),R(!1)},[]),Yo=B.useCallback(E=>{const V=r;if(E[V(1923)](),R(!1),!(!c[V(1560)]||y!==V(1877)))try{const ne=E.dataTransfer.getData(V(1885));if(!ne)return;const te=JSON[V(871)](ne),ue=We(E[V(1569)],E.clientY),F=ue.x-50,ee=ue.y-50,ye=ar(F,ee,te);m(ye),ge([ye.id])}catch(ne){console[V(551)](V(864),ne)}},[y,m,We]),Uo=B.useCallback((E,V)=>{const ne=r;y!==ne(1877)&&y!==ne(809)||!V[ne(814)][ne(1638)]||(E[ne(1064)](),w(V.id),re.current=!0,_[ne(1560)]={x:E[ne(1569)],y:E[ne(1947)]},I[ne(1560)]={x:V[ne(721)].x||0,y:V[ne(721)].y||0,newX:V.normalStyle.x||0,newY:V[ne(721)].y||0},Y[ne(1560)]=V,E[ne(1923)]())},[y,w]);B[r(363)](()=>{const E=r,V=F=>{const ee=_0x4806;if(re[ee(1560)]&&u&&Y.current){if(!c[ee(1560)])return;const ye=c[ee(1560)][ee(1761)](),we=ye.width/h[ee(1238)],me=ye[ee(1265)]/h.height,Ce=F[ee(1569)]-_.current.x,pe=F[ee(1947)]-_[ee(1560)].y,Se=Ce/we,Oe=pe/me,Fe=I[ee(1560)].x+Se,wn=I[ee(1560)].y+Oe,Ze=document[ee(1542)](ee(2156)+u+'"]');Ze&&(Ze.style[ee(1557)]=Fe+"px",Ze[ee(1346)][ee(1413)]=wn+"px"),I.current[ee(1170)]=Fe,I[ee(1560)][ee(1449)]=wn}if(y===ee(809)&&oe[ee(1989)]){const ye=Pn(F[ee(1569)],F.clientY);le(we=>({...we,end:ye}))}if(y===ee(1785)&&X[ee(943)]){const ye=We(F[ee(1569)],F[ee(1947)]);H(we=>({...we,end:ye}))}},ne=()=>{const F=_0x4806;if(re.current&&u&&Y.current){const ee=He.getState(),ye=I[F(1560)][F(1170)]??I[F(1560)].x,we=I[F(1560)][F(1449)]??I.current.y;ee[F(1324)](u,{normalStyle:{...Y.current[F(721)],x:ye,y:we}})}if(re[F(1560)]=!1,Y[F(1560)]=null,$({}),y===F(809)&&oe[F(1989)]&&oe[F(412)]){const ee=Math[F(831)](oe[F(1989)].x,oe[F(412)].x),ye=Math.max(oe[F(1989)].x,oe[F(412)].x),we=Math.min(oe.start.y,oe[F(412)].y),me=Math[F(1439)](oe[F(1989)].y,oe.end.y),Ce=s[F(1641)](pe=>{const Se=F,Oe=pe[Se(721)].x||0,Fe=pe[Se(721)].y||0,wn=pe[Se(721)].width||0,Ze=pe[Se(721)][Se(1265)]||0,Le=Oe+wn/2,De=Fe+Ze/2;return Le>=ee&&Le<=ye&&De>=we&&De<=me}).map(pe=>pe.id);ge(Ce),le({start:null,end:null})}},te=F=>{const ee=_0x4806;if(!bl(F[ee(603)])){if(F[ee(1460)]===ee(483)&&y==="line-draw"&&(H({start:null,end:null,isDrawing:!1}),T()),F[ee(1460)]===ee(1484)&&(u?k(u):se.length>0&&(se.forEach(ye=>k(ye)),ge([]))),F.ctrlKey&&F[ee(1460)]==="z"&&(F.preventDefault(),j()),F[ee(569)]&&F[ee(1460)]==="y"&&(F.preventDefault(),A()),(y===ee(1877)||y===ee(809))&&(F.key===ee(1174)||F.key===ee(1333)||F[ee(1460)]===ee(1949)||F[ee(1460)]==="ArrowDown")){const ye=se[ee(2194)]>0?se:u?[u]:[];if(ye.length>0){F.preventDefault();const we=F[ee(1460)]===ee(1174)?-2:F[ee(1460)]===ee(1333)?2:0,me=F[ee(1460)]===ee(1949)?-2:F[ee(1460)]===ee(1737)?2:0;ye[ee(1369)](Ce=>{const pe=ee,Se=s[pe(1876)](Oe=>Oe.id===Ce);Se&&C(Ce,{normalStyle:{...Se[pe(721)],x:(Se[pe(721)].x||0)+we,y:(Se[pe(721)].y||0)+me}})})}}F.key===" "&&!Ke&&(F[ee(1923)](),Hn(!0))}},ue=F=>{F.key===" "&&Ke&&Hn(!1)};return window.addEventListener(E(530),V),window.addEventListener(E(1762),ne),window.addEventListener(E(1354),te),window[E(1966)](E(1320),ue),()=>{const F=E;window[F(1339)]("mousemove",V),window[F(1339)]("mouseup",ne),window[F(1339)](F(1354),te),window.removeEventListener("keyup",ue)}},[u,oe,y,X[r(943)],se,s,h[r(1238)],h.height,k,j,Ke,A,T,We,Pn,ge,C]);const sx=(E,V=!0)=>{const ne=r,te={...E,id:be.nanoid(),name:E[ne(659)]+"_副本",normalStyle:{...E[ne(721)],x:(E.normalStyle.x||0)+(V?20:0),y:(E[ne(721)].y||0)+(V?20:0)}};return E[ne(1424)]==="group"&&E[ne(514)]&&(te[ne(514)]=E[ne(514)].map(ue=>sx(ue,!1))),te},lx=B[r(1591)](()=>{const E=r,V=se[E(2194)]>0?se[E(542)](te=>s[E(1876)](ue=>ue.id===te))[E(1641)](Boolean):u?[s.find(te=>te.id===u)].filter(Boolean):[];if(V[E(2194)]===0)return;const ne=[];V.forEach(te=>{const ue=E,F=sx(te);m(F),ne[ue(1465)](F.id)}),ne.length===1?w(ne[0]):ge(ne)},[u,se,s,m,w,ge]),dx=B[r(1591)](()=>{const E=r;if(se[E(2194)]<2)return;const V=[];for(let we=0;we<se[E(2194)];we++){const me=se[we],Ce=s.find(pe=>pe.id===me);if(Ce){if(Ce?.[E(1424)]===E(1728)){Ce[E(514)][E(1369)](Se=>V[E(1465)]({...Se,normalStyle:{...Se.normalStyle,x:(Ce[E(721)].x||0)+(Se[E(721)].x||0),y:(Ce[E(721)].y||0)+(Se[E(721)].y||0)}})),k(me);continue}V.push(Ce)}}if(V[E(2194)]<2)return;let ne=1/0,te=1/0,ue=-1/0,F=-1/0;V[E(1369)](we=>{const me=E,Ce=we[me(721)].x||0,pe=we[me(721)].y||0,Se=we[me(721)][me(1238)]||0,Oe=we[me(721)][me(1265)]||0;ne=Math[me(831)](ne,Ce),te=Math.min(te,pe),ue=Math[me(1439)](ue,Ce+Se),F=Math[me(1439)](F,pe+Oe)});const ee=V[E(542)](we=>({...we,normalStyle:{...we[E(721)],x:(we.normalStyle.x||0)-ne,y:(we[E(721)].y||0)-te}})),ye={id:be.nanoid(),name:"群组_"+Date.now(),type:E(1728),normalStyle:{x:ne,y:te,width:ue-ne,height:F-te,background:E(583)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:ee};se[E(1369)](we=>k(we)),m(ye),ge([]),w(ye.id)},[se,s,k,m,w]),ux=E=>{const V=r,ne={...E,id:be[V(1161)]()};return E.type===V(1728)&&E[V(514)]&&(ne[V(514)]=E.children[V(542)](te=>ux(te))),ne},fx=B[r(1591)](()=>{const E=r,V=se.length>0?se.map(ne=>s[E(1876)](te=>te.id===ne))[E(1641)](ne=>!!ne&&ne[E(1424)]===E(1728)):u?[s[E(1876)](ne=>ne.id===u)][E(1641)](ne=>!!ne&&ne[E(1424)]===E(1728)):[];V[E(2194)]!==0&&(V[E(1369)](ne=>{const te=E;if(!ne[te(514)]||ne[te(514)][te(2194)]===0)return;const ue=ne[te(721)].x||0,F=ne[te(721)].y||0,ee=ne[te(721)][te(1238)]||0,ye=ne.normalStyle[te(1265)]||0,we=ne[te(721)][te(836)]||0,me=we*Math.PI/180,Ce=Math[te(1028)](me),pe=Math[te(748)](me),Se=ue+ee/2,Oe=F+ye/2,Fe=(Ze,Le)=>{const De=Ze-ee/2,nt=Le-ye/2;return{x:Se+De*Ce-nt*pe,y:Oe+De*pe+nt*Ce}},wn=ne[te(514)][te(542)](Ze=>{const Le=te,De=ux(Ze);if(De.contentInfo[Le(1247)].some(Ho=>Ho[Le(600)].type===Le(1881))){const Ho=De[Le(721)].x||0,d5=De[Le(721)].y||0,xs=De.normalStyle[Le(1238)]||0,os=De[Le(721)].height||0,u5=De.normalStyle.rotate||0,rs=u5*Math.PI/180,is=Math[Le(1028)](rs),cs=Math[Le(748)](rs),as=(ot,qe)=>{const vn=ot-xs/2,Mn=qe-os/2,sn=vn*is-Mn*cs+xs/2,Wo=vn*cs+Mn*is+os/2;return Fe(Ho+sn,d5+Wo)};let tt=1/0,xt=1/0,To=-1/0,Vo=-1/0,qo=2;const f5=De.contentInfo.statusList[Le(542)](ot=>{const qe=Le;if(ot.material[qe(1424)]!==qe(1881))return null;const vn=ot[qe(600)][qe(713)]||{},Mn=as(vn[qe(1555)]||0,vn[qe(384)]||0),sn=as(vn[qe(505)]||0,vn[qe(1488)]||0);return tt=Math.min(tt,Mn.x,sn.x),xt=Math[qe(831)](xt,Mn.y,sn.y),To=Math[qe(1439)](To,Mn.x,sn.x),Vo=Math[qe(1439)](Vo,Mn.y,sn.y),qo=Math[qe(1439)](qo,vn[qe(2123)]||vn[qe(1832)]||2),{s:Mn,e:sn}});if(Number.isFinite(tt)&&Number[Le(1647)](xt)){const ot=Math[Le(1439)](qo*2,4),qe=Math[Le(1439)](To-tt,ot),vn=Math.max(Vo-xt,ot),Mn=De[Le(1537)].statusList[Le(542)]((sn,Wo)=>{const Xo=Le,s0=f5[Wo];if(!s0||sn[Xo(600)][Xo(1424)]!=="LINE")return sn;const ss=sn.material;return{...sn,material:{...ss,config:{...ss[Xo(713)]||{},startX:s0.s.x-tt,startY:s0.s.y-xt,endX:s0.e.x-tt,endY:s0.e.y-xt}}}});return{...De,normalStyle:{...De[Le(721)],x:tt,y:xt,width:qe,height:vn,rotate:0},contentInfo:{...De[Le(1537)],statusList:Mn}}}}const vx=De.normalStyle[Le(1238)]||0,px=De[Le(721)].height||0,bx=De.normalStyle.x||0,a0=De[Le(721)].y||0,ns=bx+vx/2-ee/2,ts=a0+px/2-ye/2,c5=Se+ns*Ce-ts*pe,a5=Oe+ns*pe+ts*Ce,s5=De[Le(721)][Le(836)]||0,l5=((s5+we)%360+360)%360;return{...De,normalStyle:{...De[Le(721)],x:c5-vx/2,y:a5-px/2,rotate:l5}}});k(ne.id),wn[te(1369)](Ze=>m(Ze))}),ge([]),w(null))},[u,se,s,k,m,w,ge]),o0=B[r(1591)](E=>{const V=r;if(se.length<2)return;const ne=se.map(me=>s[V(1876)](Ce=>Ce.id===me))[V(1641)](me=>!!me&&me[V(1424)]!=="group");if(ne[V(2194)]<2)return;let te=1/0,ue=-1/0,F=1/0,ee=-1/0;ne[V(1369)](me=>{const Ce=V,pe=me[Ce(721)].x||0,Se=me[Ce(721)].y||0;te=Math.min(te,pe),ue=Math[Ce(1439)](ue,pe),F=Math[Ce(831)](F,Se),ee=Math[Ce(1439)](ee,Se)});const ye=[...ne][V(1576)]((me,Ce)=>{const pe=V;return E===pe(417)?(me.normalStyle.x||0)-(Ce[pe(721)].x||0):(me[pe(721)].y||0)-(Ce[pe(721)].y||0)}),we=ye[V(2194)];if(E===V(417)){const me=ue-te,Ce=me/(we-1);ye[V(1369)]((pe,Se)=>{const Oe=V,Fe=te+Ce*Se;C(pe.id,{normalStyle:{...pe[Oe(721)],x:Fe}})})}else{const me=ee-F,Ce=me/(we-1);ye[V(1369)]((pe,Se)=>{const Oe=V,Fe=F+Ce*Se;C(pe.id,{normalStyle:{...pe[Oe(721)],y:Fe}})})}},[se,s,C]),Tn=E=>{const V=r,ne=E[V(1537)].statusList[V(1876)](te=>te.material.type===V(1881));return ne?ne.material[V(713)]:null},Vn=B[r(1591)](E=>{const V=r;if(se[V(2194)]<2)return;const ne=He[V(1740)](),te=se[V(542)](F=>s[V(1876)](ee=>ee.id===F))[V(1641)](F=>!!F);if(te[V(2194)]<2)return;let ue=0;switch(E){case V(1557):ue=Math[V(831)](...te[V(542)](F=>{const ee=V,ye=Tn(F);return ye?(F.normalStyle.x||0)+(ye[ee(1555)]||0):F[ee(721)].x||0}));break;case"right":ue=Math[V(1439)](...te[V(542)](F=>{const ee=V,ye=Tn(F);return ye?(F[ee(721)].x||0)+(ye[ee(505)]||0):(F.normalStyle.x||0)+(F[ee(721)][ee(1238)]||0)}));break;case V(1413):ue=Math.min(...te.map(F=>{const ee=V,ye=Tn(F);return ye?(F[ee(721)].y||0)+(ye[ee(384)]||0):F.normalStyle.y||0}));break;case V(808):ue=Math[V(1439)](...te[V(542)](F=>{const ee=V,ye=Tn(F);return ye?(F[ee(721)].y||0)+(ye[ee(1488)]||0):(F[ee(721)].y||0)+(F[ee(721)][ee(1265)]||0)}));break}te[V(1369)](F=>{const ee=V;let ye=F[ee(721)].x||0,we=F[ee(721)].y||0;const me=Tn(F);switch(E){case ee(1557):me?ye=ue-(me.startX||0):ye=ue;break;case ee(1476):me?ye=ue-(me[ee(505)]||0):ye=ue-(F[ee(721)].width||0);break;case ee(1413):me?we=ue-(me[ee(384)]||0):we=ue;break;case ee(808):me?we=ue-(me[ee(1488)]||0):we=ue-(F.normalStyle.height||0);break}ne.updateNode(F.id,{normalStyle:{...F[ee(721)],x:ye,y:we}})})},[se,s]),hx=[{icon:l[r(1993)](ae[r(2120)],{}),title:r(1799),active:y===r(1877),onClick:()=>{Z(r(1877))}},{icon:l[r(1993)](ae[r(1840)],{}),title:r(1190),active:y==="box-select",onClick:()=>{Z("box-select"),ge([])}},{icon:l.jsx(ae[r(632)],{}),title:r(805),active:y===r(553),onClick:()=>{Z("drag")}},{icon:l[r(1993)](ae[r(1081)],{}),title:"线条绘制",active:y===r(1785),onClick:()=>{Z(r(1785))}},{icon:l[r(1993)](ae[r(699)],{}),title:r(2140),active:y===r(664),onClick:()=>{Z(r(664))}}],Lt=B[r(1591)](()=>se[r(2194)]>0?se:u?[u]:[],[se,u]),gx=B[r(1591)](()=>{const E=r,V=Lt();if(V[E(2194)]===0)return;s[E(1641)](te=>V[E(911)](te.id)).map(te=>te.id)[E(1369)](te=>O(te))},[Lt,s,O]),yx=B[r(1591)](()=>{const E=r,V=Lt();if(V[E(2194)]===0)return;[...s[E(1641)](te=>V[E(911)](te.id))[E(542)](te=>te.id)][E(523)]().forEach(te=>G(te))},[Lt,s,G]),Go=B[r(528)](()=>[{icon:l[r(1993)](ae[r(1500)],{}),title:r(1853),onClick:j},{icon:l[r(1993)](ae[r(604)],{}),title:r(1972),onClick:A},{icon:l[r(1993)](ae[r(868)],{}),title:r(1137),disabled:!u&&se[r(2194)]===0,onClick:gx},{icon:l[r(1993)](ae.DownSquareOutlined,{}),title:"置于底层",disabled:!u&&se[r(2194)]===0,onClick:yx},{icon:l[r(1993)](ae[r(1707)],{}),title:r(402),disabled:!u&&se.length===0,onClick:lx},{icon:l.jsx(ae.GroupOutlined,{}),title:r(1730),disabled:se[r(2194)]<2,onClick:dx},{icon:l[r(1993)](ae[r(445)],{}),title:r(1255),disabled:!u&&se[r(2194)]===0,onClick:fx},{icon:l[r(1993)](ae[r(2114)],{}),title:r(1348),disabled:se[r(2194)]<2,onClick:()=>Vn("left")},{icon:l.jsx(ae[r(1250)],{}),title:r(2006),disabled:se[r(2194)]<2,onClick:()=>Vn(r(1476))},{icon:l[r(1993)](ae[r(1952)],{}),title:r(1782),disabled:se.length<2,onClick:()=>Vn(r(1413))},{icon:l[r(1993)](ae[r(872)],{}),title:"下对齐",disabled:se[r(2194)]<2,onClick:()=>Vn(r(808))},{icon:l[r(1993)](ae[r(1207)],{}),title:r(636),disabled:se[r(2194)]<2,onClick:()=>o0("horizontal")},{icon:l.jsx(ae[r(1104)],{}),title:r(767),disabled:se[r(2194)]<2,onClick:()=>o0(r(609))},{icon:l[r(1993)](ae[r(634)],{}),title:"画布配置",onClick:()=>Je(!0)},{icon:l[r(1993)](ae[r(1935)],{}),title:r(1787),type:r(1236),onClick:tn},{icon:l[r(1993)](ae[r(1096)],{}),title:r(1378),disabled:!u&&se[r(2194)]===0,onClick:()=>{u?k(u):se[r(2194)]>0&&(se.forEach(V=>k(V)),ge([]))}}],[j,A,y,Z,ge,se,dx,fx,lx,Vn,o0,gx,yx,Je,Ne,tn,u,k,b.currentCanvasId]),[Oo,mx]=B[r(655)](!1),[r0,i0]=B[r(655)](""),[wx,c0]=B[r(655)](null);return l.jsxs(r(539),{className:r(1625)+(n?"":r(1948)),children:[!n&&l[r(1239)](r(539),{className:r(1508),children:[l[r(1239)](z[r(2132)],{children:[hx[r(542)](E=>l[r(1993)](z[r(1654)],{title:E.title,children:l[r(1993)](z[r(1804)],{type:E[r(683)]?r(1236):"default",icon:E[r(1545)],onClick:E[r(1380)]})},E[r(1692)])),l[r(1993)](r(539),{className:r(956)}),l.jsx(z.Select,{value:b.currentCanvasId,onChange:L,style:{width:140},dropdownRender:E=>l.jsxs(l[r(915)],{children:[E,l[r(1993)](r(539),{className:"border-t border-gray-200 mt-1 pt-1",children:l[r(1993)](z[r(1804)],{type:r(537),size:r(398),block:!0,onClick:()=>mx(!0),children:r(1315)})})]}),children:b[r(1889)][r(542)](E=>l.jsx(z[r(462)][r(777)],{value:E.id,children:E[r(659)]},E.id))}),l[r(1993)](z[r(1804)],{icon:l.jsx(ae.PlusOutlined,{}),size:r(398),onClick:()=>N(),title:r(1970)}),l[r(1993)](z[r(1654)],{title:r(2196),children:l[r(1993)](z[r(1804)],{icon:l[r(1993)](ae[r(1390)],{}),size:"small",onClick:In})}),l[r(1993)](z[r(1654)],{title:"导入画布",children:l.jsx(z[r(1804)],{icon:l.jsx(ae[r(2058)],{}),size:r(398),onClick:()=>Xe(!0)})})]}),l.jsx(z[r(2132)],{children:Go.map(E=>l.jsx(z[r(1654)],{title:E[r(1692)],children:l[r(1993)](z[r(1804)],{type:E[r(683)]?"primary":E.type||r(1582),icon:E[r(1545)],onClick:E.onClick,disabled:E.disabled})},E[r(1692)]))})]}),l[r(1993)](r(539),{ref:d,className:r(1471)+(n?"":"flex-1"),style:n&&o?{display:r(1616),justifyContent:r(1596),alignItems:r(1596)}:void 0,onWheel:n&&o?E=>{const V=r;E[V(1923)](),E[V(1064)]();const ne=i.current;if(!ne)return;const te=J[V(1560)],ue=.1,F=E[V(381)]>0?Math.max(te-ue,ce):Math[V(831)](te+ue,de);ne[V(1731)](0,0,F,0)}:void 0,children:l[r(1993)](d0.TransformWrapper,{ref:i,initialScale:fe,initialPositionX:0,initialPositionY:0,minScale:ce,maxScale:de,onTransformed:ko,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!Ke&&y!=="drag",velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:E,zoomOut:V,resetTransform:ne})=>l.jsxs(l.Fragment,{children:[!n&&l[r(1993)]("div",{className:r(620),children:l[r(1239)](z[r(2132)],{direction:r(609),children:[l[r(1993)](z[r(1654)],{title:"放大",children:l.jsx(z.Button,{icon:l[r(1993)](ae[r(1325)],{}),onClick:()=>E()})}),l[r(1993)](z[r(1654)],{title:"缩小",children:l[r(1993)](z[r(1804)],{icon:l[r(1993)](ae[r(1014)],{}),onClick:()=>V()})}),l[r(1993)](z.Tooltip,{title:r(1943),children:l.jsx(z.Button,{onClick:()=>ne(),children:r(1805)})}),l[r(1239)](r(539),{className:r(1538),children:[Math[r(723)](p[r(476)]*100),"%"]})]})}),l[r(1993)](d0.TransformComponent,{wrapperStyle:n&&o?{width:o,height:x||h[r(1265)]*(J[r(1560)]||1)+"px",position:r(1837),overflow:r(1821)}:{width:r(1805),height:n?h[r(1265)]*(J[r(1560)]||1)+"px":r(1805),position:r(1837),overflow:r(n?1136:1821)},contentStyle:{width:n?h[r(1238)]+"px":r(1805),height:n?h[r(1265)]+"px":"100%",display:"flex",alignItems:r(n?1596:543),justifyContent:n?"flex-start":"center"},children:l[r(1239)]("div",{ref:c,"data-canvas":r(1501),className:r(1471)+(Q?r(891):"")+" "+(y==="line-draw"?"cursor-crosshair":"")+" "+(Ke?r(776):""),style:{width:h[r(1238)],height:h.height,flexShrink:0,backgroundColor:h[r(451)],backgroundImage:h[r(878)]?"url("+h.backgroundImage+")":void 0,backgroundSize:"cover",backgroundPosition:r(543)},onClick:Io,onMouseDown:Po,onDoubleClick:Ao,onDragOver:jo,onDragLeave:Eo,onDrop:Yo,children:[t&&!n&&l[r(1239)](r(539),{className:r(1463),style:{width:h[r(1238)],height:h[r(1265)]},children:[l.jsx(r(916),{src:t,alt:"",className:r(675),draggable:!1}),l[r(1993)](r(719),{className:r(959),width:1920,height:1080,children:l[r(1993)]("rect",{x:"0",y:"0",width:"1920",height:r(856),fill:r(1712),stroke:r(2042),strokeWidth:"2"})})]}),h[r(1296)]!==!1&&l[r(1239)]("svg",{className:r(959),width:h.width,height:h[r(1265)],children:[l[r(1993)]("defs",{children:l[r(1993)]("pattern",{id:r(914),width:"20",height:"20",patternUnits:r(2145),children:l[r(1993)]("path",{d:"M 20 0 L 0 0 0 20",fill:r(1712),stroke:r(2051),opacity:r(1395),strokeWidth:"1"})})}),l[r(1993)](r(885),{width:r(1805),height:r(1805),fill:r(1902)})]}),s[r(542)](te=>l[r(1993)](Yx,{node:te,isSelected:y===r(664)?!1:u===te.id||se[r(911)](te.id),data:Ae,onClick:y===r(664)?void 0:ue=>{const F=r;console[F(365)](F(716),te.id,F(1229),xe.current),xe[F(1560)]!=="line-draw"&&(ue.shiftKey?(w(te.id),ge([...se,te.id])):(w(te.id),ge([te.id])))},onMouseDown:y===r(664)?void 0:ue=>Uo(ue,te),onUpdateNode:y===r(664)?void 0:(ue,F)=>C(ue,F),scale:p.scale,enableEventFlow:y===r(664),eventFlowData:Ve},""+te.id)),y===r(1785)&&X[r(943)]&&X[r(1989)]&&X[r(412)]&&l.jsx("svg",{className:r(959),width:h[r(1238)],height:h.height,children:l[r(1993)](r(2070),{x1:X[r(1989)].x,y1:X[r(1989)].y,x2:X[r(412)].x,y2:X.end.y,stroke:r(1690),strokeWidth:"2",strokeDasharray:"5,5",strokeLinecap:r(723),strokeLinejoin:"round"})}),y===r(809)&&oe[r(1989)]&&oe[r(412)]&&l[r(1993)](r(539),{className:r(2125),style:{left:Math[r(831)](oe[r(1989)].x,oe.end.x),top:Math.min(oe.start.y,oe[r(412)].y),width:Math[r(1018)](oe[r(412)].x-oe[r(1989)].x),height:Math[r(1018)](oe[r(412)].y-oe[r(1989)].y),zIndex:9999}})]})})]})},ie)}),l[r(1993)](z[r(1489)],{title:r(1787),open:ve,onCancel:()=>Ne(!1),footer:null,children:l[r(1993)](z.Form,{layout:r(609),children:l[r(1993)](z[r(457)].Item,{label:r(873),children:l.jsx(pl,{value:Ye,onChange:E=>{const V=r;ke(!0),Ie(E[V(603)][V(1981)])},rows:10,placeholder:r(1165)})})})}),l[r(1993)](z.Modal,{title:"画布配置",open:yn,onCancel:()=>Je(!1),footer:null,children:l[r(1239)](z[r(457)],{layout:r(609),children:[l[r(1993)](z[r(457)][r(1047)],{label:"宽度",children:l.jsx(z[r(1783)],{value:h[r(1238)],onChange:E=>v({width:E||1920}),min:100,max:5e3,style:{width:r(1805)}})}),l[r(1993)](z.Form[r(1047)],{label:"高度",children:l[r(1993)](z[r(1783)],{value:h[r(1265)],onChange:E=>v({height:E||1080}),min:100,max:5e3,style:{width:r(1805)}})}),l[r(1993)](z[r(457)][r(1047)],{label:r(706),children:l[r(1993)](z[r(1870)],{checked:h.showGrid!==!1,onChange:E=>v({showGrid:E})})}),l.jsx(z.Form[r(1047)],{label:r(985),children:l[r(1239)](r(539),{className:r(1266),children:[l.jsx(dt,{value:h[r(451)]||r(422),onChange:E=>v({background:E[r(1160)]()})}),l[r(1993)](z[r(370)],{value:h[r(451)],onChange:E=>v({background:E.target[r(1981)]}),placeholder:r(1373)})]})}),l[r(1239)](z[r(457)][r(1047)],{label:r(1109),children:[l[r(1239)](r(539),{className:"flex items-center gap-2",children:[l[r(1993)](z[r(637)],{accept:r(1188),showUploadList:!1,beforeUpload:E=>{const V=r;if(!E[V(1424)][V(922)]("image/"))return z[V(452)][V(551)](V(1649)),!1;const te=new FileReader;return te[V(1841)]=ue=>{const F=V,ee=ue[F(603)]?.[F(532)];v({backgroundImage:ee}),z[F(452)][F(2093)]("背景图片上传成功")},te[V(1045)](E),!1},children:l[r(1993)](z[r(1804)],{icon:l[r(1993)](ae[r(2058)],{}),children:"上传图片"})}),l[r(1993)](z[r(370)],{value:h[r(878)],onChange:E=>v({backgroundImage:E[r(603)][r(1981)]}),placeholder:r(498),style:{flex:1}}),h[r(878)]&&l[r(1993)](z[r(1804)],{icon:l[r(1993)](ae[r(1427)],{}),onClick:()=>v({backgroundImage:void 0}),danger:!0,size:r(398)})]}),h[r(878)]&&l[r(1993)](r(539),{className:r(1472),style:{maxWidth:r(1805)},children:l.jsx(r(916),{src:h[r(878)],alt:"背景预览",style:{maxWidth:r(1805),maxHeight:120,objectFit:r(821)}})})]})]})}),l[r(1993)](z.Modal,{title:r(1063),open:Oo,onCancel:()=>{mx(!1),c0(null),i0("")},footer:null,width:760,children:l[r(1993)](z[r(635)],{items:[{key:r(1889),label:r(1814),children:l.jsxs(l.Fragment,{children:[l.jsx(z[r(1521)],{dataSource:b[r(1889)],renderItem:E=>l[r(1993)](z[r(1521)].Item,{actions:[wx===E.id?l.jsx(z[r(1804)],{type:r(1236),size:"small",onClick:()=>{U(E.id,r0),c0(null)},children:"保存"}):l[r(1993)](z.Button,{type:r(1755),icon:l[r(1993)](ae[r(1081)],{}),size:"small",onClick:()=>{const V=r;c0(E.id),i0(E[V(659)])}}),b.canvases[r(2194)]>1&&l.jsx(z[r(1804)],{type:r(1755),danger:!0,icon:l[r(1993)](ae[r(1096)],{}),size:r(398),onClick:()=>D(E.id)})][r(1641)](Boolean),children:wx===E.id?l.jsx(z[r(370)],{value:r0,onChange:V=>i0(V[r(603)][r(1981)]),size:r(398),style:{width:200}}):l[r(1239)](r(1102),{style:{fontWeight:b[r(1945)]===E.id?r(1713):r(898)},children:[E[r(659)]," ",b[r(1945)]===E.id&&r(1681)]})})}),l[r(1993)](r(539),{className:r(1563),children:l[r(1993)](z[r(1804)],{type:"primary",icon:l[r(1993)](ae[r(1442)],{}),onClick:()=>N(),children:r(1970)})})]})},{key:r(1706),label:r(1965),children:l.jsx(wl,{})}]})}),l[r(1993)](z[r(1489)],{title:r(1086),open:rn,onOk:_e,onCancel:()=>{Xe(!1),an(""),mn(!1)},width:600,children:l.jsxs(r(539),{className:r(1921),children:[l[r(1239)]("div",{children:[l.jsx("p",{className:r(590),children:r(2202)}),l[r(1993)](r(1418),{type:r(2147),accept:r(1323),onChange:E=>{const V=E.target.files?.[0];V&&Bt(V)},className:r(1633)})]}),l[r(1993)]("div",{className:r(1005),children:"或"}),l[r(1239)](r(539),{children:[l[r(1993)]("p",{className:r(590),children:r(1775)}),l[r(1993)](r(1572),{value:cn,onChange:E=>an(E[r(603)][r(1981)]),placeholder:"粘贴画布 JSON 内容...",className:r(1407)})]}),l.jsxs(r(539),{className:"flex items-center gap-2",children:[l[r(1993)](r(1418),{type:r(1121),id:"importAsNewCanvas",checked:xn,onChange:E=>mn(E[r(603)][r(973)]),className:r(1477)}),l[r(1993)](r(1834),{htmlFor:"importAsNewCanvas",className:r(1769),children:r(1277)})]})]})})]})},{Option:b0}=z[a(462)];function Hr(e){return Array[a(927)](e)}function zl(e){const n=a,t=new Set;return e.forEach(o=>Object[n(1651)](o).forEach(x=>t.add(x))),Array[n(1139)](t)}function Cl(e,n){const t=a;return e[t(542)]((o,x)=>{const r=t,i=o[n],c=o.name;return{label:String(c??"项 "+(x+1)),value:typeof i===r(774)||typeof i===r(411)?i:String(i)}})}function Tr(e,n=""){const t=a,o=[];for(const[x,r]of Object[t(1942)](e)){const i=n?n+"."+x:x;r!==null&&typeof r===t(2171)&&!Array[t(927)](r)?o[t(1465)](...Tr(r,i)):o.push({paramsCode:i,paramsName:i,value:r})}return o}function Ml(e,n,t){const o=a;if(Hr(e)){if(n!=null&&t!=null){const x=e[o(1876)](r=>r[n]===t);if(x)return x}return{}}return e}const Bl=({material:e,onSave:n})=>{const t=a,o=e,x=o[t(962)]||{},r=He(m=>m[t(695)]),[i,c]=B.useState({label:x.label||"",value:x.value||"",valueSourceCode:x.valueSourceCode||"",unit:x[t(793)]||"",decimals:x[t(529)]??2,labelFontSize:x.labelStyle?.fontSize||14,labelFontWeight:x[t(2103)]?.[t(803)]||"bold",labelColor:x[t(2103)]?.[t(504)]||t(443),valueFontSize:x[t(534)]?.fontSize||14,valueFontWeight:x[t(534)]?.[t(803)]||t(898),valueColor:x[t(534)]?.[t(504)]||"#1890ff",boundDatasetId:x[t(1669)]||"",boundDatasetBindCode:x[t(1108)]||"",boundDatasetBindValue:x[t(1183)]??null}),d=B.useMemo(()=>{const m=t;return r.find(w=>w.id===i[m(1669)])},[r,i[t(1669)]]),s=d?Hr(d[t(1167)]):!1,u=B[t(528)](()=>{const m=t;if(!d)return[];const w=Ml(d[m(1167)],i[m(1108)],i[m(1183)]);return Tr(w)},[d,i.boundDatasetBindCode,i[t(1183)]]);B[t(363)](()=>{const m=t;c({label:x[m(1834)]||"",value:x[m(1981)]||"",valueSourceCode:x.valueSourceCode||"",unit:x[m(793)]||"",decimals:x[m(529)]??2,labelFontSize:x[m(2103)]?.[m(1776)]||14,labelFontWeight:x[m(2103)]?.[m(803)]||m(1713),labelColor:x[m(2103)]?.color||m(443),valueFontSize:x[m(534)]?.[m(1776)]||14,valueFontWeight:x[m(534)]?.[m(803)]||m(898),valueColor:x.valueStyle?.color||m(1690),boundDatasetId:x[m(1669)]||"",boundDatasetBindCode:x[m(1108)]||"",boundDatasetBindValue:x[m(1183)]??null})},[e.id]);const f=(m,w)=>{c(C=>({...C,[m]:w}))},y=m=>{c(w=>({...w,boundDatasetId:m,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetId:m||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},g=m=>{c(w=>({...w,boundDatasetBindCode:m||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:m||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},p=m=>{c(w=>({...w,boundDatasetBindValue:m??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:m??void 0,valueSourceCode:void 0}})},0)},h=m=>{const w=t,C=u[w(1876)](O=>O[w(2115)]===m),k=C?.[w(793)]||"";c(O=>({...O,valueSourceCode:m,unit:k,value:String(C?.[w(1981)]||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:m,value:String(C?.[w(1981)]||""),unit:k}})},0)},b=()=>{const m=t;n({content:{...x,label:i.label,value:i[m(1981)],valueSourceCode:i[m(876)],unit:i.unit,decimals:i.decimals,boundDatasetId:i[m(1669)]||void 0,boundDatasetBindCode:i[m(1108)]||void 0,boundDatasetBindValue:i[m(1183)]??void 0,labelStyle:{fontSize:i[m(448)],fontWeight:i.labelFontWeight,color:i[m(738)]},valueStyle:{fontSize:i[m(1739)],fontWeight:i[m(2009)],color:i[m(2111)]}}})},M=d&&s?zl(d[t(1167)]):[],v=d&&s&&i[t(1108)]?Cl(d[t(1167)],i[t(1108)]):[];return l[t(1239)](t(539),{className:"space-y-4",children:[l.jsx(z[t(2047)],{style:{marginTop:0},children:"文本内容"}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1993)](z[t(457)].Item,{label:t(565),children:l[t(1993)](z[t(370)],{value:i[t(1834)],onChange:m=>f(t(1834),m[t(603)][t(1981)]),onBlur:b,placeholder:t(1629)})}),l[t(1993)](z[t(457)].Item,{label:t(846),help:t(940),children:l[t(1993)](z[t(462)],{allowClear:!0,placeholder:r[t(2194)]===0?"暂无数据集":t(502),value:i[t(1669)]||void 0,onChange:y,style:{width:"100%"},options:r[t(542)](m=>({label:m[t(659)],value:m.id}))})}),d&&s&&l.jsxs(l.Fragment,{children:[l[t(1993)](z.Form[t(1047)],{label:t(687),help:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l[t(1993)](z[t(462)],{allowClear:!0,placeholder:t(413),value:i[t(1108)]||void 0,onChange:g,style:{width:t(1805)},options:M[t(542)](m=>({label:m,value:m}))})}),i[t(1108)]&&l[t(1993)](z.Form.Item,{label:"绑定值",help:t(1075),children:l[t(1993)](z[t(462)],{allowClear:!0,placeholder:t(410),value:i[t(1183)]??void 0,onChange:p,style:{width:"100%"},options:v})})]}),l[t(1993)](z[t(457)][t(1047)],{label:t(500),help:d?"从绑定的数据中选择字段":t(939),children:l[t(1993)](z.Select,{value:i[t(876)]||void 0,onChange:h,placeholder:d?t(694):"请先绑定数据集",allowClear:!0,disabled:!d,style:{width:t(1805)},options:u[t(542)](m=>({value:m[t(2115)],label:m[t(1205)]}))})}),l.jsx(z[t(457)].Item,{label:i[t(876)]?t(1946):t(566),help:i[t(876)]?t(1461):t(968),children:l[t(1993)](z[t(370)],{value:i[t(1981)],onChange:m=>f("value",m[t(603)][t(1981)]),onBlur:b,placeholder:i.valueSourceCode?"数据字段无值时显示此备用值":t(800),disabled:!!i[t(876)],variant:i.valueSourceCode?"filled":void 0})}),l[t(1993)](z[t(457)][t(1047)],{label:"单位",help:"优先从绑定数据自动获取,也可手动输入",children:l.jsx(z[t(370)],{value:i[t(793)],onChange:m=>f("unit",m[t(603)][t(1981)]),onBlur:b,placeholder:t(2119),suffix:i[t(876)]&&u.length>0?l[t(1993)](z[t(2037)],{color:t(1306),style:{marginRight:-8},children:"自动"}):null})}),l[t(1993)](z[t(457)][t(1047)],{label:t(1356),help:"数值格式化时保留的小数位数,-1表示不格式化",children:l[t(1993)](z[t(1783)],{value:i[t(529)],onChange:m=>f(t(529),m??2),onBlur:b,min:-1,max:10,style:{width:"100%"}})})]}),l[t(1993)](z[t(2047)],{children:t(1240)}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1239)](z[t(2132)],{children:[l[t(1993)](z[t(457)][t(1047)],{label:"字体大小",children:l[t(1993)](z.InputNumber,{value:i[t(448)],onChange:m=>f("labelFontSize",m||14),onBlur:b,min:8,max:72})}),l.jsx(z[t(457)].Item,{label:t(638),children:l.jsxs(z[t(462)],{value:i[t(1856)],onChange:m=>{f("labelFontWeight",m),setTimeout(b,0)},style:{width:100},children:[l[t(1993)](b0,{value:t(898),children:"正常"}),l[t(1993)](b0,{value:t(1713),children:"粗体"})]})})]}),l[t(1993)](z[t(457)].Item,{label:t(1040),children:l[t(1239)]("div",{className:t(1266),children:[l[t(1993)](dt,{value:i[t(738)]||t(443),onChange:m=>{const w=t;f(w(738),m[w(1160)]())},onChangeComplete:m=>{const w=t;n({content:{...x,label:i[w(1834)],value:i[w(1981)],valueSourceCode:i[w(876)],unit:i[w(793)],decimals:i[w(529)],boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i[w(1108)]||void 0,boundDatasetBindValue:i[w(1183)]??void 0,labelStyle:{fontSize:i[w(448)],fontWeight:i.labelFontWeight,color:m[w(1160)]()},valueStyle:{fontSize:i[w(1739)],fontWeight:i[w(2009)],color:i[w(2111)]}}})}}),l.jsx(z[t(370)],{value:i[t(738)],onChange:m=>f(t(738),m[t(603)][t(1981)]),onBlur:b,placeholder:t(443),style:{width:100}})]})})]}),l.jsx(z.Divider,{children:t(912)}),l[t(1239)](z[t(457)],{layout:"vertical",children:[l[t(1239)](z[t(2132)],{children:[l[t(1993)](z[t(457)][t(1047)],{label:t(408),children:l[t(1993)](z[t(1783)],{value:i.valueFontSize,onChange:m=>f("valueFontSize",m||14),onBlur:b,min:8,max:72})}),l.jsx(z.Form[t(1047)],{label:"字体粗细",children:l[t(1239)](z[t(462)],{value:i[t(2009)],onChange:m=>{f(t(2009),m),setTimeout(b,0)},style:{width:100},children:[l[t(1993)](b0,{value:t(898),children:"正常"}),l[t(1993)](b0,{value:"bold",children:"粗体"})]})})]}),l[t(1993)](z[t(457)].Item,{label:t(1040),children:l[t(1239)](t(539),{className:t(1266),children:[l.jsx(dt,{value:i[t(2111)]||t(1690),onChange:m=>{const w=t;f(w(2111),m[w(1160)]())},onChangeComplete:m=>{const w=t;n({content:{...x,label:i[w(1834)],value:i[w(1981)],valueSourceCode:i.valueSourceCode,unit:i[w(793)],decimals:i.decimals,boundDatasetId:i[w(1669)]||void 0,boundDatasetBindCode:i[w(1108)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[w(448)],fontWeight:i[w(1856)],color:i[w(738)]},valueStyle:{fontSize:i[w(1739)],fontWeight:i[w(2009)],color:m[w(1160)]()}}})}}),l.jsx(z.Input,{value:i[t(2111)],onChange:m=>f("valueColor",m.target.value),onBlur:b,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Dl=({material:e,onSave:n})=>{const t=a,o=e,[x,r]=B[t(655)]({name:e[t(659)],src:o[t(1909)]||"",backgroundColor:o[t(1473)]||"",fillColor:o[t(1403)]||""});B[t(363)](()=>{const d=t;r({name:e[d(659)],src:o.src||"",backgroundColor:o[d(1473)]||"",fillColor:o.fillColor||""})},[e.id]);const i=(d,s)=>{r(u=>({...u,[d]:s}))},c=()=>{const d=t;n({name:x.name,src:x[d(1909)],backgroundColor:x.backgroundColor})};return l.jsxs(t(539),{className:t(1921),children:[l[t(1993)](z[t(2047)],{style:{marginTop:0},children:"图片属性"}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1993)](z.Form.Item,{label:t(989),children:l.jsx(z[t(370)],{value:x.name,onChange:d=>i(t(659),d[t(603)].value),onBlur:c})}),l[t(1993)](z.Form.Item,{label:"图片地址 (src)",children:l[t(1993)](z[t(370)][t(1779)],{value:x.src,onChange:d=>i(t(1909),d[t(603)].value),onBlur:c,rows:4,placeholder:t(2175)})}),l[t(1993)](z[t(457)][t(1047)],{label:"填充颜色(基本形状)",children:l[t(1239)](t(539),{className:t(1266),children:[l[t(1993)](dt,{value:x[t(1403)]||"#1890ff",onChange:d=>{const s=t,u=d.toHexString();i(s(1403),u),n({name:x[s(659)],src:x[s(1909)],backgroundColor:x.backgroundColor,fillColor:u})}}),l[t(1993)](z[t(370)],{value:x[t(1403)],onChange:d=>i(t(1403),d[t(603)][t(1981)]),onBlur:c,placeholder:t(1690)})]})}),l[t(1993)](z[t(457)][t(1047)],{label:t(1858),children:l[t(1239)](t(539),{className:t(1266),children:[l.jsx(dt,{value:x[t(1473)]||"#1890ff",onChange:d=>{const s=t,u=d[s(1160)]();i(s(1473),u),n({name:x[s(659)],src:x.src,backgroundColor:u,fillColor:x[s(1403)]})}}),l[t(1993)](z[t(370)],{value:x[t(1473)],onChange:d=>i(t(1473),d[t(603)][t(1981)]),onBlur:c,placeholder:t(1690)})]})})]})]})},{Option:Ll}=z[a(462)],Nl=({material:e,onSave:n})=>{const t=a,o=e[t(713)]||{},[x,r]=B[t(655)]({lineWeight:o[t(2123)]||o[t(1832)]||2,color:o[t(504)]||"#262626",lineType:o.lineType||t(2176),startX:o[t(1555)]??0,startY:o[t(384)]??0,endX:o[t(505)]??100,endY:o[t(1488)]??0}),i=JSON[t(1571)]({sw:o[t(2123)]??o[t(1832)],c:o.color,t:o[t(1586)],sx:o[t(1555)],sy:o[t(384)],ex:o[t(505)],ey:o[t(1488)]});B[t(363)](()=>{const s=t;r({lineWeight:o.lineWeight||o[s(1832)]||2,color:o.color||s(443),lineType:o[s(1586)]||s(2176),startX:o.startX??0,startY:o[s(384)]??0,endX:o.endX??100,endY:o[s(1488)]??0})},[e.id,i]);const c=s=>{const u=t,f={...x,...s};r(f),n({config:{...o,thickness:f[u(2123)],lineWeight:f[u(2123)],color:f.color,lineType:f.lineType,startX:f[u(1555)],startY:f[u(384)],endX:f[u(505)],endY:f.endY}})},d=[{value:t(2176),label:"实线",desc:"连续实线"},{value:t(2022),label:"虚线",desc:t(2082)},{value:t(543),label:t(1294),desc:t(778)},{value:"phantom",label:"假想线",desc:t(404)},{value:t(1175),label:"点线",desc:t(434)},{value:t(587),label:t(376),desc:t(1469)}];return l.jsxs(t(539),{className:"space-y-4",children:[l[t(1993)](z.Divider,{style:{marginTop:0},children:"起止位置(相对节点)"}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1239)](t(539),{className:t(2183),children:[l[t(1993)](z[t(457)][t(1047)],{label:"起点 X",className:"mb-2",children:l[t(1993)](z.InputNumber,{value:x.startX,onChange:s=>c({startX:s??0}),style:{width:t(1805)}})}),l[t(1993)](z[t(457)][t(1047)],{label:t(1276),className:t(590),children:l[t(1993)](z[t(1783)],{value:x[t(384)],onChange:s=>c({startY:s??0}),style:{width:t(1805)}})}),l[t(1993)](z[t(457)][t(1047)],{label:t(949),className:t(590),children:l.jsx(z[t(1783)],{value:x[t(505)],onChange:s=>c({endX:s??100}),style:{width:t(1805)}})}),l.jsx(z[t(457)][t(1047)],{label:t(902),className:t(590),children:l.jsx(z.InputNumber,{value:x[t(1488)],onChange:s=>c({endY:s??0}),style:{width:t(1805)}})})]}),l[t(1993)](z[t(457)][t(1047)],{label:t(976),className:"mt-4",children:l[t(1239)](z[t(2132)],{children:[l[t(1993)](z[t(1804)],{size:t(398),onClick:()=>{const s=t,u=o[s(1555)]??x[s(1555)],f=o[s(384)]??x[s(384)],y=o.endX??x[s(505)],g=o.endY??x[s(1488)],p=y-u,h=g-f,b=Math[s(807)](p*p+h*h),M=p>=0?1:-1;c({endX:u+M*b,endY:f})},title:t(401),children:"水平"}),l[t(1993)](z[t(1804)],{size:t(398),onClick:()=>{const s=t,u=o[s(1555)]??x[s(1555)],f=o[s(384)]??x.startY,y=o[s(505)]??x[s(505)],g=o[s(1488)]??x[s(1488)],p=y-u,h=g-f,b=Math[s(807)](p*p+h*h),M=h>=0?1:-1;c({endX:u,endY:f+M*b})},title:"将线条变为垂直线,保持长度",children:"垂直"}),l[t(1993)](z.Button,{size:t(398),onClick:()=>{const s=t,u=o.startX??x[s(1555)],f=o[s(384)]??x[s(384)],y=o.endX??x[s(505)],g=o[s(1488)]??x[s(1488)];c({startX:y,startY:g,endX:u,endY:f})},title:t(2201),children:"反向"})]})})]}),l[t(1993)](z[t(2047)],{children:t(1113)}),l[t(1239)](z[t(457)],{layout:t(609),children:[l[t(1993)](z[t(457)][t(1047)],{label:"线型",help:"选择线条样式",children:l.jsx(z[t(462)],{value:x.lineType,onChange:s=>c({lineType:s}),children:d[t(542)](s=>l[t(1993)](Ll,{value:s[t(1981)],children:l[t(1239)](t(539),{className:t(1227),children:[l.jsx(t(1102),{children:s.label}),l[t(1993)](t(1102),{className:"text-xs text-gray-400",children:s[t(1961)]})]})},s.value))})}),l[t(1993)](z.Form[t(1047)],{label:"线宽(像素)",children:l[t(1993)](z.InputNumber,{value:x[t(2123)],onChange:s=>c({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l[t(1993)](z[t(457)][t(1047)],{label:"颜色",children:l[t(1239)]("div",{className:t(1266),children:[l.jsx(dt,{value:x[t(504)]||t(1903),onChange:s=>c({color:s[t(1160)]()})}),l[t(1993)](z[t(370)],{value:x[t(504)],onChange:s=>c({color:s[t(603)][t(1981)]}),placeholder:t(1903),style:{width:100}})]})})]})]})};function Vr(e){return Array.isArray(e)}function Sl(e){const n=a,t=new Set;return e[n(1369)](o=>Object[n(1651)](o)[n(1369)](x=>t[n(1757)](x))),Array[n(1139)](t)}function kl(e,n){const t=a;return e[t(542)]((o,x)=>{const r=t,i=o[n],c=o.name;return{label:String(c??"项 "+(x+1)),value:typeof i===r(774)||typeof i===r(411)?i:String(i)}})}function Il(e,n,t){const o=a;if(Vr(e)){if(n!=null&&t!=null){const x=e[o(1876)](r=>r[n]===t);if(x)return x}return{}}return e}const qr=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=a,x=He(h=>h.dataPool),r=x[o(1876)](h=>h.id===e[o(1669)]),i=r?Vr(r.sample):!1,c=r?Il(r[o(1167)],e[o(1108)],e.boundDatasetBindValue):{},d=tr(c),s=h=>{const b=o,M=b(2030)+h;t?t(M):n({expression:""+(e.expression||"")+M})},u=h=>{n({boundDatasetId:h??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=h=>{n({boundDatasetBindCode:h??null,boundDatasetBindValue:null})},y=h=>{n({boundDatasetBindValue:h??null})},g=r&&i?Sl(r[o(1167)]):[],p=r&&i&&e[o(1108)]?kl(r[o(1167)],e[o(1108)]):[];return l[o(1239)](l[o(915)],{children:[l[o(1993)](z.Form[o(1047)],{label:"绑定数据集",extra:x[o(2194)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":o(1275),children:l[o(1993)](z[o(462)],{allowClear:!0,placeholder:x[o(2194)]===0?o(1519):o(1927),value:e.boundDatasetId??void 0,options:x[o(542)](h=>({label:h[o(659)],value:h.id})),onChange:u})}),r&&i&&l.jsxs(l.Fragment,{children:[l[o(1993)](z.Form[o(1047)],{label:o(687),extra:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l.jsx(z.Select,{allowClear:!0,placeholder:"选择绑定字段",value:e[o(1108)]??void 0,options:g.map(h=>({label:h,value:h})),onChange:f})}),e[o(1108)]&&l[o(1993)](z[o(457)][o(1047)],{label:"绑定值",extra:o(1075),children:l.jsx(z[o(462)],{allowClear:!0,placeholder:o(410),value:e[o(1183)]??void 0,options:p,onChange:y})})]}),d.length>0&&l[o(1993)](z.Form[o(1047)],{label:o(1279),children:l.jsx(z[o(2132)],{size:[4,4],wrap:!0,children:d[o(542)](h=>l[o(1993)](z[o(2037)],{className:o(1655),onClick:()=>s(h),children:"data."+h},h))})})]})},Wr=({material:e,onSave:n})=>{const t=a;switch(e[t(1424)]){case t(1505):return l[t(1993)](Bl,{material:e,onSave:n});case t(1072):return l[t(1993)](Dl,{material:e,onSave:n});case t(1881):return l[t(1993)](Nl,{material:e,onSave:n});default:return l[t(1993)]("div",{className:t(1937),children:"暂不支持编辑此类型的物料"})}},{Panel:Xr}=z[a(472)],{TextArea:Pl}=z[a(370)],Al=({node:e,updateNode:n,materials:t})=>{const o=a,x=t[o(1641)](f=>f[o(1424)]!==o(755)||!f[o(713)]?.[o(1361)]),r=(f,y)=>{const g=o,p=e[g(514)]?.[g(542)](h=>h.id===f?{...h,contentInfo:{...h.contentInfo,statusList:y}}:h);n(e.id,{children:p})},i=f=>{const y=o,g=e[y(514)]?.find(h=>h.id===f);if(!g)return;const p={id:be[y(1161)](),name:"状态"+(g.contentInfo[y(1247)].length+1),expression:g.contentInfo[y(1247)][y(2194)]===0?y(945):y(1185),material:{...x[0],id:be[y(1161)]()},boundDatasetId:null};r(f,[...g[y(1537)][y(1247)],p])},c=(f,y)=>{const g=o,p=e[g(514)]?.find(b=>b.id===f);if(!p)return;const h=p[g(1537)].statusList.filter(b=>b.id!==y);r(f,h)},d=(f,y,g)=>{const p=o,h=e[p(514)]?.[p(1876)](M=>M.id===f);if(!h)return;const b=h[p(1537)].statusList.map(M=>M.id===y?{...M,...g}:M);r(f,b)},s=(f,y,g)=>{const p=o,h=e.children?.[p(1876)](v=>v.id===f);if(!h)return;const b=h[p(1537)][p(1247)][p(626)](v=>v.id===y);if(b===-1)return;const M=[...h[p(1537)][p(1247)]];g==="up"&&b>0?[M[b],M[b-1]]=[M[b-1],M[b]]:g===p(1387)&&b<M[p(2194)]-1&&([M[b],M[b+1]]=[M[b+1],M[b]]),r(f,M)},u=(f,y,g)=>{const p=o,h=t[p(1876)](b=>b.id===g);h&&d(f,y,{material:{...h,id:be.nanoid()}})};return l.jsxs(o(539),{className:o(1921),children:[l[o(1993)](o(539),{className:o(802),children:l[o(1239)]("div",{className:o(2088),children:[l.jsx(o(1910),{children:o(1043)}),o(887)]})}),l[o(1993)](z[o(472)],{ghost:!0,children:e[o(514)]?.[o(542)]((f,y)=>l[o(1993)](Xr,{header:l[o(1239)]("div",{className:o(1430),children:[l[o(1239)](o(1102),{className:"font-medium text-sm",children:[o(1544),y+1]}),l[o(1239)](z[o(2037)],{color:o(1306),style:{fontSize:o(849),padding:"0 4px"},children:[f[o(1537)][o(1247)][o(2194)],o(1438)]})]}),children:l[o(1239)]("div",{className:o(1355),children:[l.jsxs(o(539),{className:o(1180),children:[l[o(1993)]("span",{className:o(1905),children:o(1145)}),l[o(1993)](z.Button,{type:o(1236),size:o(398),icon:l.jsx(ae.PlusOutlined,{}),onClick:()=>i(f.id),children:"添加状态"})]}),f[o(1537)].statusList[o(2194)]===0?l[o(1993)](o(539),{className:o(1848),children:o(1587)}):l[o(1993)](z[o(472)],{ghost:!0,children:f[o(1537)][o(1247)].map((g,p)=>l[o(1993)](Xr,{header:l[o(1239)](o(539),{className:o(1266),children:[l.jsx(o(1102),{className:o(718),children:p+1}),l[o(1993)](o(1102),{className:o(1900),children:g.name}),l[o(1993)](z[o(2037)],{color:o(1582),className:o(2062),children:g.material[o(1424)]})]}),extra:l[o(1239)](z[o(2132)],{size:"small",onClick:h=>h.stopPropagation(),children:[l[o(1993)](z[o(1804)],{type:"text",size:o(398),icon:l[o(1993)](ae[o(1592)],{}),disabled:p===0,onClick:h=>{h[o(1064)](),s(f.id,g.id,"up")}}),l[o(1993)](z.Button,{type:"text",size:o(398),icon:l[o(1993)](ae.ArrowDownOutlined,{}),disabled:p===f.contentInfo[o(1247)][o(2194)]-1,onClick:h=>{const b=o;h.stopPropagation(),s(f.id,g.id,b(1387))}}),l[o(1993)](z[o(1804)],{type:o(1755),size:"small",danger:!0,icon:l[o(1993)](ae.DeleteOutlined,{}),onClick:h=>{h.stopPropagation(),c(f.id,g.id)}})]}),children:l[o(1239)](z.Form,{layout:o(609),children:[l[o(1993)](z[o(457)][o(1047)],{label:o(516),children:l[o(1993)](z[o(370)],{value:g[o(659)],onChange:h=>d(f.id,g.id,{name:h[o(603)][o(1981)]}),placeholder:"输入状态名称"})}),l[o(1993)](qr,{status:g,onUpdate:h=>d(f.id,g.id,h)}),l[o(1993)](z[o(457)].Item,{label:"执行表达式",help:o(858),children:l[o(1993)](Pl,{value:g.expression,onChange:h=>d(f.id,g.id,{expression:h[o(603)][o(1981)]}),rows:3,placeholder:o(945)})}),l[o(1993)](z[o(457)][o(1047)],{label:o(749),children:l[o(1239)](o(539),{className:"flex items-center gap-2",children:[l[o(1993)](z[o(2037)],{color:o(1306),children:g[o(600)].name}),l[o(1993)](z[o(2037)],{color:o(1582),children:g[o(600)][o(1424)]}),l[o(1993)](z.Select,{placeholder:o(629),style:{width:150},value:void 0,onChange:h=>h&&u(f.id,g.id,h),options:x.map(h=>({value:h.id,label:h[o(659)]+" ("+h[o(1424)]+")"}))})]})}),l[o(1993)](z.Divider,{style:{margin:o(1860)}}),l[o(1239)]("div",{className:o(1915),children:[l.jsxs("div",{className:o(1845),children:[l[o(1993)](o(1102),{className:"text-sm font-medium",children:o(1893)}),l[o(1993)](z[o(2037)],{children:g[o(600)][o(659)]})]}),l[o(1993)](Wr,{material:g[o(600)],onSave:h=>{const b=o,M={...g[b(600)],...h};d(f.id,g.id,{material:M})}})]})]})},g.id))})]})},f.id))})]})};function Ge(e){const n=a;if(typeof e=="string"||typeof e===n(411))return""+e;let t="";if(Array.isArray(e))for(let o=0,x;o<e[n(2194)];o++)(x=Ge(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var jl={value:()=>{}};function z0(){const e=a;for(var n=0,t=arguments[e(2194)],o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(1794)](x))throw new Error(e(1627)+x);o[x]=[]}return new C0(o)}function C0(e){this._=e}function El(e,n){const t=a;return e[t(1258)]()[t(1615)](/^|\s+/)[t(542)](function(o){const x=t;var r="",i=o[x(419)](".");if(i>=0&&(r=o[x(1172)](i+1),o=o[x(1172)](0,i)),o&&!n.hasOwnProperty(o))throw new Error(x(1574)+o);return{type:o,name:r}})}C0[a(1201)]=z0[a(1201)]={constructor:C0,on:function(e,n){const t=a;var o=this._,x=El(e+"",o),r,i=-1,c=x.length;if(arguments[t(2194)]<2){for(;++i<c;)if((r=(e=x[i])[t(1424)])&&(r=Yl(o[r],e[t(659)])))return r;return}if(n!=null&&typeof n!==t(1154))throw new Error(t(992)+n);for(;++i<c;)if(r=(e=x[i])[t(1424)])o[r]=Kr(o[r],e[t(659)],n);else if(n==null)for(r in o)o[r]=Kr(o[r],e[t(659)],null);return this},copy:function(){const e=a;var n={},t=this._;for(var o in t)n[o]=t[o][e(1172)]();return new C0(n)},call:function(e,n){const t=a;if((r=arguments[t(2194)]-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(436)](e))throw new Error(t(1574)+e);for(i=this._[e],x=0,r=i[t(2194)];x<r;++x)i[x][t(1981)].apply(n,o)},apply:function(e,n,t){const o=a;if(!this._[o(436)](e))throw new Error(o(1574)+e);for(var x=this._[e],r=0,i=x[o(2194)];r<i;++r)x[r].value[o(1241)](n,t)}};function Yl(e,n){const t=a;for(var o=0,x=e.length,r;o<x;++o)if((r=e[o])[t(659)]===n)return r[t(1981)]}function Kr(e,n,t){const o=a;for(var x=0,r=e[o(2194)];x<r;++x)if(e[x][o(659)]===n){e[x]=jl,e=e.slice(0,x).concat(e[o(1172)](x+1));break}return t!=null&&e[o(1465)]({name:n,value:t}),e}var Ux=a(1509);const Zr={svg:"http://www.w3.org/2000/svg",xhtml:Ux,xlink:a(547),xml:"http://www.w3.org/XML/1998/namespace",xmlns:a(1233)};function M0(e){const n=a;var t=e+="",o=t[n(419)](":");return o>=0&&(t=e.slice(0,o))!==n(1784)&&(e=e[n(1172)](o+1)),Zr[n(436)](t)?{space:Zr[t],local:e}:e}function Ul(e){return function(){const n=_0x4806;var t=this[n(1658)],o=this[n(383)];return o===Ux&&t.documentElement[n(383)]===Ux?t[n(1990)](e):t[n(1408)](o,e)}}function Gl(e){return function(){const n=_0x4806;return this[n(1658)].createElementNS(e[n(931)],e.local)}}function Rr(e){const n=a;var t=M0(e);return(t[n(1891)]?Gl:Ul)(t)}function Ol(){}function Gx(e){return e==null?Ol:function(){return this[_0x4806(1542)](e)}}function Hl(e){const n=a;typeof e!==n(1154)&&(e=Gx(e));for(var t=this[n(2068)],o=t[n(2194)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i.length,d=x[r]=new Array(c),s,u,f=0;f<c;++f)(s=i[f])&&(u=e[n(897)](s,s[n(1843)],f,i))&&("__data__"in s&&(u[n(1843)]=s.__data__),d[f]=u);return new $e(x,this[n(1916)])}function Tl(e){const n=a;return e==null?[]:Array[n(927)](e)?e:Array.from(e)}function Vl(){return[]}function Jr(e){return e==null?Vl:function(){return this[_0x4806(409)](e)}}function ql(e){return function(){return Tl(e[_0x4806(1241)](this,arguments))}}function Wl(e){const n=a;typeof e===n(1154)?e=ql(e):e=Jr(e);for(var t=this._groups,o=t[n(2194)],x=[],r=[],i=0;i<o;++i)for(var c=t[i],d=c[n(2194)],s,u=0;u<d;++u)(s=c[u])&&(x[n(1465)](e[n(897)](s,s.__data__,u,c)),r[n(1465)](s));return new $e(x,r)}function _r(e){return function(){return this[_0x4806(1719)](e)}}function Fr(e){return function(n){return n[_0x4806(1719)](e)}}var Xl=Array[a(1201)][a(1876)];function Kl(e){return function(){return Xl[_0x4806(897)](this.children,e)}}function Zl(){return this[a(972)]}function Rl(e){return this[a(1877)](e==null?Zl:Kl(typeof e=="function"?e:Fr(e)))}var Jl=Array[a(1201)][a(1641)];function _l(){const e=a;return Array[e(1139)](this[e(514)])}function Fl(e){return function(){const n=_0x4806;return Jl[n(897)](this[n(514)],e)}}function Ql(e){return this.selectAll(e==null?_l:Fl(typeof e=="function"?e:Fr(e)))}function $l(e){const n=a;typeof e!="function"&&(e=_r(e));for(var t=this[n(2068)],o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i[n(2194)],d=x[r]=[],s,u=0;u<c;++u)(s=i[u])&&e[n(897)](s,s[n(1843)],u,i)&&d[n(1465)](s);return new $e(x,this[n(1916)])}function Qr(e){const n=a;return new Array(e[n(2194)])}function ed(){const e=a;return new $e(this._enter||this._groups[e(542)](Qr),this[e(1916)])}function B0(e,n){const t=a;this.ownerDocument=e[t(1658)],this[t(383)]=e[t(383)],this[t(936)]=null,this[t(1313)]=e,this[t(1843)]=n}B0.prototype={constructor:B0,appendChild:function(e){const n=a;return this[n(1313)][n(1249)](e,this._next)},insertBefore:function(e,n){const t=a;return this[t(1313)][t(1249)](e,n)},querySelector:function(e){const n=a;return this[n(1313)][n(1542)](e)},querySelectorAll:function(e){return this[a(1313)].querySelectorAll(e)}};function nd(e){return function(){return e}}function td(e,n,t,o,x,r){const i=a;for(var c=0,d,s=n[i(2194)],u=r[i(2194)];c<u;++c)(d=n[c])?(d.__data__=r[c],o[c]=d):t[c]=new B0(e,r[c]);for(;c<s;++c)(d=n[c])&&(x[c]=d)}function xd(e,n,t,o,x,r,i){const c=a;var d,s,u=new Map,f=n[c(2194)],y=r[c(2194)],g=new Array(f),p;for(d=0;d<f;++d)(s=n[d])&&(g[d]=p=i[c(897)](s,s[c(1843)],d,n)+"",u.has(p)?x[d]=s:u[c(799)](p,s));for(d=0;d<y;++d)p=i[c(897)](e,r[d],d,r)+"",(s=u.get(p))?(o[d]=s,s[c(1843)]=r[d],u[c(1147)](p)):t[d]=new B0(e,r[d]);for(d=0;d<f;++d)(s=n[d])&&u[c(1157)](g[d])===s&&(x[d]=s)}function od(e){return e[a(1843)]}function rd(e,n){const t=a;if(!arguments[t(2194)])return Array[t(1139)](this,od);var o=n?xd:td,x=this[t(1916)],r=this[t(2068)];typeof e!==t(1154)&&(e=nd(e));for(var i=r[t(2194)],c=new Array(i),d=new Array(i),s=new Array(i),u=0;u<i;++u){var f=x[u],y=r[u],g=y[t(2194)],p=id(e[t(897)](f,f&&f[t(1843)],u,x)),h=p.length,b=d[u]=new Array(h),M=c[u]=new Array(h),v=s[u]=new Array(g);o(f,y,b,M,v,p,n);for(var m=0,w=0,C,k;m<h;++m)if(C=b[m]){for(m>=w&&(w=m+1);!(k=M[w])&&++w<h;);C[t(936)]=k||null}}return c=new $e(c,x),c[t(1652)]=d,c[t(1985)]=s,c}function id(e){const n=a;return typeof e===n(2171)&&"length"in e?e:Array[n(1139)](e)}function cd(){const e=a;return new $e(this._exit||this[e(2068)][e(542)](Qr),this[e(1916)])}function ad(e,n,t){const o=a;var x=this.enter(),r=this,i=this[o(2141)]();return typeof e===o(1154)?(x=e(x),x&&(x=x[o(1032)]())):x=x[o(1037)](e+""),n!=null&&(r=n(r),r&&(r=r[o(1032)]())),t==null?i[o(921)]():t(i),x&&r?x.merge(r)[o(1206)]():r}function sd(e){const n=a;for(var t=e[n(1032)]?e[n(1032)]():e,o=this[n(2068)],x=t[n(2068)],r=o[n(2194)],i=x.length,c=Math[n(831)](r,i),d=new Array(r),s=0;s<c;++s)for(var u=o[s],f=x[s],y=u[n(2194)],g=d[s]=new Array(y),p,h=0;h<y;++h)(p=u[h]||f[h])&&(g[h]=p);for(;s<r;++s)d[s]=o[s];return new $e(d,this[n(1916)])}function ld(){const e=a;for(var n=this._groups,t=-1,o=n[e(2194)];++t<o;)for(var x=n[t],r=x.length-1,i=x[r],c;--r>=0;)(c=x[r])&&(i&&c[e(734)](i)^4&&i[e(430)][e(1249)](c,i),i=c);return this}function dd(e){const n=a;e||(e=ud);function t(y,g){const p=_0x4806;return y&&g?e(y[p(1843)],g[p(1843)]):!y-!g}for(var o=this[n(2068)],x=o.length,r=new Array(x),i=0;i<x;++i){for(var c=o[i],d=c[n(2194)],s=r[i]=new Array(d),u,f=0;f<d;++f)(u=c[f])&&(s[f]=u);s[n(1576)](t)}return new $e(r,this._parents)[n(1206)]()}function ud(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function fd(){const e=a;var n=arguments[0];return arguments[0]=this,n[e(1241)](null,arguments),this}function hd(){return Array[a(1139)](this)}function gd(){const e=a;for(var n=this._groups,t=0,o=n[e(2194)];t<o;++t)for(var x=n[t],r=0,i=x.length;r<i;++r){var c=x[r];if(c)return c}return null}function yd(){let e=0;for(const n of this)++e;return e}function md(){return!this[a(1997)]()}function wd(e){const n=a;for(var t=this[n(2068)],o=0,x=t[n(2194)];o<x;++o)for(var r=t[o],i=0,c=r[n(2194)],d;i<c;++i)(d=r[i])&&e[n(897)](d,d[n(1843)],i,r);return this}function vd(e){return function(){this[_0x4806(1245)](e)}}function pd(e){return function(){const n=_0x4806;this[n(957)](e.space,e[n(1891)])}}function bd(e,n){return function(){this[_0x4806(1110)](e,n)}}function zd(e,n){return function(){const t=_0x4806;this[t(509)](e.space,e[t(1891)],n)}}function Cd(e,n){return function(){const t=_0x4806;var o=n[t(1241)](this,arguments);o==null?this[t(1245)](e):this[t(1110)](e,o)}}function Md(e,n){return function(){const t=_0x4806;var o=n.apply(this,arguments);o==null?this[t(957)](e[t(931)],e.local):this.setAttributeNS(e.space,e[t(1891)],o)}}function Bd(e,n){const t=a;var o=M0(e);if(arguments.length<2){var x=this[t(1997)]();return o[t(1891)]?x[t(1367)](o.space,o[t(1891)]):x[t(527)](o)}return this.each((n==null?o[t(1891)]?pd:vd:typeof n===t(1154)?o[t(1891)]?Md:Cd:o.local?zd:bd)(o,n))}function $r(e){const n=a;return e[n(1658)]&&e.ownerDocument[n(1662)]||e[n(1644)]&&e||e[n(1662)]}function Dd(e){return function(){this[_0x4806(1346)].removeProperty(e)}}function Ld(e,n,t){return function(){this[_0x4806(1346)].setProperty(e,n,t)}}function Nd(e,n,t){return function(){const o=_0x4806;var x=n.apply(this,arguments);x==null?this.style[o(1058)](e):this.style.setProperty(e,x,t)}}function Sd(e,n,t){const o=a;return arguments.length>1?this.each((n==null?Dd:typeof n=="function"?Nd:Ld)(e,n,t??"")):ut(this[o(1997)](),e)}function ut(e,n){const t=a;return e[t(1346)][t(442)](n)||$r(e)[t(574)](e,null)[t(442)](n)}function kd(e){return function(){delete this[e]}}function Id(e,n){return function(){this[e]=n}}function Pd(e,n){return function(){var o=n[_0x4806(1241)](this,arguments);o==null?delete this[e]:this[e]=o}}function Ad(e,n){const t=a;return arguments.length>1?this[t(1920)]((n==null?kd:typeof n===t(1154)?Pd:Id)(e,n)):this[t(1997)]()[e]}function ei(e){const n=a;return e[n(1258)]()[n(1615)](/^|\s+/)}function Ox(e){return e[a(1931)]||new ni(e)}function ni(e){const n=a;this._node=e,this[n(1112)]=ei(e[n(527)](n(1585))||"")}ni[a(1201)]={add:function(e){const n=a;var t=this[n(1112)].indexOf(e);t<0&&(this[n(1112)][n(1465)](e),this._node.setAttribute(n(1585),this._names[n(886)](" ")))},remove:function(e){const n=a;var t=this[n(1112)][n(419)](e);t>=0&&(this[n(1112)][n(1808)](t,1),this[n(1878)][n(1110)](n(1585),this[n(1112)][n(886)](" ")))},contains:function(e){return this[a(1112)].indexOf(e)>=0}};function ti(e,n){const t=a;for(var o=Ox(e),x=-1,r=n[t(2194)];++x<r;)o[t(1757)](n[x])}function xi(e,n){const t=a;for(var o=Ox(e),x=-1,r=n[t(2194)];++x<r;)o[t(921)](n[x])}function jd(e){return function(){ti(this,e)}}function Ed(e){return function(){xi(this,e)}}function Yd(e,n){return function(){(n[_0x4806(1241)](this,arguments)?ti:xi)(this,e)}}function Ud(e,n){const t=a;var o=ei(e+"");if(arguments.length<2){for(var x=Ox(this[t(1997)]()),r=-1,i=o[t(2194)];++r<i;)if(!x[t(2099)](o[r]))return!1;return!0}return this[t(1920)]((typeof n=="function"?Yd:n?jd:Ed)(o,n))}function Gd(){this.textContent=""}function Od(e){return function(){const n=_0x4806;this[n(1800)]=e}}function Hd(e){return function(){const n=_0x4806;var t=e[n(1241)](this,arguments);this[n(1800)]=t??""}}function Td(e){const n=a;return arguments[n(2194)]?this.each(e==null?Gd:(typeof e=="function"?Hd:Od)(e)):this[n(1997)]()[n(1800)]}function Vd(){const e=a;this[e(1226)]=""}function qd(e){return function(){const n=_0x4806;this[n(1226)]=e}}function Wd(e){return function(){const n=_0x4806;var t=e[n(1241)](this,arguments);this[n(1226)]=t??""}}function Xd(e){const n=a;return arguments.length?this[n(1920)](e==null?Vd:(typeof e===n(1154)?Wd:qd)(e)):this[n(1997)]()[n(1226)]}function Kd(){const e=a;this[e(1671)]&&this.parentNode[e(1365)](this)}function Zd(){return this[a(1920)](Kd)}function Rd(){const e=a;this.previousSibling&&this[e(430)].insertBefore(this,this[e(430)][e(481)])}function Jd(){return this[a(1920)](Rd)}function _d(e){const n=a;var t=typeof e===n(1154)?e:Rr(e);return this.select(function(){const o=n;return this[o(1365)](t[o(1241)](this,arguments))})}function Fd(){return null}function Qd(e,n){const t=a;var o=typeof e===t(1154)?e:Rr(e),x=n==null?Fd:typeof n===t(1154)?n:Gx(n);return this[t(1877)](function(){const r=t;return this[r(1249)](o[r(1241)](this,arguments),x[r(1241)](this,arguments)||null)})}function $d(){const e=a;var n=this.parentNode;n&&n[e(1331)](this)}function eu(){return this[a(1920)]($d)}function nu(){const e=a;var n=this[e(909)](!1),t=this[e(430)];return t?t[e(1249)](n,this[e(1671)]):n}function tu(){const e=a;var n=this[e(909)](!0),t=this[e(430)];return t?t[e(1249)](n,this.nextSibling):n}function xu(e){return this[a(1877)](e?tu:nu)}function ou(e){const n=a;return arguments[n(2194)]?this[n(1665)](n(1843),e):this[n(1997)]()[n(1843)]}function ru(e){return function(n){const t=_0x4806;e.call(this,n,this[t(1843)])}}function iu(e){const n=a;return e.trim()[n(1615)](/^|\s+/)[n(542)](function(t){const o=n;var x="",r=t[o(419)](".");return r>=0&&(x=t[o(1172)](r+1),t=t[o(1172)](0,r)),{type:t,name:x}})}function cu(e){return function(){const n=_0x4806;var t=this[n(611)];if(t){for(var o=0,x=-1,r=t[n(2194)],i;o<r;++o)i=t[o],(!e[n(1424)]||i[n(1424)]===e.type)&&i[n(659)]===e[n(659)]?this[n(1339)](i[n(1424)],i.listener,i.options):t[++x]=i;++x?t[n(2194)]=x:delete this[n(611)]}}}function au(e,n,t){return function(){const o=_0x4806;var x=this[o(611)],r,i=ru(n);if(x){for(var c=0,d=x[o(2194)];c<d;++c)if((r=x[c])[o(1424)]===e.type&&r[o(659)]===e.name){this.removeEventListener(r[o(1424)],r[o(1122)],r.options),this.addEventListener(r[o(1424)],r[o(1122)]=i,r[o(1335)]=t),r[o(1981)]=n;return}}this[o(1966)](e[o(1424)],i,t),r={type:e.type,name:e[o(659)],value:n,listener:i,options:t},x?x[o(1465)](r):this[o(611)]=[r]}}function su(e,n,t){const o=a;var x=iu(e+""),r,i=x.length,c;if(arguments.length<2){var d=this[o(1997)]().__on;if(d){for(var s=0,u=d[o(2194)],f;s<u;++s)for(r=0,f=d[s];r<i;++r)if((c=x[r])[o(1424)]===f[o(1424)]&&c[o(659)]===f.name)return f[o(1981)]}return}for(d=n?au:cu,r=0;r<i;++r)this[o(1920)](d(x[r],n,t));return this}function oi(e,n,t){const o=a;var x=$r(e),r=x[o(1502)];typeof r=="function"?r=new r(n,t):(r=x[o(1644)][o(1422)](o(1811)),t?(r[o(567)](n,t[o(756)],t.cancelable),r[o(589)]=t[o(589)]):r[o(567)](n,!1,!1)),e[o(792)](r)}function lu(e,n){return function(){return oi(this,e,n)}}function du(e,n){return function(){return oi(this,e,n[_0x4806(1241)](this,arguments))}}function uu(e,n){return this[a(1920)]((typeof n=="function"?du:lu)(e,n))}function*fu(){const e=a;for(var n=this[e(2068)],t=0,o=n[e(2194)];t<o;++t)for(var x=n[t],r=0,i=x[e(2194)],c;r<i;++r)(c=x[r])&&(yield c)}var ri=[null];function $e(e,n){const t=a;this[t(2068)]=e,this[t(1916)]=n}function Ut(){const e=a;return new $e([[document[e(2079)]]],ri)}function hu(){return this}$e[a(1201)]=Ut[a(1201)]={constructor:$e,select:Hl,selectAll:Wl,selectChild:Rl,selectChildren:Ql,filter:$l,data:rd,enter:ed,exit:cd,join:ad,merge:sd,selection:hu,order:ld,sort:dd,call:fd,nodes:hd,node:gd,size:yd,empty:md,each:wd,attr:Bd,style:Sd,property:Ad,classed:Ud,text:Td,html:Xd,raise:Zd,lower:Jd,append:_d,insert:Qd,remove:eu,clone:xu,datum:ou,on:su,dispatch:uu,[Symbol[a(2104)]]:fu};function en(e){const n=a;return typeof e=="string"?new $e([[document.querySelector(e)]],[document[n(2079)]]):new $e([[e]],ri)}function gu(e){const n=a;let t;for(;t=e[n(652)];)e=t;return e}function dn(e,n){const t=a;if(e=gu(e),n===void 0&&(n=e.currentTarget),n){var o=n[t(1566)]||n;if(o[t(581)]){var x=o[t(581)]();return x.x=e[t(1569)],x.y=e.clientY,x=x[t(519)](n[t(1922)]()[t(468)]()),[x.x,x.y]}if(n[t(1761)]){var r=n[t(1761)]();return[e[t(1569)]-r[t(1557)]-n[t(1308)],e[t(1947)]-r[t(1413)]-n[t(918)]]}}return[e[t(1009)],e.pageY]}const yu={passive:!1},Gt={capture:!0,passive:!1};function Hx(e){e.stopImmediatePropagation()}function ft(e){const n=a;e[n(1923)](),e[n(1006)]()}function ii(e){const n=a;var t=e[n(1644)][n(2079)],o=en(e).on(n(1415),ft,Gt);n(1156)in t?o.on(n(1451),ft,Gt):(t[n(558)]=t[n(1346)].MozUserSelect,t[n(1346)][n(387)]=n(1712))}function ci(e,n){const t=a;var o=e[t(1644)].documentElement,x=en(e).on(t(1415),null);n&&(x.on("click.drag",ft,Gt),setTimeout(function(){x.on("click.drag",null)},0)),t(1156)in o?x.on("selectstart.drag",null):(o[t(1346)].MozUserSelect=o[t(558)],delete o[t(558)])}const D0=e=>()=>e;function Tx(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:c,dx:d,dy:s,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:x,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:u}})}Tx[a(1201)].on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function mu(e){const n=a;return!e[n(569)]&&!e[n(772)]}function wu(){return this[a(430)]}function vu(e,n){return n??{x:e.x,y:e.y}}function pu(){const e=a;return navigator[e(563)]||e(2157)in this}function ai(){const e=a;var n=mu,t=wu,o=vu,x=pu,r={},i=z0(e(1989),e(553),e(412)),c=0,d,s,u,f,y=0;function g(C){const k=e;C.on(k(1812),p)[k(1641)](x).on(k(742),M).on(k(819),v,yu).on(k(1290),m).style(k(1865),k(1712))[k(1346)](k(815),k(1166))}function p(C,k){const O=e;if(!(f||!n[O(897)](this,C,k))){var G=w(this,t[O(897)](this,C,k),C,k,O(1085));G&&(en(C[O(892)]).on(O(591),h,Gt).on(O(701),b,Gt),ii(C.view),Hx(C),u=!1,d=C[O(1569)],s=C[O(1947)],G(O(1989),C))}}function h(C){const k=e;if(ft(C),!u){var O=C[k(1569)]-d,G=C.clientY-s;u=O*O+G*G>y}r[k(1085)](k(553),C)}function b(C){const k=e;en(C.view).on(k(1270),null),ci(C[k(892)],u),ft(C),r[k(1085)](k(412),C)}function M(C,k){const O=e;if(n[O(897)](this,C,k)){var G=C[O(1065)],j=t[O(897)](this,C,k),A=G[O(2194)],Z,W;for(Z=0;Z<A;++Z)(W=w(this,j,C,k,G[Z][O(1223)],G[Z]))&&(Hx(C),W(O(1989),C,G[Z]))}}function v(C){const k=e;var O=C[k(1065)],G=O[k(2194)],j,A;for(j=0;j<G;++j)(A=r[O[j][k(1223)]])&&(ft(C),A(k(553),C,O[j]))}function m(C){const k=e;var O=C[k(1065)],G=O[k(2194)],j,A;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),j=0;j<G;++j)(A=r[O[j][k(1223)]])&&(Hx(C),A(k(412),C,O[j]))}function w(C,k,O,G,j,A){const Z=e;var W=i.copy(),q=dn(A||O,k),T,N,D;if((D=o.call(C,new Tx(Z(1198),{sourceEvent:O,target:g,identifier:j,active:c,x:q[0],y:q[1],dx:0,dy:0,dispatch:W}),G))!=null)return T=D.x-q[0]||0,N=D.y-q[1]||0,function L(U,P,S){const K=Z;var Q=q,R;switch(U){case K(1989):r[j]=L,R=c++;break;case K(412):delete r[j],--c;case K(553):q=dn(S||P,k),R=c;break}W[K(897)](U,C,new Tx(U,{sourceEvent:P,subject:D,target:g,identifier:j,active:R,x:q[0]+T,y:q[1]+N,dx:q[0]-Q[0],dy:q[1]-Q[1],dispatch:W}),G)}}return g.filter=function(C){return arguments[e(2194)]?(n=typeof C=="function"?C:D0(!!C),g):n},g[e(1171)]=function(C){const k=e;return arguments[k(2194)]?(t=typeof C===k(1154)?C:D0(C),g):t},g[e(449)]=function(C){const k=e;return arguments[k(2194)]?(o=typeof C===k(1154)?C:D0(C),g):o},g.touchable=function(C){const k=e;return arguments[k(2194)]?(x=typeof C===k(1154)?C:D0(!!C),g):x},g.on=function(){const C=e;var k=i.on[C(1241)](i,arguments);return k===i?g:k},g.clickDistance=function(C){const k=e;return arguments.length?(y=(C=+C)*C,g):Math[k(807)](y)},g}function Vx(e,n,t){const o=a;e.prototype=n[o(1201)]=t,t[o(1975)]=e}function si(e,n){var o=Object.create(e[a(1201)]);for(var x in n)o[x]=n[x];return o}function Ot(){}var Ht=.7,L0=1/Ht,ht=a(1565),Tt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",bn=a(1510),bu=/^#([0-9a-f]{3,8})$/,zu=new RegExp("^rgb\\("+ht+","+ht+","+ht+a(1573)),Cu=new RegExp("^rgb\\("+bn+","+bn+","+bn+a(1573)),Mu=new RegExp(a(455)+ht+","+ht+","+ht+","+Tt+"\\)$"),Bu=new RegExp(a(455)+bn+","+bn+","+bn+","+Tt+a(1573)),Du=new RegExp(a(827)+Tt+","+bn+","+bn+a(1573)),Lu=new RegExp("^hsla\\("+Tt+","+bn+","+bn+","+Tt+a(1573)),li={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};Vx(Ot,Zn,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){const e=a;return this.rgb()[e(1445)]()},hex:di,formatHex:di,formatHex8:Nu,formatHsl:Su,formatRgb:ui,toString:ui});function di(){return this[a(2024)]().formatHex()}function Nu(){const e=a;return this[e(2024)]()[e(1765)]()}function Su(){const e=a;return mi(this)[e(1295)]()}function ui(){const e=a;return this.rgb()[e(697)]()}function Zn(e){const n=a;var t,o;return e=(e+"")[n(1258)]().toLowerCase(),(t=bu[n(616)](e))?(o=t[1][n(2194)],t=parseInt(t[1],16),o===6?fi(t):o===3?new Re(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?N0(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?N0(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=zu[n(616)](e))?new Re(t[1],t[2],t[3],1):(t=Cu[n(616)](e))?new Re(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Mu[n(616)](e))?N0(t[1],t[2],t[3],t[4]):(t=Bu.exec(e))?N0(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Du[n(616)](e))?yi(t[1],t[2]/100,t[3]/100,1):(t=Lu[n(616)](e))?yi(t[1],t[2]/100,t[3]/100,t[4]):li[n(436)](e)?fi(li[e]):e===n(583)?new Re(NaN,NaN,NaN,0):null}function fi(e){return new Re(e>>16&255,e>>8&255,e&255,1)}function N0(e,n,t,o){return o<=0&&(e=n=t=NaN),new Re(e,n,t,o)}function ku(e){const n=a;return e instanceof Ot||(e=Zn(e)),e?(e=e[n(2024)](),new Re(e.r,e.g,e.b,e[n(981)])):new Re}function qx(e,n,t,o){return arguments[a(2194)]===1?ku(e):new Re(e,n,t,o??1)}function Re(e,n,t,o){const x=a;this.r=+e,this.g=+n,this.b=+t,this[x(981)]=+o}Vx(Re,qx,si(Ot,{brighter(e){const n=a;return e=e==null?L0:Math[n(1433)](L0,e),new Re(this.r*e,this.g*e,this.b*e,this[n(981)])},darker(e){const n=a;return e=e==null?Ht:Math.pow(Ht,e),new Re(this.r*e,this.g*e,this.b*e,this[n(981)])},rgb(){return this},clamp(){const e=a;return new Re(Rn(this.r),Rn(this.g),Rn(this.b),S0(this[e(981)]))},displayable(){const e=a;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this[e(981)]&&this[e(981)]<=1},hex:hi,formatHex:hi,formatHex8:Iu,formatRgb:gi,toString:gi}));function hi(){return"#"+Jn(this.r)+Jn(this.g)+Jn(this.b)}function Iu(){const e=a;return"#"+Jn(this.r)+Jn(this.g)+Jn(this.b)+Jn((isNaN(this[e(981)])?1:this[e(981)])*255)}function gi(){const e=a,n=S0(this.opacity);return""+e(n===1?1795:1506)+Rn(this.r)+", "+Rn(this.g)+", "+Rn(this.b)+(n===1?")":", "+n+")")}function S0(e){const n=a;return isNaN(e)?1:Math[n(1439)](0,Math[n(831)](1,e))}function Rn(e){const n=a;return Math[n(1439)](0,Math[n(831)](255,Math[n(723)](e)||0))}function Jn(e){return e=Rn(e),(e<16?"0":"")+e.toString(16)}function yi(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new un(e,n,t,o)}function mi(e){const n=a;if(e instanceof un)return new un(e.h,e.s,e.l,e[n(981)]);if(e instanceof Ot||(e=Zn(e)),!e)return new un;if(e instanceof un)return e;e=e[n(2024)]();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(831)](t,o,x),i=Math[n(1439)](t,o,x),c=NaN,d=i-r,s=(i+r)/2;return d?(t===i?c=(o-x)/d+(o<x)*6:o===i?c=(x-t)/d+2:c=(t-o)/d+4,d/=s<.5?i+r:2-i-r,c*=60):d=s>0&&s<1?0:c,new un(c,d,s,e[n(981)])}function Pu(e,n,t,o){return arguments[a(2194)]===1?mi(e):new un(e,n,t,o??1)}function un(e,n,t,o){const x=a;this.h=+e,this.s=+n,this.l=+t,this[x(981)]=+o}Vx(un,Pu,si(Ot,{brighter(e){const n=a;return e=e==null?L0:Math[n(1433)](L0,e),new un(this.h,this.s,this.l*e,this[n(981)])},darker(e){const n=a;return e=e==null?Ht:Math[n(1433)](Ht,e),new un(this.h,this.s,this.l*e,this.opacity)},rgb(){const e=a;var n=this.h%360+(this.h<0)*360,t=isNaN(n)||isNaN(this.s)?0:this.s,o=this.l,x=o+(o<.5?o:1-o)*t,r=2*o-x;return new Re(Wx(n>=240?n-240:n+120,r,x),Wx(n,r,x),Wx(n<120?n+240:n-120,r,x),this[e(981)])},clamp(){const e=a;return new un(wi(this.h),k0(this.s),k0(this.l),S0(this[e(981)]))},displayable(){const e=a;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this[e(981)]&&this[e(981)]<=1},formatHsl(){const e=a,n=S0(this[e(981)]);return""+e(n===1?625:2043)+wi(this.h)+", "+k0(this.s)*100+e(1925)+k0(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function wi(e){return e=(e||0)%360,e<0?e+360:e}function k0(e){return Math.max(0,Math.min(1,e||0))}function Wx(e,n,t){return(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)*255}const Xx=e=>()=>e;function Au(e,n){return function(t){return e+t*n}}function ju(e,n,t){const o=a;return e=Math.pow(e,t),n=Math[o(1433)](n,t)-e,t=1/t,function(x){return Math[o(1433)](e+x*n,t)}}function Eu(e){return(e=+e)==1?vi:function(n,t){return t-n?ju(n,t,e):Xx(isNaN(n)?t:n)}}function vi(e,n){var t=n-e;return t?Au(e,t):Xx(isNaN(e)?n:e)}const I0=(function e(n){const t=a;var o=Eu(n);function x(r,i){const c=_0x4806;var d=o((r=qx(r)).r,(i=qx(i)).r),s=o(r.g,i.g),u=o(r.b,i.b),f=vi(r[c(981)],i.opacity);return function(y){return r.r=d(y),r.g=s(y),r.b=u(y),r.opacity=f(y),r+""}}return x[t(1635)]=e,x})(1);function Yu(e,n){const t=a;n||(n=[]);var o=e?Math[t(831)](n[t(2194)],e[t(2194)]):0,x=n[t(1172)](),r;return function(i){for(r=0;r<o;++r)x[r]=e[r]*(1-i)+n[r]*i;return x}}function Uu(e){return ArrayBuffer[a(1455)](e)&&!(e instanceof DataView)}function Gu(e,n){const t=a;var o=n?n.length:0,x=e?Math.min(o,e[t(2194)]):0,r=new Array(x),i=new Array(o),c;for(c=0;c<x;++c)r[c]=Vt(e[c],n[c]);for(;c<o;++c)i[c]=n[c];return function(d){for(c=0;c<x;++c)i[c]=r[c](d);return i}}function Ou(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0x4806(1414)](e*(1-o)+n*o),t}}function zn(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function Hu(e,n){const t=a;var o={},x={},r;(e===null||typeof e!==t(2171))&&(e={}),(n===null||typeof n!==t(2171))&&(n={});for(r in n)r in e?o[r]=Vt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var Kx=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zx=new RegExp(Kx[a(964)],"g");function Tu(e){return function(){return e}}function Vu(e){return function(n){return e(n)+""}}function pi(e,n){const t=a;var o=Kx[t(1540)]=Zx[t(1540)]=0,x,r,i,c=-1,d=[],s=[];for(e=e+"",n=n+"";(x=Kx[t(616)](e))&&(r=Zx.exec(n));)(i=r[t(2045)])>o&&(i=n[t(1172)](o,i),d[c]?d[c]+=i:d[++c]=i),(x=x[0])===(r=r[0])?d[c]?d[c]+=r:d[++c]=r:(d[++c]=null,s[t(1465)]({i:c,x:zn(x,r)})),o=Zx[t(1540)];return o<n[t(2194)]&&(i=n.slice(o),d[c]?d[c]+=i:d[++c]=i),d[t(2194)]<2?s[0]?Vu(s[0].x):Tu(n):(n=s[t(2194)],function(u){const f=t;for(var y=0,g;y<n;++y)d[(g=s[y]).i]=g.x(u);return d[f(886)]("")})}function Vt(e,n){const t=a;var o=typeof n,x;return n==null||o===t(1274)?Xx(n):(o===t(411)?zn:o===t(774)?(x=Zn(n))?(n=x,I0):pi:n instanceof Zn?I0:n instanceof Date?Ou:Uu(n)?Yu:Array[t(927)](n)?Gu:typeof n[t(487)]!==t(1154)&&typeof n[t(1053)]!==t(1154)||isNaN(n)?Hu:zn)(e,n)}var bi=180/Math.PI,Rx={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function zi(e,n,t,o,x,r){const i=a;var c,d,s;return(c=Math.sqrt(e*e+n*n))&&(e/=c,n/=c),(s=e*t+n*o)&&(t-=e*s,o-=n*s),(d=Math.sqrt(t*t+o*o))&&(t/=d,o/=d,s/=d),e*o<n*t&&(e=-e,n=-n,s=-s,c=-c),{translateX:x,translateY:r,rotate:Math[i(1689)](n,e)*bi,skewX:Math[i(1577)](s)*bi,scaleX:c,scaleY:d}}var P0;function qu(e){const n=a,t=new(typeof DOMMatrix===n(1154)?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Rx:zi(t.a,t.b,t.c,t.d,t.e,t.f)}function Wu(e){const n=a;return e==null||(P0||(P0=document.createElementNS("http://www.w3.org/2000/svg","g")),P0.setAttribute(n(1130),e),!(e=P0[n(1130)][n(1462)][n(1568)]()))?Rx:(e=e[n(979)],zi(e.a,e.b,e.c,e.d,e.e,e.f))}function Ci(e,n,t,o){function x(s){const u=_0x4806;return s[u(2194)]?s[u(1384)]()+" ":""}function r(s,u,f,y,g,p){const h=_0x4806;if(s!==f||u!==y){var b=g[h(1465)]("translate(",null,n,null,t);p[h(1465)]({i:b-4,x:zn(s,f)},{i:b-2,x:zn(u,y)})}else(f||y)&&g[h(1465)](h(389)+f+n+y+t)}function i(s,u,f,y){const g=_0x4806;s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),y[g(1465)]({i:f[g(1465)](x(f)+g(970),null,o)-2,x:zn(s,u)})):u&&f.push(x(f)+"rotate("+u+o)}function c(s,u,f,y){const g=_0x4806;s!==u?y[g(1465)]({i:f[g(1465)](x(f)+g(1228),null,o)-2,x:zn(s,u)}):u&&f[g(1465)](x(f)+g(1228)+u+o)}function d(s,u,f,y,g,p){const h=_0x4806;if(s!==f||u!==y){var b=g[h(1465)](x(g)+h(1959),null,",",null,")");p[h(1465)]({i:b-4,x:zn(s,f)},{i:b-2,x:zn(u,y)})}else(f!==1||y!==1)&&g[h(1465)](x(g)+h(1959)+f+","+y+")")}return function(s,u){const f=_0x4806;var y=[],g=[];return s=e(s),u=e(u),r(s[f(1763)],s.translateY,u.translateX,u[f(830)],y,g),i(s.rotate,u.rotate,y,g),c(s.skewX,u[f(780)],y,g),d(s[f(698)],s[f(1217)],u.scaleX,u[f(1217)],y,g),s=u=null,function(p){const h=f;for(var b=-1,M=g[h(2194)],v;++b<M;)y[(v=g[b]).i]=v.x(p);return y[h(886)]("")}}}var Xu=Ci(qu,a(1375),"px)",a(1405)),Ku=Ci(Wu,", ",")",")"),Zu=1e-12;function Mi(e){return((e=Math.exp(e))+1/e)/2}function Ru(e){return((e=Math[a(1327)](e))-1/e)/2}function Ju(e){return((e=Math[a(1327)](2*e))-1)/(e+1)}const A0=(function e(n,t,o){const x=a;function r(i,c){const d=_0x4806;var s=i[0],u=i[1],f=i[2],y=c[0],g=c[1],p=c[2],h=y-s,b=g-u,M=h*h+b*b,v,m;if(M<Zu)m=Math[d(365)](p/f)/n,v=function(j){const A=d;return[s+j*h,u+j*b,f*Math[A(1327)](n*j*m)]};else{var w=Math[d(807)](M),C=(p*p-f*f+o*M)/(2*f*t*w),k=(p*p-f*f-o*M)/(2*p*t*w),O=Math.log(Math[d(807)](C*C+1)-C),G=Math[d(365)](Math[d(807)](k*k+1)-k);m=(G-O)/n,v=function(j){var A=j*m,Z=Mi(O),W=f/(t*w)*(Z*Ju(n*A+O)-Ru(O));return[s+W*h,u+W*b,f*Z/Mi(n*A+O)]}}return v[d(2056)]=m*1e3*n/Math.SQRT2,v}return r[x(1523)]=function(i){var d=Math[x(1439)](.001,+i),s=d*d,u=s*s;return e(d,s,u)},r})(Math[a(1078)],2,4);var gt=0,qt=0,Wt=0,Bi=1e3,j0,Xt,E0=0,_n=0,Y0=0,Kt=typeof performance===a(2171)&&performance.now?performance:Date,Di=typeof window=="object"&&window[a(1135)]?window[a(1135)][a(999)](window):function(e){setTimeout(e,17)};function Jx(){const e=a;return _n||(Di(_u),_n=Kt[e(1960)]()+Y0)}function _u(){_n=0}function U0(){this._call=this._time=this._next=null}U0[a(1201)]=Li[a(1201)]={constructor:U0,restart:function(e,n,t){const o=a;if(typeof e!==o(1154))throw new TypeError("callback is not a function");t=(t==null?Jx():+t)+(n==null?0:+n),!this[o(936)]&&Xt!==this&&(Xt?Xt[o(936)]=this:j0=this,Xt=this),this._call=e,this._time=t,_x()},stop:function(){const e=a;this[e(1911)]&&(this[e(1911)]=null,this[e(2049)]=1/0,_x())}};function Li(e,n,t){var o=new U0;return o.restart(e,n,t),o}function Fu(){const e=a;Jx(),++gt;for(var n=j0,t;n;)(t=_n-n[e(2049)])>=0&&n[e(1911)][e(897)](void 0,t),n=n[e(936)];--gt}function Ni(){_n=(E0=Kt[a(1960)]())+Y0,gt=qt=0;try{Fu()}finally{gt=0,$u(),_n=0}}function Qu(){var n=Kt[a(1960)](),t=n-E0;t>Bi&&(Y0-=t,E0=n)}function $u(){const e=a;for(var n,t=j0,o,x=1/0;t;)t._call?(x>t[e(2049)]&&(x=t._time),n=t,t=t[e(936)]):(o=t._next,t[e(936)]=null,t=n?n[e(936)]=o:j0=o);Xt=n,_x(x)}function _x(e){const n=a;if(!gt){qt&&(qt=clearTimeout(qt));var t=e-_n;t>24?(e<1/0&&(qt=setTimeout(Ni,e-Kt[n(1960)]()-Y0)),Wt&&(Wt=clearInterval(Wt))):(Wt||(E0=Kt[n(1960)](),Wt=setInterval(Qu,Bi)),gt=1,Di(Ni))}}function Si(e,n,t){const o=a;var x=new U0;return n=n==null?0:+n,x[o(1515)](r=>{x.stop(),e(r+n)},n,t),x}var ef=z0(a(1989),"end",a(737),a(1999)),nf=[],ki=0,Ii=1,Fx=2,G0=3,Pi=4,Qx=5,O0=6;function H0(e,n,t,o,x,r){const i=a;var c=e[i(1457)];if(!c)e[i(1457)]={};else if(t in c)return;tf(e,t,{name:n,index:o,group:x,on:ef,tween:nf,time:r[i(1303)],delay:r[i(1725)],duration:r[i(2056)],ease:r[i(2044)],timer:null,state:ki})}function $x(e,n){const t=a;var o=fn(e,n);if(o[t(672)]>ki)throw new Error("too late; already scheduled");return o}function Cn(e,n){const t=a;var o=fn(e,n);if(o[t(672)]>G0)throw new Error("too late; already running");return o}function fn(e,n){const t=a;var o=e[t(1457)];if(!o||!(o=o[n]))throw new Error(t(1709));return o}function tf(e,n,t){const o=a;var x=e[o(1457)],r;x[n]=t,t.timer=Li(i,0,t.time);function i(u){const f=o;t[f(672)]=Ii,t[f(1744)][f(1515)](c,t[f(1725)],t[f(1303)]),t[f(1725)]<=u&&c(u-t.delay)}function c(u){const f=o;var y,g,p,h;if(t[f(672)]!==Ii)return s();for(y in x)if(h=x[y],h[f(659)]===t[f(659)]){if(h[f(672)]===G0)return Si(c);h[f(672)]===Pi?(h[f(672)]=O0,h[f(1744)][f(1516)](),h.on.call(f(1999),e,e[f(1843)],h[f(2045)],h[f(1728)]),delete x[y]):+y<n&&(h[f(672)]=O0,h[f(1744)][f(1516)](),h.on[f(897)](f(737),e,e.__data__,h.index,h[f(1728)]),delete x[y])}if(Si(function(){const b=f;t.state===G0&&(t.state=Pi,t[b(1744)][b(1515)](d,t[b(1725)],t[b(1303)]),d(u))}),t[f(672)]=Fx,t.on[f(897)](f(1989),e,e.__data__,t[f(2045)],t[f(1728)]),t[f(672)]===Fx){for(t[f(672)]=G0,r=new Array(p=t.tween.length),y=0,g=-1;y<p;++y)(h=t[f(2076)][y][f(1981)][f(897)](e,e[f(1843)],t[f(2045)],t[f(1728)]))&&(r[++g]=h);r[f(2194)]=g+1}}function d(u){const f=o;for(var y=u<t[f(2056)]?t.ease[f(897)](null,u/t[f(2056)]):(t.timer[f(1515)](s),t[f(672)]=Qx,1),g=-1,p=r.length;++g<p;)r[g][f(897)](e,y);t[f(672)]===Qx&&(t.on[f(897)](f(412),e,e[f(1843)],t[f(2045)],t[f(1728)]),s())}function s(){const u=o;t[u(672)]=O0,t[u(1744)][u(1516)](),delete x[n];for(var f in x)return;delete e[u(1457)]}}function T0(e,n){const t=a;var o=e[t(1457)],x,r,i=!0,c;if(o){n=n==null?null:n+"";for(c in o){if((x=o[c])[t(659)]!==n){i=!1;continue}r=x[t(672)]>Fx&&x.state<Qx,x[t(672)]=O0,x[t(1744)].stop(),x.on[t(897)](r?t(1999):"cancel",e,e[t(1843)],x[t(2045)],x[t(1728)]),delete o[c]}i&&delete e[t(1457)]}}function xf(e){return this[a(1920)](function(){T0(this,e)})}function of(e,n){var t,o;return function(){const x=_0x4806;var r=Cn(this,e),i=r[x(2076)];if(i!==t){o=t=i;for(var c=0,d=o[x(2194)];c<d;++c)if(o[c].name===n){o=o[x(1172)](),o.splice(c,1);break}}r[x(2076)]=o}}function rf(e,n,t){const o=a;var x,r;if(typeof t!==o(1154))throw new Error;return function(){const i=o;var c=Cn(this,e),d=c[i(2076)];if(d!==x){r=(x=d)[i(1172)]();for(var s={name:n,value:t},u=0,f=r.length;u<f;++u)if(r[u][i(659)]===n){r[u]=s;break}u===f&&r[i(1465)](s)}c.tween=r}}function cf(e,n){const t=a;var o=this[t(394)];if(e+="",arguments[t(2194)]<2){for(var x=fn(this[t(1997)](),o).tween,r=0,i=x[t(2194)],c;r<i;++r)if((c=x[r])[t(659)]===e)return c[t(1981)];return null}return this[t(1920)]((n==null?of:rf)(o,e,n))}function eo(e,n,t){const o=a;var x=e[o(394)];return e[o(1920)](function(){const r=o;var i=Cn(this,x);(i[r(1981)]||(i[r(1981)]={}))[n]=t.apply(this,arguments)}),function(r){const i=o;return fn(r,x)[i(1981)][n]}}function Ai(e,n){const t=a;var o;return(typeof n===t(411)?zn:n instanceof Zn?I0:(o=Zn(n))?(n=o,I0):pi)(e,n)}function af(e){return function(){this[_0x4806(1245)](e)}}function sf(e){return function(){const n=_0x4806;this.removeAttributeNS(e.space,e[n(1891)])}}function lf(e,n,t){var o,x=t+"",r;return function(){var i=this.getAttribute(e);return i===x?null:i===o?r:r=n(o=i,t)}}function df(e,n,t){var o,x=t+"",r;return function(){const i=_0x4806;var c=this[i(1367)](e[i(931)],e.local);return c===x?null:c===o?r:r=n(o=c,t)}}function uf(e,n,t){var o,x,r;return function(){const i=_0x4806;var c,d=t(this),s;return d==null?void this[i(1245)](e):(c=this[i(527)](e),s=d+"",c===s?null:c===o&&s===x?r:(x=s,r=n(o=c,d)))}}function ff(e,n,t){var o,x,r;return function(){const i=_0x4806;var c,d=t(this),s;return d==null?void this[i(957)](e[i(931)],e[i(1891)]):(c=this[i(1367)](e[i(931)],e[i(1891)]),s=d+"",c===s?null:c===o&&s===x?r:(x=s,r=n(o=c,d)))}}function hf(e,n){const t=a;var o=M0(e),x=o===t(1130)?Ku:Ai;return this[t(1362)](e,typeof n===t(1154)?(o.local?ff:uf)(o,x,eo(this,"attr."+e,n)):n==null?(o[t(1891)]?sf:af)(o):(o[t(1891)]?df:lf)(o,x,n))}function gf(e,n){return function(t){const o=_0x4806;this[o(1110)](e,n[o(897)](this,t))}}function yf(e,n){return function(t){const o=_0x4806;this[o(509)](e.space,e[o(1891)],n.call(this,t))}}function mf(e,n){const t=a;var o,x;function r(){var c=n[_0x4806(1241)](this,arguments);return c!==x&&(o=(x=c)&&yf(e,c)),o}return r[t(1479)]=n,r}function wf(e,n){const t=a;var o,x;function r(){var c=n[_0x4806(1241)](this,arguments);return c!==x&&(o=(x=c)&&gf(e,c)),o}return r[t(1479)]=n,r}function vf(e,n){const t=a;var o=t(576)+e;if(arguments[t(2194)]<2)return(o=this.tween(o))&&o._value;if(n==null)return this[t(2076)](o,null);if(typeof n!==t(1154))throw new Error;var x=M0(e);return this[t(2076)](o,(x[t(1891)]?mf:wf)(x,n))}function pf(e,n){return function(){const t=_0x4806;$x(this,e)[t(1725)]=+n[t(1241)](this,arguments)}}function bf(e,n){return n=+n,function(){const t=_0x4806;$x(this,e)[t(1725)]=n}}function zf(e){const n=a;var t=this[n(394)];return arguments[n(2194)]?this[n(1920)]((typeof e===n(1154)?pf:bf)(t,e)):fn(this[n(1997)](),t)[n(1725)]}function Cf(e,n){return function(){const t=_0x4806;Cn(this,e)[t(2056)]=+n[t(1241)](this,arguments)}}function Mf(e,n){return n=+n,function(){const t=_0x4806;Cn(this,e)[t(2056)]=n}}function Bf(e){const n=a;var t=this[n(394)];return arguments[n(2194)]?this[n(1920)]((typeof e===n(1154)?Cf:Mf)(t,e)):fn(this[n(1997)](),t)[n(2056)]}function Df(e,n){const t=a;if(typeof n!==t(1154))throw new Error;return function(){const o=t;Cn(this,e)[o(2044)]=n}}function Lf(e){const n=a;var t=this[n(394)];return arguments[n(2194)]?this[n(1920)](Df(t,e)):fn(this[n(1997)](),t)[n(2044)]}function Nf(e,n){return function(){const t=_0x4806;var o=n[t(1241)](this,arguments);if(typeof o!==t(1154))throw new Error;Cn(this,e)[t(2044)]=o}}function Sf(e){if(typeof e!==a(1154))throw new Error;return this.each(Nf(this._id,e))}function kf(e){const n=a;typeof e!="function"&&(e=_r(e));for(var t=this[n(2068)],o=t[n(2194)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i[n(2194)],d=x[r]=[],s,u=0;u<c;++u)(s=i[u])&&e[n(897)](s,s.__data__,u,i)&&d[n(1465)](s);return new Ln(x,this[n(1916)],this[n(2012)],this._id)}function If(e){const n=a;if(e[n(394)]!==this[n(394)])throw new Error;for(var t=this[n(2068)],o=e._groups,x=t[n(2194)],r=o[n(2194)],i=Math.min(x,r),c=new Array(x),d=0;d<i;++d)for(var s=t[d],u=o[d],f=s[n(2194)],y=c[d]=new Array(f),g,p=0;p<f;++p)(g=s[p]||u[p])&&(y[p]=g);for(;d<x;++d)c[d]=t[d];return new Ln(c,this[n(1916)],this._name,this[n(394)])}function Pf(e){const n=a;return(e+"").trim()[n(1615)](/^|\s+/).every(function(t){const o=n;var x=t[o(419)](".");return x>=0&&(t=t[o(1172)](0,x)),!t||t===o(1989)})}function Af(e,n,t){var o,x,r=Pf(n)?$x:Cn;return function(){const i=_0x4806;var c=r(this,e),d=c.on;d!==o&&(x=(o=d)[i(1955)]()).on(n,t),c.on=x}}function jf(e,n){const t=a;var o=this[t(394)];return arguments[t(2194)]<2?fn(this.node(),o).on.on(e):this[t(1920)](Af(o,e,n))}function Ef(e){return function(){const n=_0x4806;var t=this[n(430)];for(var o in this[n(1457)])if(+o!==e)return;t&&t[n(1331)](this)}}function Yf(){const e=a;return this.on(e(1421),Ef(this[e(394)]))}function Uf(e){const n=a;var t=this[n(2012)],o=this._id;typeof e!==n(1154)&&(e=Gx(e));for(var x=this._groups,r=x[n(2194)],i=new Array(r),c=0;c<r;++c)for(var d=x[c],s=d[n(2194)],u=i[c]=new Array(s),f,y,g=0;g<s;++g)(f=d[g])&&(y=e[n(897)](f,f[n(1843)],g,d))&&("__data__"in f&&(y[n(1843)]=f.__data__),u[g]=y,H0(u[g],t,o,g,u,fn(f,o)));return new Ln(i,this[n(1916)],t,o)}function Gf(e){const n=a;var t=this._name,o=this[n(394)];typeof e!="function"&&(e=Jr(e));for(var x=this[n(2068)],r=x[n(2194)],i=[],c=[],d=0;d<r;++d)for(var s=x[d],u=s[n(2194)],f,y=0;y<u;++y)if(f=s[y]){for(var g=e[n(897)](f,f.__data__,y,s),p,h=fn(f,o),b=0,M=g[n(2194)];b<M;++b)(p=g[b])&&H0(p,t,o,b,g,h);i[n(1465)](g),c[n(1465)](f)}return new Ln(i,c,t,o)}var Of=Ut[a(1201)][a(1975)];function Hf(){const e=a;return new Of(this[e(2068)],this[e(1916)])}function Tf(e,n){var t,o,x;return function(){const r=_0x4806;var i=ut(this,e),c=(this[r(1346)][r(1058)](e),ut(this,e));return i===c?null:i===t&&c===o?x:x=n(t=i,o=c)}}function ji(e){return function(){const n=_0x4806;this[n(1346)][n(1058)](e)}}function Vf(e,n,t){var o,x=t+"",r;return function(){var i=ut(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function qf(e,n,t){var o,x,r;return function(){const i=_0x4806;var c=ut(this,e),d=t(this),s=d+"";return d==null&&(s=d=(this.style[i(1058)](e),ut(this,e))),c===s?null:c===o&&s===x?r:(x=s,r=n(o=c,d))}}function Wf(e,n){const t=a;var o,x,r,i=t(1720)+n,c=t(1533)+i,d;return function(){const s=t;var u=Cn(this,e),f=u.on,y=u.value[i]==null?d||(d=ji(n)):void 0;(f!==o||r!==y)&&(x=(o=f)[s(1955)]()).on(c,r=y),u.on=x}}function Xf(e,n,t){const o=a;var x=(e+="")=="transform"?Xu:Ai;return n==null?this[o(684)](e,Tf(e,x)).on(o(1643)+e,ji(e)):typeof n===o(1154)?this[o(684)](e,qf(e,x,eo(this,o(1720)+e,n)))[o(1920)](Wf(this[o(394)],e)):this[o(684)](e,Vf(e,x,n),t).on(o(1643)+e,null)}function Kf(e,n,t){return function(o){const x=_0x4806;this[x(1346)][x(834)](e,n[x(897)](this,o),t)}}function Zf(e,n,t){const o=a;var x,r;function i(){var d=n[_0x4806(1241)](this,arguments);return d!==r&&(x=(r=d)&&Kf(e,d,t)),x}return i[o(1479)]=n,i}function Rf(e,n,t){const o=a;var x=o(1720)+(e+="");if(arguments.length<2)return(x=this.tween(x))&&x[o(1479)];if(n==null)return this[o(2076)](x,null);if(typeof n!==o(1154))throw new Error;return this.tween(x,Zf(e,n,t??""))}function Jf(e){return function(){const n=_0x4806;this[n(1800)]=e}}function _f(e){return function(){const n=_0x4806;var t=e(this);this[n(1800)]=t??""}}function Ff(e){const n=a;return this[n(2076)](n(1755),typeof e=="function"?_f(eo(this,"text",e)):Jf(e==null?"":e+""))}function Qf(e){return function(n){const t=_0x4806;this[t(1800)]=e.call(this,n)}}function $f(e){const n=a;var t,o;function x(){var i=e[_0x4806(1241)](this,arguments);return i!==o&&(t=(o=i)&&Qf(i)),t}return x[n(1479)]=e,x}function e2(e){const n=a;var t=n(1755);if(arguments[n(2194)]<1)return(t=this.tween(t))&&t[n(1479)];if(e==null)return this[n(2076)](t,null);if(typeof e!="function")throw new Error;return this[n(2076)](t,$f(e))}function n2(){const e=a;for(var n=this[e(2012)],t=this[e(394)],o=Ei(),x=this[e(2068)],r=x[e(2194)],i=0;i<r;++i)for(var c=x[i],d=c[e(2194)],s,u=0;u<d;++u)if(s=c[u]){var f=fn(s,t);H0(s,n,o,u,c,{time:f.time+f[e(1725)]+f[e(2056)],delay:0,duration:f[e(2056)],ease:f[e(2044)]})}return new Ln(x,this[e(1916)],n,o)}function t2(){const e=a;var n,t,o=this,x=o[e(394)],r=o[e(1705)]();return new Promise(function(i,c){const d=e;var s={value:c},u={value:function(){--r===0&&i()}};o[d(1920)](function(){const f=d;var y=Cn(this,x),g=y.on;g!==n&&(t=(n=g).copy(),t._.cancel.push(s),t._.interrupt[f(1465)](s),t._.end[f(1465)](u)),y.on=t}),r===0&&i()})}var x2=0;function Ln(e,n,t,o){const x=a;this[x(2068)]=e,this[x(1916)]=n,this[x(2012)]=t,this[x(394)]=o}function Ei(){return++x2}var Nn=Ut[a(1201)];Ln[a(1201)]={constructor:Ln,select:Uf,selectAll:Gf,selectChild:Nn[a(1285)],selectChildren:Nn[a(459)],filter:kf,merge:If,selection:Hf,transition:n2,call:Nn[a(897)],nodes:Nn[a(1361)],node:Nn[a(1997)],size:Nn[a(1705)],empty:Nn[a(1944)],each:Nn[a(1920)],on:jf,attr:hf,attrTween:vf,style:Xf,styleTween:Rf,text:Ff,textTween:e2,remove:Yf,tween:cf,delay:zf,duration:Bf,ease:Lf,easeVarying:Sf,end:t2,[Symbol[a(2104)]]:Nn[Symbol[a(2104)]]};function o2(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var r2={time:null,delay:0,duration:250,ease:o2};function i2(e,n){const t=a;for(var o;!(o=e.__transition)||!(o=o[n]);)if(!(e=e.parentNode))throw new Error("transition "+n+t(1490));return o}function c2(e){const n=a;var t,o;e instanceof Ln?(t=e[n(394)],e=e[n(2012)]):(t=Ei(),(o=r2)[n(1303)]=Jx(),e=e==null?null:e+"");for(var x=this[n(2068)],r=x[n(2194)],i=0;i<r;++i)for(var c=x[i],d=c[n(2194)],s,u=0;u<d;++u)(s=c[u])&&H0(s,e,t,u,c,o||i2(s,t));return new Ln(x,this[n(1916)],e,t)}Ut[a(1201)].interrupt=xf,Ut[a(1201)][a(1244)]=c2;const V0=e=>()=>e;function a2(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object[a(703)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:x}})}function Sn(e,n,t){this.k=e,this.x=n,this.y=t}Sn[a(1201)]={constructor:Sn,scale:function(e){return e===1?this:new Sn(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new Sn(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){const n=a;return e[n(1955)]()[n(1614)](e.range()[n(542)](this[n(2064)],this)[n(542)](e[n(679)],e))},rescaleY:function(e){const n=a;return e[n(1955)]()[n(1614)](e[n(597)]()[n(542)](this[n(1163)],this)[n(542)](e.invert,e))},toString:function(){const e=a;return e(389)+this.x+","+this.y+e(1133)+this.k+")"}};var q0=new Sn(1,0,0);Yi[a(1201)]=Sn[a(1201)];function Yi(e){const n=a;for(;!e[n(1478)];)if(!(e=e.parentNode))return q0;return e[n(1478)]}function no(e){e.stopImmediatePropagation()}function Zt(e){const n=a;e[n(1923)](),e[n(1006)]()}function s2(e){const n=a;return(!e.ctrlKey||e[n(1424)]==="wheel")&&!e[n(772)]}function l2(){const e=a;var n=this;return n instanceof SVGElement?(n=n[e(1566)]||n,n[e(1068)](e(2102))?(n=n[e(2102)][e(1462)],[[n.x,n.y],[n.x+n[e(1238)],n.y+n[e(1265)]]]):[[0,0],[n[e(1238)][e(1462)][e(1981)],n[e(1265)][e(1462)][e(1981)]]]):[[0,0],[n.clientWidth,n[e(1855)]]]}function Ui(){return this[a(1478)]||q0}function d2(e){const n=a;return-e.deltaY*(e[n(2019)]===1?.05:e.deltaMode?1:.002)*(e[n(569)]?10:1)}function u2(){const e=a;return navigator[e(563)]||e(2157)in this}function f2(e,n,t){const o=a;var x=e[o(2064)](n[0][0])-t[0][0],r=e[o(2064)](n[1][0])-t[1][0],i=e[o(1163)](n[0][1])-t[0][1],c=e[o(1163)](n[1][1])-t[1][1];return e[o(1273)](r>x?(x+r)/2:Math[o(831)](0,x)||Math[o(1439)](0,r),c>i?(i+c)/2:Math.min(0,i)||Math[o(1439)](0,c))}function Gi(){const e=a;var n=s2,t=l2,o=f2,x=d2,r=u2,i=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,s=A0,u=z0(e(1989),e(1386),e(412)),f,y,g,p=500,h=150,b=0,M=10;function v(N){const D=e;N[D(1665)](D(1478),Ui).on("wheel.zoom",j,{passive:!1}).on(D(1404),A).on(D(977),Z).filter(r).on(D(1930),W).on(D(1677),q).on(D(1817),T)[D(1346)]("-webkit-tap-highlight-color",D(1166))}v[e(1130)]=function(N,D,L,U){const P=e;var S=N[P(1032)]?N[P(1032)]():N;S.property(P(1478),Ui),N!==S?k(N,D,L,U):S[P(1999)]()[P(1920)](function(){const K=P;O(this,arguments)[K(1248)](U).start()[K(1386)](null,typeof D===K(1154)?D.apply(this,arguments):D)[K(412)]()})},v.scaleBy=function(N,D,L,U){const P=e;v[P(494)](N,function(){const S=P;var K=this[S(1478)].k,Q=typeof D===S(1154)?D[S(1241)](this,arguments):D;return K*Q},L,U)},v[e(494)]=function(N,D,L,U){v.transform(N,function(){const P=_0x4806;var S=t.apply(this,arguments),K=this[P(1478)],Q=L==null?C(S):typeof L===P(1154)?L.apply(this,arguments):L,R=K[P(679)](Q),$=typeof D===P(1154)?D[P(1241)](this,arguments):D;return o(w(m(K,$),Q,R),S,c)},L,U)},v[e(817)]=function(N,D,L,U){const P=e;v[P(1130)](N,function(){const S=P;return o(this.__zoom.translate(typeof D===S(1154)?D[S(1241)](this,arguments):D,typeof L===S(1154)?L[S(1241)](this,arguments):L),t.apply(this,arguments),c)},null,U)},v[e(1374)]=function(N,D,L,U,P){const S=e;v[S(1130)](N,function(){const K=S;var Q=t[K(1241)](this,arguments),R=this.__zoom,$=U==null?C(Q):typeof U=="function"?U[K(1241)](this,arguments):U;return o(q0[K(1273)]($[0],$[1])[K(476)](R.k).translate(typeof D=="function"?-D[K(1241)](this,arguments):-D,typeof L===K(1154)?-L[K(1241)](this,arguments):-L),Q,c)},U,P)};function m(N,D){const L=e;return D=Math[L(1439)](i[0],Math[L(831)](i[1],D)),D===N.k?N:new Sn(D,N.x,N.y)}function w(N,D,L){var U=D[0]-L[0]*N.k,P=D[1]-L[1]*N.k;return U===N.x&&P===N.y?N:new Sn(N.k,U,P)}function C(N){return[(+N[0][0]+ +N[1][0])/2,(+N[0][1]+ +N[1][1])/2]}function k(N,D,L,U){const P=e;N.on("start.zoom",function(){const S=_0x4806;O(this,arguments)[S(1248)](U)[S(1989)]()}).on(P(1813),function(){const S=P;O(this,arguments)[S(1248)](U)[S(412)]()}).tween(P(1386),function(){const S=P;var K=this,Q=arguments,R=O(K,Q)[S(1248)](U),$=t[S(1241)](K,Q),xe=L==null?C($):typeof L=="function"?L.apply(K,Q):L,ce=Math[S(1439)]($[1][0]-$[0][0],$[1][1]-$[0][1]),de=K[S(1478)],fe=typeof D===S(1154)?D[S(1241)](K,Q):D,ie=s(de[S(679)](xe)[S(905)](ce/de.k),fe[S(679)](xe)[S(905)](ce/fe.k));return function(J){const re=S;if(J===1)J=fe;else{var _=ie(J),I=ce/_[2];J=new Sn(I,xe[0]-_[0]*I,xe[1]-_[1]*I)}R[re(1386)](null,J)}})}function O(N,D,L){return!L&&N.__zooming||new G(N,D)}function G(N,D){const L=e;this[L(1958)]=N,this.args=D,this[L(683)]=0,this[L(652)]=null,this[L(1743)]=t.apply(N,D),this.taps=0}G.prototype={event:function(N){const D=e;return N&&(this[D(652)]=N),this},start:function(){const N=e;return++this[N(683)]===1&&(this.that[N(967)]=this,this[N(1685)](N(1989))),this},zoom:function(N,D){const L=e;return this[L(1085)]&&N!=="mouse"&&(this[L(1085)][1]=D.invert(this[L(1085)][0])),this[L(685)]&&N!==L(1888)&&(this[L(685)][1]=D.invert(this[L(685)][0])),this.touch1&&N!=="touch"&&(this[L(1619)][1]=D[L(679)](this.touch1[0])),this[L(1958)].__zoom=D,this.emit(L(1386)),this},end:function(){const N=e;return--this.active===0&&(delete this[N(1958)][N(967)],this[N(1685)](N(412))),this},emit:function(N){const D=e;var L=en(this[D(1958)])[D(1987)]();u[D(897)](N,this[D(1958)],new a2(N,{sourceEvent:this[D(652)],target:v,transform:this[D(1958)][D(1478)],dispatch:u}),L)}};function j(N,...D){const L=e;if(!n.apply(this,arguments))return;var U=O(this,D)[L(1248)](N),P=this.__zoom,S=Math[L(1439)](i[0],Math.min(i[1],P.k*Math.pow(2,x[L(1241)](this,arguments)))),K=dn(N);if(U.wheel)(U[L(1085)][0][0]!==K[0]||U[L(1085)][0][1]!==K[1])&&(U[L(1085)][1]=P[L(679)](U[L(1085)][0]=K)),clearTimeout(U[L(554)]);else{if(P.k===S)return;U[L(1085)]=[K,P[L(679)](K)],T0(this),U[L(1989)]()}Zt(N),U[L(554)]=setTimeout(Q,h),U[L(1386)]("mouse",o(w(m(P,S),U.mouse[0],U[L(1085)][1]),U.extent,c));function Q(){const R=L;U[R(554)]=null,U[R(412)]()}}function A(N,...D){const L=e;if(g||!n.apply(this,arguments))return;var U=N[L(1153)],P=O(this,D,!0)[L(1248)](N),S=en(N.view).on(L(1443),$,!0).on(L(1042),xe,!0),K=dn(N,U),Q=N[L(1569)],R=N.clientY;ii(N[L(892)]),no(N),P.mouse=[K,this.__zoom.invert(K)],T0(this),P[L(1989)]();function $(ce){const de=L;if(Zt(ce),!P[de(1281)]){var fe=ce[de(1569)]-Q,ie=ce.clientY-R;P[de(1281)]=fe*fe+ie*ie>b}P[de(1248)](ce).zoom(de(1085),o(w(P.that.__zoom,P[de(1085)][0]=dn(ce,U),P[de(1085)][1]),P.extent,c))}function xe(ce){const de=L;S.on("mousemove.zoom mouseup.zoom",null),ci(ce[de(892)],P[de(1281)]),Zt(ce),P[de(1248)](ce)[de(412)]()}}function Z(N,...D){const L=e;if(n.apply(this,arguments)){var U=this.__zoom,P=dn(N.changedTouches?N[L(1065)][0]:N,this),S=U[L(679)](P),K=U.k*(N.shiftKey?.5:2),Q=o(w(m(U,K),P,S),t[L(1241)](this,D),c);Zt(N),d>0?en(this)[L(1244)]().duration(d)[L(897)](k,Q,P,N):en(this)[L(897)](v[L(1130)],Q,P,N)}}function W(N,...D){const L=e;if(n[L(1241)](this,arguments)){var U=N[L(374)],P=U[L(2194)],S=O(this,D,N[L(1065)].length===P)[L(1248)](N),K,Q,R,$;for(no(N),Q=0;Q<P;++Q)R=U[Q],$=dn(R,this),$=[$,this.__zoom.invert($),R[L(1223)]],S[L(685)]?!S[L(1619)]&&S[L(685)][2]!==$[2]&&(S[L(1619)]=$,S.taps=0):(S[L(685)]=$,K=!0,S[L(618)]=1+!!f);f&&(f=clearTimeout(f)),K&&(S.taps<2&&(y=$[0],f=setTimeout(function(){f=null},p)),T0(this),S[L(1989)]())}}function q(N,...D){const L=e;if(this[L(967)]){var U=O(this,D)[L(1248)](N),P=N[L(1065)],S=P.length,K,Q,R,$;for(Zt(N),K=0;K<S;++K)Q=P[K],R=dn(Q,this),U[L(685)]&&U.touch0[2]===Q[L(1223)]?U[L(685)][0]=R:U.touch1&&U[L(1619)][2]===Q[L(1223)]&&(U[L(1619)][0]=R);if(Q=U[L(1958)][L(1478)],U[L(1619)]){var xe=U.touch0[0],ce=U[L(685)][1],de=U[L(1619)][0],fe=U[L(1619)][1],ie=(ie=de[0]-xe[0])*ie+(ie=de[1]-xe[1])*ie,J=(J=fe[0]-ce[0])*J+(J=fe[1]-ce[1])*J;Q=m(Q,Math[L(807)](ie/J)),R=[(xe[0]+de[0])/2,(xe[1]+de[1])/2],$=[(ce[0]+fe[0])/2,(ce[1]+fe[1])/2]}else if(U[L(685)])R=U[L(685)][0],$=U[L(685)][1];else return;U.zoom(L(1888),o(w(Q,R,$),U[L(1743)],c))}}function T(N,...D){const L=e;if(this[L(967)]){var U=O(this,D)[L(1248)](N),P=N.changedTouches,S=P[L(2194)],K,Q;for(no(N),g&&clearTimeout(g),g=setTimeout(function(){g=null},p),K=0;K<S;++K)Q=P[K],U[L(685)]&&U[L(685)][2]===Q[L(1223)]?delete U[L(685)]:U[L(1619)]&&U[L(1619)][2]===Q.identifier&&delete U.touch1;if(U[L(1619)]&&!U[L(685)]&&(U[L(685)]=U.touch1,delete U[L(1619)]),U[L(685)])U.touch0[1]=this[L(1478)][L(679)](U.touch0[0]);else if(U[L(412)](),U[L(618)]===2&&(Q=dn(Q,this),Math[L(2059)](y[0]-Q[0],y[1]-Q[1])<M)){var R=en(this).on(L(977));R&&R.apply(this,arguments)}}}return v[e(1660)]=function(N){const D=e;return arguments.length?(x=typeof N===D(1154)?N:V0(+N),v):x},v.filter=function(N){const D=e;return arguments[D(2194)]?(n=typeof N===D(1154)?N:V0(!!N),v):n},v[e(1874)]=function(N){const D=e;return arguments[D(2194)]?(r=typeof N===D(1154)?N:V0(!!N),v):r},v[e(1743)]=function(N){return arguments[e(2194)]?(t=typeof N=="function"?N:V0([[+N[0][0],+N[0][1]],[+N[1][0],+N[1][1]]]),v):t},v[e(1383)]=function(N){return arguments[e(2194)]?(i[0]=+N[0],i[1]=+N[1],v):[i[0],i[1]]},v[e(1038)]=function(N){return arguments[e(2194)]?(c[0][0]=+N[0][0],c[1][0]=+N[1][0],c[0][1]=+N[0][1],c[1][1]=+N[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v[e(1612)]=function(N){return arguments.length?(o=N,v):o},v.duration=function(N){return arguments[e(2194)]?(d=+N,v):d},v[e(2172)]=function(N){return arguments[e(2194)]?(s=N,v):s},v.on=function(){const N=e;var D=u.on[N(1241)](u,arguments);return D===u?v:D},v.clickDistance=function(N){return arguments.length?(b=(N=+N)*N,v):Math.sqrt(b)},v[e(1617)]=function(N){return arguments.length?(M=+N,v):M},v}const nn={error001:()=>a(2136),error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>a(463)+e+a(1973),error004:()=>a(1434),error005:()=>a(1177),error006:()=>a(1345),error007:e=>a(966)+e+a(1603),error009:e=>a(728)+e+`" doesn't exist.`,error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>a(474)+e+a(823)+(e===a(964)?t:o)+a(1693)+n+".",error010:()=>a(1480),error011:e=>'Edge type "'+e+a(1973),error012:e=>'Node with id "'+e+a(1388),error013:(e="react")=>a(1150)+e+a(1486),error014:()=>a(747),error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},Rt=[[Number[a(670)],Number[a(670)]],[Number[a(2146)],Number[a(2146)]]],Oi=[a(495)," ","Escape"],Hi={"node.a11yDescription.default":a(1791),"node.a11yDescription.keyboardDisabled":a(2128),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>a(1399)+e+a(1954)+n+", y: "+t,"edge.a11yDescription.default":a(1456),"controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":a(1184),"controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":a(1326),"controls.interactive.ariaLabel":a(1786),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":a(1222)};var yt;(function(e){const n=a;e[n(786)]="strict",e[n(958)]=n(2142)})(yt||(yt={}));var Fn;(function(e){const n=a;e[n(1100)]=n(740),e[n(997)]=n(609),e[n(895)]=n(417)})(Fn||(Fn={}));var Jt;(function(e){const n=a;e[n(1352)]=n(2148),e[n(485)]="full"})(Jt||(Jt={}));const Ti={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var En;(function(e){const n=a;e.Bezier=n(1582),e.Straight="straight",e[n(1914)]=n(2124),e[n(1852)]=n(1864),e[n(1392)]=n(2004)})(En||(En={}));var W0;(function(e){const n=a;e[n(1095)]="arrow",e[n(1e3)]=n(2094)})(W0||(W0={}));var he;(function(e){const n=a;e[n(1010)]=n(1557),e[n(1481)]="top",e[n(1158)]=n(1476),e[n(693)]="bottom"})(he||(he={}));const Vi={[he[a(1010)]]:he.Right,[he.Right]:he.Left,[he[a(1481)]]:he[a(693)],[he[a(693)]]:he[a(1481)]};function qi(e){return e===null?null:e?"valid":a(1191)}const Wi=e=>"id"in e&&"source"in e&&"target"in e,h2=e=>"id"in e&&a(1543)in e&&!("source"in e)&&!(a(603)in e),to=e=>"id"in e&&"internals"in e&&!(a(964)in e)&&!(a(603)in e),_t=(e,n=[0,0])=>{const t=a,{width:o,height:x}=kn(e),r=e[t(870)]??n,i=o*r[0],c=x*r[1];return{x:e.position.x-i,y:e[t(1543)].y-c}},g2=(e,n={nodeOrigin:[0,0]})=>{const t=a;if(process.env.NODE_ENV==="development"&&!n[t(750)]&&console[t(656)](t(2018)),e[t(2194)]===0)return{x:0,y:0,width:0,height:0};const o=e.reduce((x,r)=>{const i=t,c=typeof r===i(774);let d=!n[i(750)]&&!c?r:void 0;n[i(750)]&&(d=c?n[i(750)][i(1157)](r):to(r)?r:n.nodeLookup[i(1157)](r.id));const s=d?Z0(d,n.nodeOrigin):{x:0,y:0,x2:0,y2:0};return X0(x,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return K0(o)},Ft=(e,n={})=>{const t=a;let o={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e[t(1369)](r=>{(n[t(1641)]===void 0||n.filter(r))&&(o=X0(o,Z0(r)),x=!0)}),x?K0(o):{x:0,y:0,width:0,height:0}},xo=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const c=a,d={...e0(n,[t,o,x]),width:n[c(1238)]/x,height:n[c(1265)]/x},s=[];for(const u of e[c(1534)]()){const{measured:f,selectable:y=!0,hidden:g=!1}=u;if(i&&!y||g)continue;const p=f[c(1238)]??u.width??u[c(1350)]??null,h=f[c(1265)]??u[c(1265)]??u.initialHeight??null,b=Qt(d,wt(u)),M=(p??0)*(h??0),v=r&&b>0;(!u[c(380)][c(2091)]||v||b>=M||u[c(562)])&&s[c(1465)](u)}return s},y2=(e,n)=>{const t=a,o=new Set;return e[t(1369)](x=>{o[t(1757)](x.id)}),n[t(1641)](x=>o[t(1826)](x.source)||o[t(1826)](x[t(603)]))};function m2(e,n){const t=a,o=new Map,x=n?.[t(1361)]?new Set(n[t(1361)].map(r=>r.id)):null;return e[t(1369)](r=>{const i=t;r.measured.width&&r[i(1583)][i(1265)]&&(n?.[i(1140)]||!r[i(1821)])&&(!x||x.has(r.id))&&o.set(r.id,r)}),o}async function w2({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const c=a;if(e[c(1705)]===0)return Promise[c(2192)](!0);const d=m2(e,i),s=Ft(d),u=ro(s,n,t,i?.[c(781)]??x,i?.[c(640)]??r,i?.[c(524)]??.1);return await o[c(1659)](u,{duration:i?.[c(2056)],ease:i?.[c(2044)],interpolate:i?.[c(2172)]}),Promise[c(2192)](!0)}function Xi({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=a,c=t[i(1157)](e),d=c[i(890)]?t[i(1157)](c.parentId):void 0,{x:s,y:u}=d?d[i(380)][i(2107)]:{x:0,y:0},f=c[i(870)]??o;let y=c[i(1743)]||x;if(c[i(1743)]===i(1824)&&!c[i(1714)])if(!d)r?.(i(1525),nn.error005());else{const p=d[i(1583)][i(1238)],h=d.measured.height;p&&h&&(y=[[s,u],[s+p,u+h]])}else d&&pt(c[i(1743)])&&(y=[[c[i(1743)][0][0]+s,c[i(1743)][0][1]+u],[c.extent[1][0]+s,c[i(1743)][1][1]+u]]);const g=pt(y)?Qn(n,y,c[i(1583)]):n;return(c[i(1583)].width===void 0||c[i(1583)][i(1265)]===void 0)&&r?.("015",nn[i(1718)]()),{position:{x:g.x-s+(c[i(1583)][i(1238)]??0)*f[0],y:g.y-u+(c[i(1583)][i(1265)]??0)*f[1]},positionAbsolute:g}}async function v2({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=a,i=new Set(e[r(542)](g=>g.id)),c=[];for(const g of t){if(g.deletable===!1)continue;const p=i[r(1826)](g.id),h=!p&&g.parentId&&c.find(b=>b.id===g[r(890)]);(p||h)&&c.push(g)}const d=new Set(n[r(542)](g=>g.id)),s=o[r(1641)](g=>g[r(2002)]!==!1),u=y2(c,s),f=u;for(const g of s)d.has(g.id)&&!f[r(1876)](h=>h.id===g.id)&&f.push(g);if(!x)return{edges:f,nodes:c};const y=await x({nodes:c,edges:f});return typeof y===r(1274)?y?{edges:f,nodes:c}:{edges:[],nodes:[]}:y}const mt=(e,n=0,t=1)=>Math[a(831)](Math[a(1439)](e,n),t),Qn=(e={x:0,y:0},n,t)=>({x:mt(e.x,n[0][0],n[1][0]-(t?.[a(1238)]??0)),y:mt(e.y,n[0][1],n[1][1]-(t?.[a(1265)]??0))});function Ki(e,n,t){const o=a,{width:x,height:r}=kn(t),{x:i,y:c}=t[o(380)][o(2107)];return Qn(e,[[i,c],[i+x,c+r]],n)}const Zi=(e,n,t)=>{const o=a;return e<n?mt(Math[o(1018)](e-n),1,n)/n:e>t?-mt(Math.abs(e-t),1,n)/n:0},Ri=(e,n,t=15,o=40)=>{const x=a,r=Zi(e.x,o,n[x(1238)]-o)*t,i=Zi(e.y,o,n.height-o)*t;return[r,i]},X0=(e,n)=>({x:Math[a(831)](e.x,n.x),y:Math.min(e.y,n.y),x2:Math[a(1439)](e.x2,n.x2),y2:Math[a(1439)](e.y2,n.y2)}),oo=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),K0=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),wt=(e,n=[0,0])=>{const t=a,{x:o,y:x}=to(e)?e[t(380)][t(2107)]:_t(e,n);return{x:o,y:x,width:e[t(1583)]?.[t(1238)]??e[t(1238)]??e.initialWidth??0,height:e[t(1583)]?.[t(1265)]??e[t(1265)]??e.initialHeight??0}},Z0=(e,n=[0,0])=>{const t=a,{x:o,y:x}=to(e)?e[t(380)][t(2107)]:_t(e,n);return{x:o,y:x,x2:o+(e.measured?.width??e[t(1238)]??e.initialWidth??0),y2:x+(e[t(1583)]?.[t(1265)]??e[t(1265)]??e.initialHeight??0)}},Ji=(e,n)=>K0(X0(oo(e),oo(n))),Qt=(e,n)=>{const t=a,o=Math[t(1439)](0,Math.min(e.x+e[t(1238)],n.x+n[t(1238)])-Math[t(1439)](e.x,n.x)),x=Math[t(1439)](0,Math.min(e.y+e[t(1265)],n.y+n[t(1265)])-Math.max(e.y,n.y));return Math[t(930)](o*x)},_i=e=>hn(e[a(1238)])&&hn(e[a(1265)])&&hn(e.x)&&hn(e.y),hn=e=>!isNaN(e)&&isFinite(e),Fi=(e,n)=>{const t=a;process.env.NODE_ENV==="development"&&console[t(656)](t(761)+n+t(1428)+e)},$t=(e,n=[1,1])=>{const t=a;return{x:n[0]*Math[t(723)](e.x/n[0]),y:n[1]*Math[t(723)](e.y/n[1])}},e0=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const c={x:(e-t)/x,y:(n-o)/x};return r?$t(c,i):c},R0=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function vt(e,n){const t=a;if(typeof e===t(411))return Math[t(621)]((n-n/(1+e))*.5);if(typeof e===t(774)&&e.endsWith("px")){const o=parseFloat(e);if(!Number[t(1727)](o))return Math[t(621)](o)}if(typeof e=="string"&&e[t(1716)]("%")){const o=parseFloat(e);if(!Number.isNaN(o))return Math[t(621)](n*o*.01)}return console[t(551)](t(796)+e+'" is invalid. Please provide a number or a string with a valid unit (px or %).'),0}function p2(e,n,t){const o=a;if(typeof e===o(774)||typeof e===o(411)){const x=vt(e,t),r=vt(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e===o(2171)){const x=vt(e[o(1413)]??e.y??0,t),r=vt(e[o(808)]??e.y??0,t),i=vt(e.left??e.x??0,n),c=vt(e[o(1476)]??e.x??0,n);return{top:x,right:c,bottom:r,left:i,x:i+c,y:x+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function b2(e,n,t,o,x,r){const i=a,{x:c,y:d}=R0(e,[n,t,o]),{x:s,y:u}=R0({x:e.x+e.width,y:e.y+e[i(1265)]},[n,t,o]),f=x-s,y=r-u;return{left:Math.floor(c),top:Math[i(621)](d),right:Math.floor(f),bottom:Math[i(621)](y)}}const ro=(e,n,t,o,x,r)=>{const i=a,c=p2(r,n,t),d=(n-c.x)/e.width,s=(t-c.y)/e[i(1265)],u=Math[i(831)](d,s),f=mt(u,o,x),y=e.x+e[i(1238)]/2,g=e.y+e[i(1265)]/2,p=n/2-y*f,h=t/2-g*f,b=b2(e,p,h,f,n,t),M={left:Math[i(831)](b[i(1557)]-c.left,0),top:Math[i(831)](b[i(1413)]-c.top,0),right:Math[i(831)](b.right-c[i(1476)],0),bottom:Math[i(831)](b.bottom-c[i(808)],0)};return{x:p-M[i(1557)]+M[i(1476)],y:h-M.top+M[i(808)],zoom:f}},n0=()=>typeof navigator!==a(1202)&&navigator?.[a(894)]?.[a(419)]("Mac")>=0;function pt(e){const n=a;return e!=null&&e!==n(1824)}function kn(e){const n=a;return{width:e.measured?.[n(1238)]??e.width??e[n(1350)]??0,height:e[n(1583)]?.height??e[n(1265)]??e[n(883)]??0}}function Qi(e){const n=a;return(e[n(1583)]?.width??e[n(1238)]??e[n(1350)])!==void 0&&(e[n(1583)]?.[n(1265)]??e.height??e[n(883)])!==void 0}function $i(e,n={width:0,height:0},t,o,x){const r=a,i={...e},c=o.get(t);if(c){const d=c[r(870)]||x;i.x+=c[r(380)][r(2107)].x-(n[r(1238)]??0)*d[0],i.y+=c[r(380)][r(2107)].y-(n[r(1265)]??0)*d[1]}return i}function ec(e,n){const t=a;if(e[t(1705)]!==n[t(1705)])return!1;for(const o of e)if(!n[t(1826)](o))return!1;return!0}function z2(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function C2(e){return{...Hi,...e||{}}}function t0(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=a,{x:i,y:c}=gn(e),d=e0({x:i-(x?.[r(1557)]??0),y:c-(x?.[r(1413)]??0)},o),{x:s,y:u}=t?$t(d,n):d;return{xSnapped:s,ySnapped:u,...d}}const io=e=>({width:e[a(2200)],height:e[a(2020)]}),nc=e=>e?.getRootNode?.()||window?.[a(1644)],M2=["INPUT",a(1729),a(982)];function tc(e){const n=a,t=e[n(726)]?.()?.[0]||e[n(603)];return t?.nodeType!==1?!1:M2[n(911)](t[n(1527)])||t[n(1068)](n(1298))||!!t.closest(".nokey")}const xc=e=>a(1569)in e,gn=(e,n)=>{const t=a,o=xc(e),x=o?e[t(1569)]:e[t(374)]?.[0].clientX,r=o?e[t(1947)]:e[t(374)]?.[0][t(1947)];return{x:x-(n?.[t(1557)]??0),y:r-(n?.top??0)}},oc=(e,n,t,o,x)=>{const r=a,i=n[r(409)]("."+e);return!i||!i[r(2194)]?null:Array[r(1139)](i).map(c=>{const d=r,s=c[d(1761)]();return{id:c[d(527)](d(1411)),type:e,nodeId:x,position:c[d(527)](d(1726)),x:(s.left-t[d(1557)])/o,y:(s.top-t.top)/o,...io(c)}})};function rc({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:c}){const d=a,s=e*.125+x*.375+i*.375+t*.125,u=n*.125+r*.375+c*.375+o*.125,f=Math.abs(s-e),y=Math[d(1018)](u-n);return[s,u,f,y]}function J0(e,n){return e>=0?.5*e:n*25*Math.sqrt(-e)}function ic({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=a;switch(e){case he.Left:return[n-J0(n-o,r),t];case he[i(1158)]:return[n+J0(o-n,r),t];case he[i(1481)]:return[n,t-J0(t-x,r)];case he[i(693)]:return[n,t+J0(x-t,r)]}}function cc({sourceX:e,sourceY:n,sourcePosition:t=he[a(693)],targetX:o,targetY:x,targetPosition:r=he[a(1481)],curvature:i=.25}){const[c,d]=ic({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[s,u]=ic({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,y,g,p]=rc({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:c,sourceControlY:d,targetControlX:s,targetControlY:u});return["M"+e+","+n+" C"+c+","+d+" "+s+","+u+" "+o+","+x,f,y,g,p]}function ac({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=a,r=Math.abs(t-e)/2,i=t<e?t+r:t-r,c=Math[x(1018)](o-n)/2,d=o<n?o+c:o-c;return[i,d,r,c]}function B2({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r="basic"}){const i=a;if(r===i(1011))return o;const c=x&&t?o+1e3:o,d=Math[i(1439)](e[i(890)]||x&&e[i(2178)]?e.internals.z:0,n[i(890)]||x&&n.selected?n.internals.z:0);return c+d}function D2({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=X0(Z0(e),Z0(n));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-x[0]/x[2],y:-x[1]/x[2],width:t/x[2],height:o/x[2]};return Qt(i,K0(r))>0}const L2=({source:e,sourceHandle:n,target:t,targetHandle:o})=>"xy-edge__"+e+(n||"")+"-"+t+(o||""),N2=(e,n)=>{const t=a;return n.some(o=>o[t(964)]===e.source&&o[t(603)]===e[t(603)]&&(o[t(2008)]===e[t(2008)]||!o[t(2008)]&&!e[t(2008)])&&(o[t(2069)]===e[t(2069)]||!o[t(2069)]&&!e[t(2069)]))},sc=(e,n,t={})=>{const o=a;if(!e[o(964)]||!e[o(603)])return Fi("006",nn.error006()),n;const x=t[o(953)]||L2;let r;return Wi(e)?r={...e}:r={...e,id:x(e)},N2(r,n)?n:(r[o(2008)]===null&&delete r[o(2008)],r[o(2069)]===null&&delete r[o(2069)],n[o(905)](r))};function lc({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,c]=ac({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,c]}const dc={[he[a(1010)]]:{x:-1,y:0},[he[a(1158)]]:{x:1,y:0},[he[a(1481)]]:{x:0,y:-1},[he.Bottom]:{x:0,y:1}},S2=({source:e,sourcePosition:n=he.Bottom,target:t})=>n===he.Left||n===he.Right?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1},uc=(e,n)=>Math[a(807)](Math[a(1433)](n.x-e.x,2)+Math[a(1433)](n.y-e.y,2));function k2({source:e,sourcePosition:n=he.Bottom,target:t,targetPosition:o=he.Top,center:x,offset:r,stepPosition:i}){const c=a,d=dc[n],s=dc[o],u={x:e.x+d.x*r,y:e.y+d.y*r},f={x:t.x+s.x*r,y:t.y+s.y*r},y=S2({source:u,sourcePosition:n,target:f}),g=y.x!==0?"x":"y",p=y[g];let h=[],b,M;const v={x:0,y:0},m={x:0,y:0},[,,w,C]=ac({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(d[g]*s[g]===-1){g==="x"?(b=x.x??u.x+(f.x-u.x)*i,M=x.y??(u.y+f.y)/2):(b=x.x??(u.x+f.x)/2,M=x.y??u.y+(f.y-u.y)*i);const j=[{x:b,y:u.y},{x:b,y:f.y}],A=[{x:u.x,y:M},{x:f.x,y:M}];d[g]===p?h=g==="x"?j:A:h=g==="x"?A:j}else{const j=[{x:u.x,y:f.y}],A=[{x:f.x,y:u.y}];if(g==="x"?h=d.x===p?A:j:h=d.y===p?j:A,n===o){const N=Math[c(1018)](e[g]-t[g]);if(N<=r){const D=Math[c(831)](r-1,r-N);d[g]===p?v[g]=(u[g]>e[g]?-1:1)*D:m[g]=(f[g]>t[g]?-1:1)*D}}if(n!==o){const N=g==="x"?"y":"x",D=d[g]===s[N],L=u[N]>f[N],U=u[N]<f[N];(d[g]===1&&(!D&&L||D&&U)||d[g]!==1&&(!D&&U||D&&L))&&(h=g==="x"?j:A)}const Z={x:u.x+v.x,y:u.y+v.y},W={x:f.x+m.x,y:f.y+m.y},q=Math[c(1439)](Math[c(1018)](Z.x-h[0].x),Math.abs(W.x-h[0].x)),T=Math[c(1439)](Math[c(1018)](Z.y-h[0].y),Math[c(1018)](W.y-h[0].y));q>=T?(b=(Z.x+W.x)/2,M=h[0].y):(b=h[0].x,M=(Z.y+W.y)/2)}const k={x:u.x+v.x,y:u.y+v.y},O={x:f.x+m.x,y:f.y+m.y};return[[e,...k.x!==h[0].x||k.y!==h[0].y?[k]:[],...h,...O.x!==h[h[c(2194)]-1].x||O.y!==h[h.length-1].y?[O]:[],t],b,M,w,C]}function I2(e,n,t,o){const x=a,r=Math[x(831)](uc(e,n)/2,uc(n,t)/2,o),{x:i,y:c}=n;if(e.x===i&&i===t.x||e.y===c&&c===t.y)return"L"+i+" "+c;if(e.y===c){const u=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(i+r*u)+","+c+"Q "+i+","+c+" "+i+","+(c+r*f)}const d=e.x<t.x?1:-1,s=e.y<t.y?-1:1;return"L "+i+","+(c+r*s)+"Q "+i+","+c+" "+(i+r*d)+","+c}function co({sourceX:e,sourceY:n,sourcePosition:t=he.Bottom,targetX:o,targetY:x,targetPosition:r=he[a(1481)],borderRadius:i=5,centerX:c,centerY:d,offset:s=20,stepPosition:u=.5}){const f=a,[y,g,p,h,b]=k2({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:c,y:d},offset:s,stepPosition:u});let M="M"+y[0].x+" "+y[0].y;for(let v=1;v<y.length-1;v++)M+=I2(y[v-1],y[v],y[v+1],i);return M+="L"+y[y[f(2194)]-1].x+" "+y[y[f(2194)]-1].y,[M,g,p,h,b]}function fc(e){const n=a;return e&&!!(e[n(380)][n(2091)]||e.handles?.[n(2194)])&&!!(e[n(1583)].width||e.width||e.initialWidth)}function P2(e){const n=a,{sourceNode:t,targetNode:o}=e;if(!fc(t)||!fc(o))return null;const x=t[n(380)][n(2091)]||hc(t[n(852)]),r=o[n(380)].handleBounds||hc(o.handles),i=gc(x?.[n(964)]??[],e[n(2008)]),c=gc(e.connectionMode===yt.Strict?r?.[n(603)]??[]:(r?.target??[])[n(905)](r?.[n(964)]??[]),e.targetHandle);if(!i||!c)return e[n(2133)]?.(n(810),nn.error008(i?"target":n(964),{id:e.id,sourceHandle:e[n(2008)],targetHandle:e[n(2069)]})),null;const d=i?.[n(1543)]||he[n(693)],s=c?.[n(1543)]||he[n(1481)],u=$n(t,i,d),f=$n(o,c,s);return{sourceX:u.x,sourceY:u.y,targetX:f.x,targetY:f.y,sourcePosition:d,targetPosition:s}}function hc(e){const n=a;if(!e)return null;const t=[],o=[];for(const x of e)x[n(1238)]=x[n(1238)]??1,x[n(1265)]=x.height??1,x[n(1424)]===n(964)?t[n(1465)](x):x.type===n(603)&&o[n(1465)](x);return{source:t,target:o}}function $n(e,n,t=he[a(1010)],o=!1){const x=a,r=(n?.x??0)+e[x(380)][x(2107)].x,i=(n?.y??0)+e[x(380)][x(2107)].y,{width:c,height:d}=n??kn(e);if(o)return{x:r+c/2,y:i+d/2};switch(n?.[x(1543)]??t){case he[x(1481)]:return{x:r+c/2,y:i};case he[x(1158)]:return{x:r+c,y:i+d/2};case he[x(693)]:return{x:r+c/2,y:i+d};case he[x(1010)]:return{x:r,y:i+d/2}}}function gc(e,n){const t=a;return e&&(n?e[t(1876)](o=>o.id===n):e[0])||null}function ao(e,n){const t=a;return e?typeof e===t(774)?e:""+(n?n+"__":"")+Object.keys(e)[t(1576)]().map(x=>x+"="+e[x]).join("&"):""}function A2(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=a,i=new Set;return e[r(1606)]((c,d)=>{const s=r;return[d[s(1440)]||o,d[s(573)]||x][s(1369)](u=>{const f=s;if(u&&typeof u===f(2171)){const y=ao(u,n);!i[f(1826)](y)&&(c[f(1465)]({id:y,color:u.color||t,...u}),i[f(1757)](y))}}),c},[])[r(1576)]((c,d)=>c.id[r(1883)](d.id))}const yc=1e3,j2=10,so={nodeOrigin:[0,0],nodeExtent:Rt,elevateNodesOnSelect:!0,zIndexMode:a(1750),defaults:{}},E2={...so,checkEquality:!0};function lo(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function Y2(e,n,t){const o=a,x=lo(so,t);for(const r of e[o(1534)]())if(r[o(890)])ho(r,e,n,x);else{const i=_t(r,x[o(1283)]),c=pt(r.extent)?r.extent:x[o(762)],d=Qn(i,c,kn(r));r[o(380)].positionAbsolute=d}}function U2(e,n){const t=a;if(!e.handles)return e.measured?n?.[t(380)][t(2091)]:void 0;const o=[],x=[];for(const r of e[t(852)]){const i={id:r.id,width:r.width??1,height:r.height??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r[t(1424)]};r[t(1424)]===t(964)?o.push(i):r.type===t(603)&&x.push(i)}return{source:o,target:x}}function uo(e){return e===a(1011)}function fo(e,n,t,o={}){const x=a,r=lo(E2,o),i={i:0},c=new Map(n),d=r?.[x(1051)]&&!uo(r.zIndexMode)?yc:0;let s=e[x(2194)]>0,u=!1;n[x(2016)](),t[x(2016)]();for(const f of e){let y=c[x(1157)](f.id);if(r.checkEquality&&f===y?.[x(380)].userNode)n.set(f.id,y);else{const g=_t(f,r[x(1283)]),p=pt(f.extent)?f[x(1743)]:r[x(762)],h=Qn(g,p,kn(f));y={...r[x(585)],...f,measured:{width:f[x(1583)]?.[x(1238)],height:f[x(1583)]?.[x(1265)]},internals:{positionAbsolute:h,handleBounds:U2(f,y),z:mc(f,d,r[x(2098)]),userNode:f}},n[x(799)](f.id,y)}(y[x(1583)]===void 0||y.measured[x(1238)]===void 0||y[x(1583)][x(1265)]===void 0)&&!y[x(1821)]&&(s=!1),f.parentId&&ho(y,n,t,o,i),u||=f[x(2178)]??!1}return{nodesInitialized:s,hasSelectedNodes:u}}function G2(e,n){const t=a;if(!e[t(890)])return;const o=n[t(1157)](e[t(890)]);o?o[t(799)](e.id,e):n[t(799)](e[t(890)],new Map([[e.id,e]]))}function ho(e,n,t,o,x){const r=a,{elevateNodesOnSelect:i,nodeOrigin:c,nodeExtent:d,zIndexMode:s}=lo(so,o),u=e.parentId,f=n[r(1157)](u);if(!f){console.warn(r(1351)+u+r(1835));return}G2(e,t),x&&!f[r(890)]&&f.internals[r(1751)]===void 0&&s==="auto"&&(f[r(380)][r(1751)]=++x.i,f.internals.z=f[r(380)].z+x.i*j2),x&&f.internals[r(1751)]!==void 0&&(x.i=f[r(380)].rootParentIndex);const y=i&&!uo(s)?yc:0,{x:g,y:p,z:h}=O2(e,f,c,d,y,s),{positionAbsolute:b}=e[r(380)],M=g!==b.x||p!==b.y;(M||h!==e.internals.z)&&n[r(799)](e.id,{...e,internals:{...e[r(380)],positionAbsolute:M?{x:g,y:p}:b,z:h}})}function mc(e,n,t){const o=a,x=hn(e[o(540)])?e[o(540)]:0;return uo(t)?x:x+(e[o(2178)]?n:0)}function O2(e,n,t,o,x,r){const i=a,{x:c,y:d}=n[i(380)][i(2107)],s=kn(e),u=_t(e,t),f=pt(e.extent)?Qn(u,e[i(1743)],s):u;let y=Qn({x:c+f.x,y:d+f.y},o,s);e[i(1743)]===i(1824)&&(y=Ki(y,s,n));const g=mc(e,x,r),p=n[i(380)].z??0;return{x:y.x,y:y.y,z:p>=g?p+1:g}}function go(e,n,t,o=[0,0]){const x=a,r=[],i=new Map;for(const c of e){const d=n.get(c.parentId);if(!d)continue;const s=i[x(1157)](c.parentId)?.[x(729)]??wt(d),u=Ji(s,c[x(885)]);i[x(799)](c[x(890)],{expandedRect:u,parent:d})}return i.size>0&&i[x(1369)](({expandedRect:c,parent:d},s)=>{const u=x,f=d[u(380)][u(2107)],y=kn(d),g=d[u(870)]??o,p=c.x<f.x?Math.round(Math[u(1018)](f.x-c.x)):0,h=c.y<f.y?Math[u(723)](Math.abs(f.y-c.y)):0,b=Math[u(1439)](y[u(1238)],Math.round(c[u(1238)])),M=Math[u(1439)](y[u(1265)],Math.round(c[u(1265)])),v=(b-y[u(1238)])*g[0],m=(M-y[u(1265)])*g[1];(p>0||h>0||v||m)&&(r[u(1465)]({id:s,type:u(1543),position:{x:d.position.x-p+v,y:d[u(1543)].y-h+m}}),t[u(1157)](s)?.forEach(w=>{const C=u;!e[C(1748)](k=>k.id===w.id)&&r[C(1465)]({id:w.id,type:"position",position:{x:w[C(1543)].x+p,y:w[C(1543)].y+h}})})),(y.width<c[u(1238)]||y[u(1265)]<c.height||p||h)&&r.push({id:s,type:u(630),setAttributes:!0,dimensions:{width:b+(p?g[0]*p-v:0),height:M+(h?g[1]*h-m:0)}})}),r}function H2(e,n,t,o,x,r,i){const c=a,d=o?.[c(1542)](c(1030));let s=!1;if(!d)return{changes:[],updatedInternals:s};const u=[],f=window[c(574)](d),{m22:y}=new window[c(1151)](f[c(1130)]),g=[];for(const p of e[c(1534)]()){const h=n[c(1157)](p.id);if(!h)continue;if(h[c(1821)]){n[c(799)](h.id,{...h,internals:{...h[c(380)],handleBounds:void 0}}),s=!0;continue}const b=io(p.nodeElement),M=h.measured.width!==b[c(1238)]||h[c(1583)][c(1265)]!==b[c(1265)];if(!!(b[c(1238)]&&b.height&&(M||!h[c(380)][c(2091)]||p[c(960)]))){const m=p.nodeElement[c(1761)](),w=pt(h[c(1743)])?h[c(1743)]:r;let{positionAbsolute:C}=h.internals;h.parentId&&h[c(1743)]===c(1824)?C=Ki(C,b,n[c(1157)](h[c(890)])):w&&(C=Qn(C,w,b));const k={...h,measured:b,internals:{...h.internals,positionAbsolute:C,handleBounds:{source:oc(c(964),p[c(395)],m,y,h.id),target:oc("target",p[c(395)],m,y,h.id)}}};n.set(h.id,k),h.parentId&&ho(k,n,t,{nodeOrigin:x,zIndexMode:i}),s=!0,M&&(u[c(1465)]({id:h.id,type:"dimensions",dimensions:b}),h.expandParent&&h[c(890)]&&g[c(1465)]({id:h.id,parentId:h.parentId,rect:wt(k,x)}))}}if(g[c(2194)]>0){const p=go(g,n,t,x);u[c(1465)](...p)}return{changes:u,updatedInternals:s}}async function T2({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=a;if(!n||!e.x&&!e.y)return Promise.resolve(!1);const c=await n[i(1117)]({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),d=!!c&&(c.x!==t[0]||c.y!==t[1]||c.k!==t[2]);return Promise[i(2192)](d)}function wc(e,n,t,o,x,r){const i=a;let c=x;const d=o[i(1157)](c)||new Map;o.set(c,d.set(t,n)),c=x+"-"+e;const s=o[i(1157)](c)||new Map;if(o[i(799)](c,s[i(799)](t,n)),r){c=x+"-"+e+"-"+r;const u=o[i(1157)](c)||new Map;o.set(c,u[i(799)](t,n))}}function vc(e,n,t){const o=a;e.clear(),n[o(2016)]();for(const x of t){const{source:r,target:i,sourceHandle:c=null,targetHandle:d=null}=x,s={edgeId:x.id,source:r,target:i,sourceHandle:c,targetHandle:d},u=r+"-"+c+"--"+i+"-"+d,f=i+"-"+d+"--"+r+"-"+c;wc(o(964),s,f,e,r,c),wc("target",s,u,e,i,d),n[o(799)](x.id,x)}}function pc(e,n){const t=a;if(!e[t(890)])return!1;const o=n[t(1157)](e[t(890)]);return o?o.selected?!0:pc(o,n):!1}function bc(e,n,t){const o=a;let x=e;do{if(x?.[o(1719)]?.(n))return!0;if(x===t)return!1;x=x?.[o(983)]}while(x);return!1}function V2(e,n,t,o){const x=a,r=new Map;for(const[i,c]of e)if((c.selected||c.id===o)&&(!c[x(890)]||!pc(c,e))&&(c[x(2131)]||n&&typeof c[x(2131)]===x(1202))){const d=e[x(1157)](i);d&&r[x(799)](i,{id:i,position:d.position||{x:0,y:0},distance:{x:t.x-d.internals[x(2107)].x,y:t.y-d[x(380)][x(2107)].y},extent:d[x(1743)],parentId:d[x(890)],origin:d[x(870)],expandParent:d[x(1714)],internals:{positionAbsolute:d.internals[x(2107)]||{x:0,y:0}},measured:{width:d[x(1583)].width??0,height:d[x(1583)][x(1265)]??0}})}return r}function yo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=a,r=[];for(const[c,d]of n){const s=t.get(c)?.[x(380)].userNode;s&&r[x(1465)]({...s,position:d.position,dragging:o})}if(!e)return[r[0],r];const i=t[x(1157)](e)?.[x(380)][x(1220)];return[i?{...i,position:n[x(1157)](e)?.[x(1543)]||i.position,dragging:o}:r[0],r]}function q2({dragItems:e,snapGrid:n,x:t,y:o}){const x=a,r=e[x(1534)]().next().value;if(!r)return null;const i={x:t-r[x(1204)].x,y:o-r.distance.y},c=$t(i,n);return{x:c.x-i.x,y:c.y-i.y}}function W2({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,c=new Map,d=!1,s={x:0,y:0},u=null,f=!1,y=null,g=!1,p=!1,h=null;function b({noDragClassName:v,handleSelector:m,domNode:w,isSelectable:C,nodeId:k,nodeClickDistance:O=0}){const G=_0x4806;y=en(w);function j({x:q,y:T}){const N=_0x4806,{nodeLookup:D,nodeExtent:L,snapGrid:U,snapToGrid:P,nodeOrigin:S,onNodeDrag:K,onSelectionDrag:Q,onError:R,updateNodePositions:$}=n();r={x:q,y:T};let xe=!1;const ce=c[N(1705)]>1,de=ce&&L?oo(Ft(c)):null,fe=ce&&P?q2({dragItems:c,snapGrid:U,x:q,y:T}):null;for(const[ie,J]of c){if(!D[N(1826)](ie))continue;let re={x:q-J[N(1204)].x,y:T-J[N(1204)].y};P&&(re=fe?{x:Math.round(re.x+fe.x),y:Math[N(723)](re.y+fe.y)}:$t(re,U));let _=null;if(ce&&L&&!J[N(1743)]&&de){const{positionAbsolute:X}=J.internals,H=X.x-de.x+L[0][0],oe=X.x+J[N(1583)][N(1238)]-de.x2+L[1][0],le=X.y-de.y+L[0][1],se=X.y+J[N(1583)][N(1265)]-de.y2+L[1][1];_=[[H,le],[oe,se]]}const{position:I,positionAbsolute:Y}=Xi({nodeId:ie,nextPosition:re,nodeLookup:D,nodeExtent:_||L,nodeOrigin:S,onError:R});xe=xe||J[N(1543)].x!==I.x||J[N(1543)].y!==I.y,J[N(1543)]=I,J[N(380)][N(2107)]=Y}if(p=p||xe,!!xe&&($(c,!0),h&&(o||K||!k&&Q))){const[ie,J]=yo({nodeId:k,dragItems:c,nodeLookup:D});o?.(h,c,ie,J),K?.(h,ie,J),!k&&Q?.(h,J)}}async function A(){if(!u)return;const{transform:q,panBy:T,autoPanSpeed:N,autoPanOnNodeDrag:D}=n();if(!D){d=!1,cancelAnimationFrame(i);return}const[L,U]=Ri(s,u,N);(L!==0||U!==0)&&(r.x=(r.x??0)-L/q[2],r.y=(r.y??0)-U/q[2],await T({x:L,y:U})&&j(r)),i=requestAnimationFrame(A)}function Z(q){const T=_0x4806,{nodeLookup:N,multiSelectionActive:D,nodesDraggable:L,transform:U,snapGrid:P,snapToGrid:S,selectNodesOnDrag:K,onNodeDragStart:Q,onSelectionDragStart:R,unselectNodesAndEdges:$}=n();f=!0,(!K||!C)&&!D&&k&&!N[T(1157)](k)?.[T(2178)]&&$(),C&&K&&k&&e?.(k);const xe=t0(q.sourceEvent,{transform:U,snapGrid:P,snapToGrid:S,containerBounds:u});if(r=xe,c=V2(N,L,xe,k),c.size>0&&(t||Q||!k&&R)){const[ce,de]=yo({nodeId:k,dragItems:c,nodeLookup:N});t?.(q.sourceEvent,c,ce,de),Q?.(q[T(652)],ce,de),!k&&R?.(q[T(652)],de)}}const W=ai().clickDistance(O).on(G(1989),q=>{const T=G,{domNode:N,nodeDragThreshold:D,transform:L,snapGrid:U,snapToGrid:P}=n();u=N?.[T(1761)]()||null,g=!1,p=!1,h=q[T(652)],D===0&&Z(q),r=t0(q[T(652)],{transform:L,snapGrid:U,snapToGrid:P,containerBounds:u}),s=gn(q.sourceEvent,u)}).on(G(553),q=>{const T=G,{autoPanOnNodeDrag:N,transform:D,snapGrid:L,snapToGrid:U,nodeDragThreshold:P,nodeLookup:S}=n(),K=t0(q[T(652)],{transform:D,snapGrid:L,snapToGrid:U,containerBounds:u});if(h=q[T(652)],(q[T(652)].type==="touchmove"&&q[T(652)].touches[T(2194)]>1||k&&!S[T(1826)](k))&&(g=!0),!g){if(!d&&N&&f&&(d=!0,A()),!f){const Q=gn(q[T(652)],u),R=Q.x-s.x,$=Q.y-s.y;Math[T(807)](R*R+$*$)>P&&Z(q)}(r.x!==K[T(1022)]||r.y!==K[T(681)])&&c&&f&&(s=gn(q[T(652)],u),j(K))}}).on(G(412),q=>{const T=G;if(!(!f||g)&&(d=!1,f=!1,cancelAnimationFrame(i),c.size>0)){const{nodeLookup:N,updateNodePositions:D,onNodeDragStop:L,onSelectionDragStop:U}=n();if(p&&(D(c,!1),p=!1),x||L||!k&&U){const[P,S]=yo({nodeId:k,dragItems:c,nodeLookup:N,dragging:!1});x?.(q[T(652)],c,P,S),L?.(q.sourceEvent,P,S),!k&&U?.(q[T(652)],S)}}})[G(1641)](q=>{const T=G,N=q[T(603)];return!q.button&&(!v||!bc(N,"."+v,w))&&(!m||bc(N,m,w))});y[G(897)](W)}function M(){const v=_0x4806;y?.on(v(1895),null)}return{update:b,destroy:M}}function X2(e,n,t){const o=a,x=[],r={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const i of n.values())Qt(r,wt(i))>0&&x[o(1465)](i);return x}const K2=250;function Z2(e,n,t,o){const x=a;let r=[],i=1/0;const c=X2(e,t,n+K2);for(const d of c){const s=[...d[x(380)][x(2091)]?.[x(964)]??[],...d[x(380)][x(2091)]?.[x(603)]??[]];for(const u of s){if(o[x(1626)]===u[x(1626)]&&o[x(1424)]===u[x(1424)]&&o.id===u.id)continue;const{x:f,y}=$n(d,u,u[x(1543)],!0),g=Math[x(807)](Math[x(1433)](f-e.x,2)+Math[x(1433)](y-e.y,2));g>n||(g<i?(r=[{...u,x:f,y}],i=g):g===i&&r[x(1465)]({...u,x:f,y}))}}if(!r[x(2194)])return null;if(r[x(2194)]>1){const d=o[x(1424)]===x(964)?x(603):x(964);return r[x(1876)](s=>s[x(1424)]===d)??r[0]}return r[0]}function zc(e,n,t,o,x,r=!1){const i=a,c=o[i(1157)](e);if(!c)return null;const d=x===i(1752)?c[i(380)][i(2091)]?.[n]:[...c[i(380)][i(2091)]?.[i(964)]??[],...c[i(380)].handleBounds?.[i(603)]??[]],s=(t?d?.[i(1876)](u=>u.id===t):d?.[0])??null;return s&&r?{...s,...$n(c,s,s.position,!0)}:s}function Cc(e,n){const t=a;return e||(n?.classList.contains("target")?"target":n?.[t(1931)].contains(t(964))?"source":null)}function R2(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Mc=()=>!0;function J2(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:c,nodeLookup:d,lib:s,autoPanOnConnect:u,flowId:f,panBy:y,cancelConnection:g,onConnectStart:p,onConnect:h,onConnectEnd:b,isValidConnection:M=Mc,onReconnectEnd:v,updateConnection:m,getTransform:w,getFromHandle:C,autoPanSpeed:k,dragThreshold:O=1,handleDomNode:G}){const j=a,A=nc(e.target);let Z=0,W;const{x:q,y:T}=gn(e),N=Cc(r,G),D=c?.[j(1761)]();let L=!1;if(!D||!N)return;const U=zc(x,N,o,d,n);if(!U)return;let P=gn(e,D),S=!1,K=null,Q=!1,R=null;function $(){if(!u||!D)return;const[_,I]=Ri(P,D,k);y({x:_,y:I}),Z=requestAnimationFrame($)}const xe={...U,nodeId:x,type:N,position:U[j(1543)]},ce=d[j(1157)](x);let fe={inProgress:!0,isValid:null,from:$n(ce,xe,he[j(1010)],!0),fromHandle:xe,fromPosition:xe[j(1543)],fromNode:ce,to:P,toHandle:null,toPosition:Vi[xe.position],toNode:null,pointer:P};function ie(){L=!0,m(fe),p?.(e,{nodeId:x,handleId:o,handleType:N})}O===0&&ie();function J(_){const I=j;if(!L){const{x:se,y:ge}=gn(_),ve=se-q,Ne=ge-T;if(!(ve*ve+Ne*Ne>O*O))return;ie()}if(!C()||!xe){re(_);return}const Y=w();P=gn(_,D),W=Z2(e0(P,Y,!1,[1,1]),t,d,xe),!S&&($(),S=!0);const X=Bc(_,{handle:W,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:I(i?603:964),isValidConnection:M,doc:A,lib:s,flowId:f,nodeLookup:d});R=X[I(1803)],K=X[I(1329)],Q=R2(!!W,X[I(486)]);const H=d[I(1157)](x),oe=H?$n(H,xe,he[I(1010)],!0):fe[I(1139)],le={...fe,from:oe,isValid:Q,to:X.toHandle&&Q?R0({x:X[I(2150)].x,y:X[I(2150)].y},Y):P,toHandle:X[I(2150)],toPosition:Q&&X.toHandle?X[I(2150)][I(1543)]:Vi[xe[I(1543)]],toNode:X[I(2150)]?d.get(X[I(2150)][I(1626)]):null,pointer:P};m(le),fe=le}function re(_){const I=j;if(!(I(374)in _&&_[I(374)][I(2194)]>0)){if(L){(W||R)&&K&&Q&&h?.(K);const{inProgress:Y,...X}=fe,H={...X,toPosition:fe[I(2150)]?fe[I(1773)]:null};b?.(_,H),r&&v?.(_,H)}g(),cancelAnimationFrame(Z),S=!1,Q=!1,K=null,R=null,A.removeEventListener(I(530),J),A.removeEventListener("mouseup",re),A[I(1339)](I(1092),J),A[I(1339)](I(1672),re)}}A[j(1966)](j(530),J),A[j(1966)](j(1762),re),A[j(1966)]("touchmove",J),A.addEventListener(j(1672),re)}function Bc(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:c,flowId:d,isValidConnection:s=Mc,nodeLookup:u}){const f=a,y=r==="target",g=n?i[f(1542)]("."+c+'-flow__handle[data-id="'+d+"-"+n?.nodeId+"-"+n?.id+"-"+n?.[f(1424)]+'"]'):null,{x:p,y:h}=gn(e),b=i.elementFromPoint(p,h),M=b?.[f(1931)][f(2099)](c+f(538))?b:g,v={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const m=Cc(void 0,M),w=M[f(527)]("data-nodeid"),C=M[f(527)](f(1411)),k=M[f(1931)][f(2099)]("connectable"),O=M[f(1931)].contains(f(690));if(!w||!m)return v;const G={source:y?w:o,sourceHandle:y?C:x,target:y?o:w,targetHandle:y?x:C};v[f(1329)]=G;const j=k&&O,A=j&&(t===yt[f(786)]?y&&m==="source"||!y&&m===f(603):w!==o||C!==x);v[f(486)]=A&&s(G),v[f(2150)]=zc(w,m,C,u,t,!0)}return v}const mo={onPointerDown:J2,isValid:Bc};function _2({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=en(e);function r({translateExtent:c,width:d,height:s,zoomStep:u=1,pannable:f=!0,zoomable:y=!0,inversePan:g=!1}){const p=_0x4806,h=w=>{const C=_0x4806;if(w[C(652)].type!==C(554)||!n)return;const k=t(),O=w[C(652)].ctrlKey&&n0()?10:1,G=-w[C(652)][C(381)]*(w[C(652)].deltaMode===1?.05:w[C(652)][C(2019)]?1:.002)*u,j=k[2]*Math[C(1433)](2,G*O);n.scaleTo(j)};let b=[0,0];const M=w=>{const C=_0x4806;(w[C(652)][C(1424)]===C(874)||w[C(652)][C(1424)]===C(1080))&&(b=[w[C(652)][C(1569)]??w[C(652)].touches[0][C(1569)],w.sourceEvent.clientY??w[C(652)][C(374)][0][C(1947)]])},v=w=>{const C=_0x4806,k=t();if(w[C(652)][C(1424)]!==C(530)&&w[C(652)][C(1424)]!==C(1092)||!n)return;const O=[w[C(652)][C(1569)]??w.sourceEvent[C(374)][0][C(1569)],w[C(652)][C(1947)]??w[C(652)][C(374)][0][C(1947)]],G=[O[0]-b[0],O[1]-b[1]];b=O;const j=o()*Math[C(1439)](k[2],Math[C(365)](k[2]))*(g?-1:1),A={x:k[0]-G[0]*j,y:k[1]-G[1]*j},Z=[[0,0],[d,s]];n.setViewportConstrained({x:A.x,y:A.y,zoom:k[2]},Z,c)},m=Gi().on(p(1989),M).on(p(1386),f?v:null).on(p(1496),y?h:null);x[p(897)](m,{})}function i(){const c=_0x4806;x.on(c(1386),null)}return{update:r,destroy:i,pointer:dn}}const _0=e=>({x:e.x,y:e.y,zoom:e.k}),wo=({x:e,y:n,zoom:t})=>q0[a(1273)](e,n)[a(476)](t),bt=(e,n)=>e.target[a(686)]("."+n),Dc=(e,n)=>n===2&&Array.isArray(e)&&e[a(911)](2),F2=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,vo=(e,n=0,t=F2,o=()=>{})=>{const x=a,r=typeof n===x(411)&&n>0;return!r&&o(),r?e[x(1244)]()[x(2056)](n)[x(2044)](t).on(x(412),o):e},Lc=e=>{const n=a,t=e[n(569)]&&n0()?10:1;return-e.deltaY*(e[n(2019)]===1?.05:e[n(2019)]?1:.002)*t};function Q2({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:c,onPanZoom:d,onPanZoomEnd:s}){return u=>{const f=_0x4806;if(bt(u,n))return u.ctrlKey&&u[f(1923)](),!1;u[f(1923)](),u.stopImmediatePropagation();const y=t[f(1665)]("__zoom").k||1;if(u[f(569)]&&i){const M=dn(u),v=Lc(u),m=y*Math[f(1433)](2,v);o[f(494)](t,m,M,u);return}const g=u[f(2019)]===1?20:1;let p=x===Fn.Vertical?0:u[f(691)]*g,h=x===Fn.Horizontal?0:u[f(381)]*g;!n0()&&u[f(1518)]&&x!==Fn[f(997)]&&(p=u[f(381)]*g,h=0),o[f(817)](t,-(p/y)*r,-(h/y)*r,{internal:!0});const b=_0(t[f(1665)](f(1478)));clearTimeout(e[f(1055)]),e[f(560)]?(d?.(u,b),e.panScrollTimeout=setTimeout(()=>{const M=f;s?.(u,b),e[M(560)]=!1},150)):(e[f(560)]=!0,c?.(u,b))}}function $2({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x4806,i=o.type===r(554),c=!n&&i&&!o.ctrlKey,d=bt(o,e);if(o.ctrlKey&&i&&d&&o[r(1923)](),c||d)return null;o.preventDefault(),t.call(this,o,x)}}function e1({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x4806;if(o[x(652)]?.[x(1548)])return;const r=_0(o[x(1130)]);e.mouseButton=o[x(652)]?.[x(772)]||0,e[x(798)]=!0,e[x(578)]=r,o[x(652)]?.[x(1424)]===x(874)&&n(!0),t&&t?.(o.sourceEvent,r)}}function n1({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x4806;e[i(1676)]=!!(t&&Dc(n,e.mouseButton??0)),!r[i(652)]?.sync&&o([r[i(1130)].x,r[i(1130)].y,r[i(1130)].k]),x&&!r[i(652)]?.[i(1548)]&&x?.(r[i(652)],_0(r.transform))}}function t1({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const c=_0x4806;if(!i[c(652)]?.[c(1548)]&&(e[c(798)]=!1,r&&Dc(n,e[c(2198)]??0)&&!e[c(1676)]&&i[c(652)]&&r(i[c(652)]),e[c(1676)]=!1,o(!1),x)){const d=_0(i[c(1130)]);e[c(578)]=d,clearTimeout(e[c(1054)]),e[c(1054)]=setTimeout(()=>{x?.(i.sourceEvent,d)},t?150:0)}}}function x1({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:c,noPanClassName:d,lib:s,connectionInProgress:u}){return f=>{const y=_0x4806,g=e||n,p=t&&f[y(569)],h=f[y(1424)]===y(554);if(f.button===1&&f[y(1424)]===y(874)&&(bt(f,s+"-flow__node")||bt(f,s+y(2173))))return!0;if(!o&&!g&&!x&&!r&&!t||i||u&&!h||bt(f,c)&&h||bt(f,d)&&(!h||x&&h&&!e)||!t&&f[y(569)]&&h)return!1;if(!t&&f[y(1424)]==="touchstart"&&f[y(374)]?.[y(2194)]>1)return f[y(1923)](),!1;if(!g&&!x&&!p&&h||!o&&(f[y(1424)]===y(874)||f[y(1424)]==="touchstart")||Array[y(927)](o)&&!o.includes(f.button)&&f[y(1424)]==="mousedown")return!1;const b=Array.isArray(o)&&o[y(911)](f[y(772)])||!f[y(772)]||f[y(772)]<=1;return(!f[y(569)]||h)&&b}}function o1({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:c,onDraggingChange:d}){const s=a,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e[s(1761)](),y=Gi()[s(1383)]([n,t])[s(1038)](o),g=en(e).call(y);m({x:x.x,y:x.y,zoom:mt(x[s(1386)],n,t)},[[0,0],[f.width,f.height]],o);const p=g.on(s(1129)),h=g.on(s(977));y[s(1660)](Lc);function b(W,q){return g?new Promise(T=>{const N=_0x4806;y?.[N(2172)](q?.interpolate===N(1656)?Vt:A0)[N(1130)](vo(g,q?.[N(2056)],q?.[N(2044)],()=>T(!0)),W)}):Promise.resolve(!1)}function M({noWheelClassName:W,noPanClassName:q,onPaneContextMenu:T,userSelectionActive:N,panOnScroll:D,panOnDrag:L,panOnScrollMode:U,panOnScrollSpeed:P,preventScrolling:S,zoomOnPinch:K,zoomOnScroll:Q,zoomOnDoubleClick:R,zoomActivationKeyPressed:$,lib:xe,onTransformChange:ce,connectionInProgress:de,paneClickDistance:fe,selectionOnDrag:ie}){const J=s;N&&!u[J(798)]&&v();const re=D&&!$&&!N;y[J(1002)](ie?1/0:!hn(fe)||fe<0?0:fe);const _=re?Q2({zoomPanValues:u,noWheelClassName:W,d3Selection:g,d3Zoom:y,panOnScrollMode:U,panOnScrollSpeed:P,zoomOnPinch:K,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:c}):$2({noWheelClassName:W,preventScrolling:S,d3ZoomHandler:p});if(g.on(J(1129),_,{passive:!1}),!N){const Y=e1({zoomPanValues:u,onDraggingChange:d,onPanZoomStart:i});y.on("start",Y);const X=n1({zoomPanValues:u,panOnDrag:L,onPaneContextMenu:!!T,onPanZoom:r,onTransformChange:ce});y.on(J(1386),X);const H=t1({zoomPanValues:u,panOnDrag:L,panOnScroll:D,onPaneContextMenu:T,onPanZoomEnd:c,onDraggingChange:d});y.on("end",H)}const I=x1({zoomActivationKeyPressed:$,panOnDrag:L,zoomOnScroll:Q,panOnScroll:D,zoomOnDoubleClick:R,zoomOnPinch:K,userSelectionActive:N,noPanClassName:q,noWheelClassName:W,lib:xe,connectionInProgress:de});y[J(1641)](I),R?g.on(J(977),h):g.on(J(977),null)}function v(){y.on("zoom",null)}async function m(W,q,T){const N=s,D=wo(W),L=y?.[N(1612)]()(D,q,T);return L&&await b(L),new Promise(U=>U(L))}async function w(W,q){const T=wo(W);return await b(T,q),new Promise(N=>N(T))}function C(W){const q=s;if(g){const T=wo(W),N=g[q(1665)](q(1478));(N.k!==W[q(1386)]||N.x!==W.x||N.y!==W.y)&&y?.[q(1130)](g,T,null,{sync:!0})}}function k(){const W=s,q=g?Yi(g[W(1997)]()):{x:0,y:0,k:1};return{x:q.x,y:q.y,zoom:q.k}}function O(W,q){const T=s;return g?new Promise(N=>{const D=_0x4806;y?.interpolate(q?.[D(2172)]===D(1656)?Vt:A0)[D(494)](vo(g,q?.[D(2056)],q?.[D(2044)],()=>N(!0)),W)}):Promise[T(2192)](!1)}function G(W,q){const T=s;return g?new Promise(N=>{const D=_0x4806;y?.[D(2172)](q?.[D(2172)]===D(1656)?Vt:A0)[D(368)](vo(g,q?.duration,q?.[D(2044)],()=>N(!0)),W)}):Promise[T(2192)](!1)}function j(W){y?.[s(1383)](W)}function A(W){y?.translateExtent(W)}function Z(W){const q=s,T=!hn(W)||W<0?0:W;y?.[q(1002)](T)}return{update:M,destroy:v,setViewport:w,setViewportConstrained:m,getViewport:k,scaleTo:O,scaleBy:G,setScaleExtent:j,setTranslateExtent:A,syncViewport:C,setClickDistance:Z}}var zt;(function(e){const n=a;e[n(857)]=n(2070),e[n(1222)]="handle"})(zt||(zt={}));function r1({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const i=e-n,c=t-o,d=[i>0?1:i<0?-1:0,c>0?1:c<0?-1:0];return i&&x&&(d[0]=d[0]*-1),c&&r&&(d[1]=d[1]*-1),d}function Nc(e){const n=a,t=e[n(911)](n(1476))||e[n(911)](n(1557)),o=e[n(911)](n(808))||e[n(911)](n(1413)),x=e[n(911)](n(1557)),r=e[n(911)](n(1413));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function Yn(e,n){return Math.max(0,n-e)}function Un(e,n){return Math[a(1439)](0,e-n)}function F0(e,n,t){return Math[a(1439)](0,n-e,e-t)}function Sc(e,n){return e?!n:n}function i1(e,n,t,o,x,r,i,c){const d=a;let{affectsX:s,affectsY:u}=n;const{isHorizontal:f,isVertical:y}=n,g=f&&y,{xSnapped:p,ySnapped:h}=t,{minWidth:b,maxWidth:M,minHeight:v,maxHeight:m}=o,{x:w,y:C,width:k,height:O,aspectRatio:G}=e;let j=Math[d(621)](f?p-e[d(1168)]:0),A=Math[d(621)](y?h-e.pointerY:0);const Z=k+(s?-j:j),W=O+(u?-A:A),q=-r[0]*k,T=-r[1]*O;let N=F0(Z,b,M),D=F0(W,v,m);if(i){let P=0,S=0;s&&j<0?P=Yn(w+j+q,i[0][0]):!s&&j>0&&(P=Un(w+Z+q,i[1][0])),u&&A<0?S=Yn(C+A+T,i[0][1]):!u&&A>0&&(S=Un(C+W+T,i[1][1])),N=Math[d(1439)](N,P),D=Math[d(1439)](D,S)}if(c){let P=0,S=0;s&&j>0?P=Un(w+j,c[0][0]):!s&&j<0&&(P=Yn(w+Z,c[1][0])),u&&A>0?S=Un(C+A,c[0][1]):!u&&A<0&&(S=Yn(C+W,c[1][1])),N=Math[d(1439)](N,P),D=Math[d(1439)](D,S)}if(x){if(f){const P=F0(Z/G,v,m)*G;if(N=Math.max(N,P),i){let S=0;!s&&!u||s&&!u&&g?S=Un(C+T+Z/G,i[1][1])*G:S=Yn(C+T+(s?j:-j)/G,i[0][1])*G,N=Math[d(1439)](N,S)}if(c){let S=0;!s&&!u||s&&!u&&g?S=Yn(C+Z/G,c[1][1])*G:S=Un(C+(s?j:-j)/G,c[0][1])*G,N=Math[d(1439)](N,S)}}if(y){const P=F0(W*G,b,M)/G;if(D=Math[d(1439)](D,P),i){let S=0;!s&&!u||u&&!s&&g?S=Un(w+W*G+q,i[1][0])/G:S=Yn(w+(u?A:-A)*G+q,i[0][0])/G,D=Math[d(1439)](D,S)}if(c){let S=0;!s&&!u||u&&!s&&g?S=Yn(w+W*G,c[1][0])/G:S=Un(w+(u?A:-A)*G,c[0][0])/G,D=Math[d(1439)](D,S)}}}A=A+(A<0?D:-D),j=j+(j<0?N:-N),x&&(g?Z>W*G?A=(Sc(s,u)?-j:j)/G:j=(Sc(s,u)?-A:A)*G:f?(A=j/G,u=s):(j=A*G,s=u));const L=s?w+j:w,U=u?C+A:C;return{width:k+(s?-j:j),height:O+(u?-A:A),x:r[0]*j*(s?-1:1)+L,y:r[1]*A*(u?-1:1)+U}}const kc={width:0,height:0,x:0,y:0},c1={...kc,pointerX:0,pointerY:0,aspectRatio:1};function a1(e){const n=a;return[[0,0],[e[n(1583)][n(1238)],e[n(1583)][n(1265)]]]}function s1(e,n,t){const o=a,x=n[o(1543)].x+e[o(1543)].x,r=n[o(1543)].y+e[o(1543)].y,i=e[o(1583)][o(1238)]??0,c=e.measured[o(1265)]??0,d=t[0]*i,s=t[1]*c;return[[x-d,r-s],[x+i-d,r+c-s]]}function l1({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=a,i=en(e);let c={controlDirection:Nc(r(720)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(1370)],maxHeight:Number[r(1370)]},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:u,boundaries:f,keepAspectRatio:y,resizeDirection:g,onResizeStart:p,onResize:h,onResizeEnd:b,shouldResize:M}){const v=r;let m={...kc},w={...c1};c={boundaries:f,resizeDirection:g,keepAspectRatio:y,controlDirection:Nc(u)};let C,k=null,O=[],G,j,A,Z=!1;const W=ai().on(v(1989),q=>{const T=v,{nodeLookup:N,transform:D,snapGrid:L,snapToGrid:U,nodeOrigin:P,paneDomNode:S}=t();if(C=N[T(1157)](n),!C)return;k=S?.getBoundingClientRect()??null;const{xSnapped:K,ySnapped:Q}=t0(q.sourceEvent,{transform:D,snapGrid:L,snapToGrid:U,containerBounds:k});m={width:C[T(1583)].width??0,height:C.measured[T(1265)]??0,x:C[T(1543)].x??0,y:C[T(1543)].y??0},w={...m,pointerX:K,pointerY:Q,aspectRatio:m[T(1238)]/m[T(1265)]},G=void 0,C[T(890)]&&(C[T(1743)]===T(1824)||C[T(1714)])&&(G=N[T(1157)](C[T(890)]),j=G&&C.extent===T(1824)?a1(G):void 0),O=[],A=void 0;for(const[R,$]of N)if($[T(890)]===n&&(O[T(1465)]({id:R,position:{...$[T(1543)]},extent:$[T(1743)]}),$[T(1743)]==="parent"||$[T(1714)])){const xe=s1($,C,$.origin??P);A?A=[[Math.min(xe[0][0],A[0][0]),Math[T(831)](xe[0][1],A[0][1])],[Math[T(1439)](xe[1][0],A[1][0]),Math[T(1439)](xe[1][1],A[1][1])]]:A=xe}p?.(q,{...m})}).on("drag",q=>{const T=v,{transform:N,snapGrid:D,snapToGrid:L,nodeOrigin:U}=t(),P=t0(q[T(652)],{transform:N,snapGrid:D,snapToGrid:L,containerBounds:k}),S=[];if(!C)return;const{x:K,y:Q,width:R,height:$}=m,xe={},ce=C[T(870)]??U,{width:de,height:fe,x:ie,y:J}=i1(w,c[T(622)],P,c[T(1499)],c[T(501)],ce,j,A),re=de!==R,_=fe!==$,I=ie!==K&&re,Y=J!==Q&&_;if(!I&&!Y&&!re&&!_)return;if((I||Y||ce[0]===1||ce[1]===1)&&(xe.x=I?ie:m.x,xe.y=Y?J:m.y,m.x=xe.x,m.y=xe.y,O[T(2194)]>0)){const le=ie-K,se=J-Q;for(const ge of O)ge[T(1543)]={x:ge[T(1543)].x-le+ce[0]*(de-R),y:ge[T(1543)].y-se+ce[1]*(fe-$)},S.push(ge)}if((re||_)&&(xe[T(1238)]=re&&(!c[T(1253)]||c[T(1253)]==="horizontal")?de:m[T(1238)],xe[T(1265)]=_&&(!c.resizeDirection||c.resizeDirection===T(609))?fe:m[T(1265)],m[T(1238)]=xe[T(1238)],m[T(1265)]=xe[T(1265)]),G&&C[T(1714)]){const le=ce[0]*(xe[T(1238)]??0);xe.x&&xe.x<le&&(m.x=le,w.x=w.x-(xe.x-le));const se=ce[1]*(xe[T(1265)]??0);xe.y&&xe.y<se&&(m.y=se,w.y=w.y-(xe.y-se))}const X=r1({width:m[T(1238)],prevWidth:R,height:m[T(1265)],prevHeight:$,affectsX:c[T(622)][T(771)],affectsY:c[T(622)][T(647)]}),H={...m,direction:X};M?.(q,H)!==!1&&(Z=!0,h?.(q,H),o(xe,S))}).on(v(412),q=>{Z&&(b?.(q,{...m}),x?.({...m}),Z=!1)});i[v(897)](W)}function s(){const u=r;i.on(u(1895),null)}return{update:d,destroy:s}}var Q0={exports:{}},po={},$0={exports:{}},bo={},Ic;function d1(){const e=a;if(Ic)return bo;Ic=1;var n=B;function t(y,g){return y===g&&(y!==0||1/y===1/g)||y!==y&&g!==g}var o=e(1154)===typeof Object.is?Object.is:t,x=n.useState,r=n[e(363)],i=n.useLayoutEffect,c=n.useDebugValue;function d(y,g){const p=e;var h=g(),b=x({inst:{value:h,getSnapshot:g}}),M=b[0][p(420)],v=b[1];return i(function(){const m=p;M[m(1981)]=h,M[m(978)]=g,s(M)&&v({inst:M})},[y,h,g]),r(function(){return s(M)&&v({inst:M}),y(function(){s(M)&&v({inst:M})})},[y]),c(h),h}function s(y){const g=e;var p=y[g(978)];y=y[g(1981)];try{var h=p();return!o(y,h)}catch{return!0}}function u(y,g){return g()}var f=typeof window>"u"||e(1202)===typeof window.document||e(1202)===typeof window[e(1644)][e(1990)]?u:d;return bo.useSyncExternalStore=n[e(2007)]!==void 0?n.useSyncExternalStore:f,bo}var zo={},Pc;function u1(){return Pc||(Pc=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0x4806;function n(p,h){return p===h&&(p!==0||1/p===1/h)||p!==p&&h!==h}function t(p,h){const b=_0x4806;f||r.startTransition===void 0||(f=!0,console[b(551)](b(1417)));var M=h();if(!y){var v=h();i(M,v)||(console[b(551)](b(1736)),y=!0)}v=c({inst:{value:M,getSnapshot:h}});var m=v[0].inst,w=v[1];return s(function(){const C=b;m[C(1981)]=M,m[C(978)]=h,o(m)&&w({inst:m})},[p,M,h]),d(function(){return o(m)&&w({inst:m}),p(function(){o(m)&&w({inst:m})})},[p]),u(M),M}function o(p){const h=_0x4806;var b=p.getSnapshot;p=p[h(1981)];try{var M=b();return!i(p,M)}catch{return!0}}function x(p,h){return h()}e(1202)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(1154)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(2168)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(2168)](Error());var r=B,i=e(1154)===typeof Object.is?Object.is:n,c=r[e(655)],d=r[e(363)],s=r[e(624)],u=r[e(1447)],f=!1,y=!1,g=typeof window>"u"||typeof window.document>"u"||e(1202)===typeof window[e(1644)][e(1990)]?x:t;zo.useSyncExternalStore=r[e(2007)]!==void 0?r[e(2007)]:g,e(1202)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(1980)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),zo}var Ac;function jc(){const e=a;return Ac||(Ac=1,process.env.NODE_ENV===e(782)?$0[e(1749)]=d1():$0.exports=u1()),$0[e(1749)]}var Ec;function f1(){const e=a;if(Ec)return po;Ec=1;var n=B,t=jc();function o(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var x=typeof Object.is=="function"?Object.is:o,r=t[e(2007)],i=n[e(575)],c=n.useEffect,d=n.useMemo,s=n[e(1447)];return po.useSyncExternalStoreWithSelector=function(u,f,y,g,p){const h=e;var b=i(null);if(b[h(1560)]===null){var M={hasValue:!1,value:null};b[h(1560)]=M}else M=b[h(1560)];b=d(function(){function m(G){const j=_0x4806;if(!w){if(w=!0,C=G,G=g(G),p!==void 0&&M.hasValue){var A=M[j(1981)];if(p(A,G))return k=A}return k=G}if(A=k,x(C,G))return A;var Z=g(G);return p!==void 0&&p(A,Z)?(C=G,A):(C=G,k=Z)}var w=!1,C,k,O=y===void 0?null:y;return[function(){return m(f())},O===null?void 0:function(){return m(O())}]},[f,y,g,p]);var v=r(u,b[0],b[1]);return c(function(){const m=h;M[m(1358)]=!0,M.value=v},[v]),s(v),v},po}var Co={},Yc;function h1(){const e=a;return Yc||(Yc=1,e(782)!==process.env.NODE_ENV&&(function(){const n=e;function t(f,y){return f===y&&(f!==0||1/f===1/y)||f!==f&&y!==y}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(2168)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(2168)](Error());var o=B,x=jc(),r=n(1154)===typeof Object.is?Object.is:t,i=x.useSyncExternalStore,c=o[n(575)],d=o[n(363)],s=o[n(528)],u=o.useDebugValue;Co.useSyncExternalStoreWithSelector=function(f,y,g,p,h){const b=n;var M=c(null);if(M[b(1560)]===null){var v={hasValue:!1,value:null};M[b(1560)]=v}else v=M[b(1560)];M=s(function(){function w(j){const A=_0x4806;if(!C){if(C=!0,k=j,j=p(j),h!==void 0&&v[A(1358)]){var Z=v[A(1981)];if(h(Z,j))return O=Z}return O=j}if(Z=O,r(k,j))return Z;var W=p(j);return h!==void 0&&h(Z,W)?(k=j,Z):(k=j,O=W)}var C=!1,k,O,G=g===void 0?null:g;return[function(){return w(y())},G===null?void 0:function(){return w(G())}]},[y,g,p,h]);var m=i(f,M[0],M[1]);return d(function(){const w=b;v[w(1358)]=!0,v[w(1981)]=m},[m]),u(m),m},n(1202)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1980)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1980)](Error())})()),Co}var Uc;function g1(){const e=a;return Uc?Q0.exports:(Uc=1,process.env.NODE_ENV===e(782)?Q0[e(1749)]=f1():Q0[e(1749)]=h1(),Q0[e(1749)])}var y1=g1();const m1=Nt(y1),w1={},Gc=e=>{let n;const t=new Set,o=(u,f)=>{const y=_0x4806,g=typeof u===y(1154)?u(n):u;if(!Object.is(g,n)){const p=n;n=f??(typeof g!==y(2171)||g===null)?g:Object[y(510)]({},n,g),t.forEach(h=>h(n,p))}},x=()=>n,r=()=>s,i=u=>{const f=_0x4806;return t[f(1757)](u),()=>t[f(1147)](u)},c=()=>{const u=_0x4806;(w1?u(782):void 0)!==u(782)&&console[u(656)](u(851)),t[u(2016)]()},d={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:c},s=n=e(o,x,d);return d},v1=e=>e?Gc(e):Gc,{useDebugValue:p1}=B,{useSyncExternalStoreWithSelector:b1}=m1,z1=e=>e;function Oc(e,n=z1,t){const o=a,x=b1(e[o(1722)],e[o(1740)],e[o(1343)]||e[o(760)],n,t);return p1(x),x}const Hc=(e,n)=>{const t=a,o=v1(e),x=(r,i=n)=>Oc(o,r,i);return Object[t(510)](x,o),x},C1=(e,n)=>e?Hc(e,n):Hc;function je(e,n){const t=a;if(Object.is(e,n))return!0;if(typeof e!==t(2171)||e===null||typeof n!="object"||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(1705)]!==n[t(1705)])return!1;for(const[x,r]of e)if(!Object.is(r,n[t(1157)](x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e.size!==n[t(1705)])return!1;for(const x of e)if(!n.has(x))return!1;return!0}const o=Object[t(1651)](e);if(o[t(2194)]!==Object[t(1651)](n)[t(2194)])return!1;for(const x of o)if(!Object[t(1201)][t(436)][t(897)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const ex=B[a(952)](null),M1=ex[a(423)],Tc=nn[a(893)]();function Be(e,n){const t=a,o=B[t(689)](ex);if(o===null)throw new Error(Tc);return Oc(o,e,n)}function Ee(){const e=a,n=B.useContext(ex);if(n===null)throw new Error(Tc);return B[e(528)](()=>({getState:n[e(1740)],setState:n.setState,subscribe:n[e(1722)]}),[n])}const Vc={display:a(1712)},B1={position:a(2080),width:1,height:1,margin:-1,border:0,padding:0,overflow:a(1821),clip:a(2040),clipPath:"inset(100%)"},qc=a(503),Wc=a(1628),D1="react-flow__aria-live",L1=e=>e[a(648)],N1=e=>e[a(1159)];function S1({rfId:e}){const n=a,t=Be(L1);return l[n(1993)]("div",{id:D1+"-"+e,"aria-live":n(447),"aria-atomic":n(1501),style:B1,children:t})}function k1({rfId:e,disableKeyboardA11y:n}){const t=a,o=Be(N1);return l.jsxs(l[t(915)],{children:[l[t(1993)]("div",{id:qc+"-"+e,style:Vc,children:n?o[t(2089)]:o[t(2092)]}),l.jsx("div",{id:Wc+"-"+e,style:Vc,children:o[t(427)]}),!n&&l.jsx(S1,{rfId:e})]})}const nx=B[a(2191)](({position:e="top-left",children:n,className:t,style:o,...x},r)=>{const i=a,c=(""+e)[i(1615)]("-");return l[i(1993)](i(539),{className:Ge([i(1497),t,...c]),style:o,ref:r,...x,children:n})});nx.displayName=a(1823);function I1({proOptions:e,position:n=a(720)}){const t=a;return e?.hideAttribution?null:l[t(1993)](nx,{position:n,className:"react-flow__attribution","data-message":t(673),children:l[t(1993)]("a",{href:"https://reactflow.dev",target:t(1347),rel:t(480),"aria-label":t(1033),children:t(1715)})})}const P1=e=>{const n=a,t=[],o=[];for(const[,x]of e[n(750)])x[n(2178)]&&t[n(1465)](x[n(380)][n(1220)]);for(const[,x]of e[n(986)])x[n(2178)]&&o[n(1465)](x);return{selectedNodes:t,selectedEdges:o}},tx=e=>e.id;function A1(e,n){const t=a;return je(e[t(1862)][t(542)](tx),n[t(1862)][t(542)](tx))&&je(e[t(1016)][t(542)](tx),n[t(1016)].map(tx))}function j1({onSelectionChange:e}){const n=a,t=Ee(),{selectedNodes:o,selectedEdges:x}=Be(P1,A1);return B[n(363)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(1740)]()[r(1964)][r(1369)](c=>c(i))},[o,x,e]),null}const E1=e=>!!e[a(1964)];function Y1({onSelectionChange:e}){const n=a,t=Be(E1);return e||t?l[n(1993)](j1,{onSelectionChange:e}):null}const Mo=typeof window!==a(1202)?B[a(624)]:B[a(363)],Xc=[0,0],U1={x:0,y:0,zoom:1},G1=[a(1361),a(1337),"defaultNodes",a(475),"onConnect",a(1539),a(788),"onClickConnectStart",a(1003),a(2169),"autoPanOnNodeFocus","nodesConnectable",a(1237),"edgesFocusable","edgesReconnectable",a(1051),a(787),a(781),"maxZoom",a(762),a(2023),a(1562),"elementsSelectable",a(2138),a(1623),"snapToGrid",a(1038),"connectOnClick","defaultEdgeOptions",a(714),a(1097),a(2032),a(1284),a(602),a(650),a(438),"onNodeDragStop",a(1012),a(595),a(1487),a(1391),a(1435),"onMoveEnd",a(1732),"nodeOrigin","autoPanOnConnect",a(1410),"onError","connectionRadius",a(1088),a(2186),a(950),a(2154),a(917),"debug",a(1670),a(1159),"zIndexMode"],Kc=[...G1,"rfId"],O1=e=>({setNodes:e[a(1029)],setEdges:e[a(1514)],setMinZoom:e[a(541)],setMaxZoom:e[a(1044)],setTranslateExtent:e[a(1839)],setNodeExtent:e[a(2021)],reset:e[a(1039)],setDefaultNodesAndEdges:e[a(2063)]}),Zc={translateExtent:Rt,nodeOrigin:Xc,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:a(933),rfId:"1"};function H1(e){const n=a,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:c,reset:d,setDefaultNodesAndEdges:s}=Be(O1,je),u=Ee();Mo(()=>{const y=_0x4806;return s(e[y(644)],e[y(475)]),()=>{f.current=Zc,d()}},[]);const f=B.useRef(Zc);return Mo(()=>{const y=_0x4806;for(const g of Kc){const p=e[g],h=f[y(1560)][g];p!==h&&typeof e[g]!==y(1202)&&(g===y(1361)?t(p):g===y(1337)?o(p):g===y(781)?x(p):g===y(640)?r(p):g==="translateExtent"?i(p):g===y(762)?c(p):g===y(1159)?u[y(1766)]({ariaLabelConfig:C2(p)}):g===y(714)?u[y(1766)]({fitViewQueued:p}):g===y(1097)?u[y(1766)]({fitViewOptions:p}):u.setState({[g]:p}))}f[y(1560)]=e},Kc[n(542)](y=>e[y])),null}function Rc(){return typeof window===a(1202)||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function T1(e){const n=a,[t,o]=B[n(655)](e===n(1831)?null:e);return B[n(363)](()=>{const x=n;if(e!==x(1831)){o(e);return}const r=Rc(),i=()=>o(r?.[x(1719)]?x(837):x(1859));return i(),r?.[x(1966)](x(649),i),()=>{r?.[x(1339)]("change",i)}},[e]),t!==null?t:Rc()?.[n(1719)]?n(837):n(1859)}const Jc=typeof document!==a(1202)?document:null;function x0(e=null,n={target:Jc,actInsideInputWithModifier:!0}){const t=a,[o,x]=B[t(655)](!1),r=B[t(575)](!1),i=B[t(575)](new Set([])),[c,d]=B[t(528)](()=>{const s=t;if(e!==null){const u=Array[s(927)](e)?e:[e],f=u[s(1641)](g=>typeof g===s(774))[s(542)](g=>g[s(598)]("+",`
5
- `).replace(`
1
+ (function(Me,d){const B=_0x5bb9,z=Me();for(;;)try{if(parseInt(B(410))/1+parseInt(B(1989))/2*(-parseInt(B(1807))/3)+parseInt(B(319))/4+-parseInt(B(1272))/5*(-parseInt(B(1963))/6)+-parseInt(B(1581))/7*(-parseInt(B(849))/8)+-parseInt(B(1310))/9+parseInt(B(1789))/10===d)break;z.push(z.shift())}catch{z.push(z.shift())}})(_0x19f0,309763),(function(Me,d){const B=_0x5bb9;typeof exports===B(1866)&&typeof module<"u"?d(exports,require(B(1210)),require(B(662)),require(B(1904)),require(B(938)),require(B(1574)),require(B(1291)),require(B(1399)),require("react-zoom-pan-pinch"),require(B(636))):typeof define===B(1240)&&define[B(1571)]?define([B(1697),B(1210),B(662),B(1904),"@ant-design/icons",B(1574),B(1291),B(1399),B(458),B(636)],d):(Me=typeof globalThis!==B(1533)?globalThis:Me||self,d(Me[B(1535)]={},Me[B(1471)],Me[B(846)],Me[B(1904)],Me[B(1201)],Me[B(1574)],Me[B(1291)],Me[B(1399)],Me[B(1884)]))})(this,function(Me,d,B,z,ae,zx,dt,pe,ct){"use strict";function _0x19f0(){const Me=["Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","BM9Kzuv2zw50qMLUzgLUz3m","y29UC29SAwrHDgu","C2TLD1G","Aw5ZDgfUDa","zgvMyxvSDa","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","y3vYC29YlwnYB3nZAgfPCG","Dgv4Dc14CW","BM9qyw5dBgfZC05HBwu","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","r2vUzxjHDg9YigLZigfSCMvHzhKGzxHLy3v0Aw5NlG","6k+36ycj5OUP5PEL5PYF","zw5Kwq","zxjYB3iWmdq","C2HPzNq","zM9YBwf0sgv4","CMvHy3qTzMXVD19FBM9Kzq","5yAf572U5yQO5l2C","C2L6zq","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","w3jVBgu9iMnVBwjVyM94iL0","Cg9PBNrLCLG","B2jQzwn0","zM9UDc1TzwrPDw0","mtKYma","y2fSBgjHy2S","mdeW","DgfYz2v0ug9ZAxrPB24","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","x25LEhq","zxHLy3v0Aw9Uugf0Aa","6ycj5OUP5BM05lUJ","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","sw5WDxroDw1Izxi","Dg9ju09tDhjPBMC","Aw5MBW","x19KzwzHDwX0x18","BM9KzvG","uhjVDMLKzxi","ChGG","uMvHy3rAB29TugfUugLUy2G","zg90CW","zxjYB3iWmtu","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","AxnwywXPza","Bw91C2vpDMvY","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","zwXLDMf0zuvKz2vZt25tzwXLy3q","twLUAu1HCa","CM90yxrLka","yM91BMreyxrHC2v0qMLUzenVzgu","DMLLD0jVEa","ww91ihbYB3zPzgvKia","i2zHywqXna","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","DxnLCLnWywnLt25vC2u","y2XLyxi","5PAh5PYS5Qch562+","CMDIysGWldaSmcWWkq","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","yw50za","C2nYB2XSvg8","mxb4ihnVBgLKicnKowq5zdK","y2fUDMfZq29UzMLN","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","Cgf0DgvYBG","EKLUzgv4","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","z2vVBwv0CMLJuhjLy2LZAw9U","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","zxjYB3jZ","lMPZB24","Bwf4vg91y2HqB2LUDhm","6k+36ycj5OUP6kEM5y+r5PA55BYp","Ac1MDwXS","BgLUzvr5Cgu","Bwf0zxjPywXZ","tgvMDe91DgXPBMvK","6zw/5yIs6zE06zQu","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","5Pw05z2x6l+u5zUE5yc8","5ywZ6zET6kgm","DxbKyxrL","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","5yIG6zMK5ywO6yoO","yxrHBG","yMCTz3jHEs0Xmda","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","mtaWjq","Aw52ywXPza","rgL2AwrLCG","lI4U","Axnoyu4","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","5yc85P2L5RQq","C3rYywLNAhq","5yIG6zMK6ycj5lITicHezwXLDguP","Dg9qCMLTAxrPDMu","6kEM5y+roIa","rM9YBq","5BYa5AEl5A2J5BQM","5z6c55U05yIg5BId","rwrNzvrLEhq","tufyx1zbtfvf","AxntzwXLy3rLza","Bw91C2vvCa","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","6ycj5OUP5QIH5BYp","6ycj5OUP57Ur5A6A5A2x5Q61","5BEY56Ab55sO","C3zN","Aw5ZDgfUy2u","5PwW5O2U6k+35Rgc","yxn5BMnjDgvYyxrVCG","zhjHz3n0yxj0lMrYywC","B3bLCMf0B3i","nJa3nJHluLPYBeW","CMvJEwnSzufZEw5Jswq","AgLKzgvU","cIaG","5zcm57QN5ywZ57o7","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","5yc85Qc35BYp","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","Axnqyw5ty3jVBgXPBMC","5zU+54Mh5zcn56EW","xNjNyMfCka","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","C291CMnLswq","AxnqCMLTyxj5","6Ake6kEi5QIH5BYp","zg9Tqxr0CMLIDxrLCW","B3zLCMzSB3CTAgLKzgvU","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","DxnLrgvIDwDwywX1zq","zgvIDwC","5PwW5O2U6zUgia","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","uMLNAhq","vevyva","ndztvuvhC2W","vhLWB2DYyxbOEq","y29UzMLN","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","AxnbCNjHEq","y3jLyxrLrwXLBwvUDe5t","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","B25ezwXLDgu","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","zxzLBNrcDxm","ANn4","Aw5PDgLHBeHLAwDODa","Cg9PBNrLCKLK","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","C3rHCNrZv2L0Aa","tKvhqvrjvKvFsu5gsu5jvfK","y3jLyxrL","z2v0uhjVCgvYDhLwywX1zq","yMCTD2HPDgu","zxjYB3iWmdK","57ky6ls0iePtt04G5yAf5A6577YA","mtjWEa","CMvHy3qTzMXVD19FBwfYA2vY","BMf0AxzLrxzLBNq","Dg9mB3DLCKnHC2u","rw50zxi","Aw5Uzxjive1m","yNvPBgrnzxjNzwreyxrHuMvJB3jK","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","DgHYB3DUrxjYB3i","5Bcg57Q/5P2H5y+y5lI65z6c55U057Q/77Ym5l+D5OYb6zw/5BQM","zNvSBa","6yEn572U6kEg5zU+","Aw52zxj0wq","Dg91y2GW","5Asn5yI26iQc54k5","sgfUzgXL","zgv0ywLS","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","vw5KB091DgXPBMvK","CMvTB3zLuhjVCgvYDhK","DhjHBNnSyxrLwa","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","q2XHC3mGzxH0zw5KCYb2ywX1zsa","5zcm57QN5ywZ57o7ia","A2v5","C2v0u2nHBgvfEhrLBNq","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","DgL0Bgu","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","A2v5Dxa","y29UC3rYDwn0B3i","x2v4zwn1Dgu","vxbtCxvHCMvpDxrSAw5Lza","BgvMDa","C2v0u3rHDgu","qMv6AwvY","ioMHUsK","vw5ZDwjZy3jPChrPB25fCNjVCG","BM9YBwfS","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","C21HBgW","z2v0rgf0yq","CMvWBgfJzq","zxzLBNrgBg93","rMXVD1jLBMrLCMvY","57Ur5A6A54MP5PAz","CM9VDa","C2vSzwn0tM9KzxnpBKrYywC","57Ur5A6A5A2x5Q61","vw5NCM91Ce91DgXPBMvK","DgLTzxjjza","5BEY5l+D5A2y","tM9KzsbVBKnSAwnRoG","C3rHCNrxAwr0Aa","zgLZCgXHEwfIBgu","vxbSB2fKt3v0BgLUzwq","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","BgfIzwXgB250u2L6zq","ChjVzhvJDgLVBG","zxzLBNrtDwjQzwn0CW","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","C291CMnL","qxjYB3DvCa","BM9KzxndB25Uzwn0ywjSzq","ltiWChG","BNCTCMvZAxPL","5PQc5PEG5PwW5O2U","6k+35AgR5yAz5zcn56EW","zxzLBNrcBg9JA3m","x2nVBxbSzxrL","y2HLy2TLza","DxnLCK5Vzgu","zNjLzq","BM9KzxneCMfNz2fIBgu","zgL2","5PQc5PEG5zcm57QN5ywZ57o777Ym54k55yE744cm5PAW5BU644cn5BYa5AEl","5BYa5AEl5BM05lU9","yNv0Dg9U","y2XPzw50wa","C25HCfrVr3jPza","5BYa5AEl5zgO","BMf2AwDHDgLVBLn0ywnR","CMv0DxjUigfYz3m7","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","x196B29T","B2jZzxj2ywjSzq","BM9KzxngB2n1C2fIBgu","zM9JDxnHyMXL","5OMN6kgm5PA55BYp","C3fYDa","DhjHBNnSyxrLkc0","CMvTB3zLqxr0CMLIDxrLtLm","BxqTna","zxzLBNrMBg93","ios4QUEkTUAaGq","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","xNjNyLWO","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","6ycj5OUP5PE26zE0","zw51BwvYywjSzq","mtjWEcaW","yNvPBhrPBKLK","ios4QUIkGUEcUq","ywn0AxzL","ugX1C091DgXPBMvK","y2XVC2vZDa","6iQc54k5ieLeoIa","BgfIzwXdB2XVCG","C29SAwq","6k+36ycj5OUP5PYi5lU9","CMvZDgfYDa","C2nHBgvz","5y+w5RAi5ywO6ycj","rxzLBNqGzMXVDYbLCNjVCJO","zxjYB3iWmdi","C3rHCNroB2rLwa","x25Vzgu","nsW1","Dgv4Dc1ZBsb0zxH0lwDYyxKTnZaW","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","C2v0qxr0CMLIDxrL","ChjVDg90ExbL","imk3ia","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","C3rHDhvZ","Aw5SAw5Lu2nYAxb0","zgv2zwXVCg1LBNq","y2HPBgrYzw4","x2LUBMvYu3vIC2nYAwjL","x2vYCM9Y","y2vPBa","AxnAB29TAw5Nt3jqyw5UAw5N","mJaXmdm2q3zmvgLO","DhjHBNnSyxrLrxH0zw50","Dg91y2GTywn0Aw9U","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","BM9KzuvSzw1LBNq","5y+V6lcd5Pw05AsN5Bcp","5l6l5AAc77YACMvMCMvZAa","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","Bw9Kzq","uMLNAhrpDxrSAw5Lza","5Qgg6ycj5QIH5BYp","Dgv4DgfYzwe","zxzLBNrcBg9JA0LK","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","z2v0uhjVDg90ExbLt2y","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","DxnLrwrPDg9Yu3rVCMu","qNv0Dg9U","DMLLD3bVCNrjBML0AwfSAxPLza","CgfYzw50","iZaWmtKZqW","Cgf0Ae9WDgLVBNm","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","C3bSAwnL","C2nHBgvfEhrLBNq","x19WCM90B19F","5A2q6iQc54k5ia","vg9W","CMvHy3qTzMXVD19FzwrNzs1WyxrO","Dw5VyNnLCNzL","zxzLBNrsB290CW","B25dBgLJA0nVBM5Ly3rfBMq","y2XHC3m","CgfYyw1Zq29Kzq","CgvUzgLUzW","yxr0CI4","q3jVC3m","x3zHBhvL","AM9PBG","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","Cg9ZAxrPB24","5PYQ6ywn572U55UU5Qch55s75BIdieLe","CgHHBNrVBq","y2XVBMvoB2rL","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","C2v0vhjHBNnMB3jT","zgvSDgfz","yM9YzgvYq29SB3i","zxjYB3iWmdu","zgvSzxrHyMXL","D2HLzwXezwX0yq","C3rHCNrsB3rHDgu","zg9TtM9Kzq","mI4WlJa","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","BMv3wa","DhjHBNnSyxrLwcGTntaLkq","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","D29YAW","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","yMXVy2SGDhj1BMnHDgu","BwLU","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","BM9KzuXVB2T1Ca","C3rHCNq","yxv0BW","twv0yq","ChjLDMLVDxntAwjSAw5N","ru1qvfK","i2zMngq0zG","zxH0zxjUywXiyw5KBgvYs2v5","Bw91C2veB3DU","77Ym5AsA5ywL6l6555sOia","6l6t5ywL54Q25Ocb5zcn56EW","zwrNzxm","iZCZzdeZza","C3jJ","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","5BYa5AEl5PE26zE0","CNvUDgLTzuHHBMrSzxjZ","x3bHCMvUDgfNzq","z2v0qxr0CMLIDxrLtLm","6k+36ycj5OUP5yAf572U5yQO5l2C","q1vtve9n","Dg9WlwXLzNq","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","B25nB3zLu3rHCNq","mJC3nZq1B1DhzuLI","BwfW","yxjNCY4","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","re9ntwf0CML4uMvHze9UBhK","DhLWzq","D2HLzwWUEM9VBq","C2fTCgXLsNnVBG","x25HBwvZ","DhjHBNnWyxjLBNq","Bw91C2vTB3zL","y29UDgfPBG","zgfZAc1KB3q","6l+E57UT5A6E57Q/","tsaYmcaWieWGmcaWidaGmJa","igrVzxmGBM90igv4Axn0lG","6iQc54k55PwWoIa","yMX1zq","C3vWChjLC3nLza","yxbWBgLJyxrPB24VANnVBG","EM9VBq","y2XLyxjbBgW","Dg9qB3nPDgLVBG","C2TLD1GO","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","5yIG6zMK6k+L5PwW5O2U6zUg77YF","yMfJA2DYB3vUzeLTywDL","zgvZDgLUyxrPB24","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","AhjLzG","zgf0yvrYyw5ZzMvY","C3LTyM9S","BMv3wq","C3rHCNroB2rLwq","5lIl5lIa6Ag1","5zcr5yMniduG6Ag1","qxjYB3Dmzwz0","rwrNzvjLBMrLCMvY","zgvNksa","zw5K","rNjHz21LBNq","5Asw6yoO5lQl5lU2","B25dB25Uzwn0rw5K","Bg9JywW","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","5BEY5OMR5O+p","zxHLy3v0zuv2zw50rMXVDW","x19UB3nLBgvJDa","C3rHDgu","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","C2v0uhjVCgvYDhK","yM9Sza","ie0Wia","t1busu9o","zxHW","C3rVCa","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","C2nHBgvuBW","Dgv4DenVBNrLBNq","yxjPyuXPDMvnzxnZywDL","zwrNzvf1zxvL","i2zMzG","yxjNCY5WCMv2ma","CMvNAxn0zxjfDMvUDejSB2nR","iIbYEd0InciVpJWVC3zNpG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","Dg90ywXjBMnVBwLUzW","zgvMyxvSDevKz2vpChrPB25Z","zwrNzuLUzgv4","zMfJDg9Y","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","u2vSzwn0t3v0BgLUzwq","BwiTma","i2vImMy5nG","CMvHy3qTzMXVD19FBM9Kzs0","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","q2XVC2vpDxrSAw5Lza","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","q29UC3vTzxi","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","6BUy6k6K5yc877Yi5Ash55sO77Yj","BwLUwM9VBq","Bg9VC2u","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","5ygh5OoZ57Q/","BM9Kzvf1zxvL","B3b0Aw9UCW","BgLUzwfY","57Ur5A6A5PwW5O2U6zUg","Dgv4Dc1NCMf5ltGWma","mdeX","Bw91C2u","yxbWBgLJyxrPB24","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","zgLTzw5ZAw9UCW","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","DgfYz2v0sgfUzgXL","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","zgvMyxvSDevKz2vZ","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","5y+V5OUw5OU9","wM9VBu91De91DgXPBMvK","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","zwrNzuXVB2T1Ca","55s75BId5A+85yE65OIq5yQF77Yb","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","Bw91C2v1Cc56B29T","CgfNzvK","sg9YAxPVBNrHBa","yM9YzgvYuMfKAxvZ","yxnZAwDU","y29UBMvJDgfIBgvLBMq","C3LUyW","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","C2vJB25Kyxj5","zgf0ys4","B2zMC2v0sgvPz2H0","yM91BMreyxrHC2v0swq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","zw5HyMXLza","AhnSysG","AgfUzgXLqM91BMrZ","DMfSDwvdB2XVCG","57Yw6l6roIa","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","ksb0CMfUC2XHDguO","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","C2vSzwn0qwXS","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","zgvSDgfy","zgLZywjSzwq","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","sw5WDxq","x3rOCM93swzdBg9Zzwq","5B+R6ycF5A+56B2q","6ycj5OUP5zgO","y3vZDg9T","mdaX","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","zxjYB3iWmti","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","Aw1N","BwiTmG","qwXPz25sAwDODe91DgXPBMvK","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","Aw5JBhvKzxm","AhnSka","CgfYzw50swq","5Asw6yoO5PA55Rov5Qch6k+g","ywzMzwn0C1G","BMv3","C3rHCNruCMfUC2L0Aw9U","x2zPBMfSAxPLCNm","zxH0zw50","B25dB25Uzwn0","zML0vMLLDW","5PEG54Q25Ocb","DMfSDwvgB250v2vPz2H0","vg9VBhrPCa","DgfYz2v0q2fUDMfZswq","yMLUza","C291CMnLrxzLBNq","ug9Wy29UzMLYBq","z2v0u3rHDgu","5BEY5RE75yQG","BwfYA2vY","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","tM8GDgLTzw91DcbWCM92AwrLzc4","6l6t5ywL5Qch562+5PAh5PYS","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","y29UBMvJDgfIBgu","B25oB2rLrhjHzW","5PwW57UeicG","sxrLBq","zxjYB3i","B25oB2rLrg91yMXLq2XPy2S","5BEM5A+56B2q","CgfKzgLUzW","B25SB2fK","ttaGmgGZmNy0lJjimhO","qxjYB3C","BM9YBwfSu3r5Bgu","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","CMzFx2nVBNrYB2XZ","lM1HDgvYAwfSlxbYzxzPzxC","EKLUzgv4tw9Kzq","CMvHzefZvgv4Da","C2v0qxr0CMLIDxrLCW","Dg91y2HTB3zLlMrYywC","y29Z","C3rHCNrizwLNAhq","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","z3jVDxa","C3rHCNqUEM9VBq","DxnLv2f0y2G","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","6kEJ6zMK57Ue5zci","AxndBgLJA2fIBgu","AgfZt3DUuhjVCgvYDhK","xMHZBgfCka","x19KyxrHx18","Aw52B2TLuNvUDgLTzuHHBMrSzxi","5zYg6kEs55+P5B2I","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","Bwf0y2HLCW","y2XHC3nmAxn0","y2XLyxjjBNrLCNzHBa","x3jLBw92zvbHCMvUDa","yxjNCY5WCMv2","CMvSzwfZzvbVAw50zxjdyxb0DxjL","z2v0uMvHzgvY","Aw50zxjUywXZ","BgLZDa","CMvUzgvY","B25dBgLJAW","6k+36ycj5OUP5PE26zE0","tgf5B3v0","zg93BMXVywq","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","CMvHy3qTzg9T","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","lIbozxCGCg9ZAxrPB24SihG6ia","Bgv2zwW","DxnLtgf5B3v0rwzMzwn0","zMXVB3i","CMvHy3qTzMXVD19FAgfUzgXL","u3rLCa","BM9KzuLK","q2fUDMfZ","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","tgLZDa","CMvHy3qTzMXVD19FBwLUAw1HCa","BM9KzvK","lwzSB3DFx2HHBMrSzq","Aw5KzxG","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","BgvUz3rO","y29UDhjVBerPCMvJDgLVBG","6lEZ6l2S55s75BId","CMvZAxPPBMC","y3jLyxrLrgvMyxvSDe5Vzgu","Bwf0CML4","x+wjR+ACRa","CMvHy3q","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","BM9VCgvUzxiGBM9YzwzLCNjLCG","y2HYB21L","zw5KC1DPDgG","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","C2nHBguO","CMvTB3zL","BwiTmcbTDc00","CMvM","B25gAw5HBgL6zq","ywn0AxzLu2LIBgLUz0DYB3vWswq","y3vYC29YlxbVAw50zxi","y2fUDMfZxW","DMLLD3bVCNqT","Dw5PDa","zxzLBNrgBg93rgf0yq","zM9UDfnPEMu","y2XPy2S","Dg91y2HZDgfYDa","DxnLrM9YBq","x2fJDgL2zq","zxjYB3iWmtm","6k6+5lI65Rs76lEd57Ue","Aw5ZDa","yxrHBJi","BM93","5y+Z6zsU6i+C5y2v","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","z2v0q29TChv0zwrtDhLSzq","CMvZAxPL","z2v0sw5PDgLHBfn0yxrL","ywn0Aw9UCW","y2XVBMvfBgvTzw50","54Q25Ocb5zcn56EW","zw5KlNjLBw92zq","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","zg90","lte0ChG","zwfZzq","zxzLBNruExbL","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","BM9Kzq","BgfIzwW","BMv4Da","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","6kEM5y+r5PA55BYp","B25oB2rLrhjHz1n0yxj0","ChGS","x3n1yNnJCMLIzq","6k+36ycj5OUP5A2J5BQM","zgvMyxvSDhm","B25fzgDLC0rLBgv0zq","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","BM9Kzvr5Cgu","Aw5PDgLHBfDPzhrO","zgLZCgf0y2HfDMvUDa","zML0vMLLD1jLC29SDMvY","x19UzxDFxW","z2v0vMLLD3bVCNq","y29YBMvY","yM90Dg9TlwXLzNq","x2vUDgvY","ChjLDMvUDerLzMf1Bhq","DgHHDa","CMDIysG","AgfZqxr0CMLIDxrL","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","lNn2zW","AxndB250zw50rwrPDgfIBgu","Bs9ZWRi","zwrPDgLUz0v2zw50uM9VDeLK","B2jZzxj2zq","6lEZ6l2SoIa","y2fUDMfZswrZ","6yEn5zg95zcn","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","5y+c5PwW5zcn77Ym5AAciee","ChjVCgvYDhK","5zU+54Mh5zYW5z2aicHZCMmP","5OMN6kgm6kgO6l6+5BYp","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","C21VB3rOC3rLCa","mdaY","wM9VBsbpDxq","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","i2zMzMzMzG","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","lcdOV57MJQxMLBa6ia","C291CMnLug9ZAxrPB24","zhjHzW","y3vYCMvUDe9IC2vYDMvYCW","Dg9W","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","B25tzwXLy3rPB25eCMfN","x3rPBwu","yw5PBwf0zwq","C3rLCfbVC2L0Aw9U","rhjHz091DgXPBMvK","CMvHy3qTzMXVD19FzwrNzq","zgfZAgvK","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","C2vSzwn0ywjSzq","BgLUzq","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","zxHPDa","5A+85ywL55s75BId","6zw/54k5lEEFREEcUEs6PoABVW","5ywO6ycj5OMa5PYj","y3jLyxrLrwXLBwvUDa","Dgv4Da","CMzFx2jHy2TNCM91BMq","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","Ag9YAxPVBNrHBa","r3jVDxbpDxrSAw5Lza","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","AxnfzgL0Aw5NrxzLBNrgBg93","5A2x5Q615PwW","i2yWzJbMma","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","C3zNigXPBMu","q29UBMvJDgLVBKXPBMu","5Rc05BMZ5yIg5BId","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","C29Tzq","5PkK6zsaicHdDhjSk1OP","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","CMvZDwX0","Aw52zxj0wa","Cgf0Aa","6l+u5zUE5lUk5AsP","zgvNkq","C3LZDgvT","zhjHz0HHBMrSzq","BM9Wyw4","zw1PDev4DgvYBMfS","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","Cg9PBNrLCG","x19VBG","vg9Nz2XLieLUDgvYywn0AxzPDhK","ltzWEa","y3vYDMf0DxjL","5lIl6l295PAh5lU2","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","6BYG5Qch56E75ywL","57Ui54k5ifG","wM9VBsbjBG","AgLZDg9YEq","ChGPihnJywXLka","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","BgfZDeLUzgv4","5PEl6l2S6kEs5BQM","576K57Ue6iQc54k5","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","ChjLDG","ChGSia","C2nOzwr1Bgu","ufjpuevsvfLFq0HbtKDf","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","BwWTmG","zwzMzwn0qwXSB3DLza","BgLZDgvUzxi","55UU5Qch55s75BId","ChvZAa","DY1MDwXSigP1C3rPzNKTzw5K","qxjYB3DvCe91DgXPBMvK","uhjVBwLZzq","x190CMfUC2L0Aw9U","zMXLEa","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","u0vmrunu","CMzFx21PBMLTyxa","zgf0Dw0","kgrHDgePid0+igjVB2XLyw4","yxbWBhK","BM9KzxntzwXLy3rPB25by3rPDMu","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","B25czwzVCMvezwXLDgu","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","uMvHy3q","CMv0DxjU","ugfUzwW","mJK2otm2ALzKvM1g","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","C3rYB2TLv2LKDgG","CgfYzw50tM9Kzq","CgfUwM9VBq","qxjYB3DdBg9Zzwq","6k+36ycj5OUP5lIa5lIQ6iQc54k5","yxnpyNnLCNzHyMXL","C2HPzNrlzxK","BM9Kzuv4DgvUDa","zgv2AwnL","u2f2zu91DgXPBMvK","rw1WDhK","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","zxHWCMvZC2LVBG","CMvSzwfZzuXVy2S","5PI+56s6572r5Qc8","DgfNtMfTzq","5lIl5lIa5lIw57QQ","Bwv0yuTLEq","DhjHBNnPDgLVBG","Dg91y2HZDgfYDc5KCMfN","DxnLq2fSBgjHy2S","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","y2XPzw50tgvMDa","C2LTCgXLyMv6AwvY","DMfSDwvgB250u2L6zq","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","zwXLBwvUDhntzwXLy3rHyMXL","C2vSzwn0zwq","5zcr5zcoidmG6Ag1","qMv6AwvYrwrNzuLUDgvYBMfS","mdeY","zgvMAw5LuhjVCgvYDgLLCW","zxHLy3v0B3juExbL","y2XVC2vK","5PU05O2I54MP5PAz","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","y29UDgvUDeLUzM8","yM90Dg9TlxjPz2H0","zgf0ys1Oyw5KBgvWB3m","55s754k557Q/","DgfWrgLZDgfUy2u","DMvYDgLJywW","5yAf6igu6isA5PYS","yMCTD2HPDguGChGTmsbYB3vUzgvK","C3rYAw5NAwz5","C3bHy2u","DxnLu3rHDgu","y29SB3i","lwzSB3DFx25Vzgu","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","6k+36ycj5OUP5zgO","5PAh5lU25lIk5lYG5lIT","5lIk5lYG5zU+54Mh","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","DMLZAwjSzq","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","5yAf6l656lED","zMX1C2G","Cgf0DgvYBI0","z2v0qM91BMrPBMDdBgLLBNrszwn0","Dg9tDhjPBMC","zgf0ytPPBwfNzs9ZDMCREg1S","ihrVia","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","CMfUz2u","Dg91y2HLCW","sw1Hz2u","y29WEq","ufjfu0vovevex0LnquDfx1njtvbmrq","zgLZDgfUy2u","wvLzwEw5Ta","rgf0yvbVB2XnB2rHBa","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","yxjPyuXHyMvSq29UzMLN","yxjPyuXHyMvS","6ycj5OUP5PwW5O2U6zUg","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","CMvHy3qTzMXVD19FzwrNzs0","Bw91C2vz","ChjPBwfYEq","5lIl5lIa5Q2L","q29SDw1UsgvPz2H0t3v0BgLUzwq","lMrYywC","DgHYB3C","twvZC2fNzsdMJ5dNPlO","qgfUDc1KzxnPz24VAwnVBNm","6k+35AgR5yAz6k+35Rgc5Qch6k+g","CMDIka","y2LYy2XL","zxzLBNrcBg9JAW","5zYO562B6ycj6Ag55lIT5PcC57sI","zw1PDa","6ycj5OUP57Q/5P2H5Qc35BYp","w2rHDgeTy2fUDMfZpsj0CNvLiL0","Bwf0zxjPywW","zxjYB3iWmdm","zgvJAw1HBhm","C3rYB25N","rgvSzxrLt3v0BgLUzwq","y2HLy2TIB3G","5ywO6ycj5B2t6Ag1","u3rYywLNAhrfzgDLsw50zxjUywW","zw5Kwa","yxjNCY5WCMv2mq","57+75yIW5lIl5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","z2v0u2nYzwvUq1rn","zxjYB3iWmdG","EfnUyxbWzwq","y29TCgXLDgu","zxjYB3iWmde","rNvSBa","5BYa5AEl5PYi5lU9","5y+V54k55yE7","y29UDgfPBNm","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","6lw354k5ifK","6BYG5Qch56E75yE6","5y+n6ycj5B2t6Ag1","D2HLzwW","BgLUAW","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","AxnjBNrLCM5HBa","BgLNAhq","6k+35ywi57Ur5A6A5PwW5O2U6zUg","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","tgLUzxm","5OUw5OU96lcd5Pw05AsN5Bcp","lcb5oIa","5lQl5lU25Rwb5yIB5BU65OIq5yQF","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","zMLSzq","zgvZyW","q29UDhjVBa","55s75BId566H55cg","5OMN6kgm5lUJ56cb","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","zg9Uzq","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","ugfYzw50ig5VzguG","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","DhjPz2DLCK5VzgvdAgfUz2vZ","vMvYDgLJywW","DhjHBNnSyxrLka","Cc02","DY04igGTmc41igjNlwDYyxKTndaW","vgfICW","DhDLzw4","BgLUzxm","y29UBMvJDgLVBK1Vzgu","zw5HyMXLrxzLBNrgBg93","C2uTCMvZAxPL","zM9YD2fYzfjLzG","zgvMAw5LuhjVCgvYDhK","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","CgfYDgLHBa","57Q/5P2H57Uy5yI2","5zcr5zcoiduG6Ag1","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","ig5VDcbMB3vUza","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","6iEQ5A6A5lMj","y2fSBa","Dg91y2HZDgfYDc56B29T","zgvSyxK","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","y2vUDgvY","y3jLyxrLu1zhug9PBNq","C3rYAw5N","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","5A+85yE6iePtt04","B25oB2rLq29UDgv4De1LBNu","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","5PAh5PYS5yAf5A65","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","5PAW6iQc54k5","rxHWzxjPBwvUDe91DgXPBMvK","yMfZzvzHBa","y29UBMvJDgLVBG","mNb4ihnVBgLKicmXodKWzMy","C3bSAxq","sxrLCMfIBguGy2fUBM90igjLig51BgW","Aw5PDe1HDgvYAwfSCW","77Yi5BEY5yIG6zMK77YA","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","u3rYywLNAhq","5OUw5OU96lcd5Pw06lw354k5","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","yxv0B1bHBK9Uq29UBMvJDa","CMvTB3zLqxr0CMLIDxrL","uhjVCgvYDhLqyw5LBa","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","yMfJAW","mcaWidmYidmY","C3rHy2S","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","CMvZB2X2zq","AxrLCMf0B3i","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","x+EkTUAaGq","zNjVBq","zM9Yy2u","DMfSDwvtDhLSzq","qM90Dg9T","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","BxqTmsb0zxH0lwfTyMvYltGWma","z2fTBwe","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","B25tzwXLy3rPB25eCMfNu3rHCNq","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","yM9YzgvYlwjVEa","5lIk5lYG6zsz6k+V","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","AxneCMf3Aw5N","rwrPDe91DgXPBMvK","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","zxHLyW","y2HHBMDL","tw96vxnLCLnLBgvJDa","C3LUy1zPzxDWB3j0","5lQl5lU25Rwb","yM91BMreyxrHC2v0qMLUzfzHBhvL","w3jVBgu9iMXPC3rIB3GIxq","5A+85ywLiePtt04","zg9JDw1LBNrfBgvTzw50","Dg91y2GX","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","5A2x5l2t57kx57Ug","BwvTBW","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","zxzLCNK","EvnUyxbWzwq","yxnZzxj0AxzL","mde1","zxHLy3v0zuj1AwX0Aw4","y29Uy2f0","CMvWzwf0kdGSidfMCIK","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","x25HBwu","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","y2fUy2vS","u2vSzwn0","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","C2vSzwn0zwroB2rLswrZ","y2f0y2G","DhjHBNnPDgLVBIbUB3qGzM91BMq","DxbKyxrLtM9KzuLUDgvYBMfSCW","lwzSB3DFx2vKz2u","zgLZy29UBMvJDa","CM91BMq","ios4JEwTMowCQa","6iEQ5A6A5lMj57Ue5lU2","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","DhjHBNnSyxrL","5Rwl6k+v5PwW5O2UicHku09okq","lteWic0XmcaYmcaYma","CgfUu2nYB2XSvgLTzw91Da","iIbKB2vZBID0igv4Axn0lG","5Asw6yoO5lQl5lU25Qch6k+g","BM9Kzu9YAwDPBG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","zgf0ys1UB2rLAwq","mcaWidi1idmY","Dw5ZDwjZy3jPyMu","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","yMfJA2DYB3vUzenVBg9Y","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","Bw91C2vTB3zLlMrYywC","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","iwjNlwjSDwuTntaW","u3DPDgnO","DY1MDwXSigGTzNvSBa","CgfYC2u","zNjVBuHHBMrSzq","5OYb57UT5PE26zE077Yi56Es77Yj","57Ut5P2F5A2J5BQM","Dg91y2G","yMvMB3jLC3rHCNq","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","5y+Z5A+56B2q","twfYA2vYrgvMAw5PDgLVBNm","B25oB2rLtw91C2vnB3zL","y29UBMvJDgLVBKXVB2T1Ca","zw5KlG","5PAW5BU65PwW5O2U6zUg","54k55yE75yI35PAW","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","Ag92zxi6yMCTz3jHEs0Xmda","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","CMvHy3qTzMXVD19FyxjYB3DOzwfK","C2v0rhjHz0LTywDL","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","zw50CMLLCW","DxnLCKfNzw50","B25dBgLJA0nVBM5Ly3rtDgfYDa","q29UDhjVBcbqyw5LBa","B3DUzxjeB2n1BwvUDa","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","rNjLzq","CMv0DxjUigzHBhnLoW","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","zgf0ys1Pza","BwfYA2vYrw5K","BM93AgvLBa","C2fTCgXLiePtt04G5PEG5Pwi","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","AxnwywXPzenVBM5Ly3rPB24","CMvZB2X2zuzSB3DfDMvUDejSB2nR","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","EMHFq04","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","ltuSltqGmcWWic01ldq","y2fUy2vSywjSzq","yw50ze1LC3nHz2u","zgf0yvjLCxvLC3rlzxK","5lIl5lIa5BM05lUJ","y3vYCMvUDfn0yxr1C0LK","yMLUze5Vzgvjza","y3rYBeTLEq","5BgE5OcN6z2I5P2/","6BYG5Qch5OYj5lIl","A2v5CW","B25ZzwXLy3rZDgfYDa","ywrK","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","uMvHy3qGrMXVDW","AgvPz2H0","mxb4igrHC2HLzcb0CMfUC3bHCMvUDa","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","5yc85PAh5PYS","C2v0","mc4X","BgfIzwXgB250v2vPz2H0","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","C3rYAwn0","5lQl5lU25Rwb57Ur5A6A","CgfZDa","576K57UexW","Bg9HzgLUzW","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","AwnVBNm","y29UDgv4Dg1LBNu","6ycj5OUP54MP5PAz","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","z2v0vMfSDwvgCM9Tugf0Aa","D2fYBG","B3jKzxi","z2v0uM9VDe5Vzgu","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","CMvHy3qVANn4lxj1BNrPBwu","zw5KlNn0EwXLlG","5y+V6ycj5lIT","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","zgvSDgfnB2rL","C3vIC2nYAwjL","zM9JDxm","Cg9ZAxrPB25byNnVBhv0zq","5z+656ga5B2I54Q2","Bw92zwq","iZu5ntK1oq","AhLWB3q","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","DhjHBNnSyxrLwq","Aw5KzxHpzG","zxjYB3iWmdy","Bw9KztO","zMLSBgvK","z3jLzw4","rgf0ywjHC2vpDxrSAw5Lza","6k+36ycj5OUP5OMN6kgm5PA55BYp","6yca5yE65Rwp6kEi","y2HHBMDLzfrVDwnOzxm","5OUw5OU95QIH5BYp","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","AgfZ","y29UDgvUDa","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","ChjLDMLLDW","C291CMnLsgfUzgXL","zNvUy3rPB24","zMLUza","CMzjza","Bg9JywXLq29TCgfYzq","CMvSyxrPDMuG","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","C2LU","DxnLrwzMzwn0","5lIk5A+56B2q","rxnJyxbL","5PQc5PEG54MP5PAz","5PwW5O2U5QIH5OUF","yNvPBhrPBG","vevyvefsrue","BgfIzwXtDhLSzq","DgLTzxi","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","AgfUzgXLCG","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","tK9erv9eruXfveu","zMLYC3rfBgvTzw50q2HPBgq","Dhj5CW","vgfN","y2XPzw50sgvPz2H0","yMX1CG","y2fUDMfZzxm","C3rHDhvZtgLZDa","Bw91C2vy","C3vIBwL0","qMfJA2DYB3vUza","BgfIzwXtAg93qMC","6ycj5OUP57Ur5A6A5yc8","mJaWEKPzzvHc","mdeZ","6k+35Rgc5PwW5O2U","zgf0yq","BgLUzurYyxDPBMC","C3rHDhvZswq","6k+36ycj5OUP5BM05lU9","C2v0sw50zxj2ywW","y3vYCMvUDenHBNzHC0LK","y2XHC3noyw1L","C2vSzwn0zwroB2rLCW","5OUw5OU95PEl6l2S","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","zgfYAW","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","y29UDgv4De1LBNu","DxnLuMvM","zMLSzxm","zNv0DxjL","Aw1Tzxi","z2v0","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","yMLUzenVzgvZ","B25oB2rLq2XPy2S","zMLUzeLUzgv4","C2nHBgvcEq","DgvZDa","Bw92zq","5lUo57Ue5lIT56E76zMK","C3r5Bgu","CMvJDa","DMfSDwu","yxjYB3DJBg9Zzwq","CMv2zxjZzq","yM91BMrHCMLLCW","DxnLzfjPz2H0tw91C2vcDxr0B24","DgHPy2TUzxnZ","zxzLBNq","oda3mJGYExLbAhvp","u1fsvdi","y29UBMvJDe9Uq2XPy2S","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","B25oB2rLtw91C2vmzwf2zq","C2v0q2vUDgvY","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","6iQc54k55zcn56EW","u3bHy2u","qxjYB3DeB3DUt3v0BgLUzwq","6l6t5ywL5yc85PAh5PYS","Aw5JBhvKzuHPzgrLBK5VzgvZ","Dw5RBM93BIb0ExbLoIa","DMfSDwvtB3vYy2vdB2rL","zgvZy3jPChrPB24","C3rLCa","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","x2DYB3vWCW","zMXLEcbMBgv4lwnVBa","twfYA2vYihr5CguGiG","5PAW5BU65lQl5lU25Rwb","D2L0Aa","5O+q56s65yAf5A65","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","C2vSzwn0zwrtDgf0Dxnjza","y29TCg9ZzwrqyxrO","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","AgfZvMfSDwu","mdaZ","ksbZy2fSzsG","zMLSDgvY","B3bHy2L0Eq","vgHLig9SzcbLzgDLihDPDgGGAwq9","B3bZ","5Bgv5BYa6kgm","DxnLCLnLBgvJDgLVBKfJDgL2zq","5Qch562+5PAh5PYSicHSywjLBcK","zxHLy3v0zuzSB3DoB2rLCW","C3r5BguU","57Ut5P2F5A+86kEi","qxjYB3DsAwDODa","Dg9tDhjPBMDuywC","55s75BId6ywn572U","yNvPBhrPBKnVBMzPzW","CMDI","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","Bwf4wM9VBq","zgLZywjSzuTLEwjVyxjKqteXEq","DhjPz2DLCK5Vzgu","DMLLD3bVCNq","Dg91y2HHyMXL","x19LC01VzhvSzq","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","zgLZCgXHEu5HBwu","DhjHBNnMB3jT","y29UDhjVBeLUzM8","vgfIBgu","Aw50zxjYDxb0","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","zw1WDhK","CMvHy3qTzMXVD19FCgfUzq","5lIk5RI46l+E57Q/oG","tg9VC2u","y3vYC29YlwDYywi","C3bHy2uTEs00","zgvMCW","DgLTzq","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","C29YDa","x196B29TAw5N","CMvZzxq","yxv0B1bHBLnWzwvK","x3rYEvn1yNnJCMLIzq","C2v0uhjVDg90ExbLt2y","B250B3vJAhn0yxj0","DxnLsw1WzxjHDgL2zuHHBMrSzq","AxntzwXLy3rHyMXL","zwfJAa","rg90CW","ChjVzhvJzq","572U5lQo5BQv5Bgc","Bw91C2vKB3DU","DMfSAwq","5PQc5PEG5PwW5O2U6zUg","i2q5zdLKoq","BMfUB2LK","CMvHza","Dg9gAxHLza","zMXLEc0Xig1PBI13lta","DxjSkcCJ","5BEY5zcV55sO","x3bHCMvUDhm","ANn4CW","z2v0u25HChnOB3q","zhjHDW","AgfUzgXLrg9TtM9Kzq","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","su1br0u","C2vSzwn0","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","zhjHz2DHyMXL","yMfZAwm","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","B25oB2rLrhjHz1n0B3a","55s75BIdia","BM9KCMfN","6iom5PMV5zU+54Mh","CMLNAhq","C3r5BgvuD2vLBG","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","ywjZ","5PwW5O2U5RgG","Aw50zxjUywW","zM9UDc1TB25VihrLEhqTC20","DMLLDW","zML0vMLLD09WDgLVBNm","w1jLywn0iezSB3DDoIa","A2v5zg93BG","ywX0s2v5","y3jLyxrLrxzLBNq","yMfJA2DYB3vUza","C3DPDgnOq2fUDMfZ","cIaGicaGicaGica","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","CMvQzwn0","qLvuve9o","ywjZB2X1Dgu","AxntDg9WCgvK","C3rVCfbYB3bHz2f0Aw9U","BM9Uzq","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","B25dB25Uzwn0u3rHCNq","vxbSB2fK","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","DxjSkcm","5Qch6k+g5lIn6io95lI656M6","55s75BId5yIx6kgO","u21VB3rOu3rLCevKz2u","y29TBw9Utg9JywXL","Dg91y2HTB3zL","DxnLtwvTBW","Aw50zxjWB2XHDgu","t3b0Aw9U","C2nOzw1LxW","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","y3jLyxrLq29UDgv4Da","zNjVBNq","tM9Kzsb3AxrOigLKici","57Q/5P2H5BgE5OcN","DMfSDwvZ","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","57Ue5Ocb57Yw6l6r5zMO","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","jhbYzxyU","CgfNzvG","ANn4uNvUDgLTzq","ChjVBwLZzq","D2LKDgG","5A2x5l2t5AsN5Bcp","B3DUzxjtvKDfBgvTzw50","Aw52ywXPzcbJywXSyMfJAZOG","6iom5PMV6AkC6iMY","C2vSzwn0q2HPBgrYzw4","C2v0qxr0CMLIDxrLtLm","DxnLq29UDgv4Da","5lIk5lYGifnwrW","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","y29UDgvUDgvKAxrHyMXL","CgfUzurYywDNAw5N","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","CMvTB3zLrxzLBNrmAxn0zw5LCG","DxbKyxrLq29UBMvJDgLVBG","y29Kzq","CMvHy3qTzMXVDW","6yEn5ygAicHdDhjSk1KP","tw92zwqGC2vSzwn0zwqGBM9Kzsa","Bw91C2v1Ca","DxbKyxrLtM9Kzq","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","lwnHBNzHCY0","Cg9PBNrLCLK","zgvMyxvSDfzPzxC","Aw5SAw5LlwjSB2nR","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","DxnLCLnLBgvJDgLVBLjLy3q","twf0zxjPywXqyw5LBa","5Rwp6kEi5lIT","CMvHy3qTzMXVD19FCgfUzwW","BgLUzujVEa","BwfYA2vYu3rHCNq","rxzLBNrgBg93qMLUzgLUzW","yw55","u3rYywLNAhrfzgDL","zMXLEc1ZDgfYDa","Aw5qCM9NCMvZCW","zxHWyw5KugfYzw50","BwvHC3vYzwq","DhjPBq","q29SDw1Uv2LKDgHpDxrSAw5Lza","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","zwrPDa","B25fCNjVCG","u3rYAwn0","yxjNCW","teLorq","57Q/5A6977Yi5yop57sG77Yj","AwnVBG","yM9VBgvHBG","C2v0rMLLBgrZvMfSDwu","Bwf4","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","zg9TywLU","C3vIC2nYAxb0Aw9UCW","Cg93","C2v0vhjHBNnSyxrLrxH0zw50","5y+V5O6s5BQp","Dw5KzwzPBMvK","BwvYz2u","q29UzMLNrwrPDg9Y","su5qvvq","mta4ma","BMfTzxnWywnLvvjj","6Ake6kEi5PAh5lU2","Dw5YzwDPC3rLCKv2zw50qMXVy2S","y3vYCMvUDfrHCMDLDa","Bw91C2vcDxr0B24","y3jPC3bfzgDLCW","y2fUDMfZ","iZi2mJyYnG","Aw52zxj0","BgfUzW","Dg9izxHtDhjPBMC","Aw5WDxq","Dg91y2HLBMq","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","DgfYz2v0","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","BwvYz2vsDw50Aw1LsgfUzgXLCNm","54Q25Ocb5yIx6kgO","C2vUDa","CxvLCNLtzwXLy3rVCG","6BYG5Qch6l+B5ywL","5RE75yQG54Q25Ocb","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","6ycj5OUP5PwW5O2U5A2x5Q61","rwrNzsb0ExbLici","Cg9SEwXPBMu","ywrKrxzLBNrmAxn0zw5LCG","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","BgfIzwXcz1n0EwXL","zxjYB3iWmte","ChGP","5PAW5lQl5lU25z2x","CMzFx2vKz2uT","yw1K","CMvSyxrPDMu","x2fKzfbHCMvUDa","ENvZDgfUza","BMv4DfnPyMXPBMC","qebPDgvYyxrVCG","C2nHBgvy","vhjHBNnMB3jTv3jHChbLCG","C2fTCgXL","5RE75yQG5lQl5lU25Rwb","mJfpA0fXyuW","57Ur5A6A5yc8","Dw5IAw5KqwXSrM9YtM9Kzq","x2nHBgW","zxHLy3v0zq","C2XPy2u","iZaWmdaWma","CxvLCNLtzwXLy3rVCKfSBa","54MP5PAz5BgE5OcN","q29UDhjVBhm","C2HVDwXKvw5ZDwjZy3jPyMu","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","qxjYB3DeB3DU","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","zw5Kug9PBNq","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","y29UzMLNrwrPDg9Y","CMvZAxPLrgLYzwn0Aw9U","B25nB3zLrw5K","DhjHBNnSyxrLqNK","rML0ifzPzxC","DhjHBNnMB3jTu3rHDgu","ugfYDgLHBa","w2rHDgeTAgfUzgXLpsjLBMqIxq","y29UC3rYywLU","igHHBMrSzsbPzdOGiG","DxnLu3LUy0v4DgvYBMfSu3rVCMu","zwXLBwvUDezYB21qB2LUDa","y3vYCMvUDa","5lQK5O2I6lw354k55zkm57Ui54k5","oMzVy3vZlxzPC2LIBgu","y2XPy2SUzhjHzW","y2HLy2TwAxnPyMLSAxr5","tw9KDwXL","54MP5PAz5BQt","yxr0CLr3zwvU","C3CTCMvZAxPL","B3jPz2LU","5yIG6zMK5PAh5lU2","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","q29SBgfWC2u","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","57Uy5yI25lIT","5PAW5BU655s75BId","zM9YrwfJAa","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","ANvTCfrVq2fUDMfZ","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","y2XPy2TeAxn0yw5Jzq","CMzFx25VzguT","B2zMC2v0","zxH0zxjUywXfDMvUDeTLEq","BwfYz2LU","zM9UDfDLAwDODa","6iom5PMV6Ake6kEi","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","zhjHz2DPBMC","DxjSkcnNCMLKkq","tw9KywW","xcKK","C2LIBgLUz0DYB3vWCW","rxzLBNq","AxnwAwv3","5PYQ55+L55s75BId","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","5lIk5lIa6Ag1","iZe4otbMzG","rg93BMXVywrpDxrSAw5Lza","B25qB2LUDgvYrg93BG","zgLYzwn0Aw9U","twLUAsbnyxa","zMXVD0rHDge","oJPLEhq6oG","qMv6AwvYrwrNzq","z2v0qxr0CMLIDxrL","zxH0zxjUywW","B25fzgL0","57Ut5P2F5PEL5PYF","zwrNzxnszwnVBM5Ly3rHyMXL","yM90Dg9T","Aw5ZzxqOmtaWjsK","ue9tsvrjvKvFsu5gsu5jvfK","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","CMvTB3zLq2HPBgq","C2v0vMLLD3bVCNq","Dgv4Dc1ZBq","6ycj5OUP5PAW54MP5PAz","CMvHy3qTzMXVD19Fy29UDgfPBMvY","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","CMvXDwvZDefUAw1HDgLVBKzYyw1L","Aw5PDgLHBfrLyxjKB3DU","D2fYBMLUzW","C3bHBG","Bg9N","55+L6ygt5lQg","B2jZzxj2zxjZ","yMLUze5VzgvfDMvUDa","5PYQ55+L57g75z6l","zgf0yvbVB2W","5RE75yQG5lQl5lU25z2x","CMvKDwnL","CgLWzq","zMLSBenVBg9Y","lM5VA2v5","CMHV","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","Dg9qCM9TAxnL","AwXSzwDHBcb0ExbLoIa","CgfYyw1ZtMfTzq","572U5lQo6Ag25Bgc","DY1MDwXSia","zNjVBu5Vzgu","zxHWB3j0CW","BgLUzvDLAwDODa","ChjLCgfYzuv2zw50qxjNCW","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","C2vSzwn0zwroB2rLswq","CgfYzw50tg9VA3vW","BgLMDa","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","z2v0rxzLBNrcBg9JAW","CMvXDwvZDefZEw5Jswq","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","iw1Ylta","54k55yE75y2h5BQp","5lQl5lU25z2x5BEY5PU05PAW","y29UDgfPBMvY","Cg9W","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","C291CMnLtgfIzwW","yxbWzw5Kq2HPBgq","Aw50zxjHy3rPB25xAwr0Aa","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGyMCTD2HPDguGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","5Asw6yoO5PA55Rov","Aw5PDev2zw50","yM94lxnLBgvJDa","Aw5WDxrZ","Dw5ZAgLMDa","CM9VDfbHCMvUDeLUzgv4","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","Bw91C2vKB3DUlMrYywC","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","57Ur5A6A6iQc54k5","zgf0yvjLCxvLC3q","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","5y+w5RAi5O6s5BQp","C2nOzwr1BgvY","Aw5Zzxj0qMvMB3jL","zxzLBM9Kza","CMvZzxrgAwvSzhm","CMvHy3qTzMXVD19FzwrNzxm","AwrLBNrPzMLLCG","6k6+5Ash5zU+5Qch","CMDIysGYncWXndqSmJu1ldaUmdGP","zg93BG","Dg9iyw5KBgu","tK9erv9truXfq1q","6k+36ycj5OUP","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","BM9Kzxm","iIbYEd0ImJaIlZ48l3n2zZ4","zg9JDw1LBNq","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","AxngAw5PDgu","5PYQ55+L5yAf572U5yQO5l2CoIa","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","EwvSBg93","u2LTCgXLqMv6AwvYrwrNzq","CMv0DxjUihrYDwu7","zgvSzxrL","AxnszxnPEMfIBgu","B25nB3zL","C2HVD0DYAwq","AgvHza","5lIk5lIa5lIw57QQ","Bw0VCW","y2XPzw50v2LKDgG","mcaWidmYidu","zgf0ytPPBwfNzs9ZDMCREg1Sla","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","AgfUzgXLCW","B25fzgDLC0nOyw5Nzq","57Ui54k5ifK","z2v0u2vYDMvYu3rHDgu","y2XPzw50wq","5Qch562+5Qc35BYp","BwfUDwfS","5PAh5A2x6AkC6iMY","C3rHCNrz","jsWG","CMvHzefZrgf0yvvsta","zhvYyxrPB24","DgfWCW","BNvTyMvY","u2LTCgXLqMv6AwvY","C2nHBgu","yMfZzwXPBMu","Dhj1zq","nNb4idHWEa","x3bHCMvUDa","6l+u5zUE5yIx6kgO","mti5nJqXmfHvsuvIrG","6k+35AgR5yAz5O+q56s65yAf5A65","zgjSy2XPy2SUEM9VBq","BM9Kzu5HBwu","BMfTzq","BwvZC2fNzq","BMuTCMvZAxPL","6iom5PMV6iMY","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","BM9eCMfNq2XHC3noyw1L","zgvZDhjVEq","BgLUzs1KCMf3","5lQm57U056cb6l+h5PYF","54Q25Ocb5PwWoIa","5Pon5l2C5OIq5yQF","rg93BLnXDwfYzu91DgXPBMvK","AxneCMfNz2fIBgu","iZeZyZjJmG","nZq5ntvzB091ANC","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","6BYG5Qch6yEk5Ps+","6BUy6k6K54Q25Ocb","Bw91C2vmzwf2zq","mca0ChG","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","DgHLBG","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","AgfZrxjYB3i","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","z3jHyG","x2LK","CM90yxrL","57Ut5P2F5PYi5lU9","C3rHCNry","ioMHUEw/HEMHU+AyR+wVUEIXOq","tgvMDa","6k+36ycj5OUP55UU5Qch55s75BId","5l+D55wz5Bcp5PwW5l2n","Bw91C2vfBNrLCG","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","6ycj5OUP5PEL5PYF","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","CgfYDgLHBe9IC2vYDMvY","77Yi5y+V6ycj77Yj","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","zM9YBwf0sgv4oa","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","C2vSzwn0Aw9U","C3vJy2vZCW","CMvJB25Uzwn0ywjSzq"];return _0x19f0=function(){return Me},_0x19f0()}function _0x5bb9(Me,d){Me=Me-189;const B=_0x19f0();let z=B[Me];if(_0x5bb9.guCaPo===void 0){var ae=function(ct){const s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let on="",Nn="";for(let _e=0,B0,D0,Sn=0;D0=ct.charAt(Sn++);~D0&&(B0=_e%4?B0*64+D0:D0,_e++%4)?on+=String.fromCharCode(255&B0>>(-2*_e&6)):0)D0=s.indexOf(D0);for(let _e=0,B0=on.length;_e<B0;_e++)Nn+="%"+("00"+on.charCodeAt(_e).toString(16)).slice(-2);return decodeURIComponent(Nn)};_0x5bb9.pfBHzE=ae,_0x5bb9.TWrhbm={},_0x5bb9.guCaPo=!0}const zx=B[0],dt=Me+zx,pe=_0x5bb9.TWrhbm[dt];return pe?z=pe:(z=_0x5bb9.pfBHzE(z),_0x5bb9.TWrhbm[dt]=z),z}const s=_0x5bb9;var on=document.createElement(s(1301));on[s(472)]=`.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
2
+ /*$vite$:1*/`,document[s(1760)][s(1715)](on);function Nn(e){const n=s;return e&&e[n(1364)]&&Object[n(308)][n(615)][n(1018)](e,"default")?e[n(1846)]:e}var _e={},B0={exports:{}},D0;function Sn(){return D0||(D0=1,(function(e){const n=_0x5bb9;function t(o){return o&&o[_0x5bb9(1364)]?o:{default:o}}e[n(1697)]=t,e[n(1697)][n(1364)]=!0,e[n(1697)][n(1846)]=e[n(1697)]})(B0)),B0.exports}var kn={},Xo;function dl(){const e=s;if(Xo)return kn;Xo=1,Object[e(1008)](kn,e(1364),{value:!0}),kn[e(1846)]=void 0;const n={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(1649),next_page:e(448),prev_5:e(449),next_5:e(1013),prev_3:"向前 3 页",next_3:e(880),page_size:"页码"};return kn[e(1846)]=n,kn}var Pn={},In={},An={},Yn={},Zo;function cl(){const e=s;return Zo||(Zo=1,Object[e(1008)](Yn,e(1364),{value:!0}),Yn[e(1454)]=void 0,Yn[e(1454)]={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Yn}var Ko;function ul(){const e=s;if(Ko)return An;Ko=1,Object.defineProperty(An,e(1364),{value:!0}),An[e(1846)]=void 0;var n=cl();function t(l){"@babel/helpers - typeof";const c=e;return t=c(1240)==typeof Symbol&&typeof Symbol[c(1054)]=="symbol"?function(f){return typeof f}:function(f){const b=c;return f&&b(1240)==typeof Symbol&&f[b(216)]===Symbol&&f!==Symbol[b(308)]?b(445):typeof f},t(l)}function o(l,c){const f=e;var b=Object[f(1182)](l);if(Object.getOwnPropertySymbols){var g=Object[f(1797)](l);c&&(g=g[f(1343)](function(v){const h=f;return Object[h(1029)](l,v)[h(286)]})),b[f(829)][f(840)](b,g)}return b}function x(l){const c=e;for(var f=1;f<arguments.length;f++){var b=arguments[f]!=null?arguments[f]:{};f%2?o(Object(b),!0)[c(1626)](function(g){r(l,g,b[g])}):Object[c(539)]?Object[c(883)](l,Object[c(539)](b)):o(Object(b))[c(1626)](function(g){Object.defineProperty(l,g,Object.getOwnPropertyDescriptor(b,g))})}return l}function r(l,c,f){const b=e;return c=i(c),c in l?Object[b(1008)](l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}function i(l){const c=e;var f=a(l,c(1025));return c(445)==t(f)?f:String(f)}function a(l,c){const f=e;if(f(1866)!=t(l)||!l)return l;var b=l[Symbol[f(1944)]];if(b!==void 0){var g=b[f(1018)](l,c);if(f(1866)!=t(g))return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(l)}var u=x(x({},n[e(1454)]),{},{locale:e(1169),today:"今天",now:"此刻",backToToday:e(795),ok:"确定",timeSelect:e(285),dateSelect:e(1831),weekSelect:e(551),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(620),nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:e(1875),previousYear:e(1041),nextYear:e(1730),previousDecade:"上一年代",nextDecade:e(1176),previousCentury:e(1761),nextCentury:e(867),yearFormat:e(923),cellDateFormat:"D",monthBeforeYear:!1});return An.default=u,An}var jn={},Ro;function Jo(){const e=s;if(Ro)return jn;Ro=1,Object.defineProperty(jn,e(1364),{value:!0}),jn.default=void 0;const n={placeholder:e(632),rangePlaceholder:[e(401),"结束时间"]};return jn[e(1846)]=n,jn}var Qo;function Fo(){const e=s;if(Qo)return In;Qo=1;var n=Sn()[e(1846)];Object[e(1008)](In,e(1364),{value:!0}),In[e(1846)]=void 0;var t=n(ul()),o=n(Jo());const x={lang:{placeholder:e(1853),yearPlaceholder:e(1278),quarterPlaceholder:e(713),monthPlaceholder:e(296),weekPlaceholder:e(902),rangePlaceholder:["开始日期",e(1661)],rangeYearPlaceholder:[e(263),"结束年份"],rangeMonthPlaceholder:[e(964),e(1823)],rangeQuarterPlaceholder:[e(1947),e(1135)],rangeWeekPlaceholder:[e(267),"结束周"],...t[e(1846)]},timePickerLocale:{...o[e(1846)]}};return x[e(1547)].ok="确定",In[e(1846)]=x,In}var _o;function fl(){const e=s;if(_o)return Pn;_o=1;var n=Sn().default;Object[e(1008)](Pn,e(1364),{value:!0}),Pn[e(1846)]=void 0;var t=n(Fo());return Pn[e(1846)]=t[e(1846)],Pn}var $o;function hl(){const e=s;if($o)return _e;$o=1;var n=Sn()[e(1846)];Object.defineProperty(_e,e(1364),{value:!0}),_e[e(1846)]=void 0;var t=n(dl()),o=n(fl()),x=n(Fo()),r=n(Jo());const i=e(1809),a={locale:"zh-cn",Pagination:t.default,DatePicker:x[e(1846)],TimePicker:r[e(1846)],Calendar:o[e(1846)],global:{placeholder:e(1743),close:"关闭",sortable:e(1532)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:e(943),emptyText:e(253),selectAll:e(953),selectInvert:e(970),selectNone:"清空所有",selectionAll:e(771),sortTitle:"排序",expand:e(1347),collapse:e(1927),triggerDesc:"点击降序",triggerAsc:e(1709),cancelSort:e(1731)},Modal:{okText:"确定",cancelText:"取消",justOkText:e(1679)},Tour:{Next:e(933),Previous:"上一步",Finish:e(1352)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(953),removeCurrent:"删除当页",selectAll:e(771),deselectAll:e(299),removeAll:e(1930),selectInvert:e(970)},Upload:{uploading:e(903),removeFile:e(1620),uploadError:e(1069),previewFile:e(1539),downloadFile:e(807)},Empty:{description:e(253)},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:e(1834),defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:e(1286),date:{format:e(1690),parse:e(1837),invalid:e(374)},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:e(1816),min:e(906),max:e(1516),range:"${label}须在${min}-${max}字符之间"},number:{len:e(434),min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:e(1890)},array:{len:e(1189),min:"最少${min}个${label}",max:e(598),range:e(744)},pattern:{mismatch:e(1171)}}},QRCode:{expired:e(1801),refresh:e(1145),scanned:e(459)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};return _e[e(1846)]=a,_e}var Cx,er;function gl(){return er||(er=1,Cx=hl()),Cx}var bl=gl();const yl=Nn(bl),ml=e=>(n,t,o)=>{const x=s;return o.setState=(r,i,...a)=>{const u=_0x5bb9,l=typeof r===u(1240)?dt[u(1393)](r):r;return n(l,i,...a)},e(o[x(220)],t,o)},vl=ml;function wl(e){return Array[s(1994)](e)}function nr(e){const n=s,t=[];for(const o of Object.keys(e)){t[n(829)](o);const x=e[o];if(x!==null&&typeof x=="object"&&!Array[n(1994)](x))for(const r of Object[n(1182)](x))t[n(829)](o+"."+r)}return t}function pl(e,n,t){const o=s,x=e[o(1579)];if(wl(x)){if(n!=null&&t!=null){const r=x[o(1241)](i=>i[n]===t);if(r)return r}return{}}return x}function tr(e,n,t,o){const x=s,r=pl(e,t,o),i={...r};if(n&&typeof n===x(1866)&&!Array[x(1994)](n))return{...i,...n};if(Array[x(1994)](n)){const a={...i};for(const u of n){if(!u||typeof u!==x(1866))continue;const l=u;l[x(353)]!=null&&(a[String(l.paramsCode)]=l.value)}return a}return i}const zl={id:"_",name:"_",sample:{}};function Mx(e,n,t){const o=s,x=e.boundDatasetId!=null?String(e[o(532)])[o(1514)]():"",r=x?t.find(a=>a.id===x):void 0,i=r??zl;try{const a=tr(i,n,e[o(1894)],e[o(1080)]);return new Function(o(1275),e[o(863)])(a)===!0}catch(a){return console.warn(o(1934)+e[o(1793)]+"]:",a),!1}}function xr(e,n,t){for(const o of e)if(Mx(o,n,t))return o}function or(e,n){const t=s;for(const o of e){for(const x of o[t(888)][t(1266)])x[t(532)]===n&&(x[t(532)]=null,x[t(1894)]=null,x[t(1080)]=null);o[t(415)]===t(609)&&o[t(314)]?.[t(655)]&&or(o[t(314)],n)}}function Bx(e){const n=s;for(const t of e){for(const o of t.contentInfo[n(1266)])delete o[n(1294)];t.type===n(609)&&t[n(314)]?.length&&Bx(t[n(314)])}}const Dx=(e,n)=>({id:e||pe[s(1399)](),name:n||"画布 1",nodes:[],canvasConfig:{width:1920,height:1080,background:s(339),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Cl=()=>{const e=s,n=Dx();return{id:pe[e(1399)](),name:"默认项目",canvases:[n],currentCanvasId:n.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},rr=Cl(),V0=rr[s(1265)][0],Ml={root:rr,materials:[],mode:s(1412),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:V0.nodes,canvas:V0[s(1907)],viewport:V0[s(1362)],selectedNodeId:V0[s(1701)],selectedNodeIds:V0.selectedNodeIds,selectedStatusId:V0[s(1337)],history:V0.history},w0=(e,n,t)=>({id:pe[s(1399)](),type:e,targetId:n,payload:t,timestamp:Date[s(688)]()}),Te=zx[s(2006)]()(vl((e,n)=>({...Ml,addCanvas:t=>{const o=s,x=Dx(pe.nanoid(),t||o(1418)+(n().root[o(1265)][o(655)]+1));return e(r=>{const i=o;r[i(232)].canvases[i(829)](x),r[i(232)][i(1280)]=x.id;const a=x;r[i(1745)]=a.nodes,r[i(1544)]=a.canvasConfig,r[i(1362)]=a[i(1362)],r.selectedNodeId=a[i(1701)],r[i(1103)]=a[i(1103)],r[i(1337)]=a[i(1337)],r[i(812)]=a[i(812)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x5bb9,r=o.root.canvases.findIndex(a=>a.id===t);if(r===-1||o.root[x(1265)][x(655)]<=1)return;if(o[x(232)][x(1265)][x(343)](r,1),o[x(232)][x(1644)])for(const a of o[x(232)].siblingGroups){const u=a[x(737)][x(1224)](t);u!==-1&&a[x(737)][x(343)](u,1)}if(o[x(232)][x(268)]&&o[x(232)].navigationStack[x(655)]>0&&(o[x(232)][x(268)]=o.root.navigationStack[x(1343)](a=>a!==t)),o[x(232)][x(1280)]===t){const a=o[x(232)][x(1265)][0];o[x(232)][x(1280)]=a.id,o.nodes=a.nodes,o[x(1544)]=a[x(1907)],o[x(1362)]=a[x(1362)],o.selectedNodeId=a[x(1701)],o[x(1103)]=a[x(1103)],o[x(1337)]=a[x(1337)],o[x(812)]=a[x(812)]}const i=o[x(232)][x(673)];if(i){const a=(o[x(232)].siblingGroups||[])[x(1241)](u=>u.id===i);(!a||!a.canvasIds[x(561)](o[x(232)][x(1280)]||""))&&(o[x(232)][x(673)]=null)}})},switchCanvas:t=>{e(o=>{const x=_0x5bb9,r=o[x(232)][x(1265)].find(a=>a.id===t);if(!r)return;o[x(232)][x(1280)]=t,o.nodes=r.nodes,o.canvas=r[x(1907)],o[x(1362)]=r[x(1362)],o.selectedNodeId=r[x(1701)],o[x(1103)]=r[x(1103)],o[x(1337)]=r[x(1337)],o[x(812)]=r.history;const i=o[x(232)][x(673)];if(i){const a=(o.root[x(1644)]||[])[x(1241)](u=>u.id===i);(!a||!a.canvasIds[x(561)](t))&&(o.root[x(673)]=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x5bb9,i=x.root[r(1265)][r(1241)](a=>a.id===t);i&&(i[r(1793)]=o)})},getCurrentCanvas:()=>{const t=s,o=n();return o[t(232)][t(1265)].find(x=>x.id===o[t(232)].currentCanvasId)},addSiblingGroup:(t,o)=>{const x=s,r=pe[x(1399)]();return e(i=>{const a=x;i[a(232)][a(1644)]||(i[a(232)][a(1644)]=[]);const u=i[a(232)][a(1644)][a(655)]+1,l=Array[a(1057)](new Set((o||[]).filter(c=>i[a(232)][a(1265)][a(789)](f=>f.id===c))));i.root[a(1644)].push({id:r,name:t||a(209)+u,canvasIds:l})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0x5bb9;if(!o[x(232)].siblingGroups)return;const r=o.root[x(1644)].findIndex(i=>i.id===t);r!==-1&&o[x(232)][x(1644)][x(343)](r,1),o.root.activeSiblingGroupId===t&&(o[x(232)][x(673)]=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x5bb9;if(!x[r(232)][r(1644)])return;const i=x.root[r(1644)][r(1241)](a=>a.id===t);if(i&&(o.name!==void 0&&(i[r(1793)]=o[r(1793)]),o[r(737)]!==void 0)){const a=new Set,u=[];for(const l of o[r(737)])a[r(1235)](l)||x.root[r(1265)][r(789)](c=>c.id===l)&&(a[r(1184)](l),u[r(829)](l));i.canvasIds=u}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5bb9;if(!r[i(232)].siblingGroups)return;const a=r[i(232)].siblingGroups[i(1241)](u=>u.id===t);a&&r[i(232)][i(1265)][i(789)](u=>u.id===o)&&(a[i(737)][i(561)](o)||(typeof x=="number"&&x>=0&&x<=a.canvasIds[i(655)]?a[i(737)].splice(x,0,o):a[i(737)][i(829)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x5bb9;if(!x[r(232)][r(1644)])return;const i=x[r(232)][r(1644)][r(1241)](u=>u.id===t);if(!i)return;const a=i[r(737)].indexOf(o);a!==-1&&i[r(737)][r(343)](a,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5bb9;if(!r[i(232)][i(1644)])return;const a=r[i(232)][i(1644)][i(1241)](c=>c.id===t);if(!a)return;const u=a[i(737)].indexOf(o);if(u===-1)return;const l=x==="up"?u-1:u+1;l<0||l>=a.canvasIds[i(655)]||([a[i(737)][u],a[i(737)][l]]=[a[i(737)][l],a[i(737)][u]])})},nextSiblingCanvas:(t,o=!1)=>{const x=s,r=n(),i=r[x(232)].siblingGroups?.[x(1241)](c=>c.id===t);if(!i||i.canvasIds[x(655)]===0)return null;const a=i.canvasIds[x(1343)](c=>r[x(232)][x(1265)][x(789)](f=>f.id===c));if(a[x(655)]===0)return null;const u=a.indexOf(r.root[x(1280)]||"");let l;if(u===-1)l=0;else if(u===a[x(655)]-1){if(!o)return null;l=0}else l=u+1;return e(c=>{const f=x;c.root[f(673)]=t}),n().switchCanvas(a[l]),a[l]},prevSiblingCanvas:(t,o=!1)=>{const x=s,r=n(),i=r.root[x(1644)]?.find(c=>c.id===t);if(!i||i[x(737)][x(655)]===0)return null;const a=i[x(737)][x(1343)](c=>r[x(232)][x(1265)][x(789)](f=>f.id===c));if(a[x(655)]===0)return null;const u=a[x(1224)](r[x(232)][x(1280)]||"");let l;if(u===-1)l=a[x(655)]-1;else if(u===0){if(!o)return null;l=a[x(655)]-1}else l=u-1;return e(c=>{const f=x;c[f(232)][f(673)]=t}),n()[x(1437)](a[l]),a[l]},gotoSiblingCanvas:(t,o)=>{const x=s,r=n(),i=r.root[x(1644)]?.[x(1241)](u=>u.id===t);if(!i)return null;const a=i[x(737)][x(1343)](u=>r[x(232)][x(1265)].some(l=>l.id===u));return o<0||o>=a.length?null:(e(u=>{const l=x;u[l(232)][l(673)]=t}),n()[x(1437)](a[o]),a[o])},getSiblingGroupsByCanvas:t=>{const o=s;return(n()[o(232)][o(1644)]||[]).filter(r=>r[o(737)][o(561)](t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0x5bb9;if(t===null){o[x(232)][x(673)]=null;return}(o[x(232)][x(1644)]||[])[x(789)](i=>i.id===t)&&(o.root.activeSiblingGroupId=t)})},jumpToCanvas:t=>{const o=s,x=n();if(!x.root.canvases[o(789)](i=>i.id===t)||x.root[o(1280)]===t)return;const r=x.root[o(1280)];r&&e(i=>{const a=o;i[a(232)][a(268)]||(i[a(232)][a(268)]=[]),i[a(232)][a(268)][a(829)](r)}),n()[o(1437)](t)},goBack:()=>{const t=s,o=n();if((o[t(232)][t(268)]||[])[t(655)]===0)return null;let r=null;const i=new Set(o[t(232)][t(1265)][t(411)](a=>a.id));return e(a=>{const u=t;for(;a.root[u(268)]&&a[u(232)][u(268)].length>0;){const l=a[u(232)][u(268)][u(1712)]();if(i.has(l)){r=l;break}}}),r&&n()[t(1437)](r),r},clearNavigationStack:()=>{e(t=>{const o=_0x5bb9;t[o(232)][o(268)]=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0x5bb9,r=o.root[x(1265)][x(1241)](i=>i.id===o[x(232)][x(1280)]);r&&(r[x(1103)]=t,o.selectedNodeIds=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x5bb9,r=o[x(232)].canvases[x(1241)](i=>i.id===o[x(232)][x(1280)]);r&&!r.selectedNodeIds[x(561)](t)&&(r.selectedNodeIds[x(829)](t),o.selectedNodeIds=r[x(1103)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x5bb9,r=o.root.canvases[x(1241)](i=>i.id===o.root[x(1280)]);r&&(r[x(1103)]=r[x(1103)].filter(i=>i!==t),o.selectedNodeIds=r[x(1103)])})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x5bb9,x=t[o(232)][o(1265)][o(1241)](r=>r.id===t[o(232)][o(1280)]);x&&(x.selectedNodeIds=[],t[o(1103)]=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x5bb9,i=x[r(232)][r(1265)][r(1241)](u=>u.id===x[r(232)].currentCanvasId);if(!i)return;const a={...t,id:t.id||pe[r(1399)]()};i[r(1745)].push(a),x.nodes=i[r(1745)],o&&(i[r(1701)]=a.id,x[r(1701)]=a.id,i.history[r(1197)][r(829)](w0(r(1742),a.id)),x[r(812)]=i[r(812)])})},updateNode:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(232)][r(1265)].find(u=>u.id===x.root[r(1280)]);if(!i)return;const a=i[r(1745)][r(1241)](u=>u.id===t);a&&(o.normalStyle&&Object[r(525)](a.normalStyle,o[r(597)]),o[r(888)]&&(a.contentInfo={...a[r(888)],...o[r(888)]}),o[r(1793)]&&(a[r(1793)]=o.name),o[r(1369)]&&Object[r(525)](a[r(1369)],o[r(1369)]),o.children&&(a.children=o[r(314)]),i[r(812)].past[r(829)](w0("PROPERTY_CHANGE",t,o)),x.history=i[r(812)],x[r(1745)]=i[r(1745)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(232)][r(1265)][r(1241)](u=>u.id===x[r(232)].currentCanvasId);if(!i)return;const a=i[r(1745)][r(1241)](u=>u.id===t);a&&(Object[r(525)](a[r(597)],o),i[r(812)][r(1197)][r(829)](w0(r(823),t,{normalStyle:o})),x.history=i[r(812)],x[r(1745)]=i.nodes)})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(232)].canvases[r(1241)](u=>u.id===x.root[r(1280)]);if(!i)return;const a=i.nodes.find(u=>u.id===t);a&&(a.contentInfo={...a[r(888)],...o},i[r(812)][r(1197)][r(829)](w0(r(823),t,{contentInfo:o})),x.history=i[r(812)],x[r(1745)]=i[r(1745)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(232)][r(1265)].find(u=>u.id===x[r(232)].currentCanvasId);if(!i)return;const a=i[r(1745)][r(1241)](u=>u.id===t);a&&(Object[r(525)](a[r(1369)],o),i[r(812)].past[r(829)](w0(r(823),t,{controlInfo:o})),x[r(812)]=i[r(812)],x[r(1745)]=i.nodes)})},removeNode:t=>{e(o=>{const x=_0x5bb9,r=o[x(232)][x(1265)][x(1241)](a=>a.id===o[x(232)][x(1280)]);if(!r)return;const i=r[x(1745)].findIndex(a=>a.id===t);i!==-1&&(r[x(1745)][x(343)](i,1),o.nodes=r.nodes,r[x(1701)]===t&&(r[x(1701)]=null,o[x(1701)]=null,r[x(1337)]=null,o[x(1337)]=null),r[x(1103)]=r[x(1103)][x(1343)](a=>a!==t),o.selectedNodeIds=r[x(1103)],r.history.past[x(829)](w0(x(1259),t)),o[x(812)]=r[x(812)])})},selectNode:t=>{e(o=>{const x=_0x5bb9,r=o[x(232)].canvases[x(1241)](i=>i.id===o[x(232)][x(1280)]);r&&(r[x(1701)]=t,o[x(1701)]=t,r[x(1337)]=null,o[x(1337)]=null,t&&(r[x(812)][x(1197)][x(829)](w0(x(1742),t)),o[x(812)]=r.history))})},bringToFront:t=>{e(o=>{const x=_0x5bb9,r=o[x(232)][x(1265)].find(u=>u.id===o[x(232)][x(1280)]);if(!r)return;const i=r[x(1745)][x(1296)](u=>u.id===t);if(i===-1||i===r[x(1745)][x(655)]-1)return;const[a]=r.nodes[x(343)](i,1);r[x(1745)].push(a),o[x(1745)]=r[x(1745)],r.history[x(1197)][x(829)](w0(x(823),t,{zOrder:x(1462)})),o[x(812)]=r[x(812)]})},sendToBack:t=>{e(o=>{const x=_0x5bb9,r=o[x(232)][x(1265)][x(1241)](u=>u.id===o[x(232)][x(1280)]);if(!r)return;const i=r.nodes[x(1296)](u=>u.id===t);if(i<=0)return;const[a]=r[x(1745)][x(343)](i,1);r[x(1745)][x(1723)](a),o[x(1745)]=r[x(1745)],r[x(812)][x(1197)][x(829)](w0("PROPERTY_CHANGE",t,{zOrder:x(1049)})),o[x(812)]=r[x(812)]})},addStatus:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(232)][r(1265)][r(1241)](l=>l.id===x[r(232)][r(1280)]);if(!i)return;const a=i[r(1745)].find(l=>l.id===t);if(!a)return;const u={...o,id:pe.nanoid()};a.contentInfo[r(1266)][r(829)](u),i[r(812)][r(1197)][r(829)](w0("MATERIAL_STATUS_CHANGE",t,{statusId:u.id})),x.history=i.history})},removeStatus:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(232)][r(1265)][r(1241)](l=>l.id===x[r(232)][r(1280)]);if(!i)return;const a=i.nodes[r(1241)](l=>l.id===t);if(!a)return;const u=a.contentInfo[r(1266)][r(1296)](l=>l.id===o);u!==-1&&(a[r(888)].statusList[r(343)](u,1),a[r(888)][r(1177)]===o&&(a[r(888)][r(1177)]=void 0),i[r(1337)]===o&&(i.selectedStatusId=null,x[r(1337)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x5bb9,a=r[i(232)][i(1265)].find(c=>c.id===r[i(232)][i(1280)]);if(!a)return;const u=a.nodes[i(1241)](c=>c.id===t);if(!u)return;const l=u[i(888)][i(1266)].find(c=>c.id===o);l&&Object[i(525)](l,x)})},selectStatus:t=>{e(o=>{const x=_0x5bb9,r=o[x(232)][x(1265)][x(1241)](i=>i.id===o.root[x(1280)]);r&&(r[x(1337)]=t,o[x(1337)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=s,r=n(),i=r.root.canvases[x(1241)](l=>l.id===r[x(232)][x(1280)]);if(!i)return;const a=i[x(1745)][x(1241)](l=>l.id===t);if(!a)return;const{dataPool:u}=n();for(const l of a.contentInfo[x(1266)])if(Mx(l,o,u))return l.id},addDataPoolItem:t=>{const o=s,x=pe[o(1399)]();return e(r=>{const i=o;let a={};t.sample&&typeof t[i(1579)]===i(1866)&&(Array[i(1994)](t[i(1579)]),a=t[i(1579)]),r[i(1683)][i(829)]({...t,id:x,sample:a})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(1683)][r(1241)](a=>a.id===t);i&&(o.name!==void 0&&(i.name=o[r(1793)]),o[r(1579)]!==void 0&&(o.sample&&typeof o.sample===r(1866)?i[r(1579)]=o[r(1579)]:i.sample={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x5bb9,r=o[x(1683)].findIndex(i=>i.id===t);if(r!==-1){o[x(1683)][x(343)](r,1);for(const i of o[x(232)][x(1265)])or(i.nodes,t)}})},setDataPool:t=>{e(o=>{const x=_0x5bb9;o[x(1683)]=t[x(411)](r=>{const i=x;let a={};return r[i(1579)]&&typeof r[i(1579)]===i(1866)&&(a=r.sample),{...r,sample:a}})})},setEventFlow:t=>{e(o=>{const x=_0x5bb9;o[x(229)]={eventBlocks:t[x(255)]??[],eventRoots:t[x(350)]??[],editingEventRootId:t[x(734)]??null,isEditingEventFlow:t[x(781)]??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x5bb9,r=new Set;o[x(1460)]=[];for(const i of t){const a=String(i[x(210)]??"").trim();!a||r[x(1235)](a)||(r[x(1184)](a),o[x(1460)][x(829)]({key:a,label:String(i[x(706)]??"").trim()||a,description:i[x(1325)]}))}})},addMaterial:t=>{e(o=>{const x=_0x5bb9;if(o[x(1922)][x(789)](a=>a[x(1793)]===t[x(1793)]))return;const i={...t,id:pe[x(1399)]()};o[x(1922)][x(829)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(1922)][r(1241)](a=>a.id===t);i&&Object[r(525)](i,o)})},removeMaterial:t=>{e(o=>{const x=_0x5bb9,r=o[x(1922)][x(1296)](i=>i.id===t);r!==-1&&o[x(1922)][x(343)](r,1)})},setViewport:t=>{e(o=>{const x=_0x5bb9,r=o[x(232)][x(1265)].find(i=>i.id===o.root[x(1280)]);r&&(Object[x(525)](r[x(1362)],t),o[x(1362)]=r[x(1362)])})},setCanvasConfig:t=>{e(o=>{const x=_0x5bb9,r=o.root[x(1265)][x(1241)](i=>i.id===o.root[x(1280)]);r&&(r.canvasConfig={...r.canvasConfig,...t},o[x(1544)]=r[x(1907)])})},setMode:t=>{e(o=>{const x=_0x5bb9;o[x(327)]=t})},startLineDrawing:t=>{e(o=>{const x=_0x5bb9;o.mode=x(1800),o[x(1276)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x5bb9;o[x(1276)].isDrawing&&(o.lineDrawing[x(1595)]=t)})},endLineDrawing:()=>{e(t=>{t.mode="select",t.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x5bb9;t[o(327)]=o(1412),t[o(1276)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x5bb9,x=t[o(232)][o(1265)][o(1241)](i=>i.id===t[o(232)].currentCanvasId);if(!x)return;const r=x[o(812)][o(1197)][o(1712)]();r&&(x[o(812)].future[o(829)](r),t[o(812)]=x[o(812)])})},redo:()=>{e(t=>{const o=_0x5bb9,x=t[o(232)][o(1265)].find(i=>i.id===t[o(232)].currentCanvasId);if(!x)return;const r=x[o(812)][o(1290)].pop();r&&(x[o(812)][o(1197)].push(r),t[o(812)]=x[o(812)])})},recordEvent:t=>{e(o=>{const x=_0x5bb9,r=o.root[x(1265)][x(1241)](i=>i.id===o[x(232)][x(1280)]);r&&(r[x(812)].past[x(829)](t),r[x(812)][x(1290)]=[],o[x(812)]=r[x(812)])})},exportScheme:()=>{const t=s,o=n(),{activeSiblingGroupId:x,navigationStack:r,...i}=o[t(232)];return{version:t(373),root:i,materials:o[t(1922)],dataPool:o[t(1683)],eventFlow:o[t(229)],metadata:{name:o[t(232)].name,description:"",createdAt:new Date()[t(1878)](),updatedAt:new Date()[t(1878)]()}}},importScheme:t=>{e(o=>{const x=_0x5bb9;if(t[x(232)]){if(o[x(232)]=t[x(232)],!o[x(232)].siblingGroups)o[x(232)][x(1644)]=[];else{const i=new Set(o[x(232)][x(1265)][x(411)](a=>a.id));for(const a of o[x(232)][x(1644)])a[x(737)]=a[x(737)][x(1343)](u=>i[x(1235)](u))}o[x(232)][x(673)]=null,o.root[x(268)]=[],o.dataPool=t[x(1683)]??[],t[x(229)]&&(o[x(229)]={eventBlocks:t[x(229)][x(255)]??[],eventRoots:t[x(229)].eventRoots??[],editingEventRootId:t[x(229)].editingEventRootId??null,isEditingEventFlow:t.eventFlow[x(781)]??!1});const r=o[x(232)].canvases.find(i=>i.id===o[x(232)][x(1280)])||o.root[x(1265)][0];r&&(o[x(232)][x(1280)]=r.id,o[x(1745)]=r[x(1745)],o[x(1544)]=r[x(1907)],o[x(1362)]=r[x(1362)],o[x(1701)]=r[x(1701)],o[x(1103)]=r[x(1103)],o[x(1337)]=r[x(1337)],o.history=r[x(812)])}else{const r=Dx();r.nodes=t.nodes||[],o[x(232)][x(1265)]=[r],o[x(232)][x(1280)]=r.id,o[x(232)].siblingGroups=[],o[x(232)][x(673)]=null,o.root[x(268)]=[],o.dataPool=t[x(1683)]??[],t[x(229)]&&(o[x(229)]={eventBlocks:t[x(229)][x(255)]??[],eventRoots:t.eventFlow[x(350)]??[],editingEventRootId:t[x(229)][x(734)]??null,isEditingEventFlow:t.eventFlow[x(781)]??!1}),o[x(1745)]=r[x(1745)],o.canvas=r[x(1907)],o[x(1362)]=t.viewport||r[x(1362)],o.selectedNodeId=null,o[x(1337)]=null,o[x(812)]={past:[],future:[]}}for(const r of o[x(232)][x(1265)])Bx(r.nodes)})},exportCanvas:t=>{const o=s,x=n(),r=t||x[o(232)].currentCanvasId,i=x[o(232)][o(1265)].find(a=>a.id===r);if(!i)throw new Error(o(1418)+r+o(1110));return{version:o(373),canvas:i,metadata:{name:i[o(1793)],description:"",exportedAt:new Date().toISOString()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x5bb9,i=t[r(1544)],a=o||x[r(232)][r(1280)],u=x[r(232)][r(1265)][r(1241)](l=>l.id===a);if(u)u[r(1793)]=i[r(1793)],u[r(1745)]=i.nodes||[],u[r(1907)]=i[r(1907)],u.viewport=i[r(1362)],u[r(1701)]=null,u[r(1103)]=[],u[r(1337)]=null,u[r(812)]=i[r(812)]||{past:[],future:[]},a===x[r(232)][r(1280)]&&(x[r(1745)]=u[r(1745)],x[r(1544)]=u[r(1907)],x[r(1362)]=u[r(1362)],x[r(1701)]=u.selectedNodeId,x[r(1103)]=u.selectedNodeIds,x[r(1337)]=u[r(1337)],x[r(812)]=u[r(812)]);else{const l={...i,id:pe[r(1399)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(232)][r(1265)][r(829)](l),x.root[r(1280)]=l.id,x[r(1745)]=l[r(1745)],x.canvas=l[r(1907)],x[r(1362)]=l[r(1362)],x[r(1701)]=l[r(1701)],x[r(1103)]=l.selectedNodeIds,x.selectedStatusId=l.selectedStatusId,x.history=l.history}for(const l of x[r(232)][r(1265)])Bx(l.nodes)})},addEventBlock:t=>{const o=s,x=pe[o(1399)]();return e(r=>{const i=o;r[i(229)][i(255)][i(829)]({...t,id:x})}),x},upsertEventBlock:t=>{e(o=>{const x=_0x5bb9,r=o[x(229)][x(255)][x(1296)](i=>i.id===t.id);r!==-1?o.eventFlow[x(255)][r]={...t}:o.eventFlow[x(255)][x(829)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(229)][r(255)].find(a=>a.id===t);i&&Object[r(525)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x5bb9,r=o[x(229)][x(255)].findIndex(i=>i.id===t);r!==-1&&o[x(229)][x(255)][x(343)](r,1)})},addEventRoot:t=>{const o=s,x=pe[o(1399)]();return e(r=>{const i=o;r.eventFlow[i(350)][i(829)]({...t,id:x})}),x},updateEventRoot:(t,o)=>{e(x=>{const r=_0x5bb9,i=x[r(229)][r(350)][r(1241)](a=>a.id===t);i&&Object[r(525)](i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x5bb9,r=o[x(229)][x(350)][x(1296)](i=>i.id===t);r!==-1&&o.eventFlow.eventRoots[x(343)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x5bb9;o.eventFlow[x(734)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x5bb9;o.eventFlow[x(781)]=t})},bindNodeEvent:(t,o,x)=>{const r=s,i=pe[r(1399)]();return e(a=>{const u=r;a[u(229)][u(350)].push({id:i,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),i},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x5bb9,a=r[i(229)][i(350)].findIndex(u=>{const l=i;return u[l(1178)]!==t||u[l(703)]!==o?!1:o===l(1659)?(u[l(1635)]||"").trim()===(x||"")[l(1514)]():!0});a!==-1&&r.eventFlow[i(350)].splice(a,1)})},getNodeEventRoots:t=>{const o=s;return n()[o(229)][o(350)][o(1343)](x=>x[o(1178)]===t)}}))),ir=[{id:pe[s(1399)](),name:"矩形",type:s(1411),src:"data:image/svg+xml,"+encodeURIComponent(s(1424))},{id:pe[s(1399)](),name:"圆形",type:s(1411),src:"data:image/svg+xml,"+encodeURIComponent(s(1120))},{id:pe[s(1399)](),name:"圆角矩形",type:s(1411),src:"data:image/svg+xml,"+encodeURIComponent(s(479))},{id:pe[s(1399)](),name:"阀门",type:s(1411),src:s(1765)+encodeURIComponent(s(1314))},{id:pe[s(1399)](),name:"泵",type:s(1411),src:s(1765)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="35" r="20" fill="#bfbfbf" stroke="#595959" stroke-width="2"/><rect x="25" y="5" width="10" height="15" fill="#595959"/><path d="M30 20 L30 35 M20 30 Q30 45 40 30" stroke="#595959" stroke-width="2" fill="none"/></svg>')},{id:pe[s(1399)](),name:"罐体",type:s(1411),src:s(1765)+encodeURIComponent(s(1146))},{id:pe[s(1399)](),name:s(1901),type:s(1988),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:s(465),color:s(1545),textAlign:s(219)},valueStyle:{fontSize:14,fontWeight:s(224),color:s(1650),textAlign:s(219)}}},{id:pe[s(1399)](),name:"线条",type:s(1521),config:{thickness:2,lineWeight:2,color:s(1545),lineType:"solid"}}],Lx=e=>({id:pe.nanoid(),name:s(1811),expression:s(1755),material:{...e,id:pe[s(1399)]()},boundDatasetId:null}),ar=(e,n,t)=>{const o=s;if(t?.[o(415)]===o(406)&&t[o(1991)]?.[o(1745)]){const x=t[o(1991)][o(1745)][o(411)](c=>({...c,id:pe[o(1399)]()}));let r=1/0,i=1/0,a=-1/0,u=-1/0;x[o(1626)](c=>{const f=o,b=c[f(597)].x||0,g=c[f(597)].y||0,v=c[f(597)][f(1473)]||0,h=c.normalStyle[f(1187)]||0;r=Math.min(r,b),i=Math.min(i,g),a=Math[f(1526)](a,b+v),u=Math[f(1526)](u,g+h)});const l=x[o(411)](c=>({...c,normalStyle:{...c[o(597)],x:(c[o(597)].x||0)-r,y:(c.normalStyle.y||0)-i,scale:void 0}}));return{id:pe[o(1399)](),name:t.name||o(818),type:"group",normalStyle:{width:a-r,height:u-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:l}}return{id:pe[o(1399)](),name:o(1032),type:o(224),normalStyle:{width:120,height:100,x:e,y:n,background:o(419),padding:8},contentInfo:{statusList:t?[Lx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:rn}=z[s(1622)],{Text:ut}=z[s(1990)],sr=({onUploadSvg:e})=>{const n=s,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:a,lineDrawing:u,startLineDrawing:l,cancelLineDrawing:c}=Te(),[f,b]=B[n(898)]([n(1415),n(859),"text",n(766)]),g=y=>{const w=n,m=new FileReader;return m[w(594)]=M=>{const S=w,U=M[S(1552)]?.[S(792)];o({name:y[S(1793)][S(228)](S(731),""),type:"IMAGE",src:U})},m.readAsDataURL(y),!1},v={basic:t[n(1343)](y=>["矩形","圆形",n(619)].includes(y[n(1793)])),device:t[n(1343)](y=>["阀门","泵","罐体"].includes(y[n(1793)])||y[n(415)]===n(1411)&&!["矩形","圆形",n(619)].includes(y[n(1793)])&&y.name!==n(1017)),text:t[n(1343)](y=>y[n(415)]===n(1988)),line:t[n(1343)](y=>y[n(415)]===n(1521)),group:t[n(1343)](y=>y[n(415)]==="CUSTOM"&&y[n(1991)]?.[n(1745)]),custom:t[n(1343)](y=>y[n(415)]===n(406)&&!y.config?.[n(1745)]||y[n(415)]===n(1411)&&!["矩形","圆形",n(619),"阀门","泵","罐体"][n(561)](y.name))},h=(y,w)=>{const m=n;y[m(444)][m(826)]="copy",y[m(444)].setData(m(429),JSON.stringify(w));const M=y[m(1541)][m(1557)](m(601));M&&y[m(444)][m(1150)](M,20,20)},p=y=>{const w=n;y[w(415)]===w(1521)&&l(y)},C=(y,w=!1)=>{const m=n,M=w===!0,S=a===m(1800)&&M&&u[m(947)]?.id===y.id;return d.jsx(z[m(649)].Item,{draggable:!M,onDragStart:U=>h(U,y),onClick:()=>M&&p(y),className:m(699)+(M?m(674):"cursor-move")+m(1438)+m(1147)+m(1438)+(S?"bg-blue-50 ring-2 ring-blue-400":"")+`
3
+ `,actions:[M?d.jsx(z[m(336)],{type:"text",size:"small",icon:d[m(2e3)](ae[m(1073)],{}),onClick:U=>{U[m(1444)](),p(y)},children:"绘制"},m(1408)):null,d[m(2e3)](z[m(336)],{type:"text",size:m(226),danger:!0,icon:d.jsx(ae[m(951)],{}),onClick:U=>{U.stopPropagation(),x(y.id)}},m(1756))].filter(Boolean),children:d.jsxs(m(261),{className:m(514)+(M?"":"pointer-events-none"),children:[d[m(2e3)](m(261),{className:m(1717),children:y[m(415)]===m(1411)&&y[m(397)]?d[m(2e3)](z[m(919)],{src:y.src,alt:y[m(1793)],width:40,height:40,preview:!1}):y[m(415)]==="TEXT"?d[m(2e3)]("span",{className:m(1639),children:"T"}):y[m(415)]==="LINE"?d[m(2e3)](m(261),{className:"w-8 h-0.5 bg-gray-400"}):y[m(415)]===m(406)&&y[m(1991)]?.nodes?d[m(2e3)](m(1677),{className:m(379),children:"G"}):d[m(2e3)]("span",{className:m(1639),children:"?"})}),d[m(1406)](m(261),{className:m(1402),children:[d.jsx(ut,{strong:!0,className:m(381),children:y[m(1793)]}),d.jsxs(m(261),{className:m(842),children:[d[m(2e3)](ut,{type:m(529),className:m(1849),children:y[m(415)]}),S&&d[m(2e3)](z[m(1262)],{color:m(427),className:m(1849),children:m(1624)})]})]})]})},y.id)};return d[n(1406)]("div",{className:n(1627),children:[d[n(1406)](n(261),{className:n(824),children:[d[n(2e3)]("h3",{className:n(1016),children:n(1616)}),d[n(2e3)](ut,{type:"secondary",className:n(1670),children:n(1085)})]}),d.jsx(n(261),{className:"p-3 border-b border-gray-200",children:e?d[n(2e3)](z.Button,{icon:d[n(2e3)](ae[n(241)],{}),block:!0,type:n(763),onClick:()=>{const y=n;e()[y(1104)](w=>{const m=y;console[m(1678)](m(342),w)})},children:n(1481)}):d[n(2e3)](z[n(1448)],{accept:n(731),beforeUpload:g,showUploadList:!1,children:d[n(2e3)](z[n(336)],{icon:d[n(2e3)](ae.UploadOutlined,{}),block:!0,type:n(763),children:"上传 SVG"})})}),d[n(2e3)](n(261),{className:n(1486),children:d[n(1406)](z[n(1622)],{activeKey:f,onChange:y=>b(y),ghost:!0,expandIconPosition:n(453),children:[d.jsx(rn,{header:n(1218),children:d[n(2e3)](z[n(649)],{dataSource:v[n(1415)],renderItem:y=>C(y,!1),locale:{emptyText:d.jsx(z[n(861)],{description:n(1250),image:z[n(861)][n(921)]})}})},n(1415)),d[n(2e3)](rn,{header:n(1738),children:d.jsx(z[n(649)],{dataSource:v[n(859)],renderItem:y=>C(y,!1),locale:{emptyText:d.jsx(z.Empty,{description:n(1250),image:z.Empty[n(921)]})}})},n(859)),d[n(2e3)](rn,{header:"文本",children:d[n(2e3)](z[n(649)],{dataSource:v.text,renderItem:y=>C(y,!1),locale:{emptyText:d[n(2e3)](z[n(861)],{description:n(1250),image:z[n(861)][n(921)]})}})},n(773)),d[n(1406)](rn,{header:d[n(1406)](n(261),{className:n(1592),children:[d[n(2e3)](n(1677),{children:"线条"}),a==="line-draw"&&d[n(2e3)](z[n(1262)],{color:"blue",className:n(1849),children:"绘制模式"})]}),children:[d[n(2e3)](z.List,{dataSource:v.line,renderItem:y=>C(y,!0),locale:{emptyText:d[n(2e3)](z[n(861)],{description:n(1250),image:z[n(861)][n(921)]})}}),a===n(1800)&&d[n(1406)]("div",{className:n(1449),children:[d[n(2e3)](n(261),{children:n(1365)}),d[n(2e3)](n(261),{children:n(1752)})]})]},"line"),v[n(609)][n(655)]>0&&d[n(2e3)](rn,{header:"群组",children:d[n(2e3)](z[n(649)],{dataSource:v.group,renderItem:y=>C(y,!1),locale:{emptyText:d.jsx(z[n(861)],{description:n(1250),image:z[n(861)][n(921)]})}})},n(609)),v[n(552)][n(655)]>0&&d.jsx(rn,{header:n(1017),children:d[n(2e3)](z.List,{dataSource:v[n(552)],renderItem:y=>C(y,!1),locale:{emptyText:d[n(2e3)](z[n(861)],{description:"暂无物料",image:z[n(861)][n(921)]})}})},"custom")]})}),d[n(2e3)](n(261),{className:n(1527),children:d[n(2e3)](ut,{type:n(529),className:n(1849),children:a==="line-draw"?d[n(2e3)](d[n(454)],{children:n(1070)}):d[n(2e3)](d[n(454)],{children:"💡 提示:拖拽物料到画布创建节点,点击线条物料进入绘制模式"})})})]})};var Nx=function(e,n){const t=s;return Nx=Object[t(1387)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(345)]=x}||function(o,x){const r=t;for(var i in x)Object[r(308)][r(615)][r(1018)](x,i)&&(o[i]=x[i])},Nx(e,n)};function I0(e,n){const t=s;if(typeof n!==t(1240)&&n!==null)throw new TypeError(t(208)+String(n)+" is not a constructor or null");Nx(e,n);function o(){this.constructor=e}e[t(308)]=n===null?Object[t(2006)](n):(o[t(308)]=n[t(308)],new o)}function Bl(e,n,t,o){function x(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){const a=_0x5bb9;function u(f){const b=_0x5bb9;try{c(o[b(707)](f))}catch(g){i(g)}}function l(f){const b=_0x5bb9;try{c(o[b(936)](f))}catch(g){i(g)}}function c(f){const b=_0x5bb9;f.done?r(f[b(1303)]):x(f.value)[b(1815)](u,l)}c((o=o.apply(e,n||[]))[a(707)]())})}function lr(e,n){const t=s;var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},x,r,i,a=Object[t(2006)]((typeof Iterator===t(1240)?Iterator:Object)[t(308)]);return a.next=u(0),a[t(936)]=u(1),a[t(847)]=u(2),typeof Symbol===t(1240)&&(a[Symbol.iterator]=function(){return this}),a;function u(c){return function(f){return l([c,f])}}function l(c){const f=t;if(x)throw new TypeError(f(1852));for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(x=1,r&&(i=c[0]&2?r[f(847)]:c[0]?r[f(936)]||((i=r[f(847)])&&i[f(1018)](r),0):r[f(707)])&&!(i=i[f(1018)](r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i[f(1303)]]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o[f(706)]++,r=c[1],c=[0];continue;case 7:c=o[f(1346)][f(1712)](),o[f(1261)][f(1712)]();continue;default:if(i=o[f(1261)],!(i=i[f(655)]>0&&i[i[f(655)]-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){o[f(706)]=c[1];break}if(c[0]===6&&o[f(706)]<i[1]){o[f(706)]=i[1],i=c;break}if(i&&o[f(706)]<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o[f(1346)][f(1712)](),o[f(1261)][f(1712)]();continue}c=n.call(e,o)}catch(b){c=[6,b],r=0}finally{x=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function an(e){const n=s;var t=typeof Symbol===n(1240)&&Symbol[n(1054)],o=t&&e[t],x=0;if(o)return o[n(1018)](e);if(e&&typeof e[n(655)]===n(1781))return{next:function(){return e&&x>=e[n(655)]&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(n(t?1704:775))}function ft(e,n){const t=s;var o=typeof Symbol=="function"&&e[Symbol[t(1054)]];if(!o)return e;var x=o[t(1018)](e),r,i=[],a;try{for(;(n===void 0||n-- >0)&&!(r=x.next())[t(991)];)i[t(829)](r[t(1303)])}catch(u){a={error:u}}finally{try{r&&!r[t(991)]&&(o=x[t(847)])&&o[t(1018)](x)}finally{if(a)throw a[t(590)]}}return i}function ht(e,n,t){const o=s;if(t||arguments[o(655)]===2)for(var x=0,r=n[o(655)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(308)][o(1586)][o(1018)](n,0,x)),i[x]=n[x]);return e[o(1094)](i||Array[o(308)][o(1586)][o(1018)](n))}function sn(e){return this instanceof sn?(this.v=e,this):new sn(e)}function Dl(e,n,t){const o=s;if(!Symbol.asyncIterator)throw new TypeError(o(334));var x=t[o(840)](e,n||[]),r,i=[];return r=Object[o(2006)]((typeof AsyncIterator=="function"?AsyncIterator:Object)[o(308)]),u(o(707)),u("throw"),u("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(v){return function(h){const p=_0x5bb9;return Promise.resolve(h)[p(1815)](v,b)}}function u(v,h){x[v]&&(r[v]=function(p){return new Promise(function(C,y){i[_0x5bb9(829)]([v,p,C,y])>1||l(v,p)})},h&&(r[v]=h(r[v])))}function l(v,h){try{c(x[v](h))}catch(p){g(i[0][3],p)}}function c(v){const h=o;v[h(1303)]instanceof sn?Promise[h(1053)](v[h(1303)].v)[h(1815)](f,b):g(i[0][2],v)}function f(v){l(o(707),v)}function b(v){l("throw",v)}function g(v,h){const p=o;v(h),i[p(1856)](),i.length&&l(i[0][0],i[0][1])}}function Ll(e){const n=s;if(!Symbol.asyncIterator)throw new TypeError(n(334));var t=e[Symbol[n(1960)]],o;return t?t[n(1018)](e):(e=typeof an===n(1240)?an(e):e[Symbol[n(1054)]](),o={},x(n(707)),x("throw"),x(n(847)),o[Symbol[n(1960)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(a){return new Promise(function(u,l){const c=_0x5bb9;a=e[i](a),r(u,l,a[c(991)],a[c(1303)])})}}function r(i,a,u,l){const c=n;Promise[c(1053)](l)[c(1815)](function(f){i({value:f,done:u})},a)}}typeof SuppressedError===s(1240)&&SuppressedError;function Ue(e){return typeof e===s(1240)}function Sx(e){const n=s;var t=function(x){const r=_0x5bb9;Error[r(1018)](x),x[r(1051)]=new Error()[r(1051)]},o=e(t);return o[n(308)]=Object.create(Error[n(308)]),o[n(308)][n(216)]=o,o}var kx=Sx(function(e){return function(t){const o=_0x5bb9;e(this),this[o(1794)]=t?t.length+` errors occurred during unsubscription:
4
+ `+t[o(411)](function(x,r){return r+1+") "+x.toString()})[o(358)](o(1966)):"",this[o(1793)]=o(223),this.errors=t}});function gt(e,n){const t=s;if(e){var o=e[t(1224)](n);0<=o&&e.splice(o,1)}}var En=(function(){const e=s;function n(t){const o=_0x5bb9;this[o(1675)]=t,this[o(885)]=!1,this._parentage=null,this[o(568)]=null}return n[e(308)][e(1123)]=function(){const t=e;var o,x,r,i,a;if(!this[t(885)]){this[t(885)]=!0;var u=this[t(403)];if(u)if(this[t(403)]=null,Array[t(1994)](u))try{for(var l=an(u),c=l[t(707)]();!c[t(991)];c=l[t(707)]()){var f=c[t(1303)];f[t(669)](this)}}catch(C){o={error:C}}finally{try{c&&!c[t(991)]&&(x=l.return)&&x[t(1018)](l)}finally{if(o)throw o[t(590)]}}else u[t(669)](this);var b=this[t(1675)];if(Ue(b))try{b()}catch(C){a=C instanceof kx?C[t(1916)]:[C]}var g=this[t(568)];if(g){this[t(568)]=null;try{for(var v=an(g),h=v[t(707)]();!h[t(991)];h=v.next()){var p=h[t(1303)];try{ur(p)}catch(C){a=a??[],C instanceof kx?a=ht(ht([],ft(a)),ft(C[t(1916)])):a[t(829)](C)}}}catch(C){r={error:C}}finally{try{h&&!h[t(991)]&&(i=v.return)&&i[t(1018)](v)}finally{if(r)throw r[t(590)]}}}if(a)throw new kx(a)}},n[e(308)][e(1184)]=function(t){const o=e;var x;if(t&&t!==this)if(this.closed)ur(t);else{if(t instanceof n){if(t.closed||t._hasParent(this))return;t[o(1573)](this)}(this._finalizers=(x=this[o(568)])!==null&&x!==void 0?x:[])[o(829)](t)}},n[e(308)]._hasParent=function(t){const o=e;var x=this[o(403)];return x===t||Array.isArray(x)&&x[o(561)](t)},n[e(308)][e(1573)]=function(t){const o=e;var x=this[o(403)];this[o(403)]=Array[o(1994)](x)?(x.push(t),x):x?[x,t]:t},n[e(308)]._removeParent=function(t){const o=e;var x=this[o(403)];x===t?this[o(403)]=null:Array[o(1994)](x)&&gt(x,t)},n[e(308)][e(669)]=function(t){const o=e;var x=this[o(568)];x&&gt(x,t),t instanceof n&&t[o(624)](this)},n[e(389)]=(function(){var t=new n;return t.closed=!0,t})(),n})(),dr=En[s(389)];function cr(e){const n=s;return e instanceof En||e&&"closed"in e&&Ue(e[n(669)])&&Ue(e.add)&&Ue(e[n(1123)])}function ur(e){const n=s;Ue(e)?e():e[n(1123)]()}var Nl={Promise:void 0},Sl={setTimeout:function(e,n){const t=s;for(var o=[],x=2;x<arguments[t(655)];x++)o[x-2]=arguments[x];return setTimeout[t(840)](void 0,ht([e,n],ft(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function fr(e){Sl.setTimeout(function(){throw e})}function hr(){}function bt(e){e()}var Px=(function(e){const n=s;I0(t,e);function t(o){const x=_0x5bb9;var r=e[x(1018)](this)||this;return r[x(1443)]=!1,o?(r[x(440)]=o,cr(o)&&o.add(r)):r[x(440)]=Il,r}return t[n(2006)]=function(o,x,r){return new Ix(o,x,r)},t[n(308)][n(707)]=function(o){const x=n;this.isStopped||this[x(1873)](o)},t[n(308)][n(590)]=function(o){const x=n;this[x(1443)]||(this[x(1443)]=!0,this[x(316)](o))},t[n(308)][n(961)]=function(){const o=n;this[o(1443)]||(this[o(1443)]=!0,this._complete())},t[n(308)][n(1123)]=function(){const o=n;!this.closed&&(this[o(1443)]=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t[n(308)][n(1873)]=function(o){const x=n;this[x(440)][x(707)](o)},t.prototype._error=function(o){const x=n;try{this.destination[x(590)](o)}finally{this[x(1123)]()}},t[n(308)][n(256)]=function(){const o=n;try{this[o(440)].complete()}finally{this[o(1123)]()}},t})(En),kl=(function(){const e=s;function n(t){const o=_0x5bb9;this[o(1833)]=t}return n[e(308)][e(707)]=function(t){const o=e;var x=this[o(1833)];if(x[o(707)])try{x.next(t)}catch(r){yt(r)}},n[e(308)][e(590)]=function(t){const o=e;var x=this.partialObserver;if(x[o(590)])try{x.error(t)}catch(r){yt(r)}else yt(t)},n[e(308)][e(961)]=function(){const t=e;var o=this[t(1833)];if(o[t(961)])try{o.complete()}catch(x){yt(x)}},n})(),Ix=(function(e){I0(n,e);function n(t,o,x){var i=e[_0x5bb9(1018)](this)||this,a;return Ue(t)||!t?a={next:t??void 0,error:o??void 0,complete:x??void 0}:a=t,i.destination=new kl(a),i}return n})(Px);function yt(e){fr(e)}function Pl(e){throw e}var Il={closed:!0,next:hr,error:Pl,complete:hr},Ax=(function(){const e=s;return typeof Symbol===e(1240)&&Symbol[e(272)]||"@@observable"})();function gr(e){return e}function Al(e){const n=s;return e[n(655)]===0?gr:e[n(655)]===1?e[0]:function(o){return e[n(1685)](function(r,i){return i(r)},o)}}var o0=(function(){const e=s;function n(t){const o=_0x5bb9;t&&(this[o(712)]=t)}return n[e(308)][e(1703)]=function(t){const o=e;var x=new n;return x.source=this,x[o(1962)]=t,x},n[e(308)][e(1215)]=function(t,o,x){var r=this,i=jl(t)?t:new Ix(t,o,x);return bt(function(){const a=_0x5bb9;var u=r,l=u[a(1962)],c=u[a(248)];i[a(1184)](l?l[a(1018)](i,c):c?r[a(712)](i):r._trySubscribe(i))}),i},n[e(308)][e(1386)]=function(t){const o=e;try{return this[o(712)](t)}catch(x){t[o(590)](x)}},n.prototype[e(1626)]=function(t,o){var x=this;return o=br(o),new o(function(r,i){const a=_0x5bb9;var u=new Ix({next:function(l){const c=_0x5bb9;try{t(l)}catch(f){i(f),u[c(1123)]()}},error:i,complete:r});x[a(1215)](u)})},n[e(308)][e(712)]=function(t){const o=e;var x;return(x=this.source)===null||x===void 0?void 0:x[o(1215)](t)},n[e(308)][Ax]=function(){return this},n[e(308)].pipe=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return Al(t)(this)},n[e(308)][e(1691)]=function(t){var o=this;return t=br(t),new t(function(x,r){const i=_0x5bb9;var a;o[i(1215)](function(u){return a=u},function(u){return r(u)},function(){return x(a)})})},n[e(2006)]=function(t){return new n(t)},n})();function br(e){const n=s;var t;return(t=e??Nl[n(832)])!==null&&t!==void 0?t:Promise}function Yl(e){const n=s;return e&&Ue(e[n(707)])&&Ue(e[n(590)])&&Ue(e[n(961)])}function jl(e){return e&&e instanceof Px||Yl(e)&&cr(e)}function El(e){return Ue(e?.[s(1703)])}function W0(e){return function(n){const t=_0x5bb9;if(El(n))return n[t(1703)](function(o){const x=t;try{return e(o,this)}catch(r){this[x(590)](r)}});throw new TypeError(t(1998))}}function q0(e,n,t,o,x){return new Ul(e,n,t,o,x)}var Ul=(function(e){const n=s;I0(t,e);function t(o,x,r,i,a,u){const l=_0x5bb9;var c=e[l(1018)](this,o)||this;return c.onFinalize=a,c[l(1591)]=u,c[l(1873)]=x?function(f){const b=l;try{x(f)}catch(g){o[b(590)](g)}}:e[l(308)][l(1873)],c[l(316)]=i?function(f){const b=l;try{i(f)}catch(g){o[b(590)](g)}finally{this[b(1123)]()}}:e[l(308)][l(316)],c[l(256)]=r?function(){const f=l;try{r()}catch(b){o[f(590)](b)}finally{this[f(1123)]()}}:e[l(308)]._complete,c}return t[n(308)][n(1123)]=function(){const o=n;var x;if(!this[o(1591)]||this[o(1591)]()){var r=this[o(885)];e[o(308)].unsubscribe[o(1018)](this),!r&&((x=this[o(672)])===null||x===void 0||x.call(this))}},t})(Px),Ol=Sx(function(e){return function(){const t=_0x5bb9;e(this),this[t(1793)]=t(1903),this[t(1794)]="object unsubscribed"}}),yr=(function(e){const n=s;I0(t,e);function t(){const o=_0x5bb9;var x=e[o(1018)](this)||this;return x[o(885)]=!1,x[o(754)]=null,x[o(1680)]=[],x.isStopped=!1,x.hasError=!1,x[o(193)]=null,x}return t[n(308)][n(1703)]=function(o){const x=n;var r=new mr(this,this);return r[x(1962)]=o,r},t[n(308)][n(549)]=function(){if(this[n(885)])throw new Ol},t[n(308)][n(707)]=function(o){var x=this;bt(function(){const r=_0x5bb9;var i,a;if(x[r(549)](),!x[r(1443)]){!x[r(754)]&&(x[r(754)]=Array[r(1057)](x.observers));try{for(var u=an(x[r(754)]),l=u.next();!l[r(991)];l=u.next()){var c=l[r(1303)];c[r(707)](o)}}catch(f){i={error:f}}finally{try{l&&!l[r(991)]&&(a=u[r(847)])&&a.call(u)}finally{if(i)throw i.error}}}})},t[n(308)][n(590)]=function(o){var x=this;bt(function(){const r=_0x5bb9;if(x[r(549)](),!x[r(1443)]){x[r(1817)]=x[r(1443)]=!0,x[r(193)]=o;for(var i=x[r(1680)];i[r(655)];)i.shift()[r(590)](o)}})},t[n(308)][n(961)]=function(){var o=this;bt(function(){const x=_0x5bb9;if(o._throwIfClosed(),!o[x(1443)]){o[x(1443)]=!0;for(var r=o[x(1680)];r[x(655)];)r[x(1856)]()[x(961)]()}})},t[n(308)][n(1123)]=function(){const o=n;this[o(1443)]=this[o(885)]=!0,this[o(1680)]=this[o(754)]=null},Object[n(1008)](t[n(308)],"observed",{get:function(){const o=n;var x;return((x=this[o(1680)])===null||x===void 0?void 0:x[o(655)])>0},enumerable:!1,configurable:!0}),t[n(308)]._trySubscribe=function(o){const x=n;return this[x(549)](),e[x(308)][x(1386)][x(1018)](this,o)},t[n(308)][n(712)]=function(o){const x=n;return this[x(549)](),this[x(542)](o),this[x(315)](o)},t[n(308)][n(315)]=function(o){const x=n;var r=this,i=this,a=i[x(1817)],u=i[x(1443)],l=i.observers;return a||u?dr:(this.currentObservers=null,l[x(829)](o),new En(function(){const c=x;r[c(754)]=null,gt(l,o)}))},t[n(308)][n(542)]=function(o){const x=n;var r=this,i=r[x(1817)],a=r[x(193)],u=r[x(1443)];i?o[x(590)](a):u&&o.complete()},t[n(308)][n(856)]=function(){const o=n;var x=new o0;return x[o(248)]=this,x},t[n(2006)]=function(o,x){return new mr(o,x)},t})(o0),mr=(function(e){const n=s;I0(t,e);function t(o,x){const r=_0x5bb9;var i=e[r(1018)](this)||this;return i[r(440)]=o,i[r(248)]=x,i}return t.prototype[n(707)]=function(o){const x=n;var r,i;(i=(r=this[x(440)])===null||r===void 0?void 0:r.next)===null||i===void 0||i[x(1018)](r,o)},t[n(308)][n(590)]=function(o){const x=n;var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r[x(590)])===null||i===void 0||i[x(1018)](r,o)},t[n(308)][n(961)]=function(){const o=n;var x,r;(r=(x=this[o(440)])===null||x===void 0?void 0:x.complete)===null||r===void 0||r[o(1018)](x)},t.prototype[n(712)]=function(o){const x=n;var r,i;return(i=(r=this[x(248)])===null||r===void 0?void 0:r[x(1215)](o))!==null&&i!==void 0?i:dr},t})(yr),Gl={now:function(){return Date.now()}},Tl=(function(e){const n=s;I0(t,e);function t(o,x){return e.call(this)||this}return t.prototype[n(822)]=function(o,x){return this},t})(En),vr={setInterval:function(e,n){const t=s;for(var o=[],x=2;x<arguments[t(655)];x++)o[x-2]=arguments[x];return setInterval[t(840)](void 0,ht([e,n],ft(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Hl=(function(e){const n=s;I0(t,e);function t(o,x){const r=_0x5bb9;var i=e[r(1018)](this,o,x)||this;return i.scheduler=o,i.work=x,i[r(354)]=!1,i}return t[n(308)][n(822)]=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this[r(885)])return this;this[r(462)]=o;var a=this.id,u=this.scheduler;return a!=null&&(this.id=this[r(1964)](u,a,x)),this[r(354)]=!0,this[r(1020)]=x,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(u,this.id,x),this},t[n(308)][n(1706)]=function(o,x,r){const i=n;return r===void 0&&(r=0),vr[i(1279)](o[i(910)][i(576)](o,this),r)},t[n(308)].recycleAsyncId=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this.delay===r&&this[i(354)]===!1?x:(x!=null&&vr[i(623)](x),void 0)},t[n(308)].execute=function(o,x){const r=n;if(this[r(885)])return new Error(r(990));this[r(354)]=!1;var i=this[r(217)](o,x);if(i)return i;this[r(354)]===!1&&this.id!=null&&(this.id=this[r(1964)](this[r(1732)],this.id,null))},t.prototype[n(217)]=function(o,x){const r=n;var i=!1,a;try{this[r(378)](o)}catch(u){i=!0,a=u||new Error(r(1969))}if(i)return this[r(1123)](),a},t.prototype[n(1123)]=function(){const o=n;if(!this.closed){var x=this,r=x.id,i=x.scheduler,a=i[o(694)];this.work=this.state=this[o(1732)]=null,this[o(354)]=!1,gt(a,this),r!=null&&(this.id=this[o(1964)](i,r,null)),this[o(1020)]=null,e.prototype[o(1123)][o(1018)](this)}},t})(Tl),wr=(function(){const e=s;function n(t,o){const x=_0x5bb9;o===void 0&&(o=n[x(688)]),this[x(1970)]=t,this[x(688)]=o}return n.prototype[e(822)]=function(t,o,x){const r=e;return o===void 0&&(o=0),new this.schedulerActionCtor(this,t)[r(822)](x,o)},n[e(688)]=Gl[e(688)],n})(),Vl=(function(e){const n=s;I0(t,e);function t(o,x){const r=_0x5bb9;x===void 0&&(x=wr[r(688)]);var i=e[r(1018)](this,o,x)||this;return i[r(694)]=[],i[r(683)]=!1,i}return t.prototype[n(910)]=function(o){const x=n;var r=this[x(694)];if(this[x(683)]){r[x(829)](o);return}var i;this[x(683)]=!0;do if(i=o[x(1585)](o[x(462)],o[x(1020)]))break;while(o=r[x(1856)]());if(this[x(683)]=!1,i){for(;o=r.shift();)o[x(1123)]();throw i}},t})(wr),Wl=new Vl(Hl);function ql(e){return e&&Ue(e[s(822)])}function Xl(e){return e[e[s(655)]-1]}function Zl(e){const n=s;return ql(Xl(e))?e[n(1712)]():void 0}var pr=function(e){const n=s;return e&&typeof e[n(655)]===n(1781)&&typeof e!==n(1240)};function zr(e){return Ue(e?.[s(1815)])}function Cr(e){return Ue(e[Ax])}function Mr(e){const n=s;return Symbol[n(1960)]&&Ue(e?.[Symbol[n(1960)]])}function Br(e){const n=s;return new TypeError(n(1896)+(e!==null&&typeof e===n(1866)?"an invalid object":"'"+e+"'")+n(1913))}function Kl(){const e=s;return typeof Symbol!==e(1240)||!Symbol[e(1054)]?e(1576):Symbol[e(1054)]}var Dr=Kl();function Lr(e){return Ue(e?.[Dr])}function Nr(e){return Dl(this,arguments,function(){var t,o,x,r;return lr(this,function(i){const a=_0x5bb9;switch(i[a(706)]){case 0:t=e[a(627)](),i[a(706)]=1;case 1:i[a(1261)].push([1,,9,10]),i[a(706)]=2;case 2:return[4,sn(t[a(1400)]())];case 3:return o=i[a(1556)](),x=o[a(1303)],r=o.done,r?[4,sn(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,sn(x)];case 6:return[4,i.sent()];case 7:return i[a(1556)](),[3,2];case 8:return[3,10];case 9:return t[a(864)](),[7];case 10:return[2]}})})}function Sr(e){return Ue(e?.[s(627)])}function X0(e){if(e instanceof o0)return e;if(e!=null){if(Cr(e))return Rl(e);if(pr(e))return Jl(e);if(zr(e))return Ql(e);if(Mr(e))return kr(e);if(Lr(e))return Fl(e);if(Sr(e))return _l(e)}throw Br(e)}function Rl(e){return new o0(function(n){const t=_0x5bb9;var o=e[Ax]();if(Ue(o.subscribe))return o[t(1215)](n);throw new TypeError(t(1767))})}function Jl(e){return new o0(function(n){const t=_0x5bb9;for(var o=0;o<e[t(655)]&&!n[t(885)];o++)n.next(e[o]);n[t(961)]()})}function Ql(e){return new o0(function(n){const t=_0x5bb9;e.then(function(o){const x=_0x5bb9;!n.closed&&(n[x(707)](o),n[x(961)]())},function(o){return n[_0x5bb9(590)](o)})[t(1815)](null,fr)})}function Fl(e){return new o0(function(n){const t=_0x5bb9;var o,x;try{for(var r=an(e),i=r[t(707)]();!i.done;i=r.next()){var a=i[t(1303)];if(n[t(707)](a),n.closed)return}}catch(u){o={error:u}}finally{try{i&&!i[t(991)]&&(x=r[t(847)])&&x[t(1018)](r)}finally{if(o)throw o[t(590)]}}n[t(961)]()})}function kr(e){return new o0(function(n){const t=_0x5bb9;$l(e,n)[t(1104)](function(o){return n[t(590)](o)})})}function _l(e){return kr(Nr(e))}function $l(e,n){var t,o,x,r;return Bl(this,void 0,void 0,function(){var i,a;return lr(this,function(u){const l=_0x5bb9;switch(u[l(706)]){case 0:u[l(1261)][l(829)]([0,5,6,11]),t=Ll(e),u[l(706)]=1;case 1:return[4,t[l(707)]()];case 2:if(o=u[l(1556)](),!!o.done)return[3,4];if(i=o[l(1303)],n[l(707)](i),n[l(885)])return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=u.sent(),x={error:a},[3,11];case 6:return u[l(1261)][l(829)]([6,,9,10]),o&&!o[l(991)]&&(r=t.return)?[4,r[l(1018)](t)]:[3,8];case 7:u[l(1556)](),u.label=8;case 8:return[3,10];case 9:if(x)throw x[l(590)];return[7];case 10:return[7];case 11:return n.complete(),[2]}})})}function A0(e,n,t,o,x){const r=s;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n.schedule(function(){const a=_0x5bb9;t(),x?e.add(this.schedule(null,o)):this[a(1123)]()},o);if(e[r(1184)](i),!x)return i}function Pr(e,n){return n===void 0&&(n=0),W0(function(t,o){t[_0x5bb9(1215)](q0(o,function(r){return A0(o,e,function(){return o[_0x5bb9(707)](r)},n)},function(){return A0(o,e,function(){return o[_0x5bb9(961)]()},n)},function(r){return A0(o,e,function(){return o.error(r)},n)}))})}function Ir(e,n){return n===void 0&&(n=0),W0(function(t,o){const x=_0x5bb9;o[x(1184)](e[x(822)](function(){return t[x(1215)](o)},n))})}function ed(e,n){return X0(e).pipe(Ir(n),Pr(n))}function nd(e,n){const t=s;return X0(e)[t(1686)](Ir(n),Pr(n))}function td(e,n){return new o0(function(t){const o=_0x5bb9;var x=0;return n[o(822)](function(){const r=o;x===e.length?t[r(961)]():(t[r(707)](e[x++]),!t[r(885)]&&this[r(822)]())})})}function xd(e,n){return new o0(function(t){var o;return A0(t,n,function(){o=e[Dr](),A0(t,n,function(){const x=_0x5bb9;var r,i,a;try{r=o.next(),i=r[x(1303)],a=r[x(991)]}catch(u){t[x(590)](u);return}a?t[x(961)]():t[x(707)](i)},0,!0)}),function(){return Ue(o?.return)&&o.return()}})}function Ar(e,n){const t=s;if(!e)throw new Error(t(1038));return new o0(function(o){A0(o,n,function(){var x=e[Symbol.asyncIterator]();A0(o,n,function(){const r=_0x5bb9;x[r(707)]()[r(1815)](function(i){const a=r;i[a(991)]?o[a(961)]():o[a(707)](i[a(1303)])})},0,!0)})})}function od(e,n){return Ar(Nr(e),n)}function rd(e,n){if(e!=null){if(Cr(e))return ed(e,n);if(pr(e))return td(e,n);if(zr(e))return nd(e,n);if(Mr(e))return Ar(e,n);if(Lr(e))return xd(e,n);if(Sr(e))return od(e,n)}throw Br(e)}function mt(e,n){return n?rd(e,n):X0(e)}function l0(){const e=s;for(var n=[],t=0;t<arguments[e(655)];t++)n[t]=arguments[t];var o=Zl(n);return mt(n,o)}function He(e,n){var t=Ue(e)?e:function(){return e},o=function(x){return x[_0x5bb9(590)](t())};return new o0(o)}function id(e){return e instanceof Date&&!isNaN(e)}var ad=Sx(function(e){return function(t){const o=_0x5bb9;t===void 0&&(t=null),e(this),this.message="Timeout has occurred",this[o(1793)]="TimeoutError",this[o(1879)]=t}});function sd(e,n){const t=s;var o=id(e)?{first:e}:{each:e},x=o.first,r=o[t(1391)],i=o[t(1333)],a=i===void 0?ld:i,u=o[t(1732)],l=u===void 0?Wl:u,c=o.meta,f=c===void 0?null:c;if(x==null&&r==null)throw new TypeError(t(583));return W0(function(b,g){const v=t;var h,p,C=null,y=0,w=function(m){p=A0(g,l,function(){const M=_0x5bb9;try{h.unsubscribe(),X0(a({meta:f,lastValue:C,seen:y}))[M(1215)](g)}catch(S){g[M(590)](S)}},m)};h=b[v(1215)](q0(g,function(m){p?.[v(1123)](),y++,g.next(C=m),r>0&&w(r)},void 0,void 0,function(){const m=v;!p?.[m(885)]&&p?.[m(1123)](),C=null})),!y&&w(x!=null?typeof x===v(1781)?x:+x-l[v(688)]():r)})}function ld(e){throw new ad(e)}function vt(e,n){return W0(function(t,o){const x=_0x5bb9;var r=0;t[x(1215)](q0(o,function(i){const a=x;o.next(e[a(1018)](n,i,r++))}))})}function dd(e,n,t,o,x,r,i,a){const u=s;var l=[],c=0,f=0,b=!1,g=function(){const p=_0x5bb9;b&&!l[p(655)]&&!c&&n[p(961)]()},v=function(p){const C=_0x5bb9;return c<o?h(p):l[C(829)](p)},h=function(p){const C=_0x5bb9;c++;var y=!1;X0(t(p,f++))[C(1215)](q0(n,function(w){n[C(707)](w)},function(){y=!0},void 0,function(){const w=C;if(y)try{c--;for(var m=function(){var S=l[_0x5bb9(1856)]();i||h(S)};l[w(655)]&&c<o;)m();g()}catch(M){n[w(590)](M)}}))};return e[u(1215)](q0(n,v,function(){b=!0,g()})),function(){}}function Yx(e,n,t){const o=s;return t===void 0&&(t=1/0),Ue(n)?Yx(function(x,r){return vt(function(i,a){return n(x,i,r,a)})(X0(e(x,r)))},t):(typeof n===o(1781)&&(t=n),W0(function(x,r){return dd(x,r,e,t)}))}function wt(e){return W0(function(n,t){const o=_0x5bb9;var x=null,r=!1,i;x=n[o(1215)](q0(t,void 0,void 0,function(a){const u=o;i=X0(e(a,wt(e)(n))),x?(x[u(1123)](),x=null,i[u(1215)](t)):r=!0})),r&&(x[o(1123)](),x=null,i[o(1215)](t))})}function cd(e,n,t){var o=Ue(e)||n||t?{next:e,error:n,complete:t}:e;return o?W0(function(x,r){const i=_0x5bb9;var a;(a=o[i(1215)])===null||a===void 0||a.call(o);var u=!0;x[i(1215)](q0(r,function(l){const c=i;var f;(f=o[c(707)])===null||f===void 0||f.call(o,l),r.next(l)},function(){const l=i;var c;u=!1,(c=o.complete)===null||c===void 0||c[l(1018)](o),r.complete()},function(l){const c=i;var f;u=!1,(f=o[c(590)])===null||f===void 0||f[c(1018)](o,l),r.error(l)},function(){const l=i;var c,f;u&&((c=o[l(1123)])===null||c===void 0||c[l(1018)](o)),(f=o.finalize)===null||f===void 0||f[l(1018)](o)}))}):gr}function jx(e){const n=s;return encodeURIComponent((e||"")[n(1514)]()||n(1880))}function ud(e){const n=s;return e[n(703)]===n(1659)?e.bindNodeId+n(1656)+jx(e.externalEventKey??""):e.bindNodeId+"::"+e.eventType}function Yr(e,n){return e+":"+n}class ln{static[s(1958)];eventSubjects=new Map;[s(1529)]=new Map;[s(255)]=new Map;[s(1842)]=new Map;[s(1413)];constructor(){}static getInstance(){const n=s;return!ln.instance&&(ln[n(1958)]=new ln),ln[n(1958)]}[s(477)](n){const t=s;this[t(255)][t(1191)](n.id,n)}[s(1540)](n){const t=s;this[t(255)][t(1756)](n)}[s(1705)](n){const t=s;return this.eventBlocks[t(1292)](n)}[s(493)](n){this.defaultRuntimeHandlers=n}[s(1819)](n){const t=s;if(!n)return;const o=this[t(1413)];this.defaultRuntimeHandlers={dataRequest:{...o?.dataRequest,...n[t(1729)]},external:{...o?.[t(1659)],...n[t(1659)]}}}[s(1554)](n){const t=s,o=this[t(1413)];if(!(!o&&!n))return{dataRequest:{...o?.[t(1729)],...n?.dataRequest},external:{...o?.external,...n?.external}}}disposeEventRootPipeline(n){const t=s,o=this[t(1529)][t(1292)](n.id);o&&(o[t(1123)](),this[t(1529)][t(1756)](n.id)),this.eventSubjects[t(1756)](n.id)}[s(1681)](n){const t=s,o=ud(n),x=this[t(1842)][t(1292)](o);x&&x.id!==n.id&&this[t(1097)](x),this[t(1842)].set(o,n),!this[t(245)].has(n.id)&&this[t(1648)](n)}unbindNodeEvent(n,t,o){const x=s;if(t===x(1659)){const u=n+x(1656)+jx(o??""),l=this[x(1842)].get(u);l&&(this[x(1097)](l),this[x(1842)].delete(u));return}const r=n+"::"+t,i=Yr(n,t),a=this[x(1842)][x(1292)](r)??this.nodeEventBindings[x(1292)](i);a&&(this.disposeEventRootPipeline(a),this.nodeEventBindings[x(1756)](r),this.nodeEventBindings.delete(i))}[s(1583)](n){const t=s,o=[];this.nodeEventBindings.forEach((x,r)=>{const i=_0x5bb9;x.bindNodeId===n&&o[i(829)]({key:r,root:x})}),o[t(1626)](({key:x,root:r})=>{const i=t;this[i(1097)](r),this[i(1842)][i(1756)](x)})}getNodeEventBindings(n){const t=s,o=[];return this[t(1842)].forEach(x=>{const r=t;x[r(1178)]===n&&o[r(829)](x)}),o}[s(944)](n,t,o){const x=s,r=n+"::"+t,i=this[x(1842)][x(1292)](r)??this.nodeEventBindings.get(Yr(n,t));if(!i||!i[x(534)])return l0({success:!0,result:null,path:[],duration:0});if(!this[x(245)][x(1292)](i.id))return He(()=>new Error(x(1565)+r));const u=Date.now(),l={...o,executionPath:o.executionPath||[],runtimeHandlers:this[x(1554)](o[x(402)])};return this.executeEventFlow(i,l)[x(1686)](vt(c=>({success:!0,result:c,path:l[x(1874)],duration:Date[x(688)]()-u})),wt(c=>l0({success:!1,error:c[x(1794)]||x(967),path:l[x(1874)],duration:Date[x(688)]()-u})))}[s(800)](n,t,o){const x=s,r=n+x(1656)+jx(t),i=this[x(1842)][x(1292)](r);if(!i||!i[x(534)])return l0({success:!0,result:null,path:[],duration:0});if(!this[x(245)].get(i.id))return He(()=>new Error(x(1565)+r));const u=Date[x(688)](),l={...o,executionPath:o.executionPath||[],runtimeHandlers:this.mergeRuntimeHandlers(o[x(402)])};return this[x(460)](i,l).pipe(vt(c=>({success:!0,result:c,path:l[x(1874)],duration:Date[x(688)]()-u})),wt(c=>l0({success:!1,error:c[x(1794)]||x(967),path:l.executionPath,duration:Date[x(688)]()-u})))}[s(1648)](n){const t=new yr;this.eventSubjects.set(n.id,t)}executeEventFlow(n,t){const o=s,{nodes:x,edges:r}=n[o(1655)];if(x[o(655)]===0)return l0(null);const i=x[o(1343)](a=>a[o(1722)].length===0);return i.length===0?He(()=>new Error(o(1327))):this.executeFlowNodes(i,x,r,t,{})}[s(1350)](n,t,o,x,r){const i=s;if(n[i(655)]===0)return l0(r);const a=n[i(411)](u=>this.executeSingleFlowNode(u,x,r)[i(1686)](cd(l=>{const c=i;r[u.id]=l,x[c(1874)][c(829)](u.id)})));return mt(a)[i(1686)](Yx(u=>u,1),vt(()=>{const u=i,l=new Set;return n.forEach(f=>{const b=_0x5bb9;f.outputs[b(1626)](g=>{const v=b,h=t[v(1241)](p=>p.id===g);h&&h[v(1722)][v(1089)](C=>r[C]!==void 0)&&l.add(g)})}),t[u(1343)](f=>l.has(f.id))}),Yx(u=>{const l=i;return u[l(655)]>0?this[l(1350)](u,t,o,x,r):l0(r)}),sd(3e4),wt(u=>(console.error(i(435),u),He(()=>u))))}[s(1167)](n){const t=s;return this[t(255)][t(1292)](n[t(331)])??n[t(1275)][t(942)]}interpolateBuiltinString(n,t,o){return n.replace(/\{\{\s*([^}]+?)\s*\}\}/g,(x,r)=>{const i=_0x5bb9,a=String(r)[i(1514)]();if(a[i(2004)]("$")){const l=this[i(1205)](o,a[i(1586)](1));return l==null?"":String(l)}const u=t[a];return u==null?"":String(u)})}[s(1093)](n,t,o){const x=s,r=n[x(288)];if(!r)return He(()=>new Error(x(1185)));if(r==="antdMessage"){const i=n[x(1356)]??{},a=String(i[x(1236)]??""),u=i[x(641)]??"info",l=i[x(1779)],c=this.interpolateBuiltinString(a,o,t);if(!c.trim())return He(()=>new Error(x(1258)));try{const f={type:u,content:c};if(l!=null&&l!==""){const b=Number(l);!Number[x(1939)](b)&&(f.duration=b)}return z.message.open(f),l0({ok:!0,builtinId:r,content:c,level:u})}catch(f){return He(()=>f)}}if(r==="switchCanvas"){const i=n[x(1356)]??{},a=String(i.targetCanvasId??"")[x(1514)]();if(!a)return He(()=>new Error(x(361)));const u=t[x(1629)]??t[x(1437)];if(!u)return He(()=>new Error(x(225)));try{return u(a),l0({ok:!0,builtinId:r,targetCanvasId:a,withHistory:!!t[x(1629)]})}catch(l){return He(()=>l)}}return He(()=>new Error(x(1750)+String(r)))}[s(618)](n,t,o){try{const x=n(t,o);return x instanceof Promise?mt(x):l0(x)}catch(x){return He(()=>x)}}[s(748)](n,t,o){const x=s,r=this[x(1167)](n);if(!r)return He(()=>new Error(x(1808)+n[x(331)]));const i=this.prepareEventArgs(n,t,o),a=r.executorType??x(312);if(a===x(1729)){const u=(r[x(1175)]||"")[x(1514)]();if(!u)return He(()=>new Error("事件块未配置 dataRequestKey"));const l=t[x(402)]?.[x(1729)]?.[u];return l?this[x(618)](l,t,i):He(()=>new Error(x(497)+u))}if(a==="external"){const u=(r[x(391)]||"")[x(1514)]();if(!u)return He(()=>new Error(x(1908)));const l=t[x(402)]?.[x(1659)]?.[u];return l?this.invokeRuntimeHandler(l,t,i):He(()=>new Error(x(916)+u))}if(a==="builtin")return this.executeBuiltin(r,t,i);try{const u=new Function(x(705),"context",x(1520),r[x(1869)]),l=u(t[x(1361)],t,i);return l instanceof Promise?mt(l):l0(l)}catch(u){return He(()=>u)}}[s(1699)](n,t,o){const x=s,r={$event:t.originalEvent,$data:t.data,$node:t[x(1361)]},{inputMapping:i}=n[x(1275)];return i&&Object.entries(i)[x(1626)](([a,u])=>{const l=x;if(u[l(2004)]("$prev.")){const c=u[l(228)](l(1469),"");r[a]=o[c]}else if(u[l(2004)]("$")){const c=u[l(1586)](1);r[a]=this[l(1205)](t,c)}else r[a]=u}),r}[s(1205)](n,t){const o=s;return t.split(".")[o(1685)]((x,r)=>{if(x!==null&&typeof x===o(1866)&&r in x)return x[r]},n)}[s(431)](){const n=s;this[n(1529)][n(1626)](t=>t[n(1123)]()),this.subscriptions[n(1900)](),this[n(245)][n(1900)](),this[n(1842)][n(1900)]()}}const dn=ln.getInstance(),jr=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=s,{eventFlow:r,switchCanvas:i,jumpToCanvas:a}=Te(),u=B[x(1288)](null),l=B[x(871)](()=>{const f=x;return r[f(350)][f(1343)](b=>b.bindNodeId===e.id&&b[f(534)])},[r[x(350)],e.id]),c=B.useCallback(f=>b=>{const g=_0x5bb9,v=l()[g(1343)](p=>p[g(703)]===f);if(v.length===0)return;f!==g(1889)&&f!=="mouseLeave"&&b[g(726)](),b[g(1444)]();const h=o&&typeof o=="object"?{...o}:{};v.forEach(p=>{const C=g;dn[C(944)](e.id,f,{triggerNode:e,originalEvent:b,data:h,runtimeHandlers:t,switchCanvas:i,jumpToCanvas:a}).subscribe({next:y=>{const w=C;!y[w(1839)]&&console.error(w(1766),y[w(590)])},error:y=>{const w=C;console[w(590)](w(300),y)}})})},[l,e,t,o]);return B[x(1247)](()=>{const f=x;return l()[f(1626)](g=>{dn.bindNodeEvent(g)}),()=>{dn.unbindAllForNode(e.id)}},[l,e.id]),B[x(1247)](()=>{const f=x,b=u[f(1610)];if(!b)return;const g={click:c(f(680)),mousedown:c(f(392)),mouseup:c("mouseUp"),dblclick:c("doubleClick"),mouseover:c("mouseOver"),mouseleave:c(f(1812)),mouseenter:c(f(1829)),contextmenu:c(f(1287))};return Object[f(1152)](g).forEach(([v,h])=>{b[f(1564)](v,h,!0)}),()=>{const v=f;Object[v(1152)](g)[v(1626)](([h,p])=>{b.removeEventListener(h,p,!0)})}},[c]),B[x(695)](n,{ref:f=>{const b=x;u.current=f;const g=n[b(671)];typeof g=="function"?g(f):g&&"current"in g&&(g[b(1610)]=f)}})},{Text:Er}=z[s(1990)],Ur=(e,n)=>{const t=s;if(!n||!e)return{value:void 0};if(Array[t(1994)](e)){const o=e.find(x=>x[t(353)]===n);if(o)return{value:o[t(1303)],unit:o[t(677)]}}else if(typeof e===t(1866)){const o=n[t(1037)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(1866))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e[t(677)]}}return{value:void 0}};function fd(e){return Array[s(1994)](e)}const hd=(e,n,t)=>{const o=s,x=e.content||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:u}=x;if(!r)return{value:void 0};if(i){const l=n.find(c=>c.id===i);if(l){let c;fd(l[o(1579)])?a!=null&&u!=null?c=l[o(1579)].find(b=>b[a]===u)||{}:c={}:c=l[o(1579)];const f=t&&typeof t===o(1866)?{...c,...t}:c;return Ur(f,r)}}return Ur(t,r)},gd=(e,n)=>{const t=s;if(e==null||e==="")return"";if(n===-1)return String(e);const o=Number(e);return isNaN(o)?String(e):o[t(1401)](n??2)},bd=(e,n,t,o,x)=>{const r=s;switch(e[r(415)]){case r(1411):const i=e,a=i[r(1125)],u=i[r(1687)];let l=i[r(397)];return u&&l&&l.includes(r(914))&&(e[r(1793)]==="矩形"?l=r(1765)+encodeURIComponent(r(1044)+u+r(478)):e.name==="圆形"?l="data:image/svg+xml,"+encodeURIComponent(r(1213)+u+'"/></svg>'):e[r(1793)]===r(619)&&(l=r(1765)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+u+r(1746)))),d.jsx("div",{className:r(533),style:{backgroundColor:a},children:l?d.jsx(r(557),{src:l,alt:e[r(1793)],style:{width:r(1935),height:r(1935),objectFit:"contain"}}):d[r(2e3)](r(261),{className:r(901),children:d[r(2e3)](r(1677),{className:"text-gray-400 text-xs",children:"无图片"})})});case r(1988):const c=e,{label:f,value:b,valueSourceCode:g,unit:v,decimals:h,labelStyle:p,valueStyle:C,customStyle:y}=c[r(1236)]||{},{value:w,unit:m}=g?hd(c,x||[],n):{value:void 0,unit:void 0},M=w!==void 0?w:b,S=gd(M,h),U=v||m||"";return d[r(1406)](r(261),{className:"w-full h-full flex flex-col justify-center gap-1",style:{...y},children:[f&&d.jsx(Er,{style:{fontSize:14,fontWeight:"bold",color:"#262626",textAlign:r(219),...p},children:f}),S&&d[r(1406)](Er,{style:{fontSize:14,color:r(1650),textAlign:r(219),...C},children:[S,U?" "+U:""]})]});case r(1521):const W=e,{thickness:H=2,color:A=r(1398),dashed:q=!1,lineType:T=r(q?763:295),lineWeight:O=H,startX:Z=0,startY:D=0,endX:L=100,endY:N=0}=W.config||{},j=_=>{const R=r,$=Math[R(1526)](O,1);switch(_){case R(295):return"";case R(763):return $*8+","+$*4;case R(1023):return $*12+","+$*3+","+$*2+","+$*3;case R(362):return $*12+","+$*3+","+$*2+","+$*3+","+$*2+","+$*3;case R(700):return $+","+$*3;case R(422):return $*8+","+$*3+","+$+","+$*3;default:return""}},P=j(T),I=t?r(1650):A;return d[r(2e3)]("div",{className:r(1495),style:{overflow:r(907)},children:d.jsxs("svg",{className:"absolute top-0 left-0",width:r(1935),height:r(1935),style:{overflow:r(907),pointerEvents:"none"},children:[d[r(2e3)](r(766),{x1:Z,y1:D,x2:L,y2:N,stroke:r(419),strokeWidth:Math.max(O,10),strokeLinecap:r(1109),strokeLinejoin:"round",style:{pointerEvents:"stroke",cursor:r(802)}}),d[r(2e3)]("line",{x1:Z,y1:D,x2:L,y2:N,stroke:I,strokeWidth:O,strokeDasharray:P,strokeLinecap:"round",strokeLinejoin:r(1109),style:{pointerEvents:r(1445)}})]})});case r(406):const K=e;return K[r(630)]?K.render({}):d[r(2e3)](r(261),{className:r(442),children:d[r(2e3)](r(1677),{className:"text-gray-400 text-xs",children:r(1111)})});default:return d[r(2e3)](r(261),{className:r(442),children:d[r(2e3)](r(1677),{className:"text-gray-400 text-xs",children:r(1682)})})}},yd=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:u})=>{const l=s,{normalStyle:c,controlInfo:f}=e,{isClickable:b,isDraggable:g,isResizable:v}=f,h=e[l(888)],p=Te(J=>J.dataPool),C=Te(J=>J[l(1494)]),y=B[l(1288)](t);B[l(1247)](()=>{y.current=t},[t]);const[w,m]=B[l(898)](null),M=B[l(1288)](null),S=B[l(1288)](null),U=B[l(1288)](null),W=B[l(1288)](null),H=B[l(1288)](null),[A,q]=B[l(898)](null),[T,O]=B[l(898)](null),Z=B.useRef(null),D=B[l(1456)](()=>{const J=l,k=e[J(888)][J(1266)];if(k[J(655)]===0)return;const E=xr(k,x,p);return E||k[0]},[e.contentInfo[l(1266)],x,p]),L=B[l(1288)](e[l(888)][l(1177)]);B[l(1247)](()=>{const J=l;L[J(1610)]=e[J(888)][J(1177)]},[e.id]),B.useEffect(()=>{const J=l,k=D?.id;k!==void 0&&L[J(1610)]!==k&&(L[J(1610)]=k,C(e.id,{contentInfo:{...e[J(888)],currentStatusId:k}}))},[D?.id,e.id,C]);const N=D?.material,j=N?.[l(415)]==="LINE",P=j?N[l(1991)]:null,I=c[l(1783)]??1,K=(c.width||100)*I,_=(c[l(1187)]||100)*I,R=B.useCallback(()=>{const J=l,k=H[J(1610)]?.[J(292)](J(946));if(!k)return i;const E=k[J(912)](),X=parseFloat(k[J(1301)][J(1473)]);return X?E[J(1473)]/X:i},[i]),$=B.useCallback((J,k)=>{const E=l;J[E(1444)](),J[E(726)]();const X=P?.[E(1824)]||0,G=P?.[E(1776)]||0,ne=P?.endX||0,ce=P?.[E(1854)]||0,le=c.x||0,ye=c.y||0,ve=Math[E(1526)]((P?.[E(1698)]||P?.[E(1308)]||2)*2,4),Ne=Math[E(382)](X,ne),ze=Math[E(382)](G,ce),ke=Math[E(1526)](X,ne),Ee=Math[E(1526)](G,ce),Pe=Math.max(ke-Ne,ve),Ie=Math[E(1526)](Ee-ze,ve);M[E(1610)]={mouseX:J[E(265)],mouseY:J.clientY,startX:X,startY:G,endX:ne,endY:ce,nodeX:le,nodeY:ye};const Ae=Math.min(X,ne),Ve=Math[E(382)](G,ce);U[E(1610)]={nodeX:le+Ae,nodeY:ye+Ve,width:Pe,height:Ie,startX:X-Ae,startY:G-Ve,endX:ne-Ae,endY:ce-Ve},S[E(1610)]=D||null,m(k)},[P,c.x,c.y,D]);B[l(1247)](()=>{const J=l;if(!w||!j||!P||!r)return;const k=X=>{const G=_0x5bb9,ne=M[G(1610)];if(!ne||!H.current)return;const ce=R(),le=(X[G(265)]-ne[G(1267)])/ce,ye=(X[G(1772)]-ne[G(931)])/ce;let ve=ne[G(1824)],Ne=ne.startY,ze=ne[G(955)],ke=ne[G(1854)],Ee=ne[G(1881)],Pe=ne[G(651)];w==="start"?(ve=ne[G(1824)]+le,Ne=ne[G(1776)]+ye,ve<0&&(Ee=ne[G(1881)]+ve,ze=ne[G(955)]-ve,ve=0),Ne<0&&(Pe=ne.nodeY+Ne,ke=ne[G(1854)]-Ne,Ne=0)):(ze=ne[G(955)]+le,ke=ne[G(1854)]+ye,ze<0&&(Ee=ne.nodeX+ze,ve=ne[G(1824)]-ze,ze=0),ke<0&&(Pe=ne[G(651)]+ke,Ne=ne[G(1776)]-ke,ke=0));const Ie=Math[G(1526)]((P[G(1698)]||2)*2,4),Ae=Math[G(382)](ve,ze),Ve=Math[G(382)](Ne,ke),t0=Math[G(1526)](ve,ze),g0=Math[G(1526)](Ne,ke),Je=Ee+Ae,r0=Pe+Ve,Xe=ve-Ae,i0=Ne-Ve,a0=ze-Ae,x0=ke-Ve,b0=Math[G(1526)](t0-Ae,Ie),P0=Math[G(1526)](g0-Ve,Ie);U[G(1610)]={nodeX:Je,nodeY:r0,width:b0,height:P0,startX:Xe,startY:i0,endX:a0,endY:x0};const Qe=H[G(1610)];Qe[G(1301)].left=Je+"px",Qe[G(1301)][G(755)]=r0+"px",Qe.style[G(1473)]=b0+"px",Qe.style[G(1187)]=P0+"px",Qe[G(1588)](G(785))[G(1626)](qe=>{const y0=G;qe[y0(307)]("x1",String(Xe)),qe[y0(307)]("y1",String(i0)),qe[y0(307)]("x2",String(a0)),qe[y0(307)]("y2",String(x0))});const Ze=Qe[G(1557)]('[data-handle="start"]'),G0=Qe[G(1557)](G(1605));Ze&&(Ze.style[G(219)]=Xe-6+"px",Ze[G(1301)][G(755)]=i0-6+"px"),G0&&(G0[G(1301)][G(219)]=a0-6+"px",G0[G(1301)][G(755)]=x0-6+"px")},E=()=>{const X=_0x5bb9,G=U[X(1610)];if(!G||!r){m(null),M[X(1610)]=null,U[X(1610)]=null,S[X(1610)]=null;return}const ne=Te.getState().nodes[X(1241)](ze=>ze.id===e.id),ce=ne?.[X(888)].statusList??e[X(888)][X(1266)],le=S[X(1610)],ye=le?.id??ce.find(ze=>ze[X(947)][X(415)]===X(1521))?.id,ve=ce[X(411)](ze=>{const ke=X;if(ze[ke(947)].type!==ke(1521)||ze.id!==ye)return ze;const Ee=ze[ke(947)];return{...ze,material:{...Ee,config:{...Ee[ke(1991)],startX:G[ke(1824)],startY:G[ke(1776)],endX:G[ke(955)],endY:G[ke(1854)]}}}}),Ne=ne?.contentInfo??h;r(e.id,{normalStyle:{x:G.nodeX,y:G.nodeY,width:G[X(1473)],height:G[X(1187)]},contentInfo:{...Ne,statusList:ve}}),m(null),M[X(1610)]=null,U[X(1610)]=null,S[X(1610)]=null};return window[J(1564)](J(420),k),window.addEventListener(J(1493),E),()=>{const X=J;window[X(1487)]("mousemove",k),window[X(1487)](X(1493),E)}},[w,j,P,e.id,c,h,e[l(888)][l(1266)],r,R]),B[l(1247)](()=>{const J=l;if(!A||!r)return;const k=X=>{const G=_0x5bb9;if(!H[G(1610)])return;const ne=R(),ce=(X[G(265)]-A.startX)/ne,le=(X[G(1772)]-A[G(1776)])/ne,ye=A[G(371)],ve=ye*Math.PI/180,Ne=Math[G(606)](ve),ze=Math[G(1246)](ve),ke=ce*Ne+le*ze,Ee=-ce*ze+le*Ne;let Pe=A.startWidth,Ie=A[G(607)],Ae=A.startNodeX,Ve=A.startNodeY;switch(A[G(723)]){case"se":Pe=Math[G(1526)](20,A.startWidth+ke),Ie=Math[G(1526)](20,A[G(607)]+Ee);break;case"sw":Pe=Math[G(1526)](20,A[G(239)]-ke),Ie=Math[G(1526)](20,A.startHeight+Ee),Ae=A[G(302)]+(A[G(239)]-Pe);break;case"ne":Pe=Math[G(1526)](20,A.startWidth+ke),Ie=Math[G(1526)](20,A[G(607)]-Ee),Ve=A[G(447)]+(A[G(607)]-Ie);break;case"nw":Pe=Math[G(1526)](20,A.startWidth-ke),Ie=Math[G(1526)](20,A[G(607)]-Ee),Ae=A.startNodeX+(A[G(239)]-Pe),Ve=A[G(447)]+(A.startHeight-Ie);break}if(ye!==0){let g0=0,Je=0,r0=0,Xe=0;switch(A[G(723)]){case"se":g0=0,Je=0,r0=0,Xe=0;break;case"sw":g0=A[G(239)],Je=0,r0=Pe,Xe=0;break;case"ne":g0=0,Je=A[G(607)],r0=0,Xe=Ie;break;case"nw":g0=A.startWidth,Je=A[G(607)],r0=Pe,Xe=Ie;break}const i0=g0-A[G(239)]/2,a0=Je-A[G(607)]/2,x0=i0*Ne-a0*ze,b0=i0*ze+a0*Ne,P0=r0-Pe/2,Qe=Xe-Ie/2,Bn=P0*Ne-Qe*ze,Ze=P0*ze+Qe*Ne;Ae=A[G(302)]+A[G(239)]/2-Pe/2+x0-Bn,Ve=A[G(447)]+A[G(607)]/2-Ie/2+b0-Ze}W[G(1610)]={x:Ae,y:Ve,width:Pe,height:Ie};const t0=H[G(1610)];t0[G(1301)][G(219)]=Ae+"px",t0[G(1301)][G(755)]=Ve+"px",t0[G(1301)][G(1473)]=Pe+"px",t0[G(1301)][G(1187)]=Ie+"px"},E=()=>{const X=_0x5bb9,G=W[X(1610)];G&&r(e.id,{normalStyle:{...c,x:G.x,y:G.y,width:G[X(1473)],height:G.height}}),q(null),W[X(1610)]=null};return window[J(1564)](J(420),k),window[J(1564)]("mouseup",E),()=>{const X=J;window.removeEventListener("mousemove",k),window.removeEventListener(X(1493),E)}},[A,r,e.id,c,R]);const oe=B.useCallback((J,k)=>{const E=l;J.stopPropagation(),J.preventDefault(),q({corner:k,startX:J.clientX,startY:J[E(1772)],startWidth:c.width||100,startHeight:c[E(1187)]||100,startNodeX:c.x||0,startNodeY:c.y||0,startRotate:c[E(1822)]||0})},[c[l(1473)],c[l(1187)],c.x,c.y,c[l(1822)]]),de=B[l(871)](J=>{const k=l;J[k(1444)](),J.preventDefault();const E=H[k(1610)]?.[k(912)]();E&&O({startX:J[k(265)],startY:J[k(1772)],startAngle:c[k(1822)]||0,centerX:E[k(219)]+E[k(1473)]/2,centerY:E.top+E.height/2})},[c[l(1822)]]);B[l(1247)](()=>{const J=l;if(!T)return;const k=X=>{const G=_0x5bb9,ne=X.clientX-T.centerX,ce=X.clientY-T.centerY;let ye=(Math[G(687)](ce,ne)*(180/Math.PI)+90)%360;if(ye<0&&(ye+=360),Z.current=ye,H.current){const ve=c[G(1368)]||"";H[G(1610)][G(1301)][G(1368)]=(G(1893)+ye+"deg) "+ve)[G(1514)]()}},E=()=>{const X=_0x5bb9,G=Z[X(1610)]??T.startAngle;Z[X(1610)]=null,r&&r(e.id,{normalStyle:{...c,rotate:Math[X(1109)](G)}}),O(null)};return window.addEventListener(J(420),k),window[J(1564)](J(1493),E),()=>{const X=J;window[X(1487)](X(420),k),window[X(1487)](X(1493),E)}},[T,r,e.id,c]);const se=e[l(415)]==="group",fe={position:l(1442),left:c.x||0,top:c.y||0,width:K,height:_,background:se?l(419):c[l(1436)]||l(419),backgroundImage:se?void 0:c.backgroundImage?"url("+c[l(439)]+")":void 0,backgroundSize:"cover",backgroundPosition:l(1023),padding:Array[l(1994)](c[l(593)])?c[l(593)].join(l(1883))+"px":c[l(593)],margin:Array.isArray(c.margin)?c[l(1636)][l(358)](l(1883))+"px":c[l(1636)],borderRadius:se?void 0:c[l(524)],border:n&&!j?l(1036):j?l(1445):se?"none":c.border||l(1188),pointerEvents:l(386),opacity:c[l(1344)]??1,transform:j?c[l(1368)]||void 0:(l(1893)+(Z[l(1610)]??(c[l(1822)]||0))+l(452)+(c[l(1368)]||""))[l(1514)](),transformOrigin:"center center",zIndex:n?1e3:c[l(1912)]??1,cursor:g&&!w?l(1299):b?"pointer":l(1846),boxSizing:l(1068),overflow:n||j||se?"visible":l(1965)},ie=P?{x:P.startX||0,y:P[l(1776)]||0}:{x:0,y:0},F=P?{x:P[l(955)]||0,y:P[l(1854)]||0}:{x:0,y:0},re=d[l(1406)](l(261),{ref:H,"data-node-id":e.id,style:fe,onClick:J=>{const k=l;console[k(1678)]("NodeRenderer onClick",e.id,"isClickable:",b);const E=y.current;b&&E&&!w&&!A&&!T&&(J[k(1444)](),E(J))},onMouseDown:J=>{g&&o&&!w&&o(J)},children:[n&&!j&&d[l(1406)](d[l(454)],{children:[!se&&d[l(1406)](d[l(454)],{children:[d[l(2e3)](l(261),{className:l(206),style:{zIndex:9999,pointerEvents:l(386),cursor:l(252),marginTop:l(805),marginLeft:l(805)},onMouseDown:J=>oe(J,"nw"),title:l(980)}),d[l(2e3)]("div",{className:l(1062),style:{zIndex:9999,pointerEvents:l(386),cursor:l(1795),marginTop:l(805),marginRight:l(805)},onMouseDown:J=>oe(J,"ne"),title:l(980)}),d[l(2e3)](l(261),{className:l(1666),style:{zIndex:9999,pointerEvents:l(386),cursor:l(1618),marginBottom:"-6px",marginLeft:l(805)},onMouseDown:J=>oe(J,"sw"),title:"拖拽调整大小"}),d.jsx(l(261),{className:l(1707),style:{zIndex:9999,pointerEvents:l(386),cursor:l(1006),marginBottom:"-6px",marginRight:"-6px"},onMouseDown:J=>oe(J,"se"),title:l(980)})]}),d[l(2e3)]("div",{className:l(876),style:{zIndex:9999,pointerEvents:l(386),cursor:l(1820),marginTop:l(251),transform:l(376),boxShadow:l(1972)},onMouseDown:J=>de(J),title:l(1283)}),d[l(2e3)](l(261),{className:l(1940),style:{zIndex:9998,pointerEvents:l(1445),marginTop:l(701),transform:l(376)}}),d[l(1406)](l(261),{className:l(814),children:[e[l(1793)]," ",D?"("+D[l(1793)]+")":""]})]}),n&&j&&P&&r&&d.jsxs(d[l(454)],{children:[d[l(2e3)](l(261),{"data-handle":l(385),className:l(667),style:{left:ie.x-6,top:ie.y-6,boxShadow:l(1972)},onMouseDown:J=>$(J,"start"),title:l(1043)}),d[l(2e3)](l(261),{"data-handle":l(453),className:l(667),style:{left:F.x-6,top:F.y-6,boxShadow:l(1972)},onMouseDown:J=>$(J,"end"),title:"拖拽调整终点"}),d[l(2e3)]("div",{className:l(814),children:e[l(1793)]})]}),d[l(2e3)](l(261),{className:l(1495),children:N?d[l(2e3)](l(261),{className:l(1131),children:bd(N,x,n,e,p)}):se?null:d.jsx("div",{className:l(398),children:l(572)})}),e[l(415)]==="group"&&e.children&&d[l(2e3)](l(261),{className:l(489),children:e[l(314)][l(411)](J=>d[l(2e3)]("div",{className:"pointer-events-auto",children:d[l(2e3)](Ex,{node:J,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:u})},J.id))})]});return a?d[l(2e3)](jr,{node:e,flowContextData:u,children:re}):re},Ex=B[s(1087)](yd,(e,n)=>{const t=s,o=e[t(705)],x=n.node,r=o.id===x.id&&o.normalStyle.x===x[t(597)].x&&o[t(597)].y===x[t(597)].y&&o[t(597)].width===x[t(597)].width&&o[t(597)][t(1187)]===x.normalStyle.height&&o[t(597)][t(1822)]===x.normalStyle.rotate,i=o[t(888)]===x.contentInfo,a=JSON[t(896)](e.eventFlowData??null)===JSON[t(896)](n[t(678)]??null),u=e.isSelected===n[t(1951)]&&e[t(1783)]===n[t(1783)]&&e[t(1005)]===n[t(1005)]&&a,l=g=>{const v=t,h=[];return g.contentInfo?.[v(1266)]?.forEach(p=>{const C=v;if(p[C(947)]?.[C(415)]===C(1521)){const y=p[C(947)][C(1991)];h[C(829)]({statusId:p.id,startX:y?.[C(1824)]??0,startY:y?.startY??0,endX:y?.[C(955)]??100,endY:y?.[C(1854)]??0})}}),h},c=l(o),f=l(x);let b=!0;if(c.length!==f[t(655)])b=!1;else for(let g=0;g<c[t(655)];g++){const v=c[g],h=f[t(1241)](p=>p[t(1277)]===v[t(1277)]);if(!h||v[t(1824)]!==h.startX||v.startY!==h.startY||v[t(955)]!==h.endX||v.endY!==h[t(1854)]){b=!1;break}}return r&&i&&u&&b}),md=()=>{const e=s,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:a,nextSiblingCanvas:u,prevSiblingCanvas:l,setActiveSiblingGroup:c}=Te(),f=n.activeSiblingGroupId??null,b=n[e(1644)]||[],[g,v]=B[e(898)](b[0]?.id??null),h=B.useMemo(()=>b[e(1241)](A=>A.id===g)||null,[b,g]),[p,C]=B[e(898)](null),[y,w]=B.useState(""),[m,M]=B.useState(void 0),S=B.useMemo(()=>{const A=e;return h?n[A(1265)].filter(q=>!h[A(737)][A(561)](q.id)):n[A(1265)]},[n.canvases,h]),U=B[e(871)](()=>{const A=t();v(A)},[t]),W=B.useCallback(A=>{const q=e,T=y[q(1514)]();if(!T){z[q(1794)].warning("名称不能为空");return}x(A,{name:T}),C(null),w("")},[y,x]),H=B[e(871)](()=>{!h||!m||(r(h.id,m),M(void 0))},[h,m,r]);return d[e(1406)](e(261),{className:"flex gap-4",style:{minHeight:360},children:[d[e(1406)](e(261),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:220},children:[d[e(1406)]("div",{className:e(332),children:[d[e(2e3)](e(1677),{className:e(1096),children:"同级关系组"}),d.jsx(z[e(336)],{type:e(932),size:e(226),icon:d[e(2e3)](ae[e(291)],{}),onClick:U,children:"新建"})]}),b[e(655)]===0?d[e(2e3)](z[e(861)],{description:e(262),image:z[e(861)][e(921)],style:{marginTop:40}}):d.jsx(z[e(649)],{size:e(226),dataSource:b,renderItem:A=>{const q=e,T=A.id===g,O=p===A.id;return d[q(2e3)](z[q(649)].Item,{onClick:()=>{O||v(A.id)},style:{cursor:q(802),background:T?q(1739):void 0,padding:q(1786)},actions:[O?d[q(2e3)](z[q(336)],{type:q(972),size:q(226),onClick:Z=>{Z[q(1444)](),W(A.id)},children:"保存"}):d[q(2e3)](z[q(574)],{title:q(738),children:d.jsx(z[q(336)],{type:q(773),size:q(226),icon:d[q(2e3)](ae[q(1073)],{}),onClick:Z=>{const D=q;Z[D(1444)](),C(A.id),w(A[D(1793)])}})},"rename"),d.jsx(z[q(578)],{title:"确认删除该同级关系组?",okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:Z=>{if(Z?.stopPropagation(),o(A.id),g===A.id){const D=b.filter(L=>L.id!==A.id);v(D[0]?.id??null)}},onCancel:Z=>Z?.[q(1444)](),children:d[q(2e3)](z[q(336)],{type:q(773),size:"small",danger:!0,icon:d.jsx(ae[q(951)],{}),onClick:Z=>Z[q(1444)]()})},q(1756))],children:O?d.jsx(z.Input,{autoFocus:!0,size:q(226),value:y,onChange:Z=>w(Z[q(1552)][q(1303)]),onPressEnter:()=>W(A.id),onClick:Z=>Z[q(1444)](),style:{width:140}}):d[q(1406)](q(1677),{className:"flex items-center gap-2",children:[d.jsx(q(1677),{style:{fontWeight:T?600:400},children:A[q(1793)]}),d[q(2e3)](z[q(1262)],{color:q(427),children:A[q(737)][q(655)]}),f===A.id&&d[q(2e3)](z[q(1262)],{color:"green",children:q(1503)})]})})}})]}),d[e(2e3)](e(261),{className:e(1898),style:{minWidth:280},children:h?d.jsxs(d[e(454)],{children:[d.jsxs(e(261),{className:e(332),children:[d[e(2e3)]("span",{className:"font-semibold text-gray-700",children:e(1358)}),d[e(1406)](z[e(1319)],{size:e(226),children:[f===h.id?d[e(2e3)](z.Tooltip,{title:e(639),children:d[e(2e3)](z[e(336)],{size:e(226),onClick:()=>c(null),children:e(1231)})}):d[e(2e3)](z.Tooltip,{title:"将该组设为活跃组,外部翻页 UI 据此启用",children:d.jsx(z[e(336)],{size:"small",type:"primary",ghost:!0,disabled:h[e(737)][e(655)]===0,onClick:()=>c(h.id),children:e(685)})}),d[e(2e3)](z.Tooltip,{title:"翻到上一页(基于当前画布)",children:d[e(2e3)](z[e(336)],{size:e(226),icon:d[e(2e3)](ae[e(1923)],{}),disabled:h[e(737)][e(655)]<2,onClick:()=>l(h.id)})}),d[e(2e3)](z.Tooltip,{title:e(957),children:d[e(2e3)](z[e(336)],{size:e(226),icon:d[e(2e3)](ae[e(328)],{}),disabled:h[e(737)][e(655)]<2,onClick:()=>u(h.id)})})]})]}),d[e(1406)]("div",{className:"flex items-center gap-2 mb-3",children:[d[e(2e3)](z[e(1101)],{placeholder:"选择画布加入",value:m,onChange:M,style:{flex:1},size:e(226),disabled:S.length===0,options:S[e(411)](A=>({label:A[e(1793)],value:A.id}))}),d.jsx(z[e(336)],{size:e(226),type:e(932),icon:d[e(2e3)](ae[e(291)],{}),disabled:!m,onClick:H,children:"加入"})]}),h[e(737)].length===0?d[e(2e3)](z[e(861)],{description:e(1718),image:z.Empty.PRESENTED_IMAGE_SIMPLE,style:{marginTop:40}}):d[e(2e3)](z[e(649)],{size:e(226),dataSource:h[e(737)],renderItem:(A,q)=>{const T=e,O=n[T(1265)][T(1241)](L=>L.id===A),Z=n.currentCanvasId===A,D=h.canvasIds[T(655)];return d[T(2e3)](z[T(649)][T(589)],{style:{padding:T(1786)},actions:[d[T(2e3)](z[T(574)],{title:"上移",children:d[T(2e3)](z.Button,{type:T(773),size:T(226),icon:d[T(2e3)](ae[T(831)],{}),disabled:q===0,onClick:()=>a(h.id,A,"up")})},"up"),d.jsx(z[T(574)],{title:"下移",children:d[T(2e3)](z.Button,{type:"text",size:T(226),icon:d[T(2e3)](ae[T(1320)],{}),disabled:q===D-1,onClick:()=>a(h.id,A,T(1740))})},"down"),d[T(2e3)](z.Tooltip,{title:T(1300),children:d.jsx(z.Button,{type:T(773),size:"small",danger:!0,icon:d[T(2e3)](ae[T(951)],{}),onClick:()=>i(h.id,A)})},T(669))],children:d[T(1406)](T(1677),{className:T(582),children:[d[T(2e3)](z[T(1262)],{children:q+1}),d[T(2e3)](T(1677),{style:{fontWeight:Z?600:400},children:O?.name??T(1040)+A[T(1586)](0,6)+")"}),Z&&d[T(2e3)](z.Tag,{color:T(1228),children:"当前"})]})})}})]}):d[e(2e3)](z[e(861)],{description:e(599),image:z[e(861)].PRESENTED_IMAGE_SIMPLE,style:{marginTop:60}})})]})},vd=[s(1650),"#52c41a",s(1897),"#f5222d","#722ed1",s(487),s(1806),"#fa8c16",s(1220),"#262626","#8c8c8c",s(1398),s(749),s(1587),s(390),s(396)],cn=({value:e=s(1650),onChange:n,onChangeComplete:t})=>{const o=s,[x,r]=B[o(898)](!1),[i,a]=B.useState(e),u=B[o(1288)](null);B[o(1247)](()=>{a(e)},[e]),B.useEffect(()=>{const c=o,f=b=>{const g=_0x5bb9;u.current&&!u[g(1610)][g(966)](b[g(1552)])&&(r(!1),t?.({toHexString:()=>i}))};return x&&document[c(1564)](c(1395),f),()=>document[c(1487)](c(1395),f)},[x,t,i]);const l=c=>{a(c),n?.({toHexString:()=>c})};return d[o(1406)](o(261),{ref:u,style:{position:o(1572),display:o(1499)},children:[d[o(2e3)](o(261),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:"1px solid #d9d9d9",borderRadius:4,cursor:"pointer"}}),x&&d[o(1406)](o(261),{style:{position:o(1442),top:32,left:0,zIndex:1e3,background:o(475),padding:8,borderRadius:4,boxShadow:o(1194),border:"1px solid #f0f0f0"},children:[d[o(2e3)](o(261),{style:{display:"grid",gridTemplateColumns:o(1095),gap:4},children:vd[o(411)](c=>d[o(2e3)](o(261),{onClick:()=>{l(c),r(!1),t?.({toHexString:()=>c})},style:{width:20,height:20,backgroundColor:c,border:o(i===c?1036:1906),borderRadius:2,cursor:o(802)}},c))}),d.jsx("input",{type:o(899),value:i,onChange:c=>l(c[o(1552)][o(1303)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:o(1935),marginTop:8,height:28,border:o(1906),borderRadius:4}})]})]})},{TextArea:wd}=z.Input;function pd(e){const n=s;if(!e||!(e instanceof HTMLElement))return!1;const t=e[n(866)];return!!(t===n(1536)||t===n(1253)||t===n(836)||t===n(467)||e[n(732)]||e.closest(n(1313))||e[n(292)](n(1864))||e.closest(n(1081)))}const Or=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=s,i=B.useRef(null),a=B[r(1288)](null),u=B[r(1288)](null),{nodes:l,selectedNodeId:c,selectedNodeIds:f,mode:b,lineDrawing:g,viewport:v,canvas:h,root:p,setViewport:C,setCanvasConfig:y,addNode:w,selectNode:m,updateNode:M,removeNode:S,bringToFront:U,sendToBack:W,undo:H,redo:A,setMode:q,startLineDrawing:T,endLineDrawing:O,cancelLineDrawing:Z,addCanvas:D,removeCanvas:L,switchCanvas:N,updateCanvasName:j,exportCanvas:P,importCanvas:I,setSelectedNodeIds:K}=Te(),[_,R]=B[r(898)](!1),[,$]=B[r(898)]({}),oe=B[r(1288)](b);B[r(1247)](()=>{const Y=r;oe[Y(1610)]=b},[b]),B[r(1247)](()=>{const Y=r;q(Y(n?1238:1412))},[n,q]);const de=n&&o&&h.width>0?Math[r(382)](o/h.width,1):.5,se=n&&o?1:5,fe=n&&o&&h.width>0?de:1,ie=n&&o?r(676)+o+"-"+(x||r(386))+r(1496)+h[r(1473)]+"-"+h[r(1187)]:r(1846),F=B.useRef(fe),re=B.useRef(!1),J=B[r(1288)]({x:0,y:0}),k=B.useRef({x:0,y:0,newX:0,newY:0}),E=B.useRef(null),[X,G]=B.useState({start:null,end:null,isDrawing:!1}),[ne,ce]=B[r(898)]({start:null,end:null}),le=f,ye=K;B[r(1288)](!1);const[ve,Ne]=B[r(898)](!1),[ze,ke]=B[r(898)](!1),[Ee,Pe]=B.useState(()=>JSON[r(896)](e??null,null,2)),Ie=B.useMemo(()=>{const Y=r;if(!ze)return e;try{return JSON[Y(1132)](Ee)}catch{return e}},[Ee,e,ze]),Ae=B[r(1456)](()=>{const Y=r,V=Ie;if(V!==null&&typeof V===Y(1866))return V;if(V!==void 0)return{_payload:V}},[Ie]),Ve=B[r(1456)](()=>{const Y=r,V=Ie;return V!==null&&typeof V===Y(1866)&&!Array.isArray(V)?V:Array[Y(1994)](V)?{_telemetryRows:V}:V==null?{}:{_payload:V}},[Ie]),t0=B[r(871)](()=>{const Y=r;let V=e;if(ze)try{V=JSON[Y(1132)](Ee)}catch{V=e}Pe(JSON[Y(896)](V??null,null,2)),Ne(!0)},[Ee,e,ze]),[g0,Je]=B[r(898)](!1),[r0,Xe]=B[r(898)](!1),[i0,a0]=B[r(898)](""),[x0,b0]=B[r(898)](!1),P0=B[r(871)](()=>{const Y=r;try{const V=P(),ee=JSON[Y(896)](V,null,2),xe=Y(517)+encodeURIComponent(ee),ue=Y(675)+V.canvas[Y(1793)]+"_"+Date.now()+Y(1917),Q=document[Y(772)]("a");Q.setAttribute(Y(443),xe),Q[Y(307)]("download",ue),Q.click(),z[Y(1794)][Y(1839)](Y(519))}catch{z.message[Y(590)]("画布导出失败")}},[P]),Qe=B.useCallback(()=>{const Y=r;try{const V=JSON[Y(1132)](i0);x0?I(V):I(V,p.currentCanvasId||void 0),Xe(!1),a0(""),b0(!1),z[Y(1794)][Y(1839)]("画布导入成功!")}catch{z[Y(1794)][Y(590)](Y(1021))}},[i0,x0,I,p[r(1280)]]),Bn=B[r(871)](Y=>{const V=r,ee=new FileReader;return ee[V(594)]=xe=>{const ue=V;try{const Q=xe[ue(1552)]?.[ue(792)],te=JSON[ue(1132)](Q);x0?I(te):I(te,p[ue(1280)]||void 0),z[ue(1794)][ue(1839)]("画布导入成功!"),Xe(!1),b0(!1)}catch{z[ue(1794)][ue(590)]("文件格式错误")}},ee.readAsText(Y),!1},[x0,I,p[r(1280)]]),[Ze,G0]=B[r(898)](!1),qe=B[r(871)]((Y,V)=>{const ee=r;if(!a[ee(1610)])return{x:0,y:0};const xe=a.current[ee(912)](),ue=Y-xe[ee(219)],Q=V-xe[ee(755)],te=xe[ee(1473)]/h[ee(1473)],ge=xe.height/h.height,me=ue/te,be=Q/ge;return{x:Math[ee(1109)](me),y:Math[ee(1109)](be)}},[h[r(1473)],h.height]),y0=B.useCallback((Y,V)=>qe(Y,V),[qe]),Dn=B[r(871)]((Y,V,ee=!0)=>{const xe=r;if(!g[xe(947)])return;const ue=g.material,Q=ue[xe(1991)]||{},te=Q[xe(1698)]||Q[xe(1308)]||2,ge=Math[xe(382)](Y.x,V.x),me=Math[xe(382)](Y.y,V.y),be=Math.round(Y.x-ge),Ce=Math[xe(1109)](Y.y-me),we=Math[xe(1109)](V.x-ge),Se=Math[xe(1109)](V.y-me),Ge=Math[xe(1526)](te*2,4),Fe=Math[xe(1526)](Math[xe(1426)](Y.x-V.x),Ge),m0=Math[xe(1526)](Math[xe(1426)](Y.y-V.y),Ge),Ke={...ue,id:pe[xe(1399)](),config:{color:Q[xe(899)],lineWeight:te,thickness:te,lineType:Q[xe(1921)],startX:be,startY:Ce,endX:we,endY:Se}},Be={id:pe[xe(1399)](),name:ue[xe(1793)]+"_"+Date[xe(688)](),type:"normal",normalStyle:{width:Fe,height:m0,x:ge,y:me,background:xe(419)},contentInfo:{statusList:[Lx(Ke)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(w(Be,!1),ee){const De={x:V.x,y:V.y};G({start:De,end:{...De},isDrawing:!0})}else G({start:null,end:null,isDrawing:!1}),O()},[g.material,w,O]),ko=B[r(871)](()=>{const Y=r,V=i[Y(1610)]?.instance;if(!V)return;const ee=V[Y(1603)];F.current=ee.scale,C({scale:ee[Y(1783)],positionX:0,positionY:0})},[C]),Po=B[r(871)](Y=>{const V=r;re[V(1610)]||b!=="box-select"&&(Y.target===a[V(1610)]||Y[V(1552)].dataset?.[V(1544)]===V(1785))&&(m(null),ye([]))},[m,b]),Io=B[r(871)](Y=>{const V=r;if(Y[V(264)]===0){if(b==="line-draw"&&g[V(947)]){Y.stopPropagation();const ee=qe(Y[V(265)],Y[V(1772)]);X[V(1072)]?X[V(385)]&&Dn(X.start,ee,!0):G({start:ee,end:ee,isDrawing:!0});return}if(b===V(1721)&&!Ze){const ee=y0(Y[V(265)],Y.clientY);ce({start:ee,end:ee}),ye([]),m(null),Y[V(726)](),Y.stopPropagation()}}},[b,g[r(947)],X[r(1072)],X.start,Ze,Dn,qe,y0]),Ao=B[r(871)](Y=>{const V=r;if(!(b!=="line-draw"||!g[V(947)])&&X.isDrawing&&X[V(385)]){const ee=qe(Y[V(265)],Y[V(1772)]);Dn(X[V(385)],ee,!1)}},[b,g.material,X[r(1072)],X.start,Dn,qe]),Yo=B[r(871)](Y=>{const V=r;Y.preventDefault(),Y[V(444)].dropEffect=V(920),R(!0)},[]),jo=B[r(871)](Y=>{Y[r(726)](),R(!1)},[]),Eo=B.useCallback(Y=>{const V=r;if(Y[V(726)](),R(!1),!(!a[V(1610)]||b!==V(1412)))try{const ee=Y[V(444)][V(227)](V(429));if(!ee)return;const xe=JSON[V(1132)](ee),ue=qe(Y[V(265)],Y[V(1772)]),Q=ue.x-50,te=ue.y-50,ge=ar(Q,te,xe);w(ge),ye([ge.id])}catch(ee){console[V(590)]("Failed to parse dropped material:",ee)}},[b,w,qe]),Uo=B[r(871)]((Y,V)=>{const ee=r;b!==ee(1412)&&b!==ee(1721)||!V.controlInfo[ee(1805)]||(Y[ee(1444)](),m(V.id),re[ee(1610)]=!0,J.current={x:Y[ee(265)],y:Y[ee(1772)]},k[ee(1610)]={x:V[ee(597)].x||0,y:V.normalStyle.y||0,newX:V[ee(597)].x||0,newY:V[ee(597)].y||0},E[ee(1610)]=V,Y.preventDefault())},[b,m]);B[r(1247)](()=>{const Y=r,V=Q=>{const te=_0x5bb9;if(re.current&&c&&E[te(1610)]){if(!a.current)return;const ge=a[te(1610)][te(912)](),me=ge[te(1473)]/h[te(1473)],be=ge[te(1187)]/h[te(1187)],Ce=Q.clientX-J[te(1610)].x,we=Q.clientY-J[te(1610)].y,Se=Ce/me,Ge=we/be,Fe=k.current.x+Se,m0=k[te(1610)].y+Ge,Ke=document[te(1557)]('[data-node-id="'+c+'"]');Ke&&(Ke[te(1301)].left=Fe+"px",Ke[te(1301)][te(755)]=m0+"px"),k.current[te(375)]=Fe,k[te(1610)][te(446)]=m0}if(b==="box-select"&&ne[te(385)]){const ge=y0(Q[te(265)],Q.clientY);ce(me=>({...me,end:ge}))}if(b==="line-draw"&&X[te(1072)]){const ge=qe(Q.clientX,Q[te(1772)]);G(me=>({...me,end:ge}))}},ee=()=>{const Q=_0x5bb9;if(re.current&&c&&E[Q(1610)]){const te=Te[Q(579)](),ge=k.current.newX??k[Q(1610)].x,me=k[Q(1610)][Q(446)]??k[Q(1610)].y;te[Q(1494)](c,{normalStyle:{...E[Q(1610)][Q(597)],x:ge,y:me}})}if(re[Q(1610)]=!1,E[Q(1610)]=null,$({}),b===Q(1721)&&ne[Q(385)]&&ne[Q(453)]){const te=Math[Q(382)](ne[Q(385)].x,ne[Q(453)].x),ge=Math.max(ne.start.x,ne[Q(453)].x),me=Math.min(ne[Q(385)].y,ne[Q(453)].y),be=Math[Q(1526)](ne[Q(385)].y,ne.end.y),Ce=l[Q(1343)](we=>{const Se=Q,Ge=we.normalStyle.x||0,Fe=we[Se(597)].y||0,m0=we[Se(597)].width||0,Ke=we[Se(597)][Se(1187)]||0,Be=Ge+m0/2,De=Fe+Ke/2;return Be>=te&&Be<=ge&&De>=me&&De<=be})[Q(411)](we=>we.id);ye(Ce),ce({start:null,end:null})}},xe=Q=>{const te=_0x5bb9;if(!pd(Q.target)){if(Q[te(210)]==="Escape"&&b==="line-draw"&&(G({start:null,end:null,isDrawing:!1}),Z()),Q[te(210)]==="Delete"&&(c?S(c):le[te(655)]>0&&(le[te(1626)](ge=>S(ge)),ye([]))),Q[te(1179)]&&Q[te(210)]==="z"&&(Q[te(726)](),H()),Q[te(1179)]&&Q.key==="y"&&(Q[te(726)](),A()),(b===te(1412)||b==="box-select")&&(Q.key===te(450)||Q[te(210)]===te(1353)||Q.key===te(249)||Q[te(210)]==="ArrowDown")){const ge=le[te(655)]>0?le:c?[c]:[];if(ge[te(655)]>0){Q[te(726)]();const me=Q[te(210)]===te(450)?-2:Q[te(210)]===te(1353)?2:0,be=Q[te(210)]===te(249)?-2:Q[te(210)]===te(1593)?2:0;ge[te(1626)](Ce=>{const we=te,Se=l[we(1241)](Ge=>Ge.id===Ce);Se&&M(Ce,{normalStyle:{...Se[we(597)],x:(Se[we(597)].x||0)+me,y:(Se[we(597)].y||0)+be}})})}}Q.key===" "&&!Ze&&(Q.preventDefault(),G0(!0))}},ue=Q=>{Q[_0x5bb9(210)]===" "&&Ze&&G0(!1)};return window[Y(1564)](Y(420),V),window[Y(1564)](Y(1493),ee),window[Y(1564)](Y(1433),xe),window[Y(1564)](Y(215),ue),()=>{const Q=Y;window[Q(1487)](Q(420),V),window[Q(1487)]("mouseup",ee),window[Q(1487)](Q(1433),xe),window[Q(1487)](Q(215),ue)}},[c,ne,b,X[r(1072)],le,l,h[r(1473)],h[r(1187)],S,H,Ze,A,Z,qe,y0,ye,M]);const lx=(Y,V=!0)=>{const ee=r,xe={...Y,id:pe[ee(1399)](),name:Y[ee(1793)]+ee(661),normalStyle:{...Y[ee(597)],x:(Y[ee(597)].x||0)+(V?20:0),y:(Y.normalStyle.y||0)+(V?20:0)}};return Y[ee(415)]===ee(609)&&Y[ee(314)]&&(xe[ee(314)]=Y[ee(314)][ee(411)](ue=>lx(ue,!1))),xe},dx=B[r(871)](()=>{const Y=r,V=le.length>0?le.map(xe=>l[Y(1241)](ue=>ue.id===xe))[Y(1343)](Boolean):c?[l[Y(1241)](xe=>xe.id===c)][Y(1343)](Boolean):[];if(V.length===0)return;const ee=[];V.forEach(xe=>{const ue=Y,Q=lx(xe);w(Q),ee[ue(829)](Q.id)}),ee[Y(655)]===1?m(ee[0]):ye(ee)},[c,le,l,w,m,ye]),cx=B[r(871)](()=>{const Y=r;if(le[Y(655)]<2)return;const V=[];for(let me=0;me<le[Y(655)];me++){const be=le[me],Ce=l.find(we=>we.id===be);if(Ce){if(Ce?.[Y(415)]==="group"){Ce[Y(314)][Y(1626)](Se=>V[Y(829)]({...Se,normalStyle:{...Se[Y(597)],x:(Ce[Y(597)].x||0)+(Se[Y(597)].x||0),y:(Ce[Y(597)].y||0)+(Se[Y(597)].y||0)}})),S(be);continue}V[Y(829)](Ce)}}if(V[Y(655)]<2)return;let ee=1/0,xe=1/0,ue=-1/0,Q=-1/0;V.forEach(me=>{const be=Y,Ce=me[be(597)].x||0,we=me[be(597)].y||0,Se=me[be(597)][be(1473)]||0,Ge=me[be(597)][be(1187)]||0;ee=Math[be(382)](ee,Ce),xe=Math[be(382)](xe,we),ue=Math[be(1526)](ue,Ce+Se),Q=Math[be(1526)](Q,we+Ge)});const te=V[Y(411)](me=>({...me,normalStyle:{...me[Y(597)],x:(me.normalStyle.x||0)-ee,y:(me[Y(597)].y||0)-xe}})),ge={id:pe[Y(1399)](),name:Y(1198)+Date[Y(688)](),type:"group",normalStyle:{x:ee,y:xe,width:ue-ee,height:Q-xe,background:"transparent"},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:te};le[Y(1626)](me=>S(me)),w(ge),ye([]),m(ge.id)},[le,l,S,w,m]),ux=Y=>{const V=r,ee={...Y,id:pe[V(1399)]()};return Y[V(415)]==="group"&&Y[V(314)]&&(ee.children=Y[V(314)][V(411)](xe=>ux(xe))),ee},fx=B[r(871)](()=>{const Y=r,V=le[Y(655)]>0?le.map(ee=>l[Y(1241)](xe=>xe.id===ee)).filter(ee=>!!ee&&ee[Y(415)]===Y(609)):c?[l.find(ee=>ee.id===c)][Y(1343)](ee=>!!ee&&ee[Y(415)]==="group"):[];V.length!==0&&(V[Y(1626)](ee=>{const xe=Y;if(!ee[xe(314)]||ee[xe(314)][xe(655)]===0)return;const ue=ee[xe(597)].x||0,Q=ee[xe(597)].y||0,te=ee[xe(597)].width||0,ge=ee.normalStyle.height||0,me=ee.normalStyle[xe(1822)]||0,be=me*Math.PI/180,Ce=Math.cos(be),we=Math.sin(be),Se=ue+te/2,Ge=Q+ge/2,Fe=(Ke,Be)=>{const De=Ke-te/2,en=Be-ge/2;return{x:Se+De*Ce-en*we,y:Ge+De*we+en*Ce}},m0=ee[xe(314)].map(Ke=>{const Be=xe,De=ux(Ke);if(De[Be(888)][Be(1266)][Be(789)](To=>To[Be(947)].type==="LINE")){const To=De[Be(597)].x||0,cg=De[Be(597)].y||0,tl=De[Be(597)].width||0,xl=De[Be(597)][Be(1187)]||0,ug=De.normalStyle[Be(1822)]||0,ol=ug*Math.PI/180,rl=Math[Be(606)](ol),il=Math.sin(ol),al=(xn,We)=>{const v0=xn-tl/2,M0=We-xl/2,s0=v0*rl-M0*il+tl/2,qo=v0*il+M0*rl+xl/2;return Fe(To+s0,cg+qo)};let nn=1/0,tn=1/0,Ho=-1/0,Vo=-1/0,Wo=2;const fg=De.contentInfo[Be(1266)][Be(411)](xn=>{const We=Be;if(xn[We(947)][We(415)]!==We(1521))return null;const v0=xn[We(947)][We(1991)]||{},M0=al(v0[We(1824)]||0,v0[We(1776)]||0),s0=al(v0[We(955)]||0,v0[We(1854)]||0);return nn=Math.min(nn,M0.x,s0.x),tn=Math[We(382)](tn,M0.y,s0.y),Ho=Math[We(1526)](Ho,M0.x,s0.x),Vo=Math[We(1526)](Vo,M0.y,s0.y),Wo=Math[We(1526)](Wo,v0.lineWeight||v0[We(1308)]||2),{s:M0,e:s0}});if(Number[Be(1749)](nn)&&Number.isFinite(tn)){const xn=Math.max(Wo*2,4),We=Math[Be(1526)](Ho-nn,xn),v0=Math[Be(1526)](Vo-tn,xn),M0=De[Be(888)][Be(1266)][Be(411)]((s0,qo)=>{const sl=Be,lt=fg[qo];if(!lt||s0.material.type!==sl(1521))return s0;const ll=s0.material;return{...s0,material:{...ll,config:{...ll[sl(1991)]||{},startX:lt.s.x-nn,startY:lt.s.y-tn,endX:lt.e.x-nn,endY:lt.e.y-tn}}}});return{...De,normalStyle:{...De.normalStyle,x:nn,y:tn,width:We,height:v0,rotate:0},contentInfo:{...De.contentInfo,statusList:M0}}}}const vx=De[Be(597)][Be(1473)]||0,wx=De.normalStyle[Be(1187)]||0,px=De[Be(597)].x||0,st=De[Be(597)].y||0,el=px+vx/2-te/2,nl=st+wx/2-ge/2,ag=Se+el*Ce-nl*we,sg=Ge+el*we+nl*Ce,lg=De.normalStyle[Be(1822)]||0,dg=((lg+me)%360+360)%360;return{...De,normalStyle:{...De[Be(597)],x:ag-vx/2,y:sg-wx/2,rotate:dg}}});S(ee.id),m0.forEach(Ke=>w(Ke))}),ye([]),m(null))},[c,le,l,S,w,m,ye]),ot=B[r(871)](Y=>{const V=r;if(le[V(655)]<2)return;const ee=le[V(411)](be=>l[V(1241)](Ce=>Ce.id===be))[V(1343)](be=>!!be&&be[V(415)]!==V(609));if(ee.length<2)return;let xe=1/0,ue=-1/0,Q=1/0,te=-1/0;ee[V(1626)](be=>{const Ce=V,we=be.normalStyle.x||0,Se=be.normalStyle.y||0;xe=Math[Ce(382)](xe,we),ue=Math[Ce(1526)](ue,we),Q=Math[Ce(382)](Q,Se),te=Math[Ce(1526)](te,Se)});const ge=[...ee].sort((be,Ce)=>{const we=V;return Y===we(778)?(be.normalStyle.x||0)-(Ce[we(597)].x||0):(be[we(597)].y||0)-(Ce[we(597)].y||0)}),me=ge[V(655)];if(Y==="horizontal"){const be=ue-xe,Ce=be/(me-1);ge[V(1626)]((we,Se)=>{const Ge=V,Fe=xe+Ce*Se;M(we.id,{normalStyle:{...we[Ge(597)],x:Fe}})})}else{const be=te-Q,Ce=be/(me-1);ge[V(1626)]((we,Se)=>{const Ge=V,Fe=Q+Ce*Se;M(we.id,{normalStyle:{...we[Ge(597)],y:Fe}})})}},[le,l,M]),T0=Y=>{const V=r,ee=Y[V(888)][V(1266)][V(1241)](xe=>xe.material[V(415)]===V(1521));return ee?ee[V(947)][V(1991)]:null},H0=B[r(871)](Y=>{const V=r;if(le[V(655)]<2)return;const ee=Te[V(579)](),xe=le[V(411)](Q=>l[V(1241)](te=>te.id===Q))[V(1343)](Q=>!!Q);if(xe[V(655)]<2)return;let ue=0;switch(Y){case"left":ue=Math[V(382)](...xe[V(411)](Q=>{const te=V,ge=T0(Q);return ge?(Q[te(597)].x||0)+(ge[te(1824)]||0):Q[te(597)].x||0}));break;case V(1421):ue=Math[V(1526)](...xe[V(411)](Q=>{const te=V,ge=T0(Q);return ge?(Q[te(597)].x||0)+(ge[te(955)]||0):(Q[te(597)].x||0)+(Q.normalStyle[te(1473)]||0)}));break;case V(755):ue=Math.min(...xe[V(411)](Q=>{const te=V,ge=T0(Q);return ge?(Q[te(597)].y||0)+(ge.startY||0):Q[te(597)].y||0}));break;case V(1663):ue=Math[V(1526)](...xe[V(411)](Q=>{const te=V,ge=T0(Q);return ge?(Q.normalStyle.y||0)+(ge[te(1854)]||0):(Q[te(597)].y||0)+(Q[te(597)][te(1187)]||0)}));break}xe[V(1626)](Q=>{const te=V;let ge=Q[te(597)].x||0,me=Q.normalStyle.y||0;const be=T0(Q);switch(Y){case te(219):be?ge=ue-(be[te(1824)]||0):ge=ue;break;case te(1421):be?ge=ue-(be.endX||0):ge=ue-(Q[te(597)].width||0);break;case"top":be?me=ue-(be[te(1776)]||0):me=ue;break;case te(1663):be?me=ue-(be.endY||0):me=ue-(Q[te(597)][te(1187)]||0);break}ee[te(1494)](Q.id,{normalStyle:{...Q[te(597)],x:ge,y:me}})})},[le,l]),hx=[{icon:d.jsx(ae[r(485)],{}),title:r(1954),active:b==="select",onClick:()=>{q(r(1412))}},{icon:d[r(2e3)](ae[r(779)],{}),title:r(329),active:b==="box-select",onClick:()=>{q(r(1721)),ye([])}},{icon:d[r(2e3)](ae[r(761)],{}),title:r(1233),active:b==="drag",onClick:()=>{q("drag")}},{icon:d[r(2e3)](ae[r(1073)],{}),title:r(1012),active:b===r(1800),onClick:()=>{q(r(1800))}},{icon:d[r(2e3)](ae.EyeOutlined,{}),title:r(1979),active:b===r(1238),onClick:()=>{q(r(1238))}}],Ln=B[r(871)](()=>le[r(655)]>0?le:c?[c]:[],[le,c]),gx=B[r(871)](()=>{const Y=r,V=Ln();if(V[Y(655)]===0)return;l.filter(xe=>V[Y(561)](xe.id))[Y(411)](xe=>xe.id).forEach(xe=>U(xe))},[Ln,l,U]),bx=B.useCallback(()=>{const Y=r,V=Ln();if(V.length===0)return;[...l[Y(1343)](xe=>V[Y(561)](xe.id)).map(xe=>xe.id)][Y(1305)]()[Y(1626)](xe=>W(xe))},[Ln,l,W]),Oo=B[r(1456)](()=>[{icon:d[r(2e3)](ae[r(203)],{}),title:r(790),onClick:H},{icon:d[r(2e3)](ae.RedoOutlined,{}),title:r(1491),onClick:A},{icon:d.jsx(ae[r(218)],{}),title:r(1694),disabled:!c&&le[r(655)]===0,onClick:gx},{icon:d[r(2e3)](ae[r(1804)],{}),title:r(1394),disabled:!c&&le[r(655)]===0,onClick:bx},{icon:d.jsx(ae.CopyOutlined,{}),title:r(199),disabled:!c&&le[r(655)]===0,onClick:dx},{icon:d[r(2e3)](ae[r(779)],{}),title:"组合选中节点",disabled:le[r(655)]<2,onClick:cx},{icon:d[r(2e3)](ae[r(235)],{}),title:r(613),disabled:!c&&le[r(655)]===0,onClick:fx},{icon:d[r(2e3)](ae.AlignLeftOutlined,{}),title:r(592),disabled:le[r(655)]<2,onClick:()=>H0("left")},{icon:d[r(2e3)](ae[r(559)],{}),title:r(1139),disabled:le.length<2,onClick:()=>H0(r(1421))},{icon:d[r(2e3)](ae[r(554)],{}),title:r(1248),disabled:le.length<2,onClick:()=>H0("top")},{icon:d[r(2e3)](ae[r(1256)],{}),title:"下对齐",disabled:le[r(655)]<2,onClick:()=>H0("bottom")},{icon:d[r(2e3)](ae[r(1515)],{}),title:r(787),disabled:le[r(655)]<2,onClick:()=>ot("horizontal")},{icon:d[r(2e3)](ae[r(934)],{}),title:r(1948),disabled:le[r(655)]<2,onClick:()=>ot("vertical")},{icon:d[r(2e3)](ae.SettingOutlined,{}),title:r(1355),onClick:()=>Je(!0)},{icon:d[r(2e3)](ae[r(1033)],{}),title:"数据模拟",type:"primary",onClick:t0},{icon:d.jsx(ae[r(951)],{}),title:r(1943),disabled:!c&&le.length===0,onClick:()=>{c?S(c):le[r(655)]>0&&(le.forEach(V=>S(V)),ye([]))}}],[H,A,b,q,ye,le,cx,fx,dx,H0,ot,gx,bx,Je,Ne,t0,c,S,p[r(1280)]]),[Go,yx]=B[r(898)](!1),[rt,it]=B[r(898)](""),[mx,at]=B[r(898)](null);return d[r(1406)]("div",{className:"flex flex-col "+(n?"":r(1630)),children:[!n&&d[r(1406)](r(261),{className:"h-12 bg-white border-b border-gray-200 flex items-center justify-between px-4",children:[d[r(1406)](z[r(1319)],{children:[hx[r(411)](Y=>d[r(2e3)](z[r(574)],{title:Y[r(213)],children:d.jsx(z[r(336)],{type:Y[r(290)]?r(932):r(1846),icon:Y[r(1523)],onClick:Y.onClick})},Y[r(213)])),d.jsx(r(261),{className:r(1317)}),d[r(2e3)](z[r(1101)],{value:p.currentCanvasId,onChange:N,style:{width:140},dropdownRender:Y=>d.jsxs(d[r(454)],{children:[Y,d[r(2e3)](r(261),{className:r(1416),children:d[r(2e3)](z[r(336)],{type:r(972),size:"small",block:!0,onClick:()=>yx(!0),children:"管理画布..."})})]}),children:p[r(1265)][r(411)](Y=>d[r(2e3)](z[r(1101)][r(1458)],{value:Y.id,children:Y[r(1793)]},Y.id))}),d[r(2e3)](z[r(336)],{icon:d.jsx(ae.PlusOutlined,{}),size:"small",onClick:()=>D(),title:r(1625)}),d[r(2e3)](z[r(574)],{title:"导出当前画布",children:d[r(2e3)](z.Button,{icon:d.jsx(ae.DownloadOutlined,{}),size:r(226),onClick:P0})}),d.jsx(z[r(574)],{title:r(769),children:d[r(2e3)](z[r(336)],{icon:d[r(2e3)](ae[r(241)],{}),size:r(226),onClick:()=>Xe(!0)})})]}),d[r(2e3)](z[r(1319)],{children:Oo.map(Y=>d[r(2e3)](z[r(574)],{title:Y[r(213)],children:d[r(2e3)](z[r(336)],{type:Y[r(290)]?r(932):Y[r(415)]||r(1846),icon:Y[r(1523)],onClick:Y[r(631)],disabled:Y[r(546)]})},Y[r(213)]))})]}),d[r(2e3)](r(261),{ref:u,className:r(1244)+(n?"":"flex-1"),style:n&&o?{display:r(834),justifyContent:"flex-start",alignItems:r(1510)}:void 0,onWheel:n&&o?Y=>{const V=r;Y[V(726)](),Y.stopPropagation();const ee=i[V(1610)];if(!ee)return;const xe=F.current,ue=.1,Q=Y[V(366)]>0?Math[V(1526)](xe-ue,de):Math.min(xe+ue,se);ee[V(365)](0,0,Q,0)}:void 0,children:d.jsx(ct[r(1578)],{ref:i,initialScale:fe,initialPositionX:0,initialPositionY:0,minScale:de,maxScale:se,onTransformed:ko,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!Ze&&b!=="drag",velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:Y,zoomOut:V,resetTransform:ee})=>d.jsxs(d[r(454)],{children:[!n&&d[r(2e3)](r(261),{className:r(1209),children:d.jsxs(z[r(1319)],{direction:r(893),children:[d[r(2e3)](z.Tooltip,{title:"放大",children:d[r(2e3)](z[r(336)],{icon:d[r(2e3)](ae.ZoomInOutlined,{}),onClick:()=>Y()})}),d[r(2e3)](z[r(574)],{title:"缩小",children:d[r(2e3)](z[r(336)],{icon:d.jsx(ae[r(516)],{}),onClick:()=>V()})}),d[r(2e3)](z[r(574)],{title:r(196),children:d[r(2e3)](z[r(336)],{onClick:()=>ee(),children:r(1935)})}),d.jsxs(r(261),{className:r(1982),children:[Math.round(v.scale*100),"%"]})]})}),d[r(2e3)](ct.TransformComponent,{wrapperStyle:n&&o?{width:o,height:x||h[r(1187)]*(F[r(1610)]||1)+"px",position:r(1572),overflow:r(1965)}:{width:r(1935),height:n?h.height*(F.current||1)+"px":r(1935),position:r(1572),overflow:r(n?907:1965)},contentStyle:{width:n?h[r(1473)]+"px":r(1935),height:n?h[r(1187)]+"px":r(1935),display:"flex",alignItems:n?"flex-start":r(1023),justifyContent:n?r(1510):"center"},children:d.jsxs(r(261),{ref:a,"data-canvas":r(1785),className:r(1244)+(_?r(511):"")+" "+(b===r(1800)?r(1848):"")+" "+(Ze?r(1377):""),style:{width:h[r(1473)],height:h.height,flexShrink:0,backgroundColor:h.background,backgroundImage:h.backgroundImage?"url("+h.backgroundImage+")":void 0,backgroundSize:"cover",backgroundPosition:r(1023)},onClick:Po,onMouseDown:Io,onDoubleClick:Ao,onDragOver:Yo,onDragLeave:jo,onDrop:Eo,children:[t&&!n&&d[r(1406)](r(261),{className:r(690),style:{width:h.width,height:h[r(1187)]},children:[d[r(2e3)](r(557),{src:t,alt:"",className:r(1597),draggable:!1}),d[r(2e3)](r(1957),{className:"absolute top-0 left-0 pointer-events-none",width:1920,height:1080,children:d[r(2e3)](r(1302),{x:"0",y:"0",width:r(1868),height:r(1537),fill:r(1445),stroke:r(1753),strokeWidth:"2"})})]}),h[r(1759)]!==!1&&d[r(1406)](r(1957),{className:"absolute top-0 left-0 pointer-events-none",width:h.width,height:h[r(1187)],children:[d[r(2e3)]("defs",{children:d[r(2e3)]("pattern",{id:"grid",width:"20",height:"20",patternUnits:"userSpaceOnUse",children:d.jsx("path",{d:r(424),fill:"none",stroke:r(783),opacity:r(1192),strokeWidth:"1"})})}),d[r(2e3)](r(1302),{width:"100%",height:r(1935),fill:r(1641)})]}),l[r(411)](xe=>d.jsx(Ex,{node:xe,isSelected:b==="preview"?!1:c===xe.id||le[r(561)](xe.id),data:Ae,onClick:b==="preview"?void 0:ue=>{const Q=r;console[Q(1678)](Q(238),xe.id,Q(1226),oe.current),oe.current!==Q(1800)&&(ue.shiftKey?(m(xe.id),ye([...le,xe.id])):(m(xe.id),ye([xe.id])))},onMouseDown:b==="preview"?void 0:ue=>Uo(ue,xe),onUpdateNode:b==="preview"?void 0:(ue,Q)=>M(ue,Q),scale:v[r(1783)],enableEventFlow:b==="preview",eventFlowData:Ve},""+xe.id)),b==="line-draw"&&X[r(1072)]&&X[r(385)]&&X[r(453)]&&d.jsx(r(1957),{className:r(1204),width:h.width,height:h[r(1187)],children:d[r(2e3)]("line",{x1:X.start.x,y1:X[r(385)].y,x2:X[r(453)].x,y2:X[r(453)].y,stroke:r(1650),strokeWidth:"2",strokeDasharray:r(304),strokeLinecap:r(1109),strokeLinejoin:"round"})}),b==="box-select"&&ne.start&&ne.end&&d.jsx(r(261),{className:r(698),style:{left:Math[r(382)](ne[r(385)].x,ne[r(453)].x),top:Math[r(382)](ne[r(385)].y,ne[r(453)].y),width:Math.abs(ne[r(453)].x-ne.start.x),height:Math[r(1426)](ne[r(453)].y-ne[r(385)].y),zIndex:9999}})]})})]})},ie)}),d[r(2e3)](z[r(1642)],{title:r(1251),open:ve,onCancel:()=>Ne(!1),footer:null,children:d[r(2e3)](z[r(1946)],{layout:r(893),children:d[r(2e3)](z[r(1946)][r(589)],{label:r(1114),children:d[r(2e3)](wd,{value:Ee,onChange:Y=>{const V=r;ke(!0),Pe(Y[V(1552)].value)},rows:10,placeholder:r(1293)})})})}),d[r(2e3)](z.Modal,{title:"画布配置",open:g0,onCancel:()=>Je(!1),footer:null,children:d[r(1406)](z[r(1946)],{layout:r(893),children:[d[r(2e3)](z[r(1946)][r(589)],{label:"宽度",children:d[r(2e3)](z[r(1877)],{value:h[r(1473)],onChange:Y=>y({width:Y||1920}),min:100,max:5e3,style:{width:r(1935)}})}),d.jsx(z.Form[r(589)],{label:"高度",children:d[r(2e3)](z[r(1877)],{value:h.height,onChange:Y=>y({height:Y||1080}),min:100,max:5e3,style:{width:r(1935)}})}),d.jsx(z[r(1946)][r(589)],{label:r(865),children:d[r(2e3)](z[r(1130)],{checked:h[r(1759)]!==!1,onChange:Y=>y({showGrid:Y})})}),d.jsx(z.Form.Item,{label:r(1796),children:d[r(1406)](r(261),{className:"flex items-center gap-2",children:[d.jsx(cn,{value:h[r(1436)]||r(339),onChange:Y=>y({background:Y[r(1548)]()})}),d.jsx(z[r(548)],{value:h[r(1436)],onChange:Y=>y({background:Y[r(1552)].value}),placeholder:r(749)})]})}),d[r(1406)](z[r(1946)][r(589)],{label:r(1420),children:[d[r(1406)](r(261),{className:r(582),children:[d[r(2e3)](z[r(1448)],{accept:"image/*",showUploadList:!1,beforeUpload:Y=>{const V=r;if(!Y[V(415)][V(2004)]("image/"))return z[V(1794)].error(V(638)),!1;const xe=new FileReader;return xe[V(594)]=ue=>{const Q=V,te=ue[Q(1552)]?.[Q(792)];y({backgroundImage:te}),z[Q(1794)][Q(1839)](Q(1482))},xe[V(1778)](Y),!1},children:d[r(2e3)](z[r(336)],{icon:d[r(2e3)](ae[r(241)],{}),children:r(904)})}),d.jsx(z[r(548)],{value:h.backgroundImage,onChange:Y=>y({backgroundImage:Y[r(1552)][r(1303)]}),placeholder:"输入图片 URL 或上传图片",style:{flex:1}}),h[r(439)]&&d[r(2e3)](z[r(336)],{icon:d[r(2e3)](ae[r(490)],{}),onClick:()=>y({backgroundImage:void 0}),danger:!0,size:"small"})]}),h[r(439)]&&d.jsx(r(261),{className:r(1335),style:{maxWidth:r(1935)},children:d[r(2e3)](r(557),{src:h[r(439)],alt:r(1638),style:{maxWidth:r(1935),maxHeight:120,objectFit:r(421)}})})]})]})}),d.jsx(z[r(1642)],{title:r(987),open:Go,onCancel:()=>{yx(!1),at(null),it("")},footer:null,width:760,children:d[r(2e3)](z[r(1001)],{items:[{key:r(1265),label:r(1452),children:d[r(1406)](d.Fragment,{children:[d[r(2e3)](z[r(649)],{dataSource:p[r(1265)],renderItem:Y=>d.jsx(z[r(649)][r(589)],{actions:[mx===Y.id?d.jsx(z[r(336)],{type:r(932),size:r(226),onClick:()=>{j(Y.id,rt),at(null)},children:"保存"}):d[r(2e3)](z[r(336)],{type:r(773),icon:d[r(2e3)](ae[r(1073)],{}),size:"small",onClick:()=>{const V=r;at(Y.id),it(Y[V(1793)])}}),p[r(1265)][r(655)]>1&&d[r(2e3)](z[r(336)],{type:r(773),danger:!0,icon:d.jsx(ae[r(951)],{}),size:r(226),onClick:()=>L(Y.id)})][r(1343)](Boolean),children:mx===Y.id?d[r(2e3)](z[r(548)],{value:rt,onChange:V=>it(V[r(1552)][r(1303)]),size:r(226),style:{width:200}}):d[r(1406)](r(1677),{style:{fontWeight:p[r(1280)]===Y.id?r(465):r(224)},children:[Y[r(1793)]," ",p[r(1280)]===Y.id&&"(当前)"]})})}),d[r(2e3)](r(261),{className:"mt-4 flex justify-end",children:d[r(2e3)](z[r(336)],{type:r(932),icon:d[r(2e3)](ae[r(291)],{}),onClick:()=>D(),children:"新建画布"})})]})},{key:"siblings",label:r(1967),children:d[r(2e3)](md,{})}]})}),d[r(2e3)](z.Modal,{title:"导入画布",open:r0,onOk:Qe,onCancel:()=>{Xe(!1),a0(""),b0(!1)},width:600,children:d[r(1406)]("div",{className:"space-y-4",children:[d[r(1406)](r(261),{children:[d[r(2e3)]("p",{className:r(558),children:r(341)}),d[r(2e3)](r(1549),{type:r(984),accept:r(1917),onChange:Y=>{const V=r,ee=Y[V(1552)][V(1289)]?.[0];ee&&Bn(ee)},className:r(380)})]}),d.jsx("div",{className:r(491),children:"或"}),d[r(1406)](r(261),{children:[d[r(2e3)]("p",{className:r(558),children:r(2010)}),d.jsx("textarea",{value:i0,onChange:Y=>a0(Y[r(1552)][r(1303)]),placeholder:r(973),className:"w-full h-48 p-3 border border-gray-300 rounded-lg font-mono text-sm resize-none focus:outline-none focus:ring-2 focus:ring-blue-500"})]}),d[r(1406)](r(261),{className:r(582),children:[d[r(2e3)](r(1549),{type:r(952),id:"importAsNewCanvas",checked:x0,onChange:Y=>b0(Y[r(1552)][r(257)]),className:"w-4 h-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500"}),d.jsx(r(706),{htmlFor:"importAsNewCanvas",className:r(305),children:"导入为新画布(不覆盖当前画布)"})]})]})})]})},{Option:pt}=z[s(1101)];function Gr(e){return Array[s(1994)](e)}function zd(e){const n=s,t=new Set;return e.forEach(o=>Object.keys(o).forEach(x=>t[n(1184)](x))),Array[n(1057)](t)}function Cd(e,n){const t=s;return e[t(411)]((o,x)=>{const r=t,i=o[n],a=o.name;return{label:String(a??"项 "+(x+1)),value:typeof i=="string"||typeof i===r(1781)?i:String(i)}})}function Tr(e,n=""){const t=s,o=[];for(const[x,r]of Object.entries(e)){const i=n?n+"."+x:x;r!==null&&typeof r=="object"&&!Array[t(1994)](r)?o[t(829)](...Tr(r,i)):o[t(829)]({paramsCode:i,paramsName:i,value:r})}return o}function Md(e,n,t){const o=s;if(Gr(e)){if(n!=null&&t!=null){const x=e[o(1241)](r=>r[n]===t);if(x)return x}return{}}return e}const Bd=({material:e,onSave:n})=>{const t=s,o=e,x=o[t(1236)]||{},r=Te(w=>w[t(1683)]),[i,a]=B[t(898)]({label:x[t(706)]||"",value:x[t(1303)]||"",valueSourceCode:x[t(1324)]||"",unit:x.unit||"",decimals:x[t(949)]??2,labelFontSize:x[t(1254)]?.fontSize||14,labelFontWeight:x[t(1254)]?.[t(1637)]||"bold",labelColor:x[t(1254)]?.[t(899)]||t(1545),valueFontSize:x.valueStyle?.[t(679)]||14,valueFontWeight:x[t(1059)]?.[t(1637)]||t(224),valueColor:x[t(1059)]?.color||t(1650),boundDatasetId:x.boundDatasetId||"",boundDatasetBindCode:x[t(1894)]||"",boundDatasetBindValue:x[t(1080)]??null}),u=B[t(1456)](()=>{const w=t;return r[w(1241)](m=>m.id===i[w(532)])},[r,i[t(532)]]),l=u?Gr(u[t(1579)]):!1,c=B[t(1456)](()=>{const w=t;if(!u)return[];const m=Md(u[w(1579)],i.boundDatasetBindCode,i[w(1080)]);return Tr(m)},[u,i[t(1894)],i[t(1080)]]);B.useEffect(()=>{const w=t;a({label:x[w(706)]||"",value:x[w(1303)]||"",valueSourceCode:x[w(1324)]||"",unit:x[w(677)]||"",decimals:x.decimals??2,labelFontSize:x[w(1254)]?.[w(679)]||14,labelFontWeight:x.labelStyle?.[w(1637)]||"bold",labelColor:x[w(1254)]?.color||w(1545),valueFontSize:x[w(1059)]?.[w(679)]||14,valueFontWeight:x[w(1059)]?.fontWeight||w(224),valueColor:x[w(1059)]?.[w(899)]||w(1650),boundDatasetId:x[w(532)]||"",boundDatasetBindCode:x[w(1894)]||"",boundDatasetBindValue:x[w(1080)]??null})},[e.id]);const f=(w,m)=>{a(M=>({...M,[w]:m}))},b=w=>{a(m=>({...m,boundDatasetId:w,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetId:w||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},g=w=>{a(m=>({...m,boundDatasetBindCode:w||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:w||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},v=w=>{a(m=>({...m,boundDatasetBindValue:w??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:w??void 0,valueSourceCode:void 0}})},0)},h=w=>{const m=t,M=c[m(1241)](U=>U[m(353)]===w),S=M?.[m(677)]||"";a(U=>({...U,valueSourceCode:w,unit:S,value:String(M?.value||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:w,value:String(M?.value||""),unit:S}})},0)},p=()=>{const w=t;n({content:{...x,label:i.label,value:i.value,valueSourceCode:i[w(1324)],unit:i.unit,decimals:i.decimals,boundDatasetId:i[w(532)]||void 0,boundDatasetBindCode:i[w(1894)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[w(243)],fontWeight:i[w(1193)],color:i[w(294)]},valueStyle:{fontSize:i.valueFontSize,fontWeight:i.valueFontWeight,color:i[w(537)]}}})},C=u&&l?zd(u[t(1579)]):[],y=u&&l&&i.boundDatasetBindCode?Cd(u[t(1579)],i[t(1894)]):[];return d[t(1406)]("div",{className:"space-y-4",children:[d[t(2e3)](z[t(1937)],{style:{marginTop:0},children:t(1030)}),d.jsxs(z[t(1946)],{layout:t(893),children:[d.jsx(z[t(1946)][t(589)],{label:t(1349),children:d[t(2e3)](z.Input,{value:i[t(706)],onChange:w=>f(t(706),w[t(1552)].value),onBlur:p,placeholder:t(584)})}),d[t(2e3)](z.Form[t(589)],{label:t(502),help:t(556),children:d[t(2e3)](z.Select,{allowClear:!0,placeholder:r.length===0?t(1397):t(928),value:i[t(532)]||void 0,onChange:b,style:{width:t(1935)},options:r[t(411)](w=>({label:w[t(1793)],value:w.id}))})}),u&&l&&d[t(1406)](d[t(454)],{children:[d.jsx(z.Form[t(589)],{label:"绑定字段",help:t(1553),children:d[t(2e3)](z[t(1101)],{allowClear:!0,placeholder:t(1955),value:i[t(1894)]||void 0,onChange:g,style:{width:t(1935)},options:C[t(411)](w=>({label:w,value:w}))})}),i[t(1894)]&&d[t(2e3)](z[t(1946)][t(589)],{label:"绑定值",help:t(1366),children:d[t(2e3)](z[t(1101)],{allowClear:!0,showSearch:!0,placeholder:t(1271),value:i.boundDatasetBindValue??void 0,onChange:v,style:{width:t(1935)},options:y,filterOption:(w,m)=>String(m?.[t(706)]??"")[t(2014)]()[t(561)](w[t(2014)]())})})]}),d[t(2e3)](z[t(1946)][t(589)],{label:t(1941),help:t(u?1872:976),children:d[t(2e3)](z[t(1101)],{value:i[t(1324)]||void 0,onChange:h,placeholder:t(u?1561:976),allowClear:!0,disabled:!u,style:{width:t(1935)},options:c[t(411)](w=>({value:w.paramsCode,label:w[t(1693)]}))})}),d[t(2e3)](z[t(1946)][t(589)],{label:i.valueSourceCode?t(494):t(1190),help:i.valueSourceCode?t(1830):"手动输入显示的值",children:d.jsx(z[t(548)],{value:i.value,onChange:w=>f(t(1303),w.target.value),onBlur:p,placeholder:i[t(1324)]?t(1466):t(1321),disabled:!!i[t(1324)],variant:i[t(1324)]?t(1227):void 0})}),d.jsx(z[t(1946)][t(589)],{label:"单位",help:t(1847),children:d[t(2e3)](z[t(548)],{value:i.unit,onChange:w=>f(t(677),w.target[t(1303)]),onBlur:p,placeholder:"单位(如°C、%、MPa等)",suffix:i[t(1324)]&&c[t(655)]>0?d[t(2e3)](z[t(1262)],{color:"blue",style:{marginRight:-8},children:"自动"}):null})}),d[t(2e3)](z[t(1946)][t(589)],{label:t(1828),help:t(399),children:d[t(2e3)](z.InputNumber,{value:i.decimals,onChange:w=>f(t(949),w??2),onBlur:p,min:-1,max:10,style:{width:t(1935)}})})]}),d.jsx(z.Divider,{children:t(1773)}),d[t(1406)](z[t(1946)],{layout:t(893),children:[d[t(1406)](z[t(1319)],{children:[d[t(2e3)](z.Form.Item,{label:t(1474),children:d[t(2e3)](z[t(1877)],{value:i[t(243)],onChange:w=>f(t(243),w||14),onBlur:p,min:8,max:72})}),d[t(2e3)](z[t(1946)][t(589)],{label:t(1086),children:d[t(1406)](z.Select,{value:i.labelFontWeight,onChange:w=>{f("labelFontWeight",w),setTimeout(p,0)},style:{width:100},children:[d[t(2e3)](pt,{value:t(224),children:"正常"}),d[t(2e3)](pt,{value:t(465),children:"粗体"})]})})]}),d[t(2e3)](z.Form[t(589)],{label:t(1775),children:d[t(1406)](t(261),{className:t(582),children:[d.jsx(cn,{value:i[t(294)]||t(1545),onChange:w=>{const m=t;f(m(294),w[m(1548)]())},onChangeComplete:w=>{const m=t;n({content:{...x,label:i[m(706)],value:i.value,valueSourceCode:i[m(1324)],unit:i[m(677)],decimals:i[m(949)],boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i[m(1894)]||void 0,boundDatasetBindValue:i[m(1080)]??void 0,labelStyle:{fontSize:i[m(243)],fontWeight:i[m(1193)],color:w[m(1548)]()},valueStyle:{fontSize:i[m(875)],fontWeight:i[m(573)],color:i.valueColor}}})}}),d[t(2e3)](z[t(548)],{value:i[t(294)],onChange:w=>f(t(294),w[t(1552)][t(1303)]),onBlur:p,placeholder:t(1545),style:{width:100}})]})})]}),d[t(2e3)](z.Divider,{children:t(1971)}),d[t(1406)](z[t(1946)],{layout:"vertical",children:[d[t(1406)](z[t(1319)],{children:[d[t(2e3)](z.Form[t(589)],{label:t(1474),children:d.jsx(z.InputNumber,{value:i[t(875)],onChange:w=>f(t(875),w||14),onBlur:p,min:8,max:72})}),d[t(2e3)](z[t(1946)][t(589)],{label:t(1086),children:d[t(1406)](z[t(1101)],{value:i[t(573)],onChange:w=>{f("valueFontWeight",w),setTimeout(p,0)},style:{width:100},children:[d[t(2e3)](pt,{value:t(224),children:"正常"}),d.jsx(pt,{value:"bold",children:"粗体"})]})})]}),d[t(2e3)](z[t(1946)][t(589)],{label:t(1775),children:d[t(1406)]("div",{className:t(582),children:[d.jsx(cn,{value:i[t(537)]||t(1650),onChange:w=>{const m=t;f(m(537),w[m(1548)]())},onChangeComplete:w=>{const m=t;n({content:{...x,label:i[m(706)],value:i[m(1303)],valueSourceCode:i[m(1324)],unit:i[m(677)],decimals:i.decimals,boundDatasetId:i[m(532)]||void 0,boundDatasetBindCode:i[m(1894)]||void 0,boundDatasetBindValue:i[m(1080)]??void 0,labelStyle:{fontSize:i[m(243)],fontWeight:i[m(1193)],color:i[m(294)]},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[m(573)],color:w[m(1548)]()}}})}}),d[t(2e3)](z[t(548)],{value:i.valueColor,onChange:w=>f(t(537),w.target[t(1303)]),onBlur:p,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Dd=({material:e,onSave:n})=>{const t=s,o=e,[x,r]=B[t(898)]({name:e[t(1793)],src:o[t(397)]||"",backgroundColor:o[t(1125)]||"",fillColor:o[t(1687)]||""});B.useEffect(()=>{const u=t;r({name:e[u(1793)],src:o[u(397)]||"",backgroundColor:o.backgroundColor||"",fillColor:o[u(1687)]||""})},[e.id]);const i=(u,l)=>{r(c=>({...c,[u]:l}))},a=()=>{const u=t;n({name:x[u(1793)],src:x[u(397)],backgroundColor:x[u(1125)]})};return d.jsxs(t(261),{className:t(1378),children:[d[t(2e3)](z[t(1937)],{style:{marginTop:0},children:"图片属性"}),d[t(1406)](z.Form,{layout:"vertical",children:[d[t(2e3)](z.Form[t(589)],{label:t(1974),children:d[t(2e3)](z[t(548)],{value:x[t(1793)],onChange:u=>i(t(1793),u[t(1552)][t(1303)]),onBlur:a})}),d.jsx(z.Form[t(589)],{label:t(742),children:d[t(2e3)](z[t(548)].TextArea,{value:x[t(397)],onChange:u=>i(t(397),u[t(1552)][t(1303)]),onBlur:a,rows:4,placeholder:t(1126)})}),d[t(2e3)](z.Form.Item,{label:t(750),children:d[t(1406)](t(261),{className:t(582),children:[d[t(2e3)](cn,{value:x[t(1687)]||t(1650),onChange:u=>{const l=t,c=u[l(1548)]();i("fillColor",c),n({name:x[l(1793)],src:x[l(397)],backgroundColor:x[l(1125)],fillColor:c})}}),d[t(2e3)](z[t(548)],{value:x[t(1687)],onChange:u=>i("fillColor",u[t(1552)].value),onBlur:a,placeholder:"#1890ff"})]})}),d[t(2e3)](z[t(1946)][t(589)],{label:t(1477),children:d[t(1406)]("div",{className:"flex items-center gap-2",children:[d[t(2e3)](cn,{value:x[t(1125)]||t(1650),onChange:u=>{const l=t,c=u[l(1548)]();i(l(1125),c),n({name:x[l(1793)],src:x[l(397)],backgroundColor:c,fillColor:x[l(1687)]})}}),d[t(2e3)](z[t(548)],{value:x[t(1125)],onChange:u=>i("backgroundColor",u.target[t(1303)]),onBlur:a,placeholder:"#1890ff"})]})})]})]})},{Option:Ld}=z[s(1101)],Nd=({material:e,onSave:n})=>{const t=s,o=e[t(1991)]||{},[x,r]=B[t(898)]({lineWeight:o[t(1698)]||o[t(1308)]||2,color:o[t(899)]||t(1545),lineType:o[t(1921)]||t(295),startX:o[t(1824)]??0,startY:o[t(1776)]??0,endX:o[t(955)]??100,endY:o[t(1854)]??0}),i=JSON.stringify({sw:o.lineWeight??o[t(1308)],c:o.color,t:o[t(1921)],sx:o[t(1824)],sy:o[t(1776)],ex:o[t(955)],ey:o[t(1854)]});B[t(1247)](()=>{const l=t;r({lineWeight:o.lineWeight||o[l(1308)]||2,color:o[l(899)]||l(1545),lineType:o.lineType||l(295),startX:o[l(1824)]??0,startY:o[l(1776)]??0,endX:o[l(955)]??100,endY:o[l(1854)]??0})},[e.id,i]);const a=l=>{const c=t,f={...x,...l};r(f),n({config:{...o,thickness:f[c(1698)],lineWeight:f[c(1698)],color:f[c(899)],lineType:f[c(1921)],startX:f.startX,startY:f[c(1776)],endX:f[c(955)],endY:f.endY}})},u=[{value:t(295),label:"实线",desc:t(423)},{value:t(763),label:"虚线",desc:t(1924)},{value:t(1023),label:t(995),desc:t(770)},{value:t(362),label:t(498),desc:"长划-双点交替"},{value:t(700),label:"点线",desc:"密集点状"},{value:t(422),label:t(891),desc:"长划-点交替"}];return d[t(1406)](t(261),{className:t(1378),children:[d[t(2e3)](z[t(1937)],{style:{marginTop:0},children:"起止位置(相对节点)"}),d.jsxs(z[t(1946)],{layout:t(893),children:[d[t(1406)](t(261),{className:t(608),children:[d.jsx(z.Form[t(589)],{label:"起点 X",className:"mb-2",children:d.jsx(z[t(1877)],{value:x.startX,onChange:l=>a({startX:l??0}),style:{width:t(1935)}})}),d.jsx(z[t(1946)][t(589)],{label:t(968),className:t(558),children:d[t(2e3)](z[t(1877)],{value:x[t(1776)],onChange:l=>a({startY:l??0}),style:{width:"100%"}})}),d[t(2e3)](z[t(1946)].Item,{label:t(810),className:"mb-2",children:d[t(2e3)](z[t(1877)],{value:x.endX,onChange:l=>a({endX:l??100}),style:{width:t(1935)}})}),d[t(2e3)](z[t(1946)][t(589)],{label:t(1770),className:t(558),children:d.jsx(z[t(1877)],{value:x[t(1854)],onChange:l=>a({endY:l??0}),style:{width:t(1935)}})})]}),d[t(2e3)](z[t(1946)][t(589)],{label:t(550),className:t(279),children:d[t(1406)](z.Space,{children:[d[t(2e3)](z[t(336)],{size:t(226),onClick:()=>{const l=t,c=o.startX??x[l(1824)],f=o[l(1776)]??x.startY,b=o[l(955)]??x.endX,g=o[l(1854)]??x[l(1854)],v=b-c,h=g-f,p=Math[l(276)](v*v+h*h),C=v>=0?1:-1;a({endX:c+C*p,endY:f})},title:t(1031),children:"水平"}),d[t(2e3)](z.Button,{size:"small",onClick:()=>{const l=t,c=o[l(1824)]??x[l(1824)],f=o[l(1776)]??x.startY,b=o[l(955)]??x.endX,g=o.endY??x[l(1854)],v=b-c,h=g-f,p=Math[l(276)](v*v+h*h),C=h>=0?1:-1;a({endX:c,endY:f+C*p})},title:t(194),children:"垂直"}),d[t(2e3)](z[t(336)],{size:"small",onClick:()=>{const l=t,c=o[l(1824)]??x[l(1824)],f=o[l(1776)]??x[l(1776)],b=o[l(955)]??x.endX,g=o[l(1854)]??x[l(1854)];a({startX:b,startY:g,endX:c,endY:f})},title:t(1611),children:"反向"})]})})]}),d[t(2e3)](z[t(1937)],{children:t(1464)}),d[t(1406)](z.Form,{layout:t(893),children:[d[t(2e3)](z[t(1946)][t(589)],{label:"线型",help:t(945),children:d[t(2e3)](z[t(1101)],{value:x[t(1921)],onChange:l=>a({lineType:l}),children:u[t(411)](l=>d[t(2e3)](Ld,{value:l[t(1303)],children:d[t(1406)]("div",{className:t(1330),children:[d[t(2e3)](t(1677),{children:l.label}),d.jsx(t(1677),{className:t(992),children:l[t(985)]})]})},l.value))})}),d[t(2e3)](z[t(1946)][t(589)],{label:t(1522),children:d[t(2e3)](z[t(1877)],{value:x[t(1698)],onChange:l=>a({lineWeight:l||2}),min:1,max:20,style:{width:120}})}),d.jsx(z[t(1946)].Item,{label:"颜色",children:d[t(1406)](t(261),{className:t(582),children:[d[t(2e3)](cn,{value:x[t(899)]||t(1398),onChange:l=>a({color:l.toHexString()})}),d[t(2e3)](z[t(548)],{value:x.color,onChange:l=>a({color:l[t(1552)].value}),placeholder:t(1398),style:{width:100}})]})})]})]})};function Hr(e){return Array.isArray(e)}function Sd(e){const n=s,t=new Set;return e[n(1626)](o=>Object[n(1182)](o)[n(1626)](x=>t[n(1184)](x))),Array[n(1057)](t)}function kd(e,n){const t=s;return e[t(411)]((o,x)=>{const r=t,i=o[n],a=o[r(1793)];return{label:String(a??"项 "+(x+1)),value:typeof i=="string"||typeof i=="number"?i:String(i)}})}function Pd(e,n,t){const o=s;if(Hr(e)){if(n!=null&&t!=null){const x=e[o(1241)](r=>r[n]===t);if(x)return x}return{}}return e}const Vr=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=s,x=Te(h=>h[o(1683)]),r=x.find(h=>h.id===e[o(532)]),i=r?Hr(r[o(1579)]):!1,a=r?Pd(r[o(1579)],e[o(1894)],e[o(1080)]):{},u=nr(a),l=h=>{const p=o,C=p(530)+h;t?t(C):n({expression:""+(e[p(863)]||"")+C})},c=h=>{n({boundDatasetId:h??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=h=>{n({boundDatasetBindCode:h??null,boundDatasetBindValue:null})},b=h=>{n({boundDatasetBindValue:h??null})},g=r&&i?Sd(r.sample):[],v=r&&i&&e.boundDatasetBindCode?kd(r[o(1579)],e[o(1894)]):[];return d[o(1406)](d[o(454)],{children:[d[o(2e3)](z.Form[o(589)],{label:o(502),extra:x[o(655)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":o(872),children:d.jsx(z[o(1101)],{allowClear:!0,placeholder:x[o(655)]===0?"暂无数据集,请打开「数据池」添加":o(1071),value:e[o(532)]??void 0,options:x.map(h=>({label:h[o(1793)],value:h.id})),onChange:c})}),r&&i&&d[o(1406)](d[o(454)],{children:[d.jsx(z[o(1946)][o(589)],{label:o(234),extra:o(1553),children:d[o(2e3)](z[o(1101)],{allowClear:!0,placeholder:o(1955),value:e[o(1894)]??void 0,options:g[o(411)](h=>({label:h,value:h})),onChange:f})}),e[o(1894)]&&d[o(2e3)](z[o(1946)][o(589)],{label:o(1582),extra:"选择该字段对应的具体值以定位数据项",children:d[o(2e3)](z[o(1101)],{allowClear:!0,showSearch:!0,placeholder:o(1271),value:e[o(1080)]??void 0,options:v,onChange:b,filterOption:(h,p)=>String(p?.[o(706)]??"").toLowerCase()[o(561)](h[o(2014)]())})})]}),u[o(655)]>0&&d[o(2e3)](z[o(1946)][o(589)],{label:o(877),children:d[o(2e3)](z[o(1319)],{size:[4,4],wrap:!0,children:u[o(411)](h=>d[o(2e3)](z[o(1262)],{className:"cursor-pointer mb-0",onClick:()=>l(h),children:o(530)+h},h))})})]})},Wr=({material:e,onSave:n})=>{const t=s;switch(e[t(415)]){case t(1988):return d.jsx(Bd,{material:e,onSave:n});case t(1411):return d[t(2e3)](Dd,{material:e,onSave:n});case t(1521):return d[t(2e3)](Nd,{material:e,onSave:n});default:return d[t(2e3)]("div",{className:t(1818),children:"暂不支持编辑此类型的物料"})}},{Panel:qr}=z[s(1622)],{TextArea:Id}=z.Input,Ad=({node:e,updateNode:n,materials:t})=>{const o=s,x=t[o(1343)](f=>f[o(415)]!=="CUSTOM"||!f[o(1991)]?.[o(1745)]),r=(f,b)=>{const g=o,v=e[g(314)]?.[g(411)](h=>{const p=g;return h.id===f?{...h,contentInfo:{...h[p(888)],statusList:b}}:h});n(e.id,{children:v})},i=f=>{const b=o,g=e[b(314)]?.[b(1241)](h=>h.id===f);if(!g)return;const v={id:pe[b(1399)](),name:"状态"+(g.contentInfo[b(1266)][b(655)]+1),expression:g[b(888)][b(1266)][b(655)]===0?b(1755):"return false;",material:{...x[0],id:pe[b(1399)]()},boundDatasetId:null};r(f,[...g.contentInfo[b(1266)],v])},a=(f,b)=>{const g=o,v=e.children?.[g(1241)](p=>p.id===f);if(!v)return;const h=v[g(888)][g(1266)][g(1343)](p=>p.id!==b);r(f,h)},u=(f,b,g)=>{const v=o,h=e[v(314)]?.[v(1241)](C=>C.id===f);if(!h)return;const p=h[v(888)][v(1266)][v(411)](C=>C.id===b?{...C,...g}:C);r(f,p)},l=(f,b,g)=>{const v=o,h=e[v(314)]?.find(y=>y.id===f);if(!h)return;const p=h[v(888)][v(1266)][v(1296)](y=>y.id===b);if(p===-1)return;const C=[...h[v(888)][v(1266)]];g==="up"&&p>0?[C[p],C[p-1]]=[C[p-1],C[p]]:g==="down"&&p<C[v(655)]-1&&([C[p],C[p+1]]=[C[p+1],C[p]]),r(f,C)},c=(f,b,g)=>{const v=o,h=t[v(1241)](p=>p.id===g);h&&u(f,b,{material:{...h,id:pe[v(1399)]()}})};return d.jsxs("div",{className:o(1378),children:[d.jsx(o(261),{className:o(1751),children:d[o(1406)]("div",{className:o(1284),children:[d[o(2e3)](o(950),{children:o(818)}),o(612)]})}),d[o(2e3)](z[o(1622)],{ghost:!0,children:e[o(314)]?.map((f,b)=>d[o(2e3)](qr,{header:d.jsxs(o(261),{className:"flex items-center justify-between w-full pr-4",children:[d[o(1406)](o(1677),{className:o(1623),children:[o(346),b+1]}),d.jsxs(z[o(1262)],{color:"blue",style:{fontSize:o(2011),padding:o(1813)},children:[f[o(888)][o(1266)][o(655)],o(281)]})]}),children:d[o(1406)](o(261),{className:"space-y-3",children:[d[o(1406)](o(261),{className:o(1996),children:[d[o(2e3)](o(1677),{className:o(1861),children:"状态列表"}),d[o(2e3)](z[o(336)],{type:"primary",size:o(226),icon:d[o(2e3)](ae[o(291)],{}),onClick:()=>i(f.id),children:o(1559)})]}),f.contentInfo[o(1266)][o(655)]===0?d[o(2e3)]("div",{className:o(1014),children:o(463)}):d[o(2e3)](z.Collapse,{ghost:!0,children:f[o(888)].statusList[o(411)]((g,v)=>d.jsx(qr,{header:d.jsxs("div",{className:"flex items-center gap-2",children:[d[o(2e3)]("span",{className:o(1446),children:v+1}),d.jsx("span",{className:o(1867),children:g.name}),d.jsx(z[o(1262)],{color:o(1846),className:"text-xs",children:g[o(947)].type})]}),extra:d[o(1406)](z.Space,{size:"small",onClick:h=>h.stopPropagation(),children:[d.jsx(z[o(336)],{type:o(773),size:o(226),icon:d[o(2e3)](ae[o(831)],{}),disabled:v===0,onClick:h=>{h.stopPropagation(),l(f.id,g.id,"up")}}),d[o(2e3)](z.Button,{type:o(773),size:o(226),icon:d[o(2e3)](ae[o(1320)],{}),disabled:v===f[o(888)].statusList.length-1,onClick:h=>{const p=o;h[p(1444)](),l(f.id,g.id,p(1740))}}),d[o(2e3)](z[o(336)],{type:o(773),size:"small",danger:!0,icon:d[o(2e3)](ae[o(951)],{}),onClick:h=>{h.stopPropagation(),a(f.id,g.id)}})]}),children:d[o(1406)](z[o(1946)],{layout:o(893),children:[d[o(2e3)](z[o(1946)][o(589)],{label:"状态名称",children:d[o(2e3)](z[o(548)],{value:g.name,onChange:h=>u(f.id,g.id,{name:h[o(1552)].value}),placeholder:o(394)})}),d.jsx(Vr,{status:g,onUpdate:h=>u(f.id,g.id,h)}),d[o(2e3)](z[o(1946)][o(589)],{label:o(743),help:o(1667),children:d.jsx(Id,{value:g[o(863)],onChange:h=>u(f.id,g.id,{expression:h[o(1552)][o(1303)]}),rows:3,placeholder:"return true;"})}),d[o(2e3)](z[o(1946)][o(589)],{label:o(886),children:d.jsxs(o(261),{className:o(582),children:[d.jsx(z.Tag,{color:o(427),children:g[o(947)][o(1793)]}),d[o(2e3)](z[o(1262)],{color:o(1846),children:g[o(947)][o(415)]}),d[o(2e3)](z[o(1101)],{placeholder:o(1671),style:{width:150},value:void 0,onChange:h=>h&&c(f.id,g.id,h),options:x[o(411)](h=>({value:h.id,label:h[o(1793)]+" ("+h[o(415)]+")"}))})]})}),d[o(2e3)](z[o(1937)],{style:{margin:o(287)}}),d.jsxs("div",{className:o(1700),children:[d[o(1406)](o(261),{className:o(332),children:[d[o(2e3)](o(1677),{className:o(207),children:"物料属性"}),d.jsx(z[o(1262)],{children:g[o(947)][o(1793)]})]}),d[o(2e3)](Wr,{material:g[o(947)],onSave:h=>{const p=o,C={...g[p(947)],...h};u(f.id,g.id,{material:C})}})]})]})},g.id))})]})},f.id))})]})};function Oe(e){const n=s;if(typeof e===n(1025)||typeof e===n(1781))return""+e;let t="";if(Array.isArray(e))for(let o=0,x;o<e[n(655)];o++)(x=Oe(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var Yd={value:()=>{}};function zt(){const e=s;for(var n=0,t=arguments.length,o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(1298)](x))throw new Error(e(1692)+x);o[x]=[]}return new Ct(o)}function Ct(e){this._=e}function jd(e,n){const t=s;return e[t(1514)]().split(/^|\s+/)[t(411)](function(o){const x=t;var r="",i=o[x(1224)](".");if(i>=0&&(r=o[x(1586)](i+1),o=o.slice(0,i)),o&&!n[x(615)](o))throw new Error(x(1323)+o);return{type:o,name:r}})}Ct[s(308)]=zt.prototype={constructor:Ct,on:function(e,n){const t=s;var o=this._,x=jd(e+"",o),r,i=-1,a=x[t(655)];if(arguments[t(655)]<2){for(;++i<a;)if((r=(e=x[i])[t(415)])&&(r=Ed(o[r],e[t(1793)])))return r;return}if(n!=null&&typeof n!==t(1240))throw new Error(t(1476)+n);for(;++i<a;)if(r=(e=x[i])[t(415)])o[r]=Xr(o[r],e[t(1793)],n);else if(n==null)for(r in o)o[r]=Xr(o[r],e.name,null);return this},copy:function(){var e={},n=this._;for(var t in n)e[t]=n[t].slice();return new Ct(e)},call:function(e,n){const t=s;if((r=arguments.length-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(615)](e))throw new Error(t(1323)+e);for(i=this._[e],x=0,r=i[t(655)];x<r;++x)i[x][t(1303)][t(840)](n,o)},apply:function(e,n,t){const o=s;if(!this._[o(615)](e))throw new Error(o(1323)+e);for(var x=this._[e],r=0,i=x[o(655)];r<i;++r)x[r].value.apply(n,t)}};function Ed(e,n){const t=s;for(var o=0,x=e[t(655)],r;o<x;++o)if((r=e[o]).name===n)return r[t(1303)]}function Xr(e,n,t){const o=s;for(var x=0,r=e[o(655)];x<r;++x)if(e[x][o(1793)]===n){e[x]=Yd,e=e[o(1586)](0,x)[o(1094)](e[o(1586)](x+1));break}return t!=null&&e[o(829)]({name:n,value:t}),e}var Ux=s(993);const Zr={svg:s(1596),xhtml:Ux,xlink:"http://www.w3.org/1999/xlink",xml:s(364),xmlns:s(470)};function Mt(e){const n=s;var t=e+="",o=t[n(1224)](":");return o>=0&&(t=e[n(1586)](0,o))!=="xmlns"&&(e=e.slice(o+1)),Zr[n(615)](t)?{space:Zr[t],local:e}:e}function Ud(e){return function(){const n=_0x5bb9;var t=this[n(1156)],o=this[n(1538)];return o===Ux&&t.documentElement.namespaceURI===Ux?t[n(772)](e):t.createElementNS(o,e)}}function Od(e){return function(){const n=_0x5bb9;return this[n(1156)][n(1995)](e[n(897)],e[n(457)])}}function Kr(e){const n=s;var t=Mt(e);return(t[n(457)]?Od:Ud)(t)}function Gd(){}function Ox(e){return e==null?Gd:function(){return this[_0x5bb9(1557)](e)}}function Td(e){const n=s;typeof e!==n(1240)&&(e=Ox(e));for(var t=this[n(1329)],o=t[n(655)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(655)],u=x[r]=new Array(a),l,c,f=0;f<a;++f)(l=i[f])&&(c=e[n(1018)](l,l[n(617)],f,i))&&(n(617)in l&&(c[n(617)]=l[n(617)]),u[f]=c);return new $e(x,this[n(1405)])}function Hd(e){const n=s;return e==null?[]:Array.isArray(e)?e:Array[n(1057)](e)}function Vd(){return[]}function Rr(e){return e==null?Vd:function(){return this.querySelectorAll(e)}}function Wd(e){return function(){return Hd(e[_0x5bb9(840)](this,arguments))}}function qd(e){const n=s;typeof e=="function"?e=Wd(e):e=Rr(e);for(var t=this._groups,o=t[n(655)],x=[],r=[],i=0;i<o;++i)for(var a=t[i],u=a[n(655)],l,c=0;c<u;++c)(l=a[c])&&(x[n(829)](e[n(1018)](l,l.__data__,c,a)),r[n(829)](l));return new $e(x,r)}function Jr(e){return function(){return this.matches(e)}}function Qr(e){return function(n){return n[_0x5bb9(621)](e)}}var Xd=Array[s(308)].find;function Zd(e){return function(){const n=_0x5bb9;return Xd[n(1018)](this[n(314)],e)}}function Kd(){return this[s(1260)]}function Rd(e){return this[s(1412)](e==null?Kd:Zd(typeof e=="function"?e:Qr(e)))}var Jd=Array[s(308)][s(1343)];function Qd(){const e=s;return Array[e(1057)](this[e(314)])}function Fd(e){return function(){const n=_0x5bb9;return Jd[n(1018)](this[n(314)],e)}}function _d(e){const n=s;return this[n(543)](e==null?Qd:Fd(typeof e===n(1240)?e:Qr(e)))}function $d(e){const n=s;typeof e!="function"&&(e=Jr(e));for(var t=this[n(1329)],o=t[n(655)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i.length,u=x[r]=[],l,c=0;c<a;++c)(l=i[c])&&e.call(l,l[n(617)],c,i)&&u[n(829)](l);return new $e(x,this[n(1405)])}function Fr(e){const n=s;return new Array(e[n(655)])}function ec(){const e=s;return new $e(this[e(725)]||this._groups[e(411)](Fr),this[e(1405)])}function Bt(e,n){const t=s;this[t(1156)]=e[t(1156)],this[t(1538)]=e[t(1538)],this._next=null,this._parent=e,this[t(617)]=n}Bt[s(308)]={constructor:Bt,appendChild:function(e){const n=s;return this[n(1787)][n(1733)](e,this[n(1873)])},insertBefore:function(e,n){return this._parent.insertBefore(e,n)},querySelector:function(e){const n=s;return this[n(1787)][n(1557)](e)},querySelectorAll:function(e){return this[s(1787)].querySelectorAll(e)}};function nc(e){return function(){return e}}function tc(e,n,t,o,x,r){const i=s;for(var a=0,u,l=n[i(655)],c=r[i(655)];a<c;++a)(u=n[a])?(u[i(617)]=r[a],o[a]=u):t[a]=new Bt(e,r[a]);for(;a<l;++a)(u=n[a])&&(x[a]=u)}function xc(e,n,t,o,x,r,i){const a=s;var u,l,c=new Map,f=n[a(655)],b=r[a(655)],g=new Array(f),v;for(u=0;u<f;++u)(l=n[u])&&(g[u]=v=i.call(l,l[a(617)],u,n)+"",c[a(1235)](v)?x[u]=l:c[a(1191)](v,l));for(u=0;u<b;++u)v=i[a(1018)](e,r[u],u,r)+"",(l=c[a(1292)](v))?(o[u]=l,l[a(617)]=r[u],c[a(1756)](v)):t[u]=new Bt(e,r[u]);for(u=0;u<f;++u)(l=n[u])&&c.get(g[u])===l&&(x[u]=l)}function oc(e){return e[s(617)]}function rc(e,n){const t=s;if(!arguments[t(655)])return Array[t(1057)](this,oc);var o=n?xc:tc,x=this._parents,r=this[t(1329)];typeof e!==t(1240)&&(e=nc(e));for(var i=r[t(655)],a=new Array(i),u=new Array(i),l=new Array(i),c=0;c<i;++c){var f=x[c],b=r[c],g=b[t(655)],v=ic(e[t(1018)](f,f&&f[t(617)],c,x)),h=v[t(655)],p=u[c]=new Array(h),C=a[c]=new Array(h),y=l[c]=new Array(g);o(f,b,p,C,y,v,n);for(var w=0,m=0,M,S;w<h;++w)if(M=p[w]){for(w>=m&&(m=w+1);!(S=C[m])&&++m<h;);M[t(1873)]=S||null}}return a=new $e(a,x),a._enter=u,a._exit=l,a}function ic(e){const n=s;return typeof e===n(1866)&&n(655)in e?e:Array[n(1057)](e)}function ac(){const e=s;return new $e(this._exit||this._groups[e(411)](Fr),this._parents)}function sc(e,n,t){const o=s;var x=this.enter(),r=this,i=this[o(768)]();return typeof e=="function"?(x=e(x),x&&(x=x[o(1838)]())):x=x.append(e+""),n!=null&&(r=n(r),r&&(r=r[o(1838)]())),t==null?i[o(669)]():t(i),x&&r?x[o(1534)](r).order():r}function lc(e){const n=s;for(var t=e[n(1838)]?e.selection():e,o=this[n(1329)],x=t[n(1329)],r=o[n(655)],i=x[n(655)],a=Math.min(r,i),u=new Array(r),l=0;l<a;++l)for(var c=o[l],f=x[l],b=c.length,g=u[l]=new Array(b),v,h=0;h<b;++h)(v=c[h]||f[h])&&(g[h]=v);for(;l<r;++l)u[l]=o[l];return new $e(u,this[n(1405)])}function dc(){const e=s;for(var n=this[e(1329)],t=-1,o=n[e(655)];++t<o;)for(var x=n[t],r=x.length-1,i=x[r],a;--r>=0;)(a=x[r])&&(i&&a[e(1099)](i)^4&&i[e(852)][e(1733)](a,i),i=a);return this}function cc(e){const n=s;e||(e=uc);function t(b,g){const v=_0x5bb9;return b&&g?e(b[v(617)],g[v(617)]):!b-!g}for(var o=this[n(1329)],x=o[n(655)],r=new Array(x),i=0;i<x;++i){for(var a=o[i],u=a.length,l=r[i]=new Array(u),c,f=0;f<u;++f)(c=a[f])&&(l[f]=c);l.sort(t)}return new $e(r,this[n(1405)])[n(1207)]()}function uc(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function fc(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function hc(){return Array[s(1057)](this)}function gc(){const e=s;for(var n=this._groups,t=0,o=n[e(655)];t<o;++t)for(var x=n[t],r=0,i=x.length;r<i;++r){var a=x[r];if(a)return a}return null}function bc(){let e=0;for(const n of this)++e;return e}function yc(){return!this[s(705)]()}function mc(e){const n=s;for(var t=this[n(1329)],o=0,x=t.length;o<x;++o)for(var r=t[o],i=0,a=r.length,u;i<a;++i)(u=r[i])&&e.call(u,u.__data__,i,r);return this}function vc(e){return function(){this[_0x5bb9(1046)](e)}}function wc(e){return function(){const n=_0x5bb9;this[n(278)](e[n(897)],e[n(457)])}}function pc(e,n){return function(){this.setAttribute(e,n)}}function zc(e,n){return function(){const t=_0x5bb9;this[t(1479)](e[t(897)],e[t(457)],n)}}function Cc(e,n){return function(){const t=_0x5bb9;var o=n[t(840)](this,arguments);o==null?this[t(1046)](e):this[t(307)](e,o)}}function Mc(e,n){return function(){const t=_0x5bb9;var o=n[t(840)](this,arguments);o==null?this[t(278)](e[t(897)],e[t(457)]):this[t(1479)](e[t(897)],e[t(457)],o)}}function Bc(e,n){const t=s;var o=Mt(e);if(arguments[t(655)]<2){var x=this[t(705)]();return o[t(457)]?x[t(404)](o[t(897)],o[t(457)]):x[t(1658)](o)}return this[t(1391)]((n==null?o[t(457)]?wc:vc:typeof n===t(1240)?o[t(457)]?Mc:Cc:o[t(457)]?zc:pc)(o,n))}function _r(e){const n=s;return e.ownerDocument&&e[n(1156)][n(1498)]||e.document&&e||e[n(1498)]}function Dc(e){return function(){const n=_0x5bb9;this[n(1301)][n(204)](e)}}function Lc(e,n,t){return function(){this.style.setProperty(e,n,t)}}function Nc(e,n,t){return function(){const o=_0x5bb9;var x=n[o(840)](this,arguments);x==null?this[o(1301)][o(204)](e):this.style[o(464)](e,x,t)}}function Sc(e,n,t){const o=s;return arguments[o(655)]>1?this[o(1391)]((n==null?Dc:typeof n===o(1240)?Nc:Lc)(e,n,t??"")):un(this[o(705)](),e)}function un(e,n){const t=s;return e[t(1301)][t(2007)](n)||_r(e).getComputedStyle(e,null).getPropertyValue(n)}function kc(e){return function(){delete this[e]}}function Pc(e,n){return function(){this[e]=n}}function Ic(e,n){return function(){var o=n[_0x5bb9(840)](this,arguments);o==null?delete this[e]:this[e]=o}}function Ac(e,n){const t=s;return arguments.length>1?this[t(1391)]((n==null?kc:typeof n===t(1240)?Ic:Pc)(e,n)):this[t(705)]()[e]}function $r(e){return e[s(1514)]().split(/^|\s+/)}function Gx(e){return e[s(622)]||new ei(e)}function ei(e){const n=s;this[n(303)]=e,this[n(418)]=$r(e.getAttribute(n(352))||"")}ei[s(308)]={add:function(e){const n=s;var t=this[n(418)][n(1224)](e);t<0&&(this[n(418)].push(e),this[n(303)][n(307)](n(352),this._names[n(358)](" ")))},remove:function(e){const n=s;var t=this[n(418)][n(1224)](e);t>=0&&(this[n(418)][n(343)](t,1),this[n(303)][n(307)](n(352),this[n(418)][n(358)](" ")))},contains:function(e){return this[s(418)].indexOf(e)>=0}};function ni(e,n){const t=s;for(var o=Gx(e),x=-1,r=n[t(655)];++x<r;)o[t(1184)](n[x])}function ti(e,n){for(var t=Gx(e),o=-1,x=n.length;++o<x;)t.remove(n[o])}function Yc(e){return function(){ni(this,e)}}function jc(e){return function(){ti(this,e)}}function Ec(e,n){return function(){(n[_0x5bb9(840)](this,arguments)?ni:ti)(this,e)}}function Uc(e,n){const t=s;var o=$r(e+"");if(arguments[t(655)]<2){for(var x=Gx(this[t(705)]()),r=-1,i=o[t(655)];++r<i;)if(!x[t(966)](o[r]))return!1;return!0}return this[t(1391)]((typeof n=="function"?Ec:n?Yc:jc)(o,n))}function Oc(){const e=s;this[e(472)]=""}function Gc(e){return function(){const n=_0x5bb9;this[n(472)]=e}}function Tc(e){return function(){const n=_0x5bb9;var t=e[n(840)](this,arguments);this[n(472)]=t??""}}function Hc(e){const n=s;return arguments[n(655)]?this[n(1391)](e==null?Oc:(typeof e===n(1240)?Tc:Gc)(e)):this[n(705)]()[n(472)]}function Vc(){this.innerHTML=""}function Wc(e){return function(){const n=_0x5bb9;this[n(190)]=e}}function qc(e){return function(){var t=e[_0x5bb9(840)](this,arguments);this.innerHTML=t??""}}function Xc(e){const n=s;return arguments[n(655)]?this[n(1391)](e==null?Vc:(typeof e===n(1240)?qc:Wc)(e)):this[n(705)]()[n(190)]}function Zc(){const e=s;this[e(1575)]&&this[e(852)][e(1715)](this)}function Kc(){return this[s(1391)](Zc)}function Rc(){const e=s;this[e(388)]&&this[e(852)][e(1733)](this,this.parentNode.firstChild)}function Jc(){return this.each(Rc)}function Qc(e){const n=s;var t=typeof e===n(1240)?e:Kr(e);return this[n(1412)](function(){return this[n(1715)](t.apply(this,arguments))})}function Fc(){return null}function _c(e,n){const t=s;var o=typeof e===t(1240)?e:Kr(e),x=n==null?Fc:typeof n===t(1240)?n:Ox(n);return this[t(1412)](function(){const r=t;return this[r(1733)](o[r(840)](this,arguments),x[r(840)](this,arguments)||null)})}function $c(){const e=s;var n=this[e(852)];n&&n[e(1668)](this)}function eu(){return this[s(1391)]($c)}function nu(){const e=s;var n=this[e(363)](!1),t=this[e(852)];return t?t.insertBefore(n,this.nextSibling):n}function tu(){const e=s;var n=this.cloneNode(!0),t=this[e(852)];return t?t[e(1733)](n,this[e(1575)]):n}function xu(e){return this[s(1412)](e?tu:nu)}function ou(e){return arguments[s(655)]?this.property("__data__",e):this.node().__data__}function ru(e){return function(n){const t=_0x5bb9;e[t(1018)](this,n,this[t(617)])}}function iu(e){const n=s;return e.trim().split(/^|\s+/)[n(411)](function(t){const o=n;var x="",r=t.indexOf(".");return r>=0&&(x=t[o(1586)](r+1),t=t[o(1586)](0,r)),{type:t,name:x}})}function au(e){return function(){const n=_0x5bb9;var t=this[n(803)];if(t){for(var o=0,x=-1,r=t.length,i;o<r;++o)i=t[o],(!e[n(415)]||i[n(415)]===e[n(415)])&&i.name===e[n(1793)]?this[n(1487)](i.type,i[n(827)],i[n(500)]):t[++x]=i;++x?t.length=x:delete this[n(803)]}}}function su(e,n,t){return function(){const o=_0x5bb9;var x=this.__on,r,i=ru(n);if(x){for(var a=0,u=x[o(655)];a<u;++a)if((r=x[a])[o(415)]===e[o(415)]&&r[o(1793)]===e[o(1793)]){this[o(1487)](r[o(415)],r[o(827)],r[o(500)]),this[o(1564)](r[o(415)],r[o(827)]=i,r[o(500)]=t),r[o(1303)]=n;return}}this[o(1564)](e.type,i,t),r={type:e[o(415)],name:e[o(1793)],value:n,listener:i,options:t},x?x[o(829)](r):this.__on=[r]}}function lu(e,n,t){const o=s;var x=iu(e+""),r,i=x[o(655)],a;if(arguments[o(655)]<2){var u=this[o(705)]()[o(803)];if(u){for(var l=0,c=u[o(655)],f;l<c;++l)for(r=0,f=u[l];r<i;++r)if((a=x[r]).type===f[o(415)]&&a[o(1793)]===f[o(1793)])return f[o(1303)]}return}for(u=n?su:au,r=0;r<i;++r)this[o(1391)](u(x[r],n,t));return this}function xi(e,n,t){const o=s;var x=_r(e),r=x.CustomEvent;typeof r===o(1240)?r=new r(n,t):(r=x.document[o(1435)](o(1645)),t?(r.initEvent(n,t.bubbles,t[o(1173)]),r[o(201)]=t[o(201)]):r[o(1720)](n,!1,!1)),e[o(719)](r)}function du(e,n){return function(){return xi(this,e,n)}}function cu(e,n){return function(){return xi(this,e,n[_0x5bb9(840)](this,arguments))}}function uu(e,n){const t=s;return this[t(1391)]((typeof n===t(1240)?cu:du)(e,n))}function*fu(){const e=s;for(var n=this[e(1329)],t=0,o=n[e(655)];t<o;++t)for(var x=n[t],r=0,i=x[e(655)],a;r<i;++r)(a=x[r])&&(yield a)}var oi=[null];function $e(e,n){const t=s;this[t(1329)]=e,this[t(1405)]=n}function Un(){const e=s;return new $e([[document[e(1083)]]],oi)}function hu(){return this}$e[s(308)]=Un[s(308)]={constructor:$e,select:Td,selectAll:qd,selectChild:Rd,selectChildren:_d,filter:$d,data:rc,enter:ec,exit:ac,join:sc,merge:lc,selection:hu,order:dc,sort:cc,call:fc,nodes:hc,node:gc,size:bc,empty:yc,each:mc,attr:Bc,style:Sc,property:Ac,classed:Uc,text:Hc,html:Xc,raise:Kc,lower:Jc,append:Qc,insert:_c,remove:eu,clone:xu,datum:ou,on:lu,dispatch:uu,[Symbol.iterator]:fu};function e0(e){const n=s;return typeof e===n(1025)?new $e([[document[n(1557)](e)]],[document.documentElement]):new $e([[e]],oi)}function gu(e){const n=s;let t;for(;t=e[n(577)];)e=t;return e}function d0(e,n){const t=s;if(e=gu(e),n===void 0&&(n=e[t(1541)]),n){var o=n[t(1475)]||n;if(o.createSVGPoint){var x=o[t(1024)]();return x.x=e[t(265)],x.y=e[t(1772)],x=x.matrixTransform(n[t(958)]().inverse()),[x.x,x.y]}if(n[t(912)]){var r=n.getBoundingClientRect();return[e[t(265)]-r[t(219)]-n[t(873)],e[t(1772)]-r[t(755)]-n.clientTop]}}return[e[t(1470)],e[t(522)]]}const bu={passive:!1},On={capture:!0,passive:!1};function Tx(e){e[s(819)]()}function fn(e){e[s(726)](),e.stopImmediatePropagation()}function ri(e){const n=s;var t=e.document[n(1083)],o=e0(e).on(n(1961),fn,On);n(1183)in t?o.on("selectstart.drag",fn,On):(t[n(461)]=t[n(1301)].MozUserSelect,t[n(1301)].MozUserSelect=n(1445))}function ii(e,n){const t=s;var o=e[t(1747)][t(1083)],x=e0(e).on("dragstart.drag",null);n&&(x.on(t(1613),fn,On),setTimeout(function(){const r=t;x.on(r(1613),null)},0)),t(1183)in o?x.on("selectstart.drag",null):(o.style[t(1077)]=o.__noselect,delete o[t(461)])}const Dt=e=>()=>e;function Hx(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:a,dx:u,dy:l,dispatch:c}){Object[s(883)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:x,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:u,enumerable:!0,configurable:!0},dy:{value:l,enumerable:!0,configurable:!0},_:{value:c}})}Hx[s(308)].on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function yu(e){const n=s;return!e.ctrlKey&&!e[n(264)]}function mu(){return this[s(852)]}function vu(e,n){return n??{x:e.x,y:e.y}}function wu(){const e=s;return navigator[e(1918)]||e(1388)in this}function ai(){const e=s;var n=yu,t=mu,o=vu,x=wu,r={},i=zt("start",e(753),"end"),a=0,u,l,c,f,b=0;function g(M){const S=e;M.on(S(1726),v)[S(1343)](x).on(S(870),C).on(S(605),y,bu).on(S(850),w)[S(1301)](S(321),S(1445))[S(1301)](S(326),"rgba(0,0,0,0)")}function v(M,S){const U=e;if(!(f||!n.call(this,M,S))){var W=m(this,t[U(1018)](this,M,S),M,S,"mouse");W&&(e0(M[U(1430)]).on(U(1127),h,On).on("mouseup.drag",p,On),ri(M[U(1430)]),Tx(M),c=!1,u=M[U(265)],l=M[U(1772)],W(U(385),M))}}function h(M){const S=e;if(fn(M),!c){var U=M.clientX-u,W=M[S(1772)]-l;c=U*U+W*W>b}r[S(505)](S(753),M)}function p(M){const S=e;e0(M[S(1430)]).on("mousemove.drag mouseup.drag",null),ii(M.view,c),fn(M),r[S(505)](S(453),M)}function C(M,S){const U=e;if(n[U(1018)](this,M,S)){var W=M[U(1232)],H=t[U(1018)](this,M,S),A=W.length,q,T;for(q=0;q<A;++q)(T=m(this,H,M,S,W[q].identifier,W[q]))&&(Tx(M),T("start",M,W[q]))}}function y(M){const S=e;var U=M[S(1232)],W=U.length,H,A;for(H=0;H<W;++H)(A=r[U[H][S(1737)]])&&(fn(M),A(S(753),M,U[H]))}function w(M){const S=e;var U=M[S(1232)],W=U[S(655)],H,A;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),H=0;H<W;++H)(A=r[U[H][S(1737)]])&&(Tx(M),A(S(453),M,U[H]))}function m(M,S,U,W,H,A){const q=e;var T=i[q(920)](),O=d0(A||U,S),Z,D,L;if((L=o.call(M,new Hx(q(1137),{sourceEvent:U,target:g,identifier:H,active:a,x:O[0],y:O[1],dx:0,dy:0,dispatch:T}),W))!=null)return Z=L.x-O[0]||0,D=L.y-O[1]||0,function N(j,P,I){const K=q;var _=O,R;switch(j){case K(385):r[H]=N,R=a++;break;case K(453):delete r[H],--a;case"drag":O=d0(I||P,S),R=a;break}T.call(j,M,new Hx(j,{sourceEvent:P,subject:L,target:g,identifier:H,active:R,x:O[0]+Z,y:O[1]+D,dx:O[0]-_[0],dy:O[1]-_[1],dispatch:T}),W)}}return g[e(1343)]=function(M){return arguments.length?(n=typeof M=="function"?M:Dt(!!M),g):n},g[e(1711)]=function(M){const S=e;return arguments[S(655)]?(t=typeof M===S(1240)?M:Dt(M),g):t},g.subject=function(M){return arguments.length?(o=typeof M=="function"?M:Dt(M),g):o},g[e(1363)]=function(M){const S=e;return arguments[S(655)]?(x=typeof M===S(1240)?M:Dt(!!M),g):x},g.on=function(){const M=e;var S=i.on[M(840)](i,arguments);return S===i?g:S},g[e(1632)]=function(M){const S=e;return arguments.length?(b=(M=+M)*M,g):Math[S(276)](b)},g}function Vx(e,n,t){const o=s;e[o(308)]=n[o(308)]=t,t.constructor=e}function si(e,n){var o=Object.create(e[s(308)]);for(var x in n)o[x]=n[x];return o}function Gn(){}var Tn=.7,Lt=1/Tn,hn="\\s*([+-]?\\d+)\\s*",Hn=s(1010),p0=s(1909),pu=/^#([0-9a-f]{3,8})$/,zu=new RegExp("^rgb\\("+hn+","+hn+","+hn+"\\)$"),Cu=new RegExp(s(283)+p0+","+p0+","+p0+s(1643)),Mu=new RegExp("^rgba\\("+hn+","+hn+","+hn+","+Hn+s(1643)),Bu=new RegExp(s(1975)+p0+","+p0+","+p0+","+Hn+s(1643)),Du=new RegExp("^hsl\\("+Hn+","+p0+","+p0+s(1643)),Lu=new RegExp(s(616)+Hn+","+p0+","+p0+","+Hn+s(1643)),li={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};Vx(Gn,Z0,{copy(e){return Object[s(525)](new this.constructor,this,e)},displayable(){const e=s;return this[e(1357)]()[e(240)]()},hex:di,formatHex:di,formatHex8:Nu,formatHsl:Su,formatRgb:ci,toString:ci});function di(){const e=s;return this[e(1357)]()[e(1857)]()}function Nu(){const e=s;return this[e(1357)]()[e(1836)]()}function Su(){return bi(this).formatHsl()}function ci(){return this.rgb().formatRgb()}function Z0(e){const n=s;var t,o;return e=(e+"")[n(1514)]()[n(2014)](),(t=pu[n(1075)](e))?(o=t[1].length,t=parseInt(t[1],16),o===6?ui(t):o===3?new Re(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?Nt(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?Nt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=zu[n(1075)](e))?new Re(t[1],t[2],t[3],1):(t=Cu[n(1075)](e))?new Re(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Mu[n(1075)](e))?Nt(t[1],t[2],t[3],t[4]):(t=Bu[n(1075)](e))?Nt(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Du[n(1075)](e))?gi(t[1],t[2]/100,t[3]/100,1):(t=Lu.exec(e))?gi(t[1],t[2]/100,t[3]/100,t[4]):li[n(615)](e)?ui(li[e]):e===n(419)?new Re(NaN,NaN,NaN,0):null}function ui(e){return new Re(e>>16&255,e>>8&255,e&255,1)}function Nt(e,n,t,o){return o<=0&&(e=n=t=NaN),new Re(e,n,t,o)}function ku(e){const n=s;return e instanceof Gn||(e=Z0(e)),e?(e=e.rgb(),new Re(e.r,e.g,e.b,e[n(1344)])):new Re}function Wx(e,n,t,o){return arguments[s(655)]===1?ku(e):new Re(e,n,t,o??1)}function Re(e,n,t,o){const x=s;this.r=+e,this.g=+n,this.b=+t,this[x(1344)]=+o}Vx(Re,Wx,si(Gn,{brighter(e){const n=s;return e=e==null?Lt:Math[n(1530)](Lt,e),new Re(this.r*e,this.g*e,this.b*e,this[n(1344)])},darker(e){const n=s;return e=e==null?Tn:Math[n(1530)](Tn,e),new Re(this.r*e,this.g*e,this.b*e,this[n(1344)])},rgb(){return this},clamp(){const e=s;return new Re(K0(this.r),K0(this.g),K0(this.b),St(this[e(1344)]))},displayable(){const e=s;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this[e(1344)]&&this[e(1344)]<=1},hex:fi,formatHex:fi,formatHex8:Pu,formatRgb:hi,toString:hi}));function fi(){return"#"+R0(this.r)+R0(this.g)+R0(this.b)}function Pu(){const e=s;return"#"+R0(this.r)+R0(this.g)+R0(this.b)+R0((isNaN(this[e(1344)])?1:this[e(1344)])*255)}function hi(){const e=s,n=St(this[e(1344)]);return""+e(n===1?940:728)+K0(this.r)+", "+K0(this.g)+", "+K0(this.b)+(n===1?")":", "+n+")")}function St(e){const n=s;return isNaN(e)?1:Math[n(1526)](0,Math[n(382)](1,e))}function K0(e){const n=s;return Math[n(1526)](0,Math[n(382)](255,Math[n(1109)](e)||0))}function R0(e){return e=K0(e),(e<16?"0":"")+e.toString(16)}function gi(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new c0(e,n,t,o)}function bi(e){const n=s;if(e instanceof c0)return new c0(e.h,e.s,e.l,e.opacity);if(e instanceof Gn||(e=Z0(e)),!e)return new c0;if(e instanceof c0)return e;e=e.rgb();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(382)](t,o,x),i=Math.max(t,o,x),a=NaN,u=i-r,l=(i+r)/2;return u?(t===i?a=(o-x)/u+(o<x)*6:o===i?a=(x-t)/u+2:a=(t-o)/u+4,u/=l<.5?i+r:2-i-r,a*=60):u=l>0&&l<1?0:a,new c0(a,u,l,e[n(1344)])}function Iu(e,n,t,o){return arguments[s(655)]===1?bi(e):new c0(e,n,t,o??1)}function c0(e,n,t,o){const x=s;this.h=+e,this.s=+n,this.l=+t,this[x(1344)]=+o}Vx(c0,Iu,si(Gn,{brighter(e){const n=s;return e=e==null?Lt:Math[n(1530)](Lt,e),new c0(this.h,this.s,this.l*e,this[n(1344)])},darker(e){const n=s;return e=e==null?Tn:Math[n(1530)](Tn,e),new c0(this.h,this.s,this.l*e,this[n(1344)])},rgb(){const e=s;var n=this.h%360+(this.h<0)*360,t=isNaN(n)||isNaN(this.s)?0:this.s,o=this.l,x=o+(o<.5?o:1-o)*t,r=2*o-x;return new Re(qx(n>=240?n-240:n+120,r,x),qx(n,r,x),qx(n<120?n+240:n-120,r,x),this[e(1344)])},clamp(){const e=s;return new c0(yi(this.h),kt(this.s),kt(this.l),St(this[e(1344)]))},displayable(){const e=s;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this[e(1344)]&&this[e(1344)]<=1},formatHsl(){const e=s,n=St(this[e(1344)]);return""+e(n===1?562:535)+yi(this.h)+", "+kt(this.s)*100+e(1777)+kt(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function yi(e){return e=(e||0)%360,e<0?e+360:e}function kt(e){return Math.max(0,Math[s(382)](1,e||0))}function qx(e,n,t){return(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)*255}const Xx=e=>()=>e;function Au(e,n){return function(t){return e+t*n}}function Yu(e,n,t){return e=Math[s(1530)](e,t),n=Math.pow(n,t)-e,t=1/t,function(x){return Math.pow(e+x*n,t)}}function ju(e){return(e=+e)==1?mi:function(n,t){return t-n?Yu(n,t,e):Xx(isNaN(n)?t:n)}}function mi(e,n){var t=n-e;return t?Au(e,t):Xx(isNaN(e)?n:e)}const Pt=(function e(n){const t=s;var o=ju(n);function x(r,i){const a=_0x5bb9;var u=o((r=Wx(r)).r,(i=Wx(i)).r),l=o(r.g,i.g),c=o(r.b,i.b),f=mi(r[a(1344)],i[a(1344)]);return function(b){const g=a;return r.r=u(b),r.g=l(b),r.b=c(b),r[g(1344)]=f(b),r+""}}return x[t(1064)]=e,x})(1);function Eu(e,n){const t=s;n||(n=[]);var o=e?Math[t(382)](n[t(655)],e[t(655)]):0,x=n[t(1586)](),r;return function(i){for(r=0;r<o;++r)x[r]=e[r]*(1-i)+n[r]*i;return x}}function Uu(e){return ArrayBuffer[s(1646)](e)&&!(e instanceof DataView)}function Ou(e,n){const t=s;var o=n?n[t(655)]:0,x=e?Math[t(382)](o,e[t(655)]):0,r=new Array(x),i=new Array(o),a;for(a=0;a<x;++a)r[a]=Vn(e[a],n[a]);for(;a<o;++a)i[a]=n[a];return function(u){for(a=0;a<x;++a)i[a]=r[a](u);return i}}function Gu(e,n){var t=new Date;return e=+e,n=+n,function(o){return t.setTime(e*(1-o)+n*o),t}}function z0(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function Tu(e,n){const t=s;var o={},x={},r;(e===null||typeof e!==t(1866))&&(e={}),(n===null||typeof n!="object")&&(n={});for(r in n)r in e?o[r]=Vn(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var Zx=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Kx=new RegExp(Zx[s(248)],"g");function Hu(e){return function(){return e}}function Vu(e){return function(n){return e(n)+""}}function vi(e,n){const t=s;var o=Zx.lastIndex=Kx[t(816)]=0,x,r,i,a=-1,u=[],l=[];for(e=e+"",n=n+"";(x=Zx[t(1075)](e))&&(r=Kx.exec(n));)(i=r[t(653)])>o&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(x=x[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,l[t(829)]({i:a,x:z0(x,r)})),o=Kx[t(816)];return o<n[t(655)]&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?l[0]?Vu(l[0].x):Hu(n):(n=l.length,function(c){const f=t;for(var b=0,g;b<n;++b)u[(g=l[b]).i]=g.x(c);return u[f(358)]("")})}function Vn(e,n){const t=s;var o=typeof n,x;return n==null||o===t(1524)?Xx(n):(o===t(1781)?z0:o===t(1025)?(x=Z0(n))?(n=x,Pt):vi:n instanceof Z0?Pt:n instanceof Date?Gu:Uu(n)?Eu:Array[t(1994)](n)?Ou:typeof n.valueOf!==t(1240)&&typeof n[t(913)]!="function"||isNaN(n)?Tu:z0)(e,n)}var wi=180/Math.PI,Rx={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function pi(e,n,t,o,x,r){const i=s;var a,u,l;return(a=Math[i(276)](e*e+n*n))&&(e/=a,n/=a),(l=e*t+n*o)&&(t-=e*l,o-=n*l),(u=Math[i(276)](t*t+o*o))&&(t/=u,o/=u,l/=u),e*o<n*t&&(e=-e,n=-n,l=-l,a=-a),{translateX:x,translateY:r,rotate:Math[i(687)](n,e)*wi,skewX:Math[i(1931)](l)*wi,scaleX:a,scaleY:u}}var It;function Wu(e){const n=s,t=new(typeof DOMMatrix===n(1240)?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Rx:pi(t.a,t.b,t.c,t.d,t.e,t.f)}function qu(e){const n=s;return e==null||(It||(It=document[n(1995)](n(1596),"g")),It[n(307)](n(1368),e),!(e=It[n(1368)][n(1034)][n(1843)]()))?Rx:(e=e[n(660)],pi(e.a,e.b,e.c,e.d,e.e,e.f))}function zi(e,n,t,o){function x(l){const c=_0x5bb9;return l[c(655)]?l[c(1712)]()+" ":""}function r(l,c,f,b,g,v){const h=_0x5bb9;if(l!==f||c!==b){var p=g.push(h(998),null,n,null,t);v[h(829)]({i:p-4,x:z0(l,f)},{i:p-2,x:z0(c,b)})}else(f||b)&&g[h(829)](h(998)+f+n+b+t)}function i(l,c,f,b){const g=_0x5bb9;l!==c?(l-c>180?c+=360:c-l>180&&(l+=360),b[g(829)]({i:f[g(829)](x(f)+g(1893),null,o)-2,x:z0(l,c)})):c&&f.push(x(f)+"rotate("+c+o)}function a(l,c,f,b){const g=_0x5bb9;l!==c?b.push({i:f[g(829)](x(f)+g(433),null,o)-2,x:z0(l,c)}):c&&f[g(829)](x(f)+g(433)+c+o)}function u(l,c,f,b,g,v){const h=_0x5bb9;if(l!==f||c!==b){var p=g[h(829)](x(g)+"scale(",null,",",null,")");v[h(829)]({i:p-4,x:z0(l,f)},{i:p-2,x:z0(c,b)})}else(f!==1||b!==1)&&g[h(829)](x(g)+h(668)+f+","+b+")")}return function(l,c){const f=_0x5bb9;var b=[],g=[];return l=e(l),c=e(c),r(l[f(205)],l[f(1223)],c.translateX,c.translateY,b,g),i(l[f(1822)],c[f(1822)],b,g),a(l[f(1844)],c[f(1844)],b,g),u(l[f(1577)],l[f(298)],c.scaleX,c[f(298)],b,g),l=c=null,function(v){const h=f;for(var p=-1,C=g[h(655)],y;++p<C;)b[(y=g[p]).i]=y.x(v);return b[h(358)]("")}}}var Xu=zi(Wu,s(821),s(1568),s(796)),Zu=zi(qu,", ",")",")"),Ku=1e-12;function Ci(e){return((e=Math[s(468)](e))+1/e)/2}function Ru(e){return((e=Math[s(468)](e))-1/e)/2}function Ju(e){return((e=Math.exp(2*e))-1)/(e+1)}const At=(function e(n,t,o){const x=s;function r(i,a){const u=_0x5bb9;var l=i[0],c=i[1],f=i[2],b=a[0],g=a[1],v=a[2],h=b-l,p=g-c,C=h*h+p*p,y,w;if(C<Ku)w=Math[u(1678)](v/f)/n,y=function(H){return[l+H*h,c+H*p,f*Math.exp(n*H*w)]};else{var m=Math[u(276)](C),M=(v*v-f*f+o*C)/(2*f*t*m),S=(v*v-f*f-o*C)/(2*v*t*m),U=Math[u(1678)](Math[u(276)](M*M+1)-M),W=Math.log(Math[u(276)](S*S+1)-S);w=(W-U)/n,y=function(H){var A=H*w,q=Ci(U),T=f/(t*m)*(q*Ju(n*A+U)-Ru(U));return[l+T*h,c+T*p,f*q/Ci(n*A+U)]}}return y[u(1779)]=w*1e3*n/Math.SQRT2,y}return r[x(1689)]=function(i){var u=Math[x(1526)](.001,+i),l=u*u,c=l*l;return e(u,l,c)},r})(Math[s(1311)],2,4);var gn=0,Wn=0,qn=0,Mi=1e3,Yt,Xn,jt=0,J0=0,Et=0,Zn=typeof performance===s(1866)&&performance[s(688)]?performance:Date,Bi=typeof window===s(1866)&&window[s(1674)]?window.requestAnimationFrame[s(576)](window):function(e){setTimeout(e,17)};function Jx(){return J0||(Bi(Qu),J0=Zn.now()+Et)}function Qu(){J0=0}function Ut(){const e=s;this._call=this._time=this[e(1873)]=null}Ut[s(308)]=Di[s(308)]={constructor:Ut,restart:function(e,n,t){const o=s;if(typeof e!="function")throw new TypeError(o(242));t=(t==null?Jx():+t)+(n==null?0:+n),!this[o(1873)]&&Xn!==this&&(Xn?Xn[o(1873)]=this:Yt=this,Xn=this),this._call=e,this[o(758)]=t,Qx()},stop:function(){const e=s;this._call&&(this[e(1584)]=null,this[e(758)]=1/0,Qx())}};function Di(e,n,t){const o=s;var x=new Ut;return x[o(297)](e,n,t),x}function Fu(){const e=s;Jx(),++gn;for(var n=Yt,t;n;)(t=J0-n[e(758)])>=0&&n[e(1584)][e(1018)](void 0,t),n=n._next;--gn}function Li(){J0=(jt=Zn[s(688)]())+Et,gn=Wn=0;try{Fu()}finally{gn=0,$u(),J0=0}}function _u(){var n=Zn[s(688)](),t=n-jt;t>Mi&&(Et-=t,jt=n)}function $u(){const e=s;for(var n,t=Yt,o,x=1/0;t;)t[e(1584)]?(x>t[e(758)]&&(x=t[e(758)]),n=t,t=t[e(1873)]):(o=t._next,t[e(1873)]=null,t=n?n[e(1873)]=o:Yt=o);Xn=n,Qx(x)}function Qx(e){const n=s;if(!gn){Wn&&(Wn=clearTimeout(Wn));var t=e-J0;t>24?(e<1/0&&(Wn=setTimeout(Li,e-Zn[n(688)]()-Et)),qn&&(qn=clearInterval(qn))):(qn||(jt=Zn[n(688)](),qn=setInterval(_u,Mi)),gn=1,Bi(Li))}}function Ni(e,n,t){const o=s;var x=new Ut;return n=n==null?0:+n,x[o(297)](r=>{x[o(469)](),e(r+n)},n,t),x}var ef=zt("start",s(453),s(1100),s(1371)),nf=[],Si=0,ki=1,Fx=2,Ot=3,Pi=4,_x=5,Gt=6;function Tt(e,n,t,o,x,r){const i=s;var a=e.__transition;if(!a)e.__transition={};else if(t in a)return;tf(e,t,{name:n,index:o,group:x,on:ef,tween:nf,time:r.time,delay:r.delay,duration:r[i(1779)],ease:r[i(702)],timer:null,state:Si})}function $x(e,n){const t=s;var o=u0(e,n);if(o[t(462)]>Si)throw new Error(t(977));return o}function C0(e,n){const t=s;var o=u0(e,n);if(o[t(462)]>Ot)throw new Error(t(1112));return o}function u0(e,n){const t=s;var o=e[t(833)];if(!o||!(o=o[n]))throw new Error(t(1105));return o}function tf(e,n,t){var o=e.__transition,x;o[n]=t,t.timer=Di(r,0,t.time);function r(l){const c=_0x5bb9;t.state=ki,t[c(1255)][c(297)](i,t[c(1020)],t[c(1380)]),t[c(1020)]<=l&&i(l-t.delay)}function i(l){const c=_0x5bb9;var f,b,g,v;if(t[c(462)]!==ki)return u();for(f in o)if(v=o[f],v[c(1793)]===t[c(1793)]){if(v[c(462)]===Ot)return Ni(i);v[c(462)]===Pi?(v[c(462)]=Gt,v[c(1255)][c(469)](),v.on.call(c(1371),e,e[c(617)],v[c(653)],v[c(609)]),delete o[f]):+f<n&&(v[c(462)]=Gt,v.timer.stop(),v.on[c(1018)]("cancel",e,e[c(617)],v[c(653)],v[c(609)]),delete o[f])}if(Ni(function(){const h=c;t[h(462)]===Ot&&(t.state=Pi,t.timer[h(297)](a,t[h(1020)],t[h(1380)]),a(l))}),t[c(462)]=Fx,t.on[c(1018)]("start",e,e[c(617)],t.index,t[c(609)]),t[c(462)]===Fx){for(t[c(462)]=Ot,x=new Array(g=t[c(1002)][c(655)]),f=0,b=-1;f<g;++f)(v=t[c(1002)][f][c(1303)][c(1018)](e,e[c(617)],t[c(653)],t.group))&&(x[++b]=v);x[c(655)]=b+1}}function a(l){const c=_0x5bb9;for(var f=l<t.duration?t[c(702)][c(1018)](null,l/t[c(1779)]):(t.timer.restart(u),t[c(462)]=_x,1),b=-1,g=x[c(655)];++b<g;)x[b].call(e,f);t[c(462)]===_x&&(t.on[c(1018)](c(453),e,e.__data__,t[c(653)],t[c(609)]),u())}function u(){const l=_0x5bb9;t[l(462)]=Gt,t.timer.stop(),delete o[n];for(var c in o)return;delete e.__transition}}function Ht(e,n){const t=s;var o=e[t(833)],x,r,i=!0,a;if(o){n=n==null?null:n+"";for(a in o){if((x=o[a])[t(1793)]!==n){i=!1;continue}r=x[t(462)]>Fx&&x.state<_x,x[t(462)]=Gt,x.timer.stop(),x.on[t(1018)](t(r?1371:1100),e,e[t(617)],x.index,x[t(609)]),delete o[a]}i&&delete e[t(833)]}}function xf(e){return this[s(1391)](function(){Ht(this,e)})}function of(e,n){var t,o;return function(){const x=_0x5bb9;var r=C0(this,e),i=r[x(1002)];if(i!==t){o=t=i;for(var a=0,u=o.length;a<u;++a)if(o[a][x(1793)]===n){o=o[x(1586)](),o[x(343)](a,1);break}}r.tween=o}}function rf(e,n,t){const o=s;var x,r;if(typeof t!==o(1240))throw new Error;return function(){const i=o;var a=C0(this,e),u=a[i(1002)];if(u!==x){r=(x=u).slice();for(var l={name:n,value:t},c=0,f=r[i(655)];c<f;++c)if(r[c][i(1793)]===n){r[c]=l;break}c===f&&r.push(l)}a[i(1002)]=r}}function af(e,n){const t=s;var o=this._id;if(e+="",arguments[t(655)]<2){for(var x=u0(this[t(705)](),o).tween,r=0,i=x[t(655)],a;r<i;++r)if((a=x[r])[t(1793)]===e)return a[t(1303)];return null}return this[t(1391)]((n==null?of:rf)(o,e,n))}function eo(e,n,t){var o=e._id;return e.each(function(){const x=_0x5bb9;var r=C0(this,o);(r[x(1303)]||(r[x(1303)]={}))[n]=t[x(840)](this,arguments)}),function(x){const r=_0x5bb9;return u0(x,o)[r(1303)][n]}}function Ii(e,n){var t;return(typeof n=="number"?z0:n instanceof Z0?Pt:(t=Z0(n))?(n=t,Pt):vi)(e,n)}function sf(e){return function(){this[_0x5bb9(1046)](e)}}function lf(e){return function(){this.removeAttributeNS(e.space,e.local)}}function df(e,n,t){var o,x=t+"",r;return function(){var a=this[_0x5bb9(1658)](e);return a===x?null:a===o?r:r=n(o=a,t)}}function cf(e,n,t){var o,x=t+"",r;return function(){const i=_0x5bb9;var a=this[i(404)](e.space,e[i(457)]);return a===x?null:a===o?r:r=n(o=a,t)}}function uf(e,n,t){var o,x,r;return function(){const i=_0x5bb9;var a,u=t(this),l;return u==null?void this[i(1046)](e):(a=this[i(1658)](e),l=u+"",a===l?null:a===o&&l===x?r:(x=l,r=n(o=a,u)))}}function ff(e,n,t){var o,x,r;return function(){const i=_0x5bb9;var a,u=t(this),l;return u==null?void this[i(278)](e.space,e[i(457)]):(a=this.getAttributeNS(e[i(897)],e[i(457)]),l=u+"",a===l?null:a===o&&l===x?r:(x=l,r=n(o=a,u)))}}function hf(e,n){const t=s;var o=Mt(e),x=o===t(1368)?Zu:Ii;return this[t(1617)](e,typeof n===t(1240)?(o[t(457)]?ff:uf)(o,x,eo(this,t(355)+e,n)):n==null?(o[t(457)]?lf:sf)(o):(o[t(457)]?cf:df)(o,x,n))}function gf(e,n){return function(t){const o=_0x5bb9;this[o(307)](e,n[o(1018)](this,t))}}function bf(e,n){return function(t){const o=_0x5bb9;this[o(1479)](e[o(897)],e[o(457)],n[o(1018)](this,t))}}function yf(e,n){const t=s;var o,x;function r(){var a=n[_0x5bb9(840)](this,arguments);return a!==x&&(o=(x=a)&&bf(e,a)),o}return r[t(357)]=n,r}function mf(e,n){const t=s;var o,x;function r(){var a=n[_0x5bb9(840)](this,arguments);return a!==x&&(o=(x=a)&&gf(e,a)),o}return r[t(357)]=n,r}function vf(e,n){const t=s;var o=t(355)+e;if(arguments[t(655)]<2)return(o=this[t(1002)](o))&&o[t(357)];if(n==null)return this[t(1002)](o,null);if(typeof n!==t(1240))throw new Error;var x=Mt(e);return this[t(1002)](o,(x.local?yf:mf)(x,n))}function wf(e,n){return function(){const t=_0x5bb9;$x(this,e)[t(1020)]=+n[t(840)](this,arguments)}}function pf(e,n){return n=+n,function(){const t=_0x5bb9;$x(this,e)[t(1020)]=n}}function zf(e){const n=s;var t=this._id;return arguments[n(655)]?this[n(1391)]((typeof e===n(1240)?wf:pf)(t,e)):u0(this[n(705)](),t)[n(1020)]}function Cf(e,n){return function(){const t=_0x5bb9;C0(this,e)[t(1779)]=+n[t(840)](this,arguments)}}function Mf(e,n){return n=+n,function(){const t=_0x5bb9;C0(this,e)[t(1779)]=n}}function Bf(e){const n=s;var t=this._id;return arguments.length?this[n(1391)]((typeof e===n(1240)?Cf:Mf)(t,e)):u0(this[n(705)](),t)[n(1779)]}function Df(e,n){const t=s;if(typeof n!==t(1240))throw new Error;return function(){const o=t;C0(this,e)[o(702)]=n}}function Lf(e){const n=s;var t=this[n(1821)];return arguments.length?this.each(Df(t,e)):u0(this.node(),t)[n(702)]}function Nf(e,n){return function(){const t=_0x5bb9;var o=n[t(840)](this,arguments);if(typeof o!==t(1240))throw new Error;C0(this,e)[t(702)]=o}}function Sf(e){const n=s;if(typeof e!==n(1240))throw new Error;return this.each(Nf(this[n(1821)],e))}function kf(e){const n=s;typeof e!==n(1240)&&(e=Jr(e));for(var t=this[n(1329)],o=t[n(655)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(655)],u=x[r]=[],l,c=0;c<a;++c)(l=i[c])&&e[n(1018)](l,l[n(617)],c,i)&&u[n(829)](l);return new L0(x,this[n(1405)],this[n(1098)],this[n(1821)])}function Pf(e){const n=s;if(e[n(1821)]!==this._id)throw new Error;for(var t=this[n(1329)],o=e._groups,x=t[n(655)],r=o[n(655)],i=Math[n(382)](x,r),a=new Array(x),u=0;u<i;++u)for(var l=t[u],c=o[u],f=l[n(655)],b=a[u]=new Array(f),g,v=0;v<f;++v)(g=l[v]||c[v])&&(b[v]=g);for(;u<x;++u)a[u]=t[u];return new L0(a,this[n(1405)],this[n(1098)],this._id)}function If(e){const n=s;return(e+"")[n(1514)]()[n(1037)](/^|\s+/)[n(1089)](function(t){var x=t[n(1224)](".");return x>=0&&(t=t.slice(0,x)),!t||t==="start"})}function Af(e,n,t){var o,x,r=If(n)?$x:C0;return function(){const i=_0x5bb9;var a=r(this,e),u=a.on;u!==o&&(x=(o=u)[i(920)]()).on(n,t),a.on=x}}function Yf(e,n){const t=s;var o=this[t(1821)];return arguments.length<2?u0(this[t(705)](),o).on.on(e):this[t(1391)](Af(o,e,n))}function jf(e){return function(){const n=_0x5bb9;var t=this[n(852)];for(var o in this.__transition)if(+o!==e)return;t&&t[n(1668)](this)}}function Ef(){const e=s;return this.on(e(697),jf(this[e(1821)]))}function Uf(e){const n=s;var t=this[n(1098)],o=this._id;typeof e!==n(1240)&&(e=Ox(e));for(var x=this[n(1329)],r=x[n(655)],i=new Array(r),a=0;a<r;++a)for(var u=x[a],l=u[n(655)],c=i[a]=new Array(l),f,b,g=0;g<l;++g)(f=u[g])&&(b=e[n(1018)](f,f.__data__,g,u))&&(n(617)in f&&(b[n(617)]=f[n(617)]),c[g]=b,Tt(c[g],t,o,g,c,u0(f,o)));return new L0(i,this._parents,t,o)}function Of(e){const n=s;var t=this[n(1098)],o=this[n(1821)];typeof e!==n(1240)&&(e=Rr(e));for(var x=this._groups,r=x.length,i=[],a=[],u=0;u<r;++u)for(var l=x[u],c=l[n(655)],f,b=0;b<c;++b)if(f=l[b]){for(var g=e[n(1018)](f,f[n(617)],b,l),v,h=u0(f,o),p=0,C=g[n(655)];p<C;++p)(v=g[p])&&Tt(v,t,o,p,g,h);i[n(829)](g),a.push(f)}return new L0(i,a,t,o)}var Gf=Un.prototype[s(216)];function Tf(){const e=s;return new Gf(this[e(1329)],this[e(1405)])}function Hf(e,n){var t,o,x;return function(){const r=_0x5bb9;var i=un(this,e),a=(this[r(1301)][r(204)](e),un(this,e));return i===a?null:i===t&&a===o?x:x=n(t=i,o=a)}}function Ai(e){return function(){const n=_0x5bb9;this[n(1301)][n(204)](e)}}function Vf(e,n,t){var o,x=t+"",r;return function(){var i=un(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function Wf(e,n,t){var o,x,r;return function(){const i=_0x5bb9;var a=un(this,e),u=t(this),l=u+"";return u==null&&(l=u=(this.style[i(204)](e),un(this,e))),a===l?null:a===o&&l===x?r:(x=l,r=n(o=a,u))}}function qf(e,n){const t=s;var o,x,r,i=t(1351)+n,a=t(1143)+i,u;return function(){var l=C0(this,e),c=l.on,f=l.value[i]==null?u||(u=Ai(n)):void 0;(c!==o||r!==f)&&(x=(o=c).copy()).on(a,r=f),l.on=x}}function Xf(e,n,t){const o=s;var x=(e+="")===o(1368)?Xu:Ii;return n==null?this[o(1422)](e,Hf(e,x)).on("end.style."+e,Ai(e)):typeof n===o(1240)?this[o(1422)](e,Wf(e,x,eo(this,o(1351)+e,n)))[o(1391)](qf(this[o(1821)],e)):this[o(1422)](e,Vf(e,x,n),t).on(o(1211)+e,null)}function Zf(e,n,t){return function(o){const x=_0x5bb9;this[x(1301)][x(464)](e,n[x(1018)](this,o),t)}}function Kf(e,n,t){var o,x;function r(){var a=n[_0x5bb9(840)](this,arguments);return a!==x&&(o=(x=a)&&Zf(e,a,t)),o}return r._value=n,r}function Rf(e,n,t){const o=s;var x="style."+(e+="");if(arguments[o(655)]<2)return(x=this[o(1002)](x))&&x[o(357)];if(n==null)return this.tween(x,null);if(typeof n!==o(1240))throw new Error;return this[o(1002)](x,Kf(e,n,t??""))}function Jf(e){return function(){const n=_0x5bb9;this[n(472)]=e}}function Qf(e){return function(){const n=_0x5bb9;var t=e(this);this[n(472)]=t??""}}function Ff(e){const n=s;return this[n(1002)](n(773),typeof e=="function"?Qf(eo(this,n(773),e)):Jf(e==null?"":e+""))}function _f(e){return function(n){const t=_0x5bb9;this[t(472)]=e[t(1018)](this,n)}}function $f(e){const n=s;var t,o;function x(){var r=e.apply(this,arguments);return r!==o&&(t=(o=r)&&_f(r)),t}return x[n(357)]=e,x}function e5(e){const n=s;var t=n(773);if(arguments[n(655)]<1)return(t=this[n(1002)](t))&&t._value;if(e==null)return this[n(1002)](t,null);if(typeof e!==n(1240))throw new Error;return this[n(1002)](t,$f(e))}function n5(){const e=s;for(var n=this[e(1098)],t=this[e(1821)],o=Yi(),x=this[e(1329)],r=x[e(655)],i=0;i<r;++i)for(var a=x[i],u=a[e(655)],l,c=0;c<u;++c)if(l=a[c]){var f=u0(l,t);Tt(l,n,o,c,a,{time:f[e(1380)]+f[e(1020)]+f.duration,delay:0,duration:f.duration,ease:f[e(702)]})}return new L0(x,this[e(1405)],n,o)}function t5(){const e=s;var n,t,o=this,x=o[e(1821)],r=o.size();return new Promise(function(i,a){var u={value:a},l={value:function(){--r===0&&i()}};o.each(function(){const c=_0x5bb9;var f=C0(this,x),b=f.on;b!==n&&(t=(n=b)[c(920)](),t._[c(1100)][c(829)](u),t._.interrupt[c(829)](u),t._[c(453)][c(829)](l)),f.on=t}),r===0&&i()})}var x5=0;function L0(e,n,t,o){const x=s;this._groups=e,this[x(1405)]=n,this[x(1098)]=t,this[x(1821)]=o}function Yi(){return++x5}var N0=Un[s(308)];L0[s(308)]={constructor:L0,select:Uf,selectAll:Of,selectChild:N0.selectChild,selectChildren:N0[s(1478)],filter:kf,merge:Pf,selection:Tf,transition:n5,call:N0[s(1018)],nodes:N0[s(1745)],node:N0[s(705)],size:N0[s(1860)],empty:N0[s(1373)],each:N0[s(1391)],on:Yf,attr:hf,attrTween:vf,style:Xf,styleTween:Rf,text:Ff,textTween:e5,remove:Ef,tween:af,delay:zf,duration:Bf,ease:Lf,easeVarying:Sf,end:t5,[Symbol.iterator]:N0[Symbol[s(1054)]]};function o5(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var r5={time:null,delay:0,duration:250,ease:o5};function i5(e,n){const t=s;for(var o;!(o=e[t(833)])||!(o=o[n]);)if(!(e=e[t(852)]))throw new Error("transition "+n+t(1015));return o}function a5(e){const n=s;var t,o;e instanceof L0?(t=e[n(1821)],e=e._name):(t=Yi(),(o=r5)[n(1380)]=Jx(),e=e==null?null:e+"");for(var x=this[n(1329)],r=x[n(655)],i=0;i<r;++i)for(var a=x[i],u=a[n(655)],l,c=0;c<u;++c)(l=a[c])&&Tt(l,e,t,c,a,o||i5(l,t));return new L0(x,this[n(1405)],e,t)}Un[s(308)].interrupt=xf,Un.prototype.transition=a5;const Vt=e=>()=>e;function s5(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object[s(883)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:x}})}function S0(e,n,t){this.k=e,this.x=n,this.y=t}S0[s(308)]={constructor:S0,scale:function(e){return e===1?this:new S0(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new S0(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){const n=s;return e[n(920)]()[n(1528)](e[n(917)]().map(this[n(793)],this)[n(411)](e[n(1546)],e))},rescaleY:function(e){const n=s;return e[n(920)]()[n(1528)](e[n(917)]().map(this[n(197)],this).map(e[n(1546)],e))},toString:function(){const e=s;return e(998)+this.x+","+this.y+e(1342)+this.k+")"}};var Wt=new S0(1,0,0);ji.prototype=S0.prototype;function ji(e){const n=s;for(;!e[n(271)];)if(!(e=e[n(852)]))return Wt;return e[n(271)]}function no(e){e[s(819)]()}function Kn(e){const n=s;e[n(726)](),e[n(819)]()}function l5(e){const n=s;return(!e[n(1179)]||e.type===n(971))&&!e[n(264)]}function d5(){const e=s;var n=this;return n instanceof SVGElement?(n=n[e(1475)]||n,n[e(729)](e(1895))?(n=n[e(1895)][e(1034)],[[n.x,n.y],[n.x+n[e(1473)],n.y+n[e(1187)]]]):[[0,0],[n.width[e(1034)][e(1303)],n.height[e(1034)][e(1303)]]]):[[0,0],[n[e(1763)],n[e(1263)]]]}function Ei(){return this[s(271)]||Wt}function c5(e){const n=s;return-e[n(366)]*(e[n(1214)]===1?.05:e[n(1214)]?1:.002)*(e.ctrlKey?10:1)}function u5(){const e=s;return navigator.maxTouchPoints||e(1388)in this}function f5(e,n,t){const o=s;var x=e.invertX(n[0][0])-t[0][0],r=e[o(793)](n[1][0])-t[1][0],i=e[o(197)](n[0][1])-t[0][1],a=e[o(197)](n[1][1])-t[1][1];return e[o(1113)](r>x?(x+r)/2:Math[o(382)](0,x)||Math.max(0,r),a>i?(i+a)/2:Math.min(0,i)||Math[o(1526)](0,a))}function Ui(){const e=s;var n=l5,t=d5,o=f5,x=c5,r=u5,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],u=250,l=At,c=zt(e(385),"zoom",e(453)),f,b,g,v=500,h=150,p=0,C=10;function y(D){const L=e;D[L(741)](L(271),Ei).on(L(416),H,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",q)[L(1343)](r).on(L(1019),T).on("touchmove.zoom",O).on("touchend.zoom touchcancel.zoom",Z).style(L(326),L(1902))}y[e(1368)]=function(D,L,N,j){const P=e;var I=D[P(1838)]?D.selection():D;I[P(741)](P(271),Ei),D!==I?S(D,L,N,j):I.interrupt()[P(1391)](function(){const K=P;U(this,arguments).event(j)[K(385)]().zoom(null,typeof L=="function"?L[K(840)](this,arguments):L)[K(453)]()})},y[e(1297)]=function(D,L,N,j){y.scaleTo(D,function(){const P=_0x5bb9;var I=this[P(271)].k,K=typeof L===P(1240)?L[P(840)](this,arguments):L;return I*K},N,j)},y[e(471)]=function(D,L,N,j){const P=e;y[P(1368)](D,function(){const I=P;var K=t.apply(this,arguments),_=this.__zoom,R=N==null?M(K):typeof N===I(1240)?N[I(840)](this,arguments):N,$=_[I(1546)](R),oe=typeof L=="function"?L[I(840)](this,arguments):L;return o(m(w(_,oe),R,$),K,a)},N,j)},y[e(1601)]=function(D,L,N,j){const P=e;y[P(1368)](D,function(){const I=P;return o(this[I(271)][I(1113)](typeof L===I(1240)?L.apply(this,arguments):L,typeof N=="function"?N.apply(this,arguments):N),t[I(840)](this,arguments),a)},null,j)},y.translateTo=function(D,L,N,j,P){const I=e;y[I(1368)](D,function(){const K=I;var _=t[K(840)](this,arguments),R=this.__zoom,$=j==null?M(_):typeof j===K(1240)?j[K(840)](this,arguments):j;return o(Wt.translate($[0],$[1])[K(1783)](R.k).translate(typeof L===K(1240)?-L[K(840)](this,arguments):-L,typeof N=="function"?-N[K(840)](this,arguments):-N),_,a)},j,P)};function w(D,L){const N=e;return L=Math.max(i[0],Math[N(382)](i[1],L)),L===D.k?D:new S0(L,D.x,D.y)}function m(D,L,N){var j=L[0]-N[0]*D.k,P=L[1]-N[1]*D.k;return j===D.x&&P===D.y?D:new S0(D.k,j,P)}function M(D){return[(+D[0][0]+ +D[1][0])/2,(+D[0][1]+ +D[1][1])/2]}function S(D,L,N,j){const P=e;D.on(P(610),function(){const I=P;U(this,arguments)[I(1309)](j)[I(385)]()}).on(P(777),function(){const I=P;U(this,arguments)[I(1309)](j)[I(453)]()})[P(1002)](P(430),function(){const I=P;var K=this,_=arguments,R=U(K,_).event(j),$=t[I(840)](K,_),oe=N==null?M($):typeof N===I(1240)?N.apply(K,_):N,de=Math.max($[1][0]-$[0][0],$[1][1]-$[0][1]),se=K.__zoom,fe=typeof L=="function"?L.apply(K,_):L,ie=l(se[I(1546)](oe).concat(de/se.k),fe.invert(oe)[I(1094)](de/fe.k));return function(F){const re=I;if(F===1)F=fe;else{var J=ie(F),k=de/J[2];F=new S0(k,oe[0]-J[0]*k,oe[1]-J[1]*k)}R[re(430)](null,F)}})}function U(D,L,N){return!N&&D[e(1383)]||new W(D,L)}function W(D,L){const N=e;this[N(727)]=D,this.args=L,this[N(290)]=0,this.sourceEvent=null,this.extent=t[N(840)](D,L),this.taps=0}W.prototype={event:function(D){return D&&(this.sourceEvent=D),this},start:function(){const D=e;return++this.active===1&&(this[D(727)][D(1383)]=this,this.emit("start")),this},zoom:function(D,L){const N=e;return this[N(505)]&&D!==N(505)&&(this[N(505)][1]=L.invert(this[N(505)][0])),this.touch0&&D!=="touch"&&(this.touch0[1]=L.invert(this.touch0[0])),this[N(1084)]&&D!==N(1136)&&(this[N(1084)][1]=L[N(1546)](this[N(1084)][0])),this[N(727)][N(271)]=L,this.emit(N(430)),this},end:function(){const D=e;return--this[D(290)]===0&&(delete this[D(727)][D(1383)],this[D(944)](D(453))),this},emit:function(D){const L=e;var N=e0(this[L(727)])[L(838)]();c[L(1018)](D,this[L(727)],new s5(D,{sourceEvent:this[L(577)],target:y,transform:this[L(727)][L(271)],dispatch:c}),N)}};function H(D,...L){const N=e;if(!n[N(840)](this,arguments))return;var j=U(this,L)[N(1309)](D),P=this.__zoom,I=Math[N(1526)](i[0],Math[N(382)](i[1],P.k*Math[N(1530)](2,x[N(840)](this,arguments)))),K=d0(D);if(j[N(971)])(j[N(505)][0][0]!==K[0]||j[N(505)][0][1]!==K[1])&&(j.mouse[1]=P[N(1546)](j[N(505)][0]=K)),clearTimeout(j.wheel);else{if(P.k===I)return;j[N(505)]=[K,P[N(1546)](K)],Ht(this),j[N(385)]()}Kn(D),j.wheel=setTimeout(_,h),j[N(430)](N(505),o(m(w(P,I),j[N(505)][0],j[N(505)][1]),j.extent,a));function _(){const R=N;j[R(971)]=null,j.end()}}function A(D,...L){const N=e;if(g||!n[N(840)](this,arguments))return;var j=D[N(1541)],P=U(this,L,!0)[N(1309)](D),I=e0(D[N(1430)]).on("mousemove.zoom",$,!0).on(N(521),oe,!0),K=d0(D,j),_=D.clientX,R=D[N(1772)];ri(D.view),no(D),P[N(505)]=[K,this[N(271)][N(1546)](K)],Ht(this),P[N(385)]();function $(de){const se=N;if(Kn(de),!P[se(1219)]){var fe=de[se(265)]-_,ie=de.clientY-R;P[se(1219)]=fe*fe+ie*ie>p}P[se(1309)](de)[se(430)](se(505),o(m(P[se(727)][se(271)],P[se(505)][0]=d0(de,j),P.mouse[1]),P[se(569)],a))}function oe(de){const se=N;I.on(se(1832),null),ii(de[se(1430)],P.moved),Kn(de),P[se(1309)](de)[se(453)]()}}function q(D,...L){const N=e;if(n.apply(this,arguments)){var j=this[N(271)],P=d0(D[N(1232)]?D.changedTouches[0]:D,this),I=j.invert(P),K=j.k*(D[N(857)]?.5:2),_=o(m(w(j,K),P,I),t[N(840)](this,L),a);Kn(D),u>0?e0(this)[N(869)]()[N(1779)](u)[N(1018)](S,_,P,D):e0(this)[N(1018)](y[N(1368)],_,P,D)}}function T(D,...L){const N=e;if(n[N(840)](this,arguments)){var j=D.touches,P=j[N(655)],I=U(this,L,D[N(1232)][N(655)]===P)[N(1309)](D),K,_,R,$;for(no(D),_=0;_<P;++_)R=j[_],$=d0(R,this),$=[$,this[N(271)][N(1546)]($),R[N(1737)]],I.touch0?!I[N(1084)]&&I.touch0[2]!==$[2]&&(I[N(1084)]=$,I[N(1780)]=0):(I.touch0=$,K=!0,I[N(1780)]=1+!!f);f&&(f=clearTimeout(f)),K&&(I[N(1780)]<2&&(b=$[0],f=setTimeout(function(){f=null},v)),Ht(this),I[N(385)]())}}function O(D,...L){const N=e;if(this[N(1383)]){var j=U(this,L)[N(1309)](D),P=D[N(1232)],I=P[N(655)],K,_,R,$;for(Kn(D),K=0;K<I;++K)_=P[K],R=d0(_,this),j.touch0&&j[N(198)][2]===_[N(1737)]?j[N(198)][0]=R:j[N(1084)]&&j[N(1084)][2]===_[N(1737)]&&(j[N(1084)][0]=R);if(_=j[N(727)][N(271)],j.touch1){var oe=j.touch0[0],de=j[N(198)][1],se=j.touch1[0],fe=j[N(1084)][1],ie=(ie=se[0]-oe[0])*ie+(ie=se[1]-oe[1])*ie,F=(F=fe[0]-de[0])*F+(F=fe[1]-de[1])*F;_=w(_,Math[N(276)](ie/F)),R=[(oe[0]+se[0])/2,(oe[1]+se[1])/2],$=[(de[0]+fe[0])/2,(de[1]+fe[1])/2]}else if(j[N(198)])R=j[N(198)][0],$=j.touch0[1];else return;j.zoom("touch",o(m(_,R,$),j.extent,a))}}function Z(D,...L){const N=e;if(this[N(1383)]){var j=U(this,L).event(D),P=D.changedTouches,I=P.length,K,_;for(no(D),g&&clearTimeout(g),g=setTimeout(function(){g=null},v),K=0;K<I;++K)_=P[K],j.touch0&&j.touch0[2]===_.identifier?delete j[N(198)]:j[N(1084)]&&j[N(1084)][2]===_[N(1737)]&&delete j[N(1084)];if(j[N(1084)]&&!j[N(198)]&&(j[N(198)]=j[N(1084)],delete j[N(1084)]),j[N(198)])j[N(198)][1]=this.__zoom[N(1546)](j[N(198)][0]);else if(j.end(),j[N(1780)]===2&&(_=d0(_,this),Math[N(1221)](b[0]-_[0],b[1]-_[1])<C)){var R=e0(this).on(N(1791));R&&R[N(840)](this,arguments)}}}return y[e(370)]=function(D){return arguments[e(655)]?(x=typeof D=="function"?D:Vt(+D),y):x},y[e(1343)]=function(D){return arguments[e(655)]?(n=typeof D=="function"?D:Vt(!!D),y):n},y[e(1363)]=function(D){return arguments[e(655)]?(r=typeof D=="function"?D:Vt(!!D),y):r},y[e(569)]=function(D){const L=e;return arguments[L(655)]?(t=typeof D===L(1240)?D:Vt([[+D[0][0],+D[0][1]],[+D[1][0],+D[1][1]]]),y):t},y[e(344)]=function(D){return arguments[e(655)]?(i[0]=+D[0],i[1]=+D[1],y):[i[0],i[1]]},y[e(320)]=function(D){return arguments[e(655)]?(a[0][0]=+D[0][0],a[1][0]=+D[1][0],a[0][1]=+D[0][1],a[1][1]=+D[1][1],y):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},y[e(1606)]=function(D){return arguments[e(655)]?(o=D,y):o},y[e(1779)]=function(D){return arguments.length?(u=+D,y):u},y[e(1457)]=function(D){return arguments.length?(l=D,y):l},y.on=function(){const D=e;var L=c.on[D(840)](c,arguments);return L===c?y:L},y[e(1632)]=function(D){const L=e;return arguments[L(655)]?(p=(D=+D)*D,y):Math[L(276)](p)},y[e(892)]=function(D){return arguments[e(655)]?(C=+D,y):C},y}const n0={error001:()=>s(1500),error002:()=>s(1200),error003:e=>'Node type "'+e+s(212),error004:()=>s(1862),error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>s(1345)+e+s(425),error009:e=>s(1331)+e+s(1117),error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>"Couldn't create edge for "+e+s(1607)+(e===s(248)?t:o)+'", edge id: '+n+".",error010:()=>s(648),error011:e=>s(1562)+e+s(212),error012:e=>s(1463)+e+'" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.',error013:(e=s(662))=>s(1910)+e+s(788),error014:()=>s(1328),error015:()=>s(1061)},Rn=[[Number.NEGATIVE_INFINITY,Number[s(2005)]],[Number[s(1665)],Number[s(1665)]]],Oi=[s(189)," ",s(1249)],Gi={"node.a11yDescription.default":s(1381),"node.a11yDescription.keyboardDisabled":s(284),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>s(1492)+e+s(640)+n+s(981)+t,"edge.a11yDescription.default":s(1439),"controls.ariaLabel":s(1155),"controls.zoomIn.ariaLabel":s(811),"controls.zoomOut.ariaLabel":s(747),"controls.fitView.ariaLabel":s(1602),"controls.interactive.ariaLabel":s(804),"minimap.ariaLabel":s(1654),"handle.ariaLabel":"Handle"};var bn;(function(e){const n=s;e[n(1519)]=n(1195),e[n(1376)]=n(496)})(bn||(bn={}));var Q0;(function(e){const n=s;e[n(1158)]=n(259),e[n(997)]=n(893),e[n(523)]=n(778)})(Q0||(Q0={}));var Jn;(function(e){const n=s;e[n(1604)]=n(1011),e.Full=n(195)})(Jn||(Jn={}));const Ti={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var Y0;(function(e){const n=s;e[n(221)]=n(1846),e[n(1042)]=n(1942),e[n(645)]=n(1326),e.SmoothStep=n(745),e[n(1782)]=n(874)})(Y0||(Y0={}));var qt;(function(e){const n=s;e[n(596)]="arrow",e.ArrowClosed=n(1304)})(qt||(qt={}));var he;(function(e){const n=s;e[n(1826)]=n(219),e[n(347)]=n(755),e[n(1987)]="right",e[n(1060)]=n(1663)})(he||(he={}));const Hi={[he[s(1826)]]:he[s(1987)],[he[s(1987)]]:he[s(1826)],[he[s(347)]]:he.Bottom,[he[s(1060)]]:he[s(347)]};function Vi(e){const n=s;return e===null?null:n(e?1396:1936)}const Wi=e=>"id"in e&&"source"in e&&s(1552)in e,h5=e=>"id"in e&&s(360)in e&&!(s(248)in e)&&!("target"in e),to=e=>"id"in e&&s(628)in e&&!(s(248)in e)&&!(s(1552)in e),Qn=(e,n=[0,0])=>{const t=s,{width:o,height:x}=k0(e),r=e.origin??n,i=o*r[0],a=x*r[1];return{x:e[t(360)].x-i,y:e[t(360)].y-a}},g5=(e,n={nodeOrigin:[0,0]})=>{const t=s;if(process.env.NODE_ENV==="development"&&!n.nodeLookup&&console[t(1206)](t(716)),e[t(655)]===0)return{x:0,y:0,width:0,height:0};const o=e[t(1685)]((x,r)=>{const i=t,a=typeof r===i(1025);let u=!n[i(384)]&&!a?r:void 0;n[i(384)]&&(u=a?n[i(384)][i(1292)](r):to(r)?r:n[i(384)][i(1292)](r.id));const l=u?Kt(u,n.nodeOrigin):{x:0,y:0,x2:0,y2:0};return Xt(x,l)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Zt(o)},Fn=(e,n={})=>{const t=s;let o={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e[t(1626)](r=>{const i=t;(n.filter===void 0||n[i(1343)](r))&&(o=Xt(o,Kt(r)),x=!0)}),x?Zt(o):{x:0,y:0,width:0,height:0}},xo=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const a=s,u={...et(n,[t,o,x]),width:n[a(1473)]/x,height:n.height/x},l=[];for(const c of e[a(1465)]()){const{measured:f,selectable:b=!0,hidden:g=!1}=c;if(i&&!b||g)continue;const v=f[a(1473)]??c[a(1473)]??c[a(718)]??null,h=f[a(1187)]??c[a(1187)]??c.initialHeight??null,p=_n(u,mn(c)),C=(v??0)*(h??0),y=r&&p>0;(!c.internals[a(536)]||y||p>=C||c[a(1640)])&&l.push(c)}return l},b5=(e,n)=>{const t=s,o=new Set;return e[t(1626)](x=>{o[t(1184)](x.id)}),n[t(1343)](x=>o.has(x[t(248)])||o.has(x[t(1552)]))};function y5(e,n){const t=s,o=new Map,x=n?.nodes?new Set(n.nodes[t(411)](r=>r.id)):null;return e[t(1626)](r=>{const i=t;r[i(1513)].width&&r[i(1513)][i(1187)]&&(n?.[i(1322)]||!r[i(1965)])&&(!x||x[i(1235)](r.id))&&o.set(r.id,r)}),o}async function m5({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const a=s;if(e[a(1860)]===0)return Promise[a(1053)](!0);const u=y5(e,i),l=Fn(u),c=ro(l,n,t,i?.[a(495)]??x,i?.[a(1359)]??r,i?.[a(593)]??.1);return await o[a(1669)](c,{duration:i?.[a(1779)],ease:i?.ease,interpolate:i?.[a(1457)]}),Promise[a(1053)](!0)}function qi({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=s,a=t[i(1292)](e),u=a[i(563)]?t[i(1292)](a[i(563)]):void 0,{x:l,y:c}=u?u[i(628)][i(1217)]:{x:0,y:0},f=a[i(1619)]??o;let b=a[i(569)]||x;if(a[i(569)]===i(338)&&!a[i(1512)])if(!u)r?.("005",n0[i(368)]());else{const v=u[i(1513)][i(1473)],h=u[i(1513)][i(1187)];v&&h&&(b=[[l,c],[l+v,c+h]])}else u&&wn(a[i(569)])&&(b=[[a.extent[0][0]+l,a[i(569)][0][1]+c],[a.extent[1][0]+l,a[i(569)][1][1]+c]]);const g=wn(b)?F0(n,b,a[i(1513)]):n;return(a[i(1513)][i(1473)]===void 0||a[i(1513)][i(1187)]===void 0)&&r?.(i(1092),n0[i(1886)]()),{position:{x:g.x-l+(a[i(1513)][i(1473)]??0)*f[0],y:g.y-c+(a[i(1513)][i(1187)]??0)*f[1]},positionAbsolute:g}}async function v5({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=s,i=new Set(e.map(g=>g.id)),a=[];for(const g of t){if(g[r(369)]===!1)continue;const v=i[r(1235)](g.id),h=!v&&g[r(563)]&&a[r(1241)](p=>p.id===g.parentId);(v||h)&&a.push(g)}const u=new Set(n.map(g=>g.id)),l=o[r(1343)](g=>g.deletable!==!1),c=b5(a,l),f=c;for(const g of l)u[r(1235)](g.id)&&!f.find(h=>h.id===g.id)&&f.push(g);if(!x)return{edges:f,nodes:a};const b=await x({nodes:a,edges:f});return typeof b===r(1524)?b?{edges:f,nodes:a}:{edges:[],nodes:[]}:b}const yn=(e,n=0,t=1)=>Math[s(382)](Math.max(e,n),t),F0=(e={x:0,y:0},n,t)=>({x:yn(e.x,n[0][0],n[1][0]-(t?.width??0)),y:yn(e.y,n[0][1],n[1][1]-(t?.[s(1187)]??0))});function Xi(e,n,t){const o=s,{width:x,height:r}=k0(t),{x:i,y:a}=t.internals[o(1217)];return F0(e,[[i,a],[i+x,a+r]],n)}const Zi=(e,n,t)=>{const o=s;return e<n?yn(Math[o(1426)](e-n),1,n)/n:e>t?-yn(Math.abs(e-t),1,n)/n:0},Ki=(e,n,t=15,o=40)=>{const x=s,r=Zi(e.x,o,n[x(1473)]-o)*t,i=Zi(e.y,o,n[x(1187)]-o)*t;return[r,i]},Xt=(e,n)=>({x:Math.min(e.x,n.x),y:Math[s(382)](e.y,n.y),x2:Math[s(1526)](e.x2,n.x2),y2:Math[s(1526)](e.y2,n.y2)}),oo=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),Zt=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),mn=(e,n=[0,0])=>{const t=s,{x:o,y:x}=to(e)?e[t(628)][t(1217)]:Qn(e,n);return{x:o,y:x,width:e[t(1513)]?.[t(1473)]??e[t(1473)]??e[t(718)]??0,height:e[t(1513)]?.[t(1187)]??e[t(1187)]??e[t(2001)]??0}},Kt=(e,n=[0,0])=>{const t=s,{x:o,y:x}=to(e)?e[t(628)][t(1217)]:Qn(e,n);return{x:o,y:x,x2:o+(e[t(1513)]?.[t(1473)]??e.width??e[t(718)]??0),y2:x+(e.measured?.height??e[t(1187)]??e[t(2001)]??0)}},Ri=(e,n)=>Zt(Xt(oo(e),oo(n))),_n=(e,n)=>{const t=s,o=Math[t(1526)](0,Math[t(382)](e.x+e[t(1473)],n.x+n[t(1473)])-Math[t(1526)](e.x,n.x)),x=Math[t(1526)](0,Math.min(e.y+e[t(1187)],n.y+n.height)-Math[t(1526)](e.y,n.y));return Math[t(317)](o*x)},Ji=e=>f0(e[s(1473)])&&f0(e[s(1187)])&&f0(e.x)&&f0(e.y),f0=e=>!isNaN(e)&&isFinite(e),Qi=(e,n)=>{const t=s;process.env.NODE_ENV===t(313)&&console[t(1206)](t(1432)+n+t(1124)+e)},$n=(e,n=[1,1])=>{const t=s;return{x:n[0]*Math.round(e.x/n[0]),y:n[1]*Math[t(1109)](e.y/n[1])}},et=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const a={x:(e-t)/x,y:(n-o)/x};return r?$n(a,i):a},Rt=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function vn(e,n){const t=s;if(typeof e===t(1781))return Math[t(643)]((n-n/(1+e))*.5);if(typeof e=="string"&&e.endsWith("px")){const o=parseFloat(e);if(!Number.isNaN(o))return Math[t(643)](o)}if(typeof e===t(1025)&&e[t(666)]("%")){const o=parseFloat(e);if(!Number.isNaN(o))return Math.floor(n*o*.01)}return console.error(t(1933)+e+'" is invalid. Please provide a number or a string with a valid unit (px or %).'),0}function w5(e,n,t){const o=s;if(typeof e===o(1025)||typeof e===o(1781)){const x=vn(e,t),r=vn(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e===o(1866)){const x=vn(e[o(755)]??e.y??0,t),r=vn(e[o(1663)]??e.y??0,t),i=vn(e[o(219)]??e.x??0,n),a=vn(e[o(1421)]??e.x??0,n);return{top:x,right:a,bottom:r,left:i,x:i+a,y:x+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function p5(e,n,t,o,x,r){const i=s,{x:a,y:u}=Rt(e,[n,t,o]),{x:l,y:c}=Rt({x:e.x+e[i(1473)],y:e.y+e[i(1187)]},[n,t,o]),f=x-l,b=r-c;return{left:Math[i(643)](a),top:Math[i(643)](u),right:Math[i(643)](f),bottom:Math[i(643)](b)}}const ro=(e,n,t,o,x,r)=>{const i=s,a=w5(r,n,t),u=(n-a.x)/e[i(1473)],l=(t-a.y)/e[i(1187)],c=Math[i(382)](u,l),f=yn(c,o,x),b=e.x+e[i(1473)]/2,g=e.y+e[i(1187)]/2,v=n/2-b*f,h=t/2-g*f,p=p5(e,v,h,f,n,t),C={left:Math.min(p.left-a[i(219)],0),top:Math[i(382)](p[i(755)]-a[i(755)],0),right:Math[i(382)](p.right-a[i(1421)],0),bottom:Math.min(p[i(1663)]-a[i(1663)],0)};return{x:v-C[i(219)]+C[i(1421)],y:h-C[i(755)]+C.bottom,zoom:f}},nt=()=>typeof navigator<"u"&&navigator?.[s(1153)]?.[s(1224)]("Mac")>=0;function wn(e){const n=s;return e!=null&&e!==n(338)}function k0(e){const n=s;return{width:e.measured?.[n(1473)]??e.width??e.initialWidth??0,height:e.measured?.height??e[n(1187)]??e[n(2001)]??0}}function Fi(e){const n=s;return(e[n(1513)]?.width??e[n(1473)]??e[n(718)])!==void 0&&(e[n(1513)]?.[n(1187)]??e[n(1187)]??e.initialHeight)!==void 0}function _i(e,n={width:0,height:0},t,o,x){const r=s,i={...e},a=o.get(t);if(a){const u=a[r(1619)]||x;i.x+=a[r(628)][r(1217)].x-(n.width??0)*u[0],i.y+=a[r(628)][r(1217)].y-(n[r(1187)]??0)*u[1]}return i}function $i(e,n){const t=s;if(e.size!==n[t(1860)])return!1;for(const o of e)if(!n[t(1235)](o))return!1;return!0}function z5(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function C5(e){return{...Gi,...e||{}}}function tt(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=s,{x:i,y:a}=h0(e),u=et({x:i-(x?.[r(219)]??0),y:a-(x?.[r(755)]??0)},o),{x:l,y:c}=t?$n(u,n):u;return{xSnapped:l,ySnapped:c,...u}}const io=e=>({width:e.offsetWidth,height:e[s(531)]}),ea=e=>e?.[s(1208)]?.()||window?.[s(1747)],M5=[s(1536),"SELECT","TEXTAREA"];function na(e){const n=s,t=e[n(1338)]?.()?.[0]||e[n(1552)];return t?.[n(717)]!==1?!1:M5[n(561)](t[n(1792)])||t[n(729)](n(1483))||!!t.closest(n(1688))}const ta=e=>s(265)in e,h0=(e,n)=>{const t=s,o=ta(e),x=o?e[t(265)]:e[t(918)]?.[0].clientX,r=o?e.clientY:e[t(918)]?.[0].clientY;return{x:x-(n?.[t(219)]??0),y:r-(n?.[t(755)]??0)}},xa=(e,n,t,o,x)=>{const r=s,i=n[r(1588)]("."+e);return!i||!i[r(655)]?null:Array[r(1057)](i).map(a=>{const u=r,l=a[u(912)]();return{id:a[u(1658)]("data-handleid"),type:e,nodeId:x,position:a[u(1658)](u(890)),x:(l[u(219)]-t[u(219)])/o,y:(l[u(755)]-t[u(755)])/o,...io(a)}})};function oa({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:a}){const u=s,l=e*.125+x*.375+i*.375+t*.125,c=n*.125+r*.375+a*.375+o*.125,f=Math[u(1426)](l-e),b=Math[u(1426)](c-n);return[l,c,f,b]}function Jt(e,n){const t=s;return e>=0?.5*e:n*25*Math[t(276)](-e)}function ra({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=s;switch(e){case he[i(1826)]:return[n-Jt(n-o,r),t];case he.Right:return[n+Jt(o-n,r),t];case he.Top:return[n,t-Jt(t-x,r)];case he[i(1060)]:return[n,t+Jt(x-t,r)]}}function ia({sourceX:e,sourceY:n,sourcePosition:t=he[s(1060)],targetX:o,targetY:x,targetPosition:r=he[s(347)],curvature:i=.25}){const[a,u]=ra({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[l,c]=ra({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,b,g,v]=oa({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:a,sourceControlY:u,targetControlX:l,targetControlY:c});return["M"+e+","+n+" C"+a+","+u+" "+l+","+c+" "+o+","+x,f,b,g,v]}function aa({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=s,r=Math[x(1426)](t-e)/2,i=t<e?t+r:t-r,a=Math[x(1426)](o-n)/2,u=o<n?o+a:o-a;return[i,u,r,a]}function B5({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r=s(1415)}){const i=s;if(r===i(1774))return o;const a=x&&t?o+1e3:o,u=Math[i(1526)](e[i(563)]||x&&e[i(879)]?e[i(628)].z:0,n.parentId||x&&n[i(879)]?n[i(628)].z:0);return a+u}function D5({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=Xt(Kt(e),Kt(n));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-x[0]/x[2],y:-x[1]/x[2],width:t/x[2],height:o/x[2]};return _n(i,Zt(r))>0}const L5=({source:e,sourceHandle:n,target:t,targetHandle:o})=>"xy-edge__"+e+(n||"")+"-"+t+(o||""),N5=(e,n)=>{const t=s;return n[t(789)](o=>o[t(248)]===e[t(248)]&&o[t(1552)]===e[t(1552)]&&(o[t(1239)]===e[t(1239)]||!o[t(1239)]&&!e[t(1239)])&&(o[t(510)]===e.targetHandle||!o.targetHandle&&!e[t(510)]))},sa=(e,n,t={})=>{const o=s;if(!e.source||!e.target)return Qi("006",n0[o(1225)]()),n;const x=t.getEdgeId||L5;let r;return Wi(e)?r={...e}:r={...e,id:x(e)},N5(r,n)?n:(r.sourceHandle===null&&delete r.sourceHandle,r[o(510)]===null&&delete r[o(510)],n.concat(r))};function la({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,a]=aa({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,a]}const da={[he[s(1826)]]:{x:-1,y:0},[he.Right]:{x:1,y:0},[he[s(347)]]:{x:0,y:-1},[he[s(1060)]]:{x:0,y:1}},S5=({source:e,sourcePosition:n=he[s(1060)],target:t})=>{const o=s;return n===he[o(1826)]||n===he[o(1987)]?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1}},ca=(e,n)=>Math[s(276)](Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2));function k5({source:e,sourcePosition:n=he[s(1060)],target:t,targetPosition:o=he[s(347)],center:x,offset:r,stepPosition:i}){const a=s,u=da[n],l=da[o],c={x:e.x+u.x*r,y:e.y+u.y*r},f={x:t.x+l.x*r,y:t.y+l.y*r},b=S5({source:c,sourcePosition:n,target:f}),g=b.x!==0?"x":"y",v=b[g];let h=[],p,C;const y={x:0,y:0},w={x:0,y:0},[,,m,M]=aa({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(u[g]*l[g]===-1){g==="x"?(p=x.x??c.x+(f.x-c.x)*i,C=x.y??(c.y+f.y)/2):(p=x.x??(c.x+f.x)/2,C=x.y??c.y+(f.y-c.y)*i);const H=[{x:p,y:c.y},{x:p,y:f.y}],A=[{x:c.x,y:C},{x:f.x,y:C}];u[g]===v?h=g==="x"?H:A:h=g==="x"?A:H}else{const H=[{x:c.x,y:f.y}],A=[{x:f.x,y:c.y}];if(g==="x"?h=u.x===v?A:H:h=u.y===v?H:A,n===o){const D=Math[a(1426)](e[g]-t[g]);if(D<=r){const L=Math[a(382)](r-1,r-D);u[g]===v?y[g]=(c[g]>e[g]?-1:1)*L:w[g]=(f[g]>t[g]?-1:1)*L}}if(n!==o){const D=g==="x"?"y":"x",L=u[g]===l[D],N=c[D]>f[D],j=c[D]<f[D];(u[g]===1&&(!L&&N||L&&j)||u[g]!==1&&(!L&&j||L&&N))&&(h=g==="x"?H:A)}const q={x:c.x+y.x,y:c.y+y.y},T={x:f.x+w.x,y:f.y+w.y},O=Math[a(1526)](Math[a(1426)](q.x-h[0].x),Math[a(1426)](T.x-h[0].x)),Z=Math[a(1526)](Math[a(1426)](q.y-h[0].y),Math[a(1426)](T.y-h[0].y));O>=Z?(p=(q.x+T.x)/2,C=h[0].y):(p=h[0].x,C=(q.y+T.y)/2)}const S={x:c.x+y.x,y:c.y+y.y},U={x:f.x+w.x,y:f.y+w.y};return[[e,...S.x!==h[0].x||S.y!==h[0].y?[S]:[],...h,...U.x!==h[h[a(655)]-1].x||U.y!==h[h[a(655)]-1].y?[U]:[],t],p,C,m,M]}function P5(e,n,t,o){const x=s,r=Math[x(382)](ca(e,n)/2,ca(n,t)/2,o),{x:i,y:a}=n;if(e.x===i&&i===t.x||e.y===a&&a===t.y)return"L"+i+" "+a;if(e.y===a){const c=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(i+r*c)+","+a+"Q "+i+","+a+" "+i+","+(a+r*f)}const u=e.x<t.x?1:-1,l=e.y<t.y?-1:1;return"L "+i+","+(a+r*l)+"Q "+i+","+a+" "+(i+r*u)+","+a}function ao({sourceX:e,sourceY:n,sourcePosition:t=he.Bottom,targetX:o,targetY:x,targetPosition:r=he[s(347)],borderRadius:i=5,centerX:a,centerY:u,offset:l=20,stepPosition:c=.5}){const f=s,[b,g,v,h,p]=k5({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:a,y:u},offset:l,stepPosition:c});let C="M"+b[0].x+" "+b[0].y;for(let y=1;y<b[f(655)]-1;y++)C+=P5(b[y-1],b[y],b[y+1],i);return C+="L"+b[b[f(655)]-1].x+" "+b[b[f(655)]-1].y,[C,g,v,h,p]}function ua(e){const n=s;return e&&!!(e[n(628)][n(536)]||e.handles?.[n(655)])&&!!(e.measured[n(1473)]||e.width||e.initialWidth)}function I5(e){const n=s,{sourceNode:t,targetNode:o}=e;if(!ua(t)||!ua(o))return null;const x=t[n(628)][n(536)]||fa(t[n(1768)]),r=o.internals[n(536)]||fa(o.handles),i=ha(x?.[n(248)]??[],e[n(1239)]),a=ha(e.connectionMode===bn[n(1519)]?r?.[n(1552)]??[]:(r?.[n(1552)]??[]).concat(r?.source??[]),e[n(510)]);if(!i||!a)return e.onError?.("008",n0[n(959)](i?"target":"source",{id:e.id,sourceHandle:e[n(1239)],targetHandle:e[n(510)]})),null;const u=i?.[n(360)]||he[n(1060)],l=a?.position||he[n(347)],c=_0(t,i,u),f=_0(o,a,l);return{sourceX:c.x,sourceY:c.y,targetX:f.x,targetY:f.y,sourcePosition:u,targetPosition:l}}function fa(e){const n=s;if(!e)return null;const t=[],o=[];for(const x of e)x[n(1473)]=x[n(1473)]??1,x[n(1187)]=x[n(1187)]??1,x[n(415)]===n(248)?t[n(829)](x):x[n(415)]==="target"&&o[n(829)](x);return{source:t,target:o}}function _0(e,n,t=he[s(1826)],o=!1){const x=s,r=(n?.x??0)+e[x(628)][x(1217)].x,i=(n?.y??0)+e[x(628)][x(1217)].y,{width:a,height:u}=n??k0(e);if(o)return{x:r+a/2,y:i+u/2};switch(n?.[x(360)]??t){case he[x(347)]:return{x:r+a/2,y:i};case he[x(1987)]:return{x:r+a,y:i+u/2};case he[x(1060)]:return{x:r+a/2,y:i+u};case he[x(1826)]:return{x:r,y:i+u/2}}}function ha(e,n){const t=s;return e&&(n?e[t(1241)](o=>o.id===n):e[0])||null}function so(e,n){const t=s;return e?typeof e===t(1025)?e:""+(n?n+"__":"")+Object[t(1182)](e)[t(1382)]().map(x=>x+"="+e[x])[t(358)]("&"):""}function A5(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=s,i=new Set;return e.reduce((a,u)=>{const l=_0x5bb9;return[u.markerStart||o,u[l(1162)]||x][l(1626)](c=>{const f=l;if(c&&typeof c===f(1866)){const b=so(c,n);!i[f(1235)](b)&&(a.push({id:b,color:c[f(899)]||t,...c}),i[f(1184)](b))}}),a},[])[r(1382)]((a,u)=>a.id[r(1243)](u.id))}const ga=1e3,Y5=10,lo={nodeOrigin:[0,0],nodeExtent:Rn,elevateNodesOnSelect:!0,zIndexMode:s(1415),defaults:{}},j5={...lo,checkEquality:!0};function co(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function E5(e,n,t){const o=s,x=co(lo,t);for(const r of e[o(1465)]())if(r.parentId)ho(r,e,n,x);else{const i=Qn(r,x[o(1119)]),a=wn(r[o(569)])?r[o(569)]:x[o(858)],u=F0(i,a,k0(r));r[o(628)][o(1217)]=u}}function U5(e,n){const t=s;if(!e[t(1768)])return e[t(1513)]?n?.internals[t(536)]:void 0;const o=[],x=[];for(const r of e[t(1768)]){const i={id:r.id,width:r[t(1473)]??1,height:r[t(1187)]??1,nodeId:e.id,x:r.x,y:r.y,position:r[t(360)],type:r[t(415)]};r[t(415)]===t(248)?o[t(829)](i):r.type===t(1552)&&x[t(829)](i)}return{source:o,target:x}}function uo(e){return e===s(1774)}function fo(e,n,t,o={}){const x=s,r=co(j5,o),i={i:0},a=new Map(n),u=r?.elevateNodesOnSelect&&!uo(r[x(602)])?ga:0;let l=e.length>0,c=!1;n.clear(),t.clear();for(const f of e){let b=a[x(1292)](f.id);if(r.checkEquality&&f===b?.[x(628)][x(258)])n.set(f.id,b);else{const g=Qn(f,r[x(1119)]),v=wn(f.extent)?f[x(569)]:r[x(858)],h=F0(g,v,k0(f));b={...r[x(714)],...f,measured:{width:f[x(1513)]?.width,height:f[x(1513)]?.[x(1187)]},internals:{positionAbsolute:h,handleBounds:U5(f,b),z:ba(f,u,r[x(602)]),userNode:f}},n[x(1191)](f.id,b)}(b[x(1513)]===void 0||b[x(1513)][x(1473)]===void 0||b[x(1513)][x(1187)]===void 0)&&!b[x(1965)]&&(l=!1),f.parentId&&ho(b,n,t,o,i),c||=f.selected??!1}return{nodesInitialized:l,hasSelectedNodes:c}}function O5(e,n){const t=s;if(!e.parentId)return;const o=n[t(1292)](e.parentId);o?o[t(1191)](e.id,e):n[t(1191)](e[t(563)],new Map([[e.id,e]]))}function ho(e,n,t,o,x){const r=s,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:u,zIndexMode:l}=co(lo,o),c=e[r(563)],f=n[r(1292)](c);if(!f){console[r(1206)](r(994)+c+" not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.");return}O5(e,t),x&&!f.parentId&&f[r(628)].rootParentIndex===void 0&&l===r(386)&&(f[r(628)][r(1724)]=++x.i,f[r(628)].z=f[r(628)].z+x.i*Y5),x&&f[r(628)][r(1724)]!==void 0&&(x.i=f[r(628)][r(1724)]);const b=i&&!uo(l)?ga:0,{x:g,y:v,z:h}=G5(e,f,a,u,b,l),{positionAbsolute:p}=e[r(628)],C=g!==p.x||v!==p.y;(C||h!==e[r(628)].z)&&n[r(1191)](e.id,{...e,internals:{...e[r(628)],positionAbsolute:C?{x:g,y:v}:p,z:h}})}function ba(e,n,t){const o=s,x=f0(e[o(1912)])?e.zIndex:0;return uo(t)?x:x+(e[o(879)]?n:0)}function G5(e,n,t,o,x,r){const i=s,{x:a,y:u}=n.internals.positionAbsolute,l=k0(e),c=Qn(e,t),f=wn(e[i(569)])?F0(c,e[i(569)],l):c;let b=F0({x:a+f.x,y:u+f.y},o,l);e.extent==="parent"&&(b=Xi(b,l,n));const g=ba(e,x,r),v=n[i(628)].z??0;return{x:b.x,y:b.y,z:v>=g?v+1:g}}function go(e,n,t,o=[0,0]){const x=s,r=[],i=new Map;for(const a of e){const u=n.get(a.parentId);if(!u)continue;const l=i[x(1292)](a[x(563)])?.expandedRect??mn(u),c=Ri(l,a[x(1302)]);i[x(1191)](a.parentId,{expandedRect:c,parent:u})}return i[x(1860)]>0&&i[x(1626)](({expandedRect:a,parent:u},l)=>{const c=x,f=u[c(628)][c(1217)],b=k0(u),g=u.origin??o,v=a.x<f.x?Math[c(1109)](Math[c(1426)](f.x-a.x)):0,h=a.y<f.y?Math.round(Math.abs(f.y-a.y)):0,p=Math[c(1526)](b[c(1473)],Math[c(1109)](a[c(1473)])),C=Math[c(1526)](b.height,Math[c(1109)](a.height)),y=(p-b[c(1473)])*g[0],w=(C-b[c(1187)])*g[1];(v>0||h>0||y||w)&&(r.push({id:l,type:c(360),position:{x:u.position.x-v+y,y:u[c(360)].y-h+w}}),t.get(l)?.[c(1626)](m=>{const M=c;!e[M(789)](S=>S.id===m.id)&&r[M(829)]({id:m.id,type:"position",position:{x:m[M(360)].x+v,y:m[M(360)].y+h}})})),(b[c(1473)]<a[c(1473)]||b.height<a[c(1187)]||v||h)&&r[c(829)]({id:l,type:c(508),setAttributes:!0,dimensions:{width:p+(v?g[0]*v-y:0),height:C+(h?g[1]*h-w:0)}})}),r}function T5(e,n,t,o,x,r,i){const a=s,u=o?.[a(1557)](".xyflow__viewport");let l=!1;if(!u)return{changes:[],updatedInternals:l};const c=[],f=window[a(691)](u),{m22:b}=new window[a(414)](f[a(1368)]),g=[];for(const v of e.values()){const h=n[a(1292)](v.id);if(!h)continue;if(h[a(1965)]){n.set(h.id,{...h,internals:{...h[a(628)],handleBounds:void 0}}),l=!0;continue}const p=io(v[a(323)]),C=h.measured[a(1473)]!==p[a(1473)]||h.measured.height!==p[a(1187)];if(!!(p[a(1473)]&&p[a(1187)]&&(C||!h[a(628)][a(536)]||v[a(1058)]))){const w=v[a(323)][a(912)](),m=wn(h.extent)?h[a(569)]:r;let{positionAbsolute:M}=h[a(628)];h[a(563)]&&h[a(569)]===a(338)?M=Xi(M,p,n[a(1292)](h[a(563)])):m&&(M=F0(M,m,p));const S={...h,measured:p,internals:{...h[a(628)],positionAbsolute:M,handleBounds:{source:xa(a(248),v[a(323)],w,b,h.id),target:xa(a(1552),v[a(323)],w,b,h.id)}}};n[a(1191)](h.id,S),h[a(563)]&&ho(S,n,t,{nodeOrigin:x,zIndexMode:i}),l=!0,C&&(c[a(829)]({id:h.id,type:a(508),dimensions:p}),h[a(1512)]&&h[a(563)]&&g[a(829)]({id:h.id,parentId:h[a(563)],rect:mn(S,x)}))}}if(g.length>0){const v=go(g,n,t,x);c.push(...v)}return{changes:c,updatedInternals:l}}async function H5({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=s;if(!n||!e.x&&!e.y)return Promise[i(1053)](!1);const a=await n[i(1170)]({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),u=!!a&&(a.x!==t[0]||a.y!==t[1]||a.k!==t[2]);return Promise[i(1053)](u)}function ya(e,n,t,o,x,r){const i=s;let a=x;const u=o.get(a)||new Map;o[i(1191)](a,u[i(1191)](t,n)),a=x+"-"+e;const l=o.get(a)||new Map;if(o[i(1191)](a,l[i(1191)](t,n)),r){a=x+"-"+e+"-"+r;const c=o.get(a)||new Map;o[i(1191)](a,c.set(t,n))}}function ma(e,n,t){const o=s;e[o(1900)](),n[o(1900)]();for(const x of t){const{source:r,target:i,sourceHandle:a=null,targetHandle:u=null}=x,l={edgeId:x.id,source:r,target:i,sourceHandle:a,targetHandle:u},c=r+"-"+a+"--"+i+"-"+u,f=i+"-"+u+"--"+r+"-"+a;ya(o(248),l,f,e,r,a),ya(o(1552),l,c,e,i,u),n[o(1191)](x.id,x)}}function va(e,n){const t=s;if(!e[t(563)])return!1;const o=n.get(e[t(563)]);return o?o[t(879)]?!0:va(o,n):!1}function wa(e,n,t){const o=s;let x=e;do{if(x?.[o(621)]?.(n))return!0;if(x===t)return!1;x=x?.parentElement}while(x);return!1}function V5(e,n,t,o){const x=s,r=new Map;for(const[i,a]of e)if((a[x(879)]||a.id===o)&&(!a.parentId||!va(a,e))&&(a.draggable||n&&typeof a[x(1414)]>"u")){const u=e.get(i);u&&r[x(1191)](i,{id:i,position:u.position||{x:0,y:0},distance:{x:t.x-u[x(628)].positionAbsolute.x,y:t.y-u[x(628)][x(1217)].y},extent:u[x(569)],parentId:u.parentId,origin:u.origin,expandParent:u[x(1512)],internals:{positionAbsolute:u.internals[x(1217)]||{x:0,y:0}},measured:{width:u.measured[x(1473)]??0,height:u[x(1513)][x(1187)]??0}})}return r}function bo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=s,r=[];for(const[a,u]of n){const l=t[x(1292)](a)?.[x(628)][x(258)];l&&r[x(829)]({...l,position:u[x(360)],dragging:o})}if(!e)return[r[0],r];const i=t[x(1292)](e)?.[x(628)][x(258)];return[i?{...i,position:n[x(1292)](e)?.position||i[x(360)],dragging:o}:r[0],r]}function W5({dragItems:e,snapGrid:n,x:t,y:o}){const x=s,r=e[x(1465)]().next()[x(1303)];if(!r)return null;const i={x:t-r[x(922)].x,y:o-r[x(922)].y},a=$n(i,n);return{x:a.x-i.x,y:a.y-i.y}}function q5({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,a=new Map,u=!1,l={x:0,y:0},c=null,f=!1,b=null,g=!1,v=!1,h=null;function p({noDragClassName:y,handleSelector:w,domNode:m,isSelectable:M,nodeId:S,nodeClickDistance:U=0}){const W=_0x5bb9;b=e0(m);function H({x:O,y:Z}){const D=_0x5bb9,{nodeLookup:L,nodeExtent:N,snapGrid:j,snapToGrid:P,nodeOrigin:I,onNodeDrag:K,onSelectionDrag:_,onError:R,updateNodePositions:$}=n();r={x:O,y:Z};let oe=!1;const de=a[D(1860)]>1,se=de&&N?oo(Fn(a)):null,fe=de&&P?W5({dragItems:a,snapGrid:j,x:O,y:Z}):null;for(const[ie,F]of a){if(!L[D(1235)](ie))continue;let re={x:O-F[D(922)].x,y:Z-F[D(922)].y};P&&(re=fe?{x:Math.round(re.x+fe.x),y:Math[D(1109)](re.y+fe.y)}:$n(re,j));let J=null;if(de&&N&&!F.extent&&se){const{positionAbsolute:X}=F[D(628)],G=X.x-se.x+N[0][0],ne=X.x+F.measured.width-se.x2+N[1][0],ce=X.y-se.y+N[0][1],le=X.y+F.measured[D(1187)]-se.y2+N[1][1];J=[[G,ce],[ne,le]]}const{position:k,positionAbsolute:E}=qi({nodeId:ie,nextPosition:re,nodeLookup:L,nodeExtent:J||N,nodeOrigin:I,onError:R});oe=oe||F[D(360)].x!==k.x||F.position.y!==k.y,F.position=k,F[D(628)].positionAbsolute=E}if(v=v||oe,!!oe&&($(a,!0),h&&(o||K||!S&&_))){const[ie,F]=bo({nodeId:S,dragItems:a,nodeLookup:L});o?.(h,a,ie,F),K?.(h,ie,F),!S&&_?.(h,F)}}async function A(){if(!c)return;const{transform:O,panBy:Z,autoPanSpeed:D,autoPanOnNodeDrag:L}=n();if(!L){u=!1,cancelAnimationFrame(i);return}const[N,j]=Ki(l,c,D);(N!==0||j!==0)&&(r.x=(r.x??0)-N/O[2],r.y=(r.y??0)-j/O[2],await Z({x:N,y:j})&&H(r)),i=requestAnimationFrame(A)}function q(O){const Z=_0x5bb9,{nodeLookup:D,multiSelectionActive:L,nodesDraggable:N,transform:j,snapGrid:P,snapToGrid:I,selectNodesOnDrag:K,onNodeDragStart:_,onSelectionDragStart:R,unselectNodesAndEdges:$}=n();f=!0,(!K||!M)&&!L&&S&&!D[Z(1292)](S)?.[Z(879)]&&$(),M&&K&&S&&e?.(S);const oe=tt(O.sourceEvent,{transform:j,snapGrid:P,snapToGrid:I,containerBounds:c});if(r=oe,a=V5(D,N,oe,S),a[Z(1860)]>0&&(t||_||!S&&R)){const[de,se]=bo({nodeId:S,dragItems:a,nodeLookup:D});t?.(O[Z(577)],a,de,se),_?.(O[Z(577)],de,se),!S&&R?.(O[Z(577)],se)}}const T=ai()[W(1632)](U).on(W(385),O=>{const Z=W,{domNode:D,nodeDragThreshold:L,transform:N,snapGrid:j,snapToGrid:P}=n();c=D?.[Z(912)]()||null,g=!1,v=!1,h=O[Z(577)],L===0&&q(O),r=tt(O[Z(577)],{transform:N,snapGrid:j,snapToGrid:P,containerBounds:c}),l=h0(O[Z(577)],c)}).on("drag",O=>{const Z=W,{autoPanOnNodeDrag:D,transform:L,snapGrid:N,snapToGrid:j,nodeDragThreshold:P,nodeLookup:I}=n(),K=tt(O[Z(577)],{transform:L,snapGrid:N,snapToGrid:j,containerBounds:c});if(h=O[Z(577)],(O[Z(577)][Z(415)]===Z(1455)&&O[Z(577)][Z(918)].length>1||S&&!I[Z(1235)](S))&&(g=!0),!g){if(!u&&D&&f&&(u=!0,A()),!f){const _=h0(O[Z(577)],c),R=_.x-l.x,$=_.y-l.y;Math[Z(276)](R*R+$*$)>P&&q(O)}(r.x!==K[Z(960)]||r.y!==K[Z(1090)])&&a&&f&&(l=h0(O[Z(577)],c),H(K))}}).on(W(453),O=>{const Z=W;if(!(!f||g)&&(u=!1,f=!1,cancelAnimationFrame(i),a[Z(1860)]>0)){const{nodeLookup:D,updateNodePositions:L,onNodeDragStop:N,onSelectionDragStop:j}=n();if(v&&(L(a,!1),v=!1),x||N||!S&&j){const[P,I]=bo({nodeId:S,dragItems:a,nodeLookup:D,dragging:!1});x?.(O[Z(577)],a,P,I),N?.(O[Z(577)],P,I),!S&&j?.(O[Z(577)],I)}}})[W(1343)](O=>{const Z=W,D=O[Z(1552)];return!O[Z(264)]&&(!y||!wa(D,"."+y,m))&&(!w||wa(D,w,m))});b.call(T)}function C(){b?.on(".drag",null)}return{update:p,destroy:C}}function X5(e,n,t){const o=s,x=[],r={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const i of n[o(1465)]())_n(r,mn(i))>0&&x[o(829)](i);return x}const Z5=250;function K5(e,n,t,o){const x=s;let r=[],i=1/0;const a=X5(e,t,n+Z5);for(const u of a){const l=[...u[x(628)][x(536)]?.[x(248)]??[],...u.internals[x(536)]?.[x(1552)]??[]];for(const c of l){if(o[x(646)]===c.nodeId&&o[x(415)]===c[x(415)]&&o.id===c.id)continue;const{x:f,y:b}=_0(u,c,c[x(360)],!0),g=Math[x(276)](Math[x(1530)](f-e.x,2)+Math[x(1530)](b-e.y,2));g>n||(g<i?(r=[{...c,x:f,y:b}],i=g):g===i&&r.push({...c,x:f,y:b}))}}if(!r[x(655)])return null;if(r[x(655)]>1){const u=o[x(415)]==="source"?"target":x(248);return r.find(l=>l[x(415)]===u)??r[0]}return r[0]}function pa(e,n,t,o,x,r=!1){const i=s,a=o[i(1292)](e);if(!a)return null;const u=x===i(1195)?a[i(628)].handleBounds?.[n]:[...a[i(628)][i(536)]?.[i(248)]??[],...a.internals.handleBounds?.target??[]],l=(t?u?.[i(1241)](c=>c.id===t):u?.[0])??null;return l&&r?{...l,..._0(a,l,l[i(360)],!0)}:l}function za(e,n){const t=s;return e||(n?.[t(622)][t(966)]("target")?t(1552):n?.[t(622)][t(966)](t(248))?t(248):null)}function R5(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Ca=()=>!0;function J5(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:u,lib:l,autoPanOnConnect:c,flowId:f,panBy:b,cancelConnection:g,onConnectStart:v,onConnect:h,onConnectEnd:p,isValidConnection:C=Ca,onReconnectEnd:y,updateConnection:w,getTransform:m,getFromHandle:M,autoPanSpeed:S,dragThreshold:U=1,handleDomNode:W}){const H=s,A=ea(e[H(1552)]);let q=0,T;const{x:O,y:Z}=h0(e),D=za(r,W),L=a?.[H(912)]();let N=!1;if(!L||!D)return;const j=pa(x,D,o,u,n);if(!j)return;let P=h0(e,L),I=!1,K=null,_=!1,R=null;function $(){if(!c||!L)return;const[J,k]=Ki(P,L,S);b({x:J,y:k}),q=requestAnimationFrame($)}const oe={...j,nodeId:x,type:D,position:j[H(360)]},de=u.get(x);let fe={inProgress:!0,isValid:null,from:_0(de,oe,he[H(1826)],!0),fromHandle:oe,fromPosition:oe[H(360)],fromNode:de,to:P,toHandle:null,toPosition:Hi[oe[H(360)]],toNode:null,pointer:P};function ie(){N=!0,w(fe),v?.(e,{nodeId:x,handleId:o,handleType:D})}U===0&&ie();function F(J){const k=H;if(!N){const{x:le,y:ye}=h0(J),ve=le-O,Ne=ye-Z;if(!(ve*ve+Ne*Ne>U*U))return;ie()}if(!M()||!oe){re(J);return}const E=m();P=h0(J,L),T=K5(et(P,E,!1,[1,1]),t,u,oe),!I&&($(),I=!0);const X=Ma(J,{handle:T,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:k(i?1552:248),isValidConnection:C,doc:A,lib:l,flowId:f,nodeLookup:u});R=X[k(1409)],K=X[k(1035)],_=R5(!!T,X[k(1888)]);const G=u[k(1292)](x),ne=G?_0(G,oe,he[k(1826)],!0):fe[k(1057)],ce={...fe,from:ne,isValid:_,to:X.toHandle&&_?Rt({x:X[k(1741)].x,y:X[k(1741)].y},E):P,toHandle:X[k(1741)],toPosition:_&&X[k(1741)]?X[k(1741)][k(360)]:Hi[oe[k(360)]],toNode:X[k(1741)]?u[k(1292)](X[k(1741)].nodeId):null,pointer:P};w(ce),fe=ce}function re(J){const k=H;if(!(k(918)in J&&J[k(918)].length>0)){if(N){(T||R)&&K&&_&&h?.(K);const{inProgress:E,...X}=fe,G={...X,toPosition:fe.toHandle?fe[k(432)]:null};p?.(J,G),r&&y?.(J,G)}g(),cancelAnimationFrame(q),I=!1,_=!1,K=null,R=null,A[k(1487)](k(420),F),A[k(1487)]("mouseup",re),A[k(1487)](k(1455),F),A[k(1487)]("touchend",re)}}A.addEventListener(H(420),F),A[H(1564)](H(1493),re),A[H(1564)](H(1455),F),A.addEventListener(H(1550),re)}function Ma(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:a,flowId:u,isValidConnection:l=Ca,nodeLookup:c}){const f=s,b=r==="target",g=n?i.querySelector("."+a+'-flow__handle[data-id="'+u+"-"+n?.nodeId+"-"+n?.id+"-"+n?.type+'"]'):null,{x:v,y:h}=h0(e),p=i[f(1609)](v,h),C=p?.[f(622)].contains(a+f(652))?p:g,y={handleDomNode:C,isValid:!1,connection:null,toHandle:null};if(C){const w=za(void 0,C),m=C[f(1658)](f(1121)),M=C[f(1658)]("data-handleid"),S=C[f(622)][f(966)](f(586)),U=C[f(622)][f(966)](f(526));if(!m||!w)return y;const W={source:b?m:o,sourceHandle:b?M:x,target:b?o:m,targetHandle:b?x:M};y[f(1035)]=W;const H=S&&U,A=H&&(t===bn[f(1519)]?b&&w===f(248)||!b&&w===f(1552):m!==o||M!==x);y[f(1888)]=A&&l(W),y[f(1741)]=pa(m,w,M,c,t,!0)}return y}const yo={onPointerDown:J5,isValid:Ma};function Q5({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=e0(e);function r({translateExtent:a,width:u,height:l,zoomStep:c=1,pannable:f=!0,zoomable:b=!0,inversePan:g=!1}){const v=_0x5bb9,h=m=>{const M=_0x5bb9;if(m[M(577)][M(415)]!==M(971)||!n)return;const S=t(),U=m.sourceEvent.ctrlKey&&nt()?10:1,W=-m.sourceEvent[M(366)]*(m[M(577)][M(1214)]===1?.05:m.sourceEvent.deltaMode?1:.002)*c,H=S[2]*Math[M(1530)](2,W*U);n[M(471)](H)};let p=[0,0];const C=m=>{const M=_0x5bb9;(m[M(577)][M(415)]==="mousedown"||m[M(577)][M(415)]==="touchstart")&&(p=[m[M(577)][M(265)]??m.sourceEvent.touches[0].clientX,m[M(577)][M(1772)]??m.sourceEvent.touches[0].clientY])},y=m=>{const M=_0x5bb9,S=t();if(m[M(577)][M(415)]!==M(420)&&m[M(577)][M(415)]!==M(1455)||!n)return;const U=[m[M(577)][M(265)]??m[M(577)].touches[0][M(265)],m[M(577)][M(1772)]??m[M(577)].touches[0].clientY],W=[U[0]-p[0],U[1]-p[1]];p=U;const H=o()*Math.max(S[2],Math[M(1678)](S[2]))*(g?-1:1),A={x:S[0]-W[0]*H,y:S[1]-W[1]*H},q=[[0,0],[u,l]];n.setViewportConstrained({x:A.x,y:A.y,zoom:S[2]},q,a)},w=Ui().on(v(385),C).on("zoom",f?y:null).on("zoom.wheel",b?h:null);x[v(1018)](w,{})}function i(){const a=_0x5bb9;x.on(a(430),null)}return{update:r,destroy:i,pointer:d0}}const Qt=e=>({x:e.x,y:e.y,zoom:e.k}),mo=({x:e,y:n,zoom:t})=>Wt[s(1113)](e,n)[s(1783)](t),pn=(e,n)=>e[s(1552)][s(292)]("."+n),Ba=(e,n)=>n===2&&Array[s(1994)](e)&&e[s(561)](2),F5=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,vo=(e,n=0,t=F5,o=()=>{})=>{const x=s,r=typeof n===x(1781)&&n>0;return!r&&o(),r?e[x(869)]()[x(1779)](n).ease(t).on(x(453),o):e},Da=e=>{const n=s,t=e[n(1179)]&&nt()?10:1;return-e[n(366)]*(e[n(1214)]===1?.05:e[n(1214)]?1:.002)*t};function _5({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:u,onPanZoomEnd:l}){return c=>{const f=_0x5bb9;if(pn(c,n))return c.ctrlKey&&c.preventDefault(),!1;c[f(726)](),c[f(819)]();const b=t[f(741)](f(271)).k||1;if(c.ctrlKey&&i){const C=d0(c),y=Da(c),w=b*Math[f(1530)](2,y);o[f(471)](t,w,C,c);return}const g=c[f(1214)]===1?20:1;let v=x===Q0[f(997)]?0:c[f(545)]*g,h=x===Q0.Horizontal?0:c[f(366)]*g;!nt()&&c[f(857)]&&x!==Q0[f(997)]&&(v=c[f(366)]*g,h=0),o[f(1601)](t,-(v/b)*r,-(h/b)*r,{internal:!0});const p=Qt(t[f(741)](f(271)));clearTimeout(e[f(1116)]),e[f(1973)]?(u?.(c,p),e[f(1116)]=setTimeout(()=>{const C=f;l?.(c,p),e[C(1973)]=!1},150)):(e.isPanScrolling=!0,a?.(c,p))}}function $5({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x5bb9,i=o.type==="wheel",a=!n&&i&&!o[r(1179)],u=pn(o,e);if(o[r(1179)]&&i&&u&&o[r(726)](),a||u)return null;o[r(726)](),t[r(1018)](this,o,x)}}function e1({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x5bb9;if(o[x(577)]?.[x(1428)])return;const r=Qt(o[x(1368)]);e[x(1542)]=o.sourceEvent?.[x(264)]||0,e.isZoomingOrPanning=!0,e.prevViewport=r,o[x(577)]?.type===x(1395)&&n(!0),t&&t?.(o[x(577)],r)}}function n1({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x5bb9;e.usedRightMouseButton=!!(t&&Ba(n,e.mouseButton??0)),!r.sourceEvent?.[i(527)]&&o([r[i(1368)].x,r[i(1368)].y,r.transform.k]),x&&!r.sourceEvent?.[i(1428)]&&x?.(r.sourceEvent,Qt(r[i(1368)]))}}function t1({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const a=_0x5bb9;if(!i[a(577)]?.internal&&(e[a(318)]=!1,r&&Ba(n,e[a(1542)]??0)&&!e[a(1307)]&&i[a(577)]&&r(i.sourceEvent),e[a(1307)]=!1,o(!1),x)){const u=Qt(i[a(1368)]);e.prevViewport=u,clearTimeout(e[a(236)]),e.timerId=setTimeout(()=>{x?.(i[a(577)],u)},t?150:0)}}}function x1({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:u,lib:l,connectionInProgress:c}){return f=>{const b=_0x5bb9,g=e||n,v=t&&f.ctrlKey,h=f.type===b(971);if(f[b(264)]===1&&f[b(415)]==="mousedown"&&(pn(f,l+b(900))||pn(f,l+b(1107))))return!0;if(!o&&!g&&!x&&!r&&!t||i||c&&!h||pn(f,a)&&h||pn(f,u)&&(!h||x&&h&&!e)||!t&&f[b(1179)]&&h)return!1;if(!t&&f[b(415)]===b(681)&&f[b(918)]?.[b(655)]>1)return f[b(726)](),!1;if(!g&&!x&&!v&&h||!o&&(f[b(415)]===b(1395)||f[b(415)]==="touchstart")||Array[b(1994)](o)&&!o[b(561)](f[b(264)])&&f[b(415)]===b(1395))return!1;const p=Array.isArray(o)&&o[b(561)](f[b(264)])||!f[b(264)]||f.button<=1;return(!f[b(1179)]||h)&&p}}function o1({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:u}){const l=s,c={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e.getBoundingClientRect(),b=Ui()[l(344)]([n,t])[l(320)](o),g=e0(e)[l(1018)](b);w({x:x.x,y:x.y,zoom:yn(x.zoom,n,t)},[[0,0],[f[l(1473)],f[l(1187)]]],o);const v=g.on("wheel.zoom"),h=g.on(l(1791));b[l(370)](Da);function p(T,O){return g?new Promise(Z=>{const D=_0x5bb9;b?.[D(1457)](O?.[D(1457)]==="linear"?Vn:At)[D(1368)](vo(g,O?.[D(1779)],O?.[D(702)],()=>Z(!0)),T)}):Promise.resolve(!1)}function C({noWheelClassName:T,noPanClassName:O,onPaneContextMenu:Z,userSelectionActive:D,panOnScroll:L,panOnDrag:N,panOnScrollMode:j,panOnScrollSpeed:P,preventScrolling:I,zoomOnPinch:K,zoomOnScroll:_,zoomOnDoubleClick:R,zoomActivationKeyPressed:$,lib:oe,onTransformChange:de,connectionInProgress:se,paneClickDistance:fe,selectionOnDrag:ie}){const F=l;D&&!c[F(318)]&&y();const re=L&&!$&&!D;b.clickDistance(ie?1/0:!f0(fe)||fe<0?0:fe);const J=re?_5({zoomPanValues:c,noWheelClassName:T,d3Selection:g,d3Zoom:b,panOnScrollMode:j,panOnScrollSpeed:P,zoomOnPinch:K,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):$5({noWheelClassName:T,preventScrolling:I,d3ZoomHandler:v});if(g.on("wheel.zoom",J,{passive:!1}),!D){const E=e1({zoomPanValues:c,onDraggingChange:u,onPanZoomStart:i});b.on("start",E);const X=n1({zoomPanValues:c,panOnDrag:N,onPaneContextMenu:!!Z,onPanZoom:r,onTransformChange:de});b.on(F(430),X);const G=t1({zoomPanValues:c,panOnDrag:N,panOnScroll:L,onPaneContextMenu:Z,onPanZoomEnd:a,onDraggingChange:u});b.on(F(453),G)}const k=x1({zoomActivationKeyPressed:$,panOnDrag:N,zoomOnScroll:_,panOnScroll:L,zoomOnDoubleClick:R,zoomOnPinch:K,userSelectionActive:D,noPanClassName:O,noWheelClassName:T,lib:oe,connectionInProgress:se});b[F(1343)](k),R?g.on("dblclick.zoom",h):g.on(F(1791),null)}function y(){const T=l;b.on(T(430),null)}async function w(T,O,Z){const D=mo(T),L=b?.constrain()(D,O,Z);return L&&await p(L),new Promise(N=>N(L))}async function m(T,O){const Z=mo(T);return await p(Z,O),new Promise(D=>D(Z))}function M(T){const O=l;if(g){const Z=mo(T),D=g.property(O(271));(D.k!==T[O(430)]||D.x!==T.x||D.y!==T.y)&&b?.[O(1368)](g,Z,null,{sync:!0})}}function S(){const T=l,O=g?ji(g[T(705)]()):{x:0,y:0,k:1};return{x:O.x,y:O.y,zoom:O.k}}function U(T,O){return g?new Promise(Z=>{const D=_0x5bb9;b?.[D(1457)](O?.[D(1457)]===D(501)?Vn:At)[D(471)](vo(g,O?.[D(1779)],O?.[D(702)],()=>Z(!0)),T)}):Promise.resolve(!1)}function W(T,O){const Z=l;return g?new Promise(D=>{const L=_0x5bb9;b?.[L(1457)](O?.[L(1457)]===L(501)?Vn:At)[L(1297)](vo(g,O?.[L(1779)],O?.[L(702)],()=>D(!0)),T)}):Promise[Z(1053)](!1)}function H(T){b?.[l(344)](T)}function A(T){b?.[l(320)](T)}function q(T){const O=l,Z=!f0(T)||T<0?0:T;b?.[O(1632)](Z)}return{update:C,destroy:y,setViewport:m,setViewportConstrained:w,getViewport:S,scaleTo:U,scaleBy:W,setScaleExtent:H,setTranslateExtent:A,syncViewport:M,setClickDistance:q}}var zn;(function(e){const n=s;e.Line=n(766),e[n(200)]="handle"})(zn||(zn={}));function r1({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const i=e-n,a=t-o,u=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&x&&(u[0]=u[0]*-1),a&&r&&(u[1]=u[1]*-1),u}function La(e){const n=s,t=e[n(561)](n(1421))||e[n(561)](n(219)),o=e[n(561)](n(1663))||e[n(561)](n(755)),x=e.includes(n(219)),r=e[n(561)](n(755));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function j0(e,n){return Math[s(1526)](0,n-e)}function E0(e,n){return Math[s(1526)](0,e-n)}function Ft(e,n,t){return Math.max(0,n-e,e-t)}function Na(e,n){return e?!n:n}function i1(e,n,t,o,x,r,i,a){const u=s;let{affectsX:l,affectsY:c}=n;const{isHorizontal:f,isVertical:b}=n,g=f&&b,{xSnapped:v,ySnapped:h}=t,{minWidth:p,maxWidth:C,minHeight:y,maxHeight:w}=o,{x:m,y:M,width:S,height:U,aspectRatio:W}=e;let H=Math[u(643)](f?v-e[u(1865)]:0),A=Math[u(643)](b?h-e[u(1497)]:0);const q=S+(l?-H:H),T=U+(c?-A:A),O=-r[0]*S,Z=-r[1]*U;let D=Ft(q,p,C),L=Ft(T,y,w);if(i){let P=0,I=0;l&&H<0?P=j0(m+H+O,i[0][0]):!l&&H>0&&(P=E0(m+q+O,i[1][0])),c&&A<0?I=j0(M+A+Z,i[0][1]):!c&&A>0&&(I=E0(M+T+Z,i[1][1])),D=Math[u(1526)](D,P),L=Math[u(1526)](L,I)}if(a){let P=0,I=0;l&&H>0?P=E0(m+H,a[0][0]):!l&&H<0&&(P=j0(m+q,a[1][0])),c&&A>0?I=E0(M+A,a[0][1]):!c&&A<0&&(I=j0(M+T,a[1][1])),D=Math[u(1526)](D,P),L=Math[u(1526)](L,I)}if(x){if(f){const P=Ft(q/W,y,w)*W;if(D=Math[u(1526)](D,P),i){let I=0;!l&&!c||l&&!c&&g?I=E0(M+Z+q/W,i[1][1])*W:I=j0(M+Z+(l?H:-H)/W,i[0][1])*W,D=Math[u(1526)](D,I)}if(a){let I=0;!l&&!c||l&&!c&&g?I=j0(M+q/W,a[1][1])*W:I=E0(M+(l?H:-H)/W,a[0][1])*W,D=Math.max(D,I)}}if(b){const P=Ft(T*W,p,C)/W;if(L=Math[u(1526)](L,P),i){let I=0;!l&&!c||c&&!l&&g?I=E0(m+T*W+O,i[1][0])/W:I=j0(m+(c?A:-A)*W+O,i[0][0])/W,L=Math.max(L,I)}if(a){let I=0;!l&&!c||c&&!l&&g?I=j0(m+T*W,a[1][0])/W:I=E0(m+(c?A:-A)*W,a[0][0])/W,L=Math.max(L,I)}}}A=A+(A<0?L:-L),H=H+(H<0?D:-D),x&&(g?q>T*W?A=(Na(l,c)?-H:H)/W:H=(Na(l,c)?-A:A)*W:f?(A=H/W,c=l):(H=A*W,l=c));const N=l?m+H:m,j=c?M+A:M;return{width:S+(l?-H:H),height:U+(c?-A:A),x:r[0]*H*(l?-1:1)+N,y:r[1]*A*(c?-1:1)+j}}const Sa={width:0,height:0,x:0,y:0},a1={...Sa,pointerX:0,pointerY:0,aspectRatio:1};function s1(e){const n=s;return[[0,0],[e[n(1513)][n(1473)],e.measured.height]]}function l1(e,n,t){const o=s,x=n[o(360)].x+e[o(360)].x,r=n[o(360)].y+e[o(360)].y,i=e[o(1513)][o(1473)]??0,a=e[o(1513)].height??0,u=t[0]*i,l=t[1]*a;return[[x-u,r-l],[x+i-u,r+a-l]]}function d1({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=e0(e);let i={controlDirection:La("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function a({controlPosition:l,boundaries:c,keepAspectRatio:f,resizeDirection:b,onResizeStart:g,onResize:v,onResizeEnd:h,shouldResize:p}){const C=_0x5bb9;let y={...Sa},w={...a1};i={boundaries:c,resizeDirection:b,keepAspectRatio:f,controlDirection:La(l)};let m,M=null,S=[],U,W,H,A=!1;const q=ai().on(C(385),T=>{const O=C,{nodeLookup:Z,transform:D,snapGrid:L,snapToGrid:N,nodeOrigin:j,paneDomNode:P}=t();if(m=Z[O(1292)](n),!m)return;M=P?.getBoundingClientRect()??null;const{xSnapped:I,ySnapped:K}=tt(T[O(577)],{transform:D,snapGrid:L,snapToGrid:N,containerBounds:M});y={width:m[O(1513)][O(1473)]??0,height:m[O(1513)][O(1187)]??0,x:m[O(360)].x??0,y:m[O(360)].y??0},w={...y,pointerX:I,pointerY:K,aspectRatio:y[O(1473)]/y[O(1187)]},U=void 0,m.parentId&&(m[O(569)]===O(338)||m[O(1512)])&&(U=Z.get(m[O(563)]),W=U&&m[O(569)]===O(338)?s1(U):void 0),S=[],H=void 0;for(const[_,R]of Z)if(R[O(563)]===n&&(S[O(829)]({id:_,position:{...R[O(360)]},extent:R[O(569)]}),R[O(569)]===O(338)||R[O(1512)])){const $=l1(R,m,R[O(1619)]??j);H?H=[[Math[O(382)]($[0][0],H[0][0]),Math[O(382)]($[0][1],H[0][1])],[Math[O(1526)]($[1][0],H[1][0]),Math[O(1526)]($[1][1],H[1][1])]]:H=$}g?.(T,{...y})}).on(C(753),T=>{const O=C,{transform:Z,snapGrid:D,snapToGrid:L,nodeOrigin:N}=t(),j=tt(T[O(577)],{transform:Z,snapGrid:D,snapToGrid:L,containerBounds:M}),P=[];if(!m)return;const{x:I,y:K,width:_,height:R}=y,$={},oe=m[O(1619)]??N,{width:de,height:se,x:fe,y:ie}=i1(w,i[O(656)],j,i[O(1306)],i.keepAspectRatio,oe,W,H),F=de!==_,re=se!==R,J=fe!==I&&F,k=ie!==K&&re;if(!J&&!k&&!F&&!re)return;if((J||k||oe[0]===1||oe[1]===1)&&($.x=J?fe:y.x,$.y=k?ie:y.y,y.x=$.x,y.y=$.y,S[O(655)]>0)){const ne=fe-I,ce=ie-K;for(const le of S)le.position={x:le[O(360)].x-ne+oe[0]*(de-_),y:le.position.y-ce+oe[1]*(se-R)},P.push(le)}if((F||re)&&($[O(1473)]=F&&(!i.resizeDirection||i[O(1599)]===O(778))?de:y[O(1473)],$[O(1187)]=re&&(!i.resizeDirection||i[O(1599)]===O(893))?se:y[O(1187)],y.width=$.width,y[O(1187)]=$.height),U&&m.expandParent){const ne=oe[0]*($[O(1473)]??0);$.x&&$.x<ne&&(y.x=ne,w.x=w.x-($.x-ne));const ce=oe[1]*($[O(1187)]??0);$.y&&$.y<ce&&(y.y=ce,w.y=w.y-($.y-ce))}const E=r1({width:y[O(1473)],prevWidth:_,height:y[O(1187)],prevHeight:R,affectsX:i[O(656)][O(565)],affectsY:i[O(656)].affectsY}),X={...y,direction:E};p?.(T,X)!==!1&&(A=!0,v?.(T,X),o($,P))}).on(C(453),T=>{A&&(h?.(T,{...y}),x?.({...y}),A=!1)});r[C(1018)](q)}function u(){const l=_0x5bb9;r.on(l(935),null)}return{update:a,destroy:u}}var _t={exports:{}},wo={},$t={exports:{}},po={},ka;function c1(){const e=s;if(ka)return po;ka=1;var n=B;function t(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}var o=e(1240)===typeof Object.is?Object.is:t,x=n.useState,r=n[e(1247)],i=n[e(642)],a=n.useDebugValue;function u(b,g){const v=e;var h=g(),p=x({inst:{value:h,getSnapshot:g}}),C=p[0][v(686)],y=p[1];return i(function(){const w=v;C[w(1303)]=h,C.getSnapshot=g,l(C)&&y({inst:C})},[b,h,g]),r(function(){return l(C)&&y({inst:C}),b(function(){l(C)&&y({inst:C})})},[b]),a(h),h}function l(b){const g=e;var v=b[g(1407)];b=b[g(1303)];try{var h=v();return!o(b,h)}catch{return!0}}function c(b,g){return g()}var f=e(1533)===typeof window||e(1533)===typeof window.document||e(1533)===typeof window[e(1747)].createElement?c:u;return po[e(1608)]=n[e(1608)]!==void 0?n[e(1608)]:f,po}var zo={},Pa;function u1(){const e=s;return Pa||(Pa=1,e(244)!==process.env.NODE_ENV&&(function(){const n=e;function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}function o(h,p){const C=_0x5bb9;b||i[C(567)]===void 0||(b=!0,console[C(590)](C(925)));var y=p();if(!g){var w=p();a(y,w)||(console.error(C(1744)),g=!0)}w=u({inst:{value:y,getSnapshot:p}});var m=w[0][C(686)],M=w[1];return c(function(){const S=C;m[S(1303)]=y,m[S(1407)]=p,x(m)&&M({inst:m})},[h,y,p]),l(function(){return x(m)&&M({inst:m}),h(function(){x(m)&&M({inst:m})})},[h]),f(y),y}function x(h){const p=_0x5bb9;var C=h[p(1407)];h=h[p(1303)];try{var y=C();return!a(h,y)}catch{return!0}}function r(h,p){return p()}n(1533)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1240)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(989)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(989)](Error());var i=B,a=typeof Object.is=="function"?Object.is:t,u=i[n(898)],l=i[n(1247)],c=i[n(642)],f=i[n(1983)],b=!1,g=!1,v=n(1533)===typeof window||typeof window.document>"u"||n(1533)===typeof window[n(1747)][n(772)]?r:o;zo[n(1608)]=i[n(1608)]!==void 0?i[n(1608)]:v,n(1533)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1240)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1336)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1336)](Error())})()),zo}var Ia;function Aa(){const e=s;return Ia?$t[e(1697)]:(Ia=1,process.env.NODE_ENV===e(244)?$t.exports=c1():$t[e(1697)]=u1(),$t.exports)}var Ya;function f1(){const e=s;if(Ya)return wo;Ya=1;var n=B,t=Aa();function o(c,f){return c===f&&(c!==0||1/c===1/f)||c!==c&&f!==f}var x=typeof Object.is=="function"?Object.is:o,r=t[e(1608)],i=n[e(1288)],a=n[e(1247)],u=n.useMemo,l=n[e(1983)];return wo[e(739)]=function(c,f,b,g,v){const h=e;var p=i(null);if(p[h(1610)]===null){var C={hasValue:!1,value:null};p[h(1610)]=C}else C=p[h(1610)];p=u(function(){function w(W){const H=_0x5bb9;if(!m){if(m=!0,M=W,W=g(W),v!==void 0&&C.hasValue){var A=C[H(1303)];if(v(A,W))return S=A}return S=W}if(A=S,x(M,W))return A;var q=g(W);return v!==void 0&&v(A,q)?(M=W,A):(M=W,S=q)}var m=!1,M,S,U=b===void 0?null:b;return[function(){return w(f())},U===null?void 0:function(){return w(U())}]},[f,b,g,v]);var y=r(c,p[0],p[1]);return a(function(){const w=h;C.hasValue=!0,C[w(1303)]=y},[y]),l(y),y},wo}var Co={},ja;function h1(){const e=s;return ja||(ja=1,e(244)!==process.env.NODE_ENV&&(function(){const n=e;function t(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}n(1533)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1240)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(989)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=B,x=Aa(),r=n(1240)===typeof Object.is?Object.is:t,i=x[n(1608)],a=o[n(1288)],u=o[n(1247)],l=o[n(1456)],c=o[n(1983)];Co[n(739)]=function(f,b,g,v,h){const p=n;var C=a(null);if(C[p(1610)]===null){var y={hasValue:!1,value:null};C.current=y}else y=C[p(1610)];C=l(function(){function m(H){const A=_0x5bb9;if(!M){if(M=!0,S=H,H=v(H),h!==void 0&&y[A(1340)]){var q=y[A(1303)];if(h(q,H))return U=q}return U=H}if(q=U,r(S,H))return q;var T=v(H);return h!==void 0&&h(q,T)?(S=H,q):(S=H,U=T)}var M=!1,S,U,W=g===void 0?null:g;return[function(){return m(b())},W===null?void 0:function(){return m(W())}]},[b,g,v,h]);var w=i(f,C[0],C[1]);return u(function(){y.hasValue=!0,y.value=w},[w]),c(w),w},n(1533)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1336)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1336)](Error())})()),Co}var Ea;function g1(){const e=s;return Ea||(Ea=1,process.env.NODE_ENV==="production"?_t[e(1697)]=f1():_t[e(1697)]=h1()),_t[e(1697)]}var b1=g1();const y1=Nn(b1),m1={},Ua=e=>{let n;const t=new Set,o=(c,f)=>{const b=_0x5bb9,g=typeof c===b(1240)?c(n):c;if(!Object.is(g,n)){const v=n;n=f??(typeof g!==b(1866)||g===null)?g:Object.assign({},n,g),t[b(1626)](h=>h(n,v))}},x=()=>n,r=()=>l,i=c=>{const f=_0x5bb9;return t.add(c),()=>t[f(1756)](c)},a=()=>{const c=_0x5bb9;(m1?c(244):void 0)!==c(244)&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),t.clear()},u={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:a},l=n=e(o,x,u);return u},v1=e=>e?Ua(e):Ua,{useDebugValue:w1}=B,{useSyncExternalStoreWithSelector:p1}=y1,z1=e=>e;function Oa(e,n=z1,t){const o=s,x=p1(e[o(1215)],e[o(579)],e[o(1771)]||e[o(693)],n,t);return w1(x),x}const Ga=(e,n)=>{const t=s,o=v1(e),x=(r,i=n)=>Oa(o,r,i);return Object[t(525)](x,o),x},C1=(e,n)=>e?Ga(e,n):Ga;function Ye(e,n){const t=s;if(Object.is(e,n))return!0;if(typeof e!="object"||e===null||typeof n!==t(1866)||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(1860)]!==n[t(1860)])return!1;for(const[x,r]of e)if(!Object.is(r,n[t(1292)](x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e.size!==n[t(1860)])return!1;for(const x of e)if(!n.has(x))return!1;return!0}const o=Object[t(1182)](e);if(o[t(655)]!==Object[t(1182)](n)[t(655)])return!1;for(const x of o)if(!Object[t(308)][t(615)][t(1018)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const ex=B.createContext(null),M1=ex.Provider,Ta=n0[s(962)]();function Le(e,n){const t=s,o=B[t(1480)](ex);if(o===null)throw new Error(Ta);return Oa(o,e,n)}function je(){const e=s,n=B[e(1480)](ex);if(n===null)throw new Error(Ta);return B[e(1456)](()=>({getState:n[e(579)],setState:n[e(220)],subscribe:n[e(1215)]}),[n])}const Ha={display:s(1445)},B1={position:s(1442),width:1,height:1,margin:-1,border:0,padding:0,overflow:s(1965),clip:s(1925),clipPath:s(1664)},Va=s(306),Wa=s(192),D1="react-flow__aria-live",L1=e=>e[s(473)],N1=e=>e[s(926)];function S1({rfId:e}){const n=s,t=Le(L1);return d.jsx(n(261),{id:D1+"-"+e,"aria-live":n(1091),"aria-atomic":"true",style:B1,children:t})}function k1({rfId:e,disableKeyboardA11y:n}){const t=s,o=Le(N1);return d.jsxs(d.Fragment,{children:[d.jsx(t(261),{id:Va+"-"+e,style:Ha,children:n?o[t(1851)]:o[t(654)]}),d[t(2e3)](t(261),{id:Wa+"-"+e,style:Ha,children:o[t(2003)]}),!n&&d.jsx(S1,{rfId:e})]})}const nx=B[s(1007)](({position:e=s(407),children:n,className:t,style:o,...x},r)=>{const i=s,a=(""+e)[i(1037)]("-");return d[i(2e3)](i(261),{className:Oe([i(1504),t,...a]),style:o,ref:r,...x,children:n})});nx[s(1367)]=s(848);function P1({proOptions:e,position:n=s(889)}){const t=s;return e?.hideAttribution?null:d.jsx(nx,{position:n,className:t(1887),"data-message":t(784),children:d.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:t(664),"aria-label":t(247),children:t(1186)})})}const I1=e=>{const n=s,t=[],o=[];for(const[,x]of e[n(384)])x.selected&&t[n(829)](x[n(628)][n(258)]);for(const[,x]of e[n(518)])x[n(879)]&&o[n(829)](x);return{selectedNodes:t,selectedEdges:o}},tx=e=>e.id;function A1(e,n){const t=s;return Ye(e[t(1282)].map(tx),n[t(1282)].map(tx))&&Ye(e.selectedEdges[t(411)](tx),n.selectedEdges[t(411)](tx))}function Y1({onSelectionChange:e}){const n=s,t=je(),{selectedNodes:o,selectedEdges:x}=Le(I1,A1);return B[n(1247)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(579)]().onSelectionChangeHandlers[r(1626)](a=>a(i))},[o,x,e]),null}const j1=e=>!!e[s(1631)];function E1({onSelectionChange:e}){const n=s,t=Le(j1);return e||t?d[n(2e3)](Y1,{onSelectionChange:e}):null}const Mo=typeof window!==s(1533)?B.useLayoutEffect:B[s(1247)],qa=[0,0],U1={x:0,y:0,zoom:1},O1=["nodes","edges","defaultNodes","defaultEdges",s(570),s(1447),s(456),s(1154),s(351),s(260),"autoPanOnNodeFocus","nodesConnectable",s(273),"edgesFocusable",s(1662),"elevateNodesOnSelect",s(1891),s(495),s(1359),s(858),"onNodesChange",s(1769),"elementsSelectable",s(1004),"snapGrid","snapToGrid",s(320),s(1312),s(481),s(571),s(1431),"onNodesDelete",s(715),s(1997),s(587),s(710),s(1417),s(757),s(1066),"onSelectionDragStop",s(409),s(1758),s(1600),s(1850),s(1119),s(1045),"autoPanOnNodeDrag","onError","connectionRadius",s(1166),s(233),"nodeDragThreshold","connectionDragThreshold",s(844),s(1984),s(1385),s(926),s(602)],Xa=[...O1,s(1242)],G1=e=>({setNodes:e.setNodes,setEdges:e.setEdges,setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e[s(1531)],setNodeExtent:e.setNodeExtent,reset:e[s(1384)],setDefaultNodesAndEdges:e[s(1915)]}),Za={translateExtent:Rn,nodeOrigin:qa,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:s(799),rfId:"1"};function T1(e){const n=s,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:u,setDefaultNodesAndEdges:l}=Le(G1,Ye),c=je();Mo(()=>{const b=_0x5bb9;return l(e.defaultNodes,e[b(513)]),()=>{const g=b;f[g(1610)]=Za,u()}},[]);const f=B[n(1288)](Za);return Mo(()=>{const b=n;for(const g of Xa){const v=e[g],h=f.current[g];v!==h&&typeof e[g]!==b(1533)&&(g===b(1745)?t(v):g===b(395)?o(v):g===b(495)?x(v):g==="maxZoom"?r(v):g===b(320)?i(v):g===b(858)?a(v):g===b(926)?c[b(220)]({ariaLabelConfig:C5(v)}):g===b(571)?c[b(220)]({fitViewQueued:v}):g===b(1431)?c.setState({fitViewOptions:v}):c[b(220)]({[g]:v}))}f[b(1610)]=e},Xa.map(b=>e[b])),null}function Ka(){const e=s;return typeof window===e(1533)||!window.matchMedia?null:window.matchMedia(e(905))}function H1(e){const n=s,[t,o]=B[n(898)](e===n(797)?null:e);return B[n(1247)](()=>{const x=n;if(e!=="system"){o(e);return}const r=Ka(),i=()=>o(r?.matches?x(1285):"light");return i(),r?.[x(1564)](x(1076),i),()=>{r?.[x(1487)]("change",i)}},[e]),t!==null?t:Ka()?.[n(621)]?n(1285):n(975)}const Ra=typeof document!==s(1533)?document:null;function xt(e=null,n={target:Ra,actInsideInputWithModifier:!0}){const t=s,[o,x]=B[t(898)](!1),r=B[t(1288)](!1),i=B[t(1288)](new Set([])),[a,u]=B[t(1456)](()=>{const l=t;if(e!==null){const c=Array[l(1994)](e)?e:[e],f=c[l(1343)](g=>typeof g===l(1025))[l(411)](g=>g[l(228)]("+",`
5
+ `)[l(228)](`
6
6
 
7
7
  `,`
8
- +`)[s(1615)](`
9
- `)),y=f[s(1606)]((g,p)=>g.concat(...p),[]);return[f,y]}return[[],[]]},[e]);return B[t(363)](()=>{const s=t,u=n?.[s(603)]??Jc,f=n?.[s(854)]??!0;if(e!==null){const y=h=>{const b=s;if(r[b(1560)]=h[b(569)]||h[b(769)]||h.shiftKey||h[b(1967)],(!r.current||r.current&&!f)&&tc(h))return!1;const v=Fc(h[b(1556)],d);if(i[b(1560)].add(h[v]),_c(c,i[b(1560)],!1)){const m=h[b(726)]?.()?.[0]||h.target,w=m?.[b(1527)]===b(1512)||m?.[b(1527)]==="A";n[b(1923)]!==!1&&(r[b(1560)]||!w)&&h[b(1923)](),x(!0)}},g=h=>{const b=s,M=Fc(h[b(1556)],d);_c(c,i[b(1560)],!0)?(x(!1),i.current[b(2016)]()):i[b(1560)][b(1147)](h[M]),h[b(1460)]==="Meta"&&i[b(1560)][b(2016)](),r[b(1560)]=!1},p=()=>{i[s(1560)].clear(),x(!1)};return u?.addEventListener(s(1354),y),u?.[s(1966)](s(1320),g),window[s(1966)](s(1648),p),window[s(1966)](s(696),p),()=>{const h=s;u?.[h(1339)]("keydown",y),u?.[h(1339)](h(1320),g),window[h(1339)](h(1648),p),window[h(1339)](h(696),p)}}},[e,x]),o}function _c(e,n,t){const o=a;return e.filter(x=>t||x.length===n[o(1705)])[o(1748)](x=>x[o(1452)](r=>n.has(r)))}function Fc(e,n){const t=a;return n.includes(e)?t(1556):"key"}const V1=()=>{const e=Ee();return B.useMemo(()=>{const n=_0x4806;return{zoomIn:t=>{const o=_0x4806,{panZoom:x}=e.getState();return x?x.scaleBy(1.2,t):Promise[o(2192)](!1)},zoomOut:t=>{const o=_0x4806,{panZoom:x}=e[o(1740)]();return x?x[o(368)](1/1.2,t):Promise[o(2192)](!1)},zoomTo:(t,o)=>{const x=_0x4806,{panZoom:r}=e[x(1740)]();return r?r[x(494)](t,o):Promise[x(2192)](!1)},getZoom:()=>e.getState()[n(1130)][2],setViewport:async(t,o)=>{const x=n,{transform:[r,i,c],panZoom:d}=e[x(1740)]();return d?(await d[x(1659)]({x:t.x??r,y:t.y??i,zoom:t.zoom??c},o),Promise[x(2192)](!0)):Promise.resolve(!1)},getViewport:()=>{const t=n,[o,x,r]=e[t(1740)]()[t(1130)];return{x:o,y:x,zoom:r}},setCenter:async(t,o,x)=>{const r=n;return e[r(1740)]()[r(555)](t,o,x)},fitBounds:async(t,o)=>{const x=n,{width:r,height:i,minZoom:c,maxZoom:d,panZoom:s}=e[x(1740)](),u=ro(t,r,i,c,d,o?.[x(524)]??.1);return s?(await s[x(1659)](u,{duration:o?.[x(2056)],ease:o?.[x(2044)],interpolate:o?.[x(2172)]}),Promise.resolve(!0)):Promise[x(2192)](!1)},screenToFlowPosition:(t,o={})=>{const x=n,{transform:r,snapGrid:i,snapToGrid:c,domNode:d}=e[x(1740)]();if(!d)return t;const{x:s,y:u}=d[x(1761)](),f={x:t.x-s,y:t.y-u},y=o.snapGrid??i,g=o[x(2025)]??c;return e0(f,r,g,y)},flowToScreenPosition:t=>{const o=n,{transform:x,domNode:r}=e[o(1740)]();if(!r)return t;const{x:i,y:c}=r[o(1761)](),d=R0(t,x);return{x:d.x+i,y:d.y+c}}}},[])};function Qc(e,n){const t=a,o=[],x=new Map,r=[];for(const i of e)if(i[t(1424)]==="add"){r[t(1465)](i);continue}else if(i[t(1424)]==="remove"||i[t(1424)]===t(598))x[t(799)](i.id,[i]);else{const c=x[t(1157)](i.id);c?c[t(1465)](i):x[t(799)](i.id,[i])}for(const i of n){const c=x.get(i.id);if(!c){o[t(1465)](i);continue}if(c[0].type===t(921))continue;if(c[0].type===t(598)){o[t(1465)]({...c[0][t(577)]});continue}const d={...i};for(const s of c)q1(s,d);o[t(1465)](d)}return r[t(2194)]&&r[t(1369)](i=>{const c=t;i[c(2045)]!==void 0?o.splice(i[c(2045)],0,{...i[c(577)]}):o[c(1465)]({...i[c(577)]})}),o}function q1(e,n){const t=a;switch(e[t(1424)]){case t(1877):{n[t(2178)]=e.selected;break}case t(1543):{typeof e[t(1543)]<"u"&&(n.position=e[t(1543)]),typeof e[t(562)]!==t(1202)&&(n[t(562)]=e[t(562)]);break}case t(630):{typeof e.dimensions<"u"&&(n.measured={...e[t(630)]},e[t(1873)]&&((e[t(1873)]===!0||e[t(1873)]===t(1238))&&(n[t(1238)]=e[t(630)][t(1238)]),(e[t(1873)]===!0||e[t(1873)]===t(1265))&&(n[t(1265)]=e[t(630)][t(1265)]))),typeof e[t(908)]=="boolean"&&(n[t(908)]=e[t(908)]);break}}}function $c(e,n){return Qc(e,n)}function ea(e,n){return Qc(e,n)}function et(e,n){return{id:e,type:"select",selected:n}}function Ct(e,n=new Set,t=!1){const o=a,x=[];for(const[r,i]of e){const c=n.has(r);!(i[o(2178)]===void 0&&!c)&&i[o(2178)]!==c&&(t&&(i[o(2178)]=c),x.push(et(i.id,c)))}return x}function na({items:e=[],lookup:n}){const t=a,o=[],x=new Map(e[t(542)](r=>[r.id,r]));for(const[r,i]of e[t(1942)]()){const c=n[t(1157)](i.id),d=c?.internals?.[t(1220)]??c;d!==void 0&&d!==i&&o[t(1465)]({id:i.id,item:i,type:t(598)}),d===void 0&&o[t(1465)]({item:i,type:t(1757),index:r})}for(const[r]of n)x[t(1157)](r)===void 0&&o[t(1465)]({id:r,type:t(921)});return o}function ta(e){const n=a;return{id:e.id,type:n(921)}}const xa=e=>h2(e),W1=e=>Wi(e);function oa(e){return B[a(2191)](e)}function ra(e){const n=a,[t,o]=B[n(655)](BigInt(0)),[x]=B[n(655)](()=>X1(()=>o(r=>r+BigInt(1))));return Mo(()=>{const r=n,i=x[r(1157)]();i[r(2194)]&&(e(i),x.reset())},[t]),x}function X1(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x4806(1465)](t),e()}}}const ia=B[a(952)](null);function K1({children:e}){const n=a,t=Ee(),o=B[n(1591)](d=>{const s=n,{nodes:u=[],setNodes:f,hasDefaultNodes:y,onNodesChange:g,nodeLookup:p,fitViewQueued:h,onNodesChangeMiddlewareMap:b}=t.getState();let M=u;for(const m of d)M=typeof m===s(1154)?m(M):m;let v=na({items:M,lookup:p});for(const m of b.values())v=m(v);y&&f(M),v[s(2194)]>0?g?.(v):h&&window[s(1135)](()=>{const m=s,{fitViewQueued:w,nodes:C,setNodes:k}=t[m(1740)]();w&&k(C)})},[]),x=ra(o),r=B.useCallback(d=>{const s=n,{edges:u=[],setEdges:f,hasDefaultEdges:y,onEdgesChange:g,edgeLookup:p}=t[s(1740)]();let h=u;for(const b of d)h=typeof b===s(1154)?b(h):b;y?f(h):g&&g(na({items:h,lookup:p}))},[]),i=ra(r),c=B[n(528)](()=>({nodeQueue:x,edgeQueue:i}),[]);return l[n(1993)](ia[n(423)],{value:c,children:e})}function Z1(){const e=B.useContext(ia);if(!e)throw new Error("useBatchContext must be used within a BatchProvider");return e}const R1=e=>!!e[a(1788)];function Bo(){const e=a,n=V1(),t=Ee(),o=Z1(),x=Be(R1),r=B[e(528)](()=>{const i=e,c=g=>t.getState().nodeLookup[i(1157)](g),d=g=>{o[i(1256)].push(g)},s=g=>{const p=i;o[p(1389)][p(1465)](g)},u=g=>{const p=i,{nodeLookup:h,nodeOrigin:b}=t[p(1740)](),M=xa(g)?g:h[p(1157)](g.id),v=M[p(890)]?$i(M.position,M[p(1583)],M[p(890)],h,b):M[p(1543)],m={...M,position:v,width:M.measured?.[p(1238)]??M[p(1238)],height:M.measured?.[p(1265)]??M[p(1265)]};return wt(m)},f=(g,p,h={replace:!1})=>{d(b=>b.map(M=>{const v=_0x4806;if(M.id===g){const m=typeof p===v(1154)?p(M):p;return h[v(598)]&&xa(m)?m:{...M,...m}}return M}))},y=(g,p,h={replace:!1})=>{const b=i;s(M=>M[b(542)](v=>{const m=b;if(v.id===g){const w=typeof p===m(1154)?p(v):p;return h[m(598)]&&W1(w)?w:{...v,...w}}return v}))};return{getNodes:()=>t.getState()[i(1361)].map(g=>({...g})),getNode:g=>c(g)?.[i(380)][i(1220)],getInternalNode:c,getEdges:()=>{const g=i,{edges:p=[]}=t[g(1740)]();return p[g(542)](h=>({...h}))},getEdge:g=>t[i(1740)]()[i(986)].get(g),setNodes:d,setEdges:s,addNodes:g=>{const p=i,h=Array[p(927)](g)?g:[g];o[p(1256)].push(b=>[...b,...h])},addEdges:g=>{const p=i,h=Array[p(927)](g)?g:[g];o[p(1389)][p(1465)](b=>[...b,...h])},toObject:()=>{const g=i,{nodes:p=[],edges:h=[],transform:b}=t[g(1740)](),[M,v,m]=b;return{nodes:p.map(w=>({...w})),edges:h[g(542)](w=>({...w})),viewport:{x:M,y:v,zoom:m}}},deleteElements:async({nodes:g=[],edges:p=[]})=>{const h=i,{nodes:b,edges:M,onNodesDelete:v,onEdgesDelete:m,triggerNodeChanges:w,triggerEdgeChanges:C,onDelete:k,onBeforeDelete:O}=t[h(1740)](),{nodes:G,edges:j}=await v2({nodesToRemove:g,edgesToRemove:p,nodes:b,edges:M,onBeforeDelete:O}),A=j[h(2194)]>0,Z=G.length>0;if(A){const W=j.map(ta);m?.(j),C(W)}if(Z){const W=G[h(542)](ta);v?.(G),w(W)}return(Z||A)&&k?.({nodes:G,edges:j}),{deletedNodes:G,deletedEdges:j}},getIntersectingNodes:(g,p=!0,h)=>{const b=i,M=_i(g),v=M?g:u(g),m=h!==void 0;return v?(h||t[b(1740)]()[b(1361)])[b(1641)](w=>{const C=b,k=t[C(1740)]().nodeLookup[C(1157)](w.id);if(k&&!M&&(w.id===g.id||!k[C(380)][C(2107)]))return!1;const O=wt(m?w:k),G=Qt(O,v);return p&&G>0||G>=O[C(1238)]*O[C(1265)]||G>=v[C(1238)]*v[C(1265)]}):[]},isNodeIntersecting:(g,p,h=!0)=>{const b=i,M=_i(g),v=M?g:u(g);if(!v)return!1;const m=Qt(v,p);return h&&m>0||m>=p[b(1238)]*p[b(1265)]||m>=v[b(1238)]*v[b(1265)]},updateNode:f,updateNodeData:(g,p,h={replace:!1})=>{f(g,b=>{const M=_0x4806,v=typeof p===M(1154)?p(b):p;return h[M(598)]?{...b,data:v}:{...b,data:{...b[M(1468)],...v}}},h)},updateEdge:y,updateEdgeData:(g,p,h={replace:!1})=>{y(g,b=>{const M=_0x4806,v=typeof p===M(1154)?p(b):p;return h[M(598)]?{...b,data:v}:{...b,data:{...b[M(1468)],...v}}},h)},getNodesBounds:g=>{const p=i,{nodeLookup:h,nodeOrigin:b}=t[p(1740)]();return g2(g,{nodeLookup:h,nodeOrigin:b})},getHandleConnections:({type:g,id:p,nodeId:h})=>Array[i(1139)](t.getState()[i(623)][i(1157)](h+"-"+g+(p?"-"+p:""))?.[i(1534)]()??[]),getNodeConnections:({type:g,handleId:p,nodeId:h})=>Array[i(1139)](t[i(1740)]()[i(623)][i(1157)](""+h+(g?p?"-"+g+"-"+p:"-"+g:""))?.[i(1534)]()??[]),fitView:async g=>{const p=i,h=t[p(1740)]()[p(1394)]??z2();return t[p(1766)]({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),o.nodeQueue[p(1465)](b=>[...b]),h[p(1069)]}}},[]);return B[e(528)](()=>({...r,...n,viewportInitialized:x}),[x])}const ca=e=>e[a(2178)],J1=typeof window<"u"?window:void 0;function _1({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=a,o=Ee(),{deleteElements:x}=Bo(),r=x0(e,{actInsideInputWithModifier:!1}),i=x0(n,{target:J1});B.useEffect(()=>{const c=_0x4806;if(r){const{edges:d,nodes:s}=o[c(1740)]();x({nodes:s[c(1641)](ca),edges:d[c(1641)](ca)}),o.setState({nodesSelectionActive:!1})}},[r]),B[t(363)](()=>{o[t(1766)]({multiSelectionActive:i})},[i])}function F1(e){const n=a,t=Ee();B[n(363)](()=>{const o=n,x=()=>{const r=_0x4806;if(!e[r(1560)]||!(e[r(1560)][r(674)]?.()??!0))return!1;const i=io(e[r(1560)]);(i.height===0||i[r(1238)]===0)&&t[r(1740)]()[r(2133)]?.(r(1031),nn[r(1144)]()),t[r(1766)]({width:i[r(1238)]||500,height:i[r(1265)]||500})};if(e.current){x(),window.addEventListener(o(362),x);const r=new ResizeObserver(()=>x());return r[o(1432)](e[o(1560)]),()=>{const i=o;window[i(1339)](i(362),x),r&&e[i(1560)]&&r.unobserve(e[i(1560)])}}},[])}const xx={position:a(2080),width:a(1805),height:a(1805),top:0,left:0},Q1=e=>({userSelectionActive:e[a(925)],lib:e[a(1402)],connectionInProgress:e[a(1329)][a(1311)]});function $1({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=Fn.Free,zoomOnDoubleClick:i=!0,panOnDrag:c=!0,defaultViewport:d,translateExtent:s,minZoom:u,maxZoom:f,zoomActivationKeyCode:y,preventScrolling:g=!0,children:p,noWheelClassName:h,noPanClassName:b,onViewportChange:M,isControlledViewport:v,paneClickDistance:m,selectionOnDrag:w}){const C=a,k=Ee(),O=B[C(575)](null),{userSelectionActive:G,lib:j,connectionInProgress:A}=Be(Q1,je),Z=x0(y),W=B.useRef();F1(O);const q=B[C(1591)](T=>{const N=C;M?.({x:T[0],y:T[1],zoom:T[2]}),!v&&k[N(1766)]({transform:T})},[M,v]);return B.useEffect(()=>{const T=C;if(O[T(1560)]){W.current=o1({domNode:O[T(1560)],minZoom:u,maxZoom:f,translateExtent:s,viewport:d,onDraggingChange:U=>k[T(1766)](P=>P[T(1321)]===U?P:{paneDragging:U}),onPanZoomStart:(U,P)=>{const{onViewportChangeStart:S,onMoveStart:K}=k.getState();K?.(U,P),S?.(P)},onPanZoom:(U,P)=>{const S=T,{onViewportChange:K,onMove:Q}=k[S(1740)]();Q?.(U,P),K?.(P)},onPanZoomEnd:(U,P)=>{const S=T,{onViewportChangeEnd:K,onMoveEnd:Q}=k[S(1740)]();Q?.(U,P),K?.(P)}});const{x:N,y:D,zoom:L}=W[T(1560)][T(1034)]();return k[T(1766)]({panZoom:W[T(1560)],transform:[N,D,L],domNode:O.current[T(686)](T(2078))}),()=>{W[T(1560)]?.destroy()}}},[]),B.useEffect(()=>{const T=C;W[T(1560)]?.[T(658)]({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:c,zoomActivationKeyPressed:Z,preventScrolling:g,noPanClassName:b,userSelectionActive:G,noWheelClassName:h,lib:j,onTransformChange:q,connectionInProgress:A,selectionOnDrag:w,paneClickDistance:m})},[e,n,t,o,x,r,i,c,Z,g,b,G,h,j,q,A,w,m]),l[C(1993)](C(539),{className:C(2055),ref:O,style:xx,children:p})}const eh=e=>({userSelectionActive:e[a(925)],userSelectionRect:e[a(1511)]});function nh(){const e=a,{userSelectionActive:n,userSelectionRect:t}=Be(eh,je);return n&&t?l[e(1993)](e(539),{className:e(1983),style:{width:t.width,height:t[e(1265)],transform:e(389)+t.x+e(1375)+t.y+e(2197)}}):null}const Do=(e,n)=>t=>{const o=_0x4806;t[o(603)]===n[o(1560)]&&e?.(t)},th=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e[a(1503)],connectionInProgress:e.connection.inProgress,dragging:e[a(1321)]});function xh({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Jt[a(485)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:c,onPaneClick:d,onPaneContextMenu:s,onPaneScroll:u,onPaneMouseEnter:f,onPaneMouseMove:y,onPaneMouseLeave:g,children:p}){const h=a,b=Ee(),{userSelectionActive:M,elementsSelectable:v,dragging:m,connectionInProgress:w}=Be(th,je),C=v&&(e||M),k=B.useRef(null),O=B[h(575)](),G=B[h(575)](new Set),j=B[h(575)](new Set),A=B.useRef(!1),Z=P=>{const S=h;if(A[S(1560)]||w){A[S(1560)]=!1;return}d?.(P),b[S(1740)]()[S(1666)](),b[S(1766)]({nodesSelectionActive:!1})},W=P=>{const S=h;if(Array[S(927)](o)&&o?.[S(911)](2)){P[S(1923)]();return}s?.(P)},q=u?P=>u(P):void 0,T=P=>{const S=h;A[S(1560)]&&(P[S(1064)](),A[S(1560)]=!1)},N=P=>{const S=h,{domNode:K}=b[S(1740)]();if(O.current=K?.[S(1761)](),!O[S(1560)])return;const Q=P[S(603)]===k[S(1560)];if(!Q&&!!P.target.closest(S(1024))||!e||!(r&&Q||n)||P.button!==0||!P[S(678)])return;P[S(603)]?.[S(855)]?.(P[S(521)]),A.current=!1;const{x:xe,y:ce}=gn(P.nativeEvent,O[S(1560)]);b[S(1766)]({userSelectionRect:{width:0,height:0,startX:xe,startY:ce,x:xe,y:ce}}),!Q&&(P[S(1064)](),P[S(1923)]())},D=P=>{const S=h,{userSelectionRect:K,transform:Q,nodeLookup:R,edgeLookup:$,connectionLookup:xe,triggerNodeChanges:ce,triggerEdgeChanges:de,defaultEdgeOptions:fe,resetSelectedElements:ie}=b[S(1740)]();if(!O.current||!K)return;const{x:J,y:re}=gn(P[S(1530)],O[S(1560)]),{startX:_,startY:I}=K;if(!A[S(1560)]){const le=n?0:x;if(Math[S(2059)](J-_,re-I)<=le)return;ie(),i?.(P)}A[S(1560)]=!0;const Y={startX:_,startY:I,x:J<_?J:_,y:re<I?re:I,width:Math[S(1018)](J-_),height:Math[S(1018)](re-I)},X=G[S(1560)],H=j[S(1560)];G[S(1560)]=new Set(xo(R,Y,Q,t===Jt[S(1352)],!0)[S(542)](le=>le.id)),j.current=new Set;const oe=fe?.[S(942)]??!0;for(const le of G.current){const se=xe[S(1157)](le);if(se)for(const{edgeId:ge}of se[S(1534)]()){const ve=$[S(1157)](ge);ve&&(ve[S(942)]??oe)&&j[S(1560)].add(ge)}}if(!ec(X,G[S(1560)])){const le=Ct(R,G[S(1560)],!0);ce(le)}if(!ec(H,j[S(1560)])){const le=Ct($,j[S(1560)]);de(le)}b.setState({userSelectionRect:Y,userSelectionActive:!0,nodesSelectionActive:!1})},L=P=>{const S=h;P[S(772)]===0&&(P[S(603)]?.releasePointerCapture?.(P[S(521)]),!M&&P[S(603)]===k[S(1560)]&&b[S(1740)]()[S(1511)]&&Z?.(P),b[S(1766)]({userSelectionActive:!1,userSelectionRect:null}),A[S(1560)]&&(c?.(P),b[S(1766)]({nodesSelectionActive:G[S(1560)][S(1705)]>0})))},U=o===!0||Array[h(927)](o)&&o.includes(0);return l[h(1239)](h(539),{className:Ge(["react-flow__pane",{draggable:U,dragging:m,selection:e}]),onClick:C?void 0:Do(Z,k),onContextMenu:Do(W,k),onWheel:Do(q,k),onPointerEnter:C?void 0:f,onPointerMove:C?D:y,onPointerUp:C?L:void 0,onPointerDownCapture:C?N:void 0,onClickCapture:C?T:void 0,onPointerLeave:g,ref:k,style:xx,children:[p,l[h(1993)](nh,{})]})}function Lo({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=a,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:c,nodeLookup:d,onError:s}=n[x(1740)](),u=d[x(1157)](e);if(!u){s?.(x(1071),nn[x(1123)](e));return}n[x(1766)]({nodesSelectionActive:!1}),u.selected?(t||u.selected&&c)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>o?.[x(1560)]?.blur())):r([e])}function aa({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const c=a,d=Ee(),[s,u]=B[c(655)](!1),f=B.useRef();return B[c(363)](()=>{const y=c;f[y(1560)]=W2({getStoreItems:()=>d[y(1740)](),onNodeMouseDown:g=>{Lo({id:g,store:d,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),B[c(363)](()=>{const y=c;if(!(n||!e[y(1560)]||!f[y(1560)]))return f[y(1560)][y(658)]({noDragClassName:t,handleSelector:o,domNode:e.current,isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const g=y;f[g(1560)]?.[g(1624)]()}},[t,o,n,r,e,x,i]),s}const oh=e=>n=>n.selected&&(n[a(2131)]||e&&typeof n[a(2131)]===a(1202));function sa(){const e=a,n=Ee();return B[e(1591)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:c,nodesDraggable:d,onError:s,updateNodePositions:u,nodeLookup:f,nodeOrigin:y}=n[x(1740)](),g=new Map,p=oh(d),h=i?c[0]:5,b=i?c[1]:5,M=o[x(2161)].x*h*o.factor,v=o[x(2161)].y*b*o[x(497)];for(const[,m]of f){if(!p(m))continue;let w={x:m[x(380)][x(2107)].x+M,y:m[x(380)].positionAbsolute.y+v};i&&(w=$t(w,c));const{position:C,positionAbsolute:k}=Xi({nodeId:m.id,nextPosition:w,nodeLookup:f,nodeExtent:r,nodeOrigin:y,onError:s});m[x(1543)]=C,m[x(380)][x(2107)]=k,g[x(799)](m.id,m)}u(g)},[])}const No=B[a(952)](null),rh=No[a(423)];No[a(859)];const la=()=>B[a(689)](No),ih=e=>({connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName,rfId:e[a(1996)]}),ch=(e,n,t)=>o=>{const x=a,{connectionClickStartHandle:r,connectionMode:i,connection:c}=o,{fromHandle:d,toHandle:s,isValid:u}=c,f=s?.[x(1626)]===e&&s?.id===n&&s?.[x(1424)]===t;return{connectingFrom:d?.[x(1626)]===e&&d?.id===n&&d?.type===t,connectingTo:f,clickConnecting:r?.[x(1626)]===e&&r?.id===n&&r?.[x(1424)]===t,isPossibleEndHandle:i===yt[x(786)]?d?.[x(1424)]!==t:e!==d?.[x(1626)]||n!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:f&&u}};function ah({type:e=a(964),position:n=he[a(1481)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:c,children:d,className:s,onMouseDown:u,onTouchStart:f,...y},g){const p=a,h=i||null,b=e===p(603),M=Ee(),v=la(),{connectOnClick:m,noPanClassName:w,rfId:C}=Be(ih,je),{connectingFrom:k,connectingTo:O,clickConnecting:G,isPossibleEndHandle:j,connectionInProcess:A,clickConnectionInProcess:Z,valid:W}=Be(ch(v,h,e),je);!v&&M[p(1740)]()[p(2133)]?.(p(700),nn[p(954)]());const q=D=>{const L=p,{defaultEdgeOptions:U,onConnect:P,hasDefaultEdges:S}=M[L(1740)](),K={...U,...D};if(S){const{edges:Q,setEdges:R}=M[L(1740)]();R(sc(K,Q))}P?.(K),c?.(K)},T=D=>{const L=p;if(!v)return;const U=xc(D[L(1530)]);if(x&&(U&&D[L(772)]===0||!U)){const P=M[L(1740)]();mo[L(948)](D[L(1530)],{handleDomNode:D[L(1153)],autoPanOnConnect:P[L(1114)],connectionMode:P[L(2138)],connectionRadius:P[L(2113)],domNode:P[L(617)],nodeLookup:P.nodeLookup,lib:P[L(1402)],isTarget:b,handleId:h,nodeId:v,flowId:P[L(1996)],panBy:P.panBy,cancelConnection:P.cancelConnection,onConnectStart:P.onConnectStart,onConnectEnd:(...S)=>M.getState()[L(788)]?.(...S),updateConnection:P[L(1406)],onConnect:q,isValidConnection:t||((...S)=>M[L(1740)]()[L(1088)]?.(...S)??!0),getTransform:()=>M[L(1740)]()[L(1130)],getFromHandle:()=>M[L(1740)]()[L(1329)].fromHandle,autoPanSpeed:P[L(1670)],dragThreshold:P[L(2154)]})}U?u?.(D):f?.(D)},N=D=>{const L=p,{onClickConnectStart:U,onClickConnectEnd:P,connectionClickStartHandle:S,connectionMode:K,isValidConnection:Q,lib:R,rfId:$,nodeLookup:xe,connection:ce}=M[L(1740)]();if(!v||!S&&!x)return;if(!S){U?.(D[L(1530)],{nodeId:v,handleId:h,handleType:e}),M[L(1766)]({connectionClickStartHandle:{nodeId:v,type:e,id:h}});return}const de=nc(D.target),fe=t||Q,{connection:ie,isValid:J}=mo[L(486)](D[L(1530)],{handle:{nodeId:v,id:h,type:e},connectionMode:K,fromNodeId:S[L(1626)],fromHandleId:S.id||null,fromType:S.type,isValidConnection:fe,flowId:$,doc:de,lib:R,nodeLookup:xe});J&&ie&&q(ie);const re=structuredClone(ce);delete re.inProgress,re[L(1773)]=re[L(2150)]?re[L(2150)][L(1543)]:null,P?.(D,re),M[L(1766)]({connectionClickStartHandle:null})};return l.jsx(p(539),{"data-handleid":h,"data-nodeid":v,"data-handlepos":n,"data-id":C+"-"+v+"-"+h+"-"+e,className:Ge([p(1083),p(1309)+n,"nodrag",w,s,{source:!b,target:b,connectable:o,connectablestart:x,connectableend:r,clickconnecting:G,connectingfrom:k,connectingto:O,valid:W,connectionindicator:o&&(!A||j)&&(A||Z?r:x)}]),onMouseDown:T,onTouchStart:T,onClick:m?N:void 0,ref:g,...y,children:d})}const Mt=B[a(1312)](oa(ah));function sh({data:e,isConnectable:n,sourcePosition:t=he[a(693)]}){const o=a;return l[o(1239)](l[o(915)],{children:[e?.[o(1834)],l.jsx(Mt,{type:o(964),position:t,isConnectable:n})]})}function lh({data:e,isConnectable:n,targetPosition:t=he[a(1481)],sourcePosition:o=he.Bottom}){const x=a;return l[x(1239)](l.Fragment,{children:[l[x(1993)](Mt,{type:x(603),position:t,isConnectable:n}),e?.[x(1834)],l.jsx(Mt,{type:x(964),position:o,isConnectable:n})]})}function dh(){return null}function uh({data:e,isConnectable:n,targetPosition:t=he.Top}){const o=a;return l[o(1239)](l[o(915)],{children:[l[o(1993)](Mt,{type:"target",position:t,isConnectable:n}),e?.label]})}const ox={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},da={input:sh,default:lh,output:uh,group:dh};function fh(e){const n=a;return e[n(380)][n(2091)]===void 0?{width:e.width??e[n(1350)]??e[n(1346)]?.[n(1238)],height:e[n(1265)]??e[n(883)]??e[n(1346)]?.[n(1265)]}:{width:e[n(1238)]??e[n(1346)]?.[n(1238)],height:e[n(1265)]??e[n(1346)]?.[n(1265)]}}const hh=e=>{const n=a,{width:t,height:o,x,y:r}=Ft(e[n(750)],{filter:i=>!!i.selected});return{width:hn(t)?t:null,height:hn(o)?o:null,userSelectionActive:e[n(925)],transformString:"translate("+e.transform[0]+n(405)+e[n(1130)][1]+n(1575)+e.transform[2]+n(2158)+x+n(405)+r+n(2197)}};function gh({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=a,x=Ee(),{width:r,height:i,transformString:c,userSelectionActive:d}=Be(hh,je),s=sa(),u=B.useRef(null);B[o(363)](()=>{const p=o;!t&&u[p(1560)]?.[p(844)]({preventScroll:!0})},[t]);const f=!d&&r!==null&&i!==null;if(aa({nodeRef:u,disabled:!f}),!f)return null;const y=e?p=>{const h=o,b=x[h(1740)]().nodes[h(1641)](M=>M[h(2178)]);e(p,b)}:void 0,g=p=>{const h=o;Object[h(1201)][h(436)][h(897)](ox,p.key)&&(p[h(1923)](),s({direction:ox[p[h(1460)]],factor:p[h(1518)]?4:1}))};return l.jsx(o(539),{className:Ge([o(1984),o(1079),n]),style:{transform:c},children:l[o(1993)](o(539),{ref:u,className:o(454),onContextMenu:y,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:i}})})}const ua=typeof window!==a(1202)?window:void 0,yh=e=>({nodesSelectionActive:e.nodesSelectionActive,userSelectionActive:e.userSelectionActive});function fa({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:c,deleteKeyCode:d,selectionKeyCode:s,selectionOnDrag:u,selectionMode:f,onSelectionStart:y,onSelectionEnd:g,multiSelectionKeyCode:p,panActivationKeyCode:h,zoomActivationKeyCode:b,elementsSelectable:M,zoomOnScroll:v,zoomOnPinch:m,panOnScroll:w,panOnScrollSpeed:C,panOnScrollMode:k,zoomOnDoubleClick:O,panOnDrag:G,defaultViewport:j,translateExtent:A,minZoom:Z,maxZoom:W,preventScrolling:q,onSelectionContextMenu:T,noWheelClassName:N,noPanClassName:D,disableKeyboardA11y:L,onViewportChange:U,isControlledViewport:P}){const S=a,{nodesSelectionActive:K,userSelectionActive:Q}=Be(yh,je),R=x0(s,{target:ua}),$=x0(h,{target:ua}),xe=$||G,ce=$||w,de=u&&xe!==!0,fe=R||Q||de;return _1({deleteKeyCode:d,multiSelectionKeyCode:p}),l[S(1993)]($1,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:v,zoomOnPinch:m,panOnScroll:ce,panOnScrollSpeed:C,panOnScrollMode:k,zoomOnDoubleClick:O,panOnDrag:!R&&xe,defaultViewport:j,translateExtent:A,minZoom:Z,maxZoom:W,zoomActivationKeyCode:b,preventScrolling:q,noWheelClassName:N,noPanClassName:D,onViewportChange:U,isControlledViewport:P,paneClickDistance:c,selectionOnDrag:de,children:l[S(1239)](xh,{onSelectionStart:y,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:xe,isSelecting:!!fe,selectionMode:f,selectionKeyPressed:R,paneClickDistance:c,selectionOnDrag:de,children:[e,K&&l[S(1993)](gh,{onSelectionContextMenu:T,noPanClassName:D,disableKeyboardA11y:L})]})})}fa[a(1495)]="FlowRenderer";const mh=B[a(1312)](fa),wh=e=>n=>{const t=a;return e?xo(n[t(750)],{x:0,y:0,width:n[t(1238)],height:n.height},n.transform,!0)[t(542)](o=>o.id):Array.from(n[t(750)][t(1651)]())};function vh(e){return Be(B.useCallback(wh(e),[e]),je)}const ph=e=>e[a(1208)];function bh(){const e=a,n=Be(ph),[t]=B[e(655)](()=>{const o=e;return typeof ResizeObserver===o(1202)?null:new ResizeObserver(x=>{const r=o,i=new Map;x[r(1369)](c=>{const d=r,s=c[d(603)][d(527)](d(888));i[d(799)](s,{id:s,nodeElement:c.target,force:!0})}),n(i)})});return B[e(363)](()=>()=>{t?.[_0x4806(988)]()},[t]),t}function zh({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=a,r=Ee(),i=B[x(575)](null),c=B.useRef(null),d=B[x(575)](e.sourcePosition),s=B[x(575)](e[x(1618)]),u=B[x(575)](n),f=t&&!!e.internals[x(2091)];return B[x(363)](()=>{const y=x;i.current&&!e[y(1821)]&&(!f||c[y(1560)]!==i[y(1560)])&&(c.current&&o?.unobserve(c.current),o?.observe(i[y(1560)]),c[y(1560)]=i[y(1560)])},[f,e[x(1821)]]),B[x(363)](()=>()=>{const y=_0x4806;c.current&&(o?.[y(1684)](c.current),c[y(1560)]=null)},[]),B[x(363)](()=>{const y=x;if(i[y(1560)]){const g=u[y(1560)]!==n,p=d[y(1560)]!==e[y(1425)],h=s.current!==e.targetPosition;(g||p||h)&&(u[y(1560)]=n,d[y(1560)]=e[y(1425)],s.current=e[y(1618)],r[y(1740)]()[y(1208)](new Map([[e.id,{id:e.id,nodeElement:i[y(1560)],force:!0}]])))}},[e.id,n,e[x(1425)],e.targetPosition]),i}function Ch({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:c,elementsSelectable:d,nodesConnectable:s,nodesFocusable:u,resizeObserver:f,noDragClassName:y,noPanClassName:g,disableKeyboardA11y:p,rfId:h,nodeTypes:b,nodeClickDistance:M,onError:v}){const m=a,{node:w,internals:C,isParent:k}=Be(ie=>{const J=_0x4806,re=ie.nodeLookup[J(1157)](e),_=ie[J(877)].has(e);return{node:re,internals:re.internals,isParent:_}},je);let O=w[m(1424)]||m(1582),G=b?.[O]||da[O];G===void 0&&(v?.(m(1535),nn[m(550)](O)),O=m(1582),G=b?.[m(1582)]||da[m(1582)]);const j=!!(w.draggable||c&&typeof w.draggable===m(1202)),A=!!(w[m(942)]||d&&typeof w[m(942)]===m(1202)),Z=!!(w[m(1225)]||s&&typeof w[m(1225)]===m(1202)),W=!!(w[m(1663)]||u&&typeof w[m(1663)]===m(1202)),q=Ee(),T=Qi(w),N=zh({node:w,nodeType:O,hasDimensions:T,resizeObserver:f}),D=aa({nodeRef:N,disabled:w[m(1821)]||!j,noDragClassName:y,handleSelector:w[m(390)],nodeId:e,isSelectable:A,nodeClickDistance:M}),L=sa();if(w[m(1821)])return null;const U=kn(w),P=fh(w),S=A||j||n||t||o||x,K=t?ie=>t(ie,{...C[m(1220)]}):void 0,Q=o?ie=>o(ie,{...C[m(1220)]}):void 0,R=x?ie=>x(ie,{...C[m(1220)]}):void 0,$=r?ie=>r(ie,{...C.userNode}):void 0,xe=i?ie=>i(ie,{...C.userNode}):void 0,ce=ie=>{const J=m,{selectNodesOnDrag:re,nodeDragThreshold:_}=q[J(1740)]();A&&(!re||!j||_>0)&&Lo({id:e,store:q,nodeRef:N}),n&&n(ie,{...C.userNode})},de=ie=>{const J=m;if(!(tc(ie.nativeEvent)||p)){if(Oi.includes(ie[J(1460)])&&A){const re=ie[J(1460)]===J(483);Lo({id:e,store:q,unselect:re,nodeRef:N})}else if(j&&w[J(2178)]&&Object[J(1201)][J(436)][J(897)](ox,ie[J(1460)])){ie[J(1923)]();const{ariaLabelConfig:re}=q[J(1740)]();q[J(1766)]({ariaLiveMessage:re[J(1758)]({direction:ie.key[J(598)](J(1095),"")[J(1093)](),x:~~C[J(2107)].x,y:~~C[J(2107)].y})}),L({direction:ox[ie[J(1460)]],factor:ie.shiftKey?4:1})}}},fe=()=>{const ie=m;if(p||!N[ie(1560)]?.[ie(1719)](ie(735)))return;const{transform:J,width:re,height:_,autoPanOnNodeFocus:I,setCenter:Y}=q[ie(1740)]();if(!I)return;!(xo(new Map([[e,w]]),{x:0,y:0,width:re,height:_},J,!0).length>0)&&Y(w[ie(1543)].x+U.width/2,w.position.y+U[ie(1265)]/2,{zoom:J[2]})};return l.jsx(m(539),{className:Ge([m(1994),m(1872)+O,{[g]:j},w.className,{selected:w[m(2178)],selectable:A,parent:k,draggable:j,dragging:D}]),ref:N,style:{zIndex:C.z,transform:m(389)+C.positionAbsolute.x+"px,"+C.positionAbsolute.y+m(2197),pointerEvents:m(S?951:1712),visibility:m(T?1136:1821),...w[m(1346)],...P},"data-id":e,"data-testid":"rf__node-"+e,onMouseEnter:K,onMouseMove:Q,onMouseLeave:R,onContextMenu:$,onClick:ce,onDoubleClick:xe,onKeyDown:W?de:void 0,tabIndex:W?0:void 0,onFocus:W?fe:void 0,role:w[m(1807)]??(W?m(1728):void 0),"aria-roledescription":"node","aria-describedby":p?void 0:qc+"-"+h,"aria-label":w[m(783)],...w[m(1675)],children:l.jsx(rh,{value:e,children:l[m(1993)](G,{id:e,data:w[m(1468)],type:O,positionAbsoluteX:C[m(2107)].x,positionAbsoluteY:C[m(2107)].y,selected:w[m(2178)]??!1,selectable:A,draggable:j,deletable:w.deletable??!0,isConnectable:Z,sourcePosition:w[m(1425)],targetPosition:w[m(1618)],dragging:D,dragHandle:w[m(390)],zIndex:C.z,parentId:w[m(890)],...U})})})}var Mh=B[a(1312)](Ch);const Bh=e=>({nodesDraggable:e[a(2169)],nodesConnectable:e[a(1986)],nodesFocusable:e[a(1237)],elementsSelectable:e[a(1503)],onError:e.onError});function ha(e){const n=a,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Be(Bh,je),c=vh(e[n(421)]),d=bh();return l[n(1993)]("div",{className:n(839),style:xx,children:c[n(542)](s=>{const u=n;return l[u(1993)](Mh,{id:s,nodeTypes:e.nodeTypes,nodeExtent:e.nodeExtent,onClick:e[u(544)],onMouseEnter:e.onNodeMouseEnter,onMouseMove:e[u(2180)],onMouseLeave:e[u(2027)],onContextMenu:e[u(1742)],onDoubleClick:e[u(594)],noDragClassName:e[u(1094)],noPanClassName:e[u(1732)],rfId:e[u(1996)],disableKeyboardA11y:e[u(579)],resizeObserver:d,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e[u(711)],onError:i},s)})})}ha[a(1495)]="NodeRenderer";const Dh=B[a(1312)](ha);function Lh(e){return Be(B.useCallback(t=>{const o=_0x4806;if(!e)return t.edges[o(542)](r=>r.id);const x=[];if(t[o(1238)]&&t.height)for(const r of t[o(1337)]){const i=t[o(750)].get(r.source),c=t[o(750)][o(1157)](r[o(603)]);i&&c&&D2({sourceNode:i,targetNode:c,width:t.width,height:t[o(1265)],transform:t[o(1130)]})&&x[o(1465)](r.id)}return x},[e]),je)}const Nh=({color:e=a(1712),strokeWidth:n=1})=>{const t=a,o={strokeWidth:n,...e&&{stroke:e}};return l.jsx(t(2190),{className:"arrow",style:o,strokeLinecap:t(723),fill:t(1712),strokeLinejoin:t(723),points:t(1210)})},Sh=({color:e=a(1712),strokeWidth:n=1})=>{const t=a,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l.jsx(t(2190),{className:"arrowclosed",style:o,strokeLinecap:"round",strokeLinejoin:t(723),points:"-5,-4 0,0 -5,4 -5,-4"})},ga={[W0[a(1095)]]:Nh,[W0[a(1e3)]]:Sh};function kh(e){const n=Ee();return B.useMemo(()=>{const o=_0x4806;return Object[o(1201)][o(436)][o(897)](ga,e)?ga[e]:(n[o(1740)]().onError?.(o(934),nn[o(1998)](e)),null)},[e])}const Ih=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=a(1564),strokeWidth:i,orient:c=a(1363)})=>{const d=a,s=kh(n);return s?l[d(1993)](d(994),{className:d(1049),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:d(1330),markerUnits:r,orient:c,refX:"0",refY:"0",children:l[d(1993)](s,{color:t,strokeWidth:i})}):null},ya=({defaultColor:e,rfId:n})=>{const t=a,o=Be(i=>i[t(1337)]),x=Be(i=>i[t(1650)]),r=B[t(528)](()=>A2(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[t(1440)],defaultMarkerEnd:x?.markerEnd}),[o,x,n,e]);return r.length?l[t(1993)](t(719),{className:t(1988),"aria-hidden":t(1501),children:l.jsx("defs",{children:r[t(542)](i=>l[t(1993)](Ih,{id:i.id,type:i.type,color:i.color,width:i[t(1238)],height:i[t(1265)],markerUnits:i[t(1686)],strokeWidth:i[t(1564)],orient:i[t(2195)]},i.id))})}):null};ya[a(1495)]=a(460);var Ph=B[a(1312)](ya);function ma({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:c=2,children:d,className:s,...u}){const f=a,[y,g]=B[f(655)]({x:1,y:0,width:0,height:0}),p=Ge([f(415),s]),h=B[f(575)](null);return B.useEffect(()=>{const b=f;if(h[b(1560)]){const M=h[b(1560)][b(1844)]();g({x:M.x,y:M.y,width:M[b(1238)],height:M[b(1265)]})}},[t]),t?l[f(1239)]("g",{transform:"translate("+(e-y[f(1238)]/2)+" "+(n-y[f(1265)]/2)+")",className:p,visibility:y[f(1238)]?f(1136):f(1821),...u,children:[x&&l[f(1993)](f(885),{width:y[f(1238)]+2*i[0],x:-i[0],y:-i[1],height:y.height+2*i[1],className:f(1046),style:r,rx:c,ry:c}),l[f(1993)]("text",{className:f(2163),y:y.height/2,dy:f(488),ref:h,style:o,children:t}),d]}):null}ma[a(1495)]="EdgeText";const Ah=B[a(1312)](ma);function rx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:d,interactionWidth:s=20,...u}){const f=a;return l[f(1239)](l[f(915)],{children:[l[f(1993)]("path",{...u,d:e,fill:f(1712),className:Ge(["react-flow__edge-path",u[f(710)]])}),s?l[f(1993)](f(1199),{d:e,fill:"none",strokeOpacity:0,strokeWidth:s,className:f(1138)}):null,o&&hn(n)&&hn(t)?l[f(1993)](Ah,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:d}):null]})}function wa({pos:e,x1:n,y1:t,x2:o,y2:x}){const r=a;return e===he[r(1010)]||e===he[r(1158)]?[.5*(n+o),t]:[n,.5*(t+x)]}function va({sourceX:e,sourceY:n,sourcePosition:t=he[a(693)],targetX:o,targetY:x,targetPosition:r=he[a(1481)]}){const[i,c]=wa({pos:t,x1:e,y1:n,x2:o,y2:x}),[d,s]=wa({pos:r,x1:o,y1:x,x2:e,y2:n}),[u,f,y,g]=rc({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:c,targetControlX:d,targetControlY:s});return["M"+e+","+n+" C"+i+","+c+" "+d+","+s+" "+o+","+x,u,f,y,g]}function pa(e){const n=a;return B[n(1312)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c,targetPosition:d,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:p,style:h,markerEnd:b,markerStart:M,interactionWidth:v})=>{const m=n,[w,C,k]=va({sourceX:o,sourceY:x,sourcePosition:c,targetX:r,targetY:i,targetPosition:d}),O=e[m(1197)]?void 0:t;return l[m(1993)](rx,{id:O,path:w,labelX:C,labelY:k,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:p,style:h,markerEnd:b,markerStart:M,interactionWidth:v})})}const jh=pa({isInternal:!1}),ba=pa({isInternal:!0});jh[a(1495)]=a(465),ba[a(1495)]=a(1262);function za(e){const n=a;return B[n(1312)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:c,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,sourcePosition:p=he[n(693)],targetPosition:h=he.Top,markerEnd:b,markerStart:M,pathOptions:v,interactionWidth:m})=>{const w=n,[C,k,O]=co({sourceX:o,sourceY:x,sourcePosition:p,targetX:r,targetY:i,targetPosition:h,borderRadius:v?.[w(1637)],offset:v?.[w(1120)],stepPosition:v?.stepPosition}),G=e[w(1197)]?void 0:t;return l[w(1993)](rx,{id:G,path:C,labelX:k,labelY:O,label:c,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:b,markerStart:M,interactionWidth:m})})}const Ca=za({isInternal:!1}),Ma=za({isInternal:!0});Ca[a(1495)]=a(765),Ma[a(1495)]=a(1027);function Ba(e){return B.memo(({id:n,...t})=>{const o=_0x4806,x=e[o(1197)]?void 0:n;return l[o(1993)](Ca,{...t,id:x,pathOptions:B.useMemo(()=>({borderRadius:0,offset:t[o(1849)]?.[o(1120)]}),[t[o(1849)]?.offset])})})}const Eh=Ba({isInternal:!1}),Da=Ba({isInternal:!0});Eh[a(1495)]=a(1632),Da.displayName=a(875);function La(e){const n=a;return B[n(1312)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:c,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:p,markerStart:h,interactionWidth:b})=>{const M=n,[v,m,w]=lc({sourceX:o,sourceY:x,targetX:r,targetY:i}),C=e[M(1197)]?void 0:t;return l[M(1993)](rx,{id:C,path:v,labelX:m,labelY:w,label:c,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:y,style:g,markerEnd:p,markerStart:h,interactionWidth:b})})}const Yh=La({isInternal:!1}),Na=La({isInternal:!0});Yh[a(1495)]=a(1679),Na[a(1495)]="StraightEdgeInternal";function Sa(e){const n=a;return B[n(1312)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c=he[n(693)],targetPosition:d=he[n(1481)],label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:p,style:h,markerEnd:b,markerStart:M,pathOptions:v,interactionWidth:m})=>{const w=n,[C,k,O]=cc({sourceX:o,sourceY:x,sourcePosition:c,targetX:r,targetY:i,targetPosition:d,curvature:v?.curvature}),G=e[w(1197)]?void 0:t;return l[w(1993)](rx,{id:G,path:C,labelX:k,labelY:O,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:y,labelBgPadding:g,labelBgBorderRadius:p,style:h,markerEnd:b,markerStart:M,interactionWidth:m})})}const Uh=Sa({isInternal:!1}),ka=Sa({isInternal:!0});Uh[a(1495)]=a(1494),ka.displayName=a(619);const Ia={default:ka,straight:Na,step:Da,smoothstep:Ma,simplebezier:ba},Pa={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},Gh=(e,n,t)=>{const o=a;return t===he[o(1010)]?e-n:t===he[o(1158)]?e+n:e},Oh=(e,n,t)=>t===he[a(1481)]?e-n:t===he.Bottom?e+n:e,Aa=a(1547);function ja({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:c}){const d=a;return l[d(1993)]("circle",{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Ge([Aa,Aa+"-"+c]),cx:Gh(n,o,e),cy:Oh(t,o,e),r:o,stroke:d(583),fill:d(583)})}function Hh({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c,targetPosition:d,onReconnect:s,onReconnectStart:u,onReconnectEnd:f,setReconnecting:y,setUpdateHover:g}){const p=a,h=Ee(),b=(C,k)=>{const O=_0x4806;if(C[O(772)]!==0)return;const{autoPanOnConnect:G,domNode:j,connectionMode:A,connectionRadius:Z,lib:W,onConnectStart:q,cancelConnection:T,nodeLookup:N,rfId:D,panBy:L,updateConnection:U}=h[O(1740)](),P=k[O(1424)]===O(603),S=(R,$)=>{const xe=O;y(!1),f?.(R,t,k[xe(1424)],$)},K=R=>s?.(t,R),Q=(R,$)=>{const xe=O;y(!0),u?.(C,t,k[xe(1424)]),q?.(R,$)};mo[O(948)](C.nativeEvent,{autoPanOnConnect:G,connectionMode:A,connectionRadius:Z,domNode:j,handleId:k.id,nodeId:k[O(1626)],nodeLookup:N,isTarget:P,edgeUpdaterType:k.type,lib:W,flowId:D,cancelConnection:T,panBy:L,isValidConnection:(...R)=>h[O(1740)]()[O(1088)]?.(...R)??!0,onConnect:K,onConnectStart:Q,onConnectEnd:(...R)=>h[O(1740)]().onConnectEnd?.(...R),onReconnectEnd:S,updateConnection:U,getTransform:()=>h[O(1740)]()[O(1130)],getFromHandle:()=>h[O(1740)]()[O(1329)][O(456)],dragThreshold:h[O(1740)]().connectionDragThreshold,handleDomNode:C.currentTarget})},M=C=>b(C,{nodeId:t[p(603)],id:t[p(2069)]??null,type:p(603)}),v=C=>b(C,{nodeId:t[p(964)],id:t[p(2008)]??null,type:p(964)}),m=()=>g(!0),w=()=>g(!1);return l[p(1239)](l[p(915)],{children:[(e===!0||e===p(964))&&l[p(1993)](ja,{position:c,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:m,onMouseOut:w,type:"source"}),(e===!0||e==="target")&&l[p(1993)](ja,{position:d,centerX:r,centerY:i,radius:n,onMouseDown:v,onMouseEnter:m,onMouseOut:w,type:p(603)})]})}function Th({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:c,onMouseMove:d,onMouseLeave:s,reconnectRadius:u,onReconnect:f,onReconnectStart:y,onReconnectEnd:g,rfId:p,edgeTypes:h,noPanClassName:b,onError:M,disableKeyboardA11y:v}){const m=a;let w=Be(I=>I[m(986)].get(e));const C=Be(I=>I[m(1650)]);w=C?{...C,...w}:w;let k=w[m(1424)]||m(1582),O=h?.[k]||Ia[k];O===void 0&&(M?.(m(2e3),nn[m(1815)](k)),k=m(1582),O=h?.default||Ia[m(1582)]);const G=!!(w[m(1663)]||n&&typeof w[m(1663)]>"u"),j=typeof f!==m(1202)&&(w[m(399)]||t&&typeof w[m(399)]>"u"),A=!!(w[m(942)]||o&&typeof w[m(942)]===m(1202)),Z=B.useRef(null),[W,q]=B[m(655)](!1),[T,N]=B[m(655)](!1),D=Ee(),{zIndex:L,sourceX:U,sourceY:P,targetX:S,targetY:K,sourcePosition:Q,targetPosition:R}=Be(B.useCallback(I=>{const Y=m,X=I[Y(750)].get(w[Y(964)]),H=I[Y(750)][Y(1157)](w.target);if(!X||!H)return{zIndex:w.zIndex,...Pa};const oe=P2({id:e,sourceNode:X,targetNode:H,sourceHandle:w[Y(2008)]||null,targetHandle:w.targetHandle||null,connectionMode:I[Y(2138)],onError:M});return{zIndex:B2({selected:w.selected,zIndex:w[Y(540)],sourceNode:X,targetNode:H,elevateOnSelect:I.elevateEdgesOnSelect,zIndexMode:I[Y(2098)]}),...oe||Pa}},[w[m(964)],w.target,w[m(2008)],w[m(2069)],w[m(2178)],w[m(540)]]),je),$=B[m(528)](()=>w[m(1440)]?m(923)+ao(w.markerStart,p)+"')":void 0,[w.markerStart,p]),xe=B.useMemo(()=>w[m(573)]?m(923)+ao(w[m(573)],p)+"')":void 0,[w.markerEnd,p]);if(w[m(1821)]||U===null||P===null||S===null||K===null)return null;const ce=I=>{const Y=m,{addSelectedEdges:X,unselectNodesAndEdges:H,multiSelectionActive:oe}=D[Y(1740)]();A&&(D[Y(1766)]({nodesSelectionActive:!1}),w[Y(2178)]&&oe?(H({nodes:[],edges:[w]}),Z[Y(1560)]?.blur()):X([e])),x&&x(I,w)},de=r?I=>{r(I,{...w})}:void 0,fe=i?I=>{i(I,{...w})}:void 0,ie=c?I=>{c(I,{...w})}:void 0,J=d?I=>{d(I,{...w})}:void 0,re=s?I=>{s(I,{...w})}:void 0,_=I=>{const Y=m;if(!v&&Oi[Y(911)](I[Y(1460)])&&A){const{unselectNodesAndEdges:X,addSelectedEdges:H}=D[Y(1740)]();I[Y(1460)]===Y(483)?(Z[Y(1560)]?.blur(),X({edges:[w]})):H([e])}};return l[m(1993)]("svg",{style:{zIndex:L},children:l.jsxs("g",{className:Ge([m(1594),m(692)+k,w[m(710)],b,{selected:w[m(2178)],animated:w[m(1020)],inactive:!A&&!x,updating:W,selectable:A}]),onClick:ce,onDoubleClick:de,onContextMenu:fe,onMouseEnter:ie,onMouseMove:J,onMouseLeave:re,onKeyDown:G?_:void 0,tabIndex:G?0:void 0,role:w[m(1807)]??m(G?1728:916),"aria-roledescription":m(1551),"data-id":e,"data-testid":m(1448)+e,"aria-label":w[m(783)]===null?void 0:w.ariaLabel||m(2143)+w[m(964)]+" to "+w[m(603)],"aria-describedby":G?Wc+"-"+p:void 0,ref:Z,...w[m(1675)],children:[!T&&l[m(1993)](O,{id:e,source:w[m(964)],target:w[m(603)],type:w.type,selected:w[m(2178)],animated:w[m(1020)],selectable:A,deletable:w.deletable??!0,label:w.label,labelStyle:w.labelStyle,labelShowBg:w[m(2101)],labelBgStyle:w.labelBgStyle,labelBgPadding:w[m(1579)],labelBgBorderRadius:w[m(568)],sourceX:U,sourceY:P,targetX:S,targetY:K,sourcePosition:Q,targetPosition:R,data:w[m(1468)],style:w[m(1346)],sourceHandleId:w[m(2008)],targetHandleId:w[m(2069)],markerStart:$,markerEnd:xe,pathOptions:m(1849)in w?w[m(1849)]:void 0,interactionWidth:w[m(790)]}),j&&l.jsx(Hh,{edge:w,isReconnectable:j,reconnectRadius:u,onReconnect:f,onReconnectStart:y,onReconnectEnd:g,sourceX:U,sourceY:P,targetX:S,targetY:K,sourcePosition:Q,targetPosition:R,setUpdateHover:q,setReconnecting:N})]})})}var Vh=B[a(1312)](Th);const qh=e=>({edgesFocusable:e[a(2086)],edgesReconnectable:e[a(961)],elementsSelectable:e.elementsSelectable,connectionMode:e.connectionMode,onError:e[a(2133)]});function Ea({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:c,onEdgeMouseMove:d,onEdgeMouseLeave:s,onEdgeClick:u,reconnectRadius:f,onEdgeDoubleClick:y,onReconnectStart:g,onReconnectEnd:p,disableKeyboardA11y:h}){const b=a,{edgesFocusable:M,edgesReconnectable:v,elementsSelectable:m,onError:w}=Be(qh,je),C=Lh(n);return l[b(1239)](b(539),{className:b(763),children:[l.jsx(Ph,{defaultColor:e,rfId:t}),C[b(542)](k=>l[b(1993)](Vh,{id:k,edgesFocusable:M,edgesReconnectable:v,elementsSelectable:m,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:c,onMouseMove:d,onMouseLeave:s,onClick:u,reconnectRadius:f,onDoubleClick:y,onReconnectStart:g,onReconnectEnd:p,rfId:t,onError:w,edgeTypes:o,disableKeyboardA11y:h},k))]})}Ea[a(1495)]="EdgeRenderer";const Wh=B[a(1312)](Ea),Xh=e=>a(389)+e[a(1130)][0]+"px,"+e[a(1130)][1]+a(1575)+e[a(1130)][2]+")";function Kh({children:e}){const n=a,t=Be(Xh);return l[n(1993)](n(539),{className:n(1962),style:{transform:t},children:e})}function Zh(e){const n=a,t=Bo(),o=B[n(575)](!1);B[n(363)](()=>{const x=n;!o[x(1560)]&&t[x(1103)]&&e&&(setTimeout(()=>e(t),1),o[x(1560)]=!0)},[e,t[n(1103)]])}const Rh=e=>e[a(1788)]?.[a(388)];function Jh(e){const n=a,t=Be(Rh),o=Ee();return B[n(363)](()=>{const x=n;e&&(t?.(e),o.setState({transform:[e.x,e.y,e[x(1386)]]}))},[e,t]),null}function _h(e){const n=a;return e.connection.inProgress?{...e[n(1329)],to:e0(e[n(1329)].to,e[n(1130)])}:{...e[n(1329)]}}function Fh(e){return _h}function Qh(e){const n=Fh();return Be(n,je)}const $h=e=>({nodesConnectable:e.nodesConnectable,isValid:e[a(1329)][a(486)],inProgress:e[a(1329)][a(1311)],width:e[a(1238)],height:e[a(1265)]});function eg({containerStyle:e,style:n,type:t,component:o}){const x=a,{nodesConnectable:r,width:i,height:c,isValid:d,inProgress:s}=Be($h,je);return!(i&&r&&s)?null:l[x(1993)](x(719),{style:e,width:i,height:c,className:x(1007),children:l[x(1993)]("g",{className:Ge(["react-flow__connection",qi(d)]),children:l[x(1993)](Ya,{style:n,type:t,CustomComponent:o,isValid:d})})})}const Ya=({style:e,type:n=En[a(1181)],CustomComponent:t,isValid:o})=>{const x=a,{inProgress:r,from:i,fromNode:c,fromHandle:d,fromPosition:s,to:u,toNode:f,toHandle:y,toPosition:g,pointer:p}=Qh();if(!r)return;if(t)return l[x(1993)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:c,fromHandle:d,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:s,toPosition:g,connectionStatus:qi(o),toNode:f,toHandle:y,pointer:p});let h="";const b={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:u.x,targetY:u.y,targetPosition:g};switch(n){case En.Bezier:[h]=cc(b);break;case En[x(1392)]:[h]=va(b);break;case En[x(1914)]:[h]=co({...b,borderRadius:0});break;case En[x(1852)]:[h]=co(b);break;default:[h]=lc(b)}return l.jsx(x(1199),{d:h,fill:x(1712),className:x(2152),style:e})};Ya.displayName=a(1802);const ng={};function Ua(e=ng){const n=a,t=B[n(575)](e),o=Ee();B.useEffect(()=>{const x=n;if(process.env.NODE_ENV===x(515)){const r=new Set([...Object[x(1651)](t[x(1560)]),...Object[x(1651)](e)]);for(const i of r)if(t[x(1560)][i]!==e[i]){o[x(1740)]()[x(2133)]?.(x(1099),nn[x(1264)]());break}t[x(1560)]=e}},[e])}function tg(){const e=a,n=Ee(),t=B[e(575)](!1);B[e(363)](()=>{const o=e;if(process.env.NODE_ENV===o(515)&&!t.current){const x=document[o(1542)](o(580));x&&window[o(574)](x).zIndex!=="1"&&n.getState().onError?.(o(1077),nn[o(1118)](o(1978))),t[o(1560)]=!0}},[])}function Ga({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:c,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,onSelectionContextMenu:f,onSelectionStart:y,onSelectionEnd:g,connectionLineType:p,connectionLineStyle:h,connectionLineComponent:b,connectionLineContainerStyle:M,selectionKeyCode:v,selectionOnDrag:m,selectionMode:w,multiSelectionKeyCode:C,panActivationKeyCode:k,zoomActivationKeyCode:O,deleteKeyCode:G,onlyRenderVisibleElements:j,elementsSelectable:A,defaultViewport:Z,translateExtent:W,minZoom:q,maxZoom:T,preventScrolling:N,defaultMarkerColor:D,zoomOnScroll:L,zoomOnPinch:U,panOnScroll:P,panOnScrollSpeed:S,panOnScrollMode:K,zoomOnDoubleClick:Q,panOnDrag:R,onPaneClick:$,onPaneMouseEnter:xe,onPaneMouseMove:ce,onPaneMouseLeave:de,onPaneScroll:fe,onPaneContextMenu:ie,paneClickDistance:J,nodeClickDistance:re,onEdgeContextMenu:_,onEdgeMouseEnter:I,onEdgeMouseMove:Y,onEdgeMouseLeave:X,reconnectRadius:H,onReconnect:oe,onReconnectStart:le,onReconnectEnd:se,noDragClassName:ge,noWheelClassName:ve,noPanClassName:Ne,disableKeyboardA11y:ze,nodeExtent:ke,rfId:Ye,viewport:Ie,onViewportChange:Pe}){const Ae=a;return Ua(e),Ua(n),tg(),Zh(t),Jh(Ie),l[Ae(1993)](mh,{onPaneClick:$,onPaneMouseEnter:xe,onPaneMouseMove:ce,onPaneMouseLeave:de,onPaneContextMenu:ie,onPaneScroll:fe,paneClickDistance:J,deleteKeyCode:G,selectionKeyCode:v,selectionOnDrag:m,selectionMode:w,onSelectionStart:y,onSelectionEnd:g,multiSelectionKeyCode:C,panActivationKeyCode:k,zoomActivationKeyCode:O,elementsSelectable:A,zoomOnScroll:L,zoomOnPinch:U,zoomOnDoubleClick:Q,panOnScroll:P,panOnScrollSpeed:S,panOnScrollMode:K,panOnDrag:R,defaultViewport:Z,translateExtent:W,minZoom:q,maxZoom:T,onSelectionContextMenu:f,preventScrolling:N,noDragClassName:ge,noWheelClassName:ve,noPanClassName:Ne,disableKeyboardA11y:ze,onViewportChange:Pe,isControlledViewport:!!Ie,children:l.jsxs(Kh,{children:[l[Ae(1993)](Wh,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:oe,onReconnectStart:le,onReconnectEnd:se,onlyRenderVisibleElements:j,onEdgeContextMenu:_,onEdgeMouseEnter:I,onEdgeMouseMove:Y,onEdgeMouseLeave:X,reconnectRadius:H,defaultMarkerColor:D,noPanClassName:Ne,disableKeyboardA11y:ze,rfId:Ye}),l.jsx(eg,{style:h,type:p,component:b,containerStyle:M}),l.jsx(Ae(539),{className:Ae(1610)}),l[Ae(1993)](Dh,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:c,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,nodeClickDistance:re,onlyRenderVisibleElements:j,noPanClassName:Ne,noDragClassName:ge,disableKeyboardA11y:ze,nodeExtent:ke,rfId:Ye}),l[Ae(1993)](Ae(539),{className:Ae(612)})]})})}Ga[a(1495)]=a(653);const xg=B[a(1312)](Ga),Oa=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d=.5,maxZoom:s=2,nodeOrigin:u,nodeExtent:f,zIndexMode:y=a(1750)}={})=>{const g=a,p=new Map,h=new Map,b=new Map,M=new Map,v=o??n??[],m=t??e??[],w=u??[0,0],C=f??Rt;vc(b,M,v);const{nodesInitialized:k}=fo(m,p,h,{nodeOrigin:w,nodeExtent:C,zIndexMode:y});let O=[0,0,1];if(i&&x&&r){const G=Ft(p,{filter:W=>!!((W.width||W.initialWidth)&&(W[g(1265)]||W[g(883)]))}),{x:j,y:A,zoom:Z}=ro(G,x,r,d,s,c?.padding??.1);O=[j,A,Z]}return{rfId:"1",width:x??0,height:r??0,transform:O,nodes:m,nodesInitialized:k,nodeLookup:p,parentLookup:h,edges:v,edgeLookup:M,connectionLookup:b,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:d,maxZoom:s,translateExtent:Rt,nodeExtent:C,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:yt.Strict,domNode:null,paneDragging:!1,noPanClassName:g(933),nodeOrigin:w,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:i??!1,fitViewOptions:c,fitViewResolver:null,connection:{...Ti},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Fi,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:Hi,zIndexMode:y,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},og=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,zIndexMode:y})=>C1((g,p)=>{async function h(){const b=_0x4806,{nodeLookup:M,panZoom:v,fitViewOptions:m,fitViewResolver:w,width:C,height:k,minZoom:O,maxZoom:G}=p();v&&(await w2({nodes:M,width:C,height:k,panZoom:v,minZoom:O,maxZoom:G},m),w?.[b(2192)](!0),g({fitViewResolver:null}))}return{...Oa({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:y}),setNodes:b=>{const{nodeLookup:M,parentLookup:v,nodeOrigin:m,elevateNodesOnSelect:w,fitViewQueued:C,zIndexMode:k,nodesSelectionActive:O}=p(),{nodesInitialized:G,hasSelectedNodes:j}=fo(b,M,v,{nodeOrigin:m,nodeExtent:f,elevateNodesOnSelect:w,checkEquality:!0,zIndexMode:k}),A=O&&j;C&&G?(h(),g({nodes:b,nodesInitialized:G,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:A})):g({nodes:b,nodesInitialized:G,nodesSelectionActive:A})},setEdges:b=>{const{connectionLookup:M,edgeLookup:v}=p();vc(M,v,b),g({edges:b})},setDefaultNodesAndEdges:(b,M)=>{if(b){const{setNodes:v}=p();v(b),g({hasDefaultNodes:!0})}if(M){const{setEdges:v}=p();v(M),g({hasDefaultEdges:!0})}},updateNodeInternals:b=>{const M=_0x4806,{triggerNodeChanges:v,nodeLookup:m,parentLookup:w,domNode:C,nodeOrigin:k,nodeExtent:O,debug:G,fitViewQueued:j,zIndexMode:A}=p(),{changes:Z,updatedInternals:W}=H2(b,m,w,C,k,O,A);W&&(Y2(m,w,{nodeOrigin:k,nodeExtent:O,zIndexMode:A}),j?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),Z?.length>0&&(G&&console[M(365)]("React Flow: trigger node changes",Z),v?.(Z)))},updateNodePositions:(b,M=!1)=>{const v=_0x4806,m=[];let w=[];const{nodeLookup:C,triggerNodeChanges:k,connection:O,updateConnection:G,onNodesChangeMiddlewareMap:j}=p();for(const[A,Z]of b){const W=C[v(1157)](A),q=!!(W?.expandParent&&W?.[v(890)]&&Z?.position),T={id:A,type:v(1543),position:q?{x:Math.max(0,Z[v(1543)].x),y:Math[v(1439)](0,Z[v(1543)].y)}:Z[v(1543)],dragging:M};if(W&&O[v(1311)]&&O.fromNode.id===W.id){const N=$n(W,O[v(456)],he.Left,!0);G({...O,from:N})}q&&W[v(890)]&&m.push({id:A,parentId:W[v(890)],rect:{...Z[v(380)].positionAbsolute,width:Z.measured[v(1238)]??0,height:Z[v(1583)][v(1265)]??0}}),w[v(1465)](T)}if(m[v(2194)]>0){const{parentLookup:A,nodeOrigin:Z}=p(),W=go(m,C,A,Z);w[v(1465)](...W)}for(const A of j.values())w=A(w);k(w)},triggerNodeChanges:b=>{const M=_0x4806,{onNodesChange:v,setNodes:m,nodes:w,hasDefaultNodes:C,debug:k}=p();if(b?.[M(2194)]){if(C){const O=$c(b,w);m(O)}k&&console[M(365)](M(1928),b),v?.(b)}},triggerEdgeChanges:b=>{const M=_0x4806,{onEdgesChange:v,setEdges:m,edges:w,hasDefaultEdges:C,debug:k}=p();if(b?.[M(2194)]){if(C){const O=ea(b,w);m(O)}k&&console[M(365)](M(1898),b),v?.(b)}},addSelectedNodes:b=>{const M=_0x4806,{multiSelectionActive:v,edgeLookup:m,nodeLookup:w,triggerNodeChanges:C,triggerEdgeChanges:k}=p();if(v){const O=b[M(542)](G=>et(G,!0));C(O);return}C(Ct(w,new Set([...b]),!0)),k(Ct(m))},addSelectedEdges:b=>{const{multiSelectionActive:M,edgeLookup:v,nodeLookup:m,triggerNodeChanges:w,triggerEdgeChanges:C}=p();if(M){const k=b.map(O=>et(O,!0));C(k);return}C(Ct(v,new Set([...b]))),w(Ct(m,new Set,!0))},unselectNodesAndEdges:({nodes:b,edges:M}={})=>{const v=_0x4806,{edges:m,nodes:w,nodeLookup:C,triggerNodeChanges:k,triggerEdgeChanges:O}=p(),G=b||w,j=M||m,A=[];for(const W of G){if(!W[v(2178)])continue;const q=C[v(1157)](W.id);q&&(q[v(2178)]=!1),A[v(1465)](et(W.id,!1))}const Z=[];for(const W of j)W[v(2178)]&&Z[v(1465)](et(W.id,!1));k(A),O(Z)},setMinZoom:b=>{const M=_0x4806,{panZoom:v,maxZoom:m}=p();v?.[M(559)]([b,m]),g({minZoom:b})},setMaxZoom:b=>{const{panZoom:M,minZoom:v}=p();M?.setScaleExtent([v,b]),g({maxZoom:b})},setTranslateExtent:b=>{const M=_0x4806;p()[M(1788)]?.setTranslateExtent(b),g({translateExtent:b})},resetSelectedElements:()=>{const b=_0x4806,{edges:M,nodes:v,triggerNodeChanges:m,triggerEdgeChanges:w,elementsSelectable:C}=p();if(!C)return;const k=v[b(1606)]((G,j)=>j[b(2178)]?[...G,et(j.id,!1)]:G,[]),O=M[b(1606)]((G,j)=>j.selected?[...G,et(j.id,!1)]:G,[]);m(k),w(O)},setNodeExtent:b=>{const{nodes:M,nodeLookup:v,parentLookup:m,nodeOrigin:w,elevateNodesOnSelect:C,nodeExtent:k,zIndexMode:O}=p();b[0][0]===k[0][0]&&b[0][1]===k[0][1]&&b[1][0]===k[1][0]&&b[1][1]===k[1][1]||(fo(M,v,m,{nodeOrigin:w,nodeExtent:b,elevateNodesOnSelect:C,checkEquality:!1,zIndexMode:O}),g({nodeExtent:b}))},panBy:b=>{const{transform:M,width:v,height:m,panZoom:w,translateExtent:C}=p();return T2({delta:b,panZoom:w,transform:M,translateExtent:C,width:v,height:m})},setCenter:async(b,M,v)=>{const m=_0x4806,{width:w,height:C,maxZoom:k,panZoom:O}=p();if(!O)return Promise[m(2192)](!1);const G=typeof v?.[m(1386)]!==m(1202)?v[m(1386)]:k;return await O[m(1659)]({x:w/2-b*G,y:C/2-M*G,zoom:G},{duration:v?.[m(2056)],ease:v?.[m(2044)],interpolate:v?.[m(2172)]}),Promise.resolve(!0)},cancelConnection:()=>{g({connection:{...Ti}})},updateConnection:b=>{g({connection:b})},reset:()=>g({...Oa()})}},Object.is);function rg({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:c,initialFitViewOptions:d,fitView:s,nodeOrigin:u,nodeExtent:f,zIndexMode:y,children:g}){const p=a,[h]=B[p(655)](()=>og({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:s,minZoom:i,maxZoom:c,fitViewOptions:d,nodeOrigin:u,nodeExtent:f,zIndexMode:y}));return l[p(1993)](M1,{value:h,children:l.jsx(K1,{children:g})})}function ig({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:c,fitViewOptions:d,minZoom:s,maxZoom:u,nodeOrigin:f,nodeExtent:y,zIndexMode:g}){const p=a;return B[p(689)](ex)?l[p(1993)](l.Fragment,{children:e}):l.jsx(rg,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:c,initialFitViewOptions:d,initialMinZoom:s,initialMaxZoom:u,nodeOrigin:f,nodeExtent:y,zIndexMode:g,children:e})}const cg={width:a(1805),height:a(1805),overflow:a(1821),position:"relative",zIndex:0};function ag({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:c,onEdgeClick:d,onInit:s,onMove:u,onMoveStart:f,onMoveEnd:y,onConnect:g,onConnectStart:p,onConnectEnd:h,onClickConnectStart:b,onClickConnectEnd:M,onNodeMouseEnter:v,onNodeMouseMove:m,onNodeMouseLeave:w,onNodeContextMenu:C,onNodeDoubleClick:k,onNodeDragStart:O,onNodeDrag:G,onNodeDragStop:j,onNodesDelete:A,onEdgesDelete:Z,onDelete:W,onSelectionChange:q,onSelectionDragStart:T,onSelectionDrag:N,onSelectionDragStop:D,onSelectionContextMenu:L,onSelectionStart:U,onSelectionEnd:P,onBeforeDelete:S,connectionMode:K,connectionLineType:Q=En[a(1181)],connectionLineStyle:R,connectionLineComponent:$,connectionLineContainerStyle:xe,deleteKeyCode:ce=a(1246),selectionKeyCode:de=a(2109),selectionOnDrag:fe=!1,selectionMode:ie=Jt[a(485)],panActivationKeyCode:J=a(2132),multiSelectionKeyCode:re=n0()?a(1305):a(1062),zoomActivationKeyCode:_=n0()?a(1305):a(1062),snapToGrid:I,snapGrid:Y,onlyRenderVisibleElements:X=!1,selectNodesOnDrag:H,nodesDraggable:oe,autoPanOnNodeFocus:le,nodesConnectable:se,nodesFocusable:ge,nodeOrigin:ve=Xc,edgesFocusable:Ne,edgesReconnectable:ze,elementsSelectable:ke=!0,defaultViewport:Ye=U1,minZoom:Ie=.5,maxZoom:Pe=2,translateExtent:Ae=Rt,preventScrolling:Ve=!0,nodeExtent:tn,defaultMarkerColor:yn=a(564),zoomOnScroll:Je=!0,zoomOnPinch:rn=!0,panOnScroll:Xe=!1,panOnScrollSpeed:cn=.5,panOnScrollMode:an=Fn.Free,zoomOnDoubleClick:xn=!0,panOnDrag:mn=!0,onPaneClick:In,onPaneMouseEnter:_e,onPaneMouseMove:Bt,onPaneMouseLeave:Ke,onPaneScroll:Hn,onPaneContextMenu:We,paneClickDistance:Pn=1,nodeClickDistance:Dt=0,children:ko,onReconnect:Io,onReconnectStart:Po,onReconnectEnd:Ao,onEdgeContextMenu:jo,onEdgeDoubleClick:Eo,onEdgeMouseEnter:Yo,onEdgeMouseMove:Uo,onEdgeMouseLeave:sx,reconnectRadius:lx=10,onNodesChange:dx,onEdgesChange:ux,noDragClassName:fx=a(845),noWheelClassName:o0=a(1474),noPanClassName:Tn=a(933),fitView:Vn,fitViewOptions:hx,connectOnClick:Lt,attributionPosition:gx,proOptions:yx,defaultEdgeOptions:Go,elevateNodesOnSelect:Oo=!0,elevateEdgesOnSelect:mx=!1,disableKeyboardA11y:r0=!1,autoPanOnConnect:i0,autoPanOnNodeDrag:wx,autoPanSpeed:c0,connectionRadius:E,isValidConnection:V,onError:ne,style:te,id:ue,nodeDragThreshold:F,connectionDragThreshold:ee,viewport:ye,onViewportChange:we,width:me,height:Ce,colorMode:pe="light",debug:Se,onScroll:Oe,ariaLabelConfig:Fe,zIndexMode:wn=a(1750),...Ze},Le){const De=a,nt=ue||"1",vx=T1(pe),px=B.useCallback(bx=>{const a0=_0x4806;bx[a0(1153)][a0(741)]({top:0,left:0,behavior:a0(824)}),Oe?.(bx)},[Oe]);return l[De(1993)](De(539),{"data-testid":"rf__wrapper",...Ze,onScroll:px,style:{...te,...cg},ref:Le,className:Ge(["react-flow",x,vx]),id:ue,role:De(1871),children:l[De(1239)](ig,{nodes:e,edges:n,width:me,height:Ce,fitView:Vn,fitViewOptions:hx,minZoom:Ie,maxZoom:Pe,nodeOrigin:ve,nodeExtent:tn,zIndexMode:wn,children:[l.jsx(H1,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:p,onConnectEnd:h,onClickConnectStart:b,onClickConnectEnd:M,nodesDraggable:oe,autoPanOnNodeFocus:le,nodesConnectable:se,nodesFocusable:ge,edgesFocusable:Ne,edgesReconnectable:ze,elementsSelectable:ke,elevateNodesOnSelect:Oo,elevateEdgesOnSelect:mx,minZoom:Ie,maxZoom:Pe,nodeExtent:tn,onNodesChange:dx,onEdgesChange:ux,snapToGrid:I,snapGrid:Y,connectionMode:K,translateExtent:Ae,connectOnClick:Lt,defaultEdgeOptions:Go,fitView:Vn,fitViewOptions:hx,onNodesDelete:A,onEdgesDelete:Z,onDelete:W,onNodeDragStart:O,onNodeDrag:G,onNodeDragStop:j,onSelectionDrag:N,onSelectionDragStart:T,onSelectionDragStop:D,onMove:u,onMoveStart:f,onMoveEnd:y,noPanClassName:Tn,nodeOrigin:ve,rfId:nt,autoPanOnConnect:i0,autoPanOnNodeDrag:wx,autoPanSpeed:c0,onError:ne,connectionRadius:E,isValidConnection:V,selectNodesOnDrag:H,nodeDragThreshold:F,connectionDragThreshold:ee,onBeforeDelete:S,debug:Se,ariaLabelConfig:Fe,zIndexMode:wn}),l[De(1993)](xg,{onInit:s,onNodeClick:c,onEdgeClick:d,onNodeMouseEnter:v,onNodeMouseMove:m,onNodeMouseLeave:w,onNodeContextMenu:C,onNodeDoubleClick:k,nodeTypes:r,edgeTypes:i,connectionLineType:Q,connectionLineStyle:R,connectionLineComponent:$,connectionLineContainerStyle:xe,selectionKeyCode:de,selectionOnDrag:fe,selectionMode:ie,deleteKeyCode:ce,multiSelectionKeyCode:re,panActivationKeyCode:J,zoomActivationKeyCode:_,onlyRenderVisibleElements:X,defaultViewport:Ye,translateExtent:Ae,minZoom:Ie,maxZoom:Pe,preventScrolling:Ve,zoomOnScroll:Je,zoomOnPinch:rn,zoomOnDoubleClick:xn,panOnScroll:Xe,panOnScrollSpeed:cn,panOnScrollMode:an,panOnDrag:mn,onPaneClick:In,onPaneMouseEnter:_e,onPaneMouseMove:Bt,onPaneMouseLeave:Ke,onPaneScroll:Hn,onPaneContextMenu:We,paneClickDistance:Pn,nodeClickDistance:Dt,onSelectionContextMenu:L,onSelectionStart:U,onSelectionEnd:P,onReconnect:Io,onReconnectStart:Po,onReconnectEnd:Ao,onEdgeContextMenu:jo,onEdgeDoubleClick:Eo,onEdgeMouseEnter:Yo,onEdgeMouseMove:Uo,onEdgeMouseLeave:sx,reconnectRadius:lx,defaultMarkerColor:yn,noDragClassName:fx,noWheelClassName:o0,noPanClassName:Tn,rfId:nt,disableKeyboardA11y:r0,nodeExtent:tn,viewport:ye,onViewportChange:we}),l[De(1993)](Y1,{onSelectionChange:q}),ko,l[De(1993)](I1,{proOptions:yx,position:gx}),l.jsx(k1,{rfId:nt,disableKeyboardA11y:r0})]})})}var sg=oa(ag);function lg(e){const n=a,[t,o]=B[n(655)](e),x=B.useCallback(r=>o(i=>$c(r,i)),[]);return[t,o,x]}function dg(e){const n=a,[t,o]=B[n(655)](e),x=B.useCallback(r=>o(i=>ea(r,i)),[]);return[t,o,x]}function ug({dimensions:e,lineWidth:n,variant:t,className:o}){const x=a;return l[x(1993)](x(1199),{strokeWidth:n,d:"M"+e[0]/2+x(1173)+e[1]+x(867)+e[1]/2+" H"+e[0],className:Ge([x(582),t,o])})}function fg({radius:e,className:n}){const t=a;return l.jsx(t(1609),{cx:e,cy:e,r:e,className:Ge([t(582),t(1026),n])})}var Gn;(function(e){const n=a;e[n(1176)]="lines",e[n(879)]="dots",e[n(450)]=n(1263)})(Gn||(Gn={}));const hg={[Gn[a(879)]]:1,[Gn[a(1176)]]:1,[Gn[a(450)]]:6},gg=e=>({transform:e.transform,patternId:"pattern-"+e[a(1996)]});function Ha({id:e,variant:n=Gn.Dots,gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:c,style:d,className:s,patternClassName:u}){const f=a,y=B.useRef(null),{transform:g,patternId:p}=Be(gg,je),h=o||hg[n],b=n===Gn[f(879)],M=n===Gn[f(450)],v=Array[f(927)](t)?t:[t,t],m=[v[0]*g[2]||1,v[1]*g[2]||1],w=h*g[2],C=Array[f(927)](r)?r:[r,r],k=M?[w,w]:m,O=[C[0]*g[2]||1+k[0]/2,C[1]*g[2]||1+k[1]/2],G=""+p+(e||"");return l[f(1239)](f(719),{className:Ge([f(1164),s]),style:{...d,...xx,"--xy-background-color-props":c,"--xy-background-pattern-color-props":i},ref:y,"data-testid":f(2187),children:[l.jsx(f(1833),{id:G,x:g[0]%m[0],y:g[1]%m[1],width:m[0],height:m[1],patternUnits:f(2145),patternTransform:f(984)+O[0]+",-"+O[1]+")",children:b?l[f(1993)](fg,{radius:w/2,className:u}):l[f(1993)](ug,{dimensions:k,lineWidth:x,variant:n,className:u})}),l[f(1993)](f(885),{x:"0",y:"0",width:f(1805),height:f(1805),fill:f(896)+G+")"})]})}Ha[a(1495)]=a(1017);const yg=B[a(1312)](Ha);function mg(){const e=a;return l[e(1993)](e(719),{xmlns:e(1968),viewBox:e(518),children:l[e(1993)](e(1199),{d:e(1125)})})}function wg(){const e=a;return l[e(1993)](e(719),{xmlns:e(1968),viewBox:e(779),children:l[e(1993)](e(1199),{d:e(1793)})})}function vg(){const e=a;return l[e(1993)](e(719),{xmlns:e(1968),viewBox:"0 0 32 30",children:l.jsx(e(1199),{d:e(1060)})})}function pg(){const e=a;return l.jsx(e(719),{xmlns:e(1968),viewBox:e(379),children:l.jsx(e(1199),{d:e(1126)})})}function bg(){const e=a;return l[e(1993)]("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:e(379),children:l[e(1993)](e(1199),{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function ix({children:e,className:n,...t}){const o=a;return l.jsx(o(772),{type:o(772),className:Ge([o(1600),n]),...t,children:e})}const zg=e=>({isInteractive:e.nodesDraggable||e[a(1986)]||e[a(1503)],minZoomReached:e[a(1130)][2]<=e.minZoom,maxZoomReached:e[a(1130)][2]>=e.maxZoom,ariaLabelConfig:e[a(1159)]});function Ta({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:c,onInteractiveChange:d,className:s,children:u,position:f="bottom-left",orientation:y=a(609),"aria-label":g}){const p=a,h=Ee(),{isInteractive:b,minZoomReached:M,maxZoomReached:v,ariaLabelConfig:m}=Be(zg,je),{zoomIn:w,zoomOut:C,fitView:k}=Bo(),O=()=>{w(),r?.()},G=()=>{C(),i?.()},j=()=>{k(x),c?.()},A=()=>{h[_0x4806(1766)]({nodesDraggable:!b,nodesConnectable:!b,elementsSelectable:!b}),d?.(!b)},Z=y===p(417)?p(417):p(609);return l.jsxs(nx,{className:Ge(["react-flow__controls",Z,s]),position:f,style:e,"data-testid":p(496),"aria-label":g??m[p(1531)],children:[n&&l[p(1239)](l[p(915)],{children:[l.jsx(ix,{onClick:O,className:p(1483),title:m["controls.zoomIn.ariaLabel"],"aria-label":m[p(511)],disabled:v,children:l.jsx(mg,{})}),l[p(1993)](ix,{onClick:G,className:p(682),title:m[p(1621)],"aria-label":m["controls.zoomOut.ariaLabel"],disabled:M,children:l[p(1993)](wg,{})})]}),t&&l.jsx(ix,{className:p(1687),onClick:j,title:m[p(1132)],"aria-label":m[p(1132)],children:l.jsx(vg,{})}),o&&l.jsx(ix,{className:p(937),onClick:A,title:m[p(1300)],"aria-label":m[p(1300)],children:b?l.jsx(bg,{}):l.jsx(pg,{})}),u]})}Ta.displayName=a(1738);const Cg=B[a(1312)](Ta);function Mg({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:c,strokeWidth:d,className:s,borderRadius:u,shapeRendering:f,selected:y,onClick:g}){const p=a,{background:h,backgroundColor:b}=r||{},M=i||h||b;return l[p(1993)](p(885),{className:Ge([p(522),{selected:y},s]),x:n,y:t,rx:u,ry:u,width:o,height:x,style:{fill:M,stroke:c,strokeWidth:d},shapeRendering:f,onClick:g?v=>g(v,e):void 0})}const Bg=B.memo(Mg),Dg=e=>e[a(1361)][a(542)](n=>n.id),So=e=>e instanceof Function?e:()=>e;function Lg({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=Bg,onClick:i}){const c=a,d=Be(Dg,je),s=So(n),u=So(e),f=So(t),y=typeof window>"u"||window[c(1089)]?c(1342):"geometricPrecision";return l[c(1993)](l[c(915)],{children:d[c(542)](g=>l[c(1993)](Sg,{id:g,nodeColorFunc:s,nodeStrokeColorFunc:u,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:y},g))})}function Ng({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:c,onClick:d}){const s=a,{node:u,x:f,y,width:g,height:p}=Be(h=>{const b=_0x4806,M=h[b(750)].get(e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const v=M[b(380)].userNode,{x:m,y:w}=M[b(380)].positionAbsolute,{width:C,height:k}=kn(v);return{node:v,x:m,y:w,width:C,height:k}},je);return!u||u[s(1821)]||!Qi(u)?null:l[s(1993)](c,{x:f,y,width:g,height:p,style:u[s(1346)],selected:!!u[s(2178)],className:o(u),color:n(u),borderRadius:x,strokeColor:t(u),strokeWidth:r,shapeRendering:i,onClick:d,id:u.id})}const Sg=B[a(1312)](Ng);var kg=B.memo(Lg);const Ig=200,Pg=150,Ag=e=>!e.hidden,jg=e=>{const n=a,t={x:-e.transform[0]/e[n(1130)][2],y:-e[n(1130)][1]/e[n(1130)][2],width:e[n(1238)]/e.transform[2],height:e[n(1265)]/e[n(1130)][2]};return{viewBB:t,boundingRect:e.nodeLookup[n(1705)]>0?Ji(Ft(e[n(750)],{filter:Ag}),t):t,rfId:e[n(1996)],panZoom:e[n(1788)],translateExtent:e.translateExtent,flowWidth:e.width,flowHeight:e[n(1265)],ariaLabelConfig:e[n(1159)]}},Eg="react-flow__minimap-desc";function Va({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:c,bgColor:d,maskColor:s,maskStrokeColor:u,maskStrokeWidth:f,position:y=a(720),onClick:g,onNodeClick:p,pannable:h=!1,zoomable:b=!1,ariaLabel:M,inversePan:v,zoomStep:m=1,offsetScale:w=5}){const C=a,k=Ee(),O=B[C(575)](null),{boundingRect:G,viewBB:j,rfId:A,panZoom:Z,translateExtent:W,flowWidth:q,flowHeight:T,ariaLabelConfig:N}=Be(jg,je),D=e?.[C(1238)]??Ig,L=e?.[C(1265)]??Pg,U=G[C(1238)]/D,P=G[C(1265)]/L,S=Math[C(1439)](U,P),K=S*D,Q=S*L,R=w*S,$=G.x-(K-G[C(1238)])/2-R,xe=G.y-(Q-G[C(1265)])/2-R,ce=K+R*2,de=Q+R*2,fe=Eg+"-"+A,ie=B[C(575)](0),J=B[C(575)]();ie[C(1560)]=S,B[C(363)](()=>{const Y=C;if(O.current&&Z)return J.current=_2({domNode:O.current,panZoom:Z,getTransform:()=>k.getState()[Y(1130)],getViewScale:()=>ie[Y(1560)]}),()=>{const X=Y;J[X(1560)]?.[X(1624)]()}},[Z]),B[C(363)](()=>{const Y=C;J[Y(1560)]?.[Y(658)]({translateExtent:W,width:q,height:T,inversePan:v,pannable:h,zoomStep:m,zoomable:b})},[h,b,v,m,W,q,T]);const re=g?Y=>{const X=C,[H,oe]=J[X(1560)]?.[X(727)](Y)||[0,0];g(Y,{x:H,y:oe})}:void 0,_=p?B.useCallback((Y,X)=>{const H=C,oe=k[H(1740)]().nodeLookup[H(1157)](X)[H(380)][H(1220)];p(Y,oe)},[]):void 0,I=M??N[C(1379)];return l.jsx(nx,{position:y,style:{...e,"--xy-minimap-background-color-props":typeof d===C(774)?d:void 0,"--xy-minimap-mask-background-color-props":typeof s===C(774)?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof u=="string"?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===C(411)?f*S:void 0,"--xy-minimap-node-background-color-props":typeof o===C(774)?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===C(774)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===C(411)?i:void 0},className:Ge([C(1781),n]),"data-testid":C(1932),children:l.jsxs(C(719),{width:D,height:L,viewBox:$+" "+xe+" "+ce+" "+de,className:C(2085),role:C(916),"aria-labelledby":fe,ref:O,onClick:re,children:[I&&l[C(1993)](C(1692),{id:fe,children:I}),l[C(1993)](kg,{onClick:_,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:c}),l[C(1993)](C(1199),{className:C(1897),d:"M"+($-R)+","+(xe-R)+"h"+(ce+R*2)+"v"+(de+R*2)+"h"+(-ce-R*2)+C(1836)+j.x+","+j.y+"h"+j[C(1238)]+"v"+j[C(1265)]+"h"+-j[C(1238)]+"z",fillRule:C(1906),pointerEvents:C(1712)})]})})}Va[a(1495)]=a(1025);const Yg=B[a(1312)](Va),Ug=e=>n=>e?""+Math[a(1439)](1/n[a(1130)][2],1):void 0,Gg={[zt.Line]:a(1476),[zt[a(1222)]]:a(720)};function Og({nodeId:e,position:n,variant:t=zt[a(1222)],className:o,style:x=void 0,children:r,color:i,minWidth:c=10,minHeight:d=10,maxWidth:s=Number[a(1370)],maxHeight:u=Number[a(1370)],keepAspectRatio:f=!1,resizeDirection:y,autoScale:g=!0,shouldResize:p,onResizeStart:h,onResize:b,onResizeEnd:M}){const v=a,m=la(),w=typeof e===v(774)?e:m,C=Ee(),k=B[v(575)](null),O=t===zt.Handle,G=Be(B[v(1591)](Ug(O&&g),[O,g]),je),j=B[v(575)](null),A=n??Gg[t];B.useEffect(()=>{const W=v;if(!(!k.current||!w))return!j[W(1560)]&&(j[W(1560)]=l1({domNode:k[W(1560)],nodeId:w,getStoreItems:()=>{const q=W,{nodeLookup:T,transform:N,snapGrid:D,snapToGrid:L,nodeOrigin:U,domNode:P}=C[q(1740)]();return{nodeLookup:T,transform:N,snapGrid:D,snapToGrid:L,nodeOrigin:U,paneDomNode:P}},onChange:(q,T)=>{const N=W,{triggerNodeChanges:D,nodeLookup:L,parentLookup:U,nodeOrigin:P}=C.getState(),S=[],K={x:q.x,y:q.y},Q=L[N(1157)](w);if(Q&&Q[N(1714)]&&Q.parentId){const R=Q.origin??P,$=q[N(1238)]??Q[N(1583)].width??0,xe=q[N(1265)]??Q[N(1583)].height??0,ce={id:Q.id,parentId:Q[N(890)],rect:{width:$,height:xe,...$i({x:q.x??Q[N(1543)].x,y:q.y??Q.position.y},{width:$,height:xe},Q.parentId,L,R)}},de=go([ce],L,U,P);S[N(1465)](...de),K.x=q.x?Math.max(R[0]*$,q.x):void 0,K.y=q.y?Math[N(1439)](R[1]*xe,q.y):void 0}if(K.x!==void 0&&K.y!==void 0){const R={id:w,type:N(1543),position:{...K}};S[N(1465)](R)}if(q.width!==void 0&&q[N(1265)]!==void 0){const R=y?y===N(417)?"width":N(1265):!0,$={id:w,type:"dimensions",resizing:!0,setAttributes:R,dimensions:{width:q[N(1238)],height:q[N(1265)]}};S.push($)}for(const R of T){const $={...R,type:N(1543)};S.push($)}D(S)},onEnd:({width:q,height:T})=>{const N=W,D={id:w,type:"dimensions",resizing:!1,dimensions:{width:q,height:T}};C[N(1740)]()[N(1825)]([D])}})),j[W(1560)].update({controlPosition:A,boundaries:{minWidth:c,minHeight:d,maxWidth:s,maxHeight:u},keepAspectRatio:f,resizeDirection:y,onResizeStart:h,onResize:b,onResizeEnd:M,shouldResize:p}),()=>{const q=W;j[q(1560)]?.[q(1624)]()}},[A,c,d,s,u,f,h,b,M,p]);const Z=A.split("-");return l.jsx(v(539),{className:Ge([v(1115),v(845),...Z,t,o]),ref:k,style:{...x,scale:G,...i&&{[v(O?1473:1453)]:i}},children:r})}B[a(1312)](Og);const qa=e=>Symbol[a(2104)]in e,Wa=e=>"entries"in e,Xa=(e,n)=>{const t=a,o=e instanceof Map?e:new Map(e.entries()),x=n instanceof Map?n:new Map(n[t(1942)]());if(o[t(1705)]!==x[t(1705)])return!1;for(const[r,i]of o)if(!x[t(1826)](r)||!Object.is(i,x[t(1157)](r)))return!1;return!0},Hg=(e,n)=>{const t=a,o=e[Symbol[t(2104)]](),x=n[Symbol[t(2104)]]();let r=o[t(1991)](),i=x.next();for(;!r[t(416)]&&!i[t(416)];){if(!Object.is(r[t(1981)],i[t(1981)]))return!1;r=o[t(1991)](),i=x[t(1991)]()}return!!r[t(416)]&&!!i[t(416)]};function Tg(e,n){const t=a;return Object.is(e,n)?!0:typeof e!="object"||e===null||typeof n!==t(2171)||n===null||Object[t(759)](e)!==Object[t(759)](n)?!1:qa(e)&&qa(n)?Wa(e)&&Wa(n)?Xa(e,n):Hg(e,n):Xa({entries:()=>Object.entries(e)},{entries:()=>Object[t(1942)](n)})}const Ka={inlineScript:"内联脚本",dataRequest:a(1224),external:a(835),builtin:"内置动作"},Vg=[{label:a(1830),value:a(1642)},{label:a(1067),value:"switchCanvas"}],qg=[{label:a(1193),value:"info"},{label:a(2093),value:a(2093)},{label:a(1419),value:a(1419)},{label:"error",value:a(551)},{label:a(391),value:a(391)}];function Za(e,n,t){const o=a,x=t.filter(i=>i[o(603)]===e),r=x[o(2194)];return x.map((i,c)=>{const d=o,s=n[d(1876)](f=>f.id===i[d(964)]),u=s?.[d(1468)];return{sourceId:i[d(964)],sourceLabel:u?.[d(1834)]??i.source,edgeIndex:c,totalIncoming:r}})}const Wg=({data:e,id:n})=>{const t=a,{root:o}=He(),x=Be(B.useCallback(c=>Za(n,c[t(1361)],c[t(1337)]).map(({sourceId:d,sourceLabel:s})=>({sourceId:d,label:s})),[n]),Tg),r=e[t(1747)].executorType??"inlineScript",i=r===t(907)?e[t(1747)].dataRequestKey:r===t(717)?e.eventBlock[t(1673)]:r===t(1657)?e[t(1747)][t(770)]===t(1642)?e[t(1747)][t(770)]+": "+String(e[t(1747)][t(1854)]?.[t(962)]??"").slice(0,24):e[t(1747)][t(770)]==="switchCanvas"?"跳转: "+(o[t(1889)][t(1876)](c=>c.id===e.eventBlock[t(1854)]?.[t(1359)])?.[t(659)]??t(1694)):e[t(1747)][t(770)]:null;return l[t(1239)](t(539),{className:t(1674),children:[l[t(1993)](Mt,{type:t(603),position:he[t(1481)],className:t(2046)}),l[t(1239)](t(539),{className:t(1845),children:[l[t(1993)](t(1102),{className:t(584),children:e[t(1834)]}),l[t(1239)](z[t(2132)],{size:"small",children:[l[t(1993)](z[t(1804)],{type:t(1755),size:"small",icon:l[t(1993)](ae[t(1081)],{}),onClick:()=>e.onEdit(n)}),l[t(1993)](z[t(1804)],{type:"text",size:"small",danger:!0,icon:l[t(1993)](ae.DeleteOutlined,{}),onClick:()=>e[t(602)](n)})]})]}),l[t(1993)](t(539),{className:"text-xs mb-1",children:l.jsxs(z[t(2037)],{color:r===t(1196)?"default":r==="builtin"?t(1570):"purple",className:t(1992),children:[Ka[r],i?" · "+i:""]})}),l[t(1239)](t(539),{className:t(1259),children:[e[t(1747)][t(1008)]?.[t(2194)]>0&&l.jsxs("div",{children:[t(829),e[t(1747)][t(1008)][t(542)](c=>c[t(659)])[t(886)](", ")]}),x[t(2194)]>0&&l[t(1239)](t(539),{className:t(661),children:[t(1552),x[t(542)](c=>l[t(1239)](t(539),{className:"pl-1 border-l-2 border-amber-200",children:["←「",c[t(1834)],t(736)]},c.sourceId))]})]}),l[t(1993)](Mt,{type:"source",position:he.Bottom,className:"!bg-blue-500"})]})},Xg={eventBlock:Wg},Kg=Object[a(1942)](Ka)[a(542)](([e,n])=>({label:n,value:e})),Ra=[{label:"点击",value:a(1280)},{label:"鼠标按下",value:"mouseDown"},{label:a(1254),value:a(2077)},{label:"双击",value:a(1319)},{label:"鼠标移入",value:a(1746)},{label:"鼠标移出",value:"mouseLeave"},{label:a(1332),value:a(432)},{label:a(1708),value:a(1622)},{label:a(1301),value:"dataRequest"},{label:a(478),value:a(717)}];function Zg(e,n){const t=a,o={},x=[...e];return x[t(1369)]((r,i)=>{const c=t,d=n[c(1008)][i]?.[c(659)]??(x.length===1?c(853):c(853)+i);o[d]=c(1291)+r.source}),o}function Rg(e,n,t){const o=a;return t[e]?.[o(659)]??(n===1?o(853):o(853)+e)}const Jg=[{label:a(774),value:a(774)},{label:"number",value:a(411)},{label:a(1274),value:a(1274)},{label:"object",value:a(2171)},{label:a(1328),value:a(1328)}];function Ja(e){const n=a,t=Ra[n(1876)](x=>x[n(1981)]===e[n(1231)]),o=t?.[n(1834)]??e[n(1231)];if(e[n(1231)]===n(717)){const x=(e[n(1426)]||"").trim();return x?o+n(1289)+x:o}return o}const _g=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=a,{nodes:r,eventFlow:i,externalHandlerCatalog:c,addEventBlock:d,upsertEventBlock:s,removeEventBlock:u,addEventRoot:f,updateEventRoot:y,root:g}=He(),[p,h,b]=lg([]),[M,v,m]=dg([]),w=B[x(575)](p);w[x(1560)]=p;const[C,k]=B[x(655)](()=>o??null),[O,G]=B[x(655)](!1),[j]=z[x(457)][x(904)](),A=z[x(457)][x(1372)](x(1231),j),[Z,W]=B[x(655)](null),[q,T]=B[x(655)](!1),[N]=z[x(457)][x(904)](),D=z[x(457)][x(1372)]("executorType",N),L=z[x(457)][x(1372)](x(770),N),U=z[x(457)][x(1372)](x(1008),N),P=B[x(528)](()=>!q||!Z?[]:Za(Z.id,p,M),[q,Z,p,M]),S=B.useRef(()=>{}),K=B.useRef(()=>{});B[x(363)](()=>{const I=x;if(q&&Z){const Y=Z.builtinConfig??{},{outputs:X,...H}=Z;N[I(467)]({...H,executorType:Z[I(1771)]??"inlineScript",builtinId:Z[I(770)],inputs:Z.inputs??[],builtinConfig:{content:String(Y[I(962)]??""),level:String(Y[I(2067)]??I(1193)),duration:Y[I(2056)]===void 0||Y[I(2056)]===null?void 0:Number(Y[I(2056)])}})}},[q,Z,N]);const Q=B.useCallback(I=>{v(Y=>sc(I,Y))},[v]),R=I=>{const Y=x,X={bindNodeId:I[Y(1721)],eventType:I[Y(1231)],externalEventKey:I[Y(1231)]==="external"?(I[Y(1426)]||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0},H=f(X);k({...X,id:H}),j[Y(1801)](),G(!1),z.message[Y(2093)](Y(1234))},$=B[x(1591)](I=>{const Y=x;u(I),h(X=>X.filter(H=>H.id!==I)),v(X=>X[Y(1641)](H=>H[Y(964)]!==I&&H[Y(603)]!==I))},[u,h,v]),xe=B.useCallback(I=>{const Y=x,X=w[Y(1560)][Y(1876)](le=>le.id===I)?.data?.[Y(1747)],H=i.eventBlocks[Y(1876)](le=>le.id===I),oe=X??H;oe?(W({...oe,id:I}),T(!0)):z.message[Y(1419)]("找不到事件块")},[i[x(2188)]]);S[x(1560)]=xe,K[x(1560)]=$,B[x(363)](()=>{const I=x;if(e&&C){const Y=C[I(704)][I(1361)][I(542)](H=>({id:H.id,type:"eventBlock",position:H[I(1543)],data:{label:H.data[I(1834)],eventBlock:H[I(1468)].eventBlock,onEdit:oe=>S[I(1560)](oe),onDelete:oe=>K.current(oe)}})),X=C.flowData[I(1337)].map(H=>({id:H.id,source:H[I(964)],target:H[I(603)]}));h(Y),v(X)}},[e,C,h,v]);const ce=()=>{const I=x,Y={name:I(406),executorType:I(1196),callback:I(1218),inputs:[],outputs:[]},X=d(Y),H={...Y,id:X},oe={id:X,type:"eventBlock",position:{x:100+p[I(2194)]*50,y:100+p[I(2194)]*30},data:{label:H[I(659)],eventBlock:H,onEdit:le=>S[I(1560)](le),onDelete:le=>K[I(1560)](le)}};h(le=>[...le,oe])},de=()=>{const I=x,Y={name:"Message 提示",executorType:I(1657),builtinId:"antdMessage",builtinConfig:{content:I(1393),level:I(1193)},callback:I(752),inputs:[],outputs:[]},X=d(Y),H={...Y,id:X},oe={id:X,type:I(1747),position:{x:120+p[I(2194)]*50,y:140+p[I(2194)]*30},data:{label:H[I(659)],eventBlock:H,onEdit:le=>S[I(1560)](le),onDelete:le=>K.current(le)}};h(le=>[...le,oe])},fe=()=>{const I=x,Y={name:"跳转画布",executorType:"builtin",builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[I(1889)][0]?.id||""},callback:I(752),inputs:[],outputs:[]},X=d(Y),H={...Y,id:X},oe={id:X,type:I(1747),position:{x:120+p.length*50,y:140+p.length*30},data:{label:H.name,eventBlock:H,onEdit:le=>S[I(1560)](le),onDelete:le=>K.current(le)}};h(le=>[...le,oe])},ie=I=>{const Y=x;if(!Z)return;const X=I[Y(1771)]??Z[Y(1771)]??Y(1196),H={name:I[Y(659)],callback:I.callback??Z[Y(2029)],executorType:X,dataRequestKey:X===Y(907)?(I[Y(506)]||"")[Y(1258)]():void 0,externalHandlerKey:X===Y(717)?(I[Y(1673)]||"")[Y(1258)]():void 0,builtinId:X===Y(1657)?I[Y(770)]:void 0,builtinConfig:X==="builtin"&&I[Y(770)]===Y(1642)?{content:String(I[Y(1854)]?.[Y(962)]??"")[Y(1258)](),level:I[Y(1854)]?.[Y(2067)]||Y(1193),duration:I[Y(1854)]?.[Y(2056)]===null||I[Y(1854)]?.[Y(2056)]===void 0?void 0:Number(I[Y(1854)][Y(2056)])}:X===Y(1657)&&I.builtinId==="switchCanvas"?{targetCanvasId:String(I[Y(1854)]?.[Y(1359)]??"")[Y(1258)]()}:void 0},oe=I[Y(1008)]??[],le=oe[Y(1641)](ge=>ge?.[Y(659)]&&String(ge[Y(659)])[Y(1258)]()),se={...Z,...H,inputs:le,outputs:[]};s(se),h(ge=>ge.map(ve=>ve.id===Z.id?{...ve,data:{...ve[Y(1468)],label:se[Y(659)]||ve[Y(1468)][Y(1834)],eventBlock:se}}:ve)),T(!1),W(null),z.message[Y(2093)](Y(2208))},J=()=>{const I=x;if(!C)return;const Y=p[I(542)](H=>{const oe=I,le=M.filter(ve=>ve[oe(603)]===H.id),se=H.data[oe(1747)],ge={...se,outputs:[]};return{id:H.id,eventBlockId:H.id,position:H[oe(1543)],inputs:le[oe(542)](ve=>ve[oe(964)]),outputs:M[oe(1641)](ve=>ve[oe(964)]===H.id).map(ve=>ve[oe(603)]),data:{label:H[oe(1468)][oe(1834)],eventBlock:ge,inputMapping:Zg(le,ge)}}}),X=M[I(542)](H=>({id:H.id,source:H.source,target:H.target}));y(C.id,{flowData:{nodes:Y,edges:X}}),lt[I(1409)]({...C,flowData:{nodes:Y,edges:X}}),z[I(452)][I(2093)](I(768)),n()},re=B[x(528)](()=>r.map(I=>({label:I[x(659)],value:I.id})),[r]),_=B.useMemo(()=>t?i[x(1528)].filter(I=>I.bindNodeId===t):i.eventRoots,[i.eventRoots,t]);return e?l[x(1239)](z[x(1489)],{title:"事件流编辑器",open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[C?l[x(1239)](x(539),{className:x(525),style:{height:700},children:[l.jsxs("div",{className:x(1278),children:[l[x(1993)](z.Space,{children:l[x(1239)](x(1102),{className:x(1900),children:[x(1753),Ja(C)," →"," ",r.find(I=>I.id===C[x(1721)])?.[x(659)]]})}),l[x(1239)](z.Space,{children:[l[x(1993)](z.Button,{icon:l[x(1993)](ae[x(1442)],{}),onClick:ce,children:x(1963)}),l[x(1993)](z[x(1804)],{icon:l.jsx(ae[x(1442)],{}),onClick:de,children:x(512)}),l[x(1993)](z[x(1804)],{icon:l[x(1993)](ae[x(1442)],{}),onClick:fe,children:x(1067)}),l[x(1993)](z[x(1804)],{type:x(1236),icon:l[x(1993)](ae[x(1790)],{}),onClick:J,children:"保存"}),l[x(1993)](z[x(1804)],{icon:l[x(1993)](ae[x(1427)],{}),onClick:()=>k(null),children:x(396)})]})]}),l.jsx(x(539),{className:x(431),children:l[x(1239)](sg,{nodes:p,edges:M,onNodesChange:b,onEdgesChange:m,onConnect:Q,nodeTypes:Xg,fitView:!0,children:[l.jsx(yg,{}),l[x(1993)](Cg,{}),l[x(1993)](Yg,{})]})})]}):l.jsxs(x(539),{className:"p-6",children:[l[x(1239)](x(539),{className:x(1381),children:[l.jsx("h3",{className:x(913),children:x(552)}),l[x(1993)](z.Button,{type:x(1236),icon:l[x(1993)](ae[x(1442)],{}),onClick:()=>G(!0),children:x(993)})]}),l[x(1993)](z[x(1521)],{dataSource:_,renderItem:I=>l[x(1993)](z[x(1521)][x(1047)],{actions:[l.jsx(z[x(1804)],{type:x(1236),icon:l[x(1993)](ae[x(1081)],{}),onClick:()=>k(I),children:"编辑"},x(906))],children:l[x(1993)](z[x(1521)].Item[x(1305)],{title:l.jsxs(z[x(2132)],{children:[l.jsxs("span",{children:[x(2167),Ja(I)]}),l[x(1993)](z[x(2037)],{color:x(1306),children:r[x(1876)](Y=>Y.id===I.bindNodeId)?.[x(659)]||I.bindNodeId})]}),description:x(654)+I[x(704)][x(1361)].length+x(403)+I[x(704)][x(1337)][x(2194)]})}),locale:{emptyText:l.jsx(z[x(900)],{description:"暂无事件流"})}}),l.jsx(z[x(1489)],{title:x(993),open:O,onCancel:()=>{j[x(1801)](),G(!1)},footer:null,afterOpenChange:I=>{const Y=x;I&&(j.resetFields(),t&&j[Y(467)]({bindNodeId:t}))},children:l[x(1239)](z.Form,{form:j,onFinish:R,layout:x(609),children:[l[x(1993)](z[x(457)].Item,{name:"bindNodeId",label:"绑定节点",rules:[{required:!0,message:x(425)}],initialValue:t,children:l[x(1993)](z[x(462)],{options:re,placeholder:x(1602),disabled:!!t})}),l[x(1993)](z[x(457)][x(1047)],{name:x(1231),label:"触发方式",rules:[{required:!0,message:x(818)}],children:l[x(1993)](z[x(462)],{options:Ra,placeholder:x(1446)})}),A==="external"&&l[x(1993)](z.Form[x(1047)],{name:"externalEventKey",label:"外部事件标识",rules:[{required:!0,message:x(610)},{validator:(I,Y)=>(Y||"")[x(1258)]()?Promise[x(2192)]():Promise[x(1178)](new Error(x(1756)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1993)](z.Input,{placeholder:"例如:refresh"})}),l[x(1993)](z[x(457)].Item,{className:x(919),children:l.jsxs(z[x(2132)],{className:x(493),children:[l[x(1993)](z[x(1804)],{onClick:()=>{j[x(1801)](),G(!1)},children:"取消"}),l[x(1993)](z[x(1804)],{type:x(1236),htmlType:x(1851),children:"创建"})]})})]})})]}),l[x(1993)](z.Modal,{title:x(946),open:q,onCancel:()=>{T(!1),W(null)},footer:null,destroyOnClose:!0,children:l[x(1239)](z[x(457)],{form:N,onFinish:ie,layout:x(609),children:[l[x(1993)](z[x(457)][x(1047)],{name:x(659),label:"名称",rules:[{required:!0,message:x(1892)}],children:l[x(1993)](z[x(370)],{})}),l[x(1993)](z[x(457)].Item,{name:x(1771),label:x(1926),rules:[{required:!0,message:"请选择执行方式"}],children:l[x(1993)](z[x(462)],{options:Kg,placeholder:x(1048)})}),D==="builtin"&&l[x(1993)](z[x(457)][x(1047)],{name:x(770),label:x(428),rules:[{required:!0,message:x(557)}],children:l[x(1993)](z[x(462)],{options:Vg,placeholder:"选择具体内置能力"})}),D===x(1657)&&L===x(1642)&&l[x(1239)](l.Fragment,{children:[l[x(1993)](z[x(457)][x(1047)],{name:[x(1854),"content"],label:"提示内容",rules:[{required:!0,message:x(469)}],extra:x(2028),children:l[x(1993)](z.Input.TextArea,{rows:3,placeholder:"例如:保存成功 或 结果:{{prev}}"})}),l[x(1993)](z[x(457)].Item,{name:[x(1854),"level"],label:x(392),children:l[x(1993)](z[x(462)],{options:qg})}),l[x(1993)](z.Form[x(1047)],{name:[x(1854),"duration"],label:x(440),extra:x(1777),children:l[x(1993)](z[x(1783)],{min:0,step:.5,style:{width:x(1805)},placeholder:"默认"})})]}),D===x(1657)&&L==="switchCanvas"&&l[x(1993)](z.Form[x(1047)],{name:[x(1854),"targetCanvasId"],label:x(366),rules:[{required:!0,message:x(1203)}],children:l.jsx(z[x(462)],{placeholder:x(2118),options:g.canvases.map(I=>({value:I.id,label:I[x(659)]}))})}),D==="dataRequest"&&l[x(1993)](z[x(457)][x(1047)],{name:x(506),label:"请求标识",rules:[{required:!0,message:x(561)},{validator:(I,Y)=>(Y||"")[x(1258)]()?Promise[x(2192)]():Promise.reject(new Error(x(1756)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l.jsx(z[x(370)],{placeholder:x(775)})}),D===x(717)&&l[x(1993)](z.Form[x(1047)],{name:x(1673),label:x(1169),rules:[{required:!0,message:x(1541)},{validator:(I,Y)=>(Y||"")[x(1258)]()?Promise[x(2192)]():Promise[x(1178)](new Error(x(1756)))}],extra:c[x(2194)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:c[x(2194)]>0?l[x(1993)](z[x(462)],{showSearch:!0,optionFilterProp:"label",allowClear:!0,placeholder:x(1584),options:c[x(542)](I=>({value:I.key,label:I[x(1834)],title:I[x(2149)]?I[x(1834)]+x(677)+I.description:I.label+" ("+I[x(1460)]+")"}))}):l.jsx(z[x(370)],{placeholder:x(671)})}),D==="inlineScript"&&l[x(1993)](z.Form[x(1047)],{name:"callback",label:x(2127),rules:[{validator:(I,Y)=>{const X=x;return typeof Y=="string"&&Y[X(1258)]()?Promise[X(2192)]():Promise.reject(new Error(X(1634)))}}],children:l[x(1993)](z[x(370)].TextArea,{rows:6,placeholder:x(2052)})}),P.length>0&&l.jsxs(x(539),{className:x(889),children:[l.jsx("div",{className:x(1397),children:x(944)}),l[x(1993)]("ul",{className:"list-none space-y-2 m-0 p-0",children:P[x(542)](I=>{const Y=x,X=U??Z?.[Y(1008)]??[],H=Rg(I[Y(441)],I[Y(1522)],X);return l[Y(1239)]("li",{className:"pl-2 border-l-2 border-amber-300",children:[l[Y(1239)](Y(539),{className:"text-gray-800",children:["第 ",I[Y(441)]+1," 条入边 ←「",I[Y(806)],"」:上游",l[Y(1993)](Y(1910),{children:Y(969)})," →"," ",l[Y(1239)]("code",{className:Y(751),children:[Y(832),H]})]}),l[Y(1239)](Y(539),{className:"text-gray-600 mt-0.5",children:["在下方第 ",I[Y(441)]+1,Y(536)]})]},I[Y(1774)])})})]}),l[x(1993)](x(539),{className:"font-medium text-gray-800 mb-2",children:x(1464)}),l.jsxs(x(539),{className:x(1717),children:[x(641)," ",l[x(1993)](x(1556),{children:x(1235)}),",多入边用 ",l[x(1993)](x(1556),{children:x(2203)}),"、",l[x(1993)](x(1556),{children:x(1979)}),"…"]}),l[x(1993)](z.Form[x(1521)],{name:x(1008),children:(I,{add:Y,remove:X})=>l[x(1239)](l[x(915)],{children:[I[x(542)](({key:H,name:oe,...le})=>l[x(1239)](z[x(2132)],{align:x(1041),wrap:!0,className:x(590),children:[l.jsx(z[x(457)][x(1047)],{...le,name:[oe,x(659)],rules:[{required:!0,message:"名称"}],children:l[x(1993)](z[x(370)],{placeholder:"参数名,如 A",style:{width:140}})}),l[x(1993)](z[x(457)][x(1047)],{...le,name:[oe,"type"],initialValue:"any",children:l.jsx(z[x(462)],{options:Jg,style:{width:100}})}),l[x(1993)](ae.MinusCircleOutlined,{className:"text-gray-400 hover:text-red-500 cursor-pointer",onClick:()=>X(oe)})]},H)),l.jsx(z[x(1804)],{type:"dashed",onClick:()=>Y({type:x(1328)}),block:!0,icon:l.jsx(ae[x(1442)],{}),children:x(1646)})]})}),l.jsx(z[x(457)].Item,{className:"mb-0 mt-4",children:l[x(1239)](z[x(2132)],{className:x(493),children:[l.jsx(z.Button,{onClick:()=>{T(!1),W(null)},children:"取消"}),l[x(1993)](z[x(1804)],{type:"primary",htmlType:x(1851),children:"保存"})]})})]})})]}):null},cx={click:"点击",mouseDown:a(1340),mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:"鼠标移入",mouseLeave:a(1890),mouseEnter:"鼠标进入",contextMenu:a(1708),dataRequest:a(1301),external:a(478)};function Fg(e){const n=a;if(e[n(1231)]===n(717)){const t=(e.externalEventKey||"")[n(1258)]();return t?cx[n(717)]+" · "+t:cx.external}return cx[e[n(1231)]]}const Qg=Object[a(1942)](cx)[a(542)](([e,n])=>({label:n,value:e})),$g=({nodeId:e})=>{const n=a,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=He(),[i,c]=B[n(655)](!1),[d,s]=B[n(655)](null),[u,f]=B[n(655)](!1),[y]=z.Form.useForm(),g=z.Form.useWatch("eventType",y),p=B[n(528)](()=>{const m=n;return t[m(1528)][m(1641)](w=>w.bindNodeId===e)},[t[n(1528)],e]),h=m=>{const w=n,C={bindNodeId:e,eventType:m[w(1231)],externalEventKey:m[w(1231)]===w(717)?(m[w(1426)]||"")[w(1258)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(C),y[w(1801)](),f(!1)},b=m=>{s(m),c(!0)},M=(m,w)=>{x(m.id,{enabled:w})},v=m=>{r(m)};return l.jsxs(n(539),{children:[l[n(1239)]("div",{className:n(1381),children:[l.jsx("h4",{className:"text-sm font-medium",children:"事件流绑定"}),l[n(1993)](z[n(1804)],{type:n(1236),size:n(398),icon:l.jsx(ae[n(1442)],{}),onClick:()=>f(!0),children:n(1021)})]}),l[n(1993)](z.List,{dataSource:p,renderItem:m=>l[n(1993)](z[n(1521)][n(1047)],{actions:[l.jsx(z.Switch,{checked:m.enabled,size:"small",onChange:w=>M(m,w)},n(811)),l.jsx(z[n(1804)],{type:n(1755),size:n(398),icon:l[n(1993)](ae[n(1081)],{}),onClick:()=>b(m)},n(906)),l[n(1993)](z[n(813)],{title:n(1357),description:n(825),onConfirm:()=>v(m.id),children:l.jsx(z[n(1804)],{type:n(1755),danger:!0,size:n(398),icon:l[n(1993)](ae[n(1096)],{})})},n(1147))],children:l[n(1993)](z[n(1521)][n(1047)][n(1305)],{title:l[n(1239)](z[n(2132)],{children:[l[n(1993)](z[n(2037)],{color:m.enabled?n(1306):"default",children:Fg(m)}),l[n(1239)](n(1102),{className:n(1179),children:[m[n(704)][n(1361)].length," 个节点"]})]}),description:m.enabled?l[n(1993)]("span",{className:n(1886),children:n(2134)}):l[n(1993)](n(1102),{className:n(1179),children:n(1597)})})}),locale:{emptyText:l[n(1993)](z.Empty,{image:z[n(900)][n(592)],description:n(2031)})}}),l[n(1993)](z[n(1489)],{title:"添加事件流",open:u,onCancel:()=>{y[n(1801)](),f(!1)},footer:null,afterOpenChange:m=>{m&&y.resetFields()},children:l.jsxs(z[n(457)],{form:y,onFinish:h,layout:"vertical",children:[l[n(1993)](z.Form[n(1047)],{name:n(1231),label:"触发方式",rules:[{required:!0,message:n(818)}],children:l[n(1993)](z.Select,{options:Qg,placeholder:n(1050)})}),g==="external"&&l.jsx(z[n(457)][n(1047)],{name:n(1426),label:n(1723),rules:[{required:!0,message:n(610)},{validator:(m,w)=>(w||"")[n(1258)]()?Promise[n(2192)]():Promise[n(1178)](new Error("标识不能为空"))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(1993)](z[n(370)],{placeholder:n(1288)})}),l.jsx(z[n(457)][n(1047)],{className:n(919),children:l[n(1239)](z.Space,{className:n(493),children:[l.jsx(z.Button,{onClick:()=>f(!1),children:"取消"}),l[n(1993)](z[n(1804)],{type:"primary",htmlType:n(1851),children:"创建"})]})})]})}),l.jsx(_g,{open:i,onClose:()=>{c(!1),s(null)},bindNodeId:e,editingRoot:d},d?.id??n(372)+e)]})},{Panel:On}=z[a(472)],{TabPane:ax}=z[a(635)],{TextArea:e5}=z[a(370)],_a=({defaultTestData:e})=>{const n=a,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:c,materials:d,selectedStatusId:s,selectStatus:u}=He(),[f]=z[n(457)][n(904)](),[y,g]=B[n(655)](n(1750)),[p,h]=B[n(655)](!1),[b,M]=B[n(655)](null),[v,m]=B[n(655)]({}),w=B[n(528)](()=>t[n(1876)](L=>L.id===o),[t,o]),C=w?.contentInfo[n(1247)]||[],k=D=>{const L=n;o&&(D[L(721)]&&r(o,D[L(721)]),D.name!==void 0&&x(o,{name:D.name}),D[L(814)]&&i(o,D[L(814)]))};console[n(365)](o,"selectedNodeId",w),B[n(363)](()=>{const D=n;w&&w&&(f[D(467)]({name:w.name,normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:"transparent",borderRadius:0,opacity:1,...w.normalStyle},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...w.controlInfo}}),u(null))},[w,u,f]);const O=()=>{!o||!w||(M("new"),h(!0))},G=D=>{const L=n;if(!o||!w)return;const U={id:be.nanoid(),name:D[L(659)]+"_状态"+(C[L(2194)]+1),expression:C.length===0?L(945):"return false;",material:{...D,id:be[L(1161)]()},boundDatasetId:null};if(b===L(2204)){const P=[...C,U];c(o,{statusList:P})}else if(b){const P=C[L(542)](S=>{const K=L;return S.id===b?{...S,material:{...D,id:be[K(1161)]()}}:S});c(o,{statusList:P})}h(!1),M(null)},j=D=>{const L=n;if(!o||!w)return;const U=w[L(1537)][L(1247)]?.filter(P=>P.id!==D)||[];c(o,{statusList:U}),s===D&&u(null)},A=(D,L)=>{const U=n;if(!o||!w)return;const P=w.contentInfo[U(1247)]?.[U(542)](S=>S.id===D?{...S,...L}:S)||[];c(o,{statusList:P})},Z=D=>{const L=n;if(!o||!w)return;const U={...D,id:be[L(1161)](),name:D[L(659)]+L(715),expression:L(1185)},P=[...C,U];c(o,{statusList:P})},W=(D,L)=>{const U=n;if(!o||!w)return;const P=C[U(626)](K=>K.id===D);if(P===-1)return;const S=[...C];L==="up"&&P>0?[S[P],S[P-1]]=[S[P-1],S[P]]:L===U(1387)&&P<S[U(2194)]-1&&([S[P],S[P+1]]=[S[P+1],S[P]]),c(o,{statusList:S})},q=D=>{M(D),h(!0)},T=(D,L)=>{const U=n,P=L[U(713)]||{},S=P[U(1555)]??0,K=P.startY??0,Q=P.endX??100,R=P[U(1488)]??0,$=Math[U(1439)]((P[U(2123)]||P[U(1832)]||2)*2,4),xe=Math.min(S,Q),ce=Math.min(K,R),de=Math[U(1439)](S,Q),fe=Math[U(1439)](K,R),ie=Math[U(1439)](de-xe,$),J=Math[U(1439)](fe-ce,$),re=D[U(721)].x||0,_=D[U(721)].y||0;return{material:{...L,config:{...P,startX:S-xe,startY:K-ce,endX:Q-xe,endY:R-ce}},box:{x:re+xe,y:_+ce,width:ie,height:J}}},N=(D,L)=>{const U=n;if(!o||!w)return;const{list:P,lineBox:S}=C[U(1606)]((K,Q)=>{const R=U;if(Q.id!==D)return K[R(1073)][R(1465)](Q),K;let $;if(Q[R(600)][R(1424)]==="LINE"&&"config"in L&&L[R(713)]!==void 0){const xe=Q[R(600)],ce=L[R(713)];$={...xe,...L,config:{...xe[R(713)]||{},...ce}}}else $={...Q[R(600)],...L};if($[R(1424)]===R(1881)){const{material:xe,box:ce}=T(w,$);return K[R(1073)][R(1465)]({...Q,material:xe}),K[R(2108)]=ce,K}return K.list[R(1465)]({...Q,material:$}),K},{list:[],lineBox:null});S!==null?x(o,{normalStyle:{...w[U(721)],x:S.x,y:S.y,width:S[U(1238)],height:S.height},contentInfo:{...w[U(1537)],statusList:P}}):c(o,{statusList:P})};return w?l[n(1239)]("div",{className:n(1798),children:[l[n(1239)](n(539),{className:n(1401),children:[l.jsx("h3",{className:n(1036),children:n(435)}),l.jsx("p",{className:n(2073),children:n(2121)})]}),l[n(1993)](n(539),{className:n(1678),children:l[n(1239)](z[n(635)],{activeKey:y,onChange:g,children:[l[n(1993)](ax,{tab:"基础",children:l[n(1239)](z.Form,{form:f,layout:n(609),onValuesChange:k,initialValues:{name:w[n(659)]},children:[l[n(1993)](z.Form[n(1047)],{label:n(1148),name:"name",children:l.jsx(z[n(370)],{placeholder:"输入节点名称"})}),l[n(1239)](z[n(472)],{ghost:!0,defaultActiveKey:["position","size",n(1346)],children:[l[n(1993)](On,{header:"位置",children:l[n(1239)](z[n(2132)],{children:[l[n(1993)](z[n(457)][n(1047)],{label:"X",name:["normalStyle","x"],children:l[n(1993)](z[n(1783)],{})}),l[n(1993)](z.Form[n(1047)],{label:"Y",name:[n(721),"y"],children:l.jsx(z.InputNumber,{})})]})},n(1543)),l.jsx(On,{header:"尺寸",children:l[n(1239)](z[n(2132)],{children:[l.jsx(z[n(457)][n(1047)],{label:"宽度",name:["normalStyle",n(1238)],children:l.jsx(z[n(1783)],{min:10})}),l.jsx(z.Form[n(1047)],{label:"高度",name:[n(721),"height"],children:l[n(1993)](z.InputNumber,{min:10})})]})},n(1705)),l[n(1239)](On,{header:"样式",children:[l[n(1993)](z[n(457)].Item,{label:"背景色",name:[n(721),n(451)],children:l[n(1993)](z[n(370)],{placeholder:n(2139)})}),l.jsx(z.Form[n(1047)],{label:n(1550),name:[n(721),"padding"],children:l.jsx(z[n(1783)],{min:0})}),l.jsx(z[n(457)].Item,{label:"圆角",name:["normalStyle",n(1637)],children:l[n(1993)](z[n(1783)],{min:0})}),l[n(1993)](z[n(457)][n(1047)],{label:n(665),name:[n(721),"scale"],help:n(1940),children:l[n(1993)](z[n(1783)],{min:.1,max:5,step:.1})}),!w[n(1537)].statusList.some(D=>D.material[n(1424)]===n(1881))&&l[n(1993)](z.Form[n(1047)],{label:"旋转角度",name:[n(721),"rotate"],help:n(1149),children:l[n(1993)](z[n(1783)],{min:0,max:360,step:1})}),l.jsx(z.Form[n(1047)],{label:n(1868),name:["normalStyle",n(981)],children:l[n(1993)](z[n(1783)],{min:0,max:1,step:.1})}),l[n(1993)](z.Form[n(1047)],{label:"层级",name:[n(721),n(540)],children:l.jsx(z[n(1783)],{})})]},n(1346))]})]})},n(1750)),l[n(1993)](ax,{tab:"状态",children:w[n(1424)]===n(1728)&&w[n(514)]?l.jsx(Al,{node:w,updateNode:x,materials:d}):l[n(1239)](n(539),{className:"mb-4",children:[l[n(1239)](n(539),{className:n(1845),children:[l[n(1239)]("span",{className:n(1900),children:[n(1145),l[n(1993)](z[n(2037)],{color:"blue",className:n(1035),children:C[n(2194)]})]}),l[n(1993)](z[n(1804)],{type:"primary",size:"small",icon:l[n(1993)](ae[n(1442)],{}),onClick:O,children:"添加状态"})]}),l.jsx("p",{className:"text-xs text-gray-500 mb-3",children:n(826)}),C[n(2194)]>0&&l[n(1993)](n(539),{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:l[n(1993)](n(539),{className:n(556),children:l[n(1239)](n(539),{children:[l.jsx(n(1102),{className:"text-sm text-gray-600",children:n(1131)}),l[n(1993)](n(1102),{className:n(433),children:n(2110)})]})})}),C[n(2194)]===0?l.jsx("div",{className:n(1848),children:"暂无状态,点击上方按钮添加"}):l[n(1993)](z.Collapse,{ghost:!0,defaultActiveKey:C[0]?.id+o,children:C[n(542)]((D,L)=>l[n(1993)](On,{header:l[n(1239)]("div",{className:n(1266),children:[l.jsx(n(1102),{className:n(718),children:L+1}),l[n(1993)](n(1102),{className:n(1900),children:D[n(659)]}),l[n(1993)](z[n(2037)],{color:n(1582),className:"text-xs",children:D[n(600)][n(1424)]})]}),extra:l[n(1239)](z.Space,{size:n(398),onClick:U=>U[n(1064)](),children:[l.jsx(z.Button,{type:n(1755),size:n(398),icon:l[n(1993)](ae[n(1592)],{}),disabled:L===0,onClick:U=>{U.stopPropagation(),W(D.id,"up")}}),l[n(1993)](z[n(1804)],{type:"text",size:n(398),icon:l.jsx(ae[n(1882)],{}),disabled:L===C[n(2194)]-1,onClick:U=>{const P=n;U[P(1064)](),W(D.id,P(1387))}}),l[n(1993)](z[n(1804)],{type:"text",size:"small",icon:l[n(1993)](ae.CopyOutlined,{}),onClick:U=>{U[n(1064)](),Z(D)}}),l[n(1993)](z[n(1804)],{type:n(1755),size:"small",danger:!0,icon:l[n(1993)](ae.DeleteOutlined,{}),onClick:U=>{U[n(1064)](),j(D.id)}})]}),children:l.jsxs(z[n(457)],{layout:n(609),children:[l[n(1993)](z[n(457)][n(1047)],{label:"状态名称",children:l[n(1993)](z[n(370)],{value:D[n(659)],onChange:U=>A(D.id,{name:U.target[n(1981)]}),placeholder:n(2001)})}),l.jsx(qr,{status:D,onUpdate:U=>A(D.id,U),onAppendToExpression:U=>{const P=n;m(S=>({...S,[D.id]:(S[D.id]??D[P(816)])+U}))}}),l[n(1993)](z[n(457)][n(1047)],{label:n(995),help:"单参数 data(对象):由数据池 sample(若已绑定)与画布运行时数据合并;测点数组会按 paramsCode 写入 data。须 return true/false。",children:l[n(1993)](e5,{value:v[D.id]??D[n(816)],onChange:U=>m(P=>({...P,[D.id]:U[n(603)].value})),onBlur:U=>{const P=n;A(D.id,{expression:U[P(603)][P(1981)]}),m(S=>{const K={...S};return delete K[D.id],K})},rows:3,placeholder:"return true;"})}),l[n(1993)](z[n(457)].Item,{label:n(1491),children:l[n(1239)](n(539),{className:"flex items-center gap-2",children:[l.jsx(z[n(2037)],{color:n(1306),children:D[n(600)][n(659)]}),l.jsx(z[n(2037)],{color:n(1582),children:D[n(600)][n(1424)]}),l.jsx(z[n(1804)],{type:n(537),size:n(398),icon:l[n(1993)](ae[n(1081)],{}),onClick:()=>q(D.id),children:n(749)})]})}),l.jsx(z.Divider,{style:{margin:n(1860)}}),l[n(1239)]("div",{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l[n(1239)](n(539),{className:n(1845),children:[l.jsx(n(1102),{className:n(596),children:n(1893)}),l[n(1993)](z[n(2037)],{children:D.material[n(659)]})]}),l[n(1993)](Wr,{material:D.material,onSave:U=>N(D.id,U)})]})]})},D.id+o))})]})},n(1982)),l[n(1993)](ax,{tab:"控制",children:l.jsxs(z.Form,{form:f,layout:n(609),onValuesChange:k,children:[l.jsx(z[n(457)][n(1047)],{label:n(1318),name:[n(814),n(1638)],valuePropName:"checked",children:l[n(1993)](z[n(1870)],{})}),l.jsx(z[n(457)].Item,{label:n(1431),name:[n(814),n(572)],valuePropName:n(973),children:l[n(1993)](z.Switch,{})}),l.jsx(z[n(457)].Item,{label:n(645),name:[n(814),"isResizable"],valuePropName:"checked",children:l.jsx(z.Switch,{})}),l.jsx(z[n(457)][n(1047)],{label:"可选中",name:[n(814),n(1869)],valuePropName:n(973),children:l.jsx(z[n(1870)],{})})]})},n(1938)),l[n(1993)](ax,{tab:n(2095),children:l[n(1993)]($g,{nodeId:w.id})},n(1336))]})}),l.jsx(n(539),{className:n(1317),children:l[n(1239)](n(539),{className:n(1259),children:[l[n(1239)](n(539),{children:["节点 ID: ",w.id[n(1172)](0,8),n(378)]}),l[n(1239)](n(539),{children:[n(2112),C[n(2194)]]})]})}),l.jsx(z[n(1489)],{title:n(548),open:p,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l[n(1993)](n(539),{className:"max-h-[400px] overflow-y-auto",children:l[n(1239)](z[n(472)],{ghost:!0,defaultActiveKey:[n(1750),n(987),n(1755),n(2070)],children:[l.jsx(On,{header:n(1082),children:l.jsx(n(539),{className:n(1098),children:d[n(1641)](D=>["矩形","圆形",n(1272)][n(911)](D[n(659)]))[n(542)](D=>l[n(1993)](Fa,{material:D,onClick:()=>G(D)},D.id))})},n(1750)),l.jsx(On,{header:n(1162),children:l[n(1993)]("div",{className:n(1098),children:d[n(1641)](D=>["阀门","泵","罐体"][n(911)](D[n(659)])||D.type===n(1072)&&!["矩形","圆形",n(1272)][n(911)](D[n(659)]))[n(542)](D=>l[n(1993)](Fa,{material:D,onClick:()=>G(D)},D.id))})},n(987)),l[n(1993)](On,{header:"文本",children:l.jsx(n(539),{className:"grid grid-cols-4 gap-2",children:d.filter(D=>D[n(1424)]==="TEXT")[n(542)](D=>l.jsxs("div",{className:n(1842),onClick:()=>G(D),children:[l[n(1993)](n(539),{className:n(2039),children:l[n(1993)](n(1102),{className:"text-lg font-bold text-gray-500",children:"T"})}),l[n(1993)](n(1102),{className:n(2062),children:D[n(659)]})]},D.id))})},"text"),l[n(1993)](On,{header:"线条",children:l.jsx(n(539),{className:n(1098),children:d[n(1641)](D=>D.type==="LINE")[n(542)](D=>l[n(1239)](n(539),{className:n(1842),onClick:()=>G(D),children:[l[n(1993)]("div",{className:n(2039),children:l[n(1993)](n(539),{className:n(1368)})}),l.jsx(n(1102),{className:n(2062),children:D.name})]},D.id))})},n(2070))]})})})]}):l[n(1993)](n(539),{className:n(1023),children:l.jsx(z[n(900)],{description:n(1001)})})},Fa=({material:e,onClick:n})=>{const t=a,o=e[t(1424)]===t(1072)?e[t(1909)]:void 0;return l[t(1239)](t(539),{className:t(1842),onClick:n,children:[l[t(1993)](t(539),{className:t(657),children:o?l[t(1993)]("img",{src:o,alt:e[t(659)],className:t(991)}):l[t(1993)](t(1102),{className:t(2062),children:e.name[0]})}),l[t(1993)](t(1102),{className:t(2062),children:e.name})]})},n5="ConfigEditor-module__configEditor__dinNG",t5={configEditor:n5},x5=a(643);function Qa(e){return Array[a(927)](e)}const $a=({open:e,onClose:n})=>{const t=a,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=He(),[c]=z[t(457)][t(904)](),[d,s]=B[t(655)](null);B.useEffect(()=>{const h=t;!e&&(s(null),c[h(1801)]())},[e,c]);const u=()=>{const h=t;s(h(1680)),c[h(467)]({name:h(731)+(o[h(2194)]+1),sampleJson:""})},f=h=>{const b=t;s(h.id),c.setFieldsValue({name:h[b(659)],sampleJson:JSON[b(1571)](h[b(1167)]??{},null,2)})},y=h=>{const b=t,M=h.trim();if(!M)return{};const v=JSON.parse(M);if(v===null||typeof v!==b(2171))throw new Error(b(1310));if(Array.isArray(v)){for(let m=0;m<v[b(2194)];m++)if(typeof v[m]!==b(2171)||v[m]===null)throw new Error(b(2137)+(m+1)+" 项必须是对象");return v}return v},g=()=>{const h=t;c[h(732)]()[h(1796)](b=>{const M=h;let v;try{v=y(b[M(1838)])}catch(w){z[M(452)][M(551)](w instanceof Error?w.message:M(730));return}const m=b[M(659)].trim();if(!m){z.message[M(551)](M(1892));return}d===M(1680)?(x({name:m,sample:v}),z.message[M(2093)](M(1520))):d&&(r(d,{name:m,sample:v}),z[M(452)][M(2093)](M(2081))),s(null),c[M(1801)]()})[h(709)](()=>{})},p=[{title:"名称",dataIndex:t(659),key:t(659)},{title:"类型",key:t(1424),width:100,render:(h,b)=>Qa(b.sample)?l[t(1239)](z.Tag,{color:t(1306),children:[t(461),b[t(1167)][t(2194)],t(526)]}):l[t(1993)](z[t(2037)],{children:"对象"})},{title:"字段数",key:t(1651),width:90,render:(h,b)=>{const M=t;if(Qa(b.sample)){const v=b.sample[0];return v?Object[M(1651)](v)[M(2194)]:0}return Object[M(1651)](b.sample||{})[M(2194)]}},{title:"操作",key:t(947),width:160,render:(h,b)=>l[t(1239)](z[t(2132)],{children:[l[t(1993)](z[t(1804)],{type:t(537),size:t(398),icon:l.jsx(ae[t(1081)],{}),onClick:()=>f(b),children:"编辑"}),l[t(1993)](z.Popconfirm,{title:t(382),description:t(1019),onConfirm:()=>{const M=t;i(b.id),z[M(452)].success("已删除,相关状态已解除数据集绑定")},children:l[t(1993)](z[t(1804)],{type:t(537),size:t(398),danger:!0,icon:l[t(1993)](ae.DeleteOutlined,{}),children:"删除"})})]})}];return l[t(1239)](z[t(1489)],{title:"数据池(节点状态用)",open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l.jsxs("p",{className:t(2014),children:[t(1142)," ",l[t(1993)](t(1556),{className:t(1526),children:t(1701)}),t(1696)]}),l[t(1993)]("div",{className:"mb-3",children:l[t(1993)](z[t(1804)],{type:t(1236),icon:l[t(1993)](ae[t(1442)],{}),onClick:u,children:t(520)})}),d&&l.jsxs(t(539),{className:t(499),children:[l[t(1239)]("div",{className:"font-medium mb-2",children:[d===t(1680)?"新建":"编辑",t(2090)]}),l.jsxs(z[t(457)],{form:c,layout:t(609),children:[l[t(1993)](z[t(457)][t(1047)],{name:t(659),label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(1993)](z.Input,{placeholder:t(2181)})}),l[t(1993)](z.Form.Item,{name:t(1838),label:t(606),rules:[{required:!0,message:"必填"}],children:l[t(1993)](z[t(370)][t(1779)],{rows:12,className:t(2193),placeholder:x5})}),l[t(1239)](z.Space,{children:[l[t(1993)](z[t(1804)],{type:"primary",onClick:g,children:"保存"}),l[t(1993)](z[t(1804)],{onClick:()=>{const h=t;s(null),c[h(1801)]()},children:"取消"})]})]})]}),l[t(1993)](z[t(1091)],{size:"small",rowKey:"id",dataSource:o,columns:p,pagination:!1,locale:{emptyText:"暂无数据集,请点击「新建」"}})]})},{Header:o5,Sider:es,Content:r5}=z.Layout,i5=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:c=!0,showPropertyPanel:d=!0,customMaterials:s,initialDataPool:u,initialEventFlow:f,externalEventActions:y,onUploadSvg:g,defaultTestData:p,backgroundImageUrl:h,initialViewportWidth:b,initialViewportHeight:M})=>{const v=a,[m,w]=B[v(655)](!1),[C,k]=B[v(655)](!1),[O,G]=B.useState(""),[j]=B[v(655)](()=>[{paramsCode:v(1620),paramsName:"通频速度有效值",value:25,paramsUnit:v(535)},{paramsCode:v(1099),paramsName:"通频加速度有效值",value:1.5,paramsUnit:v(484)}]),A=p!==void 0?p:j,Z=i&&!t,{exportScheme:W,importScheme:q,nodes:T,materials:N,dataPool:D,eventFlow:L,root:U,canvas:P,viewport:S,addMaterial:K,setDataPool:Q,setEventFlow:R,setExternalHandlerCatalog:$}=He();B.useRef(null);const xe=B[v(575)](!1);B[v(363)](()=>{const J=v;if(!xe[J(1560)]&&(xe[J(1560)]=!0,cr.forEach(re=>K(re)),e&&q(e),f!==void 0&&R(f),y&&y[J(2194)]>0)){$(y);const re={};for(const _ of y){const I=String(_[J(1460)]??"").trim();I&&_[J(1733)]&&(re[I]=_[J(1733)])}Object.keys(re)[J(2194)]>0&&lt[J(1444)]({external:re})}},[]),B[v(363)](()=>{const J=v;s&&s[J(2194)]>0&&s[J(1369)](re=>K(re))},[]),B[v(363)](()=>{u!==void 0&&Q(u)},[u,Q]),B.useEffect(()=>{if(n){const J=W();n(J)}},[T,N,D,L,U,n,W]);const ce=B.useCallback(()=>{const J=v,re=W(),_=JSON[J(1571)](re,null,2),I="data:application/json;charset=utf-8,"+encodeURIComponent(_),Y=J(1901)+Date[J(1960)]()+J(1323),X=document[J(1990)]("a");X.setAttribute(J(1412),I),X[J(1110)](J(766),Y),X.click(),z[J(452)][J(2093)](J(1127))},[W]),de=B[v(1591)](()=>{const J=v;try{const re=JSON[J(871)](O);q(re),w(!1),G(""),z.message[J(2093)](J(828))}catch{z[J(452)][J(551)](J(2151))}},[O,q]),fe=B[v(1591)](J=>{const re=v,_=new FileReader;return _[re(1841)]=I=>{const Y=re;try{const X=I[Y(603)]?.result,H=JSON.parse(X);q(H),z[Y(452)].success(Y(828)),w(!1)}catch{z[Y(452)][Y(551)](Y(1376))}},_[re(2053)](J),!1},[q]),ie=B[v(1591)](()=>W(),[W]);return B.useImperativeHandle(B.useRef?.(),()=>({getScheme:ie,exportScheme:W,importScheme:q}),[ie,W,q]),l.jsx(z[v(1917)],{locale:ms,children:l[v(1993)]("div",{className:t5[v(975)],style:{height:t?"auto":"100%",...r},children:l[v(1239)](z[v(1971)],{className:v(1950)+(t?"":v(965))+" "+(t?"":v(1015))+" "+x,children:[Z&&l[v(1239)](o5,{className:v(2162),children:[l[v(1239)](v(539),{className:v(903),children:[l[v(1993)]("div",{className:"text-xl font-bold text-blue-600",children:"组态编辑器"}),l[v(1239)](v(539),{className:v(2073),children:[T[v(2194)]," 个节点"]})]}),l[v(1239)](z.Space,{children:[o,!t&&l.jsxs(l[v(915)],{children:[l[v(1993)](z.Tooltip,{title:v(1475),children:l.jsx(z[v(1804)],{icon:l[v(1993)](ae[v(1390)],{}),onClick:ce,children:"导出"})}),l[v(1993)](z[v(1654)],{title:v(1344),children:l[v(1993)](z[v(1804)],{icon:l[v(1993)](ae[v(2058)],{}),onClick:()=>w(!0),children:"导入"})}),l.jsx(z[v(1654)],{title:"节点状态用的数据集(与事件流无关)",children:l.jsx(z.Button,{icon:l.jsx(ae.DatabaseOutlined,{}),onClick:()=>k(!0),children:v(1517)})})]})]})]}),l[v(1239)](z[v(1971)],{children:[c&&!t&&l[v(1993)](es,{width:280,className:v(842),theme:v(1859),children:l[v(1993)](sr,{onUploadSvg:g})}),l[v(1993)](r5,{className:"relative "+(t?"":"bg-gray-100"),style:t?{backgroundColor:P?.[v(451)],backgroundImage:P?.[v(1296)]!==!1?v(549):void 0,backgroundSize:20*(S?.scale||1)+v(1919)+20*(S?.[v(476)]||1)+"px"}:void 0,children:l[v(1993)](Or,{defaultTestData:A,readonly:t,backgroundImageUrl:h,initialViewportWidth:b,initialViewportHeight:M})}),d&&!t&&l[v(1993)](es,{width:360,className:v(842),theme:v(1859),children:l[v(1993)](_a,{defaultTestData:Array[v(927)](A)?A:void 0})})]}),l[v(1993)]($a,{open:C,onClose:()=>k(!1)}),l[v(1993)](z.Modal,{title:"导入组态方案",open:m,onOk:de,onCancel:()=>{w(!1),G("")},width:600,children:l.jsxs("div",{className:"space-y-4",children:[l[v(1239)](v(539),{children:[l[v(1993)]("p",{className:v(590),children:v(2202)}),l[v(1993)](v(1418),{type:v(2147),accept:v(1323),onChange:J=>{const re=v,_=J[re(603)][re(1741)]?.[0];_&&fe(_)},className:`block w-full text-sm text-gray-500
8
+ +`)[l(1037)](`
9
+ `)),b=f.reduce((g,v)=>g[l(1094)](...v),[]);return[f,b]}return[[],[]]},[e]);return B[t(1247)](()=>{const l=t,c=n?.[l(1552)]??Ra,f=n?.[l(436)]??!0;if(e!==null){const b=h=>{const p=l;if(r[p(1610)]=h[p(1179)]||h[p(868)]||h[p(857)]||h[p(1434)],(!r[p(1610)]||r.current&&!f)&&na(h))return!1;const y=Qa(h[p(1489)],u);if(i[p(1610)].add(h[y]),Ja(a,i[p(1610)],!1)){const w=h[p(1338)]?.()?.[0]||h[p(1552)],m=w?.nodeName===p(1441)||w?.[p(1792)]==="A";n[p(726)]!==!1&&(r[p(1610)]||!m)&&h[p(726)](),x(!0)}},g=h=>{const p=l,C=Qa(h.code,u);Ja(a,i[p(1610)],!0)?(x(!1),i[p(1610)][p(1900)]()):i.current[p(1756)](h[C]),h[p(210)]===p(387)&&i[p(1610)][p(1900)](),r.current=!1},v=()=>{i.current.clear(),x(!1)};return c?.[l(1564)]("keydown",b),c?.[l(1564)](l(215),g),window[l(1564)](l(1264),v),window[l(1564)]("contextmenu",v),()=>{const h=l;c?.[h(1487)](h(1433),b),c?.[h(1487)](h(215),g),window[h(1487)](h(1264),v),window[h(1487)](h(1202),v)}}},[e,x]),o}function Ja(e,n,t){const o=s;return e[o(1343)](x=>t||x[o(655)]===n[o(1860)])[o(789)](x=>x.every(r=>n[o(1235)](r)))}function Qa(e,n){const t=s;return n.includes(e)?t(1489):t(210)}const V1=()=>{const e=s,n=je();return B[e(1456)](()=>{const t=e;return{zoomIn:o=>{const x=_0x5bb9,{panZoom:r}=n.getState();return r?r.scaleBy(1.2,o):Promise[x(1053)](!1)},zoomOut:o=>{const x=_0x5bb9,{panZoom:r}=n[x(579)]();return r?r[x(1297)](1/1.2,o):Promise[x(1053)](!1)},zoomTo:(o,x)=>{const r=_0x5bb9,{panZoom:i}=n[r(579)]();return i?i[r(471)](o,x):Promise[r(1053)](!1)},getZoom:()=>n[t(579)]()[t(1368)][2],setViewport:async(o,x)=>{const r=t,{transform:[i,a,u],panZoom:l}=n[r(579)]();return l?(await l[r(1669)]({x:o.x??i,y:o.y??a,zoom:o[r(430)]??u},x),Promise[r(1053)](!0)):Promise.resolve(!1)},getViewport:()=>{const o=t,[x,r,i]=n[o(579)]().transform;return{x,y:r,zoom:i}},setCenter:async(o,x,r)=>{const i=t;return n.getState()[i(1316)](o,x,r)},fitBounds:async(o,x)=>{const r=t,{width:i,height:a,minZoom:u,maxZoom:l,panZoom:c}=n[r(579)](),f=ro(o,i,a,u,l,x?.[r(593)]??.1);return c?(await c[r(1669)](f,{duration:x?.[r(1779)],ease:x?.[r(702)],interpolate:x?.[r(1457)]}),Promise[r(1053)](!0)):Promise[r(1053)](!1)},screenToFlowPosition:(o,x={})=>{const r=t,{transform:i,snapGrid:a,snapToGrid:u,domNode:l}=n[r(579)]();if(!l)return o;const{x:c,y:f}=l[r(912)](),b={x:o.x-c,y:o.y-f},g=x.snapGrid??a,v=x[r(266)]??u;return et(b,i,v,g)},flowToScreenPosition:o=>{const x=t,{transform:r,domNode:i}=n[x(579)]();if(!i)return o;const{x:a,y:u}=i[x(912)](),l=Rt(o,r);return{x:l.x+a,y:l.y+u}}}},[])};function Fa(e,n){const t=s,o=[],x=new Map,r=[];for(const i of e)if(i[t(415)]===t(1184)){r.push(i);continue}else if(i[t(415)]==="remove"||i[t(415)]===t(228))x[t(1191)](i.id,[i]);else{const a=x.get(i.id);a?a.push(i):x[t(1191)](i.id,[i])}for(const i of n){const a=x.get(i.id);if(!a){o[t(829)](i);continue}if(a[0][t(415)]===t(669))continue;if(a[0][t(415)]==="replace"){o[t(829)]({...a[0].item});continue}const u={...i};for(const l of a)W1(l,u);o[t(829)](u)}return r[t(655)]&&r[t(1626)](i=>{const a=t;i[a(653)]!==void 0?o[a(343)](i[a(653)],0,{...i.item}):o[a(829)]({...i.item})}),o}function W1(e,n){const t=s;switch(e[t(415)]){case t(1412):{n[t(879)]=e[t(879)];break}case"position":{typeof e.position!==t(1533)&&(n[t(360)]=e[t(360)]),typeof e[t(1640)]!==t(1533)&&(n[t(1640)]=e[t(1640)]);break}case t(508):{typeof e[t(508)]<"u"&&(n.measured={...e[t(508)]},e[t(604)]&&((e[t(604)]===!0||e.setAttributes===t(1473))&&(n[t(1473)]=e[t(508)][t(1473)]),(e[t(604)]===!0||e.setAttributes==="height")&&(n[t(1187)]=e[t(508)][t(1187)]))),typeof e[t(658)]===t(1524)&&(n.resizing=e[t(658)]);break}}}function _a(e,n){return Fa(e,n)}function $a(e,n){return Fa(e,n)}function $0(e,n){return{id:e,type:"select",selected:n}}function Cn(e,n=new Set,t=!1){const o=s,x=[];for(const[r,i]of e){const a=n[o(1235)](r);!(i.selected===void 0&&!a)&&i[o(879)]!==a&&(t&&(i[o(879)]=a),x[o(829)]($0(i.id,a)))}return x}function es({items:e=[],lookup:n}){const t=s,o=[],x=new Map(e.map(r=>[r.id,r]));for(const[r,i]of e.entries()){const a=n[t(1292)](i.id),u=a?.[t(628)]?.[t(258)]??a;u!==void 0&&u!==i&&o.push({id:i.id,item:i,type:t(228)}),u===void 0&&o[t(829)]({item:i,type:"add",index:r})}for(const[r]of n)x[t(1292)](r)===void 0&&o.push({id:r,type:t(669)});return o}function ns(e){const n=s;return{id:e.id,type:n(669)}}const ts=e=>h5(e),q1=e=>Wi(e);function xs(e){return B[s(1007)](e)}function os(e){const n=s,[t,o]=B[n(898)](BigInt(0)),[x]=B.useState(()=>X1(()=>o(r=>r+BigInt(1))));return Mo(()=>{const r=n,i=x[r(1292)]();i[r(655)]&&(e(i),x[r(1384)]())},[t]),x}function X1(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x5bb9(829)](t),e()}}}const rs=B[s(1461)](null);function Z1({children:e}){const n=s,t=je(),o=B[n(871)](u=>{const l=n,{nodes:c=[],setNodes:f,hasDefaultNodes:b,onNodesChange:g,nodeLookup:v,fitViewQueued:h,onNodesChangeMiddlewareMap:p}=t[l(579)]();let C=c;for(const w of u)C=typeof w===l(1240)?w(C):w;let y=es({items:C,lookup:v});for(const w of p[l(1465)]())y=w(y);b&&f(C),y[l(655)]>0?g?.(y):h&&window[l(1674)](()=>{const w=l,{fitViewQueued:m,nodes:M,setNodes:S}=t[w(579)]();m&&S(M)})},[]),x=os(o),r=B.useCallback(u=>{const l=n,{edges:c=[],setEdges:f,hasDefaultEdges:b,onEdgesChange:g,edgeLookup:v}=t.getState();let h=c;for(const p of u)h=typeof p===l(1240)?p(h):p;b?f(h):g&&g(es({items:h,lookup:v}))},[]),i=os(r),a=B.useMemo(()=>({nodeQueue:x,edgeQueue:i}),[]);return d[n(2e3)](rs[n(1882)],{value:a,children:e})}function K1(){const e=s,n=B[e(1480)](rs);if(!n)throw new Error(e(528));return n}const R1=e=>!!e[s(853)];function Bo(){const e=s,n=V1(),t=je(),o=K1(),x=Le(R1),r=B.useMemo(()=>{const i=_0x5bb9,a=g=>t.getState()[i(384)].get(g),u=g=>{const v=i;o[v(499)][v(829)](g)},l=g=>{const v=i;o[v(474)][v(829)](g)},c=g=>{const v=i,{nodeLookup:h,nodeOrigin:p}=t[v(579)](),C=ts(g)?g:h[v(1292)](g.id),y=C.parentId?_i(C.position,C[v(1513)],C[v(563)],h,p):C[v(360)],w={...C,position:y,width:C[v(1513)]?.[v(1473)]??C[v(1473)],height:C[v(1513)]?.[v(1187)]??C[v(1187)]};return mn(w)},f=(g,v,h={replace:!1})=>{u(p=>p.map(C=>{const y=_0x5bb9;if(C.id===g){const w=typeof v===y(1240)?v(C):v;return h[y(228)]&&ts(w)?w:{...C,...w}}return C}))},b=(g,v,h={replace:!1})=>{const p=i;l(C=>C[p(411)](y=>{const w=p;if(y.id===g){const m=typeof v===w(1240)?v(y):v;return h[w(228)]&&q1(m)?m:{...y,...m}}return y}))};return{getNodes:()=>t[i(579)]()[i(1745)].map(g=>({...g})),getNode:g=>a(g)?.internals[i(258)],getInternalNode:a,getEdges:()=>{const g=i,{edges:v=[]}=t[g(579)]();return v.map(h=>({...h}))},getEdge:g=>t[i(579)]()[i(518)][i(1292)](g),setNodes:u,setEdges:l,addNodes:g=>{const v=i,h=Array[v(1994)](g)?g:[g];o[v(499)][v(829)](p=>[...p,...h])},addEdges:g=>{const v=i,h=Array[v(1994)](g)?g:[g];o[v(474)][v(829)](p=>[...p,...h])},toObject:()=>{const g=i,{nodes:v=[],edges:h=[],transform:p}=t[g(579)](),[C,y,w]=p;return{nodes:v[g(411)](m=>({...m})),edges:h[g(411)](m=>({...m})),viewport:{x:C,y,zoom:w}}},deleteElements:async({nodes:g=[],edges:v=[]})=>{const h=i,{nodes:p,edges:C,onNodesDelete:y,onEdgesDelete:w,triggerNodeChanges:m,triggerEdgeChanges:M,onDelete:S,onBeforeDelete:U}=t.getState(),{nodes:W,edges:H}=await v5({nodesToRemove:g,edgesToRemove:v,nodes:p,edges:C,onBeforeDelete:U}),A=H.length>0,q=W[h(655)]>0;if(A){const T=H.map(ns);w?.(H),M(T)}if(q){const T=W[h(411)](ns);y?.(W),m(T)}return(q||A)&&S?.({nodes:W,edges:H}),{deletedNodes:W,deletedEdges:H}},getIntersectingNodes:(g,v=!0,h)=>{const p=i,C=Ji(g),y=C?g:c(g),w=h!==void 0;return y?(h||t[p(579)]()[p(1745)])[p(1343)](m=>{const M=p,S=t.getState().nodeLookup.get(m.id);if(S&&!C&&(m.id===g.id||!S[M(628)].positionAbsolute))return!1;const U=mn(w?m:S),W=_n(U,y);return v&&W>0||W>=U[M(1473)]*U[M(1187)]||W>=y.width*y.height}):[]},isNodeIntersecting:(g,v,h=!0)=>{const p=i,C=Ji(g),y=C?g:c(g);if(!y)return!1;const w=_n(y,v);return h&&w>0||w>=v[p(1473)]*v[p(1187)]||w>=y[p(1473)]*y[p(1187)]},updateNode:f,updateNodeData:(g,v,h={replace:!1})=>{f(g,p=>{const C=_0x5bb9,y=typeof v===C(1240)?v(p):v;return h[C(228)]?{...p,data:y}:{...p,data:{...p[C(1275)],...y}}},h)},updateEdge:b,updateEdgeData:(g,v,h={replace:!1})=>{b(g,p=>{const C=_0x5bb9,y=typeof v=="function"?v(p):v;return h[C(228)]?{...p,data:y}:{...p,data:{...p.data,...y}}},h)},getNodesBounds:g=>{const{nodeLookup:v,nodeOrigin:h}=t.getState();return g5(g,{nodeLookup:v,nodeOrigin:h})},getHandleConnections:({type:g,id:v,nodeId:h})=>Array[i(1057)](t[i(579)]()[i(1142)][i(1292)](h+"-"+g+(v?"-"+v:""))?.values()??[]),getNodeConnections:({type:g,handleId:v,nodeId:h})=>Array[i(1057)](t[i(579)]()[i(1142)].get(""+h+(g?v?"-"+g+"-"+v:"-"+g:""))?.values()??[]),fitView:async g=>{const v=i,h=t[v(579)]()[v(720)]??z5();return t[v(220)]({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),o[v(499)][v(829)](p=>[...p]),h[v(1472)]}}},[]);return B[e(1456)](()=>({...r,...n,viewportInitialized:x}),[x])}const is=e=>e[s(879)],J1=typeof window!==s(1533)?window:void 0;function Q1({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=je(),{deleteElements:o}=Bo(),x=xt(e,{actInsideInputWithModifier:!1}),r=xt(n,{target:J1});B.useEffect(()=>{const i=_0x5bb9;if(x){const{edges:a,nodes:u}=t[i(579)]();o({nodes:u[i(1343)](is),edges:a[i(1343)](is)}),t[i(220)]({nodesSelectionActive:!1})}},[x]),B.useEffect(()=>{t.setState({multiSelectionActive:r})},[r])}function F1(e){const n=s,t=je();B[n(1247)](()=>{const o=n,x=()=>{const r=_0x5bb9;if(!e[r(1610)]||!(e.current[r(1614)]?.()??!0))return!1;const i=io(e[r(1610)]);(i[r(1187)]===0||i[r(1473)]===0)&&t[r(579)]()[r(1518)]?.("004",n0[r(1855)]()),t[r(220)]({width:i[r(1473)]||500,height:i[r(1187)]||500})};if(e[o(1610)]){x(),window[o(1564)](o(692),x);const r=new ResizeObserver(()=>x());return r.observe(e[o(1610)]),()=>{const i=o;window[i(1487)](i(692),x),r&&e[i(1610)]&&r[i(349)](e[i(1610)])}}},[])}const xx={position:s(1442),width:s(1935),height:"100%",top:0,left:0},_1=e=>({userSelectionActive:e[s(1348)],lib:e.lib,connectionInProgress:e[s(1035)][s(1511)]});function $1({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=Q0.Free,zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:u,translateExtent:l,minZoom:c,maxZoom:f,zoomActivationKeyCode:b,preventScrolling:g=!0,children:v,noWheelClassName:h,noPanClassName:p,onViewportChange:C,isControlledViewport:y,paneClickDistance:w,selectionOnDrag:m}){const M=s,S=je(),U=B.useRef(null),{userSelectionActive:W,lib:H,connectionInProgress:A}=Le(_1,Ye),q=xt(b),T=B[M(1288)]();F1(U);const O=B[M(871)](Z=>{const D=M;C?.({x:Z[0],y:Z[1],zoom:Z[2]}),!y&&S[D(220)]({transform:Z})},[C,y]);return B[M(1247)](()=>{const Z=M;if(U[Z(1610)]){T[Z(1610)]=o1({domNode:U.current,minZoom:c,maxZoom:f,translateExtent:l,viewport:u,onDraggingChange:j=>S[Z(220)](P=>P[Z(1484)]===j?P:{paneDragging:j}),onPanZoomStart:(j,P)=>{const I=Z,{onViewportChangeStart:K,onMoveStart:_}=S[I(579)]();_?.(j,P),K?.(P)},onPanZoom:(j,P)=>{const I=Z,{onViewportChange:K,onMove:_}=S[I(579)]();_?.(j,P),K?.(P)},onPanZoomEnd:(j,P)=>{const I=Z,{onViewportChangeEnd:K,onMoveEnd:_}=S[I(579)]();_?.(j,P),K?.(P)}});const{x:D,y:L,zoom:N}=T[Z(1610)][Z(722)]();return S[Z(220)]({panZoom:T[Z(1610)],transform:[D,L,N],domNode:U[Z(1610)].closest(".react-flow")}),()=>{const j=Z;T[j(1610)]?.[j(1799)]()}}},[]),B[M(1247)](()=>{const Z=M;T[Z(1610)]?.[Z(1928)]({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:q,preventScrolling:g,noPanClassName:p,userSelectionActive:W,noWheelClassName:h,lib:H,onTransformChange:O,connectionInProgress:A,selectionOnDrag:m,paneClickDistance:w})},[e,n,t,o,x,r,i,a,q,g,p,W,h,H,O,A,m,w]),d[M(2e3)]("div",{className:"react-flow__renderer",ref:U,style:xx,children:v})}const e2=e=>({userSelectionActive:e[s(1348)],userSelectionRect:e[s(1501)]});function n2(){const e=s,{userSelectionActive:n,userSelectionRect:t}=Le(e2,Ye);return n&&t?d[e(2e3)](e(261),{className:e(1022),style:{width:t[e(1473)],height:t[e(1187)],transform:e(998)+t.x+e(821)+t.y+e(1568)}}):null}const Do=(e,n)=>t=>{const o=_0x5bb9;t[o(1552)]===n[o(1610)]&&e?.(t)},t2=e=>({userSelectionActive:e[s(1348)],elementsSelectable:e.elementsSelectable,connectionInProgress:e[s(1035)][s(1511)],dragging:e[s(1484)]});function x2({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Jn[s(963)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:u,onPaneContextMenu:l,onPaneScroll:c,onPaneMouseEnter:f,onPaneMouseMove:b,onPaneMouseLeave:g,children:v}){const h=s,p=je(),{userSelectionActive:C,elementsSelectable:y,dragging:w,connectionInProgress:m}=Le(t2,Ye),M=y&&(e||C),S=B[h(1288)](null),U=B[h(1288)](),W=B[h(1288)](new Set),H=B[h(1288)](new Set),A=B[h(1288)](!1),q=P=>{const I=h;if(A[I(1610)]||m){A.current=!1;return}u?.(P),p.getState()[I(1425)](),p[I(220)]({nodesSelectionActive:!1})},T=P=>{const I=h;if(Array.isArray(o)&&o?.[I(561)](2)){P.preventDefault();return}l?.(P)},O=c?P=>c(P):void 0,Z=P=>{const I=h;A.current&&(P[I(1444)](),A[I(1610)]=!1)},D=P=>{const I=h,{domNode:K}=p[I(579)]();if(U[I(1610)]=K?.[I(912)](),!U[I(1610)])return;const _=P[I(1552)]===S.current;if(!_&&!!P[I(1552)][I(292)](I(1688))||!e||!(r&&_||n)||P.button!==0||!P[I(1978)])return;P[I(1552)]?.setPointerCapture?.(P[I(2002)]),A[I(1610)]=!1;const{x:oe,y:de}=h0(P[I(2013)],U[I(1610)]);p[I(220)]({userSelectionRect:{width:0,height:0,startX:oe,startY:de,x:oe,y:de}}),!_&&(P[I(1444)](),P[I(726)]())},L=P=>{const I=h,{userSelectionRect:K,transform:_,nodeLookup:R,edgeLookup:$,connectionLookup:oe,triggerNodeChanges:de,triggerEdgeChanges:se,defaultEdgeOptions:fe,resetSelectedElements:ie}=p.getState();if(!U[I(1610)]||!K)return;const{x:F,y:re}=h0(P[I(2013)],U[I(1610)]),{startX:J,startY:k}=K;if(!A[I(1610)]){const ce=n?0:x;if(Math.hypot(F-J,re-k)<=ce)return;ie(),i?.(P)}A[I(1610)]=!0;const E={startX:J,startY:k,x:F<J?F:J,y:re<k?re:k,width:Math.abs(F-J),height:Math[I(1426)](re-k)},X=W[I(1610)],G=H.current;W[I(1610)]=new Set(xo(R,E,_,t===Jn.Partial,!0).map(ce=>ce.id)),H[I(1610)]=new Set;const ne=fe?.selectable??!0;for(const ce of W[I(1610)]){const le=oe.get(ce);if(le)for(const{edgeId:ye}of le[I(1465)]()){const ve=$[I(1292)](ye);ve&&(ve[I(765)]??ne)&&H[I(1610)].add(ye)}}if(!$i(X,W.current)){const ce=Cn(R,W[I(1610)],!0);de(ce)}if(!$i(G,H[I(1610)])){const ce=Cn($,H.current);se(ce)}p[I(220)]({userSelectionRect:E,userSelectionActive:!0,nodesSelectionActive:!1})},N=P=>{const I=h;P[I(264)]===0&&(P[I(1552)]?.[I(626)]?.(P[I(2002)]),!C&&P[I(1552)]===S[I(1610)]&&p[I(579)]()[I(1501)]&&q?.(P),p[I(220)]({userSelectionActive:!1,userSelectionRect:null}),A.current&&(a?.(P),p.setState({nodesSelectionActive:W[I(1610)].size>0})))},j=o===!0||Array[h(1994)](o)&&o.includes(0);return d[h(1406)](h(261),{className:Oe([h(1374),{draggable:j,dragging:w,selection:e}]),onClick:M?void 0:Do(q,S),onContextMenu:Do(T,S),onWheel:Do(O,S),onPointerEnter:M?void 0:f,onPointerMove:M?L:b,onPointerUp:M?N:void 0,onPointerDownCapture:M?D:void 0,onClickCapture:M?Z:void 0,onPointerLeave:g,ref:S,style:xx,children:[v,d.jsx(n2,{})]})}function Lo({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=s,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:u,onError:l}=n.getState(),c=u.get(e);if(!c){l?.(x(882),n0[x(555)](e));return}n[x(220)]({nodesSelectionActive:!1}),c.selected?(t||c.selected&&a)&&(i({nodes:[c],edges:[]}),requestAnimationFrame(()=>o?.[x(1610)]?.[x(1264)]())):r([e])}function as({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const a=s,u=je(),[l,c]=B[a(898)](!1),f=B.useRef();return B[a(1247)](()=>{const b=a;f[b(1610)]=q5({getStoreItems:()=>u.getState(),onNodeMouseDown:g=>{Lo({id:g,store:u,nodeRef:e})},onDragStart:()=>{c(!0)},onDragStop:()=>{c(!1)}})},[]),B.useEffect(()=>{const b=a;if(!(n||!e.current||!f[b(1610)]))return f[b(1610)][b(1928)]({noDragClassName:t,handleSelector:o,domNode:e[b(1610)],isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const g=b;f[g(1610)]?.[g(1799)]()}},[t,o,n,r,e,x,i]),l}const o2=e=>n=>n[s(879)]&&(n[s(1414)]||e&&typeof n[s(1414)]===s(1533));function ss(){const e=je();return B.useCallback(t=>{const o=_0x5bb9,{nodeExtent:x,snapToGrid:r,snapGrid:i,nodesDraggable:a,onError:u,updateNodePositions:l,nodeLookup:c,nodeOrigin:f}=e[o(579)](),b=new Map,g=o2(a),v=r?i[0]:5,h=r?i[1]:5,p=t[o(1653)].x*v*t[o(483)],C=t.direction.y*h*t[o(483)];for(const[,y]of c){if(!g(y))continue;let w={x:y.internals[o(1217)].x+p,y:y[o(628)].positionAbsolute.y+C};r&&(w=$n(w,i));const{position:m,positionAbsolute:M}=qi({nodeId:y.id,nextPosition:w,nodeLookup:c,nodeExtent:x,nodeOrigin:f,onError:u});y[o(360)]=m,y.internals[o(1217)]=M,b[o(1191)](y.id,y)}l(b)},[])}const No=B[s(1461)](null),r2=No[s(1882)];No[s(492)];const ls=()=>B[s(1480)](No),i2=e=>({connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName,rfId:e[s(1242)]}),a2=(e,n,t)=>o=>{const x=s,{connectionClickStartHandle:r,connectionMode:i,connection:a}=o,{fromHandle:u,toHandle:l,isValid:c}=a,f=l?.[x(646)]===e&&l?.id===n&&l?.[x(415)]===t;return{connectingFrom:u?.[x(646)]===e&&u?.id===n&&u?.[x(415)]===t,connectingTo:f,clickConnecting:r?.[x(646)]===e&&r?.id===n&&r?.[x(415)]===t,isPossibleEndHandle:i===bn[x(1519)]?u?.[x(415)]!==t:e!==u?.[x(646)]||n!==u?.id,connectionInProcess:!!u,clickConnectionInProcess:!!r,valid:f&&c}};function s2({type:e=s(248),position:n=he[s(347)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:u,className:l,onMouseDown:c,onTouchStart:f,...b},g){const v=s,h=i||null,p=e===v(1552),C=je(),y=ls(),{connectOnClick:w,noPanClassName:m,rfId:M}=Le(i2,Ye),{connectingFrom:S,connectingTo:U,clickConnecting:W,isPossibleEndHandle:H,connectionInProcess:A,clickConnectionInProcess:q,valid:T}=Le(a2(y,h,e),Ye);!y&&C[v(579)]()[v(1518)]?.(v(1870),n0.error010());const O=L=>{const N=v,{defaultEdgeOptions:j,onConnect:P,hasDefaultEdges:I}=C.getState(),K={...j,...L};if(I){const{edges:_,setEdges:R}=C[N(579)]();R(sa(K,_))}P?.(K),a?.(K)},Z=L=>{const N=v;if(!y)return;const j=ta(L[N(2013)]);if(x&&(j&&L.button===0||!j)){const P=C[N(579)]();yo[N(1652)](L[N(2013)],{handleDomNode:L.currentTarget,autoPanOnConnect:P[N(1045)],connectionMode:P.connectionMode,connectionRadius:P.connectionRadius,domNode:P[N(372)],nodeLookup:P.nodeLookup,lib:P.lib,isTarget:p,handleId:h,nodeId:y,flowId:P[N(1242)],panBy:P.panBy,cancelConnection:P.cancelConnection,onConnectStart:P[N(1447)],onConnectEnd:(...I)=>C[N(579)]().onConnectEnd?.(...I),updateConnection:P[N(1488)],onConnect:O,isValidConnection:t||((...I)=>C[N(579)]()[N(1166)]?.(...I)??!0),getTransform:()=>C[N(579)]().transform,getFromHandle:()=>C.getState()[N(1035)].fromHandle,autoPanSpeed:P[N(1385)],dragThreshold:P[N(282)]})}j?c?.(L):f?.(L)},D=L=>{const N=v,{onClickConnectStart:j,onClickConnectEnd:P,connectionClickStartHandle:I,connectionMode:K,isValidConnection:_,lib:R,rfId:$,nodeLookup:oe,connection:de}=C[N(579)]();if(!y||!I&&!x)return;if(!I){j?.(L.nativeEvent,{nodeId:y,handleId:h,handleType:e}),C[N(220)]({connectionClickStartHandle:{nodeId:y,type:e,id:h}});return}const se=ea(L[N(1552)]),fe=t||_,{connection:ie,isValid:F}=yo[N(1888)](L[N(2013)],{handle:{nodeId:y,id:h,type:e},connectionMode:K,fromNodeId:I[N(646)],fromHandleId:I.id||null,fromType:I[N(415)],isValidConnection:fe,flowId:$,doc:se,lib:R,nodeLookup:oe});F&&ie&&O(ie);const re=structuredClone(de);delete re.inProgress,re[N(432)]=re[N(1741)]?re.toHandle[N(360)]:null,P?.(L,re),C.setState({connectionClickStartHandle:null})};return d[v(2e3)](v(261),{"data-handleid":h,"data-nodeid":y,"data-handlepos":n,"data-id":M+"-"+y+"-"+h+"-"+e,className:Oe([v(644),"react-flow__handle-"+n,v(1419),m,l,{source:!p,target:p,connectable:o,connectablestart:x,connectableend:r,clickconnecting:W,connectingfrom:S,connectingto:U,valid:T,connectionindicator:o&&(!A||H)&&(A||q?r:x)}]),onMouseDown:Z,onTouchStart:Z,onClick:w?D:void 0,ref:g,...b,children:u})}const Mn=B[s(1087)](xs(s2));function l2({data:e,isConnectable:n,sourcePosition:t=he[s(1060)]}){const o=s;return d.jsxs(d[o(454)],{children:[e?.label,d.jsx(Mn,{type:"source",position:t,isConnectable:n})]})}function d2({data:e,isConnectable:n,targetPosition:t=he[s(347)],sourcePosition:o=he[s(1060)]}){const x=s;return d[x(1406)](d[x(454)],{children:[d[x(2e3)](Mn,{type:x(1552),position:t,isConnectable:n}),e?.[x(706)],d.jsx(Mn,{type:"source",position:o,isConnectable:n})]})}function c2(){return null}function u2({data:e,isConnectable:n,targetPosition:t=he[s(347)]}){const o=s;return d[o(1406)](d[o(454)],{children:[d[o(2e3)](Mn,{type:"target",position:t,isConnectable:n}),e?.[o(706)]]})}const ox={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},ds={input:l2,default:d2,output:u2,group:c2};function f2(e){const n=s;return e.internals[n(536)]===void 0?{width:e[n(1473)]??e[n(718)]??e.style?.[n(1473)],height:e[n(1187)]??e[n(2001)]??e[n(1301)]?.[n(1187)]}:{width:e.width??e.style?.width,height:e[n(1187)]??e.style?.height}}const h2=e=>{const n=s,{width:t,height:o,x,y:r}=Fn(e.nodeLookup,{filter:i=>!!i.selected});return{width:f0(t)?t:null,height:f0(o)?o:null,userSelectionActive:e.userSelectionActive,transformString:n(998)+e[n(1368)][0]+"px,"+e[n(1368)][1]+n(813)+e[n(1368)][2]+n(540)+x+n(711)+r+"px)"}};function g2({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=s,x=je(),{width:r,height:i,transformString:a,userSelectionActive:u}=Le(h2,Ye),l=ss(),c=B[o(1288)](null);B[o(1247)](()=>{const v=o;!t&&c[v(1610)]?.[v(1216)]({preventScroll:!0})},[t]);const f=!u&&r!==null&&i!==null;if(as({nodeRef:c,disabled:!f}),!f)return null;const b=e?v=>{const h=o,p=x[h(579)]()[h(1745)][h(1343)](C=>C[h(879)]);e(v,p)}:void 0,g=v=>{const h=o;Object[h(308)].hasOwnProperty[h(1018)](ox,v[h(210)])&&(v[h(726)](),l({direction:ox[v[h(210)]],factor:v.shiftKey?4:1}))};return d[o(2e3)](o(261),{className:Oe([o(383),o(1672),n]),style:{transform:a},children:d.jsx(o(261),{ref:c,className:o(862),onContextMenu:b,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:i}})})}const cs=typeof window<"u"?window:void 0,b2=e=>{const n=s;return{nodesSelectionActive:e[n(841)],userSelectionActive:e[n(1348)]}};function us({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:u,selectionKeyCode:l,selectionOnDrag:c,selectionMode:f,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:v,panActivationKeyCode:h,zoomActivationKeyCode:p,elementsSelectable:C,zoomOnScroll:y,zoomOnPinch:w,panOnScroll:m,panOnScrollSpeed:M,panOnScrollMode:S,zoomOnDoubleClick:U,panOnDrag:W,defaultViewport:H,translateExtent:A,minZoom:q,maxZoom:T,preventScrolling:O,onSelectionContextMenu:Z,noWheelClassName:D,noPanClassName:L,disableKeyboardA11y:N,onViewportChange:j,isControlledViewport:P}){const I=s,{nodesSelectionActive:K,userSelectionActive:_}=Le(b2,Ye),R=xt(l,{target:cs}),$=xt(h,{target:cs}),oe=$||W,de=$||m,se=c&&oe!==!0,fe=R||_||se;return Q1({deleteKeyCode:u,multiSelectionKeyCode:v}),d.jsx($1,{onPaneContextMenu:r,elementsSelectable:C,zoomOnScroll:y,zoomOnPinch:w,panOnScroll:de,panOnScrollSpeed:M,panOnScrollMode:S,zoomOnDoubleClick:U,panOnDrag:!R&&oe,defaultViewport:H,translateExtent:A,minZoom:q,maxZoom:T,zoomActivationKeyCode:p,preventScrolling:O,noWheelClassName:D,noPanClassName:L,onViewportChange:j,isControlledViewport:P,paneClickDistance:a,selectionOnDrag:se,children:d[I(1406)](x2,{onSelectionStart:b,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:oe,isSelecting:!!fe,selectionMode:f,selectionKeyPressed:R,paneClickDistance:a,selectionOnDrag:se,children:[e,K&&d[I(2e3)](g2,{onSelectionContextMenu:Z,noPanClassName:L,disableKeyboardA11y:N})]})})}us[s(1367)]=s(230);const y2=B[s(1087)](us),m2=e=>n=>{const t=s;return e?xo(n[t(384)],{x:0,y:0,width:n[t(1473)],height:n.height},n[t(1368)],!0)[t(411)](o=>o.id):Array[t(1057)](n.nodeLookup.keys())};function v2(e){return Le(B[s(871)](m2(e),[e]),Ye)}const w2=e=>e[s(1106)];function p2(){const e=s,n=Le(w2),[t]=B[e(898)](()=>typeof ResizeObserver>"u"?null:new ResizeObserver(o=>{const x=_0x5bb9,r=new Map;o[x(1626)](i=>{const a=x,u=i.target[a(1658)](a(1161));r.set(u,{id:u,nodeElement:i.target,force:!0})}),n(r)}));return B[e(1247)](()=>()=>{t?.[_0x5bb9(1108)]()},[t]),t}function z2({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=s,r=je(),i=B[x(1288)](null),a=B[x(1288)](null),u=B[x(1288)](e[x(752)]),l=B[x(1288)](e[x(1871)]),c=B.useRef(n),f=t&&!!e[x(628)][x(536)];return B[x(1247)](()=>{const b=x;i[b(1610)]&&!e[b(1965)]&&(!f||a[b(1610)]!==i.current)&&(a[b(1610)]&&o?.[b(349)](a[b(1610)]),o?.[b(735)](i[b(1610)]),a[b(1610)]=i[b(1610)])},[f,e[x(1965)]]),B[x(1247)](()=>()=>{const b=_0x5bb9;a.current&&(o?.[b(349)](a[b(1610)]),a.current=null)},[]),B[x(1247)](()=>{const b=x;if(i.current){const g=c[b(1610)]!==n,v=u.current!==e[b(752)],h=l[b(1610)]!==e[b(1871)];(g||v||h)&&(c.current=n,u[b(1610)]=e.sourcePosition,l.current=e.targetPosition,r[b(579)]()[b(1106)](new Map([[e.id,{id:e.id,nodeElement:i.current,force:!0}]])))}},[e.id,n,e[x(752)],e[x(1871)]]),i}function C2({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:u,nodesConnectable:l,nodesFocusable:c,resizeObserver:f,noDragClassName:b,noPanClassName:g,disableKeyboardA11y:v,rfId:h,nodeTypes:p,nodeClickDistance:C,onError:y}){const w=s,{node:m,internals:M,isParent:S}=Le(ie=>{const F=_0x5bb9,re=ie.nodeLookup[F(1292)](e),J=ie[F(1702)][F(1235)](e);return{node:re,internals:re.internals,isParent:J}},Ye);let U=m.type||w(1846),W=p?.[U]||ds[U];W===void 0&&(y?.(w(1341),n0[w(948)](U)),U="default",W=p?.[w(1846)]||ds[w(1846)]);const H=!!(m[w(1414)]||a&&typeof m[w(1414)]===w(1533)),A=!!(m[w(765)]||u&&typeof m[w(765)]===w(1533)),q=!!(m[w(586)]||l&&typeof m.connectable===w(1533)),T=!!(m[w(274)]||c&&typeof m[w(274)]===w(1533)),O=je(),Z=Fi(m),D=z2({node:m,nodeType:U,hasDimensions:Z,resizeObserver:f}),L=as({nodeRef:D,disabled:m[w(1965)]||!H,noDragClassName:b,handleSelector:m.dragHandle,nodeId:e,isSelectable:A,nodeClickDistance:C}),N=ss();if(m[w(1965)])return null;const j=k0(m),P=f2(m),I=A||H||n||t||o||x,K=t?ie=>t(ie,{...M[w(258)]}):void 0,_=o?ie=>o(ie,{...M.userNode}):void 0,R=x?ie=>x(ie,{...M[w(258)]}):void 0,$=r?ie=>r(ie,{...M[w(258)]}):void 0,oe=i?ie=>i(ie,{...M.userNode}):void 0,de=ie=>{const F=w,{selectNodesOnDrag:re,nodeDragThreshold:J}=O.getState();A&&(!re||!H||J>0)&&Lo({id:e,store:O,nodeRef:D}),n&&n(ie,{...M[F(258)]})},se=ie=>{const F=w;if(!(na(ie[F(2013)])||v)){if(Oi[F(561)](ie[F(210)])&&A){const re=ie[F(210)]===F(1249);Lo({id:e,store:O,unselect:re,nodeRef:D})}else if(H&&m[F(879)]&&Object.prototype[F(615)][F(1018)](ox,ie.key)){ie[F(726)]();const{ariaLabelConfig:re}=O[F(579)]();O[F(220)]({ariaLiveMessage:re[F(246)]({direction:ie.key[F(228)](F(596),"")[F(2014)](),x:~~M[F(1217)].x,y:~~M[F(1217)].y})}),N({direction:ox[ie[F(210)]],factor:ie[F(857)]?4:1})}}},fe=()=>{const ie=w;if(v||!D.current?.[ie(621)](ie(1612)))return;const{transform:F,width:re,height:J,autoPanOnNodeFocus:k,setCenter:E}=O.getState();if(!k)return;!(xo(new Map([[e,m]]),{x:0,y:0,width:re,height:J},F,!0).length>0)&&E(m[ie(360)].x+j.width/2,m.position.y+j.height/2,{zoom:F[2]})};return d[w(2e3)]("div",{className:Oe([w(1858),w(488)+U,{[g]:H},m[w(1281)],{selected:m[w(879)],selectable:A,parent:S,draggable:H,dragging:L}]),ref:D,style:{zIndex:M.z,transform:w(998)+M[w(1217)].x+"px,"+M.positionAbsolute.y+"px)",pointerEvents:I?"all":w(1445),visibility:w(Z?907:1965),...m.style,...P},"data-id":e,"data-testid":w(1633)+e,onMouseEnter:K,onMouseMove:_,onMouseLeave:R,onContextMenu:$,onClick:de,onDoubleClick:oe,onKeyDown:T?se:void 0,tabIndex:T?0:void 0,onFocus:T?fe:void 0,role:m.ariaRole??(T?w(609):void 0),"aria-roledescription":w(705),"aria-describedby":v?void 0:Va+"-"+h,"aria-label":m[w(927)],...m[w(1980)],children:d.jsx(r2,{value:e,children:d[w(2e3)](W,{id:e,data:m[w(1275)],type:U,positionAbsoluteX:M[w(1217)].x,positionAbsoluteY:M[w(1217)].y,selected:m[w(879)]??!1,selectable:A,draggable:H,deletable:m[w(369)]??!0,isConnectable:q,sourcePosition:m[w(752)],targetPosition:m[w(1871)],dragging:L,dragHandle:m[w(798)],zIndex:M.z,parentId:m[w(563)],...j})})})}var M2=B.memo(C2);const B2=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e[s(250)],nodesFocusable:e[s(273)],elementsSelectable:e[s(878)],onError:e[s(1518)]});function fs(e){const n=s,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Le(B2,Ye),a=v2(e[n(835)]),u=p2();return d[n(2e3)](n(261),{className:"react-flow__nodes",style:xx,children:a[n(411)](l=>{const c=n;return d.jsx(M2,{id:l,nodeTypes:e.nodeTypes,nodeExtent:e[c(858)],onClick:e[c(1295)],onMouseEnter:e.onNodeMouseEnter,onMouseMove:e[c(1141)],onMouseLeave:e[c(1315)],onContextMenu:e[c(1028)],onDoubleClick:e[c(591)],noDragClassName:e[c(1798)],noPanClassName:e[c(1850)],rfId:e[c(1242)],disableKeyboardA11y:e[c(1360)],resizeObserver:u,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e.nodeClickDistance,onError:i},l)})})}fs[s(1367)]="NodeRenderer";const D2=B.memo(fs);function L2(e){const n=s;return Le(B[n(871)](o=>{const x=n;if(!e)return o[x(395)][x(411)](i=>i.id);const r=[];if(o.width&&o[x(1187)])for(const i of o[x(395)]){const a=o.nodeLookup[x(1292)](i[x(248)]),u=o[x(384)][x(1292)](i[x(1552)]);a&&u&&D5({sourceNode:a,targetNode:u,width:o[x(1473)],height:o[x(1187)],transform:o[x(1368)]})&&r[x(829)](i.id)}return r},[e]),Ye)}const N2=({color:e=s(1445),strokeWidth:n=1})=>{const t=s,o={strokeWidth:n,...e&&{stroke:e}};return d[t(2e3)](t(1563),{className:"arrow",style:o,strokeLinecap:t(1109),fill:t(1445),strokeLinejoin:t(1109),points:t(1172)})},S2=({color:e=s(1445),strokeWidth:n=1})=>{const t=s,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return d[t(2e3)](t(1563),{className:t(1304),style:o,strokeLinecap:t(1109),strokeLinejoin:t(1109),points:"-5,-4 0,0 -5,4 -5,-4"})},hs={[qt[s(596)]]:N2,[qt[s(854)]]:S2};function k2(e){const n=s,t=je();return B[n(1456)](()=>{const x=n;return Object[x(308)][x(615)].call(hs,e)?hs[e]:(t[x(579)]()[x(1518)]?.("009",n0[x(2009)](e)),null)},[e])}const P2=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=s(851),strokeWidth:i,orient:a="auto-start-reverse"})=>{const u=s,l=k2(n);return l?d[u(2e3)](u(581),{className:u(1149),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:u(1115),markerUnits:r,orient:a,refX:"0",refY:"0",children:d[u(2e3)](l,{color:t,strokeWidth:i})}):null},gs=({defaultColor:e,rfId:n})=>{const t=s,o=Le(i=>i.edges),x=Le(i=>i[t(481)]),r=B[t(1456)](()=>A5(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[t(1506)],defaultMarkerEnd:x?.markerEnd}),[o,x,n,e]);return r.length?d[t(2e3)](t(1957),{className:t(2012),"aria-hidden":t(1785),children:d[t(2e3)](t(1379),{children:r[t(411)](i=>d.jsx(P2,{id:i.id,type:i[t(415)],color:i[t(899)],width:i.width,height:i[t(1187)],markerUnits:i.markerUnits,strokeWidth:i[t(851)],orient:i.orient},i.id))})}):null};gs.displayName=s(1140);var I2=B[s(1087)](gs);function bs({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:u,className:l,...c}){const f=s,[b,g]=B[f(898)]({x:1,y:0,width:0,height:0}),v=Oe(["react-flow__edge-textwrapper",l]),h=B[f(1288)](null);return B.useEffect(()=>{const p=f;if(h[p(1610)]){const C=h[p(1610)].getBBox();g({x:C.x,y:C.y,width:C[p(1473)],height:C[p(1187)]})}},[t]),t?d[f(1406)]("g",{transform:f(998)+(e-b[f(1473)]/2)+" "+(n-b[f(1187)]/2)+")",className:v,visibility:b.width?f(907):f(1965),...c,children:[x&&d.jsx(f(1302),{width:b[f(1473)]+2*i[0],x:-i[0],y:-i[1],height:b[f(1187)]+2*i[1],className:f(887),style:r,rx:a,ry:a}),d[f(2e3)](f(773),{className:"react-flow__edge-text",y:b.height/2,dy:"0.3em",ref:h,style:o,children:t}),u]}):null}bs[s(1367)]=s(1949);const A2=B[s(1087)](bs);function rx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u,interactionWidth:l=20,...c}){const f=s;return d[f(1406)](d[f(454)],{children:[d[f(2e3)](f(794),{...c,d:e,fill:f(1445),className:Oe([f(348),c.className])}),l?d.jsx(f(794),{d:e,fill:"none",strokeOpacity:0,strokeWidth:l,className:f(1876)}):null,o&&f0(n)&&f0(t)?d[f(2e3)](A2,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u}):null]})}function ys({pos:e,x1:n,y1:t,x2:o,y2:x}){return e===he.Left||e===he.Right?[.5*(n+o),t]:[n,.5*(t+x)]}function ms({sourceX:e,sourceY:n,sourcePosition:t=he[s(1060)],targetX:o,targetY:x,targetPosition:r=he.Top}){const[i,a]=ys({pos:t,x1:e,y1:n,x2:o,y2:x}),[u,l]=ys({pos:r,x1:o,y1:x,x2:e,y2:n}),[c,f,b,g]=oa({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:a,targetControlX:u,targetControlY:l});return["M"+e+","+n+" C"+i+","+a+" "+u+","+l+" "+o+","+x,c,f,b,g]}function vs(e){const n=s;return B[n(1087)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:u,label:l,labelStyle:c,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:C,interactionWidth:y})=>{const w=n,[m,M,S]=ms({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:u}),U=e[w(974)]?void 0:t;return d[w(2e3)](rx,{id:U,path:m,labelX:M,labelY:S,label:l,labelStyle:c,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:C,interactionWidth:y})})}const Y2=vs({isInternal:!1}),ws=vs({isInternal:!0});Y2.displayName=s(1754),ws[s(1367)]=s(767);function ps(e){const n=s;return B.memo(({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:u,labelShowBg:l,labelBgStyle:c,labelBgPadding:f,labelBgBorderRadius:b,style:g,sourcePosition:v=he[n(1060)],targetPosition:h=he[n(347)],markerEnd:p,markerStart:C,pathOptions:y,interactionWidth:w})=>{const m=n,[M,S,U]=ao({sourceX:o,sourceY:x,sourcePosition:v,targetX:r,targetY:i,targetPosition:h,borderRadius:y?.[m(524)],offset:y?.offset,stepPosition:y?.[m(760)]}),W=e[m(974)]?void 0:t;return d[m(2e3)](rx,{id:W,path:M,labelX:S,labelY:U,label:a,labelStyle:u,labelShowBg:l,labelBgStyle:c,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:p,markerStart:C,interactionWidth:w})})}const zs=ps({isInternal:!1}),Cs=ps({isInternal:!0});zs[s(1367)]=s(1453),Cs[s(1367)]=s(585);function Ms(e){const n=s;return B[n(1087)](({id:t,...o})=>{const x=n,r=e[x(974)]?void 0:t;return d[x(2e3)](zs,{...o,id:r,pathOptions:B[x(1456)](()=>({borderRadius:0,offset:o[x(340)]?.[x(1634)]}),[o[x(340)]?.[x(1634)]])})})}const j2=Ms({isInternal:!1}),Bs=Ms({isInternal:!0});j2.displayName="StepEdge",Bs.displayName="StepEdgeInternal";function Ds(e){return B.memo(({id:n,sourceX:t,sourceY:o,targetX:x,targetY:r,label:i,labelStyle:a,labelShowBg:u,labelBgStyle:l,labelBgPadding:c,labelBgBorderRadius:f,style:b,markerEnd:g,markerStart:v,interactionWidth:h})=>{const p=_0x5bb9,[C,y,w]=la({sourceX:t,sourceY:o,targetX:x,targetY:r}),m=e.isInternal?void 0:n;return d[p(2e3)](rx,{id:m,path:C,labelX:y,labelY:w,label:i,labelStyle:a,labelShowBg:u,labelBgStyle:l,labelBgPadding:c,labelBgBorderRadius:f,style:b,markerEnd:g,markerStart:v,interactionWidth:h})})}const E2=Ds({isInternal:!1}),Ls=Ds({isInternal:!0});E2[s(1367)]=s(1509),Ls[s(1367)]=s(954);function Ns(e){const n=s;return B[n(1087)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a=he.Bottom,targetPosition:u=he[n(347)],label:l,labelStyle:c,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:C,pathOptions:y,interactionWidth:w})=>{const m=n,[M,S,U]=ia({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:u,curvature:y?.[m(806)]}),W=e[m(974)]?void 0:t;return d[m(2e3)](rx,{id:W,path:M,labelX:S,labelY:U,label:l,labelStyle:c,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:C,interactionWidth:w})})}const U2=Ns({isInternal:!1}),Ss=Ns({isInternal:!0});U2[s(1367)]=s(1657),Ss[s(1367)]=s(881);const ks={default:Ss,straight:Ls,step:Bs,smoothstep:Cs,simplebezier:ws},Ps={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},O2=(e,n,t)=>{const o=s;return t===he[o(1826)]?e-n:t===he[o(1987)]?e+n:e},G2=(e,n,t)=>{const o=s;return t===he[o(347)]?e-n:t===he[o(1060)]?e+n:e},Is=s(1727);function As({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:a}){const u=s;return d[u(2e3)](u(941),{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Oe([Is,Is+"-"+a]),cx:O2(n,o,e),cy:G2(t,o,e),r:o,stroke:u(419),fill:u(419)})}function T2({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:u,onReconnect:l,onReconnectStart:c,onReconnectEnd:f,setReconnecting:b,setUpdateHover:g}){const v=s,h=je(),p=(M,S)=>{const U=_0x5bb9;if(M.button!==0)return;const{autoPanOnConnect:W,domNode:H,connectionMode:A,connectionRadius:q,lib:T,onConnectStart:O,cancelConnection:Z,nodeLookup:D,rfId:L,panBy:N,updateConnection:j}=h.getState(),P=S.type===U(1552),I=(R,$)=>{const oe=U;b(!1),f?.(R,t,S[oe(415)],$)},K=R=>l?.(t,R),_=(R,$)=>{const oe=U;b(!0),c?.(M,t,S[oe(415)]),O?.(R,$)};yo[U(1652)](M[U(2013)],{autoPanOnConnect:W,connectionMode:A,connectionRadius:q,domNode:H,handleId:S.id,nodeId:S[U(646)],nodeLookup:D,isTarget:P,edgeUpdaterType:S[U(415)],lib:T,flowId:L,cancelConnection:Z,panBy:N,isValidConnection:(...R)=>h[U(579)]()[U(1166)]?.(...R)??!0,onConnect:K,onConnectStart:_,onConnectEnd:(...R)=>h[U(579)]()[U(456)]?.(...R),onReconnectEnd:I,updateConnection:j,getTransform:()=>h.getState()[U(1368)],getFromHandle:()=>h.getState()[U(1035)][U(1133)],dragThreshold:h[U(579)]()[U(282)],handleDomNode:M[U(1541)]})},C=M=>p(M,{nodeId:t[v(1552)],id:t[v(510)]??null,type:v(1552)}),y=M=>p(M,{nodeId:t[v(248)],id:t[v(1239)]??null,type:v(248)}),w=()=>g(!0),m=()=>g(!1);return d[v(1406)](d[v(454)],{children:[(e===!0||e===v(248))&&d[v(2e3)](As,{position:a,centerX:o,centerY:x,radius:n,onMouseDown:C,onMouseEnter:w,onMouseOut:m,type:v(248)}),(e===!0||e==="target")&&d[v(2e3)](As,{position:u,centerX:r,centerY:i,radius:n,onMouseDown:y,onMouseEnter:w,onMouseOut:m,type:v(1552)})]})}function H2({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:l,reconnectRadius:c,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,rfId:v,edgeTypes:h,noPanClassName:p,onError:C,disableKeyboardA11y:y}){const w=s;let m=Le(k=>k[w(518)][w(1292)](e));const M=Le(k=>k[w(481)]);m=M?{...M,...m}:m;let S=m[w(415)]||w(1846),U=h?.[S]||ks[S];U===void 0&&(C?.(w(504),n0[w(1567)](S)),S=w(1846),U=h?.[w(1846)]||ks[w(1846)]);const W=!!(m[w(274)]||n&&typeof m[w(274)]>"u"),H=typeof f!==w(1533)&&(m.reconnectable||t&&typeof m[w(1840)]===w(1533)),A=!!(m[w(765)]||o&&typeof m[w(765)]===w(1533)),q=B[w(1288)](null),[T,O]=B[w(898)](!1),[Z,D]=B[w(898)](!1),L=je(),{zIndex:N,sourceX:j,sourceY:P,targetX:I,targetY:K,sourcePosition:_,targetPosition:R}=Le(B[w(871)](k=>{const E=w,X=k[E(384)][E(1292)](m.source),G=k[E(384)][E(1292)](m[E(1552)]);if(!X||!G)return{zIndex:m[E(1912)],...Ps};const ne=I5({id:e,sourceNode:X,targetNode:G,sourceHandle:m[E(1239)]||null,targetHandle:m.targetHandle||null,connectionMode:k[E(1004)],onError:C});return{zIndex:B5({selected:m[E(879)],zIndex:m[E(1912)],sourceNode:X,targetNode:G,elevateOnSelect:k[E(1891)],zIndexMode:k[E(602)]}),...ne||Ps}},[m[w(248)],m[w(1552)],m.sourceHandle,m[w(510)],m.selected,m[w(1912)]]),Ye),$=B[w(1456)](()=>m[w(1506)]?"url('#"+so(m[w(1506)],v)+"')":void 0,[m[w(1506)],v]),oe=B[w(1456)](()=>m[w(1162)]?w(1403)+so(m[w(1162)],v)+"')":void 0,[m[w(1162)],v]);if(m.hidden||j===null||P===null||I===null||K===null)return null;const de=k=>{const E=w,{addSelectedEdges:X,unselectNodesAndEdges:G,multiSelectionActive:ne}=L[E(579)]();A&&(L[E(220)]({nodesSelectionActive:!1}),m[E(879)]&&ne?(G({nodes:[],edges:[m]}),q[E(1610)]?.[E(1264)]()):X([e])),x&&x(k,m)},se=r?k=>{r(k,{...m})}:void 0,fe=i?k=>{i(k,{...m})}:void 0,ie=a?k=>{a(k,{...m})}:void 0,F=u?k=>{u(k,{...m})}:void 0,re=l?k=>{l(k,{...m})}:void 0,J=k=>{const E=w;if(!y&&Oi.includes(k[E(210)])&&A){const{unselectNodesAndEdges:X,addSelectedEdges:G}=L[E(579)]();k[E(210)]===E(1249)?(q.current?.blur(),X({edges:[m]})):G([e])}};return d[w(2e3)](w(1957),{style:{zIndex:N},children:d.jsxs("g",{className:Oe([w(762),w(930)+S,m[w(1281)],p,{selected:m[w(879)],animated:m.animated,inactive:!A&&!x,updating:T,selectable:A}]),onClick:de,onDoubleClick:se,onContextMenu:fe,onMouseEnter:ie,onMouseMove:F,onMouseLeave:re,onKeyDown:W?J:void 0,tabIndex:W?0:void 0,role:m.ariaRole??w(W?609:557),"aria-roledescription":"edge","data-id":e,"data-testid":w(1570)+e,"aria-label":m[w(927)]===null?void 0:m[w(927)]||"Edge from "+m.source+w(915)+m[w(1552)],"aria-describedby":W?Wa+"-"+v:void 0,ref:q,...m.domAttributes,children:[!Z&&d[w(2e3)](U,{id:e,source:m.source,target:m[w(1552)],type:m[w(415)],selected:m[w(879)],animated:m[w(759)],selectable:A,deletable:m.deletable??!0,label:m.label,labelStyle:m[w(1254)],labelShowBg:m[w(1270)],labelBgStyle:m[w(1566)],labelBgPadding:m.labelBgPadding,labelBgBorderRadius:m.labelBgBorderRadius,sourceX:j,sourceY:P,targetX:I,targetY:K,sourcePosition:_,targetPosition:R,data:m[w(1275)],style:m[w(1301)],sourceHandleId:m[w(1239)],targetHandleId:m[w(510)],markerStart:$,markerEnd:oe,pathOptions:w(340)in m?m.pathOptions:void 0,interactionWidth:m[w(1716)]}),H&&d[w(2e3)](T2,{edge:m,isReconnectable:H,reconnectRadius:c,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,sourceX:j,sourceY:P,targetX:I,targetY:K,sourcePosition:_,targetPosition:R,setUpdateHover:O,setReconnecting:D})]})})}var V2=B[s(1087)](H2);const W2=e=>({edgesFocusable:e.edgesFocusable,edgesReconnectable:e.edgesReconnectable,elementsSelectable:e[s(878)],connectionMode:e[s(1004)],onError:e[s(1518)]});function Ys({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:u,onEdgeMouseLeave:l,onEdgeClick:c,reconnectRadius:f,onEdgeDoubleClick:b,onReconnectStart:g,onReconnectEnd:v,disableKeyboardA11y:h}){const p=s,{edgesFocusable:C,edgesReconnectable:y,elementsSelectable:w,onError:m}=Le(W2,Ye),M=L2(n);return d[p(1406)](p(261),{className:p(1736),children:[d.jsx(I2,{defaultColor:e,rfId:t}),M[p(411)](S=>d[p(2e3)](V2,{id:S,edgesFocusable:C,edgesReconnectable:y,elementsSelectable:w,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:l,onClick:c,reconnectRadius:f,onDoubleClick:b,onReconnectStart:g,onReconnectEnd:v,rfId:t,onError:m,edgeTypes:o,disableKeyboardA11y:h},S))]})}Ys[s(1367)]=s(451);const q2=B.memo(Ys),X2=e=>"translate("+e[s(1368)][0]+"px,"+e.transform[1]+s(813)+e[s(1368)][2]+")";function Z2({children:e}){const n=s,t=Le(X2);return d[n(2e3)]("div",{className:n(1992),style:{transform:t},children:e})}function K2(e){const n=s,t=Bo(),o=B[n(1288)](!1);B[n(1247)](()=>{const x=n;!o.current&&t.viewportInitialized&&e&&(setTimeout(()=>e(t),1),o[x(1610)]=!0)},[e,t[n(337)]])}const R2=e=>e.panZoom?.[s(1078)];function J2(e){const n=s,t=Le(R2),o=je();return B[n(1247)](()=>{const x=n;e&&(t?.(e),o.setState({transform:[e.x,e.y,e[x(430)]]}))},[e,t]),null}function Q2(e){const n=s;return e[n(1035)][n(1511)]?{...e[n(1035)],to:et(e[n(1035)].to,e.transform)}:{...e[n(1035)]}}function F2(e){return Q2}function _2(e){const n=F2();return Le(n,Ye)}const $2=e=>({nodesConnectable:e[s(250)],isValid:e[s(1035)][s(1888)],inProgress:e[s(1035)][s(1511)],width:e.width,height:e[s(1187)]});function eh({containerStyle:e,style:n,type:t,component:o}){const x=s,{nodesConnectable:r,width:i,height:a,isValid:u,inProgress:l}=Le($2,Ye);return!(i&&r&&l)?null:d.jsx(x(1957),{style:e,width:i,height:a,className:x(1237),children:d.jsx("g",{className:Oe([x(1929),Vi(u)]),children:d[x(2e3)](js,{style:n,type:t,CustomComponent:o,isValid:u})})})}const js=({style:e,type:n=Y0[s(221)],CustomComponent:t,isValid:o})=>{const x=s,{inProgress:r,from:i,fromNode:a,fromHandle:u,fromPosition:l,to:c,toNode:f,toHandle:b,toPosition:g,pointer:v}=_2();if(!r)return;if(t)return d[x(2e3)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:a,fromHandle:u,fromX:i.x,fromY:i.y,toX:c.x,toY:c.y,fromPosition:l,toPosition:g,connectionStatus:Vi(o),toNode:f,toHandle:b,pointer:v});let h="";const p={sourceX:i.x,sourceY:i.y,sourcePosition:l,targetX:c.x,targetY:c.y,targetPosition:g};switch(n){case Y0[x(221)]:[h]=ia(p);break;case Y0.SimpleBezier:[h]=ms(p);break;case Y0[x(645)]:[h]=ao({...p,borderRadius:0});break;case Y0.SmoothStep:[h]=ao(p);break;default:[h]=la(p)}return d.jsx(x(794),{d:h,fill:x(1445),className:x(1128),style:e})};js[s(1367)]=s(786);const nh={};function Es(e=nh){const n=s,t=B[n(1288)](e),o=je();B[n(1247)](()=>{const x=n;if(process.env.NODE_ENV===x(313)){const r=new Set([...Object[x(1182)](t[x(1610)]),...Object.keys(e)]);for(const i of r)if(t[x(1610)][i]!==e[i]){o.getState()[x(1518)]?.(x(746),n0[x(301)]());break}t[x(1610)]=e}},[e])}function th(){const e=s,n=je(),t=B.useRef(!1);B[e(1247)](()=>{const o=e;if(process.env.NODE_ENV===o(313)&&!t[o(1610)]){const x=document[o(1557)](".react-flow__pane");x&&window[o(691)](x)[o(1912)]!=="1"&&n[o(579)]()[o(1518)]?.(o(1273),n0[o(684)]("react")),t[o(1610)]=!0}},[])}function Us({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:l,onNodeContextMenu:c,onSelectionContextMenu:f,onSelectionStart:b,onSelectionEnd:g,connectionLineType:v,connectionLineStyle:h,connectionLineComponent:p,connectionLineContainerStyle:C,selectionKeyCode:y,selectionOnDrag:w,selectionMode:m,multiSelectionKeyCode:M,panActivationKeyCode:S,zoomActivationKeyCode:U,deleteKeyCode:W,onlyRenderVisibleElements:H,elementsSelectable:A,defaultViewport:q,translateExtent:T,minZoom:O,maxZoom:Z,preventScrolling:D,defaultMarkerColor:L,zoomOnScroll:N,zoomOnPinch:j,panOnScroll:P,panOnScrollSpeed:I,panOnScrollMode:K,zoomOnDoubleClick:_,panOnDrag:R,onPaneClick:$,onPaneMouseEnter:oe,onPaneMouseMove:de,onPaneMouseLeave:se,onPaneScroll:fe,onPaneContextMenu:ie,paneClickDistance:F,nodeClickDistance:re,onEdgeContextMenu:J,onEdgeMouseEnter:k,onEdgeMouseMove:E,onEdgeMouseLeave:X,reconnectRadius:G,onReconnect:ne,onReconnectStart:ce,onReconnectEnd:le,noDragClassName:ye,noWheelClassName:ve,noPanClassName:Ne,disableKeyboardA11y:ze,nodeExtent:ke,rfId:Ee,viewport:Pe,onViewportChange:Ie}){const Ae=s;return Es(e),Es(n),th(),K2(t),J2(Pe),d[Ae(2e3)](y2,{onPaneClick:$,onPaneMouseEnter:oe,onPaneMouseMove:de,onPaneMouseLeave:se,onPaneContextMenu:ie,onPaneScroll:fe,paneClickDistance:F,deleteKeyCode:W,selectionKeyCode:y,selectionOnDrag:w,selectionMode:m,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:M,panActivationKeyCode:S,zoomActivationKeyCode:U,elementsSelectable:A,zoomOnScroll:N,zoomOnPinch:j,zoomOnDoubleClick:_,panOnScroll:P,panOnScrollSpeed:I,panOnScrollMode:K,panOnDrag:R,defaultViewport:q,translateExtent:T,minZoom:O,maxZoom:Z,onSelectionContextMenu:f,preventScrolling:D,noDragClassName:ye,noWheelClassName:ve,noPanClassName:Ne,disableKeyboardA11y:ze,onViewportChange:Ie,isControlledViewport:!!Pe,children:d[Ae(1406)](Z2,{children:[d.jsx(q2,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:ne,onReconnectStart:ce,onReconnectEnd:le,onlyRenderVisibleElements:H,onEdgeContextMenu:J,onEdgeMouseEnter:k,onEdgeMouseMove:E,onEdgeMouseLeave:X,reconnectRadius:G,defaultMarkerColor:L,noPanClassName:Ne,disableKeyboardA11y:ze,rfId:Ee}),d.jsx(eh,{style:h,type:v,component:p,containerStyle:C}),d.jsx("div",{className:Ae(1993)}),d.jsx(D2,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:l,onNodeContextMenu:c,nodeClickDistance:re,onlyRenderVisibleElements:H,noPanClassName:Ne,noDragClassName:ye,disableKeyboardA11y:ze,nodeExtent:ke,rfId:Ee}),d[Ae(2e3)](Ae(261),{className:"react-flow__viewport-portal"})]})})}Us[s(1367)]="GraphView";const xh=B[s(1087)](Us),Os=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u=.5,maxZoom:l=2,nodeOrigin:c,nodeExtent:f,zIndexMode:b=s(1415)}={})=>{const g=s,v=new Map,h=new Map,p=new Map,C=new Map,y=o??n??[],w=t??e??[],m=c??[0,0],M=f??Rn;ma(p,C,y);const{nodesInitialized:S}=fo(w,v,h,{nodeOrigin:m,nodeExtent:M,zIndexMode:b});let U=[0,0,1];if(i&&x&&r){const W=Fn(v,{filter:T=>!!((T[g(1473)]||T.initialWidth)&&(T[g(1187)]||T[g(2001)]))}),{x:H,y:A,zoom:q}=ro(W,x,r,u,l,a?.padding??.1);U=[H,A,q]}return{rfId:"1",width:x??0,height:r??0,transform:U,nodes:w,nodesInitialized:S,nodeLookup:v,parentLookup:h,edges:y,edgeLookup:C,connectionLookup:p,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:u,maxZoom:l,translateExtent:Rn,nodeExtent:M,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:bn[g(1519)],domNode:null,paneDragging:!1,noPanClassName:g(799),nodeOrigin:m,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:i??!1,fitViewOptions:a,fitViewResolver:null,connection:{...Ti},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Qi,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:g(662),debug:!1,ariaLabelConfig:Gi,zIndexMode:b,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},oh=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:l,nodeOrigin:c,nodeExtent:f,zIndexMode:b})=>C1((g,v)=>{async function h(){const{nodeLookup:p,panZoom:C,fitViewOptions:y,fitViewResolver:w,width:m,height:M,minZoom:S,maxZoom:U}=v();C&&(await m5({nodes:p,width:m,height:M,panZoom:C,minZoom:S,maxZoom:U},y),w?.resolve(!0),g({fitViewResolver:null}))}return{...Os({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:l,nodeOrigin:c,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:b}),setNodes:p=>{const{nodeLookup:C,parentLookup:y,nodeOrigin:w,elevateNodesOnSelect:m,fitViewQueued:M,zIndexMode:S,nodesSelectionActive:U}=v(),{nodesInitialized:W,hasSelectedNodes:H}=fo(p,C,y,{nodeOrigin:w,nodeExtent:f,elevateNodesOnSelect:m,checkEquality:!0,zIndexMode:S}),A=U&&H;M&&W?(h(),g({nodes:p,nodesInitialized:W,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:A})):g({nodes:p,nodesInitialized:W,nodesSelectionActive:A})},setEdges:p=>{const{connectionLookup:C,edgeLookup:y}=v();ma(C,y,p),g({edges:p})},setDefaultNodesAndEdges:(p,C)=>{if(p){const{setNodes:y}=v();y(p),g({hasDefaultNodes:!0})}if(C){const{setEdges:y}=v();y(C),g({hasDefaultEdges:!0})}},updateNodeInternals:p=>{const C=_0x5bb9,{triggerNodeChanges:y,nodeLookup:w,parentLookup:m,domNode:M,nodeOrigin:S,nodeExtent:U,debug:W,fitViewQueued:H,zIndexMode:A}=v(),{changes:q,updatedInternals:T}=T5(p,w,m,M,S,U,A);T&&(E5(w,m,{nodeOrigin:S,nodeExtent:U,zIndexMode:A}),H?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),q?.[C(655)]>0&&(W&&console[C(1678)](C(507),q),y?.(q)))},updateNodePositions:(p,C=!1)=>{const y=_0x5bb9,w=[];let m=[];const{nodeLookup:M,triggerNodeChanges:S,connection:U,updateConnection:W,onNodesChangeMiddlewareMap:H}=v();for(const[A,q]of p){const T=M[y(1292)](A),O=!!(T?.[y(1512)]&&T?.parentId&&q?.[y(360)]),Z={id:A,type:y(360),position:O?{x:Math[y(1526)](0,q[y(360)].x),y:Math.max(0,q[y(360)].y)}:q[y(360)],dragging:C};if(T&&U[y(1511)]&&U[y(1696)].id===T.id){const D=_0(T,U.fromHandle,he.Left,!0);W({...U,from:D})}O&&T[y(563)]&&w.push({id:A,parentId:T[y(563)],rect:{...q[y(628)][y(1217)],width:q[y(1513)][y(1473)]??0,height:q[y(1513)][y(1187)]??0}}),m[y(829)](Z)}if(w.length>0){const{parentLookup:A,nodeOrigin:q}=v(),T=go(w,M,A,q);m.push(...T)}for(const A of H[y(1465)]())m=A(m);S(m)},triggerNodeChanges:p=>{const C=_0x5bb9,{onNodesChange:y,setNodes:w,nodes:m,hasDefaultNodes:M,debug:S}=v();if(p?.length){if(M){const U=_a(p,m);w(U)}S&&console[C(1678)](C(507),p),y?.(p)}},triggerEdgeChanges:p=>{const C=_0x5bb9,{onEdgesChange:y,setEdges:w,edges:m,hasDefaultEdges:M,debug:S}=v();if(p?.[C(655)]){if(M){const U=$a(p,m);w(U)}S&&console[C(1678)](C(1953),p),y?.(p)}},addSelectedNodes:p=>{const C=_0x5bb9,{multiSelectionActive:y,edgeLookup:w,nodeLookup:m,triggerNodeChanges:M,triggerEdgeChanges:S}=v();if(y){const U=p[C(411)](W=>$0(W,!0));M(U);return}M(Cn(m,new Set([...p]),!0)),S(Cn(w))},addSelectedEdges:p=>{const{multiSelectionActive:C,edgeLookup:y,nodeLookup:w,triggerNodeChanges:m,triggerEdgeChanges:M}=v();if(C){const S=p.map(U=>$0(U,!0));M(S);return}M(Cn(y,new Set([...p]))),m(Cn(w,new Set,!0))},unselectNodesAndEdges:({nodes:p,edges:C}={})=>{const y=_0x5bb9,{edges:w,nodes:m,nodeLookup:M,triggerNodeChanges:S,triggerEdgeChanges:U}=v(),W=p||m,H=C||w,A=[];for(const T of W){if(!T[y(879)])continue;const O=M[y(1292)](T.id);O&&(O[y(879)]=!1),A[y(829)]($0(T.id,!1))}const q=[];for(const T of H)T[y(879)]&&q[y(829)]($0(T.id,!1));S(A),U(q)},setMinZoom:p=>{const C=_0x5bb9,{panZoom:y,maxZoom:w}=v();y?.[C(211)]([p,w]),g({minZoom:p})},setMaxZoom:p=>{const{panZoom:C,minZoom:y}=v();C?.setScaleExtent([y,p]),g({maxZoom:p})},setTranslateExtent:p=>{const C=_0x5bb9;v().panZoom?.[C(1531)](p),g({translateExtent:p})},resetSelectedElements:()=>{const p=_0x5bb9,{edges:C,nodes:y,triggerNodeChanges:w,triggerEdgeChanges:m,elementsSelectable:M}=v();if(!M)return;const S=y[p(1685)]((W,H)=>H[p(879)]?[...W,$0(H.id,!1)]:W,[]),U=C[p(1685)]((W,H)=>H[p(879)]?[...W,$0(H.id,!1)]:W,[]);w(S),m(U)},setNodeExtent:p=>{const{nodes:C,nodeLookup:y,parentLookup:w,nodeOrigin:m,elevateNodesOnSelect:M,nodeExtent:S,zIndexMode:U}=v();p[0][0]===S[0][0]&&p[0][1]===S[0][1]&&p[1][0]===S[1][0]&&p[1][1]===S[1][1]||(fo(C,y,w,{nodeOrigin:m,nodeExtent:p,elevateNodesOnSelect:M,checkEquality:!1,zIndexMode:U}),g({nodeExtent:p}))},panBy:p=>{const{transform:C,width:y,height:w,panZoom:m,translateExtent:M}=v();return H5({delta:p,panZoom:m,transform:C,translateExtent:M,width:y,height:w})},setCenter:async(p,C,y)=>{const w=_0x5bb9,{width:m,height:M,maxZoom:S,panZoom:U}=v();if(!U)return Promise[w(1053)](!1);const W=typeof y?.[w(430)]!==w(1533)?y[w(430)]:S;return await U.setViewport({x:m/2-p*W,y:M/2-C*W,zoom:W},{duration:y?.duration,ease:y?.[w(702)],interpolate:y?.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{g({connection:{...Ti}})},updateConnection:p=>{g({connection:p})},reset:()=>g({...Os()})}},Object.is);function rh({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:u,fitView:l,nodeOrigin:c,nodeExtent:f,zIndexMode:b,children:g}){const v=s,[h]=B[v(898)](()=>oh({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:l,minZoom:i,maxZoom:a,fitViewOptions:u,nodeOrigin:c,nodeExtent:f,zIndexMode:b}));return d[v(2e3)](M1,{value:h,children:d[v(2e3)](Z1,{children:g})})}function ih({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:a,fitViewOptions:u,minZoom:l,maxZoom:c,nodeOrigin:f,nodeExtent:b,zIndexMode:g}){const v=s;return B[v(1480)](ex)?d[v(2e3)](d[v(454)],{children:e}):d[v(2e3)](rh,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:u,initialMinZoom:l,initialMaxZoom:c,nodeOrigin:f,nodeExtent:b,zIndexMode:g,children:e})}const ah={width:s(1935),height:s(1935),overflow:s(1965),position:s(1572),zIndex:0};function sh({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:u,onInit:l,onMove:c,onMoveStart:f,onMoveEnd:b,onConnect:g,onConnectStart:v,onConnectEnd:h,onClickConnectStart:p,onClickConnectEnd:C,onNodeMouseEnter:y,onNodeMouseMove:w,onNodeMouseLeave:m,onNodeContextMenu:M,onNodeDoubleClick:S,onNodeDragStart:U,onNodeDrag:W,onNodeDragStop:H,onNodesDelete:A,onEdgesDelete:q,onDelete:T,onSelectionChange:O,onSelectionDragStart:Z,onSelectionDrag:D,onSelectionDragStop:L,onSelectionContextMenu:N,onSelectionStart:j,onSelectionEnd:P,onBeforeDelete:I,connectionMode:K,connectionLineType:_=Y0.Bezier,connectionLineStyle:R,connectionLineComponent:$,connectionLineContainerStyle:oe,deleteKeyCode:de="Backspace",selectionKeyCode:se="Shift",selectionOnDrag:fe=!1,selectionMode:ie=Jn.Full,panActivationKeyCode:F=s(1319),multiSelectionKeyCode:re=nt()?s(387):"Control",zoomActivationKeyCode:J=nt()?s(387):s(986),snapToGrid:k,snapGrid:E,onlyRenderVisibleElements:X=!1,selectNodesOnDrag:G,nodesDraggable:ne,autoPanOnNodeFocus:ce,nodesConnectable:le,nodesFocusable:ye,nodeOrigin:ve=qa,edgesFocusable:Ne,edgesReconnectable:ze,elementsSelectable:ke=!0,defaultViewport:Ee=U1,minZoom:Pe=.5,maxZoom:Ie=2,translateExtent:Ae=Rn,preventScrolling:Ve=!0,nodeExtent:t0,defaultMarkerColor:g0="#b1b1b7",zoomOnScroll:Je=!0,zoomOnPinch:r0=!0,panOnScroll:Xe=!1,panOnScrollSpeed:i0=.5,panOnScrollMode:a0=Q0.Free,zoomOnDoubleClick:x0=!0,panOnDrag:b0=!0,onPaneClick:P0,onPaneMouseEnter:Qe,onPaneMouseMove:Bn,onPaneMouseLeave:Ze,onPaneScroll:G0,onPaneContextMenu:qe,paneClickDistance:y0=1,nodeClickDistance:Dn=0,children:ko,onReconnect:Po,onReconnectStart:Io,onReconnectEnd:Ao,onEdgeContextMenu:Yo,onEdgeDoubleClick:jo,onEdgeMouseEnter:Eo,onEdgeMouseMove:Uo,onEdgeMouseLeave:lx,reconnectRadius:dx=10,onNodesChange:cx,onEdgesChange:ux,noDragClassName:fx=s(1419),noWheelClassName:ot=s(1163),noPanClassName:T0=s(799),fitView:H0,fitViewOptions:hx,connectOnClick:Ln,attributionPosition:gx,proOptions:bx,defaultEdgeOptions:Oo,elevateNodesOnSelect:Go=!0,elevateEdgesOnSelect:yx=!1,disableKeyboardA11y:rt=!1,autoPanOnConnect:it,autoPanOnNodeDrag:mx,autoPanSpeed:at,connectionRadius:Y,isValidConnection:V,onError:ee,style:xe,id:ue,nodeDragThreshold:Q,connectionDragThreshold:te,viewport:ge,onViewportChange:me,width:be,height:Ce,colorMode:we=s(975),debug:Se,onScroll:Ge,ariaLabelConfig:Fe,zIndexMode:m0=s(1415),...Ke},Be){const De=s,en=ue||"1",vx=H1(we),wx=B[De(871)](px=>{const st=De;px[st(1541)][st(1905)]({top:0,left:0,behavior:st(1845)}),Ge?.(px)},[Ge]);return d.jsx("div",{"data-testid":"rf__wrapper",...Ke,onScroll:wx,style:{...xe,...ah},ref:Be,className:Oe([De(1490),x,vx]),id:ue,role:De(506),children:d[De(1406)](ih,{nodes:e,edges:n,width:be,height:Ce,fitView:H0,fitViewOptions:hx,minZoom:Pe,maxZoom:Ie,nodeOrigin:ve,nodeExtent:t0,zIndexMode:m0,children:[d[De(2e3)](T1,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:v,onConnectEnd:h,onClickConnectStart:p,onClickConnectEnd:C,nodesDraggable:ne,autoPanOnNodeFocus:ce,nodesConnectable:le,nodesFocusable:ye,edgesFocusable:Ne,edgesReconnectable:ze,elementsSelectable:ke,elevateNodesOnSelect:Go,elevateEdgesOnSelect:yx,minZoom:Pe,maxZoom:Ie,nodeExtent:t0,onNodesChange:cx,onEdgesChange:ux,snapToGrid:k,snapGrid:E,connectionMode:K,translateExtent:Ae,connectOnClick:Ln,defaultEdgeOptions:Oo,fitView:H0,fitViewOptions:hx,onNodesDelete:A,onEdgesDelete:q,onDelete:T,onNodeDragStart:U,onNodeDrag:W,onNodeDragStop:H,onSelectionDrag:D,onSelectionDragStart:Z,onSelectionDragStop:L,onMove:c,onMoveStart:f,onMoveEnd:b,noPanClassName:T0,nodeOrigin:ve,rfId:en,autoPanOnConnect:it,autoPanOnNodeDrag:mx,autoPanSpeed:at,onError:ee,connectionRadius:Y,isValidConnection:V,selectNodesOnDrag:G,nodeDragThreshold:Q,connectionDragThreshold:te,onBeforeDelete:I,debug:Se,ariaLabelConfig:Fe,zIndexMode:m0}),d[De(2e3)](xh,{onInit:l,onNodeClick:a,onEdgeClick:u,onNodeMouseEnter:y,onNodeMouseMove:w,onNodeMouseLeave:m,onNodeContextMenu:M,onNodeDoubleClick:S,nodeTypes:r,edgeTypes:i,connectionLineType:_,connectionLineStyle:R,connectionLineComponent:$,connectionLineContainerStyle:oe,selectionKeyCode:se,selectionOnDrag:fe,selectionMode:ie,deleteKeyCode:de,multiSelectionKeyCode:re,panActivationKeyCode:F,zoomActivationKeyCode:J,onlyRenderVisibleElements:X,defaultViewport:Ee,translateExtent:Ae,minZoom:Pe,maxZoom:Ie,preventScrolling:Ve,zoomOnScroll:Je,zoomOnPinch:r0,zoomOnDoubleClick:x0,panOnScroll:Xe,panOnScrollSpeed:i0,panOnScrollMode:a0,panOnDrag:b0,onPaneClick:P0,onPaneMouseEnter:Qe,onPaneMouseMove:Bn,onPaneMouseLeave:Ze,onPaneScroll:G0,onPaneContextMenu:qe,paneClickDistance:y0,nodeClickDistance:Dn,onSelectionContextMenu:N,onSelectionStart:j,onSelectionEnd:P,onReconnect:Po,onReconnectStart:Io,onReconnectEnd:Ao,onEdgeContextMenu:Yo,onEdgeDoubleClick:jo,onEdgeMouseEnter:Eo,onEdgeMouseMove:Uo,onEdgeMouseLeave:lx,reconnectRadius:dx,defaultMarkerColor:g0,noDragClassName:fx,noWheelClassName:ot,noPanClassName:T0,rfId:en,disableKeyboardA11y:rt,nodeExtent:t0,viewport:ge,onViewportChange:me}),d[De(2e3)](E1,{onSelectionChange:O}),ko,d.jsx(P1,{proOptions:bx,position:gx}),d[De(2e3)](k1,{rfId:en,disableKeyboardA11y:rt})]})})}var lh=xs(sh);function dh(e){const n=s,[t,o]=B[n(898)](e),x=B[n(871)](r=>o(i=>_a(r,i)),[]);return[t,o,x]}function ch(e){const n=s,[t,o]=B[n(898)](e),x=B[n(871)](r=>o(i=>$a(r,i)),[]);return[t,o,x]}function uh({dimensions:e,lineWidth:n,variant:t,className:o}){const x=s;return d[x(2e3)]("path",{strokeWidth:n,d:"M"+e[0]/2+" 0 V"+e[1]+x(466)+e[1]/2+" H"+e[0],className:Oe([x(1594),t,o])})}function fh({radius:e,className:n}){const t=s;return d[t(2e3)]("circle",{cx:e,cy:e,r:e,className:Oe([t(1594),t(1885),n])})}var U0;(function(e){const n=s;e[n(979)]=n(1003),e.Dots=n(1885),e[n(356)]="cross"})(U0||(U0={}));const hh={[U0[s(1392)]]:1,[U0[s(979)]]:1,[U0[s(356)]]:6},gh=e=>({transform:e.transform,patternId:s(911)+e[s(1242)]});function Gs({id:e,variant:n=U0.Dots,gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:a,style:u,className:l,patternClassName:c}){const f=s,b=B[f(1288)](null),{transform:g,patternId:v}=Le(gh,Ye),h=o||hh[n],p=n===U0[f(1392)],C=n===U0[f(356)],y=Array[f(1994)](t)?t:[t,t],w=[y[0]*g[2]||1,y[1]*g[2]||1],m=h*g[2],M=Array.isArray(r)?r:[r,r],S=C?[m,m]:w,U=[M[0]*g[2]||1+S[0]/2,M[1]*g[2]||1+S[1]/2],W=""+v+(e||"");return d[f(1406)](f(1957),{className:Oe(["react-flow__background",l]),style:{...u,...xx,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:b,"data-testid":f(774),children:[d.jsx(f(1911),{id:W,x:g[0]%w[0],y:g[1]%w[1],width:w[0],height:w[1],patternUnits:f(1899),patternTransform:f(277)+U[0]+",-"+U[1]+")",children:p?d[f(2e3)](fh,{radius:m/2,className:c}):d[f(2e3)](uh,{dimensions:S,lineWidth:x,variant:n,className:c})}),d[f(2e3)](f(1302),{x:"0",y:"0",width:"100%",height:"100%",fill:f(1450)+W+")"})]})}Gs.displayName=s(1269);const bh=B[s(1087)](Gs);function yh(){const e=s;return d.jsx(e(1957),{xmlns:e(1596),viewBox:e(1050),children:d[e(2e3)](e(794),{d:e(1551)})})}function mh(){const e=s;return d[e(2e3)]("svg",{xmlns:e(1596),viewBox:e(1764),children:d.jsx(e(794),{d:e(595)})})}function vh(){const e=s;return d[e(2e3)](e(1957),{xmlns:e(1596),viewBox:"0 0 32 30",children:d[e(2e3)](e(794),{d:e(437)})})}function wh(){const e=s;return d[e(2e3)](e(1957),{xmlns:e(1596),viewBox:e(1122),children:d[e(2e3)](e(794),{d:e(929)})})}function ph(){const e=s;return d[e(2e3)](e(1957),{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:d.jsx(e(794),{d:e(1748)})})}function ix({children:e,className:n,...t}){const o=s;return d[o(2e3)]("button",{type:"button",className:Oe([o(541),n]),...t,children:e})}const zh=e=>({isInteractive:e[s(260)]||e[s(250)]||e[s(878)],minZoomReached:e[s(1368)][2]<=e[s(495)],maxZoomReached:e[s(1368)][2]>=e[s(1359)],ariaLabelConfig:e[s(926)]});function Ts({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:u,className:l,children:c,position:f=s(724),orientation:b=s(893),"aria-label":g}){const v=s,h=je(),{isInteractive:p,minZoomReached:C,maxZoomReached:y,ariaLabelConfig:w}=Le(zh,Ye),{zoomIn:m,zoomOut:M,fitView:S}=Bo(),U=()=>{m(),r?.()},W=()=>{M(),i?.()},H=()=>{S(x),a?.()},A=()=>{h[_0x5bb9(220)]({nodesDraggable:!p,nodesConnectable:!p,elementsSelectable:!p}),u?.(!p)},q=b===v(778)?"horizontal":"vertical";return d[v(1406)](nx,{className:Oe(["react-flow__controls",q,l]),position:f,style:e,"data-testid":v(600),"aria-label":g??w["controls.ariaLabel"],children:[n&&d[v(1406)](d[v(454)],{children:[d[v(2e3)](ix,{onClick:U,className:v(214),title:w[v(544)],"aria-label":w[v(544)],disabled:y,children:d[v(2e3)](yh,{})}),d[v(2e3)](ix,{onClick:W,className:v(815),title:w[v(704)],"aria-label":w[v(704)],disabled:C,children:d.jsx(mh,{})})]}),t&&d[v(2e3)](ix,{className:v(520),onClick:H,title:w[v(1968)],"aria-label":w[v(1968)],children:d[v(2e3)](vh,{})}),o&&d[v(2e3)](ix,{className:"react-flow__controls-interactive",onClick:A,title:w["controls.interactive.ariaLabel"],"aria-label":w["controls.interactive.ariaLabel"],children:p?d[v(2e3)](ph,{}):d.jsx(wh,{})}),c]})}Ts.displayName=s(1590);const Ch=B[s(1087)](Ts);function Mh({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:a,strokeWidth:u,className:l,borderRadius:c,shapeRendering:f,selected:b,onClick:g}){const v=s,{background:h,backgroundColor:p}=r||{},C=i||h||p;return d.jsx(v(1302),{className:Oe([v(377),{selected:b},l]),x:n,y:t,rx:c,ry:c,width:o,height:x,style:{fill:C,stroke:a,strokeWidth:u},shapeRendering:f,onClick:g?y=>g(y,e):void 0})}const Bh=B[s(1087)](Mh),Dh=e=>e[s(1745)][s(411)](n=>n.id),So=e=>e instanceof Function?e:()=>e;function Lh({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=Bh,onClick:i}){const a=s,u=Le(Dh,Ye),l=So(n),c=So(e),f=So(t),b=typeof window===a(1533)||window[a(665)]?a(1543):a(1914);return d[a(2e3)](d[a(454)],{children:u[a(411)](g=>d[a(2e3)](Sh,{id:g,nodeColorFunc:l,nodeStrokeColorFunc:c,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:b},g))})}function Nh({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:u}){const l=s,{node:c,x:f,y:b,width:g,height:v}=Le(h=>{const p=_0x5bb9,C=h.nodeLookup[p(1292)](e);if(!C)return{node:void 0,x:0,y:0,width:0,height:0};const y=C[p(628)][p(258)],{x:w,y:m}=C[p(628)][p(1217)],{width:M,height:S}=k0(y);return{node:y,x:w,y:m,width:M,height:S}},Ye);return!c||c.hidden||!Fi(c)?null:d.jsx(a,{x:f,y:b,width:g,height:v,style:c[l(1301)],selected:!!c.selected,className:o(c),color:n(c),borderRadius:x,strokeColor:t(c),strokeWidth:r,shapeRendering:i,onClick:u,id:c.id})}const Sh=B[s(1087)](Nh);var kh=B[s(1087)](Lh);const Ph=200,Ih=150,Ah=e=>!e[s(1965)],Yh=e=>{const n=s,t={x:-e.transform[0]/e[n(1368)][2],y:-e[n(1368)][1]/e[n(1368)][2],width:e[n(1473)]/e[n(1368)][2],height:e.height/e.transform[2]};return{viewBB:t,boundingRect:e[n(384)][n(1860)]>0?Ri(Fn(e[n(384)],{filter:Ah}),t):t,rfId:e[n(1242)],panZoom:e[n(853)],translateExtent:e[n(320)],flowWidth:e[n(1473)],flowHeight:e[n(1187)],ariaLabelConfig:e[n(926)]}},jh=s(1976);function Hs({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:u,maskColor:l,maskStrokeColor:c,maskStrokeWidth:f,position:b=s(889),onClick:g,onNodeClick:v,pannable:h=!1,zoomable:p=!1,ariaLabel:C,inversePan:y,zoomStep:w=1,offsetScale:m=5}){const M=s,S=je(),U=B[M(1288)](null),{boundingRect:W,viewBB:H,rfId:A,panZoom:q,translateExtent:T,flowWidth:O,flowHeight:Z,ariaLabelConfig:D}=Le(Yh,Ye),L=e?.[M(1473)]??Ph,N=e?.height??Ih,j=W[M(1473)]/L,P=W[M(1187)]/N,I=Math.max(j,P),K=I*L,_=I*N,R=m*I,$=W.x-(K-W[M(1473)])/2-R,oe=W.y-(_-W[M(1187)])/2-R,de=K+R*2,se=_+R*2,fe=jh+"-"+A,ie=B[M(1288)](0),F=B[M(1288)]();ie[M(1610)]=I,B.useEffect(()=>{const E=M;if(U[E(1610)]&&q)return F[E(1610)]=Q5({domNode:U[E(1610)],panZoom:q,getTransform:()=>S.getState()[E(1368)],getViewScale:()=>ie.current}),()=>{const X=E;F[X(1610)]?.[X(1799)]()}},[q]),B[M(1247)](()=>{const E=M;F[E(1610)]?.[E(1928)]({translateExtent:T,width:O,height:Z,inversePan:y,pannable:h,zoomStep:w,zoomable:p})},[h,p,y,w,T,O,Z]);const re=g?E=>{const X=M,[G,ne]=F.current?.[X(802)](E)||[0,0];g(E,{x:G,y:ne})}:void 0,J=v?B[M(871)]((E,X)=>{const G=M,ne=S[G(579)]().nodeLookup.get(X)[G(628)][G(258)];v(E,ne)},[]):void 0,k=C??D["minimap.ariaLabel"];return d[M(2e3)](nx,{position:b,style:{...e,"--xy-minimap-background-color-props":typeof u=="string"?u:void 0,"--xy-minimap-mask-background-color-props":typeof l===M(1025)?l:void 0,"--xy-minimap-mask-stroke-color-props":typeof c=="string"?c:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===M(1781)?f*I:void 0,"--xy-minimap-node-background-color-props":typeof o===M(1025)?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===M(1025)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i=="number"?i:void 0},className:Oe([M(650),n]),"data-testid":M(837),children:d[M(1406)](M(1957),{width:L,height:N,viewBox:$+" "+oe+" "+de+" "+se,className:M(408),role:M(557),"aria-labelledby":fe,ref:U,onClick:re,children:[k&&d[M(2e3)]("title",{id:fe,children:k}),d[M(2e3)](kh,{onClick:J,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:a}),d[M(2e3)](M(794),{className:M(764),d:"M"+($-R)+","+(oe-R)+"h"+(de+R*2)+"v"+(se+R*2)+"h"+(-de-R*2)+`z
10
+ M`+H.x+","+H.y+"h"+H[M(1473)]+"v"+H.height+"h"+-H.width+"z",fillRule:M(1734),pointerEvents:"none"})]})})}Hs[s(1367)]=s(1892);const Eh=B[s(1087)](Hs),Uh=e=>n=>e?""+Math.max(1/n[s(1368)][2],1):void 0,Oh={[zn.Line]:"right",[zn[s(200)]]:s(889)};function Gh({nodeId:e,position:n,variant:t=zn[s(200)],className:o,style:x=void 0,children:r,color:i,minWidth:a=10,minHeight:u=10,maxWidth:l=Number[s(1950)],maxHeight:c=Number.MAX_VALUE,keepAspectRatio:f=!1,resizeDirection:b,autoScale:g=!0,shouldResize:v,onResizeStart:h,onResize:p,onResizeEnd:C}){const y=s,w=ls(),m=typeof e===y(1025)?e:w,M=je(),S=B.useRef(null),U=t===zn[y(200)],W=Le(B.useCallback(Uh(U&&g),[U,g]),Ye),H=B.useRef(null),A=n??Oh[t];B.useEffect(()=>{const T=y;if(!(!S[T(1610)]||!m))return!H[T(1610)]&&(H[T(1610)]=d1({domNode:S[T(1610)],nodeId:m,getStoreItems:()=>{const O=T,{nodeLookup:Z,transform:D,snapGrid:L,snapToGrid:N,nodeOrigin:j,domNode:P}=M[O(579)]();return{nodeLookup:Z,transform:D,snapGrid:L,snapToGrid:N,nodeOrigin:j,paneDomNode:P}},onChange:(O,Z)=>{const D=T,{triggerNodeChanges:L,nodeLookup:N,parentLookup:j,nodeOrigin:P}=M[D(579)](),I=[],K={x:O.x,y:O.y},_=N[D(1292)](m);if(_&&_[D(1512)]&&_[D(563)]){const R=_[D(1619)]??P,$=O.width??_[D(1513)][D(1473)]??0,oe=O[D(1187)]??_[D(1513)][D(1187)]??0,de={id:_.id,parentId:_[D(563)],rect:{width:$,height:oe,..._i({x:O.x??_.position.x,y:O.y??_.position.y},{width:$,height:oe},_[D(563)],N,R)}},se=go([de],N,j,P);I[D(829)](...se),K.x=O.x?Math[D(1526)](R[0]*$,O.x):void 0,K.y=O.y?Math.max(R[1]*oe,O.y):void 0}if(K.x!==void 0&&K.y!==void 0){const R={id:m,type:"position",position:{...K}};I.push(R)}if(O[D(1473)]!==void 0&&O[D(1187)]!==void 0){const R=b?b===D(778)?D(1473):D(1187):!0,$={id:m,type:D(508),resizing:!0,setAttributes:R,dimensions:{width:O[D(1473)],height:O[D(1187)]}};I.push($)}for(const R of Z){const $={...R,type:D(360)};I[D(829)]($)}L(I)},onEnd:({width:O,height:Z})=>{const D=T,L={id:m,type:"dimensions",resizing:!1,dimensions:{width:O,height:Z}};M[D(579)]()[D(996)]([L])}})),H[T(1610)][T(1928)]({controlPosition:A,boundaries:{minWidth:a,minHeight:u,maxWidth:l,maxHeight:c},keepAspectRatio:f,resizeDirection:b,onResizeStart:h,onResize:p,onResizeEnd:C,shouldResize:v}),()=>{H[T(1610)]?.destroy()}},[A,a,u,l,c,f,h,p,C,v]);const q=A[y(1037)]("-");return d.jsx(y(261),{className:Oe([y(983),"nodrag",...q,t,o]),ref:S,style:{...x,scale:W,...i&&{[y(U?1125:367)]:i}},children:r})}B[s(1087)](Gh);const Vs=e=>Symbol[s(1054)]in e,Ws=e=>s(1152)in e,qs=(e,n)=>{const t=s,o=e instanceof Map?e:new Map(e.entries()),x=n instanceof Map?n:new Map(n[t(1152)]());if(o.size!==x[t(1860)])return!1;for(const[r,i]of o)if(!x[t(1235)](r)||!Object.is(i,x[t(1292)](r)))return!1;return!0},Th=(e,n)=>{const t=s,o=e[Symbol[t(1054)]](),x=n[Symbol[t(1054)]]();let r=o.next(),i=x[t(707)]();for(;!r[t(991)]&&!i[t(991)];){if(!Object.is(r[t(1303)],i.value))return!1;r=o[t(707)](),i=x[t(707)]()}return!!r[t(991)]&&!!i.done};function Hh(e,n){const t=s;return Object.is(e,n)?!0:typeof e!==t(1866)||e===null||typeof n!==t(1866)||n===null||Object[t(333)](e)!==Object[t(333)](n)?!1:Vs(e)&&Vs(n)?Ws(e)&&Ws(n)?qs(e,n):Th(e,n):qs({entries:()=>Object[t(1152)](e)},{entries:()=>Object[t(1152)](n)})}const Xs={inlineScript:s(894),dataRequest:s(1274),external:s(1719),builtin:s(1859)},Vh=[{label:"Message 全局提示 (antd)",value:s(1174)},{label:s(657),value:"switchCanvas"}],Wh=[{label:"info",value:s(1879)},{label:s(1839),value:s(1839)},{label:s(1676),value:s(1676)},{label:s(590),value:s(590)},{label:s(1199),value:"loading"}];function Zs(e,n,t){const o=s,x=t[o(1343)](i=>i[o(1552)]===e),r=x.length;return x.map((i,a)=>{const u=o,l=n[u(1241)](f=>f.id===i[u(248)]),c=l?.data;return{sourceId:i[u(248)],sourceLabel:c?.[u(706)]??i[u(248)],edgeIndex:a,totalIncoming:r}})}const qh=({data:e,id:n})=>{const t=s,{root:o}=Te(),x=Le(B[t(871)](a=>Zs(n,a[t(1745)],a[t(395)])[t(411)](({sourceId:u,sourceLabel:l})=>({sourceId:u,label:l})),[n]),Hh),r=e[t(942)][t(884)]??t(312),i=r===t(1729)?e[t(942)][t(1175)]:r===t(1659)?e[t(942)].externalHandlerKey:r===t(1252)?e[t(942)][t(288)]===t(1174)?e[t(942)][t(288)]+": "+String(e[t(942)][t(1356)]?.[t(1236)]??"")[t(1586)](0,24):e[t(942)][t(288)]==="switchCanvas"?t(736)+(o.canvases.find(a=>a.id===e[t(942)].builtinConfig?.[t(575)])?.[t(1793)]??t(1647)):e[t(942)].builtinId:null;return d[t(1406)]("div",{className:t(845),children:[d[t(2e3)](Mn,{type:"target",position:he[t(347)],className:"!bg-blue-500"}),d.jsxs("div",{className:"flex items-center justify-between mb-2",children:[d[t(2e3)](t(1677),{className:t(400),children:e.label}),d[t(1406)](z.Space,{size:t(226),children:[d[t(2e3)](z[t(336)],{type:"text",size:t(226),icon:d.jsx(ae[t(1073)],{}),onClick:()=>e[t(1660)](n)}),d[t(2e3)](z[t(336)],{type:t(773),size:"small",danger:!0,icon:d[t(2e3)](ae[t(951)],{}),onClick:()=>e.onDelete(n)})]})]}),d.jsx("div",{className:"text-xs mb-1",children:d[t(1406)](z[t(1262)],{color:r===t(312)?t(1846):r===t(1252)?"cyan":"purple",className:t(1708),children:[Xs[r],i?t(309)+i:""]})}),d[t(1406)](t(261),{className:"text-xs text-gray-500",children:[e[t(942)].inputs?.length>0&&d[t(1406)](t(261),{children:[t(512),e[t(942)][t(1722)][t(411)](a=>a[t(1793)])[t(358)](", ")]}),x.length>0&&d.jsxs("div",{className:t(1063),children:[t(1375),x[t(411)](a=>d[t(1406)](t(261),{className:t(1074),children:["←「",a[t(706)],"」(整块返回值)"]},a[t(1977)]))]})]}),d[t(2e3)](Mn,{type:t(248),position:he[t(1060)],className:t(1129)})]})},Xh={eventBlock:qh},Zh=Object[s(1152)](Xs)[s(411)](([e,n])=>({label:n,value:e})),Ks=[{label:"点击",value:s(680)},{label:s(1181),value:s(392)},{label:s(1810),value:s(1952)},{label:"双击",value:"doubleClick"},{label:s(809),value:s(1889)},{label:s(969),value:s(1812)},{label:s(1558),value:s(1829)},{label:s(689),value:s(1287)},{label:s(1959),value:"dataRequest"},{label:s(455),value:"external"}];function Kh(e,n){const t=s,o={},x=[...e];return x[t(1626)]((r,i)=>{const a=t,u=n[a(1722)][i]?.[a(1793)]??(x[a(655)]===1?"prev":"prev"+i);o[u]=a(1469)+r[a(248)]}),o}function Rh(e,n,t){const o=s;return t[e]?.[o(1793)]??(n===1?"prev":o(820)+e)}const Jh=[{label:s(1025),value:s(1025)},{label:"number",value:s(1781)},{label:s(1524),value:s(1524)},{label:s(1866),value:s(1866)},{label:"any",value:s(1508)}];function Rs(e){const n=s,t=Ks[n(1241)](x=>x[n(1303)]===e[n(703)]),o=t?.[n(706)]??e[n(703)];if(e.eventType===n(1659)){const x=(e[n(1635)]||"")[n(1514)]();return x?o+n(309)+x:o}return o}const Qh=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=s,{nodes:r,eventFlow:i,externalHandlerCatalog:a,addEventBlock:u,upsertEventBlock:l,removeEventBlock:c,addEventRoot:f,updateEventRoot:b,root:g}=Te(),[v,h,p]=dh([]),[C,y,w]=ch([]),m=B[x(1288)](v);m[x(1610)]=v;const[M,S]=B[x(898)](()=>o??null),[U,W]=B[x(898)](!1),[H]=z.Form[x(682)](),A=z.Form.useWatch(x(703),H),[q,T]=B.useState(null),[O,Z]=B[x(898)](!1),[D]=z[x(1946)].useForm(),L=z[x(1946)][x(611)]("executorType",D),N=z[x(1946)][x(611)](x(288),D),j=z[x(1946)].useWatch(x(1722),D),P=B.useMemo(()=>!O||!q?[]:Zs(q.id,v,C),[O,q,v,C]),I=B.useRef(()=>{}),K=B.useRef(()=>{});B[x(1247)](()=>{const k=x;if(O&&q){const E=q[k(1356)]??{},{outputs:X,...G}=q;D[k(1525)]({...G,executorType:q.executorType??k(312),builtinId:q[k(288)],inputs:q.inputs??[],builtinConfig:{content:String(E.content??""),level:String(E.level??k(1879)),duration:E[k(1779)]===void 0||E[k(1779)]===null?void 0:Number(E.duration)}})}},[O,q,D]);const _=B.useCallback(k=>{y(E=>sa(k,E))},[y]),R=k=>{const E=x,X={bindNodeId:k[E(1178)],eventType:k[E(703)],externalEventKey:k[E(703)]===E(1659)?(k.externalEventKey||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0},G=f(X);S({...X,id:G}),H[E(1735)](),W(!1),z[E(1794)].success(E(982))},$=B[x(871)](k=>{const E=x;c(k),h(X=>X.filter(G=>G.id!==k)),y(X=>X[E(1343)](G=>G.source!==k&&G[E(1552)]!==k))},[c,h,y]),oe=B[x(871)](k=>{const E=x,X=m[E(1610)][E(1241)](ce=>ce.id===k)?.[E(1275)]?.[E(942)],G=i.eventBlocks[E(1241)](ce=>ce.id===k),ne=X??G;ne?(T({...ne,id:k}),Z(!0)):z.message[E(1676)]("找不到事件块")},[i[x(255)]]);I[x(1610)]=oe,K.current=$,B[x(1247)](()=>{const k=x;if(e&&M){const E=M[k(1655)][k(1745)][k(411)](G=>({id:G.id,type:k(942),position:G[k(360)],data:{label:G[k(1275)][k(706)],eventBlock:G[k(1275)][k(942)],onEdit:ne=>I.current(ne),onDelete:ne=>K[k(1610)](ne)}})),X=M.flowData[k(395)][k(411)](G=>({id:G.id,source:G[k(248)],target:G[k(1552)]}));h(E),y(X)}},[e,M,h,y]);const de=()=>{const k=x,E={name:k(1569),executorType:k(312),callback:k(269),inputs:[],outputs:[]},X=u(E),G={...E,id:X},ne={id:X,type:k(942),position:{x:100+v.length*50,y:100+v[k(655)]*30},data:{label:G.name,eventBlock:G,onEdit:ce=>I[k(1610)](ce),onDelete:ce=>K[k(1610)](ce)}};h(ce=>[...ce,ne])},se=()=>{const k=x,E={name:k(937),executorType:"builtin",builtinId:k(1174),builtinConfig:{content:k(1803),level:k(1879)},callback:"return null;",inputs:[],outputs:[]},X=u(E),G={...E,id:X},ne={id:X,type:"eventBlock",position:{x:120+v.length*50,y:140+v[k(655)]*30},data:{label:G[k(1793)],eventBlock:G,onEdit:ce=>I[k(1610)](ce),onDelete:ce=>K[k(1610)](ce)}};h(ce=>[...ce,ne])},fe=()=>{const k=x,E={name:k(657),executorType:"builtin",builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g.canvases[0]?.id||""},callback:"return null;",inputs:[],outputs:[]},X=u(E),G={...E,id:X},ne={id:X,type:k(942),position:{x:120+v[k(655)]*50,y:140+v[k(655)]*30},data:{label:G.name,eventBlock:G,onEdit:ce=>I[k(1610)](ce),onDelete:ce=>K[k(1610)](ce)}};h(ce=>[...ce,ne])},ie=k=>{const E=x;if(!q)return;const X=k[E(884)]??q[E(884)]??E(312),G={name:k.name,callback:k.callback??q.callback,executorType:X,dataRequestKey:X===E(1729)?(k[E(1175)]||"").trim():void 0,externalHandlerKey:X===E(1659)?(k[E(391)]||"")[E(1514)]():void 0,builtinId:X===E(1252)?k[E(288)]:void 0,builtinConfig:X===E(1252)&&k[E(288)]===E(1174)?{content:String(k.builtinConfig?.[E(1236)]??"")[E(1514)](),level:k[E(1356)]?.[E(641)]||E(1879),duration:k[E(1356)]?.[E(1779)]===null||k[E(1356)]?.[E(1779)]===void 0?void 0:Number(k[E(1356)][E(1779)])}:X===E(1252)&&k[E(288)]==="switchCanvas"?{targetCanvasId:String(k.builtinConfig?.[E(575)]??"").trim()}:void 0},ne=k[E(1722)]??[],ce=ne.filter(ye=>ye?.[E(1793)]&&String(ye.name).trim()),le={...q,...G,inputs:ce,outputs:[]};l(le),h(ye=>ye.map(ve=>ve.id===q.id?{...ve,data:{...ve.data,label:le[E(1793)]||ve[E(1275)].label,eventBlock:le}}:ve)),Z(!1),T(null),z[E(1794)][E(1839)](E(1710))},F=()=>{const k=x;if(!M)return;const E=v[k(411)](G=>{const ne=k,ce=C[ne(1343)](ve=>ve.target===G.id),le=G.data[ne(942)],ye={...le,outputs:[]};return{id:G.id,eventBlockId:G.id,position:G[ne(360)],inputs:ce.map(ve=>ve[ne(248)]),outputs:C.filter(ve=>ve.source===G.id)[ne(411)](ve=>ve[ne(1552)]),data:{label:G[ne(1275)][ne(706)],eventBlock:ye,inputMapping:Kh(ce,ye)}}}),X=C[k(411)](G=>({id:G.id,source:G[k(248)],target:G[k(1552)]}));b(M.id,{flowData:{nodes:E,edges:X}}),dn.bindNodeEvent({...M,flowData:{nodes:E,edges:X}}),z[k(1794)][k(1839)]("事件流保存成功"),n()},re=B[x(1456)](()=>r[x(411)](k=>({label:k[x(1793)],value:k.id})),[r]),J=B.useMemo(()=>t?i[x(350)][x(1343)](k=>k.bindNodeId===t):i[x(350)],[i.eventRoots,t]);return e?d[x(1406)](z[x(1642)],{title:"事件流编辑器",open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[M?d[x(1406)]("div",{className:"h-full flex flex-col",style:{height:700},children:[d.jsxs("div",{className:x(808),children:[d.jsx(z[x(1319)],{children:d[x(1406)]("span",{className:x(1867),children:[x(538),Rs(M)," →"," ",r[x(1241)](k=>k.id===M[x(1178)])?.[x(1793)]]})}),d[x(1406)](z[x(1319)],{children:[d[x(2e3)](z.Button,{icon:d.jsx(ae.PlusOutlined,{}),onClick:de,children:x(1684)}),d.jsx(z[x(336)],{icon:d.jsx(ae.PlusOutlined,{}),onClick:se,children:x(937)}),d[x(2e3)](z[x(336)],{icon:d.jsx(ae[x(291)],{}),onClick:fe,children:"跳转画布"}),d[x(2e3)](z[x(336)],{type:x(932),icon:d[x(2e3)](ae[x(860)],{}),onClick:F,children:"保存"}),d[x(2e3)](z[x(336)],{icon:d[x(2e3)](ae[x(490)],{}),onClick:()=>S(null),children:x(1788)})]})]}),d[x(2e3)](x(261),{className:"flex-1",children:d[x(1406)](lh,{nodes:v,edges:C,onNodesChange:p,onEdgesChange:w,onConnect:_,nodeTypes:Xh,fitView:!0,children:[d[x(2e3)](bh,{}),d.jsx(Ch,{}),d[x(2e3)](Eh,{})]})})]}):d.jsxs("div",{className:x(999),children:[d.jsxs("div",{className:"flex justify-between items-center mb-4",children:[d.jsx("h3",{className:"text-lg font-medium",children:"选择或创建事件流"}),d[x(2e3)](z.Button,{type:"primary",icon:d[x(2e3)](ae[x(291)],{}),onClick:()=>W(!0),children:"新建事件流"})]}),d.jsx(z[x(649)],{dataSource:J,renderItem:k=>d[x(2e3)](z[x(649)][x(589)],{actions:[d[x(2e3)](z[x(336)],{type:x(932),icon:d.jsx(ae[x(1073)],{}),onClick:()=>S(k),children:"编辑"},x(1517))],children:d[x(2e3)](z[x(649)][x(589)][x(387)],{title:d[x(1406)](z[x(1319)],{children:[d[x(1406)](x(1677),{children:[x(1945),Rs(k)]}),d.jsx(z.Tag,{color:x(427),children:r[x(1241)](E=>E.id===k[x(1178)])?.[x(1793)]||k[x(1178)]})]}),description:x(426)+k[x(1655)].nodes[x(655)]+x(751)+k[x(1655)][x(395)][x(655)]})}),locale:{emptyText:d[x(2e3)](z[x(861)],{description:"暂无事件流"})}}),d.jsx(z[x(1642)],{title:x(1332),open:U,onCancel:()=>{H[x(1735)](),W(!1)},footer:null,afterOpenChange:k=>{k&&(H.resetFields(),t&&H.setFieldsValue({bindNodeId:t}))},children:d[x(1406)](z[x(1946)],{form:H,onFinish:R,layout:x(893),children:[d[x(2e3)](z.Form[x(589)],{name:"bindNodeId",label:x(1728),rules:[{required:!0,message:"请选择节点"}],initialValue:t,children:d.jsx(z[x(1101)],{options:re,placeholder:x(1372),disabled:!!t})}),d[x(2e3)](z.Form.Item,{name:x(703),label:x(709),rules:[{required:!0,message:"请选择触发方式"}],children:d[x(2e3)](z[x(1101)],{options:Ks,placeholder:x(1713)})}),A===x(1659)&&d[x(2e3)](z.Form[x(589)],{name:"externalEventKey",label:x(1118),rules:[{required:!0,message:x(413)},{validator:(k,E)=>(E||"")[x(1514)]()?Promise.resolve():Promise[x(1440)](new Error("标识不能为空"))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:d[x(2e3)](z.Input,{placeholder:x(325)})}),d.jsx(z[x(1946)][x(589)],{className:x(486),children:d[x(1406)](z.Space,{className:x(830),children:[d[x(2e3)](z[x(336)],{onClick:()=>{H[x(1735)](),W(!1)},children:"取消"}),d[x(2e3)](z[x(336)],{type:x(932),htmlType:x(1268),children:"创建"})]})})]})})]}),d[x(2e3)](z[x(1642)],{title:"编辑事件块",open:O,onCancel:()=>{Z(!1),T(null)},footer:null,destroyOnClose:!0,children:d[x(1406)](z[x(1946)],{form:D,onFinish:ie,layout:x(893),children:[d[x(2e3)](z[x(1946)][x(589)],{name:"name",label:"名称",rules:[{required:!0,message:x(254)}],children:d[x(2e3)](z[x(548)],{})}),d[x(2e3)](z.Form.Item,{name:x(884),label:x(275),rules:[{required:!0,message:x(1230)}],children:d[x(2e3)](z.Select,{options:Zh,placeholder:x(1148)})}),L===x(1252)&&d[x(2e3)](z[x(1946)][x(589)],{name:x(288),label:"内置动作",rules:[{required:!0,message:x(405)}],children:d[x(2e3)](z.Select,{options:Vh,placeholder:"选择具体内置能力"})}),L==="builtin"&&N===x(1174)&&d[x(1406)](d[x(454)],{children:[d.jsx(z.Form[x(589)],{name:[x(1356),x(1236)],label:x(1334),rules:[{required:!0,message:x(1790)}],extra:"占位符:{{prev}}、{{入参名}} 引用上游连线入参;{{$data.xxx}} 取事件上下文 data",children:d.jsx(z[x(548)].TextArea,{rows:3,placeholder:x(756)})}),d[x(2e3)](z[x(1946)][x(589)],{name:[x(1356),x(641)],label:"状态 (type)",children:d[x(2e3)](z[x(1101)],{options:Wh})}),d.jsx(z[x(1946)][x(589)],{name:[x(1356),x(1779)],label:x(1134),extra:x(547),children:d[x(2e3)](z[x(1877)],{min:0,step:.5,style:{width:x(1935)},placeholder:"默认"})})]}),L===x(1252)&&N==="switchCanvas"&&d[x(2e3)](z[x(1946)].Item,{name:[x(1356),"targetCanvasId"],label:x(828),rules:[{required:!0,message:x(1827)}],children:d[x(2e3)](z[x(1101)],{placeholder:"选择要跳转的画布",options:g.canvases.map(k=>({value:k.id,label:k[x(1793)]}))})}),L===x(1729)&&d[x(2e3)](z[x(1946)].Item,{name:x(1175),label:"请求标识",rules:[{required:!0,message:x(939)},{validator:(k,E)=>(E||"")[x(1514)]()?Promise.resolve():Promise.reject(new Error(x(1451)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:d[x(2e3)](z[x(548)],{placeholder:"例如:loadTrend、fetchDeviceList"})}),L===x(1659)&&d.jsx(z[x(1946)][x(589)],{name:"externalHandlerKey",label:x(564),rules:[{required:!0,message:x(1088)},{validator:(k,E)=>(E||"")[x(1514)]()?Promise.resolve():Promise[x(1440)](new Error(x(1451)))}],extra:a[x(655)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:a.length>0?d[x(2e3)](z[x(1101)],{showSearch:!0,optionFilterProp:x(706),allowClear:!0,placeholder:"选择已注册的外部方法",options:a[x(411)](k=>({value:k[x(210)],label:k[x(706)],title:k[x(1325)]?k[x(706)]+" — "+k[x(1325)]:k.label+" ("+k[x(210)]+")"}))}):d[x(2e3)](z.Input,{placeholder:x(1102)})}),L===x(312)&&d[x(2e3)](z[x(1946)][x(589)],{name:x(1869),label:x(988),rules:[{validator:(k,E)=>{const X=x;return typeof E===X(1025)&&E.trim()?Promise[X(1053)]():Promise[X(1440)](new Error("请填写执行代码"))}}],children:d[x(2e3)](z.Input.TextArea,{rows:6,placeholder:x(1410)})}),P[x(655)]>0&&d.jsxs(x(261),{className:x(1160),children:[d[x(2e3)](x(261),{className:x(509),children:x(310)}),d[x(2e3)]("ul",{className:x(843),children:P[x(411)](k=>{const E=x,X=j??q?.[E(1722)]??[],G=Rh(k[E(482)],k[E(480)],X);return d[E(1406)]("li",{className:E(1725),children:[d[E(1406)](E(261),{className:E(503),children:["第 ",k.edgeIndex+1," 条入边 ←「",k[E(1714)],"」:上游",d[E(2e3)](E(950),{children:E(1926)})," →"," ",d[E(1406)](E(1489),{className:E(895),children:[E(412),G]})]}),d[E(1406)]("div",{className:E(1841),children:["在下方第 ",k[E(482)]+1," 行填写参数名即可自定义键名(须与入边顺序一致)。"]})]},k[E(1977)])})})]}),d.jsx(x(261),{className:"font-medium text-gray-800 mb-2",children:"入参名称(按连线顺序)"}),d[x(1406)](x(261),{className:"text-xs text-gray-500 mb-2",children:[x(1067)," ",d[x(2e3)](x(1489),{children:x(625)}),x(393),d[x(2e3)](x(1489),{children:x(476)}),"、",d[x(2e3)](x(1489),{children:x(956)}),"…"]}),d[x(2e3)](z[x(1946)].List,{name:x(1722),children:(k,{add:E,remove:X})=>d[x(1406)](d.Fragment,{children:[k.map(({key:G,name:ne,...ce})=>d[x(1406)](z[x(1319)],{align:x(1784),wrap:!0,className:x(558),children:[d[x(2e3)](z[x(1946)].Item,{...ce,name:[ne,x(1793)],rules:[{required:!0,message:"名称"}],children:d[x(2e3)](z[x(548)],{placeholder:x(740),style:{width:140}})}),d[x(2e3)](z[x(1946)].Item,{...ce,name:[ne,x(415)],initialValue:x(1508),children:d.jsx(z[x(1101)],{options:Jh,style:{width:100}})}),d[x(2e3)](ae.MinusCircleOutlined,{className:x(730),onClick:()=>X(ne)})]},G)),d[x(2e3)](z[x(336)],{type:x(763),onClick:()=>E({type:x(1508)}),block:!0,icon:d[x(2e3)](ae[x(291)],{}),children:x(484)})]})}),d.jsx(z[x(1946)].Item,{className:x(670),children:d.jsxs(z.Space,{className:x(830),children:[d.jsx(z.Button,{onClick:()=>{Z(!1),T(null)},children:"取消"}),d[x(2e3)](z.Button,{type:x(932),htmlType:x(1268),children:"保存"})]})})]})})]}):null},ax={click:"点击",mouseDown:s(1181),mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:s(809),mouseLeave:"鼠标移出",mouseEnter:s(1558),contextMenu:"右键菜单",dataRequest:s(1959),external:s(455)};function Fh(e){const n=s;if(e[n(703)]===n(1659)){const t=(e[n(1635)]||"")[n(1514)]();return t?ax[n(1659)]+" · "+t:ax[n(1659)]}return ax[e[n(703)]]}const _h=Object[s(1152)](ax)[s(411)](([e,n])=>({label:n,value:e})),$h=({nodeId:e})=>{const n=s,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=Te(),[i,a]=B[n(898)](!1),[u,l]=B[n(898)](null),[c,f]=B.useState(!1),[b]=z.Form[n(682)](),g=z.Form[n(611)](n(703),b),v=B[n(1456)](()=>{const w=n;return t.eventRoots[w(1343)](m=>m[w(1178)]===e)},[t[n(350)],e]),h=w=>{const m=n,M={bindNodeId:e,eventType:w[m(703)],externalEventKey:w[m(703)]===m(1659)?(w[m(1635)]||"")[m(1514)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(M),b[m(1735)](),f(!1)},p=w=>{l(w),a(!0)},C=(w,m)=>{x(w.id,{enabled:m})},y=w=>{r(w)};return d[n(1406)]("div",{children:[d[n(1406)](n(261),{className:n(1423),children:[d[n(2e3)]("h4",{className:n(207),children:n(1196)}),d[n(2e3)](z[n(336)],{type:n(932),size:n(226),icon:d[n(2e3)](ae[n(291)],{}),onClick:()=>f(!0),children:n(1580)})]}),d[n(2e3)](z[n(649)],{dataSource:v,renderItem:w=>d[n(2e3)](z.List.Item,{actions:[d[n(2e3)](z.Switch,{checked:w[n(534)],size:n(226),onChange:m=>C(w,m)},"enable"),d.jsx(z[n(336)],{type:n(773),size:n(226),icon:d.jsx(ae[n(1073)],{}),onClick:()=>p(w)},"edit"),d[n(2e3)](z.Popconfirm,{title:"确认删除",description:n(791),onConfirm:()=>y(w.id),children:d[n(2e3)](z.Button,{type:n(773),danger:!0,size:n(226),icon:d.jsx(ae[n(951)],{})})},n(1756))],children:d[n(2e3)](z[n(649)][n(589)][n(387)],{title:d[n(1406)](z[n(1319)],{children:[d[n(2e3)](z.Tag,{color:w.enabled?"blue":n(1846),children:Fh(w)}),d[n(1406)]("span",{className:n(992),children:[w[n(1655)][n(1745)][n(655)]," 个节点"]})]}),description:w[n(534)]?d.jsx(n(1677),{className:"text-xs text-green-600",children:n(1404)}):d[n(2e3)](n(1677),{className:n(992),children:n(1956)})})}),locale:{emptyText:d[n(2e3)](z[n(861)],{image:z[n(861)][n(921)],description:n(1863)})}}),d.jsx(z.Modal,{title:"添加事件流",open:c,onCancel:()=>{b[n(1735)](),f(!1)},footer:null,afterOpenChange:w=>{w&&b[n(1735)]()},children:d[n(1406)](z[n(1946)],{form:b,onFinish:h,layout:"vertical",children:[d.jsx(z[n(1946)][n(589)],{name:"eventType",label:n(709),rules:[{required:!0,message:n(1919)}],children:d.jsx(z.Select,{options:_h,placeholder:"选择触发方式(DOM / 数据请求 / 外部)"})}),g===n(1659)&&d[n(2e3)](z[n(1946)][n(589)],{name:n(1635),label:"外部事件标识",rules:[{required:!0,message:n(413)},{validator:(w,m)=>(m||"")[n(1514)]()?Promise[n(1053)]():Promise[n(1440)](new Error("标识不能为空"))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:d[n(2e3)](z[n(548)],{placeholder:n(635)})}),d.jsx(z[n(1946)][n(589)],{className:n(486),children:d[n(1406)](z[n(1319)],{className:"w-full justify-end",children:[d[n(2e3)](z[n(336)],{onClick:()=>f(!1),children:"取消"}),d.jsx(z[n(336)],{type:n(932),htmlType:n(1268),children:"创建"})]})})]})}),d[n(2e3)](Qh,{open:i,onClose:()=>{a(!1),l(null)},bindNodeId:e,editingRoot:u},u?.id??"closed-"+e)]})},{Panel:O0}=z[s(1622)],{TabPane:sx}=z[s(1001)],{TextArea:eg}=z[s(548)],Js=({defaultTestData:e})=>{const n=s,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:u,selectedStatusId:l,selectStatus:c}=Te(),[f]=z[n(1946)][n(682)](),[b,g]=B[n(898)](n(1415)),[v,h]=B[n(898)](!1),[p,C]=B[n(898)](null),[y,w]=B[n(898)]({}),m=B[n(1456)](()=>t[n(1241)](N=>N.id===o),[t,o]),M=m?.contentInfo.statusList||[],S=L=>{const N=n;o&&(L[N(597)]&&r(o,L.normalStyle),L[N(1793)]!==void 0&&x(o,{name:L[N(1793)]}),L[N(1369)]&&i(o,L[N(1369)]))};console.log(o,n(1701),m),B[n(1247)](()=>{const L=n;m&&m&&(f[L(1525)]({name:m.name,normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:L(419),borderRadius:0,opacity:1,...m[L(597)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...m.controlInfo}}),c(null))},[m,c,f]);const U=()=>{const L=n;!o||!m||(C(L(566)),h(!0))},W=L=>{const N=n;if(!o||!m)return;const j={id:pe[N(1399)](),name:L[N(1793)]+N(1056)+(M[N(655)]+1),expression:M.length===0?"return true;":"return false;",material:{...L,id:pe.nanoid()},boundDatasetId:null};if(p===N(566)){const P=[...M,j];a(o,{statusList:P})}else if(p){const P=M.map(I=>{const K=N;return I.id===p?{...I,material:{...L,id:pe[K(1399)]()}}:I});a(o,{statusList:P})}h(!1),C(null)},H=L=>{const N=n;if(!o||!m)return;const j=m[N(888)][N(1266)]?.[N(1343)](P=>P.id!==L)||[];a(o,{statusList:j}),l===L&&c(null)},A=(L,N)=>{const j=n;if(!o||!m)return;const P=m.contentInfo[j(1266)]?.[j(411)](I=>I.id===L?{...I,...N}:I)||[];a(o,{statusList:P})},q=L=>{const N=n;if(!o||!m)return;const j={...L,id:pe[N(1399)](),name:L[N(1793)]+"_复制",expression:N(1159)},P=[...M,j];a(o,{statusList:P})},T=(L,N)=>{const j=n;if(!o||!m)return;const P=M[j(1296)](K=>K.id===L);if(P===-1)return;const I=[...M];N==="up"&&P>0?[I[P],I[P-1]]=[I[P-1],I[P]]:N==="down"&&P<I.length-1&&([I[P],I[P+1]]=[I[P+1],I[P]]),a(o,{statusList:I})},O=L=>{C(L),h(!0)},Z=(L,N)=>{const j=n,P=N.config||{},I=P[j(1824)]??0,K=P.startY??0,_=P.endX??100,R=P.endY??0,$=Math[j(1526)]((P[j(1698)]||P[j(1308)]||2)*2,4),oe=Math.min(I,_),de=Math.min(K,R),se=Math[j(1526)](I,_),fe=Math.max(K,R),ie=Math.max(se-oe,$),F=Math[j(1526)](fe-de,$),re=L.normalStyle.x||0,J=L[j(597)].y||0;return{material:{...N,config:{...P,startX:I-oe,startY:K-de,endX:_-oe,endY:R-de}},box:{x:re+oe,y:J+de,width:ie,height:F}}},D=(L,N)=>{const j=n;if(!o||!m)return;const{list:P,lineBox:I}=M[j(1685)]((K,_)=>{const R=j;if(_.id!==L)return K.list[R(829)](_),K;let $;if(_[R(947)][R(415)]==="LINE"&&"config"in N&&N[R(1991)]!==void 0){const oe=_[R(947)],de=N[R(1991)];$={...oe,...N,config:{...oe[R(1991)]||{},...de}}}else $={..._[R(947)],...N};if($[R(415)]===R(1521)){const{material:oe,box:de}=Z(m,$);return K[R(629)][R(829)]({..._,material:oe}),K[R(1505)]=de,K}return K[R(629)][R(829)]({..._,material:$}),K},{list:[],lineBox:null});I!==null?x(o,{normalStyle:{...m[j(597)],x:I.x,y:I.y,width:I.width,height:I.height},contentInfo:{...m[j(888)],statusList:P}}):a(o,{statusList:P})};return m?d[n(1406)]("div",{className:n(1628),children:[d[n(1406)](n(261),{className:n(824),children:[d.jsx("h3",{className:n(1016),children:n(1180)}),d.jsx("p",{className:n(637),children:n(1055)})]}),d[n(2e3)]("div",{className:n(1621),children:d.jsxs(z[n(1001)],{activeKey:b,onChange:g,children:[d[n(2e3)](sx,{tab:"基础",children:d.jsxs(z[n(1946)],{form:f,layout:n(893),onValuesChange:S,initialValues:{name:m[n(1793)]},children:[d[n(2e3)](z[n(1946)][n(589)],{label:n(1318),name:n(1793),children:d[n(2e3)](z.Input,{placeholder:"输入节点名称"})}),d[n(1406)](z[n(1622)],{ghost:!0,defaultActiveKey:["position",n(1860),n(1301)],children:[d[n(2e3)](O0,{header:"位置",children:d[n(1406)](z[n(1319)],{children:[d[n(2e3)](z.Form[n(589)],{label:"X",name:["normalStyle","x"],children:d[n(2e3)](z[n(1877)],{})}),d.jsx(z[n(1946)][n(589)],{label:"Y",name:[n(597),"y"],children:d[n(2e3)](z[n(1877)],{})})]})},n(360)),d[n(2e3)](O0,{header:"尺寸",children:d.jsxs(z[n(1319)],{children:[d[n(2e3)](z.Form[n(589)],{label:"宽度",name:["normalStyle",n(1473)],children:d[n(2e3)](z[n(1877)],{min:10})}),d[n(2e3)](z[n(1946)].Item,{label:"高度",name:[n(597),n(1187)],children:d[n(2e3)](z[n(1877)],{min:10})})]})},"size"),d.jsxs(O0,{header:"样式",children:[d[n(2e3)](z[n(1946)].Item,{label:"背景色",name:[n(597),"background"],children:d[n(2e3)](z[n(548)],{placeholder:n(560)})}),d[n(2e3)](z[n(1946)][n(589)],{label:n(909),name:[n(597),n(593)],children:d.jsx(z[n(1877)],{min:0})}),d.jsx(z[n(1946)][n(589)],{label:"圆角",name:[n(597),n(524)],children:d[n(2e3)](z.InputNumber,{min:0})}),d[n(2e3)](z[n(1946)][n(589)],{label:"缩放比例",name:[n(597),n(1783)],help:n(1339),children:d[n(2e3)](z[n(1877)],{min:.1,max:5,step:.1})}),!m[n(888)][n(1266)][n(789)](L=>L[n(947)][n(415)]===n(1521))&&d[n(2e3)](z[n(1946)][n(589)],{label:n(817),name:[n(597),"rotate"],help:n(202),children:d[n(2e3)](z.InputNumber,{min:0,max:360,step:1})}),d.jsx(z.Form.Item,{label:"透明度",name:[n(597),n(1344)],children:d.jsx(z[n(1877)],{min:0,max:1,step:.1})}),d[n(2e3)](z[n(1946)][n(589)],{label:"层级",name:[n(597),n(1912)],children:d.jsx(z[n(1877)],{})})]},n(1301))]})]})},"basic"),d.jsx(sx,{tab:"状态",children:m.type==="group"&&m[n(314)]?d[n(2e3)](Ad,{node:m,updateNode:x,materials:u}):d[n(1406)](n(261),{className:"mb-4",children:[d.jsxs(n(261),{className:n(332),children:[d[n(1406)](n(1677),{className:n(1867),children:[n(1555),d.jsx(z[n(1262)],{color:n(427),className:n(825),children:M[n(655)]})]}),d.jsx(z[n(336)],{type:"primary",size:n(226),icon:d.jsx(ae[n(291)],{}),onClick:U,children:n(1559)})]}),d[n(2e3)]("p",{className:n(1026),children:n(1468)}),M.length>0&&d[n(2e3)]("div",{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:d[n(2e3)](n(261),{className:n(1592),children:d[n(1406)](n(261),{children:[d[n(2e3)](n(1677),{className:n(1861),children:"当前状态:"}),d[n(2e3)](n(1677),{className:n(359),children:n(1138)})]})})}),M.length===0?d.jsx(n(261),{className:"text-center text-gray-400 py-4 bg-gray-50 rounded-lg",children:n(463)}):d.jsx(z.Collapse,{ghost:!0,defaultActiveKey:M[0]?.id+o,children:M.map((L,N)=>d.jsx(O0,{header:d[n(1406)]("div",{className:n(582),children:[d[n(2e3)]("span",{className:n(1446),children:N+1}),d[n(2e3)](n(1677),{className:n(1867),children:L[n(1793)]}),d.jsx(z[n(1262)],{color:n(1846),className:n(1849),children:L.material[n(415)]})]}),extra:d[n(1406)](z[n(1319)],{size:n(226),onClick:j=>j[n(1444)](),children:[d[n(2e3)](z[n(336)],{type:n(773),size:n(226),icon:d.jsx(ae.ArrowUpOutlined,{}),disabled:N===0,onClick:j=>{j[n(1444)](),T(L.id,"up")}}),d[n(2e3)](z[n(336)],{type:n(773),size:n(226),icon:d[n(2e3)](ae[n(1320)],{}),disabled:N===M[n(655)]-1,onClick:j=>{const P=n;j[P(1444)](),T(L.id,P(1740))}}),d.jsx(z[n(336)],{type:"text",size:n(226),icon:d.jsx(ae.CopyOutlined,{}),onClick:j=>{j[n(1444)](),q(L)}}),d[n(2e3)](z[n(336)],{type:n(773),size:n(226),danger:!0,icon:d[n(2e3)](ae[n(951)],{}),onClick:j=>{j[n(1444)](),H(L.id)}})]}),children:d[n(1406)](z.Form,{layout:n(893),children:[d[n(2e3)](z[n(1946)][n(589)],{label:n(696),children:d[n(2e3)](z.Input,{value:L[n(1793)],onChange:j=>A(L.id,{name:j[n(1552)].value}),placeholder:n(394)})}),d.jsx(Vr,{status:L,onUpdate:j=>A(L.id,j),onAppendToExpression:j=>{const P=n;w(I=>({...I,[L.id]:(I[L.id]??L[P(863)])+j}))}}),d[n(2e3)](z[n(1946)][n(589)],{label:"执行表达式",help:n(1814),children:d.jsx(eg,{value:y[L.id]??L[n(863)],onChange:j=>w(P=>({...P,[L.id]:j[n(1552)][n(1303)]})),onBlur:j=>{const P=n;A(L.id,{expression:j[P(1552)].value}),w(I=>{const K={...I};return delete K[L.id],K})},rows:3,placeholder:n(1755)})}),d[n(2e3)](z.Form.Item,{label:n(231),children:d[n(1406)](n(261),{className:n(582),children:[d[n(2e3)](z[n(1262)],{color:n(427),children:L.material.name}),d[n(2e3)](z.Tag,{color:n(1846),children:L.material[n(415)]}),d.jsx(z.Button,{type:n(972),size:n(226),icon:d[n(2e3)](ae[n(1073)],{}),onClick:()=>O(L.id),children:n(886)})]})}),d[n(2e3)](z.Divider,{style:{margin:n(287)}}),d[n(1406)]("div",{className:n(1700),children:[d[n(1406)]("div",{className:n(332),children:[d[n(2e3)]("span",{className:"text-sm font-medium",children:n(1589)}),d[n(2e3)](z.Tag,{children:L[n(947)][n(1793)]})]}),d[n(2e3)](Wr,{material:L.material,onSave:j=>D(L.id,j)})]})]})},L.id+o))})]})},n(311)),d[n(2e3)](sx,{tab:"控制",children:d.jsxs(z[n(1946)],{form:f,layout:"vertical",onValuesChange:S,children:[d[n(2e3)](z[n(1946)].Item,{label:n(515),name:[n(1369),n(1805)],valuePropName:n(257),children:d[n(2e3)](z[n(1130)],{})}),d.jsx(z.Form[n(589)],{label:n(965),name:[n(1369),n(614)],valuePropName:n(257),children:d[n(2e3)](z[n(1130)],{})}),d[n(2e3)](z[n(1946)][n(589)],{label:n(324),name:[n(1369),n(1757)],valuePropName:n(257),children:d[n(2e3)](z[n(1130)],{})}),d[n(2e3)](z[n(1946)].Item,{label:n(1212),name:[n(1369),n(1390)],valuePropName:n(257),children:d[n(2e3)](z.Switch,{})})]})},"control"),d[n(2e3)](sx,{tab:n(1079),children:d[n(2e3)]($h,{nodeId:m.id})},n(280))]})}),d.jsx(n(261),{className:n(1527),children:d.jsxs("div",{className:n(1639),children:[d[n(1406)]("div",{children:[n(293),m.id.slice(0,8),n(1938)]}),d[n(1406)](n(261),{children:[n(1802),M[n(655)]]})]})}),d.jsx(z.Modal,{title:n(1203),open:v,onCancel:()=>{h(!1),C(null)},footer:null,width:600,children:d.jsx("div",{className:n(322),children:d[n(1406)](z[n(1622)],{ghost:!0,defaultActiveKey:[n(1415),n(859),"text",n(766)],children:[d[n(2e3)](O0,{header:n(1218),children:d[n(2e3)]("div",{className:n(1151),children:u[n(1343)](L=>["矩形","圆形",n(619)][n(561)](L[n(1793)]))[n(411)](L=>d[n(2e3)](Qs,{material:L,onClick:()=>W(L)},L.id))})},n(1415)),d[n(2e3)](O0,{header:n(1738),children:d[n(2e3)](n(261),{className:n(1151),children:u[n(1343)](L=>["阀门","泵","罐体"][n(561)](L[n(1793)])||L.type===n(1411)&&!["矩形","圆形",n(619)][n(561)](L[n(1793)])).map(L=>d[n(2e3)](Qs,{material:L,onClick:()=>W(L)},L.id))})},n(859)),d[n(2e3)](O0,{header:"文本",children:d[n(2e3)]("div",{className:"grid grid-cols-4 gap-2",children:u[n(1343)](L=>L.type===n(1988))[n(411)](L=>d[n(1406)](n(261),{className:n(1009),onClick:()=>W(L),children:[d.jsx(n(261),{className:n(708),children:d.jsx(n(1677),{className:n(1065),children:"T"})}),d[n(2e3)](n(1677),{className:n(1849),children:L[n(1793)]})]},L.id))})},n(773)),d[n(2e3)](O0,{header:"线条",children:d[n(2e3)]("div",{className:n(1151),children:u.filter(L=>L.type===n(1521))[n(411)](L=>d[n(1406)]("div",{className:n(1009),onClick:()=>W(L),children:[d[n(2e3)]("div",{className:n(708),children:d[n(2e3)](n(261),{className:n(1e3)})}),d[n(2e3)](n(1677),{className:n(1849),children:L[n(1793)]})]},L.id))})},n(766))]})})})]}):d.jsx(n(261),{className:n(1560),children:d[n(2e3)](z.Empty,{description:n(855)})})},Qs=({material:e,onClick:n})=>{const t=s,o=e.type===t(1411)?e.src:void 0;return d[t(1406)]("div",{className:"border rounded-lg p-2 cursor-pointer hover:border-blue-500 hover:bg-blue-50 transition-all text-center",onClick:n,children:[d.jsx(t(261),{className:t(1986),children:o?d[t(2e3)](t(557),{src:o,alt:e[t(1793)],className:t(1222)}):d.jsx(t(1677),{className:t(1849),children:e.name[0]})}),d.jsx(t(1677),{className:"text-xs",children:e[t(1793)]})]})},ng="ConfigEditor-module__configEditor__dinNG",tg={configEditor:ng},xg=`// 支持对象或数组格式
11
+ // 对象格式:
12
+ {
13
+ "speed": 0,
14
+ "temp": 25,
15
+ "nested": { "x": 1 }
16
+ }
17
+
18
+ // 数组格式(每项需包含 name 字段用于选择):
19
+ [
20
+ { "name": "测点1", "value": 100, "unit": "mm" },
21
+ { "name": "测点2", "value": 200, "unit": "mm" }
22
+ ]`;function Fs(e){return Array[s(1994)](e)}const _s=({open:e,onClose:n})=>{const t=s,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=Te(),[a]=z.Form[t(682)](),[u,l]=B[t(898)](null);B[t(1247)](()=>{!e&&(l(null),a.resetFields())},[e,a]);const c=()=>{const h=t;l(h(721)),a[h(1525)]({name:h(1985)+(o[h(655)]+1),sampleJson:""})},f=h=>{const p=t;l(h.id),a.setFieldsValue({name:h[p(1793)],sampleJson:JSON[p(896)](h.sample??{},null,2)})},b=h=>{const p=t,C=h[p(1514)]();if(!C)return{};const y=JSON[p(1132)](C);if(y===null||typeof y!==p(1866))throw new Error("sample 必须是 JSON 对象或数组");if(Array.isArray(y)){for(let w=0;w<y.length;w++)if(typeof y[w]!==p(1866)||y[w]===null)throw new Error("数组第 "+(w+1)+p(1825));return y}return y},g=()=>{const h=t;a.validateFields()[h(1815)](p=>{const C=h;let y;try{y=b(p[C(417)])}catch(m){z[C(1794)][C(590)](m instanceof Error?m.message:C(1164));return}const w=p[C(1793)][C(1514)]();if(!w){z[C(1794)][C(590)]("请填写名称");return}u==="__new__"?(x({name:w,sample:y}),z[C(1794)][C(1839)](C(580))):u&&(r(u,{name:w,sample:y}),z[C(1794)].success(C(237))),l(null),a.resetFields()})[h(1104)](()=>{})},v=[{title:"名称",dataIndex:t(1793),key:t(1793)},{title:"类型",key:t(415),width:100,render:(h,p)=>Fs(p.sample)?d[t(1406)](z[t(1262)],{color:t(427),children:[t(588),p[t(1579)][t(655)],t(222)]}):d[t(2e3)](z[t(1262)],{children:"对象"})},{title:t(782),key:"keys",width:90,render:(h,p)=>{const C=t;if(Fs(p[C(1579)])){const y=p[C(1579)][0];return y?Object.keys(y).length:0}return Object.keys(p[C(1579)]||{}).length}},{title:"操作",key:t(694),width:160,render:(h,p)=>d.jsxs(z[t(1319)],{children:[d.jsx(z[t(336)],{type:t(972),size:t(226),icon:d[t(2e3)](ae[t(1073)],{}),onClick:()=>f(p),children:"编辑"}),d.jsx(z[t(578)],{title:t(438),description:t(1052),onConfirm:()=>{const C=t;i(p.id),z[C(1794)][C(1839)](C(1485))},children:d[t(2e3)](z[t(336)],{type:t(972),size:t(226),danger:!0,icon:d.jsx(ae[t(951)],{}),children:"删除"})})]})}];return d[t(1406)](z.Modal,{title:t(663),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[d[t(1406)]("p",{className:t(908),children:[t(270)," ",d[t(2e3)](t(1489),{className:t(1245),children:t(839)}),t(1168)]}),d.jsx("div",{className:"mb-3",children:d[t(2e3)](z[t(336)],{type:t(932),icon:d[t(2e3)](ae[t(291)],{}),onClick:c,children:t(1144)})}),u&&d[t(1406)](t(261),{className:t(978),children:[d[t(1406)](t(261),{className:"font-medium mb-2",children:[u===t(721)?"新建":"编辑","数据集"]}),d[t(1406)](z[t(1946)],{form:a,layout:t(893),children:[d[t(2e3)](z.Form.Item,{name:"name",label:"名称",rules:[{required:!0,message:"必填"}],children:d[t(2e3)](z[t(548)],{placeholder:"如:电机测点集"})}),d.jsx(z[t(1946)].Item,{name:"sampleJson",label:t(801),rules:[{required:!0,message:"必填"}],children:d.jsx(z[t(548)].TextArea,{rows:12,className:t(1429),placeholder:xg})}),d[t(1406)](z[t(1319)],{children:[d.jsx(z.Button,{type:"primary",onClick:g,children:"保存"}),d[t(2e3)](z[t(336)],{onClick:()=>{const h=t;l(null),a[h(1735)]()},children:"取消"})]})]})]}),d[t(2e3)](z[t(1370)],{size:t(226),rowKey:"id",dataSource:o,columns:v,pagination:!1,locale:{emptyText:t(780)}})]})},{Header:og,Sider:$s,Content:rg}=z.Layout,ig=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:u=!0,customMaterials:l,initialDataPool:c,initialEventFlow:f,externalEventActions:b,onUploadSvg:g,defaultTestData:v,backgroundImageUrl:h,initialViewportWidth:p,initialViewportHeight:C})=>{const y=s,[w,m]=B[y(898)](!1),[M,S]=B[y(898)](!1),[U,W]=B[y(898)](""),[H]=B.useState(()=>[{paramsCode:y(553),paramsName:y(1673),value:25,paramsUnit:y(1762)},{paramsCode:y(746),paramsName:y(1048),value:1.5,paramsUnit:y(733)}]),A=v!==void 0?v:H,q=i&&!t,{exportScheme:T,importScheme:O,nodes:Z,materials:D,dataPool:L,eventFlow:N,root:j,canvas:P,viewport:I,addMaterial:K,setDataPool:_,setEventFlow:R,setExternalHandlerCatalog:$}=Te();B[y(1288)](null);const oe=B[y(1288)](!1);B.useEffect(()=>{const F=y;if(!oe[F(1610)]&&(oe[F(1610)]=!0,ir[F(1626)](re=>K(re)),e&&O(e),f!==void 0&&R(f),b&&b[F(655)]>0)){$(b);const re={};for(const J of b){const k=String(J[F(210)]??"")[F(1514)]();k&&J.handler&&(re[k]=J[F(1257)])}Object[F(1182)](re).length>0&&dn[F(1819)]({external:re})}},[]),B[y(1247)](()=>{const F=y;l&&l.length>0&&l[F(1626)](re=>K(re))},[]),B.useEffect(()=>{c!==void 0&&_(c)},[c,_]),B.useEffect(()=>{if(n){const F=T();n(F)}},[Z,D,L,N,j,n,T]);const de=B[y(871)](()=>{const F=y,re=T(),J=JSON.stringify(re,null,2),k=F(517)+encodeURIComponent(J),E=F(1459)+Date[F(688)]()+".json",X=document[F(772)]("a");X[F(307)](F(443),k),X[F(307)](F(634),E),X.click(),z[F(1794)][F(1839)]("导出成功!")},[T]),se=B[y(871)](()=>{const F=y;try{const re=JSON[F(1132)](U);O(re),m(!1),W(""),z[F(1794)][F(1839)]("导入成功!")}catch{z[F(1794)].error(F(1021))}},[U,O]),fe=B[y(871)](F=>{const re=y,J=new FileReader;return J.onload=k=>{const E=_0x5bb9;try{const X=k[E(1552)]?.[E(792)],G=JSON.parse(X);O(G),z[E(1794)][E(1839)]("导入成功!"),m(!1)}catch{z[E(1794)][E(590)]("文件格式错误")}},J[re(603)](F),!1},[O]),ie=B.useCallback(()=>T(),[T]);return B[y(1389)](B.useRef?.(),()=>({getScheme:ie,exportScheme:T,importScheme:O}),[ie,T,O]),d[y(2e3)](z.ConfigProvider,{locale:yl,children:d.jsx(y(261),{className:tg[y(1598)],style:{height:t?y(386):"100%",...r},children:d[y(1406)](z[y(633)],{className:y(1695)+(t?"":y(1920))+" "+(t?"":y(1981))+" "+x,children:[q&&d[y(1406)](og,{className:y(1835),children:[d[y(1406)](y(261),{className:y(1234),children:[d[y(2e3)](y(261),{className:"text-xl font-bold text-blue-600",children:y(1467)}),d.jsxs(y(261),{className:y(637),children:[Z[y(655)],y(289)]})]}),d[y(1406)](z[y(1319)],{children:[o,!t&&d.jsxs(d.Fragment,{children:[d[y(2e3)](z.Tooltip,{title:y(1027),children:d[y(2e3)](z[y(336)],{icon:d[y(2e3)](ae[y(1651)],{}),onClick:de,children:"导出"})}),d[y(2e3)](z[y(574)],{title:y(1082),children:d[y(2e3)](z[y(336)],{icon:d[y(2e3)](ae.UploadOutlined,{}),onClick:()=>m(!0),children:"导入"})}),d[y(2e3)](z.Tooltip,{title:y(776),children:d.jsx(z[y(336)],{icon:d[y(2e3)](ae[y(1229)],{}),onClick:()=>S(!0),children:y(1427)})})]})]})]}),d[y(1406)](z[y(633)],{children:[a&&!t&&d[y(2e3)]($s,{width:280,className:y(2008),theme:y(975),children:d[y(2e3)](sr,{onUploadSvg:g})}),d.jsx(rg,{className:y(1244)+(t?"":y(1932)),style:t?{backgroundColor:P?.[y(1436)],backgroundImage:P?.[y(1759)]!==!1?y(1165):void 0,backgroundSize:20*(I?.scale||1)+y(1883)+20*(I?.[y(1783)]||1)+"px"}:void 0,children:d[y(2e3)](Or,{defaultTestData:A,readonly:t,backgroundImageUrl:h,initialViewportWidth:p,initialViewportHeight:C})}),u&&!t&&d.jsx($s,{width:360,className:y(2008),theme:y(975),children:d[y(2e3)](Js,{defaultTestData:Array[y(1994)](A)?A:void 0})})]}),d[y(2e3)](_s,{open:M,onClose:()=>S(!1)}),d.jsx(z.Modal,{title:"导入组态方案",open:w,onOk:se,onCancel:()=>{m(!1),W("")},width:600,children:d[y(1406)]("div",{className:y(1378),children:[d[y(1406)]("div",{children:[d[y(2e3)]("p",{className:"mb-2",children:"选择 JSON 文件导入:"}),d.jsx(y(1549),{type:y(984),accept:y(1917),onChange:F=>{const re=y,J=F[re(1552)].files?.[0];J&&fe(J)},className:`block w-full text-sm text-gray-500
10
23
  file:mr-4 file:py-2 file:px-4
11
24
  file:rounded-full file:border-0
12
25
  file:text-sm file:font-semibold
13
26
  file:bg-blue-50 file:text-blue-700
14
- hover:file:bg-blue-100`})]}),l[v(1993)]("div",{className:"text-center text-gray-400",children:"或"}),l[v(1239)](v(539),{children:[l[v(1993)]("p",{className:v(590),children:v(1775)}),l[v(1993)](v(1572),{value:O,onChange:J=>G(J[v(603)][v(1981)]),placeholder:v(1482),className:"w-full h-48 p-3 border border-gray-300 rounded-lg font-mono text-sm resize-none focus:outline-none focus:ring-2 focus:ring-blue-500"})]})]})})]})})})};Me[a(1820)]=Or,Me[a(1829)]=i5,Me[a(1341)]=$a,Me[a(1558)]=Yr,Me[a(785)]=sr,Me[a(1630)]=Yx,Me.PropertyPanel=_a,Me[a(971)]=xr,Me[a(1957)]=tr,Me.createDefaultNode=ar,Me[a(1269)]=Lx,Me[a(1257)]=Mx,Me.eventBus=lt,Me[a(2135)]=or,Me.initMaterials=cr,Me.useEditorStore=He,Object[a(570)](Me,Symbol[a(2206)],{value:a(1182)})});
27
+ hover:file:bg-blue-100`})]}),d[y(2e3)](y(261),{className:y(491),children:"或"}),d[y(1406)](y(261),{children:[d[y(2e3)]("p",{className:"mb-2",children:"粘贴 JSON 内容:"}),d[y(2e3)](y(330),{value:U,onChange:F=>W(F[y(1552)].value),placeholder:"粘贴 JSON 内容...",className:"w-full h-48 p-3 border border-gray-300 rounded-lg font-mono text-sm resize-none focus:outline-none focus:ring-2 focus:ring-blue-500"})]})]})})]})})})};Me[s(647)]=Or,Me[s(1535)]=ig,Me[s(924)]=_s,Me[s(1507)]=jr,Me[s(1502)]=sr,Me.NodeRenderer=Ex,Me[s(1047)]=Js,Me[s(191)]=tr,Me[s(1157)]=nr,Me[s(659)]=ar,Me.createDefaultStatus=Lx,Me[s(441)]=Mx,Me[s(1999)]=dn,Me.findActiveStatus=xr,Me[s(1039)]=ir,Me[s(335)]=Te,Object.defineProperty(Me,Symbol[s(1354)],{value:s(1615)})});