jch-config-editor 1.0.26 → 1.0.28

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,10 @@
1
- (function(P0,l){const D=_0xad4d,p=P0();for(;;)try{if(parseInt(D(350))/1+-parseInt(D(980))/2*(parseInt(D(1076))/3)+parseInt(D(414))/4+parseInt(D(1519))/5*(-parseInt(D(1957))/6)+parseInt(D(480))/7+parseInt(D(2039))/8+-parseInt(D(1035))/9===l)break;p.push(p.shift())}catch{p.push(p.shift())}})(_0x423b,208490),(function(P0,l){const D=_0xad4d;typeof exports===D(2036)&&typeof module<"u"?l(exports,require("react/jsx-runtime"),require(D(1448)),require(D(1466)),require(D(1764)),require(D(1589)),require(D(2064)),require(D(404)),require(D(1264)),require(D(1142))):typeof define===D(1646)&&define.amd?define([D(830),D(449),D(1448),D(1466),"@ant-design/icons",D(1589),"immer",D(404),D(1264),D(1142)],l):(P0=typeof globalThis<"u"?globalThis:P0||self,l(P0.ConfigEditor={},P0.jsxRuntime,P0[D(1750)],P0[D(1466)],P0[D(1196)],P0[D(1589)],P0.immer,P0[D(404)],P0[D(802)]))})(this,function(P0,l,D,p,y0,to,Kt,k0,Zt){"use strict";function _0x423b(){const P0=["x19LC01VzhvSzq","yMvMB3jLC3rHCNq","Bs9ZWRi","sxrLCMfIBguGy2fUBM90igjLig51BgW","C3vIC2nYAxb0Aw9UCW","Aw5qCM9NCMvZCW","ChjLDMLVDxntAwjSAw5N","qwXPz25sAwDODe91DgXPBMvK","DxnLq29UDgv4Da","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","yxv0B1bHBK9UtM9KzurYywC","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","y3vYCMvUDfn0yxr1C0LK","mde1","zxjYB3iWmtu","CMvHy3qTzMXVD19FyxjPys1SAxzL","5zcm57QN5ywZ57o7","5lIl5lIa5Q2L","u3DHCe91DgXPBMvK","C2fTCgXL","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","lIbozxCGCg9ZAxrPB24SihG6ia","ywjZ","zNjVBNq","qxjYB3DvCa","iZeZyZjJmG","5z6c55U057+76l2S","54MP5PAz5BQt","Aw5PDgLHBfrLyxjKB3DU","zgL2","zhjHz2DHyMXL","DxnLCLnLBgvJDgLVBLjLy3q","Bw91C2v1Cc56B29T","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","576K57Ue6iQc54k5","CgfNzvK","BwLUwq","z2v0rwrNzuLK","yM90Dg9TlxjPz2H0","5PI+56s6572r5Qc8","D29YAW","Bw91C2vKB3DUlNPVB20","yw5PBwf0zwq","y2HYB21L","y29UBMvJDgfIBgu","C291CMnLug9ZAxrPB24","y3vYCMvUDenHBNzHC0LK","Dw5YzwDPC3rLCKv2zw50qMXVy2S","DxbKyxrLq29UBMvJDgLVBG","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","zhjHz0HHBMrSzq","B25dBgLJA0nVBM5Ly3rfBMq","DhLWzq","CMvHy3qTzMXVD19FBM9Kzq","5OYb57UT5PE26zE077Yi56Es77Yj","tM9Kzsb0ExbLici","DxnLsw1WzxjHDgL2zuHHBMrSzq","C3r5BguT","zgvMAw5LuhjVCgvYDhK","zM9JDxnHyMXL","yxjPyvjVBgu","C3r5Bgu","CgfYzw50rwXLBwvUDa","BNvTyMvY","x25Vzgu","mda1","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","AxnwywXPza","B25ZzwXLy3rZDgfYDa","Aw5WDxq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltiGBwiTmW","twf0zxjPywXqyw5LBa","DMLLD3bVCNqT","B3jPz2LU","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","uMvHy3q","BM9KzxngB2n1C2fIBgu","zgvMyxvSDhm","AxrLCMf0B3i","B25fzgDLC0nOyw5Nzq","AgLZDg9YEq","rM9YBq","C2vSzwn0Aw9U","CgfUwM9VBq","rgf0yvbVB2XnB2rHBa","5RE75yQG5lQl5lU25z2x","C2v0uhjVCgvYDhK","zNjVBu5Vzgu","BwfYA2vYvw5PDhm","qgfUDc1KzxnPz24VAwnVBNm","zhjHzW","zgvMyxvSDfzPzxC","B3DUzxjeB2n1BwvUDa","zwXLBwvUDhntzwXLy3rHyMXL","CMvUzgvY","D2HLzwW","Aw1Hz2uV","zMXLEcbMBgv4lwnVBa","y2fUy2vS","uMLNAhrpDxrSAw5Lza","54Q25Ocb5yIx6kgO","ywn0AxzLu2LIBgLUz0DYB3vWswq","iIbYEd0InciVpJWVC3zNpG","lwnHBNzHCY0","DhjHBNnSyxrLwq","ywjZB2X1Dgu","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","i2iXyJfInW","qxjYB3DsAwDODa","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","yxr0CI4","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","x2v4Axq","yxv0B1bHBLnWzwvK","yM9YzgvYuMfKAxvZ","BgLUzvr5Cgu","zw1PDa","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","ioMHUsK","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","iZHJogm4yW","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","CMzFx2vKz2uT","zxzLBNrcBg9JA0LK","C2v0vhjHBNnSyxrLrxH0zw50","rxLLt3v0BgLUzwq","BwvHC3vYzwq","BM9KzuvSzw1LBNq","yxjNCY4","zMLUza","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","CMvWBgfJzq","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","zgf0ytPPBwfNzs9ZDMCREg1S","y2HLy2TfCxvHBgL0Eq","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","y29TCgXLDgu","Dg9ju09tDhjPBMC","C2v0vgLTzq","BMf2AwDHDgLVBLn0ywnR","CMv0DxjUigfYz3m7","y2vPBa","57Ur5A6A5yc8","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","5BEY5OMR5O+p","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","q29UBMvJDgLVBKXPBMu","A2v5zg93BG","mda5","5PYa5Bcp6ycp5PIo5BQM","ltuSltqGmcWWic01ldq","ChjVDg90ExbL","DxjSkcm","BM9Kzvr5Cgu","z2v0uhjVDg90ExbLt2y","zgjSy2XPy2SUEM9VBq","u3rYywLNAhq","jsWG","57Ut5P2F5zgO","5BYa5AEl5PE26zE0","x+wjR+ACRa","5B2t5yMn54Q25OcboG","DhjHBNnMB3jT","C3bHBG","mNb4ihnVBgLKicmXodKWzMy","y2HHBMDL","zxHWyw5Kzwrszwn0","57Ur5A6A5PwW5O2U6zUg","y29WEu9UrhvWBgLJyxrL","6k+36ycj5OUP5PEL5PYF","x2LUBMvYu3vIC2nYAwjL","y292zxi","DgfYz2v0q2fUDMfZswq","B2zMC2v0v2LKDgG","BgfIzwXtDhLSzq","Bg9N","Ac1MDwXSigzSzxGGzMXLEc1JB2W","57Ur5A6A54MP5PAz","yNvPBhrPBKLK","vxbSB2fKt3v0BgLUzwq","yxnZzxj0AxzL","5A+85ywL55s75BId","zgfZAgvK","u2vSzwn0","y29UDhjVBhmUyxjPyuXHyMvS","B25nB3zLrw5K","6ycj5OUP54MP5PAz","BMv3","C3rHCNroB2rLwa","z2v0qxr0CMLIDxrL","57Ut5P2F5A+86kEi","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","zwrNzuLUzgv4","C2LTCgXLyMv6AwvY","6ycj5OUP5PAW54MP5PAz","Bw91C2vfBNrLCG","5yIG6zMK5PAh5lU2","CMvHy3qTzMXVD19FBM9Kzs0","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","Dw5RBM93BIb0ExbLoIa","B3bZ","CMDIysGWldaSmcWWkq","z2v0rgf0yq","C2HPzNrlzxK","y29UDhjVBeLUzM8","AxntzwXLy3rHyMXL","6k+36ycj5OUP55UU5Qch55s75BId","C3rHCNrizwLNAhq","5Asw6yoO5lQl5lU25Qch6k+g","Dg91y2HZDgfYDc56B29T","twfYA2vYihr5CguGiG","yxbWBhK","Dw5ZDwjZy3jPyMu","yMfJA2DYB3vUzenVBg9Y","DhjHBNnSyxrLkc0","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","tgvMDa","5PAW6iQc54k5","BM9Kzxm","5Asn5yI26lEF6zQp","C29YDa","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","zwrNzq","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","y3vYC29YlwDYywi","C2vSzwn0","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","57Yw6l6r5lQl5lU25z2x","AxnbCNjHEq","5PQc5PEG5zcm57QN5ywZ57o777Ym54k55yE744cm5PAW5BU644cn5BYa5AEl","C2nHBgvyka","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","wM9VBsbpDxq","yMLUza","vevyvefsrue","mtjWEcaW","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","ywjZB2X1DguGDg9WltaGBgvMDc0W","zxjYB3iWmdi","C3rHDhvZtgLZDa","zwrNzuXVB2T1Ca","y29Z","u1fsvdi","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","DhjPz2DLCK5Vzgu","CgfUu2nYB2XSvgLTzw91Da","ywX0s2v5","5BYa5AEl5BM05lU9","CMvNAxn0zxjfDMvUDejSB2nR","lwzSB3DFx25Vzgu","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","EhKTzwrNzv9F","C29Tzq","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","Aw1N","mtaWjq","zgLZywjSzwq","CMvQzwn0","Aw5ZDgfUy2u","5y+V5O6s5BQp","CMvHzefZrgf0yvvsta","BM9YBwfS","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","Cg9PBNrLCLG","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","B25oB2rLrhjHz1n0yxj0","DxnLtwvTBW","DMfSDwvZ","teLorq","zgvSDgfy","yM9VBgvHBG","yxnpyNnLCNzHyMXL","C3rYB2TLv2LKDgG","zxzLBNrgBg93","Dw5KzwzPBMvK","iwjNlwjSDwuTntaW","CMvSyxrPDMuG","57Uy5yI25lIT","tsaYmcaWieWGmcaWidaGmJa","CMvHy3qTzMXVD19FzwrNzs1WyxrO","nK1sBfPuBW","5P2Hl+MHTq","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","DMfSAwq","rgf0ywjHC2vpDxrSAw5Lza","5zcr5yMniduG6Ag1","ANn4","54k55yE75yI35PAW","BwfYA2vY","ltuSltqGmcWWic01ldqGltuSltq","B2jZzxj2zq","B25oB2rLrhjHzW","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","mdaY","y2fSBgjHy2S","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","Cg93","y2LYy2XL","BgfIzwW","5z+656ga5B2I54Q2","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","C3rHDhvZ","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","mdaX","z3jPza","vgLTzw91DevYCM9Y","BxmGzwfZzs1PBI1VDxqGAw5MAw5PDguGywX0zxjUyxrL","rgL2AwrLCG","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","z2v0qxr0CMLIDxrLtLm","77Ym5AsA5ywL6l6555sOia","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","zxzLBNq","qxjYB3C","lNn2zW","B25dB25Uzwn0u3rHCNq","Dg9izxHtDhjPBMC","ywrK","zM9YBwf0shnS","y2fUDMfZswrZ","tufyx1zbtfvf","ihSGmcuGEYbVCgfJAxr5oIa","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","u2f2zu91DgXPBMvK","B3bLBG","C2LIBgLUz0DYB3vWCW","CMvTB3zLqxr0CMLIDxrLtLm","Ag9YAxPVBNrHBa","B25fzgL0","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","zxzLBNruExbL","vgfN","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","AgfZt3DUuhjVCgvYDhK","z2vVBwv0CMLJuhjLy2LZAw9U","Dhj1zq","rwrNzvrLEhq","z2v0uMvHzgvY","x19KyxrHx18","C2vJB25Kyxj5","yxrHBJi","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","i2vImMy5nG","ttaGmgGZmNy0lJjimhO","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","tgLUzxm","C3vIC2nYAwjL","zxzLBNrgBg93rgf0yq","rw1WDhK","Dg91y2HZDgfYDa","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","rwrNzvjLBMrLCMvY","rxzLBNq","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","BwfYA2vYu3rHCNq","B2jQzwn0","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","y29UzMLNrwrPDg9Y","mJq1ntaYneD3ENDTvG","Aw5PDev2zw50","zxHLy3v0zuzSB3DoB2rLCW","6BYG5Qch6yEk5Ps+","C2nHBgu","ufjpuevsvfLFq0HbtKDf","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","zgvZDhjVEq","CMvHy3qTzMXVDW","5Asn5yI26iQc54k5","zxzLCNK","x196B29TAw5N","iokaLca","5PEG54Q25Ocb","qxjYB3DdBg9Zzwq","54Q25Ocb5PwWoIa","AxnwAwv3","zgvMyxvSDevKz2vpChrPB25Z","5PQc5PEG5PwW5O2U","B2zMC2v0","zgvSDgfz","Bg9JywW","yMfJA2DYB3vUza","C3rYAw5N","Aw1Tzxi","ChGS","y3jLyxrLrxzLBNq","DhjHBNnSyxrLwcGTntaLkq","i2zHogmXnG","q3vZDg9TrxzLBNq","y29UBMvJDgLVBK1Vzgu","jhbYzxyU","DMvYDgLJywW","CMvHy3qTzMXVD19FzwrNzs0","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","zgf0yu1HChbPBMC","DgLTzq","AM9PBG","Bwf0CML4vhjHBNnMB3jT","BwiTmG","Dg91y2HLCW","i2zMngq0zG","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","zhjHz3n0yxj0lMrYywC","AxntDg9WCgvK","DhjHBNnWyxjLBNq","ChGSia","Bwf0zxjPywW","5zYg6kEs55+P5B2I","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","DgLTzxjjza","mta4ma","zxHLy3v0zuj1AwX0Aw4","5Qch562+5Qc35BYp","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","Aw5JBhvKzxm","B25oB2rLC0rLBgv0zq","BgLUzs1KCMf3","yM94lxnLBgvJDa","C25HCeDYAwq","DMfSDwvdB2XVCG","zMLSDgvY","iIbYEd0ImJaIlZ48l3n2zZ4","zg9JDw1LBNq","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","5PwW5O2U6zUgia","57ky6ls0iePtt04G5yAf5A65lI4U","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","Cg9PBNrLCKLK","6iQc54k55PwWoIa","C2vSzwn0zwroB2rLCW","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","Aw5Uzxjive1m","C2nHBgvcEq","u3bHy2u","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","C3rVCfbYB3bHz2f0Aw9U","B25qB2LUDgvYrg93BG","C3vWChjLC3nLza","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","5OUw5OU96lcd5Pw05AsN5Bcp","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","BM9VCgvUzxiGBM9YzwzLCNjLCG","C2nYB2XSvg8","BM9KzxneCMfNz2fIBgu","x3rPBwu","zgf0yq","CMvUyw1L","zMXVB3i","y3vYCMvUDe9IC2vYDMvYCW","y2fUDMfZ","uMvHy3qGrMXVDW","CMvZAxPLrgLYzwn0Aw9U","BwLU","y2XPzw50wa","y2XPy2SUzhjHzW","C2HPzNq","AgfZvMfSDwu","5A+85ywL57Ue5Ocb5PA55Qgi","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","ChjLCgfYzuv2zw50qxjNCW","5A2x5l2t5AsN5Bcp","zxHW","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","ChjLDG","Cg9W","CMvM","qxjYB3DeB3DUt3v0BgLUzwq","DMfSDwvtB3vYy2vdB2rL","mI4WlJa","DxnLrwrPDg9Yu3rVCMu","CgfYzw50tg9VA3vW","B25tzwXLy3rPB25eCMfN","y2HLy2TIB3G","Aw52ywXPza","AxnfzgL0Aw5NrxzLBNrgBg93","zg9TywLU","CMvHzg9UBhK","zMLYC3q","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","ywn0AxzL","x25LEhq","ksb0CMfUC2XHDguO","zMXVD0rHDge","BgLUzujVEa","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","5OMN6kgm5PA55BYp","5BgE5OcN6z2I5P2/","qMv6AwvY","lte0ChG","DxjSkcCJ","5zU+54Mh5zcn56EW","CMzFx2jHy2TNCM91BMq","C2v0uhjVDg90ExbLt2y","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","y2fUDMfZzxm","5lIk5A+56B2q","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","DgHPy2TUzxnZ","zg93BG","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","6lw354k5ifK","C3bHy2u","vevyva","BM93","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","B25dB25Uzwn0rw5K","5PAW5BU655s75BId","zxzLBNrcBg9JA3m","zgf0ys1Oyw5KBgvPza","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","u3vWChjLC3nLzevYCM9Y","Dgv4DgfYzwe","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","D2LKDgG","C29SAwq","EfnUyxbWzwq","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","zwXLDMf0zu5VzgvZt25tzwXLy3q","Bw91C2v1Cc5KCMfN","DxnLuMvM","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","rxnJyxbL","zwrPDa","CMv0DxjUihrYDwu7","DhjHBNnSyxrLrxH0zw50","6k+35AgR5yAz5zcn56EW","5lIk5lYGifnwrW","mtu5ndy1v2riq2vR","C3rHCNruCMfUC2L0Aw9U","tw92zwqGC2vSzwn0zwqGBM9Kzsa","ru1qvfK","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","DgfYz2v0ug9ZAxrPB24","z2v0","BgfIzwXgB250u2L6zq","yM91BMreyxrHC2v0qMLUzenVzgu","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","z2v0u3rHDgu","zgvMyxvSDe5VzgvZ","BMv3wq","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","Aw52B2TLuNvUDgLTzuHHBMrSzxi","ywn0Aw9UCW","zg9Tqxr0CMLIDxrLCW","57Uy5yI25QIH5BYp","BgLZDgvUzxi","qMv6AwvYrwrNzq","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","BwiTna","tgLZDa","5ywO6ycj5B2t6Ag1","DMLLD3bVCNq","su1br0u","B25tzwXLy3rPB25eCMfNu3rVCa","6iom5PMV5zU+54Mh","5RE75yQG54Q25Ocb","AxnwywXPzenVBM5Ly3rPB24","Bwf0y2HLCW","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","iZe4otbMzG","Aw5KzxHpzG","C3rHCNrZv2L0Aa","CMvZAxPL","CMvHy3qTzMXVD19FzwrNzq","C25HCfrVr3jPza","AgfZqxr0CMLIDxrL","BgLUzurYyxDPBMC","y3jLyxrLrwXLBwvUDe5t","Bw91C2vTB3zL","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","zgLZCgf0y2HfDMvUDa","qM90Dg9T","C3r5BguU","Bw91C2vKB3DU","yMfJAW","AgLKzuf0DhjPyNv0Aw9U","B2jZzxj2zxjZ","BMfUB2LK","CgfYDgLHBe9IC2vYDMvY","tK9erv9eruXfveu","C2vSzwn0ywjSzq","CMvSzwfZzuXVy2S","EwvSBg93","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","wM9VBuLUt3v0BgLUzwq","B25nB3zLu3rHCNq","q29WEu91DgXPBMvK","mJa5mdyWDLvvAuvN","5y+V6lcd5Pw05AsN5Bcp","ioMHUEw/HEMHU+AyR+wVUEIXOq","DxbKyxrL","BM9eCMfNq2XHC3noyw1L","5lQl5lU25Rwb57Yw6l6r5zMO","z2v0uhjVCgvYDhLwywX1zq","D2fYBMLUzW","zgvZyW","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","rxzLBNrgBg93qMLUzgLUzW","CMvXDwvZDefZEw5Jswq","C3zNigXPBMu","BgfZDeLUzgv4","zwrNzxm","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","C2vSzwn0zwroB2rLswq","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","C21VB3rOC3rLCa","B3b0Aw9UCW","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","CMvTB3zL","q29SDw1UsgvPz2H0t3v0BgLUzwq","CMvZAxPPBMC","mNb4igrHC2HLzcb0CMfUC3bHCMvUDa","5yQO55s76ywn572U","C3rYAwn0","5y+Z5A+56B2q","ChvYCgXL","CM90yxrLka","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","AxnjBNrLCM5HBa","zM9UDfDLAwDODa","CMvHy3qVANn4lxj1BNrPBwu","DxnLrM9YBq","cIaG","5lIl5lIa5lIw57QQ","zMLYC3rdAgLSza","lMfUDc1ZzwXLy3qTzhjVCgrVD24","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","zw5KC1DPDgG","yxjNCY5WCMv2mq","sw5WDxroDw1Izxi","Aw5MBW","6zEQ54ob5zgO5PYFkg1Zkq","5A+85yE65B2t5yMn55s75BId","566H55cg55s75BIdlI4U","CMvZDwX0","z2v0q29TChv0zwrtDhLSzq","DgvZDa","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","y2fUDMfZq29UzMLN","Cgf0DgvYBI0","zxjYB3iWmta","B2jQzwn0ihvUC3vIC2nYAwjLza","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","5PwW5O2U5RgG","57+75yIW5lIk5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","Bwf4wM9VBq","6iEQ5A6A5lMj","Cg9PBNrLCG","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","AxnqCMLTyxj5","y29SB3i","mtm2mta0nuz2y0fuyW","zMLSBenVBg9Y","zMXPCfK","yxn5BMnjDgvYyxrVCG","C3LUyW","zxjYB3iWmdG","rgvSzxrL","B25gAw5HBgL6zq","C3rVCa","yMCTz3jHEs0Xmda","zgf0ys4","Aw50zxjWB2XHDgu","yMXPBMS","C3jJ","BM9Kzu5HBwu","6k+36ycj5OUP5PYi5lU9","CMvJEwnSzufZEw5Jswq","zM9JDxm","y29UDgvUDa","y29UDgv4De1LBNu","Ag92zxi6yMCTz3jHEs0Xmda","CgLWzq","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","5PAh5lU25Qc85BYp6zsz6k+V","CMvHzefZvgv4Da","BMv4DfnPyMXPBMC","57Ui54k5ifG","DxnLzfjPz2H0tw91C2vcDxr0B24","Dgv4Dc1NCMf5ltGWma","zg90CW","CMvTB3zLqxr0CMLIDxrL","5Rc05BMZ5yIg5BId","CMvJDa","yxv0B1bHBK9UtM9KzuzVy3vZ","6lEZ6l2SoIa","57ky6ls0iePtt04G5yAf5A6577YA","zgLZywjSzuTLEwjVyxjKqteXEq","BgLUzvDLAwDODa","x19VBG","vhjHBNnMB3jTv3jHChbLCG","CgfYC2u","BM9YBwfSu3r5Bgu","ug9Wy29UzMLYBq","5Pw05z2x6l+u5zUE5yc8","5yc85P2L5RQq","BM9Kzuv2zw50qMLUzgLUz3m","xhmQkfSRlv0/xgqRkvXZkG","sw5WDxq","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","BxqTncbMBgv4igP1C3rPzNKTzw5K","C3rLCfbVC2L0Aw9U","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","BM9KzxndB25Uzwn0ywjSzq","Bwf4wq","Bw9Kzq","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","twv0yq","DgL0Bgu","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","zxzLBNrcBg9JAW","y29UDgv4Da","lteWic0XmcaYmcaYma","5yIG6zMK5ywO6yoO","BM9qyw5dBgfZC05HBwu","u3rLCa","CgfYzw50","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","C2vSzwn0zwrfzgDLCW","vxbtCxvHCMvpDxrSAw5Lza","y2HHBMDLzfrVDwnOzxm","C2nOzw1LxW","rg93BLnXDwfYzu91DgXPBMvK","twfJ","BgLNAhq","CMv0DxjUigzHBhnLoW","tgvMDe91DgXPBMvK","Bwv0yq","t3b0Aw9U","5y+n6ycj5B2t6Ag1","y29UDhjVBa","zxjYB3iWmtm","576K57UexW","5ygh5OoZ57Q/","u2vSzwn0t3v0BgLUzwq","Dgv4Dc1NCMf5ltqWma","BM9Kzs1IBgLUAY0","zML0vMLLD09WDgLVBNm","ywzMzwn0C1G","ChjPBwfYEq","qNv0Dg9U","mc4X","DxnLrwzMzwn0","CMvHy3qTzMXVD19Fy29UDhjVBhm","vgHLig9SzcbLzgDLihDPDgGGAwq9","y2XPy2TeAxn0yw5Jzq","Aw5KzxG","Bw91C2vcDxr0B24","6iQc54k55zcn56EW","CMzFx25VzguT","ChjVzhvJzq","x19UzxDFxW","Dg91y2G","DhjHBNnPDgLVBG","B250B3vJAhn0yxj0","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","yMfZzvzHBa","C3bSAwnL","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","EMGTy24","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","CMvZzxrgAwvSzhm","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","BwiTma","sgfUzgXL","yxrHBG","w1jLywn0iezSB3DDoIa","BwvTBW","5A2x5l2t57kx57Ug","BM9Uzq","x190CMfUC2L0Aw9U","B25tzwXLy3rPB25eCMfNu3rHCNq","EvnUyxbWzwq","BM9KCMfN","57+75yIW5lIl5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","iZCYmMvKmq","zMXLEc0X","y3jLyxrLrgvMyxvSDe5Vzgu","5PEl6l2S6kEs5BQM77Yi5BQM77Yj","zxH0zxjUywW","AxndBgLJA2fIBgu","CMvTB3zLrxzLBNrmAxn0zw5LCG","5Asn5yI26iQc54k55PE25PIV5zcM6l+E5BIM5Asn5yI25PYS5lQl5lU25Rwb","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","zM9YBwf0uMDI","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","BMv3wa","5zU+54Mh5zYW5z2aicHZCMmP","BwvYz2u","D2HLzwWUEM9VBq","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","44cn77YA5lIk5RI4","5Rc05BMZ57+76l2S","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","Bw0VCW","C3rHCNqUEM9VBq","5A+85ywLiePtt04","zgvNksa","yMfZAwm","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","zgvMAw5LuhjVCgvYDgLLCW","BwfW","zxHLy3v0B3juExbL","yM9YzgvY","Dg91y2HTB3zLlMrYywC","CgfUzurYywDNAw5N","BM9Kzu9YAwDPBG","CgfYzw50swq","BM9KzuLK","yMX1zq","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","CMvTB3zLq2HPBgq","EMHFq04","y29UC3rYDwn0B3i","C2LIBgLUz3m","57Ui54k5ifK","BM9Kzvr5CgvZ","5RIq5y+y6iMY","B25fCNjVCG","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","B25ezwXLDgu","idaGvG","57Ut5P2F5PE26zE0","B25oB2rLrg91yMXLq2XPy2S","C3bHy2uTEs00","55s75BId5A+85ywL5OIq5yQF77Yb","BgfIzwXgB250v2vPz2H0","BgLUAW","DgHLBG","AgfUzgXLqM91BMrZ","z3jHyG","Cg9PBNrLCLK","5zcr5zcoiduG6Ag1","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","zMXLEa","AxnszxnPEMfIBgu","Aw5PDe1HDgvYAwfSCW","zgf0ys1UB2rLAwq","zgf0Dw0","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","zxH0zxjUywXiyw5KBgvYs2v5","C2nHBgvy","y29UDgvUDgvKAxrHyMXL","DhjHBNnSyxrLka","Aw5SAw5Lu2nYAxb0","y3vYC29YlxbVAw50zxiGBwiTma","CMvHy3qTzMXVD19FCgfUzwW","zgvZDgLUyxrPB24","vgfICW","CMvHy3qTzMXVD19FAgfUzgXLlq","5lIk5lIa6Ag1","Dgv4Dc1NCMvLBI02mda","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","q29SBgfWC2u","CgfYDgLHBa","z2v0u25HChnOB3q","AxnAB29TAw5Nt3jqyw5UAw5N","twLUAsbnyxa","AxndB250zw50rwrPDgfIBgu","C2vSzwn0zwq","vg9VBhrPCa","5PYQ55+L5yAf572U5yQO5l2CoIa","DxnLrgvIDwDwywX1zq","y2XLyxjjBNrLCNzHBa","ugfYzw50ig5VzguG","CMfUz2u","zgvNkq","C291CMnLrxzLBNq","5OM+5lIn5yIW5lQl5lU25z2x","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","DhjHBNnSyxrLwa","C2v0vMLLD3bVCNq","B25oB2rLq29UDgv4De1LBNu","yxr0CLr3zwvU","C2v0rMLLBgrZvMfSDwu","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","yxnZAwDU","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","mxb4ihnVBgLKicnKowq5zdK","BwvZC2fNzq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","Bg9HzgLUzW","qxjYB3DvCe91DgXPBMvK","AwXSzwDHBcb0ExbLoIa","C2v0u2nHBgvfEhrLBNq","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","zxzLBNrtDwjQzwn0CW","B2jZzxj2zwq","rwrPDe91DgXPBMvK","CMvHy3qTzMXVD19FzwrNzs10zxH0","zMXPCfG","zM9UDfnPEMu","Dg91y2GX","B25dB25Uzwn0","Dg91y2HLBMq","twfYA2vYrgvMAw5PDgLVBNm","5Asn5yI25lIn6lEF6zQp","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","zMXLEc0Xig1PBI13lta","Dg91y2HTB3zLlNPVB20","CMzjza","57Q/5A6977Yi5yop57sG77Yj","zxjYB3iWmdm","C3r5BgvuD2vLBG","zNjVBuHHBMrSzq","55s75BId6ywn572U","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","oYb9ideWmcuGEYbVCgfJAxr5oIaXoYb9ih0","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","BgLI","C3rYAw5NAwz5","AgfUzgXLCG","Dgv4DenVBNrLBNq","xNjNyLWO","iZaWmtKZqW","y3rYBeTLEq","Cg9SEwXPBMu","BxqTna","y2XLyxi","Dw5IAw5KtM9Kzuv2zw50","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","C2nOzwr1BgvY","CMv0DxjU","y29UBMvJDgLVBG","iZu5ntK1oq","6k+35Rgc5Qch6k+g","6zw/54k5lEEFREEcUEs6PoABVW","yNvPBhrPBG","zg91yMXLq2XPy2S","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","zxjYB3iWmte","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","y2XHC3m","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","vgLTzw91DcbOyxmGB2nJDxjYzwq","CgfNzvG","ksbZy2fSzvKO","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","y2XPzw50vg9W","CMDIka","C2v0tM9Kzuv4DgvUDa","AgfZ","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","i2y1mJiYza","6k+36ycj5OUP5BM05lU9","C3zN","5ywO6ycj5OMa5PYj","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","5BYa5AEl5PEL5PYF","DgfNtMfTzq","6BYG5Qch56E75ywL","C2nHBgvz","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","zMLUywXPEMu","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","77Yi5y+V6ycj77Yj","zgf0yvjLCxvLC3rlzxK","5Asn5yI25OIq5yQF","Aw52zxj0wa","xcKK","EKLUzgv4tw9Kzq","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","yxv0BY1ZDgfYDc1YzxzLCNnL","5Rwp6kEi5lIT","Bw92zq","q1vtve9n","uMvHy3rAB29TugfUugLUy2G","sxrLBq","q29UDhjVBa","zgLZCgXHEu5HBwu","ios4QUEkTUAaGq","Dgv4Dc1ZBq","5PAh5PYS5Qch562+","wvLzwq","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","Aw5Zzxj0qMvMB3jL","y2XVC2vK","u3rYAwn0","5PAh5lU25lIk5lYG5lIT","q3jVC3m","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","5lQl5lU25Rwb57Ur5A6A","6BYG5Qch5OYj5lIl","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","ioADOEwfPEI+UsdIHPdJGiW","A2v5","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","yM90Dg9TlwXLzNq","Bwf0y2HnzwrPyq","DxjSka","yM91BMreyxrHC2v0qMLUzfzHBhvL","q29UzMLNrwrPDg9Y","5yIG6zMK6ycj5lITicHezwXLDguP","CgfUqNK","zxHWB3j0CW","x2nHBgW","zg93BMXVywq","6yEn572U6kEg5zU+","zw50zxi","zxzLBM9Kza","ios4JEwTMowCQa","C3rHDhvZswq","y2fSBa","DgHYB3DUrxjYB3i","CM9VDfbHCMvUDeLUzgv4","Bw91C2u","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","AxntzwXLy3rLza","CM9VDa","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","DxbKyxrLtM9Kzq","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","DMLZAwjSzq","C2TLD1GO","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","sw1Hz2u","DgfYz2v0","5Qch6k+g5lIn6io95lI656M6","5y+V6ycj5lIT","zhjHz2DPBMC","CgHHBNrVBq","B3jPzw50","vw5ZDwjZy3jPChrPB25fCNjVCG","DxjSkcnNCMLKkq","u2LTCgXLqMv6AwvY","DgLTzxi","mtKYma","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","zgvZy3jPChrPB24","zwrNzxnszwnVBM5Ly3rHyMXL","ChGP","57Ue5Ocb57Yw6l6r5zMO","y29TBw9Utg9JywXL","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","BwfYz2LU","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","Dgv4Dc1SzYbMB250lw1LzgL1Bq","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTyMv0D2vLBIbWEc00ihb5lti","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","BwLUt3bHy2L0Eq","zwXLDMf0zuvKz2vZt25tzwXLy3q","tM9Kzsb3AxrOigLKici","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","C3vJy2vZCW","z2v0qM91BMrPBMDdBgLLBNrszwn0","uhjVCgvYDhLqyw5LBa","BM9KzvG","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","lI4U","x2HHC1bHCMvUDa","5Pon5l2C5OIq5yQF","yNvIyMXLCW","Cg9PBNrLCI1LDMvUDhmTyxv0BW","AwrLBNrPzMLLCG","yMCTD2HPDgu","zgLZDgfUy2u","x25HBwvZ","Dg91y2GW","u3rYywLNAhrfzgDLsw50zxjUywW","zhvYyxrPB24","CMvZB2X2zq","yM90Dg9T","y2XHC3noyw1L","yxjPyuXHyMvS","y2XLyxjbBgW","zgf0yvrYyw5ZzMvY","lMPZB24","Bw91C2vmzwf2zq","Dg9mB3DLCKnHC2u","Bw9KztO","C2nHBgvfEhrLBNq","5y+V54k55yE7","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","DgfYz2v0sgfUzgXL","q29SDw1Uv2LKDgHpDxrSAw5Lza","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","BgfIzwXdB2XVCG","zgv2AwnL","x3bHCMvUDhm","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","tM9KzsbVBKnSAwnRoG","zw5K","AxneCMf3Aw5N","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","Cgf0Ae9WDgLVBNm","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","C3rHCNrz","vg9Nz2XLieLUDgvYywn0AxzPDhK","qMv6AwvYrwrNzuLUDgvYBMfS","BM9Kzq","C3rYB25N","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","C3LTyM9S","C2v0u3rHDgu","5Asw6yoO5lQl5lU2","ANn4CW","u3rLCevKz2vjBNrLCM5HBa","zgfYAW","x196B29T","AhjLzG","zwrNzvf1zxvL","Dhj5CW","yxv0BW","yxbWzw5Kq2HPBgq","DhjPz2DLCK5VzgvdAgfUz2vZ","57Q/5P2H57Uy5yI2","lwzSB3DFx2HHBMrSzq","y2XPzw50wq","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","ChGPihnJywXLka","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","tK9erv9truXfq1q","zxHWCMvZC2LVBG","zMLSzq","i2yWzJbMma","Aw5SAw5LlwzSzxG","zxzLBNrsB290CW","su5qvvq","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","cIaGicaGicaG","C2TLD1G","Aw50zxjUywXZ","zgf0yvjLCxvLC3q","ios4QUIkGUEcUq","DxnLCK5Vzgu","y2HPBgrYzw4","DMLLD3bVCNrjBML0AwfSAxPLza","CMvZB2X2zuzSB3DfDMvUDejSB2nR","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","y3jLyxrLq29UDgv4Da","ywXS","B25nB3zL","y2fUDMfZxW","DMfSDwvgB250u2L6zq","C2v0vhjHBNnMB3jT","5ywZ6zET6kgm","DgHHDa","y2XVC2vKlq","77Yi5BEY5yIG6zMK77YA","Bw91C2vpDMvY","vxbSB2fK","C2vSzwn0zwroB2rLswrZ","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","zgLTzw5ZAw9UCW","nteWrKj3tNrs","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","BgLUzq","C2vSzwn0q2HPBgq","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","6ycj5OUP57Ur5A6A5yc8","ANvTCfrVq2fUDMfZ","tufurvjjquXFu1rbvfvtx0niqu5hrq","BgLUzwfY","x3rOCM93swzdBg9Zzwq","yw50ze1LC3nHz2u","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","54MP5PAz5BgE5OcN","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","sg9YAxPVBNrHBa","z2v0rxzLBNrcBg9JAW","C2v0qxr0CMLIDxrL","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","ChGG","tg9VC2u","y29SDw1U","i2q5zdLKoq","C2vSzwn0q2HPBgrYzw4","zg9Uzq","zw5Kwa","AgfUzgXLCW","zMXLEc1ZDgfYDa","Bwf4vg91y2HqB2LUDhm","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","DhDLzw4","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","57Ut5P2F5PYi5lU9","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","CMvZDgfYDa","BMf0AxzLrxzLBNq","x2LK","zgvMCW","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","5zcm57QN5ywZ57o7ia","Cgf0Aa","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","Dg9tDhjPBMC","w3jVBgu9iMXPC3rIB3GIxq","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","5lIl5A+56B2q","DxnLv2f0y2G","BMuTCMvZAxPL","ig5VDcbMB3vUza","B3DUzxjtvKDfBgvTzw50","C3vIBwL0","5lQl5lU25Rwb5yIB5BU65OIq5yQF","y29TCg9ZzwrqyxrO","Dg91y2HTB3zL","5Asw6yoO5PA55Rov","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","mZiWmJy1uKDlyNfY","CMHV","BM9KzuXVB2T1Ca","iIbKB2vZBID0igv4Axn0lG","Dg9qB3nPDgLVBG","yMfZzwXPBMu","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","C3rHCNq","DxnLu3LUy0v4DgvYBMfSu3rVCMu","x2vYCM9Y","BwLUwa","yMLUzenVzgvZ","Dw5PDa","tw9KywW","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","DMLLDW","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","xNjNyMfCka","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","z2v0uM9VDe5Vzgu","BgLZDa","zgvMyxvSDa","rNjHz21LBNq","5AAc77YA55s15PY65Rwl54k56zUg","Aw5SAw5LlwjSB2nR","5BEY5zcV55sO","ksbZy2fSzsG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","y2f0y2G","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","yM91BMrHCMLLCW","zwfJAa","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","zgvSDgfnB2rL","BwfUDwfS","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","ndu4mu53EeXNDa","ChjLDMLLDW","mcaWidi1idmY","mdeZ","zgfZAc1KB3q","ywrKrxzLBNrmAxn0zw5LCG","C3rHDgu","zxH0zw50","Dw5VyNnLCNzL","5BYa5AEl5A2J5BQM","z2v0vMLLD3bVCNq","Dg9qCMLTAxrPDMu","y3vZDg9T","u2v0DgLUz091DgXPBMvK","ChjVzhvJDgLVBG","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","C3DPDgnOq2fUDMfZ","yxjPyuXHyMvSq29UzMLN","x19KzwzHDwX0x18","5zcn56EW5lIn6io95lI656M6","Cgf0DgvYBG","5PAh5A2x6AkC6iMY","zxH0zxjUywXfDMvUDeTLEq","5lIl6l295PAh5lU2","DxnLCLnLBgvJDgLVBKfJDgL2zq","BwfYA2vYrw5K","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","z2v0sw5ZDgfUy2u","ChvZAa","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","D2fYBG","z2v0sw5PDgLHBfn0yxrL","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","5PAh5PYS5yAf5A65","zgvMyxvSDevKz2vZ","x2jSyw5R","C3bHy2uTEs0Z","EM9VBs53AgvLBa","D2HLzwXezwX0yq","qebVyNnLCNzHyMXL","5PwW57UeicG","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","C2L6zq","B3bLCMf0B3i","C3bSAxq","qxjYB3Dmzwz0","zMLUzefJDgL2zvn0yxr1CW","C2v0qxr0CMLIDxrLCW","6k+35ywi57Ur5A6A5PwW5O2U6zUg","DMfSDwu","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","Dg9iyw5KBgu","Dg91y2GTywn0Aw9U","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","DhjHBNnPDgLVBIa","y2XPy2S","6l+u5zUE5yIx6kgO","5zcm57QN5ywZ57o757Ue","A2v5Dxa","z3jVDxa","y29UDhjVBerPCMvJDgLVBG","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","ugX1C091DgXPBMvK","x+wKJEwiTG","CMvHy3qTzg9T","x2vUDgvY","DxnLCLnWywnLt25vC2u","yw55","BgvUz3rO","y3jLyxrLu1zhug9PBNq","5y+w5RAi5ywO6ycj","qebPDgvYyxrVCG","55s75BId566H55cg","yM91BMreyxrHC2v0swq","DgfWCW","5lIk5lYG5zU+54Mh","5PYQ55+L57g75z6l","x19UB3nLBgvJDa","uhjVDMLKzxi","6ycj5OUP57Ur5A6A5A2x5Q61","zg90","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","ltiWChG","5yIG6zMK5B2t6Ag1","yxjYB3DJBg9Zzwq","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","yxjPyuXPDMvnzxnZywDL","qMfJA2DYB3vUza","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","yMfJA2DYB3vUzeLTywDL","CMvXDwvZDefUAw1HDgLVBKzYyw1L","y29WEq","mtjWEa","y2XHC3nmAxn0","y3jLyxrL","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","5BEY5RE75yQG","C2v0ug9PBNrLCKnHChr1CMu","ue9tsvrjvKvFsu5gsu5jvfK","imk3ia","BNCTCMvZAxPL","Axnoyu4","CgvUzgLUzW","rxHWzxjPBwvUDe91DgXPBMvK","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","BM9Kzvf1zxvL","CgfYzw50tM9Kzq","CxvLCNLtzwXLy3rVCKfSBa","Dgv4Dc14CW","C2vUDa","C3rHCNrbBMDSzq","DMLLD0jVEa","A2v5CW","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","x3zHBhvL","C2nHBguO","x2nVBxbSzxrL","AwnVBNm","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","yM9YzgvYq29SB3i","zMfJDg9Y","6k+36ycj5OUP5zgO","u21VB3rOu3rLCa","qgTLEwzYyw1LCYa","yMX1CG","B2zMC2v0sgvPz2H0","md3MSltLUBpLKjhLJ7pVViW5md3LNOlNM7tLKjhKUiVVViZKU4xNLkJKUO7MOlNMJA7OTBFNGRNLKOZPLB/LUQBPH43MLRdORQhNRPFNU4JNGRK","y2XVC2vZDa","5lIk5lIa5lIw57QQ","C2XPy2u","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","5lQK5O2I6lw354k55zkm57Ui54k5","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","AxngAw5PDgu","qMfJA3nWywnL","6k+36l6t5ywL5PcC57sI5yAf5A65","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","yMXVy2SGDhj1BMnHDgu","Aw5PDgLHBeHLAwDODa","zgv0ywLS","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","5OUw5OU95PEl6l2S","C2uTCMvZAxPL","6ycp5PIo5BQM","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","BwiTmW","54k55yE76zMn5BQp","AgfZrxjYB3i","55s75BIdia","y29UDgfPBNm","z2v0vMfSDwvgCM9Tugf0Aa","54k55yE75y2h5BQp","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","5lQl5lU25z2x5BEY5PU05PAW","CNvUDgLTzuHHBMrSzxjZ","5OUw5OU96lcd5Pw057Ui54k5","iZuYyZqXyq","57Ut5P2F5BM05lU9","y2XVBMvfBgvTzw50","5yQO55s757g75z6l","u2LTCgXLqMv6AwvYrwrNzq","zgv2zwXVCg1LBNq","zxHWyw5KugfYzw50","zM9YD2fYzfjLzG","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","5zYO562B6ycj6Ag55lIT5PcC57sI","6k6+5Ash5zU+5Qch","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","B25oB2rLtw91C2vfBNrLCG","C3rHCNry","zw5KlNn0EwXLlG","y2vUDgvY","Aw52ywXPzcbJywXSyMfJAZOG","C2v0qxr0CMLIDxrLtLm","AhnSka","5PQc5PEG5PwW5O2U6zUg","C291CMnLtgfIzwW","CMvHy3qTzMXVD19FCgfUzq","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","Bwf0zxjPywXZ","5OUw5OU95QIH5BYp","yNv0Dg9U","EKLUzgv4","rw50zxi","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","zM9YBwf0sgv4oa","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","ChjLDLzPzxDWB3j0","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","Bw91C2v1Ca","5A+85yE65OIq5yQF77Yb","y3vYDMf0DxjL","ugfYDgLHBa","zwXLBwvUDezYB21qB2LUDa","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","B3v0Chv0CW","6k+36ycj5OUP6kEM5y+r5PA55BYp","C291CMnLsgfUzgXL","y2XVBMvoB2rL","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","6k+35AgR5yAz6k+35Rgc5Qch6k+g","Cc02","CMDI","q29UC3vTzxi","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","y29Kzq","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","C2vSzwn0C3rHCNqUzhjHzW","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","lNjLywn0lwzSB3DFx3bHBMu","6ycj5OUP5PwW5O2U5A2x5Q61","wM9VBu91De91DgXPBMvK","zw51BwvYywjSzq","y29UDgv4Dg1LBNu","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","x2fKzfbHCMvUDa","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","5lQl5lU25Rwb","C2HVDwXKvw5ZDwjZy3jPyMu","yxjYB3C","AxrLBq","6kEM5y+roIa","y29YBMvY","Bwf4","EM9VBq","x3jLBw92zvbHCMvUDa","C2fTCgXLiePtt04G5PEG5Pwi","B3bHy2L0Eq","yxbWBgLJyxrPB24","iIWGzwrNzsbPzdOG","B25oB2rLq2XPy2S","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","CM90yxrL","u2HPzNq","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","y3vYCMvUDfrHCMDLDa","vgv4DefYzwe","mcaWidmYidmW","57Yw6l6roIa","twvZC2fNzsdMJ5dNPlO","x3n1yNnJCMLIzq","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","z2v0qKjVEa","BgfIzwXcz1n0EwXL","DxnLq2fSBgjHy2S","DgHYB3C","Aw5ZDgfUDa","zxHLy3v0Aw9Uugf0Aa","C2nHBgvuBW","rxzLBNqGzMXVDYbLCNjVCJO","x3bHCMvUDa","qxjYB3DeB3DU","iw1Ylta","6zw/5yIs6zE06zQu","C2v0q2vUDgvY","vg9W","54Q25OcbicH0ExbLkq","Bg9JywXLq29TCgfYzq","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","rNvSBa","BxqTmsb0zxH0lwfTyMvYltGWma","zMLSzxm","CMvHy3qTzMXVD19FBM9Kzxm","BM9KzxntzwXLy3rPB25by3rPDMu","5PwW5O2U6zUg","5A+85ywL5OIq5yQF77Yb","C3rHCNroB2rLwq","y3vYCMvUDa","54Q25Ocb5zcn56EW","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","zxHLyW","C2v0tM9Kzxm","zNvSBa","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","BgfIzwXcz0jVCMrLCLjHzgL1CW","6kEM5y+r5PA55BYp","Dgv4Dc1IBhvLltqWma","Aw5ZzxqOmtaWjsK","y2XPzw50sgvPz2H0","zg9JDw1LBNrfBgvTzw50","5PEG562B6ycj6Ag5","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","6ycj5OUP5yw35l2t5yAf572U6io95yQB","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","zNjVBq","Cg9ZAxrPB24","ywzMzwn0C1K","BgLMDa","BgvMDa","w2rHDgeTAgfUzgXLpsjLBMqIxq","yMCTz3jHEs0Ymda","zxjYB3jZ","ufjfu0vovevex0LnquDfx1njtvbmrq","Bw91C2vTB3zLlNPVB20","x2fJDgL2zq","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","C2HVD0DYAwq","x3bHCMvUDgfNzq","Aw5ZDa","AgLKzgvU","5zcr5zcoidmG6Ag1","yM9Sza","CgfYyw1Zq29Kzq","y29UBMvJDe9Uq2XPy2S","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","x3rYEvn1yNnJCMLIzq","r3jHCgHwAwv3","x2DYB3vWCW","C3rHy2S","C291CMnL","zgvJAw1HBhm","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","B2jZzxj2ywjSzq","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","DhjHBNnSyxrL","A2vLCefZCgvJDfjHDgLV","rgvSzxrLt3v0BgLUzwq","zgf0ytPPBwfNzs9ZDMCREg1Sla","zM9UDc1TzwrPDw0","Aw52zxj0","5Rwl6k+v5PwW5O2UicHku09okq","B25dBgLJA0nVBM5Ly3rtDgfYDa","DY1MDwXSigP1C3rPzNKTzw5K","x25HBwu","x2v4zwn1Dgu","CM91BMq","CMvJB25Uzwn0ywjSzq","AgvPz2H0","xMHZBfWO","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","zw50CMLLCW","zM9YrwfJAa","5PwW5O2U6k+35Rgc","zw5KlNjLBw92zq","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","Bwf0CML4","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","Dg9WlwXLzNq","5A2q6iQc54k5ia","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","tw96vxnLCLnLBgvJDa","56gU6k6K5yIG6zMK","rNjLzq","5zcr5yMnidmG6Ag1","6Ake6kEi5PAh5lU2","zwrNzxngB2n1C2fIBgu","C2v0rwrNzxm","6l6t5ywL54Q25Ocb5zcn56EW","zgvSzxrHyMXL","nsW1","BM93AgvLBa","zgvIDwC","vMvYDgLJywW","Dg90ywXjBMnVBwLUzW","6k+36ycj5OUP6iQc54k5","y2vUDgvYignLBNrLCG","AxndBgLJA2fIBgu6","Aw50zxjYDxb0","zMLYC3rfBgvTzw50q2HPBgq","55s754k557Q/","BM9Kzuv4DgvUDa","Aw5WDxrZ","uMLNAhq","Dg9W","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","CMvHy3q","6BUy6k6K54Q25Ocb","zgf0ys1Pza","5PEl6l2S6kEs5BQM","Ac1MDwXS","DgfWrgLZDgfUy2u","DMfSDwvpzG","Aw52zxj0wq","6lw354k5ifG","zML0vMLLDW","y3jLyxrLrwXLBwvUDa","zM9Yy2u","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","yMLUze5Vzgvjza","zM9UDc1TB25VihrLEhqTC20","y2HLy2TLza","CMv0DxjUig51BgW7","zwfZzq","yw50za","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","Bw91C2vKB3DUlMrYywC","C2nOzwr1Bgu","yNvPBhrPBKnVBMzPzW","CMzFx3DYyxbWzxi","BwLUwM9VBq","zxjYB3iWmdq","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","r3jVDxbpDxrSAw5Lza","zNv0DxjL","zgLYzwn0Aw9U","i2zHywqXna","5PEG5zU+54Mh","C2v0","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","5y+Z6zsU6i+C5y2v","q29UDhjVBhm","y29Uy2f0","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","zgf0yvbVB2W","DhjPBq","DMfSDwvtDhLSzq","zwrPDgLUz0v2zw50uM9VDeLK","6k+36ycj5OUP5yAf572U5yQO5l2C","zxjYB3i","yw4GAw52ywXPzcbVyMPLy3q","C2v0sw50zxj2ywW","57Ur5A6A5A2x5Q61","Aw5PDgLHBfDPzhrO","nNb4idHWEa","Bw91C2vy","BwvYz2vsDw50Aw1LsgfUzgXLCNm","CMvHy3qTzMXVD19FBwfYA2vY","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","BM9KzurYywDuAhjLC2HVBgq","y29UDgvUDeLUzM8","6iom5PMV6iMY","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","EGOGicaGicaGie0","6ycj5OUP5PEL5PYF","iZCZzdeZza","DxnLu3rHDgu","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","z2v0u2nYzwvUq1rn","z2v0u2vYDMvYu3rHDgu","6iQc54k5ieLeoIa","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","yxv0B1bHBK9Uq29UBMvJDa","zw5Kug9PBNq","z3jLzw4","C3CTCMvZAxPL","C2fTCgXLsNnVBG","mZK3ote1A3HrBKjW","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","Cc0ZigjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","w3jVBgu9iMnVBwjVyM94iL0","y2XPzw50v2LKDgG","yxjNCW","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","Axnqyw5ty3jVBgXPBMC","C21HBgW","55UU5Qch55s75BId","5OUw5OU96lcd5Pw06lw354k5","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","6iom5PMV6Ake6kEi","Bgv2zwW","y3vYC29Ylw1VDMu","5PwW5O2U5QIH5OUF","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","zw5HyMXLza","mdeW","zgvSzxrL","yw5PBwf0Aw9U","B25fzgDLC0rLBgv0zq","vhjHBNnMB3jTq29TCg9Uzw50","wvLzwEw5Ta","zw5Kwq","CMvHy3qTzMXVD19FyxjYB3DOzwfK","y2HLy2TwAxnPyMLSAxr5","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","Dgv4Da","6BYG5Qch56E75yE6","y29UC3rYywLU","u0vmrunu","B25dBgLJAW","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","y2XPzw50tgvMDa","u3rYywLNAhrfzgDL","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","ChjLDMvUDerLzMf1Bhq","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","zxHLy3v0zuv2zw50rMXVDW","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaWia","C2vSzwn0zwrtDgf0Dxnjza","B25SB2fK","CgfKzgLUzW","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","zxzLBNrcDxm","CMvHza","Aw50zxjHy3rPB25xAwr0Aa","iZi2mJyYnG","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","5yAf572U5yQO5l2C","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","C3fYDa","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","6ycj5OUP57Q/5P2H5Qc35BYp","B3jKzxi","AwnVBG","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","zNjLzq","BgfIzwXcz1bHzgrPBMC","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","zMLUzeLUzgv4","BMv4Da","5RE75yQG5lQl5lU25Rwb","y29UBMvJDgfIBgvLBMq","CMvHy3qTzMXVD19FzwrNzxm","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","Aw50zxjUywW","ENvZDgfUza","mda4","Bw91C2veB3DU","5BEM5A+56B2q","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","5PwW57Ue56YSia","Cg9ZAxrPB25byNnVBhv0zq","i2zMzMzMzG","zhjVCevMzMvJDa","y3LHBG","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","Aw5JBhvKzuHPzgrLBK5VzgvZ","zgvSyxK","xMHZBgfCka","y2fUy2vSywjSzq","CMvSyxrPDMu","zxHPDa","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","C2LU","BM9KzvK","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","CMLNAhq","yMLUze5VzgvfDMvUDa","yxbWBgLJyxrPB24VANnVBG","CMvTB3zLuhjVCgvYDhK","x2zPBMfSAxPLCNm","ChjVCgvYDhK","y29UzMLN","5Bgv5BYa6kgm","oJPLEhq6oG","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","5PQc5PEG54MP5PAz","tKvhqvrjvKvFsu5gsu5jvfK","5z6c55U05yIg5BId","tM9KzvjLBMrLCMvY","BMfTzq","q29UDhjVBcbqyw5LBa","DMfSDwvgB250v2vPz2H0","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","t1busu9o","6kEJ6zMK57Ue5zci","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","rg90CW","BM9Wyw4","BwWTmG","CM90yxrLkdKWzgvNkq","CMvKDwnL","CMvZzxq","DxnLtgf5B3v0rwzMzwn0","tw9KDwXL","q2XHC3mGzxH0zw5KCYb2ywX1zsa","Aw52zxjZzq","cIaGicaGicaGica","CMDIysGYncWXndqSmJu1ldaUmdGP","zMX1C2G","ChjVBwLZzq","zNvUy3rPB24","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","6k+36ycj5OUP5OMN6kgm5PA55BYp","6lEZ6l2S55s75BId","Dgv4Dc14CYa","C291CMnLswq","ihrVia","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","C2vSzwn0tM9KzxnpBKrYywC","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","Bg9VC2u","lMrYywC","CMvHy3qTzMXVD19FCMvUzgvYzxi","u3DPDgnO","B3jPz2LUywXfDMvUDa","CxvLCNLtzwXLy3rVCG","vhLWB2DYyxbOEq","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","zxjYB3iWmdy","zw1PDev4DgvYBMfS","B25czwzVCMvezwXLDgu","Dw5ZAgLMDa","CgfZDa","lNH5zMXVD19FDMLLD3bVCNq","y3vYC29YlxbVAw50zxi","iZaWmdaWma","C3rHCNrxAwr0Aa","ltzWEa"];return _0x423b=function(){return P0},_0x423b()}function _0xad4d(P0,l){P0=P0-280;const D=_0x423b();let p=D[P0];if(_0xad4d.mVgsiP===void 0){var y0=function(Zt){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let In="",ot="";for(let ye=0,He,Te,rt=0;Te=Zt.charAt(rt++);~Te&&(He=ye%4?He*64+Te:Te,ye++%4)?In+=String.fromCharCode(255&He>>(-2*ye&6)):0)Te=c.indexOf(Te);for(let ye=0,He=In.length;ye<He;ye++)ot+="%"+("00"+In.charCodeAt(ye).toString(16)).slice(-2);return decodeURIComponent(ot)};_0xad4d.SrYLRY=y0,_0xad4d.DyLIar={},_0xad4d.mVgsiP=!0}const to=D[0],Kt=P0+to,k0=_0xad4d.DyLIar[Kt];return k0?p=k0:(p=_0xad4d.SrYLRY(p),_0xad4d.DyLIar[Kt]=p),p}const c=_0xad4d;var In=document[c(1458)](c(1736));In[c(747)]=`.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}.inline-flex{display:inline-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-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / 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-400{--tw-text-opacity: 1;color:rgb(96 165 250 / 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)}.outline{outline-style:solid}.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}.blur{--tw-blur: blur(8px);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)}.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}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes node-blink{0%{opacity:var(--blink-min-opacity, .3)}to{opacity:1}}.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.head[c(939)](In);function ot(e){const n=c;return e&&e[n(1675)]&&Object[n(1827)].hasOwnProperty[n(838)](e,n(1059))?e[n(1059)]:e}var ye={},He={exports:{}},Te;function rt(){const e=c;return Te||(Te=1,(function(n){const t=e;function o(x){return x&&x.__esModule?x:{default:x}}n[t(830)]=o,n[t(830)][t(1675)]=!0,n.exports[t(1059)]=n[t(830)]})(He)),He[e(830)]}var at={},vr;function Ns(){const e=c;if(vr)return at;vr=1,Object[e(1733)](at,e(1675),{value:!0}),at[e(1059)]=void 0;const n={items_per_page:e(1958),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(682),next_page:"下一页",prev_5:e(1962),next_5:e(663),prev_3:e(1425),next_3:e(1381),page_size:"页码"};return at[e(1059)]=n,at}var it={},ct={},st={},lt={},wr;function ks(){const e=c;return wr||(wr=1,Object[e(1733)](lt,e(1675),{value:!0}),lt.commonLocale=void 0,lt[e(868)]={yearFormat:e(809),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),lt}var pr;function Is(){const e=c;if(pr)return st;pr=1,Object[e(1733)](st,e(1675),{value:!0}),st[e(1059)]=void 0;var n=ks();function t(d){"@babel/helpers - typeof";const s=e;return t=s(1646)==typeof Symbol&&s(928)==typeof Symbol[s(1753)]?function(f){return typeof f}:function(f){const b=s;return f&&b(1646)==typeof Symbol&&f.constructor===Symbol&&f!==Symbol[b(1827)]?b(928):typeof f},t(d)}function o(d,s){const f=e;var b=Object[f(1190)](d);if(Object[f(1268)]){var g=Object[f(1268)](d);s&&(g=g[f(2102)](function(v){const h=f;return Object[h(1385)](d,v)[h(1292)]})),b[f(1106)][f(1888)](b,g)}return b}function x(d){const s=e;for(var f=1;f<arguments[s(1146)];f++){var b=arguments[f]!=null?arguments[f]:{};f%2?o(Object(b),!0)[s(1413)](function(g){r(d,g,b[g])}):Object[s(1663)]?Object[s(631)](d,Object[s(1663)](b)):o(Object(b)).forEach(function(g){const v=s;Object[v(1733)](d,g,Object[v(1385)](b,g))})}return d}function r(d,s,f){const b=e;return s=a(s),s in d?Object[b(1733)](d,s,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[s]=f,d}function a(d){const s=e;var f=i(d,s(2063));return s(928)==t(f)?f:String(f)}function i(d,s){const f=e;if(f(2036)!=t(d)||!d)return d;var b=d[Symbol[f(1087)]];if(b!==void 0){var g=b[f(838)](d,s);if(f(2036)!=t(g))return g;throw new TypeError(f(871))}return(s==="string"?String:Number)(d)}var u=x(x({},n[e(868)]),{},{locale:e(643),today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:e(1506),weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:e(1042),nextYear:e(1020),previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:e(1207),nextCentury:e(452),yearFormat:e(1542),cellDateFormat:"D",monthBeforeYear:!1});return st.default=u,st}var dt={},zr;function Cr(){const e=c;if(zr)return dt;zr=1,Object[e(1733)](dt,e(1675),{value:!0}),dt[e(1059)]=void 0;const n={placeholder:"请选择时间",rangePlaceholder:[e(1835),e(653)]};return dt[e(1059)]=n,dt}var Mr;function Br(){const e=c;if(Mr)return ct;Mr=1;var n=rt()[e(1059)];Object[e(1733)](ct,e(1675),{value:!0}),ct[e(1059)]=void 0;var t=n(Is()),o=n(Cr());const x={lang:{placeholder:e(1845),yearPlaceholder:e(779),quarterPlaceholder:"请选择季度",monthPlaceholder:e(495),weekPlaceholder:e(1200),rangePlaceholder:[e(783),"结束日期"],rangeYearPlaceholder:[e(1924),e(1237)],rangeMonthPlaceholder:["开始月份",e(1011)],rangeQuarterPlaceholder:[e(1085),"结束季度"],rangeWeekPlaceholder:["开始周",e(1834)],...t[e(1059)]},timePickerLocale:{...o[e(1059)]}};return x.lang.ok="确定",ct[e(1059)]=x,ct}var Dr;function Ps(){const e=c;if(Dr)return it;Dr=1;var n=rt()[e(1059)];Object[e(1733)](it,"__esModule",{value:!0}),it[e(1059)]=void 0;var t=n(Br());return it[e(1059)]=t[e(1059)],it}var Lr;function js(){const e=c;if(Lr)return ye;Lr=1;var n=rt()[e(1059)];Object[e(1733)](ye,e(1675),{value:!0}),ye[e(1059)]=void 0;var t=n(Ns()),o=n(Ps()),x=n(Br()),r=n(Cr());const a=e(316),i={locale:e(590),Pagination:t[e(1059)],DatePicker:x[e(1059)],TimePicker:r.default,Calendar:o[e(1059)],global:{placeholder:"请选择",close:"关闭",sortable:e(1936)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(1360),filterCheckAll:"全选",filterSearchPlaceholder:e(1245),emptyText:e(2058),selectAll:e(375),selectInvert:e(559),selectNone:"清空所有",selectionAll:e(781),sortTitle:"排序",expand:e(1617),collapse:e(971),triggerDesc:e(1226),triggerAsc:e(1231),cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:e(1692),Previous:"上一步",Finish:e(1866)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:e(1215),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(375),removeCurrent:e(1161),selectAll:e(781),deselectAll:e(1148),removeAll:e(543),selectInvert:e(559)},Upload:{uploading:e(814),removeFile:e(1872),uploadError:"上传错误",previewFile:e(1426),downloadFile:e(1099)},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(793),expand:"展开",collapse:"收起"},Form:{optional:e(791),defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:e(878),whitespace:e(343),date:{format:e(1655),parse:e(1805),invalid:e(2032)},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:e(1023),min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:e(1103)},number:{len:"${label}必须等于${len}",min:e(1067),max:e(845),range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:e(1192),max:"最多${max}个${label}",range:e(1786)},pattern:{mismatch:e(1279)}}},QRCode:{expired:"二维码过期",refresh:e(1964),scanned:e(1819)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(648)}};return ye[e(1059)]=i,ye}var xo,Sr;function As(){return Sr||(Sr=1,xo=js()),xo}var Ys=As();const Es=ot(Ys),Us=e=>(n,t,o)=>(o.setState=(x,r,...a)=>{const i=_0xad4d,u=typeof x===i(1646)?Kt[i(580)](x):x;return n(u,r,...a)},e(o.setState,t,o)),Gs=Us;function Os(e){return Array.isArray(e)}function Nr(e){const n=c,t=[];for(const o of Object[n(1190)](e)){t.push(o);const x=e[o];if(x!==null&&typeof x===n(2036)&&!Array[n(1905)](x))for(const r of Object[n(1190)](x))t[n(1106)](o+"."+r)}return t}function Vs(e,n,t){const o=e.sample;if(Os(o)){if(n!=null&&t!=null){const x=o.find(r=>r[n]===t);if(x)return x}return{}}return o}function kr(e,n,t,o){const x=c,r=Vs(e,t,o),a={...r};if(n&&typeof n===x(2036)&&!Array[x(1905)](n))return{...a,...n};if(Array[x(1905)](n)){const i={...a};for(const u of n){if(!u||typeof u!==x(2036))continue;const d=u;d.paramsCode!=null&&(i[String(d.paramsCode)]=d[x(1127)])}return i}return a}const Hs={id:"_",name:"_",sample:{}};function oo(e,n,t){const o=c,x=e.boundDatasetId!=null?String(e[o(1151)])[o(1487)]():"",r=x?t.find(i=>i.id===x):void 0,a=r??Hs;try{const i=kr(a,n,e[o(358)],e[o(826)]);return new Function("data",e.expression)(i)===!0}catch(i){return console[o(1108)](o(684)+e.name+"]:",i),!1}}function Ir(e,n,t){for(const o of e)if(oo(o,n,t))return o}function Pr(e,n){const t=c;for(const o of e){for(const x of o[t(1502)][t(1916)])x[t(1151)]===n&&(x.boundDatasetId=null,x[t(358)]=null,x[t(826)]=null);o[t(1727)]===t(1137)&&o[t(961)]?.[t(1146)]&&Pr(o.children,n)}}function ro(e){const n=c;for(const t of e){for(const o of t.contentInfo[n(1916)])delete o[n(1048)];t[n(1727)]===n(1137)&&t[n(961)]?.length&&ro(t[n(961)])}}const ao=(e,n)=>({id:e||k0[c(404)](),name:n||"画布 1",nodes:[],canvasConfig:{width:1920,height:1080,background:c(749),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Ts=()=>{const e=c,n=ao();return{id:k0[e(404)](),name:"默认项目",canvases:[n],currentCanvasId:n.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},jr=Ts(),dn=jr[c(317)][0],qs={root:jr,materials:[],mode:"select",lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:dn.nodes,canvas:dn[c(467)],viewport:dn[c(376)],selectedNodeId:dn[c(430)],selectedNodeIds:dn[c(977)],selectedStatusId:dn[c(1560)],history:dn[c(1755)]},Ye=(e,n,t)=>({id:k0[c(404)](),type:e,targetId:n,payload:t,timestamp:Date[c(326)]()}),xe=to[c(1172)]()(Gs((e,n)=>({...qs,addCanvas:t=>{const o=c,x=ao(k0[o(404)](),t||o(1228)+(n().root[o(317)][o(1146)]+1));return e(r=>{const a=o;r[a(844)][a(317)].push(x),r[a(844)][a(1721)]=x.id;const i=x;r.nodes=i[a(1895)],r.canvas=i[a(467)],r[a(376)]=i[a(376)],r.selectedNodeId=i[a(430)],r[a(977)]=i[a(977)],r[a(1560)]=i[a(1560)],r[a(1755)]=i[a(1755)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1582)](i=>i.id===t);if(r===-1||o[x(844)].canvases.length<=1)return;if(o[x(844)].canvases[x(588)](r,1),o[x(844)][x(2004)])for(const i of o[x(844)].siblingGroups){const u=i[x(1998)].indexOf(t);u!==-1&&i[x(1998)].splice(u,1)}if(o[x(844)][x(1814)]&&o.root.navigationStack[x(1146)]>0&&(o[x(844)][x(1814)]=o[x(844)][x(1814)].filter(i=>i!==t)),o[x(844)][x(1721)]===t){const i=o[x(844)][x(317)][0];o.root[x(1721)]=i.id,o[x(1895)]=i.nodes,o[x(2132)]=i[x(467)],o[x(376)]=i[x(376)],o[x(430)]=i.selectedNodeId,o[x(977)]=i[x(977)],o[x(1560)]=i.selectedStatusId,o.history=i[x(1755)]}const a=o[x(844)][x(1776)];if(a){const i=(o[x(844)].siblingGroups||[]).find(u=>u.id===a);(!i||!i[x(1998)][x(2096)](o[x(844)][x(1721)]||""))&&(o[x(844)].activeSiblingGroupId=null)}})},switchCanvas:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1804)](i=>i.id===t);if(!r)return;o[x(844)].currentCanvasId=t,o[x(1895)]=r[x(1895)],o[x(2132)]=r[x(467)],o[x(376)]=r[x(376)],o[x(430)]=r[x(430)],o[x(977)]=r[x(977)],o[x(1560)]=r.selectedStatusId,o[x(1755)]=r[x(1755)];const a=o[x(844)][x(1776)];if(a){const i=(o[x(844)][x(2004)]||[]).find(u=>u.id===a);(!i||!i[x(1998)].includes(t))&&(o[x(844)].activeSiblingGroupId=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0xad4d,a=x.root[r(317)][r(1804)](i=>i.id===t);a&&(a[r(1625)]=o)})},getCurrentCanvas:()=>{const t=c,o=n();return o[t(844)][t(317)][t(1804)](x=>x.id===o.root[t(1721)])},addSiblingGroup:(t,o)=>{const x=c,r=k0[x(404)]();return e(a=>{const i=x;a[i(844)][i(2004)]||(a.root.siblingGroups=[]);const u=a[i(844)].siblingGroups[i(1146)]+1,d=Array.from(new Set((o||[])[i(2102)](s=>a[i(844)][i(317)].some(f=>f.id===s))));a[i(844)][i(2004)].push({id:r,name:t||i(1018)+u,canvasIds:d})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0xad4d;if(!o.root[x(2004)])return;const r=o[x(844)].siblingGroups[x(1582)](a=>a.id===t);r!==-1&&o[x(844)][x(2004)][x(588)](r,1),o[x(844)][x(1776)]===t&&(o.root[x(1776)]=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0xad4d;if(!x.root[r(2004)])return;const a=x[r(844)][r(2004)][r(1804)](i=>i.id===t);if(a&&(o[r(1625)]!==void 0&&(a.name=o[r(1625)]),o[r(1998)]!==void 0)){const i=new Set,u=[];for(const d of o[r(1998)])i.has(d)||x[r(844)][r(317)][r(1929)](s=>s.id===d)&&(i.add(d),u.push(d));a.canvasIds=u}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const a=_0xad4d;if(!r[a(844)].siblingGroups)return;const i=r[a(844)][a(2004)][a(1804)](u=>u.id===t);i&&r[a(844)][a(317)][a(1929)](u=>u.id===o)&&(i[a(1998)].includes(o)||(typeof x===a(1738)&&x>=0&&x<=i[a(1998)].length?i[a(1998)].splice(x,0,o):i[a(1998)][a(1106)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0xad4d;if(!x[r(844)][r(2004)])return;const a=x[r(844)][r(2004)][r(1804)](u=>u.id===t);if(!a)return;const i=a[r(1998)][r(385)](o);i!==-1&&a[r(1998)][r(588)](i,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const a=_0xad4d;if(!r[a(844)][a(2004)])return;const i=r[a(844)][a(2004)][a(1804)](s=>s.id===t);if(!i)return;const u=i.canvasIds.indexOf(o);if(u===-1)return;const d=x==="up"?u-1:u+1;d<0||d>=i[a(1998)][a(1146)]||([i.canvasIds[u],i[a(1998)][d]]=[i.canvasIds[d],i.canvasIds[u]])})},nextSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),a=r[x(844)][x(2004)]?.[x(1804)](s=>s.id===t);if(!a||a.canvasIds[x(1146)]===0)return null;const i=a[x(1998)][x(2102)](s=>r[x(844)][x(317)].some(f=>f.id===s));if(i.length===0)return null;const u=i.indexOf(r[x(844)][x(1721)]||"");let d;if(u===-1)d=0;else if(u===i[x(1146)]-1){if(!o)return null;d=0}else d=u+1;return e(s=>{const f=x;s[f(844)][f(1776)]=t}),n()[x(1092)](i[d]),i[d]},prevSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),a=r.root[x(2004)]?.[x(1804)](s=>s.id===t);if(!a||a[x(1998)][x(1146)]===0)return null;const i=a[x(1998)][x(2102)](s=>r.root[x(317)][x(1929)](f=>f.id===s));if(i[x(1146)]===0)return null;const u=i[x(385)](r[x(844)][x(1721)]||"");let d;if(u===-1)d=i[x(1146)]-1;else if(u===0){if(!o)return null;d=i[x(1146)]-1}else d=u-1;return e(s=>{const f=x;s[f(844)][f(1776)]=t}),n()[x(1092)](i[d]),i[d]},gotoSiblingCanvas:(t,o)=>{const x=c,r=n(),a=r[x(844)][x(2004)]?.[x(1804)](u=>u.id===t);if(!a)return null;const i=a[x(1998)][x(2102)](u=>r[x(844)][x(317)][x(1929)](d=>d.id===u));return o<0||o>=i.length?null:(e(u=>{const d=x;u[d(844)][d(1776)]=t}),n()[x(1092)](i[o]),i[o])},getSiblingGroupsByCanvas:t=>{const o=c;return(n()[o(844)][o(2004)]||[])[o(2102)](r=>r[o(1998)][o(2096)](t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0xad4d;if(t===null){o[x(844)].activeSiblingGroupId=null;return}(o[x(844)][x(2004)]||[])[x(1929)](a=>a.id===t)&&(o.root[x(1776)]=t)})},jumpToCanvas:t=>{const o=c,x=n();if(!x[o(844)][o(317)].some(a=>a.id===t)||x.root[o(1721)]===t)return;const r=x[o(844)][o(1721)];r&&e(a=>{const i=o;a[i(844)].navigationStack||(a[i(844)].navigationStack=[]),a[i(844)][i(1814)][i(1106)](r)}),n().switchCanvas(t)},goBack:()=>{const t=c,o=n();if((o[t(844)][t(1814)]||[])[t(1146)]===0)return null;let r=null;const a=new Set(o[t(844)][t(317)][t(632)](i=>i.id));return e(i=>{const u=t;for(;i[u(844)][u(1814)]&&i[u(844)].navigationStack.length>0;){const d=i[u(844)][u(1814)][u(287)]();if(a.has(d)){r=d;break}}}),r&&n()[t(1092)](r),r},clearNavigationStack:()=>{e(t=>{const o=_0xad4d;t[o(844)].navigationStack=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1804)](a=>a.id===o[x(844)][x(1721)]);r&&(r.selectedNodeIds=t,o.selectedNodeIds=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1804)](a=>a.id===o[x(844)].currentCanvasId);r&&!r[x(977)].includes(t)&&(r[x(977)][x(1106)](t),o[x(977)]=r[x(977)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1804)](a=>a.id===o[x(844)][x(1721)]);r&&(r[x(977)]=r[x(977)][x(2102)](a=>a!==t),o[x(977)]=r[x(977)])})},clearSelectedNodeIds:()=>{e(t=>{const o=_0xad4d,x=t.root.canvases.find(r=>r.id===t[o(844)].currentCanvasId);x&&(x[o(977)]=[],t[o(977)]=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0xad4d,a=x[r(844)][r(317)][r(1804)](u=>u.id===x[r(844)][r(1721)]);if(!a)return;const i={...t,id:t.id||k0[r(404)]()};a[r(1895)][r(1106)](i),x[r(1895)]=a[r(1895)],o&&(a[r(430)]=i.id,x.selectedNodeId=i.id,a[r(1755)][r(1669)][r(1106)](Ye(r(947),i.id)),x.history=a[r(1755)])})},updateNode:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(844)].canvases[r(1804)](u=>u.id===x.root.currentCanvasId);if(!a)return;const i=a[r(1895)].find(u=>u.id===t);i&&(o[r(521)]&&Object[r(710)](i[r(521)],o[r(521)]),o[r(1502)]&&(i[r(1502)]={...i[r(1502)],...o[r(1502)]}),o[r(1625)]&&(i[r(1625)]=o[r(1625)]),o[r(1881)]&&Object.assign(i[r(1881)],o[r(1881)]),o[r(961)]&&(i[r(961)]=o.children),a[r(1755)][r(1669)][r(1106)](Ye(r(2044),t,o)),x.history=a.history,x[r(1895)]=a[r(1895)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(844)][r(317)][r(1804)](u=>u.id===x[r(844)][r(1721)]);if(!a)return;const i=a[r(1895)][r(1804)](u=>u.id===t);i&&(Object[r(710)](i.normalStyle,o),a[r(1755)][r(1669)].push(Ye("PROPERTY_CHANGE",t,{normalStyle:o})),x[r(1755)]=a[r(1755)],x.nodes=a.nodes)})},updateNodeContent:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(844)][r(317)][r(1804)](u=>u.id===x[r(844)].currentCanvasId);if(!a)return;const i=a[r(1895)].find(u=>u.id===t);i&&(i[r(1502)]={...i[r(1502)],...o},a.history[r(1669)][r(1106)](Ye(r(2044),t,{contentInfo:o})),x.history=a[r(1755)],x.nodes=a[r(1895)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(844)][r(317)][r(1804)](u=>u.id===x.root[r(1721)]);if(!a)return;const i=a[r(1895)].find(u=>u.id===t);i&&(Object[r(710)](i.controlInfo,o),a[r(1755)][r(1669)][r(1106)](Ye(r(2044),t,{controlInfo:o})),x[r(1755)]=a[r(1755)],x.nodes=a[r(1895)])})},removeNode:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1804)](i=>i.id===o[x(844)][x(1721)]);if(!r)return;const a=r[x(1895)][x(1582)](i=>i.id===t);a!==-1&&(r[x(1895)][x(588)](a,1),o[x(1895)]=r[x(1895)],r.selectedNodeId===t&&(r.selectedNodeId=null,o[x(430)]=null,r.selectedStatusId=null,o[x(1560)]=null),r[x(977)]=r.selectedNodeIds.filter(i=>i!==t),o[x(977)]=r[x(977)],r.history[x(1669)][x(1106)](Ye(x(406),t)),o[x(1755)]=r[x(1755)])})},selectNode:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)].find(a=>a.id===o[x(844)][x(1721)]);r&&(r[x(430)]=t,o[x(430)]=t,r.selectedStatusId=null,o.selectedStatusId=null,t&&(r[x(1755)][x(1669)][x(1106)](Ye(x(947),t)),o[x(1755)]=r.history))})},bringToFront:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1804)](u=>u.id===o[x(844)].currentCanvasId);if(!r)return;const a=r[x(1895)][x(1582)](u=>u.id===t);if(a===-1||a===r.nodes[x(1146)]-1)return;const[i]=r.nodes[x(588)](a,1);r[x(1895)][x(1106)](i),o[x(1895)]=r.nodes,r[x(1755)][x(1669)][x(1106)](Ye(x(2044),t,{zOrder:x(1698)})),o[x(1755)]=r[x(1755)]})},sendToBack:t=>{e(o=>{const x=_0xad4d,r=o.root.canvases[x(1804)](u=>u.id===o.root[x(1721)]);if(!r)return;const a=r[x(1895)].findIndex(u=>u.id===t);if(a<=0)return;const[i]=r[x(1895)][x(588)](a,1);r[x(1895)][x(1668)](i),o[x(1895)]=r[x(1895)],r[x(1755)][x(1669)][x(1106)](Ye(x(2044),t,{zOrder:x(401)})),o[x(1755)]=r.history})},addStatus:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(844)][r(317)][r(1804)](d=>d.id===x[r(844)][r(1721)]);if(!a)return;const i=a.nodes[r(1804)](d=>d.id===t);if(!i)return;const u={...o,id:k0.nanoid()};i[r(1502)].statusList[r(1106)](u),a[r(1755)][r(1669)][r(1106)](Ye(r(987),t,{statusId:u.id})),x.history=a[r(1755)]})},removeStatus:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(844)][r(317)][r(1804)](d=>d.id===x[r(844)][r(1721)]);if(!a)return;const i=a[r(1895)].find(d=>d.id===t);if(!i)return;const u=i[r(1502)][r(1916)].findIndex(d=>d.id===o);u!==-1&&(i[r(1502)][r(1916)].splice(u,1),i[r(1502)][r(1687)]===o&&(i[r(1502)][r(1687)]=void 0),a.selectedStatusId===o&&(a[r(1560)]=null,x[r(1560)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const a=_0xad4d,i=r[a(844)].canvases[a(1804)](s=>s.id===r[a(844)][a(1721)]);if(!i)return;const u=i[a(1895)][a(1804)](s=>s.id===t);if(!u)return;const d=u.contentInfo[a(1916)].find(s=>s.id===o);d&&Object[a(710)](d,x)})},selectStatus:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)].find(a=>a.id===o[x(844)].currentCanvasId);r&&(r[x(1560)]=t,o[x(1560)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=c,r=n(),a=r[x(844)][x(317)][x(1804)](d=>d.id===r[x(844)][x(1721)]);if(!a)return;const i=a[x(1895)][x(1804)](d=>d.id===t);if(!i)return;const{dataPool:u}=n();for(const d of i.contentInfo.statusList)if(oo(d,o,u))return d.id},addDataPoolItem:t=>{const o=k0.nanoid();return e(x=>{const r=_0xad4d;let a={};t[r(1694)]&&typeof t[r(1694)]===r(2036)&&(Array[r(1905)](t[r(1694)])?a=t.sample:a=t[r(1694)]),x[r(1486)].push({...t,id:o,sample:a})}),o},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(1486)].find(i=>i.id===t);a&&(o[r(1625)]!==void 0&&(a[r(1625)]=o.name),o[r(1694)]!==void 0&&(o[r(1694)]&&typeof o[r(1694)]===r(2036)?a.sample=o.sample:a[r(1694)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0xad4d,r=o.dataPool.findIndex(a=>a.id===t);if(r!==-1){o.dataPool[x(588)](r,1);for(const a of o[x(844)][x(317)])Pr(a.nodes,t)}})},setDataPool:t=>{e(o=>{const x=_0xad4d;o[x(1486)]=t[x(632)](r=>{const a=x;let i={};return r.sample&&typeof r.sample=="object"&&(i=r[a(1694)]),{...r,sample:i}})})},setEventFlow:t=>{e(o=>{const x=_0xad4d;o[x(1950)]={eventBlocks:t[x(330)]??[],eventRoots:t[x(952)]??[],editingEventRootId:t[x(1489)]??null,isEditingEventFlow:t[x(297)]??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0xad4d,r=new Set;o[x(1867)]=[];for(const a of t){const i=String(a[x(821)]??"")[x(1487)]();!i||r[x(776)](i)||(r.add(i),o[x(1867)][x(1106)]({key:i,label:String(a[x(1977)]??"")[x(1487)]()||i,description:a[x(864)]}))}})},addMaterial:t=>{e(o=>{const x=_0xad4d;if(o[x(1259)].some(i=>i[x(1625)]===t[x(1625)]))return;const a={...t,id:k0[x(404)]()};o[x(1259)].push(a)})},updateMaterial:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(1259)][r(1804)](i=>i.id===t);a&&Object[r(710)](a,o)})},removeMaterial:t=>{e(o=>{const x=_0xad4d,r=o[x(1259)][x(1582)](a=>a.id===t);r!==-1&&o.materials[x(588)](r,1)})},setViewport:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1804)](a=>a.id===o.root[x(1721)]);r&&(Object[x(710)](r.viewport,t),o[x(376)]=r[x(376)])})},setCanvasConfig:t=>{e(o=>{const x=_0xad4d,r=o[x(844)][x(317)][x(1804)](a=>a.id===o[x(844)][x(1721)]);r&&(r.canvasConfig={...r[x(467)],...t},o.canvas=r[x(467)])})},setMode:t=>{e(o=>{o.mode=t})},startLineDrawing:t=>{e(o=>{const x=_0xad4d;o[x(535)]=x(2098),o[x(391)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0xad4d;o[x(391)][x(918)]&&(o[x(391)][x(1515)]=t)})},endLineDrawing:()=>{e(t=>{const o=_0xad4d;t.mode="select",t[o(391)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0xad4d;t[o(535)]=o(1902),t[o(391)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0xad4d,x=t.root[o(317)][o(1804)](a=>a.id===t[o(844)][o(1721)]);if(!x)return;const r=x.history[o(1669)].pop();r&&(x[o(1755)][o(1476)][o(1106)](r),t[o(1755)]=x.history)})},redo:()=>{e(t=>{const o=_0xad4d,x=t[o(844)].canvases[o(1804)](a=>a.id===t[o(844)][o(1721)]);if(!x)return;const r=x[o(1755)][o(1476)][o(287)]();r&&(x[o(1755)][o(1669)][o(1106)](r),t[o(1755)]=x[o(1755)])})},recordEvent:t=>{e(o=>{const x=_0xad4d,r=o[x(844)].canvases[x(1804)](a=>a.id===o[x(844)][x(1721)]);r&&(r.history[x(1669)][x(1106)](t),r[x(1755)].future=[],o[x(1755)]=r.history)})},exportScheme:()=>{const t=c,o=n(),{activeSiblingGroupId:x,navigationStack:r,...a}=o[t(844)];return{version:t(291),root:a,materials:o[t(1259)],dataPool:o.dataPool,eventFlow:o[t(1950)],metadata:{name:o[t(844)][t(1625)],description:"",createdAt:new Date()[t(1812)](),updatedAt:new Date()[t(1812)]()}}},importScheme:t=>{e(o=>{const x=_0xad4d;if(t.root){if(o[x(844)]=t[x(844)],!o[x(844)][x(2004)])o[x(844)][x(2004)]=[];else{const a=new Set(o.root[x(317)][x(632)](i=>i.id));for(const i of o[x(844)].siblingGroups)i.canvasIds=i[x(1998)][x(2102)](u=>a[x(776)](u))}o[x(844)][x(1776)]=null,o[x(844)][x(1814)]=[],o[x(1486)]=t.dataPool??[],t[x(1950)]&&(o[x(1950)]={eventBlocks:t[x(1950)].eventBlocks??[],eventRoots:(t[x(1950)].eventRoots??[])[x(632)](a=>({...a,copyOnDuplicate:a.copyOnDuplicate!==void 0?a[x(1844)]:!0})),editingEventRootId:t.eventFlow.editingEventRootId??null,isEditingEventFlow:t[x(1950)].isEditingEventFlow??!1});const r=o[x(844)][x(317)][x(1804)](a=>a.id===o[x(844)][x(1721)])||o[x(844)].canvases[0];r&&(o[x(844)][x(1721)]=r.id,o[x(1895)]=r[x(1895)],o[x(2132)]=r[x(467)],o[x(376)]=r.viewport,o[x(430)]=r[x(430)],o.selectedNodeIds=r.selectedNodeIds,o.selectedStatusId=r[x(1560)],o[x(1755)]=r[x(1755)])}else{const r=ao();r[x(1895)]=t[x(1895)]||[],o.root[x(317)]=[r],o.root[x(1721)]=r.id,o.root[x(2004)]=[],o.root[x(1776)]=null,o.root.navigationStack=[],o.dataPool=t[x(1486)]??[],t.eventFlow&&(o[x(1950)]={eventBlocks:t.eventFlow[x(330)]??[],eventRoots:(t.eventFlow.eventRoots??[])[x(632)](a=>({...a,copyOnDuplicate:a[x(1844)]!==void 0?a[x(1844)]:!0})),editingEventRootId:t[x(1950)][x(1489)]??null,isEditingEventFlow:t.eventFlow.isEditingEventFlow??!1}),o[x(1895)]=r[x(1895)],o.canvas=r[x(467)],o.viewport=t.viewport||r[x(376)],o[x(430)]=null,o.selectedStatusId=null,o[x(1755)]={past:[],future:[]}}for(const r of o[x(844)].canvases)ro(r.nodes)})},exportCanvas:t=>{const o=c,x=n(),r=t||x[o(844)].currentCanvasId,a=x[o(844)].canvases[o(1804)](i=>i.id===r);if(!a)throw new Error(o(1228)+r+o(836));return{version:o(291),canvas:a,metadata:{name:a[o(1625)],description:"",exportedAt:new Date().toISOString()}}},importCanvas:(t,o)=>{e(x=>{const r=_0xad4d,a=t[r(2132)],i=o||x[r(844)].currentCanvasId,u=x.root[r(317)][r(1804)](d=>d.id===i);if(u)u[r(1625)]=a[r(1625)],u[r(1895)]=a[r(1895)]||[],u.canvasConfig=a[r(467)],u[r(376)]=a[r(376)],u[r(430)]=null,u[r(977)]=[],u[r(1560)]=null,u[r(1755)]=a[r(1755)]||{past:[],future:[]},i===x[r(844)].currentCanvasId&&(x[r(1895)]=u.nodes,x[r(2132)]=u[r(467)],x.viewport=u[r(376)],x[r(430)]=u[r(430)],x.selectedNodeIds=u[r(977)],x[r(1560)]=u.selectedStatusId,x[r(1755)]=u.history);else{const d={...a,id:k0[r(404)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(844)][r(317)][r(1106)](d),x[r(844)][r(1721)]=d.id,x[r(1895)]=d[r(1895)],x[r(2132)]=d[r(467)],x[r(376)]=d[r(376)],x.selectedNodeId=d.selectedNodeId,x.selectedNodeIds=d[r(977)],x[r(1560)]=d[r(1560)],x[r(1755)]=d.history}for(const d of x[r(844)][r(317)])ro(d.nodes)})},addEventBlock:t=>{const o=c,x=k0[o(404)]();return e(r=>{const a=o;r.eventFlow[a(330)][a(1106)]({...t,id:x})}),x},upsertEventBlock:t=>{e(o=>{const x=_0xad4d,r=o[x(1950)][x(330)].findIndex(a=>a.id===t.id);r!==-1?o[x(1950)].eventBlocks[r]={...t}:o.eventFlow[x(330)][x(1106)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(1950)][r(330)].find(i=>i.id===t);a&&Object[r(710)](a,o)})},removeEventBlock:t=>{e(o=>{const x=_0xad4d,r=o.eventFlow[x(330)][x(1582)](a=>a.id===t);r!==-1&&o[x(1950)][x(330)][x(588)](r,1)})},addEventRoot:t=>{const o=c,x=k0[o(404)]();return e(r=>{const a=o;r.eventFlow[a(952)].push({...t,id:x,copyOnDuplicate:t.copyOnDuplicate!==void 0?t.copyOnDuplicate:!0})}),x},updateEventRoot:(t,o)=>{e(x=>{const r=_0xad4d,a=x[r(1950)].eventRoots[r(1804)](i=>i.id===t);a&&Object.assign(a,o)})},removeEventRoot:t=>{e(o=>{const x=_0xad4d,r=o[x(1950)][x(952)][x(1582)](a=>a.id===t);r!==-1&&o[x(1950)][x(952)][x(588)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0xad4d;o[x(1950)][x(1489)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0xad4d;o[x(1950)][x(297)]=t})},bindNodeEvent:(t,o,x)=>{const r=c,a=k0[r(404)]();return e(i=>{const u=r;i[u(1950)][u(952)][u(1106)]({id:a,bindNodeId:t,eventType:o,flowData:x,enabled:!0,copyOnDuplicate:!0})}),a},unbindNodeEvent:(t,o,x)=>{e(r=>{const a=_0xad4d,i=r[a(1950)][a(952)][a(1582)](u=>{const d=a;return u.bindNodeId!==t||u[d(2009)]!==o?!1:o===d(610)?(u.externalEventKey||"")[d(1487)]()===(x||"").trim():!0});i!==-1&&r[a(1950)][a(952)].splice(i,1)})},getNodeEventRoots:t=>{const o=c;return n()[o(1950)][o(952)][o(2102)](x=>x[o(1461)]===t)}}))),Ar=[{id:k0.nanoid(),name:"矩形",type:"IMAGE",src:c(1398)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#1890ff" rx="4"/></svg>')},{id:k0.nanoid(),name:"圆形",type:c(377),src:c(1398)+encodeURIComponent(c(671))},{id:k0[c(404)](),name:c(2088),type:"IMAGE",src:"data:image/svg+xml,"+encodeURIComponent(c(1131))},{id:k0[c(404)](),name:"阀门",type:"IMAGE",src:c(1398)+encodeURIComponent(c(1065))},{id:k0[c(404)](),name:"泵",type:c(377),src:c(1398)+encodeURIComponent(c(1920))},{id:k0.nanoid(),name:"罐体",type:c(377),src:"data:image/svg+xml,"+encodeURIComponent(c(766))},{id:k0.nanoid(),name:c(808),type:"TEXT",content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(1382),color:"#262626",textAlign:c(1369)},valueStyle:{fontSize:14,fontWeight:c(1938),color:c(384),textAlign:c(1369)}}},{id:k0[c(404)](),name:"线条",type:c(1945),config:{thickness:2,lineWeight:2,color:c(1567),lineType:c(337)}}],io=e=>({id:k0[c(404)](),name:c(1449),expression:c(346),material:{...e,id:k0.nanoid()},boundDatasetId:null,animation:{type:c(600)}}),Yr=(e,n,t)=>{const o=c;if(t?.[o(1727)]===o(801)&&t[o(1616)]?.[o(1895)]){const x=t[o(1616)][o(1895)][o(632)](s=>({...s,id:k0.nanoid()}));let r=1/0,a=1/0,i=-1/0,u=-1/0;x[o(1413)](s=>{const f=o,b=s[f(521)].x||0,g=s[f(521)].y||0,v=s[f(521)][f(336)]||0,h=s[f(521)][f(1408)]||0;r=Math.min(r,b),a=Math.min(a,g),i=Math[f(1303)](i,b+v),u=Math.max(u,g+h)});const d=x[o(632)](s=>({...s,normalStyle:{...s[o(521)],x:(s.normalStyle.x||0)-r,y:(s[o(521)].y||0)-a,scale:void 0}}));return{id:k0[o(404)](),name:t[o(1625)]||o(1709),type:"group",normalStyle:{width:i-r,height:u-a,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:d}}return{id:k0[o(404)](),name:o(1894),type:o(1938),normalStyle:{width:120,height:100,x:e,y:n,background:o(2085),padding:8},contentInfo:{statusList:t?[io(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:Pn}=p.Collapse,{Text:Rt}=p[c(1662)],Er=({onUploadSvg:e})=>{const n=c,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:a,mode:i,lineDrawing:u,startLineDrawing:d,cancelLineDrawing:s}=xe(),[f,b]=D[n(1508)]([n(629),n(913),n(1547),n(982)]),g=y=>{const m=n,z=new FileReader;return z[m(1561)]=C=>{const I=m,G=C[I(852)]?.[I(463)];o({name:y[I(1625)][I(1806)](I(1993),""),type:I(377),src:G})},z[m(1937)](y),!1},v={basic:t[n(2102)](y=>["矩形","圆形",n(2088)].includes(y[n(1625)])),device:t[n(2102)](y=>["阀门","泵","罐体"][n(2096)](y[n(1625)])||y[n(1727)]==="IMAGE"&&!["矩形","圆形","圆角矩形"][n(2096)](y[n(1625)])&&y[n(1625)]!==n(475)),text:t.filter(y=>y.type==="TEXT"),line:t.filter(y=>y.type===n(1945)),group:t.filter(y=>y[n(1727)]==="CUSTOM"&&y[n(1616)]?.[n(1895)]),custom:t[n(2102)](y=>y[n(1727)]===n(801)&&!y.config?.[n(1895)]||y[n(1727)]===n(377)&&!["矩形","圆形",n(2088),"阀门","泵","罐体"][n(2096)](y[n(1625)]))},h=(y,m)=>{const z=n;y.dataTransfer.effectAllowed="copy",y.dataTransfer.setData(z(1612),JSON[z(745)](m));const C=y[z(1315)][z(1661)](".material-preview");C&&y[z(901)].setDragImage(C,20,20)},w=y=>{const m=n;y[m(1727)]===m(1945)&&d(y)},M=(y,m=!1,z=n(890))=>{const C=n,I=m===!0,G=i==="line-draw"&&I&&u[C(2087)]?.id===y.id;return l.jsx(p[C(374)][C(803)],{draggable:!I,onDragStart:O=>h(O,y),onClick:()=>I&&w(y),className:`
3
- rounded-lg transition-all duration-200 select-none
4
- `+C(I?1671:1533)+C(1642)+C(500)+C(1642)+(G?C(319):"")+C(955),actions:[I?l[C(1963)](p[C(570)],{type:C(1547),size:C(1527),icon:l[C(1963)](y0.EditOutlined,{}),onClick:O=>{O[C(2118)](),w(y)},children:"绘制"},"draw"):null,l[C(1963)](p.Button,{type:C(1547),size:"small",danger:!0,icon:l[C(1963)](y0[C(1397)],{}),onClick:O=>{O.stopPropagation(),x(y.id)}},C(1538))].filter(Boolean),children:l.jsxs(C(1704),{className:C(1818)+(I?"":C(954)),children:[l[C(1963)](C(1704),{className:C(1559)+z,children:y.type===C(377)&&y[C(493)]?l.jsx(p[C(851)],{src:y[C(493)],alt:y[C(1625)],width:40,height:40,preview:!1}):y[C(1727)]==="TEXT"?l[C(1963)](C(1839),{className:"text-xs text-gray-500",children:"T"}):y.type===C(1945)?l[C(1963)](C(1704),{className:"w-8 h-0.5 bg-gray-400"}):y[C(1727)]===C(801)&&y[C(1616)]?.[C(1895)]?l[C(1963)](C(1839),{className:"text-xs text-blue-500 font-bold",children:"G"}):l.jsx(C(1839),{className:C(423),children:"?"})}),l[C(931)]("div",{className:C(732),children:[l[C(1963)](Rt,{strong:!0,className:C(1217),children:y[C(1625)]}),l.jsxs(C(1704),{className:C(2029),children:[l[C(1963)](Rt,{type:"secondary",className:"text-xs",children:y[C(1727)]}),G&&l[C(1963)](p[C(2010)],{color:"blue",className:C(1186),children:C(1954)})]})]})]})},y.id)};return l[n(931)](n(1704),{className:"h-full flex flex-col bg-white border-r border-gray-200",children:[l.jsxs("div",{className:n(1684),children:[l[n(1963)]("h3",{className:n(2045),children:n(1702)}),l[n(1963)](Rt,{type:n(2018),className:n(807),children:n(1091)})]}),l.jsx(n(1704),{className:n(1521),children:e?l[n(1963)](p[n(570)],{icon:l[n(1963)](y0[n(1855)],{}),block:!0,type:"dashed",onClick:()=>{const y=n;e()[y(1066)](m=>{const z=y;console[z(1851)](z(782),m)})},children:n(349)}):l.jsx(p[n(976)],{accept:".svg",beforeUpload:g,showUploadList:!1,children:l[n(1963)](p.Button,{icon:l[n(1963)](y0[n(1855)],{}),block:!0,type:n(1858),children:n(349)})})}),l[n(1963)](n(1704),{className:n(322),children:l[n(931)](p[n(685)],{activeKey:f,onChange:y=>b(y),ghost:!0,expandIconPosition:n(917),children:[l[n(1963)](Pn,{header:"基础形状",children:l[n(1963)](p.List,{dataSource:v[n(629)],renderItem:y=>M(y,!1),locale:{emptyText:l.jsx(p.Empty,{description:"暂无物料",image:p.Empty[n(1373)]})}})},n(629)),l[n(1963)](Pn,{header:n(1246),children:l[n(1963)](p[n(374)],{dataSource:v[n(913)],renderItem:y=>M(y,!1,n(1371)),locale:{emptyText:l[n(1963)](p.Empty,{description:n(1621),image:p[n(2027)][n(1373)]})}})},n(913)),l[n(1963)](Pn,{header:"文本",children:l[n(1963)](p[n(374)],{dataSource:v.text,renderItem:y=>M(y,!1),locale:{emptyText:l[n(1963)](p.Empty,{description:"暂无物料",image:p.Empty[n(1373)]})}})},n(1547)),l[n(931)](Pn,{header:l[n(931)](n(1704),{className:"flex items-center justify-between",children:[l[n(1963)]("span",{children:"线条"}),i===n(2098)&&l[n(1963)](p[n(2010)],{color:n(640),className:n(1186),children:n(369)})]}),children:[l[n(1963)](p.List,{dataSource:v[n(982)],renderItem:y=>M(y,!0),locale:{emptyText:l[n(1963)](p[n(2027)],{description:n(1621),image:p[n(2027)].PRESENTED_IMAGE_SIMPLE})}}),i==="line-draw"&&l[n(931)](n(1704),{className:n(911),children:[l.jsx(n(1704),{children:n(1394)}),l[n(1963)]("div",{children:n(1173)})]})]},n(982)),v[n(1137)][n(1146)]>0&&l[n(1963)](Pn,{header:"群组",children:l[n(1963)](p[n(374)],{dataSource:v[n(1137)],renderItem:y=>M(y,!1),locale:{emptyText:l[n(1963)](p[n(2027)],{description:n(1621),image:p[n(2027)][n(1373)]})}})},n(1137)),v[n(1088)][n(1146)]>0&&l[n(1963)](Pn,{header:"自定义",children:l[n(1963)](p[n(374)],{dataSource:v[n(1088)],renderItem:y=>M(y,!1),locale:{emptyText:l.jsx(p.Empty,{description:n(1621),image:p[n(2027)][n(1373)]})}})},n(1088))]})}),l.jsx(n(1704),{className:n(1500),children:l.jsx(Rt,{type:n(2018),className:"text-xs",children:i===n(2098)?l[n(1963)](l.Fragment,{children:n(1224)}):l[n(1963)](l.Fragment,{children:"💡 提示:拖拽物料到画布创建节点,点击线条物料进入绘制模式"})})})]})};var co=function(e,n){const t=c;return co=Object[t(315)]||{__proto__:[]}instanceof Array&&function(o,x){o.__proto__=x}||function(o,x){const r=t;for(var a in x)Object[r(1827)][r(2012)][r(838)](x,a)&&(o[a]=x[a])},co(e,n)};function nn(e,n){const t=c;if(typeof n!="function"&&n!==null)throw new TypeError(t(1640)+String(n)+t(1520));co(e,n);function o(){const x=t;this[x(644)]=e}e[t(1827)]=n===null?Object[t(1172)](n):(o[t(1827)]=n.prototype,new o)}function Ws(e,n,t,o){function x(r){return r instanceof t?r:new t(function(a){a(r)})}return new(t||(t=Promise))(function(r,a){const i=_0xad4d;function u(f){const b=_0xad4d;try{s(o[b(1583)](f))}catch(g){a(g)}}function d(f){try{s(o.throw(f))}catch(b){a(b)}}function s(f){const b=_0xad4d;f.done?r(f[b(1127)]):x(f[b(1127)])[b(659)](u,d)}s((o=o[i(1888)](e,n||[])).next())})}function Ur(e,n){const t=c;var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},x,r,a,i=Object[t(1172)]((typeof Iterator===t(1646)?Iterator:Object)[t(1827)]);return i[t(1583)]=u(0),i[t(1325)]=u(1),i.return=u(2),typeof Symbol===t(1646)&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(f){return d([s,f])}}function d(s){const f=t;if(x)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(x=1,r&&(a=s[0]&2?r[f(757)]:s[0]?r.throw||((a=r[f(757)])&&a.call(r),0):r.next)&&!(a=a[f(838)](r,s[1]))[f(1003)])return a;switch(r=0,a&&(s=[s[0]&2,a[f(1127)]]),s[0]){case 0:case 1:a=s;break;case 4:return o[f(1977)]++,{value:s[1],done:!1};case 5:o[f(1977)]++,r=s[1],s=[0];continue;case 7:s=o[f(1877)][f(287)](),o[f(937)].pop();continue;default:if(a=o[f(937)],!(a=a[f(1146)]>0&&a[a[f(1146)]-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){o[f(1977)]=s[1];break}if(s[0]===6&&o[f(1977)]<a[1]){o[f(1977)]=a[1],a=s;break}if(a&&o[f(1977)]<a[2]){o[f(1977)]=a[2],o[f(1877)][f(1106)](s);break}a[2]&&o[f(1877)].pop(),o[f(937)][f(287)]();continue}s=n[f(838)](e,o)}catch(b){s=[6,b],r=0}finally{x=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function jn(e){const n=c;var t=typeof Symbol===n(1646)&&Symbol[n(1753)],o=t&&e[t],x=0;if(o)return o[n(838)](e);if(e&&typeof e[n(1146)]===n(1738))return{next:function(){return e&&x>=e[n(1146)]&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(t?"Object is not iterable.":n(755))}function Jt(e,n){const t=c;var o=typeof Symbol=="function"&&e[Symbol[t(1753)]];if(!o)return e;var x=o[t(838)](e),r,a=[],i;try{for(;(n===void 0||n-- >0)&&!(r=x[t(1583)]())[t(1003)];)a[t(1106)](r.value)}catch(u){i={error:u}}finally{try{r&&!r[t(1003)]&&(o=x.return)&&o.call(x)}finally{if(i)throw i[t(1491)]}}return a}function Ft(e,n,t){const o=c;if(t||arguments[o(1146)]===2)for(var x=0,r=n[o(1146)],a;x<r;x++)(a||!(x in n))&&(a||(a=Array.prototype[o(1208)].call(n,0,x)),a[x]=n[x]);return e[o(1484)](a||Array[o(1827)][o(1208)][o(838)](n))}function An(e){return this instanceof An?(this.v=e,this):new An(e)}function Xs(e,n,t){const o=c;if(!Symbol[o(483)])throw new TypeError(o(616));var x=t[o(1888)](e,n||[]),r,a=[];return r=Object.create((typeof AsyncIterator===o(1646)?AsyncIterator:Object).prototype),u(o(1583)),u(o(1325)),u(o(757),i),r[Symbol[o(483)]]=function(){return this},r;function i(v){return function(h){const w=_0xad4d;return Promise[w(896)](h)[w(659)](v,b)}}function u(v,h){x[v]&&(r[v]=function(w){return new Promise(function(M,y){a[_0xad4d(1106)]([v,w,M,y])>1||d(v,w)})},h&&(r[v]=h(r[v])))}function d(v,h){try{s(x[v](h))}catch(w){g(a[0][3],w)}}function s(v){const h=o;v.value instanceof An?Promise[h(896)](v[h(1127)].v).then(f,b):g(a[0][2],v)}function f(v){d("next",v)}function b(v){d("throw",v)}function g(v,h){const w=o;v(h),a[w(2138)](),a[w(1146)]&&d(a[0][0],a[0][1])}}function Ks(e){const n=c;if(!Symbol[n(483)])throw new TypeError(n(616));var t=e[Symbol[n(483)]],o;return t?t.call(e):(e=typeof jn===n(1646)?jn(e):e[Symbol[n(1753)]](),o={},x(n(1583)),x("throw"),x(n(757)),o[Symbol.asyncIterator]=function(){return this},o);function x(a){o[a]=e[a]&&function(i){return new Promise(function(u,d){const s=_0xad4d;i=e[a](i),r(u,d,i[s(1003)],i[s(1127)])})}}function r(a,i,u,d){Promise.resolve(d).then(function(s){a({value:s,done:u})},i)}}typeof SuppressedError=="function"&&SuppressedError;function F0(e){return typeof e===c(1646)}function so(e){const n=c;var t=function(x){const r=_0xad4d;Error.call(x),x[r(1389)]=new Error().stack},o=e(t);return o.prototype=Object[n(1172)](Error.prototype),o[n(1827)][n(644)]=o,o}var lo=so(function(e){return function(t){const o=_0xad4d;e(this),this[o(713)]=t?t.length+o(984)+t[o(632)](function(x,r){const a=o;return r+1+") "+x[a(1021)]()}).join(o(451)):"",this[o(1625)]=o(858),this[o(1372)]=t}});function _t(e,n){const t=c;if(e){var o=e[t(385)](n);0<=o&&e[t(588)](o,1)}}var ut=(function(){const e=c;function n(t){const o=_0xad4d;this.initialTeardown=t,this[o(812)]=!1,this._parentage=null,this._finalizers=null}return n[e(1827)][e(1889)]=function(){const t=e;var o,x,r,a,i;if(!this.closed){this[t(812)]=!0;var u=this[t(1378)];if(u)if(this._parentage=null,Array[t(1905)](u))try{for(var d=jn(u),s=d[t(1583)]();!s[t(1003)];s=d[t(1583)]()){var f=s[t(1127)];f[t(436)](this)}}catch(M){o={error:M}}finally{try{s&&!s.done&&(x=d[t(757)])&&x.call(d)}finally{if(o)throw o[t(1491)]}}else u[t(436)](this);var b=this[t(1703)];if(F0(b))try{b()}catch(M){i=M instanceof lo?M[t(1372)]:[M]}var g=this[t(1614)];if(g){this._finalizers=null;try{for(var v=jn(g),h=v[t(1583)]();!h[t(1003)];h=v[t(1583)]()){var w=h[t(1127)];try{Vr(w)}catch(M){i=i??[],M instanceof lo?i=Ft(Ft([],Jt(i)),Jt(M.errors)):i[t(1106)](M)}}}catch(M){r={error:M}}finally{try{h&&!h[t(1003)]&&(a=v[t(757)])&&a.call(v)}finally{if(r)throw r.error}}}if(i)throw new lo(i)}},n[e(1827)][e(1996)]=function(t){const o=e;var x;if(t&&t!==this)if(this[o(812)])Vr(t);else{if(t instanceof n){if(t[o(812)]||t[o(885)](this))return;t[o(1295)](this)}(this[o(1614)]=(x=this[o(1614)])!==null&&x!==void 0?x:[])[o(1106)](t)}},n.prototype[e(885)]=function(t){const o=e;var x=this[o(1378)];return x===t||Array[o(1905)](x)&&x[o(2096)](t)},n[e(1827)][e(1295)]=function(t){const o=e;var x=this._parentage;this[o(1378)]=Array.isArray(x)?(x[o(1106)](t),x):x?[x,t]:t},n[e(1827)]._removeParent=function(t){const o=e;var x=this[o(1378)];x===t?this._parentage=null:Array[o(1905)](x)&&_t(x,t)},n[e(1827)].remove=function(t){const o=e;var x=this[o(1614)];x&&_t(x,t),t instanceof n&&t[o(1305)](this)},n[e(353)]=(function(){var t=new n;return t.closed=!0,t})(),n})(),Gr=ut[c(353)];function Or(e){const n=c;return e instanceof ut||e&&n(812)in e&&F0(e[n(436)])&&F0(e.add)&&F0(e[n(1889)])}function Vr(e){F0(e)?e():e.unsubscribe()}var Zs={Promise:void 0},Rs={setTimeout:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(1146)];x++)o[x-2]=arguments[x];return setTimeout[t(1888)](void 0,Ft([e,n],Jt(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Hr(e){Rs.setTimeout(function(){throw e})}function Tr(){}function Qt(e){e()}var uo=(function(e){const n=c;nn(t,e);function t(o){const x=_0xad4d;var r=e[x(838)](this)||this;return r[x(2084)]=!1,o?(r[x(679)]=o,Or(o)&&o[x(1996)](r)):r[x(679)]=_s,r}return t[n(1172)]=function(o,x,r){return new fo(o,x,r)},t[n(1827)].next=function(o){this[n(2084)]||this._next(o)},t[n(1827)][n(1491)]=function(o){const x=n;this[x(2084)]||(this[x(2084)]=!0,this._error(o))},t[n(1827)][n(1811)]=function(){const o=n;this[o(2084)]||(this[o(2084)]=!0,this[o(1195)]())},t.prototype[n(1889)]=function(){const o=n;!this[o(812)]&&(this[o(2084)]=!0,e.prototype[o(1889)][o(838)](this),this[o(679)]=null)},t[n(1827)]._next=function(o){this[n(679)].next(o)},t[n(1827)][n(1046)]=function(o){const x=n;try{this.destination[x(1491)](o)}finally{this[x(1889)]()}},t[n(1827)][n(1195)]=function(){const o=n;try{this[o(679)][o(1811)]()}finally{this[o(1889)]()}},t})(ut),Js=(function(){const e=c;function n(t){const o=_0xad4d;this[o(405)]=t}return n.prototype.next=function(t){const o=_0xad4d;var x=this.partialObserver;if(x.next)try{x[o(1583)](t)}catch(r){$t(r)}},n[e(1827)][e(1491)]=function(t){const o=e;var x=this[o(405)];if(x[o(1491)])try{x.error(t)}catch(r){$t(r)}else $t(t)},n[e(1827)][e(1811)]=function(){const t=e;var o=this[t(405)];if(o[t(1811)])try{o[t(1811)]()}catch(x){$t(x)}},n})(),fo=(function(e){nn(n,e);function n(t,o,x){const r=_0xad4d;var a=e[r(838)](this)||this,i;return F0(t)||!t?i={next:t??void 0,error:o??void 0,complete:x??void 0}:i=t,a[r(679)]=new Js(i),a}return n})(uo);function $t(e){Hr(e)}function Fs(e){throw e}var _s={closed:!0,next:Tr,error:Fs,complete:Tr},ho=(function(){const e=c;return typeof Symbol===e(1646)&&Symbol[e(1393)]||e(1117)})();function qr(e){return e}function Qs(e){const n=c;return e.length===0?qr:e[n(1146)]===1?e[0]:function(o){return e.reduce(function(x,r){return r(x)},o)}}var Ce=(function(){const e=c;function n(t){const o=_0xad4d;t&&(this[o(1320)]=t)}return n[e(1827)][e(1368)]=function(t){const o=e;var x=new n;return x[o(1390)]=this,x.operator=t,x},n[e(1827)][e(2025)]=function(t,o,x){var r=this,a=el(t)?t:new fo(t,o,x);return Qt(function(){const i=_0xad4d;var u=r,d=u[i(1121)],s=u[i(1390)];a.add(d?d[i(838)](a,s):s?r[i(1320)](a):r[i(1386)](a))}),a},n[e(1827)][e(1386)]=function(t){const o=e;try{return this[o(1320)](t)}catch(x){t[o(1491)](x)}},n[e(1827)][e(1413)]=function(t,o){var x=this;return o=Wr(o),new o(function(r,a){const i=_0xad4d;var u=new fo({next:function(d){const s=_0xad4d;try{t(d)}catch(f){a(f),u[s(1889)]()}},error:a,complete:r});x[i(2025)](u)})},n.prototype[e(1320)]=function(t){const o=e;var x;return(x=this[o(1390)])===null||x===void 0?void 0:x.subscribe(t)},n[e(1827)][ho]=function(){return this},n.prototype.pipe=function(){const t=e;for(var o=[],x=0;x<arguments[t(1146)];x++)o[x]=arguments[x];return Qs(o)(this)},n[e(1827)].toPromise=function(t){var o=this;return t=Wr(t),new t(function(x,r){var a;o.subscribe(function(i){return a=i},function(i){return r(i)},function(){return x(a)})})},n[e(1172)]=function(t){return new n(t)},n})();function Wr(e){var n;return(n=e??Zs.Promise)!==null&&n!==void 0?n:Promise}function $s(e){const n=c;return e&&F0(e[n(1583)])&&F0(e[n(1491)])&&F0(e.complete)}function el(e){return e&&e instanceof uo||$s(e)&&Or(e)}function nl(e){return F0(e?.lift)}function un(e){return function(n){const t=_0xad4d;if(nl(n))return n[t(1368)](function(o){const x=t;try{return e(o,this)}catch(r){this[x(1491)](r)}});throw new TypeError(t(1981))}}function fn(e,n,t,o,x){return new tl(e,n,t,o,x)}var tl=(function(e){const n=c;nn(t,e);function t(o,x,r,a,i,u){const d=_0xad4d;var s=e[d(838)](this,o)||this;return s.onFinalize=i,s[d(1298)]=u,s[d(303)]=x?function(f){const b=d;try{x(f)}catch(g){o[b(1491)](g)}}:e[d(1827)]._next,s[d(1046)]=a?function(f){const b=d;try{a(f)}catch(g){o[b(1491)](g)}finally{this[b(1889)]()}}:e[d(1827)][d(1046)],s[d(1195)]=r?function(){const f=d;try{r()}catch(b){o[f(1491)](b)}finally{this[f(1889)]()}}:e[d(1827)][d(1195)],s}return t[n(1827)][n(1889)]=function(){const o=n;var x;if(!this[o(1298)]||this.shouldUnsubscribe()){var r=this[o(812)];e[o(1827)][o(1889)].call(this),!r&&((x=this[o(487)])===null||x===void 0||x[o(838)](this))}},t})(uo),xl=so(function(e){return function(){const t=_0xad4d;e(this),this[t(1625)]=t(1411),this[t(713)]=t(470)}}),Xr=(function(e){const n=c;nn(t,e);function t(){const o=_0xad4d;var x=e[o(838)](this)||this;return x[o(812)]=!1,x.currentObservers=null,x[o(403)]=[],x[o(2084)]=!1,x[o(1227)]=!1,x[o(839)]=null,x}return t[n(1827)][n(1368)]=function(o){const x=n;var r=new Kr(this,this);return r[x(1121)]=o,r},t[n(1827)][n(989)]=function(){if(this[n(812)])throw new xl},t[n(1827)][n(1583)]=function(o){var x=this;Qt(function(){const r=_0xad4d;var a,i;if(x._throwIfClosed(),!x[r(2084)]){!x[r(2131)]&&(x[r(2131)]=Array.from(x[r(403)]));try{for(var u=jn(x[r(2131)]),d=u[r(1583)]();!d[r(1003)];d=u[r(1583)]()){var s=d.value;s[r(1583)](o)}}catch(f){a={error:f}}finally{try{d&&!d[r(1003)]&&(i=u[r(757)])&&i.call(u)}finally{if(a)throw a[r(1491)]}}}})},t[n(1827)].error=function(o){var x=this;Qt(function(){const r=_0xad4d;if(x[r(989)](),!x.isStopped){x[r(1227)]=x.isStopped=!0,x[r(839)]=o;for(var a=x[r(403)];a[r(1146)];)a[r(2138)]()[r(1491)](o)}})},t.prototype[n(1811)]=function(){var o=this;Qt(function(){const x=_0xad4d;if(o._throwIfClosed(),!o[x(2084)]){o[x(2084)]=!0;for(var r=o[x(403)];r[x(1146)];)r.shift()[x(1811)]()}})},t[n(1827)][n(1889)]=function(){const o=n;this[o(2084)]=this[o(812)]=!0,this.observers=this.currentObservers=null},Object[n(1733)](t[n(1827)],n(721),{get:function(){const o=n;var x;return((x=this[o(403)])===null||x===void 0?void 0:x[o(1146)])>0},enumerable:!1,configurable:!0}),t[n(1827)][n(1386)]=function(o){const x=n;return this[x(989)](),e[x(1827)]._trySubscribe.call(this,o)},t[n(1827)]._subscribe=function(o){const x=n;return this[x(989)](),this[x(1810)](o),this[x(1846)](o)},t[n(1827)][n(1846)]=function(o){const x=n;var r=this,a=this,i=a[x(1227)],u=a[x(2084)],d=a.observers;return i||u?Gr:(this.currentObservers=null,d[x(1106)](o),new ut(function(){const s=x;r[s(2131)]=null,_t(d,o)}))},t[n(1827)][n(1810)]=function(o){const x=n;var r=this,a=r[x(1227)],i=r[x(839)],u=r.isStopped;a?o[x(1491)](i):u&&o[x(1811)]()},t[n(1827)][n(1948)]=function(){const o=n;var x=new Ce;return x[o(1390)]=this,x},t.create=function(o,x){return new Kr(o,x)},t})(Ce),Kr=(function(e){const n=c;nn(t,e);function t(o,x){const r=_0xad4d;var a=e.call(this)||this;return a[r(679)]=o,a.source=x,a}return t[n(1827)][n(1583)]=function(o){const x=n;var r,a;(a=(r=this[x(679)])===null||r===void 0?void 0:r[x(1583)])===null||a===void 0||a[x(838)](r,o)},t.prototype[n(1491)]=function(o){const x=n;var r,a;(a=(r=this[x(679)])===null||r===void 0?void 0:r[x(1491)])===null||a===void 0||a.call(r,o)},t.prototype[n(1811)]=function(){const o=n;var x,r;(r=(x=this[o(679)])===null||x===void 0?void 0:x[o(1811)])===null||r===void 0||r.call(x)},t[n(1827)][n(1320)]=function(o){const x=n;var r,a;return(a=(r=this[x(1390)])===null||r===void 0?void 0:r.subscribe(o))!==null&&a!==void 0?a:Gr},t})(Xr),ol={now:function(){return Date[c(326)]()}},rl=(function(e){const n=c;nn(t,e);function t(o,x){return e[_0xad4d(838)](this)||this}return t[n(1827)][n(1469)]=function(o,x){return this},t})(ut),Zr={setInterval:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(1146)];x++)o[x-2]=arguments[x];return setInterval[t(1888)](void 0,Ft([e,n],Jt(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},al=(function(e){const n=c;nn(t,e);function t(o,x){const r=_0xad4d;var a=e[r(838)](this,o,x)||this;return a[r(756)]=o,a[r(1715)]=x,a[r(1180)]=!1,a}return t[n(1827)][n(1469)]=function(o,x){const r=n;var a;if(x===void 0&&(x=0),this[r(812)])return this;this[r(1082)]=o;var i=this.id,u=this.scheduler;return i!=null&&(this.id=this[r(496)](u,i,x)),this[r(1180)]=!0,this[r(1601)]=x,this.id=(a=this.id)!==null&&a!==void 0?a:this[r(425)](u,this.id,x),this},t[n(1827)].requestAsyncId=function(o,x,r){const a=n;return r===void 0&&(r=0),Zr[a(1493)](o.flush[a(1910)](o,this),r)},t[n(1827)][n(496)]=function(o,x,r){const a=n;return r===void 0&&(r=0),r!=null&&this[a(1601)]===r&&this.pending===!1?x:(x!=null&&Zr[a(695)](x),void 0)},t[n(1827)].execute=function(o,x){const r=n;if(this[r(812)])return new Error(r(1034));this.pending=!1;var a=this[r(1405)](o,x);if(a)return a;this[r(1180)]===!1&&this.id!=null&&(this.id=this[r(496)](this[r(756)],this.id,null))},t[n(1827)][n(1405)]=function(o,x){const r=n;var a=!1,i;try{this[r(1715)](o)}catch(u){a=!0,i=u||new Error(r(1557))}if(a)return this[r(1889)](),i},t[n(1827)].unsubscribe=function(){const o=n;if(!this[o(812)]){var x=this,r=x.id,a=x[o(756)],i=a[o(367)];this[o(1715)]=this[o(1082)]=this[o(756)]=null,this.pending=!1,_t(i,this),r!=null&&(this.id=this[o(496)](a,r,null)),this[o(1601)]=null,e[o(1827)][o(1889)][o(838)](this)}},t})(rl),Rr=(function(){const e=c;function n(t,o){const x=_0xad4d;o===void 0&&(o=n.now),this[x(1182)]=t,this[x(326)]=o}return n.prototype.schedule=function(t,o,x){const r=_0xad4d;return o===void 0&&(o=0),new this[r(1182)](this,t)[r(1469)](x,o)},n.now=ol[e(326)],n})(),il=(function(e){const n=c;nn(t,e);function t(o,x){const r=_0xad4d;x===void 0&&(x=Rr.now);var a=e.call(this,o,x)||this;return a[r(367)]=[],a[r(1375)]=!1,a}return t[n(1827)][n(1644)]=function(o){const x=n;var r=this[x(367)];if(this._active){r.push(o);return}var a;this[x(1375)]=!0;do if(a=o.execute(o[x(1082)],o[x(1601)]))break;while(o=r[x(2138)]());if(this._active=!1,a){for(;o=r[x(2138)]();)o[x(1889)]();throw a}},t})(Rr),cl=new il(al);function sl(e){return e&&F0(e[c(1469)])}function ll(e){return e[e[c(1146)]-1]}function dl(e){const n=c;return sl(ll(e))?e[n(287)]():void 0}var Jr=function(e){const n=c;return e&&typeof e.length===n(1738)&&typeof e!="function"};function Fr(e){return F0(e?.[c(659)])}function _r(e){return F0(e[ho])}function Qr(e){return Symbol[c(483)]&&F0(e?.[Symbol.asyncIterator])}function $r(e){const n=c;return new TypeError("You provided "+(e!==null&&typeof e===n(2036)?n(1492):"'"+e+"'")+n(1197))}function ul(){const e=c;return typeof Symbol!="function"||!Symbol[e(1753)]?e(1149):Symbol.iterator}var ea=ul();function na(e){return F0(e?.[ea])}function ta(e){return Xs(this,arguments,function(){var t,o,x,r;return Ur(this,function(a){const i=_0xad4d;switch(a[i(1977)]){case 0:t=e[i(2016)](),a[i(1977)]=1;case 1:a[i(937)][i(1106)]([1,,9,10]),a[i(1977)]=2;case 2:return[4,An(t[i(1565)]())];case 3:return o=a[i(1187)](),x=o[i(1127)],r=o[i(1003)],r?[4,An(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,An(x)];case 6:return[4,a[i(1187)]()];case 7:return a[i(1187)](),[3,2];case 8:return[3,10];case 9:return t[i(408)](),[7];case 10:return[2]}})})}function xa(e){return F0(e?.[c(2016)])}function hn(e){if(e instanceof Ce)return e;if(e!=null){if(_r(e))return fl(e);if(Jr(e))return hl(e);if(Fr(e))return gl(e);if(Qr(e))return oa(e);if(na(e))return bl(e);if(xa(e))return yl(e)}throw $r(e)}function fl(e){return new Ce(function(n){const t=_0xad4d;var o=e[ho]();if(F0(o[t(2025)]))return o.subscribe(n);throw new TypeError(t(1708))})}function hl(e){return new Ce(function(n){const t=_0xad4d;for(var o=0;o<e[t(1146)]&&!n[t(812)];o++)n[t(1583)](e[o]);n[t(1811)]()})}function gl(e){return new Ce(function(n){const t=_0xad4d;e[t(659)](function(o){const x=t;!n[x(812)]&&(n.next(o),n[x(1811)]())},function(o){return n[t(1491)](o)}).then(null,Hr)})}function bl(e){return new Ce(function(n){const t=_0xad4d;var o,x;try{for(var r=jn(e),a=r.next();!a[t(1003)];a=r.next()){var i=a[t(1127)];if(n.next(i),n[t(812)])return}}catch(u){o={error:u}}finally{try{a&&!a[t(1003)]&&(x=r[t(757)])&&x.call(r)}finally{if(o)throw o[t(1491)]}}n[t(1811)]()})}function oa(e){return new Ce(function(n){const t=_0xad4d;ml(e,n)[t(1066)](function(o){return n[t(1491)](o)})})}function yl(e){return oa(ta(e))}function ml(e,n){var t,o,x,r;return Ws(this,void 0,void 0,function(){var a,i;return Ur(this,function(u){const d=_0xad4d;switch(u[d(1977)]){case 0:u[d(937)][d(1106)]([0,5,6,11]),t=Ks(e),u[d(1977)]=1;case 1:return[4,t[d(1583)]()];case 2:if(o=u[d(1187)](),!!o.done)return[3,4];if(a=o.value,n.next(a),n.closed)return[2];u[d(1977)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return i=u[d(1187)](),x={error:i},[3,11];case 6:return u[d(937)][d(1106)]([6,,9,10]),o&&!o[d(1003)]&&(r=t[d(757)])?[4,r.call(t)]:[3,8];case 7:u[d(1187)](),u.label=8;case 8:return[3,10];case 9:if(x)throw x[d(1491)];return[7];case 10:return[7];case 11:return n[d(1811)](),[2]}})})}function tn(e,n,t,o,x){const r=c;o===void 0&&(o=0),x===void 0&&(x=!1);var a=n[r(1469)](function(){const i=r;t(),x?e.add(this.schedule(null,o)):this[i(1889)]()},o);if(e.add(a),!x)return a}function ra(e,n){return n===void 0&&(n=0),un(function(t,o){t[_0xad4d(2025)](fn(o,function(r){return tn(o,e,function(){return o.next(r)},n)},function(){return tn(o,e,function(){return o.complete()},n)},function(r){return tn(o,e,function(){return o[_0xad4d(1491)](r)},n)}))})}function aa(e,n){return n===void 0&&(n=0),un(function(t,o){const x=_0xad4d;o[x(1996)](e[x(1469)](function(){return t.subscribe(o)},n))})}function vl(e,n){const t=c;return hn(e)[t(501)](aa(n),ra(n))}function wl(e,n){const t=c;return hn(e)[t(501)](aa(n),ra(n))}function pl(e,n){return new Ce(function(t){const o=_0xad4d;var x=0;return n[o(1469)](function(){const r=o;x===e[r(1146)]?t[r(1811)]():(t[r(1583)](e[x++]),!t[r(812)]&&this.schedule())})})}function zl(e,n){return new Ce(function(t){var o;return tn(t,n,function(){o=e[ea](),tn(t,n,function(){const x=_0xad4d;var r,a,i;try{r=o[x(1583)](),a=r[x(1127)],i=r[x(1003)]}catch(u){t[x(1491)](u);return}i?t[x(1811)]():t[x(1583)](a)},0,!0)}),function(){return F0(o?.return)&&o.return()}})}function ia(e,n){const t=c;if(!e)throw new Error(t(1678));return new Ce(function(o){tn(o,n,function(){const x=_0xad4d;var r=e[Symbol[x(483)]]();tn(o,n,function(){const a=x;r[a(1583)]().then(function(i){const u=a;i[u(1003)]?o.complete():o[u(1583)](i.value)})},0,!0)})})}function Cl(e,n){return ia(ta(e),n)}function Ml(e,n){if(e!=null){if(_r(e))return vl(e,n);if(Jr(e))return pl(e,n);if(Fr(e))return wl(e,n);if(Qr(e))return ia(e,n);if(na(e))return zl(e,n);if(xa(e))return Cl(e,n)}throw $r(e)}function ex(e,n){return n?Ml(e,n):hn(e)}function Le(){const e=c;for(var n=[],t=0;t<arguments[e(1146)];t++)n[t]=arguments[t];var o=dl(n);return ex(n,o)}function oe(e,n){var t=F0(e)?e:function(){return e},o=function(x){return x[_0xad4d(1491)](t())};return new Ce(o)}function Bl(e){return e instanceof Date&&!isNaN(e)}var Dl=so(function(e){return function(t){const o=_0xad4d;t===void 0&&(t=null),e(this),this.message=o(769),this.name=o(1984),this[o(459)]=t}});function Ll(e,n){const t=c;var o=Bl(e)?{first:e}:{each:e},x=o[t(300)],r=o[t(1070)],a=o.with,i=a===void 0?Sl:a,u=o[t(756)],d=u===void 0?cl:u,s=o[t(557)],f=s===void 0?null:s;if(x==null&&r==null)throw new TypeError("No timeout provided.");return un(function(b,g){const v=t;var h,w,M=null,y=0,m=function(z){w=tn(g,d,function(){const C=_0xad4d;try{h.unsubscribe(),hn(i({meta:f,lastValue:M,seen:y}))[C(2025)](g)}catch(I){g[C(1491)](I)}},z)};h=b[v(2025)](fn(g,function(z){w?.[v(1889)](),y++,g.next(M=z),r>0&&m(r)},void 0,void 0,function(){const z=v;!w?.[z(812)]&&w?.[z(1889)](),M=null})),!y&&m(x!=null?typeof x===v(1738)?x:+x-d[v(326)]():r)})}function Sl(e){throw new Dl(e)}function nx(e,n){return un(function(t,o){const x=_0xad4d;var r=0;t[x(2025)](fn(o,function(a){const i=x;o[i(1583)](e[i(838)](n,a,r++))}))})}function Nl(e,n,t,o,x,r,a,i){const u=c;var d=[],s=0,f=0,b=!1,g=function(){const w=_0xad4d;b&&!d[w(1146)]&&!s&&n[w(1811)]()},v=function(w){return s<o?h(w):d.push(w)},h=function(w){const M=_0xad4d;s++;var y=!1;hn(t(w,f++))[M(2025)](fn(n,function(m){n[M(1583)](m)},function(){y=!0},void 0,function(){const m=M;if(y)try{s--;for(var z=function(){var I=d[_0xad4d(2138)]();a||h(I)};d.length&&s<o;)z();g()}catch(C){n[m(1491)](C)}}))};return e[u(2025)](fn(n,v,function(){b=!0,g()})),function(){}}function go(e,n,t){const o=c;return t===void 0&&(t=1/0),F0(n)?go(function(x,r){return nx(function(a,i){return n(x,a,r,i)})(hn(e(x,r)))},t):(typeof n===o(1738)&&(t=n),un(function(x,r){return Nl(x,r,e,t)}))}function tx(e){return un(function(n,t){const o=_0xad4d;var x=null,r=!1,a;x=n[o(2025)](fn(t,void 0,void 0,function(i){const u=o;a=hn(e(i,tx(e)(n))),x?(x[u(1889)](),x=null,a[u(2025)](t)):r=!0})),r&&(x[o(1889)](),x=null,a[o(2025)](t))})}function kl(e,n,t){var o=F0(e)||n||t?{next:e,error:n,complete:t}:e;return o?un(function(x,r){const a=_0xad4d;var i;(i=o[a(2025)])===null||i===void 0||i[a(838)](o);var u=!0;x.subscribe(fn(r,function(d){const s=a;var f;(f=o.next)===null||f===void 0||f[s(838)](o,d),r.next(d)},function(){const d=a;var s;u=!1,(s=o[d(1811)])===null||s===void 0||s[d(838)](o),r[d(1811)]()},function(d){const s=a;var f;u=!1,(f=o[s(1491)])===null||f===void 0||f[s(838)](o,d),r[s(1491)](d)},function(){const d=a;var s,f;u&&((s=o.unsubscribe)===null||s===void 0||s.call(o)),(f=o[d(788)])===null||f===void 0||f[d(838)](o)}))}):qr}function bo(e){const n=c;return encodeURIComponent((e||"")[n(1487)]()||n(1094))}function Il(e){const n=c;return e[n(2009)]===n(610)?e[n(1461)]+n(1618)+bo(e[n(1098)]??""):e.bindNodeId+"::"+e[n(2009)]}function ca(e,n){return e+":"+n}class Yn{static[c(1935)];[c(720)]=new Map;[c(1679)]=new Map;[c(330)]=new Map;[c(525)]=new Map;defaultRuntimeHandlers;constructor(){}static getInstance(){const n=c;return!Yn[n(1935)]&&(Yn.instance=new Yn),Yn[n(1935)]}[c(1925)](n){const t=c;this[t(330)][t(1480)](n.id,n)}[c(1722)](n){const t=c;this[t(330)][t(1538)](n)}[c(995)](n){return this[c(330)].get(n)}setDefaultRuntimeHandlers(n){const t=c;this[t(1807)]=n}[c(2106)](n){const t=c;if(!n)return;const o=this[t(1807)];this[t(1807)]={dataRequest:{...o?.[t(958)],...n[t(958)]},external:{...o?.[t(610)],...n[t(610)]}}}mergeRuntimeHandlers(n){const t=c,o=this.defaultRuntimeHandlers;if(!(!o&&!n))return{dataRequest:{...o?.[t(958)],...n?.[t(958)]},external:{...o?.[t(610)],...n?.[t(610)]}}}disposeEventRootPipeline(n){const t=c,o=this.subscriptions.get(n.id);o&&(o.unsubscribe(),this[t(1679)].delete(n.id)),this[t(720)][t(1538)](n.id)}[c(1611)](n){const t=c,o=Il(n),x=this[t(525)][t(356)](o);x&&x.id!==n.id&&this[t(927)](x),this.nodeEventBindings[t(1480)](o,n),!this.eventSubjects[t(776)](n.id)&&this[t(2011)](n)}[c(754)](n,t,o){const x=c;if(t===x(610)){const u=n+x(1618)+bo(o??""),d=this[x(525)][x(356)](u);d&&(this[x(927)](d),this[x(525)][x(1538)](u));return}const r=n+"::"+t,a=ca(n,t),i=this[x(525)].get(r)??this[x(525)][x(356)](a);i&&(this.disposeEventRootPipeline(i),this[x(525)][x(1538)](r),this.nodeEventBindings[x(1538)](a))}unbindAllForNode(n){const t=c,o=[];this[t(525)].forEach((x,r)=>{const a=t;x[a(1461)]===n&&o[a(1106)]({key:r,root:x})}),o[t(1413)](({key:x,root:r})=>{const a=t;this[a(927)](r),this[a(525)][a(1538)](x)})}getNodeEventBindings(n){const t=c,o=[];return this.nodeEventBindings[t(1413)](x=>{const r=t;x[r(1461)]===n&&o[r(1106)](x)}),o}[c(1791)](n,t,o){const x=c,r=n+"::"+t,a=this[x(525)][x(356)](r)??this.nodeEventBindings[x(356)](ca(n,t));if(!a||!a[x(1536)])return Le({success:!0,result:null,path:[],duration:0});if(!this[x(720)].get(a.id))return oe(()=>new Error("Event flow not initialized for "+r));const u=Date[x(326)](),d={...o,executionPath:o.executionPath||[],runtimeHandlers:this.mergeRuntimeHandlers(o[x(1234)])};return this.executeEventFlow(a,d)[x(501)](nx(s=>({success:!0,result:s,path:d[x(1327)],duration:Date.now()-u})),tx(s=>Le({success:!1,error:s[x(713)]||x(978),path:d.executionPath,duration:Date.now()-u})))}[c(1666)](n,t,o){const x=c,r=n+x(1618)+bo(t),a=this[x(525)].get(r);if(!a||!a[x(1536)])return Le({success:!0,result:null,path:[],duration:0});if(!this[x(720)][x(356)](a.id))return oe(()=>new Error(x(1628)+r));const u=Date[x(326)](),d={...o,executionPath:o.executionPath||[],runtimeHandlers:this[x(1498)](o[x(1234)])};return this.executeEventFlow(a,d)[x(501)](nx(s=>({success:!0,result:s,path:d.executionPath,duration:Date[x(326)]()-u})),tx(s=>Le({success:!1,error:s[x(713)]||x(978),path:d.executionPath,duration:Date[x(326)]()-u})))}[c(2011)](n){const t=c,o=new Xr;this[t(720)][t(1480)](n.id,o)}[c(1558)](n,t){const o=c,{nodes:x,edges:r}=n[o(305)];if(x[o(1146)]===0)return Le(null);const a=x[o(2102)](i=>i[o(1443)][o(1146)]===0);return a[o(1146)]===0?oe(()=>new Error(o(1552))):this[o(2041)](a,x,r,t,{})}[c(2041)](n,t,o,x,r){const a=c;if(n[a(1146)]===0)return Le(r);const i=n[a(632)](u=>this[a(332)](u,x,r).pipe(kl(d=>{const s=a;r[u.id]=d,x[s(1327)].push(u.id)})));return ex(i)[a(501)](go(u=>u,1),nx(()=>{const u=a,d=new Set;return n[u(1413)](f=>{const b=u;f[b(1275)][b(1413)](g=>{const v=b,h=t.find(w=>w.id===g);h&&h[v(1443)][v(2050)](M=>r[M]!==void 0)&&d[v(1996)](g)})}),t[u(2102)](f=>d[u(776)](f.id))}),go(u=>{const d=a;return u[d(1146)]>0?this[d(2041)](u,t,o,x,r):Le(r)}),Ll(3e4),tx(u=>{const d=a;return console[d(1491)](d(1959),u),oe(()=>u)}))}[c(963)](n){const t=c;return this[t(330)][t(356)](n[t(1798)])??n[t(2128)].eventBlock}[c(1927)](n,t,o){const x=c;return n[x(1806)](/\{\{\s*([^}]+?)\s*\}\}/g,(r,a)=>{const i=x,u=String(a)[i(1487)]();if(u[i(386)]("$")){const s=this.getValueFromPath(o,u.slice(1));return s==null?"":String(s)}const d=t[u];return d==null?"":String(d)})}[c(2092)](n,t,o){const x=c,r=n[x(1854)];if(!r)return oe(()=>new Error(x(1908)));if(r==="antdMessage"){const a=n[x(1470)]??{},i=String(a.content??""),u=a.level??x(459),d=a.duration,s=this[x(1927)](i,o,t);if(!s[x(1487)]())return oe(()=>new Error(x(1973)));try{const f={type:u,content:s};if(d!=null&&d!==""){const b=Number(d);!Number.isNaN(b)&&(f[x(895)]=b)}return p[x(713)][x(2003)](f),Le({ok:!0,builtinId:r,content:s,level:u})}catch(f){return oe(()=>f)}}if(r==="switchCanvas"){const a=n[x(1470)]??{},i=String(a[x(1848)]??"")[x(1487)]();if(!i)return oe(()=>new Error("未配置目标画布 ID"));const u=t[x(986)]??t[x(1092)];if(!u)return oe(()=>new Error(x(1446)));try{return u(i),Le({ok:!0,builtinId:r,targetCanvasId:i,withHistory:!!t.jumpToCanvas})}catch(d){return oe(()=>d)}}return oe(()=>new Error(x(693)+String(r)))}[c(366)](n,t,o){try{const x=n(t,o);return x instanceof Promise?ex(x):Le(x)}catch(x){return oe(()=>x)}}[c(332)](n,t,o){const x=c,r=this[x(963)](n);if(!r)return oe(()=>new Error(x(2095)+n[x(1798)]));const a=this[x(282)](n,t,o),i=r[x(633)]??x(676);if(i===x(958)){const u=(r[x(792)]||"")[x(1487)]();if(!u)return oe(()=>new Error(x(445)));const d=t.runtimeHandlers?.[x(958)]?.[u];return d?this[x(366)](d,t,a):oe(()=>new Error(x(842)+u))}if(i===x(610)){const u=(r.externalHandlerKey||"").trim();if(!u)return oe(()=>new Error(x(372)));const d=t[x(1234)]?.external?.[u];return d?this.invokeRuntimeHandler(d,t,a):oe(()=>new Error(x(1941)+u))}if(i===x(762))return this[x(2092)](r,t,a);try{const u=new Function(x(925),x(541),"args",r[x(1971)]),d=u(t[x(1921)],t,a);return d instanceof Promise?ex(d):Le(d)}catch(u){return oe(()=>u)}}[c(282)](n,t,o){const x=c,r={$event:t[x(1660)],$data:t[x(2128)],$node:t[x(1921)]},{inputMapping:a}=n[x(2128)];return a&&Object[x(1412)](a)[x(1413)](([i,u])=>{const d=x;if(u.startsWith("$prev.")){const s=u[d(1806)](d(2071),"");r[i]=o[s]}else if(u[d(386)]("$")){const s=u[d(1208)](1);r[i]=this[d(1230)](t,s)}else r[i]=u}),r}getValueFromPath(n,t){const o=c;return t[o(1122)](".")[o(1636)]((x,r)=>{if(x!==null&&typeof x===o(2036)&&r in x)return x[r]},n)}[c(900)](){const n=c;this[n(1679)][n(1413)](t=>t[n(1889)]()),this.subscriptions[n(753)](),this[n(720)][n(753)](),this[n(525)][n(753)]()}}const En=Yn[c(1105)](),sa=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=c,{eventFlow:r,switchCanvas:a,jumpToCanvas:i}=xe(),u=D.useRef(null),d=D[x(1324)](()=>{const f=x;return r[f(952)][f(2102)](b=>b.bindNodeId===e.id&&b[f(1536)])},[r.eventRoots,e.id]),s=D[x(1324)](f=>b=>{const g=_0xad4d,v=d()[g(2102)](w=>w[g(2009)]===f);if(v[g(1146)]===0)return;f!=="mouseOver"&&f!==g(903)&&b[g(1556)](),b[g(2118)]();const h=o&&typeof o=="object"?{...o}:{};v.forEach(w=>{const M=g;En[M(1791)](e.id,f,{triggerNode:e,originalEvent:b,data:h,runtimeHandlers:t,switchCanvas:a,jumpToCanvas:i})[M(2025)]({next:y=>{const m=M;!y[m(879)]&&console[m(1491)](m(1104),y.error)},error:y=>{const m=M;console[m(1491)](m(1329),y)}})})},[d,e,t,o]);return D.useEffect(()=>{const f=x;return d()[f(1413)](g=>{En[f(1611)](g)}),()=>{En.unbindAllForNode(e.id)}},[d,e.id]),D[x(572)](()=>{const f=x,b=u[f(1347)];if(!b)return;const g={click:s(f(1133)),mousedown:s(f(1591)),mouseup:s("mouseUp"),dblclick:s(f(763)),mouseover:s(f(975)),mouseleave:s(f(903)),mouseenter:s(f(1871)),contextmenu:s(f(499))};return Object.entries(g)[f(1413)](([v,h])=>{b.addEventListener(v,h,!0)}),()=>{const v=f;Object[v(1412)](g)[v(1413)](([h,w])=>{b[v(612)](h,w,!0)})}},[s]),D[x(1238)](n,{ref:f=>{const b=x;u[b(1347)]=f;const g=n[b(288)];typeof g=="function"?g(f):g&&b(1347)in g&&(g[b(1347)]=f)}})},{Text:la}=p[c(1662)],da=(e,n)=>{const t=c;if(!n||!e)return{value:void 0};if(Array[t(1905)](e)){const o=e[t(1804)](x=>x[t(1383)]===n);if(o)return{value:o[t(1127)],unit:o[t(1049)]}}else if(typeof e=="object"){const o=n[t(1122)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(2036))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e[t(1049)]}}return{value:void 0}};function Pl(e){return Array[c(1905)](e)}const jl=(e,n,t)=>{const o=c,x=e.content||{},{valueSourceCode:r,boundDatasetId:a,boundDatasetBindCode:i,boundDatasetBindValue:u}=x;if(!r)return{value:void 0};if(a){const d=n.find(s=>s.id===a);if(d){let s;Pl(d[o(1694)])?i!=null&&u!=null?s=d.sample[o(1804)](b=>b[i]===u)||{}:s={}:s=d[o(1694)];const f=t&&typeof t===o(2036)?{...s,...t}:s;return da(f,r)}}return da(t,r)},Al=(e,n)=>{if(e==null||e==="")return"";if(n===-1)return String(e);const t=Number(e);return isNaN(t)?String(e):t.toFixed(n??2)},Yl=(e,n,t,o,x)=>{const r=c;switch(e[r(1727)]){case r(377):const a=e,i=a.backgroundColor,u=a.fillColor;let d=a[r(493)];return u&&d&&d[r(2096)](r(1808))&&(e[r(1625)]==="矩形"?d="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+u+r(1777)):e[r(1625)]==="圆形"?d=r(1398)+encodeURIComponent(r(327)+u+'"/></svg>'):e.name===r(2088)&&(d=r(1398)+encodeURIComponent(r(822)+u+r(2103)))),l[r(1963)](r(1704),{className:r(2046),style:{backgroundColor:i},children:d?l[r(1963)](r(1931),{src:d,alt:e[r(1625)],style:{width:r(1932),height:"100%",objectFit:"contain"}}):l[r(1963)](r(1704),{className:r(714),children:l[r(1963)](r(1839),{className:r(2037),children:r(1479)})})});case r(325):const s=e,{label:f,value:b,valueSourceCode:g,unit:v,decimals:h,labelStyle:w,valueStyle:M,customStyle:y}=s[r(498)]||{},{value:m,unit:z}=g?jl(s,x||[],n):{value:void 0,unit:void 0},C=m!==void 0?m:b,I=Al(C,h),G=v||z||"";return l[r(931)]("div",{className:r(709),style:{...y},children:[f&&l.jsx(la,{style:{fontSize:14,fontWeight:"bold",color:r(1567),textAlign:r(1369),...w},children:f}),I&&l.jsxs(la,{style:{fontSize:14,color:r(384),textAlign:r(1369),...M},children:[I,G?" "+G:""]})]});case r(1945):const O=e,{thickness:X=2,color:U="#d9d9d9",dashed:E=!1,lineType:T=r(E?1858:337),lineWeight:W=X,startX:V=0,startY:S=0,endX:B=100,endY:N=0}=O.config||{},A=e0=>{const $=r,t0=Math[$(1303)](W,1);switch(e0){case"solid":return"";case"dashed":return t0*8+","+t0*4;case"center":return t0*12+","+t0*3+","+t0*2+","+t0*3;case $(856):return t0*12+","+t0*3+","+t0*2+","+t0*3+","+t0*2+","+t0*3;case $(1158):return t0+","+t0*3;case $(1080):return t0*8+","+t0*3+","+t0+","+t0*3;default:return""}},j=A(T),P=t?r(384):U;return l[r(1963)](r(1704),{className:r(1102),style:{overflow:r(848)},children:l[r(931)](r(780),{className:r(1914),width:r(1932),height:r(1932),style:{overflow:r(848),pointerEvents:"none"},children:[l[r(1963)](r(982),{x1:V,y1:S,x2:B,y2:N,stroke:"transparent",strokeWidth:Math[r(1303)](W,10),strokeLinecap:r(1406),strokeLinejoin:r(1406),style:{pointerEvents:"stroke",cursor:r(476)}}),l[r(1963)]("line",{x1:V,y1:S,x2:B,y2:N,stroke:P,strokeWidth:W,strokeDasharray:j,strokeLinecap:r(1406),strokeLinejoin:r(1406),style:{pointerEvents:r(600)}})]})});case"CUSTOM":const F=e;return F[r(1769)]?F[r(1769)]({}):l.jsx(r(1704),{className:r(539),children:l[r(1963)](r(1839),{className:r(2037),children:"自定义组件"})});default:return l[r(1963)](r(1704),{className:"w-full h-full flex items-center justify-center bg-gray-100",children:l[r(1963)](r(1839),{className:"text-gray-400 text-xs",children:r(1154)})})}},El=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:a=1,enableEventFlow:i=!1,eventFlowData:u,readonly:d=!1})=>{const s=c,{normalStyle:f,controlInfo:b}=e,{isClickable:g,isDraggable:v,isResizable:h}=b,w=e[s(1502)],M=xe(n0=>n0[s(1486)]),y=xe(n0=>n0[s(846)]),m=D.useRef(t);D[s(572)](()=>{const n0=s;m[n0(1347)]=t},[t]);const[z,C]=D.useState(null),I=D[s(342)](null),G=D[s(342)](null),O=D[s(342)](null),X=D.useRef(null),U=D.useRef(null),[E,T]=D[s(1508)](null),W=D[s(342)](null),V=D[s(342)](null),S=D[s(1943)](()=>{const n0=s,b0=e.contentInfo[n0(1916)];if(b0[n0(1146)]===0)return;const r0=Ir(b0,x,M);return r0||b0[0]},[e[s(1502)].statusList,x,M]),B=D[s(342)](e[s(1502)][s(1687)]);D[s(572)](()=>{const n0=s;B[n0(1347)]=e[n0(1502)][n0(1687)]},[e.id]),D.useEffect(()=>{const n0=s,b0=S?.id;b0!==void 0&&B[n0(1347)]!==b0&&(B.current=b0,y(e.id,{contentInfo:{...e[n0(1502)],currentStatusId:b0}}))},[S?.id,e.id,y]);const N=S?.[s(2087)],A=N?.type===s(1945),j=A?N[s(1616)]:null,P=f[s(2043)]??1,F=(f.width||100)*P,e0=(f[s(1408)]||100)*P,$=D.useCallback(()=>{const n0=s,b0=U.current?.closest('[data-canvas="true"]');if(!b0)return a;const r0=b0[n0(880)](),f0=parseFloat(b0[n0(1736)][n0(336)]);return f0?r0[n0(336)]/f0:a},[a]),t0=D[s(1324)]((n0,b0)=>{const r0=s;n0[r0(2118)](),n0.preventDefault();const f0=j?.[r0(1249)]||0,_=j?.[r0(922)]||0,S0=j?.[r0(1004)]||0,O0=j?.[r0(1543)]||0,E0=f.x||0,I0=f.y||0,H0=Math[r0(1303)]((j?.[r0(517)]||j?.thickness||2)*2,4),V0=Math[r0(2135)](f0,S0),U0=Math[r0(2135)](_,O0),j0=Math[r0(1303)](f0,S0),re=Math[r0(1303)](_,O0),J0=Math.max(j0-V0,H0),R0=Math[r0(1303)](re-U0,H0);I.current={mouseX:n0[r0(2136)],mouseY:n0[r0(943)],startX:f0,startY:_,endX:S0,endY:O0,nodeX:E0,nodeY:I0};const ae=Math[r0(2135)](f0,S0),_0=Math[r0(2135)](_,O0);O[r0(1347)]={nodeX:E0+ae,nodeY:I0+_0,width:J0,height:R0,startX:f0-ae,startY:_-_0,endX:S0-ae,endY:O0-_0},G.current=S||null,C(b0)},[j,f.x,f.y,S]);D.useEffect(()=>{const n0=s;if(!z||!A||!j||!r)return;const b0=f0=>{const _=_0xad4d,S0=I[_(1347)];if(!S0||!U[_(1347)])return;const O0=$(),E0=(f0[_(2136)]-S0[_(1497)])/O0,I0=(f0.clientY-S0.mouseY)/O0;let H0=S0.startX,V0=S0[_(922)],U0=S0[_(1004)],j0=S0.endY,re=S0.nodeX,J0=S0.nodeY;z===_(1044)?(H0=S0[_(1249)]+E0,V0=S0[_(922)]+I0,H0<0&&(re=S0[_(882)]+H0,U0=S0[_(1004)]-H0,H0=0),V0<0&&(J0=S0[_(1608)]+V0,j0=S0[_(1543)]-V0,V0=0)):(U0=S0[_(1004)]+E0,j0=S0[_(1543)]+I0,U0<0&&(re=S0[_(882)]+U0,H0=S0[_(1249)]-U0,U0=0),j0<0&&(J0=S0[_(1608)]+j0,V0=S0.startY-j0,j0=0));const R0=Math[_(1303)]((j.lineWeight||2)*2,4),ae=Math[_(2135)](H0,U0),_0=Math[_(2135)](V0,j0),Me=Math.max(H0,U0),pe=Math.max(V0,j0),le=Math[_(1406)](re+ae),ue=Math[_(1406)](J0+_0),ze=Math[_(1406)](H0-ae),Oe=Math[_(1406)](V0-_0),Ve=Math[_(1406)](U0-ae),fe=Math[_(1406)](j0-_0),Ze=Math[_(1406)](Math[_(1303)](Me-ae,R0)),ie=Math[_(1406)](Math.max(pe-_0,R0));O.current={nodeX:le,nodeY:ue,width:Ze,height:ie,startX:ze,startY:Oe,endX:Ve,endY:fe};const ce=U[_(1347)];ce[_(1736)][_(1369)]=le+"px",ce[_(1736)][_(1445)]=ue+"px",ce[_(1736)][_(336)]=Ze+"px",ce[_(1736)][_(1408)]=ie+"px",ce[_(1185)](_(426))[_(1413)](sn=>{const _n=_;sn.setAttribute("x1",String(ze)),sn.setAttribute("y1",String(Oe)),sn[_n(996)]("x2",String(Ve)),sn[_n(996)]("y2",String(fe))});const Je=ce[_(1661)](_(740)),Cn=ce[_(1661)](_(1370));Je&&(Je[_(1736)][_(1369)]=ze-6+"px",Je[_(1736)][_(1445)]=Oe-6+"px"),Cn&&(Cn[_(1736)][_(1369)]=Ve-6+"px",Cn[_(1736)][_(1445)]=fe-6+"px")},r0=()=>{const f0=_0xad4d,_=O[f0(1347)];if(!_||!r){C(null),I[f0(1347)]=null,O.current=null,G.current=null;return}const S0=xe[f0(360)]().nodes.find(U0=>U0.id===e.id),O0=S0?.[f0(1502)][f0(1916)]??e[f0(1502)].statusList,E0=G.current,I0=E0?.id??O0[f0(1804)](U0=>U0[f0(2087)].type===f0(1945))?.id,H0=O0[f0(632)](U0=>{const j0=f0;if(U0[j0(2087)][j0(1727)]!==j0(1945)||U0.id!==I0)return U0;const re=U0.material;return{...U0,material:{...re,config:{...re[j0(1616)],startX:Math[j0(1406)](_[j0(1249)]),startY:Math[j0(1406)](_[j0(922)]),endX:Math[j0(1406)](_[j0(1004)]),endY:Math.round(_.endY)}}}}),V0=S0?.[f0(1502)]??w;r(e.id,{normalStyle:{x:Math[f0(1406)](_[f0(882)]),y:Math[f0(1406)](_.nodeY),width:Math.round(_[f0(336)]),height:Math.round(_[f0(1408)])},contentInfo:{...V0,statusList:H0}}),C(null),I[f0(1347)]=null,O[f0(1347)]=null,G[f0(1347)]=null};return window[n0(1081)](n0(393),b0),window[n0(1081)]("mouseup",r0),()=>{const f0=n0;window[f0(612)]("mousemove",b0),window[f0(612)](f0(1269),r0)}},[z,A,j,e.id,f,w,e[s(1502)][s(1916)],r,$]),D[s(572)](()=>{const n0=s;if(!E||!r)return;const b0=f0=>{const _=_0xad4d;if(!U[_(1347)])return;const S0=$(),O0=(f0[_(2136)]-E[_(1249)])/S0,E0=(f0[_(943)]-E[_(922)])/S0,I0=E.startRotate,H0=I0*Math.PI/180,V0=Math[_(1918)](H0),U0=Math[_(1607)](H0),j0=O0*V0+E0*U0,re=-O0*U0+E0*V0;let J0=E[_(1673)],R0=E[_(1884)],ae=E[_(1864)],_0=E[_(1346)];switch(E[_(1302)]){case"se":J0=Math.max(20,E.startWidth+j0),R0=Math[_(1303)](20,E[_(1884)]+re);break;case"sw":J0=Math[_(1303)](20,E[_(1673)]-j0),R0=Math[_(1303)](20,E[_(1884)]+re),ae=E[_(1864)]+(E.startWidth-J0);break;case"ne":J0=Math[_(1303)](20,E.startWidth+j0),R0=Math[_(1303)](20,E[_(1884)]-re),_0=E[_(1346)]+(E[_(1884)]-R0);break;case"nw":J0=Math.max(20,E[_(1673)]-j0),R0=Math[_(1303)](20,E.startHeight-re),ae=E.startNodeX+(E[_(1673)]-J0),_0=E[_(1346)]+(E[_(1884)]-R0);break}if(I0!==0){let pe=0,le=0,ue=0,ze=0;switch(E[_(1302)]){case"se":pe=0,le=0,ue=0,ze=0;break;case"sw":pe=E[_(1673)],le=0,ue=J0,ze=0;break;case"ne":pe=0,le=E[_(1884)],ue=0,ze=R0;break;case"nw":pe=E[_(1673)],le=E[_(1884)],ue=J0,ze=R0;break}const Oe=pe-E.startWidth/2,Ve=le-E[_(1884)]/2,fe=Oe*V0-Ve*U0,Ze=Oe*U0+Ve*V0,ie=ue-J0/2,ce=ze-R0/2,Re=ie*V0-ce*U0,Je=ie*U0+ce*V0;ae=E[_(1864)]+E[_(1673)]/2-J0/2+fe-Re,_0=E[_(1346)]+E[_(1884)]/2-R0/2+Ze-Je}X[_(1347)]={x:Math[_(1406)](ae),y:Math[_(1406)](_0),width:Math.round(J0),height:Math[_(1406)](R0)};const Me=U[_(1347)];Me[_(1736)][_(1369)]=Math[_(1406)](ae)+"px",Me[_(1736)][_(1445)]=Math[_(1406)](_0)+"px",Me.style.width=Math[_(1406)](J0)+"px",Me.style[_(1408)]=Math[_(1406)](R0)+"px"},r0=()=>{const f0=_0xad4d,_=X.current;_&&r(e.id,{normalStyle:{...f,x:Math.round(_.x),y:Math[f0(1406)](_.y),width:Math[f0(1406)](_[f0(336)]),height:Math[f0(1406)](_[f0(1408)])}}),T(null),X[f0(1347)]=null};return window[n0(1081)](n0(393),b0),window[n0(1081)](n0(1269),r0),()=>{const f0=n0;window[f0(612)](f0(393),b0),window[f0(612)](f0(1269),r0)}},[E,r,e.id,f,$]);const o0=D[s(1324)]((n0,b0)=>{const r0=s;n0[r0(2118)](),n0[r0(1556)](),T({corner:b0,startX:n0[r0(2136)],startY:n0[r0(943)],startWidth:f.width||100,startHeight:f[r0(1408)]||100,startNodeX:f.x||0,startNodeY:f.y||0,startRotate:f[r0(1312)]||0})},[f.width,f.height,f.x,f.y,f.rotate]),g0=D[s(1324)](n0=>{const b0=s;n0.stopPropagation(),n0[b0(1556)]();const r0=U.current?.getBoundingClientRect();if(!r0)return;W[b0(1347)]={startX:n0[b0(2136)],startY:n0[b0(943)],startAngle:f.rotate||0,centerX:r0[b0(1369)]+r0[b0(336)]/2,centerY:r0[b0(1445)]+r0[b0(1408)]/2};const f0=f[b0(1838)]||"",_=E0=>{const I0=b0;U[I0(1347)]&&(U.current[I0(1736)][I0(1838)]=f0?I0(444)+E0+"deg) "+f0:I0(444)+E0+I0(698))};_(f[b0(1312)]||0);const S0=E0=>{const I0=b0;if(!W[I0(1347)])return;const H0=E0[I0(2136)]-W[I0(1347)].centerX,V0=E0.clientY-W[I0(1347)].centerY;let j0=(Math.atan2(V0,H0)*(180/Math.PI)+90)%360;j0<0&&(j0+=360),V.current=j0,_(j0)},O0=()=>{const E0=b0,I0=V.current??W[E0(1347)][E0(1188)];if(V.current=null,W.current=null,r){const H0=e[E0(521)];r(e.id,{normalStyle:{...H0,rotate:Math.round(I0)}})}U.current?.[E0(1736)][E0(1613)]("transform"),window[E0(612)](E0(393),S0),window[E0(612)](E0(1269),O0)};window[b0(1081)](b0(393),S0),window[b0(1081)](b0(1269),O0)},[f[s(1312)],f[s(1838)],r,e.id,e[s(521)]]),v0=e[s(1727)]===s(1137),C0=f.transform||"",d0=f[s(1312)]||0,Q=d||i,u0=Q?S?.[s(1539)]:void 0,z0=u0?.[s(1727)]===s(492),Y=u0?.[s(895)]??1e3,q=u0?.[s(875)]??.3;D[s(572)](()=>{const n0=s;if(!U[n0(1347)])return;const b0=U[n0(1347)];if(!z0){b0[n0(1736)][n0(1539)]="";return}const r0=n0(566)+e.id[n0(1806)](/[^a-zA-Z0-9]/g,""),f0=n0(1732)+r0,_=document.getElementById(f0);_&&_.remove();const S0=document.createElement(n0(1736));return S0.id=f0,S0[n0(747)]=n0(1202)+r0+n0(2e3)+q+n0(741),document.head[n0(939)](S0),b0[n0(1736)][n0(1539)]=r0+" "+Y+n0(1985),()=>{const O0=n0;S0[O0(436)](),b0&&(b0[O0(1736)].animation="")}},[z0,Y,q,e.id]);const c0={position:s(1780),left:f.x||0,top:f.y||0,width:F,height:e0,background:v0?"transparent":f[s(2062)]||s(2085),backgroundImage:v0?void 0:f[s(1167)]?s(825)+f.backgroundImage+")":void 0,backgroundSize:"cover",backgroundPosition:s(1251),padding:Array[s(1905)](f[s(1562)])?f[s(1562)].join(s(998))+"px":f.padding,margin:Array.isArray(f[s(870)])?f.margin.join(s(998))+"px":f[s(870)],borderRadius:v0?void 0:f[s(1789)],border:A||v0?s(600):n?s(1840):f[s(634)]||s(439),outline:n&&v0&&!A?s(1840):void 0,pointerEvents:"auto",opacity:f.opacity??1,transform:A?C0||void 0:C0?s(444)+d0+s(628)+C0:s(444)+d0+s(698),transformOrigin:s(1437),zIndex:n?1e3:f[s(1262)]??1,cursor:v&&!z?s(800):g?"pointer":"default",boxSizing:"border-box",overflow:n||A||v0?"visible":"hidden"},l0={width:"100%",height:s(1932),position:"relative",transformOrigin:s(1437),...f.flipX||f.flipY?{transform:s(1907)+(f.flipX?-1:1)+s(771)+(f[s(482)]?-1:1)+")"}:{}},B0=j?{x:j[s(1249)]||0,y:j[s(922)]||0}:{x:0,y:0},m0=j?{x:j[s(1004)]||0,y:j[s(1543)]||0}:{x:0,y:0},G0=l.jsxs("div",{ref:U,"data-node-id":e.id,style:c0,onClick:n0=>{const b0=s;console[b0(1851)]("NodeRenderer onClick",e.id,b0(1438),g);const r0=m[b0(1347)];g&&r0&&!z&&!E&&!W[b0(1347)]&&(n0.stopPropagation(),r0(n0))},onMouseDown:n0=>{v&&o&&!z&&o(n0)},children:[n&&!A&&l[s(931)](l.Fragment,{children:[!v0&&l[s(931)](l.Fragment,{children:[l[s(1963)](s(1704),{className:s(1008),style:{zIndex:9999,pointerEvents:s(938),cursor:s(1178),marginTop:"-6px",marginLeft:s(1674)},onMouseDown:n0=>o0(n0,"nw"),title:s(2122)}),l[s(1963)](s(1704),{className:s(650),style:{zIndex:9999,pointerEvents:"auto",cursor:s(1026),marginTop:s(1674),marginRight:s(1674)},onMouseDown:n0=>o0(n0,"ne"),title:s(2122)}),l[s(1963)](s(1704),{className:s(1314),style:{zIndex:9999,pointerEvents:s(938),cursor:s(1517),marginBottom:"-6px",marginLeft:s(1674)},onMouseDown:n0=>o0(n0,"sw"),title:"拖拽调整大小"}),l.jsx(s(1704),{className:s(455),style:{zIndex:9999,pointerEvents:"auto",cursor:s(1222),marginBottom:s(1674),marginRight:s(1674)},onMouseDown:n0=>o0(n0,"se"),title:s(2122)})]}),l[s(1963)](s(1704),{className:s(708),style:{zIndex:9999,pointerEvents:s(938),cursor:s(661),marginTop:s(1160),transform:"translateX(-50%)",boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:n0=>g0(n0),title:s(1221)}),l[s(1963)](s(1704),{className:s(624),style:{zIndex:9998,pointerEvents:"none",marginTop:s(311),transform:s(2067)}}),l[s(931)](s(1704),{className:s(1821),children:[e[s(1625)]," ",S?"("+S[s(1625)]+")":""]})]}),n&&A&&j&&r&&l[s(931)](l[s(1060)],{children:[l.jsx(s(1704),{"data-handle":s(1044),className:s(1939),style:{left:B0.x-6,top:B0.y-6,boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:n0=>t0(n0,s(1044)),title:s(1529)}),l[s(1963)]("div",{"data-handle":s(917),className:s(1939),style:{left:m0.x-6,top:m0.y-6,boxShadow:s(1232)},onMouseDown:n0=>t0(n0,s(917)),title:s(1235)}),l[s(1963)](s(1704),{className:"absolute -top-6 left-0 bg-blue-500 text-white text-xs px-2 py-0.5 rounded whitespace-nowrap",children:e.name})]}),l[s(931)](s(1704),{style:A?void 0:l0,className:A?s(1102):void 0,children:[l.jsx("div",{className:s(1102),children:N?l[s(1963)]("div",{className:"w-full h-full",children:Yl(N,x,n,e,M)}):v0?null:l[s(1963)](s(1704),{className:s(1599),children:s(2053)})}),e.type===s(1137)&&e[s(961)]&&l.jsx(s(1704),{className:s(964),children:e[s(961)][s(632)](n0=>l[s(1963)]("div",{className:s(888),children:l.jsx(yo,{node:n0,isSelected:!1,data:x,onUpdateNode:r,scale:a,enableEventFlow:i,eventFlowData:u,readonly:d})},n0.id))})]})]});return i?l[s(1963)](sa,{node:e,flowContextData:u,children:G0}):G0},yo=D[c(598)](El,(e,n)=>{const t=c,o=e.node,x=n.node,r=o.id===x.id&&o[t(521)].x===x[t(521)].x&&o[t(521)].y===x[t(521)].y&&o[t(521)][t(336)]===x[t(521)].width&&o[t(521)][t(1408)]===x[t(521)][t(1408)]&&o[t(521)][t(1312)]===x[t(521)][t(1312)]&&o[t(521)][t(724)]===x.normalStyle[t(724)]&&o[t(521)][t(482)]===x.normalStyle[t(482)],a=o[t(1502)]===x.contentInfo,i=JSON[t(745)](e[t(2026)]??null)===JSON[t(745)](n[t(2026)]??null),u=e[t(843)]===n.isSelected&&e[t(2043)]===n[t(2043)]&&e.enableEventFlow===n.enableEventFlow&&e[t(299)]===n[t(299)]&&i,d=g=>{const v=t,h=[];return g[v(1502)]?.[v(1916)]?.[v(1413)](w=>{const M=v;if(w[M(2087)]?.[M(1727)]==="LINE"){const y=w[M(2087)][M(1616)];h[M(1106)]({statusId:w.id,startX:y?.startX??0,startY:y?.startY??0,endX:y?.[M(1004)]??100,endY:y?.[M(1543)]??0})}}),h},s=d(o),f=d(x);let b=!0;if(s.length!==f.length)b=!1;else for(let g=0;g<s[t(1146)];g++){const v=s[g],h=f[t(1804)](w=>w[t(837)]===v[t(837)]);if(!h||v.startX!==h[t(1249)]||v[t(922)]!==h[t(922)]||v.endX!==h[t(1004)]||v[t(1543)]!==h.endY){b=!1;break}}return r&&a&&u&&b}),Ul=()=>{const e=c,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:a,moveCanvasInSiblingGroup:i,nextSiblingCanvas:u,prevSiblingCanvas:d,setActiveSiblingGroup:s}=xe(),f=n[e(1776)]??null,b=n[e(2004)]||[],[g,v]=D[e(1508)](b[0]?.id??null),h=D[e(1943)](()=>b[e(1804)](U=>U.id===g)||null,[b,g]),[w,M]=D[e(1508)](null),[y,m]=D.useState(""),[z,C]=D.useState(void 0),I=D.useMemo(()=>{const U=e;return h?n[U(317)][U(2102)](E=>!h.canvasIds[U(2096)](E.id)):n.canvases},[n[e(317)],h]),G=D[e(1324)](()=>{const U=t();v(U)},[t]),O=D[e(1324)](U=>{const E=e,T=y[E(1487)]();if(!T){p[E(713)][E(421)](E(1095));return}x(U,{name:T}),M(null),m("")},[y,x]),X=D.useCallback(()=>{!h||!z||(r(h.id,z),C(void 0))},[h,z,r]);return l.jsxs(e(1704),{className:"flex gap-4",style:{minHeight:360},children:[l[e(931)]("div",{className:e(532),style:{minWidth:220},children:[l.jsxs(e(1704),{className:e(1875),children:[l[e(1963)]("span",{className:e(1418),children:e(1135)}),l[e(1963)](p[e(570)],{type:"primary",size:e(1527),icon:l[e(1963)](y0[e(1140)],{}),onClick:G,children:"新建"})]}),b[e(1146)]===0?l.jsx(p.Empty,{description:e(1906),image:p[e(2027)][e(1373)],style:{marginTop:40}}):l[e(1963)](p[e(374)],{size:"small",dataSource:b,renderItem:U=>{const E=e,T=U.id===g,W=w===U.id;return l[E(1963)](p[E(374)][E(803)],{onClick:()=>{W||v(U.id)},style:{cursor:"pointer",background:T?E(1643):void 0,padding:E(1496)},actions:[W?l[E(1963)](p[E(570)],{type:E(658),size:E(1527),onClick:V=>{V[E(2118)](),O(U.id)},children:"保存"}):l[E(1963)](p[E(692)],{title:"重命名",children:l[E(1963)](p.Button,{type:E(1547),size:E(1527),icon:l.jsx(y0[E(722)],{}),onClick:V=>{const S=E;V[S(2118)](),M(U.id),m(U[S(1625)])}})},E(2129)),l[E(1963)](p.Popconfirm,{title:"确认删除该同级关系组?",okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:V=>{const S=E;if(V?.stopPropagation(),o(U.id),g===U.id){const B=b[S(2102)](N=>N.id!==U.id);v(B[0]?.id??null)}},onCancel:V=>V?.[E(2118)](),children:l[E(1963)](p[E(570)],{type:E(1547),size:"small",danger:!0,icon:l.jsx(y0.DeleteOutlined,{}),onClick:V=>V[E(2118)]()})},E(1538))],children:W?l[E(1963)](p.Input,{autoFocus:!0,size:"small",value:y,onChange:V=>m(V[E(852)][E(1127)]),onPressEnter:()=>O(U.id),onClick:V=>V[E(2118)](),style:{width:140}}):l.jsxs("span",{className:E(1573),children:[l[E(1963)](E(1839),{style:{fontWeight:T?600:400},children:U[E(1625)]}),l[E(1963)](p[E(2010)],{color:E(640),children:U.canvasIds[E(1146)]}),f===U.id&&l[E(1963)](p[E(2010)],{color:"green",children:E(799)})]})})}})]}),l[e(1963)]("div",{className:e(532),style:{minWidth:280},children:h?l[e(931)](l[e(1060)],{children:[l.jsxs(e(1704),{className:e(1875),children:[l[e(1963)]("span",{className:"font-semibold text-gray-700",children:e(1460)}),l[e(931)](p[e(2116)],{size:e(1527),children:[f===h.id?l[e(1963)](p[e(692)],{title:e(2113),children:l[e(1963)](p[e(570)],{size:"small",onClick:()=>s(null),children:"退出浏览"})}):l[e(1963)](p[e(692)],{title:"将该组设为活跃组,外部翻页 UI 据此启用",children:l[e(1963)](p[e(570)],{size:e(1527),type:"primary",ghost:!0,disabled:h[e(1998)][e(1146)]===0,onClick:()=>s(h.id),children:"设为活跃组"})}),l.jsx(p[e(692)],{title:e(473),children:l[e(1963)](p[e(570)],{size:e(1527),icon:l.jsx(y0[e(556)],{}),disabled:h.canvasIds[e(1146)]<2,onClick:()=>d(h.id)})}),l[e(1963)](p[e(692)],{title:e(605),children:l[e(1963)](p.Button,{size:"small",icon:l[e(1963)](y0[e(1774)],{}),disabled:h[e(1998)].length<2,onClick:()=>u(h.id)})})]})]}),l[e(931)](e(1704),{className:e(1745),children:[l[e(1963)](p.Select,{placeholder:"选择画布加入",value:z,onChange:C,style:{flex:1},size:"small",disabled:I[e(1146)]===0,options:I[e(632)](U=>({label:U.name,value:U.id}))}),l[e(1963)](p[e(570)],{size:e(1527),type:e(569),icon:l.jsx(y0.PlusOutlined,{}),disabled:!z,onClick:X,children:"加入"})]}),h.canvasIds[e(1146)]===0?l[e(1963)](p[e(2027)],{description:e(1874),image:p[e(2027)][e(1373)],style:{marginTop:40}}):l.jsx(p[e(374)],{size:e(1527),dataSource:h.canvasIds,renderItem:(U,E)=>{const T=e,W=n.canvases[T(1804)](B=>B.id===U),V=n[T(1721)]===U,S=h.canvasIds[T(1146)];return l[T(1963)](p[T(374)][T(803)],{style:{padding:"6px 8px"},actions:[l.jsx(p.Tooltip,{title:"上移",children:l.jsx(p.Button,{type:"text",size:T(1527),icon:l[T(1963)](y0[T(716)],{}),disabled:E===0,onClick:()=>i(h.id,U,"up")})},"up"),l.jsx(p.Tooltip,{title:"下移",children:l.jsx(p.Button,{type:T(1547),size:T(1527),icon:l[T(1963)](y0[T(289)],{}),disabled:E===S-1,onClick:()=>i(h.id,U,T(321))})},T(321)),l[T(1963)](p[T(692)],{title:"从组中移除",children:l.jsx(p[T(570)],{type:T(1547),size:T(1527),danger:!0,icon:l[T(1963)](y0.DeleteOutlined,{}),onClick:()=>a(h.id,U)})},T(436))],children:l[T(931)](T(1839),{className:T(1573),children:[l[T(1963)](p[T(2010)],{children:E+1}),l[T(1963)](T(1839),{style:{fontWeight:V?600:400},children:W?.[T(1625)]??T(974)+U[T(1208)](0,6)+")"}),V&&l[T(1963)](p[T(2010)],{color:T(1516),children:"当前"})]})})}})]}):l[e(1963)](p.Empty,{description:e(630),image:p[e(2027)][e(1373)],style:{marginTop:60}})})]})},Gl=["#1890ff",c(1236),c(1478),c(778),c(606),c(2021),c(1700),c(2068),c(759),c(1567),c(1795),"#d9d9d9",c(1596),c(1672),c(2081),c(1507)],Un=({value:e=c(384),onChange:n,onChangeComplete:t})=>{const o=c,[x,r]=D[o(1508)](!1),[a,i]=D.useState(e),u=D[o(342)](null);D[o(572)](()=>{i(e)},[e]),D[o(572)](()=>{const s=o,f=b=>{const g=_0xad4d;u[g(1347)]&&!u[g(1347)].contains(b[g(852)])&&(r(!1),t?.({toHexString:()=>a}))};return x&&document[s(1081)](s(400),f),()=>document[s(612)]("mousedown",f)},[x,t,a]);const d=s=>{i(s),n?.({toHexString:()=>s})};return l[o(931)](o(1704),{ref:u,style:{position:o(1604),display:o(1062)},children:[l[o(1963)](o(1704),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:a,border:o(712),borderRadius:4,cursor:o(476)}}),x&&l[o(931)](o(1704),{style:{position:o(1780),top:32,left:0,zIndex:1e3,background:"#fff",padding:8,borderRadius:4,boxShadow:"0 2px 8px rgba(0,0,0,0.15)",border:"1px solid #f0f0f0"},children:[l.jsx(o(1704),{style:{display:"grid",gridTemplateColumns:"repeat(8, 1fr)",gap:4},children:Gl[o(632)](s=>l.jsx(o(1704),{onClick:()=>{d(s),r(!1),t?.({toHexString:()=>s})},style:{width:20,height:20,backgroundColor:s,border:a===s?o(1840):"1px solid #d9d9d9",borderRadius:2,cursor:o(476)}},s))}),l[o(1963)]("input",{type:"color",value:a,onChange:s=>d(s[o(852)][o(1127)]),onBlur:()=>t?.({toHexString:()=>a}),style:{width:o(1932),marginTop:8,height:28,border:"1px solid #d9d9d9",borderRadius:4}})]})]})},{TextArea:Ol}=p.Input;function Vl(e){const n=c;if(!e||!(e instanceof HTMLElement))return!1;const t=e[n(784)];return!!(t==="INPUT"||t==="TEXTAREA"||t==="SELECT"||t===n(1629)||e[n(690)]||e[n(1206)]('[contenteditable="true"]')||e[n(1206)](n(1522))||e.closest(n(1022))||e.closest(n(454)))}const ua=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=c,a=D.useRef(null),i=D.useRef(null),u=D[r(342)](null),{nodes:d,selectedNodeId:s,selectedNodeIds:f,mode:b,lineDrawing:g,viewport:v,canvas:h,root:w,setViewport:M,setCanvasConfig:y,addNode:m,selectNode:z,updateNode:C,removeNode:I,bringToFront:G,sendToBack:O,undo:X,redo:U,setMode:E,startLineDrawing:T,endLineDrawing:W,cancelLineDrawing:V,addCanvas:S,removeCanvas:B,switchCanvas:N,updateCanvasName:A,exportCanvas:j,importCanvas:P,setSelectedNodeIds:F,eventFlow:e0,addEventRoot:$,addEventBlock:t0}=xe(),[o0,g0]=D.useState(!1),[,v0]=D.useState({}),C0=D.useRef(b);D[r(572)](()=>{C0.current=b},[b]),D[r(572)](()=>{E(n?r(1077):"select")},[n,E]);const d0=n&&o&&h[r(336)]>0?Math[r(2135)](o/h[r(336)],1):.5,Q=n&&o?1:5,u0=n&&o&&h.width>0?d0:1,z0=n&&o?r(1747)+o+"-"+(x||r(938))+r(1778)+h[r(336)]+"-"+h[r(1408)]:r(1059),Y=D[r(342)](u0),q=D.useRef(!1),c0=D[r(342)]({x:0,y:0}),l0=D.useRef({x:0,y:0,newX:0,newY:0}),B0=D[r(342)](null),[m0,G0]=D.useState({start:null,end:null,isDrawing:!1}),[n0,b0]=D[r(1508)]({start:null,end:null}),r0=f,f0=F;D[r(342)](!1);const[_,S0]=D.useState(!1),[O0,E0]=D[r(1508)](!1),[I0,H0]=D[r(1508)](()=>JSON[r(745)](e??null,null,2)),V0=D.useMemo(()=>{const k=r;if(!O0)return e;try{return JSON[k(520)](I0)}catch{return e}},[I0,e,O0]),U0=D[r(1943)](()=>{const k=r,L=V0;if(L!==null&&typeof L===k(2036))return L;if(L!==void 0)return{_payload:L}},[V0]),j0=D[r(1943)](()=>{const k=r,L=V0;return L!==null&&typeof L===k(2036)&&!Array.isArray(L)?L:Array.isArray(L)?{_telemetryRows:L}:L==null?{}:{_payload:L}},[V0]),re=D.useCallback(()=>{const k=r;let L=e;if(O0)try{L=JSON.parse(I0)}catch{L=e}H0(JSON[k(745)](L??null,null,2)),S0(!0)},[I0,e,O0]),[J0,R0]=D[r(1508)](!1),[ae,_0]=D[r(1508)](!1),[Me,pe]=D[r(1508)](""),[le,ue]=D.useState(!1),ze=D.useCallback(()=>{const k=r;try{const L=j(),K=JSON[k(745)](L,null,2),R=k(1163)+encodeURIComponent(K),J=k(968)+L[k(2132)][k(1625)]+"_"+Date[k(326)]()+k(902),H=document[k(1458)]("a");H[k(996)](k(935),R),H.setAttribute(k(832),J),H[k(1133)](),p[k(713)].success("画布导出成功!")}catch{p[k(713)][k(1491)]("画布导出失败")}},[j]),Oe=D[r(1324)](()=>{const k=r;try{const L=JSON[k(520)](Me);le?P(L):P(L,w[k(1721)]||void 0),_0(!1),pe(""),ue(!1),p.message[k(879)](k(656))}catch{p[k(713)][k(1491)]("JSON 格式错误,请检查输入")}},[Me,le,P,w.currentCanvasId]),Ve=D[r(1324)](k=>{const L=r,K=new FileReader;return K[L(1561)]=R=>{const J=L;try{const H=R[J(852)]?.[J(463)],Z=JSON[J(520)](H);le?P(Z):P(Z,w.currentCanvasId||void 0),p[J(713)][J(879)](J(656)),_0(!1),ue(!1)}catch{p.message.error(J(503))}},K[L(504)](k),!1},[le,P,w[r(1721)]]),[fe,Ze]=D.useState(!1),ie=D[r(1324)]((k,L)=>{const K=r;if(!i.current)return{x:0,y:0};const R=i.current[K(880)](),J=k-R[K(1369)],H=L-R[K(1445)],Z=R.width/h[K(336)],s0=R.height/h[K(1408)],x0=J/Z,i0=H/s0;return{x:Math[K(1406)](x0),y:Math[K(1406)](i0)}},[h.width,h[r(1408)]]),ce=D[r(1324)]((k,L)=>ie(k,L),[ie]),Re=D[r(1324)]((k,L,K=!0)=>{const R=r;if(!g[R(2087)])return;const J=g[R(2087)],H=J.config||{},Z=H[R(517)]||H[R(320)]||2,s0=Math[R(1406)](Math[R(2135)](k.x,L.x)),x0=Math[R(1406)](Math.min(k.y,L.y)),i0=Math[R(1406)](k.x)-s0,h0=Math[R(1406)](k.y)-x0,p0=Math[R(1406)](L.x)-s0,N0=Math[R(1406)](L.y)-x0,L0=Math[R(1303)](Z*2,4),M0=Math[R(1303)](Math[R(1697)](p0-i0),L0),T0=Math[R(1303)](Math.abs(N0-h0),L0),Y0=L.x-k.x,a0=L.y-k.y,w0=Math[R(1406)](Math[R(2019)](a0,Y0)*(180/Math.PI)),q0={...J,id:k0[R(404)](),config:{color:H[R(479)],lineWeight:Z,thickness:Z,lineType:H[R(1790)],startX:i0,startY:h0,endX:p0,endY:N0,rotate:w0}},K0={id:k0.nanoid(),name:J[R(1625)]+"_"+Date[R(326)](),type:R(1938),normalStyle:{width:M0,height:T0,x:s0,y:x0,background:"transparent"},contentInfo:{statusList:[io(q0)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(m(K0,!1),K){const se={x:L.x,y:L.y};G0({start:se,end:{...se},isDrawing:!0})}else G0({start:null,end:null,isDrawing:!1}),W()},[g.material,m,W]),Je=D[r(1324)](()=>{const k=r,L=a[k(1347)]?.[k(1935)];if(!L)return;const K=L.transformState;Y[k(1347)]=K[k(2043)],M({scale:K[k(2043)],positionX:0,positionY:0})},[M]),Cn=D.useCallback(k=>{const L=r;q[L(1347)]||b!==L(2099)&&(k[L(852)]===i.current||k.target.dataset?.[L(2132)]===L(2014))&&(z(null),f0([]))},[z,b]),sn=D[r(1324)](k=>{const L=r;if(k[L(1261)]===0){if(b==="line-draw"&&g[L(2087)]){k[L(2118)]();const K=ie(k[L(2136)],k[L(943)]);m0[L(918)]?m0[L(1044)]&&Re(m0[L(1044)],K,!0):G0({start:K,end:K,isDrawing:!0});return}if(b===L(2099)&&!fe){const K=ce(k[L(2136)],k[L(943)]);b0({start:K,end:K}),f0([]),z(null),k[L(1556)](),k[L(2118)]()}}},[b,g[r(2087)],m0.isDrawing,m0[r(1044)],fe,Re,ie,ce]),_n=D[r(1324)](k=>{const L=r;if(!(b!==L(2098)||!g[L(2087)])&&m0[L(918)]&&m0[L(1044)]){const K=ie(k[L(2136)],k.clientY);Re(m0[L(1044)],K,!1)}},[b,g.material,m0.isDrawing,m0[r(1044)],Re,ie]),lr=D[r(1324)](k=>{const L=r;k[L(1556)](),k[L(901)][L(1597)]=L(1169),g0(!0)},[]),dr=D.useCallback(k=>{k[r(1556)](),g0(!1)},[]),ur=D[r(1324)](k=>{const L=r;if(k[L(1556)](),g0(!1),!(!i[L(1347)]||b!==L(1902)&&b!==L(2099)))try{const K=k[L(901)][L(1879)]("application/json");if(!K)return;const R=JSON.parse(K),J=ie(k.clientX,k[L(943)]),H=J.x-50,Z=J.y-50,s0=Yr(H,Z,R);m(s0),f0([s0.id])}catch(K){console.error(L(591),K)}},[b,m,ie,f0]),fr=D[r(1324)]((k,L)=>{const K=r;b!=="select"&&b!==K(2099)||!L[K(1881)].isDraggable||(k[K(2118)](),z(L.id),q[K(1347)]=!0,c0.current={x:k[K(2136)],y:k[K(943)]},l0.current={x:L[K(521)].x||0,y:L[K(521)].y||0,newX:L[K(521)].x||0,newY:L[K(521)].y||0},B0[K(1347)]=L,k.preventDefault())},[b,z]),At=D[r(1324)](k=>{const L=r,K=r0[L(1146)]>0?r0:s?[s]:[];K.length!==0&&K[L(1413)](R=>{const J=L,H=d[J(1804)](Z0=>Z0.id===R);if(!H)return;const Z=H.contentInfo[J(1916)][J(1804)](Z0=>Z0[J(2087)].type===J(1945));if(!Z)return;const s0=Z[J(2087)],x0=s0[J(1616)]||{},i0=x0[J(1249)]??0,h0=x0[J(922)]??0,p0=x0[J(1004)]??100,N0=x0[J(1543)]??0,L0=p0-i0,M0=N0-h0,T0=Math[J(1571)](L0*L0+M0*M0);let Y0=p0,a0=N0;if(k===J(2006)){const Z0=L0>=0?1:-1;Y0=i0+Z0*T0,a0=h0}else{const Z0=M0>=0?1:-1;Y0=i0,a0=h0+Z0*T0}const w0=x0[J(517)]||x0[J(320)]||2,q0=Math[J(1303)](w0*2,4),K0=Math[J(2135)](i0,Y0),se=Math.min(h0,a0),_e=Math.max(i0,Y0),Wt=Math[J(1303)](h0,a0),Qn=Math[J(1406)]((H[J(521)].x||0)+K0),$n=Math[J(1406)]((H[J(521)].y||0)+se),Qe=Math[J(1406)](i0-K0),Bn=Math[J(1406)](h0-se),Dn=Math[J(1406)](Y0-K0),Ln=Math[J(1406)](a0-se),Sn=Math.round(Math[J(1303)](_e-K0,q0)),et=Math[J(1406)](Math[J(1303)](Wt-se,q0)),Nn=Dn-Qe,kn=Ln-Bn,nt=Math.round(Math[J(2019)](kn,Nn)*(180/Math.PI)),Be=H[J(1502)][J(1916)][J(632)](Z0=>{const $e=J;return Z0.id!==Z.id?Z0:{...Z0,material:{...Z0[$e(2087)],config:{...Z0[$e(2087)].config,startX:Qe,startY:Bn,endX:Dn,endY:Ln,rotate:nt}}}});C(R,{normalStyle:{...H[J(521)],x:Qn,y:$n,width:Sn,height:et},contentInfo:{...H[J(1502)],statusList:Be}})})},[s,r0,d,C]);D[r(572)](()=>{const k=r,L=H=>{const Z=_0xad4d;if(q[Z(1347)]&&s&&B0.current){if(!i[Z(1347)])return;const s0=i[Z(1347)].getBoundingClientRect(),x0=s0[Z(336)]/h[Z(336)],i0=s0.height/h[Z(1408)],h0=H[Z(2136)]-c0.current.x,p0=H.clientY-c0[Z(1347)].y,N0=h0/x0,L0=p0/i0,M0=Math.round(l0[Z(1347)].x+N0),T0=Math[Z(1406)](l0.current.y+L0),Y0=document[Z(1661)]('[data-node-id="'+s+'"]');Y0&&(Y0[Z(1736)][Z(1369)]=M0+"px",Y0.style.top=T0+"px"),l0[Z(1347)][Z(617)]=M0,l0[Z(1347)][Z(362)]=T0}if(b===Z(2099)&&n0.start){const s0=ce(H[Z(2136)],H[Z(943)]);b0(x0=>({...x0,end:s0}))}if(b==="line-draw"&&m0.isDrawing){const s0=ie(H[Z(2136)],H.clientY);G0(x0=>({...x0,end:s0}))}},K=()=>{const H=_0xad4d;if(q.current&&s&&B0[H(1347)]){const Z=xe.getState(),s0=l0[H(1347)][H(617)]??l0[H(1347)].x,x0=l0[H(1347)][H(362)]??l0.current.y;Z[H(846)](s,{normalStyle:{...B0.current[H(521)],x:Math[H(1406)](s0),y:Math[H(1406)](x0)}})}if(q[H(1347)]=!1,B0[H(1347)]=null,v0({}),b===H(2099)&&n0[H(1044)]&&n0[H(917)]){const Z=Math[H(2135)](n0.start.x,n0[H(917)].x),s0=Math.max(n0.start.x,n0[H(917)].x),x0=Math[H(2135)](n0[H(1044)].y,n0[H(917)].y),i0=Math.max(n0[H(1044)].y,n0.end.y),h0=d[H(2102)](p0=>{const N0=H,L0=p0[N0(521)].x||0,M0=p0[N0(521)].y||0,T0=p0[N0(521)][N0(336)]||0,Y0=p0[N0(521)][N0(1408)]||0,a0=L0+T0/2,w0=M0+Y0/2;return a0>=Z&&a0<=s0&&w0>=x0&&w0<=i0}).map(p0=>p0.id);f0(h0),b0({start:null,end:null})}},R=H=>{const Z=_0xad4d;if(!Vl(H[Z(852)])){if(H[Z(821)]===Z(344)&&b===Z(2098)&&(G0({start:null,end:null,isDrawing:!1}),V()),H.key===Z(486)&&(s?I(s):r0[Z(1146)]>0&&(r0.forEach(s0=>I(s0)),f0([]))),H[Z(750)]&&H.key==="z"&&(H.preventDefault(),X()),H[Z(750)]&&H[Z(821)]==="y"&&(H[Z(1556)](),U()),(b==="select"||b===Z(2099))&&(H[Z(821)]==="ArrowLeft"||H[Z(821)]===Z(1783)||H[Z(821)]===Z(1699)||H[Z(821)]===Z(1331))){const s0=r0[Z(1146)]>0?r0:s?[s]:[];if(s0.length>0){H.preventDefault();const x0=H[Z(821)]===Z(1123)?-2:H[Z(821)]===Z(1783)?2:0,i0=H[Z(821)]===Z(1699)?-2:H[Z(821)]===Z(1331)?2:0;s0[Z(1413)](h0=>{const p0=Z,N0=d[p0(1804)](L0=>L0.id===h0);N0&&C(h0,{normalStyle:{...N0.normalStyle,x:(N0.normalStyle.x||0)+x0,y:(N0[p0(521)].y||0)+i0}})})}}(b===Z(1902)||b===Z(2099))&&(H[Z(821)]==="h"||H[Z(821)]==="H")&&(H[Z(1556)](),At("horizontal")),(b===Z(1902)||b===Z(2099))&&(H.key==="v"||H.key==="V")&&(H[Z(1556)](),At(Z(2072))),H[Z(821)]===" "&&(H[Z(1556)](),!fe&&Ze(!0))}},J=H=>{H.key===" "&&fe&&Ze(!1)};return window.addEventListener(k(393),L),window[k(1081)](k(1269),K),window.addEventListener("keydown",R),window[k(1081)]("keyup",J),()=>{const H=k;window[H(612)](H(393),L),window[H(612)](H(1269),K),window.removeEventListener("keydown",R),window.removeEventListener(H(1136),J)}},[s,n0,b,m0[r(918)],r0,d,h.width,h[r(1408)],I,X,fe,U,V,ie,ce,f0,C,At]);const Xx=(k,L=!0)=>{const K=r,R={...k,id:k0[K(404)](),name:k[K(1625)]+K(1836),normalStyle:{...k[K(521)],x:(k[K(521)].x||0)+(L?20:0),y:(k.normalStyle.y||0)+(L?20:0)}};return k[K(1727)]===K(1137)&&k[K(961)]&&(R.children=k[K(961)][K(632)](J=>Xx(J,!1))),R},Yt=D[r(1324)]((k,L,K)=>{const R=r;K[R(1480)](k.id,L.id),k[R(1727)]==="group"&&k[R(961)]&&L[R(1727)]==="group"&&L[R(961)]&&k[R(961)][R(1413)]((J,H)=>{Yt(J,L.children[H],K)})},[]),Et=D[r(1324)]((k,L)=>{const K=r,R=new Map;k[K(305)][K(1895)][K(1413)](s0=>{const x0=K,i0=s0[x0(2128)][x0(540)],h0=t0({name:i0[x0(1625)],callback:i0[x0(1971)],inputs:i0[x0(1443)][x0(632)](p0=>({...p0})),outputs:i0[x0(1275)][x0(632)](p0=>({...p0})),executorType:i0[x0(633)],dataRequestKey:i0[x0(792)],externalHandlerKey:i0[x0(672)],builtinId:i0[x0(1854)],builtinConfig:i0[x0(1470)]?{...i0[x0(1470)]}:void 0,bindNodeId:i0[x0(1461)]?L:void 0,position:i0[x0(1366)]?{...i0.position}:void 0});R[x0(1480)](i0.id,h0)});const J=new Map,H=k[K(305)][K(1895)][K(632)](s0=>{const x0=K,i0=k0[x0(404)]();J[x0(1480)](s0.id,i0);const h0=R.get(s0[x0(1798)]),p0=s0[x0(2128)].eventBlock;return{...s0,id:i0,eventBlockId:h0,position:{...s0[x0(1366)]},inputs:[],outputs:[],data:{...s0[x0(2128)],label:s0[x0(2128)][x0(1977)],eventBlock:{...p0,id:h0,inputs:p0[x0(1443)][x0(632)](N0=>({...N0})),outputs:p0[x0(1275)].map(N0=>({...N0})),bindNodeId:p0[x0(1461)]?L:void 0,position:p0[x0(1366)]?{...p0[x0(1366)]}:void 0,builtinConfig:p0[x0(1470)]?{...p0[x0(1470)]}:void 0}}}});H[K(1413)](s0=>{const x0=K,i0=k[x0(305)][x0(1895)][x0(1804)](h0=>J.get(h0.id)===s0.id);i0&&(s0.inputs=i0[x0(1443)][x0(632)](h0=>J[x0(356)](h0)),s0[x0(1275)]=i0.outputs[x0(632)](h0=>J[x0(356)](h0)))});const Z=k[K(305)].edges[K(632)](s0=>({...s0,id:k0.nanoid(),source:J.get(s0.source),target:J[K(356)](s0[K(852)]),dataMapping:s0[K(2075)]?{...s0[K(2075)]}:void 0}));$({bindNodeId:L,eventType:k.eventType,externalEventKey:k[K(1098)],flowData:{nodes:H,edges:Z},enabled:k[K(1536)],copyOnDuplicate:k[K(1844)]})},[t0,$]),Ut=D[r(1324)](()=>{const k=r,L=r0[k(1146)]>0?r0[k(632)](J=>d.find(H=>H.id===J))[k(2102)](Boolean):s?[d[k(1804)](J=>J.id===s)][k(2102)](Boolean):[];if(L[k(1146)]===0)return;const K=[],R=new Map;L[k(1413)](J=>{const H=k,Z=Xx(J);Yt(J,Z,R),m(Z),K[H(1106)](Z.id)}),e0[k(952)][k(1413)](J=>{const H=k,Z=R[H(356)](J[H(1461)]);Z&&J[H(1844)]!==!1&&Et(J,Z)}),K[k(1146)]===1?z(K[0]):f0(K)},[s,r0,d,m,z,f0,e0,Yt,Et]),Gt=D[r(1324)](k=>{const L=r,K=k[L(521)].x||0,R=k.normalStyle.y||0,J=k.normalStyle[L(336)]||0,H=k.normalStyle.height||0,Z=k[L(521)][L(1312)]||0;if(!Z)return{minX:K,minY:R,maxX:K+J,maxY:R+H};const s0=K+J/2,x0=R+H/2,i0=Z*Math.PI/180,h0=Math.cos(i0),p0=Math.sin(i0),N0=[{x:-J/2,y:-H/2},{x:J/2,y:-H/2},{x:J/2,y:H/2},{x:-J/2,y:H/2}];let L0=1/0,M0=1/0,T0=-1/0,Y0=-1/0;for(const a0 of N0){const w0=s0+a0.x*h0-a0.y*p0,q0=x0+a0.x*p0+a0.y*h0;L0=Math[L(2135)](L0,w0),M0=Math[L(2135)](M0,q0),T0=Math.max(T0,w0),Y0=Math[L(1303)](Y0,q0)}return{minX:L0,minY:M0,maxX:T0,maxY:Y0}},[]),Kx=D[r(1324)](k=>{const L=r,K=k[L(521)].x||0,R=k[L(521)].y||0,J=k[L(521)][L(336)]||0,H=k.normalStyle[L(1408)]||0,Z=k.normalStyle[L(1312)]||0;if(!Z)return(k[L(961)]||[])[L(632)](L0=>({...L0,normalStyle:{...L0[L(521)],x:Math.round(K+(L0.normalStyle.x||0)),y:Math[L(1406)](R+(L0[L(521)].y||0))}}));const s0=Z*Math.PI/180,x0=Math.cos(s0),i0=Math[L(1607)](s0),h0=K+J/2,p0=R+H/2,N0=(L0,M0)=>{const T0=L0-J/2,Y0=M0-H/2;return{x:h0+T0*x0-Y0*i0,y:p0+T0*i0+Y0*x0}};return(k[L(961)]||[])[L(632)](L0=>{const M0=L;if(L0.contentInfo[M0(1916)][M0(1929)](Qe=>Qe[M0(2087)][M0(1727)]===M0(1945))){const Qe=L0.normalStyle.x||0,Bn=L0[M0(521)].y||0,Dn=L0.normalStyle[M0(336)]||0,Ln=L0[M0(521)][M0(1408)]||0,Sn=L0.normalStyle[M0(1312)]||0,et=Sn*Math.PI/180,Nn=Math[M0(1918)](et),kn=Math[M0(1607)](et),nt=(Ae,$0)=>{const he=Ae-Dn/2,De=$0-Ln/2,ee=he*Nn-De*kn+Dn/2,ne=he*kn+De*Nn+Ln/2;return N0(Qe+ee,Bn+ne)};let Be=1/0,Z0=1/0,$e=-1/0,tt=-1/0,je=2;const en=L0[M0(1502)][M0(1916)][M0(632)](Ae=>{const $0=M0;if(Ae[$0(2087)][$0(1727)]!==$0(1945))return null;const he=Ae.material[$0(1616)]||{},De=nt(he[$0(1249)]||0,he.startY||0),ee=nt(he[$0(1004)]||0,he[$0(1543)]||0);return Be=Math[$0(2135)](Be,De.x,ee.x),Z0=Math[$0(2135)](Z0,De.y,ee.y),$e=Math[$0(1303)]($e,De.x,ee.x),tt=Math[$0(1303)](tt,De.y,ee.y),je=Math.max(je,he.lineWeight||he[$0(320)]||2),{s:De,e:ee}});if(Number[M0(1213)](Be)&&Number[M0(1213)](Z0)){const Ae=Math[M0(1303)](je*2,4),$0=Math[M0(1303)]($e-Be,Ae),he=Math[M0(1303)](tt-Z0,Ae),De=L0.contentInfo[M0(1916)].map((ee,ne)=>{const te=M0,de=en[ne];if(!de||ee.material[te(1727)]!==te(1945))return ee;const ge=ee[te(2087)];return{...ee,material:{...ge,config:{...ge[te(1616)]||{},startX:Math[te(1406)](de.s.x-Be),startY:Math[te(1406)](de.s.y-Z0),endX:Math[te(1406)](de.e.x-Be),endY:Math.round(de.e.y-Z0)}}}});return{...L0,normalStyle:{...L0[M0(521)],x:Math[M0(1406)](Be),y:Math[M0(1406)](Z0),width:Math.round($0),height:Math.round(he),rotate:0},contentInfo:{...L0.contentInfo,statusList:De}}}return{...L0,normalStyle:{...L0[M0(521)],x:K+Qe,y:R+Bn,rotate:0}}}const Y0=L0[M0(521)].width||0,a0=L0[M0(521)][M0(1408)]||0,w0=L0.normalStyle.x||0,q0=L0[M0(521)].y||0,K0=w0+Y0/2-J/2,se=q0+a0/2-H/2,_e=h0+K0*x0-se*i0,Wt=p0+K0*i0+se*x0,Qn=L0[M0(521)][M0(1312)]||0,$n=((Qn+Z)%360+360)%360;return{...L0,normalStyle:{...L0[M0(521)],x:_e-Y0/2,y:Wt-a0/2,rotate:$n}}})},[]),Zx=D.useCallback(()=>{const k=r;if(r0[k(1146)]<2)return;const L=[];for(let x0=0;x0<r0[k(1146)];x0++){const i0=r0[x0],h0=d.find(p0=>p0.id===i0);if(h0){if(h0?.[k(1727)]===k(1137)){Kx(h0).forEach(N0=>L[k(1106)](N0)),I(i0);continue}L.push(h0)}}if(L.length<2)return;let K=1/0,R=1/0,J=-1/0,H=-1/0;L[k(1413)](x0=>{const i0=k,h0=Gt(x0);K=Math[i0(2135)](K,h0[i0(1047)]),R=Math[i0(2135)](R,h0[i0(1711)]),J=Math.max(J,h0.maxX),H=Math[i0(1303)](H,h0[i0(534)])});const Z=L[k(632)](x0=>({...x0,normalStyle:{...x0[k(521)],x:Math[k(1406)]((x0.normalStyle.x||0)-K),y:Math[k(1406)]((x0[k(521)].y||0)-R)}})),s0={id:k0[k(404)](),name:k(562)+Date[k(326)](),type:k(1137),normalStyle:{x:Math.round(K),y:Math[k(1406)](R),width:Math[k(1406)](J-K),height:Math[k(1406)](H-R),background:"transparent"},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:Z};r0.forEach(x0=>I(x0)),m(s0),f0([]),z(s0.id)},[r0,d,I,m,z,Kx,Gt]),Rx=k=>{const L=r,K={...k,id:k0.nanoid()};return k.type==="group"&&k[L(961)]&&(K[L(961)]=k[L(961)].map(R=>Rx(R))),K},Jx=D[r(1324)](()=>{const k=r,L=r0[k(1146)]>0?r0[k(632)](K=>d[k(1804)](R=>R.id===K)).filter(K=>!!K&&K[k(1727)]===k(1137)):s?[d[k(1804)](K=>K.id===s)].filter(K=>!!K&&K[k(1727)]===k(1137)):[];L[k(1146)]!==0&&(L.forEach(K=>{const R=k;if(!K.children||K.children[R(1146)]===0)return;const J=K[R(521)].x||0,H=K[R(521)].y||0,Z=K[R(521)].width||0,s0=K[R(521)][R(1408)]||0,x0=K.normalStyle.rotate||0,i0=x0*Math.PI/180,h0=Math.cos(i0),p0=Math[R(1607)](i0),N0=J+Z/2,L0=H+s0/2,M0=(Y0,a0)=>{const w0=Y0-Z/2,q0=a0-s0/2;return{x:N0+w0*h0-q0*p0,y:L0+w0*p0+q0*h0}},T0=K[R(961)][R(632)](Y0=>{const a0=R,w0=Rx(Y0);if(w0[a0(1502)].statusList[a0(1929)](Sn=>Sn[a0(2087)][a0(1727)]===a0(1945))){const Sn=w0.normalStyle.x||0,et=w0[a0(521)].y||0,Nn=w0[a0(521)][a0(336)]||0,kn=w0[a0(521)][a0(1408)]||0,nt=w0[a0(521)][a0(1312)]||0,Be=nt*Math.PI/180,Z0=Math[a0(1918)](Be),$e=Math[a0(1607)](Be),tt=(ee,ne)=>{const te=ee-Nn/2,de=ne-kn/2,ge=te*Z0-de*$e+Nn/2,mr=te*$e+de*Z0+kn/2;return M0(Sn+ge,et+mr)};let je=1/0,en=1/0,Ae=-1/0,$0=-1/0,he=2;const De=w0[a0(1502)].statusList[a0(632)](ee=>{const ne=a0;if(ee[ne(2087)][ne(1727)]!==ne(1945))return null;const te=ee[ne(2087)].config||{},de=tt(te[ne(1249)]||0,te.startY||0),ge=tt(te.endX||0,te[ne(1543)]||0);return je=Math[ne(2135)](je,de.x,ge.x),en=Math.min(en,de.y,ge.y),Ae=Math[ne(1303)](Ae,de.x,ge.x),$0=Math[ne(1303)]($0,de.y,ge.y),he=Math[ne(1303)](he,te[ne(517)]||te[ne(320)]||2),{s:de,e:ge}});if(Number[a0(1213)](je)&&Number[a0(1213)](en)){const ee=Math.max(he*2,4),ne=Math[a0(1303)](Ae-je,ee),te=Math[a0(1303)]($0-en,ee),de=w0.contentInfo[a0(1916)][a0(632)]((ge,mr)=>{const xt=a0,Xt=De[mr];if(!Xt||ge.material[xt(1727)]!==xt(1945))return ge;const Ss=ge[xt(2087)];return{...ge,material:{...Ss,config:{...Ss[xt(1616)]||{},startX:Math[xt(1406)](Xt.s.x-je),startY:Math[xt(1406)](Xt.s.y-en),endX:Math.round(Xt.e.x-je),endY:Math.round(Xt.e.y-en)}}}});return{...w0,normalStyle:{...w0.normalStyle,x:Math[a0(1406)](je),y:Math[a0(1406)](en),width:Math.round(ne),height:Math[a0(1406)](te),rotate:0},contentInfo:{...w0[a0(1502)],statusList:de}}}}const K0=w0[a0(521)].width||0,se=w0[a0(521)].height||0,_e=w0[a0(521)].x||0,Wt=w0.normalStyle.y||0,Qn=_e+K0/2-Z/2,$n=Wt+se/2-s0/2,Qe=N0+Qn*h0-$n*p0,Bn=L0+Qn*p0+$n*h0,Dn=w0[a0(521)].rotate||0,Ln=((Dn+x0)%360+360)%360;return{...w0,normalStyle:{...w0.normalStyle,x:Qe-K0/2,y:Bn-se/2,rotate:Ln}}});I(K.id),T0[R(1413)](Y0=>m(Y0))}),f0([]),z(null))},[s,r0,d,I,m,z,f0]),Ot=D[r(1324)](k=>{const L=r;if(r0.length<1)return;const K=r0[L(632)](R=>d[L(1804)](J=>J.id===R))[L(2102)](R=>!!R);if(K[L(1146)]===1&&K[0][L(1727)]==="group"){const R=K[0];if(!R[L(961)]||R.children[L(1146)]<2)return;const J=[...R[L(961)]];let H=1/0,Z=1/0,s0=-1/0,x0=-1/0;if(k===L(2006)){const i0=[...J].sort((a0,w0)=>(a0.normalStyle.x||0)-(w0[L(521)].x||0));let h0=1/0,p0=-1/0,N0=0;i0[L(1413)](a0=>{const w0=L,q0=a0[w0(521)].x||0,K0=a0[w0(521)][w0(336)]||0;h0=Math[w0(2135)](h0,q0),p0=Math.max(p0,q0+K0),N0+=K0});const L0=(p0-h0-N0)/(i0[L(1146)]-1);let M0=h0;const T0=new Map;i0[L(1413)](a0=>{const w0=L;T0[w0(1480)](a0.id,M0),M0+=(a0[w0(521)][w0(336)]||0)+L0});const Y0=J[L(632)](a0=>({...a0,normalStyle:{...a0.normalStyle,x:T0[L(356)](a0.id)??a0[L(521)].x}}));Y0[L(1413)](a0=>{const w0=L,q0=a0[w0(521)].x||0,K0=a0.normalStyle.y||0,se=a0[w0(521)].width||0,_e=a0[w0(521)][w0(1408)]||0;H=Math[w0(2135)](H,q0),Z=Math[w0(2135)](Z,K0),s0=Math.max(s0,q0+se),x0=Math[w0(1303)](x0,K0+_e)}),C(R.id,{normalStyle:{...R[L(521)],x:Math.round((R[L(521)].x||0)+H),y:Math[L(1406)]((R.normalStyle.y||0)+Z),width:Math.round(s0-H),height:Math.round(x0-Z)},children:Y0[L(632)](a0=>({...a0,normalStyle:{...a0[L(521)],x:Math[L(1406)]((a0[L(521)].x||0)-H),y:Math[L(1406)]((a0[L(521)].y||0)-Z)}}))})}else{const i0=[...J][L(1897)]((a0,w0)=>(a0[L(521)].y||0)-(w0[L(521)].y||0));let h0=1/0,p0=-1/0,N0=0;i0[L(1413)](a0=>{const w0=L,q0=a0.normalStyle.y||0,K0=a0[w0(521)][w0(1408)]||0;h0=Math[w0(2135)](h0,q0),p0=Math[w0(1303)](p0,q0+K0),N0+=K0});const L0=(p0-h0-N0)/(i0[L(1146)]-1);let M0=h0;const T0=new Map;i0[L(1413)](a0=>{const w0=L;T0[w0(1480)](a0.id,M0),M0+=(a0[w0(521)][w0(1408)]||0)+L0});const Y0=J[L(632)](a0=>({...a0,normalStyle:{...a0[L(521)],y:T0[L(356)](a0.id)??a0[L(521)].y}}));Y0[L(1413)](a0=>{const w0=L,q0=a0[w0(521)].x||0,K0=a0.normalStyle.y||0,se=a0.normalStyle[w0(336)]||0,_e=a0.normalStyle[w0(1408)]||0;H=Math[w0(2135)](H,q0),Z=Math.min(Z,K0),s0=Math[w0(1303)](s0,q0+se),x0=Math[w0(1303)](x0,K0+_e)}),C(R.id,{normalStyle:{...R[L(521)],x:(R.normalStyle.x||0)+H,y:(R[L(521)].y||0)+Z,width:s0-H,height:x0-Z},children:Y0[L(632)](a0=>({...a0,normalStyle:{...a0[L(521)],x:(a0[L(521)].x||0)-H,y:(a0[L(521)].y||0)-Z}}))})}return}if(!(K[L(1146)]<2))if(k===L(2006)){const R=[...K][L(1897)]((i0,h0)=>(i0[L(521)].x||0)-(h0.normalStyle.x||0));let J=1/0,H=-1/0,Z=0;R[L(1413)](i0=>{const h0=L,p0=i0[h0(521)].x||0,N0=i0[h0(521)].width||0;J=Math[h0(2135)](J,p0),H=Math[h0(1303)](H,p0+N0),Z+=N0});const s0=(H-J-Z)/(R[L(1146)]-1);let x0=J;R[L(1413)](i0=>{const h0=L,p0=x0;C(i0.id,{normalStyle:{...i0.normalStyle,x:Math[h0(1406)](p0)}}),x0+=(i0[h0(521)].width||0)+s0})}else{const R=[...K][L(1897)]((i0,h0)=>{const p0=L;return(i0.normalStyle.y||0)-(h0[p0(521)].y||0)});let J=1/0,H=-1/0,Z=0;R[L(1413)](i0=>{const h0=L,p0=i0[h0(521)].y||0,N0=i0[h0(521)].height||0;J=Math[h0(2135)](J,p0),H=Math.max(H,p0+N0),Z+=N0});const s0=(H-J-Z)/(R[L(1146)]-1);let x0=J;R[L(1413)](i0=>{const h0=L,p0=x0;C(i0.id,{normalStyle:{...i0[h0(521)],y:Math[h0(1406)](p0)}}),x0+=(i0.normalStyle[h0(1408)]||0)+s0})}},[r0,d,C]),Mn=k=>{const L=r,K=k[L(1502)][L(1916)][L(1804)](R=>R[L(2087)][L(1727)]===L(1945));return K?K[L(2087)][L(1616)]:null},ln=D[r(1324)](k=>{const L=r;if(r0.length<2)return;const K=xe.getState(),R=r0[L(632)](H=>d.find(Z=>Z.id===H)).filter(H=>!!H);if(R.length<2)return;let J=0;switch(k){case L(1369):J=Math[L(2135)](...R[L(632)](H=>{const Z=L,s0=Mn(H);return s0?(H[Z(521)].x||0)+(s0.startX||0):H[Z(521)].x||0}));break;case L(1610):J=Math[L(1303)](...R[L(632)](H=>{const Z=L,s0=Mn(H);return s0?(H[Z(521)].x||0)+(s0[Z(1004)]||0):(H[Z(521)].x||0)+(H.normalStyle[Z(336)]||0)}));break;case L(1445):J=Math[L(2135)](...R.map(H=>{const Z=L,s0=Mn(H);return s0?(H[Z(521)].y||0)+(s0[Z(922)]||0):H[Z(521)].y||0}));break;case L(897):J=Math[L(1303)](...R[L(632)](H=>{const Z=L,s0=Mn(H);return s0?(H[Z(521)].y||0)+(s0.endY||0):(H[Z(521)].y||0)+(H[Z(521)][Z(1408)]||0)}));break}R[L(1413)](H=>{const Z=L;let s0=H[Z(521)].x||0,x0=H[Z(521)].y||0;const i0=Mn(H);switch(k){case"left":i0?s0=J-(i0.startX||0):s0=J;break;case Z(1610):i0?s0=J-(i0.endX||0):s0=J-(H.normalStyle.width||0);break;case"top":i0?x0=J-(i0[Z(922)]||0):x0=J;break;case Z(897):i0?x0=J-(i0[Z(1543)]||0):x0=J-(H.normalStyle[Z(1408)]||0);break}K[Z(846)](H.id,{normalStyle:{...H[Z(521)],x:Math[Z(1406)](s0),y:Math[Z(1406)](x0)}})})},[r0,d]),hr=[{icon:l.jsx(y0[r(564)],{}),title:"选择模式",active:b===r(1902),onClick:()=>{E(r(1902))}},{icon:l.jsx(y0.GroupOutlined,{}),title:"框选模式",active:b===r(2099),onClick:()=>{E(r(2099)),f0([])}},{icon:l[r(1963)](y0.DragOutlined,{}),title:r(1260),active:b===r(1765),onClick:()=>{E(r(1765))}},{icon:l[r(1963)](y0[r(722)],{}),title:r(941),active:b===r(2098),onClick:()=>{E("line-draw")}},{icon:l.jsx(y0[r(1800)],{}),title:"预览模式",active:b==="preview",onClick:()=>{E("preview")}}],Fe=D.useCallback(()=>r0.length>0?r0:s?[s]:[],[r0,s]),Fx=D[r(1324)](()=>{const k=r,L=Fe();if(L.length===0)return;d[k(2102)](R=>L[k(2096)](R.id))[k(632)](R=>R.id)[k(1413)](R=>G(R))},[Fe,d,G]),_x=D[r(1324)](()=>{const k=r,L=Fe();if(L[k(1146)]===0)return;[...d.filter(R=>L[k(2096)](R.id))[k(632)](R=>R.id)].reverse().forEach(R=>O(R))},[Fe,d,O]),Vt=D[r(1324)](k=>{const L=r,K=Fe();K[L(1146)]!==0&&K[L(1413)](R=>{const J=L,H=d.find(s0=>s0.id===R);!H||H[J(1727)]===J(1137)||!H[J(1502)][J(1916)].some(s0=>s0[J(2087)][J(1727)]===J(377))||(k===J(2006)?C(R,{normalStyle:{...H[J(521)],flipX:!H[J(521)][J(724)]}}):C(R,{normalStyle:{...H[J(521)],flipY:!H[J(521)].flipY}}))})},[Fe,d,C]),gr=Fe(),Ht=gr.some(k=>{const L=r,K=d[L(1804)](R=>R.id===k);return K&&K[L(1727)]!==L(1137)&&K[L(1502)].statusList[L(1929)](R=>R[L(2087)][L(1727)]===L(377))}),{actionButtonsRow1:Qx,actionButtonsRow2:br}=D[r(1943)](()=>({actionButtonsRow1:[{icon:l[r(1963)](y0[r(549)],{}),title:"置于顶层",disabled:!s&&r0.length===0,onClick:Fx},{icon:l[r(1963)](y0[r(552)],{}),title:"置于底层",disabled:!s&&r0[r(1146)]===0,onClick:_x},{icon:l[r(1963)](y0[r(413)],{}),title:r(2049),disabled:!s&&r0[r(1146)]===0,onClick:Ut},{icon:l.jsx(y0[r(1475)],{}),title:"组合选中节点",disabled:r0.length<2,onClick:Zx},{icon:l[r(1963)](y0.UngroupOutlined,{}),title:r(1630),disabled:!s&&r0[r(1146)]===0,onClick:Jx},{icon:l[r(1963)](y0[r(1089)],{}),title:r(739),onClick:()=>R0(!0)},{icon:l[r(1963)](y0[r(1181)],{}),title:r(1534),type:r(569),onClick:re},{icon:l[r(1963)](y0[r(1397)],{}),title:r(828),disabled:!s&&r0[r(1146)]===0,onClick:()=>{const k=r;s?I(s):r0[k(1146)]>0&&(r0[k(1413)](L=>I(L)),f0([]))}}],actionButtonsRow2:[{icon:l.jsx(y0.AlignLeftOutlined,{}),title:r(1592),disabled:r0.length<2,onClick:()=>ln(r(1369))},{icon:l.jsx(y0[r(1682)],{}),title:r(442),disabled:r0.length<2,onClick:()=>ln(r(1610))},{icon:l[r(1963)](y0[r(1288)],{}),title:r(318),disabled:r0[r(1146)]<2,onClick:()=>ln(r(1445))},{icon:l[r(1963)](y0[r(536)],{}),title:r(1024),disabled:r0[r(1146)]<2,onClick:()=>ln(r(897))},{icon:l.jsx(y0[r(910)],{}),title:r(511),disabled:(()=>{const k=r;if(r0[k(1146)]>=2)return!1;if(r0.length===1){const L=d[k(1804)](K=>K.id===r0[0]);return!(L?.type===k(1137)&&L[k(961)]&&L[k(961)].length>=2)}return!0})(),onClick:()=>Ot("horizontal")},{icon:l.jsx(y0[r(437)],{}),title:r(1623),disabled:(()=>{const k=r;if(r0[k(1146)]>=2)return!1;if(r0[k(1146)]===1){const L=d[k(1804)](K=>K.id===r0[0]);return!(L?.[k(1727)]===k(1137)&&L[k(961)]&&L[k(961)][k(1146)]>=2)}return!0})(),onClick:()=>Ot(r(2072))},{icon:l[r(1963)](y0[r(1693)],{}),title:r(623),disabled:!Ht,onClick:()=>Vt("horizontal")},{icon:l[r(1963)]("span",{style:{display:r(951),transform:r(1635)},children:l[r(1963)](y0.SwapOutlined,{})}),title:r(1701),disabled:!Ht,onClick:()=>Vt(r(2072))}]}),[X,U,b,E,f0,r0,Zx,Jx,Ut,ln,Ot,Fx,_x,R0,S0,re,s,I,w.currentCanvasId,Ht,Vt,d]),[yr,$x]=D[r(1508)](!1),[eo,Tt]=D[r(1508)](""),[no,qt]=D[r(1508)](null);return l[r(931)](r(1704),{className:"flex flex-col "+(n?"":"flex-1 h-full bg-gray-100"),children:[!n&&l.jsxs(r(1704),{className:r(873),children:[l.jsxs(p[r(2116)],{children:[hr[r(632)](k=>l.jsx(p[r(692)],{title:k[r(538)],children:l.jsx(p[r(570)],{type:k.active?"primary":"default",icon:k.icon,onClick:k.onClick})},k.title)),l[r(1963)](r(1704),{className:r(435)}),l[r(1963)](p[r(1859)],{value:w[r(1721)],onChange:N,style:{width:140},dropdownRender:k=>l[r(931)](l[r(1060)],{children:[k,l[r(1963)](r(1704),{className:r(1555),children:l[r(1963)](p[r(570)],{type:r(658),size:r(1527),block:!0,onClick:()=>$x(!0),children:r(462)})})]}),children:w[r(317)][r(632)](k=>l[r(1963)](p[r(1859)][r(558)],{value:k.id,children:k.name},k.id))}),l[r(1963)](p[r(570)],{icon:l[r(1963)](y0[r(1140)],{}),size:r(1527),onClick:()=>S(),title:r(329)}),l[r(1963)](p[r(692)],{title:r(461),children:l[r(1963)](p[r(570)],{icon:l.jsx(y0.DownloadOutlined,{}),size:r(1527),onClick:ze})}),l[r(1963)](p[r(692)],{title:r(1857),children:l.jsx(p[r(570)],{icon:l[r(1963)](y0[r(1855)],{}),size:r(1527),onClick:()=>_0(!0)})})]}),l[r(931)](p[r(2116)],{direction:r(2072),size:4,children:[l[r(1963)](p[r(2116)],{children:Qx[r(632)](k=>l.jsx(p[r(692)],{title:k.title,children:l[r(1963)](p[r(570)],{type:k.active?r(569):k[r(1727)]||r(1059),icon:k.icon,onClick:L=>{const K=r;k[K(1551)](),L[K(1315)].blur()},disabled:k.disabled})},k.title))}),l[r(1963)](p.Space,{children:br[r(632)](k=>l[r(1963)](p.Tooltip,{title:k[r(538)],children:l[r(1963)](p[r(570)],{type:k[r(302)]?r(569):k[r(1727)]||r(1059),icon:k[r(1576)],onClick:L=>{const K=r;k[K(1551)](),L[K(1315)].blur()},disabled:k[r(1933)]})},k[r(538)]))})]})]}),l.jsx("div",{ref:u,className:r(1953)+(n?"":"flex-1"),style:n&&o?{display:r(666),justifyContent:r(1006),alignItems:"flex-start"}:void 0,onWheel:n&&o?k=>{const L=r;k[L(1556)](),k[L(2118)]();const K=a.current;if(!K)return;const R=Y[L(1347)],J=.1,H=k[L(2060)]>0?Math[L(1303)](R-J,d0):Math[L(2135)](R+J,Q);K[L(970)](0,0,H,0)}:void 0,children:l[r(1963)](Zt[r(519)],{ref:a,initialScale:u0,initialPositionX:0,initialPositionY:0,minScale:d0,maxScale:Q,onTransformed:Je,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!fe&&b!==r(1765),velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:k,zoomOut:L,resetTransform:K})=>l.jsxs(l[r(1060)],{children:[!n&&l[r(1963)](r(1704),{className:"absolute bottom-4 right-4 z-10 bg-white rounded-lg shadow-lg p-2",children:l.jsxs(p[r(2116)],{direction:r(2072),children:[l[r(1963)](p[r(692)],{title:"放大",children:l[r(1963)](p[r(570)],{icon:l[r(1963)](y0[r(411)],{}),onClick:()=>k()})}),l[r(1963)](p[r(692)],{title:"缩小",children:l[r(1963)](p[r(570)],{icon:l.jsx(y0[r(1291)],{}),onClick:()=>L()})}),l[r(1963)](p[r(692)],{title:r(833),children:l[r(1963)](p[r(570)],{onClick:()=>K(),children:"100%"})}),l[r(931)](r(1704),{className:r(1296),children:[Math[r(1406)](v.scale*100),"%"]})]})}),l.jsx(Zt[r(1541)],{wrapperStyle:n&&o?{width:o,height:x||h[r(1408)]*(Y.current||1)+"px",position:"relative",overflow:r(1380)}:{width:r(1932),height:n?h[r(1408)]*(Y.current||1)+"px":"100%",position:"relative",overflow:r(n?848:1380)},contentStyle:{width:n?h[r(336)]+"px":"100%",height:n?h[r(1408)]+"px":r(1932),display:r(666),alignItems:n?"flex-start":r(1251),justifyContent:r(n?1006:1251)},children:l[r(931)](r(1704),{ref:i,"data-canvas":r(2014),className:r(1953)+(o0?"ring-4 ring-blue-400 ring-opacity-50":"")+" "+(b===r(2098)?"cursor-crosshair":"")+" "+(fe?r(1901):""),style:{width:h.width,height:h[r(1408)],flexShrink:0,backgroundColor:h.background,backgroundImage:h[r(1167)]?r(825)+h.backgroundImage+")":void 0,backgroundSize:r(1847),backgroundPosition:r(1251)},onClick:Cn,onMouseDown:sn,onDoubleClick:_n,onDragOver:lr,onDragLeave:dr,onDrop:ur,children:[t&&!n&&l[r(931)](r(1704),{className:r(1513),style:{width:h[r(336)],height:h.height},children:[l[r(1963)](r(1931),{src:t,alt:"",className:"absolute top-0 left-0 select-none",draggable:!1}),l[r(1963)]("svg",{className:"absolute top-0 left-0 pointer-events-none",width:1920,height:1080,children:l.jsx(r(512),{x:"0",y:"0",width:r(862),height:r(2091),fill:r(600),stroke:r(409),strokeWidth:"2"})})]}),h[r(1377)]!==!1&&l[r(931)]("svg",{className:r(1481),width:h[r(336)],height:h[r(1408)],children:[l[r(1963)]("defs",{children:l[r(1963)](r(1096),{id:r(1983),width:"20",height:"20",patternUnits:r(1144),children:l.jsx(r(1019),{d:r(1955),fill:r(600),stroke:r(950),opacity:r(571),strokeWidth:"1"})})}),l[r(1963)](r(512),{width:r(1932),height:r(1932),fill:r(859)})]}),d[r(632)](R=>l[r(1963)](yo,{node:R,isSelected:b===r(1077)?!1:s===R.id||r0[r(2096)](R.id),data:U0,onClick:b===r(1077)?void 0:J=>{const H=r;console[H(1851)](H(916),R.id,H(905),C0.current),C0[H(1347)]!==H(2098)&&(J[H(1880)]?(z(R.id),f0([...r0,R.id])):(z(R.id),f0([R.id])))},onMouseDown:b==="preview"?void 0:J=>fr(J,R),onUpdateNode:b===r(1077)?void 0:(J,H)=>C(J,H),scale:v[r(2043)],enableEventFlow:b===r(1077),eventFlowData:j0,readonly:n},""+R.id)),b===r(2098)&&m0[r(918)]&&m0[r(1044)]&&m0[r(917)]&&l[r(1963)](r(780),{className:r(1481),width:h[r(336)],height:h[r(1408)],children:l[r(1963)](r(982),{x1:m0.start.x,y1:m0[r(1044)].y,x2:m0[r(917)].x,y2:m0.end.y,stroke:"#1890ff",strokeWidth:"2",strokeDasharray:r(1431),strokeLinecap:r(1406),strokeLinejoin:r(1406)})}),b===r(2099)&&n0[r(1044)]&&n0.end&&l[r(1963)]("div",{className:r(1792),style:{left:Math.min(n0[r(1044)].x,n0.end.x),top:Math[r(2135)](n0.start.y,n0[r(917)].y),width:Math[r(1697)](n0[r(917)].x-n0[r(1044)].x),height:Math[r(1697)](n0[r(917)].y-n0[r(1044)].y),zIndex:9999}})]})})]})},z0)}),l[r(1963)](p[r(1050)],{title:"数据模拟",open:_,onCancel:()=>S0(!1),footer:null,children:l[r(1963)](p[r(1756)],{layout:"vertical",children:l[r(1963)](p[r(1756)][r(803)],{label:r(1401),children:l[r(1963)](Ol,{value:I0,onChange:k=>{const L=r;E0(!0),H0(k[L(852)][L(1127)])},rows:10,placeholder:r(908)})})})}),l[r(1963)](p[r(1050)],{title:r(739),open:J0,onCancel:()=>R0(!1),footer:null,children:l[r(931)](p[r(1756)],{layout:r(2072),children:[l[r(1963)](p[r(1756)].Item,{label:"宽度",children:l[r(1963)](p.InputNumber,{value:h.width,onChange:k=>y({width:k||1920}),min:100,max:5e3,style:{width:r(1932)}})}),l[r(1963)](p[r(1756)][r(803)],{label:"高度",children:l.jsx(p[r(458)],{value:h[r(1408)],onChange:k=>y({height:k||1080}),min:100,max:5e3,style:{width:r(1932)}})}),l[r(1963)](p[r(1756)][r(803)],{label:r(1714),children:l.jsx(p[r(1659)],{checked:h[r(1377)]!==!1,onChange:k=>y({showGrid:k})})}),l.jsx(p.Form[r(803)],{label:r(1503),children:l[r(931)](r(1704),{className:r(1573),children:[l[r(1963)](Un,{value:h[r(2062)]||r(749),onChange:k=>y({background:k[r(1995)]()})}),l[r(1963)](p[r(527)],{value:h[r(2062)],onChange:k=>y({background:k[r(852)][r(1127)]}),placeholder:r(1596)})]})}),l[r(931)](p[r(1756)].Item,{label:r(379),children:[l[r(931)]("div",{className:r(1573),children:[l[r(1963)](p[r(976)],{accept:"image/*",showUploadList:!1,beforeUpload:k=>{const L=r;if(!k[L(1727)][L(386)](L(1771)))return p[L(713)].error("只能上传图片文件!"),!1;const R=new FileReader;return R[L(1561)]=J=>{const H=L,Z=J[H(852)]?.[H(463)];y({backgroundImage:Z}),p.message.success(H(1784))},R[L(1937)](k),!1},children:l.jsx(p.Button,{icon:l[r(1963)](y0.UploadOutlined,{}),children:r(1153)})}),l[r(1963)](p[r(527)],{value:h[r(1167)],onChange:k=>y({backgroundImage:k.target[r(1127)]}),placeholder:"输入图片 URL 或上传图片",style:{flex:1}}),h[r(1167)]&&l[r(1963)](p[r(570)],{icon:l[r(1963)](y0.CloseOutlined,{}),onClick:()=>y({backgroundImage:void 0}),danger:!0,size:r(1527)})]}),h[r(1167)]&&l[r(1963)](r(1704),{className:r(1311),style:{maxWidth:"100%"},children:l[r(1963)]("img",{src:h[r(1167)],alt:r(1531),style:{maxWidth:r(1932),maxHeight:120,objectFit:"contain"}})})]})]})}),l[r(1963)](p.Modal,{title:r(1150),open:yr,onCancel:()=>{$x(!1),qt(null),Tt("")},footer:null,width:760,children:l.jsx(p[r(680)],{items:[{key:r(317),label:"画布列表",children:l[r(931)](l[r(1060)],{children:[l[r(1963)](p[r(374)],{dataSource:w[r(317)],renderItem:k=>l[r(1963)](p.List[r(803)],{actions:[no===k.id?l[r(1963)](p[r(570)],{type:r(569),size:r(1527),onClick:()=>{A(k.id,eo),qt(null)},children:"保存"}):l[r(1963)](p[r(570)],{type:"text",icon:l.jsx(y0[r(722)],{}),size:r(1527),onClick:()=>{const L=r;qt(k.id),Tt(k[L(1625)])}}),w[r(317)][r(1146)]>1&&l.jsx(p[r(570)],{type:"text",danger:!0,icon:l[r(1963)](y0[r(1397)],{}),size:r(1527),onClick:()=>B(k.id)})][r(2102)](Boolean),children:no===k.id?l.jsx(p[r(527)],{value:eo,onChange:L=>Tt(L[r(852)][r(1127)]),size:r(1527),style:{width:200}}):l.jsxs("span",{style:{fontWeight:w[r(1721)]===k.id?"bold":r(1938)},children:[k[r(1625)]," ",w[r(1721)]===k.id&&"(当前)"]})})}),l[r(1963)](r(1704),{className:r(530),children:l[r(1963)](p[r(570)],{type:r(569),icon:l[r(1963)](y0[r(1140)],{}),onClick:()=>S(),children:"新建画布"})})]})},{key:r(645),label:r(1691),children:l[r(1963)](Ul,{})}]})}),l.jsx(p[r(1050)],{title:"导入画布",open:ae,onOk:Oe,onCancel:()=>{_0(!1),pe(""),ue(!1)},destroyOnClose:!0,width:600,children:l.jsxs(r(1704),{className:r(655),children:[l[r(931)]("div",{children:[l[r(1963)]("p",{className:r(2079),children:r(1572)}),l[r(1963)](r(1744),{type:"file",accept:r(902),onChange:k=>{const L=r,K=k[L(852)][L(1341)]?.[0];K&&Ve(K)},className:`block w-full text-sm text-gray-500
5
- file:mr-4 file:py-2 file:px-4
6
- file:rounded-full file:border-0
7
- file:text-sm file:font-semibold
8
- file:bg-blue-50 file:text-blue-700
9
- hover:file:bg-blue-100`})]}),l[r(1963)](r(1704),{className:r(1619),children:"或"}),l[r(931)](r(1704),{children:[l[r(1963)]("p",{className:r(2079),children:r(515)}),l[r(1963)](r(334),{value:Me,onChange:k=>pe(k.target[r(1127)]),placeholder:r(1107),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"})]}),l[r(931)](r(1704),{className:r(1573),children:[l[r(1963)](r(1744),{type:r(295),id:"importAsNewCanvas",checked:le,onChange:k=>ue(k[r(852)][r(1463)]),className:r(1244)}),l[r(1963)](r(1977),{htmlFor:"importAsNewCanvas",className:"text-sm text-gray-700",children:r(1930)})]})]})})]})},{Option:xx}=p[c(1859)];function fa(e){return Array.isArray(e)}function Hl(e){const n=c,t=new Set;return e[n(1413)](o=>Object[n(1190)](o)[n(1413)](x=>t[n(1996)](x))),Array[n(1365)](t)}function Tl(e,n){const t=c;return e[t(632)]((o,x)=>{const r=t,a=o[n],i=o.name;return{label:String(i??"项 "+(x+1)),value:typeof a===r(2063)||typeof a===r(1738)?a:String(a)}})}function ha(e,n=""){const t=c,o=[];for(const[x,r]of Object.entries(e)){const a=n?n+"."+x:x;r!==null&&typeof r===t(2036)&&!Array[t(1905)](r)?o[t(1106)](...ha(r,a)):o.push({paramsCode:a,paramsName:a,value:r})}return o}function ql(e,n,t){const o=c;if(fa(e)){if(n!=null&&t!=null){const x=e[o(1804)](r=>r[n]===t);if(x)return x}return{}}return e}const Wl=({material:e,onSave:n})=>{const t=c,o=e,x=o[t(498)]||{},r=xe(m=>m[t(1486)]),[a,i]=D.useState({label:x[t(1977)]||"",value:x.value||"",valueSourceCode:x[t(290)]||"",unit:x[t(1049)]||"",decimals:x[t(1391)]??2,labelFontSize:x.labelStyle?.[t(725)]||14,labelFontWeight:x[t(1850)]?.[t(448)]||t(1382),labelColor:x[t(1850)]?.[t(479)]||t(1567),valueFontSize:x.valueStyle?.[t(725)]||14,valueFontWeight:x.valueStyle?.[t(448)]||t(1938),valueColor:x[t(1488)]?.[t(479)]||t(384),boundDatasetId:x[t(1151)]||"",boundDatasetBindCode:x[t(358)]||"",boundDatasetBindValue:x.boundDatasetBindValue??null}),u=D.useMemo(()=>r[t(1804)](z=>z.id===a.boundDatasetId),[r,a[t(1151)]]),d=u?fa(u[t(1694)]):!1,s=D.useMemo(()=>{const m=t;if(!u)return[];const z=ql(u[m(1694)],a[m(358)],a[m(826)]);return ha(z)},[u,a[t(358)],a[t(826)]]);D[t(572)](()=>{const m=t;i({label:x[m(1977)]||"",value:x[m(1127)]||"",valueSourceCode:x[m(290)]||"",unit:x[m(1049)]||"",decimals:x[m(1391)]??2,labelFontSize:x[m(1850)]?.[m(725)]||14,labelFontWeight:x[m(1850)]?.[m(448)]||m(1382),labelColor:x.labelStyle?.[m(479)]||m(1567),valueFontSize:x[m(1488)]?.fontSize||14,valueFontWeight:x[m(1488)]?.[m(448)]||m(1938),valueColor:x[m(1488)]?.[m(479)]||"#1890ff",boundDatasetId:x[m(1151)]||"",boundDatasetBindCode:x[m(358)]||"",boundDatasetBindValue:x.boundDatasetBindValue??null})},[e.id]);const f=(m,z)=>{i(C=>({...C,[m]:z}))},b=m=>{i(z=>({...z,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=>{i(z=>({...z,boundDatasetBindCode:m||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:m||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},v=m=>{i(z=>({...z,boundDatasetBindValue:m??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:m??void 0,valueSourceCode:void 0}})},0)},h=m=>{const z=t,C=s.find(G=>G.paramsCode===m),I=C?.[z(1049)]||"";i(G=>({...G,valueSourceCode:m,unit:I,value:String(C?.[z(1127)]||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:m,value:String(C?.[z(1127)]||""),unit:I}})},0)},w=()=>{const m=t;n({content:{...x,label:a.label,value:a[m(1127)],valueSourceCode:a[m(290)],unit:a[m(1049)],decimals:a[m(1391)],boundDatasetId:a[m(1151)]||void 0,boundDatasetBindCode:a[m(358)]||void 0,boundDatasetBindValue:a.boundDatasetBindValue??void 0,labelStyle:{fontSize:a[m(357)],fontWeight:a.labelFontWeight,color:a.labelColor},valueStyle:{fontSize:a[m(969)],fontWeight:a[m(1627)],color:a[m(2101)]}}})},M=u&&d?Hl(u[t(1694)]):[],y=u&&d&&a[t(358)]?Tl(u[t(1694)],a[t(358)]):[];return l.jsxs(t(1704),{className:t(655),children:[l.jsx(p[t(1986)],{style:{marginTop:0},children:t(1111)}),l.jsxs(p[t(1756)],{layout:t(2072),children:[l[t(1963)](p[t(1756)].Item,{label:"标签文本 (label)",children:l[t(1963)](p[t(527)],{value:a[t(1977)],onChange:m=>f("label",m[t(852)][t(1127)]),onBlur:w,placeholder:"输入标签文本"})}),l[t(1963)](p[t(1756)].Item,{label:t(1843),help:t(883),children:l[t(1963)](p.Select,{allowClear:!0,placeholder:r[t(1146)]===0?t(1255):"选择数据集",value:a[t(1151)]||void 0,onChange:b,style:{width:"100%"},options:r[t(632)](m=>({label:m[t(1625)],value:m.id}))})}),u&&d&&l[t(931)](l[t(1060)],{children:[l[t(1963)](p.Form[t(803)],{label:t(1494),help:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l[t(1963)](p[t(1859)],{allowClear:!0,placeholder:t(1157),value:a[t(358)]||void 0,onChange:g,style:{width:"100%"},options:M[t(632)](m=>({label:m,value:m}))})}),a[t(358)]&&l[t(1963)](p[t(1756)][t(803)],{label:"绑定值",help:t(395),children:l[t(1963)](p.Select,{allowClear:!0,showSearch:!0,placeholder:"选择绑定值",value:a[t(826)]??void 0,onChange:v,style:{width:t(1932)},options:y,filterOption:(m,z)=>String(z?.label??"")[t(904)]()[t(2096)](m[t(904)]()),onInputKeyDown:m=>{const z=t;m[z(821)]===" "&&m[z(2118)]()}})})]}),l[t(1963)](p[t(1756)][t(803)],{label:t(524),help:t(u?1898:1126),children:l.jsx(p[t(1859)],{value:a[t(290)]||void 0,onChange:h,placeholder:u?t(1290):"请先绑定数据集",allowClear:!0,disabled:!u,style:{width:t(1932)},options:s[t(632)](m=>({value:m.paramsCode,label:m.paramsName}))})}),l[t(1963)](p[t(1756)][t(803)],{label:a[t(290)]?"默认值(备用)":"值文本",help:a[t(290)]?t(641):t(1587),children:l.jsx(p[t(527)],{value:a[t(1127)],onChange:m=>f("value",m[t(852)].value),onBlur:w,placeholder:a[t(290)]?t(869):"输入值文本",disabled:!!a.valueSourceCode,variant:a[t(290)]?"filled":void 0})}),l[t(1963)](p[t(1756)][t(803)],{label:"单位",help:"优先从绑定数据自动获取,也可手动输入",children:l[t(1963)](p.Input,{value:a[t(1049)],onChange:m=>f(t(1049),m.target[t(1127)]),onBlur:w,placeholder:"单位(如°C、%、MPa等)",suffix:a.valueSourceCode&&s.length>0?l.jsx(p.Tag,{color:"blue",style:{marginRight:-8},children:"自动"}):null})}),l[t(1963)](p.Form.Item,{label:"保留小数位",help:"数值格式化时保留的小数位数,-1表示不格式化",children:l[t(1963)](p[t(458)],{value:a[t(1391)],onChange:m=>f("decimals",m??2),onBlur:w,min:-1,max:10,style:{width:t(1932)}})})]}),l[t(1963)](p[t(1986)],{children:t(2093)}),l.jsxs(p[t(1756)],{layout:t(2072),children:[l[t(931)](p[t(2116)],{children:[l[t(1963)](p[t(1756)][t(803)],{label:t(283),children:l[t(1963)](p[t(458)],{value:a.labelFontSize,onChange:m=>f(t(357),m||14),onBlur:w,min:8,max:72})}),l[t(1963)](p[t(1756)][t(803)],{label:"字体粗细",children:l[t(931)](p[t(1859)],{value:a[t(657)],onChange:m=>{f(t(657),m),setTimeout(w,0)},style:{width:100},children:[l[t(1963)](xx,{value:t(1938),children:"正常"}),l.jsx(xx,{value:"bold",children:"粗体"})]})})]}),l[t(1963)](p[t(1756)].Item,{label:t(1097),children:l[t(931)](t(1704),{className:t(1573),children:[l.jsx(Un,{value:a[t(912)]||"#262626",onChange:m=>{f(t(912),m.toHexString())},onChangeComplete:m=>{const z=t;n({content:{...x,label:a[z(1977)],value:a[z(1127)],valueSourceCode:a[z(290)],unit:a[z(1049)],decimals:a[z(1391)],boundDatasetId:a[z(1151)]||void 0,boundDatasetBindCode:a.boundDatasetBindCode||void 0,boundDatasetBindValue:a[z(826)]??void 0,labelStyle:{fontSize:a[z(357)],fontWeight:a[z(657)],color:m.toHexString()},valueStyle:{fontSize:a[z(969)],fontWeight:a[z(1627)],color:a[z(2101)]}}})}}),l[t(1963)](p[t(527)],{value:a[t(912)],onChange:m=>f(t(912),m[t(852)][t(1127)]),onBlur:w,placeholder:t(1567),style:{width:100}})]})})]}),l.jsx(p.Divider,{children:"值样式"}),l[t(931)](p[t(1756)],{layout:t(2072),children:[l[t(931)](p[t(2116)],{children:[l.jsx(p.Form.Item,{label:t(283),children:l[t(1963)](p.InputNumber,{value:a[t(969)],onChange:m=>f("valueFontSize",m||14),onBlur:w,min:8,max:72})}),l.jsx(p[t(1756)][t(803)],{label:t(599),children:l[t(931)](p[t(1859)],{value:a.valueFontWeight,onChange:m=>{f(t(1627),m),setTimeout(w,0)},style:{width:100},children:[l[t(1963)](xx,{value:"normal",children:"正常"}),l.jsx(xx,{value:t(1382),children:"粗体"})]})})]}),l[t(1963)](p[t(1756)][t(803)],{label:"文字颜色",children:l[t(931)](t(1704),{className:t(1573),children:[l[t(1963)](Un,{value:a[t(2101)]||t(384),onChange:m=>{const z=t;f(z(2101),m[z(1995)]())},onChangeComplete:m=>{const z=t;n({content:{...x,label:a[z(1977)],value:a[z(1127)],valueSourceCode:a[z(290)],unit:a[z(1049)],decimals:a.decimals,boundDatasetId:a[z(1151)]||void 0,boundDatasetBindCode:a[z(358)]||void 0,boundDatasetBindValue:a[z(826)]??void 0,labelStyle:{fontSize:a.labelFontSize,fontWeight:a[z(657)],color:a[z(912)]},valueStyle:{fontSize:a[z(969)],fontWeight:a[z(1627)],color:m[z(1995)]()}}})}}),l[t(1963)](p[t(527)],{value:a[t(2101)],onChange:m=>f("valueColor",m.target[t(1127)]),onBlur:w,placeholder:t(384),style:{width:100}})]})})]})]})},Xl=({material:e,onSave:n})=>{const t=c,o=e,[x,r]=D[t(1508)]({name:e[t(1625)],src:o[t(493)]||"",backgroundColor:o[t(1890)]||"",fillColor:o.fillColor||""});D[t(572)](()=>{const u=t;r({name:e[u(1625)],src:o[u(493)]||"",backgroundColor:o.backgroundColor||"",fillColor:o[u(481)]||""})},[e.id]);const a=(u,d)=>{r(s=>({...s,[u]:d}))},i=()=>{const u=t;n({name:x[u(1625)],src:x[u(493)],backgroundColor:x[u(1890)]})};return l[t(931)](t(1704),{className:t(655),children:[l[t(1963)](p[t(1986)],{style:{marginTop:0},children:"图片属性"}),l.jsxs(p[t(1756)],{layout:"vertical",children:[l.jsx(p[t(1756)][t(803)],{label:t(313),children:l[t(1963)](p.Input,{value:x[t(1625)],onChange:u=>a(t(1625),u.target[t(1127)]),onBlur:i})}),l.jsx(p[t(1756)][t(803)],{label:t(618),children:l.jsx(p[t(527)][t(1316)],{value:x[t(493)],onChange:u=>a("src",u[t(852)].value),onBlur:i,rows:4,placeholder:t(1563)})}),l[t(1963)](p[t(1756)][t(803)],{label:t(528),children:l[t(931)](t(1704),{className:"flex items-center gap-2",children:[l[t(1963)](Un,{value:x[t(481)]||t(384),onChange:u=>{const d=t,s=u.toHexString();a(d(481),s),n({name:x[d(1625)],src:x[d(493)],backgroundColor:x.backgroundColor,fillColor:s})}}),l[t(1963)](p[t(527)],{value:x.fillColor,onChange:u=>a("fillColor",u[t(852)][t(1127)]),onBlur:i,placeholder:"#1890ff"})]})}),l[t(1963)](p[t(1756)][t(803)],{label:"背景颜色",children:l[t(931)](t(1704),{className:t(1573),children:[l[t(1963)](Un,{value:x[t(1890)]||"#1890ff",onChange:u=>{const d=t,s=u[d(1995)]();a(d(1890),s),n({name:x[d(1625)],src:x[d(493)],backgroundColor:s,fillColor:x.fillColor})}}),l[t(1963)](p[t(527)],{value:x.backgroundColor,onChange:u=>a(t(1890),u[t(852)][t(1127)]),onBlur:i,placeholder:t(384)})]})})]})]})},{Option:Kl}=p[c(1859)],Zl=({material:e,onSave:n})=>{const t=c,o=e[t(1616)]||{},[x,r]=D[t(1508)]({lineWeight:o[t(517)]||o[t(320)]||2,color:o[t(479)]||t(1567),lineType:o[t(1790)]||t(337),startX:o[t(1249)]??0,startY:o[t(922)]??0,endX:o[t(1004)]??100,endY:o[t(1543)]??0,rotate:o[t(1312)]??0}),a=JSON.stringify({sw:o[t(517)]??o.thickness,c:o[t(479)],t:o[t(1790)],sx:o[t(1249)],sy:o[t(922)],ex:o[t(1004)],ey:o[t(1543)],r:o[t(1312)]});D.useEffect(()=>{const d=t;r({lineWeight:o[d(517)]||o[d(320)]||2,color:o[d(479)]||d(1567),lineType:o[d(1790)]||d(337),startX:o[d(1249)]??0,startY:o[d(922)]??0,endX:o[d(1004)]??100,endY:o[d(1543)]??0,rotate:o[d(1312)]??0})},[e.id,a]);const i=d=>{const s=t,f={...x,...d};r(f),n({config:{...o,thickness:f[s(517)],lineWeight:f[s(517)],color:f[s(479)],lineType:f[s(1790)],startX:f.startX,startY:f[s(922)],endX:f[s(1004)],endY:f[s(1543)],rotate:f[s(1312)]}})},u=[{value:"solid",label:"实线",desc:"连续实线"},{value:t(1858),label:"虚线",desc:t(1333)},{value:t(1251),label:t(1695),desc:t(761)},{value:t(856),label:t(563),desc:"长划-双点交替"},{value:t(1158),label:"点线",desc:"密集点状"},{value:t(1080),label:t(1441),desc:"长划-点交替"}];return l[t(931)](t(1704),{className:t(655),children:[l.jsx(p[t(1986)],{style:{marginTop:0},children:t(585)}),l[t(931)](p.Form,{layout:"vertical",children:[l[t(931)]("div",{className:"grid grid-cols-2 gap-2",children:[l[t(1963)](p[t(1756)][t(803)],{label:t(1456),className:t(2079),children:l.jsx(p[t(458)],{value:x[t(1249)],onChange:d=>i({startX:d??0}),style:{width:t(1932)}})}),l[t(1963)](p[t(1756)][t(803)],{label:t(323),className:t(2079),children:l[t(1963)](p.InputNumber,{value:x[t(922)],onChange:d=>i({startY:d??0}),style:{width:t(1932)}})}),l[t(1963)](p.Form[t(803)],{label:t(506),className:t(2079),children:l.jsx(p[t(458)],{value:x[t(1004)],onChange:d=>i({endX:d??100}),style:{width:t(1932)}})}),l[t(1963)](p[t(1756)][t(803)],{label:t(646),className:t(2079),children:l.jsx(p[t(458)],{value:x[t(1543)],onChange:d=>i({endY:d??0}),style:{width:"100%"}})})]}),l[t(1963)](p[t(1756)].Item,{label:"快速对齐",className:t(752),children:l[t(931)](p[t(2116)],{children:[l[t(1963)](p.Button,{size:"small",onClick:()=>{const d=t,s=o[d(1249)]??x[d(1249)],f=o.startY??x[d(922)],b=o.endX??x[d(1004)],g=o[d(1543)]??x.endY,v=b-s,h=g-f,w=Math[d(1571)](v*v+h*h),M=v>=0?1:-1;i({endX:s+M*w,endY:f})},title:"将线条变为水平线,保持长度",children:"水平"}),l[t(1963)](p[t(570)],{size:t(1527),onClick:()=>{const d=t,s=o[d(1249)]??x[d(1249)],f=o[d(922)]??x[d(922)],b=o[d(1004)]??x[d(1004)],g=o[d(1543)]??x.endY,v=b-s,h=g-f,w=Math.sqrt(v*v+h*h),M=h>=0?1:-1;i({endX:s,endY:f+M*w})},title:"将线条变为垂直线,保持长度",children:"垂直"}),l.jsx(p[t(570)],{size:t(1527),onClick:()=>{const d=t,s=o[d(1249)]??x.startX,f=o[d(922)]??x[d(922)],b=o[d(1004)]??x[d(1004)],g=o.endY??x.endY;i({startX:b,startY:g,endX:s,endY:f})},title:t(1210),children:"反向"})]})}),l[t(1963)](p[t(1756)][t(803)],{label:t(609),help:t(1205),children:l[t(1963)](p.InputNumber,{value:x[t(1312)],onChange:d=>{const s=t,f=d??0,b=o[s(1249)]??x[s(1249)],g=o[s(922)]??x[s(922)],v=o[s(1004)]??x.endX,h=o[s(1543)]??x[s(1543)],w=v-b,M=h-g,y=Math[s(1571)](w*w+M*M),m=f*Math.PI/180;i({rotate:f,endX:Math[s(1406)](b+y*Math[s(1918)](m)),endY:Math[s(1406)](g+y*Math[s(1607)](m))})},style:{width:120}})})]}),l[t(1963)](p[t(1986)],{children:"线条属性"}),l[t(931)](p.Form,{layout:t(2072),children:[l.jsx(p[t(1756)][t(803)],{label:"线型",help:t(1574),children:l[t(1963)](p[t(1859)],{value:x[t(1790)],onChange:d=>i({lineType:d}),children:u[t(632)](d=>l[t(1963)](Kl,{value:d[t(1127)],children:l[t(931)](t(1704),{className:t(1772),children:[l.jsx(t(1839),{children:d.label}),l[t(1963)](t(1839),{className:t(1796),children:d[t(422)]})]})},d.value))})}),l.jsx(p[t(1756)].Item,{label:t(735),children:l[t(1963)](p[t(458)],{value:x[t(517)],onChange:d=>i({lineWeight:d||2}),min:1,max:20,style:{width:120}})}),l[t(1963)](p[t(1756)][t(803)],{label:"颜色",children:l.jsxs("div",{className:t(1573),children:[l.jsx(Un,{value:x[t(479)]||t(1001),onChange:d=>i({color:d[t(1995)]()})}),l[t(1963)](p.Input,{value:x[t(479)],onChange:d=>i({color:d[t(852)][t(1127)]}),placeholder:t(1001),style:{width:100}})]})})]})]})};function ga(e){return Array[c(1905)](e)}function Rl(e){const n=c,t=new Set;return e.forEach(o=>Object.keys(o)[n(1413)](x=>t.add(x))),Array[n(1365)](t)}function Jl(e,n){return e.map((t,o)=>{const x=_0xad4d,r=t[n],a=t[x(1625)];return{label:String(a??"项 "+(o+1)),value:typeof r===x(2063)||typeof r===x(1738)?r:String(r)}})}function Fl(e,n,t){const o=c;if(ga(e)){if(n!=null&&t!=null){const x=e[o(1804)](r=>r[n]===t);if(x)return x}return{}}return e}const ba=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=c,x=xe(h=>h[o(1486)]),r=x.find(h=>h.id===e.boundDatasetId),a=r?ga(r[o(1694)]):!1,i=r?Fl(r.sample,e[o(358)],e[o(826)]):{},u=Nr(i),d=h=>{const w=o,M=w(490)+h;t?t(M):n({expression:""+(e[w(948)]||"")+M})},s=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&&a?Rl(r.sample):[],v=r&&a&&e[o(358)]?Jl(r[o(1694)],e[o(358)]):[];return l[o(931)](l[o(1060)],{children:[l[o(1963)](p[o(1756)][o(803)],{label:o(1843),extra:x.length===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":"可选:绑定后表达式中的 data 会先合并该数据集的 sample,再合并画布传入的运行时数据。不绑定时 data 仅来自运行时。",children:l[o(1963)](p.Select,{allowClear:!0,showSearch:!0,placeholder:x.length===0?o(1749):o(1364),value:e.boundDatasetId??void 0,options:x.map(h=>({label:h[o(1625)],value:h.id})),onChange:s,filterOption:(h,w)=>String(w?.[o(1977)]??"")[o(904)]()[o(2096)](h[o(904)]()),onInputKeyDown:h=>{h[o(821)]===" "&&h.stopPropagation()}})}),r&&a&&l.jsxs(l.Fragment,{children:[l[o(1963)](p.Form.Item,{label:o(1494),extra:o(711),children:l[o(1963)](p[o(1859)],{allowClear:!0,placeholder:o(1157),value:e[o(358)]??void 0,options:g[o(632)](h=>({label:h,value:h})),onChange:f})}),e.boundDatasetBindCode&&l[o(1963)](p.Form[o(803)],{label:o(1817),extra:o(395),children:l[o(1963)](p[o(1859)],{allowClear:!0,showSearch:!0,placeholder:o(985),value:e[o(826)]??void 0,options:v,onChange:b,filterOption:(h,w)=>String(w?.[o(1977)]??"")[o(904)]()[o(2096)](h[o(904)]()),onInputKeyDown:h=>{const w=o;h.key===" "&&h[w(2118)]()}})})]}),u[o(1146)]>0&&l[o(1963)](p[o(1756)][o(803)],{label:o(2034),children:l.jsx(p[o(2116)],{size:[4,4],wrap:!0,children:u[o(632)](h=>l[o(1963)](p[o(2010)],{className:o(677),onClick:()=>d(h),children:o(490)+h},h))})})]})},ya=({material:e,onSave:n})=>{const t=c;switch(e[t(1727)]){case t(325):return l.jsx(Wl,{material:e,onSave:n});case t(377):return l[t(1963)](Xl,{material:e,onSave:n});case t(1945):return l[t(1963)](Zl,{material:e,onSave:n});default:return l[t(1963)]("div",{className:"text-center text-gray-400 py-8",children:t(772)})}},{Panel:ma}=p[c(685)],{TextArea:_l}=p.Input,Ql=({node:e,updateNode:n,materials:t})=>{const o=c,x=t.filter(f=>f[o(1727)]!=="CUSTOM"||!f[o(1616)]?.[o(1895)]),r=(f,b)=>{const g=o,v=e[g(961)]?.[g(632)](h=>h.id===f?{...h,contentInfo:{...h.contentInfo,statusList:b}}:h);n(e.id,{children:v})},a=f=>{const b=o,g=e[b(961)]?.[b(1804)](h=>h.id===f);if(!g)return;const v={id:k0[b(404)](),name:"状态"+(g.contentInfo[b(1916)][b(1146)]+1),expression:g.contentInfo[b(1916)].length===0?b(346):b(555),material:{...x[0],id:k0[b(404)]()},boundDatasetId:null,animation:{type:"none"}};r(f,[...g[b(1502)][b(1916)],v])},i=(f,b)=>{const g=o,v=e[g(961)]?.find(w=>w.id===f);if(!v)return;const h=v[g(1502)].statusList.filter(w=>w.id!==b);r(f,h)},u=(f,b,g)=>{const v=o,h=e[v(961)]?.[v(1804)](M=>M.id===f);if(!h)return;const w=h[v(1502)][v(1916)][v(632)](M=>M.id===b?{...M,...g}:M);r(f,w)},d=(f,b,g)=>{const v=o,h=e[v(961)]?.[v(1804)](y=>y.id===f);if(!h)return;const w=h[v(1502)].statusList[v(1582)](y=>y.id===b);if(w===-1)return;const M=[...h[v(1502)][v(1916)]];g==="up"&&w>0?[M[w],M[w-1]]=[M[w-1],M[w]]:g==="down"&&w<M[v(1146)]-1&&([M[w],M[w+1]]=[M[w+1],M[w]]),r(f,M)},s=(f,b,g)=>{const v=o,h=t[v(1804)](w=>w.id===g);h&&u(f,b,{material:{...h,id:k0[v(404)]()}})};return l.jsxs(o(1704),{className:"space-y-4",children:[l[o(1963)](o(1704),{className:o(335),children:l[o(931)](o(1704),{className:o(1017),children:[l[o(1963)](o(926),{children:o(1709)}),":为每个子节点配置多个状态和绑定"]})}),l[o(1963)](p.Collapse,{ghost:!0,children:e.children?.[o(632)]((f,b)=>l[o(1963)](ma,{header:l.jsxs(o(1704),{className:"flex items-center justify-between w-full pr-4",children:[l.jsxs(o(1839),{className:"font-medium text-sm",children:[o(1420),b+1]}),l[o(931)](p.Tag,{color:o(640),style:{fontSize:o(1170),padding:"0 4px"},children:[f.contentInfo.statusList[o(1146)],o(806)]})]}),children:l[o(931)](o(1704),{className:o(1114),children:[l[o(931)](o(1704),{className:o(1900),children:[l.jsx(o(1839),{className:o(429),children:o(1775)}),l[o(1963)](p[o(570)],{type:o(569),size:o(1527),icon:l.jsx(y0[o(1140)],{}),onClick:()=>a(f.id),children:"添加状态"})]}),f[o(1502)][o(1916)].length===0?l[o(1963)](o(1704),{className:o(1068),children:o(1664)}):l[o(1963)](p[o(685)],{ghost:!0,children:f[o(1502)][o(1916)][o(632)]((g,v)=>l[o(1963)](ma,{header:l[o(931)](o(1704),{className:o(1573),children:[l[o(1963)](o(1839),{className:"text-xs text-gray-400 w-5",children:v+1}),l.jsx(o(1839),{className:o(1399),children:g[o(1625)]}),l[o(1963)](p[o(2010)],{color:"default",className:o(1186),children:g[o(2087)][o(1727)]})]}),extra:l[o(931)](p.Space,{size:"small",onClick:h=>h[o(2118)](),children:[l.jsx(p.Button,{type:"text",size:o(1527),icon:l[o(1963)](y0.ArrowUpOutlined,{}),disabled:v===0,onClick:h=>{h[o(2118)](),d(f.id,g.id,"up")}}),l[o(1963)](p[o(570)],{type:o(1547),size:o(1527),icon:l.jsx(y0[o(289)],{}),disabled:v===f[o(1502)][o(1916)].length-1,onClick:h=>{h[o(2118)](),d(f.id,g.id,"down")}}),l[o(1963)](p[o(570)],{type:"text",size:o(1527),danger:!0,icon:l.jsx(y0[o(1397)],{}),onClick:h=>{h[o(2118)](),i(f.id,g.id)}})]}),children:l[o(931)](p[o(1756)],{layout:o(2072),children:[l.jsx(p.Form[o(803)],{label:"状态名称",children:l[o(1963)](p[o(527)],{value:g[o(1625)],onChange:h=>u(f.id,g.id,{name:h[o(852)][o(1127)]}),placeholder:o(1429)})}),l[o(1963)](ba,{status:g,onUpdate:h=>u(f.id,g.id,h)}),l[o(1963)](p[o(1756)][o(803)],{label:"执行表达式",help:o(1209),children:l[o(1963)](_l,{value:g[o(948)],onChange:h=>u(f.id,g.id,{expression:h[o(852)][o(1127)]}),rows:3,placeholder:o(346)})}),l[o(1963)](p[o(1756)][o(803)],{label:"更换物料",children:l[o(931)](o(1704),{className:o(1573),children:[l[o(1963)](p[o(2010)],{color:"blue",children:g[o(2087)][o(1625)]}),l[o(1963)](p[o(2010)],{color:o(1059),children:g[o(2087)][o(1727)]}),l.jsx(p[o(1859)],{placeholder:o(1870),style:{width:150},value:void 0,onChange:h=>h&&s(f.id,g.id,h),options:x.map(h=>({value:h.id,label:h[o(1625)]+" ("+h[o(1727)]+")"}))})]})}),l[o(1963)](p[o(1986)],{style:{margin:o(1912)}}),l[o(931)](o(1704),{className:o(1794),children:[l[o(1963)](o(1704),{className:o(1875),children:l.jsx(o(1839),{className:o(743),children:o(440)})}),l[o(1963)](p[o(1756)][o(803)],{label:o(1239),className:o(2079),children:l[o(1963)](p[o(1859)],{value:g[o(1539)]?.type||o(600),onChange:h=>u(f.id,g.id,{animation:{...g[o(1539)]||{type:o(600)},type:h}}),options:[{label:"无",value:o(600)},{label:"闪烁",value:o(492)}]})}),g[o(1539)]?.[o(1727)]===o(492)&&l.jsxs(l[o(1060)],{children:[l[o(1963)](p[o(1756)][o(803)],{label:"闪烁周期(ms)",className:o(2079),children:l.jsx(p[o(458)],{min:200,max:1e4,step:100,value:g[o(1539)][o(895)]??1e3,onChange:h=>u(f.id,g.id,{animation:{...g.animation,duration:h??1e3}})})}),l[o(1963)](p.Form.Item,{label:o(1825),className:o(594),children:l.jsx(p[o(458)],{min:0,max:1,step:.1,value:g[o(1539)][o(875)]??.3,onChange:h=>u(f.id,g.id,{animation:{...g[o(1539)],minOpacity:h??.3}})})})]})]}),l[o(1963)](p[o(1986)],{style:{margin:o(1912)}}),l[o(931)](o(1704),{className:o(1794),children:[l[o(931)](o(1704),{className:"flex items-center justify-between mb-2",children:[l[o(1963)](o(1839),{className:o(743),children:o(992)}),l[o(1963)](p[o(2010)],{children:g[o(2087)][o(1625)]})]}),l[o(1963)](ya,{material:g.material,onSave:h=>{const w=o,M={...g[w(2087)],...h};u(f.id,g.id,{material:M})}})]})]})},g.id))})]})},f.id))})]})};function Q0(e){const n=c;if(typeof e===n(2063)||typeof e===n(1738))return""+e;let t="";if(Array[n(1905)](e))for(let o=0,x;o<e[n(1146)];o++)(x=Q0(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var $l={value:()=>{}};function ox(){const e=c;for(var n=0,t=arguments.length,o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(465)](x))throw new Error(e(717)+x);o[x]=[]}return new rx(o)}function rx(e){this._=e}function ed(e,n){const t=c;return e[t(1487)]().split(/^|\s+/).map(function(o){const x=t;var r="",a=o.indexOf(".");if(a>=0&&(r=o.slice(a+1),o=o[x(1208)](0,a)),o&&!n.hasOwnProperty(o))throw new Error(x(1876)+o);return{type:o,name:r}})}rx[c(1827)]=ox[c(1827)]={constructor:rx,on:function(e,n){const t=c;var o=this._,x=ed(e+"",o),r,a=-1,i=x[t(1146)];if(arguments.length<2){for(;++a<i;)if((r=(e=x[a])[t(1727)])&&(r=nd(o[r],e[t(1625)])))return r;return}if(n!=null&&typeof n!==t(1646))throw new Error(t(1252)+n);for(;++a<i;)if(r=(e=x[a])[t(1727)])o[r]=va(o[r],e.name,n);else if(n==null)for(r in o)o[r]=va(o[r],e[t(1625)],null);return this},copy:function(){const e=c;var n={},t=this._;for(var o in t)n[o]=t[o][e(1208)]();return new rx(n)},call:function(e,n){const t=c;if((r=arguments[t(1146)]-2)>0)for(var o=new Array(r),x=0,r,a;x<r;++x)o[x]=arguments[x+2];if(!this._[t(2012)](e))throw new Error(t(1876)+e);for(a=this._[e],x=0,r=a[t(1146)];x<r;++x)a[x][t(1127)][t(1888)](n,o)},apply:function(e,n,t){const o=c;if(!this._[o(2012)](e))throw new Error(o(1876)+e);for(var x=this._[e],r=0,a=x[o(1146)];r<a;++r)x[r].value[o(1888)](n,t)}};function nd(e,n){const t=c;for(var o=0,x=e.length,r;o<x;++o)if((r=e[o])[t(1625)]===n)return r[t(1127)]}function va(e,n,t){const o=c;for(var x=0,r=e.length;x<r;++x)if(e[x].name===n){e[x]=$l,e=e[o(1208)](0,x).concat(e[o(1208)](x+1));break}return t!=null&&e.push({name:n,value:t}),e}var mo=c(1647);const wa={svg:c(1159),xhtml:mo,xlink:c(477),xml:c(1631),xmlns:c(819)};function ax(e){const n=c;var t=e+="",o=t.indexOf(":");return o>=0&&(t=e[n(1208)](0,o))!=="xmlns"&&(e=e.slice(o+1)),wa[n(2012)](t)?{space:wa[t],local:e}:e}function td(e){return function(){const n=_0xad4d;var t=this.ownerDocument,o=this.namespaceURI;return o===mo&&t[n(1359)].namespaceURI===mo?t[n(1458)](e):t.createElementNS(o,e)}}function xd(e){return function(){const n=_0xad4d;return this[n(1767)][n(392)](e.space,e.local)}}function pa(e){const n=c;var t=ax(e);return(t[n(2061)]?xd:td)(t)}function od(){}function vo(e){return e==null?od:function(){return this[_0xad4d(1661)](e)}}function rd(e){const n=c;typeof e!==n(1646)&&(e=vo(e));for(var t=this._groups,o=t[n(1146)],x=new Array(o),r=0;r<o;++r)for(var a=t[r],i=a[n(1146)],u=x[r]=new Array(i),d,s,f=0;f<i;++f)(d=a[f])&&(s=e[n(838)](d,d[n(2017)],f,a))&&(n(2017)in d&&(s[n(2017)]=d.__data__),u[f]=s);return new me(x,this[n(914)])}function ad(e){const n=c;return e==null?[]:Array[n(1905)](e)?e:Array[n(1365)](e)}function id(){return[]}function za(e){return e==null?id:function(){return this.querySelectorAll(e)}}function cd(e){return function(){return ad(e[_0xad4d(1888)](this,arguments))}}function sd(e){const n=c;typeof e=="function"?e=cd(e):e=za(e);for(var t=this[n(1388)],o=t.length,x=[],r=[],a=0;a<o;++a)for(var i=t[a],u=i[n(1146)],d,s=0;s<u;++s)(d=i[s])&&(x[n(1106)](e[n(838)](d,d.__data__,s,i)),r.push(d));return new me(x,r)}function Ca(e){return function(){return this[_0xad4d(382)](e)}}function Ma(e){return function(n){return n.matches(e)}}var ld=Array[c(1827)].find;function dd(e){return function(){const n=_0xad4d;return ld[n(838)](this[n(961)],e)}}function ud(){return this[c(1440)]}function fd(e){const n=c;return this[n(1902)](e==null?ud:dd(typeof e===n(1646)?e:Ma(e)))}var hd=Array[c(1827)][c(2102)];function gd(){return Array[c(1365)](this.children)}function bd(e){return function(){const n=_0xad4d;return hd.call(this[n(961)],e)}}function yd(e){const n=c;return this.selectAll(e==null?gd:bd(typeof e===n(1646)?e:Ma(e)))}function md(e){const n=c;typeof e!==n(1646)&&(e=Ca(e));for(var t=this._groups,o=t[n(1146)],x=new Array(o),r=0;r<o;++r)for(var a=t[r],i=a[n(1146)],u=x[r]=[],d,s=0;s<i;++s)(d=a[s])&&e.call(d,d[n(2017)],s,a)&&u[n(1106)](d);return new me(x,this[n(914)])}function Ba(e){return new Array(e.length)}function vd(){const e=c;return new me(this._enter||this[e(1388)].map(Ba),this[e(914)])}function ix(e,n){const t=c;this[t(1767)]=e[t(1767)],this.namespaceURI=e.namespaceURI,this[t(303)]=null,this[t(1330)]=e,this.__data__=n}ix[c(1827)]={constructor:ix,appendChild:function(e){const n=c;return this._parent[n(811)](e,this[n(303)])},insertBefore:function(e,n){return this._parent.insertBefore(e,n)},querySelector:function(e){const n=c;return this[n(1330)][n(1661)](e)},querySelectorAll:function(e){const n=c;return this[n(1330)][n(1185)](e)}};function wd(e){return function(){return e}}function pd(e,n,t,o,x,r){const a=c;for(var i=0,u,d=n[a(1146)],s=r[a(1146)];i<s;++i)(u=n[i])?(u[a(2017)]=r[i],o[i]=u):t[i]=new ix(e,r[i]);for(;i<d;++i)(u=n[i])&&(x[i]=u)}function zd(e,n,t,o,x,r,a){const i=c;var u,d,s=new Map,f=n[i(1146)],b=r[i(1146)],g=new Array(f),v;for(u=0;u<f;++u)(d=n[u])&&(g[u]=v=a[i(838)](d,d.__data__,u,n)+"",s[i(776)](v)?x[u]=d:s.set(v,d));for(u=0;u<b;++u)v=a[i(838)](e,r[u],u,r)+"",(d=s[i(356)](v))?(o[u]=d,d[i(2017)]=r[u],s[i(1538)](v)):t[u]=new ix(e,r[u]);for(u=0;u<f;++u)(d=n[u])&&s[i(356)](g[u])===d&&(x[u]=d)}function Cd(e){return e[c(2017)]}function Md(e,n){const t=c;if(!arguments[t(1146)])return Array.from(this,Cd);var o=n?zd:pd,x=this[t(914)],r=this._groups;typeof e!==t(1646)&&(e=wd(e));for(var a=r[t(1146)],i=new Array(a),u=new Array(a),d=new Array(a),s=0;s<a;++s){var f=x[s],b=r[s],g=b.length,v=Bd(e.call(f,f&&f[t(2017)],s,x)),h=v.length,w=u[s]=new Array(h),M=i[s]=new Array(h),y=d[s]=new Array(g);o(f,b,w,M,y,v,n);for(var m=0,z=0,C,I;m<h;++m)if(C=w[m]){for(m>=z&&(z=m+1);!(I=M[z])&&++z<h;);C[t(303)]=I||null}}return i=new me(i,x),i[t(1143)]=u,i[t(1787)]=d,i}function Bd(e){const n=c;return typeof e===n(2036)&&n(1146)in e?e:Array[n(1365)](e)}function Dd(){const e=c;return new me(this[e(1787)]||this[e(1388)][e(632)](Ba),this[e(914)])}function Ld(e,n,t){const o=c;var x=this[o(834)](),r=this,a=this[o(1605)]();return typeof e=="function"?(x=e(x),x&&(x=x.selection())):x=x.append(e+""),n!=null&&(r=n(r),r&&(r=r[o(1757)]())),t==null?a[o(436)]():t(a),x&&r?x[o(619)](r)[o(1575)]():r}function Sd(e){const n=c;for(var t=e[n(1757)]?e[n(1757)]():e,o=this[n(1388)],x=t[n(1388)],r=o[n(1146)],a=x.length,i=Math[n(2135)](r,a),u=new Array(r),d=0;d<i;++d)for(var s=o[d],f=x[d],b=s[n(1146)],g=u[d]=new Array(b),v,h=0;h<b;++h)(v=s[h]||f[h])&&(g[h]=v);for(;d<r;++d)u[d]=o[d];return new me(u,this[n(914)])}function Nd(){const e=c;for(var n=this[e(1388)],t=-1,o=n.length;++t<o;)for(var x=n[t],r=x[e(1146)]-1,a=x[r],i;--r>=0;)(i=x[r])&&(a&&i[e(1410)](a)^4&&a[e(1184)][e(811)](i,a),a=i);return this}function kd(e){const n=c;e||(e=Id);function t(b,g){const v=_0xad4d;return b&&g?e(b[v(2017)],g[v(2017)]):!b-!g}for(var o=this[n(1388)],x=o[n(1146)],r=new Array(x),a=0;a<x;++a){for(var i=o[a],u=i[n(1146)],d=r[a]=new Array(u),s,f=0;f<u;++f)(s=i[f])&&(d[f]=s);d[n(1897)](t)}return new me(r,this._parents)[n(1575)]()}function Id(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function Pd(){const e=c;var n=arguments[0];return arguments[0]=this,n[e(1888)](null,arguments),this}function jd(){return Array[c(1365)](this)}function Ad(){const e=c;for(var n=this[e(1388)],t=0,o=n[e(1146)];t<o;++t)for(var x=n[t],r=0,a=x.length;r<a;++r){var i=x[r];if(i)return i}return null}function Yd(){let e=0;for(const n of this)++e;return e}function Ed(){return!this[c(925)]()}function Ud(e){const n=c;for(var t=this[n(1388)],o=0,x=t[n(1146)];o<x;++o)for(var r=t[o],a=0,i=r.length,u;a<i;++a)(u=r[a])&&e[n(838)](u,u[n(2017)],a,r);return this}function Gd(e){return function(){this[_0xad4d(510)](e)}}function Od(e){return function(){const n=_0xad4d;this[n(2005)](e[n(324)],e[n(2061)])}}function Vd(e,n){return function(){this[_0xad4d(996)](e,n)}}function Hd(e,n){return function(){const t=_0xad4d;this.setAttributeNS(e[t(324)],e[t(2061)],n)}}function Td(e,n){return function(){const t=_0xad4d;var o=n[t(1888)](this,arguments);o==null?this[t(510)](e):this[t(996)](e,o)}}function qd(e,n){return function(){const t=_0xad4d;var o=n.apply(this,arguments);o==null?this[t(2005)](e[t(324)],e[t(2061)]):this[t(1253)](e.space,e[t(2061)],o)}}function Wd(e,n){const t=c;var o=ax(e);if(arguments[t(1146)]<2){var x=this.node();return o[t(2061)]?x.getAttributeNS(o.space,o[t(2061)]):x[t(1865)](o)}return this[t(1070)]((n==null?o[t(2061)]?Od:Gd:typeof n===t(1646)?o[t(2061)]?qd:Td:o.local?Hd:Vd)(o,n))}function Da(e){const n=c;return e[n(1767)]&&e[n(1767)][n(1766)]||e[n(2104)]&&e||e[n(1766)]}function Xd(e){return function(){const n=_0xad4d;this[n(1736)][n(1613)](e)}}function Kd(e,n,t){return function(){const o=_0xad4d;this[o(1736)][o(1761)](e,n,t)}}function Zd(e,n,t){return function(){const o=_0xad4d;var x=n[o(1888)](this,arguments);x==null?this.style[o(1613)](e):this[o(1736)][o(1761)](e,x,t)}}function Rd(e,n,t){const o=c;return arguments.length>1?this[o(1070)]((n==null?Xd:typeof n=="function"?Zd:Kd)(e,n,t??"")):Gn(this[o(925)](),e)}function Gn(e,n){const t=c;return e[t(1736)][t(420)](n)||Da(e).getComputedStyle(e,null).getPropertyValue(n)}function Jd(e){return function(){delete this[e]}}function Fd(e,n){return function(){this[e]=n}}function _d(e,n){return function(){var o=n[_0xad4d(1888)](this,arguments);o==null?delete this[e]:this[e]=o}}function Qd(e,n){const t=c;return arguments[t(1146)]>1?this[t(1070)]((n==null?Jd:typeof n===t(1646)?_d:Fd)(e,n)):this[t(925)]()[e]}function La(e){const n=c;return e.trim()[n(1122)](/^|\s+/)}function wo(e){return e[c(1171)]||new Sa(e)}function Sa(e){const n=c;this[n(1739)]=e,this._names=La(e[n(1865)](n(767))||"")}Sa[c(1827)]={add:function(e){const n=c;var t=this[n(892)].indexOf(e);t<0&&(this._names[n(1106)](e),this[n(1739)].setAttribute(n(767),this[n(892)].join(" ")))},remove:function(e){const n=c;var t=this[n(892)][n(385)](e);t>=0&&(this[n(892)][n(588)](t,1),this[n(1739)][n(996)](n(767),this[n(892)][n(2077)](" ")))},contains:function(e){const n=c;return this[n(892)][n(385)](e)>=0}};function Na(e,n){const t=c;for(var o=wo(e),x=-1,r=n[t(1146)];++x<r;)o[t(1996)](n[x])}function ka(e,n){const t=c;for(var o=wo(e),x=-1,r=n[t(1146)];++x<r;)o[t(436)](n[x])}function $d(e){return function(){Na(this,e)}}function eu(e){return function(){ka(this,e)}}function nu(e,n){return function(){(n.apply(this,arguments)?Na:ka)(this,e)}}function tu(e,n){const t=c;var o=La(e+"");if(arguments[t(1146)]<2){for(var x=wo(this[t(925)]()),r=-1,a=o[t(1146)];++r<a;)if(!x[t(1229)](o[r]))return!1;return!0}return this.each((typeof n===t(1646)?nu:n?$d:eu)(o,n))}function xu(){this.textContent=""}function ou(e){return function(){const n=_0xad4d;this[n(747)]=e}}function ru(e){return function(){var t=e[_0xad4d(1888)](this,arguments);this.textContent=t??""}}function au(e){const n=c;return arguments[n(1146)]?this.each(e==null?xu:(typeof e===n(1646)?ru:ou)(e)):this[n(925)]()[n(747)]}function iu(){const e=c;this[e(2114)]=""}function cu(e){return function(){const n=_0xad4d;this[n(2114)]=e}}function su(e){return function(){const n=_0xad4d;var t=e[n(1888)](this,arguments);this[n(2114)]=t??""}}function lu(e){const n=c;return arguments[n(1146)]?this.each(e==null?iu:(typeof e=="function"?su:cu)(e)):this[n(925)]()[n(2114)]}function du(){const e=c;this[e(505)]&&this[e(1184)].appendChild(this)}function uu(){return this[c(1070)](du)}function fu(){const e=c;this[e(1681)]&&this[e(1184)][e(811)](this,this[e(1184)][e(453)])}function hu(){return this[c(1070)](fu)}function gu(e){const n=c;var t=typeof e===n(1646)?e:pa(e);return this[n(1902)](function(){const o=n;return this.appendChild(t[o(1888)](this,arguments))})}function bu(){return null}function yu(e,n){const t=c;var o=typeof e===t(1646)?e:pa(e),x=n==null?bu:typeof n=="function"?n:vo(n);return this[t(1902)](function(){const r=t;return this[r(811)](o[r(1888)](this,arguments),x[r(1888)](this,arguments)||null)})}function mu(){const e=c;var n=this[e(1184)];n&&n[e(642)](this)}function vu(){return this.each(mu)}function wu(){const e=c;var n=this[e(1278)](!1),t=this[e(1184)];return t?t[e(811)](n,this[e(505)]):n}function pu(){const e=c;var n=this[e(1278)](!0),t=this[e(1184)];return t?t.insertBefore(n,this[e(505)]):n}function zu(e){return this[c(1902)](e?pu:wu)}function Cu(e){const n=c;return arguments[n(1146)]?this[n(1615)](n(2017),e):this[n(925)]()[n(2017)]}function Mu(e){return function(n){const t=_0xad4d;e[t(838)](this,n,this[t(2017)])}}function Bu(e){const n=c;return e.trim()[n(1122)](/^|\s+/)[n(632)](function(t){const o=n;var x="",r=t[o(385)](".");return r>=0&&(x=t[o(1208)](r+1),t=t[o(1208)](0,r)),{type:t,name:x}})}function Du(e){return function(){const n=_0xad4d;var t=this[n(518)];if(t){for(var o=0,x=-1,r=t.length,a;o<r;++o)a=t[o],(!e[n(1727)]||a[n(1727)]===e.type)&&a.name===e[n(1625)]?this[n(612)](a.type,a[n(370)],a[n(434)]):t[++x]=a;++x?t[n(1146)]=x:delete this[n(518)]}}}function Lu(e,n,t){return function(){const o=_0xad4d;var x=this[o(518)],r,a=Mu(n);if(x){for(var i=0,u=x[o(1146)];i<u;++i)if((r=x[i])[o(1727)]===e[o(1727)]&&r.name===e[o(1625)]){this[o(612)](r[o(1727)],r[o(370)],r.options),this[o(1081)](r[o(1727)],r[o(370)]=a,r[o(434)]=t),r[o(1127)]=n;return}}this.addEventListener(e[o(1727)],a,t),r={type:e[o(1727)],name:e[o(1625)],value:n,listener:a,options:t},x?x[o(1106)](r):this[o(518)]=[r]}}function Su(e,n,t){const o=c;var x=Bu(e+""),r,a=x[o(1146)],i;if(arguments[o(1146)]<2){var u=this[o(925)]()[o(518)];if(u){for(var d=0,s=u.length,f;d<s;++d)for(r=0,f=u[d];r<a;++r)if((i=x[r])[o(1727)]===f[o(1727)]&&i[o(1625)]===f[o(1625)])return f[o(1127)]}return}for(u=n?Lu:Du,r=0;r<a;++r)this[o(1070)](u(x[r],n,t));return this}function Ia(e,n,t){const o=c;var x=Da(e),r=x[o(2069)];typeof r===o(1646)?r=new r(n,t):(r=x[o(2104)][o(2066)](o(2031)),t?(r[o(2040)](n,t[o(887)],t[o(1603)]),r.detail=t[o(1219)]):r[o(2040)](n,!1,!1)),e[o(397)](r)}function Nu(e,n){return function(){return Ia(this,e,n)}}function ku(e,n){return function(){return Ia(this,e,n.apply(this,arguments))}}function Iu(e,n){const t=c;return this[t(1070)]((typeof n===t(1646)?ku:Nu)(e,n))}function*Pu(){const e=c;for(var n=this[e(1388)],t=0,o=n[e(1146)];t<o;++t)for(var x=n[t],r=0,a=x.length,i;r<a;++r)(i=x[r])&&(yield i)}var Pa=[null];function me(e,n){const t=c;this[t(1388)]=e,this[t(914)]=n}function ft(){const e=c;return new me([[document[e(1359)]]],Pa)}function ju(){return this}me.prototype=ft[c(1827)]={constructor:me,select:rd,selectAll:sd,selectChild:fd,selectChildren:yd,filter:md,data:Md,enter:vd,exit:Dd,join:Ld,merge:Sd,selection:ju,order:Nd,sort:kd,call:Pd,nodes:jd,node:Ad,size:Yd,empty:Ed,each:Ud,attr:Wd,style:Rd,property:Qd,classed:tu,text:au,html:lu,raise:uu,lower:hu,append:gu,insert:yu,remove:vu,clone:zu,datum:Cu,on:Su,dispatch:Iu,[Symbol.iterator]:Pu};function ve(e){const n=c;return typeof e===n(2063)?new me([[document[n(1661)](e)]],[document[n(1359)]]):new me([[e]],Pa)}function Au(e){const n=c;let t;for(;t=e[n(699)];)e=t;return e}function Se(e,n){const t=c;if(e=Au(e),n===void 0&&(n=e.currentTarget),n){var o=n[t(1028)]||n;if(o[t(1147)]){var x=o[t(1147)]();return x.x=e[t(2136)],x.y=e[t(943)],x=x[t(2078)](n[t(1510)]()[t(1641)]()),[x.x,x.y]}if(n.getBoundingClientRect){var r=n[t(880)]();return[e.clientX-r.left-n[t(1553)],e[t(943)]-r[t(1445)]-n[t(773)]]}}return[e[t(770)],e[t(1710)]]}const Yu={passive:!1},ht={capture:!0,passive:!1};function po(e){e[c(466)]()}function On(e){const n=c;e[n(1556)](),e[n(466)]()}function ja(e){const n=c;var t=e.document[n(1359)],o=ve(e).on(n(2083),On,ht);n(1743)in t?o.on("selectstart.drag",On,ht):(t[n(1155)]=t[n(1736)][n(1422)],t[n(1736)][n(1422)]=n(600))}function Aa(e,n){const t=c;var o=e[t(2104)][t(1359)],x=ve(e).on(t(2083),null);n&&(x.on(t(2137),On,ht),setTimeout(function(){const r=t;x.on(r(2137),null)},0)),t(1743)in o?x.on(t(1287),null):(o[t(1736)][t(1422)]=o[t(1155)],delete o.__noselect)}const cx=e=>()=>e;function zo(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:a,y:i,dx:u,dy:d,dispatch:s}){Object[c(631)](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:a,enumerable:!0,configurable:!0},y:{value:i,enumerable:!0,configurable:!0},dx:{value:u,enumerable:!0,configurable:!0},dy:{value:d,enumerable:!0,configurable:!0},_:{value:s}})}zo[c(1827)].on=function(){const e=c;var n=this._.on[e(1888)](this._,arguments);return n===this._?this:n};function Eu(e){const n=c;return!e[n(750)]&&!e[n(1261)]}function Uu(){return this[c(1184)]}function Gu(e,n){return n??{x:e.x,y:e.y}}function Ou(){const e=c;return navigator[e(1007)]||e(584)in this}function Ya(){const e=c;var n=Eu,t=Uu,o=Gu,x=Ou,r={},a=ox(e(1044),e(1765),e(917)),i=0,u,d,s,f,b=0;function g(C){const I=e;C.on(I(1468),v)[I(2102)](x).on("touchstart.drag",M).on(I(635),y,Yu).on("touchend.drag touchcancel.drag",m)[I(1736)](I(1130),"none")[I(1736)](I(1593),I(1878))}function v(C,I){const G=e;if(!(f||!n[G(838)](this,C,I))){var O=z(this,t[G(838)](this,C,I),C,I,G(841));O&&(ve(C[G(1053)]).on("mousemove.drag",h,ht).on(G(341),w,ht),ja(C[G(1053)]),po(C),s=!1,u=C[G(2136)],d=C.clientY,O(G(1044),C))}}function h(C){const I=e;if(On(C),!s){var G=C[I(2136)]-u,O=C[I(943)]-d;s=G*G+O*O>b}r.mouse("drag",C)}function w(C){const I=e;ve(C[I(1053)]).on(I(1525),null),Aa(C[I(1053)],s),On(C),r[I(841)](I(917),C)}function M(C,I){const G=e;if(n[G(838)](this,C,I)){var O=C[G(550)],X=t[G(838)](this,C,I),U=O[G(1146)],E,T;for(E=0;E<U;++E)(T=z(this,X,C,I,O[E].identifier,O[E]))&&(po(C),T("start",C,O[E]))}}function y(C){const I=e;var G=C.changedTouches,O=G[I(1146)],X,U;for(X=0;X<O;++X)(U=r[G[X][I(889)]])&&(On(C),U(I(1765),C,G[X]))}function m(C){const I=e;var G=C[I(550)],O=G[I(1146)],X,U;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),X=0;X<O;++X)(U=r[G[X][I(889)]])&&(po(C),U(I(917),C,G[X]))}function z(C,I,G,O,X,U){const E=e;var T=a[E(1169)](),W=Se(U||G,I),V,S,B;if((B=o.call(C,new zo(E(1676),{sourceEvent:G,target:g,identifier:X,active:i,x:W[0],y:W[1],dx:0,dy:0,dispatch:T}),O))!=null)return V=B.x-W[0]||0,S=B.y-W[1]||0,function N(A,j,P){const F=E;var e0=W,$;switch(A){case F(1044):r[X]=N,$=i++;break;case"end":delete r[X],--i;case F(1765):W=Se(P||j,I),$=i;break}T[F(838)](A,C,new zo(A,{sourceEvent:j,subject:B,target:g,identifier:X,active:$,x:W[0]+V,y:W[1]+S,dx:W[0]-e0[0],dy:W[1]-e0[1],dispatch:T}),O)}}return g.filter=function(C){const I=e;return arguments[I(1146)]?(n=typeof C===I(1646)?C:cx(!!C),g):n},g.container=function(C){return arguments[e(1146)]?(t=typeof C=="function"?C:cx(C),g):t},g.subject=function(C){const I=e;return arguments.length?(o=typeof C===I(1646)?C:cx(C),g):o},g.touchable=function(C){return arguments[e(1146)]?(x=typeof C=="function"?C:cx(!!C),g):x},g.on=function(){const C=e;var I=a.on[C(1888)](a,arguments);return I===a?g:I},g[e(575)]=function(C){const I=e;return arguments[I(1146)]?(b=(C=+C)*C,g):Math[I(1571)](b)},g}function Co(e,n,t){const o=c;e.prototype=n[o(1827)]=t,t[o(644)]=e}function Ea(e,n){const t=c;var o=Object[t(1172)](e[t(1827)]);for(var x in n)o[x]=n[x];return o}function gt(){}var bt=.7,sx=1/bt,Vn=c(526),yt=c(2105),Ee="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Vu=/^#([0-9a-f]{3,8})$/,Hu=new RegExp("^rgb\\("+Vn+","+Vn+","+Vn+c(795)),Tu=new RegExp(c(748)+Ee+","+Ee+","+Ee+c(795)),qu=new RegExp(c(1055)+Vn+","+Vn+","+Vn+","+yt+c(795)),Wu=new RegExp(c(1055)+Ee+","+Ee+","+Ee+","+yt+"\\)$"),Xu=new RegExp(c(1409)+yt+","+Ee+","+Ee+c(795)),Ku=new RegExp(c(1602)+yt+","+Ee+","+Ee+","+yt+c(795)),Ua={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};Co(gt,gn,{copy(e){const n=c;return Object[n(710)](new this[n(644)],this,e)},displayable(){return this[c(1282)]().displayable()},hex:Ga,formatHex:Ga,formatHex8:Zu,formatHsl:Ru,formatRgb:Oa,toString:Oa});function Ga(){return this[c(1282)]().formatHex()}function Zu(){const e=c;return this.rgb()[e(1265)]()}function Ru(){const e=c;return Wa(this)[e(1997)]()}function Oa(){const e=c;return this[e(1282)]()[e(615)]()}function gn(e){const n=c;var t,o;return e=(e+"")[n(1487)]()[n(904)](),(t=Vu[n(1350)](e))?(o=t[1][n(1146)],t=parseInt(t[1],16),o===6?Va(t):o===3?new be(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?lx(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?lx(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=Hu[n(1350)](e))?new be(t[1],t[2],t[3],1):(t=Tu[n(1350)](e))?new be(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=qu[n(1350)](e))?lx(t[1],t[2],t[3],t[4]):(t=Wu.exec(e))?lx(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Xu.exec(e))?qa(t[1],t[2]/100,t[3]/100,1):(t=Ku.exec(e))?qa(t[1],t[2]/100,t[3]/100,t[4]):Ua[n(2012)](e)?Va(Ua[e]):e===n(2085)?new be(NaN,NaN,NaN,0):null}function Va(e){return new be(e>>16&255,e>>8&255,e&255,1)}function lx(e,n,t,o){return o<=0&&(e=n=t=NaN),new be(e,n,t,o)}function Ju(e){const n=c;return e instanceof gt||(e=gn(e)),e?(e=e[n(1282)](),new be(e.r,e.g,e.b,e.opacity)):new be}function Mo(e,n,t,o){return arguments[c(1146)]===1?Ju(e):new be(e,n,t,o??1)}function be(e,n,t,o){this.r=+e,this.g=+n,this.b=+t,this.opacity=+o}Co(be,Mo,Ea(gt,{brighter(e){const n=c;return e=e==null?sx:Math[n(1975)](sx,e),new be(this.r*e,this.g*e,this.b*e,this[n(1307)])},darker(e){const n=c;return e=e==null?bt:Math[n(1975)](bt,e),new be(this.r*e,this.g*e,this.b*e,this[n(1307)])},rgb(){return this},clamp(){const e=c;return new be(bn(this.r),bn(this.g),bn(this.b),dx(this[e(1307)]))},displayable(){const e=c;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(1307)]&&this[e(1307)]<=1},hex:Ha,formatHex:Ha,formatHex8:Fu,formatRgb:Ta,toString:Ta}));function Ha(){return"#"+yn(this.r)+yn(this.g)+yn(this.b)}function Fu(){const e=c;return"#"+yn(this.r)+yn(this.g)+yn(this.b)+yn((isNaN(this[e(1307)])?1:this.opacity)*255)}function Ta(){const e=c,n=dx(this[e(1307)]);return""+(n===1?e(774):"rgba(")+bn(this.r)+", "+bn(this.g)+", "+bn(this.b)+(n===1?")":", "+n+")")}function dx(e){const n=c;return isNaN(e)?1:Math[n(1303)](0,Math.min(1,e))}function bn(e){const n=c;return Math[n(1303)](0,Math[n(2135)](255,Math.round(e)||0))}function yn(e){const n=c;return e=bn(e),(e<16?"0":"")+e[n(1021)](16)}function qa(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new Ne(e,n,t,o)}function Wa(e){const n=c;if(e instanceof Ne)return new Ne(e.h,e.s,e.l,e[n(1307)]);if(e instanceof gt||(e=gn(e)),!e)return new Ne;if(e instanceof Ne)return e;e=e[n(1282)]();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(2135)](t,o,x),a=Math[n(1303)](t,o,x),i=NaN,u=a-r,d=(a+r)/2;return u?(t===a?i=(o-x)/u+(o<x)*6:o===a?i=(x-t)/u+2:i=(t-o)/u+4,u/=d<.5?a+r:2-a-r,i*=60):u=d>0&&d<1?0:i,new Ne(i,u,d,e[n(1307)])}function _u(e,n,t,o){return arguments.length===1?Wa(e):new Ne(e,n,t,o??1)}function Ne(e,n,t,o){const x=c;this.h=+e,this.s=+n,this.l=+t,this[x(1307)]=+o}Co(Ne,_u,Ea(gt,{brighter(e){return e=e==null?sx:Math.pow(sx,e),new Ne(this.h,this.s,this.l*e,this.opacity)},darker(e){const n=c;return e=e==null?bt:Math[n(1975)](bt,e),new Ne(this.h,this.s,this.l*e,this[n(1307)])},rgb(){const e=c;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 be(Bo(n>=240?n-240:n+120,r,x),Bo(n,r,x),Bo(n<120?n+240:n-120,r,x),this[e(1307)])},clamp(){const e=c;return new Ne(Xa(this.h),ux(this.s),ux(this.l),dx(this[e(1307)]))},displayable(){const e=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this[e(1307)]<=1},formatHsl(){const e=c,n=dx(this.opacity);return""+(n===1?e(1254):"hsla(")+Xa(this.h)+", "+ux(this.s)*100+e(1833)+ux(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function Xa(e){return e=(e||0)%360,e<0?e+360:e}function ux(e){const n=c;return Math[n(1303)](0,Math[n(2135)](1,e||0))}function Bo(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 Do=e=>()=>e;function Qu(e,n){return function(t){return e+t*n}}function $u(e,n,t){const o=c;return e=Math[o(1975)](e,t),n=Math[o(1975)](n,t)-e,t=1/t,function(x){return Math.pow(e+x*n,t)}}function ef(e){return(e=+e)==1?Ka:function(n,t){return t-n?$u(n,t,e):Do(isNaN(n)?t:n)}}function Ka(e,n){var t=n-e;return t?Qu(e,t):Do(isNaN(e)?n:e)}const fx=(function e(n){var t=ef(n);function o(x,r){const a=_0xad4d;var i=t((x=Mo(x)).r,(r=Mo(r)).r),u=t(x.g,r.g),d=t(x.b,r.b),s=Ka(x.opacity,r[a(1307)]);return function(f){const b=a;return x.r=i(f),x.g=u(f),x.b=d(f),x[b(1307)]=s(f),x+""}}return o.gamma=e,o})(1);function nf(e,n){const t=c;n||(n=[]);var o=e?Math[t(2135)](n.length,e[t(1146)]):0,x=n[t(1208)](),r;return function(a){for(r=0;r<o;++r)x[r]=e[r]*(1-a)+n[r]*a;return x}}function tf(e){return ArrayBuffer[c(2056)](e)&&!(e instanceof DataView)}function xf(e,n){const t=c;var o=n?n[t(1146)]:0,x=e?Math[t(2135)](o,e[t(1146)]):0,r=new Array(x),a=new Array(o),i;for(i=0;i<x;++i)r[i]=mt(e[i],n[i]);for(;i<o;++i)a[i]=n[i];return function(u){for(i=0;i<x;++i)a[i]=r[i](u);return a}}function of(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0xad4d(1813)](e*(1-o)+n*o),t}}function Ue(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function rf(e,n){const t=c;var o={},x={},r;(e===null||typeof e!="object")&&(e={}),(n===null||typeof n!==t(2036))&&(n={});for(r in n)r in e?o[r]=mt(e[r],n[r]):x[r]=n[r];return function(a){for(r in o)x[r]=o[r](a);return x}}var Lo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,So=new RegExp(Lo.source,"g");function af(e){return function(){return e}}function cf(e){return function(n){return e(n)+""}}function Za(e,n){const t=c;var o=Lo[t(427)]=So[t(427)]=0,x,r,a,i=-1,u=[],d=[];for(e=e+"",n=n+"";(x=Lo[t(1350)](e))&&(r=So[t(1350)](n));)(a=r[t(576)])>o&&(a=n[t(1208)](o,a),u[i]?u[i]+=a:u[++i]=a),(x=x[0])===(r=r[0])?u[i]?u[i]+=r:u[++i]=r:(u[++i]=null,d[t(1106)]({i,x:Ue(x,r)})),o=So[t(427)];return o<n.length&&(a=n.slice(o),u[i]?u[i]+=a:u[++i]=a),u.length<2?d[0]?cf(d[0].x):af(n):(n=d[t(1146)],function(s){const f=t;for(var b=0,g;b<n;++b)u[(g=d[b]).i]=g.x(s);return u[f(2077)]("")})}function mt(e,n){const t=c;var o=typeof n,x;return n==null||o===t(1947)?Do(n):(o===t(1738)?Ue:o===t(2063)?(x=gn(n))?(n=x,fx):Za:n instanceof gn?fx:n instanceof Date?of:tf(n)?nf:Array.isArray(n)?xf:typeof n[t(1454)]!==t(1646)&&typeof n[t(1021)]!="function"||isNaN(n)?rf:Ue)(e,n)}var Ra=180/Math.PI,No={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ja(e,n,t,o,x,r){const a=c;var i,u,d;return(i=Math[a(1571)](e*e+n*n))&&(e/=i,n/=i),(d=e*t+n*o)&&(t-=e*d,o-=n*d),(u=Math[a(1571)](t*t+o*o))&&(t/=u,o/=u,d/=u),e*o<n*t&&(e=-e,n=-n,d=-d,i=-i),{translateX:x,translateY:r,rotate:Math.atan2(n,e)*Ra,skewX:Math[a(596)](d)*Ra,scaleX:i,scaleY:u}}var hx;function sf(e){const n=c,t=new(typeof DOMMatrix===n(1646)?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?No:Ja(t.a,t.b,t.c,t.d,t.e,t.f)}function lf(e){const n=c;return e==null||(hx||(hx=document[n(392)](n(1159),"g")),hx[n(996)]("transform",e),!(e=hx[n(1838)][n(587)].consolidate()))?No:(e=e[n(1417)],Ja(e.a,e.b,e.c,e.d,e.e,e.f))}function Fa(e,n,t,o){function x(d){const s=_0xad4d;return d[s(1146)]?d[s(287)]()+" ":""}function r(d,s,f,b,g,v){const h=_0xad4d;if(d!==f||s!==b){var w=g[h(1106)](h(675),null,n,null,t);v[h(1106)]({i:w-4,x:Ue(d,f)},{i:w-2,x:Ue(s,b)})}else(f||b)&&g[h(1106)](h(675)+f+n+b+t)}function a(d,s,f,b){const g=_0xad4d;d!==s?(d-s>180?s+=360:s-d>180&&(d+=360),b[g(1106)]({i:f.push(x(f)+g(444),null,o)-2,x:Ue(d,s)})):s&&f[g(1106)](x(f)+g(444)+s+o)}function i(d,s,f,b){const g=_0xad4d;d!==s?b[g(1106)]({i:f[g(1106)](x(f)+g(849),null,o)-2,x:Ue(d,s)}):s&&f[g(1106)](x(f)+"skewX("+s+o)}function u(d,s,f,b,g,v){const h=_0xad4d;if(d!==f||s!==b){var w=g[h(1106)](x(g)+h(1194),null,",",null,")");v[h(1106)]({i:w-4,x:Ue(d,f)},{i:w-2,x:Ue(s,b)})}else(f!==1||b!==1)&&g.push(x(g)+h(1194)+f+","+b+")")}return function(d,s){const f=_0xad4d;var b=[],g=[];return d=e(d),s=e(s),r(d[f(702)],d.translateY,s.translateX,s[f(1779)],b,g),a(d[f(1312)],s[f(1312)],b,g),i(d[f(956)],s[f(956)],b,g),u(d[f(673)],d[f(786)],s[f(673)],s[f(786)],b,g),d=s=null,function(v){const h=f;for(var w=-1,M=g.length,y;++w<M;)b[(y=g[w]).i]=y.x(v);return b[h(2077)]("")}}}var df=Fa(sf,c(2086),c(866),c(698)),uf=Fa(lf,", ",")",")"),ff=1e-12;function _a(e){return((e=Math[c(284)](e))+1/e)/2}function hf(e){return((e=Math[c(284)](e))-1/e)/2}function gf(e){return((e=Math[c(284)](2*e))-1)/(e+1)}const gx=(function e(n,t,o){const x=c;function r(a,i){const u=_0xad4d;var d=a[0],s=a[1],f=a[2],b=i[0],g=i[1],v=i[2],h=b-d,w=g-s,M=h*h+w*w,y,m;if(M<ff)m=Math[u(1851)](v/f)/n,y=function(X){return[d+X*h,s+X*w,f*Math.exp(n*X*m)]};else{var z=Math[u(1571)](M),C=(v*v-f*f+o*M)/(2*f*t*z),I=(v*v-f*f-o*M)/(2*v*t*z),G=Math[u(1851)](Math.sqrt(C*C+1)-C),O=Math[u(1851)](Math[u(1571)](I*I+1)-I);m=(O-G)/n,y=function(X){var U=X*m,E=_a(G),T=f/(t*z)*(E*gf(n*U+G)-hf(G));return[d+T*h,s+T*w,f*E/_a(n*U+G)]}}return y[u(895)]=m*1e3*n/Math[u(1919)],y}return r[x(1036)]=function(a){var u=Math[x(1303)](.001,+a),d=u*u,s=d*d;return e(u,d,s)},r})(Math[c(1919)],2,4);var Hn=0,vt=0,wt=0,Qa=1e3,bx,pt,yx=0,mn=0,mx=0,zt=typeof performance===c(2036)&&performance[c(326)]?performance:Date,$a=typeof window===c(2036)&&window[c(1168)]?window[c(1168)].bind(window):function(e){setTimeout(e,17)};function ko(){const e=c;return mn||($a(bf),mn=zt[e(326)]()+mx)}function bf(){mn=0}function vx(){const e=c;this[e(831)]=this[e(2127)]=this[e(303)]=null}vx[c(1827)]=ei.prototype={constructor:vx,restart:function(e,n,t){const o=c;if(typeof e!==o(1646))throw new TypeError(o(1421));t=(t==null?ko():+t)+(n==null?0:+n),!this[o(303)]&&pt!==this&&(pt?pt[o(303)]=this:bx=this,pt=this),this[o(831)]=e,this[o(2127)]=t,Io()},stop:function(){const e=c;this[e(831)]&&(this[e(831)]=null,this[e(2127)]=1/0,Io())}};function ei(e,n,t){const o=c;var x=new vx;return x[o(1013)](e,n,t),x}function yf(){const e=c;ko(),++Hn;for(var n=bx,t;n;)(t=mn-n._time)>=0&&n[e(831)][e(838)](void 0,t),n=n[e(303)];--Hn}function ni(){mn=(yx=zt[c(326)]())+mx,Hn=vt=0;try{yf()}finally{Hn=0,vf(),mn=0}}function mf(){var n=zt[c(326)](),t=n-yx;t>Qa&&(mx-=t,yx=n)}function vf(){const e=c;for(var n,t=bx,o,x=1/0;t;)t[e(831)]?(x>t._time&&(x=t[e(2127)]),n=t,t=t[e(303)]):(o=t._next,t._next=null,t=n?n[e(303)]=o:bx=o);pt=n,Io(x)}function Io(e){const n=c;if(!Hn){vt&&(vt=clearTimeout(vt));var t=e-mn;t>24?(e<1/0&&(vt=setTimeout(ni,e-zt[n(326)]()-mx)),wt&&(wt=clearInterval(wt))):(wt||(yx=zt[n(326)](),wt=setInterval(mf,Qa)),Hn=1,$a(ni))}}function ti(e,n,t){const o=c;var x=new vx;return n=n==null?0:+n,x[o(1013)](r=>{x[o(488)](),e(r+n)},n,t),x}var wf=ox(c(1044),c(917),c(1773),c(1439)),pf=[],xi=0,oi=1,Po=2,wx=3,ri=4,jo=5,px=6;function zx(e,n,t,o,x,r){const a=c;var i=e[a(601)];if(!i)e[a(601)]={};else if(t in i)return;zf(e,t,{name:n,index:o,group:x,on:wf,tween:pf,time:r.time,delay:r[a(1601)],duration:r[a(895)],ease:r[a(1465)],timer:null,state:xi})}function Ao(e,n){const t=c;var o=ke(e,n);if(o.state>xi)throw new Error(t(665));return o}function Ge(e,n){const t=c;var o=ke(e,n);if(o[t(1082)]>wx)throw new Error("too late; already running");return o}function ke(e,n){var o=e[c(601)];if(!o||!(o=o[n]))throw new Error("transition not found");return o}function zf(e,n,t){const o=c;var x=e[o(601)],r;x[n]=t,t.timer=ei(a,0,t[o(2076)]);function a(s){const f=o;t[f(1082)]=oi,t.timer.restart(i,t.delay,t.time),t[f(1601)]<=s&&i(s-t[f(1601)])}function i(s){const f=o;var b,g,v,h;if(t[f(1082)]!==oi)return d();for(b in x)if(h=x[b],h[f(1625)]===t.name){if(h.state===wx)return ti(i);h[f(1082)]===ri?(h.state=px,h[f(861)].stop(),h.on.call(f(1439),e,e[f(2017)],h[f(576)],h.group),delete x[b]):+b<n&&(h[f(1082)]=px,h[f(861)][f(488)](),h.on.call(f(1773),e,e.__data__,h[f(576)],h[f(1137)]),delete x[b])}if(ti(function(){const w=f;t[w(1082)]===wx&&(t[w(1082)]=ri,t[w(861)][w(1013)](u,t[w(1601)],t[w(2076)]),u(s))}),t[f(1082)]=Po,t.on[f(838)](f(1044),e,e[f(2017)],t[f(576)],t[f(1137)]),t.state===Po){for(t[f(1082)]=wx,r=new Array(v=t[f(1009)][f(1146)]),b=0,g=-1;b<v;++b)(h=t.tween[b].value[f(838)](e,e[f(2017)],t[f(576)],t[f(1137)]))&&(r[++g]=h);r[f(1146)]=g+1}}function u(s){const f=o;for(var b=s<t[f(895)]?t.ease.call(null,s/t[f(895)]):(t[f(861)][f(1013)](d),t[f(1082)]=jo,1),g=-1,v=r[f(1146)];++g<v;)r[g].call(e,b);t[f(1082)]===jo&&(t.on[f(838)](f(917),e,e.__data__,t.index,t[f(1137)]),d())}function d(){const s=o;t[s(1082)]=px,t[s(861)][s(488)](),delete x[n];for(var f in x)return;delete e[s(601)]}}function Cx(e,n){const t=c;var o=e[t(601)],x,r,a=!0,i;if(o){n=n==null?null:n+"";for(i in o){if((x=o[i])[t(1625)]!==n){a=!1;continue}r=x[t(1082)]>Po&&x.state<jo,x[t(1082)]=px,x[t(861)].stop(),x.on[t(838)](r?t(1439):"cancel",e,e[t(2017)],x[t(576)],x[t(1137)]),delete o[i]}a&&delete e[t(601)]}}function Cf(e){return this[c(1070)](function(){Cx(this,e)})}function Mf(e,n){var t,o;return function(){const x=_0xad4d;var r=Ge(this,e),a=r[x(1009)];if(a!==t){o=t=a;for(var i=0,u=o[x(1146)];i<u;++i)if(o[i][x(1625)]===n){o=o.slice(),o[x(588)](i,1);break}}r.tween=o}}function Bf(e,n,t){const o=c;var x,r;if(typeof t!==o(1646))throw new Error;return function(){const a=o;var i=Ge(this,e),u=i[a(1009)];if(u!==x){r=(x=u)[a(1208)]();for(var d={name:n,value:t},s=0,f=r[a(1146)];s<f;++s)if(r[s][a(1625)]===n){r[s]=d;break}s===f&&r[a(1106)](d)}i[a(1009)]=r}}function Df(e,n){const t=c;var o=this[t(1015)];if(e+="",arguments[t(1146)]<2){for(var x=ke(this[t(925)](),o)[t(1009)],r=0,a=x[t(1146)],i;r<a;++r)if((i=x[r])[t(1625)]===e)return i[t(1127)];return null}return this.each((n==null?Mf:Bf)(o,e,n))}function Yo(e,n,t){const o=c;var x=e[o(1015)];return e[o(1070)](function(){const r=o;var a=Ge(this,x);(a[r(1127)]||(a[r(1127)]={}))[n]=t[r(1888)](this,arguments)}),function(r){const a=o;return ke(r,x)[a(1127)][n]}}function ai(e,n){const t=c;var o;return(typeof n===t(1738)?Ue:n instanceof gn?fx:(o=gn(n))?(n=o,fx):Za)(e,n)}function Lf(e){return function(){this[_0xad4d(510)](e)}}function Sf(e){return function(){const n=_0xad4d;this[n(2005)](e.space,e[n(2061)])}}function Nf(e,n,t){var o,x=t+"",r;return function(){var i=this[_0xad4d(1865)](e);return i===x?null:i===o?r:r=n(o=i,t)}}function kf(e,n,t){var o,x=t+"",r;return function(){const a=_0xad4d;var i=this.getAttributeNS(e[a(324)],e.local);return i===x?null:i===o?r:r=n(o=i,t)}}function If(e,n,t){var o,x,r;return function(){const a=_0xad4d;var i,u=t(this),d;return u==null?void this[a(510)](e):(i=this[a(1865)](e),d=u+"",i===d?null:i===o&&d===x?r:(x=d,r=n(o=i,u)))}}function Pf(e,n,t){var o,x,r;return function(){const a=_0xad4d;var i,u=t(this),d;return u==null?void this[a(2005)](e[a(324)],e[a(2061)]):(i=this[a(1988)](e[a(324)],e[a(2061)]),d=u+"",i===d?null:i===o&&d===x?r:(x=d,r=n(o=i,u)))}}function jf(e,n){const t=c;var o=ax(e),x=o===t(1838)?uf:ai;return this[t(705)](e,typeof n===t(1646)?(o.local?Pf:If)(o,x,Yo(this,t(1785)+e,n)):n==null?(o.local?Sf:Lf)(o):(o[t(2061)]?kf:Nf)(o,x,n))}function Af(e,n){return function(t){const o=_0xad4d;this[o(996)](e,n[o(838)](this,t))}}function Yf(e,n){return function(t){const o=_0xad4d;this[o(1253)](e[o(324)],e[o(2061)],n[o(838)](this,t))}}function Ef(e,n){const t=c;var o,x;function r(){var i=n[_0xad4d(1888)](this,arguments);return i!==x&&(o=(x=i)&&Yf(e,i)),o}return r[t(1193)]=n,r}function Uf(e,n){const t=c;var o,x;function r(){var i=n[_0xad4d(1888)](this,arguments);return i!==x&&(o=(x=i)&&Af(e,i)),o}return r[t(1193)]=n,r}function Gf(e,n){const t=c;var o=t(1785)+e;if(arguments.length<2)return(o=this.tween(o))&&o[t(1193)];if(n==null)return this[t(1009)](o,null);if(typeof n!="function")throw new Error;var x=ax(e);return this[t(1009)](o,(x[t(2061)]?Ef:Uf)(x,n))}function Of(e,n){return function(){const t=_0xad4d;Ao(this,e)[t(1601)]=+n[t(1888)](this,arguments)}}function Vf(e,n){return n=+n,function(){const t=_0xad4d;Ao(this,e)[t(1601)]=n}}function Hf(e){const n=c;var t=this[n(1015)];return arguments.length?this[n(1070)]((typeof e=="function"?Of:Vf)(t,e)):ke(this[n(925)](),t)[n(1601)]}function Tf(e,n){return function(){const t=_0xad4d;Ge(this,e)[t(895)]=+n[t(1888)](this,arguments)}}function qf(e,n){return n=+n,function(){const t=_0xad4d;Ge(this,e)[t(895)]=n}}function Wf(e){const n=c;var t=this._id;return arguments[n(1146)]?this[n(1070)]((typeof e===n(1646)?Tf:qf)(t,e)):ke(this[n(925)](),t)[n(895)]}function Xf(e,n){const t=c;if(typeof n!==t(1646))throw new Error;return function(){const o=t;Ge(this,e)[o(1465)]=n}}function Kf(e){const n=c;var t=this._id;return arguments.length?this[n(1070)](Xf(t,e)):ke(this.node(),t)[n(1465)]}function Zf(e,n){return function(){const t=_0xad4d;var o=n[t(1888)](this,arguments);if(typeof o!="function")throw new Error;Ge(this,e)[t(1465)]=o}}function Rf(e){const n=c;if(typeof e!==n(1646))throw new Error;return this[n(1070)](Zf(this[n(1015)],e))}function Jf(e){const n=c;typeof e!==n(1646)&&(e=Ca(e));for(var t=this[n(1388)],o=t[n(1146)],x=new Array(o),r=0;r<o;++r)for(var a=t[r],i=a[n(1146)],u=x[r]=[],d,s=0;s<i;++s)(d=a[s])&&e[n(838)](d,d[n(2017)],s,a)&&u.push(d);return new qe(x,this[n(914)],this[n(1404)],this[n(1015)])}function Ff(e){const n=c;if(e[n(1015)]!==this[n(1015)])throw new Error;for(var t=this[n(1388)],o=e[n(1388)],x=t[n(1146)],r=o[n(1146)],a=Math[n(2135)](x,r),i=new Array(x),u=0;u<a;++u)for(var d=t[u],s=o[u],f=d.length,b=i[u]=new Array(f),g,v=0;v<f;++v)(g=d[v]||s[v])&&(b[v]=g);for(;u<x;++u)i[u]=t[u];return new qe(i,this[n(914)],this._name,this._id)}function _f(e){const n=c;return(e+"")[n(1487)]()[n(1122)](/^|\s+/).every(function(t){var o=t.indexOf(".");return o>=0&&(t=t.slice(0,o)),!t||t==="start"})}function Qf(e,n,t){var o,x,r=_f(n)?Ao:Ge;return function(){const a=_0xad4d;var i=r(this,e),u=i.on;u!==o&&(x=(o=u)[a(1169)]()).on(n,t),i.on=x}}function $f(e,n){const t=c;var o=this[t(1015)];return arguments[t(1146)]<2?ke(this[t(925)](),o).on.on(e):this[t(1070)](Qf(o,e,n))}function e5(e){return function(){const n=_0xad4d;var t=this[n(1184)];for(var o in this[n(601)])if(+o!==e)return;t&&t[n(642)](this)}}function n5(){const e=c;return this.on(e(1415),e5(this[e(1015)]))}function t5(e){const n=c;var t=this._name,o=this[n(1015)];typeof e!==n(1646)&&(e=vo(e));for(var x=this[n(1388)],r=x[n(1146)],a=new Array(r),i=0;i<r;++i)for(var u=x[i],d=u[n(1146)],s=a[i]=new Array(d),f,b,g=0;g<d;++g)(f=u[g])&&(b=e[n(838)](f,f[n(2017)],g,u))&&(n(2017)in f&&(b[n(2017)]=f.__data__),s[g]=b,zx(s[g],t,o,g,s,ke(f,o)));return new qe(a,this[n(914)],t,o)}function x5(e){const n=c;var t=this[n(1404)],o=this[n(1015)];typeof e!==n(1646)&&(e=za(e));for(var x=this[n(1388)],r=x[n(1146)],a=[],i=[],u=0;u<r;++u)for(var d=x[u],s=d[n(1146)],f,b=0;b<s;++b)if(f=d[b]){for(var g=e.call(f,f[n(2017)],b,d),v,h=ke(f,o),w=0,M=g.length;w<M;++w)(v=g[w])&&zx(v,t,o,w,g,h);a[n(1106)](g),i.push(f)}return new qe(a,i,t,o)}var o5=ft[c(1827)][c(644)];function r5(){const e=c;return new o5(this[e(1388)],this[e(914)])}function a5(e,n){var t,o,x;return function(){const r=_0xad4d;var a=Gn(this,e),i=(this[r(1736)][r(1613)](e),Gn(this,e));return a===i?null:a===t&&i===o?x:x=n(t=a,o=i)}}function ii(e){return function(){const n=_0xad4d;this[n(1736)][n(1613)](e)}}function i5(e,n,t){var o,x=t+"",r;return function(){var a=Gn(this,e);return a===x?null:a===o?r:r=n(o=a,t)}}function c5(e,n,t){var o,x,r;return function(){const a=_0xad4d;var i=Gn(this,e),u=t(this),d=u+"";return u==null&&(d=u=(this[a(1736)].removeProperty(e),Gn(this,e))),i===d?null:i===o&&d===x?r:(x=d,r=n(o=i,u))}}function s5(e,n){const t=c;var o,x,r,a=t(399)+n,i="end."+a,u;return function(){const d=t;var s=Ge(this,e),f=s.on,b=s.value[a]==null?u||(u=ii(n)):void 0;(f!==o||r!==b)&&(x=(o=f)[d(1169)]()).on(i,r=b),s.on=x}}function l5(e,n,t){const o=c;var x=(e+="")=="transform"?df:ai;return n==null?this[o(737)](e,a5(e,x)).on(o(1250)+e,ii(e)):typeof n=="function"?this[o(737)](e,c5(e,x,Yo(this,o(399)+e,n)))[o(1070)](s5(this._id,e)):this[o(737)](e,i5(e,x,n),t).on(o(1250)+e,null)}function d5(e,n,t){return function(o){const x=_0xad4d;this[x(1736)][x(1761)](e,n.call(this,o),t)}}function u5(e,n,t){const o=c;var x,r;function a(){var u=n[_0xad4d(1888)](this,arguments);return u!==r&&(x=(r=u)&&d5(e,u,t)),x}return a[o(1193)]=n,a}function f5(e,n,t){const o=c;var x=o(399)+(e+="");if(arguments.length<2)return(x=this[o(1009)](x))&&x[o(1193)];if(n==null)return this[o(1009)](x,null);if(typeof n!==o(1646))throw new Error;return this[o(1009)](x,u5(e,n,t??""))}function h5(e){return function(){const n=_0xad4d;this[n(747)]=e}}function g5(e){return function(){const n=_0xad4d;var t=e(this);this[n(747)]=t??""}}function b5(e){const n=c;return this[n(1009)](n(1547),typeof e===n(1646)?g5(Yo(this,n(1547),e)):h5(e==null?"":e+""))}function y5(e){return function(n){const t=_0xad4d;this[t(747)]=e.call(this,n)}}function m5(e){const n=c;var t,o;function x(){var a=e[_0xad4d(1888)](this,arguments);return a!==o&&(t=(o=a)&&y5(a)),t}return x[n(1193)]=e,x}function v5(e){const n=c;var t=n(1547);if(arguments[n(1146)]<1)return(t=this.tween(t))&&t[n(1193)];if(e==null)return this.tween(t,null);if(typeof e!==n(1646))throw new Error;return this[n(1009)](t,m5(e))}function w5(){const e=c;for(var n=this[e(1404)],t=this[e(1015)],o=ci(),x=this._groups,r=x[e(1146)],a=0;a<r;++a)for(var i=x[a],u=i.length,d,s=0;s<u;++s)if(d=i[s]){var f=ke(d,t);zx(d,n,o,s,i,{time:f[e(2076)]+f[e(1601)]+f[e(895)],delay:0,duration:f.duration,ease:f[e(1465)]})}return new qe(x,this[e(914)],n,o)}function p5(){const e=c;var n,t,o=this,x=o._id,r=o[e(1120)]();return new Promise(function(a,i){var u={value:i},d={value:function(){--r===0&&a()}};o.each(function(){const s=_0xad4d;var f=Ge(this,x),b=f.on;b!==n&&(t=(n=b).copy(),t._[s(1773)][s(1106)](u),t._[s(1439)].push(u),t._[s(917)][s(1106)](d)),f.on=t}),r===0&&a()})}var z5=0;function qe(e,n,t,o){const x=c;this[x(1388)]=e,this[x(914)]=n,this[x(1404)]=t,this[x(1015)]=o}function ci(){return++z5}var We=ft[c(1827)];qe[c(1827)]={constructor:qe,select:t5,selectAll:x5,selectChild:We[c(983)],selectChildren:We[c(1002)],filter:Jf,merge:Ff,selection:r5,transition:w5,call:We[c(838)],nodes:We[c(1895)],node:We[c(925)],size:We[c(1120)],empty:We.empty,each:We[c(1070)],on:$f,attr:jf,attrTween:Gf,style:l5,styleTween:f5,text:b5,textTween:v5,remove:n5,tween:Df,delay:Hf,duration:Wf,ease:Kf,easeVarying:Rf,end:p5,[Symbol[c(1753)]]:We[Symbol[c(1753)]]};function C5(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var M5={time:null,delay:0,duration:250,ease:C5};function B5(e,n){const t=c;for(var o;!(o=e[t(601)])||!(o=o[n]);)if(!(e=e[t(1184)]))throw new Error(t(1132)+n+t(1027));return o}function D5(e){const n=c;var t,o;e instanceof qe?(t=e[n(1015)],e=e[n(1404)]):(t=ci(),(o=M5)[n(2076)]=ko(),e=e==null?null:e+"");for(var x=this[n(1388)],r=x[n(1146)],a=0;a<r;++a)for(var i=x[a],u=i[n(1146)],d,s=0;s<u;++s)(d=i[s])&&zx(d,e,t,s,i,o||B5(d,t));return new qe(x,this[n(914)],e,t)}ft[c(1827)][c(1439)]=Cf,ft[c(1827)].transition=D5;const Mx=e=>()=>e;function L5(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object[c(631)](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 Xe(e,n,t){this.k=e,this.x=n,this.y=t}Xe[c(1827)]={constructor:Xe,scale:function(e){return e===1?this:new Xe(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new Xe(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=c;return e[n(1169)]()[n(298)](e[n(697)]()[n(632)](this[n(794)],this)[n(632)](e.invert,e))},rescaleY:function(e){const n=c;return e[n(1169)]()[n(298)](e[n(697)]()[n(632)](this[n(1455)],this)[n(632)](e.invert,e))},toString:function(){const e=c;return"translate("+this.x+","+this.y+e(1064)+this.k+")"}};var Bx=new Xe(1,0,0);si.prototype=Xe[c(1827)];function si(e){const n=c;for(;!e[n(934)];)if(!(e=e[n(1184)]))return Bx;return e.__zoom}function Eo(e){e.stopImmediatePropagation()}function Ct(e){e[c(1556)](),e.stopImmediatePropagation()}function S5(e){const n=c;return(!e[n(750)]||e[n(1727)]===n(1770))&&!e[n(1261)]}function N5(){const e=c;var n=this;return n instanceof SVGElement?(n=n[e(1028)]||n,n[e(390)]("viewBox")?(n=n[e(1189)][e(587)],[[n.x,n.y],[n.x+n[e(336)],n.y+n[e(1408)]]]):[[0,0],[n[e(336)][e(587)][e(1127)],n[e(1408)].baseVal[e(1127)]]]):[[0,0],[n[e(1523)],n[e(1358)]]]}function li(){return this[c(934)]||Bx}function k5(e){const n=c;return-e[n(2060)]*(e[n(1072)]===1?.05:e.deltaMode?1:.002)*(e[n(750)]?10:1)}function I5(){return navigator[c(1007)]||"ontouchstart"in this}function P5(e,n,t){const o=c;var x=e[o(794)](n[0][0])-t[0][0],r=e[o(794)](n[1][0])-t[1][0],a=e[o(1455)](n[0][1])-t[0][1],i=e.invertY(n[1][1])-t[1][1];return e[o(1395)](r>x?(x+r)/2:Math[o(2135)](0,x)||Math[o(1303)](0,r),i>a?(a+i)/2:Math[o(2135)](0,a)||Math[o(1303)](0,i))}function di(){const e=c;var n=S5,t=N5,o=P5,x=k5,r=I5,a=[0,1/0],i=[[-1/0,-1/0],[1/0,1/0]],u=250,d=gx,s=ox(e(1044),e(1304),e(917)),f,b,g,v=500,h=150,w=0,M=10;function y(S){const B=e;S[B(1615)](B(934),li).on("wheel.zoom",X,{passive:!1}).on(B(1716),U).on(B(1831),E)[B(2102)](r).on(B(1886),T).on(B(733),W).on("touchend.zoom touchcancel.zoom",V)[B(1736)](B(1593),B(1878))}y[e(1838)]=function(S,B,N,A){const j=e;var P=S[j(1757)]?S[j(1757)]():S;P[j(1615)](j(934),li),S!==P?I(S,B,N,A):P[j(1439)]()[j(1070)](function(){const F=j;G(this,arguments).event(A)[F(1044)]()[F(1304)](null,typeof B=="function"?B[F(1888)](this,arguments):B)[F(917)]()})},y[e(2115)]=function(S,B,N,A){const j=e;y[j(1328)](S,function(){const P=j;var F=this[P(934)].k,e0=typeof B===P(1646)?B[P(1888)](this,arguments):B;return F*e0},N,A)},y[e(1328)]=function(S,B,N,A){const j=e;y[j(1838)](S,function(){const P=j;var F=t[P(1888)](this,arguments),e0=this[P(934)],$=N==null?C(F):typeof N===P(1646)?N[P(1888)](this,arguments):N,t0=e0[P(1400)]($),o0=typeof B===P(1646)?B[P(1888)](this,arguments):B;return o(z(m(e0,o0),$,t0),F,i)},N,A)},y.translateBy=function(S,B,N,A){const j=e;y[j(1838)](S,function(){const P=j;return o(this.__zoom[P(1395)](typeof B=="function"?B.apply(this,arguments):B,typeof N===P(1646)?N.apply(this,arguments):N),t[P(1888)](this,arguments),i)},null,A)},y.translateTo=function(S,B,N,A,j){const P=e;y[P(1838)](S,function(){const F=P;var e0=t.apply(this,arguments),$=this.__zoom,t0=A==null?C(e0):typeof A=="function"?A.apply(this,arguments):A;return o(Bx[F(1395)](t0[0],t0[1]).scale($.k)[F(1395)](typeof B===F(1646)?-B[F(1888)](this,arguments):-B,typeof N===F(1646)?-N[F(1888)](this,arguments):-N),e0,i)},A,j)};function m(S,B){return B=Math.max(a[0],Math.min(a[1],B)),B===S.k?S:new Xe(B,S.x,S.y)}function z(S,B,N){var A=B[0]-N[0]*S.k,j=B[1]-N[1]*S.k;return A===S.x&&j===S.y?S:new Xe(S.k,A,j)}function C(S){return[(+S[0][0]+ +S[1][0])/2,(+S[0][1]+ +S[1][1])/2]}function I(S,B,N,A){const j=e;S.on(j(626),function(){const P=j;G(this,arguments)[P(1991)](A)[P(1044)]()}).on(j(1416),function(){const P=j;G(this,arguments)[P(1991)](A)[P(917)]()})[j(1009)](j(1304),function(){const P=j;var F=this,e0=arguments,$=G(F,e0)[P(1991)](A),t0=t[P(1888)](F,e0),o0=N==null?C(t0):typeof N===P(1646)?N.apply(F,e0):N,g0=Math[P(1303)](t0[1][0]-t0[0][0],t0[1][1]-t0[0][1]),v0=F[P(934)],C0=typeof B===P(1646)?B.apply(F,e0):B,d0=d(v0[P(1400)](o0).concat(g0/v0.k),C0[P(1400)](o0)[P(1484)](g0/C0.k));return function(Q){if(Q===1)Q=C0;else{var u0=d0(Q),z0=g0/u0[2];Q=new Xe(z0,o0[0]-u0[0]*z0,o0[1]-u0[1]*z0)}$.zoom(null,Q)}})}function G(S,B,N){return!N&&S[e(2051)]||new O(S,B)}function O(S,B){const N=e;this.that=S,this[N(1524)]=B,this[N(302)]=0,this[N(699)]=null,this[N(1083)]=t[N(1888)](S,B),this.taps=0}O[e(1827)]={event:function(S){return S&&(this.sourceEvent=S),this},start:function(){const S=e;return++this.active===1&&(this.that[S(2051)]=this,this[S(1791)](S(1044))),this},zoom:function(S,B){const N=e;return this[N(841)]&&S!==N(841)&&(this[N(841)][1]=B[N(1400)](this[N(841)][0])),this[N(893)]&&S!==N(582)&&(this[N(893)][1]=B[N(1400)](this.touch0[0])),this[N(726)]&&S!==N(582)&&(this[N(726)][1]=B[N(1400)](this[N(726)][0])),this[N(972)][N(934)]=B,this.emit(N(1304)),this},end:function(){const S=e;return--this[S(302)]===0&&(delete this[S(972)][S(2051)],this[S(1791)](S(917))),this},emit:function(S){const B=e;var N=ve(this.that)[B(670)]();s.call(S,this[B(972)],new L5(S,{sourceEvent:this[B(699)],target:y,transform:this.that[B(934)],dispatch:s}),N)}};function X(S,...B){const N=e;if(!n[N(1888)](this,arguments))return;var A=G(this,B)[N(1991)](S),j=this[N(934)],P=Math[N(1303)](a[0],Math.min(a[1],j.k*Math[N(1975)](2,x[N(1888)](this,arguments)))),F=Se(S);if(A[N(1770)])(A[N(841)][0][0]!==F[0]||A[N(841)][0][1]!==F[1])&&(A[N(841)][1]=j[N(1400)](A.mouse[0]=F)),clearTimeout(A[N(1770)]);else{if(j.k===P)return;A[N(841)]=[F,j.invert(F)],Cx(this),A[N(1044)]()}Ct(S),A[N(1770)]=setTimeout(e0,h),A[N(1304)]("mouse",o(z(m(j,P),A.mouse[0],A[N(841)][1]),A[N(1083)],i));function e0(){const $=N;A[$(1770)]=null,A[$(917)]()}}function U(S,...B){const N=e;if(g||!n[N(1888)](this,arguments))return;var A=S[N(1315)],j=G(this,B,!0).event(S),P=ve(S.view).on(N(1374),t0,!0).on(N(1707),o0,!0),F=Se(S,A),e0=S[N(2136)],$=S[N(943)];ja(S[N(1053)]),Eo(S),j.mouse=[F,this[N(934)][N(1400)](F)],Cx(this),j[N(1044)]();function t0(g0){const v0=N;if(Ct(g0),!j.moved){var C0=g0.clientX-e0,d0=g0.clientY-$;j.moved=C0*C0+d0*d0>w}j[v0(1991)](g0)[v0(1304)](v0(841),o(z(j.that[v0(934)],j.mouse[0]=Se(g0,A),j[v0(841)][1]),j[v0(1083)],i))}function o0(g0){const v0=N;P.on(v0(365),null),Aa(g0[v0(1053)],j.moved),Ct(g0),j[v0(1991)](g0)[v0(917)]()}}function E(S,...B){const N=e;if(n[N(1888)](this,arguments)){var A=this[N(934)],j=Se(S[N(550)]?S.changedTouches[0]:S,this),P=A.invert(j),F=A.k*(S[N(1880)]?.5:2),e0=o(z(m(A,F),j,P),t[N(1888)](this,B),i);Ct(S),u>0?ve(this)[N(583)]()[N(895)](u)[N(838)](I,e0,j,S):ve(this)[N(838)](y[N(1838)],e0,j,S)}}function T(S,...B){const N=e;if(n.apply(this,arguments)){var A=S[N(2080)],j=A[N(1146)],P=G(this,B,S.changedTouches[N(1146)]===j).event(S),F,e0,$,t0;for(Eo(S),e0=0;e0<j;++e0)$=A[e0],t0=Se($,this),t0=[t0,this[N(934)][N(1400)](t0),$[N(889)]],P[N(893)]?!P[N(726)]&&P[N(893)][2]!==t0[2]&&(P[N(726)]=t0,P[N(1152)]=0):(P[N(893)]=t0,F=!0,P[N(1152)]=1+!!f);f&&(f=clearTimeout(f)),F&&(P[N(1152)]<2&&(b=t0[0],f=setTimeout(function(){f=null},v)),Cx(this),P.start())}}function W(S,...B){const N=e;if(this[N(2051)]){var A=G(this,B)[N(1991)](S),j=S[N(550)],P=j[N(1146)],F,e0,$,t0;for(Ct(S),F=0;F<P;++F)e0=j[F],$=Se(e0,this),A.touch0&&A[N(893)][2]===e0[N(889)]?A[N(893)][0]=$:A[N(726)]&&A[N(726)][2]===e0[N(889)]&&(A.touch1[0]=$);if(e0=A[N(972)][N(934)],A[N(726)]){var o0=A[N(893)][0],g0=A[N(893)][1],v0=A[N(726)][0],C0=A[N(726)][1],d0=(d0=v0[0]-o0[0])*d0+(d0=v0[1]-o0[1])*d0,Q=(Q=C0[0]-g0[0])*Q+(Q=C0[1]-g0[1])*Q;e0=m(e0,Math[N(1571)](d0/Q)),$=[(o0[0]+v0[0])/2,(o0[1]+v0[1])/2],t0=[(g0[0]+C0[0])/2,(g0[1]+C0[1])/2]}else if(A.touch0)$=A[N(893)][0],t0=A[N(893)][1];else return;A.zoom(N(582),o(z(e0,$,t0),A.extent,i))}}function V(S,...B){const N=e;if(this[N(2051)]){var A=G(this,B)[N(1991)](S),j=S[N(550)],P=j[N(1146)],F,e0;for(Eo(S),g&&clearTimeout(g),g=setTimeout(function(){g=null},v),F=0;F<P;++F)e0=j[F],A[N(893)]&&A.touch0[2]===e0[N(889)]?delete A[N(893)]:A[N(726)]&&A[N(726)][2]===e0[N(889)]&&delete A.touch1;if(A[N(726)]&&!A[N(893)]&&(A[N(893)]=A.touch1,delete A.touch1),A.touch0)A[N(893)][1]=this[N(934)][N(1400)](A[N(893)][0]);else if(A.end(),A[N(1152)]===2&&(e0=Se(e0,this),Math.hypot(b[0]-e0[0],b[1]-e0[1])<M)){var $=ve(this).on(N(1831));$&&$[N(1888)](this,arguments)}}}return y[e(1116)]=function(S){const B=e;return arguments[B(1146)]?(x=typeof S===B(1646)?S:Mx(+S),y):x},y[e(2102)]=function(S){const B=e;return arguments[B(1146)]?(n=typeof S===B(1646)?S:Mx(!!S),y):n},y.touchable=function(S){return arguments[e(1146)]?(r=typeof S=="function"?S:Mx(!!S),y):r},y[e(1083)]=function(S){const B=e;return arguments[B(1146)]?(t=typeof S===B(1646)?S:Mx([[+S[0][0],+S[0][1]],[+S[1][0],+S[1][1]]]),y):t},y.scaleExtent=function(S){return arguments[e(1146)]?(a[0]=+S[0],a[1]=+S[1],y):[a[0],a[1]]},y[e(347)]=function(S){return arguments[e(1146)]?(i[0][0]=+S[0][0],i[1][0]=+S[1][0],i[0][1]=+S[0][1],i[1][1]=+S[1][1],y):[[i[0][0],i[0][1]],[i[1][0],i[1][1]]]},y[e(1549)]=function(S){return arguments[e(1146)]?(o=S,y):o},y.duration=function(S){return arguments[e(1146)]?(u=+S,y):u},y[e(491)]=function(S){return arguments[e(1146)]?(d=S,y):d},y.on=function(){var S=s.on.apply(s,arguments);return S===s?y:S},y[e(575)]=function(S){const B=e;return arguments.length?(w=(S=+S)*S,y):Math[B(1571)](w)},y[e(1453)]=function(S){return arguments[e(1146)]?(M=+S,y):M},y}const we={error001:()=>c(1509),error002:()=>c(1504),error003:e=>c(1730)+e+'" not found. Using fallback type "default".',error004:()=>c(1972),error005:()=>"Only child nodes can use a parent extent.",error006:()=>c(1741),error007:e=>c(574)+e+" does not exist.",error009:e=>c(1887)+e+c(1038),error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>"Couldn't create edge for "+e+' handle id: "'+(e===c(1390)?t:o)+c(1309)+n+".",error010:()=>c(2001),error011:e=>'Edge type "'+e+c(364),error012:e=>c(877)+e+c(394),error013:(e="react")=>c(1191)+e+"/dist/style.css' or base.css to make sure everything is working properly.",error014:()=>c(621),error015:()=>c(921)},Mt=[[Number.NEGATIVE_INFINITY,Number[c(1622)]],[Number[c(1176)],Number[c(1176)]]],ui=[c(1263)," ",c(344)],fi={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":c(2020),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>c(352)+e+c(1696)+n+", y: "+t,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":c(1626),"controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":c(1909),"controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":c(923),"minimap.ariaLabel":c(689),"handle.ariaLabel":c(595)};var Tn;(function(e){const n=c;e.Strict=n(441),e[n(999)]=n(1656)})(Tn||(Tn={}));var vn;(function(e){const n=c;e.Free=n(1578),e[n(1434)]=n(2072),e[n(994)]=n(2006)})(vn||(vn={}));var Bt;(function(e){const n=c;e[n(1272)]=n(686),e[n(1339)]=n(1352)})(Bt||(Bt={}));const hi={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var xn;(function(e){const n=c;e[n(310)]=n(1059),e[n(1832)]="straight",e[n(545)]="step",e.SmoothStep=n(433),e[n(860)]=n(1869)})(xn||(xn={}));var Dx;(function(e){const n=c;e[n(1992)]=n(1299),e[n(2054)]=n(1162)})(Dx||(Dx={}));var D0;(function(e){const n=c;e[n(1893)]=n(1369),e[n(1335)]=n(1445),e.Right=n(1610),e[n(398)]=n(897)})(D0||(D0={}));const gi={[D0[c(1893)]]:D0[c(1444)],[D0[c(1444)]]:D0[c(1893)],[D0[c(1335)]]:D0[c(398)],[D0[c(398)]]:D0[c(1335)]};function bi(e){const n=c;return e===null?null:n(e?1960:296)}const yi=e=>"id"in e&&c(1390)in e&&c(852)in e,j5=e=>"id"in e&&c(1366)in e&&!(c(1390)in e)&&!(c(852)in e),Uo=e=>"id"in e&&c(957)in e&&!(c(1390)in e)&&!(c(852)in e),Dt=(e,n=[0,0])=>{const t=c,{width:o,height:x}=Ke(e),r=e.origin??n,a=o*r[0],i=x*r[1];return{x:e.position.x-a,y:e[t(1366)].y-i}},A5=(e,n={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV===t(1241)&&!n[t(1037)]&&console.warn(t(363)),e[t(1146)]===0)return{x:0,y:0,width:0,height:0};const o=e[t(1636)]((x,r)=>{const a=t,i=typeof r=="string";let u=!n[a(1037)]&&!i?r:void 0;n[a(1037)]&&(u=i?n[a(1037)][a(356)](r):Uo(r)?r:n[a(1037)][a(356)](r.id));const d=u?Nx(u,n[a(637)]):{x:0,y:0,x2:0,y2:0};return Lx(x,d)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Sx(o)},Lt=(e,n={})=>{const t=c;let o={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e[t(1413)](r=>{const a=t;(n[a(2102)]===void 0||n[a(2102)](r))&&(o=Lx(o,Nx(r)),x=!0)}),x?Sx(o):{x:0,y:0,width:0,height:0}},Go=(e,n,[t,o,x]=[0,0,1],r=!1,a=!1)=>{const i=c,u={...kt(n,[t,o,x]),width:n[i(336)]/x,height:n.height/x},d=[];for(const s of e.values()){const{measured:f,selectable:b=!0,hidden:g=!1}=s;if(a&&!b||g)continue;const v=f[i(336)]??s[i(336)]??s[i(1495)]??null,h=f.height??s[i(1408)]??s[i(1218)]??null,w=St(u,Wn(s)),M=(v??0)*(h??0),y=r&&w>0;(!s[i(957)][i(660)]||y||w>=M||s.dragging)&&d.push(s)}return d},Y5=(e,n)=>{const t=c,o=new Set;return e[t(1413)](x=>{o[t(1996)](x.id)}),n[t(2102)](x=>o[t(776)](x.source)||o[t(776)](x[t(852)]))};function E5(e,n){const t=c,o=new Map,x=n?.[t(1895)]?new Set(n[t(1895)].map(r=>r.id)):null;return e.forEach(r=>{const a=t;r[a(1801)][a(336)]&&r[a(1801)].height&&(n?.[a(1600)]||!r[a(1380)])&&(!x||x[a(776)](r.id))&&o[a(1480)](r.id,r)}),o}async function U5({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},a){const i=c;if(e[i(1120)]===0)return Promise[i(896)](!0);const u=E5(e,a),d=Lt(u),s=Vo(d,n,t,a?.[i(1472)]??x,a?.[i(474)]??r,a?.[i(1562)]??.1);return await o[i(703)](s,{duration:a?.[i(895)],ease:a?.[i(1465)],interpolate:a?.[i(491)]}),Promise[i(896)](!0)}function mi({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const a=c,i=t.get(e),u=i[a(638)]?t[a(356)](i[a(638)]):void 0,{x:d,y:s}=u?u[a(957)][a(1595)]:{x:0,y:0},f=i.origin??o;let b=i[a(1083)]||x;if(i[a(1083)]==="parent"&&!i[a(1242)])if(!u)r?.(a(1740),we.error005());else{const v=u[a(1801)][a(336)],h=u[a(1801)][a(1408)];v&&h&&(b=[[d,s],[d+v,s+h]])}else u&&Kn(i[a(1083)])&&(b=[[i[a(1083)][0][0]+d,i[a(1083)][0][1]+s],[i[a(1083)][1][0]+d,i.extent[1][1]+s]]);const g=Kn(b)?wn(n,b,i[a(1801)]):n;return(i[a(1801)].width===void 0||i.measured[a(1408)]===void 0)&&r?.(a(1688),we[a(1689)]()),{position:{x:g.x-d+(i.measured.width??0)*f[0],y:g.y-s+(i[a(1801)].height??0)*f[1]},positionAbsolute:g}}async function G5({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=c,a=new Set(e[r(632)](g=>g.id)),i=[];for(const g of t){if(g[r(1430)]===!1)continue;const v=a[r(776)](g.id),h=!v&&g[r(638)]&&i[r(1804)](w=>w.id===g[r(638)]);(v||h)&&i[r(1106)](g)}const u=new Set(n[r(632)](g=>g.id)),d=o[r(2102)](g=>g.deletable!==!1),s=Y5(i,d),f=s;for(const g of d)u[r(776)](g.id)&&!f[r(1804)](h=>h.id===g.id)&&f.push(g);if(!x)return{edges:f,nodes:i};const b=await x({nodes:i,edges:f});return typeof b=="boolean"?b?{edges:f,nodes:i}:{edges:[],nodes:[]}:b}const qn=(e,n=0,t=1)=>Math[c(2135)](Math[c(1303)](e,n),t),wn=(e={x:0,y:0},n,t)=>({x:qn(e.x,n[0][0],n[1][0]-(t?.[c(336)]??0)),y:qn(e.y,n[0][1],n[1][1]-(t?.[c(1408)]??0))});function vi(e,n,t){const o=c,{width:x,height:r}=Ke(t),{x:a,y:i}=t[o(957)][o(1595)];return wn(e,[[a,i],[a+x,i+r]],n)}const wi=(e,n,t)=>{const o=c;return e<n?qn(Math[o(1697)](e-n),1,n)/n:e>t?-qn(Math[o(1697)](e-t),1,n)/n:0},pi=(e,n,t=15,o=40)=>{const x=c,r=wi(e.x,o,n[x(336)]-o)*t,a=wi(e.y,o,n[x(1408)]-o)*t;return[r,a]},Lx=(e,n)=>({x:Math.min(e.x,n.x),y:Math[c(2135)](e.y,n.y),x2:Math[c(1303)](e.x2,n.x2),y2:Math[c(1303)](e.y2,n.y2)}),Oo=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),Sx=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),Wn=(e,n=[0,0])=>{const t=c,{x:o,y:x}=Uo(e)?e[t(957)].positionAbsolute:Dt(e,n);return{x:o,y:x,width:e[t(1801)]?.[t(336)]??e[t(336)]??e[t(1495)]??0,height:e[t(1801)]?.height??e[t(1408)]??e[t(1218)]??0}},Nx=(e,n=[0,0])=>{const t=c,{x:o,y:x}=Uo(e)?e.internals.positionAbsolute:Dt(e,n);return{x:o,y:x,x2:o+(e[t(1801)]?.[t(336)]??e.width??e.initialWidth??0),y2:x+(e.measured?.[t(1408)]??e[t(1408)]??e[t(1218)]??0)}},zi=(e,n)=>Sx(Lx(Oo(e),Oo(n))),St=(e,n)=>{const t=c,o=Math.max(0,Math[t(2135)](e.x+e.width,n.x+n[t(336)])-Math[t(1303)](e.x,n.x)),x=Math.max(0,Math[t(2135)](e.y+e[t(1408)],n.y+n[t(1408)])-Math[t(1303)](e.y,n.y));return Math[t(1816)](o*x)},Ci=e=>Ie(e[c(336)])&&Ie(e[c(1408)])&&Ie(e.x)&&Ie(e.y),Ie=e=>!isNaN(e)&&isFinite(e),Mi=(e,n)=>{const t=c;process.env.NODE_ENV==="development"&&console.warn(t(597)+n+" Help: https://reactflow.dev/error#"+e)},Nt=(e,n=[1,1])=>{const t=c;return{x:n[0]*Math[t(1406)](e.x/n[0]),y:n[1]*Math[t(1406)](e.y/n[1])}},kt=({x:e,y:n},[t,o,x],r=!1,a=[1,1])=>{const i={x:(e-t)/x,y:(n-o)/x};return r?Nt(i,a):i},kx=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function Xn(e,n){const t=c;if(typeof e===t(1738))return Math[t(2130)]((n-n/(1+e))*.5);if(typeof e===t(2063)&&e.endsWith("px")){const o=parseFloat(e);if(!Number.isNaN(o))return Math[t(2130)](o)}if(typeof e===t(2063)&&e[t(456)]("%")){const o=parseFloat(e);if(!Number[t(1179)](o))return Math[t(2130)](n*o*.01)}return console[t(1491)](t(1010)+e+t(1653)),0}function O5(e,n,t){const o=c;if(typeof e===o(2063)||typeof e===o(1738)){const x=Xn(e,t),r=Xn(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e===o(2036)){const x=Xn(e[o(1445)]??e.y??0,t),r=Xn(e[o(897)]??e.y??0,t),a=Xn(e[o(1369)]??e.x??0,n),i=Xn(e.right??e.x??0,n);return{top:x,right:i,bottom:r,left:a,x:a+i,y:x+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function V5(e,n,t,o,x,r){const a=c,{x:i,y:u}=kx(e,[n,t,o]),{x:d,y:s}=kx({x:e.x+e[a(336)],y:e.y+e[a(1408)]},[n,t,o]),f=x-d,b=r-s;return{left:Math[a(2130)](i),top:Math[a(2130)](u),right:Math[a(2130)](f),bottom:Math[a(2130)](b)}}const Vo=(e,n,t,o,x,r)=>{const a=c,i=O5(r,n,t),u=(n-i.x)/e.width,d=(t-i.y)/e.height,s=Math[a(2135)](u,d),f=qn(s,o,x),b=e.x+e[a(336)]/2,g=e.y+e[a(1408)]/2,v=n/2-b*f,h=t/2-g*f,w=V5(e,v,h,f,n,t),M={left:Math.min(w[a(1369)]-i[a(1369)],0),top:Math.min(w.top-i[a(1445)],0),right:Math[a(2135)](w[a(1610)]-i.right,0),bottom:Math[a(2135)](w[a(897)]-i[a(897)],0)};return{x:v-M[a(1369)]+M[a(1610)],y:h-M[a(1445)]+M[a(897)],zoom:f}},It=()=>typeof navigator!==c(1951)&&navigator?.userAgent?.[c(385)](c(553))>=0;function Kn(e){const n=c;return e!=null&&e!==n(546)}function Ke(e){const n=c;return{width:e[n(1801)]?.[n(336)]??e[n(336)]??e.initialWidth??0,height:e[n(1801)]?.[n(1408)]??e[n(1408)]??e[n(1218)]??0}}function Bi(e){const n=c;return(e[n(1801)]?.[n(336)]??e[n(336)]??e[n(1495)])!==void 0&&(e[n(1801)]?.[n(1408)]??e.height??e[n(1218)])!==void 0}function Di(e,n={width:0,height:0},t,o,x){const r=c,a={...e},i=o[r(356)](t);if(i){const u=i[r(1748)]||x;a.x+=i.internals[r(1595)].x-(n.width??0)*u[0],a.y+=i[r(957)].positionAbsolute.y-(n[r(1408)]??0)*u[1]}return a}function Li(e,n){const t=c;if(e.size!==n.size)return!1;for(const o of e)if(!n[t(776)](o))return!1;return!0}function H5(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function T5(e){return{...fi,...e||{}}}function Pt(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=c,{x:a,y:i}=Pe(e),u=kt({x:a-(x?.[r(1369)]??0),y:i-(x?.top??0)},o),{x:d,y:s}=t?Nt(u,n):u;return{xSnapped:d,ySnapped:s,...u}}const Ho=e=>({width:e[c(1849)],height:e[c(1204)]}),Si=e=>e?.[c(1057)]?.()||window?.[c(2104)],q5=[c(953),c(1550),c(1911)];function Ni(e){const n=c,t=e[n(1031)]?.()?.[0]||e[n(852)];return t?.[n(1829)]!==1?!1:q5[n(2096)](t[n(494)])||t[n(390)](n(674))||!!t[n(1206)](".nokey")}const ki=e=>c(2136)in e,Pe=(e,n)=>{const t=c,o=ki(e),x=o?e[t(2136)]:e[t(2080)]?.[0][t(2136)],r=o?e[t(943)]:e[t(2080)]?.[0].clientY;return{x:x-(n?.[t(1369)]??0),y:r-(n?.[t(1445)]??0)}},Ii=(e,n,t,o,x)=>{const r=c,a=n[r(1185)]("."+e);return!a||!a[r(1146)]?null:Array[r(1365)](a)[r(632)](i=>{const u=r,d=i[u(880)]();return{id:i[u(1865)](u(331)),type:e,nodeId:x,position:i.getAttribute("data-handlepos"),x:(d.left-t[u(1369)])/o,y:(d[u(1445)]-t[u(1445)])/o,...Ho(i)}})};function Pi({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:a,targetControlY:i}){const u=c,d=e*.125+x*.375+a*.375+t*.125,s=n*.125+r*.375+i*.375+o*.125,f=Math[u(1697)](d-e),b=Math[u(1697)](s-n);return[d,s,f,b]}function Ix(e,n){return e>=0?.5*e:n*25*Math.sqrt(-e)}function ji({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const a=c;switch(e){case D0[a(1893)]:return[n-Ix(n-o,r),t];case D0[a(1444)]:return[n+Ix(o-n,r),t];case D0[a(1335)]:return[n,t-Ix(t-x,r)];case D0[a(398)]:return[n,t+Ix(x-t,r)]}}function Ai({sourceX:e,sourceY:n,sourcePosition:t=D0[c(398)],targetX:o,targetY:x,targetPosition:r=D0[c(1335)],curvature:a=.25}){const[i,u]=ji({pos:t,x1:e,y1:n,x2:o,y2:x,c:a}),[d,s]=ji({pos:r,x1:o,y1:x,x2:e,y2:n,c:a}),[f,b,g,v]=Pi({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:u,targetControlX:d,targetControlY:s});return["M"+e+","+n+" C"+i+","+u+" "+d+","+s+" "+o+","+x,f,b,g,v]}function Yi({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=c,r=Math[x(1697)](t-e)/2,a=t<e?t+r:t-r,i=Math[x(1697)](o-n)/2,u=o<n?o+i:o-i;return[a,u,r,i]}function W5({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r="basic"}){const a=c;if(r===a(1073))return o;const i=x&&t?o+1e3:o,u=Math.max(e[a(638)]||x&&e.selected?e[a(957)].z:0,n.parentId||x&&n[a(691)]?n[a(957)].z:0);return i+u}function X5({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=Lx(Nx(e),Nx(n));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const a={x:-x[0]/x[2],y:-x[1]/x[2],width:t/x[2],height:o/x[2]};return St(a,Sx(r))>0}const K5=({source:e,sourceHandle:n,target:t,targetHandle:o})=>c(1928)+e+(n||"")+"-"+t+(o||""),Z5=(e,n)=>{const t=c;return n[t(1929)](o=>o.source===e[t(1390)]&&o.target===e[t(852)]&&(o[t(1277)]===e[t(1277)]||!o.sourceHandle&&!e.sourceHandle)&&(o[t(909)]===e.targetHandle||!o[t(909)]&&!e[t(909)]))},Ei=(e,n,t={})=>{const o=c;if(!e[o(1390)]||!e.target)return Mi("006",we[o(1665)]()),n;const x=t[o(1712)]||K5;let r;return yi(e)?r={...e}:r={...e,id:x(e)},Z5(r,n)?n:(r[o(1277)]===null&&delete r.sourceHandle,r.targetHandle===null&&delete r[o(909)],n[o(1484)](r))};function Ui({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,a,i]=Yi({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,a,i]}const Gi={[D0[c(1893)]]:{x:-1,y:0},[D0[c(1444)]]:{x:1,y:0},[D0[c(1335)]]:{x:0,y:-1},[D0[c(398)]]:{x:0,y:1}},R5=({source:e,sourcePosition:n=D0[c(398)],target:t})=>{const o=c;return n===D0[o(1893)]||n===D0[o(1444)]?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1}},Oi=(e,n)=>Math[c(1571)](Math[c(1975)](n.x-e.x,2)+Math[c(1975)](n.y-e.y,2));function J5({source:e,sourcePosition:n=D0.Bottom,target:t,targetPosition:o=D0[c(1335)],center:x,offset:r,stepPosition:a}){const i=c,u=Gi[n],d=Gi[o],s={x:e.x+u.x*r,y:e.y+u.y*r},f={x:t.x+d.x*r,y:t.y+d.y*r},b=R5({source:s,sourcePosition:n,target:f}),g=b.x!==0?"x":"y",v=b[g];let h=[],w,M;const y={x:0,y:0},m={x:0,y:0},[,,z,C]=Yi({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(u[g]*d[g]===-1){g==="x"?(w=x.x??s.x+(f.x-s.x)*a,M=x.y??(s.y+f.y)/2):(w=x.x??(s.x+f.x)/2,M=x.y??s.y+(f.y-s.y)*a);const X=[{x:w,y:s.y},{x:w,y:f.y}],U=[{x:s.x,y:M},{x:f.x,y:M}];u[g]===v?h=g==="x"?X:U:h=g==="x"?U:X}else{const X=[{x:s.x,y:f.y}],U=[{x:f.x,y:s.y}];if(g==="x"?h=u.x===v?U:X:h=u.y===v?X:U,n===o){const S=Math[i(1697)](e[g]-t[g]);if(S<=r){const B=Math.min(r-1,r-S);u[g]===v?y[g]=(s[g]>e[g]?-1:1)*B:m[g]=(f[g]>t[g]?-1:1)*B}}if(n!==o){const S=g==="x"?"y":"x",B=u[g]===d[S],N=s[S]>f[S],A=s[S]<f[S];(u[g]===1&&(!B&&N||B&&A)||u[g]!==1&&(!B&&A||B&&N))&&(h=g==="x"?X:U)}const E={x:s.x+y.x,y:s.y+y.y},T={x:f.x+m.x,y:f.y+m.y},W=Math[i(1303)](Math.abs(E.x-h[0].x),Math[i(1697)](T.x-h[0].x)),V=Math[i(1303)](Math[i(1697)](E.y-h[0].y),Math.abs(T.y-h[0].y));W>=V?(w=(E.x+T.x)/2,M=h[0].y):(w=h[0].x,M=(E.y+T.y)/2)}const I={x:s.x+y.x,y:s.y+y.y},G={x:f.x+m.x,y:f.y+m.y};return[[e,...I.x!==h[0].x||I.y!==h[0].y?[I]:[],...h,...G.x!==h[h[i(1146)]-1].x||G.y!==h[h[i(1146)]-1].y?[G]:[],t],w,M,z,C]}function F5(e,n,t,o){const x=c,r=Math[x(2135)](Oi(e,n)/2,Oi(n,t)/2,o),{x:a,y:i}=n;if(e.x===a&&a===t.x||e.y===i&&i===t.y)return"L"+a+" "+i;if(e.y===i){const s=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(a+r*s)+","+i+"Q "+a+","+i+" "+a+","+(i+r*f)}const u=e.x<t.x?1:-1,d=e.y<t.y?-1:1;return"L "+a+","+(i+r*d)+"Q "+a+","+i+" "+(a+r*u)+","+i}function To({sourceX:e,sourceY:n,sourcePosition:t=D0[c(398)],targetX:o,targetY:x,targetPosition:r=D0[c(1335)],borderRadius:a=5,centerX:i,centerY:u,offset:d=20,stepPosition:s=.5}){const f=c,[b,g,v,h,w]=J5({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:i,y:u},offset:d,stepPosition:s});let M="M"+b[0].x+" "+b[0].y;for(let y=1;y<b[f(1146)]-1;y++)M+=F5(b[y-1],b[y],b[y+1],a);return M+="L"+b[b[f(1146)]-1].x+" "+b[b.length-1].y,[M,g,v,h,w]}function Vi(e){const n=c;return e&&!!(e.internals.handleBounds||e[n(1005)]?.[n(1146)])&&!!(e[n(1801)][n(336)]||e[n(336)]||e[n(1495)])}function _5(e){const n=c,{sourceNode:t,targetNode:o}=e;if(!Vi(t)||!Vi(o))return null;const x=t.internals[n(660)]||Hi(t[n(1005)]),r=o[n(957)][n(660)]||Hi(o[n(1005)]),a=Ti(x?.[n(1390)]??[],e[n(1277)]),i=Ti(e[n(2070)]===Tn[n(813)]?r?.[n(852)]??[]:(r?.[n(852)]??[])[n(1484)](r?.source??[]),e[n(909)]);if(!a||!i)return e.onError?.(n(1590),we[n(485)](n(a?852:1390),{id:e.id,sourceHandle:e[n(1277)],targetHandle:e[n(909)]})),null;const u=a?.position||D0[n(398)],d=i?.[n(1366)]||D0[n(1335)],s=pn(t,a,u),f=pn(o,i,d);return{sourceX:s.x,sourceY:s.y,targetX:f.x,targetY:f.y,sourcePosition:u,targetPosition:d}}function Hi(e){const n=c;if(!e)return null;const t=[],o=[];for(const x of e)x[n(336)]=x.width??1,x[n(1408)]=x.height??1,x.type===n(1390)?t[n(1106)](x):x.type==="target"&&o[n(1106)](x);return{source:t,target:o}}function pn(e,n,t=D0[c(1893)],o=!1){const x=c,r=(n?.x??0)+e[x(957)][x(1595)].x,a=(n?.y??0)+e[x(957)][x(1595)].y,{width:i,height:u}=n??Ke(e);if(o)return{x:r+i/2,y:a+u/2};switch(n?.[x(1366)]??t){case D0[x(1335)]:return{x:r+i/2,y:a};case D0[x(1444)]:return{x:r+i,y:a+u/2};case D0[x(398)]:return{x:r+i/2,y:a+u};case D0.Left:return{x:r,y:a+u/2}}}function Ti(e,n){const t=c;return e&&(n?e[t(1804)](o=>o.id===n):e[0])||null}function qo(e,n){const t=c;return e?typeof e=="string"?e:""+(n?n+"__":"")+Object[t(1190)](e)[t(1897)]().map(x=>x+"="+e[x])[t(2077)]("&"):""}function Q5(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=c,a=new Set;return e[r(1636)]((i,u)=>{const d=r;return[u[d(2035)]||o,u[d(1101)]||x][d(1413)](s=>{const f=d;if(s&&typeof s=="object"){const b=qo(s,n);!a[f(776)](b)&&(i[f(1106)]({id:b,color:s[f(479)]||t,...s}),a[f(1996)](b))}}),i},[])[r(1897)]((i,u)=>i.id[r(1337)](u.id))}const qi=1e3,$5=10,Wo={nodeOrigin:[0,0],nodeExtent:Mt,elevateNodesOnSelect:!0,zIndexMode:c(629),defaults:{}},e3={...Wo,checkEquality:!0};function Xo(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function n3(e,n,t){const o=c,x=Xo(Wo,t);for(const r of e[o(1944)]())if(r[o(638)])Ro(r,e,n,x);else{const a=Dt(r,x[o(637)]),i=Kn(r[o(1083)])?r[o(1083)]:x[o(1442)],u=wn(a,i,Ke(r));r[o(957)].positionAbsolute=u}}function t3(e,n){const t=c;if(!e[t(1005)])return e[t(1801)]?n?.internals[t(660)]:void 0;const o=[],x=[];for(const r of e[t(1005)]){const a={id:r.id,width:r[t(336)]??1,height:r[t(1408)]??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r[t(1727)]};r[t(1727)]===t(1390)?o[t(1106)](a):r[t(1727)]===t(852)&&x[t(1106)](a)}return{source:o,target:x}}function Ko(e){return e===c(1073)}function Zo(e,n,t,o={}){const x=c,r=Xo(e3,o),a={i:0},i=new Map(n),u=r?.[x(340)]&&!Ko(r[x(796)])?qi:0;let d=e[x(1146)]>0,s=!1;n[x(753)](),t[x(753)]();for(const f of e){let b=i[x(356)](f.id);if(r[x(1809)]&&f===b?.[x(957)].userNode)n[x(1480)](f.id,b);else{const g=Dt(f,r.nodeOrigin),v=Kn(f[x(1083)])?f[x(1083)]:r[x(1442)],h=wn(g,v,Ke(f));b={...r[x(1752)],...f,measured:{width:f[x(1801)]?.width,height:f[x(1801)]?.[x(1408)]},internals:{positionAbsolute:h,handleBounds:t3(f,b),z:Wi(f,u,r[x(796)]),userNode:f}},n[x(1480)](f.id,b)}(b[x(1801)]===void 0||b[x(1801)].width===void 0||b[x(1801)][x(1408)]===void 0)&&!b[x(1380)]&&(d=!1),f.parentId&&Ro(b,n,t,o,a),s||=f[x(691)]??!1}return{nodesInitialized:d,hasSelectedNodes:s}}function x3(e,n){const t=c;if(!e[t(638)])return;const o=n[t(356)](e[t(638)]);o?o[t(1480)](e.id,e):n[t(1480)](e[t(638)],new Map([[e.id,e]]))}function Ro(e,n,t,o,x){const r=c,{elevateNodesOnSelect:a,nodeOrigin:i,nodeExtent:u,zIndexMode:d}=Xo(Wo,o),s=e[r(638)],f=n[r(356)](s);if(!f){console[r(1108)](r(696)+s+r(742));return}x3(e,t),x&&!f[r(638)]&&f.internals.rootParentIndex===void 0&&d===r(938)&&(f[r(957)][r(840)]=++x.i,f[r(957)].z=f[r(957)].z+x.i*$5),x&&f[r(957)][r(840)]!==void 0&&(x.i=f.internals[r(840)]);const b=a&&!Ko(d)?qi:0,{x:g,y:v,z:h}=o3(e,f,i,u,b,d),{positionAbsolute:w}=e[r(957)],M=g!==w.x||v!==w.y;(M||h!==e[r(957)].z)&&n[r(1480)](e.id,{...e,internals:{...e[r(957)],positionAbsolute:M?{x:g,y:v}:w,z:h}})}function Wi(e,n,t){const o=c,x=Ie(e[o(1262)])?e[o(1262)]:0;return Ko(t)?x:x+(e[o(691)]?n:0)}function o3(e,n,t,o,x,r){const a=c,{x:i,y:u}=n[a(957)].positionAbsolute,d=Ke(e),s=Dt(e,t),f=Kn(e[a(1083)])?wn(s,e[a(1083)],d):s;let b=wn({x:i+f.x,y:u+f.y},o,d);e[a(1083)]===a(546)&&(b=vi(b,d,n));const g=Wi(e,x,r),v=n[a(957)].z??0;return{x:b.x,y:b.y,z:v>=g?v+1:g}}function Jo(e,n,t,o=[0,0]){const x=c,r=[],a=new Map;for(const i of e){const u=n[x(356)](i.parentId);if(!u)continue;const d=a[x(356)](i[x(638)])?.[x(1842)]??Wn(u),s=zi(d,i[x(512)]);a[x(1480)](i[x(638)],{expandedRect:s,parent:u})}return a.size>0&&a[x(1413)](({expandedRect:i,parent:u},d)=>{const s=x,f=u[s(957)][s(1595)],b=Ke(u),g=u[s(1748)]??o,v=i.x<f.x?Math[s(1406)](Math[s(1697)](f.x-i.x)):0,h=i.y<f.y?Math.round(Math[s(1697)](f.y-i.y)):0,w=Math[s(1303)](b[s(336)],Math[s(1406)](i[s(336)])),M=Math.max(b.height,Math[s(1406)](i[s(1408)])),y=(w-b[s(336)])*g[0],m=(M-b[s(1408)])*g[1];(v>0||h>0||y||m)&&(r.push({id:d,type:s(1366),position:{x:u[s(1366)].x-v+y,y:u.position.y-h+m}}),t[s(356)](d)?.[s(1413)](z=>{const C=s;!e[C(1929)](I=>I.id===z.id)&&r[C(1106)]({id:z.id,type:C(1366),position:{x:z[C(1366)].x+v,y:z.position.y+h}})})),(b.width<i[s(336)]||b[s(1408)]<i[s(1408)]||v||h)&&r.push({id:d,type:s(979),setAttributes:!0,dimensions:{width:w+(v?g[0]*v-y:0),height:M+(h?g[1]*h-m:0)}})}),r}function r3(e,n,t,o,x,r,a){const i=c,u=o?.[i(1661)](i(1670));let d=!1;if(!u)return{changes:[],updatedInternals:d};const s=[],f=window[i(464)](u),{m22:b}=new window.DOMMatrixReadOnly(f[i(1838)]),g=[];for(const v of e[i(1944)]()){const h=n[i(356)](v.id);if(!h)continue;if(h[i(1380)]){n.set(h.id,{...h,internals:{...h[i(957)],handleBounds:void 0}}),d=!0;continue}const w=Ho(v[i(1802)]),M=h[i(1801)][i(336)]!==w.width||h[i(1801)][i(1408)]!==w.height;if(!!(w[i(336)]&&w[i(1408)]&&(M||!h[i(957)][i(660)]||v[i(1459)]))){const m=v.nodeElement[i(880)](),z=Kn(h.extent)?h[i(1083)]:r;let{positionAbsolute:C}=h[i(957)];h[i(638)]&&h[i(1083)]===i(546)?C=vi(C,w,n.get(h.parentId)):z&&(C=wn(C,z,w));const I={...h,measured:w,internals:{...h[i(957)],positionAbsolute:C,handleBounds:{source:Ii(i(1390),v.nodeElement,m,b,h.id),target:Ii(i(852),v[i(1802)],m,b,h.id)}}};n[i(1480)](h.id,I),h[i(638)]&&Ro(I,n,t,{nodeOrigin:x,zIndexMode:a}),d=!0,M&&(s.push({id:h.id,type:i(979),dimensions:w}),h[i(1242)]&&h[i(638)]&&g.push({id:h.id,parentId:h[i(638)],rect:Wn(I,x)}))}}if(g[i(1146)]>0){const v=Jo(g,n,t,x);s[i(1106)](...v)}return{changes:s,updatedInternals:d}}async function a3({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const a=c;if(!n||!e.x&&!e.y)return Promise[a(896)](!1);const i=await n[a(1987)]({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),u=!!i&&(i.x!==t[0]||i.y!==t[1]||i.k!==t[2]);return Promise[a(896)](u)}function Xi(e,n,t,o,x,r){const a=c;let i=x;const u=o[a(356)](i)||new Map;o.set(i,u.set(t,n)),i=x+"-"+e;const d=o[a(356)](i)||new Map;if(o[a(1480)](i,d[a(1480)](t,n)),r){i=x+"-"+e+"-"+r;const s=o[a(356)](i)||new Map;o[a(1480)](i,s[a(1480)](t,n))}}function Ki(e,n,t){const o=c;e.clear(),n[o(753)]();for(const x of t){const{source:r,target:a,sourceHandle:i=null,targetHandle:u=null}=x,d={edgeId:x.id,source:r,target:a,sourceHandle:i,targetHandle:u},s=r+"-"+i+"--"+a+"-"+u,f=a+"-"+u+"--"+r+"-"+i;Xi("source",d,f,e,r,i),Xi(o(852),d,s,e,a,u),n[o(1480)](x.id,x)}}function Zi(e,n){const t=c;if(!e[t(638)])return!1;const o=n[t(356)](e[t(638)]);return o?o[t(691)]?!0:Zi(o,n):!1}function Ri(e,n,t){const o=c;let x=e;do{if(x?.[o(382)]?.(n))return!0;if(x===t)return!1;x=x?.[o(1737)]}while(x);return!1}function i3(e,n,t,o){const x=c,r=new Map;for(const[a,i]of e)if((i[x(691)]||i.id===o)&&(!i[x(638)]||!Zi(i,e))&&(i[x(1705)]||n&&typeof i.draggable===x(1951))){const u=e[x(356)](a);u&&r[x(1480)](a,{id:a,position:u[x(1366)]||{x:0,y:0},distance:{x:t.x-u[x(957)].positionAbsolute.x,y:t.y-u.internals[x(1595)].y},extent:u.extent,parentId:u[x(638)],origin:u[x(1748)],expandParent:u[x(1242)],internals:{positionAbsolute:u.internals[x(1595)]||{x:0,y:0}},measured:{width:u.measured.width??0,height:u[x(1801)][x(1408)]??0}})}return r}function Fo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=c,r=[];for(const[i,u]of n){const d=t.get(i)?.internals.userNode;d&&r.push({...d,position:u[x(1366)],dragging:o})}if(!e)return[r[0],r];const a=t[x(356)](e)?.[x(957)][x(960)];return[a?{...a,position:n[x(356)](e)?.[x(1366)]||a[x(1366)],dragging:o}:r[0],r]}function c3({dragItems:e,snapGrid:n,x:t,y:o}){const x=c,r=e[x(1944)]()[x(1583)]()[x(1127)];if(!r)return null;const a={x:t-r[x(891)].x,y:o-r[x(891)].y},i=Nt(a,n);return{x:i.x-a.x,y:i.y-a.y}}function s3({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},a=0,i=new Map,u=!1,d={x:0,y:0},s=null,f=!1,b=null,g=!1,v=!1,h=null;function w({noDragClassName:y,handleSelector:m,domNode:z,isSelectable:C,nodeId:I,nodeClickDistance:G=0}){const O=_0xad4d;b=ve(z);function X({x:W,y:V}){const S=_0xad4d,{nodeLookup:B,nodeExtent:N,snapGrid:A,snapToGrid:j,nodeOrigin:P,onNodeDrag:F,onSelectionDrag:e0,onError:$,updateNodePositions:t0}=n();r={x:W,y:V};let o0=!1;const g0=i[S(1120)]>1,v0=g0&&N?Oo(Lt(i)):null,C0=g0&&j?c3({dragItems:i,snapGrid:A,x:W,y:V}):null;for(const[d0,Q]of i){if(!B[S(776)](d0))continue;let u0={x:W-Q[S(891)].x,y:V-Q[S(891)].y};j&&(u0=C0?{x:Math[S(1406)](u0.x+C0.x),y:Math[S(1406)](u0.y+C0.y)}:Nt(u0,A));let z0=null;if(g0&&N&&!Q[S(1083)]&&v0){const{positionAbsolute:c0}=Q[S(957)],l0=c0.x-v0.x+N[0][0],B0=c0.x+Q[S(1801)].width-v0.x2+N[1][0],m0=c0.y-v0.y+N[0][1],G0=c0.y+Q[S(1801)][S(1408)]-v0.y2+N[1][1];z0=[[l0,m0],[B0,G0]]}const{position:Y,positionAbsolute:q}=mi({nodeId:d0,nextPosition:u0,nodeLookup:B,nodeExtent:z0||N,nodeOrigin:P,onError:$});o0=o0||Q[S(1366)].x!==Y.x||Q[S(1366)].y!==Y.y,Q[S(1366)]=Y,Q[S(957)][S(1595)]=q}if(v=v||o0,!!o0&&(t0(i,!0),h&&(o||F||!I&&e0))){const[d0,Q]=Fo({nodeId:I,dragItems:i,nodeLookup:B});o?.(h,i,d0,Q),F?.(h,d0,Q),!I&&e0?.(h,Q)}}async function U(){if(!s)return;const{transform:W,panBy:V,autoPanSpeed:S,autoPanOnNodeDrag:B}=n();if(!B){u=!1,cancelAnimationFrame(a);return}const[N,A]=pi(d,s,S);(N!==0||A!==0)&&(r.x=(r.x??0)-N/W[2],r.y=(r.y??0)-A/W[2],await V({x:N,y:A})&&X(r)),a=requestAnimationFrame(U)}function E(W){const V=_0xad4d,{nodeLookup:S,multiSelectionActive:B,nodesDraggable:N,transform:A,snapGrid:j,snapToGrid:P,selectNodesOnDrag:F,onNodeDragStart:e0,onSelectionDragStart:$,unselectNodesAndEdges:t0}=n();f=!0,(!F||!C)&&!B&&I&&!S[V(356)](I)?.[V(691)]&&t0(),C&&F&&I&&e?.(I);const o0=Pt(W[V(699)],{transform:A,snapGrid:j,snapToGrid:P,containerBounds:s});if(r=o0,i=i3(S,N,o0,I),i[V(1120)]>0&&(t||e0||!I&&$)){const[g0,v0]=Fo({nodeId:I,dragItems:i,nodeLookup:S});t?.(W.sourceEvent,i,g0,v0),e0?.(W.sourceEvent,g0,v0),!I&&$?.(W[V(699)],v0)}}const T=Ya()[O(575)](G).on(O(1044),W=>{const V=O,{domNode:S,nodeDragThreshold:B,transform:N,snapGrid:A,snapToGrid:j}=n();s=S?.[V(880)]()||null,g=!1,v=!1,h=W[V(699)],B===0&&E(W),r=Pt(W[V(699)],{transform:N,snapGrid:A,snapToGrid:j,containerBounds:s}),d=Pe(W[V(699)],s)}).on("drag",W=>{const V=O,{autoPanOnNodeDrag:S,transform:B,snapGrid:N,snapToGrid:A,nodeDragThreshold:j,nodeLookup:P}=n(),F=Pt(W[V(699)],{transform:B,snapGrid:N,snapToGrid:A,containerBounds:s});if(h=W[V(699)],(W[V(699)].type==="touchmove"&&W.sourceEvent.touches.length>1||I&&!P[V(776)](I))&&(g=!0),!g){if(!u&&S&&f&&(u=!0,U()),!f){const e0=Pe(W.sourceEvent,s),$=e0.x-d.x,t0=e0.y-d.y;Math[V(1571)]($*$+t0*t0)>j&&E(W)}(r.x!==F[V(338)]||r.y!==F[V(603)])&&i&&f&&(d=Pe(W.sourceEvent,s),X(F))}}).on(O(917),W=>{const V=O;if(!(!f||g)&&(u=!1,f=!1,cancelAnimationFrame(a),i[V(1120)]>0)){const{nodeLookup:S,updateNodePositions:B,onNodeDragStop:N,onSelectionDragStop:A}=n();if(v&&(B(i,!1),v=!1),x||N||!I&&A){const[j,P]=Fo({nodeId:I,dragItems:i,nodeLookup:S,dragging:!1});x?.(W[V(699)],i,j,P),N?.(W[V(699)],j,P),!I&&A?.(W[V(699)],P)}}})[O(2102)](W=>{const V=W.target;return!W.button&&(!y||!Ri(V,"."+y,z))&&(!m||Ri(V,m,z))});b[O(838)](T)}function M(){const y=_0xad4d;b?.on(y(1657),null)}return{update:w,destroy:M}}function l3(e,n,t){const o=c,x=[],r={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const a of n[o(1944)]())St(r,Wn(a))>0&&x[o(1106)](a);return x}const d3=250;function u3(e,n,t,o){const x=c;let r=[],a=1/0;const i=l3(e,t,n+d3);for(const u of i){const d=[...u[x(957)][x(660)]?.[x(1390)]??[],...u[x(957)].handleBounds?.target??[]];for(const s of d){if(o.nodeId===s[x(639)]&&o[x(1727)]===s[x(1727)]&&o.id===s.id)continue;const{x:f,y:b}=pn(u,s,s[x(1366)],!0),g=Math.sqrt(Math[x(1975)](f-e.x,2)+Math[x(1975)](b-e.y,2));g>n||(g<a?(r=[{...s,x:f,y:b}],a=g):g===a&&r[x(1106)]({...s,x:f,y:b}))}}if(!r.length)return null;if(r[x(1146)]>1){const u=o[x(1727)]===x(1390)?x(852):x(1390);return r[x(1804)](d=>d[x(1727)]===u)??r[0]}return r[0]}function Ji(e,n,t,o,x,r=!1){const a=c,i=o.get(e);if(!i)return null;const u=x===a(441)?i[a(957)][a(660)]?.[n]:[...i.internals.handleBounds?.[a(1390)]??[],...i[a(957)][a(660)]?.[a(852)]??[]],d=(t?u?.[a(1804)](s=>s.id===t):u?.[0])??null;return d&&r?{...d,...pn(i,d,d[a(1366)],!0)}:d}function Fi(e,n){const t=c;return e||(n?.[t(1171)][t(1229)](t(852))?t(852):n?.classList[t(1229)](t(1390))?t(1390):null)}function f3(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const _i=()=>!0;function h3(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:a,domNode:i,nodeLookup:u,lib:d,autoPanOnConnect:s,flowId:f,panBy:b,cancelConnection:g,onConnectStart:v,onConnect:h,onConnectEnd:w,isValidConnection:M=_i,onReconnectEnd:y,updateConnection:m,getTransform:z,getFromHandle:C,autoPanSpeed:I,dragThreshold:G=1,handleDomNode:O}){const X=c,U=Si(e[X(852)]);let E=0,T;const{x:W,y:V}=Pe(e),S=Fi(r,O),B=i?.getBoundingClientRect();let N=!1;if(!B||!S)return;const A=Ji(x,S,o,u,n);if(!A)return;let j=Pe(e,B),P=!1,F=null,e0=!1,$=null;function t0(){if(!s||!B)return;const[z0,Y]=pi(j,B,I);b({x:z0,y:Y}),E=requestAnimationFrame(t0)}const o0={...A,nodeId:x,type:S,position:A.position},g0=u[X(356)](x);let C0={inProgress:!0,isValid:null,from:pn(g0,o0,D0[X(1893)],!0),fromHandle:o0,fromPosition:o0[X(1366)],fromNode:g0,to:j,toHandle:null,toPosition:gi[o0[X(1366)]],toNode:null,pointer:j};function d0(){N=!0,m(C0),v?.(e,{nodeId:x,handleId:o,handleType:S})}G===0&&d0();function Q(z0){const Y=X;if(!N){const{x:G0,y:n0}=Pe(z0),b0=G0-W,r0=n0-V;if(!(b0*b0+r0*r0>G*G))return;d0()}if(!C()||!o0){u0(z0);return}const q=z();j=Pe(z0,B),T=u3(kt(j,q,!1,[1,1]),t,u,o0),!P&&(t0(),P=!0);const c0=Qi(z0,{handle:T,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:a?"target":Y(1390),isValidConnection:M,doc:U,lib:d,flowId:f,nodeLookup:u});$=c0.handleDomNode,F=c0[Y(758)],e0=f3(!!T,c0[Y(1742)]);const l0=u[Y(356)](x),B0=l0?pn(l0,o0,D0[Y(1893)],!0):C0[Y(1365)],m0={...C0,from:B0,isValid:e0,to:c0[Y(1129)]&&e0?kx({x:c0[Y(1129)].x,y:c0[Y(1129)].y},q):j,toHandle:c0.toHandle,toPosition:e0&&c0[Y(1129)]?c0[Y(1129)][Y(1366)]:gi[o0[Y(1366)]],toNode:c0[Y(1129)]?u[Y(356)](c0.toHandle.nodeId):null,pointer:j};m(m0),C0=m0}function u0(z0){const Y=X;if(!(Y(2080)in z0&&z0[Y(2080)][Y(1146)]>0)){if(N){(T||$)&&F&&e0&&h?.(F);const{inProgress:q,...c0}=C0,l0={...c0,toPosition:C0.toHandle?C0[Y(1039)]:null};w?.(z0,l0),r&&y?.(z0,l0)}g(),cancelAnimationFrame(E),P=!1,e0=!1,F=null,$=null,U.removeEventListener(Y(393),Q),U[Y(612)]("mouseup",u0),U.removeEventListener(Y(1032),Q),U[Y(612)](Y(728),u0)}}U[X(1081)](X(393),Q),U[X(1081)](X(1269),u0),U[X(1081)]("touchmove",Q),U[X(1081)](X(728),u0)}function Qi(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:a,lib:i,flowId:u,isValidConnection:d=_i,nodeLookup:s}){const f=c,b=r===f(852),g=n?a.querySelector("."+i+f(789)+u+"-"+n?.[f(639)]+"-"+n?.id+"-"+n?.type+'"]'):null,{x:v,y:h}=Pe(e),w=a[f(1273)](v,h),M=w?.[f(1171)][f(1229)](i+f(942))?w:g,y={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const m=Fi(void 0,M),z=M[f(1865)](f(669)),C=M.getAttribute(f(331)),I=M[f(1171)].contains(f(1719)),G=M[f(1171)][f(1229)](f(1585));if(!z||!m)return y;const O={source:b?z:o,sourceHandle:b?C:x,target:b?o:z,targetHandle:b?x:C};y.connection=O;const X=I&&G,U=X&&(t===Tn[f(813)]?b&&m==="source"||!b&&m==="target":z!==o||C!==x);y[f(1742)]=U&&d(O),y.toHandle=Ji(z,m,C,s,t,!0)}return y}const _o={onPointerDown:h3,isValid:Qi};function g3({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=ve(e);function r({translateExtent:i,width:u,height:d,zoomStep:s=1,pannable:f=!0,zoomable:b=!0,inversePan:g=!1}){const v=_0xad4d,h=z=>{const C=_0xad4d;if(z[C(699)][C(1727)]!==C(1770)||!n)return;const I=t(),G=z[C(699)][C(750)]&&It()?10:1,O=-z[C(699)][C(2060)]*(z[C(699)].deltaMode===1?.05:z[C(699)][C(1072)]?1:.002)*s,X=I[2]*Math[C(1975)](2,O*G);n[C(1328)](X)};let w=[0,0];const M=z=>{const C=_0xad4d;(z[C(699)].type===C(400)||z[C(699)][C(1727)]===C(2028))&&(w=[z[C(699)].clientX??z[C(699)][C(2080)][0][C(2136)],z[C(699)].clientY??z[C(699)][C(2080)][0].clientY])},y=z=>{const C=_0xad4d,I=t();if(z.sourceEvent[C(1727)]!==C(393)&&z.sourceEvent.type!==C(1032)||!n)return;const G=[z[C(699)].clientX??z[C(699)].touches[0][C(2136)],z.sourceEvent[C(943)]??z.sourceEvent[C(2080)][0].clientY],O=[G[0]-w[0],G[1]-w[1]];w=G;const X=o()*Math.max(I[2],Math[C(1851)](I[2]))*(g?-1:1),U={x:I[0]-O[0]*X,y:I[1]-O[1]*X},E=[[0,0],[u,d]];n[C(1987)]({x:U.x,y:U.y,zoom:I[2]},E,i)},m=di().on(v(1044),M).on(v(1304),f?y:null).on(v(1115),b?h:null);x[v(838)](m,{})}function a(){const i=_0xad4d;x.on(i(1304),null)}return{update:r,destroy:a,pointer:Se}}const Px=e=>({x:e.x,y:e.y,zoom:e.k}),Qo=({x:e,y:n,zoom:t})=>Bx[c(1395)](e,n)[c(2043)](t),Zn=(e,n)=>e[c(852)][c(1206)]("."+n),$i=(e,n)=>n===2&&Array.isArray(e)&&e.includes(2),b3=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,$o=(e,n=0,t=b3,o=()=>{})=>{const x=c,r=typeof n===x(1738)&&n>0;return!r&&o(),r?e[x(583)]().duration(n)[x(1465)](t).on("end",o):e},ec=e=>{const n=c,t=e.ctrlKey&&It()?10:1;return-e[n(2060)]*(e[n(1072)]===1?.05:e[n(1072)]?1:.002)*t};function y3({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:a,onPanZoomStart:i,onPanZoom:u,onPanZoomEnd:d}){return s=>{const f=_0xad4d;if(Zn(s,n))return s[f(750)]&&s.preventDefault(),!1;s[f(1556)](),s[f(466)]();const b=t[f(1615)](f(934)).k||1;if(s[f(750)]&&a){const M=Se(s),y=ec(s),m=b*Math[f(1975)](2,y);o[f(1328)](t,m,M,s);return}const g=s[f(1072)]===1?20:1;let v=x===vn[f(1434)]?0:s[f(1946)]*g,h=x===vn[f(994)]?0:s[f(2060)]*g;!It()&&s[f(1880)]&&x!==vn[f(1434)]&&(v=s[f(2060)]*g,h=0),o.translateBy(t,-(v/b)*r,-(h/b)*r,{internal:!0});const w=Px(t[f(1615)](f(934)));clearTimeout(e[f(1922)]),e[f(1526)]?(u?.(s,w),e.panScrollTimeout=setTimeout(()=>{const M=f;d?.(s,w),e[M(1526)]=!1},150)):(e.isPanScrolling=!0,i?.(s,w))}}function m3({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0xad4d,a=o[r(1727)]===r(1770),i=!n&&a&&!o[r(750)],u=Zn(o,e);if(o[r(750)]&&a&&u&&o[r(1556)](),i||u)return null;o[r(1556)](),t.call(this,o,x)}}function v3({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0xad4d;if(o.sourceEvent?.[x(1588)])return;const r=Px(o[x(1838)]);e[x(577)]=o.sourceEvent?.[x(1261)]||0,e[x(688)]=!0,e[x(1267)]=r,o.sourceEvent?.type===x(400)&&n(!0),t&&t?.(o.sourceEvent,r)}}function w3({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const a=_0xad4d;e[a(507)]=!!(t&&$i(n,e[a(577)]??0)),!r[a(699)]?.[a(484)]&&o([r[a(1838)].x,r[a(1838)].y,r[a(1838)].k]),x&&!r[a(699)]?.internal&&x?.(r[a(699)],Px(r[a(1838)]))}}function p3({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return a=>{const i=_0xad4d;if(!a.sourceEvent?.internal&&(e[i(688)]=!1,r&&$i(n,e[i(577)]??0)&&!e[i(507)]&&a[i(699)]&&r(a[i(699)]),e[i(507)]=!1,o(!1),x)){const u=Px(a[i(1838)]);e.prevViewport=u,clearTimeout(e[i(2090)]),e[i(2090)]=setTimeout(()=>{x?.(a[i(699)],u)},t?150:0)}}}function z3({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:a,noWheelClassName:i,noPanClassName:u,lib:d,connectionInProgress:s}){return f=>{const b=_0xad4d,g=e||n,v=t&&f[b(750)],h=f.type===b(1770);if(f[b(1261)]===1&&f[b(1727)]===b(400)&&(Zn(f,d+b(1926))||Zn(f,d+"-flow__edge")))return!0;if(!o&&!g&&!x&&!r&&!t||a||s&&!h||Zn(f,i)&&h||Zn(f,u)&&(!h||x&&h&&!e)||!t&&f[b(750)]&&h)return!1;if(!t&&f.type===b(2028)&&f.touches?.length>1)return f.preventDefault(),!1;if(!g&&!x&&!v&&h||!o&&(f[b(1727)]===b(400)||f[b(1727)]===b(2028))||Array[b(1905)](o)&&!o[b(2096)](f[b(1261)])&&f[b(1727)]===b(400))return!1;const w=Array[b(1905)](o)&&o[b(2096)](f[b(1261)])||!f[b(1261)]||f[b(1261)]<=1;return(!f[b(750)]||h)&&w}}function C3({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:a,onPanZoomEnd:i,onDraggingChange:u}){const d=c,s={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e[d(880)](),b=di().scaleExtent([n,t])[d(347)](o),g=ve(e)[d(838)](b);m({x:x.x,y:x.y,zoom:qn(x[d(1304)],n,t)},[[0,0],[f[d(336)],f[d(1408)]]],o);const v=g.on(d(620)),h=g.on(d(1831));b[d(1116)](ec);function w(T,W){const V=d;return g?new Promise(S=>{const B=_0xad4d;b?.[B(491)](W?.interpolate===B(988)?mt:gx).transform($o(g,W?.[B(895)],W?.[B(1465)],()=>S(!0)),T)}):Promise[V(896)](!1)}function M({noWheelClassName:T,noPanClassName:W,onPaneContextMenu:V,userSelectionActive:S,panOnScroll:B,panOnDrag:N,panOnScrollMode:A,panOnScrollSpeed:j,preventScrolling:P,zoomOnPinch:F,zoomOnScroll:e0,zoomOnDoubleClick:$,zoomActivationKeyPressed:t0,lib:o0,onTransformChange:g0,connectionInProgress:v0,paneClickDistance:C0,selectionOnDrag:d0}){const Q=d;S&&!s[Q(688)]&&y();const u0=B&&!t0&&!S;b[Q(575)](d0?1/0:!Ie(C0)||C0<0?0:C0);const z0=u0?y3({zoomPanValues:s,noWheelClassName:T,d3Selection:g,d3Zoom:b,panOnScrollMode:A,panOnScrollSpeed:j,zoomOnPinch:F,onPanZoomStart:a,onPanZoom:r,onPanZoomEnd:i}):m3({noWheelClassName:T,preventScrolling:P,d3ZoomHandler:v});if(g.on("wheel.zoom",z0,{passive:!1}),!S){const q=v3({zoomPanValues:s,onDraggingChange:u,onPanZoomStart:a});b.on(Q(1044),q);const c0=w3({zoomPanValues:s,panOnDrag:N,onPaneContextMenu:!!V,onPanZoom:r,onTransformChange:g0});b.on(Q(1304),c0);const l0=p3({zoomPanValues:s,panOnDrag:N,panOnScroll:B,onPaneContextMenu:V,onPanZoomEnd:i,onDraggingChange:u});b.on(Q(917),l0)}const Y=z3({zoomActivationKeyPressed:t0,panOnDrag:N,zoomOnScroll:e0,panOnScroll:B,zoomOnDoubleClick:$,zoomOnPinch:F,userSelectionActive:S,noPanClassName:W,noWheelClassName:T,lib:o0,connectionInProgress:v0});b[Q(2102)](Y),$?g.on("dblclick.zoom",h):g.on(Q(1831),null)}function y(){b.on("zoom",null)}async function m(T,W,V){const S=Qo(T),B=b?.constrain()(S,W,V);return B&&await w(B),new Promise(N=>N(B))}async function z(T,W){const V=Qo(T);return await w(V,W),new Promise(S=>S(V))}function C(T){const W=d;if(g){const V=Qo(T),S=g[W(1615)](W(934));(S.k!==T.zoom||S.x!==T.x||S.y!==T.y)&&b?.[W(1838)](g,V,null,{sync:!0})}}function I(){const T=d,W=g?si(g[T(925)]()):{x:0,y:0,k:1};return{x:W.x,y:W.y,zoom:W.k}}function G(T,W){const V=d;return g?new Promise(S=>{const B=_0xad4d;b?.interpolate(W?.[B(491)]===B(988)?mt:gx)[B(1328)]($o(g,W?.[B(895)],W?.[B(1465)],()=>S(!0)),T)}):Promise[V(896)](!1)}function O(T,W){const V=d;return g?new Promise(S=>{const B=_0xad4d;b?.[B(491)](W?.[B(491)]===B(988)?mt:gx).scaleBy($o(g,W?.[B(895)],W?.[B(1465)],()=>S(!0)),T)}):Promise[V(896)](!1)}function X(T){b?.[d(906)](T)}function U(T){b?.[d(347)](T)}function E(T){const W=d,V=!Ie(T)||T<0?0:T;b?.[W(575)](V)}return{update:M,destroy:y,setViewport:z,setViewportConstrained:m,getViewport:I,scaleTo:G,scaleBy:O,setScaleExtent:X,setTranslateExtent:U,syncViewport:C,setClickDistance:E}}var Rn;(function(e){const n=c;e.Line=n(982),e.Handle="handle"})(Rn||(Rn={}));function M3({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const a=e-n,i=t-o,u=[a>0?1:a<0?-1:0,i>0?1:i<0?-1:0];return a&&x&&(u[0]=u[0]*-1),i&&r&&(u[1]=u[1]*-1),u}function nc(e){const n=c,t=e[n(2096)](n(1610))||e[n(2096)](n(1369)),o=e[n(2096)]("bottom")||e[n(2096)](n(1445)),x=e[n(2096)](n(1369)),r=e[n(2096)](n(1445));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function on(e,n){return Math[c(1303)](0,n-e)}function rn(e,n){return Math[c(1303)](0,e-n)}function jx(e,n,t){return Math.max(0,n-e,e-t)}function tc(e,n){return e?!n:n}function B3(e,n,t,o,x,r,a,i){const u=c;let{affectsX:d,affectsY:s}=n;const{isHorizontal:f,isVertical:b}=n,g=f&&b,{xSnapped:v,ySnapped:h}=t,{minWidth:w,maxWidth:M,minHeight:y,maxHeight:m}=o,{x:z,y:C,width:I,height:G,aspectRatio:O}=e;let X=Math.floor(f?v-e[u(1940)]:0),U=Math[u(2130)](b?h-e[u(662)]:0);const E=I+(d?-X:X),T=G+(s?-U:U),W=-r[0]*I,V=-r[1]*G;let S=jx(E,w,M),B=jx(T,y,m);if(a){let j=0,P=0;d&&X<0?j=on(z+X+W,a[0][0]):!d&&X>0&&(j=rn(z+E+W,a[1][0])),s&&U<0?P=on(C+U+V,a[0][1]):!s&&U>0&&(P=rn(C+T+V,a[1][1])),S=Math[u(1303)](S,j),B=Math.max(B,P)}if(i){let j=0,P=0;d&&X>0?j=rn(z+X,i[0][0]):!d&&X<0&&(j=on(z+E,i[1][0])),s&&U>0?P=rn(C+U,i[0][1]):!s&&U<0&&(P=on(C+T,i[1][1])),S=Math[u(1303)](S,j),B=Math[u(1303)](B,P)}if(x){if(f){const j=jx(E/O,y,m)*O;if(S=Math[u(1303)](S,j),a){let P=0;!d&&!s||d&&!s&&g?P=rn(C+V+E/O,a[1][1])*O:P=on(C+V+(d?X:-X)/O,a[0][1])*O,S=Math[u(1303)](S,P)}if(i){let P=0;!d&&!s||d&&!s&&g?P=on(C+E/O,i[1][1])*O:P=rn(C+(d?X:-X)/O,i[0][1])*O,S=Math.max(S,P)}}if(b){const j=jx(T*O,w,M)/O;if(B=Math.max(B,j),a){let P=0;!d&&!s||s&&!d&&g?P=rn(z+T*O+W,a[1][0])/O:P=on(z+(s?U:-U)*O+W,a[0][0])/O,B=Math[u(1303)](B,P)}if(i){let P=0;!d&&!s||s&&!d&&g?P=on(z+T*O,i[1][0])/O:P=rn(z+(s?U:-U)*O,i[0][0])/O,B=Math.max(B,P)}}}U=U+(U<0?B:-B),X=X+(X<0?S:-S),x&&(g?E>T*O?U=(tc(d,s)?-X:X)/O:X=(tc(d,s)?-U:U)*O:f?(U=X/O,s=d):(X=U*O,d=s));const N=d?z+X:z,A=s?C+U:C;return{width:I+(d?-X:X),height:G+(s?-U:U),x:r[0]*X*(d?-1:1)+N,y:r[1]*U*(s?-1:1)+A}}const xc={width:0,height:0,x:0,y:0},D3={...xc,pointerX:0,pointerY:0,aspectRatio:1};function L3(e){const n=c;return[[0,0],[e[n(1801)][n(336)],e.measured[n(1408)]]]}function S3(e,n,t){const o=c,x=n[o(1366)].x+e[o(1366)].x,r=n[o(1366)].y+e[o(1366)].y,a=e[o(1801)][o(336)]??0,i=e[o(1801)][o(1408)]??0,u=t[0]*a,d=t[1]*i;return[[x-u,r-d],[x+a-u,r+i-d]]}function N3({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=c,a=ve(e);let i={controlDirection:nc(r(1713)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(1999)],maxHeight:Number[r(1999)]},resizeDirection:void 0,keepAspectRatio:!1};function u({controlPosition:s,boundaries:f,keepAspectRatio:b,resizeDirection:g,onResizeStart:v,onResize:h,onResizeEnd:w,shouldResize:M}){const y=r;let m={...xc},z={...D3};i={boundaries:f,resizeDirection:g,keepAspectRatio:b,controlDirection:nc(s)};let C,I=null,G=[],O,X,U,E=!1;const T=Ya().on("start",W=>{const V=_0xad4d,{nodeLookup:S,transform:B,snapGrid:N,snapToGrid:A,nodeOrigin:j,paneDomNode:P}=t();if(C=S[V(356)](n),!C)return;I=P?.[V(880)]()??null;const{xSnapped:F,ySnapped:e0}=Pt(W[V(699)],{transform:B,snapGrid:N,snapToGrid:A,containerBounds:I});m={width:C[V(1801)][V(336)]??0,height:C[V(1801)][V(1408)]??0,x:C[V(1366)].x??0,y:C[V(1366)].y??0},z={...m,pointerX:F,pointerY:e0,aspectRatio:m[V(336)]/m.height},O=void 0,C.parentId&&(C[V(1083)]===V(546)||C.expandParent)&&(O=S[V(356)](C[V(638)]),X=O&&C.extent===V(546)?L3(O):void 0),G=[],U=void 0;for(const[$,t0]of S)if(t0[V(638)]===n&&(G.push({id:$,position:{...t0[V(1366)]},extent:t0[V(1083)]}),t0[V(1083)]==="parent"||t0[V(1242)])){const o0=S3(t0,C,t0[V(1748)]??j);U?U=[[Math[V(2135)](o0[0][0],U[0][0]),Math[V(2135)](o0[0][1],U[0][1])],[Math[V(1303)](o0[1][0],U[1][0]),Math[V(1303)](o0[1][1],U[1][1])]]:U=o0}v?.(W,{...m})}).on(y(1765),W=>{const V=y,{transform:S,snapGrid:B,snapToGrid:N,nodeOrigin:A}=t(),j=Pt(W.sourceEvent,{transform:S,snapGrid:B,snapToGrid:N,containerBounds:I}),P=[];if(!C)return;const{x:F,y:e0,width:$,height:t0}=m,o0={},g0=C.origin??A,{width:v0,height:C0,x:d0,y:Q}=B3(z,i[V(1138)],j,i[V(1069)],i[V(1396)],g0,X,U),u0=v0!==$,z0=C0!==t0,Y=d0!==F&&u0,q=Q!==e0&&z0;if(!Y&&!q&&!u0&&!z0)return;if((Y||q||g0[0]===1||g0[1]===1)&&(o0.x=Y?d0:m.x,o0.y=q?Q:m.y,m.x=o0.x,m.y=o0.y,G[V(1146)]>0)){const m0=d0-F,G0=Q-e0;for(const n0 of G)n0[V(1366)]={x:n0[V(1366)].x-m0+g0[0]*(v0-$),y:n0[V(1366)].y-G0+g0[1]*(C0-t0)},P[V(1106)](n0)}if((u0||z0)&&(o0[V(336)]=u0&&(!i[V(2134)]||i[V(2134)]===V(2006))?v0:m[V(336)],o0.height=z0&&(!i[V(2134)]||i[V(2134)]==="vertical")?C0:m[V(1408)],m[V(336)]=o0[V(336)],m.height=o0[V(1408)]),O&&C.expandParent){const m0=g0[0]*(o0[V(336)]??0);o0.x&&o0.x<m0&&(m.x=m0,z.x=z.x-(o0.x-m0));const G0=g0[1]*(o0[V(1408)]??0);o0.y&&o0.y<G0&&(m.y=G0,z.y=z.y-(o0.y-G0))}const c0=M3({width:m.width,prevWidth:$,height:m[V(1408)],prevHeight:t0,affectsX:i.controlDirection[V(568)],affectsY:i[V(1138)][V(1367)]}),l0={...m,direction:c0};M?.(W,l0)!==!1&&(E=!0,h?.(W,l0),o(o0,P))}).on(y(917),W=>{E&&(w?.(W,{...m}),x?.({...m}),E=!1)});a[y(838)](T)}function d(){const s=r;a.on(s(1657),null)}return{update:u,destroy:d}}var Ax={exports:{}},er={},Yx={exports:{}},nr={},oc;function k3(){const e=c;if(oc)return nr;oc=1;var n=D;function t(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}var o=e(1646)===typeof Object.is?Object.is:t,x=n[e(1508)],r=n[e(572)],a=n[e(1638)],i=n.useDebugValue;function u(b,g){const v=e;var h=g(),w=x({inst:{value:h,getSnapshot:g}}),M=w[0][v(1379)],y=w[1];return a(function(){const m=v;M[m(1127)]=h,M.getSnapshot=g,d(M)&&y({inst:M})},[b,h,g]),r(function(){return d(M)&&y({inst:M}),b(function(){d(M)&&y({inst:M})})},[b]),i(h),h}function d(b){const g=e;var v=b[g(687)];b=b[g(1127)];try{var h=v();return!o(b,h)}catch{return!0}}function s(b,g){return g()}var f=e(1951)===typeof window||e(1951)===typeof window[e(2104)]||e(1951)===typeof window[e(2104)][e(1458)]?s:u;return nr.useSyncExternalStore=n[e(1045)]!==void 0?n[e(1045)]:f,nr}var tr={},rc;function I3(){const e=c;return rc||(rc=1,e(1090)!==process.env.NODE_ENV&&(function(){const n=e;function t(h,w){return h===w&&(h!==0||1/h===1/w)||h!==h&&w!==w}function o(h,w){const M=_0xad4d;b||a[M(351)]===void 0||(b=!0,console.error(M(1056)));var y=w();if(!g){var m=w();i(y,m)||(console.error(M(1353)),g=!0)}m=u({inst:{value:y,getSnapshot:w}});var z=m[0][M(1379)],C=m[1];return s(function(){const I=M;z[I(1127)]=y,z[I(687)]=w,x(z)&&C({inst:z})},[h,y,w]),d(function(){return x(z)&&C({inst:z}),h(function(){x(z)&&C({inst:z})})},[h]),f(y),y}function x(h){var M=h[_0xad4d(687)];h=h.value;try{var y=M();return!i(h,y)}catch{return!0}}function r(h,w){return w()}n(1951)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1646)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1530)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1530)](Error());var a=D,i=typeof Object.is=="function"?Object.is:t,u=a[n(1508)],d=a[n(572)],s=a[n(1638)],f=a[n(694)],b=!1,g=!1,v=n(1951)===typeof window||typeof window[n(2104)]>"u"||n(1951)===typeof window[n(2104)][n(1458)]?r:o;tr[n(1045)]=a[n(1045)]!==void 0?a[n(1045)]:v,n(1951)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1646)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(2023)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(2023)](Error())})()),tr}var ac;function ic(){const e=c;return ac||(ac=1,process.env.NODE_ENV==="production"?Yx[e(830)]=k3():Yx.exports=I3()),Yx[e(830)]}var cc;function P3(){const e=c;if(cc)return er;cc=1;var n=D,t=ic();function o(s,f){return s===f&&(s!==0||1/s===1/f)||s!==s&&f!==f}var x=e(1646)===typeof Object.is?Object.is:o,r=t[e(1045)],a=n.useRef,i=n.useEffect,u=n[e(1943)],d=n[e(694)];return er.useSyncExternalStoreWithSelector=function(s,f,b,g,v){const h=e;var w=a(null);if(w.current===null){var M={hasValue:!1,value:null};w[h(1347)]=M}else M=w[h(1347)];w=u(function(){function m(O){const X=_0xad4d;if(!z){if(z=!0,C=O,O=g(O),v!==void 0&&M[X(2139)]){var U=M.value;if(v(U,O))return I=U}return I=O}if(U=I,x(C,O))return U;var E=g(O);return v!==void 0&&v(U,E)?(C=O,U):(C=O,I=E)}var z=!1,C,I,G=b===void 0?null:b;return[function(){return m(f())},G===null?void 0:function(){return m(G())}]},[f,b,g,v]);var y=r(s,w[0],w[1]);return i(function(){const m=h;M[m(2139)]=!0,M[m(1127)]=y},[y]),d(y),y},er}var xr={},sc;function j3(){return sc||(sc=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0xad4d;function n(s,f){return s===f&&(s!==0||1/s===1/f)||s!==s&&f!==f}e(1951)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(1646)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(1530)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(1530)](Error());var t=D,o=ic(),x=e(1646)===typeof Object.is?Object.is:n,r=o[e(1045)],a=t[e(342)],i=t[e(572)],u=t[e(1943)],d=t[e(694)];xr.useSyncExternalStoreWithSelector=function(s,f,b,g,v){const h=e;var w=a(null);if(w[h(1347)]===null){var M={hasValue:!1,value:null};w[h(1347)]=M}else M=w[h(1347)];w=u(function(){function m(O){const X=_0xad4d;if(!z){if(z=!0,C=O,O=g(O),v!==void 0&&M.hasValue){var U=M[X(1127)];if(v(U,O))return I=U}return I=O}if(U=I,x(C,O))return U;var E=g(O);return v!==void 0&&v(U,E)?(C=O,U):(C=O,I=E)}var z=!1,C,I,G=b===void 0?null:b;return[function(){return m(f())},G===null?void 0:function(){return m(G())}]},[f,b,g,v]);var y=r(s,w[0],w[1]);return i(function(){const m=h;M.hasValue=!0,M[m(1127)]=y},[y]),d(y),y},e(1951)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(2023)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),xr}var lc;function A3(){const e=c;return lc||(lc=1,process.env.NODE_ENV==="production"?Ax[e(830)]=P3():Ax[e(830)]=j3()),Ax[e(830)]}var Y3=A3();const E3=ot(Y3),U3={},dc=e=>{let n;const t=new Set,o=(s,f)=>{const b=_0xad4d,g=typeof s===b(1646)?s(n):s;if(!Object.is(g,n)){const v=n;n=f??(typeof g!==b(2036)||g===null)?g:Object[b(710)]({},n,g),t[b(1413)](h=>h(n,v))}},x=()=>n,r=()=>d,a=s=>{const f=_0xad4d;return t.add(s),()=>t[f(1538)](s)},i=()=>{const s=_0xad4d;(U3?s(1090):void 0)!==s(1090)&&console[s(1108)](s(410)),t[s(753)]()},u={setState:o,getState:x,getInitialState:r,subscribe:a,destroy:i},d=n=e(o,x,u);return u},G3=e=>e?dc(e):dc,{useDebugValue:O3}=D,{useSyncExternalStoreWithSelector:V3}=E3,H3=e=>e;function uc(e,n=H3,t){const o=c,x=V3(e[o(2025)],e.getState,e[o(1511)]||e[o(1109)],n,t);return O3(x),x}const fc=(e,n)=>{const t=c,o=G3(e),x=(r,a=n)=>uc(o,r,a);return Object[t(710)](x,o),x},T3=(e,n)=>e?fc(e,n):fc;function W0(e,n){const t=c;if(Object.is(e,n))return!0;if(typeof e!="object"||e===null||typeof n!==t(2036)||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e.size!==n[t(1120)])return!1;for(const[x,r]of e)if(!Object.is(r,n.get(x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e.size!==n[t(1120)])return!1;for(const x of e)if(!n[t(776)](x))return!1;return!0}const o=Object[t(1190)](e);if(o.length!==Object[t(1190)](n)[t(1146)])return!1;for(const x of o)if(!Object.prototype.hasOwnProperty[t(838)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const Ex=D[c(965)](null),q3=Ex[c(1156)],hc=we.error001();function A0(e,n){const t=D.useContext(Ex);if(t===null)throw new Error(hc);return uc(t,e,n)}function X0(){const e=c,n=D.useContext(Ex);if(n===null)throw new Error(hc);return D[e(1943)](()=>({getState:n.getState,setState:n[e(929)],subscribe:n[e(2025)]}),[n])}const gc={display:"none"},W3={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:c(1380),clip:c(1043),clipPath:c(1357)},bc=c(1581),yc="react-flow__edge-desc",X3=c(1690),K3=e=>e[c(1164)],Z3=e=>e[c(1093)];function R3({rfId:e}){const n=c,t=A0(K3);return l[n(1963)](n(1704),{id:X3+"-"+e,"aria-live":n(1856),"aria-atomic":n(2014),style:W3,children:t})}function J3({rfId:e,disableKeyboardA11y:n}){const t=c,o=A0(Z3);return l[t(931)](l[t(1060)],{children:[l.jsx(t(1704),{id:bc+"-"+e,style:gc,children:n?o[t(1467)]:o["node.a11yDescription.keyboardDisabled"]}),l[t(1963)](t(1704),{id:yc+"-"+e,style:gc,children:o[t(1119)]}),!n&&l.jsx(R3,{rfId:e})]})}const Ux=D[c(1243)](({position:e=c(1419),children:n,className:t,style:o,...x},r)=>{const a=c,i=(""+e)[a(1122)]("-");return l[a(1963)](a(1704),{className:Q0([a(678),t,...i]),style:o,ref:r,...x,children:n})});Ux[c(805)]="Panel";function F3({proOptions:e,position:n=c(1713)}){const t=c;return e?.[t(402)]?null:l[t(1963)](Ux,{position:n,className:"react-flow__attribution","data-message":t(847),children:l[t(1963)]("a",{href:t(1216),target:t(1113),rel:t(2124),"aria-label":t(547),children:t(2133)})})}const _3=e=>{const n=c,t=[],o=[];for(const[,x]of e.nodeLookup)x[n(691)]&&t[n(1106)](x[n(957)][n(960)]);for(const[,x]of e[n(1917)])x[n(691)]&&o[n(1106)](x);return{selectedNodes:t,selectedEdges:o}},Gx=e=>e.id;function Q3(e,n){const t=c;return W0(e[t(2112)][t(632)](Gx),n[t(2112)].map(Gx))&&W0(e.selectedEdges[t(632)](Gx),n[t(548)].map(Gx))}function $3({onSelectionChange:e}){const n=c,t=X0(),{selectedNodes:o,selectedEdges:x}=A0(_3,Q3);return D[n(572)](()=>{const r=n,a={nodes:o,edges:x};e?.(a),t[r(360)]()[r(1820)][r(1413)](i=>i(a))},[o,x,e]),null}const eh=e=>!!e.onSelectionChangeHandlers;function nh({onSelectionChange:e}){const n=A0(eh);return e||n?l.jsx($3,{onSelectionChange:e}):null}const or=typeof window!==c(1951)?D[c(1638)]:D.useEffect,mc=[0,0],th={x:0,y:0,zoom:1},xh=[c(1895),c(428),c(361),c(1112),c(727),c(1994),c(328),c(1402),c(1726),c(2126),c(513),c(533),c(1751),c(1427),c(865),c(340),c(876),c(1472),"maxZoom",c(1442),"onNodesChange",c(1754),c(1768),c(2070),c(2100),c(389),c(347),c(1384),c(2057),c(1457),c(567),c(2097),c(1540),c(651),c(1968),c(1942),"onNodeDragStop",c(294),c(602),c(378),c(412),c(967),c(1861),"noPanClassName",c(637),c(1514),c(1685),c(649),"connectionRadius",c(381),c(1654),c(1501),c(1474),c(1667),c(1433),c(1788),"ariaLabelConfig",c(796)],vc=[...xh,c(734)],oh=e=>({setNodes:e[c(1351)],setEdges:e[c(1428)],setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e[c(1799)],setNodeExtent:e[c(775)],reset:e[c(1637)],setDefaultNodesAndEdges:e[c(1284)]}),wc={translateExtent:Mt,nodeOrigin:mc,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:c(1633),rfId:"1"};function rh(e){const n=c,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:a,setNodeExtent:i,reset:u,setDefaultNodesAndEdges:d}=A0(oh,W0),s=X0();or(()=>(d(e[_0xad4d(361)],e.defaultEdges),()=>{f.current=wc,u()}),[]);const f=D[n(342)](wc);return or(()=>{const b=n;for(const g of vc){const v=e[g],h=f[b(1347)][g];v!==h&&typeof e[g]!==b(1951)&&(g===b(1895)?t(v):g===b(428)?o(v):g==="minZoom"?x(v):g===b(474)?r(v):g===b(347)?a(v):g===b(1442)?i(v):g==="ariaLabelConfig"?s[b(929)]({ariaLabelConfig:T5(v)}):g==="fitView"?s.setState({fitViewQueued:v}):g===b(567)?s[b(929)]({fitViewOptions:v}):s[b(929)]({[g]:v}))}f.current=e},vc[n(632)](b=>e[b])),null}function pc(){const e=c;return typeof window===e(1951)||!window[e(824)]?null:window.matchMedia(e(1447))}function ah(e){const n=c,[t,o]=D.useState(e==="system"?null:e);return D.useEffect(()=>{const x=_0xad4d;if(e!=="system"){o(e);return}const r=pc(),a=()=>o(r?.[x(382)]?x(933):"light");return a(),r?.[x(1081)](x(1841),a),()=>{const i=x;r?.[i(612)](i(1841),a)}},[e]),t!==null?t:pc()?.matches?n(933):"light"}const zc=typeof document!==c(1951)?document:null;function jt(e=null,n={target:zc,actInsideInputWithModifier:!0}){const t=c,[o,x]=D[t(1508)](!1),r=D[t(342)](!1),a=D[t(342)](new Set([])),[i,u]=D[t(1943)](()=>{const d=t;if(e!==null){const s=Array.isArray(e)?e:[e],f=s.filter(g=>typeof g===d(2063)).map(g=>g.replace("+",`
10
- `)[d(1806)](`
1
+ (function(Ee,s){const D=_0x1172,p=Ee();for(;;)try{if(parseInt(D(1891))/1+-parseInt(D(2023))/2*(parseInt(D(752))/3)+-parseInt(D(577))/4+parseInt(D(1401))/5+parseInt(D(1892))/6*(parseInt(D(1318))/7)+-parseInt(D(1427))/8+-parseInt(D(532))/9===s)break;p.push(p.shift())}catch{p.push(p.shift())}})(_0x2fc0,602796),(function(Ee,s){const D=_0x1172;typeof exports===D(1129)&&typeof module!==D(529)?s(exports,require(D(1111)),require(D(1809)),require(D(1857)),require(D(792)),require("zustand"),require(D(1706)),require("nanoid"),require(D(1314)),require(D(200))):typeof define=="function"&&define.amd?define([D(1141),D(1111),"react",D(1857),"@ant-design/icons",D(958),D(1706),D(349),D(1314),"react-dom"],s):(Ee=typeof globalThis!==D(529)?globalThis:Ee||self,s(Ee[D(568)]={},Ee[D(490)],Ee[D(1028)],Ee[D(1857)],Ee.icons,Ee.zustand,Ee.immer,Ee[D(349)],Ee[D(755)]))})(this,function(Ee,s,D,p,ge,no,Xt,Ie,Zt){"use strict";const c=_0x1172;var Pn=document.createElement("style");Pn.textContent=`.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}.inline-flex{display:inline-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-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / 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-400{--tw-text-opacity: 1;color:rgb(96 165 250 / 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)}.outline{outline-style:solid}.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}.blur{--tw-blur: blur(8px);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)}.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}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes node-blink{0%{opacity:var(--blink-min-opacity, .3)}to{opacity:1}}.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.head[c(473)](Pn);function it(e){const n=c;return e&&e[n(540)]&&Object.prototype[n(966)][n(719)](e,n(1744))?e.default:e}var y0={},V0={exports:{}},q0;function at(){const e=c;return q0||(q0=1,(function(n){const t=e;function o(x){return x&&x[_0x1172(540)]?x:{default:x}}n.exports=o,n[t(1141)].__esModule=!0,n.exports[t(1744)]=n.exports})(V0)),V0[e(1141)]}var ct={},wr;function ks(){const e=c;if(wr)return ct;wr=1,Object.defineProperty(ct,e(540),{value:!0}),ct[e(1744)]=void 0;const n={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:e(1191),prev_5:"向前 5 页",next_5:e(366),prev_3:e(670),next_3:e(1674),page_size:"页码"};return ct[e(1744)]=n,ct}var st={},lt={},dt={},ut={},pr;function Is(){const e=c;return pr||(pr=1,Object[e(549)](ut,e(540),{value:!0}),ut[e(1135)]=void 0,ut[e(1135)]={yearFormat:e(638),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),ut}var zr;function Ps(){const e=c;if(zr)return dt;zr=1,Object.defineProperty(dt,e(540),{value:!0}),dt[e(1744)]=void 0;var n=Is();function t(d){"@babel/helpers - typeof";const l=e;return t=l(943)==typeof Symbol&&l(246)==typeof Symbol.iterator?function(f){return typeof f}:function(f){const g=l;return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol[g(989)]?g(246):typeof f},t(d)}function o(d,l){const f=e;var g=Object[f(1700)](d);if(Object[f(370)]){var h=Object[f(370)](d);l&&(h=h.filter(function(w){const b=f;return Object[b(1717)](d,w)[b(909)]})),g.push[f(1343)](g,h)}return g}function x(d){const l=e;for(var f=1;f<arguments[l(546)];f++){var g=arguments[f]!=null?arguments[f]:{};f%2?o(Object(g),!0)[l(1161)](function(h){r(d,h,g[h])}):Object[l(1675)]?Object[l(1518)](d,Object.getOwnPropertyDescriptors(g)):o(Object(g))[l(1161)](function(h){const w=l;Object[w(549)](d,h,Object[w(1717)](g,h))})}return d}function r(d,l,f){const g=e;return l=i(l),l in d?Object[g(549)](d,l,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[l]=f,d}function i(d){const l=e;var f=a(d,l(1117));return l(246)==t(f)?f:String(f)}function a(d,l){const f=e;if(f(1129)!=t(d)||!d)return d;var g=d[Symbol[f(582)]];if(g!==void 0){var h=g[f(719)](d,l);if(t(h)!="object")return h;throw new TypeError(f(946))}return(f(1117)===l?String:Number)(d)}var u=x(x({},n.commonLocale),{},{locale:e(1181),today:"今天",now:"此刻",backToToday:e(1224),ok:"确定",timeSelect:e(1604),dateSelect:e(304),weekSelect:e(1708),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1559),nextMonth:e(1541),monthSelect:e(1612),yearSelect:"选择年份",decadeSelect:e(964),previousYear:e(1466),nextYear:e(1091),previousDecade:e(1259),nextDecade:e(921),previousCentury:"上一世纪",nextCentury:e(1296),yearFormat:e(786),cellDateFormat:"D",monthBeforeYear:!1});return dt[e(1744)]=u,dt}var ft={},Cr;function Mr(){const e=c;if(Cr)return ft;Cr=1,Object.defineProperty(ft,e(540),{value:!0}),ft[e(1744)]=void 0;const n={placeholder:e(199),rangePlaceholder:[e(435),e(1903)]};return ft[e(1744)]=n,ft}var Br;function Dr(){const e=c;if(Br)return lt;Br=1;var n=at()[e(1744)];Object[e(549)](lt,e(540),{value:!0}),lt[e(1744)]=void 0;var t=n(Ps()),o=n(Mr());const x={lang:{placeholder:e(279),yearPlaceholder:e(530),quarterPlaceholder:e(1055),monthPlaceholder:e(553),weekPlaceholder:e(826),rangePlaceholder:[e(1836),e(1054)],rangeYearPlaceholder:["开始年份",e(543)],rangeMonthPlaceholder:[e(281),e(1504)],rangeQuarterPlaceholder:[e(1165),e(1287)],rangeWeekPlaceholder:[e(1496),e(766)],...t[e(1744)]},timePickerLocale:{...o[e(1744)]}};return x.lang.ok="确定",lt[e(1744)]=x,lt}var Lr;function As(){const e=c;if(Lr)return st;Lr=1;var n=at().default;Object[e(549)](st,e(540),{value:!0}),st[e(1744)]=void 0;var t=n(Dr());return st.default=t[e(1744)],st}var Sr;function Es(){const e=c;if(Sr)return y0;Sr=1;var n=at()[e(1744)];Object[e(549)](y0,"__esModule",{value:!0}),y0.default=void 0;var t=n(ks()),o=n(As()),x=n(Dr()),r=n(Mr());const i=e(367),a={locale:e(1808),Pagination:t[e(1744)],DatePicker:x[e(1744)],TimePicker:r[e(1744)],Calendar:o[e(1744)],global:{placeholder:e(1047),close:"关闭",sortable:e(1752)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(395),filterCheckAll:"全选",filterSearchPlaceholder:e(796),emptyText:e(1615),selectAll:e(783),selectInvert:e(1705),selectNone:e(1982),selectionAll:e(1387),sortTitle:"排序",expand:e(785),collapse:e(757),triggerDesc:"点击降序",triggerAsc:e(1497),cancelSort:e(869)},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:e(274),Finish:e(1083)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:e(602),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:e(1387),deselectAll:e(1093),removeAll:e(605),selectInvert:"反选当页"},Upload:{uploading:e(818),removeFile:"删除文件",uploadError:"上传错误",previewFile:e(1262),downloadFile:e(1211)},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(2002),expand:"展开",collapse:"收起"},Form:{optional:e(575),defaultValidateMessages:{default:e(323),required:e(1015),enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:e(1128),parse:e(881),invalid:e(1539)},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:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:e(738),range:e(317)},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:e(377),range:e(1878)},array:{len:e(677),min:"最少${min}个${label}",max:e(409),range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:e(1953)}}},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(1948)}};return y0.default=a,y0}var to,Nr;function js(){return Nr||(Nr=1,to=Es()),to}var Ys=js();const Us=it(Ys),Os=e=>(n,t,o)=>{const x=c;return o[x(667)]=(r,i,...a)=>{const u=typeof r=="function"?Xt.produce(r):r;return n(u,i,...a)},e(o[x(667)],t,o)},Gs=Os;function Hs(e){return Array[c(454)](e)}function kr(e){const n=c,t=[];for(const o of Object.keys(e)){t.push(o);const x=e[o];if(x!==null&&typeof x===n(1129)&&!Array[n(454)](x))for(const r of Object.keys(x))t[n(1699)](o+"."+r)}return t}function Ts(e,n,t){const o=c,x=e.sample;if(Hs(x)){if(n!=null&&t!=null){const r=x[o(957)](i=>i[n]===t);if(r)return r}return{}}return x}function Ir(e,n,t,o){const x=c,r=Ts(e,t,o),i={...r};if(n&&typeof n===x(1129)&&!Array[x(454)](n))return{...i,...n};if(Array[x(454)](n)){const a={...i};for(const u of n){if(!u||typeof u!==x(1129))continue;const d=u;d[x(1554)]!=null&&(a[String(d.paramsCode)]=d[x(867)])}return a}return i}const Vs={id:"_",name:"_",sample:{}};function xo(e,n,t){const o=c,x=e[o(375)]!=null?String(e[o(375)])[o(1280)]():"",r=x?t[o(957)](a=>a.id===x):void 0,i=r??Vs;try{const a=Ir(i,n,e[o(1916)],e[o(1764)]);return new Function(o(269),e[o(1405)])(a)===!0}catch(a){return console.warn(o(1418)+e.name+"]:",a),!1}}function Pr(e,n,t){for(const o of e)if(xo(o,n,t))return o}function Ar(e,n){const t=c;for(const o of e){for(const x of o.contentInfo.statusList)x[t(375)]===n&&(x[t(375)]=null,x.boundDatasetBindCode=null,x[t(1764)]=null);o.type===t(1084)&&o[t(1520)]?.[t(546)]&&Ar(o[t(1520)],n)}}function oo(e){const n=c;for(const t of e){for(const o of t.contentInfo[n(1996)])delete o.bindCodes;t[n(939)]==="group"&&t[n(1520)]?.length&&oo(t[n(1520)])}}const ro=(e,n)=>({id:e||Ie[c(349)](),name:n||c(1451),nodes:[],canvasConfig:{width:1920,height:1080,background:c(1400),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),qs=()=>{const e=c,n=ro();return{id:Ie[e(349)](),name:e(1904),canvases:[n],currentCanvasId:n.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},Er=qs(),dn=Er.canvases[0],Ws={root:Er,materials:[],mode:c(1419),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:dn[c(376)],canvas:dn[c(983)],viewport:dn.viewport,selectedNodeId:dn.selectedNodeId,selectedNodeIds:dn[c(990)],selectedStatusId:dn[c(1025)],history:dn[c(258)]},j0=(e,n,t)=>({id:Ie.nanoid(),type:e,targetId:n,payload:t,timestamp:Date.now()}),o0=no[c(1945)]()(Gs((e,n)=>({...Ws,addCanvas:t=>{const o=c,x=ro(Ie[o(349)](),t||o(1796)+(n()[o(459)][o(1641)][o(546)]+1));return e(r=>{const i=o;r[i(459)][i(1641)][i(1699)](x),r[i(459)].currentCanvasId=x.id;const a=x;r[i(376)]=a[i(376)],r[i(384)]=a[i(983)],r.viewport=a[i(1677)],r[i(1180)]=a.selectedNodeId,r[i(990)]=a.selectedNodeIds,r[i(1025)]=a[i(1025)],r[i(258)]=a[i(258)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)][x(936)](a=>a.id===t);if(r===-1||o[x(459)][x(1641)][x(546)]<=1)return;if(o.root.canvases[x(1574)](r,1),o.root[x(855)])for(const a of o.root[x(855)]){const u=a.canvasIds[x(1206)](t);u!==-1&&a[x(1579)][x(1574)](u,1)}if(o[x(459)][x(734)]&&o[x(459)][x(734)][x(546)]>0&&(o[x(459)].navigationStack=o[x(459)][x(734)].filter(a=>a!==t)),o[x(459)][x(1714)]===t){const a=o[x(459)][x(1641)][0];o[x(459)][x(1714)]=a.id,o[x(376)]=a[x(376)],o[x(384)]=a[x(983)],o[x(1677)]=a[x(1677)],o.selectedNodeId=a[x(1180)],o[x(990)]=a[x(990)],o[x(1025)]=a[x(1025)],o[x(258)]=a[x(258)]}const i=o[x(459)].activeSiblingGroupId;if(i){const a=(o.root[x(855)]||[]).find(u=>u.id===i);(!a||!a[x(1579)][x(645)](o.root.currentCanvasId||""))&&(o.root[x(1756)]=null)}})},switchCanvas:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)].find(a=>a.id===t);if(!r)return;o.root[x(1714)]=t,o[x(376)]=r.nodes,o[x(384)]=r[x(983)],o[x(1677)]=r[x(1677)],o[x(1180)]=r[x(1180)],o[x(990)]=r.selectedNodeIds,o[x(1025)]=r[x(1025)],o[x(258)]=r[x(258)];const i=o[x(459)].activeSiblingGroupId;if(i){const a=(o[x(459)][x(855)]||[]).find(u=>u.id===i);(!a||!a.canvasIds[x(645)](t))&&(o[x(459)].activeSiblingGroupId=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(459)][r(1641)].find(a=>a.id===t);i&&(i[r(1535)]=o)})},getCurrentCanvas:()=>{const t=c,o=n();return o[t(459)][t(1641)].find(x=>x.id===o.root[t(1714)])},addSiblingGroup:(t,o)=>{const x=c,r=Ie[x(349)]();return e(i=>{const a=x;i[a(459)].siblingGroups||(i[a(459)][a(855)]=[]);const u=i[a(459)][a(855)][a(546)]+1,d=Array.from(new Set((o||[])[a(1338)](l=>i[a(459)][a(1641)][a(1918)](f=>f.id===l))));i.root.siblingGroups[a(1699)]({id:r,name:t||a(1024)+u,canvasIds:d})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0x1172;if(!o[x(459)][x(855)])return;const r=o[x(459)].siblingGroups[x(936)](i=>i.id===t);r!==-1&&o[x(459)][x(855)][x(1574)](r,1),o.root.activeSiblingGroupId===t&&(o[x(459)].activeSiblingGroupId=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x1172;if(!x[r(459)].siblingGroups)return;const i=x[r(459)][r(855)][r(957)](a=>a.id===t);if(i&&(o[r(1535)]!==void 0&&(i[r(1535)]=o[r(1535)]),o[r(1579)]!==void 0)){const a=new Set,u=[];for(const d of o.canvasIds)a[r(363)](d)||x.root[r(1641)][r(1918)](l=>l.id===d)&&(a[r(1463)](d),u[r(1699)](d));i[r(1579)]=u}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x1172;if(!r[i(459)][i(855)])return;const a=r.root[i(855)].find(u=>u.id===t);a&&r[i(459)][i(1641)][i(1918)](u=>u.id===o)&&(a[i(1579)][i(645)](o)||(typeof x===i(181)&&x>=0&&x<=a[i(1579)][i(546)]?a[i(1579)][i(1574)](x,0,o):a.canvasIds[i(1699)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x1172;if(!x[r(459)][r(855)])return;const i=x[r(459)][r(855)].find(u=>u.id===t);if(!i)return;const a=i[r(1579)][r(1206)](o);a!==-1&&i.canvasIds[r(1574)](a,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x1172;if(!r[i(459)].siblingGroups)return;const a=r.root[i(855)][i(957)](l=>l.id===t);if(!a)return;const u=a[i(1579)][i(1206)](o);if(u===-1)return;const d=x==="up"?u-1:u+1;d<0||d>=a.canvasIds[i(546)]||([a.canvasIds[u],a[i(1579)][d]]=[a[i(1579)][d],a[i(1579)][u]])})},nextSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(459)].siblingGroups?.find(l=>l.id===t);if(!i||i[x(1579)][x(546)]===0)return null;const a=i[x(1579)].filter(l=>r[x(459)].canvases[x(1918)](f=>f.id===l));if(a[x(546)]===0)return null;const u=a[x(1206)](r[x(459)].currentCanvasId||"");let d;if(u===-1)d=0;else if(u===a[x(546)]-1){if(!o)return null;d=0}else d=u+1;return e(l=>{const f=x;l[f(459)][f(1756)]=t}),n().switchCanvas(a[d]),a[d]},prevSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(459)].siblingGroups?.[x(957)](l=>l.id===t);if(!i||i.canvasIds[x(546)]===0)return null;const a=i[x(1579)][x(1338)](l=>r[x(459)][x(1641)][x(1918)](f=>f.id===l));if(a[x(546)]===0)return null;const u=a.indexOf(r.root[x(1714)]||"");let d;if(u===-1)d=a[x(546)]-1;else if(u===0){if(!o)return null;d=a[x(546)]-1}else d=u-1;return e(l=>{const f=x;l[f(459)].activeSiblingGroupId=t}),n()[x(1611)](a[d]),a[d]},gotoSiblingCanvas:(t,o)=>{const x=c,r=n(),i=r[x(459)][x(855)]?.find(u=>u.id===t);if(!i)return null;const a=i[x(1579)][x(1338)](u=>r[x(459)].canvases[x(1918)](d=>d.id===u));return o<0||o>=a[x(546)]?null:(e(u=>{const d=x;u[d(459)][d(1756)]=t}),n()[x(1611)](a[o]),a[o])},getSiblingGroupsByCanvas:t=>{const o=c;return(n()[o(459)][o(855)]||[])[o(1338)](r=>r.canvasIds.includes(t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0x1172;if(t===null){o[x(459)][x(1756)]=null;return}(o[x(459)][x(855)]||[])[x(1918)](i=>i.id===t)&&(o.root.activeSiblingGroupId=t)})},jumpToCanvas:t=>{const o=c,x=n();if(!x[o(459)][o(1641)][o(1918)](i=>i.id===t)||x[o(459)][o(1714)]===t)return;const r=x[o(459)].currentCanvasId;r&&e(i=>{const a=o;i.root[a(734)]||(i[a(459)][a(734)]=[]),i[a(459)][a(734)].push(r)}),n()[o(1611)](t)},goBack:()=>{const t=c,o=n();if((o[t(459)][t(734)]||[]).length===0)return null;let r=null;const i=new Set(o[t(459)][t(1641)][t(1461)](a=>a.id));return e(a=>{const u=t;for(;a[u(459)].navigationStack&&a.root[u(734)].length>0;){const d=a[u(459)][u(734)][u(613)]();if(i[u(363)](d)){r=d;break}}}),r&&n().switchCanvas(r),r},clearNavigationStack:()=>{e(t=>{const o=_0x1172;t[o(459)].navigationStack=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)].find(i=>i.id===o.root[x(1714)]);r&&(r.selectedNodeIds=t,o[x(990)]=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)][x(957)](i=>i.id===o[x(459)][x(1714)]);r&&!r[x(990)][x(645)](t)&&(r[x(990)][x(1699)](t),o[x(990)]=r.selectedNodeIds)})},removeSelectedNodeId:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)][x(957)](i=>i.id===o.root[x(1714)]);r&&(r[x(990)]=r[x(990)][x(1338)](i=>i!==t),o.selectedNodeIds=r.selectedNodeIds)})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x1172,x=t[o(459)][o(1641)][o(957)](r=>r.id===t.root.currentCanvasId);x&&(x.selectedNodeIds=[],t[o(990)]=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x1172,i=x[r(459)].canvases[r(957)](u=>u.id===x[r(459)][r(1714)]);if(!i)return;const a={...t,id:t.id||Ie[r(349)]()};i.nodes[r(1699)](a),x.nodes=i[r(376)],o&&(i[r(1180)]=a.id,x[r(1180)]=a.id,i.history[r(1132)].push(j0(r(446),a.id)),x[r(258)]=i[r(258)])})},updateNode:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(459)].canvases[r(957)](u=>u.id===x[r(459)][r(1714)]);if(!i)return;const a=i.nodes[r(957)](u=>u.id===t);a&&(o.normalStyle&&Object.assign(a.normalStyle,o.normalStyle),o.contentInfo&&(a.contentInfo={...a[r(314)],...o[r(314)]}),o[r(1535)]&&(a[r(1535)]=o.name),o[r(977)]&&Object[r(1510)](a.controlInfo,o.controlInfo),o.children&&(a.children=o[r(1520)]),i[r(258)][r(1132)][r(1699)](j0(r(1990),t,o)),x[r(258)]=i[r(258)],x[r(376)]=i[r(376)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(459)].canvases[r(957)](u=>u.id===x.root[r(1714)]);if(!i)return;const a=i[r(376)][r(957)](u=>u.id===t);a&&(Object[r(1510)](a[r(2032)],o),i[r(258)][r(1132)][r(1699)](j0(r(1990),t,{normalStyle:o})),x[r(258)]=i[r(258)],x[r(376)]=i[r(376)])})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(459)][r(1641)][r(957)](u=>u.id===x[r(459)][r(1714)]);if(!i)return;const a=i.nodes.find(u=>u.id===t);a&&(a[r(314)]={...a[r(314)],...o},i.history[r(1132)][r(1699)](j0(r(1990),t,{contentInfo:o})),x.history=i.history,x.nodes=i[r(376)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(459)].canvases[r(957)](u=>u.id===x.root.currentCanvasId);if(!i)return;const a=i[r(376)][r(957)](u=>u.id===t);a&&(Object[r(1510)](a[r(977)],o),i[r(258)][r(1132)][r(1699)](j0(r(1990),t,{controlInfo:o})),x[r(258)]=i[r(258)],x[r(376)]=i.nodes)})},removeNode:t=>{e(o=>{const x=_0x1172,r=o[x(459)].canvases[x(957)](a=>a.id===o[x(459)][x(1714)]);if(!r)return;const i=r[x(376)][x(936)](a=>a.id===t);i!==-1&&(r[x(376)][x(1574)](i,1),o[x(376)]=r.nodes,r[x(1180)]===t&&(r.selectedNodeId=null,o[x(1180)]=null,r[x(1025)]=null,o[x(1025)]=null),r[x(990)]=r[x(990)][x(1338)](a=>a!==t),o[x(990)]=r[x(990)],r.history.past[x(1699)](j0(x(531),t)),o[x(258)]=r[x(258)])})},selectNode:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)][x(957)](i=>i.id===o[x(459)][x(1714)]);r&&(r[x(1180)]=t,o[x(1180)]=t,r[x(1025)]=null,o[x(1025)]=null,t&&(r.history.past.push(j0(x(446),t)),o[x(258)]=r.history))})},bringToFront:t=>{e(o=>{const x=_0x1172,r=o.root[x(1641)].find(u=>u.id===o.root[x(1714)]);if(!r)return;const i=r[x(376)][x(936)](u=>u.id===t);if(i===-1||i===r[x(376)][x(546)]-1)return;const[a]=r[x(376)][x(1574)](i,1);r[x(376)].push(a),o.nodes=r.nodes,r.history[x(1132)].push(j0(x(1990),t,{zOrder:"front"})),o.history=r[x(258)]})},sendToBack:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)][x(957)](u=>u.id===o[x(459)].currentCanvasId);if(!r)return;const i=r[x(376)].findIndex(u=>u.id===t);if(i<=0)return;const[a]=r[x(376)][x(1574)](i,1);r[x(376)].unshift(a),o[x(376)]=r[x(376)],r[x(258)][x(1132)][x(1699)](j0("PROPERTY_CHANGE",t,{zOrder:"back"})),o.history=r[x(258)]})},addStatus:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(459)][r(1641)].find(d=>d.id===x[r(459)][r(1714)]);if(!i)return;const a=i.nodes[r(957)](d=>d.id===t);if(!a)return;const u={...o,id:Ie.nanoid()};a.contentInfo[r(1996)][r(1699)](u),i[r(258)][r(1132)].push(j0("MATERIAL_STATUS_CHANGE",t,{statusId:u.id})),x[r(258)]=i[r(258)]})},removeStatus:(t,o)=>{e(x=>{const r=_0x1172,i=x.root[r(1641)][r(957)](d=>d.id===x[r(459)][r(1714)]);if(!i)return;const a=i[r(376)].find(d=>d.id===t);if(!a)return;const u=a[r(314)][r(1996)][r(936)](d=>d.id===o);u!==-1&&(a[r(314)][r(1996)][r(1574)](u,1),a[r(314)][r(1753)]===o&&(a[r(314)].currentStatusId=void 0),i[r(1025)]===o&&(i[r(1025)]=null,x[r(1025)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x1172,a=r.root.canvases[i(957)](l=>l.id===r[i(459)][i(1714)]);if(!a)return;const u=a[i(376)][i(957)](l=>l.id===t);if(!u)return;const d=u.contentInfo[i(1996)][i(957)](l=>l.id===o);d&&Object[i(1510)](d,x)})},selectStatus:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)].find(i=>i.id===o[x(459)][x(1714)]);r&&(r[x(1025)]=t,o[x(1025)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=c,r=n(),i=r[x(459)][x(1641)][x(957)](d=>d.id===r[x(459)][x(1714)]);if(!i)return;const a=i[x(376)].find(d=>d.id===t);if(!a)return;const{dataPool:u}=n();for(const d of a[x(314)][x(1996)])if(xo(d,o,u))return d.id},addDataPoolItem:t=>{const o=c,x=Ie[o(349)]();return e(r=>{const i=o;let a={};t[i(970)]&&typeof t[i(970)]===i(1129)&&(Array[i(454)](t[i(970)]),a=t[i(970)]),r[i(938)][i(1699)]({...t,id:x,sample:a})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(938)][r(957)](a=>a.id===t);i&&(o[r(1535)]!==void 0&&(i.name=o[r(1535)]),o[r(970)]!==void 0&&(o.sample&&typeof o[r(970)]=="object"?i[r(970)]=o[r(970)]:i[r(970)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x1172,r=o[x(938)].findIndex(i=>i.id===t);if(r!==-1){o.dataPool[x(1574)](r,1);for(const i of o[x(459)].canvases)Ar(i.nodes,t)}})},setDataPool:t=>{e(o=>{const x=_0x1172;o.dataPool=t[x(1461)](r=>{const i=x;let a={};return r[i(970)]&&typeof r.sample===i(1129)&&(a=r[i(970)]),{...r,sample:a}})})},setEventFlow:t=>{e(o=>{const x=_0x1172;o.eventFlow={eventBlocks:t[x(1213)]??[],eventRoots:t[x(1789)]??[],editingEventRootId:t[x(436)]??null,isEditingEventFlow:t[x(1965)]??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x1172,r=new Set;o[x(536)]=[];for(const i of t){const a=String(i[x(1712)]??"")[x(1280)]();!a||r[x(363)](a)||(r[x(1463)](a),o[x(536)][x(1699)]({key:a,label:String(i[x(1865)]??"")[x(1280)]()||a,description:i[x(1323)]}))}})},addMaterial:t=>{e(o=>{const x=_0x1172;if(o[x(1009)].some(a=>a[x(1535)]===t.name))return;const i={...t,id:Ie.nanoid()};o.materials[x(1699)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(1009)].find(a=>a.id===t);i&&Object[r(1510)](i,o)})},removeMaterial:t=>{e(o=>{const x=_0x1172,r=o.materials[x(936)](i=>i.id===t);r!==-1&&o[x(1009)][x(1574)](r,1)})},setViewport:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)][x(957)](i=>i.id===o[x(459)][x(1714)]);r&&(Object[x(1510)](r[x(1677)],t),o[x(1677)]=r.viewport)})},setCanvasConfig:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)].find(i=>i.id===o[x(459)][x(1714)]);r&&(r[x(983)]={...r[x(983)],...t},o.canvas=r[x(983)])})},setMode:t=>{e(o=>{const x=_0x1172;o[x(233)]=t})},startLineDrawing:t=>{e(o=>{const x=_0x1172;o[x(233)]=x(477),o[x(565)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x1172;o.lineDrawing.isDrawing&&(o[x(565)].endPoint=t)})},endLineDrawing:()=>{e(t=>{const o=_0x1172;t[o(233)]="select",t.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x1172;t[o(233)]="select",t[o(565)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x1172,x=t[o(459)].canvases.find(i=>i.id===t[o(459)][o(1714)]);if(!x)return;const r=x[o(258)][o(1132)][o(613)]();r&&(x[o(258)][o(1436)][o(1699)](r),t.history=x[o(258)])})},redo:()=>{e(t=>{const o=_0x1172,x=t[o(459)][o(1641)][o(957)](i=>i.id===t[o(459)][o(1714)]);if(!x)return;const r=x[o(258)].future[o(613)]();r&&(x[o(258)][o(1132)].push(r),t[o(258)]=x[o(258)])})},recordEvent:t=>{e(o=>{const x=_0x1172,r=o[x(459)][x(1641)][x(957)](i=>i.id===o[x(459)][x(1714)]);r&&(r[x(258)][x(1132)][x(1699)](t),r[x(258)].future=[],o[x(258)]=r.history)})},exportScheme:()=>{const t=c,o=n(),{activeSiblingGroupId:x,navigationStack:r,...i}=o[t(459)];return{version:t(186),root:i,materials:o[t(1009)],dataPool:o[t(938)],eventFlow:o.eventFlow,metadata:{name:o[t(459)][t(1535)],description:"",createdAt:new Date()[t(935)](),updatedAt:new Date()[t(935)]()}}},importScheme:t=>{e(o=>{const x=_0x1172;if(t.root){if(o.root=t.root,!o[x(459)][x(855)])o.root[x(855)]=[];else{const i=new Set(o[x(459)].canvases[x(1461)](a=>a.id));for(const a of o[x(459)][x(855)])a[x(1579)]=a[x(1579)][x(1338)](u=>i[x(363)](u))}o[x(459)][x(1756)]=null,o[x(459)][x(734)]=[],o.dataPool=t[x(938)]??[],t[x(1390)]&&(o[x(1390)]={eventBlocks:t[x(1390)][x(1213)]??[],eventRoots:(t[x(1390)].eventRoots??[]).map(i=>({...i,copyOnDuplicate:i[x(1757)]!==void 0?i.copyOnDuplicate:!0})),editingEventRootId:t[x(1390)][x(436)]??null,isEditingEventFlow:t[x(1390)][x(1965)]??!1});const r=o[x(459)][x(1641)][x(957)](i=>i.id===o[x(459)].currentCanvasId)||o[x(459)].canvases[0];r&&(o[x(459)][x(1714)]=r.id,o[x(376)]=r[x(376)],o[x(384)]=r[x(983)],o[x(1677)]=r[x(1677)],o[x(1180)]=r[x(1180)],o[x(990)]=r[x(990)],o[x(1025)]=r[x(1025)],o[x(258)]=r[x(258)])}else{const r=ro();r[x(376)]=t[x(376)]||[],o[x(459)][x(1641)]=[r],o[x(459)].currentCanvasId=r.id,o.root[x(855)]=[],o[x(459)][x(1756)]=null,o[x(459)][x(734)]=[],o.dataPool=t.dataPool??[],t.eventFlow&&(o.eventFlow={eventBlocks:t.eventFlow[x(1213)]??[],eventRoots:(t.eventFlow.eventRoots??[])[x(1461)](i=>({...i,copyOnDuplicate:i[x(1757)]!==void 0?i[x(1757)]:!0})),editingEventRootId:t.eventFlow.editingEventRootId??null,isEditingEventFlow:t[x(1390)][x(1965)]??!1}),o[x(376)]=r[x(376)],o.canvas=r.canvasConfig,o[x(1677)]=t.viewport||r[x(1677)],o[x(1180)]=null,o[x(1025)]=null,o.history={past:[],future:[]}}for(const r of o[x(459)].canvases)oo(r[x(376)])})},exportCanvas:t=>{const o=c,x=n(),r=t||x[o(459)][o(1714)],i=x[o(459)][o(1641)][o(957)](a=>a.id===r);if(!i)throw new Error(o(1796)+r+" 不存在");return{version:"2.0.0",canvas:i,metadata:{name:i[o(1535)],description:"",exportedAt:new Date()[o(935)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x1172,i=t.canvas,a=o||x[r(459)].currentCanvasId,u=x[r(459)][r(1641)].find(d=>d.id===a);if(u)u[r(1535)]=i[r(1535)],u[r(376)]=i[r(376)]||[],u[r(983)]=i.canvasConfig,u[r(1677)]=i[r(1677)],u[r(1180)]=null,u[r(990)]=[],u.selectedStatusId=null,u[r(258)]=i[r(258)]||{past:[],future:[]},a===x.root[r(1714)]&&(x.nodes=u[r(376)],x[r(384)]=u[r(983)],x[r(1677)]=u[r(1677)],x[r(1180)]=u[r(1180)],x[r(990)]=u[r(990)],x[r(1025)]=u[r(1025)],x[r(258)]=u.history);else{const d={...i,id:Ie[r(349)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x.root.canvases[r(1699)](d),x[r(459)][r(1714)]=d.id,x[r(376)]=d.nodes,x[r(384)]=d.canvasConfig,x[r(1677)]=d[r(1677)],x.selectedNodeId=d.selectedNodeId,x.selectedNodeIds=d[r(990)],x[r(1025)]=d[r(1025)],x[r(258)]=d[r(258)]}for(const d of x[r(459)][r(1641)])oo(d[r(376)])})},addEventBlock:t=>{const o=c,x=Ie[o(349)]();return e(r=>{const i=o;r[i(1390)][i(1213)].push({...t,id:x})}),x},upsertEventBlock:t=>{e(o=>{const x=_0x1172,r=o[x(1390)].eventBlocks[x(936)](i=>i.id===t.id);r!==-1?o[x(1390)].eventBlocks[r]={...t}:o[x(1390)][x(1213)][x(1699)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(1390)].eventBlocks.find(a=>a.id===t);i&&Object[r(1510)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x1172,r=o.eventFlow[x(1213)][x(936)](i=>i.id===t);r!==-1&&o.eventFlow.eventBlocks.splice(r,1)})},addEventRoot:t=>{const o=Ie.nanoid();return e(x=>{const r=_0x1172;x.eventFlow[r(1789)][r(1699)]({...t,id:o,copyOnDuplicate:t.copyOnDuplicate!==void 0?t[r(1757)]:!0})}),o},updateEventRoot:(t,o)=>{e(x=>{const r=_0x1172,i=x[r(1390)][r(1789)][r(957)](a=>a.id===t);i&&Object[r(1510)](i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x1172,r=o[x(1390)][x(1789)][x(936)](i=>i.id===t);r!==-1&&o.eventFlow.eventRoots[x(1574)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x1172;o.eventFlow[x(436)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x1172;o.eventFlow[x(1965)]=t})},bindNodeEvent:(t,o,x)=>{const r=c,i=Ie[r(349)]();return e(a=>{const u=r;a[u(1390)].eventRoots[u(1699)]({id:i,bindNodeId:t,eventType:o,flowData:x,enabled:!0,copyOnDuplicate:!0})}),i},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x1172,a=r[i(1390)].eventRoots[i(936)](u=>{const d=i;return u[d(1105)]!==t||u[d(1743)]!==o?!1:o===d(1163)?(u[d(1593)]||"").trim()===(x||"")[d(1280)]():!0});a!==-1&&r[i(1390)].eventRoots[i(1574)](a,1)})},getNodeEventRoots:t=>{const o=c;return n()[o(1390)][o(1789)][o(1338)](x=>x[o(1105)]===t)}}))),jr=[{id:Ie[c(349)](),name:"矩形",type:c(1740),src:"data:image/svg+xml,"+encodeURIComponent(c(425))},{id:Ie.nanoid(),name:"圆形",type:c(1740),src:"data:image/svg+xml,"+encodeURIComponent(c(1856))},{id:Ie[c(349)](),name:"圆角矩形",type:c(1740),src:c(260)+encodeURIComponent(c(1254))},{id:Ie[c(349)](),name:"阀门",type:c(1740),src:c(260)+encodeURIComponent(c(1569))},{id:Ie[c(349)](),name:"泵",type:c(1740),src:c(260)+encodeURIComponent(c(1594))},{id:Ie[c(349)](),name:"罐体",type:c(1740),src:"data:image/svg+xml,"+encodeURIComponent(c(519))},{id:Ie[c(349)](),name:c(1101),type:c(298),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(1270),color:c(1169),textAlign:c(230)},valueStyle:{fontSize:14,fontWeight:c(1517),color:c(1089),textAlign:c(230)}}},{id:Ie[c(349)](),name:"线条",type:c(976),config:{thickness:2,lineWeight:2,color:c(1169),lineType:"solid"}}],io=e=>({id:Ie[c(349)](),name:c(1649),expression:c(1794),material:{...e,id:Ie[c(349)]()},boundDatasetId:null,animation:{type:c(408)}}),Yr=(e,n,t)=>{const o=c;if(t?.type===o(1458)&&t[o(1402)]?.[o(376)]){const x=t.config[o(376)].map(l=>({...l,id:Ie.nanoid()}));let r=1/0,i=1/0,a=-1/0,u=-1/0;x.forEach(l=>{const f=o,g=l[f(2032)].x||0,h=l[f(2032)].y||0,w=l[f(2032)][f(1909)]||0,b=l[f(2032)].height||0;r=Math[f(984)](r,g),i=Math[f(984)](i,h),a=Math[f(879)](a,g+w),u=Math[f(879)](u,h+b)});const d=x.map(l=>({...l,normalStyle:{...l[o(2032)],x:(l.normalStyle.x||0)-r,y:(l[o(2032)].y||0)-i,scale:void 0}}));return{id:Ie[o(349)](),name:t.name||o(1354),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:d}}return{id:Ie[o(349)](),name:o(1233),type:"normal",normalStyle:{width:120,height:100,x:e,y:n,background:"transparent",padding:8},contentInfo:{statusList:t?[io(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:An}=p[c(1077)],{Text:Kt}=p[c(1689)],Ur=({onUploadSvg:e})=>{const n=c,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:a,lineDrawing:u,startLineDrawing:d,cancelLineDrawing:l}=o0(),[f,g]=D[n(325)](["basic",n(971),"text",n(1153)]),h=m=>{const y=n,C=new FileReader;return C[y(1145)]=z=>{const I=y,U=z[I(1562)]?.result;o({name:m[I(1535)][I(1639)](I(1573),""),type:I(1740),src:U})},C[y(1275)](m),!1},w={basic:t[n(1338)](m=>["矩形","圆形","圆角矩形"][n(645)](m[n(1535)])),device:t.filter(m=>["阀门","泵","罐体"][n(645)](m[n(1535)])||m[n(939)]===n(1740)&&!["矩形","圆形",n(1243)].includes(m[n(1535)])&&m[n(1535)]!=="自定义"),text:t[n(1338)](m=>m[n(939)]==="TEXT"),line:t[n(1338)](m=>m[n(939)]===n(976)),group:t.filter(m=>m[n(939)]==="CUSTOM"&&m[n(1402)]?.[n(376)]),custom:t.filter(m=>m[n(939)]===n(1458)&&!m.config?.[n(376)]||m.type==="IMAGE"&&!["矩形","圆形",n(1243),"阀门","泵","罐体"][n(645)](m[n(1535)]))},b=(m,y)=>{const C=n;m[C(1454)][C(1414)]=C(858),m[C(1454)][C(1914)](C(309),JSON[C(1087)](y));const z=m[C(1274)].querySelector(C(1292));z&&m[C(1454)][C(1558)](z,20,20)},v=m=>{const y=n;m[y(939)]===y(976)&&d(m)},M=(m,y=!1,C=n(369))=>{const z=n,I=y===!0,U=a===z(477)&&I&&u[z(1737)]?.id===m.id;return s[z(827)](p[z(1337)][z(1139)],{draggable:!I,onDragStart:H=>b(H,m),onClick:()=>I&&v(m),className:z(905)+(I?"cursor-pointer":z(1131))+`
3
+ hover:bg-gray-100`+z(1760)+(U?"bg-blue-50 ring-2 ring-blue-400":"")+z(187),actions:[I?s[z(827)](p[z(1071)],{type:z(1810),size:z(1664),icon:s.jsx(ge.EditOutlined,{}),onClick:H=>{H.stopPropagation(),v(m)},children:"绘制"},z(901)):null,s.jsx(p.Button,{type:z(1810),size:z(1664),danger:!0,icon:s[z(827)](ge[z(1357)],{}),onClick:H=>{H.stopPropagation(),x(m.id)}},z(2028))][z(1338)](Boolean),children:s[z(1149)](z(1102),{className:z(1362)+(I?"":"pointer-events-none"),children:[s[z(827)](z(1102),{className:z(1422)+C,children:m[z(939)]==="IMAGE"&&m[z(1784)]?s[z(827)](p.Image,{src:m[z(1784)],alt:m[z(1535)],width:40,height:40,preview:!1}):m[z(939)]===z(298)?s.jsx(z(1137),{className:z(1264),children:"T"}):m.type==="LINE"?s[z(827)](z(1102),{className:z(1075)}):m[z(939)]===z(1458)&&m[z(1402)]?.[z(376)]?s[z(827)](z(1137),{className:z(2e3),children:"G"}):s[z(827)](z(1137),{className:"text-xs text-gray-500",children:"?"})}),s.jsxs("div",{className:z(1394),children:[s[z(827)](Kt,{strong:!0,className:z(854),children:m.name}),s[z(1149)](z(1102),{className:"flex items-center gap-1",children:[s[z(827)](Kt,{type:z(428),className:z(352),children:m[z(939)]}),U&&s[z(827)](p[z(679)],{color:z(245),className:z(352),children:z(811)})]})]})]})},m.id)};return s[n(1149)](n(1102),{className:n(1896),children:[s[n(1149)]("div",{className:n(1063),children:[s.jsx("h3",{className:n(1660),children:"物料库"}),s.jsx(Kt,{type:"secondary",className:n(649),children:n(960)})]}),s[n(827)](n(1102),{className:n(697),children:e?s[n(827)](p[n(1071)],{icon:s[n(827)](ge[n(1564)],{}),block:!0,type:n(1596),onClick:()=>{e().catch(m=>{const y=_0x1172;console[y(1803)](y(1322),m)})},children:"上传 SVG"}):s.jsx(p[n(1798)],{accept:n(1573),beforeUpload:h,showUploadList:!1,children:s[n(827)](p.Button,{icon:s[n(827)](ge[n(1564)],{}),block:!0,type:n(1596),children:"上传 SVG"})})}),s[n(827)](n(1102),{className:n(338),children:s[n(1149)](p[n(1077)],{activeKey:f,onChange:m=>g(m),ghost:!0,expandIconPosition:n(1361),children:[s[n(827)](An,{header:n(2013),children:s[n(827)](p[n(1337)],{dataSource:w[n(1724)],renderItem:m=>M(m,!1),locale:{emptyText:s[n(827)](p[n(1942)],{description:n(1925),image:p[n(1942)][n(1840)]})}})},n(1724)),s.jsx(An,{header:n(1894),children:s.jsx(p[n(1337)],{dataSource:w[n(971)],renderItem:m=>M(m,!1,n(1609)),locale:{emptyText:s[n(827)](p[n(1942)],{description:"暂无物料",image:p[n(1942)][n(1840)]})}})},n(971)),s[n(827)](An,{header:"文本",children:s.jsx(p[n(1337)],{dataSource:w.text,renderItem:m=>M(m,!1),locale:{emptyText:s[n(827)](p[n(1942)],{description:n(1925),image:p[n(1942)].PRESENTED_IMAGE_SIMPLE})}})},n(1810)),s[n(1149)](An,{header:s.jsxs(n(1102),{className:n(1730),children:[s.jsx(n(1137),{children:"线条"}),a===n(477)&&s[n(827)](p[n(679)],{color:n(245),className:"text-xs",children:"绘制模式"})]}),children:[s[n(827)](p[n(1337)],{dataSource:w[n(1153)],renderItem:m=>M(m,!0),locale:{emptyText:s.jsx(p[n(1942)],{description:n(1925),image:p[n(1942)][n(1840)]})}}),a===n(477)&&s.jsxs(n(1102),{className:"mt-2 p-2 bg-blue-50 rounded text-xs text-blue-600",children:[s.jsx(n(1102),{children:n(1300)}),s.jsx(n(1102),{children:n(931)})]})]},n(1153)),w[n(1084)][n(546)]>0&&s[n(827)](An,{header:"群组",children:s[n(827)](p[n(1337)],{dataSource:w[n(1084)],renderItem:m=>M(m,!1),locale:{emptyText:s[n(827)](p[n(1942)],{description:n(1925),image:p[n(1942)].PRESENTED_IMAGE_SIMPLE})}})},n(1084)),w[n(1433)][n(546)]>0&&s[n(827)](An,{header:n(691),children:s[n(827)](p[n(1337)],{dataSource:w[n(1433)],renderItem:m=>M(m,!1),locale:{emptyText:s[n(827)](p[n(1942)],{description:n(1925),image:p[n(1942)].PRESENTED_IMAGE_SIMPLE})}})},"custom")]})}),s.jsx(n(1102),{className:"p-3 border-t border-gray-200 bg-gray-50",children:s.jsx(Kt,{type:n(428),className:n(352),children:a===n(477)?s[n(827)](s.Fragment,{children:"💡 提示:点击绘制线段,可连续绘制多段线,双击结束绘制,ESC 取消"}):s[n(827)](s.Fragment,{children:n(494)})})})]})};var ao=function(e,n){const t=c;return ao=Object[t(1001)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(1998)]=x}||function(o,x){const r=t;for(var i in x)Object.prototype[r(966)][r(719)](x,i)&&(o[i]=x[i])},ao(e,n)};function nn(e,n){const t=c;if(typeof n!==t(943)&&n!==null)throw new TypeError("Class extends value "+String(n)+t(1029));ao(e,n);function o(){const x=t;this[x(830)]=e}e[t(989)]=n===null?Object.create(n):(o[t(989)]=n[t(989)],new o)}function Xs(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=_0x1172;function u(f){const g=_0x1172;try{l(o[g(1096)](f))}catch(h){i(h)}}function d(f){const g=_0x1172;try{l(o[g(1883)](f))}catch(h){i(h)}}function l(f){const g=_0x1172;f[g(1138)]?r(f[g(867)]):x(f.value)[g(775)](u,d)}l((o=o[a(1343)](e,n||[])).next())})}function Or(e,n){const t=c;var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},x,r,i,a=Object[t(1945)]((typeof Iterator===t(943)?Iterator:Object)[t(989)]);return a[t(1096)]=u(0),a.throw=u(1),a.return=u(2),typeof Symbol=="function"&&(a[Symbol[t(1721)]]=function(){return this}),a;function u(l){return function(f){return d([l,f])}}function d(l){const f=t;if(x)throw new TypeError(f(1954));for(;a&&(a=0,l[0]&&(o=0)),o;)try{if(x=1,r&&(i=l[0]&2?r.return:l[0]?r[f(1883)]||((i=r[f(763)])&&i[f(719)](r),0):r[f(1096)])&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[l[0]&2,i[f(867)]]),l[0]){case 0:case 1:i=l;break;case 4:return o[f(1865)]++,{value:l[1],done:!1};case 5:o[f(1865)]++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o[f(1633)].pop();continue;default:if(i=o[f(1633)],!(i=i[f(546)]>0&&i[i[f(546)]-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){o[f(1865)]=l[1];break}if(l[0]===6&&o[f(1865)]<i[1]){o[f(1865)]=i[1],i=l;break}if(i&&o[f(1865)]<i[2]){o[f(1865)]=i[2],o[f(1523)].push(l);break}i[2]&&o[f(1523)][f(613)](),o[f(1633)].pop();continue}l=n[f(719)](e,o)}catch(g){l=[6,g],r=0}finally{x=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function En(e){const n=c;var t=typeof Symbol===n(943)&&Symbol[n(1721)],o=t&&e[t],x=0;if(o)return o[n(719)](e);if(e&&typeof e[n(546)]=="number")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(825))}function Rt(e,n){const t=c;var o=typeof Symbol===t(943)&&e[Symbol[t(1721)]];if(!o)return e;var x=o[t(719)](e),r,i=[],a;try{for(;(n===void 0||n-- >0)&&!(r=x.next())[t(1138)];)i.push(r[t(867)])}catch(u){a={error:u}}finally{try{r&&!r[t(1138)]&&(o=x[t(763)])&&o[t(719)](x)}finally{if(a)throw a[t(907)]}}return i}function Jt(e,n,t){const o=c;if(t||arguments[o(546)]===2)for(var x=0,r=n[o(546)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(989)][o(1512)].call(n,0,x)),i[x]=n[x]);return e[o(1701)](i||Array.prototype[o(1512)][o(719)](n))}function jn(e){return this instanceof jn?(this.v=e,this):new jn(e)}function Zs(e,n,t){const o=c;if(!Symbol[o(1551)])throw new TypeError(o(1039));var x=t[o(1343)](e,n||[]),r,i=[];return r=Object[o(1945)]((typeof AsyncIterator===o(943)?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(w){return function(b){const v=_0x1172;return Promise[v(737)](b)[v(775)](w,g)}}function u(w,b){x[w]&&(r[w]=function(v){return new Promise(function(M,m){i[_0x1172(1699)]([w,v,M,m])>1||d(w,v)})},b&&(r[w]=b(r[w])))}function d(w,b){try{l(x[w](b))}catch(v){h(i[0][3],v)}}function l(w){const b=o;w.value instanceof jn?Promise.resolve(w[b(867)].v)[b(775)](f,g):h(i[0][2],w)}function f(w){d(o(1096),w)}function g(w){d(o(1883),w)}function h(w,b){const v=o;w(b),i[v(1989)](),i[v(546)]&&d(i[0][0],i[0][1])}}function Ks(e){const n=c;if(!Symbol[n(1551)])throw new TypeError(n(1039));var t=e[Symbol.asyncIterator],o;return t?t[n(719)](e):(e=typeof En===n(943)?En(e):e[Symbol[n(1721)]](),o={},x("next"),x(n(1883)),x(n(763)),o[Symbol[n(1551)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(a){return new Promise(function(u,d){const l=_0x1172;a=e[i](a),r(u,d,a[l(1138)],a[l(867)])})}}function r(i,a,u,d){const l=n;Promise[l(737)](d)[l(775)](function(f){i({value:f,done:u})},a)}}typeof SuppressedError===c(943)&&SuppressedError;function Fe(e){return typeof e===c(943)}function co(e){const n=c;var t=function(x){const r=_0x1172;Error[r(719)](x),x[r(1850)]=new Error()[r(1850)]},o=e(t);return o[n(989)]=Object.create(Error[n(989)]),o.prototype[n(830)]=o,o}var so=co(function(e){return function(t){const o=_0x1172;e(this),this[o(533)]=t?t[o(546)]+` errors occurred during unsubscription:
4
+ `+t[o(1461)](function(x,r){const i=o;return r+1+") "+x[i(504)]()})[o(1926)](o(1640)):"",this.name=o(1813),this[o(481)]=t}});function _t(e,n){const t=c;if(e){var o=e[t(1206)](n);0<=o&&e[t(1574)](o,1)}}var bt=(function(){const e=c;function n(t){const o=_0x1172;this[o(514)]=t,this.closed=!1,this[o(860)]=null,this[o(1588)]=null}return n[e(989)][e(1533)]=function(){const t=e;var o,x,r,i,a;if(!this[t(1915)]){this.closed=!0;var u=this._parentage;if(u)if(this[t(860)]=null,Array[t(454)](u))try{for(var d=En(u),l=d.next();!l[t(1138)];l=d[t(1096)]()){var f=l[t(867)];f[t(1694)](this)}}catch(M){o={error:M}}finally{try{l&&!l[t(1138)]&&(x=d[t(763)])&&x.call(d)}finally{if(o)throw o[t(907)]}}else u.remove(this);var g=this[t(514)];if(Fe(g))try{g()}catch(M){a=M instanceof so?M.errors:[M]}var h=this[t(1588)];if(h){this[t(1588)]=null;try{for(var w=En(h),b=w[t(1096)]();!b[t(1138)];b=w[t(1096)]()){var v=b[t(867)];try{Tr(v)}catch(M){a=a??[],M instanceof so?a=Jt(Jt([],Rt(a)),Rt(M.errors)):a[t(1699)](M)}}}catch(M){r={error:M}}finally{try{b&&!b.done&&(i=w[t(763)])&&i.call(w)}finally{if(r)throw r[t(907)]}}}if(a)throw new so(a)}},n[e(989)][e(1463)]=function(t){const o=e;var x;if(t&&t!==this)if(this.closed)Tr(t);else{if(t instanceof n){if(t[o(1915)]||t[o(975)](this))return;t._addParent(this)}(this[o(1588)]=(x=this[o(1588)])!==null&&x!==void 0?x:[])[o(1699)](t)}},n.prototype[e(975)]=function(t){const o=e;var x=this[o(860)];return x===t||Array[o(454)](x)&&x[o(645)](t)},n[e(989)][e(762)]=function(t){const o=e;var x=this[o(860)];this[o(860)]=Array[o(454)](x)?(x[o(1699)](t),x):x?[x,t]:t},n.prototype[e(1973)]=function(t){const o=e;var x=this[o(860)];x===t?this[o(860)]=null:Array[o(454)](x)&&_t(x,t)},n.prototype[e(1694)]=function(t){const o=e;var x=this[o(1588)];x&&_t(x,t),t instanceof n&&t[o(1973)](this)},n[e(599)]=(function(){const t=e;var o=new n;return o[t(1915)]=!0,o})(),n})(),Gr=bt[c(599)];function Hr(e){const n=c;return e instanceof bt||e&&n(1915)in e&&Fe(e[n(1694)])&&Fe(e[n(1463)])&&Fe(e[n(1533)])}function Tr(e){const n=c;Fe(e)?e():e[n(1533)]()}var Rs={Promise:void 0},Js={setTimeout:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(546)];x++)o[x-2]=arguments[x];return setTimeout[t(1343)](void 0,Jt([e,n],Rt(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Vr(e){Js.setTimeout(function(){throw e})}function qr(){}function Ft(e){e()}var lo=(function(e){const n=c;nn(t,e);function t(o){const x=_0x1172;var r=e[x(719)](this)||this;return r[x(254)]=!1,o?(r[x(1516)]=o,Hr(o)&&o[x(1463)](r)):r[x(1516)]=Qs,r}return t[n(1945)]=function(o,x,r){return new uo(o,x,r)},t[n(989)][n(1096)]=function(o){const x=n;this[x(254)]||this[x(341)](o)},t[n(989)][n(907)]=function(o){const x=n;this[x(254)]||(this[x(254)]=!0,this[x(1884)](o))},t.prototype.complete=function(){const o=n;this.isStopped||(this[o(254)]=!0,this[o(1061)]())},t[n(989)].unsubscribe=function(){const o=n;!this[o(1915)]&&(this.isStopped=!0,e[o(989)][o(1533)][o(719)](this),this.destination=null)},t.prototype._next=function(o){const x=n;this[x(1516)][x(1096)](o)},t[n(989)][n(1884)]=function(o){try{this.destination.error(o)}finally{this.unsubscribe()}},t[n(989)][n(1061)]=function(){const o=n;try{this[o(1516)].complete()}finally{this[o(1533)]()}},t})(bt),_s=(function(){const e=c;function n(t){this.partialObserver=t}return n.prototype[e(1096)]=function(t){const o=e;var x=this[o(389)];if(x[o(1096)])try{x[o(1096)](t)}catch(r){Qt(r)}},n[e(989)][e(907)]=function(t){const o=e;var x=this[o(389)];if(x[o(907)])try{x.error(t)}catch(r){Qt(r)}else Qt(t)},n[e(989)][e(1426)]=function(){const t=e;var o=this[t(389)];if(o.complete)try{o[t(1426)]()}catch(x){Qt(x)}},n})(),uo=(function(e){nn(n,e);function n(t,o,x){const r=_0x1172;var i=e[r(719)](this)||this,a;return Fe(t)||!t?a={next:t??void 0,error:o??void 0,complete:x??void 0}:a=t,i[r(1516)]=new _s(a),i}return n})(lo);function Qt(e){Vr(e)}function Fs(e){throw e}var Qs={closed:!0,next:qr,error:Fs,complete:qr},fo=(function(){const e=c;return typeof Symbol===e(943)&&Symbol[e(1203)]||e(1035)})();function Wr(e){return e}function $s(e){const n=c;return e[n(546)]===0?Wr:e[n(546)]===1?e[0]:function(o){return e[n(1905)](function(r,i){return i(r)},o)}}var C0=(function(){const e=c;function n(t){t&&(this._subscribe=t)}return n[e(989)].lift=function(t){const o=e;var x=new n;return x[o(916)]=this,x[o(197)]=t,x},n.prototype[e(877)]=function(t,o,x){var r=this,i=nl(t)?t:new uo(t,o,x);return Ft(function(){const a=_0x1172;var u=r,d=u[a(197)],l=u[a(916)];i[a(1463)](d?d[a(719)](i,l):l?r._subscribe(i):r[a(1134)](i))}),i},n[e(989)][e(1134)]=function(t){const o=e;try{return this[o(1277)](t)}catch(x){t.error(x)}},n[e(989)][e(1161)]=function(t,o){var x=this;return o=Xr(o),new o(function(r,i){const a=_0x1172;var u=new uo({next:function(d){try{t(d)}catch(l){i(l),u.unsubscribe()}},error:i,complete:r});x[a(877)](u)})},n[e(989)][e(1277)]=function(t){const o=e;var x;return(x=this[o(916)])===null||x===void 0?void 0:x[o(877)](t)},n.prototype[fo]=function(){return this},n[e(989)][e(1036)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(546)];x++)o[x]=arguments[x];return $s(o)(this)},n[e(989)][e(1933)]=function(t){var o=this;return t=Xr(t),new t(function(x,r){const i=_0x1172;var a;o[i(877)](function(u){return a=u},function(u){return r(u)},function(){return x(a)})})},n[e(1945)]=function(t){return new n(t)},n})();function Xr(e){const n=c;var t;return(t=e??Rs[n(1017)])!==null&&t!==void 0?t:Promise}function el(e){const n=c;return e&&Fe(e[n(1096)])&&Fe(e.error)&&Fe(e[n(1426)])}function nl(e){return e&&e instanceof lo||el(e)&&Hr(e)}function tl(e){return Fe(e?.[c(1043)])}function un(e){return function(n){const t=_0x1172;if(tl(n))return n[t(1043)](function(o){const x=t;try{return e(o,this)}catch(r){this[x(907)](r)}});throw new TypeError(t(871))}}function fn(e,n,t,o,x){return new xl(e,n,t,o,x)}var xl=(function(e){const n=c;nn(t,e);function t(o,x,r,i,a,u){const d=_0x1172;var l=e[d(719)](this,o)||this;return l[d(1085)]=a,l[d(1278)]=u,l[d(341)]=x?function(f){const g=d;try{x(f)}catch(h){o[g(907)](h)}}:e[d(989)][d(341)],l._error=i?function(f){const g=d;try{i(f)}catch(h){o.error(h)}finally{this[g(1533)]()}}:e[d(989)][d(1884)],l[d(1061)]=r?function(){const f=d;try{r()}catch(g){o[f(907)](g)}finally{this[f(1533)]()}}:e[d(989)][d(1061)],l}return t.prototype[n(1533)]=function(){const o=n;var x;if(!this[o(1278)]||this[o(1278)]()){var r=this[o(1915)];e[o(989)].unsubscribe[o(719)](this),!r&&((x=this[o(1085)])===null||x===void 0||x[o(719)](this))}},t})(lo),ol=co(function(e){return function(){const t=_0x1172;e(this),this[t(1535)]="ObjectUnsubscribedError",this[t(533)]=t(1667)}}),Zr=(function(e){const n=c;nn(t,e);function t(){const o=_0x1172;var x=e[o(719)](this)||this;return x.closed=!1,x[o(808)]=null,x[o(2017)]=[],x[o(254)]=!1,x[o(287)]=!1,x[o(1605)]=null,x}return t.prototype[n(1043)]=function(o){var x=new Kr(this,this);return x.operator=o,x},t.prototype[n(390)]=function(){if(this[n(1915)])throw new ol},t[n(989)][n(1096)]=function(o){var x=this;Ft(function(){const r=_0x1172;var i,a;if(x[r(390)](),!x[r(254)]){!x[r(808)]&&(x[r(808)]=Array[r(1839)](x[r(2017)]));try{for(var u=En(x[r(808)]),d=u[r(1096)]();!d[r(1138)];d=u.next()){var l=d.value;l[r(1096)](o)}}catch(f){i={error:f}}finally{try{d&&!d[r(1138)]&&(a=u[r(763)])&&a.call(u)}finally{if(i)throw i.error}}}})},t[n(989)].error=function(o){var x=this;Ft(function(){const r=_0x1172;if(x[r(390)](),!x[r(254)]){x[r(287)]=x[r(254)]=!0,x[r(1605)]=o;for(var i=x.observers;i.length;)i[r(1989)]()[r(907)](o)}})},t[n(989)][n(1426)]=function(){var o=this;Ft(function(){const x=_0x1172;if(o[x(390)](),!o[x(254)]){o[x(254)]=!0;for(var r=o[x(2017)];r.length;)r[x(1989)]()[x(1426)]()}})},t.prototype[n(1533)]=function(){const o=n;this.isStopped=this[o(1915)]=!0,this[o(2017)]=this[o(808)]=null},Object[n(549)](t.prototype,n(1716),{get:function(){const o=n;var x;return((x=this[o(2017)])===null||x===void 0?void 0:x.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(o){const x=n;return this[x(390)](),e.prototype[x(1134)][x(719)](this,o)},t[n(989)][n(1277)]=function(o){const x=n;return this[x(390)](),this[x(1098)](o),this._innerSubscribe(o)},t[n(989)][n(416)]=function(o){const x=n;var r=this,i=this,a=i[x(287)],u=i[x(254)],d=i[x(2017)];return a||u?Gr:(this[x(808)]=null,d[x(1699)](o),new bt(function(){const l=x;r[l(808)]=null,_t(d,o)}))},t[n(989)][n(1098)]=function(o){const x=n;var r=this,i=r[x(287)],a=r.thrownError,u=r.isStopped;i?o[x(907)](a):u&&o.complete()},t.prototype[n(1767)]=function(){const o=n;var x=new C0;return x[o(916)]=this,x},t[n(1945)]=function(o,x){return new Kr(o,x)},t})(C0),Kr=(function(e){const n=c;nn(t,e);function t(o,x){const r=_0x1172;var i=e[r(719)](this)||this;return i[r(1516)]=o,i[r(916)]=x,i}return t[n(989)][n(1096)]=function(o){const x=n;var r,i;(i=(r=this[x(1516)])===null||r===void 0?void 0:r[x(1096)])===null||i===void 0||i[x(719)](r,o)},t.prototype[n(907)]=function(o){const x=n;var r,i;(i=(r=this[x(1516)])===null||r===void 0?void 0:r[x(907)])===null||i===void 0||i.call(r,o)},t[n(989)].complete=function(){const o=n;var x,r;(r=(x=this[o(1516)])===null||x===void 0?void 0:x[o(1426)])===null||r===void 0||r[o(719)](x)},t[n(989)][n(1277)]=function(o){const x=n;var r,i;return(i=(r=this[x(916)])===null||r===void 0?void 0:r[x(877)](o))!==null&&i!==void 0?i:Gr},t})(Zr),rl={now:function(){return Date[c(1580)]()}},il=(function(e){const n=c;nn(t,e);function t(o,x){return e[_0x1172(719)](this)||this}return t[n(989)].schedule=function(o,x){return this},t})(bt),Rr={setInterval:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(546)];x++)o[x-2]=arguments[x];return setInterval[t(1343)](void 0,Jt([e,n],Rt(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},al=(function(e){const n=c;nn(t,e);function t(o,x){const r=_0x1172;var i=e[r(719)](this,o,x)||this;return i[r(451)]=o,i[r(277)]=x,i.pending=!1,i}return t[n(989)].schedule=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this[r(1915)])return this;this[r(846)]=o;var a=this.id,u=this[r(451)];return a!=null&&(this.id=this[r(2007)](u,a,x)),this[r(308)]=!0,this.delay=x,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(856)](u,this.id,x),this},t[n(989)][n(856)]=function(o,x,r){const i=n;return r===void 0&&(r=0),Rr[i(373)](o[i(1459)][i(407)](o,this),r)},t.prototype.recycleAsyncId=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this[i(1471)]===r&&this[i(308)]===!1?x:(x!=null&&Rr[i(1663)](x),void 0)},t.prototype[n(499)]=function(o,x){const r=n;if(this[r(1915)])return new Error(r(1112));this[r(308)]=!1;var i=this[r(1867)](o,x);if(i)return i;this[r(308)]===!1&&this.id!=null&&(this.id=this[r(2007)](this[r(451)],this.id,null))},t[n(989)][n(1867)]=function(o,x){const r=n;var i=!1,a;try{this.work(o)}catch(u){i=!0,a=u||new Error(r(1739))}if(i)return this.unsubscribe(),a},t[n(989)][n(1533)]=function(){const o=n;if(!this[o(1915)]){var x=this,r=x.id,i=x[o(451)],a=i[o(887)];this[o(277)]=this[o(846)]=this.scheduler=null,this[o(308)]=!1,_t(a,this),r!=null&&(this.id=this[o(2007)](i,r,null)),this[o(1471)]=null,e.prototype.unsubscribe[o(719)](this)}},t})(il),Jr=(function(){const e=c;function n(t,o){const x=_0x1172;o===void 0&&(o=n[x(1580)]),this.schedulerActionCtor=t,this[x(1580)]=o}return n[e(989)].schedule=function(t,o,x){const r=e;return o===void 0&&(o=0),new this[r(1099)](this,t).schedule(x,o)},n.now=rl[e(1580)],n})(),cl=(function(e){const n=c;nn(t,e);function t(o,x){const r=_0x1172;x===void 0&&(x=Jr[r(1580)]);var i=e[r(719)](this,o,x)||this;return i[r(887)]=[],i[r(521)]=!1,i}return t[n(989)][n(1459)]=function(o){const x=n;var r=this[x(887)];if(this[x(521)]){r[x(1699)](o);return}var i;this[x(521)]=!0;do if(i=o[x(499)](o[x(846)],o[x(1471)]))break;while(o=r[x(1989)]());if(this[x(521)]=!1,i){for(;o=r.shift();)o[x(1533)]();throw i}},t})(Jr),sl=new cl(al);function ll(e){return e&&Fe(e[c(1568)])}function dl(e){return e[e[c(546)]-1]}function ul(e){const n=c;return ll(dl(e))?e[n(613)]():void 0}var _r=function(e){const n=c;return e&&typeof e[n(546)]===n(181)&&typeof e!==n(943)};function Fr(e){return Fe(e?.[c(775)])}function Qr(e){return Fe(e[fo])}function $r(e){return Symbol.asyncIterator&&Fe(e?.[Symbol[c(1551)]])}function ei(e){const n=c;return new TypeError(n(604)+(e!==null&&typeof e=="object"?n(866):"'"+e+"'")+n(1854))}function fl(){const e=c;return typeof Symbol!==e(943)||!Symbol[e(1721)]?"@@iterator":Symbol[e(1721)]}var ni=fl();function ti(e){return Fe(e?.[ni])}function xi(e){return Zs(this,arguments,function(){var t,o,x,r;return Or(this,function(i){const a=_0x1172;switch(i.label){case 0:t=e.getReader(),i[a(1865)]=1;case 1:i[a(1633)][a(1699)]([1,,9,10]),i[a(1865)]=2;case 2:return[4,jn(t[a(1702)]())];case 3:return o=i[a(611)](),x=o[a(867)],r=o.done,r?[4,jn(void 0)]:[3,5];case 4:return[2,i[a(611)]()];case 5:return[4,jn(x)];case 6:return[4,i[a(611)]()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function oi(e){return Fe(e?.[c(1643)])}function bn(e){if(e instanceof C0)return e;if(e!=null){if(Qr(e))return bl(e);if(_r(e))return hl(e);if(Fr(e))return gl(e);if($r(e))return ri(e);if(ti(e))return yl(e);if(oi(e))return ml(e)}throw ei(e)}function bl(e){return new C0(function(n){const t=_0x1172;var o=e[fo]();if(Fe(o[t(877)]))return o[t(877)](n);throw new TypeError(t(222))})}function hl(e){return new C0(function(n){const t=_0x1172;for(var o=0;o<e[t(546)]&&!n.closed;o++)n[t(1096)](e[o]);n.complete()})}function gl(e){return new C0(function(n){const t=_0x1172;e[t(775)](function(o){const x=t;!n[x(1915)]&&(n[x(1096)](o),n[x(1426)]())},function(o){return n[t(907)](o)})[t(775)](null,Vr)})}function yl(e){return new C0(function(n){const t=_0x1172;var o,x;try{for(var r=En(e),i=r[t(1096)]();!i.done;i=r.next()){var a=i.value;if(n.next(a),n[t(1915)])return}}catch(u){o={error:u}}finally{try{i&&!i[t(1138)]&&(x=r[t(763)])&&x.call(r)}finally{if(o)throw o[t(907)]}}n[t(1426)]()})}function ri(e){return new C0(function(n){const t=_0x1172;vl(e,n)[t(1468)](function(o){return n[t(907)](o)})})}function ml(e){return ri(xi(e))}function vl(e,n){var t,o,x,r;return Xs(this,void 0,void 0,function(){var i,a;return Or(this,function(u){const d=_0x1172;switch(u[d(1865)]){case 0:u[d(1633)][d(1699)]([0,5,6,11]),t=Ks(e),u[d(1865)]=1;case 1:return[4,t[d(1096)]()];case 2:if(o=u.sent(),!!o[d(1138)])return[3,4];if(i=o[d(867)],n[d(1096)](i),n[d(1915)])return[2];u[d(1865)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=u[d(611)](),x={error:a},[3,11];case 6:return u[d(1633)][d(1699)]([6,,9,10]),o&&!o.done&&(r=t.return)?[4,r[d(719)](t)]:[3,8];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(x)throw x.error;return[7];case 10:return[7];case 11:return n[d(1426)](),[2]}})})}function tn(e,n,t,o,x){const r=c;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n[r(1568)](function(){const a=r;t(),x?e[a(1463)](this.schedule(null,o)):this[a(1533)]()},o);if(e[r(1463)](i),!x)return i}function ii(e,n){return n===void 0&&(n=0),un(function(t,o){t[_0x1172(877)](fn(o,function(r){return tn(o,e,function(){return o[_0x1172(1096)](r)},n)},function(){return tn(o,e,function(){return o.complete()},n)},function(r){return tn(o,e,function(){return o[_0x1172(907)](r)},n)}))})}function ai(e,n){return n===void 0&&(n=0),un(function(t,o){const x=_0x1172;o.add(e[x(1568)](function(){return t.subscribe(o)},n))})}function wl(e,n){const t=c;return bn(e)[t(1036)](ai(n),ii(n))}function pl(e,n){return bn(e).pipe(ai(n),ii(n))}function zl(e,n){return new C0(function(t){const o=_0x1172;var x=0;return n[o(1568)](function(){const r=o;x===e.length?t[r(1426)]():(t[r(1096)](e[x++]),!t[r(1915)]&&this[r(1568)]())})})}function Cl(e,n){return new C0(function(t){var o;return tn(t,n,function(){o=e[ni](),tn(t,n,function(){const x=_0x1172;var r,i,a;try{r=o[x(1096)](),i=r[x(867)],a=r[x(1138)]}catch(u){t.error(u);return}a?t.complete():t[x(1096)](i)},0,!0)}),function(){return Fe(o?.[_0x1172(763)])&&o.return()}})}function ci(e,n){const t=c;if(!e)throw new Error(t(690));return new C0(function(o){tn(o,n,function(){var x=e[Symbol.asyncIterator]();tn(o,n,function(){const r=_0x1172;x[r(1096)]()[r(775)](function(i){const a=r;i[a(1138)]?o[a(1426)]():o.next(i[a(867)])})},0,!0)})})}function Ml(e,n){return ci(xi(e),n)}function Bl(e,n){if(e!=null){if(Qr(e))return wl(e,n);if(_r(e))return zl(e,n);if(Fr(e))return pl(e,n);if($r(e))return ci(e,n);if(ti(e))return Cl(e,n);if(oi(e))return Ml(e,n)}throw ei(e)}function $t(e,n){return n?Bl(e,n):bn(e)}function L0(){const e=c;for(var n=[],t=0;t<arguments[e(546)];t++)n[t]=arguments[t];var o=ul(n);return $t(n,o)}function r0(e,n){var t=Fe(e)?e:function(){return e},o=function(x){return x[_0x1172(907)](t())};return new C0(o)}function Dl(e){return e instanceof Date&&!isNaN(e)}var Ll=co(function(e){return function(t){const o=_0x1172;t===void 0&&(t=null),e(this),this.message=o(268),this[o(1535)]=o(832),this[o(1778)]=t}});function Sl(e,n){const t=c;var o=Dl(e)?{first:e}:{each:e},x=o[t(1187)],r=o.each,i=o[t(2027)],a=i===void 0?Nl:i,u=o[t(451)],d=u===void 0?sl:u,l=o[t(452)],f=l===void 0?null:l;if(x==null&&r==null)throw new TypeError(t(1363));return un(function(g,h){const w=t;var b,v,M=null,m=0,y=function(C){v=tn(h,d,function(){const z=_0x1172;try{b[z(1533)](),bn(a({meta:f,lastValue:M,seen:m}))[z(877)](h)}catch(I){h.error(I)}},C)};b=g.subscribe(fn(h,function(C){const z=_0x1172;v?.[z(1533)](),m++,h[z(1096)](M=C),r>0&&y(r)},void 0,void 0,function(){const C=_0x1172;!v?.[C(1915)]&&v?.[C(1533)](),M=null})),!m&&y(x!=null?typeof x===w(181)?x:+x-d[w(1580)]():r)})}function Nl(e){throw new Ll(e)}function ex(e,n){return un(function(t,o){var x=0;t.subscribe(fn(o,function(r){o[_0x1172(1096)](e.call(n,r,x++))}))})}function kl(e,n,t,o,x,r,i,a){const u=c;var d=[],l=0,f=0,g=!1,h=function(){const v=_0x1172;g&&!d[v(546)]&&!l&&n[v(1426)]()},w=function(v){const M=_0x1172;return l<o?b(v):d[M(1699)](v)},b=function(v){const M=_0x1172;l++;var m=!1;bn(t(v,f++))[M(877)](fn(n,function(y){n[M(1096)](y)},function(){m=!0},void 0,function(){const y=M;if(m)try{l--;for(var C=function(){var z=d.shift();i||b(z)};d.length&&l<o;)C();h()}catch(z){n[y(907)](z)}}))};return e[u(877)](fn(n,w,function(){g=!0,h()})),function(){}}function bo(e,n,t){const o=c;return t===void 0&&(t=1/0),Fe(n)?bo(function(x,r){return ex(function(i,a){return n(x,i,r,a)})(bn(e(x,r)))},t):(typeof n===o(181)&&(t=n),un(function(x,r){return kl(x,r,e,t)}))}function nx(e){return un(function(n,t){const o=_0x1172;var x=null,r=!1,i;x=n.subscribe(fn(t,void 0,void 0,function(a){const u=_0x1172;i=bn(e(a,nx(e)(n))),x?(x[u(1533)](),x=null,i[u(877)](t)):r=!0})),r&&(x.unsubscribe(),x=null,i[o(877)](t))})}function Il(e,n,t){var o=Fe(e)||n||t?{next:e,error:n,complete:t}:e;return o?un(function(x,r){const i=_0x1172;var a;(a=o[i(877)])===null||a===void 0||a[i(719)](o);var u=!0;x[i(877)](fn(r,function(d){const l=i;var f;(f=o[l(1096)])===null||f===void 0||f[l(719)](o,d),r.next(d)},function(){const d=i;var l;u=!1,(l=o[d(1426)])===null||l===void 0||l[d(719)](o),r[d(1426)]()},function(d){const l=i;var f;u=!1,(f=o[l(907)])===null||f===void 0||f[l(719)](o,d),r[l(907)](d)},function(){const d=i;var l,f;u&&((l=o[d(1533)])===null||l===void 0||l[d(719)](o)),(f=o[d(2040)])===null||f===void 0||f[d(719)](o)}))}):Wr}function ho(e){return encodeURIComponent((e||"")[c(1280)]()||"__default__")}function Pl(e){const n=c;return e.eventType===n(1163)?e.bindNodeId+"::ext::"+ho(e[n(1593)]??""):e[n(1105)]+"::"+e[n(1743)]}function si(e,n){return e+":"+n}class Yn{static instance;eventSubjects=new Map;[c(702)]=new Map;[c(1213)]=new Map;[c(276)]=new Map;defaultRuntimeHandlers;constructor(){}static[c(253)](){const n=c;return!Yn.instance&&(Yn[n(336)]=new Yn),Yn[n(336)]}[c(710)](n){const t=c;this.eventBlocks[t(1683)](n.id,n)}[c(227)](n){const t=c;this[t(1213)][t(2028)](n)}[c(1984)](n){const t=c;return this[t(1213)][t(750)](n)}[c(1186)](n){const t=c;this[t(1870)]=n}[c(1441)](n){const t=c;if(!n)return;const o=this[t(1870)];this[t(1870)]={dataRequest:{...o?.dataRequest,...n[t(1383)]},external:{...o?.[t(1163)],...n[t(1163)]}}}[c(706)](n){const t=c,o=this[t(1870)];if(!(!o&&!n))return{dataRequest:{...o?.[t(1383)],...n?.[t(1383)]},external:{...o?.[t(1163)],...n?.external}}}[c(1763)](n){const t=c,o=this.subscriptions[t(750)](n.id);o&&(o[t(1533)](),this[t(702)][t(2028)](n.id)),this[t(1430)][t(2028)](n.id)}[c(1417)](n){const t=c,o=Pl(n),x=this[t(276)].get(o);x&&x.id!==n.id&&this.disposeEventRootPipeline(x),this[t(276)][t(1683)](o,n),!this[t(1430)][t(363)](n.id)&&this[t(761)](n)}[c(945)](n,t,o){const x=c;if(t==="external"){const u=n+x(1957)+ho(o??""),d=this.nodeEventBindings[x(750)](u);d&&(this[x(1763)](d),this.nodeEventBindings.delete(u));return}const r=n+"::"+t,i=si(n,t),a=this[x(276)].get(r)??this.nodeEventBindings[x(750)](i);a&&(this[x(1763)](a),this.nodeEventBindings[x(2028)](r),this.nodeEventBindings.delete(i))}[c(398)](n){const t=c,o=[];this[t(276)][t(1161)]((x,r)=>{const i=t;x.bindNodeId===n&&o[i(1699)]({key:r,root:x})}),o[t(1161)](({key:x,root:r})=>{const i=t;this[i(1763)](r),this[i(276)][i(2028)](x)})}getNodeEventBindings(n){const t=c,o=[];return this.nodeEventBindings[t(1161)](x=>{const r=t;x[r(1105)]===n&&o[r(1699)](x)}),o}emit(n,t,o){const x=c,r=n+"::"+t,i=this[x(276)].get(r)??this[x(276)][x(750)](si(n,t));if(!i||!i[x(1412)])return L0({success:!0,result:null,path:[],duration:0});if(!this[x(1430)][x(750)](i.id))return r0(()=>new Error("Event flow not initialized for "+r));const u=Date[x(1580)](),d={...o,executionPath:o.executionPath||[],runtimeHandlers:this[x(706)](o[x(1470)])};return this[x(1792)](i,d)[x(1036)](ex(l=>({success:!0,result:l,path:d[x(820)],duration:Date.now()-u})),nx(l=>L0({success:!1,error:l[x(533)]||x(2043),path:d[x(820)],duration:Date[x(1580)]()-u})))}emitExternal(n,t,o){const x=c,r=n+x(1957)+ho(t),i=this.nodeEventBindings[x(750)](r);if(!i||!i[x(1412)])return L0({success:!0,result:null,path:[],duration:0});if(!this.eventSubjects[x(750)](i.id))return r0(()=>new Error(x(1940)+r));const u=Date[x(1580)](),d={...o,executionPath:o[x(820)]||[],runtimeHandlers:this[x(706)](o[x(1470)])};return this[x(1792)](i,d).pipe(ex(l=>({success:!0,result:l,path:d[x(820)],duration:Date[x(1580)]()-u})),nx(l=>L0({success:!1,error:l[x(533)]||x(2043),path:d[x(820)],duration:Date[x(1580)]()-u})))}[c(761)](n){const t=c,o=new Zr;this[t(1430)][t(1683)](n.id,o)}[c(1792)](n,t){const o=c,{nodes:x,edges:r}=n.flowData;if(x.length===0)return L0(null);const i=x[o(1338)](a=>a[o(2012)].length===0);return i.length===0?r0(()=>new Error(o(1109))):this[o(1184)](i,x,r,t,{})}[c(1184)](n,t,o,x,r){const i=c;if(n[i(546)]===0)return L0(r);const a=n.map(u=>this[i(1291)](u,x,r)[i(1036)](Il(d=>{const l=i;r[u.id]=d,x[l(820)][l(1699)](u.id)})));return $t(a).pipe(bo(u=>u,1),ex(()=>{const u=i,d=new Set;return n.forEach(f=>{const g=_0x1172;f[g(1066)][g(1161)](h=>{const w=g,b=t[w(957)](v=>v.id===h);b&&b.inputs[w(810)](M=>r[M]!==void 0)&&d[w(1463)](h)})}),t[u(1338)](f=>d[u(363)](f.id))}),bo(u=>u.length>0?this.executeFlowNodes(u,t,o,x,r):L0(r)),Sl(3e4),nx(u=>{const d=i;return console[d(907)](d(1447),u),r0(()=>u)}))}[c(202)](n){const t=c;return this.eventBlocks[t(750)](n[t(1912)])??n.data.eventBlock}[c(833)](n,t,o){return n.replace(/\{\{\s*([^}]+?)\s*\}\}/g,(x,r)=>{const i=_0x1172,a=String(r)[i(1280)]();if(a.startsWith("$")){const d=this[i(1456)](o,a[i(1512)](1));return d==null?"":String(d)}const u=t[a];return u==null?"":String(u)})}[c(803)](n,t,o){const x=c,r=n[x(1173)];if(!r)return r0(()=>new Error(x(386)));if(r===x(596)){const i=n[x(1537)]??{},a=String(i[x(1626)]??""),u=i[x(1636)]??x(1778),d=i.duration,l=this.interpolateBuiltinString(a,o,t);if(!l[x(1280)]())return r0(()=>new Error(x(1833)));try{const f={type:u,content:l};if(d!=null&&d!==""){const g=Number(d);!Number[x(771)](g)&&(f.duration=g)}return p.message.open(f),L0({ok:!0,builtinId:r,content:l,level:u})}catch(f){return r0(()=>f)}}if(r==="switchCanvas"){const i=n.builtinConfig??{},a=String(i[x(1023)]??"")[x(1280)]();if(!a)return r0(()=>new Error("未配置目标画布 ID"));const u=t[x(621)]??t[x(1611)];if(!u)return r0(()=>new Error(x(1673)));try{return u(a),L0({ok:!0,builtinId:r,targetCanvasId:a,withHistory:!!t[x(621)]})}catch(d){return r0(()=>d)}}return r0(()=>new Error("未知内置动作: "+String(r)))}[c(748)](n,t,o){try{const x=n(t,o);return x instanceof Promise?$t(x):L0(x)}catch(x){return r0(()=>x)}}[c(1291)](n,t,o){const x=c,r=this[x(202)](n);if(!r)return r0(()=>new Error("Event block not found: "+n.eventBlockId));const i=this[x(1522)](n,t,o),a=r[x(1968)]??x(516);if(a===x(1383)){const u=(r[x(1623)]||"")[x(1280)]();if(!u)return r0(()=>new Error(x(1219)));const d=t[x(1470)]?.dataRequest?.[u];return d?this.invokeRuntimeHandler(d,t,i):r0(()=>new Error(x(1544)+u))}if(a===x(1163)){const u=(r.externalHandlerKey||"")[x(1280)]();if(!u)return r0(()=>new Error(x(1698)));const d=t[x(1470)]?.[x(1163)]?.[u];return d?this.invokeRuntimeHandler(d,t,i):r0(()=>new Error(x(908)+u))}if(a===x(1859))return this[x(803)](r,t,i);try{const u=new Function(x(1067),x(182),x(224),r.callback),d=u(t[x(1316)],t,i);return d instanceof Promise?$t(d):L0(d)}catch(u){return r0(()=>u)}}[c(1522)](n,t,o){const x=c,r={$event:t.originalEvent,$data:t[x(269)],$node:t[x(1316)]},{inputMapping:i}=n.data;return i&&Object[x(255)](i).forEach(([a,u])=>{const d=x;if(u[d(2018)](d(557))){const l=u[d(1639)](d(557),"");r[a]=o[l]}else if(u[d(2018)]("$")){const l=u[d(1512)](1);r[a]=this[d(1456)](t,l)}else r[a]=u}),r}getValueFromPath(n,t){const o=c;return t[o(824)](".")[o(1905)]((x,r)=>{if(x!==null&&typeof x===o(1129)&&r in x)return x[r]},n)}[c(675)](){const n=c;this[n(702)][n(1161)](t=>t[n(1533)]()),this[n(702)][n(1366)](),this[n(1430)][n(1366)](),this[n(276)][n(1366)]()}}const Un=Yn[c(253)](),li=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=c,{eventFlow:r,switchCanvas:i,jumpToCanvas:a}=o0(),u=D[x(671)](null),d=D.useCallback(()=>{const f=x;return r[f(1789)].filter(g=>g[f(1105)]===e.id&&g[f(1412)])},[r[x(1789)],e.id]),l=D[x(660)](f=>g=>{const h=_0x1172,w=d()[h(1338)](v=>v[h(1743)]===f);if(w[h(546)]===0)return;f!=="mouseOver"&&f!==h(1218)&&g.preventDefault(),g.stopPropagation();const b=o&&typeof o=="object"?{...o}:{};w[h(1161)](v=>{const M=h;Un[M(1655)](e.id,f,{triggerNode:e,originalEvent:g,data:b,runtimeHandlers:t,switchCanvas:i,jumpToCanvas:a})[M(877)]({next:m=>{const y=M;!m[y(741)]&&console[y(907)](y(1804),m.error)},error:m=>{const y=M;console[y(907)](y(1560),m)}})})},[d,e,t,o]);return D.useEffect(()=>{const f=x;return d()[f(1161)](h=>{Un[f(1417)](h)}),()=>{Un.unbindAllForNode(e.id)}},[d,e.id]),D[x(1079)](()=>{const f=x,g=u[f(1521)];if(!g)return;const h={click:l(f(471)),mousedown:l(f(1815)),mouseup:l(f(1597)),dblclick:l(f(1282)),mouseover:l(f(285)),mouseleave:l(f(1218)),mouseenter:l(f(1062)),contextmenu:l("contextMenu")};return Object.entries(h)[f(1161)](([w,b])=>{g[f(569)](w,b,!0)}),()=>{const w=f;Object.entries(h)[w(1161)](([b,v])=>{g[w(1845)](b,v,!0)})}},[l]),D.cloneElement(n,{ref:f=>{const g=x;u[g(1521)]=f;const h=n[g(291)];typeof h===g(943)?h(f):h&&g(1521)in h&&(h[g(1521)]=f)}})},{Text:di}=p[c(1689)],ui=(e,n)=>{const t=c;if(!n||!e)return{value:void 0};if(Array[t(454)](e)){const o=e[t(957)](x=>x[t(1554)]===n);if(o)return{value:o[t(867)],unit:o.unit}}else if(typeof e===t(1129)){const o=n[t(824)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(1129))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e[t(538)]}}return{value:void 0}};function Al(e){return Array.isArray(e)}const El=(e,n,t)=>{const o=c,x=e[o(1626)]||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:u}=x;if(!r)return{value:void 0};if(i){const d=n[o(957)](l=>l.id===i);if(d){let l;Al(d.sample)?a!=null&&u!=null?l=d.sample.find(g=>g[a]===u)||{}:l={}:l=d.sample;const f=t&&typeof t===o(1129)?{...l,...t}:l;return ui(f,r)}}return ui(t,r)},jl=(e,n)=>{const t=c;if(e==null||e==="")return"";if(n===-1)return String(e);const o=Number(e);return isNaN(o)?String(e):o[t(1772)](n??2)},Yl=(e,n,t,o,x)=>{const r=c;switch(e.type){case r(1740):const i=e,a=i.backgroundColor,u=i[r(987)];let d=i[r(1784)];return u&&d&&d[r(645)](r(709))&&(e[r(1535)]==="矩形"?d="data:image/svg+xml,"+encodeURIComponent(r(1074)+u+'" rx="4"/></svg>'):e.name==="圆形"?d=r(260)+encodeURIComponent(r(852)+u+r(640)):e[r(1535)]===r(1243)&&(d="data:image/svg+xml,"+encodeURIComponent(r(1074)+u+r(534)))),s.jsx(r(1102),{className:"w-full h-full flex items-center justify-center overflow-hidden",style:{backgroundColor:a},children:d?s.jsx("img",{src:d,alt:e[r(1535)],style:{width:"100%",height:r(1216),objectFit:"contain"}}):s[r(827)](r(1102),{className:r(772),children:s[r(827)](r(1137),{className:r(760),children:"无图片"})})});case r(298):const l=e,{label:f,value:g,valueSourceCode:h,unit:w,decimals:b,labelStyle:v,valueStyle:M,customStyle:m}=l[r(1626)]||{},{value:y,unit:C}=h?El(l,x||[],n):{value:void 0,unit:void 0},z=y!==void 0?y:g,I=jl(z,b),U=w||C||"";return s[r(1149)]("div",{className:r(1710),style:{...m},children:[f&&s[r(827)](di,{style:{fontSize:14,fontWeight:r(1270),color:"#262626",textAlign:r(230),...v},children:f}),I&&s.jsxs(di,{style:{fontSize:14,color:r(1089),textAlign:r(230),...M},children:[I,U?" "+U:""]})]});case r(976):const H=e,{thickness:W=2,color:O=r(1317),dashed:Y=!1,lineType:T=Y?"dashed":"solid",lineWeight:X=W,startX:V=0,startY:L=0,endX:B=100,endY:N=0}=H.config||{},E=Q=>{const $=r,ne=Math[$(879)](X,1);switch(Q){case"solid":return"";case $(1596):return ne*8+","+ne*4;case $(1235):return ne*12+","+ne*3+","+ne*2+","+ne*3;case $(1728):return ne*12+","+ne*3+","+ne*2+","+ne*3+","+ne*2+","+ne*3;case"dot":return ne+","+ne*3;case"dash-dot":return ne*8+","+ne*3+","+ne+","+ne*3;default:return""}},P=E(T),A=t?r(1089):O;return s.jsx(r(1102),{className:r(662),style:{overflow:r(1252)},children:s[r(1149)]("svg",{className:"absolute top-0 left-0",width:r(1216),height:r(1216),style:{overflow:r(1252),pointerEvents:r(408)},children:[s[r(827)](r(1153),{x1:V,y1:L,x2:B,y2:N,stroke:"transparent",strokeWidth:Math[r(879)](X,10),strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:r(1245),cursor:r(594)}}),s[r(827)](r(1153),{x1:V,y1:L,x2:B,y2:N,stroke:A,strokeWidth:X,strokeDasharray:P,strokeLinecap:"round",strokeLinejoin:r(1758),style:{pointerEvents:r(408)}})]})});case r(1458):const _=e;return _[r(1094)]?_[r(1094)]({}):s.jsx("div",{className:r(882),children:s[r(827)]("span",{className:"text-gray-400 text-xs",children:r(1774)})});default:return s[r(827)](r(1102),{className:r(882),children:s.jsx("span",{className:r(760),children:r(885)})})}},Ul=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:u,readonly:d=!1})=>{const l=c,{normalStyle:f,controlInfo:g}=e,{isClickable:h,isDraggable:w,isResizable:b}=g,v=e[l(314)],M=o0(oe=>oe[l(938)]),m=o0(oe=>oe[l(1846)]),y=D[l(671)](t);D[l(1079)](()=>{y.current=t},[t]);const[C,z]=D[l(325)](null),I=D.useRef(null),U=D[l(671)](null),H=D[l(671)](null),W=D[l(671)](null),O=D[l(671)](null),[Y,T]=D[l(325)](null),X=D.useRef(null),V=D[l(671)](null),L=D[l(1826)](()=>{const oe=l,ce=e[oe(314)][oe(1996)];if(ce[oe(546)]===0)return;const Be=Pr(ce,x,M);return Be||ce[0]},[e[l(314)].statusList,x,M]),B=D.useRef(e.contentInfo[l(1753)]);D[l(1079)](()=>{const oe=l;B[oe(1521)]=e[oe(314)][oe(1753)]},[e.id]),D[l(1079)](()=>{const oe=l,ce=L?.id;ce!==void 0&&B.current!==ce&&(B[oe(1521)]=ce,m(e.id,{contentInfo:{...e[oe(314)],currentStatusId:ce}}))},[L?.id,e.id,m]);const N=L?.[l(1737)],E=N?.[l(939)]===l(976),P=E?N[l(1402)]:null,A=f[l(576)]??1,_=(f.width||100)*A,Q=(f[l(784)]||100)*A,$=D.useCallback(()=>{const oe=l,ce=O.current?.closest(oe(1295));if(!ce)return i;const Be=ce[oe(1309)](),te=parseFloat(ce[oe(183)][oe(1909)]);return te?Be[oe(1909)]/te:i},[i]),ne=D.useCallback((oe,ce)=>{const Be=l;oe[Be(1217)](),oe[Be(800)]();const te=P?.[Be(1722)]||0,R=P?.[Be(595)]||0,Ne=P?.[Be(1159)]||0,Ge=P?.[Be(878)]||0,Pe=f.x||0,Ae=f.y||0,He=Math.max((P?.lineWeight||P?.[Be(463)]||2)*2,4),Te=Math[Be(984)](te,Ne),je=Math[Be(984)](R,Ge),Ye=Math[Be(879)](te,Ne),a0=Math.max(R,Ge),Re=Math[Be(879)](Ye-Te,He),Qe=Math.max(a0-je,He);I[Be(1521)]={mouseX:oe[Be(1692)],mouseY:oe[Be(1853)],startX:te,startY:R,endX:Ne,endY:Ge,nodeX:Pe,nodeY:Ae};const n0=Math[Be(984)](te,Ne),i0=Math[Be(984)](R,Ge);H[Be(1521)]={nodeX:Pe+n0,nodeY:Ae+i0,width:Re,height:Qe,startX:te-n0,startY:R-i0,endX:Ne-n0,endY:Ge-i0},U.current=L||null,z(ce)},[P,f.x,f.y,L]);D.useEffect(()=>{const oe=l;if(!C||!E||!P||!r)return;const ce=te=>{const R=_0x1172,Ne=I[R(1521)];if(!Ne||!O[R(1521)])return;const Ge=$(),Pe=(te[R(1692)]-Ne[R(1467)])/Ge,Ae=(te[R(1853)]-Ne[R(1780)])/Ge;let He=Ne[R(1722)],Te=Ne[R(595)],je=Ne.endX,Ye=Ne[R(878)],a0=Ne.nodeX,Re=Ne[R(1472)];C===R(634)?(He=Ne[R(1722)]+Pe,Te=Ne[R(595)]+Ae,He<0&&(a0=Ne[R(1715)]+He,je=Ne[R(1159)]-He,He=0),Te<0&&(Re=Ne[R(1472)]+Te,Ye=Ne.endY-Te,Te=0)):(je=Ne[R(1159)]+Pe,Ye=Ne[R(878)]+Ae,je<0&&(a0=Ne[R(1715)]+je,He=Ne[R(1722)]-je,je=0),Ye<0&&(Re=Ne[R(1472)]+Ye,Te=Ne[R(595)]-Ye,Ye=0));const Qe=Math[R(879)]((P[R(1037)]||2)*2,4),n0=Math[R(984)](He,je),i0=Math[R(984)](Te,Ye),p0=Math[R(879)](He,je),z0=Math.max(Te,Ye),h0=Math[R(1758)](a0+n0),s0=Math.round(Re+i0),l0=Math[R(1758)](He-n0),G0=Math[R(1758)](Te-i0),H0=Math.round(je-n0),R0=Math.round(Ye-i0),g0=Math[R(1758)](Math[R(879)](p0-n0,Qe)),T0=Math[R(1758)](Math[R(879)](z0-i0,Qe));H[R(1521)]={nodeX:h0,nodeY:s0,width:g0,height:T0,startX:l0,startY:G0,endX:H0,endY:R0};const Je=O[R(1521)];Je[R(183)][R(230)]=h0+"px",Je.style.top=s0+"px",Je[R(183)][R(1909)]=g0+"px",Je[R(183)][R(784)]=T0+"px",Je[R(1483)](R(213)).forEach(sn=>{const Mn=R;sn[Mn(484)]("x1",String(l0)),sn[Mn(484)]("y1",String(G0)),sn[Mn(484)]("x2",String(H0)),sn.setAttribute("y2",String(R0))});const M0=Je.querySelector(R(1090)),Cn=Je[R(999)](R(1695));M0&&(M0[R(183)][R(230)]=l0-6+"px",M0.style[R(429)]=G0-6+"px"),Cn&&(Cn[R(183)][R(230)]=H0-6+"px",Cn.style.top=R0-6+"px")},Be=()=>{const te=_0x1172,R=H.current;if(!R||!r){z(null),I[te(1521)]=null,H[te(1521)]=null,U[te(1521)]=null;return}const Ne=o0[te(724)]()[te(376)].find(je=>je.id===e.id),Ge=Ne?.[te(314)][te(1996)]??e[te(314)][te(1996)],Pe=U[te(1521)],Ae=Pe?.id??Ge[te(957)](je=>je[te(1737)][te(939)]===te(976))?.id,He=Ge[te(1461)](je=>{const Ye=te;if(je.material[Ye(939)]!==Ye(976)||je.id!==Ae)return je;const a0=je.material;return{...je,material:{...a0,config:{...a0[Ye(1402)],startX:Math[Ye(1758)](R[Ye(1722)]),startY:Math[Ye(1758)](R[Ye(595)]),endX:Math[Ye(1758)](R[Ye(1159)]),endY:Math[Ye(1758)](R.endY)}}}}),Te=Ne?.[te(314)]??v;r(e.id,{normalStyle:{x:Math.round(R[te(1715)]),y:Math[te(1758)](R[te(1472)]),width:Math[te(1758)](R[te(1909)]),height:Math[te(1758)](R[te(784)])},contentInfo:{...Te,statusList:He}}),z(null),I[te(1521)]=null,H[te(1521)]=null,U[te(1521)]=null};return window[oe(569)]("mousemove",ce),window[oe(569)](oe(1386),Be),()=>{const te=oe;window[te(1845)]("mousemove",ce),window[te(1845)]("mouseup",Be)}},[C,E,P,e.id,f,v,e[l(314)][l(1996)],r,$]),D[l(1079)](()=>{const oe=l;if(!Y||!r)return;const ce=te=>{const R=_0x1172;if(!O[R(1521)])return;const Ne=$(),Ge=(te[R(1692)]-Y.startX)/Ne,Pe=(te[R(1853)]-Y[R(595)])/Ne,Ae=Y.startRotate,He=Ae*Math.PI/180,Te=Math.cos(He),je=Math[R(1665)](He),Ye=Ge*Te+Pe*je,a0=-Ge*je+Pe*Te;let Re=Y[R(1589)],Qe=Y.startHeight,n0=Y[R(2033)],i0=Y[R(1057)];switch(Y[R(1064)]){case"se":Re=Math[R(879)](20,Y[R(1589)]+Ye),Qe=Math.max(20,Y[R(478)]+a0);break;case"sw":Re=Math[R(879)](20,Y.startWidth-Ye),Qe=Math[R(879)](20,Y[R(478)]+a0),n0=Y[R(2033)]+(Y[R(1589)]-Re);break;case"ne":Re=Math.max(20,Y[R(1589)]+Ye),Qe=Math.max(20,Y[R(478)]-a0),i0=Y.startNodeY+(Y.startHeight-Qe);break;case"nw":Re=Math[R(879)](20,Y[R(1589)]-Ye),Qe=Math[R(879)](20,Y[R(478)]-a0),n0=Y[R(2033)]+(Y[R(1589)]-Re),i0=Y.startNodeY+(Y[R(478)]-Qe);break}if(Ae!==0){let z0=0,h0=0,s0=0,l0=0;switch(Y[R(1064)]){case"se":z0=0,h0=0,s0=0,l0=0;break;case"sw":z0=Y[R(1589)],h0=0,s0=Re,l0=0;break;case"ne":z0=0,h0=Y.startHeight,s0=0,l0=Qe;break;case"nw":z0=Y[R(1589)],h0=Y[R(478)],s0=Re,l0=Qe;break}const G0=z0-Y[R(1589)]/2,H0=h0-Y[R(478)]/2,R0=G0*Te-H0*je,g0=G0*je+H0*Te,T0=s0-Re/2,Je=l0-Qe/2,J0=T0*Te-Je*je,M0=T0*je+Je*Te;n0=Y[R(2033)]+Y[R(1589)]/2-Re/2+R0-J0,i0=Y[R(1057)]+Y[R(478)]/2-Qe/2+g0-M0}W[R(1521)]={x:Math[R(1758)](n0),y:Math[R(1758)](i0),width:Math[R(1758)](Re),height:Math[R(1758)](Qe)};const p0=O[R(1521)];p0.style[R(230)]=Math[R(1758)](n0)+"px",p0.style[R(429)]=Math[R(1758)](i0)+"px",p0[R(183)][R(1909)]=Math.round(Re)+"px",p0[R(183)][R(784)]=Math[R(1758)](Qe)+"px"},Be=()=>{const te=_0x1172,R=W.current;R&&r(e.id,{normalStyle:{...f,x:Math[te(1758)](R.x),y:Math[te(1758)](R.y),width:Math[te(1758)](R.width),height:Math[te(1758)](R[te(784)])}}),T(null),W[te(1521)]=null};return window[oe(569)](oe(1642),ce),window[oe(569)](oe(1386),Be),()=>{const te=oe;window.removeEventListener("mousemove",ce),window[te(1845)](te(1386),Be)}},[Y,r,e.id,f,$]);const ie=D[l(660)]((oe,ce)=>{const Be=l;oe.stopPropagation(),oe.preventDefault(),T({corner:ce,startX:oe[Be(1692)],startY:oe[Be(1853)],startWidth:f[Be(1909)]||100,startHeight:f[Be(784)]||100,startNodeX:f.x||0,startNodeY:f.y||0,startRotate:f[Be(541)]||0})},[f[l(1909)],f[l(784)],f.x,f.y,f[l(541)]]),he=D[l(660)](oe=>{const ce=l;oe[ce(1217)](),oe[ce(800)]();const Be=O[ce(1521)]?.[ce(1309)]();if(!Be)return;X[ce(1521)]={startX:oe[ce(1692)],startY:oe[ce(1853)],startAngle:f.rotate||0,centerX:Be[ce(230)]+Be[ce(1909)]/2,centerY:Be[ce(429)]+Be[ce(784)]/2};const te=f[ce(1142)]||"",R=Pe=>{const Ae=ce;O[Ae(1521)]&&(O[Ae(1521)].style.transform=te?"rotate("+Pe+Ae(1380)+te:"rotate("+Pe+Ae(1167))};R(f[ce(541)]||0);const Ne=Pe=>{const Ae=ce;if(!X[Ae(1521)])return;const He=Pe[Ae(1692)]-X[Ae(1521)].centerX,Te=Pe[Ae(1853)]-X[Ae(1521)].centerY;let Ye=(Math[Ae(1116)](Te,He)*(180/Math.PI)+90)%360;Ye<0&&(Ye+=360),V[Ae(1521)]=Ye,R(Ye)},Ge=()=>{const Pe=ce,Ae=V[Pe(1521)]??X[Pe(1521)][Pe(764)];if(V[Pe(1521)]=null,X[Pe(1521)]=null,r){const He=e[Pe(2032)];r(e.id,{normalStyle:{...He,rotate:Math[Pe(1758)](Ae)}})}O[Pe(1521)]?.[Pe(183)][Pe(2036)]("transform"),window[Pe(1845)](Pe(1642),Ne),window.removeEventListener("mouseup",Ge)};window.addEventListener(ce(1642),Ne),window[ce(569)](ce(1386),Ge)},[f[l(541)],f[l(1142)],r,e.id,e.normalStyle]),ye=e[l(939)]===l(1084),Ce=f[l(1142)]||"",fe=f[l(541)]||0,ee=d||a,be=ee?L?.[l(1847)]:void 0,pe=be?.[l(939)]===l(902),j=be?.[l(1630)]??1e3,q=be?.[l(190)]??.3;D[l(1079)](()=>{const oe=l;if(!O[oe(1521)])return;const ce=O[oe(1521)];if(!pe){ce[oe(183)][oe(1847)]="";return}const Be="node-blink-"+e.id.replace(/[^a-zA-Z0-9]/g,""),te=oe(647)+Be,R=document.getElementById(te);R&&R[oe(1694)]();const Ne=document.createElement("style");return Ne.id=te,Ne.textContent=oe(1773)+Be+" { 0% { opacity: "+q+oe(1834),document[oe(857)][oe(473)](Ne),ce[oe(183)][oe(1847)]=Be+" "+j+oe(1971),()=>{const Ge=oe;Ne[Ge(1694)](),ce&&(ce[Ge(183)][Ge(1847)]="")}},[pe,j,q,e.id]);const se={position:l(405),left:f.x||0,top:f.y||0,width:_,height:Q,background:ye?l(1261):f[l(1617)]||"transparent",backgroundImage:ye?void 0:f[l(1250)]?l(441)+f.backgroundImage+")":void 0,backgroundSize:l(1678),backgroundPosition:l(1235),padding:Array.isArray(f[l(1601)])?f[l(1601)][l(1926)]("px ")+"px":f[l(1601)],margin:Array[l(454)](f[l(475)])?f[l(475)][l(1926)](l(1388))+"px":f[l(475)],borderRadius:ye?void 0:f[l(701)],border:E||ye?"none":n?"2px solid #1890ff":f[l(729)]||"2px dashed transparent",outline:n&&ye&&!E?l(1267):void 0,pointerEvents:l(1832),opacity:f.opacity??1,transform:E?Ce||void 0:Ce?l(439)+fe+l(1380)+Ce:l(439)+fe+l(1167),transformOrigin:l(1627),zIndex:n?1e3:f[l(1981)]??1,cursor:w&&!C?"move":h?l(594):"default",boxSizing:l(1474),overflow:l(n||E||ye?1252:614)},le={width:l(1216),height:l(1216),position:"relative",transformOrigin:l(1627),...f[l(1030)]||f[l(631)]?{transform:l(1732)+(f[l(1030)]?-1:1)+l(1032)+(f[l(631)]?-1:1)+")"}:{}},Le=P?{x:P[l(1722)]||0,y:P.startY||0}:{x:0,y:0},Me=P?{x:P[l(1159)]||0,y:P[l(878)]||0}:{x:0,y:0},ke=s[l(1149)]("div",{ref:O,"data-node-id":e.id,style:se,onClick:oe=>{const ce=l;console[ce(1803)]("NodeRenderer onClick",e.id,ce(275),h);const Be=y[ce(1521)];h&&Be&&!C&&!Y&&!X[ce(1521)]&&(oe[ce(1217)](),Be(oe))},onMouseDown:oe=>{w&&o&&!C&&o(oe)},children:[n&&!E&&s[l(1149)](s.Fragment,{children:[!ye&&s[l(1149)](s[l(895)],{children:[s.jsx(l(1102),{className:l(1288),style:{zIndex:9999,pointerEvents:"auto",cursor:l(1719),marginTop:"-6px",marginLeft:l(1556)},onMouseDown:oe=>ie(oe,"nw"),title:l(188)}),s[l(827)](l(1102),{className:l(1367),style:{zIndex:9999,pointerEvents:"auto",cursor:l(1602),marginTop:"-6px",marginRight:l(1556)},onMouseDown:oe=>ie(oe,"ne"),title:l(188)}),s[l(827)](l(1102),{className:l(726),style:{zIndex:9999,pointerEvents:"auto",cursor:"sw-resize",marginBottom:l(1556),marginLeft:l(1556)},onMouseDown:oe=>ie(oe,"sw"),title:l(188)}),s[l(827)]("div",{className:"absolute bottom-0 right-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:l(1832),cursor:l(925),marginBottom:l(1556),marginRight:l(1556)},onMouseDown:oe=>ie(oe,"se"),title:l(188)})]}),s[l(827)](l(1102),{className:l(270),style:{zIndex:9999,pointerEvents:l(1832),cursor:l(1917),marginTop:l(669),transform:l(962),boxShadow:l(509)},onMouseDown:oe=>he(oe),title:"拖拽旋转"}),s.jsx(l(1102),{className:l(2035),style:{zIndex:9998,pointerEvents:"none",marginTop:l(1790),transform:l(962)}}),s[l(1149)](l(1102),{className:l(1814),children:[e[l(1535)]," ",L?"("+L[l(1535)]+")":""]})]}),n&&E&&P&&r&&s[l(1149)](s[l(895)],{children:[s[l(827)](l(1102),{"data-handle":l(634),className:l(1189),style:{left:Le.x-6,top:Le.y-6,boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:oe=>ne(oe,"start"),title:l(836)}),s[l(827)](l(1102),{"data-handle":"end",className:l(1189),style:{left:Me.x-6,top:Me.y-6,boxShadow:l(509)},onMouseDown:oe=>ne(oe,l(1361)),title:l(1351)}),s.jsx("div",{className:l(1814),children:e.name})]}),s[l(1149)](l(1102),{style:E?void 0:le,className:E?l(662):void 0,children:[s.jsx(l(1102),{className:l(662),children:N?s.jsx(l(1102),{className:"w-full h-full",children:Yl(N,x,n,e,M)}):ye?null:s[l(827)](l(1102),{className:l(711),children:l(963)})}),e[l(939)]===l(1084)&&e.children&&s[l(827)]("div",{className:l(344),children:e[l(1520)][l(1461)](oe=>s[l(827)]("div",{className:"pointer-events-auto",children:s[l(827)](go,{node:oe,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:u,readonly:d})},oe.id))})]})]});return a?s[l(827)](li,{node:e,flowContextData:u,children:ke}):ke},go=D[c(723)](Ul,(e,n)=>{const t=c,o=e[t(1067)],x=n[t(1067)],r=o.id===x.id&&o[t(2032)].x===x[t(2032)].x&&o[t(2032)].y===x[t(2032)].y&&o[t(2032)].width===x[t(2032)][t(1909)]&&o[t(2032)][t(784)]===x.normalStyle[t(784)]&&o[t(2032)][t(541)]===x[t(2032)][t(541)]&&o[t(2032)][t(1030)]===x.normalStyle.flipX&&o[t(2032)][t(631)]===x[t(2032)].flipY,i=o[t(314)]===x[t(314)],a=JSON[t(1087)](e.eventFlowData??null)===JSON[t(1087)](n[t(1279)]??null),u=e.isSelected===n[t(209)]&&e[t(576)]===n.scale&&e[t(1718)]===n[t(1718)]&&e.readonly===n[t(715)]&&a,d=h=>{const w=t,b=[];return h[w(314)]?.[w(1996)]?.[w(1161)](v=>{const M=w;if(v[M(1737)]?.type===M(976)){const m=v[M(1737)].config;b.push({statusId:v.id,startX:m?.[M(1722)]??0,startY:m?.[M(595)]??0,endX:m?.endX??100,endY:m?.[M(878)]??0})}}),b},l=d(o),f=d(x);let g=!0;if(l.length!==f[t(546)])g=!1;else for(let h=0;h<l[t(546)];h++){const w=l[h],b=f[t(957)](v=>v.statusId===w[t(261)]);if(!b||w[t(1722)]!==b[t(1722)]||w[t(595)]!==b[t(595)]||w[t(1159)]!==b.endX||w[t(878)]!==b[t(878)]){g=!1;break}}return r&&i&&u&&g}),Ol=()=>{const e=c,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:a,nextSiblingCanvas:u,prevSiblingCanvas:d,setActiveSiblingGroup:l}=o0(),f=n[e(1756)]??null,g=n[e(855)]||[],[h,w]=D.useState(g[0]?.id??null),b=D.useMemo(()=>g.find(O=>O.id===h)||null,[g,h]),[v,M]=D[e(325)](null),[m,y]=D[e(325)](""),[C,z]=D[e(325)](void 0),I=D[e(1826)](()=>{const O=e;return b?n[O(1641)][O(1338)](Y=>!b[O(1579)][O(645)](Y.id)):n.canvases},[n[e(1641)],b]),U=D.useCallback(()=>{const O=t();w(O)},[t]),H=D[e(660)](O=>{const Y=e,T=m[Y(1280)]();if(!T){p[Y(533)].warning(Y(522));return}x(O,{name:T}),M(null),y("")},[m,x]),W=D[e(660)](()=>{!b||!C||(r(b.id,C),z(void 0))},[b,C,r]);return s[e(1149)](e(1102),{className:e(1525),style:{minHeight:360},children:[s[e(1149)](e(1102),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:220},children:[s[e(1149)](e(1102),{className:"flex items-center justify-between mb-2",children:[s[e(827)]("span",{className:e(1460),children:"同级关系组"}),s[e(827)](p[e(1071)],{type:e(1303),size:"small",icon:s.jsx(ge[e(1676)],{}),onClick:U,children:"新建"})]}),g[e(546)]===0?s.jsx(p[e(1942)],{description:e(1174),image:p[e(1942)][e(1840)],style:{marginTop:40}}):s.jsx(p[e(1337)],{size:"small",dataSource:g,renderItem:O=>{const Y=e,T=O.id===h,X=v===O.id;return s[Y(827)](p.List[Y(1139)],{onClick:()=>{X||w(O.id)},style:{cursor:Y(594),background:T?"rgba(24,144,255,0.08)":void 0,padding:Y(319)},actions:[X?s[Y(827)](p[Y(1071)],{type:"link",size:Y(1664),onClick:V=>{V[Y(1217)](),H(O.id)},children:"保存"}):s[Y(827)](p.Tooltip,{title:Y(1411),children:s[Y(827)](p[Y(1071)],{type:Y(1810),size:Y(1664),icon:s[Y(827)](ge.EditOutlined,{}),onClick:V=>{V.stopPropagation(),M(O.id),y(O.name)}})},Y(742)),s.jsx(p.Popconfirm,{title:"确认删除该同级关系组?",okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:V=>{const L=Y;if(V?.[L(1217)](),o(O.id),h===O.id){const B=g[L(1338)](N=>N.id!==O.id);w(B[0]?.id??null)}},onCancel:V=>V?.stopPropagation(),children:s[Y(827)](p[Y(1071)],{type:Y(1810),size:Y(1664),danger:!0,icon:s[Y(827)](ge[Y(1357)],{}),onClick:V=>V[Y(1217)]()})},Y(2028))],children:X?s[Y(827)](p[Y(1515)],{autoFocus:!0,size:"small",value:m,onChange:V=>y(V.target[Y(867)]),onPressEnter:()=>H(O.id),onClick:V=>V[Y(1217)](),style:{width:140}}):s[Y(1149)]("span",{className:Y(1179),children:[s.jsx("span",{style:{fontWeight:T?600:400},children:O.name}),s[Y(827)](p[Y(679)],{color:Y(245),children:O[Y(1579)][Y(546)]}),f===O.id&&s[Y(827)](p[Y(679)],{color:Y(1687),children:"浏览中"})]})})}})]}),s[e(827)](e(1102),{className:e(1960),style:{minWidth:280},children:b?s.jsxs(s[e(895)],{children:[s[e(1149)](e(1102),{className:"flex items-center justify-between mb-2",children:[s[e(827)](e(1137),{className:"font-semibold text-gray-700",children:"组内画布(按顺序翻页)"}),s[e(1149)](p.Space,{size:e(1664),children:[f===b.id?s[e(827)](p[e(1236)],{title:e(1072),children:s[e(827)](p[e(1071)],{size:"small",onClick:()=>l(null),children:e(385)})}):s[e(827)](p.Tooltip,{title:e(1650),children:s.jsx(p.Button,{size:"small",type:e(1303),ghost:!0,disabled:b[e(1579)][e(546)]===0,onClick:()=>l(b.id),children:e(1656)})}),s[e(827)](p.Tooltip,{title:"翻到上一页(基于当前画布)",children:s[e(827)](p[e(1071)],{size:e(1664),icon:s[e(827)](ge[e(716)],{}),disabled:b[e(1579)].length<2,onClick:()=>d(b.id)})}),s.jsx(p[e(1236)],{title:e(610),children:s.jsx(p.Button,{size:e(1664),icon:s.jsx(ge.RightOutlined,{}),disabled:b[e(1579)][e(546)]<2,onClick:()=>u(b.id)})})]})]}),s[e(1149)](e(1102),{className:e(1237),children:[s.jsx(p[e(244)],{placeholder:e(404),value:C,onChange:z,style:{flex:1},size:e(1664),disabled:I[e(546)]===0,options:I[e(1461)](O=>({label:O[e(1535)],value:O.id}))}),s[e(827)](p[e(1071)],{size:e(1664),type:e(1303),icon:s[e(827)](ge.PlusOutlined,{}),disabled:!C,onClick:W,children:"加入"})]}),b[e(1579)].length===0?s[e(827)](p[e(1942)],{description:"组内还没有画布,从上方选择加入",image:p[e(1942)].PRESENTED_IMAGE_SIMPLE,style:{marginTop:40}}):s[e(827)](p[e(1337)],{size:e(1664),dataSource:b[e(1579)],renderItem:(O,Y)=>{const T=e,X=n[T(1641)].find(B=>B.id===O),V=n[T(1714)]===O,L=b[T(1579)][T(546)];return s[T(827)](p[T(1337)][T(1139)],{style:{padding:T(319)},actions:[s[T(827)](p.Tooltip,{title:"上移",children:s[T(827)](p[T(1071)],{type:T(1810),size:"small",icon:s[T(827)](ge[T(1928)],{}),disabled:Y===0,onClick:()=>a(b.id,O,"up")})},"up"),s[T(827)](p.Tooltip,{title:"下移",children:s[T(827)](p[T(1071)],{type:"text",size:T(1664),icon:s[T(827)](ge[T(1104)],{}),disabled:Y===L-1,onClick:()=>a(b.id,O,T(1242))})},T(1242)),s[T(827)](p.Tooltip,{title:T(1319),children:s[T(827)](p[T(1071)],{type:T(1810),size:T(1664),danger:!0,icon:s.jsx(ge.DeleteOutlined,{}),onClick:()=>i(b.id,O)})},T(1694))],children:s[T(1149)](T(1137),{className:T(1179),children:[s.jsx(p[T(679)],{children:Y+1}),s[T(827)](T(1137),{style:{fontWeight:V?600:400},children:X?.[T(1535)]??T(2029)+O[T(1512)](0,6)+")"}),V&&s.jsx(p[T(679)],{color:T(1687),children:"当前"})]})})}})]}):s[e(827)](p.Empty,{description:e(1334),image:p[e(1942)][e(1840)],style:{marginTop:60}})})]})},Gl=[c(1089),c(1688),c(192),c(813),c(1010),c(566),c(929),c(362),c(322),"#262626",c(1628),c(1317),"#ffffff","#000000",c(573),"#73d13d"],On=({value:e=c(1089),onChange:n,onChangeComplete:t})=>{const o=c,[x,r]=D[o(325)](!1),[i,a]=D[o(325)](e),u=D[o(671)](null);D[o(1079)](()=>{a(e)},[e]),D[o(1079)](()=>{const l=o,f=g=>{const h=_0x1172;u[h(1521)]&&!u[h(1521)][h(1014)](g.target)&&(r(!1),t?.({toHexString:()=>i}))};return x&&document[l(569)](l(1042),f),()=>document[l(1845)](l(1042),f)},[x,t,i]);const d=l=>{a(l),n?.({toHexString:()=>l})};return s[o(1149)](o(1102),{ref:u,style:{position:o(214),display:"inline-block"},children:[s.jsx(o(1102),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:"1px solid #d9d9d9",borderRadius:4,cursor:"pointer"}}),x&&s[o(1149)](o(1102),{style:{position:o(405),top:32,left:0,zIndex:1e3,background:"#fff",padding:8,borderRadius:4,boxShadow:"0 2px 8px rgba(0,0,0,0.15)",border:"1px solid #f0f0f0"},children:[s[o(827)](o(1102),{style:{display:o(1410),gridTemplateColumns:o(714),gap:4},children:Gl[o(1461)](l=>s[o(827)](o(1102),{onClick:()=>{d(l),r(!1),t?.({toHexString:()=>l})},style:{width:20,height:20,backgroundColor:l,border:o(i===l?1267:886),borderRadius:2,cursor:o(594)}},l))}),s[o(827)](o(933),{type:o(1311),value:i,onChange:l=>d(l[o(1562)][o(867)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:"100%",marginTop:8,height:28,border:"1px solid #d9d9d9",borderRadius:4}})]})]})},{TextArea:Hl}=p[c(1515)];function Tl(e){const n=c;if(!e||!(e instanceof HTMLElement))return!1;const t=e[n(1333)];return!!(t==="INPUT"||t===n(356)||t==="SELECT"||t===n(1453)||e[n(1144)]||e[n(589)](n(751))||e[n(589)](n(1995))||e[n(589)](n(2011))||e[n(589)](n(2026)))}function Vl(e){const n=c,t=e[n(2032)][n(541)]||0,o=e[n(2032)][n(1142)]||"";return e[n(314)]?.statusList?.some(r=>r[n(1737)].type==="LINE")??!1?o:o?n(439)+t+n(1380)+o:t?"rotate("+t+"deg)":""}function ql(e,n,t,o){const x=c,r=x(778)+t+x(1972)+o+x(873);e[x(183)][x(1142)]=n?r+" "+n:r}const fi=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=c,i=D.useRef(null),a=D.useRef(null),u=D.useRef(null),{nodes:d,selectedNodeId:l,selectedNodeIds:f,mode:g,lineDrawing:h,viewport:w,canvas:b,root:v,setViewport:M,setCanvasConfig:m,addNode:y,selectNode:C,updateNode:z,removeNode:I,bringToFront:U,sendToBack:H,undo:W,redo:O,setMode:Y,startLineDrawing:T,endLineDrawing:X,cancelLineDrawing:V,addCanvas:L,removeCanvas:B,switchCanvas:N,updateCanvasName:E,exportCanvas:P,importCanvas:A,setSelectedNodeIds:_,eventFlow:Q,addEventRoot:$,addEventBlock:ne}=o0(),[ie,he]=D[r(325)](!1),[,ye]=D[r(325)]({}),Ce=D[r(671)](g);D.useEffect(()=>{const k=r;Ce[k(1521)]=g},[g]),D[r(1079)](()=>{Y(n?"preview":"select")},[n,Y]);const fe=n&&o&&b.width>0?Math[r(984)](o/b[r(1909)],1):.5,ee=n&&o?1:5,be=n&&o&&b.width>0?fe:1,pe=n&&o?"viewport-"+o+"-"+(x||r(1832))+r(1493)+b[r(1909)]+"-"+b[r(784)]:"default",j=D[r(671)](be),q=D[r(671)](!1),se=D[r(671)]({x:0,y:0}),le=D.useRef({x:0,y:0,newX:0,newY:0}),Le=D[r(671)](null),Me=D[r(671)](""),[ke,oe]=D[r(325)]({start:null,end:null,isDrawing:!1}),[ce,Be]=D[r(325)]({start:null,end:null}),te=f,R=_;D[r(671)](!1);const[Ne,Ge]=D[r(325)](!1),[Pe,Ae]=D[r(325)](!1),[He,Te]=D.useState(()=>JSON[r(1087)](e??null,null,2)),je=D.useMemo(()=>{const k=r;if(!Pe)return e;try{return JSON[k(440)](He)}catch{return e}},[He,e,Pe]),Ye=D[r(1826)](()=>{const k=je;if(k!==null&&typeof k=="object")return k;if(k!==void 0)return{_payload:k}},[je]),a0=D[r(1826)](()=>{const k=r,S=je;return S!==null&&typeof S=="object"&&!Array[k(454)](S)?S:Array[k(454)](S)?{_telemetryRows:S}:S==null?{}:{_payload:S}},[je]),Re=D[r(660)](()=>{const k=r;let S=e;if(Pe)try{S=JSON[k(440)](He)}catch{S=e}Te(JSON.stringify(S??null,null,2)),Ge(!0)},[He,e,Pe]),[Qe,n0]=D.useState(!1),[i0,p0]=D[r(325)](!1),[z0,h0]=D.useState(""),[s0,l0]=D[r(325)](!1),G0=D[r(660)](()=>{const k=r;try{const S=P(),Z=JSON[k(1087)](S,null,2),J="data:application/json;charset=utf-8,"+encodeURIComponent(Z),F=k(544)+S.canvas.name+"_"+Date[k(1580)]()+k(981),G=document[k(1793)]("a");G[k(484)]("href",J),G.setAttribute(k(1332),F),G.click(),p[k(533)][k(741)](k(1263))}catch{p.message[k(907)](k(703))}},[P]),H0=D.useCallback(()=>{const k=r;try{const S=JSON[k(440)](z0);s0?A(S):A(S,v[k(1714)]||void 0),p0(!1),h0(""),l0(!1),p[k(533)][k(741)](k(624))}catch{p[k(533)].error(k(1603))}},[z0,s0,A,v.currentCanvasId]),R0=D[r(660)](k=>{const S=r,Z=new FileReader;return Z[S(1145)]=J=>{const F=S;try{const G=J.target?.result,K=JSON[F(440)](G);s0?A(K):A(K,v[F(1714)]||void 0),p[F(533)][F(741)]("画布导入成功!"),p0(!1),l0(!1)}catch{p[F(533)][F(907)](F(650))}},Z[S(1324)](k),!1},[s0,A,v[r(1714)]]),[g0,T0]=D[r(325)](!1),Je=D[r(660)]((k,S)=>{const Z=r;if(!a.current)return{x:0,y:0};const J=a.current[Z(1309)](),F=k-J[Z(230)],G=S-J[Z(429)],K=J[Z(1909)]/b[Z(1909)],de=J[Z(784)]/b[Z(784)],re=F/K,xe=G/de;return{x:Math.round(re),y:Math.round(xe)}},[b[r(1909)],b.height]),J0=D[r(660)]((k,S)=>Je(k,S),[Je]),M0=D[r(660)]((k,S,Z=!0)=>{const J=r;if(!h[J(1737)])return;const F=h[J(1737)],G=F[J(1402)]||{},K=G[J(1037)]||G[J(463)]||2,de=Math.round(Math.min(k.x,S.x)),re=Math.round(Math[J(984)](k.y,S.y)),xe=Math[J(1758)](k.x)-de,ue=Math[J(1758)](k.y)-re,me=Math[J(1758)](S.x)-de,Se=Math.round(S.y)-re,ze=Math.max(K*2,4),ve=Math[J(879)](Math[J(609)](me-xe),ze),Xe=Math.max(Math[J(609)](Se-ue),ze),Oe=S.x-k.x,ae=S.y-k.y,we=Math[J(1758)](Math.atan2(ae,Oe)*(180/Math.PI)),Ve={...F,id:Ie[J(349)](),config:{color:G[J(1311)],lineWeight:K,thickness:K,lineType:G[J(1608)],startX:xe,startY:ue,endX:me,endY:Se,rotate:we}},Ze={id:Ie.nanoid(),name:F.name+"_"+Date.now(),type:J(1517),normalStyle:{width:ve,height:Xe,x:de,y:re,background:"transparent"},contentInfo:{statusList:[io(Ve)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(y(Ze,!1),Z){const c0={x:S.x,y:S.y};oe({start:c0,end:{...c0},isDrawing:!0})}else oe({start:null,end:null,isDrawing:!1}),X()},[h[r(1737)],y,X]),Cn=D[r(660)](()=>{const k=r,S=i[k(1521)]?.instance;if(!S)return;const Z=S[k(942)];j[k(1521)]=Z[k(576)],M({scale:Z[k(576)],positionX:0,positionY:0})},[M]),sn=D[r(660)](k=>{const S=r;q[S(1521)]||g!==S(1762)&&(k[S(1562)]===a[S(1521)]||k[S(1562)][S(1768)]?.[S(384)]===S(374))&&(C(null),R([]))},[C,g]),Mn=D[r(660)](k=>{const S=r;if(k[S(1034)]===0){if(g===S(477)&&h.material){k.stopPropagation();const Z=Je(k[S(1692)],k[S(1853)]);ke[S(1734)]?ke[S(634)]&&M0(ke[S(634)],Z,!0):oe({start:Z,end:Z,isDrawing:!0});return}if(g===S(1762)&&!g0){const Z=J0(k[S(1692)],k[S(1853)]);Be({start:Z,end:Z}),R([]),C(null),k[S(800)](),k[S(1217)]()}}},[g,h.material,ke.isDrawing,ke[r(634)],g0,M0,Je,J0]),sr=D[r(660)](k=>{const S=r;if(!(g!=="line-draw"||!h[S(1737)])&&ke[S(1734)]&&ke[S(634)]){const Z=Je(k.clientX,k.clientY);M0(ke.start,Z,!1)}},[g,h[r(1737)],ke[r(1734)],ke.start,M0,Je]),lr=D.useCallback(k=>{const S=r;k[S(800)](),k[S(1454)].dropEffect=S(858),he(!0)},[]),dr=D[r(660)](k=>{k[r(800)](),he(!1)},[]),ur=D[r(660)](k=>{const S=r;if(k[S(800)](),he(!1),!(!a[S(1521)]||g!==S(1419)&&g!==S(1762)))try{const Z=k[S(1454)][S(1044)](S(309));if(!Z)return;const J=JSON[S(440)](Z),F=Je(k[S(1692)],k[S(1853)]),G=F.x-50,K=F.y-50,de=Yr(G,K,J);y(de),R([de.id])}catch(Z){console[S(907)](S(1258),Z)}},[g,y,Je,R]),fr=D.useCallback((k,S)=>{const Z=r;g!=="select"&&g!==Z(1762)||!S.controlInfo[Z(996)]||(k[Z(1217)](),C(S.id),q[Z(1521)]=!0,se[Z(1521)]={x:k[Z(1692)],y:k[Z(1853)]},le[Z(1521)]={x:S[Z(2032)].x||0,y:S[Z(2032)].y||0,newX:S[Z(2032)].x||0,newY:S[Z(2032)].y||0},Le[Z(1521)]=S,Me[Z(1521)]=Vl(S),k[Z(800)]())},[g,C]),Yt=D[r(660)](k=>{const S=r,Z=te[S(546)]>0?te:l?[l]:[];Z[S(546)]!==0&&Z[S(1161)](J=>{const F=S,G=d[F(957)](Ke=>Ke.id===J);if(!G)return;const K=G[F(314)][F(1996)][F(957)](Ke=>Ke[F(1737)].type===F(976));if(!K)return;const de=K[F(1737)],re=de[F(1402)]||{},xe=re[F(1722)]??0,ue=re[F(595)]??0,me=re[F(1159)]??100,Se=re[F(878)]??0,ze=me-xe,ve=Se-ue,Xe=Math.sqrt(ze*ze+ve*ve);let Oe=me,ae=Se;if(k===F(201)){const Ke=ze>=0?1:-1;Oe=xe+Ke*Xe,ae=ue}else{const Ke=ve>=0?1:-1;Oe=xe,ae=ue+Ke*Xe}const we=re.lineWeight||re.thickness||2,Ve=Math[F(879)](we*2,4),Ze=Math[F(984)](xe,Oe),c0=Math[F(984)](ue,ae),F0=Math.max(xe,Oe),qt=Math[F(879)](ue,ae),et=Math[F(1758)]((G[F(2032)].x||0)+Ze),nt=Math[F(1758)]((G[F(2032)].y||0)+c0),Q0=Math[F(1758)](xe-Ze),Dn=Math[F(1758)](ue-c0),Ln=Math[F(1758)](Oe-Ze),Sn=Math[F(1758)](ae-c0),Nn=Math[F(1758)](Math.max(F0-Ze,Ve)),tt=Math.round(Math.max(qt-c0,Ve)),kn=Ln-Q0,In=Sn-Dn,xt=Math[F(1758)](Math[F(1116)](In,kn)*(180/Math.PI)),B0=G[F(314)][F(1996)][F(1461)](Ke=>{const $0=F;return Ke.id!==K.id?Ke:{...Ke,material:{...Ke[$0(1737)],config:{...Ke[$0(1737)].config,startX:Q0,startY:Dn,endX:Ln,endY:Sn,rotate:xt}}}});z(J,{normalStyle:{...G[F(2032)],x:et,y:nt,width:Nn,height:tt},contentInfo:{...G.contentInfo,statusList:B0}})})},[l,te,d,z]);D[r(1079)](()=>{const k=r,S=G=>{const K=_0x1172;if(q.current&&l&&Le[K(1521)]){if(!a[K(1521)])return;const de=a[K(1521)][K(1309)](),re=G[K(1692)]-se[K(1521)].x,xe=G[K(1853)]-se.current.y,ue=de[K(1909)]/b[K(1909)],me=re/ue,Se=xe/ue,ze=le[K(1521)].x+me,ve=le[K(1521)].y+Se,Xe=ze-le[K(1521)].x,Oe=ve-le[K(1521)].y,ae=document[K(999)]('[data-node-id="'+l+'"]');ae&&ql(ae,Me[K(1521)],Xe,Oe),le[K(1521)][K(1591)]=ze,le[K(1521)][K(769)]=ve}if(g===K(1762)&&ce[K(634)]){const de=J0(G[K(1692)],G[K(1853)]);Be(re=>({...re,end:de}))}if(g===K(477)&&ke[K(1734)]){const de=Je(G.clientX,G[K(1853)]);oe(re=>({...re,end:de}))}},Z=()=>{const G=_0x1172;if(q[G(1521)]&&l&&Le[G(1521)]){const K=o0.getState(),de=le.current[G(1591)]??le[G(1521)].x,re=le[G(1521)][G(769)]??le[G(1521)].y,xe=document[G(999)](G(1545)+l+'"]');xe&&xe[G(183)][G(2036)](G(1142)),K.updateNode(l,{normalStyle:{...Le[G(1521)].normalStyle,x:Math.round(de),y:Math[G(1758)](re)}})}if(q[G(1521)]=!1,Le[G(1521)]=null,Me[G(1521)]="",ye({}),g===G(1762)&&ce[G(634)]&&ce[G(1361)]){const K=Math[G(984)](ce.start.x,ce[G(1361)].x),de=Math[G(879)](ce[G(634)].x,ce[G(1361)].x),re=Math[G(984)](ce[G(634)].y,ce.end.y),xe=Math[G(879)](ce[G(634)].y,ce[G(1361)].y),ue=d[G(1338)](me=>{const Se=G,ze=me[Se(2032)].x||0,ve=me.normalStyle.y||0,Xe=me[Se(2032)][Se(1909)]||0,Oe=me.normalStyle[Se(784)]||0,ae=ze+Xe/2,we=ve+Oe/2;return ae>=K&&ae<=de&&we>=re&&we<=xe})[G(1461)](me=>me.id);R(ue),Be({start:null,end:null})}},J=G=>{const K=_0x1172;if(!Tl(G[K(1562)])){if(G[K(1712)]===K(713)&&g===K(477)&&(oe({start:null,end:null,isDrawing:!1}),V()),G[K(1712)]===K(299)&&(l?I(l):te[K(546)]>0&&(te.forEach(de=>I(de)),R([]))),G[K(1727)]&&G[K(1712)]==="z"&&(G[K(800)](),W()),G[K(1727)]&&G[K(1712)]==="y"&&(G[K(800)](),O()),(g===K(1419)||g===K(1762))&&(G[K(1712)]==="ArrowLeft"||G[K(1712)]==="ArrowRight"||G[K(1712)]===K(207)||G.key===K(1268))){const de=te[K(546)]>0?te:l?[l]:[];if(de[K(546)]>0){G[K(800)]();const re=G[K(1712)]===K(492)?-2:G[K(1712)]===K(1684)?2:0,xe=G[K(1712)]===K(207)?-2:G[K(1712)]===K(1268)?2:0;de[K(1161)](ue=>{const me=K,Se=d[me(957)](ze=>ze.id===ue);Se&&z(ue,{normalStyle:{...Se.normalStyle,x:(Se[me(2032)].x||0)+re,y:(Se[me(2032)].y||0)+xe}})})}}(g===K(1419)||g==="box-select")&&(G.key==="h"||G[K(1712)]==="H")&&(G[K(800)](),Yt(K(201))),(g==="select"||g===K(1762))&&(G[K(1712)]==="v"||G[K(1712)]==="V")&&(G[K(800)](),Yt(K(1331))),G[K(1712)]===" "&&(G[K(800)](),!g0&&T0(!0))}},F=G=>{G[_0x1172(1712)]===" "&&g0&&T0(!1)};return window.addEventListener(k(1642),S),window[k(569)](k(1386),Z),window[k(569)](k(1008),J),window[k(569)](k(847),F),()=>{const G=k;window[G(1845)](G(1642),S),window[G(1845)](G(1386),Z),window.removeEventListener(G(1008),J),window[G(1845)](G(847),F)}},[l,ce,g,ke[r(1734)],te,d,b[r(1909)],b[r(784)],I,W,g0,O,V,Je,J0,R,z,Yt]);const Wx=(k,S=!0)=>{const Z=r,J={...k,id:Ie.nanoid(),name:k[Z(1535)]+Z(1429),normalStyle:{...k[Z(2032)],x:(k.normalStyle.x||0)+(S?20:0),y:(k[Z(2032)].y||0)+(S?20:0)}};return k[Z(939)]==="group"&&k[Z(1520)]&&(J[Z(1520)]=k[Z(1520)][Z(1461)](F=>Wx(F,!1))),J},Qn=D[r(660)]((k,S,Z)=>{const J=r;Z[J(1683)](k.id,S.id),k[J(939)]==="group"&&k[J(1520)]&&S.type==="group"&&S[J(1520)]&&k[J(1520)][J(1161)]((F,G)=>{Qn(F,S.children[G],Z)})},[]),Ut=D[r(660)]((k,S)=>{const Z=r,J=new Map;k.flowData.nodes.forEach(de=>{const re=_0x1172,xe=de.data[re(1272)],ue=ne({name:xe[re(1535)],callback:xe.callback,inputs:xe.inputs[re(1461)](me=>({...me})),outputs:xe[re(1066)][re(1461)](me=>({...me})),executorType:xe[re(1968)],dataRequestKey:xe[re(1623)],externalHandlerKey:xe[re(1952)],builtinId:xe[re(1173)],builtinConfig:xe[re(1537)]?{...xe.builtinConfig}:void 0,bindNodeId:xe[re(1105)]?S:void 0,position:xe[re(1980)]?{...xe[re(1980)]}:void 0});J.set(xe.id,ue)});const F=new Map,G=k[Z(1475)][Z(376)].map(de=>{const re=Z,xe=Ie.nanoid();F[re(1683)](de.id,xe);const ue=J[re(750)](de[re(1912)]),me=de[re(269)][re(1272)];return{...de,id:xe,eventBlockId:ue,position:{...de.position},inputs:[],outputs:[],data:{...de[re(269)],label:de[re(269)][re(1865)],eventBlock:{...me,id:ue,inputs:me[re(2012)].map(Se=>({...Se})),outputs:me[re(1066)][re(1461)](Se=>({...Se})),bindNodeId:me[re(1105)]?S:void 0,position:me[re(1980)]?{...me[re(1980)]}:void 0,builtinConfig:me[re(1537)]?{...me[re(1537)]}:void 0}}}});G[Z(1161)](de=>{const re=Z,xe=k.flowData[re(376)][re(957)](ue=>F[re(750)](ue.id)===de.id);xe&&(de.inputs=xe[re(2012)][re(1461)](ue=>F[re(750)](ue)),de[re(1066)]=xe.outputs[re(1461)](ue=>F[re(750)](ue)))});const K=k.flowData[Z(1631)][Z(1461)](de=>({...de,id:Ie[Z(349)](),source:F[Z(750)](de[Z(916)]),target:F[Z(750)](de[Z(1562)]),dataMapping:de[Z(1592)]?{...de[Z(1592)]}:void 0}));$({bindNodeId:S,eventType:k[Z(1743)],externalEventKey:k.externalEventKey,flowData:{nodes:G,edges:K},enabled:k[Z(1412)],copyOnDuplicate:k[Z(1757)]})},[ne,$]),Ot=D[r(660)](()=>{const k=r,S=te[k(546)]>0?te[k(1461)](F=>d.find(G=>G.id===F))[k(1338)](Boolean):l?[d[k(957)](F=>F.id===l)][k(1338)](Boolean):[];if(S[k(546)]===0)return;const Z=[],J=new Map;S[k(1161)](F=>{const G=k,K=Wx(F);Qn(F,K,J),y(K),Z[G(1699)](K.id)}),Q[k(1789)][k(1161)](F=>{const G=k,K=J.get(F[G(1105)]);K&&F[G(1757)]!==!1&&Ut(F,K)}),Z[k(546)]===1?C(Z[0]):R(Z)},[l,te,d,y,C,R,Q,Qn,Ut]),Xx=D[r(660)](k=>{const S=r,Z=k[S(2032)].x||0,J=k[S(2032)].y||0,F=k[S(2032)][S(1909)]||0,G=k[S(2032)][S(784)]||0,K=k.normalStyle.rotate||0;if(!K)return{minX:Z,minY:J,maxX:Z+F,maxY:J+G};const de=Z+F/2,re=J+G/2,xe=K*Math.PI/180,ue=Math[S(206)](xe),me=Math[S(1665)](xe),Se=[{x:-F/2,y:-G/2},{x:F/2,y:-G/2},{x:F/2,y:G/2},{x:-F/2,y:G/2}];let ze=1/0,ve=1/0,Xe=-1/0,Oe=-1/0;for(const ae of Se){const we=de+ae.x*ue-ae.y*me,Ve=re+ae.x*me+ae.y*ue;ze=Math[S(984)](ze,we),ve=Math[S(984)](ve,Ve),Xe=Math[S(879)](Xe,we),Oe=Math[S(879)](Oe,Ve)}return{minX:ze,minY:ve,maxX:Xe,maxY:Oe}},[]),Zx=D[r(660)](k=>{const S=r,Z=k[S(2032)].x||0,J=k.normalStyle.y||0,F=k.normalStyle.width||0,G=k[S(2032)][S(784)]||0,K=k[S(2032)][S(541)]||0;if(!K)return(k.children||[])[S(1461)](ze=>({...ze,normalStyle:{...ze[S(2032)],x:Math[S(1758)](Z+(ze[S(2032)].x||0)),y:Math.round(J+(ze[S(2032)].y||0))}}));const de=K*Math.PI/180,re=Math[S(206)](de),xe=Math.sin(de),ue=Z+F/2,me=J+G/2,Se=(ze,ve)=>{const Xe=ze-F/2,Oe=ve-G/2;return{x:ue+Xe*re-Oe*xe,y:me+Xe*xe+Oe*re}};return(k[S(1520)]||[]).map(ze=>{const ve=S;if(ze.contentInfo.statusList[ve(1918)](Q0=>Q0[ve(1737)][ve(939)]===ve(976))){const Q0=ze[ve(2032)].x||0,Dn=ze[ve(2032)].y||0,Ln=ze[ve(2032)][ve(1909)]||0,Sn=ze.normalStyle[ve(784)]||0,Nn=ze[ve(2032)][ve(541)]||0,tt=Nn*Math.PI/180,kn=Math[ve(206)](tt),In=Math[ve(1665)](tt),xt=(E0,_e)=>{const u0=E0-Ln/2,D0=_e-Sn/2,t0=u0*kn-D0*In+Ln/2,$e=u0*In+D0*kn+Sn/2;return Se(Q0+t0,Dn+$e)};let B0=1/0,Ke=1/0,$0=-1/0,ot=-1/0,A0=2;const en=ze[ve(314)][ve(1996)][ve(1461)](E0=>{const _e=ve;if(E0[_e(1737)][_e(939)]!==_e(976))return null;const u0=E0[_e(1737)][_e(1402)]||{},D0=xt(u0[_e(1722)]||0,u0[_e(595)]||0),t0=xt(u0[_e(1159)]||0,u0[_e(878)]||0);return B0=Math[_e(984)](B0,D0.x,t0.x),Ke=Math[_e(984)](Ke,D0.y,t0.y),$0=Math[_e(879)]($0,D0.x,t0.x),ot=Math[_e(879)](ot,D0.y,t0.y),A0=Math[_e(879)](A0,u0[_e(1037)]||u0.thickness||2),{s:D0,e:t0}});if(Number[ve(789)](B0)&&Number[ve(789)](Ke)){const E0=Math[ve(879)](A0*2,4),_e=Math[ve(879)]($0-B0,E0),u0=Math[ve(879)](ot-Ke,E0),D0=ze[ve(314)][ve(1996)][ve(1461)]((t0,$e)=>{const x0=ve,d0=en[$e];if(!d0||t0[x0(1737)][x0(939)]!==x0(976))return t0;const f0=t0[x0(1737)];return{...t0,material:{...f0,config:{...f0[x0(1402)]||{},startX:Math.round(d0.s.x-B0),startY:Math[x0(1758)](d0.s.y-Ke),endX:Math[x0(1758)](d0.e.x-B0),endY:Math[x0(1758)](d0.e.y-Ke)}}}});return{...ze,normalStyle:{...ze.normalStyle,x:Math[ve(1758)](B0),y:Math[ve(1758)](Ke),width:Math[ve(1758)](_e),height:Math[ve(1758)](u0),rotate:0},contentInfo:{...ze[ve(314)],statusList:D0}}}return{...ze,normalStyle:{...ze[ve(2032)],x:Z+Q0,y:J+Dn,rotate:0}}}const Oe=ze[ve(2032)][ve(1909)]||0,ae=ze[ve(2032)][ve(784)]||0,we=ze.normalStyle.x||0,Ve=ze.normalStyle.y||0,Ze=we+Oe/2-F/2,c0=Ve+ae/2-G/2,F0=ue+Ze*re-c0*xe,qt=me+Ze*xe+c0*re,et=ze.normalStyle[ve(541)]||0,nt=((et+K)%360+360)%360;return{...ze,normalStyle:{...ze[ve(2032)],x:F0-Oe/2,y:qt-ae/2,rotate:nt}}})},[]),Kx=D[r(660)](()=>{const k=r;if(te.length<2)return;const S=[];for(let re=0;re<te[k(546)];re++){const xe=te[re],ue=d.find(me=>me.id===xe);if(ue){if(ue?.type===k(1084)){Zx(ue)[k(1161)](Se=>S[k(1699)](Se)),I(xe);continue}S.push(ue)}}if(S[k(546)]<2)return;let Z=1/0,J=1/0,F=-1/0,G=-1/0;S[k(1161)](re=>{const xe=k,ue=Xx(re);Z=Math[xe(984)](Z,ue[xe(1825)]),J=Math[xe(984)](J,ue[xe(1201)]),F=Math.max(F,ue.maxX),G=Math[xe(879)](G,ue.maxY)});const K=S[k(1461)](re=>{const xe=k,ue={...re,normalStyle:{...re[xe(2032)],x:Math[xe(1758)]((re[xe(2032)].x||0)-Z),y:Math[xe(1758)]((re[xe(2032)].y||0)-J)}};return re[xe(314)][xe(1996)][xe(1918)](Se=>Se.material[xe(939)]==="LINE")?{...ue,contentInfo:{...ue[xe(314)],statusList:ue[xe(314)].statusList[xe(1461)](Se=>{const ze=xe;if(Se[ze(1737)].type!==ze(976))return Se;const ve=Se[ze(1737)][ze(1402)]||{};return{...Se,material:{...Se.material,config:{...ve,startX:Math[ze(1758)](ve[ze(1722)]??0),startY:Math[ze(1758)](ve[ze(595)]??0),endX:Math.round(ve[ze(1159)]??0),endY:Math[ze(1758)](ve[ze(878)]??0)}}}})}}:ue}),de={id:Ie[k(349)](),name:k(819)+Date[k(1580)](),type:"group",normalStyle:{x:Math.round(Z),y:Math[k(1758)](J),width:Math[k(1758)](F-Z),height:Math[k(1758)](G-J),background:"transparent"},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:K};te[k(1161)](re=>I(re)),y(de),R([]),C(de.id)},[te,d,I,y,C,Zx,Xx]),Rx=k=>{const S=r,Z={...k,id:Ie[S(349)]()};return k.type==="group"&&k.children&&(Z[S(1520)]=k[S(1520)].map(J=>Rx(J))),Z},Jx=D.useCallback(()=>{const k=r,S=te[k(546)]>0?te[k(1461)](Z=>d[k(957)](J=>J.id===Z)).filter(Z=>!!Z&&Z[k(939)]===k(1084)):l?[d[k(957)](Z=>Z.id===l)].filter(Z=>!!Z&&Z.type===k(1084)):[];S[k(546)]!==0&&(S.forEach(Z=>{const J=k;if(!Z[J(1520)]||Z.children[J(546)]===0)return;const F=Z[J(2032)].x||0,G=Z[J(2032)].y||0,K=Z[J(2032)].width||0,de=Z[J(2032)].height||0,re=Z[J(2032)].rotate||0,xe=re*Math.PI/180,ue=Math[J(206)](xe),me=Math[J(1665)](xe),Se=F+K/2,ze=G+de/2,ve=(Oe,ae)=>{const we=Oe-K/2,Ve=ae-de/2;return{x:Se+we*ue-Ve*me,y:ze+we*me+Ve*ue}},Xe=Z[J(1520)][J(1461)](Oe=>{const ae=J,we=Rx(Oe);if(we[ae(314)][ae(1996)][ae(1918)](Nn=>Nn[ae(1737)][ae(939)]===ae(976))){const Nn=we[ae(2032)].x||0,tt=we[ae(2032)].y||0,kn=we[ae(2032)][ae(1909)]||0,In=we[ae(2032)][ae(784)]||0,xt=we[ae(2032)].rotate||0,B0=xt*Math.PI/180,Ke=Math[ae(206)](B0),$0=Math.sin(B0),ot=(t0,$e)=>{const x0=t0-kn/2,d0=$e-In/2,f0=x0*Ke-d0*$0+kn/2,vr=x0*$0+d0*Ke+In/2;return ve(Nn+f0,tt+vr)};let A0=1/0,en=1/0,E0=-1/0,_e=-1/0,u0=2;const D0=we.contentInfo[ae(1996)].map(t0=>{const $e=ae;if(t0.material[$e(939)]!==$e(976))return null;const x0=t0[$e(1737)][$e(1402)]||{},d0=ot(x0[$e(1722)]||0,x0[$e(595)]||0),f0=ot(x0.endX||0,x0[$e(878)]||0);return A0=Math[$e(984)](A0,d0.x,f0.x),en=Math[$e(984)](en,d0.y,f0.y),E0=Math[$e(879)](E0,d0.x,f0.x),_e=Math[$e(879)](_e,d0.y,f0.y),u0=Math[$e(879)](u0,x0[$e(1037)]||x0.thickness||2),{s:d0,e:f0}});if(Number[ae(789)](A0)&&Number.isFinite(en)){const t0=Math.max(u0*2,4),$e=Math[ae(879)](E0-A0,t0),x0=Math.max(_e-en,t0),d0=we[ae(314)][ae(1996)][ae(1461)]((f0,vr)=>{const rt=ae,Wt=D0[vr];if(!Wt||f0.material.type!==rt(976))return f0;const Ns=f0.material;return{...f0,material:{...Ns,config:{...Ns[rt(1402)]||{},startX:Math[rt(1758)](Wt.s.x-A0),startY:Math[rt(1758)](Wt.s.y-en),endX:Math[rt(1758)](Wt.e.x-A0),endY:Math[rt(1758)](Wt.e.y-en)}}}});return{...we,normalStyle:{...we[ae(2032)],x:Math.round(A0),y:Math[ae(1758)](en),width:Math[ae(1758)]($e),height:Math[ae(1758)](x0),rotate:0},contentInfo:{...we[ae(314)],statusList:d0}}}}const Ze=we[ae(2032)][ae(1909)]||0,c0=we[ae(2032)][ae(784)]||0,F0=we[ae(2032)].x||0,qt=we[ae(2032)].y||0,et=F0+Ze/2-K/2,nt=qt+c0/2-de/2,Q0=Se+et*ue-nt*me,Dn=ze+et*me+nt*ue,Ln=we.normalStyle[ae(541)]||0,Sn=((Ln+re)%360+360)%360;return{...we,normalStyle:{...we[ae(2032)],x:Q0-Ze/2,y:Dn-c0/2,rotate:Sn}}});I(Z.id),Xe[J(1161)](Oe=>y(Oe))}),R([]),C(null))},[l,te,d,I,y,C,R]),Gt=D.useCallback(k=>{const S=r;if(te[S(546)]<1)return;const Z=te.map(J=>d[S(957)](F=>F.id===J))[S(1338)](J=>!!J);if(Z.length===1&&Z[0][S(939)]===S(1084)){const J=Z[0];if(!J[S(1520)]||J.children.length<2)return;const F=[...J.children];let G=1/0,K=1/0,de=-1/0,re=-1/0;if(k===S(201)){const xe=[...F][S(430)]((ae,we)=>(ae[S(2032)].x||0)-(we[S(2032)].x||0));let ue=1/0,me=-1/0,Se=0;xe.forEach(ae=>{const we=S,Ve=ae[we(2032)].x||0,Ze=ae[we(2032)][we(1909)]||0;ue=Math[we(984)](ue,Ve),me=Math[we(879)](me,Ve+Ze),Se+=Ze});const ze=(me-ue-Se)/(xe[S(546)]-1);let ve=ue;const Xe=new Map;xe[S(1161)](ae=>{const we=S;Xe[we(1683)](ae.id,ve),ve+=(ae[we(2032)].width||0)+ze});const Oe=F[S(1461)](ae=>({...ae,normalStyle:{...ae[S(2032)],x:Xe[S(750)](ae.id)??ae[S(2032)].x}}));Oe.forEach(ae=>{const we=S,Ve=ae.normalStyle.x||0,Ze=ae[we(2032)].y||0,c0=ae.normalStyle[we(1909)]||0,F0=ae.normalStyle[we(784)]||0;G=Math[we(984)](G,Ve),K=Math[we(984)](K,Ze),de=Math.max(de,Ve+c0),re=Math[we(879)](re,Ze+F0)}),z(J.id,{normalStyle:{...J.normalStyle,x:Math[S(1758)]((J[S(2032)].x||0)+G),y:Math[S(1758)]((J.normalStyle.y||0)+K),width:Math[S(1758)](de-G),height:Math[S(1758)](re-K)},children:Oe[S(1461)](ae=>({...ae,normalStyle:{...ae[S(2032)],x:Math[S(1758)]((ae.normalStyle.x||0)-G),y:Math[S(1758)]((ae[S(2032)].y||0)-K)}}))})}else{const xe=[...F][S(430)]((ae,we)=>(ae[S(2032)].y||0)-(we[S(2032)].y||0));let ue=1/0,me=-1/0,Se=0;xe[S(1161)](ae=>{const we=S,Ve=ae.normalStyle.y||0,Ze=ae[we(2032)][we(784)]||0;ue=Math.min(ue,Ve),me=Math[we(879)](me,Ve+Ze),Se+=Ze});const ze=(me-ue-Se)/(xe[S(546)]-1);let ve=ue;const Xe=new Map;xe[S(1161)](ae=>{const we=S;Xe[we(1683)](ae.id,ve),ve+=(ae[we(2032)][we(784)]||0)+ze});const Oe=F[S(1461)](ae=>({...ae,normalStyle:{...ae[S(2032)],y:Xe[S(750)](ae.id)??ae[S(2032)].y}}));Oe[S(1161)](ae=>{const we=S,Ve=ae.normalStyle.x||0,Ze=ae[we(2032)].y||0,c0=ae.normalStyle[we(1909)]||0,F0=ae[we(2032)].height||0;G=Math[we(984)](G,Ve),K=Math[we(984)](K,Ze),de=Math[we(879)](de,Ve+c0),re=Math[we(879)](re,Ze+F0)}),z(J.id,{normalStyle:{...J[S(2032)],x:(J[S(2032)].x||0)+G,y:(J[S(2032)].y||0)+K,width:de-G,height:re-K},children:Oe[S(1461)](ae=>({...ae,normalStyle:{...ae.normalStyle,x:(ae[S(2032)].x||0)-G,y:(ae[S(2032)].y||0)-K}}))})}return}if(!(Z.length<2))if(k===S(201)){const J=[...Z][S(430)]((xe,ue)=>{const me=S;return(xe.normalStyle.x||0)-(ue[me(2032)].x||0)});let F=1/0,G=-1/0,K=0;J[S(1161)](xe=>{const ue=S,me=xe.normalStyle.x||0,Se=xe[ue(2032)][ue(1909)]||0;F=Math[ue(984)](F,me),G=Math[ue(879)](G,me+Se),K+=Se});const de=(G-F-K)/(J.length-1);let re=F;J[S(1161)](xe=>{const ue=S,me=re;z(xe.id,{normalStyle:{...xe[ue(2032)],x:Math.round(me)}}),re+=(xe[ue(2032)][ue(1909)]||0)+de})}else{const J=[...Z][S(430)]((xe,ue)=>{const me=S;return(xe[me(2032)].y||0)-(ue[me(2032)].y||0)});let F=1/0,G=-1/0,K=0;J[S(1161)](xe=>{const ue=S,me=xe[ue(2032)].y||0,Se=xe[ue(2032)][ue(784)]||0;F=Math[ue(984)](F,me),G=Math[ue(879)](G,me+Se),K+=Se});const de=(G-F-K)/(J.length-1);let re=F;J.forEach(xe=>{const ue=S,me=re;z(xe.id,{normalStyle:{...xe[ue(2032)],y:Math[ue(1758)](me)}}),re+=(xe[ue(2032)].height||0)+de})}},[te,d,z]),ln=k=>{const S=r,Z=k[S(314)][S(1996)][S(957)](J=>J[S(1737)].type===S(976));return Z?Z[S(1737)][S(1402)]:null},Bn=D.useCallback(k=>{const S=r;if(te[S(546)]<2)return;const Z=o0[S(724)](),J=te[S(1461)](G=>d[S(957)](K=>K.id===G))[S(1338)](G=>!!G);if(J.length<2)return;let F=0;switch(k){case S(230):F=Math.min(...J[S(1461)](G=>{const K=S,de=ln(G);return de?(G[K(2032)].x||0)+(de[K(1722)]||0):G[K(2032)].x||0}));break;case S(458):F=Math[S(879)](...J[S(1461)](G=>{const K=S,de=ln(G);return de?(G[K(2032)].x||0)+(de[K(1159)]||0):(G.normalStyle.x||0)+(G[K(2032)][K(1909)]||0)}));break;case S(429):F=Math[S(984)](...J[S(1461)](G=>{const K=S,de=ln(G);return de?(G[K(2032)].y||0)+(de.startY||0):G.normalStyle.y||0}));break;case S(1682):F=Math[S(879)](...J[S(1461)](G=>{const K=S,de=ln(G);return de?(G.normalStyle.y||0)+(de[K(878)]||0):(G[K(2032)].y||0)+(G[K(2032)][K(784)]||0)}));break}J[S(1161)](G=>{const K=S;let de=G.normalStyle.x||0,re=G.normalStyle.y||0;const xe=ln(G);switch(k){case K(230):xe?de=F-(xe.startX||0):de=F;break;case K(458):xe?de=F-(xe[K(1159)]||0):de=F-(G.normalStyle[K(1909)]||0);break;case K(429):xe?re=F-(xe[K(595)]||0):re=F;break;case"bottom":xe?re=F-(xe[K(878)]||0):re=F-(G[K(2032)][K(784)]||0);break}Z[K(1846)](G.id,{normalStyle:{...G[K(2032)],x:Math[K(1758)](de),y:Math.round(re)}})})},[te,d]),br=[{icon:s[r(827)](ge[r(848)],{}),title:r(1202),active:g==="select",onClick:()=>{Y(r(1419))}},{icon:s.jsx(ge[r(278)],{}),title:r(1842),active:g==="box-select",onClick:()=>{Y(r(1762)),R([])}},{icon:s.jsx(ge[r(198)],{}),title:r(1999),active:g===r(2015),onClick:()=>{Y(r(2015))}},{icon:s.jsx(ge[r(816)],{}),title:"线条绘制",active:g===r(477),onClick:()=>{Y(r(477))}},{icon:s[r(827)](ge[r(1506)],{}),title:r(1828),active:g===r(1897),onClick:()=>{Y(r(1897))}}],_0=D[r(660)](()=>te[r(546)]>0?te:l?[l]:[],[te,l]),_x=D[r(660)](()=>{const k=r,S=_0();if(S[k(546)]===0)return;d[k(1338)](J=>S[k(645)](J.id))[k(1461)](J=>J.id).forEach(J=>U(J))},[_0,d,U]),Fx=D[r(660)](()=>{const k=r,S=_0();if(S[k(546)]===0)return;[...d[k(1338)](J=>S[k(645)](J.id))[k(1461)](J=>J.id)].reverse().forEach(J=>H(J))},[_0,d,H]),Ht=D.useCallback(k=>{const S=r,Z=_0();Z.length!==0&&Z[S(1161)](J=>{const F=S,G=d[F(957)](de=>de.id===J);!G||G[F(939)]==="group"||!G[F(314)][F(1996)].some(de=>de.material[F(939)]===F(1740))||(k===F(201)?z(J,{normalStyle:{...G[F(2032)],flipX:!G.normalStyle[F(1030)]}}):z(J,{normalStyle:{...G[F(2032)],flipY:!G.normalStyle[F(631)]}}))})},[_0,d,z]),hr=_0(),$n=hr[r(1918)](k=>{const S=r,Z=d[S(957)](J=>J.id===k);return Z&&Z[S(939)]!==S(1084)&&Z[S(314)].statusList.some(J=>J[S(1737)].type===S(1740))}),{actionButtonsRow1:gr,actionButtonsRow2:yr}=D[r(1826)](()=>({actionButtonsRow1:[{icon:s.jsx(ge[r(1289)],{}),title:r(236),disabled:!l&&te[r(546)]===0,onClick:_x},{icon:s[r(827)](ge[r(1858)],{}),title:r(396),disabled:!l&&te[r(546)]===0,onClick:Fx},{icon:s[r(827)](ge[r(1110)],{}),title:r(1168),disabled:!l&&te[r(546)]===0,onClick:Ot},{icon:s[r(827)](ge[r(278)],{}),title:r(1531),disabled:te[r(546)]<2,onClick:Kx},{icon:s[r(827)](ge[r(1557)],{}),title:r(592),disabled:!l&&te[r(546)]===0,onClick:Jx},{icon:s[r(827)](ge.SettingOutlined,{}),title:"画布配置",onClick:()=>n0(!0)},{icon:s[r(827)](ge[r(397)],{}),title:r(515),type:"primary",onClick:Re},{icon:s[r(827)](ge[r(1357)],{}),title:r(1305),disabled:!l&&te[r(546)]===0,onClick:()=>{const k=r;l?I(l):te.length>0&&(te[k(1161)](S=>I(S)),R([]))}}],actionButtonsRow2:[{icon:s[r(827)](ge[r(1843)],{}),title:r(1929),disabled:te[r(546)]<2,onClick:()=>Bn(r(230))},{icon:s[r(827)](ge.AlignRightOutlined,{}),title:"右对齐",disabled:te[r(546)]<2,onClick:()=>Bn(r(458))},{icon:s[r(827)](ge[r(850)],{}),title:r(842),disabled:te[r(546)]<2,onClick:()=>Bn(r(429))},{icon:s[r(827)](ge.VerticalAlignBottomOutlined,{}),title:r(1e3),disabled:te[r(546)]<2,onClick:()=>Bn(r(1682))},{icon:s[r(827)](ge[r(1325)],{}),title:r(865),disabled:(()=>{const k=r;if(te[k(546)]>=2)return!1;if(te[k(546)]===1){const S=d.find(Z=>Z.id===te[0]);return!(S?.type==="group"&&S[k(1520)]&&S[k(1520)].length>=2)}return!0})(),onClick:()=>Gt(r(201))},{icon:s[r(827)](ge[r(1450)],{}),title:"垂直分布",disabled:(()=>{const k=r;if(te[k(546)]>=2)return!1;if(te[k(546)]===1){const S=d.find(Z=>Z.id===te[0]);return!(S?.[k(939)]===k(1084)&&S.children&&S[k(1520)][k(546)]>=2)}return!0})(),onClick:()=>Gt(r(1331))},{icon:s[r(827)](ge.SwapOutlined,{}),title:r(1194),disabled:!$n,onClick:()=>Ht(r(201))},{icon:s[r(827)](r(1137),{style:{display:"inline-flex",transform:"rotate(90deg)"},children:s[r(827)](ge[r(358)],{})}),title:r(1133),disabled:!$n,onClick:()=>Ht(r(1331))}]}),[W,O,g,Y,R,te,Kx,Jx,Ot,Bn,Gt,_x,Fx,n0,Ge,Re,l,I,v.currentCanvasId,$n,Ht,d]),[mr,Qx]=D[r(325)](!1),[$x,Tt]=D[r(325)](""),[eo,Vt]=D[r(325)](null);return s.jsxs(r(1102),{className:r(321)+(n?"":r(1052)),children:[!n&&s[r(1149)](r(1102),{className:r(1931),children:[s.jsxs(p.Space,{children:[br[r(1461)](k=>s[r(827)](p[r(1236)],{title:k[r(212)],children:s[r(827)](p[r(1071)],{type:k[r(756)]?r(1303):r(1744),icon:k[r(215)],onClick:k.onClick})},k[r(212)])),s[r(827)]("div",{className:"w-px h-6 bg-gray-300 mx-2"}),s[r(827)](p[r(244)],{value:v[r(1714)],onChange:N,style:{width:140},dropdownRender:k=>s[r(1149)](s[r(895)],{children:[k,s[r(827)](r(1102),{className:r(329),children:s[r(827)](p[r(1071)],{type:"link",size:r(1664),block:!0,onClick:()=>Qx(!0),children:"管理画布..."})})]}),children:v[r(1641)][r(1461)](k=>s[r(827)](p[r(244)][r(607)],{value:k.id,children:k[r(1535)]},k.id))}),s[r(827)](p[r(1071)],{icon:s[r(827)](ge.PlusOutlined,{}),size:r(1664),onClick:()=>L(),title:r(1549)}),s[r(827)](p[r(1236)],{title:r(437),children:s[r(827)](p.Button,{icon:s[r(827)](ge.DownloadOutlined,{}),size:r(1664),onClick:G0})}),s[r(827)](p[r(1236)],{title:"导入画布",children:s[r(827)](p[r(1071)],{icon:s.jsx(ge[r(1564)],{}),size:r(1664),onClick:()=>p0(!0)})})]}),s[r(1149)](p[r(1844)],{direction:"vertical",size:4,children:[s[r(827)](p[r(1844)],{children:gr[r(1461)](k=>s[r(827)](p[r(1236)],{title:k[r(212)],children:s[r(827)](p[r(1071)],{type:k.active?r(1303):k.type||"default",icon:k[r(215)],onClick:S=>{const Z=r;k[Z(235)](),S[Z(1274)][Z(1976)]()},disabled:k[r(507)]})},k.title))}),s[r(827)](p[r(1844)],{children:yr[r(1461)](k=>s.jsx(p[r(1236)],{title:k.title,children:s[r(827)](p.Button,{type:k[r(756)]?"primary":k[r(939)]||r(1744),icon:k[r(215)],onClick:S=>{const Z=r;k.onClick(),S[Z(1274)][Z(1976)]()},disabled:k[r(507)]})},k.title))})]})]}),s[r(827)](r(1102),{ref:u,className:r(1584)+(n?"":"flex-1"),style:n&&o?{display:r(1407),justifyContent:r(1776),alignItems:r(1776)}:void 0,onWheel:n&&o?k=>{const S=r;k.preventDefault(),k[S(1217)]();const Z=i[S(1521)];if(!Z)return;const J=j.current,F=.1,G=k[S(420)]>0?Math[S(879)](J-F,fe):Math[S(984)](J+F,ee);Z[S(2003)](0,0,G,0)}:void 0,children:s[r(827)](Zt[r(252)],{ref:i,initialScale:be,initialPositionX:0,initialPositionY:0,minScale:fe,maxScale:ee,onTransformed:Cn,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!g0&&g!=="drag",velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:k,zoomOut:S,resetTransform:Z})=>s[r(1149)](s[r(895)],{children:[!n&&s.jsx(r(1102),{className:r(774),children:s.jsxs(p.Space,{direction:r(1331),children:[s.jsx(p[r(1236)],{title:"放大",children:s[r(827)](p.Button,{icon:s.jsx(ge.ZoomInOutlined,{}),onClick:()=>k()})}),s[r(827)](p[r(1236)],{title:"缩小",children:s[r(827)](p[r(1071)],{icon:s[r(827)](ge.ZoomOutOutlined,{}),onClick:()=>S()})}),s.jsx(p.Tooltip,{title:r(1033),children:s[r(827)](p[r(1071)],{onClick:()=>Z(),children:r(1216)})}),s[r(1149)](r(1102),{className:"text-center text-xs text-gray-500",children:[Math.round(w[r(576)]*100),"%"]})]})}),s.jsx(Zt.TransformComponent,{wrapperStyle:n&&o?{width:o,height:x||b.height*(j[r(1521)]||1)+"px",position:r(214),overflow:"hidden"}:{width:r(1216),height:n?b[r(784)]*(j.current||1)+"px":r(1216),position:r(214),overflow:n?r(1252):"hidden"},contentStyle:{width:n?b[r(1909)]+"px":r(1216),height:n?b[r(784)]+"px":r(1216),display:r(1407),alignItems:n?r(1776):"center",justifyContent:n?"flex-start":r(1235)},children:s[r(1149)](r(1102),{ref:a,"data-canvas":r(374),className:r(1584)+(ie?r(1731):"")+" "+(g==="line-draw"?r(343):"")+" "+(g0?r(1220):""),style:{width:b[r(1909)],height:b[r(784)],flexShrink:0,backgroundColor:b[r(1617)],backgroundImage:b[r(1250)]?r(441)+b.backgroundImage+")":void 0,backgroundSize:r(1678),backgroundPosition:"center"},onClick:sn,onMouseDown:Mn,onDoubleClick:sr,onDragOver:lr,onDragLeave:dr,onDrop:ur,children:[t&&!n&&s[r(1149)](r(1102),{className:r(725),style:{width:b[r(1909)],height:b[r(784)]},children:[s[r(827)]("img",{src:t,alt:"",className:"absolute top-0 left-0 select-none",draggable:!1}),s.jsx(r(804),{className:r(1185),width:1920,height:1080,children:s[r(827)](r(698),{x:"0",y:"0",width:"1920",height:r(728),fill:r(408),stroke:"yellow",strokeWidth:"2"})})]}),b[r(708)]!==!1&&s[r(1149)]("svg",{className:"absolute top-0 left-0 pointer-events-none",width:b[r(1909)],height:b[r(784)],children:[s[r(827)]("defs",{children:s[r(827)](r(1059),{id:r(1410),width:"20",height:"20",patternUnits:"userSpaceOnUse",children:s[r(827)](r(1449),{d:r(1016),fill:r(408),stroke:"#f0f0f0",opacity:r(1124),strokeWidth:"1"})})}),s.jsx(r(698),{width:r(1216),height:r(1216),fill:r(1119)})]}),d[r(1461)](J=>s[r(827)](go,{node:J,isSelected:g===r(1897)?!1:l===J.id||te[r(645)](J.id),data:Ye,onClick:g===r(1897)?void 0:F=>{const G=r;console[G(1803)](G(426),J.id,G(1992),Ce.current),Ce[G(1521)]!=="line-draw"&&(F[G(1022)]?(C(J.id),R([...te,J.id])):(C(J.id),R([J.id])))},onMouseDown:g===r(1897)?void 0:F=>fr(F,J),onUpdateNode:g===r(1897)?void 0:(F,G)=>z(F,G),scale:w[r(576)],enableEventFlow:g===r(1897),eventFlowData:a0,readonly:n},""+J.id)),g==="line-draw"&&ke[r(1734)]&&ke.start&&ke.end&&s.jsx(r(804),{className:r(1185),width:b[r(1909)],height:b[r(784)],children:s[r(827)](r(1153),{x1:ke[r(634)].x,y1:ke[r(634)].y,x2:ke[r(1361)].x,y2:ke[r(1361)].y,stroke:r(1089),strokeWidth:"2",strokeDasharray:r(743),strokeLinecap:r(1758),strokeLinejoin:r(1758)})}),g==="box-select"&&ce[r(634)]&&ce[r(1361)]&&s[r(827)](r(1102),{className:"absolute border-2 border-blue-500 bg-blue-500/10 pointer-events-none",style:{left:Math[r(984)](ce.start.x,ce[r(1361)].x),top:Math[r(984)](ce[r(634)].y,ce.end.y),width:Math[r(609)](ce[r(1361)].x-ce.start.x),height:Math.abs(ce[r(1361)].y-ce.start.y),zIndex:9999}})]})})]})},pe)}),s[r(827)](p.Modal,{title:r(515),open:Ne,onCancel:()=>Ge(!1),footer:null,children:s[r(827)](p.Form,{layout:r(1331),children:s[r(827)](p[r(1987)][r(1139)],{label:"测试数据 (JSON)",children:s[r(827)](Hl,{value:He,onChange:k=>{const S=r;Ae(!0),Te(k[S(1562)][S(867)])},rows:10,placeholder:"输入 JSON 格式的测试数据;未编辑前画布跟随外部 defaultTestData(如监控推送)"})})})}),s[r(827)](p[r(616)],{title:r(915),open:Qe,onCancel:()=>n0(!1),footer:null,children:s[r(1149)](p[r(1987)],{layout:r(1331),children:[s[r(827)](p[r(1987)].Item,{label:"宽度",children:s.jsx(p[r(480)],{value:b[r(1909)],onChange:k=>m({width:k||1920}),min:100,max:5e3,style:{width:"100%"}})}),s[r(827)](p.Form.Item,{label:"高度",children:s[r(827)](p.InputNumber,{value:b[r(784)],onChange:k=>m({height:k||1080}),min:100,max:5e3,style:{width:r(1216)}})}),s.jsx(p[r(1987)][r(1139)],{label:"显示网格",children:s.jsx(p[r(339)],{checked:b[r(708)]!==!1,onChange:k=>m({showGrid:k})})}),s.jsx(p.Form[r(1139)],{label:"背景色",children:s.jsxs("div",{className:"flex items-center gap-2",children:[s[r(827)](On,{value:b[r(1617)]||"#00193C",onChange:k=>m({background:k.toHexString()})}),s[r(827)](p[r(1515)],{value:b[r(1617)],onChange:k=>m({background:k[r(1562)][r(867)]}),placeholder:r(180)})]})}),s[r(1149)](p[r(1987)].Item,{label:r(1415),children:[s[r(1149)](r(1102),{className:r(1179),children:[s[r(827)](p[r(1798)],{accept:r(1227),showUploadList:!1,beforeUpload:k=>{const S=r;if(!k[S(939)][S(2018)](S(727)))return p.message[S(907)]("只能上传图片文件!"),!1;const J=new FileReader;return J.onload=F=>{const G=S,K=F[G(1562)]?.[G(584)];m({backgroundImage:K}),p[G(533)].success(G(1571))},J[S(1275)](k),!1},children:s.jsx(p.Button,{icon:s[r(827)](ge[r(1564)],{}),children:r(1026)})}),s[r(827)](p[r(1515)],{value:b[r(1250)],onChange:k=>m({backgroundImage:k[r(1562)][r(867)]}),placeholder:"输入图片 URL 或上传图片",style:{flex:1}}),b[r(1250)]&&s[r(827)](p[r(1071)],{icon:s[r(827)](ge[r(418)],{}),onClick:()=>m({backgroundImage:void 0}),danger:!0,size:"small"})]}),b.backgroundImage&&s[r(827)](r(1102),{className:"mt-2 p-2 border rounded",style:{maxWidth:r(1216)},children:s[r(827)](r(1993),{src:b[r(1250)],alt:r(1100),style:{maxWidth:r(1216),maxHeight:120,objectFit:"contain"}})})]})]})}),s[r(827)](p[r(616)],{title:r(379),open:mr,onCancel:()=>{Qx(!1),Vt(null),Tt("")},footer:null,width:760,children:s[r(827)](p[r(1769)],{items:[{key:r(1641),label:r(1985),children:s[r(1149)](s[r(895)],{children:[s[r(827)](p[r(1337)],{dataSource:v.canvases,renderItem:k=>s[r(827)](p[r(1337)][r(1139)],{actions:[eo===k.id?s[r(827)](p.Button,{type:"primary",size:r(1664),onClick:()=>{E(k.id,$x),Vt(null)},children:"保存"}):s.jsx(p[r(1071)],{type:"text",icon:s.jsx(ge.EditOutlined,{}),size:"small",onClick:()=>{const S=r;Vt(k.id),Tt(k[S(1535)])}}),v[r(1641)][r(546)]>1&&s[r(827)](p[r(1071)],{type:"text",danger:!0,icon:s.jsx(ge[r(1357)],{}),size:r(1664),onClick:()=>B(k.id)})].filter(Boolean),children:eo===k.id?s[r(827)](p[r(1515)],{value:$x,onChange:S=>Tt(S[r(1562)][r(867)]),size:r(1664),style:{width:200}}):s.jsxs(r(1137),{style:{fontWeight:v.currentCanvasId===k.id?r(1270):r(1517)},children:[k.name," ",v.currentCanvasId===k.id&&"(当前)"]})})}),s[r(827)](r(1102),{className:r(280),children:s[r(827)](p[r(1071)],{type:r(1303),icon:s[r(827)](ge[r(1676)],{}),onClick:()=>L(),children:r(1549)})})]})},{key:r(581),label:"同级关系",children:s.jsx(Ol,{})}]})}),s.jsx(p[r(616)],{title:r(1488),open:i0,onOk:H0,onCancel:()=>{p0(!1),h0(""),l0(!1)},destroyOnClose:!0,width:600,children:s[r(1149)](r(1102),{className:r(1428),children:[s.jsxs(r(1102),{children:[s[r(827)]("p",{className:r(1012),children:r(798)}),s[r(827)](r(933),{type:"file",accept:r(981),onChange:k=>{const S=r,Z=k[S(1562)][S(1326)]?.[0];Z&&R0(Z)},className:r(1786)})]}),s[r(827)]("div",{className:r(1364),children:"或"}),s.jsxs(r(1102),{children:[s[r(827)]("p",{className:"mb-2",children:r(288)}),s[r(827)](r(588),{value:z0,onChange:k=>h0(k[r(1562)][r(867)]),placeholder:r(694),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"})]}),s[r(1149)](r(1102),{className:r(1179),children:[s[r(827)](r(933),{type:r(1935),id:"importAsNewCanvas",checked:s0,onChange:k=>l0(k[r(1562)][r(1977)]),className:"w-4 h-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500"}),s.jsx(r(1865),{htmlFor:"importAsNewCanvas",className:"text-sm text-gray-700",children:r(221)})]})]})})]})},{Option:tx}=p[c(244)];function bi(e){return Array.isArray(e)}function Wl(e){const n=c,t=new Set;return e[n(1161)](o=>Object.keys(o).forEach(x=>t[n(1463)](x))),Array[n(1839)](t)}function Xl(e,n){const t=c;return e[t(1461)]((o,x)=>{const r=t,i=o[n],a=o[r(1535)];return{label:String(a??"项 "+(x+1)),value:typeof i=="string"||typeof i===r(181)?i:String(i)}})}function hi(e,n=""){const t=c,o=[];for(const[x,r]of Object[t(255)](e)){const i=n?n+"."+x:x;r!==null&&typeof r===t(1129)&&!Array[t(454)](r)?o[t(1699)](...hi(r,i)):o[t(1699)]({paramsCode:i,paramsName:i,value:r})}return o}function Zl(e,n,t){const o=c;if(bi(e)){if(n!=null&&t!=null){const x=e[o(957)](r=>r[n]===t);if(x)return x}return{}}return e}const Kl=({material:e,onSave:n})=>{const t=c,o=e,x=o[t(1626)]||{},r=o0(y=>y[t(938)]),[i,a]=D.useState({label:x[t(1865)]||"",value:x.value||"",valueSourceCode:x[t(191)]||"",unit:x[t(538)]||"",decimals:x[t(572)]??2,labelFontSize:x.labelStyle?.[t(1403)]||14,labelFontWeight:x[t(295)]?.[t(1970)]||"bold",labelColor:x[t(295)]?.[t(1311)]||"#262626",valueFontSize:x[t(1020)]?.[t(1403)]||14,valueFontWeight:x.valueStyle?.[t(1970)]||t(1517),valueColor:x[t(1020)]?.color||t(1089),boundDatasetId:x.boundDatasetId||"",boundDatasetBindCode:x[t(1916)]||"",boundDatasetBindValue:x[t(1764)]??null}),u=D[t(1826)](()=>r[t(957)](C=>C.id===i.boundDatasetId),[r,i.boundDatasetId]),d=u?bi(u[t(970)]):!1,l=D.useMemo(()=>{const y=t;if(!u)return[];const C=Zl(u[y(970)],i.boundDatasetBindCode,i[y(1764)]);return hi(C)},[u,i[t(1916)],i[t(1764)]]);D[t(1079)](()=>{const y=t;a({label:x[y(1865)]||"",value:x[y(867)]||"",valueSourceCode:x[y(191)]||"",unit:x[y(538)]||"",decimals:x[y(572)]??2,labelFontSize:x.labelStyle?.[y(1403)]||14,labelFontWeight:x[y(295)]?.[y(1970)]||y(1270),labelColor:x.labelStyle?.[y(1311)]||y(1169),valueFontSize:x[y(1020)]?.[y(1403)]||14,valueFontWeight:x[y(1020)]?.[y(1970)]||"normal",valueColor:x[y(1020)]?.[y(1311)]||y(1089),boundDatasetId:x[y(375)]||"",boundDatasetBindCode:x[y(1916)]||"",boundDatasetBindValue:x.boundDatasetBindValue??null})},[e.id]);const f=(y,C)=>{a(z=>({...z,[y]:C}))},g=y=>{a(C=>({...C,boundDatasetId:y,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetId:y||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},h=y=>{a(C=>({...C,boundDatasetBindCode:y||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:y||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},w=y=>{a(C=>({...C,boundDatasetBindValue:y??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:y??void 0,valueSourceCode:void 0}})},0)},b=y=>{const C=t,z=l[C(957)](U=>U[C(1554)]===y),I=z?.[C(538)]||"";a(U=>({...U,valueSourceCode:y,unit:I,value:String(z?.[C(867)]||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:y,value:String(z?.[C(867)]||""),unit:I}})},0)},v=()=>{const y=t;n({content:{...x,label:i[y(1865)],value:i[y(867)],valueSourceCode:i[y(191)],unit:i[y(538)],decimals:i.decimals,boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i[y(1916)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[y(914)],fontWeight:i[y(1923)],color:i[y(333)]},valueStyle:{fontSize:i[y(353)],fontWeight:i[y(466)],color:i[y(1707)]}}})},M=u&&d?Wl(u[t(970)]):[],m=u&&d&&i.boundDatasetBindCode?Xl(u.sample,i[t(1916)]):[];return s[t(1149)](t(1102),{className:"space-y-4",children:[s[t(827)](p.Divider,{style:{marginTop:0},children:"文本内容"}),s[t(1149)](p[t(1987)],{layout:t(1331),children:[s.jsx(p[t(1987)][t(1139)],{label:t(754),children:s[t(827)](p.Input,{value:i[t(1865)],onChange:y=>f("label",y[t(1562)].value),onBlur:v,placeholder:"输入标签文本"})}),s[t(827)](p[t(1987)][t(1139)],{label:t(1791),help:"选择数据池中的数据集作为数据源",children:s[t(827)](p.Select,{allowClear:!0,placeholder:r.length===0?t(2039):"选择数据集",value:i[t(375)]||void 0,onChange:g,style:{width:t(1216)},options:r[t(1461)](y=>({label:y.name,value:y.id}))})}),u&&d&&s.jsxs(s.Fragment,{children:[s[t(827)](p[t(1987)][t(1139)],{label:t(496),help:t(1172),children:s[t(827)](p[t(244)],{allowClear:!0,placeholder:t(676),value:i.boundDatasetBindCode||void 0,onChange:h,style:{width:"100%"},options:M[t(1461)](y=>({label:y,value:y}))})}),i.boundDatasetBindCode&&s[t(827)](p.Form.Item,{label:t(238),help:t(1893),children:s[t(827)](p[t(244)],{allowClear:!0,showSearch:!0,placeholder:"选择绑定值",value:i[t(1764)]??void 0,onChange:w,style:{width:"100%"},options:m,filterOption:(y,C)=>String(C?.[t(1865)]??"").toLowerCase()[t(645)](y.toLowerCase()),onInputKeyDown:y=>{y.key===" "&&y.stopPropagation()}})})]}),s[t(827)](p[t(1987)][t(1139)],{label:t(892),help:u?t(1147):"请先绑定数据集",children:s[t(827)](p.Select,{value:i[t(191)]||void 0,onChange:b,placeholder:t(u?1816:449),allowClear:!0,disabled:!u,style:{width:"100%"},options:l[t(1461)](y=>({value:y.paramsCode,label:y[t(733)]}))})}),s[t(827)](p.Form[t(1139)],{label:i.valueSourceCode?t(1395):t(273),help:i[t(191)]?t(747):t(1876),children:s[t(827)](p.Input,{value:i[t(867)],onChange:y=>f(t(867),y[t(1562)][t(867)]),onBlur:v,placeholder:i[t(191)]?t(423):t(1432),disabled:!!i[t(191)],variant:i[t(191)]?t(264):void 0})}),s[t(827)](p[t(1987)].Item,{label:"单位",help:t(293),children:s[t(827)](p[t(1515)],{value:i.unit,onChange:y=>f(t(538),y[t(1562)][t(867)]),onBlur:v,placeholder:t(1543),suffix:i.valueSourceCode&&l.length>0?s[t(827)](p[t(679)],{color:t(245),style:{marginRight:-8},children:"自动"}):null})}),s.jsx(p[t(1987)].Item,{label:t(814),help:t(1183),children:s.jsx(p[t(480)],{value:i[t(572)],onChange:y=>f(t(572),y??2),onBlur:v,min:-1,max:10,style:{width:t(1216)}})})]}),s.jsx(p[t(312)],{children:t(1578)}),s[t(1149)](p[t(1987)],{layout:t(1331),children:[s[t(1149)](p[t(1844)],{children:[s[t(827)](p.Form[t(1139)],{label:t(1937),children:s.jsx(p[t(480)],{value:i.labelFontSize,onChange:y=>f(t(914),y||14),onBlur:v,min:8,max:72})}),s[t(827)](p[t(1987)][t(1139)],{label:"字体粗细",children:s[t(1149)](p[t(244)],{value:i.labelFontWeight,onChange:y=>{f(t(1923),y),setTimeout(v,0)},style:{width:100},children:[s[t(827)](tx,{value:t(1517),children:"正常"}),s[t(827)](tx,{value:t(1270),children:"粗体"})]})})]}),s[t(827)](p[t(1987)][t(1139)],{label:"文字颜色",children:s[t(1149)](t(1102),{className:"flex items-center gap-2",children:[s.jsx(On,{value:i[t(333)]||t(1169),onChange:y=>{const C=t;f(C(333),y[C(937)]())},onChangeComplete:y=>{const C=t;n({content:{...x,label:i[C(1865)],value:i.value,valueSourceCode:i.valueSourceCode,unit:i.unit,decimals:i[C(572)],boundDatasetId:i[C(375)]||void 0,boundDatasetBindCode:i[C(1916)]||void 0,boundDatasetBindValue:i[C(1764)]??void 0,labelStyle:{fontSize:i[C(914)],fontWeight:i.labelFontWeight,color:y[C(937)]()},valueStyle:{fontSize:i[C(353)],fontWeight:i[C(466)],color:i[C(1707)]}}})}}),s.jsx(p.Input,{value:i[t(333)],onChange:y=>f(t(333),y[t(1562)][t(867)]),onBlur:v,placeholder:t(1169),style:{width:100}})]})})]}),s[t(827)](p.Divider,{children:t(949)}),s[t(1149)](p[t(1987)],{layout:t(1331),children:[s[t(1149)](p.Space,{children:[s[t(827)](p.Form[t(1139)],{label:t(1937),children:s[t(827)](p.InputNumber,{value:i.valueFontSize,onChange:y=>f("valueFontSize",y||14),onBlur:v,min:8,max:72})}),s[t(827)](p[t(1987)].Item,{label:"字体粗细",children:s[t(1149)](p.Select,{value:i.valueFontWeight,onChange:y=>{f(t(466),y),setTimeout(v,0)},style:{width:100},children:[s.jsx(tx,{value:t(1517),children:"正常"}),s.jsx(tx,{value:"bold",children:"粗体"})]})})]}),s.jsx(p[t(1987)][t(1139)],{label:t(643),children:s[t(1149)](t(1102),{className:"flex items-center gap-2",children:[s.jsx(On,{value:i[t(1707)]||"#1890ff",onChange:y=>{f(t(1707),y.toHexString())},onChangeComplete:y=>{const C=t;n({content:{...x,label:i[C(1865)],value:i[C(867)],valueSourceCode:i.valueSourceCode,unit:i[C(538)],decimals:i[C(572)],boundDatasetId:i[C(375)]||void 0,boundDatasetBindCode:i[C(1916)]||void 0,boundDatasetBindValue:i[C(1764)]??void 0,labelStyle:{fontSize:i[C(914)],fontWeight:i.labelFontWeight,color:i[C(333)]},valueStyle:{fontSize:i[C(353)],fontWeight:i[C(466)],color:y.toHexString()}}})}}),s.jsx(p[t(1515)],{value:i[t(1707)],onChange:y=>f(t(1707),y[t(1562)].value),onBlur:v,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Rl=({material:e,onSave:n})=>{const t=c,o=e,[x,r]=D.useState({name:e[t(1535)],src:o[t(1784)]||"",backgroundColor:o[t(229)]||"",fillColor:o[t(987)]||""});D[t(1079)](()=>{const u=t;r({name:e[u(1535)],src:o[u(1784)]||"",backgroundColor:o[u(229)]||"",fillColor:o[u(987)]||""})},[e.id]);const i=(u,d)=>{r(l=>({...l,[u]:d}))},a=()=>{const u=t;n({name:x[u(1535)],src:x[u(1784)],backgroundColor:x[u(229)]})};return s.jsxs(t(1102),{className:t(1428),children:[s.jsx(p[t(312)],{style:{marginTop:0},children:t(256)}),s.jsxs(p[t(1987)],{layout:t(1331),children:[s.jsx(p[t(1987)].Item,{label:"图片名称",children:s.jsx(p.Input,{value:x[t(1535)],onChange:u=>i(t(1535),u[t(1562)].value),onBlur:a})}),s.jsx(p[t(1987)][t(1139)],{label:t(1171),children:s[t(827)](p[t(1515)][t(652)],{value:x[t(1784)],onChange:u=>i(t(1784),u.target[t(867)]),onBlur:a,rows:4,placeholder:t(1238)})}),s[t(827)](p[t(1987)][t(1139)],{label:t(1841),children:s[t(1149)](t(1102),{className:t(1179),children:[s[t(827)](On,{value:x[t(987)]||"#1890ff",onChange:u=>{const d=t,l=u[d(937)]();i("fillColor",l),n({name:x[d(1535)],src:x.src,backgroundColor:x[d(229)],fillColor:l})}}),s[t(827)](p[t(1515)],{value:x[t(987)],onChange:u=>i("fillColor",u[t(1562)].value),onBlur:a,placeholder:t(1089)})]})}),s[t(827)](p[t(1987)].Item,{label:t(705),children:s[t(1149)](t(1102),{className:t(1179),children:[s[t(827)](On,{value:x[t(229)]||t(1089),onChange:u=>{const d=t,l=u.toHexString();i(d(229),l),n({name:x.name,src:x[d(1784)],backgroundColor:l,fillColor:x[d(987)]})}}),s[t(827)](p[t(1515)],{value:x.backgroundColor,onChange:u=>i(t(229),u.target.value),onBlur:a,placeholder:t(1089)})]})})]})]})},{Option:Jl}=p[c(244)],_l=({material:e,onSave:n})=>{const t=c,o=e.config||{},[x,r]=D[t(325)]({lineWeight:o.lineWeight||o[t(463)]||2,color:o.color||t(1169),lineType:o[t(1608)]||t(2041),startX:o[t(1722)]??0,startY:o[t(595)]??0,endX:o.endX??100,endY:o[t(878)]??0,rotate:o.rotate??0}),i=JSON[t(1087)]({sw:o[t(1037)]??o[t(463)],c:o[t(1311)],t:o.lineType,sx:o[t(1722)],sy:o[t(595)],ex:o[t(1159)],ey:o.endY,r:o[t(541)]});D[t(1079)](()=>{const d=t;r({lineWeight:o.lineWeight||o[d(463)]||2,color:o[d(1311)]||d(1169),lineType:o[d(1608)]||d(2041),startX:o[d(1722)]??0,startY:o[d(595)]??0,endX:o[d(1159)]??100,endY:o.endY??0,rotate:o.rotate??0})},[e.id,i]);const a=d=>{const l=t,f={...x,...d};r(f),n({config:{...o,thickness:f[l(1037)],lineWeight:f.lineWeight,color:f[l(1311)],lineType:f[l(1608)],startX:f.startX,startY:f[l(595)],endX:f[l(1159)],endY:f[l(878)],rotate:f[l(541)]}})},u=[{value:t(2041),label:"实线",desc:t(391)},{value:"dashed",label:"虚线",desc:"长划间隔"},{value:t(1235),label:t(2009),desc:t(1622)},{value:t(1728),label:t(1922),desc:t(1404)},{value:t(1546),label:"点线",desc:"密集点状"},{value:"dash-dot",label:"画点线",desc:"长划-点交替"}];return s[t(1149)]("div",{className:"space-y-4",children:[s.jsx(p[t(312)],{style:{marginTop:0},children:"起止位置(相对节点)"}),s[t(1149)](p[t(1987)],{layout:t(1331),children:[s[t(1149)](t(1102),{className:t(1310),children:[s[t(827)](p[t(1987)][t(1139)],{label:t(633),className:t(1012),children:s[t(827)](p[t(480)],{value:x.startX,onChange:d=>a({startX:d??0}),style:{width:t(1216)}})}),s[t(827)](p[t(1987)][t(1139)],{label:"起点 Y",className:t(1012),children:s.jsx(p.InputNumber,{value:x[t(595)],onChange:d=>a({startY:d??0}),style:{width:t(1216)}})}),s[t(827)](p[t(1987)][t(1139)],{label:t(1340),className:t(1012),children:s[t(827)](p[t(480)],{value:x[t(1159)],onChange:d=>a({endX:d??100}),style:{width:"100%"}})}),s.jsx(p[t(1987)][t(1139)],{label:"终点 Y",className:t(1012),children:s.jsx(p.InputNumber,{value:x[t(878)],onChange:d=>a({endY:d??0}),style:{width:t(1216)}})})]}),s[t(827)](p[t(1987)].Item,{label:t(840),className:t(394),children:s[t(1149)](p[t(1844)],{children:[s[t(827)](p[t(1071)],{size:t(1664),onClick:()=>{const d=t,l=o[d(1722)]??x[d(1722)],f=o[d(595)]??x.startY,g=o[d(1159)]??x[d(1159)],h=o[d(878)]??x[d(878)],w=g-l,b=h-f,v=Math[d(2008)](w*w+b*b),M=w>=0?1:-1;a({endX:l+M*v,endY:f})},title:t(835),children:"水平"}),s.jsx(p[t(1071)],{size:t(1664),onClick:()=>{const d=t,l=o[d(1722)]??x[d(1722)],f=o[d(595)]??x.startY,g=o[d(1159)]??x.endX,h=o[d(878)]??x[d(878)],w=g-l,b=h-f,v=Math[d(2008)](w*w+b*b),M=b>=0?1:-1;a({endX:l,endY:f+M*v})},title:t(1805),children:"垂直"}),s[t(827)](p[t(1071)],{size:t(1664),onClick:()=>{const d=t,l=o[d(1722)]??x[d(1722)],f=o[d(595)]??x[d(595)],g=o[d(1159)]??x[d(1159)],h=o[d(878)]??x.endY;a({startX:g,startY:h,endX:l,endY:f})},title:t(1988),children:"反向"})]})}),s[t(827)](p[t(1987)][t(1139)],{label:t(587),help:t(735),children:s[t(827)](p[t(480)],{value:x[t(541)],onChange:d=>{const l=t,f=d??0,g=o[l(1722)]??x[l(1722)],h=o[l(595)]??x[l(595)],w=o[l(1159)]??x[l(1159)],b=o[l(878)]??x[l(878)],v=w-g,M=b-h,m=Math[l(2008)](v*v+M*M),y=f*Math.PI/180;a({rotate:f,endX:Math.round(g+m*Math.cos(y)),endY:Math[l(1758)](h+m*Math[l(1665)](y))})},style:{width:120}})})]}),s[t(827)](p[t(312)],{children:t(1851)}),s.jsxs(p[t(1987)],{layout:t(1331),children:[s[t(827)](p[t(1987)][t(1139)],{label:"线型",help:t(944),children:s[t(827)](p[t(244)],{value:x[t(1608)],onChange:d=>a({lineType:d}),children:u[t(1461)](d=>s[t(827)](Jl,{value:d[t(867)],children:s[t(1149)]("div",{className:t(1637),children:[s[t(827)]("span",{children:d.label}),s[t(827)](t(1137),{className:t(591),children:d[t(707)]})]})},d[t(867)]))})}),s[t(827)](p[t(1987)].Item,{label:t(1253),children:s[t(827)](p[t(480)],{value:x.lineWeight,onChange:d=>a({lineWeight:d||2}),min:1,max:20,style:{width:120}})}),s[t(827)](p.Form[t(1139)],{label:"颜色",children:s[t(1149)](t(1102),{className:t(1179),children:[s[t(827)](On,{value:x[t(1311)]||"#d9d9d9",onChange:d=>a({color:d.toHexString()})}),s.jsx(p[t(1515)],{value:x.color,onChange:d=>a({color:d[t(1562)][t(867)]}),placeholder:t(1317),style:{width:100}})]})})]})]})};function gi(e){return Array[c(454)](e)}function Fl(e){const n=c,t=new Set;return e[n(1161)](o=>Object.keys(o)[n(1161)](x=>t[n(1463)](x))),Array[n(1839)](t)}function Ql(e,n){return e.map((t,o)=>{const x=_0x1172,r=t[n],i=t[x(1535)];return{label:String(i??"项 "+(o+1)),value:typeof r=="string"||typeof r===x(181)?r:String(r)}})}function $l(e,n,t){const o=c;if(gi(e)){if(n!=null&&t!=null){const x=e[o(957)](r=>r[n]===t);if(x)return x}return{}}return e}const yi=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=c,x=o0(b=>b.dataPool),r=x.find(b=>b.id===e[o(375)]),i=r?gi(r.sample):!1,a=r?$l(r[o(970)],e[o(1916)],e.boundDatasetBindValue):{},u=kr(a),d=b=>{const v=o,M=v(893)+b;t?t(M):n({expression:""+(e[v(1405)]||"")+M})},l=b=>{n({boundDatasetId:b??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=b=>{n({boundDatasetBindCode:b??null,boundDatasetBindValue:null})},g=b=>{n({boundDatasetBindValue:b??null})},h=r&&i?Fl(r.sample):[],w=r&&i&&e[o(1916)]?Ql(r[o(970)],e[o(1916)]):[];return s[o(1149)](s.Fragment,{children:[s[o(827)](p[o(1987)][o(1139)],{label:o(1791),extra:x[o(546)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":o(1503),children:s.jsx(p[o(244)],{allowClear:!0,showSearch:!0,placeholder:x[o(546)]===0?o(1214):o(1875),value:e.boundDatasetId??void 0,options:x[o(1461)](b=>({label:b[o(1535)],value:b.id})),onChange:l,filterOption:(b,v)=>String(v?.label??"")[o(1230)]().includes(b[o(1230)]()),onInputKeyDown:b=>{const v=o;b[v(1712)]===" "&&b[v(1217)]()}})}),r&&i&&s[o(1149)](s.Fragment,{children:[s.jsx(p.Form[o(1139)],{label:o(496),extra:o(1172),children:s[o(827)](p[o(244)],{allowClear:!0,placeholder:o(676),value:e.boundDatasetBindCode??void 0,options:h.map(b=>({label:b,value:b})),onChange:f})}),e[o(1916)]&&s.jsx(p[o(1987)][o(1139)],{label:o(238),extra:o(1893),children:s[o(827)](p.Select,{allowClear:!0,showSearch:!0,placeholder:o(498),value:e[o(1764)]??void 0,options:w,onChange:g,filterOption:(b,v)=>String(v?.[o(1865)]??"").toLowerCase()[o(645)](b[o(1230)]()),onInputKeyDown:b=>{const v=o;b[v(1712)]===" "&&b[v(1217)]()}})})]}),u[o(546)]>0&&s[o(827)](p.Form[o(1139)],{label:"字段路径(点击插入表达式)",children:s[o(827)](p[o(1844)],{size:[4,4],wrap:!0,children:u[o(1461)](b=>s[o(827)](p[o(679)],{className:o(950),onClick:()=>d(b),children:o(893)+b},b))})})]})},mi=({material:e,onSave:n})=>{const t=c;switch(e[t(939)]){case t(298):return s[t(827)](Kl,{material:e,onSave:n});case t(1740):return s[t(827)](Rl,{material:e,onSave:n});case t(976):return s.jsx(_l,{material:e,onSave:n});default:return s[t(827)]("div",{className:t(551),children:t(583)})}},{Panel:vi}=p[c(1077)],{TextArea:ed}=p[c(1515)],nd=({node:e,updateNode:n,materials:t})=>{const o=c,x=t[o(1338)](f=>f[o(939)]!=="CUSTOM"||!f[o(1402)]?.[o(376)]),r=(f,g)=>{const h=o,w=e[h(1520)]?.map(b=>{const v=h;return b.id===f?{...b,contentInfo:{...b[v(314)],statusList:g}}:b});n(e.id,{children:w})},i=f=>{const g=o,h=e[g(1520)]?.[g(957)](b=>b.id===f);if(!h)return;const w={id:Ie[g(349)](),name:"状态"+(h.contentInfo[g(1996)][g(546)]+1),expression:h[g(314)][g(1996)][g(546)]===0?"return true;":"return false;",material:{...x[0],id:Ie[g(349)]()},boundDatasetId:null,animation:{type:"none"}};r(f,[...h.contentInfo[g(1996)],w])},a=(f,g)=>{const h=o,w=e.children?.find(v=>v.id===f);if(!w)return;const b=w[h(314)][h(1996)][h(1338)](v=>v.id!==g);r(f,b)},u=(f,g,h)=>{const w=o,b=e[w(1520)]?.find(M=>M.id===f);if(!b)return;const v=b[w(314)].statusList[w(1461)](M=>M.id===g?{...M,...h}:M);r(f,v)},d=(f,g,h)=>{const w=o,b=e[w(1520)]?.[w(957)](m=>m.id===f);if(!b)return;const v=b.contentInfo[w(1996)][w(936)](m=>m.id===g);if(v===-1)return;const M=[...b[w(314)].statusList];h==="up"&&v>0?[M[v],M[v-1]]=[M[v-1],M[v]]:h===w(1242)&&v<M[w(546)]-1&&([M[v],M[v+1]]=[M[v+1],M[v]]),r(f,M)},l=(f,g,h)=>{const w=o,b=t[w(957)](v=>v.id===h);b&&u(f,g,{material:{...b,id:Ie.nanoid()}})};return s.jsxs(o(1102),{className:o(1428),children:[s[o(827)]("div",{className:o(1561),children:s[o(1149)](o(1102),{className:o(1118),children:[s[o(827)]("strong",{children:o(1354)}),o(1900)]})}),s.jsx(p.Collapse,{ghost:!0,children:e[o(1520)]?.map((f,g)=>s[o(827)](vi,{header:s[o(1149)](o(1102),{className:o(350),children:[s.jsxs(o(1137),{className:o(683),children:[o(1193),g+1]}),s[o(1149)](p[o(679)],{color:o(245),style:{fontSize:"12px",padding:o(485)},children:[f[o(314)][o(1996)][o(546)],o(502)]})]}),children:s[o(1149)](o(1102),{className:o(431),children:[s.jsxs(o(1102),{className:o(1421),children:[s.jsx("span",{className:o(320),children:o(965)}),s[o(827)](p[o(1071)],{type:o(1303),size:o(1664),icon:s.jsx(ge[o(1676)],{}),onClick:()=>i(f.id),children:"添加状态"})]}),f[o(314)].statusList.length===0?s.jsx(o(1102),{className:o(548),children:o(913)}):s[o(827)](p[o(1077)],{ghost:!0,children:f.contentInfo.statusList[o(1461)]((h,w)=>s[o(827)](vi,{header:s[o(1149)](o(1102),{className:o(1179),children:[s[o(827)](o(1137),{className:o(781),children:w+1}),s[o(827)]("span",{className:o(954),children:h[o(1535)]}),s[o(827)](p.Tag,{color:o(1744),className:o(352),children:h[o(1737)][o(939)]})]}),extra:s[o(1149)](p[o(1844)],{size:"small",onClick:b=>b[o(1217)](),children:[s.jsx(p[o(1071)],{type:"text",size:o(1664),icon:s.jsx(ge.ArrowUpOutlined,{}),disabled:w===0,onClick:b=>{b[o(1217)](),d(f.id,h.id,"up")}}),s[o(827)](p[o(1071)],{type:o(1810),size:o(1664),icon:s[o(827)](ge[o(1104)],{}),disabled:w===f[o(314)][o(1996)][o(546)]-1,onClick:b=>{const v=o;b[v(1217)](),d(f.id,h.id,v(1242))}}),s[o(827)](p[o(1071)],{type:o(1810),size:"small",danger:!0,icon:s[o(827)](ge[o(1357)],{}),onClick:b=>{b.stopPropagation(),a(f.id,h.id)}})]}),children:s.jsxs(p[o(1987)],{layout:o(1331),children:[s[o(827)](p[o(1987)][o(1139)],{label:o(271),children:s[o(827)](p[o(1515)],{value:h[o(1535)],onChange:b=>u(f.id,h.id,{name:b.target[o(867)]}),placeholder:o(1482)})}),s[o(827)](yi,{status:h,onUpdate:b=>u(f.id,h.id,b)}),s[o(827)](p[o(1987)][o(1139)],{label:o(503),help:o(894),children:s.jsx(ed,{value:h[o(1405)],onChange:b=>u(f.id,h.id,{expression:b[o(1562)][o(867)]}),rows:3,placeholder:o(1794)})}),s[o(827)](p[o(1987)][o(1139)],{label:o(1155),children:s[o(1149)](o(1102),{className:o(1179),children:[s.jsx(p[o(679)],{color:o(245),children:h[o(1737)][o(1535)]}),s[o(827)](p.Tag,{color:o(1744),children:h[o(1737)][o(939)]}),s[o(827)](p[o(244)],{placeholder:o(1345),style:{width:150},value:void 0,onChange:b=>b&&l(f.id,h.id,b),options:x[o(1461)](b=>({value:b.id,label:b[o(1535)]+" ("+b[o(939)]+")"}))})]})}),s[o(827)](p[o(312)],{style:{margin:o(1204)}}),s.jsxs(o(1102),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[s[o(827)]("div",{className:o(1065),children:s[o(827)](o(1137),{className:o(195),children:"动画配置"})}),s[o(827)](p.Form[o(1139)],{label:o(1479),className:o(1012),children:s.jsx(p.Select,{value:h[o(1847)]?.[o(939)]||o(408),onChange:b=>u(f.id,h.id,{animation:{...h[o(1847)]||{type:"none"},type:b}}),options:[{label:"无",value:o(408)},{label:"闪烁",value:"blink"}]})}),h[o(1847)]?.[o(939)]===o(902)&&s.jsxs(s[o(895)],{children:[s[o(827)](p[o(1987)][o(1139)],{label:"闪烁周期(ms)",className:o(1012),children:s[o(827)](p[o(480)],{min:200,max:1e4,step:100,value:h.animation[o(1630)]??1e3,onChange:b=>u(f.id,h.id,{animation:{...h[o(1847)],duration:b??1e3}})})}),s[o(827)](p[o(1987)][o(1139)],{label:o(1881),className:"mb-0",children:s[o(827)](p[o(480)],{min:0,max:1,step:.1,value:h[o(1847)][o(190)]??.3,onChange:b=>u(f.id,h.id,{animation:{...h[o(1847)],minOpacity:b??.3}})})})]})]}),s[o(827)](p[o(312)],{style:{margin:"12px 0"}}),s[o(1149)](o(1102),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[s[o(1149)](o(1102),{className:o(1065),children:[s.jsx(o(1137),{className:o(195),children:o(1613)}),s[o(827)](p[o(679)],{children:h.material[o(1535)]})]}),s.jsx(mi,{material:h[o(1737)],onSave:b=>{const v=o,M={...h[v(1737)],...b};u(f.id,h.id,{material:M})}})]})]})},h.id))})]})},f.id))})]})};function e0(e){const n=c;if(typeof e===n(1117)||typeof e===n(181))return""+e;let t="";if(Array[n(454)](e))for(let o=0,x;o<e.length;o++)(x=e0(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var td={value:()=>{}};function xx(){const e=c;for(var n=0,t=arguments[e(546)],o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(1921)](x))throw new Error(e(1829)+x);o[x]=[]}return new ox(o)}function ox(e){this._=e}function xd(e,n){const t=c;return e[t(1280)]().split(/^|\s+/).map(function(o){const x=t;var r="",i=o[x(1206)](".");if(i>=0&&(r=o[x(1512)](i+1),o=o[x(1512)](0,i)),o&&!n[x(966)](o))throw new Error(x(445)+o);return{type:o,name:r}})}ox[c(989)]=xx[c(989)]={constructor:ox,on:function(e,n){const t=c;var o=this._,x=xd(e+"",o),r,i=-1,a=x.length;if(arguments[t(546)]<2){for(;++i<a;)if((r=(e=x[i])[t(939)])&&(r=od(o[r],e[t(1535)])))return r;return}if(n!=null&&typeof n!==t(943))throw new Error(t(680)+n);for(;++i<a;)if(r=(e=x[i])[t(939)])o[r]=wi(o[r],e[t(1535)],n);else if(n==null)for(r in o)o[r]=wi(o[r],e[t(1535)],null);return this},copy:function(){const e=c;var n={},t=this._;for(var o in t)n[o]=t[o][e(1512)]();return new ox(n)},call:function(e,n){const t=c;if((r=arguments[t(546)]-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(966)](e))throw new Error(t(445)+e);for(i=this._[e],x=0,r=i[t(546)];x<r;++x)i[x][t(867)][t(1343)](n,o)},apply:function(e,n,t){const o=c;if(!this._.hasOwnProperty(e))throw new Error(o(445)+e);for(var x=this._[e],r=0,i=x[o(546)];r<i;++r)x[r].value[o(1343)](n,t)}};function od(e,n){const t=c;for(var o=0,x=e[t(546)],r;o<x;++o)if((r=e[o])[t(1535)]===n)return r[t(867)]}function wi(e,n,t){const o=c;for(var x=0,r=e[o(546)];x<r;++x)if(e[x][o(1535)]===n){e[x]=td,e=e[o(1512)](0,x)[o(1701)](e[o(1512)](x+1));break}return t!=null&&e.push({name:n,value:t}),e}var yo=c(1416);const pi={svg:c(1457),xhtml:yo,xlink:c(400),xml:c(1286),xmlns:c(1409)};function rx(e){const n=c;var t=e+="",o=t[n(1206)](":");return o>=0&&(t=e[n(1512)](0,o))!=="xmlns"&&(e=e[n(1512)](o+1)),pi[n(966)](t)?{space:pi[t],local:e}:e}function rd(e){return function(){const n=_0x1172;var t=this[n(831)],o=this.namespaceURI;return o===yo&&t.documentElement[n(1748)]===yo?t[n(1793)](e):t[n(1487)](o,e)}}function id(e){return function(){const n=_0x1172;return this[n(831)][n(1487)](e[n(1438)],e[n(1152)])}}function zi(e){const n=c;var t=rx(e);return(t[n(1152)]?id:rd)(t)}function ad(){}function mo(e){return e==null?ad:function(){return this[_0x1172(999)](e)}}function cd(e){const n=c;typeof e!="function"&&(e=mo(e));for(var t=this._groups,o=t[n(546)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(546)],u=x[r]=new Array(a),d,l,f=0;f<a;++f)(d=i[f])&&(l=e[n(719)](d,d[n(1473)],f,i))&&(n(1473)in d&&(l[n(1473)]=d[n(1473)]),u[f]=l);return new m0(x,this[n(1672)])}function sd(e){const n=c;return e==null?[]:Array[n(454)](e)?e:Array[n(1839)](e)}function ld(){return[]}function Ci(e){return e==null?ld:function(){return this[_0x1172(1483)](e)}}function dd(e){return function(){return sd(e[_0x1172(1343)](this,arguments))}}function ud(e){const n=c;typeof e===n(943)?e=dd(e):e=Ci(e);for(var t=this._groups,o=t[n(546)],x=[],r=[],i=0;i<o;++i)for(var a=t[i],u=a[n(546)],d,l=0;l<u;++l)(d=a[l])&&(x.push(e[n(719)](d,d[n(1473)],l,a)),r[n(1699)](d));return new m0(x,r)}function Mi(e){return function(){return this[_0x1172(1994)](e)}}function Bi(e){return function(n){return n[_0x1172(1994)](e)}}var fd=Array.prototype[c(957)];function bd(e){return function(){const n=_0x1172;return fd[n(719)](this[n(1520)],e)}}function hd(){return this[c(1586)]}function gd(e){const n=c;return this[n(1419)](e==null?hd:bd(typeof e===n(943)?e:Bi(e)))}var yd=Array[c(989)][c(1338)];function md(){const e=c;return Array[e(1839)](this[e(1520)])}function vd(e){return function(){return yd[_0x1172(719)](this.children,e)}}function wd(e){const n=c;return this[n(994)](e==null?md:vd(typeof e===n(943)?e:Bi(e)))}function pd(e){const n=c;typeof e!==n(943)&&(e=Mi(e));for(var t=this[n(1040)],o=t[n(546)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(546)],u=x[r]=[],d,l=0;l<a;++l)(d=i[l])&&e[n(719)](d,d[n(1473)],l,i)&&u.push(d);return new m0(x,this[n(1672)])}function Di(e){const n=c;return new Array(e[n(546)])}function zd(){const e=c;return new m0(this._enter||this[e(1040)][e(1461)](Di),this[e(1672)])}function ix(e,n){const t=c;this[t(831)]=e[t(831)],this.namespaceURI=e[t(1748)],this[t(341)]=null,this[t(1691)]=e,this.__data__=n}ix[c(989)]={constructor:ix,appendChild:function(e){const n=c;return this[n(1691)][n(249)](e,this[n(341)])},insertBefore:function(e,n){const t=c;return this[t(1691)][t(249)](e,n)},querySelector:function(e){const n=c;return this[n(1691)][n(999)](e)},querySelectorAll:function(e){const n=c;return this[n(1691)][n(1483)](e)}};function Cd(e){return function(){return e}}function Md(e,n,t,o,x,r){const i=c;for(var a=0,u,d=n[i(546)],l=r.length;a<l;++a)(u=n[a])?(u[i(1473)]=r[a],o[a]=u):t[a]=new ix(e,r[a]);for(;a<d;++a)(u=n[a])&&(x[a]=u)}function Bd(e,n,t,o,x,r,i){const a=c;var u,d,l=new Map,f=n[a(546)],g=r.length,h=new Array(f),w;for(u=0;u<f;++u)(d=n[u])&&(h[u]=w=i[a(719)](d,d[a(1473)],u,n)+"",l[a(363)](w)?x[u]=d:l[a(1683)](w,d));for(u=0;u<g;++u)w=i[a(719)](e,r[u],u,r)+"",(d=l[a(750)](w))?(o[u]=d,d.__data__=r[u],l[a(2028)](w)):t[u]=new ix(e,r[u]);for(u=0;u<f;++u)(d=n[u])&&l[a(750)](h[u])===d&&(x[u]=d)}function Dd(e){return e.__data__}function Ld(e,n){const t=c;if(!arguments[t(546)])return Array.from(this,Dd);var o=n?Bd:Md,x=this._parents,r=this[t(1040)];typeof e!==t(943)&&(e=Cd(e));for(var i=r[t(546)],a=new Array(i),u=new Array(i),d=new Array(i),l=0;l<i;++l){var f=x[l],g=r[l],h=g[t(546)],w=Sd(e[t(719)](f,f&&f[t(1473)],l,x)),b=w[t(546)],v=u[l]=new Array(b),M=a[l]=new Array(b),m=d[l]=new Array(h);o(f,g,v,M,m,w,n);for(var y=0,C=0,z,I;y<b;++y)if(z=v[y]){for(y>=C&&(C=y+1);!(I=M[C])&&++C<b;);z._next=I||null}}return a=new m0(a,x),a._enter=u,a._exit=d,a}function Sd(e){const n=c;return typeof e===n(1129)&&"length"in e?e:Array[n(1839)](e)}function Nd(){const e=c;return new m0(this[e(1666)]||this._groups[e(1461)](Di),this[e(1672)])}function kd(e,n,t){const o=c;var x=this[o(955)](),r=this,i=this[o(700)]();return typeof e=="function"?(x=e(x),x&&(x=x[o(1614)]())):x=x.append(e+""),n!=null&&(r=n(r),r&&(r=r.selection())),t==null?i.remove():t(i),x&&r?x[o(880)](r)[o(1913)]():r}function Id(e){const n=c;for(var t=e[n(1614)]?e.selection():e,o=this[n(1040)],x=t._groups,r=o[n(546)],i=x.length,a=Math.min(r,i),u=new Array(r),d=0;d<a;++d)for(var l=o[d],f=x[d],g=l[n(546)],h=u[d]=new Array(g),w,b=0;b<g;++b)(w=l[b]||f[b])&&(h[b]=w);for(;d<r;++d)u[d]=o[d];return new m0(u,this[n(1672)])}function Pd(){const e=c;for(var n=this[e(1040)],t=-1,o=n[e(546)];++t<o;)for(var x=n[t],r=x[e(546)]-1,i=x[r],a;--r>=0;)(a=x[r])&&(i&&a[e(910)](i)^4&&i[e(1548)][e(249)](a,i),i=a);return this}function Ad(e){const n=c;e||(e=Ed);function t(g,h){const w=_0x1172;return g&&h?e(g[w(1473)],h[w(1473)]):!g-!h}for(var o=this._groups,x=o.length,r=new Array(x),i=0;i<x;++i){for(var a=o[i],u=a.length,d=r[i]=new Array(u),l,f=0;f<u;++f)(l=a[f])&&(d[f]=l);d[n(430)](t)}return new m0(r,this[n(1672)])[n(1913)]()}function Ed(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function jd(){const e=c;var n=arguments[0];return arguments[0]=this,n[e(1343)](null,arguments),this}function Yd(){return Array[c(1839)](this)}function Ud(){const e=c;for(var n=this[e(1040)],t=0,o=n[e(546)];t<o;++t)for(var x=n[t],r=0,i=x[e(546)];r<i;++r){var a=x[r];if(a)return a}return null}function Od(){let e=0;for(const n of this)++e;return e}function Gd(){return!this[c(1067)]()}function Hd(e){const n=c;for(var t=this[n(1040)],o=0,x=t[n(546)];o<x;++o)for(var r=t[o],i=0,a=r.length,u;i<a;++i)(u=r[i])&&e.call(u,u[n(1473)],i,r);return this}function Td(e){return function(){this[_0x1172(401)](e)}}function Vd(e){return function(){const n=_0x1172;this[n(1352)](e[n(1438)],e[n(1152)])}}function qd(e,n){return function(){this[_0x1172(484)](e,n)}}function Wd(e,n){return function(){const t=_0x1172;this[t(779)](e[t(1438)],e[t(1152)],n)}}function Xd(e,n){return function(){const t=_0x1172;var o=n.apply(this,arguments);o==null?this[t(401)](e):this[t(484)](e,o)}}function Zd(e,n){return function(){const t=_0x1172;var o=n[t(1343)](this,arguments);o==null?this[t(1352)](e[t(1438)],e[t(1152)]):this[t(779)](e[t(1438)],e[t(1152)],o)}}function Kd(e,n){const t=c;var o=rx(e);if(arguments[t(546)]<2){var x=this[t(1067)]();return o[t(1152)]?x[t(453)](o[t(1438)],o[t(1152)]):x[t(399)](o)}return this.each((n==null?o.local?Vd:Td:typeof n=="function"?o[t(1152)]?Zd:Xd:o[t(1152)]?Wd:qd)(o,n))}function Li(e){const n=c;return e[n(831)]&&e[n(831)][n(486)]||e[n(597)]&&e||e[n(486)]}function Rd(e){return function(){const n=_0x1172;this[n(183)][n(2036)](e)}}function Jd(e,n,t){return function(){const o=_0x1172;this[o(183)][o(297)](e,n,t)}}function _d(e,n,t){return function(){const o=_0x1172;var x=n[o(1343)](this,arguments);x==null?this[o(183)].removeProperty(e):this[o(183)].setProperty(e,x,t)}}function Fd(e,n,t){const o=c;return arguments[o(546)]>1?this.each((n==null?Rd:typeof n===o(943)?_d:Jd)(e,n,t??"")):Gn(this[o(1067)](),e)}function Gn(e,n){return e[c(183)].getPropertyValue(n)||Li(e).getComputedStyle(e,null).getPropertyValue(n)}function Qd(e){return function(){delete this[e]}}function $d(e,n){return function(){this[e]=n}}function eu(e,n){return function(){var o=n[_0x1172(1343)](this,arguments);o==null?delete this[e]:this[e]=o}}function nu(e,n){const t=c;return arguments[t(546)]>1?this.each((n==null?Qd:typeof n===t(943)?eu:$d)(e,n)):this[t(1067)]()[e]}function Si(e){return e.trim().split(/^|\s+/)}function vo(e){return e[c(1886)]||new Ni(e)}function Ni(e){const n=c;this[n(1950)]=e,this[n(883)]=Si(e[n(399)]("class")||"")}Ni.prototype={add:function(e){const n=c;var t=this[n(883)].indexOf(e);t<0&&(this._names.push(e),this[n(1950)].setAttribute("class",this[n(883)][n(1926)](" ")))},remove:function(e){const n=c;var t=this[n(883)].indexOf(e);t>=0&&(this[n(883)][n(1574)](t,1),this._node[n(484)](n(922),this._names[n(1926)](" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function ki(e,n){const t=c;for(var o=vo(e),x=-1,r=n[t(546)];++x<r;)o[t(1463)](n[x])}function Ii(e,n){const t=c;for(var o=vo(e),x=-1,r=n[t(546)];++x<r;)o[t(1694)](n[x])}function tu(e){return function(){ki(this,e)}}function xu(e){return function(){Ii(this,e)}}function ou(e,n){return function(){(n[_0x1172(1343)](this,arguments)?ki:Ii)(this,e)}}function ru(e,n){const t=c;var o=Si(e+"");if(arguments[t(546)]<2){for(var x=vo(this[t(1067)]()),r=-1,i=o.length;++r<i;)if(!x[t(1014)](o[r]))return!1;return!0}return this[t(815)]((typeof n===t(943)?ou:n?tu:xu)(o,n))}function iu(){const e=c;this[e(1860)]=""}function au(e){return function(){const n=_0x1172;this[n(1860)]=e}}function cu(e){return function(){const n=_0x1172;var t=e[n(1343)](this,arguments);this[n(1860)]=t??""}}function su(e){const n=c;return arguments[n(546)]?this[n(815)](e==null?iu:(typeof e===n(943)?cu:au)(e)):this[n(1067)]()[n(1860)]}function lu(){this.innerHTML=""}function du(e){return function(){const n=_0x1172;this[n(1547)]=e}}function uu(e){return function(){const n=_0x1172;var t=e[n(1343)](this,arguments);this[n(1547)]=t??""}}function fu(e){const n=c;return arguments.length?this[n(815)](e==null?lu:(typeof e===n(943)?uu:du)(e)):this[n(1067)]()[n(1547)]}function bu(){const e=c;this.nextSibling&&this[e(1548)].appendChild(this)}function hu(){return this[c(815)](bu)}function gu(){const e=c;this[e(1777)]&&this.parentNode.insertBefore(this,this[e(1548)][e(1787)])}function yu(){return this[c(815)](gu)}function mu(e){const n=c;var t=typeof e===n(943)?e:zi(e);return this[n(1419)](function(){const o=n;return this[o(473)](t[o(1343)](this,arguments))})}function vu(){return null}function wu(e,n){const t=c;var o=typeof e===t(943)?e:zi(e),x=n==null?vu:typeof n===t(943)?n:mo(n);return this[t(1419)](function(){const r=t;return this.insertBefore(o[r(1343)](this,arguments),x[r(1343)](this,arguments)||null)})}function pu(){const e=c;var n=this[e(1548)];n&&n[e(773)](this)}function zu(){return this[c(815)](pu)}function Cu(){const e=c;var n=this[e(489)](!1),t=this[e(1548)];return t?t.insertBefore(n,this.nextSibling):n}function Mu(){const e=c;var n=this.cloneNode(!0),t=this[e(1548)];return t?t[e(249)](n,this[e(1491)]):n}function Bu(e){return this[c(1419)](e?Mu:Cu)}function Du(e){const n=c;return arguments.length?this[n(1107)]("__data__",e):this[n(1067)]()[n(1473)]}function Lu(e){return function(n){e[_0x1172(719)](this,n,this.__data__)}}function Su(e){const n=c;return e[n(1280)]().split(/^|\s+/)[n(1461)](function(t){const o=n;var x="",r=t[o(1206)](".");return r>=0&&(x=t[o(1512)](r+1),t=t[o(1512)](0,r)),{type:t,name:x}})}function Nu(e){return function(){const n=_0x1172;var t=this.__on;if(t){for(var o=0,x=-1,r=t[n(546)],i;o<r;++o)i=t[o],(!e[n(939)]||i[n(939)]===e[n(939)])&&i[n(1535)]===e[n(1535)]?this.removeEventListener(i[n(939)],i[n(1076)],i[n(1355)]):t[++x]=i;++x?t[n(546)]=x:delete this.__on}}}function ku(e,n,t){return function(){const o=_0x1172;var x=this[o(267)],r,i=Lu(n);if(x){for(var a=0,u=x[o(546)];a<u;++a)if((r=x[a])[o(939)]===e.type&&r[o(1535)]===e[o(1535)]){this.removeEventListener(r[o(939)],r[o(1076)],r[o(1355)]),this.addEventListener(r.type,r[o(1076)]=i,r[o(1355)]=t),r[o(867)]=n;return}}this.addEventListener(e[o(939)],i,t),r={type:e[o(939)],name:e[o(1535)],value:n,listener:i,options:t},x?x[o(1699)](r):this[o(267)]=[r]}}function Iu(e,n,t){const o=c;var x=Su(e+""),r,i=x[o(546)],a;if(arguments[o(546)]<2){var u=this[o(1067)]()[o(267)];if(u){for(var d=0,l=u.length,f;d<l;++d)for(r=0,f=u[d];r<i;++r)if((a=x[r])[o(939)]===f[o(939)]&&a[o(1535)]===f[o(1535)])return f.value}return}for(u=n?ku:Nu,r=0;r<i;++r)this.each(u(x[r],n,t));return this}function Pi(e,n,t){const o=c;var x=Li(e),r=x.CustomEvent;typeof r=="function"?r=new r(n,t):(r=x.document.createEvent(o(924)),t?(r.initEvent(n,t.bubbles,t[o(699)]),r.detail=t[o(1425)]):r[o(310)](n,!1,!1)),e[o(290)](r)}function Pu(e,n){return function(){return Pi(this,e,n)}}function Au(e,n){return function(){return Pi(this,e,n[_0x1172(1343)](this,arguments))}}function Eu(e,n){const t=c;return this.each((typeof n===t(943)?Au:Pu)(e,n))}function*ju(){const e=c;for(var n=this[e(1040)],t=0,o=n[e(546)];t<o;++t)for(var x=n[t],r=0,i=x.length,a;r<i;++r)(a=x[r])&&(yield a)}var Ai=[null];function m0(e,n){const t=c;this[t(1040)]=e,this._parents=n}function ht(){const e=c;return new m0([[document[e(1002)]]],Ai)}function Yu(){return this}m0.prototype=ht[c(989)]={constructor:m0,select:cd,selectAll:ud,selectChild:gd,selectChildren:wd,filter:pd,data:Ld,enter:zd,exit:Nd,join:kd,merge:Id,selection:Yu,order:Pd,sort:Ad,call:jd,nodes:Yd,node:Ud,size:Od,empty:Gd,each:Hd,attr:Kd,style:Fd,property:nu,classed:ru,text:su,html:fu,raise:hu,lower:yu,append:mu,insert:wu,remove:zu,clone:Bu,datum:Du,on:Iu,dispatch:Eu,[Symbol[c(1721)]]:ju};function v0(e){const n=c;return typeof e===n(1117)?new m0([[document.querySelector(e)]],[document[n(1002)]]):new m0([[e]],Ai)}function Uu(e){const n=c;let t;for(;t=e[n(1872)];)e=t;return e}function S0(e,n){const t=c;if(e=Uu(e),n===void 0&&(n=e[t(1274)]),n){var o=n[t(1679)]||n;if(o[t(1339)]){var x=o[t(1339)]();return x.x=e[t(1692)],x.y=e[t(1853)],x=x[t(1435)](n[t(1902)]()[t(1513)]()),[x.x,x.y]}if(n[t(1309)]){var r=n[t(1309)]();return[e[t(1692)]-r[t(230)]-n[t(488)],e.clientY-r.top-n[t(1273)]]}}return[e[t(593)],e[t(250)]]}const Ou={passive:!1},gt={capture:!0,passive:!1};function wo(e){e.stopImmediatePropagation()}function Hn(e){const n=c;e.preventDefault(),e[n(388)]()}function Ei(e){const n=c;var t=e[n(597)][n(1002)],o=v0(e).on(n(863),Hn,gt);"onselectstart"in t?o.on(n(1210),Hn,gt):(t.__noselect=t.style[n(1871)],t[n(183)][n(1871)]=n(408))}function ji(e,n){const t=c;var o=e[t(597)][t(1002)],x=v0(e).on("dragstart.drag",null);n&&(x.on(t(361),Hn,gt),setTimeout(function(){const r=t;x.on(r(361),null)},0)),t(1378)in o?x.on(t(1210),null):(o[t(183)].MozUserSelect=o[t(1200)],delete o[t(1200)])}const ax=e=>()=>e;function po(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:a,dx:u,dy:d,dispatch:l}){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:a,enumerable:!0,configurable:!0},dx:{value:u,enumerable:!0,configurable:!0},dy:{value:d,enumerable:!0,configurable:!0},_:{value:l}})}po[c(989)].on=function(){const e=c;var n=this._.on[e(1343)](this._,arguments);return n===this._?this:n};function Gu(e){const n=c;return!e[n(1727)]&&!e[n(1034)]}function Hu(){return this.parentNode}function Tu(e,n){return n??{x:e.x,y:e.y}}function Vu(){const e=c;return navigator.maxTouchPoints||e(556)in this}function Yi(){const e=c;var n=Gu,t=Hu,o=Tu,x=Vu,r={},i=xx(e(634),"drag",e(1361)),a=0,u,d,l,f,g=0;function h(z){const I=e;z.on("mousedown.drag",w)[I(1338)](x).on(I(853),M).on(I(619),m,Ou).on("touchend.drag touchcancel.drag",y)[I(183)](I(1452),I(408))[I(183)](I(1852),"rgba(0,0,0,0)")}function w(z,I){const U=e;if(!(f||!n[U(719)](this,z,I))){var H=C(this,t[U(719)](this,z,I),z,I,U(219));H&&(v0(z[U(1652)]).on(U(243),b,gt).on(U(378),v,gt),Ei(z.view),wo(z),l=!1,u=z[U(1692)],d=z[U(1853)],H(U(634),z))}}function b(z){const I=e;if(Hn(z),!l){var U=z[I(1692)]-u,H=z[I(1853)]-d;l=U*U+H*H>g}r[I(219)](I(2015),z)}function v(z){const I=e;v0(z[I(1652)]).on(I(240),null),ji(z[I(1652)],l),Hn(z),r.mouse("end",z)}function M(z,I){const U=e;if(n[U(719)](this,z,I)){var H=z[U(354)],W=t.call(this,z,I),O=H[U(546)],Y,T;for(Y=0;Y<O;++Y)(T=C(this,W,z,I,H[Y][U(1465)],H[Y]))&&(wo(z),T(U(634),z,H[Y]))}}function m(z){const I=e;var U=z[I(354)],H=U[I(546)],W,O;for(W=0;W<H;++W)(O=r[U[W][I(1465)]])&&(Hn(z),O(I(2015),z,U[W]))}function y(z){const I=e;var U=z[I(354)],H=U[I(546)],W,O;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),W=0;W<H;++W)(O=r[U[W][I(1465)]])&&(wo(z),O(I(1361),z,U[W]))}function C(z,I,U,H,W,O){const Y=e;var T=i[Y(858)](),X=S0(O||U,I),V,L,B;if((B=o.call(z,new po(Y(1966),{sourceEvent:U,target:h,identifier:W,active:a,x:X[0],y:X[1],dx:0,dy:0,dispatch:T}),H))!=null)return V=B.x-X[0]||0,L=B.y-X[1]||0,function N(E,P,A){const _=Y;var Q=X,$;switch(E){case _(634):r[W]=N,$=a++;break;case _(1361):delete r[W],--a;case"drag":X=S0(A||P,I),$=a;break}T[_(719)](E,z,new po(E,{sourceEvent:P,subject:B,target:h,identifier:W,active:$,x:X[0]+V,y:X[1]+L,dx:X[0]-Q[0],dy:X[1]-Q[1],dispatch:T}),H)}}return h.filter=function(z){const I=e;return arguments.length?(n=typeof z===I(943)?z:ax(!!z),h):n},h.container=function(z){const I=e;return arguments[I(546)]?(t=typeof z===I(943)?z:ax(z),h):t},h[e(326)]=function(z){const I=e;return arguments[I(546)]?(o=typeof z===I(943)?z:ax(z),h):o},h[e(487)]=function(z){const I=e;return arguments[I(546)]?(x=typeof z===I(943)?z:ax(!!z),h):x},h.on=function(){const z=e;var I=i.on[z(1343)](i,arguments);return I===i?h:I},h[e(1114)]=function(z){const I=e;return arguments[I(546)]?(g=(z=+z)*z,h):Math[I(2008)](g)},h}function zo(e,n,t){const o=c;e[o(989)]=n[o(989)]=t,t[o(830)]=e}function Ui(e,n){var o=Object[c(1945)](e.prototype);for(var x in n)o[x]=n[x];return o}function yt(){}var mt=.7,cx=1/mt,Tn="\\s*([+-]?\\d+)\\s*",vt=c(1932),Y0="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",qu=/^#([0-9a-f]{3,8})$/,Wu=new RegExp(c(1266)+Tn+","+Tn+","+Tn+c(1178)),Xu=new RegExp("^rgb\\("+Y0+","+Y0+","+Y0+c(1178)),Zu=new RegExp(c(1481)+Tn+","+Tn+","+Tn+","+vt+c(1178)),Ku=new RegExp(c(1481)+Y0+","+Y0+","+Y0+","+vt+c(1178)),Ru=new RegExp(c(693)+vt+","+Y0+","+Y0+c(1178)),Ju=new RegExp("^hsla\\("+vt+","+Y0+","+Y0+","+vt+c(1178)),Oi={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};zo(yt,hn,{copy(e){const n=c;return Object.assign(new this[n(830)],this,e)},displayable(){const e=c;return this[e(1477)]()[e(567)]()},hex:Gi,formatHex:Gi,formatHex8:_u,formatHsl:Fu,formatRgb:Hi,toString:Hi});function Gi(){const e=c;return this[e(1477)]()[e(210)]()}function _u(){return this[c(1477)]().formatHex8()}function Fu(){const e=c;return Xi(this)[e(482)]()}function Hi(){return this.rgb().formatRgb()}function hn(e){const n=c;var t,o;return e=(e+"")[n(1280)]()[n(1230)](),(t=qu.exec(e))?(o=t[1].length,t=parseInt(t[1],16),o===6?Ti(t):o===3?new b0(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?sx(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?sx(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=Wu[n(1342)](e))?new b0(t[1],t[2],t[3],1):(t=Xu[n(1342)](e))?new b0(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Zu.exec(e))?sx(t[1],t[2],t[3],t[4]):(t=Ku[n(1342)](e))?sx(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Ru.exec(e))?Wi(t[1],t[2]/100,t[3]/100,1):(t=Ju[n(1342)](e))?Wi(t[1],t[2]/100,t[3]/100,t[4]):Oi[n(966)](e)?Ti(Oi[e]):e===n(1261)?new b0(NaN,NaN,NaN,0):null}function Ti(e){return new b0(e>>16&255,e>>8&255,e&255,1)}function sx(e,n,t,o){return o<=0&&(e=n=t=NaN),new b0(e,n,t,o)}function Qu(e){const n=c;return e instanceof yt||(e=hn(e)),e?(e=e.rgb(),new b0(e.r,e.g,e.b,e[n(1690)])):new b0}function Co(e,n,t,o){return arguments[c(546)]===1?Qu(e):new b0(e,n,t,o??1)}function b0(e,n,t,o){this.r=+e,this.g=+n,this.b=+t,this.opacity=+o}zo(b0,Co,Ui(yt,{brighter(e){const n=c;return e=e==null?cx:Math[n(1248)](cx,e),new b0(this.r*e,this.g*e,this.b*e,this[n(1690)])},darker(e){const n=c;return e=e==null?mt:Math[n(1248)](mt,e),new b0(this.r*e,this.g*e,this.b*e,this[n(1690)])},rgb(){return this},clamp(){const e=c;return new b0(gn(this.r),gn(this.g),gn(this.b),lx(this[e(1690)]))},displayable(){const e=c;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(1690)]&&this[e(1690)]<=1},hex:Vi,formatHex:Vi,formatHex8:$u,formatRgb:qi,toString:qi}));function Vi(){return"#"+yn(this.r)+yn(this.g)+yn(this.b)}function $u(){const e=c;return"#"+yn(this.r)+yn(this.g)+yn(this.b)+yn((isNaN(this[e(1690)])?1:this.opacity)*255)}function qi(){const e=c,n=lx(this[e(1690)]);return(n===1?"rgb(":"rgba(")+gn(this.r)+", "+gn(this.g)+", "+gn(this.b)+(n===1?")":", "+n+")")}function lx(e){const n=c;return isNaN(e)?1:Math.max(0,Math[n(984)](1,e))}function gn(e){const n=c;return Math.max(0,Math[n(984)](255,Math[n(1758)](e)||0))}function yn(e){return e=gn(e),(e<16?"0":"")+e.toString(16)}function Wi(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new N0(e,n,t,o)}function Xi(e){const n=c;if(e instanceof N0)return new N0(e.h,e.s,e.l,e[n(1690)]);if(e instanceof yt||(e=hn(e)),!e)return new N0;if(e instanceof N0)return e;e=e[n(1477)]();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(984)](t,o,x),i=Math.max(t,o,x),a=NaN,u=i-r,d=(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/=d<.5?i+r:2-i-r,a*=60):u=d>0&&d<1?0:a,new N0(a,u,d,e[n(1690)])}function e5(e,n,t,o){return arguments[c(546)]===1?Xi(e):new N0(e,n,t,o??1)}function N0(e,n,t,o){const x=c;this.h=+e,this.s=+n,this.l=+t,this[x(1690)]=+o}zo(N0,e5,Ui(yt,{brighter(e){const n=c;return e=e==null?cx:Math.pow(cx,e),new N0(this.h,this.s,this.l*e,this[n(1690)])},darker(e){const n=c;return e=e==null?mt:Math[n(1248)](mt,e),new N0(this.h,this.s,this.l*e,this[n(1690)])},rgb(){var e=this.h%360+(this.h<0)*360,n=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,o=t+(t<.5?t:1-t)*n,x=2*t-o;return new b0(Mo(e>=240?e-240:e+120,x,o),Mo(e,x,o),Mo(e<120?e+240:e-120,x,o),this.opacity)},clamp(){const e=c;return new N0(Zi(this.h),dx(this.s),dx(this.l),lx(this[e(1690)]))},displayable(){const e=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this[e(1690)]<=1},formatHsl(){const e=c,n=lx(this[e(1690)]);return""+(n===1?"hsl(":e(1629))+Zi(this.h)+", "+dx(this.s)*100+e(1307)+dx(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function Zi(e){return e=(e||0)%360,e<0?e+360:e}function dx(e){return Math[c(879)](0,Math.min(1,e||0))}function Mo(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 Bo=e=>()=>e;function n5(e,n){return function(t){return e+t*n}}function t5(e,n,t){const o=c;return e=Math[o(1248)](e,t),n=Math[o(1248)](n,t)-e,t=1/t,function(x){return Math[o(1248)](e+x*n,t)}}function x5(e){return(e=+e)==1?Ki:function(n,t){return t-n?t5(n,t,e):Bo(isNaN(n)?t:n)}}function Ki(e,n){var t=n-e;return t?n5(e,t):Bo(isNaN(e)?n:e)}const ux=(function e(n){var t=x5(n);function o(x,r){const i=_0x1172;var a=t((x=Co(x)).r,(r=Co(r)).r),u=t(x.g,r.g),d=t(x.b,r.b),l=Ki(x[i(1690)],r[i(1690)]);return function(f){return x.r=a(f),x.g=u(f),x.b=d(f),x.opacity=l(f),x+""}}return o.gamma=e,o})(1);function o5(e,n){const t=c;n||(n=[]);var o=e?Math[t(984)](n[t(546)],e[t(546)]):0,x=n[t(1512)](),r;return function(i){for(r=0;r<o;++r)x[r]=e[r]*(1-i)+n[r]*i;return x}}function r5(e){return ArrayBuffer[c(988)](e)&&!(e instanceof DataView)}function i5(e,n){const t=c;var o=n?n[t(546)]:0,x=e?Math[t(984)](o,e[t(546)]):0,r=new Array(x),i=new Array(o),a;for(a=0;a<x;++a)r[a]=wt(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 a5(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0x1172(2004)](e*(1-o)+n*o),t}}function U0(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function c5(e,n){const t=c;var o={},x={},r;(e===null||typeof e!==t(1129))&&(e={}),(n===null||typeof n!==t(1129))&&(n={});for(r in n)r in e?o[r]=wt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var Do=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Lo=new RegExp(Do[c(916)],"g");function s5(e){return function(){return e}}function l5(e){return function(n){return e(n)+""}}function Ri(e,n){const t=c;var o=Do.lastIndex=Lo[t(364)]=0,x,r,i,a=-1,u=[],d=[];for(e=e+"",n=n+"";(x=Do.exec(e))&&(r=Lo[t(1342)](n));)(i=r[t(442)])>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,d[t(1699)]({i:a,x:U0(x,r)})),o=Lo[t(364)];return o<n.length&&(i=n[t(1512)](o),u[a]?u[a]+=i:u[++a]=i),u[t(546)]<2?d[0]?l5(d[0].x):s5(n):(n=d[t(546)],function(l){const f=t;for(var g=0,h;g<n;++g)u[(h=d[g]).i]=h.x(l);return u[f(1926)]("")})}function wt(e,n){const t=c;var o=typeof n,x;return n==null||o==="boolean"?Bo(n):(o===t(181)?U0:o===t(1117)?(x=hn(n))?(n=x,ux):Ri:n instanceof hn?ux:n instanceof Date?a5:r5(n)?o5:Array[t(454)](n)?i5:typeof n[t(1540)]!==t(943)&&typeof n[t(504)]!==t(943)||isNaN(n)?c5:U0)(e,n)}var Ji=180/Math.PI,So={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _i(e,n,t,o,x,r){const i=c;var a,u,d;return(a=Math[i(2008)](e*e+n*n))&&(e/=a,n/=a),(d=e*t+n*o)&&(t-=e*d,o-=n*d),(u=Math[i(2008)](t*t+o*o))&&(t/=u,o/=u,d/=u),e*o<n*t&&(e=-e,n=-n,d=-d,a=-a),{translateX:x,translateY:r,rotate:Math[i(1116)](n,e)*Ji,skewX:Math[i(1439)](d)*Ji,scaleX:a,scaleY:u}}var fx;function d5(e){const n=c,t=new(typeof DOMMatrix===n(943)?DOMMatrix:WebKitCSSMatrix)(e+"");return t[n(627)]?So:_i(t.a,t.b,t.c,t.d,t.e,t.f)}function u5(e){const n=c;return e==null||(fx||(fx=document[n(1487)]("http://www.w3.org/2000/svg","g")),fx.setAttribute(n(1142),e),!(e=fx[n(1142)][n(906)][n(1297)]()))?So:(e=e.matrix,_i(e.a,e.b,e.c,e.d,e.e,e.f))}function Fi(e,n,t,o){function x(d){const l=_0x1172;return d.length?d[l(613)]()+" ":""}function r(d,l,f,g,h,w){const b=_0x1172;if(d!==f||l!==g){var v=h.push(b(1873),null,n,null,t);w[b(1699)]({i:v-4,x:U0(d,f)},{i:v-2,x:U0(l,g)})}else(f||g)&&h[b(1699)]("translate("+f+n+g+t)}function i(d,l,f,g){const h=_0x1172;d!==l?(d-l>180?l+=360:l-d>180&&(d+=360),g[h(1699)]({i:f[h(1699)](x(f)+h(439),null,o)-2,x:U0(d,l)})):l&&f.push(x(f)+h(439)+l+o)}function a(d,l,f,g){const h=_0x1172;d!==l?g.push({i:f[h(1699)](x(f)+h(1680),null,o)-2,x:U0(d,l)}):l&&f.push(x(f)+h(1680)+l+o)}function u(d,l,f,g,h,w){const b=_0x1172;if(d!==f||l!==g){var v=h.push(x(h)+b(1934),null,",",null,")");w[b(1699)]({i:v-4,x:U0(d,f)},{i:v-2,x:U0(l,g)})}else(f!==1||g!==1)&&h.push(x(h)+"scale("+f+","+g+")")}return function(d,l){const f=_0x1172;var g=[],h=[];return d=e(d),l=e(l),r(d[f(688)],d[f(1381)],l[f(688)],l[f(1381)],g,h),i(d[f(541)],l.rotate,g,h),a(d.skewX,l.skewX,g,h),u(d[f(1645)],d[f(355)],l.scaleX,l[f(355)],g,h),d=l=null,function(w){const b=f;for(var v=-1,M=h[b(546)],m;++v<M;)g[(m=h[v]).i]=m.x(w);return g[b(1926)]("")}}}var f5=Fi(d5,"px, ","px)",c(1167)),b5=Fi(u5,", ",")",")"),h5=1e-12;function Qi(e){return((e=Math[c(1231)](e))+1/e)/2}function g5(e){return((e=Math[c(1231)](e))-1/e)/2}function y5(e){return((e=Math.exp(2*e))-1)/(e+1)}const bx=(function e(n,t,o){const x=c;function r(i,a){const u=_0x1172;var d=i[0],l=i[1],f=i[2],g=a[0],h=a[1],w=a[2],b=g-d,v=h-l,M=b*b+v*v,m,y;if(M<h5)y=Math[u(1803)](w/f)/n,m=function(W){const O=u;return[d+W*b,l+W*v,f*Math[O(1231)](n*W*y)]};else{var C=Math[u(2008)](M),z=(w*w-f*f+o*M)/(2*f*t*C),I=(w*w-f*f-o*M)/(2*w*t*C),U=Math[u(1803)](Math.sqrt(z*z+1)-z),H=Math[u(1803)](Math[u(2008)](I*I+1)-I);y=(H-U)/n,m=function(W){var O=W*y,Y=Qi(U),T=f/(t*C)*(Y*y5(n*O+U)-g5(U));return[d+T*b,l+T*v,f*Y/Qi(n*O+U)]}}return m.duration=y*1e3*n/Math[u(193)],m}return r[x(208)]=function(i){var u=Math[x(879)](.001,+i),d=u*u,l=d*d;return e(u,d,l)},r})(Math.SQRT2,2,4);var Vn=0,pt=0,zt=0,$i=1e3,hx,Ct,gx=0,mn=0,yx=0,Mt=typeof performance=="object"&&performance[c(1580)]?performance:Date,ea=typeof window===c(1129)&&window.requestAnimationFrame?window[c(517)].bind(window):function(e){setTimeout(e,17)};function No(){const e=c;return mn||(ea(m5),mn=Mt[e(1580)]()+yx)}function m5(){mn=0}function mx(){const e=c;this._call=this[e(1647)]=this._next=null}mx[c(989)]=na[c(989)]={constructor:mx,restart:function(e,n,t){const o=c;if(typeof e!==o(943))throw new TypeError(o(262));t=(t==null?No():+t)+(n==null?0:+n),!this[o(341)]&&Ct!==this&&(Ct?Ct._next=this:hx=this,Ct=this),this._call=e,this[o(1647)]=t,ko()},stop:function(){const e=c;this[e(1621)]&&(this._call=null,this[e(1647)]=1/0,ko())}};function na(e,n,t){const o=c;var x=new mx;return x[o(1007)](e,n,t),x}function v5(){const e=c;No(),++Vn;for(var n=hx,t;n;)(t=mn-n[e(1647)])>=0&&n[e(1621)][e(719)](void 0,t),n=n._next;--Vn}function ta(){mn=(gx=Mt.now())+yx,Vn=pt=0;try{v5()}finally{Vn=0,p5(),mn=0}}function w5(){var n=Mt[c(1580)](),t=n-gx;t>$i&&(yx-=t,gx=n)}function p5(){const e=c;for(var n,t=hx,o,x=1/0;t;)t[e(1621)]?(x>t._time&&(x=t._time),n=t,t=t._next):(o=t[e(341)],t._next=null,t=n?n[e(341)]=o:hx=o);Ct=n,ko(x)}function ko(e){const n=c;if(!Vn){pt&&(pt=clearTimeout(pt));var t=e-mn;t>24?(e<1/0&&(pt=setTimeout(ta,e-Mt[n(1580)]()-yx)),zt&&(zt=clearInterval(zt))):(zt||(gx=Mt.now(),zt=setInterval(w5,$i)),Vn=1,ea(ta))}}function xa(e,n,t){const o=c;var x=new mx;return n=n==null?0:+n,x[o(1007)](r=>{x[o(469)](),e(r+n)},n,t),x}var z5=xx(c(634),c(1361),c(1448),c(497)),C5=[],oa=0,ra=1,Io=2,vx=3,ia=4,Po=5,wx=6;function px(e,n,t,o,x,r){const i=c;var a=e[i(1226)];if(!a)e[i(1226)]={};else if(t in a)return;M5(e,t,{name:n,index:o,group:x,on:z5,tween:C5,time:r.time,delay:r[i(1471)],duration:r.duration,ease:r[i(889)],timer:null,state:oa})}function Ao(e,n){const t=c;var o=k0(e,n);if(o[t(846)]>oa)throw new Error(t(382));return o}function O0(e,n){const t=c;var o=k0(e,n);if(o[t(846)]>vx)throw new Error(t(995));return o}function k0(e,n){const t=c;var o=e.__transition;if(!o||!(o=o[n]))throw new Error(t(1359));return o}function M5(e,n,t){const o=c;var x=e.__transition,r;x[n]=t,t[o(545)]=na(i,0,t.time);function i(l){const f=o;t[f(846)]=ra,t[f(545)][f(1007)](a,t[f(1471)],t[f(1837)]),t[f(1471)]<=l&&a(l-t[f(1471)])}function a(l){const f=o;var g,h,w,b;if(t[f(846)]!==ra)return d();for(g in x)if(b=x[g],b[f(1535)]===t.name){if(b[f(846)]===vx)return xa(a);b[f(846)]===ia?(b[f(846)]=wx,b[f(545)][f(469)](),b.on[f(719)]("interrupt",e,e[f(1473)],b.index,b.group),delete x[g]):+g<n&&(b.state=wx,b[f(545)].stop(),b.on[f(719)](f(1448),e,e[f(1473)],b[f(442)],b[f(1084)]),delete x[g])}if(xa(function(){const v=f;t[v(846)]===vx&&(t[v(846)]=ia,t[v(545)][v(1007)](u,t[v(1471)],t.time),u(l))}),t[f(846)]=Io,t.on[f(719)](f(634),e,e[f(1473)],t[f(442)],t[f(1084)]),t.state===Io){for(t[f(846)]=vx,r=new Array(w=t[f(1140)][f(546)]),g=0,h=-1;g<w;++g)(b=t[f(1140)][g][f(867)][f(719)](e,e.__data__,t[f(442)],t[f(1084)]))&&(r[++h]=b);r[f(546)]=h+1}}function u(l){const f=o;for(var g=l<t[f(1630)]?t.ease[f(719)](null,l/t.duration):(t.timer.restart(d),t[f(846)]=Po,1),h=-1,w=r[f(546)];++h<w;)r[h].call(e,g);t[f(846)]===Po&&(t.on[f(719)](f(1361),e,e[f(1473)],t[f(442)],t[f(1084)]),d())}function d(){const l=o;t[l(846)]=wx,t.timer.stop(),delete x[n];for(var f in x)return;delete e[l(1226)]}}function zx(e,n){const t=c;var o=e.__transition,x,r,i=!0,a;if(o){n=n==null?null:n+"";for(a in o){if((x=o[a])[t(1535)]!==n){i=!1;continue}r=x[t(846)]>Io&&x[t(846)]<Po,x[t(846)]=wx,x.timer[t(469)](),x.on[t(719)](r?"interrupt":"cancel",e,e[t(1473)],x[t(442)],x.group),delete o[a]}i&&delete e.__transition}}function B5(e){return this[c(815)](function(){zx(this,e)})}function D5(e,n){var t,o;return function(){const x=_0x1172;var r=O0(this,e),i=r[x(1140)];if(i!==t){o=t=i;for(var a=0,u=o.length;a<u;++a)if(o[a].name===n){o=o.slice(),o[x(1574)](a,1);break}}r[x(1140)]=o}}function L5(e,n,t){const o=c;var x,r;if(typeof t!==o(943))throw new Error;return function(){const i=o;var a=O0(this,e),u=a[i(1140)];if(u!==x){r=(x=u)[i(1512)]();for(var d={name:n,value:t},l=0,f=r.length;l<f;++l)if(r[l][i(1535)]===n){r[l]=d;break}l===f&&r[i(1699)](d)}a[i(1140)]=r}}function S5(e,n){const t=c;var o=this._id;if(e+="",arguments[t(546)]<2){for(var x=k0(this.node(),o)[t(1140)],r=0,i=x.length,a;r<i;++r)if((a=x[r])[t(1535)]===e)return a[t(867)];return null}return this.each((n==null?D5:L5)(o,e,n))}function Eo(e,n,t){const o=c;var x=e[o(225)];return e[o(815)](function(){const r=o;var i=O0(this,x);(i[r(867)]||(i[r(867)]={}))[n]=t[r(1343)](this,arguments)}),function(r){return k0(r,x).value[n]}}function aa(e,n){var t;return(typeof n=="number"?U0:n instanceof hn?ux:(t=hn(n))?(n=t,ux):Ri)(e,n)}function N5(e){return function(){this[_0x1172(401)](e)}}function k5(e){return function(){const n=_0x1172;this[n(1352)](e.space,e[n(1152)])}}function I5(e,n,t){var o,x=t+"",r;return function(){var a=this[_0x1172(399)](e);return a===x?null:a===o?r:r=n(o=a,t)}}function P5(e,n,t){var o,x=t+"",r;return function(){const i=_0x1172;var a=this[i(453)](e[i(1438)],e[i(1152)]);return a===x?null:a===o?r:r=n(o=a,t)}}function A5(e,n,t){var o,x,r;return function(){var i,a=t(this),u;return a==null?void this.removeAttribute(e):(i=this.getAttribute(e),u=a+"",i===u?null:i===o&&u===x?r:(x=u,r=n(o=i,a)))}}function E5(e,n,t){var o,x,r;return function(){const i=_0x1172;var a,u=t(this),d;return u==null?void this[i(1352)](e.space,e.local):(a=this[i(453)](e[i(1438)],e[i(1152)]),d=u+"",a===d?null:a===o&&d===x?r:(x=d,r=n(o=a,u)))}}function j5(e,n){const t=c;var o=rx(e),x=o===t(1142)?b5:aa;return this[t(251)](e,typeof n===t(943)?(o[t(1152)]?E5:A5)(o,x,Eo(this,t(2022)+e,n)):n==null?(o[t(1152)]?k5:N5)(o):(o.local?P5:I5)(o,x,n))}function Y5(e,n){return function(t){this[_0x1172(484)](e,n.call(this,t))}}function U5(e,n){return function(t){const o=_0x1172;this.setAttributeNS(e[o(1438)],e.local,n[o(719)](this,t))}}function O5(e,n){const t=c;var o,x;function r(){var a=n[_0x1172(1343)](this,arguments);return a!==x&&(o=(x=a)&&U5(e,a)),o}return r[t(1478)]=n,r}function G5(e,n){const t=c;var o,x;function r(){var i=n.apply(this,arguments);return i!==x&&(o=(x=i)&&Y5(e,i)),o}return r[t(1478)]=n,r}function H5(e,n){const t=c;var o=t(2022)+e;if(arguments[t(546)]<2)return(o=this[t(1140)](o))&&o[t(1478)];if(n==null)return this[t(1140)](o,null);if(typeof n!==t(943))throw new Error;var x=rx(e);return this[t(1140)](o,(x[t(1152)]?O5:G5)(x,n))}function T5(e,n){return function(){const t=_0x1172;Ao(this,e)[t(1471)]=+n[t(1343)](this,arguments)}}function V5(e,n){return n=+n,function(){const t=_0x1172;Ao(this,e)[t(1471)]=n}}function q5(e){const n=c;var t=this[n(225)];return arguments[n(546)]?this.each((typeof e===n(943)?T5:V5)(t,e)):k0(this[n(1067)](),t)[n(1471)]}function W5(e,n){return function(){const t=_0x1172;O0(this,e)[t(1630)]=+n[t(1343)](this,arguments)}}function X5(e,n){return n=+n,function(){const t=_0x1172;O0(this,e)[t(1630)]=n}}function Z5(e){const n=c;var t=this[n(225)];return arguments[n(546)]?this.each((typeof e===n(943)?W5:X5)(t,e)):k0(this[n(1067)](),t).duration}function K5(e,n){if(typeof n!="function")throw new Error;return function(){const t=_0x1172;O0(this,e)[t(889)]=n}}function R5(e){const n=c;var t=this[n(225)];return arguments[n(546)]?this[n(815)](K5(t,e)):k0(this[n(1067)](),t)[n(889)]}function J5(e,n){return function(){const t=_0x1172;var o=n.apply(this,arguments);if(typeof o!="function")throw new Error;O0(this,e)[t(889)]=o}}function _5(e){const n=c;if(typeof e!==n(943))throw new Error;return this[n(815)](J5(this[n(225)],e))}function F5(e){const n=c;typeof e!==n(943)&&(e=Mi(e));for(var t=this[n(1040)],o=t[n(546)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(546)],u=x[r]=[],d,l=0;l<a;++l)(d=i[l])&&e.call(d,d[n(1473)],l,i)&&u[n(1699)](d);return new W0(x,this._parents,this._name,this[n(225)])}function Q5(e){const n=c;if(e[n(225)]!==this[n(225)])throw new Error;for(var t=this[n(1040)],o=e[n(1040)],x=t[n(546)],r=o[n(546)],i=Math[n(984)](x,r),a=new Array(x),u=0;u<i;++u)for(var d=t[u],l=o[u],f=d[n(546)],g=a[u]=new Array(f),h,w=0;w<f;++w)(h=d[w]||l[w])&&(g[w]=h);for(;u<x;++u)a[u]=t[u];return new W0(a,this._parents,this[n(1943)],this[n(225)])}function $5(e){const n=c;return(e+"").trim()[n(824)](/^|\s+/).every(function(t){const o=n;var x=t.indexOf(".");return x>=0&&(t=t.slice(0,x)),!t||t===o(634)})}function ef(e,n,t){var o,x,r=$5(n)?Ao:O0;return function(){const i=_0x1172;var a=r(this,e),u=a.on;u!==o&&(x=(o=u)[i(858)]()).on(n,t),a.on=x}}function nf(e,n){const t=c;var o=this[t(225)];return arguments[t(546)]<2?k0(this[t(1067)](),o).on.on(e):this[t(815)](ef(o,e,n))}function tf(e){return function(){const n=_0x1172;var t=this[n(1548)];for(var o in this[n(1226)])if(+o!==e)return;t&&t.removeChild(this)}}function xf(){const e=c;return this.on("end.remove",tf(this[e(225)]))}function of(e){const n=c;var t=this[n(1943)],o=this[n(225)];typeof e!==n(943)&&(e=mo(e));for(var x=this[n(1040)],r=x[n(546)],i=new Array(r),a=0;a<r;++a)for(var u=x[a],d=u.length,l=i[a]=new Array(d),f,g,h=0;h<d;++h)(f=u[h])&&(g=e[n(719)](f,f[n(1473)],h,u))&&(n(1473)in f&&(g[n(1473)]=f[n(1473)]),l[h]=g,px(l[h],t,o,h,l,k0(f,o)));return new W0(i,this._parents,t,o)}function rf(e){const n=c;var t=this[n(1943)],o=this[n(225)];typeof e!==n(943)&&(e=Ci(e));for(var x=this[n(1040)],r=x[n(546)],i=[],a=[],u=0;u<r;++u)for(var d=x[u],l=d[n(546)],f,g=0;g<l;++g)if(f=d[g]){for(var h=e.call(f,f[n(1473)],g,d),w,b=k0(f,o),v=0,M=h.length;v<M;++v)(w=h[v])&&px(w,t,o,v,h,b);i.push(h),a[n(1699)](f)}return new W0(i,a,t,o)}var af=ht[c(989)].constructor;function cf(){const e=c;return new af(this[e(1040)],this[e(1672)])}function sf(e,n){var t,o,x;return function(){const r=_0x1172;var i=Gn(this,e),a=(this[r(183)].removeProperty(e),Gn(this,e));return i===a?null:i===t&&a===o?x:x=n(t=i,o=a)}}function ca(e){return function(){const n=_0x1172;this[n(183)][n(2036)](e)}}function lf(e,n,t){var o,x=t+"",r;return function(){var i=Gn(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function df(e,n,t){var o,x,r;return function(){const i=_0x1172;var a=Gn(this,e),u=t(this),d=u+"";return u==null&&(d=u=(this[i(183)][i(2036)](e),Gn(this,e))),a===d?null:a===o&&d===x?r:(x=d,r=n(o=a,u))}}function uf(e,n){const t=c;var o,x,r,i=t(704)+n,a="end."+i,u;return function(){const d=t;var l=O0(this,e),f=l.on,g=l[d(867)][i]==null?u||(u=ca(n)):void 0;(f!==o||r!==g)&&(x=(o=f).copy()).on(a,r=g),l.on=x}}function ff(e,n,t){const o=c;var x=(e+="")=="transform"?f5:aa;return n==null?this.styleTween(e,sf(e,x)).on("end.style."+e,ca(e)):typeof n===o(943)?this[o(692)](e,df(e,x,Eo(this,o(704)+e,n)))[o(815)](uf(this[o(225)],e)):this[o(692)](e,lf(e,x,n),t).on("end.style."+e,null)}function bf(e,n,t){return function(o){const x=_0x1172;this[x(183)][x(297)](e,n[x(719)](this,o),t)}}function hf(e,n,t){const o=c;var x,r;function i(){var a=n.apply(this,arguments);return a!==r&&(x=(r=a)&&bf(e,a,t)),x}return i[o(1478)]=n,i}function gf(e,n,t){const o=c;var x="style."+(e+="");if(arguments.length<2)return(x=this.tween(x))&&x._value;if(n==null)return this[o(1140)](x,null);if(typeof n!==o(943))throw new Error;return this[o(1140)](x,hf(e,n,t??""))}function yf(e){return function(){const n=_0x1172;this[n(1860)]=e}}function mf(e){return function(){const n=_0x1172;var t=e(this);this[n(1860)]=t??""}}function vf(e){const n=c;return this.tween(n(1810),typeof e=="function"?mf(Eo(this,n(1810),e)):yf(e==null?"":e+""))}function wf(e){return function(n){const t=_0x1172;this[t(1860)]=e[t(719)](this,n)}}function pf(e){const n=c;var t,o;function x(){var r=e.apply(this,arguments);return r!==o&&(t=(o=r)&&wf(r)),t}return x[n(1478)]=e,x}function zf(e){const n=c;var t=n(1810);if(arguments[n(546)]<1)return(t=this[n(1140)](t))&&t[n(1478)];if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this[n(1140)](t,pf(e))}function Cf(){const e=c;for(var n=this._name,t=this[e(225)],o=sa(),x=this[e(1040)],r=x.length,i=0;i<r;++i)for(var a=x[i],u=a.length,d,l=0;l<u;++l)if(d=a[l]){var f=k0(d,t);px(d,n,o,l,a,{time:f[e(1837)]+f.delay+f[e(1630)],delay:0,duration:f[e(1630)],ease:f[e(889)]})}return new W0(x,this[e(1672)],n,o)}function Mf(){const e=c;var n,t,o=this,x=o._id,r=o[e(313)]();return new Promise(function(i,a){var u={value:a},d={value:function(){--r===0&&i()}};o.each(function(){const l=_0x1172;var f=O0(this,x),g=f.on;g!==n&&(t=(n=g).copy(),t._[l(1448)][l(1699)](u),t._[l(497)].push(u),t._[l(1361)].push(d)),f.on=t}),r===0&&i()})}var Bf=0;function W0(e,n,t,o){const x=c;this._groups=e,this[x(1672)]=n,this[x(1943)]=t,this[x(225)]=o}function sa(){return++Bf}var X0=ht[c(989)];W0[c(989)]={constructor:W0,select:of,selectAll:rf,selectChild:X0.selectChild,selectChildren:X0[c(1529)],filter:F5,merge:Q5,selection:cf,transition:Cf,call:X0[c(719)],nodes:X0[c(376)],node:X0[c(1067)],size:X0[c(313)],empty:X0.empty,each:X0[c(815)],on:nf,attr:j5,attrTween:H5,style:ff,styleTween:gf,text:vf,textTween:zf,remove:xf,tween:S5,delay:q5,duration:Z5,ease:R5,easeVarying:_5,end:Mf,[Symbol[c(1721)]]:X0[Symbol[c(1721)]]};function Df(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var Lf={time:null,delay:0,duration:250,ease:Df};function Sf(e,n){const t=c;for(var o;!(o=e[t(1226)])||!(o=o[n]);)if(!(e=e[t(1548)]))throw new Error("transition "+n+" not found");return o}function Nf(e){const n=c;var t,o;e instanceof W0?(t=e[n(225)],e=e[n(1943)]):(t=sa(),(o=Lf)[n(1837)]=No(),e=e==null?null:e+"");for(var x=this[n(1040)],r=x[n(546)],i=0;i<r;++i)for(var a=x[i],u=a[n(546)],d,l=0;l<u;++l)(d=a[l])&&px(d,e,t,l,a,o||Sf(d,t));return new W0(x,this[n(1672)],e,t)}ht.prototype[c(497)]=B5,ht.prototype[c(1697)]=Nf;const Cx=e=>()=>e;function kf(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object.defineProperties(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 Z0(e,n,t){this.k=e,this.x=n,this.y=t}Z0[c(989)]={constructor:Z0,scale:function(e){return e===1?this:new Z0(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new Z0(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=c;return e[n(858)]().domain(e[n(1056)]()[n(1461)](this[n(1821)],this)[n(1461)](e[n(1874)],e))},rescaleY:function(e){const n=c;return e[n(858)]()[n(1947)](e[n(1056)]().map(this.invertY,this)[n(1461)](e[n(1874)],e))},toString:function(){const e=c;return"translate("+this.x+","+this.y+e(550)+this.k+")"}};var Mx=new Z0(1,0,0);la[c(989)]=Z0.prototype;function la(e){const n=c;for(;!e[n(1997)];)if(!(e=e[n(1548)]))return Mx;return e[n(1997)]}function jo(e){e.stopImmediatePropagation()}function Bt(e){e[c(800)](),e.stopImmediatePropagation()}function If(e){const n=c;return(!e[n(1727)]||e[n(939)]===n(1818))&&!e[n(1034)]}function Pf(){const e=c;var n=this;return n instanceof SVGElement?(n=n[e(1679)]||n,n[e(211)](e(663))?(n=n.viewBox[e(906)],[[n.x,n.y],[n.x+n[e(1909)],n.y+n.height]]):[[0,0],[n[e(1909)][e(906)][e(867)],n[e(784)][e(906)][e(867)]]]):[[0,0],[n[e(1051)],n.clientHeight]]}function da(){return this[c(1997)]||Mx}function Af(e){const n=c;return-e[n(420)]*(e[n(1489)]===1?.05:e[n(1489)]?1:.002)*(e.ctrlKey?10:1)}function Ef(){return navigator[c(539)]||"ontouchstart"in this}function jf(e,n,t){const o=c;var x=e.invertX(n[0][0])-t[0][0],r=e[o(1821)](n[1][0])-t[1][0],i=e[o(636)](n[0][1])-t[0][1],a=e[o(636)](n[1][1])-t[1][1];return e[o(620)](r>x?(x+r)/2:Math[o(984)](0,x)||Math[o(879)](0,r),a>i?(i+a)/2:Math[o(984)](0,i)||Math[o(879)](0,a))}function ua(){const e=c;var n=If,t=Pf,o=jf,x=Af,r=Ef,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],u=250,d=bx,l=xx("start","zoom",e(1361)),f,g,h,w=500,b=150,v=0,M=10;function m(L){const B=e;L.property(B(1997),da).on("wheel.zoom",W,{passive:!1}).on(B(1097),O).on(B(1222),Y).filter(r).on(B(1726),T).on(B(985),X).on(B(1811),V)[B(183)](B(1852),B(2016))}m[e(1142)]=function(L,B,N,E){const P=e;var A=L[P(1614)]?L[P(1614)]():L;A[P(1107)](P(1997),da),L!==A?I(L,B,N,E):A[P(497)]()[P(815)](function(){const _=P;U(this,arguments)[_(1508)](E)[_(634)]().zoom(null,typeof B=="function"?B[_(1343)](this,arguments):B)[_(1361)]()})},m[e(899)]=function(L,B,N,E){const P=e;m[P(759)](L,function(){const A=P;var _=this[A(1997)].k,Q=typeof B===A(943)?B[A(1343)](this,arguments):B;return _*Q},N,E)},m[e(759)]=function(L,B,N,E){const P=e;m[P(1142)](L,function(){const A=P;var _=t.apply(this,arguments),Q=this.__zoom,$=N==null?z(_):typeof N===A(943)?N.apply(this,arguments):N,ne=Q[A(1874)]($),ie=typeof B=="function"?B[A(1343)](this,arguments):B;return o(C(y(Q,ie),$,ne),_,a)},N,E)},m[e(606)]=function(L,B,N,E){m.transform(L,function(){const P=_0x1172;return o(this[P(1997)][P(620)](typeof B===P(943)?B[P(1343)](this,arguments):B,typeof N===P(943)?N.apply(this,arguments):N),t[P(1343)](this,arguments),a)},null,E)},m[e(1302)]=function(L,B,N,E,P){const A=e;m[A(1142)](L,function(){const _=A;var Q=t[_(1343)](this,arguments),$=this[_(1997)],ne=E==null?z(Q):typeof E=="function"?E[_(1343)](this,arguments):E;return o(Mx[_(620)](ne[0],ne[1])[_(576)]($.k).translate(typeof B===_(943)?-B[_(1343)](this,arguments):-B,typeof N===_(943)?-N[_(1343)](this,arguments):-N),Q,a)},E,P)};function y(L,B){return B=Math[e(879)](i[0],Math.min(i[1],B)),B===L.k?L:new Z0(B,L.x,L.y)}function C(L,B,N){var E=B[0]-N[0]*L.k,P=B[1]-N[1]*L.k;return E===L.x&&P===L.y?L:new Z0(L.k,E,P)}function z(L){return[(+L[0][0]+ +L[1][0])/2,(+L[0][1]+ +L[1][1])/2]}function I(L,B,N,E){const P=e;L.on(P(500),function(){const A=P;U(this,arguments)[A(1508)](E).start()}).on("interrupt.zoom end.zoom",function(){const A=P;U(this,arguments)[A(1508)](E).end()})[P(1140)](P(1899),function(){const A=P;var _=this,Q=arguments,$=U(_,Q)[A(1508)](E),ne=t[A(1343)](_,Q),ie=N==null?z(ne):typeof N===A(943)?N[A(1343)](_,Q):N,he=Math[A(879)](ne[1][0]-ne[0][0],ne[1][1]-ne[0][1]),ye=_.__zoom,Ce=typeof B===A(943)?B[A(1343)](_,Q):B,fe=d(ye[A(1874)](ie)[A(1701)](he/ye.k),Ce[A(1874)](ie)[A(1701)](he/Ce.k));return function(ee){const be=A;if(ee===1)ee=Ce;else{var pe=fe(ee),j=he/pe[2];ee=new Z0(j,ie[0]-pe[0]*j,ie[1]-pe[1]*j)}$[be(1899)](null,ee)}})}function U(L,B,N){return!N&&L[e(535)]||new H(L,B)}function H(L,B){const N=e;this[N(1234)]=L,this[N(224)]=B,this[N(756)]=0,this[N(1872)]=null,this.extent=t[N(1343)](L,B),this[N(2038)]=0}H[e(989)]={event:function(L){const B=e;return L&&(this[B(1872)]=L),this},start:function(){const L=e;return++this[L(756)]===1&&(this[L(1234)].__zooming=this,this[L(1655)]("start")),this},zoom:function(L,B){const N=e;return this[N(219)]&&L!=="mouse"&&(this[N(219)][1]=B[N(1874)](this[N(219)][0])),this[N(1256)]&&L!==N(612)&&(this.touch0[1]=B[N(1874)](this.touch0[0])),this[N(1346)]&&L!=="touch"&&(this[N(1346)][1]=B[N(1874)](this.touch1[0])),this.that[N(1997)]=B,this[N(1655)](N(1899)),this},end:function(){const L=e;return--this.active===0&&(delete this.that[L(535)],this[L(1655)](L(1361))),this},emit:function(L){const B=e;var N=v0(this[B(1234)])[B(1356)]();l[B(719)](L,this.that,new kf(L,{sourceEvent:this.sourceEvent,target:m,transform:this[B(1234)].__zoom,dispatch:l}),N)}};function W(L,...B){const N=e;if(!n[N(1343)](this,arguments))return;var E=U(this,B)[N(1508)](L),P=this.__zoom,A=Math[N(879)](i[0],Math[N(984)](i[1],P.k*Math[N(1248)](2,x.apply(this,arguments)))),_=S0(L);if(E[N(1818)])(E.mouse[0][0]!==_[0]||E[N(219)][0][1]!==_[1])&&(E.mouse[1]=P[N(1874)](E.mouse[0]=_)),clearTimeout(E[N(1818)]);else{if(P.k===A)return;E[N(219)]=[_,P[N(1874)](_)],zx(this),E.start()}Bt(L),E.wheel=setTimeout(Q,b),E.zoom(N(219),o(C(y(P,A),E[N(219)][0],E.mouse[1]),E[N(1053)],a));function Q(){const $=N;E.wheel=null,E[$(1361)]()}}function O(L,...B){const N=e;if(h||!n[N(1343)](this,arguments))return;var E=L[N(1274)],P=U(this,B,!0)[N(1508)](L),A=v0(L.view).on("mousemove.zoom",ne,!0).on(N(1221),ie,!0),_=S0(L,E),Q=L[N(1692)],$=L.clientY;Ei(L.view),jo(L),P.mouse=[_,this[N(1997)][N(1874)](_)],zx(this),P[N(634)]();function ne(he){const ye=N;if(Bt(he),!P[ye(1223)]){var Ce=he[ye(1692)]-Q,fe=he[ye(1853)]-$;P[ye(1223)]=Ce*Ce+fe*fe>v}P.event(he)[ye(1899)](ye(219),o(C(P.that.__zoom,P[ye(219)][0]=S0(he,E),P.mouse[1]),P[ye(1053)],a))}function ie(he){const ye=N;A.on(ye(1431),null),ji(he[ye(1652)],P[ye(1223)]),Bt(he),P.event(he).end()}}function Y(L,...B){const N=e;if(n.apply(this,arguments)){var E=this[N(1997)],P=S0(L[N(354)]?L[N(354)][0]:L,this),A=E[N(1874)](P),_=E.k*(L[N(1022)]?.5:2),Q=o(C(y(E,_),P,A),t.apply(this,B),a);Bt(L),u>0?v0(this)[N(1697)]()[N(1630)](u)[N(719)](I,Q,P,L):v0(this)[N(719)](m[N(1142)],Q,P,L)}}function T(L,...B){const N=e;if(n[N(1343)](this,arguments)){var E=L[N(1577)],P=E[N(546)],A=U(this,B,L[N(354)][N(546)]===P)[N(1508)](L),_,Q,$,ne;for(jo(L),Q=0;Q<P;++Q)$=E[Q],ne=S0($,this),ne=[ne,this.__zoom[N(1874)](ne),$[N(1465)]],A[N(1256)]?!A[N(1346)]&&A.touch0[2]!==ne[2]&&(A.touch1=ne,A.taps=0):(A.touch0=ne,_=!0,A[N(2038)]=1+!!f);f&&(f=clearTimeout(f)),_&&(A[N(2038)]<2&&(g=ne[0],f=setTimeout(function(){f=null},w)),zx(this),A[N(634)]())}}function X(L,...B){const N=e;if(this[N(535)]){var E=U(this,B)[N(1508)](L),P=L.changedTouches,A=P[N(546)],_,Q,$,ne;for(Bt(L),_=0;_<A;++_)Q=P[_],$=S0(Q,this),E[N(1256)]&&E.touch0[2]===Q.identifier?E[N(1256)][0]=$:E[N(1346)]&&E[N(1346)][2]===Q[N(1465)]&&(E[N(1346)][0]=$);if(Q=E[N(1234)].__zoom,E[N(1346)]){var ie=E[N(1256)][0],he=E[N(1256)][1],ye=E[N(1346)][0],Ce=E[N(1346)][1],fe=(fe=ye[0]-ie[0])*fe+(fe=ye[1]-ie[1])*fe,ee=(ee=Ce[0]-he[0])*ee+(ee=Ce[1]-he[1])*ee;Q=y(Q,Math[N(2008)](fe/ee)),$=[(ie[0]+ye[0])/2,(ie[1]+ye[1])/2],ne=[(he[0]+Ce[0])/2,(he[1]+Ce[1])/2]}else if(E[N(1256)])$=E[N(1256)][0],ne=E[N(1256)][1];else return;E.zoom(N(612),o(C(Q,$,ne),E[N(1053)],a))}}function V(L,...B){const N=e;if(this[N(535)]){var E=U(this,B)[N(1508)](L),P=L[N(354)],A=P.length,_,Q;for(jo(L),h&&clearTimeout(h),h=setTimeout(function(){h=null},w),_=0;_<A;++_)Q=P[_],E[N(1256)]&&E.touch0[2]===Q[N(1465)]?delete E[N(1256)]:E[N(1346)]&&E.touch1[2]===Q[N(1465)]&&delete E.touch1;if(E.touch1&&!E[N(1256)]&&(E[N(1256)]=E[N(1346)],delete E[N(1346)]),E.touch0)E.touch0[1]=this.__zoom[N(1874)](E[N(1256)][0]);else if(E[N(1361)](),E[N(2038)]===2&&(Q=S0(Q,this),Math[N(1745)](g[0]-Q[0],g[1]-Q[1])<M)){var $=v0(this).on("dblclick.zoom");$&&$[N(1343)](this,arguments)}}}return m[e(563)]=function(L){const B=e;return arguments.length?(x=typeof L===B(943)?L:Cx(+L),m):x},m[e(1338)]=function(L){const B=e;return arguments.length?(n=typeof L===B(943)?L:Cx(!!L),m):n},m[e(487)]=function(L){const B=e;return arguments[B(546)]?(r=typeof L===B(943)?L:Cx(!!L),m):r},m[e(1053)]=function(L){const B=e;return arguments[B(546)]?(t=typeof L===B(943)?L:Cx([[+L[0][0],+L[0][1]],[+L[1][0],+L[1][1]]]),m):t},m[e(1696)]=function(L){return arguments[e(546)]?(i[0]=+L[0],i[1]=+L[1],m):[i[0],i[1]]},m[e(1704)]=function(L){return arguments.length?(a[0][0]=+L[0][0],a[1][0]=+L[1][0],a[0][1]=+L[0][1],a[1][1]=+L[1][1],m):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},m.constrain=function(L){return arguments[e(546)]?(o=L,m):o},m[e(1630)]=function(L){return arguments.length?(u=+L,m):u},m[e(226)]=function(L){return arguments.length?(d=L,m):d},m.on=function(){var L=l.on.apply(l,arguments);return L===l?m:L},m[e(1114)]=function(L){const B=e;return arguments[B(546)]?(v=(L=+L)*L,m):Math[B(2008)](v)},m[e(1742)]=function(L){return arguments[e(546)]?(M=+L,m):M},m}const w0={error001:()=>c(1638),error002:()=>c(654),error003:e=>c(368)+e+c(793),error004:()=>c(872),error005:()=>c(1018),error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>"The old edge with id="+e+c(1653),error009:e=>'Marker type "'+e+`" doesn't exist.`,error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>c(1951)+e+c(655)+(e==="source"?t:o)+c(1225)+n+".",error010:()=>c(1770),error011:e=>'Edge type "'+e+c(793),error012:e=>c(920)+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=c(1809))=>"It seems that you haven't loaded the styles. Please import '@xyflow/"+e+c(982),error014:()=>c(1668),error015:()=>c(1555)},Dt=[[Number[c(884)],Number.NEGATIVE_INFINITY],[Number[c(316)],Number[c(316)]]],fa=[c(1069)," ",c(713)],ba={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":c(380),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>c(1408)+e+c(387)+n+c(1308)+t,"edge.a11yDescription.default":c(1073),"controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":c(302),"controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":c(1498),"controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":c(315),"handle.ariaLabel":c(1848)};var qn;(function(e){const n=c;e[n(1729)]="strict",e.Loose=n(997)})(qn||(qn={}));var vn;(function(e){const n=c;e[n(1863)]=n(897),e.Vertical=n(1331),e[n(232)]=n(201)})(vn||(vn={}));var Lt;(function(e){const n=c;e[n(1423)]=n(1607),e[n(1239)]=n(413)})(Lt||(Lt={}));const ha={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var xn;(function(e){const n=c;e.Bezier=n(1744),e[n(1651)]=n(1060),e[n(732)]=n(403),e[n(1396)]=n(1121),e.SimpleBezier=n(1599)})(xn||(xn={}));var Bx;(function(e){const n=c;e[n(337)]=n(1462),e[n(658)]=n(1635)})(Bx||(Bx={}));var De;(function(e){const n=c;e[n(1320)]=n(230),e.Top=n(429),e[n(1335)]=n(458),e[n(653)]=n(1682)})(De||(De={}));const ga={[De[c(1320)]]:De[c(1335)],[De[c(1335)]]:De[c(1320)],[De[c(993)]]:De.Bottom,[De[c(653)]]:De.Top};function ya(e){const n=c;return e===null?null:n(e?622:912)}const ma=e=>"id"in e&&c(916)in e&&c(1562)in e,Yf=e=>"id"in e&&"position"in e&&!(c(916)in e)&&!(c(1562)in e),Yo=e=>"id"in e&&c(465)in e&&!("source"in e)&&!(c(1562)in e),St=(e,n=[0,0])=>{const t=c,{width:o,height:x}=K0(e),r=e.origin??n,i=o*r[0],a=x*r[1];return{x:e[t(1980)].x-i,y:e[t(1980)].y-a}},Uf=(e,n={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV===t(1779)&&!n.nodeLookup&&console[t(241)]("Please use `getNodesBounds` from `useReactFlow`/`useSvelteFlow` hook to ensure correct values for sub flows. If not possible, you have to provide a nodeLookup to support sub flows."),e[t(546)]===0)return{x:0,y:0,width:0,height:0};const o=e[t(1905)]((x,r)=>{const i=t,a=typeof r===i(1117);let u=!n[i(615)]&&!a?r:void 0;n[i(615)]&&(u=a?n[i(615)].get(r):Yo(r)?r:n.nodeLookup[i(750)](r.id));const d=u?Sx(u,n[i(1205)]):{x:0,y:0,x2:0,y2:0};return Dx(x,d)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Lx(o)},Nt=(e,n={})=>{let t={x:1/0,y:1/0,x2:-1/0,y2:-1/0},o=!1;return e.forEach(x=>{const r=_0x1172;(n.filter===void 0||n[r(1338)](x))&&(t=Dx(t,Sx(x)),o=!0)}),o?Lx(t):{x:0,y:0,width:0,height:0}},Uo=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const a=c,u={...Pt(n,[t,o,x]),width:n[a(1909)]/x,height:n[a(784)]/x},d=[];for(const l of e[a(462)]()){const{measured:f,selectable:g=!0,hidden:h=!1}=l;if(i&&!g||h)continue;const w=f[a(1909)]??l[a(1909)]??l[a(992)]??null,b=f[a(784)]??l[a(784)]??l[a(790)]??null,v=kt(u,Xn(l)),M=(w??0)*(b??0),m=r&&v>0;(!l.internals[a(284)]||m||v>=M||l[a(1146)])&&d[a(1699)](l)}return d},Of=(e,n)=>{const t=c,o=new Set;return e[t(1161)](x=>{o[t(1463)](x.id)}),n[t(1338)](x=>o.has(x[t(916)])||o.has(x[t(1562)]))};function Gf(e,n){const t=c,o=new Map,x=n?.[t(376)]?new Set(n[t(376)][t(1461)](r=>r.id)):null;return e[t(1161)](r=>{const i=t;r.measured[i(1909)]&&r[i(911)].height&&(n?.[i(657)]||!r[i(614)])&&(!x||x.has(r.id))&&o[i(1683)](r.id,r)}),o}async function Hf({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const a=c;if(e[a(313)]===0)return Promise.resolve(!0);const u=Gf(e,i),d=Nt(u),l=Go(d,n,t,i?.minZoom??x,i?.[a(2006)]??r,i?.[a(1601)]??.1);return await o[a(444)](l,{duration:i?.[a(1630)],ease:i?.ease,interpolate:i?.interpolate}),Promise[a(737)](!0)}function va({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=c,a=t[i(750)](e),u=a[i(294)]?t[i(750)](a[i(294)]):void 0,{x:d,y:l}=u?u[i(465)].positionAbsolute:{x:0,y:0},f=a[i(1528)]??o;let g=a[i(1053)]||x;if(a[i(1053)]==="parent"&&!a[i(1004)])if(!u)r?.(i(1735),w0[i(1358)]());else{const w=u[i(911)][i(1909)],b=u[i(911)][i(784)];w&&b&&(g=[[d,l],[d+w,l+b]])}else u&&Kn(a[i(1053)])&&(g=[[a.extent[0][0]+d,a[i(1053)][0][1]+l],[a.extent[1][0]+d,a[i(1053)][1][1]+l]]);const h=Kn(g)?wn(n,g,a[i(911)]):n;return(a[i(911)][i(1909)]===void 0||a[i(911)].height===void 0)&&r?.(i(1246),w0[i(1215)]()),{position:{x:h.x-d+(a.measured[i(1909)]??0)*f[0],y:h.y-l+(a[i(911)][i(784)]??0)*f[1]},positionAbsolute:h}}async function Tf({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=c,i=new Set(e[r(1461)](h=>h.id)),a=[];for(const h of t){if(h.deletable===!1)continue;const w=i[r(363)](h.id),b=!w&&h[r(294)]&&a[r(957)](v=>v.id===h[r(294)]);(w||b)&&a.push(h)}const u=new Set(n[r(1461)](h=>h.id)),d=o.filter(h=>h[r(1446)]!==!1),l=Of(a,d),f=l;for(const h of d)u[r(363)](h.id)&&!f.find(b=>b.id===h.id)&&f[r(1699)](h);if(!x)return{edges:f,nodes:a};const g=await x({nodes:a,edges:f});return typeof g===r(1585)?g?{edges:f,nodes:a}:{edges:[],nodes:[]}:g}const Wn=(e,n=0,t=1)=>Math[c(984)](Math.max(e,n),t),wn=(e={x:0,y:0},n,t)=>({x:Wn(e.x,n[0][0],n[1][0]-(t?.[c(1909)]??0)),y:Wn(e.y,n[0][1],n[1][1]-(t?.height??0))});function wa(e,n,t){const o=c,{width:x,height:r}=K0(t),{x:i,y:a}=t[o(465)][o(868)];return wn(e,[[i,a],[i+x,a+r]],n)}const pa=(e,n,t)=>{const o=c;return e<n?Wn(Math[o(609)](e-n),1,n)/n:e>t?-Wn(Math[o(609)](e-t),1,n)/n:0},za=(e,n,t=15,o=40)=>{const x=c,r=pa(e.x,o,n[x(1909)]-o)*t,i=pa(e.y,o,n.height-o)*t;return[r,i]},Dx=(e,n)=>({x:Math[c(984)](e.x,n.x),y:Math[c(984)](e.y,n.y),x2:Math[c(879)](e.x2,n.x2),y2:Math[c(879)](e.y2,n.y2)}),Oo=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),Lx=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),Xn=(e,n=[0,0])=>{const t=c,{x:o,y:x}=Yo(e)?e[t(465)][t(868)]:St(e,n);return{x:o,y:x,width:e[t(911)]?.[t(1909)]??e[t(1909)]??e[t(992)]??0,height:e.measured?.[t(784)]??e[t(784)]??e[t(790)]??0}},Sx=(e,n=[0,0])=>{const t=c,{x:o,y:x}=Yo(e)?e[t(465)][t(868)]:St(e,n);return{x:o,y:x,x2:o+(e.measured?.[t(1909)]??e[t(1909)]??e[t(992)]??0),y2:x+(e.measured?.[t(784)]??e[t(784)]??e[t(790)]??0)}},Ca=(e,n)=>Lx(Dx(Oo(e),Oo(n))),kt=(e,n)=>{const t=c,o=Math[t(879)](0,Math[t(984)](e.x+e[t(1909)],n.x+n.width)-Math[t(879)](e.x,n.x)),x=Math[t(879)](0,Math.min(e.y+e[t(784)],n.y+n.height)-Math.max(e.y,n.y));return Math[t(802)](o*x)},Ma=e=>I0(e.width)&&I0(e[c(784)])&&I0(e.x)&&I0(e.y),I0=e=>!isNaN(e)&&isFinite(e),Ba=(e,n)=>{const t=c;process.env.NODE_ENV==="development"&&console.warn("[React Flow]: "+n+t(1156)+e)},It=(e,n=[1,1])=>{const t=c;return{x:n[0]*Math[t(1758)](e.x/n[0]),y:n[1]*Math[t(1758)](e.y/n[1])}},Pt=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const a={x:(e-t)/x,y:(n-o)/x};return r?It(a,i):a},Nx=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function Zn(e,n){const t=c;if(typeof e===t(181))return Math[t(753)]((n-n/(1+e))*.5);if(typeof e===t(1117)&&e[t(1348)]("px")){const o=parseFloat(e);if(!Number[t(771)](o))return Math[t(753)](o)}if(typeof e===t(1117)&&e[t(1348)]("%")){const o=parseFloat(e);if(!Number[t(771)](o))return Math[t(753)](n*o*.01)}return console.error('[React Flow] The padding value "'+e+'" is invalid. Please provide a number or a string with a valid unit (px or %).'),0}function Vf(e,n,t){const o=c;if(typeof e===o(1117)||typeof e===o(181)){const x=Zn(e,t),r=Zn(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e===o(1129)){const x=Zn(e[o(429)]??e.y??0,t),r=Zn(e[o(1682)]??e.y??0,t),i=Zn(e.left??e.x??0,n),a=Zn(e[o(458)]??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 qf(e,n,t,o,x,r){const i=c,{x:a,y:u}=Nx(e,[n,t,o]),{x:d,y:l}=Nx({x:e.x+e.width,y:e.y+e.height},[n,t,o]),f=x-d,g=r-l;return{left:Math.floor(a),top:Math[i(753)](u),right:Math[i(753)](f),bottom:Math[i(753)](g)}}const Go=(e,n,t,o,x,r)=>{const i=c,a=Vf(r,n,t),u=(n-a.x)/e[i(1909)],d=(t-a.y)/e[i(784)],l=Math.min(u,d),f=Wn(l,o,x),g=e.x+e[i(1909)]/2,h=e.y+e.height/2,w=n/2-g*f,b=t/2-h*f,v=qf(e,w,b,f,n,t),M={left:Math[i(984)](v[i(230)]-a[i(230)],0),top:Math[i(984)](v[i(429)]-a.top,0),right:Math[i(984)](v[i(458)]-a.right,0),bottom:Math[i(984)](v.bottom-a[i(1682)],0)};return{x:w-M[i(230)]+M[i(458)],y:b-M.top+M[i(1682)],zoom:f}},At=()=>typeof navigator!==c(529)&&navigator?.[c(1738)]?.[c(1206)](c(1249))>=0;function Kn(e){const n=c;return e!=null&&e!==n(1725)}function K0(e){const n=c;return{width:e[n(911)]?.[n(1909)]??e[n(1909)]??e[n(992)]??0,height:e.measured?.height??e.height??e[n(790)]??0}}function Da(e){const n=c;return(e.measured?.[n(1909)]??e.width??e[n(992)])!==void 0&&(e.measured?.[n(784)]??e[n(784)]??e.initialHeight)!==void 0}function La(e,n={width:0,height:0},t,o,x){const r=c,i={...e},a=o[r(750)](t);if(a){const u=a.origin||x;i.x+=a.internals[r(868)].x-(n.width??0)*u[0],i.y+=a[r(465)].positionAbsolute.y-(n.height??0)*u[1]}return i}function Sa(e,n){const t=c;if(e.size!==n[t(313)])return!1;for(const o of e)if(!n[t(363)](o))return!1;return!0}function Wf(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function Xf(e){return{...ba,...e||{}}}function Et(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=c,{x:i,y:a}=P0(e),u=Pt({x:i-(x?.[r(230)]??0),y:a-(x?.[r(429)]??0)},o),{x:d,y:l}=t?It(u,n):u;return{xSnapped:d,ySnapped:l,...u}}const Ho=e=>({width:e.offsetWidth,height:e[c(1197)]}),Na=e=>e?.getRootNode?.()||window?.[c(597)],Zf=[c(1031),"SELECT",c(356)];function ka(e){const n=c,t=e.composedPath?.()?.[0]||e[n(1562)];return t?.[n(1406)]!==1?!1:Zf[n(645)](t.nodeName)||t[n(211)](n(1864))||!!t[n(589)](n(1600))}const Ia=e=>c(1692)in e,P0=(e,n)=>{const t=c,o=Ia(e),x=o?e[t(1692)]:e.touches?.[0][t(1692)],r=o?e.clientY:e[t(1577)]?.[0][t(1853)];return{x:x-(n?.left??0),y:r-(n?.[t(429)]??0)}},Pa=(e,n,t,o,x)=>{const r=c,i=n[r(1483)]("."+e);return!i||!i[r(546)]?null:Array[r(1839)](i)[r(1461)](a=>{const u=r,d=a.getBoundingClientRect();return{id:a[u(399)](u(1766)),type:e,nodeId:x,position:a.getAttribute("data-handlepos"),x:(d[u(230)]-t[u(230)])/o,y:(d[u(429)]-t[u(429)])/o,...Ho(a)}})};function Aa({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:a}){const u=e*.125+x*.375+i*.375+t*.125,d=n*.125+r*.375+a*.375+o*.125,l=Math.abs(u-e),f=Math.abs(d-n);return[u,d,l,f]}function kx(e,n){const t=c;return e>=0?.5*e:n*25*Math[t(2008)](-e)}function Ea({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=c;switch(e){case De.Left:return[n-kx(n-o,r),t];case De[i(1335)]:return[n+kx(o-n,r),t];case De[i(993)]:return[n,t-kx(t-x,r)];case De[i(653)]:return[n,t+kx(x-t,r)]}}function ja({sourceX:e,sourceY:n,sourcePosition:t=De.Bottom,targetX:o,targetY:x,targetPosition:r=De[c(993)],curvature:i=.25}){const[a,u]=Ea({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[d,l]=Ea({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,g,h,w]=Aa({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:a,sourceControlY:u,targetControlX:d,targetControlY:l});return["M"+e+","+n+" C"+a+","+u+" "+d+","+l+" "+o+","+x,f,g,h,w]}function Ya({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=c,r=Math[x(609)](t-e)/2,i=t<e?t+r:t-r,a=Math[x(609)](o-n)/2,u=o<n?o+a:o-a;return[i,u,r,a]}function Kf({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r=c(1724)}){const i=c;if(r===i(1495))return o;const a=x&&t?o+1e3:o,u=Math.max(e.parentId||x&&e[i(1198)]?e[i(465)].z:0,n.parentId||x&&n[i(1198)]?n.internals.z:0);return a+u}function Rf({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=Dx(Sx(e),Sx(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 kt(i,Lx(r))>0}const Jf=({source:e,sourceHandle:n,target:t,targetHandle:o})=>c(1190)+e+(n||"")+"-"+t+(o||""),_f=(e,n)=>{const t=c;return n.some(o=>o[t(916)]===e[t(916)]&&o[t(1562)]===e.target&&(o[t(898)]===e[t(898)]||!o[t(898)]&&!e[t(898)])&&(o[t(411)]===e.targetHandle||!o[t(411)]&&!e[t(411)]))},Ua=(e,n,t={})=>{const o=c;if(!e[o(916)]||!e[o(1562)])return Ba("006",w0[o(730)]()),n;const x=t[o(1659)]||Jf;let r;return ma(e)?r={...e}:r={...e,id:x(e)},_f(r,n)?n:(r[o(898)]===null&&delete r[o(898)],r[o(411)]===null&&delete r.targetHandle,n[o(1701)](r))};function Oa({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,a]=Ya({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,a]}const Ga={[De[c(1320)]]:{x:-1,y:0},[De[c(1335)]]:{x:1,y:0},[De[c(993)]]:{x:0,y:-1},[De.Bottom]:{x:0,y:1}},Ff=({source:e,sourcePosition:n=De[c(653)],target:t})=>{const o=c;return n===De[o(1320)]||n===De[o(1335)]?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1}},Ha=(e,n)=>Math.sqrt(Math[c(1248)](n.x-e.x,2)+Math[c(1248)](n.y-e.y,2));function Qf({source:e,sourcePosition:n=De.Bottom,target:t,targetPosition:o=De[c(993)],center:x,offset:r,stepPosition:i}){const a=c,u=Ga[n],d=Ga[o],l={x:e.x+u.x*r,y:e.y+u.y*r},f={x:t.x+d.x*r,y:t.y+d.y*r},g=Ff({source:l,sourcePosition:n,target:f}),h=g.x!==0?"x":"y",w=g[h];let b=[],v,M;const m={x:0,y:0},y={x:0,y:0},[,,C,z]=Ya({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(u[h]*d[h]===-1){h==="x"?(v=x.x??l.x+(f.x-l.x)*i,M=x.y??(l.y+f.y)/2):(v=x.x??(l.x+f.x)/2,M=x.y??l.y+(f.y-l.y)*i);const W=[{x:v,y:l.y},{x:v,y:f.y}],O=[{x:l.x,y:M},{x:f.x,y:M}];u[h]===w?b=h==="x"?W:O:b=h==="x"?O:W}else{const W=[{x:l.x,y:f.y}],O=[{x:f.x,y:l.y}];if(h==="x"?b=u.x===w?O:W:b=u.y===w?W:O,n===o){const L=Math[a(609)](e[h]-t[h]);if(L<=r){const B=Math.min(r-1,r-L);u[h]===w?m[h]=(l[h]>e[h]?-1:1)*B:y[h]=(f[h]>t[h]?-1:1)*B}}if(n!==o){const L=h==="x"?"y":"x",B=u[h]===d[L],N=l[L]>f[L],E=l[L]<f[L];(u[h]===1&&(!B&&N||B&&E)||u[h]!==1&&(!B&&E||B&&N))&&(b=h==="x"?W:O)}const Y={x:l.x+m.x,y:l.y+m.y},T={x:f.x+y.x,y:f.y+y.y},X=Math.max(Math[a(609)](Y.x-b[0].x),Math[a(609)](T.x-b[0].x)),V=Math.max(Math[a(609)](Y.y-b[0].y),Math.abs(T.y-b[0].y));X>=V?(v=(Y.x+T.x)/2,M=b[0].y):(v=b[0].x,M=(Y.y+T.y)/2)}const I={x:l.x+m.x,y:l.y+m.y},U={x:f.x+y.x,y:f.y+y.y};return[[e,...I.x!==b[0].x||I.y!==b[0].y?[I]:[],...b,...U.x!==b[b[a(546)]-1].x||U.y!==b[b[a(546)]-1].y?[U]:[],t],v,M,C,z]}function $f(e,n,t,o){const x=c,r=Math[x(984)](Ha(e,n)/2,Ha(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 l=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(i+r*l)+","+a+"Q "+i+","+a+" "+i+","+(a+r*f)}const u=e.x<t.x?1:-1,d=e.y<t.y?-1:1;return"L "+i+","+(a+r*d)+"Q "+i+","+a+" "+(i+r*u)+","+a}function To({sourceX:e,sourceY:n,sourcePosition:t=De[c(653)],targetX:o,targetY:x,targetPosition:r=De[c(993)],borderRadius:i=5,centerX:a,centerY:u,offset:d=20,stepPosition:l=.5}){const f=c,[g,h,w,b,v]=Qf({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:a,y:u},offset:d,stepPosition:l});let M="M"+g[0].x+" "+g[0].y;for(let m=1;m<g.length-1;m++)M+=$f(g[m-1],g[m],g[m+1],i);return M+="L"+g[g[f(546)]-1].x+" "+g[g[f(546)]-1].y,[M,h,w,b,v]}function Ta(e){const n=c;return e&&!!(e[n(465)][n(284)]||e[n(765)]?.[n(546)])&&!!(e[n(911)][n(1909)]||e[n(1909)]||e.initialWidth)}function eb(e){const n=c,{sourceNode:t,targetNode:o}=e;if(!Ta(t)||!Ta(o))return null;const x=t.internals.handleBounds||Va(t[n(765)]),r=o[n(465)][n(284)]||Va(o[n(765)]),i=qa(x?.source??[],e[n(898)]),a=qa(e[n(1505)]===qn[n(1729)]?r?.[n(1562)]??[]:(r?.[n(1562)]??[])[n(1701)](r?.[n(916)]??[]),e[n(411)]);if(!i||!a)return e[n(424)]?.(n(1306),w0[n(561)](n(i?1562:916),{id:e.id,sourceHandle:e.sourceHandle,targetHandle:e.targetHandle})),null;const u=i?.[n(1980)]||De[n(653)],d=a?.[n(1980)]||De.Top,l=pn(t,i,u),f=pn(o,a,d);return{sourceX:l.x,sourceY:l.y,targetX:f.x,targetY:f.y,sourcePosition:u,targetPosition:d}}function Va(e){const n=c;if(!e)return null;const t=[],o=[];for(const x of e)x[n(1909)]=x[n(1909)]??1,x[n(784)]=x[n(784)]??1,x[n(939)]===n(916)?t[n(1699)](x):x[n(939)]==="target"&&o[n(1699)](x);return{source:t,target:o}}function pn(e,n,t=De[c(1320)],o=!1){const x=c,r=(n?.x??0)+e.internals.positionAbsolute.x,i=(n?.y??0)+e.internals[x(868)].y,{width:a,height:u}=n??K0(e);if(o)return{x:r+a/2,y:i+u/2};switch(n?.[x(1980)]??t){case De[x(993)]:return{x:r+a/2,y:i};case De[x(1335)]:return{x:r+a,y:i+u/2};case De[x(653)]:return{x:r+a/2,y:i+u};case De.Left:return{x:r,y:i+u/2}}}function qa(e,n){const t=c;return e&&(n?e[t(957)](o=>o.id===n):e[0])||null}function Vo(e,n){const t=c;return e?typeof e===t(1117)?e:""+(n?n+"__":"")+Object[t(1700)](e).sort()[t(1461)](x=>x+"="+e[x])[t(1926)]("&"):""}function nb(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=c,i=new Set;return e[r(1905)]((a,u)=>{const d=r;return[u[d(512)]||o,u[d(1232)]||x].forEach(l=>{const f=d;if(l&&typeof l===f(1129)){const g=Vo(l,n);!i[f(363)](g)&&(a[f(1699)]({id:g,color:l.color||t,...l}),i[f(1463)](g))}}),a},[])[r(430)]((a,u)=>a.id[r(346)](u.id))}const Wa=1e3,tb=10,qo={nodeOrigin:[0,0],nodeExtent:Dt,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},xb={...qo,checkEquality:!0};function Wo(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function ob(e,n,t){const o=c,x=Wo(qo,t);for(const r of e.values())if(r[o(294)])Ko(r,e,n,x);else{const i=St(r,x[o(1205)]),a=Kn(r[o(1053)])?r.extent:x[o(579)],u=wn(i,a,K0(r));r.internals[o(868)]=u}}function rb(e,n){const t=c;if(!e[t(765)])return e.measured?n?.[t(465)][t(284)]:void 0;const o=[],x=[];for(const r of e[t(765)]){const i={id:r.id,width:r[t(1909)]??1,height:r.height??1,nodeId:e.id,x:r.x,y:r.y,position:r[t(1980)],type:r[t(939)]};r.type===t(916)?o.push(i):r[t(939)]==="target"&&x[t(1699)](i)}return{source:o,target:x}}function Xo(e){return e===c(1495)}function Zo(e,n,t,o={}){const x=c,r=Wo(xb,o),i={i:0},a=new Map(n),u=r?.[x(1327)]&&!Xo(r[x(402)])?Wa:0;let d=e.length>0,l=!1;n[x(1366)](),t[x(1366)]();for(const f of e){let g=a[x(750)](f.id);if(r[x(904)]&&f===g?.internals[x(406)])n.set(f.id,g);else{const h=St(f,r.nodeOrigin),w=Kn(f.extent)?f[x(1053)]:r[x(579)],b=wn(h,w,K0(f));g={...r.defaults,...f,measured:{width:f[x(911)]?.width,height:f[x(911)]?.[x(784)]},internals:{positionAbsolute:b,handleBounds:rb(f,g),z:Xa(f,u,r[x(402)]),userNode:f}},n.set(f.id,g)}(g[x(911)]===void 0||g[x(911)][x(1909)]===void 0||g[x(911)][x(784)]===void 0)&&!g[x(614)]&&(d=!1),f[x(294)]&&Ko(g,n,t,o,i),l||=f[x(1198)]??!1}return{nodesInitialized:d,hasSelectedNodes:l}}function ib(e,n){const t=c;if(!e[t(294)])return;const o=n.get(e.parentId);o?o[t(1683)](e.id,e):n[t(1683)](e[t(294)],new Map([[e.id,e]]))}function Ko(e,n,t,o,x){const r=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:u,zIndexMode:d}=Wo(qo,o),l=e[r(294)],f=n[r(750)](l);if(!f){console[r(241)]("Parent node "+l+r(1800));return}ib(e,t),x&&!f[r(294)]&&f[r(465)][r(476)]===void 0&&d===r(1832)&&(f.internals[r(476)]=++x.i,f[r(465)].z=f[r(465)].z+x.i*tb),x&&f[r(465)][r(476)]!==void 0&&(x.i=f[r(465)].rootParentIndex);const g=i&&!Xo(d)?Wa:0,{x:h,y:w,z:b}=ab(e,f,a,u,g,d),{positionAbsolute:v}=e[r(465)],M=h!==v.x||w!==v.y;(M||b!==e[r(465)].z)&&n[r(1683)](e.id,{...e,internals:{...e[r(465)],positionAbsolute:M?{x:h,y:w}:v,z:b}})}function Xa(e,n,t){const o=c,x=I0(e.zIndex)?e[o(1981)]:0;return Xo(t)?x:x+(e.selected?n:0)}function ab(e,n,t,o,x,r){const i=c,{x:a,y:u}=n[i(465)].positionAbsolute,d=K0(e),l=St(e,t),f=Kn(e[i(1053)])?wn(l,e[i(1053)],d):l;let g=wn({x:a+f.x,y:u+f.y},o,d);e[i(1053)]===i(1725)&&(g=wa(g,d,n));const h=Xa(e,x,r),w=n[i(465)].z??0;return{x:g.x,y:g.y,z:w>=h?w+1:h}}function Ro(e,n,t,o=[0,0]){const x=c,r=[],i=new Map;for(const a of e){const u=n.get(a.parentId);if(!u)continue;const d=i[x(750)](a[x(294)])?.[x(809)]??Xn(u),l=Ca(d,a.rect);i.set(a.parentId,{expandedRect:l,parent:u})}return i[x(313)]>0&&i.forEach(({expandedRect:a,parent:u},d)=>{const l=x,f=u[l(465)][l(868)],g=K0(u),h=u[l(1528)]??o,w=a.x<f.x?Math[l(1758)](Math.abs(f.x-a.x)):0,b=a.y<f.y?Math[l(1758)](Math.abs(f.y-a.y)):0,v=Math.max(g[l(1909)],Math[l(1758)](a.width)),M=Math[l(879)](g.height,Math[l(1758)](a[l(784)])),m=(v-g.width)*h[0],y=(M-g[l(784)])*h[1];(w>0||b>0||m||y)&&(r[l(1699)]({id:d,type:l(1980),position:{x:u[l(1980)].x-w+m,y:u.position.y-b+y}}),t[l(750)](d)?.forEach(C=>{const z=l;!e.some(I=>I.id===C.id)&&r[z(1699)]({id:C.id,type:z(1980),position:{x:C[z(1980)].x+w,y:C[z(1980)].y+b}})})),(g[l(1909)]<a.width||g[l(784)]<a.height||w||b)&&r[l(1699)]({id:d,type:l(1424),setAttributes:!0,dimensions:{width:v+(w?h[0]*w-m:0),height:M+(b?h[1]*b-y:0)}})}),r}function cb(e,n,t,o,x,r,i){const a=c,u=o?.querySelector(a(1095));let d=!1;if(!u)return{changes:[],updatedInternals:d};const l=[],f=window.getComputedStyle(u),{m22:g}=new window.DOMMatrixReadOnly(f[a(1142)]),h=[];for(const w of e[a(462)]()){const b=n[a(750)](w.id);if(!b)continue;if(b[a(614)]){n[a(1683)](b.id,{...b,internals:{...b.internals,handleBounds:void 0}}),d=!0;continue}const v=Ho(w[a(961)]),M=b.measured[a(1909)]!==v[a(1909)]||b.measured[a(784)]!==v[a(784)];if(!!(v[a(1909)]&&v[a(784)]&&(M||!b[a(465)][a(284)]||w[a(2010)]))){const y=w[a(961)].getBoundingClientRect(),C=Kn(b.extent)?b[a(1053)]:r;let{positionAbsolute:z}=b[a(465)];b[a(294)]&&b[a(1053)]===a(1725)?z=wa(z,v,n[a(750)](b.parentId)):C&&(z=wn(z,C,v));const I={...b,measured:v,internals:{...b.internals,positionAbsolute:z,handleBounds:{source:Pa(a(916),w[a(961)],y,g,b.id),target:Pa("target",w[a(961)],y,g,b.id)}}};n.set(b.id,I),b[a(294)]&&Ko(I,n,t,{nodeOrigin:x,zIndexMode:i}),d=!0,M&&(l.push({id:b.id,type:a(1424),dimensions:v}),b[a(1004)]&&b[a(294)]&&h.push({id:b.id,parentId:b[a(294)],rect:Xn(I,x)}))}}if(h[a(546)]>0){const w=Ro(h,n,t,x);l[a(1699)](...w)}return{changes:l,updatedInternals:d}}async function sb({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=c;if(!n||!e.x&&!e.y)return Promise[i(737)](!1);const a=await n[i(1686)]({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(737)](u)}function Za(e,n,t,o,x,r){const i=c;let a=x;const u=o[i(750)](a)||new Map;o[i(1683)](a,u.set(t,n)),a=x+"-"+e;const d=o[i(750)](a)||new Map;if(o.set(a,d[i(1683)](t,n)),r){a=x+"-"+e+"-"+r;const l=o[i(750)](a)||new Map;o.set(a,l[i(1683)](t,n))}}function Ka(e,n,t){const o=c;e[o(1366)](),n[o(1366)]();for(const x of t){const{source:r,target:i,sourceHandle:a=null,targetHandle:u=null}=x,d={edgeId:x.id,source:r,target:i,sourceHandle:a,targetHandle:u},l=r+"-"+a+"--"+i+"-"+u,f=i+"-"+u+"--"+r+"-"+a;Za(o(916),d,f,e,r,a),Za(o(1562),d,l,e,i,u),n[o(1683)](x.id,x)}}function Ra(e,n){const t=c;if(!e[t(294)])return!1;const o=n.get(e[t(294)]);return o?o[t(1198)]?!0:Ra(o,n):!1}function Ja(e,n,t){const o=c;let x=e;do{if(x?.[o(1994)]?.(n))return!0;if(x===t)return!1;x=x?.parentElement}while(x);return!1}function lb(e,n,t,o){const x=c,r=new Map;for(const[i,a]of e)if((a[x(1198)]||a.id===o)&&(!a[x(294)]||!Ra(a,e))&&(a[x(646)]||n&&typeof a[x(646)]===x(529))){const u=e.get(i);u&&r[x(1683)](i,{id:i,position:u.position||{x:0,y:0},distance:{x:t.x-u[x(465)].positionAbsolute.x,y:t.y-u.internals[x(868)].y},extent:u[x(1053)],parentId:u[x(294)],origin:u[x(1528)],expandParent:u[x(1004)],internals:{positionAbsolute:u.internals[x(868)]||{x:0,y:0}},measured:{width:u[x(911)][x(1909)]??0,height:u[x(911)][x(784)]??0}})}return r}function Jo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=c,r=[];for(const[a,u]of n){const d=t[x(750)](a)?.[x(465)][x(406)];d&&r[x(1699)]({...d,position:u[x(1980)],dragging:o})}if(!e)return[r[0],r];const i=t[x(750)](e)?.[x(465)][x(406)];return[i?{...i,position:n[x(750)](e)?.[x(1980)]||i[x(1980)],dragging:o}:r[0],r]}function db({dragItems:e,snapGrid:n,x:t,y:o}){const x=c,r=e.values().next().value;if(!r)return null;const i={x:t-r[x(1964)].x,y:o-r[x(1964)].y},a=It(i,n);return{x:a.x-i.x,y:a.y-i.y}}function ub({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,a=new Map,u=!1,d={x:0,y:0},l=null,f=!1,g=null,h=!1,w=!1,b=null;function v({noDragClassName:m,handleSelector:y,domNode:C,isSelectable:z,nodeId:I,nodeClickDistance:U=0}){const H=_0x1172;g=v0(C);function W({x:X,y:V}){const L=_0x1172,{nodeLookup:B,nodeExtent:N,snapGrid:E,snapToGrid:P,nodeOrigin:A,onNodeDrag:_,onSelectionDrag:Q,onError:$,updateNodePositions:ne}=n();r={x:X,y:V};let ie=!1;const he=a[L(313)]>1,ye=he&&N?Oo(Nt(a)):null,Ce=he&&P?db({dragItems:a,snapGrid:E,x:X,y:V}):null;for(const[fe,ee]of a){if(!B[L(363)](fe))continue;let be={x:X-ee[L(1964)].x,y:V-ee[L(1964)].y};P&&(be=Ce?{x:Math.round(be.x+Ce.x),y:Math[L(1758)](be.y+Ce.y)}:It(be,E));let pe=null;if(he&&N&&!ee[L(1053)]&&ye){const{positionAbsolute:se}=ee.internals,le=se.x-ye.x+N[0][0],Le=se.x+ee[L(911)][L(1909)]-ye.x2+N[1][0],Me=se.y-ye.y+N[0][1],ke=se.y+ee.measured.height-ye.y2+N[1][1];pe=[[le,Me],[Le,ke]]}const{position:j,positionAbsolute:q}=va({nodeId:fe,nextPosition:be,nodeLookup:B,nodeExtent:pe||N,nodeOrigin:A,onError:$});ie=ie||ee[L(1980)].x!==j.x||ee[L(1980)].y!==j.y,ee[L(1980)]=j,ee[L(465)][L(868)]=q}if(w=w||ie,!!ie&&(ne(a,!0),b&&(o||_||!I&&Q))){const[fe,ee]=Jo({nodeId:I,dragItems:a,nodeLookup:B});o?.(b,a,fe,ee),_?.(b,fe,ee),!I&&Q?.(b,ee)}}async function O(){if(!l)return;const{transform:X,panBy:V,autoPanSpeed:L,autoPanOnNodeDrag:B}=n();if(!B){u=!1,cancelAnimationFrame(i);return}const[N,E]=za(d,l,L);(N!==0||E!==0)&&(r.x=(r.x??0)-N/X[2],r.y=(r.y??0)-E/X[2],await V({x:N,y:E})&&W(r)),i=requestAnimationFrame(O)}function Y(X){const V=_0x1172,{nodeLookup:L,multiSelectionActive:B,nodesDraggable:N,transform:E,snapGrid:P,snapToGrid:A,selectNodesOnDrag:_,onNodeDragStart:Q,onSelectionDragStart:$,unselectNodesAndEdges:ne}=n();f=!0,(!_||!z)&&!B&&I&&!L[V(750)](I)?.[V(1198)]&&ne(),z&&_&&I&&e?.(I);const ie=Et(X.sourceEvent,{transform:E,snapGrid:P,snapToGrid:A,containerBounds:l});if(r=ie,a=lb(L,N,ie,I),a[V(313)]>0&&(t||Q||!I&&$)){const[he,ye]=Jo({nodeId:I,dragItems:a,nodeLookup:L});t?.(X.sourceEvent,a,he,ye),Q?.(X[V(1872)],he,ye),!I&&$?.(X.sourceEvent,ye)}}const T=Yi()[H(1114)](U).on(H(634),X=>{const V=H,{domNode:L,nodeDragThreshold:B,transform:N,snapGrid:E,snapToGrid:P}=n();l=L?.getBoundingClientRect()||null,h=!1,w=!1,b=X.sourceEvent,B===0&&Y(X),r=Et(X[V(1872)],{transform:N,snapGrid:E,snapToGrid:P,containerBounds:l}),d=P0(X[V(1872)],l)}).on(H(2015),X=>{const V=H,{autoPanOnNodeDrag:L,transform:B,snapGrid:N,snapToGrid:E,nodeDragThreshold:P,nodeLookup:A}=n(),_=Et(X[V(1872)],{transform:B,snapGrid:N,snapToGrid:E,containerBounds:l});if(b=X.sourceEvent,(X[V(1872)].type===V(542)&&X[V(1872)][V(1577)][V(546)]>1||I&&!A.has(I))&&(h=!0),!h){if(!u&&L&&f&&(u=!0,O()),!f){const Q=P0(X[V(1872)],l),$=Q.x-d.x,ne=Q.y-d.y;Math.sqrt($*$+ne*ne)>P&&Y(X)}(r.x!==_[V(419)]||r.y!==_[V(1437)])&&a&&f&&(d=P0(X[V(1872)],l),W(_))}}).on(H(1361),X=>{const V=H;if(!(!f||h)&&(u=!1,f=!1,cancelAnimationFrame(i),a[V(313)]>0)){const{nodeLookup:L,updateNodePositions:B,onNodeDragStop:N,onSelectionDragStop:E}=n();if(w&&(B(a,!1),w=!1),x||N||!I&&E){const[P,A]=Jo({nodeId:I,dragItems:a,nodeLookup:L,dragging:!1});x?.(X[V(1872)],a,P,A),N?.(X[V(1872)],P,A),!I&&E?.(X[V(1872)],A)}}})[H(1338)](X=>{const V=H,L=X.target;return!X[V(1034)]&&(!m||!Ja(L,"."+m,C))&&(!y||Ja(L,y,C))});g[H(719)](T)}function M(){const m=_0x1172;g?.on(m(247),null)}return{update:v,destroy:M}}function fb(e,n,t){const o=c,x=[],r={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const i of n[o(462)]())kt(r,Xn(i))>0&&x[o(1699)](i);return x}const bb=250;function hb(e,n,t,o){const x=c;let r=[],i=1/0;const a=fb(e,t,n+bb);for(const u of a){const d=[...u.internals[x(284)]?.[x(916)]??[],...u[x(465)][x(284)]?.[x(1562)]??[]];for(const l of d){if(o.nodeId===l.nodeId&&o[x(939)]===l[x(939)]&&o.id===l.id)continue;const{x:f,y:g}=pn(u,l,l[x(1980)],!0),h=Math[x(2008)](Math[x(1248)](f-e.x,2)+Math[x(1248)](g-e.y,2));h>n||(h<i?(r=[{...l,x:f,y:g}],i=h):h===i&&r[x(1699)]({...l,x:f,y:g}))}}if(!r.length)return null;if(r.length>1){const u=o[x(939)]===x(916)?x(1562):"source";return r.find(d=>d[x(939)]===u)??r[0]}return r[0]}function _a(e,n,t,o,x,r=!1){const i=c,a=o[i(750)](e);if(!a)return null;const u=x===i(359)?a[i(465)][i(284)]?.[n]:[...a[i(465)][i(284)]?.[i(916)]??[],...a[i(465)].handleBounds?.[i(1562)]??[]],d=(t?u?.find(l=>l.id===t):u?.[0])??null;return d&&r?{...d,...pn(a,d,d[i(1980)],!0)}:d}function Fa(e,n){const t=c;return e||(n?.[t(1886)][t(1014)](t(1562))?"target":n?.[t(1886)][t(1014)](t(916))?t(916):null)}function gb(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Qa=()=>!0;function yb(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:u,lib:d,autoPanOnConnect:l,flowId:f,panBy:g,cancelConnection:h,onConnectStart:w,onConnect:b,onConnectEnd:v,isValidConnection:M=Qa,onReconnectEnd:m,updateConnection:y,getTransform:C,getFromHandle:z,autoPanSpeed:I,dragThreshold:U=1,handleDomNode:H}){const W=c,O=Na(e[W(1562)]);let Y=0,T;const{x:X,y:V}=P0(e),L=Fa(r,H),B=a?.[W(1309)]();let N=!1;if(!B||!L)return;const E=_a(x,L,o,u,n);if(!E)return;let P=P0(e,B),A=!1,_=null,Q=!1,$=null;function ne(){if(!l||!B)return;const[pe,j]=za(P,B,I);g({x:pe,y:j}),Y=requestAnimationFrame(ne)}const ie={...E,nodeId:x,type:L,position:E[W(1980)]},he=u[W(750)](x);let Ce={inProgress:!0,isValid:null,from:pn(he,ie,De[W(1320)],!0),fromHandle:ie,fromPosition:ie[W(1980)],fromNode:he,to:P,toHandle:null,toPosition:ga[ie[W(1980)]],toNode:null,pointer:P};function fe(){N=!0,y(Ce),w?.(e,{nodeId:x,handleId:o,handleType:L})}U===0&&fe();function ee(pe){const j=W;if(!N){const{x:ke,y:oe}=P0(pe),ce=ke-X,Be=oe-V;if(!(ce*ce+Be*Be>U*U))return;fe()}if(!z()||!ie){be(pe);return}const q=C();P=P0(pe,B),T=hb(Pt(P,q,!1,[1,1]),t,u,ie),!A&&(ne(),A=!0);const se=$a(pe,{handle:T,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:j(i?1562:916),isValidConnection:M,doc:O,lib:d,flowId:f,nodeLookup:u});$=se[j(493)],_=se[j(1795)],Q=gb(!!T,se.isValid);const le=u[j(750)](x),Le=le?pn(le,ie,De[j(1320)],!0):Ce[j(1839)],Me={...Ce,from:Le,isValid:Q,to:se.toHandle&&Q?Nx({x:se[j(770)].x,y:se.toHandle.y},q):P,toHandle:se[j(770)],toPosition:Q&&se.toHandle?se[j(770)][j(1980)]:ga[ie.position],toNode:se[j(770)]?u[j(750)](se.toHandle[j(930)]):null,pointer:P};y(Me),Ce=Me}function be(pe){const j=W;if(!(j(1577)in pe&&pe[j(1577)][j(546)]>0)){if(N){(T||$)&&_&&Q&&b?.(_);const{inProgress:q,...se}=Ce,le={...se,toPosition:Ce[j(770)]?Ce[j(1123)]:null};v?.(pe,le),r&&m?.(pe,le)}h(),cancelAnimationFrame(Y),A=!1,Q=!1,_=null,$=null,O[j(1845)]("mousemove",ee),O[j(1845)]("mouseup",be),O.removeEventListener(j(542),ee),O[j(1845)]("touchend",be)}}O[W(569)](W(1642),ee),O.addEventListener(W(1386),be),O[W(569)]("touchmove",ee),O[W(569)](W(1045),be)}function $a(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:a,flowId:u,isValidConnection:d=Qa,nodeLookup:l}){const f=c,g=r===f(1562),h=n?i[f(999)]("."+a+f(357)+u+"-"+n?.[f(930)]+"-"+n?.id+"-"+n?.[f(939)]+'"]'):null,{x:w,y:b}=P0(e),v=i[f(1176)](w,b),M=v?.[f(1886)][f(1014)](a+f(1519))?v:h,m={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const y=Fa(void 0,M),C=M[f(399)](f(1255)),z=M[f(399)]("data-handleid"),I=M[f(1886)][f(1014)]("connectable"),U=M[f(1886)][f(1014)](f(1108));if(!C||!y)return m;const H={source:g?C:o,sourceHandle:g?z:x,target:g?o:C,targetHandle:g?x:z};m[f(1795)]=H;const W=I&&U,O=W&&(t===qn.Strict?g&&y==="source"||!g&&y==="target":C!==o||z!==x);m[f(641)]=O&&d(H),m[f(770)]=_a(C,y,z,l,t,!0)}return m}const _o={onPointerDown:yb,isValid:$a};function mb({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=v0(e);function r({translateExtent:a,width:u,height:d,zoomStep:l=1,pannable:f=!0,zoomable:g=!0,inversePan:h=!1}){const w=_0x1172,b=C=>{const z=_0x1172;if(C[z(1872)][z(939)]!==z(1818)||!n)return;const I=t(),U=C.sourceEvent[z(1727)]&&At()?10:1,H=-C[z(1872)].deltaY*(C[z(1872)].deltaMode===1?.05:C.sourceEvent[z(1489)]?1:.002)*l,W=I[2]*Math[z(1248)](2,H*U);n[z(759)](W)};let v=[0,0];const M=C=>{const z=_0x1172;(C[z(1872)][z(939)]===z(1042)||C[z(1872)].type===z(204))&&(v=[C[z(1872)][z(1692)]??C[z(1872)][z(1577)][0][z(1692)],C.sourceEvent.clientY??C[z(1872)][z(1577)][0][z(1853)]])},m=C=>{const z=_0x1172,I=t();if(C[z(1872)][z(939)]!==z(1642)&&C[z(1872)][z(939)]!=="touchmove"||!n)return;const U=[C[z(1872)].clientX??C[z(1872)][z(1577)][0][z(1692)],C.sourceEvent[z(1853)]??C[z(1872)][z(1577)][0][z(1853)]],H=[U[0]-v[0],U[1]-v[1]];v=U;const W=o()*Math[z(879)](I[2],Math[z(1803)](I[2]))*(h?-1:1),O={x:I[0]-H[0]*W,y:I[1]-H[1]*W},Y=[[0,0],[u,d]];n[z(1686)]({x:O.x,y:O.y,zoom:I[2]},Y,a)},y=ua().on(w(634),M).on("zoom",f?m:null).on(w(739),g?b:null);x[w(719)](y,{})}function i(){x.on("zoom",null)}return{update:r,destroy:i,pointer:S0}}const Ix=e=>({x:e.x,y:e.y,zoom:e.k}),Fo=({x:e,y:n,zoom:t})=>Mx[c(620)](e,n)[c(576)](t),Rn=(e,n)=>e[c(1562)][c(589)]("."+n),ec=(e,n)=>n===2&&Array[c(454)](e)&&e[c(645)](2),vb=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,Qo=(e,n=0,t=vb,o=()=>{})=>{const x=c,r=typeof n===x(181)&&n>0;return!r&&o(),r?e[x(1697)]()[x(1630)](n)[x(889)](t).on("end",o):e},nc=e=>{const n=c,t=e[n(1727)]&&At()?10:1;return-e[n(420)]*(e[n(1489)]===1?.05:e[n(1489)]?1:.002)*t};function wb({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:u,onPanZoomEnd:d}){return l=>{const f=_0x1172;if(Rn(l,n))return l[f(1727)]&&l[f(800)](),!1;l[f(800)](),l[f(388)]();const g=t[f(1107)](f(1997)).k||1;if(l[f(1727)]&&i){const M=S0(l),m=nc(l),y=g*Math.pow(2,m);o[f(759)](t,y,M,l);return}const h=l[f(1489)]===1?20:1;let w=x===vn[f(1812)]?0:l[f(967)]*h,b=x===vn.Horizontal?0:l[f(420)]*h;!At()&&l[f(1022)]&&x!==vn.Vertical&&(w=l.deltaY*h,b=0),o.translateBy(t,-(w/g)*r,-(b/g)*r,{internal:!0});const v=Ix(t[f(1107)](f(1997)));clearTimeout(e[f(340)]),e[f(457)]?(u?.(l,v),e.panScrollTimeout=setTimeout(()=>{const M=f;d?.(l,v),e[M(457)]=!1},150)):(e[f(457)]=!0,a?.(l,v))}}function pb({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x1172,i=o[r(939)]===r(1818),a=!n&&i&&!o[r(1727)],u=Rn(o,e);if(o[r(1727)]&&i&&u&&o.preventDefault(),a||u)return null;o[r(800)](),t.call(this,o,x)}}function zb({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x1172;if(o.sourceEvent?.internal)return;const r=Ix(o.transform);e.mouseButton=o[x(1872)]?.[x(1034)]||0,e[x(1658)]=!0,e[x(194)]=r,o[x(1872)]?.[x(939)]==="mousedown"&&n(!0),t&&t?.(o[x(1872)],r)}}function Cb({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x1172;e.usedRightMouseButton=!!(t&&ec(n,e[i(455)]??0)),!r[i(1872)]?.sync&&o([r[i(1142)].x,r[i(1142)].y,r[i(1142)].k]),x&&!r[i(1872)]?.[i(1164)]&&x?.(r[i(1872)],Ix(r[i(1142)]))}}function Mb({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const a=_0x1172;if(!i.sourceEvent?.[a(1164)]&&(e[a(1658)]=!1,r&&ec(n,e[a(455)]??0)&&!e[a(1313)]&&i[a(1872)]&&r(i.sourceEvent),e[a(1313)]=!1,o(!1),x)){const u=Ix(i[a(1142)]);e[a(194)]=u,clearTimeout(e[a(1750)]),e[a(1750)]=setTimeout(()=>{x?.(i[a(1872)],u)},t?150:0)}}}function Bb({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:u,lib:d,connectionInProgress:l}){return f=>{const g=_0x1172,h=e||n,w=t&&f.ctrlKey,b=f.type===g(1818);if(f.button===1&&f[g(939)]===g(1042)&&(Rn(f,d+g(1182))||Rn(f,d+"-flow__edge")))return!0;if(!o&&!h&&!x&&!r&&!t||i||l&&!b||Rn(f,a)&&b||Rn(f,u)&&(!b||x&&b&&!e)||!t&&f[g(1727)]&&b)return!1;if(!t&&f[g(939)]===g(204)&&f.touches?.[g(546)]>1)return f[g(800)](),!1;if(!h&&!x&&!w&&b||!o&&(f[g(939)]==="mousedown"||f[g(939)]===g(204))||Array[g(454)](o)&&!o[g(645)](f[g(1034)])&&f.type===g(1042))return!1;const v=Array.isArray(o)&&o.includes(f.button)||!f[g(1034)]||f.button<=1;return(!f[g(1727)]||b)&&v}}function Db({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:u}){const d=c,l={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e.getBoundingClientRect(),g=ua()[d(1696)]([n,t])[d(1704)](o),h=v0(e)[d(719)](g);y({x:x.x,y:x.y,zoom:Wn(x[d(1899)],n,t)},[[0,0],[f.width,f[d(784)]]],o);const w=h.on(d(1849)),b=h.on(d(1222));g[d(563)](nc);function v(T,X){return h?new Promise(V=>{const L=_0x1172;g?.[L(226)](X?.[L(226)]==="linear"?wt:bx)[L(1142)](Qo(h,X?.duration,X?.ease,()=>V(!0)),T)}):Promise.resolve(!1)}function M({noWheelClassName:T,noPanClassName:X,onPaneContextMenu:V,userSelectionActive:L,panOnScroll:B,panOnDrag:N,panOnScrollMode:E,panOnScrollSpeed:P,preventScrolling:A,zoomOnPinch:_,zoomOnScroll:Q,zoomOnDoubleClick:$,zoomActivationKeyPressed:ne,lib:ie,onTransformChange:he,connectionInProgress:ye,paneClickDistance:Ce,selectionOnDrag:fe}){const ee=d;L&&!l.isZoomingOrPanning&&m();const be=B&&!ne&&!L;g.clickDistance(fe?1/0:!I0(Ce)||Ce<0?0:Ce);const pe=be?wb({zoomPanValues:l,noWheelClassName:T,d3Selection:h,d3Zoom:g,panOnScrollMode:E,panOnScrollSpeed:P,zoomOnPinch:_,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):pb({noWheelClassName:T,preventScrolling:A,d3ZoomHandler:w});if(h.on(ee(1849),pe,{passive:!1}),!L){const q=zb({zoomPanValues:l,onDraggingChange:u,onPanZoomStart:i});g.on(ee(634),q);const se=Cb({zoomPanValues:l,panOnDrag:N,onPaneContextMenu:!!V,onPanZoom:r,onTransformChange:he});g.on(ee(1899),se);const le=Mb({zoomPanValues:l,panOnDrag:N,panOnScroll:B,onPaneContextMenu:V,onPanZoomEnd:a,onDraggingChange:u});g.on(ee(1361),le)}const j=Bb({zoomActivationKeyPressed:ne,panOnDrag:N,zoomOnScroll:Q,panOnScroll:B,zoomOnDoubleClick:$,zoomOnPinch:_,userSelectionActive:L,noPanClassName:X,noWheelClassName:T,lib:ie,connectionInProgress:ye});g[ee(1338)](j),$?h.on(ee(1222),b):h.on(ee(1222),null)}function m(){const T=d;g.on(T(1899),null)}async function y(T,X,V){const L=Fo(T),B=g?.constrain()(L,X,V);return B&&await v(B),new Promise(N=>N(B))}async function C(T,X){const V=Fo(T);return await v(V,X),new Promise(L=>L(V))}function z(T){const X=d;if(h){const V=Fo(T),L=h[X(1107)](X(1997));(L.k!==T[X(1899)]||L.x!==T.x||L.y!==T.y)&&g?.[X(1142)](h,V,null,{sync:!0})}}function I(){const T=d,X=h?la(h[T(1067)]()):{x:0,y:0,k:1};return{x:X.x,y:X.y,zoom:X.k}}function U(T,X){const V=d;return h?new Promise(L=>{const B=_0x1172;g?.[B(226)](X?.interpolate===B(618)?wt:bx)[B(759)](Qo(h,X?.[B(1630)],X?.[B(889)],()=>L(!0)),T)}):Promise[V(737)](!1)}function H(T,X){const V=d;return h?new Promise(L=>{const B=_0x1172;g?.[B(226)](X?.[B(226)]===B(618)?wt:bx).scaleBy(Qo(h,X?.duration,X?.ease,()=>L(!0)),T)}):Promise[V(737)](!1)}function W(T){g?.scaleExtent(T)}function O(T){g?.[d(1704)](T)}function Y(T){const X=!I0(T)||T<0?0:T;g?.clickDistance(X)}return{update:M,destroy:m,setViewport:C,setViewportConstrained:y,getViewport:I,scaleTo:U,scaleBy:H,setScaleExtent:W,setTranslateExtent:O,syncViewport:z,setClickDistance:Y}}var Jn;(function(e){const n=c;e[n(1713)]=n(1153),e.Handle=n(1538)})(Jn||(Jn={}));function Lb({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 tc(e){const n=c,t=e[n(645)](n(458))||e[n(645)](n(230)),o=e[n(645)](n(1682))||e[n(645)](n(429)),x=e[n(645)](n(230)),r=e[n(645)]("top");return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function on(e,n){return Math[c(879)](0,n-e)}function rn(e,n){return Math[c(879)](0,e-n)}function Px(e,n,t){return Math[c(879)](0,n-e,e-t)}function xc(e,n){return e?!n:n}function Sb(e,n,t,o,x,r,i,a){const u=c;let{affectsX:d,affectsY:l}=n;const{isHorizontal:f,isVertical:g}=n,h=f&&g,{xSnapped:w,ySnapped:b}=t,{minWidth:v,maxWidth:M,minHeight:m,maxHeight:y}=o,{x:C,y:z,width:I,height:U,aspectRatio:H}=e;let W=Math[u(753)](f?w-e.pointerX:0),O=Math[u(753)](g?b-e[u(1393)]:0);const Y=I+(d?-W:W),T=U+(l?-O:O),X=-r[0]*I,V=-r[1]*U;let L=Px(Y,v,M),B=Px(T,m,y);if(i){let P=0,A=0;d&&W<0?P=on(C+W+X,i[0][0]):!d&&W>0&&(P=rn(C+Y+X,i[1][0])),l&&O<0?A=on(z+O+V,i[0][1]):!l&&O>0&&(A=rn(z+T+V,i[1][1])),L=Math[u(879)](L,P),B=Math[u(879)](B,A)}if(a){let P=0,A=0;d&&W>0?P=rn(C+W,a[0][0]):!d&&W<0&&(P=on(C+Y,a[1][0])),l&&O>0?A=rn(z+O,a[0][1]):!l&&O<0&&(A=on(z+T,a[1][1])),L=Math[u(879)](L,P),B=Math[u(879)](B,A)}if(x){if(f){const P=Px(Y/H,m,y)*H;if(L=Math[u(879)](L,P),i){let A=0;!d&&!l||d&&!l&&h?A=rn(z+V+Y/H,i[1][1])*H:A=on(z+V+(d?W:-W)/H,i[0][1])*H,L=Math.max(L,A)}if(a){let A=0;!d&&!l||d&&!l&&h?A=on(z+Y/H,a[1][1])*H:A=rn(z+(d?W:-W)/H,a[0][1])*H,L=Math[u(879)](L,A)}}if(g){const P=Px(T*H,v,M)/H;if(B=Math[u(879)](B,P),i){let A=0;!d&&!l||l&&!d&&h?A=rn(C+T*H+X,i[1][0])/H:A=on(C+(l?O:-O)*H+X,i[0][0])/H,B=Math[u(879)](B,A)}if(a){let A=0;!d&&!l||l&&!d&&h?A=on(C+T*H,a[1][0])/H:A=rn(C+(l?O:-O)*H,a[0][0])/H,B=Math.max(B,A)}}}O=O+(O<0?B:-B),W=W+(W<0?L:-L),x&&(h?Y>T*H?O=(xc(d,l)?-W:W)/H:W=(xc(d,l)?-O:O)*H:f?(O=W/H,l=d):(W=O*H,d=l));const N=d?C+W:C,E=l?z+O:z;return{width:I+(d?-W:W),height:U+(l?-O:O),x:r[0]*W*(d?-1:1)+N,y:r[1]*O*(l?-1:1)+E}}const oc={width:0,height:0,x:0,y:0},Nb={...oc,pointerX:0,pointerY:0,aspectRatio:1};function kb(e){const n=c;return[[0,0],[e.measured[n(1909)],e[n(911)][n(784)]]]}function Ib(e,n,t){const o=c,x=n[o(1980)].x+e.position.x,r=n[o(1980)].y+e[o(1980)].y,i=e[o(911)].width??0,a=e.measured.height??0,u=t[0]*i,d=t[1]*a;return[[x-u,r-d],[x+i-u,r+a-d]]}function Pb({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=c,i=v0(e);let a={controlDirection:tc(r(740)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(1003)],maxHeight:Number[r(1003)]},resizeDirection:void 0,keepAspectRatio:!1};function u({controlPosition:l,boundaries:f,keepAspectRatio:g,resizeDirection:h,onResizeStart:w,onResize:b,onResizeEnd:v,shouldResize:M}){const m=r;let y={...oc},C={...Nb};a={boundaries:f,resizeDirection:h,keepAspectRatio:g,controlDirection:tc(l)};let z,I=null,U=[],H,W,O,Y=!1;const T=Yi().on(m(634),X=>{const V=m,{nodeLookup:L,transform:B,snapGrid:N,snapToGrid:E,nodeOrigin:P,paneDomNode:A}=t();if(z=L[V(750)](n),!z)return;I=A?.[V(1309)]()??null;const{xSnapped:_,ySnapped:Q}=Et(X[V(1872)],{transform:B,snapGrid:N,snapToGrid:E,containerBounds:I});y={width:z[V(911)][V(1909)]??0,height:z.measured[V(784)]??0,x:z.position.x??0,y:z[V(1980)].y??0},C={...y,pointerX:_,pointerY:Q,aspectRatio:y[V(1909)]/y[V(784)]},H=void 0,z[V(294)]&&(z[V(1053)]===V(1725)||z[V(1004)])&&(H=L[V(750)](z.parentId),W=H&&z[V(1053)]==="parent"?kb(H):void 0),U=[],O=void 0;for(const[$,ne]of L)if(ne.parentId===n&&(U[V(1699)]({id:$,position:{...ne[V(1980)]},extent:ne[V(1053)]}),ne[V(1053)]==="parent"||ne[V(1004)])){const ie=Ib(ne,z,ne[V(1528)]??P);O?O=[[Math.min(ie[0][0],O[0][0]),Math[V(984)](ie[0][1],O[0][1])],[Math.max(ie[1][0],O[1][0]),Math[V(879)](ie[1][1],O[1][1])]]:O=ie}w?.(X,{...y})}).on(m(2015),X=>{const V=m,{transform:L,snapGrid:B,snapToGrid:N,nodeOrigin:E}=t(),P=Et(X[V(1872)],{transform:L,snapGrid:B,snapToGrid:N,containerBounds:I}),A=[];if(!z)return;const{x:_,y:Q,width:$,height:ne}=y,ie={},he=z[V(1528)]??E,{width:ye,height:Ce,x:fe,y:ee}=Sb(C,a[V(1567)],P,a[V(1924)],a[V(491)],he,W,O),be=ye!==$,pe=Ce!==ne,j=fe!==_&&be,q=ee!==Q&&pe;if(!j&&!q&&!be&&!pe)return;if((j||q||he[0]===1||he[1]===1)&&(ie.x=j?fe:y.x,ie.y=q?ee:y.y,y.x=ie.x,y.y=ie.y,U[V(546)]>0)){const Me=fe-_,ke=ee-Q;for(const oe of U)oe[V(1980)]={x:oe[V(1980)].x-Me+he[0]*(ye-$),y:oe[V(1980)].y-ke+he[1]*(Ce-ne)},A[V(1699)](oe)}if((be||pe)&&(ie[V(1909)]=be&&(!a.resizeDirection||a[V(659)]===V(201))?ye:y.width,ie[V(784)]=pe&&(!a.resizeDirection||a[V(659)]===V(1331))?Ce:y.height,y[V(1909)]=ie.width,y[V(784)]=ie[V(784)]),H&&z.expandParent){const Me=he[0]*(ie[V(1909)]??0);ie.x&&ie.x<Me&&(y.x=Me,C.x=C.x-(ie.x-Me));const ke=he[1]*(ie[V(784)]??0);ie.y&&ie.y<ke&&(y.y=ke,C.y=C.y-(ie.y-ke))}const se=Lb({width:y[V(1909)],prevWidth:$,height:y[V(784)],prevHeight:ne,affectsX:a[V(1567)][V(600)],affectsY:a[V(1567)][V(1265)]}),le={...y,direction:se};M?.(X,le)!==!1&&(Y=!0,b?.(X,le),o(ie,A))}).on(m(1361),X=>{Y&&(v?.(X,{...y}),x?.({...y}),Y=!1)});i[m(719)](T)}function d(){const l=r;i.on(l(247),null)}return{update:u,destroy:d}}var Ax={exports:{}},$o={},Ex={exports:{}},er={},rc;function Ab(){const e=c;if(rc)return er;rc=1;var n=D;function t(g,h){return g===h&&(g!==0||1/g===1/h)||g!==g&&h!==h}var o=typeof Object.is=="function"?Object.is:t,x=n.useState,r=n.useEffect,i=n[e(1799)],a=n[e(1974)];function u(g,h){const w=e;var b=h(),v=x({inst:{value:b,getSnapshot:h}}),M=v[0][w(1120)],m=v[1];return i(function(){const y=w;M[y(867)]=b,M.getSnapshot=h,d(M)&&m({inst:M})},[g,b,h]),r(function(){return d(M)&&m({inst:M}),g(function(){d(M)&&m({inst:M})})},[g]),a(b),b}function d(g){const h=e;var w=g[h(1469)];g=g[h(867)];try{var b=w();return!o(g,b)}catch{return!0}}function l(g,h){return h()}var f=typeof window>"u"||e(529)===typeof window[e(597)]||e(529)===typeof window[e(597)][e(1793)]?l:u;return er[e(1365)]=n.useSyncExternalStore!==void 0?n[e(1365)]:f,er}var nr={},ic;function Eb(){const e=c;return ic||(ic=1,e(1158)!==process.env.NODE_ENV&&(function(){const n=e;function t(b,v){return b===v&&(b!==0||1/b===1/v)||b!==b&&v!==v}function o(b,v){const M=_0x1172;g||i[M(1733)]===void 0||(g=!0,console[M(907)](M(788)));var m=v();if(!h){var y=v();a(m,y)||(console[M(907)](M(746)),h=!0)}y=u({inst:{value:m,getSnapshot:v}});var C=y[0][M(1120)],z=y[1];return l(function(){const I=M;C[I(867)]=m,C[I(1469)]=v,x(C)&&z({inst:C})},[b,m,v]),d(function(){return x(C)&&z({inst:C}),b(function(){x(C)&&z({inst:C})})},[b]),f(m),m}function x(b){const v=_0x1172;var M=b[v(1469)];b=b[v(867)];try{var m=M();return!a(b,m)}catch{return!0}}function r(b,v){return v()}n(529)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(306)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(306)](Error());var i=D,a=typeof Object.is=="function"?Object.is:t,u=i.useState,d=i[n(1079)],l=i.useLayoutEffect,f=i[n(1974)],g=!1,h=!1,w=n(529)===typeof window||typeof window[n(597)]>"u"||n(529)===typeof window.document[n(1793)]?r:o;nr[n(1365)]=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:w,n(529)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(943)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1081)](Error())})()),nr}var ac;function cc(){const e=c;return ac||(ac=1,process.env.NODE_ENV===e(1158)?Ex[e(1141)]=Ab():Ex[e(1141)]=Eb()),Ex[e(1141)]}var sc;function jb(){const e=c;if(sc)return $o;sc=1;var n=D,t=cc();function o(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var x=typeof Object.is=="function"?Object.is:o,r=t[e(1365)],i=n.useRef,a=n[e(1079)],u=n[e(1826)],d=n.useDebugValue;return $o[e(1693)]=function(l,f,g,h,w){const b=e;var v=i(null);if(v[b(1521)]===null){var M={hasValue:!1,value:null};v[b(1521)]=M}else M=v[b(1521)];v=u(function(){function y(H){const W=_0x1172;if(!C){if(C=!0,z=H,H=h(H),w!==void 0&&M[W(837)]){var O=M[W(867)];if(w(O,H))return I=O}return I=H}if(O=I,x(z,H))return O;var Y=h(H);return w!==void 0&&w(O,Y)?(z=H,O):(z=H,I=Y)}var C=!1,z,I,U=g===void 0?null:g;return[function(){return y(f())},U===null?void 0:function(){return y(U())}]},[f,g,h,w]);var m=r(l,v[0],v[1]);return a(function(){const y=b;M[y(837)]=!0,M[y(867)]=m},[m]),d(m),m},$o}var tr={},lc;function Yb(){const e=c;return lc||(lc=1,e(1158)!==process.env.NODE_ENV&&(function(){const n=e;function t(f,g){return f===g&&(f!==0||1/f===1/g)||f!==f&&g!==g}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(306)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(306)](Error());var o=D,x=cc(),r=typeof Object.is=="function"?Object.is:t,i=x[n(1365)],a=o.useRef,u=o.useEffect,d=o[n(1826)],l=o[n(1974)];tr[n(1693)]=function(f,g,h,w,b){const v=n;var M=a(null);if(M.current===null){var m={hasValue:!1,value:null};M[v(1521)]=m}else m=M[v(1521)];M=d(function(){function C(W){const O=_0x1172;if(!z){if(z=!0,I=W,W=w(W),b!==void 0&&m[O(837)]){var Y=m[O(867)];if(b(Y,W))return U=Y}return U=W}if(Y=U,r(I,W))return Y;var T=w(W);return b!==void 0&&b(Y,T)?(I=W,Y):(I=W,U=T)}var z=!1,I,U,H=h===void 0?null:h;return[function(){return C(g())},H===null?void 0:function(){return C(H())}]},[g,h,w,b]);var y=i(f,M[0],M[1]);return u(function(){const C=v;m.hasValue=!0,m[C(867)]=y},[y]),l(y),y},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1081)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1081)](Error())})()),tr}var dc;function Ub(){const e=c;return dc?Ax[e(1141)]:(dc=1,process.env.NODE_ENV===e(1158)?Ax[e(1141)]=jb():Ax[e(1141)]=Yb(),Ax.exports)}var Ob=Ub();const Gb=it(Ob),Hb={},uc=e=>{let n;const t=new Set,o=(l,f)=>{const g=_0x1172,h=typeof l===g(943)?l(n):l;if(!Object.is(h,n)){const w=n;n=f??(typeof h!="object"||h===null)?h:Object[g(1510)]({},n,h),t[g(1161)](b=>b(n,w))}},x=()=>n,r=()=>d,i=l=>(t[_0x1172(1463)](l),()=>t.delete(l)),a=()=>{const l=_0x1172;(Hb?l(1158):void 0)!==l(1158)&&console[l(241)](l(1251)),t.clear()},u={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:a},d=n=e(o,x,u);return u},Tb=e=>e?uc(e):uc,{useDebugValue:Vb}=D,{useSyncExternalStoreWithSelector:qb}=Gb,Wb=e=>e;function fc(e,n=Wb,t){const o=c,x=qb(e.subscribe,e[o(724)],e.getServerState||e[o(1501)],n,t);return Vb(x),x}const bc=(e,n)=>{const t=c,o=Tb(e),x=(r,i=n)=>fc(o,r,i);return Object[t(1510)](x,o),x},Xb=(e,n)=>e?bc(e,n):bc;function qe(e,n){const t=c;if(Object.is(e,n))return!0;if(typeof e!==t(1129)||e===null||typeof n!="object"||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(313)]!==n[t(313)])return!1;for(const[x,r]of e)if(!Object.is(r,n[t(750)](x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e.size!==n[t(313)])return!1;for(const x of e)if(!n[t(363)](x))return!1;return!0}const o=Object[t(1700)](e);if(o[t(546)]!==Object[t(1700)](n)[t(546)])return!1;for(const x of o)if(!Object[t(989)][t(966)][t(719)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const jx=D[c(828)](null),Zb=jx.Provider,hc=w0.error001();function Ue(e,n){const t=D.useContext(jx);if(t===null)throw new Error(hc);return fc(t,e,n)}function We(){const e=c,n=D.useContext(jx);if(n===null)throw new Error(hc);return D[e(1826)](()=>({getState:n[e(724)],setState:n.setState,subscribe:n.subscribe}),[n])}const gc={display:"none"},Kb={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:c(614),clip:"rect(0px, 0px, 0px, 0px)",clipPath:c(932)},yc="react-flow__node-desc",mc="react-flow__edge-desc",Rb=c(1866),Jb=e=>e.ariaLiveMessage,_b=e=>e[c(1284)];function Fb({rfId:e}){const n=c,t=Ue(Jb);return s.jsx(n(1102),{id:Rb+"-"+e,"aria-live":n(1078),"aria-atomic":n(374),style:Kb,children:t})}function Qb({rfId:e,disableKeyboardA11y:n}){const t=c,o=Ue(_b);return s[t(1149)](s[t(895)],{children:[s[t(827)](t(1102),{id:yc+"-"+e,style:gc,children:n?o[t(1440)]:o["node.a11yDescription.keyboardDisabled"]}),s.jsx("div",{id:mc+"-"+e,style:gc,children:o[t(1080)]}),!n&&s[t(827)](Fb,{rfId:e})]})}const Yx=D[c(874)](({position:e=c(1819),children:n,className:t,style:o,...x},r)=>{const i=c,a=(""+e)[i(824)]("-");return s[i(827)](i(1102),{className:e0([i(1657),t,...a]),style:o,ref:r,...x,children:n})});Yx[c(1038)]="Panel";function $b({proOptions:e,position:n=c(740)}){const t=c;return e?.hideAttribution?null:s.jsx(Yx,{position:n,className:t(817),"data-message":t(626),children:s.jsx("a",{href:t(1723),target:t(518),rel:"noopener noreferrer","aria-label":"React Flow attribution",children:t(629)})})}const e2=e=>{const n=c,t=[],o=[];for(const[,x]of e[n(615)])x[n(1198)]&&t[n(1699)](x[n(465)].userNode);for(const[,x]of e[n(296)])x[n(1198)]&&o[n(1699)](x);return{selectedNodes:t,selectedEdges:o}},Ux=e=>e.id;function n2(e,n){const t=c;return qe(e[t(947)].map(Ux),n[t(947)][t(1461)](Ux))&&qe(e[t(1499)][t(1461)](Ux),n[t(1499)].map(Ux))}function t2({onSelectionChange:e}){const n=c,t=We(),{selectedNodes:o,selectedEdges:x}=Ue(e2,n2);return D[n(1079)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(724)]().onSelectionChangeHandlers[r(1161)](a=>a(i))},[o,x,e]),null}const x2=e=>!!e.onSelectionChangeHandlers;function o2({onSelectionChange:e}){const n=c,t=Ue(x2);return e||t?s[n(827)](t2,{onSelectionChange:e}):null}const xr=typeof window!==c(529)?D.useLayoutEffect:D[c(1079)],vc=[0,0],r2={x:0,y:0,zoom:1},i2=["nodes",c(1631),c(1979),c(632),c(1572),c(513),c(1797),c(928),"onClickConnectEnd","nodesDraggable",c(342),c(2031),c(1532),"edgesFocusable","edgesReconnectable","elevateNodesOnSelect",c(524),"minZoom",c(2006),c(579),c(1527),"onEdgesChange",c(1375),c(1505),c(1143),c(468),c(1704),c(383),c(875),c(876),c(1962),c(870),"onEdgesDelete",c(231),c(668),c(1855),c(1570),"onSelectionDrag",c(749),c(185),c(1485),"onMove",c(217),c(1398),c(1205),c(1494),c(1376),c(424),c(1898),"isValidConnection","selectNodesOnDrag",c(501),c(525),c(347),"debug","autoPanSpeed",c(1284),c(402)],wc=[...i2,c(1785)],a2=e=>({setNodes:e[c(1956)],setEdges:e[c(980)],setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e[c(414)],setNodeExtent:e.setNodeExtent,reset:e[c(1888)],setDefaultNodesAndEdges:e[c(926)]}),pc={translateExtent:Dt,nodeOrigin:vc,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function c2(e){const n=c,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:u,setDefaultNodesAndEdges:d}=Ue(a2,qe),l=We();xr(()=>{const g=_0x1172;return d(e[g(1979)],e[g(632)]),()=>{f.current=pc,u()}},[]);const f=D[n(671)](pc);return xr(()=>{const g=n;for(const h of wc){const w=e[h],b=f[g(1521)][h];w!==b&&typeof e[h]!==g(529)&&(h===g(376)?t(w):h===g(1631)?o(w):h===g(1575)?x(w):h===g(2006)?r(w):h==="translateExtent"?i(w):h===g(579)?a(w):h===g(1284)?l.setState({ariaLabelConfig:Xf(w)}):h===g(876)?l[g(667)]({fitViewQueued:w}):h===g(1962)?l[g(667)]({fitViewOptions:w}):l.setState({[h]:w}))}f.current=e},wc.map(g=>e[g])),null}function zc(){const e=c;return typeof window>"u"||!window[e(259)]?null:window[e(259)](e(791))}function s2(e){const n=c,[t,o]=D.useState(e===n(1782)?null:e);return D[n(1079)](()=>{const x=n;if(e!=="system"){o(e);return}const r=zc(),i=()=>o(r?.[x(1994)]?x(438):x(510));return i(),r?.[x(569)]("change",i),()=>{const a=x;r?.[a(1845)](a(228),i)}},[e]),t!==null?t:zc()?.matches?n(438):"light"}const Cc=typeof document!==c(529)?document:null;function jt(e=null,n={target:Cc,actInsideInputWithModifier:!0}){const t=c,[o,x]=D[t(325)](!1),r=D.useRef(!1),i=D.useRef(new Set([])),[a,u]=D.useMemo(()=>{const d=t;if(e!==null){const l=Array[d(454)](e)?e:[e],f=l[d(1338)](h=>typeof h===d(1117)).map(h=>h[d(1639)]("+",`
5
+ `)[d(1639)](`
11
6
 
12
7
  `,`
13
- +`)[d(1122)](`
14
- `)),b=f[d(1636)]((g,v)=>g[d(1484)](...v),[]);return[f,b]}return[[],[]]},[e]);return D.useEffect(()=>{const d=t,s=n?.target??zc,f=n?.actInsideInputWithModifier??!0;if(e!==null){const b=h=>{const w=_0xad4d;if(r[w(1347)]=h.ctrlKey||h.metaKey||h[w(1880)]||h[w(1923)],(!r[w(1347)]||r[w(1347)]&&!f)&&Ni(h))return!1;const y=Mc(h[w(1285)],u);if(a[w(1347)][w(1996)](h[y]),Cc(i,a[w(1347)],!1)){const m=h.composedPath?.()?.[0]||h[w(852)],z=m?.[w(494)]==="BUTTON"||m?.[w(494)]==="A";n[w(1556)]!==!1&&(r[w(1347)]||!z)&&h[w(1556)](),x(!0)}},g=h=>{const w=_0xad4d,M=Mc(h[w(1285)],u);Cc(i,a[w(1347)],!0)?(x(!1),a[w(1347)][w(753)]()):a[w(1347)][w(1538)](h[M]),h.key===w(537)&&a.current.clear(),r.current=!1},v=()=>{a[_0xad4d(1347)].clear(),x(!1)};return s?.[d(1081)](d(1823),b),s?.[d(1081)](d(1136),g),window.addEventListener(d(1203),v),window[d(1081)](d(1293),v),()=>{const h=d;s?.[h(612)](h(1823),b),s?.[h(612)](h(1136),g),window[h(612)](h(1203),v),window.removeEventListener(h(1293),v)}}},[e,x]),o}function Cc(e,n,t){const o=c;return e.filter(x=>t||x.length===n[o(1120)]).some(x=>x[o(2050)](r=>n[o(776)](r)))}function Mc(e,n){const t=c;return n.includes(e)?t(1285):t(821)}const ih=()=>{const e=c,n=X0();return D[e(1943)](()=>{const t=e;return{zoomIn:o=>{const x=_0xad4d,{panZoom:r}=n[x(360)]();return r?r[x(2115)](1.2,o):Promise[x(896)](!1)},zoomOut:o=>{const x=_0xad4d,{panZoom:r}=n[x(360)]();return r?r.scaleBy(1/1.2,o):Promise[x(896)](!1)},zoomTo:(o,x)=>{const r=_0xad4d,{panZoom:a}=n[r(360)]();return a?a[r(1328)](o,x):Promise[r(896)](!1)},getZoom:()=>n[t(360)]()[t(1838)][2],setViewport:async(o,x)=>{const r=t,{transform:[a,i,u],panZoom:d}=n.getState();return d?(await d[r(703)]({x:o.x??a,y:o.y??i,zoom:o[r(1304)]??u},x),Promise[r(896)](!0)):Promise[r(896)](!1)},getViewport:()=>{const o=t,[x,r,a]=n[o(360)]()[o(1838)];return{x,y:r,zoom:a}},setCenter:async(o,x,r)=>{const a=t;return n[a(360)]()[a(1334)](o,x,r)},fitBounds:async(o,x)=>{const r=t,{width:a,height:i,minZoom:u,maxZoom:d,panZoom:s}=n[r(360)](),f=Vo(o,a,i,u,d,x?.[r(1562)]??.1);return s?(await s[r(703)](f,{duration:x?.[r(895)],ease:x?.[r(1465)],interpolate:x?.[r(491)]}),Promise[r(896)](!0)):Promise.resolve(!1)},screenToFlowPosition:(o,x={})=>{const r=t,{transform:a,snapGrid:i,snapToGrid:u,domNode:d}=n.getState();if(!d)return o;const{x:s,y:f}=d[r(880)](),b={x:o.x-s,y:o.y-f},g=x[r(2100)]??i,v=x[r(389)]??u;return kt(b,a,v,g)},flowToScreenPosition:o=>{const x=t,{transform:r,domNode:a}=n.getState();if(!a)return o;const{x:i,y:u}=a[x(880)](),d=kx(o,r);return{x:d.x+i,y:d.y+u}}}},[])};function Bc(e,n){const t=c,o=[],x=new Map,r=[];for(const a of e)if(a[t(1727)]===t(1996)){r.push(a);continue}else if(a[t(1727)]===t(436)||a[t(1727)]===t(1806))x[t(1480)](a.id,[a]);else{const i=x[t(356)](a.id);i?i[t(1106)](a):x[t(1480)](a.id,[a])}for(const a of n){const i=x[t(356)](a.id);if(!i){o[t(1106)](a);continue}if(i[0][t(1727)]==="remove")continue;if(i[0][t(1727)]===t(1806)){o[t(1106)]({...i[0][t(1300)]});continue}const u={...a};for(const d of i)ch(d,u);o[t(1106)](u)}return r[t(1146)]&&r[t(1413)](a=>{const i=t;a.index!==void 0?o[i(588)](a[i(576)],0,{...a.item}):o[i(1106)]({...a.item})}),o}function ch(e,n){const t=c;switch(e.type){case t(1902):{n[t(691)]=e[t(691)];break}case t(1366):{typeof e[t(1366)]!==t(1951)&&(n[t(1366)]=e[t(1366)]),typeof e[t(855)]!==t(1951)&&(n[t(855)]=e[t(855)]);break}case"dimensions":{typeof e.dimensions!==t(1951)&&(n[t(1801)]={...e[t(979)]},e[t(1125)]&&((e[t(1125)]===!0||e[t(1125)]===t(336))&&(n[t(336)]=e[t(979)][t(336)]),(e[t(1125)]===!0||e[t(1125)]===t(1408))&&(n[t(1408)]=e[t(979)].height))),typeof e[t(438)]===t(1947)&&(n.resizing=e[t(438)]);break}}}function Dc(e,n){return Bc(e,n)}function Lc(e,n){return Bc(e,n)}function zn(e,n){return{id:e,type:"select",selected:n}}function Jn(e,n=new Set,t=!1){const o=c,x=[];for(const[r,a]of e){const i=n.has(r);!(a[o(691)]===void 0&&!i)&&a[o(691)]!==i&&(t&&(a[o(691)]=i),x[o(1106)](zn(a.id,i)))}return x}function Sc({items:e=[],lookup:n}){const t=c,o=[],x=new Map(e[t(632)](r=>[r.id,r]));for(const[r,a]of e[t(1412)]()){const i=n[t(356)](a.id),u=i?.[t(957)]?.[t(960)]??i;u!==void 0&&u!==a&&o[t(1106)]({id:a.id,item:a,type:t(1806)}),u===void 0&&o[t(1106)]({item:a,type:t(1996),index:r})}for(const[r]of n)x.get(r)===void 0&&o[t(1106)]({id:r,type:t(436)});return o}function Nc(e){return{id:e.id,type:"remove"}}const kc=e=>j5(e),sh=e=>yi(e);function Ic(e){return D[c(1243)](e)}function Pc(e){const n=c,[t,o]=D[n(1508)](BigInt(0)),[x]=D[n(1508)](()=>lh(()=>o(r=>r+BigInt(1))));return or(()=>{const r=n,a=x.get();a[r(1146)]&&(e(a),x[r(1637)]())},[t]),x}function lh(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0xad4d(1106)](t),e()}}}const jc=D[c(965)](null);function dh({children:e}){const n=c,t=X0(),o=D.useCallback(u=>{const d=_0xad4d,{nodes:s=[],setNodes:f,hasDefaultNodes:b,onNodesChange:g,nodeLookup:v,fitViewQueued:h,onNodesChangeMiddlewareMap:w}=t[d(360)]();let M=s;for(const m of u)M=typeof m===d(1646)?m(M):m;let y=Sc({items:M,lookup:v});for(const m of w[d(1944)]())y=m(y);b&&f(M),y[d(1146)]>0?g?.(y):h&&window.requestAnimationFrame(()=>{const m=d,{fitViewQueued:z,nodes:C,setNodes:I}=t[m(360)]();z&&I(C)})},[]),x=Pc(o),r=D[n(1324)](u=>{const d=n,{edges:s=[],setEdges:f,hasDefaultEdges:b,onEdgesChange:g,edgeLookup:v}=t[d(360)]();let h=s;for(const w of u)h=typeof w===d(1646)?w(h):w;b?f(h):g&&g(Sc({items:h,lookup:v}))},[]),a=Pc(r),i=D.useMemo(()=>({nodeQueue:x,edgeQueue:a}),[]);return l[n(1963)](jc.Provider,{value:i,children:e})}function uh(){const e=c,n=D[e(1683)](jc);if(!n)throw new Error(e(664));return n}const fh=e=>!!e[c(1758)];function rr(){const e=c,n=ih(),t=X0(),o=uh(),x=A0(fh),r=D[e(1943)](()=>{const a=e,i=g=>t[a(360)]()[a(1037)].get(g),u=g=>{const v=a;o[v(1183)][v(1106)](g)},d=g=>{const v=a;o[v(936)][v(1106)](g)},s=g=>{const v=a,{nodeLookup:h,nodeOrigin:w}=t.getState(),M=kc(g)?g:h[v(356)](g.id),y=M.parentId?Di(M[v(1366)],M[v(1801)],M.parentId,h,w):M[v(1366)],m={...M,position:y,width:M[v(1801)]?.width??M.width,height:M.measured?.[v(1408)]??M[v(1408)]};return Wn(m)},f=(g,v,h={replace:!1})=>{const w=a;u(M=>M[w(632)](y=>{const m=w;if(y.id===g){const z=typeof v=="function"?v(y):v;return h[m(1806)]&&kc(z)?z:{...y,...z}}return y}))},b=(g,v,h={replace:!1})=>{const w=a;d(M=>M[w(632)](y=>{const m=w;if(y.id===g){const z=typeof v=="function"?v(y):v;return h[m(1806)]&&sh(z)?z:{...y,...z}}return y}))};return{getNodes:()=>t.getState()[a(1895)].map(g=>({...g})),getNode:g=>i(g)?.[a(957)][a(960)],getInternalNode:i,getEdges:()=>{const g=a,{edges:v=[]}=t[g(360)]();return v.map(h=>({...h}))},getEdge:g=>t.getState()[a(1917)][a(356)](g),setNodes:u,setEdges:d,addNodes:g=>{const v=a,h=Array[v(1905)](g)?g:[g];o[v(1183)][v(1106)](w=>[...w,...h])},addEdges:g=>{const v=a,h=Array[v(1905)](g)?g:[g];o[v(936)].push(w=>[...w,...h])},toObject:()=>{const g=a,{nodes:v=[],edges:h=[],transform:w}=t[g(360)](),[M,y,m]=w;return{nodes:v[g(632)](z=>({...z})),edges:h[g(632)](z=>({...z})),viewport:{x:M,y,zoom:m}}},deleteElements:async({nodes:g=[],edges:v=[]})=>{const h=a,{nodes:w,edges:M,onNodesDelete:y,onEdgesDelete:m,triggerNodeChanges:z,triggerEdgeChanges:C,onDelete:I,onBeforeDelete:G}=t[h(360)](),{nodes:O,edges:X}=await G5({nodesToRemove:g,edgesToRemove:v,nodes:w,edges:M,onBeforeDelete:G}),U=X.length>0,E=O[h(1146)]>0;if(U){const T=X[h(632)](Nc);m?.(X),C(T)}if(E){const T=O[h(632)](Nc);y?.(O),z(T)}return(E||U)&&I?.({nodes:O,edges:X}),{deletedNodes:O,deletedEdges:X}},getIntersectingNodes:(g,v=!0,h)=>{const w=a,M=Ci(g),y=M?g:s(g),m=h!==void 0;return y?(h||t[w(360)]()[w(1895)])[w(2102)](z=>{const C=w,I=t[C(360)]()[C(1037)][C(356)](z.id);if(I&&!M&&(z.id===g.id||!I.internals[C(1595)]))return!1;const G=Wn(m?z:I),O=St(G,y);return v&&O>0||O>=G[C(336)]*G[C(1408)]||O>=y.width*y[C(1408)]}):[]},isNodeIntersecting:(g,v,h=!0)=>{const w=a,M=Ci(g),y=M?g:s(g);if(!y)return!1;const m=St(y,v);return h&&m>0||m>=v[w(336)]*v[w(1408)]||m>=y[w(336)]*y[w(1408)]},updateNode:f,updateNodeData:(g,v,h={replace:!1})=>{f(g,w=>{const M=_0xad4d,y=typeof v===M(1646)?v(w):v;return h[M(1806)]?{...w,data:y}:{...w,data:{...w[M(2128)],...y}}},h)},updateEdge:b,updateEdgeData:(g,v,h={replace:!1})=>{b(g,w=>{const M=_0xad4d,y=typeof v===M(1646)?v(w):v;return h[M(1806)]?{...w,data:y}:{...w,data:{...w[M(2128)],...y}}},h)},getNodesBounds:g=>{const v=a,{nodeLookup:h,nodeOrigin:w}=t[v(360)]();return A5(g,{nodeLookup:h,nodeOrigin:w})},getHandleConnections:({type:g,id:v,nodeId:h})=>Array[a(1365)](t[a(360)]().connectionLookup[a(356)](h+"-"+g+(v?"-"+v:""))?.[a(1944)]()??[]),getNodeConnections:({type:g,handleId:v,nodeId:h})=>Array[a(1365)](t.getState().connectionLookup[a(356)](""+h+(g?v?"-"+g+"-"+v:"-"+g:""))?.[a(1944)]()??[]),fitView:async g=>{const v=a,h=t[v(360)]().fitViewResolver??H5();return t[v(929)]({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),o[v(1183)][v(1106)](w=>[...w]),h[v(1645)]}}},[]);return D[e(1943)](()=>({...r,...n,viewportInitialized:x}),[x])}const Ac=e=>e[c(691)],hh=typeof window!==c(1951)?window:void 0;function gh({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=c,o=X0(),{deleteElements:x}=rr(),r=jt(e,{actInsideInputWithModifier:!1}),a=jt(n,{target:hh});D[t(572)](()=>{const i=t;if(r){const{edges:u,nodes:d}=o[i(360)]();x({nodes:d[i(2102)](Ac),edges:u[i(2102)](Ac)}),o[i(929)]({nodesSelectionActive:!1})}},[r]),D.useEffect(()=>{o.setState({multiSelectionActive:a})},[a])}function bh(e){const n=X0();D.useEffect(()=>{const t=_0xad4d,o=()=>{const x=_0xad4d;if(!e.current||!(e.current[x(1545)]?.()??!0))return!1;const r=Ho(e[x(1347)]);(r[x(1408)]===0||r[x(336)]===0)&&n[x(360)]()[x(649)]?.("004",we[x(1473)]()),n[x(929)]({width:r[x(336)]||500,height:r[x(1408)]||500})};if(e[t(1347)]){o(),window[t(1081)](t(387),o);const x=new ResizeObserver(()=>o());return x[t(1967)](e.current),()=>{const r=t;window.removeEventListener(r(387),o),x&&e[r(1347)]&&x[r(1084)](e.current)}}},[])}const Ox={position:c(1780),width:c(1932),height:c(1932),top:0,left:0},yh=e=>({userSelectionActive:e[c(1100)],lib:e[c(744)],connectionInProgress:e[c(758)].inProgress});function mh({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=vn.Free,zoomOnDoubleClick:a=!0,panOnDrag:i=!0,defaultViewport:u,translateExtent:d,minZoom:s,maxZoom:f,zoomActivationKeyCode:b,preventScrolling:g=!0,children:v,noWheelClassName:h,noPanClassName:w,onViewportChange:M,isControlledViewport:y,paneClickDistance:m,selectionOnDrag:z}){const C=c,I=X0(),G=D[C(342)](null),{userSelectionActive:O,lib:X,connectionInProgress:U}=A0(yh,W0),E=jt(b),T=D[C(342)]();bh(G);const W=D[C(1324)](V=>{const S=C;M?.({x:V[0],y:V[1],zoom:V[2]}),!y&&I[S(929)]({transform:V})},[M,y]);return D.useEffect(()=>{const V=C;if(G.current){T[V(1347)]=C3({domNode:G.current,minZoom:s,maxZoom:f,translateExtent:d,viewport:u,onDraggingChange:A=>I[V(929)](j=>j.paneDragging===A?j:{paneDragging:A}),onPanZoomStart:(A,j)=>{const P=V,{onViewportChangeStart:F,onMoveStart:e0}=I[P(360)]();e0?.(A,j),F?.(j)},onPanZoom:(A,j)=>{const P=V,{onViewportChange:F,onMove:e0}=I[P(360)]();e0?.(A,j),F?.(j)},onPanZoomEnd:(A,j)=>{const{onViewportChangeEnd:P,onMoveEnd:F}=I.getState();F?.(A,j),P?.(j)}});const{x:S,y:B,zoom:N}=T[V(1347)][V(1086)]();return I[V(929)]({panZoom:T[V(1347)],transform:[S,B,N],domNode:G[V(1347)][V(1206)](".react-flow")}),()=>{const A=V;T[A(1347)]?.[A(2047)]()}}},[]),D[C(572)](()=>{T[C(1347)]?.update({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:a,panOnDrag:i,zoomActivationKeyPressed:E,preventScrolling:g,noPanClassName:w,userSelectionActive:O,noWheelClassName:h,lib:X,onTransformChange:W,connectionInProgress:U,selectionOnDrag:z,paneClickDistance:m})},[e,n,t,o,x,r,a,i,E,g,w,O,h,X,W,U,z,m]),l.jsx(C(1704),{className:C(1658),ref:G,style:Ox,children:v})}const vh=e=>({userSelectionActive:e[c(1100)],userSelectionRect:e[c(1706)]});function wh(){const e=c,{userSelectionActive:n,userSelectionRect:t}=A0(vh,W0);return n&&t?l[e(1963)](e(1704),{className:"react-flow__selection react-flow__container",style:{width:t[e(336)],height:t[e(1408)],transform:e(675)+t.x+e(2086)+t.y+e(866)}}):null}const ar=(e,n)=>t=>{t[_0xad4d(852)]===n.current&&e?.(t)},ph=e=>({userSelectionActive:e[c(1100)],elementsSelectable:e.elementsSelectable,connectionInProgress:e[c(758)].inProgress,dragging:e[c(636)]});function zh({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Bt[c(1339)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:a,onSelectionEnd:i,onPaneClick:u,onPaneContextMenu:d,onPaneScroll:s,onPaneMouseEnter:f,onPaneMouseMove:b,onPaneMouseLeave:g,children:v}){const h=c,w=X0(),{userSelectionActive:M,elementsSelectable:y,dragging:m,connectionInProgress:z}=A0(ph,W0),C=y&&(e||M),I=D[h(342)](null),G=D[h(342)](),O=D.useRef(new Set),X=D[h(342)](new Set),U=D.useRef(!1),E=j=>{const P=h;if(U[P(1347)]||z){U[P(1347)]=!1;return}u?.(j),w.getState()[P(1211)](),w[P(929)]({nodesSelectionActive:!1})},T=j=>{if(Array[h(1905)](o)&&o?.includes(2)){j.preventDefault();return}d?.(j)},W=s?j=>s(j):void 0,V=j=>{const P=h;U[P(1347)]&&(j[P(2118)](),U.current=!1)},S=j=>{const P=h,{domNode:F}=w[P(360)]();if(G.current=F?.getBoundingClientRect(),!G[P(1347)])return;const e0=j.target===I[P(1347)];if(!e0&&!!j.target[P(1206)](".nokey")||!e||!(r&&e0||n)||j[P(1261)]!==0||!j[P(478)])return;j[P(852)]?.[P(1175)]?.(j[P(2110)]),U.current=!1;const{x:o0,y:g0}=Pe(j.nativeEvent,G[P(1347)]);w[P(929)]({userSelectionRect:{width:0,height:0,startX:o0,startY:g0,x:o0,y:g0}}),!e0&&(j[P(2118)](),j[P(1556)]())},B=j=>{const P=h,{userSelectionRect:F,transform:e0,nodeLookup:$,edgeLookup:t0,connectionLookup:o0,triggerNodeChanges:g0,triggerEdgeChanges:v0,defaultEdgeOptions:C0,resetSelectedElements:d0}=w[P(360)]();if(!G[P(1347)]||!F)return;const{x:Q,y:u0}=Pe(j[P(1014)],G[P(1347)]),{startX:z0,startY:Y}=F;if(!U[P(1347)]){const m0=n?0:x;if(Math.hypot(Q-z0,u0-Y)<=m0)return;d0(),a?.(j)}U[P(1347)]=!0;const q={startX:z0,startY:Y,x:Q<z0?Q:z0,y:u0<Y?u0:Y,width:Math.abs(Q-z0),height:Math[P(1697)](u0-Y)},c0=O[P(1347)],l0=X[P(1347)];O.current=new Set(Go($,q,e0,t===Bt.Partial,!0)[P(632)](m0=>m0.id)),X.current=new Set;const B0=C0?.selectable??!0;for(const m0 of O.current){const G0=o0[P(356)](m0);if(G0)for(const{edgeId:n0}of G0.values()){const b0=t0[P(356)](n0);b0&&(b0.selectable??B0)&&X[P(1347)][P(1996)](n0)}}if(!Li(c0,O[P(1347)])){const m0=Jn($,O[P(1347)],!0);g0(m0)}if(!Li(l0,X[P(1347)])){const m0=Jn(t0,X.current);v0(m0)}w.setState({userSelectionRect:q,userSelectionActive:!0,nodesSelectionActive:!1})},N=j=>{const P=h;j[P(1261)]===0&&(j.target?.releasePointerCapture?.(j[P(2110)]),!M&&j[P(852)]===I[P(1347)]&&w[P(360)]()[P(1706)]&&E?.(j),w[P(929)]({userSelectionActive:!1,userSelectionRect:null}),U.current&&(i?.(j),w[P(929)]({nodesSelectionActive:O.current.size>0})))},A=o===!0||Array[h(1905)](o)&&o[h(2096)](0);return l[h(931)](h(1704),{className:Q0([h(1257),{draggable:A,dragging:m,selection:e}]),onClick:C?void 0:ar(E,I),onContextMenu:ar(T,I),onWheel:ar(W,I),onPointerEnter:C?void 0:f,onPointerMove:C?B:b,onPointerUp:C?N:void 0,onPointerDownCapture:C?S:void 0,onClickCapture:C?V:void 0,onPointerLeave:g,ref:I,style:Ox,children:[v,l.jsx(wh,{})]})}function ir({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=c,{addSelectedNodes:r,unselectNodesAndEdges:a,multiSelectionActive:i,nodeLookup:u,onError:d}=n[x(360)](),s=u.get(e);if(!s){d?.("012",we.error012(e));return}n[x(929)]({nodesSelectionActive:!1}),s[x(691)]?(t||s[x(691)]&&i)&&(a({nodes:[s],edges:[]}),requestAnimationFrame(()=>o?.[x(1347)]?.blur())):r([e])}function Yc({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:a}){const i=c,u=X0(),[d,s]=D[i(1508)](!1),f=D[i(342)]();return D.useEffect(()=>{const b=i;f.current=s3({getStoreItems:()=>u[b(360)](),onNodeMouseDown:g=>{ir({id:g,store:u,nodeRef:e})},onDragStart:()=>{s(!0)},onDragStop:()=>{s(!1)}})},[]),D[i(572)](()=>{const b=i;if(!(n||!e[b(1347)]||!f[b(1347)]))return f[b(1347)].update({noDragClassName:t,handleSelector:o,domNode:e[b(1347)],isSelectable:r,nodeId:x,nodeClickDistance:a}),()=>{const g=b;f[g(1347)]?.[g(2047)]()}},[t,o,n,r,e,x,a]),d}const Ch=e=>n=>n.selected&&(n[c(1705)]||e&&typeof n[c(1705)]>"u");function Ec(){const e=X0();return D.useCallback(t=>{const o=_0xad4d,{nodeExtent:x,snapToGrid:r,snapGrid:a,nodesDraggable:i,onError:u,updateNodePositions:d,nodeLookup:s,nodeOrigin:f}=e.getState(),b=new Map,g=Ch(i),v=r?a[0]:5,h=r?a[1]:5,w=t.direction.x*v*t.factor,M=t[o(1477)].y*h*t[o(1199)];for(const[,y]of s){if(!g(y))continue;let m={x:y[o(957)].positionAbsolute.x+w,y:y.internals[o(1595)].y+M};r&&(m=Nt(m,a));const{position:z,positionAbsolute:C}=mi({nodeId:y.id,nextPosition:m,nodeLookup:s,nodeExtent:x,nodeOrigin:f,onError:u});y[o(1366)]=z,y.internals[o(1595)]=C,b.set(y.id,y)}d(b)},[])}const cr=D.createContext(null),Mh=cr[c(1156)];cr[c(1283)];const Uc=()=>D[c(1683)](cr),Bh=e=>({connectOnClick:e[c(1384)],noPanClassName:e.noPanClassName,rfId:e[c(734)]}),Dh=(e,n,t)=>o=>{const x=c,{connectionClickStartHandle:r,connectionMode:a,connection:i}=o,{fromHandle:u,toHandle:d,isValid:s}=i,f=d?.[x(639)]===e&&d?.id===n&&d?.[x(1727)]===t;return{connectingFrom:u?.nodeId===e&&u?.id===n&&u?.type===t,connectingTo:f,clickConnecting:r?.[x(639)]===e&&r?.id===n&&r?.[x(1727)]===t,isPossibleEndHandle:a===Tn[x(813)]?u?.[x(1727)]!==t:e!==u?.[x(639)]||n!==u?.id,connectionInProcess:!!u,clickConnectionInProcess:!!r,valid:f&&s}};function Lh({type:e=c(1390),position:n=D0[c(1335)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:a,onConnect:i,children:u,className:d,onMouseDown:s,onTouchStart:f,...b},g){const v=c,h=a||null,w=e==="target",M=X0(),y=Uc(),{connectOnClick:m,noPanClassName:z,rfId:C}=A0(Bh,W0),{connectingFrom:I,connectingTo:G,clickConnecting:O,isPossibleEndHandle:X,connectionInProcess:U,clickConnectionInProcess:E,valid:T}=A0(Dh(y,h,e),W0);!y&&M[v(360)]()[v(649)]?.(v(1537),we[v(469)]());const W=B=>{const N=v,{defaultEdgeOptions:A,onConnect:j,hasDefaultEdges:P}=M.getState(),F={...A,...B};if(P){const{edges:e0,setEdges:$}=M[N(360)]();$(Ei(F,e0))}j?.(F),i?.(F)},V=B=>{const N=v;if(!y)return;const A=ki(B.nativeEvent);if(x&&(A&&B[N(1261)]===0||!A)){const j=M.getState();_o[N(2119)](B[N(1014)],{handleDomNode:B[N(1315)],autoPanOnConnect:j[N(1514)],connectionMode:j[N(2070)],connectionRadius:j.connectionRadius,domNode:j.domNode,nodeLookup:j[N(1037)],lib:j[N(744)],isTarget:w,handleId:h,nodeId:y,flowId:j[N(734)],panBy:j[N(829)],cancelConnection:j.cancelConnection,onConnectStart:j[N(1994)],onConnectEnd:(...P)=>M.getState()[N(328)]?.(...P),updateConnection:j[N(1723)],onConnect:W,isValidConnection:t||((...P)=>M.getState().isValidConnection?.(...P)??!0),getTransform:()=>M[N(360)]()[N(1838)],getFromHandle:()=>M[N(360)]()[N(758)][N(738)],autoPanSpeed:j[N(1788)],dragThreshold:j[N(1474)]})}A?s?.(B):f?.(B)},S=B=>{const N=v,{onClickConnectStart:A,onClickConnectEnd:j,connectionClickStartHandle:P,connectionMode:F,isValidConnection:e0,lib:$,rfId:t0,nodeLookup:o0,connection:g0}=M[N(360)]();if(!y||!P&&!x)return;if(!P){A?.(B.nativeEvent,{nodeId:y,handleId:h,handleType:e}),M[N(929)]({connectionClickStartHandle:{nodeId:y,type:e,id:h}});return}const v0=Si(B[N(852)]),C0=t||e0,{connection:d0,isValid:Q}=_o[N(1742)](B[N(1014)],{handle:{nodeId:y,id:h,type:e},connectionMode:F,fromNodeId:P.nodeId,fromHandleId:P.id||null,fromType:P[N(1727)],isValidConnection:C0,flowId:t0,doc:v0,lib:$,nodeLookup:o0});Q&&d0&&W(d0);const u0=structuredClone(g0);delete u0.inProgress,u0[N(1039)]=u0[N(1129)]?u0[N(1129)][N(1366)]:null,j?.(B,u0),M[N(929)]({connectionClickStartHandle:null})};return l.jsx(v(1704),{"data-handleid":h,"data-nodeid":y,"data-handlepos":n,"data-id":C+"-"+y+"-"+h+"-"+e,className:Q0(["react-flow__handle",v(681)+n,v(604),z,d,{source:!w,target:w,connectable:o,connectablestart:x,connectableend:r,clickconnecting:O,connectingfrom:I,connectingto:G,valid:T,connectionindicator:o&&(!U||X)&&(U||E?r:x)}]),onMouseDown:V,onTouchStart:V,onClick:m?S:void 0,ref:g,...b,children:u})}const Fn=D[c(598)](Ic(Lh));function Sh({data:e,isConnectable:n,sourcePosition:t=D0[c(398)]}){const o=c;return l[o(931)](l[o(1060)],{children:[e?.label,l[o(1963)](Fn,{type:o(1390),position:t,isConnectable:n})]})}function Nh({data:e,isConnectable:n,targetPosition:t=D0[c(1335)],sourcePosition:o=D0[c(398)]}){const x=c;return l[x(931)](l.Fragment,{children:[l.jsx(Fn,{type:x(852),position:t,isConnectable:n}),e?.label,l.jsx(Fn,{type:x(1390),position:o,isConnectable:n})]})}function kh(){return null}function Ih({data:e,isConnectable:n,targetPosition:t=D0.Top}){const o=c;return l.jsxs(l[o(1060)],{children:[l[o(1963)](Fn,{type:"target",position:t,isConnectable:n}),e?.[o(1977)]]})}const Vx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Gc={input:Sh,default:Nh,output:Ih,group:kh};function Ph(e){const n=c;return e[n(957)][n(660)]===void 0?{width:e[n(336)]??e[n(1495)]??e[n(1736)]?.[n(336)],height:e[n(1408)]??e[n(1218)]??e[n(1736)]?.height}:{width:e[n(336)]??e.style?.width,height:e[n(1408)]??e[n(1736)]?.[n(1408)]}}const jh=e=>{const n=c,{width:t,height:o,x,y:r}=Lt(e[n(1037)],{filter:a=>!!a[n(691)]});return{width:Ie(t)?t:null,height:Ie(o)?o:null,userSelectionActive:e.userSelectionActive,transformString:"translate("+e[n(1838)][0]+n(2065)+e[n(1838)][1]+n(945)+e[n(1838)][2]+n(304)+x+n(2065)+r+n(866)}};function Ah({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=c,x=X0(),{width:r,height:a,transformString:i,userSelectionActive:u}=A0(jh,W0),d=Ec(),s=D[o(342)](null);D[o(572)](()=>{const v=o;!t&&s[v(1347)]?.[v(497)]({preventScroll:!0})},[t]);const f=!u&&r!==null&&a!==null;if(Yc({nodeRef:s,disabled:!f}),!f)return null;const b=e?v=>{const h=o,w=x.getState()[h(1895)][h(2102)](M=>M[h(691)]);e(v,w)}:void 0,g=v=>{const h=o;Object[h(1827)][h(2012)][h(838)](Vx,v[h(821)])&&(v.preventDefault(),d({direction:Vx[v[h(821)]],factor:v[h(1880)]?4:1}))};return l.jsx(o(1704),{className:Q0(["react-flow__nodesselection","react-flow__container",n]),style:{transform:i},children:l.jsx(o(1704),{ref:s,className:o(1903),onContextMenu:b,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:a}})})}const Oc=typeof window!==c(1951)?window:void 0,Yh=e=>{const n=c;return{nodesSelectionActive:e[n(1343)],userSelectionActive:e[n(1100)]}};function Vc({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:a,paneClickDistance:i,deleteKeyCode:u,selectionKeyCode:d,selectionOnDrag:s,selectionMode:f,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:v,panActivationKeyCode:h,zoomActivationKeyCode:w,elementsSelectable:M,zoomOnScroll:y,zoomOnPinch:m,panOnScroll:z,panOnScrollSpeed:C,panOnScrollMode:I,zoomOnDoubleClick:G,panOnDrag:O,defaultViewport:X,translateExtent:U,minZoom:E,maxZoom:T,preventScrolling:W,onSelectionContextMenu:V,noWheelClassName:S,noPanClassName:B,disableKeyboardA11y:N,onViewportChange:A,isControlledViewport:j}){const P=c,{nodesSelectionActive:F,userSelectionActive:e0}=A0(Yh,W0),$=jt(d,{target:Oc}),t0=jt(h,{target:Oc}),o0=t0||O,g0=t0||z,v0=s&&o0!==!0,C0=$||e0||v0;return gh({deleteKeyCode:u,multiSelectionKeyCode:v}),l[P(1963)](mh,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:y,zoomOnPinch:m,panOnScroll:g0,panOnScrollSpeed:C,panOnScrollMode:I,zoomOnDoubleClick:G,panOnDrag:!$&&o0,defaultViewport:X,translateExtent:U,minZoom:E,maxZoom:T,zoomActivationKeyCode:w,preventScrolling:W,noWheelClassName:S,noPanClassName:B,onViewportChange:A,isControlledViewport:j,paneClickDistance:i,selectionOnDrag:v0,children:l[P(931)](zh,{onSelectionStart:b,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:a,panOnDrag:o0,isSelecting:!!C0,selectionMode:f,selectionKeyPressed:$,paneClickDistance:i,selectionOnDrag:v0,children:[e,F&&l[P(1963)](Ah,{onSelectionContextMenu:V,noPanClassName:B,disableKeyboardA11y:N})]})})}Vc[c(805)]="FlowRenderer";const Eh=D[c(598)](Vc),Uh=e=>n=>{const t=c;return e?Go(n.nodeLookup,{x:0,y:0,width:n.width,height:n[t(1408)]},n[t(1838)],!0)[t(632)](o=>o.id):Array[t(1365)](n[t(1037)][t(1190)]())};function Gh(e){return A0(D[c(1324)](Uh(e),[e]),W0)}const Oh=e=>e.updateNodeInternals;function Vh(){const e=c,n=A0(Oh),[t]=D[e(1508)](()=>{const o=e;return typeof ResizeObserver===o(1951)?null:new ResizeObserver(x=>{const r=o,a=new Map;x[r(1413)](i=>{const u=r,d=i[u(852)][u(1865)](u(1450));a[u(1480)](d,{id:d,nodeElement:i[u(852)],force:!0})}),n(a)})});return D[e(572)](()=>()=>{t?.disconnect()},[t]),t}function Hh({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=c,r=X0(),a=D[x(342)](null),i=D[x(342)](null),u=D.useRef(e[x(1720)]),d=D[x(342)](e.targetPosition),s=D[x(342)](n),f=t&&!!e[x(957)][x(660)];return D[x(572)](()=>{const b=x;a[b(1347)]&&!e[b(1380)]&&(!f||i.current!==a.current)&&(i[b(1347)]&&o?.unobserve(i[b(1347)]),o?.[b(1967)](a[b(1347)]),i.current=a[b(1347)])},[f,e[x(1380)]]),D.useEffect(()=>()=>{const b=_0xad4d;i.current&&(o?.[b(1084)](i[b(1347)]),i[b(1347)]=null)},[]),D.useEffect(()=>{const b=x;if(a[b(1347)]){const g=s.current!==n,v=u[b(1347)]!==e[b(1720)],h=d[b(1347)]!==e[b(355)];(g||v||h)&&(s[b(1347)]=n,u[b(1347)]=e[b(1720)],d[b(1347)]=e[b(355)],r[b(360)]().updateNodeInternals(new Map([[e.id,{id:e.id,nodeElement:a.current,force:!0}]])))}},[e.id,n,e[x(1720)],e[x(355)]]),a}function Th({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:a,nodesDraggable:i,elementsSelectable:u,nodesConnectable:d,nodesFocusable:s,resizeObserver:f,noDragClassName:b,noPanClassName:g,disableKeyboardA11y:v,rfId:h,nodeTypes:w,nodeClickDistance:M,onError:y}){const m=c,{node:z,internals:C,isParent:I}=A0(d0=>{const Q=_0xad4d,u0=d0[Q(1037)][Q(356)](e),z0=d0[Q(293)][Q(776)](e);return{node:u0,internals:u0.internals,isParent:z0}},W0);let G=z[m(1727)]||m(1059),O=w?.[G]||Gc[G];O===void 0&&(y?.("003",we[m(736)](G)),G=m(1059),O=w?.default||Gc.default);const X=!!(z[m(1705)]||i&&typeof z[m(1705)]===m(1951)),U=!!(z[m(407)]||u&&typeof z[m(407)]===m(1951)),E=!!(z[m(1719)]||d&&typeof z[m(1719)]===m(1951)),T=!!(z.focusable||s&&typeof z[m(1734)]===m(1951)),W=X0(),V=Bi(z),S=Hh({node:z,nodeType:G,hasDimensions:V,resizeObserver:f}),B=Yc({nodeRef:S,disabled:z[m(1380)]||!X,noDragClassName:b,handleSelector:z.dragHandle,nodeId:e,isSelectable:U,nodeClickDistance:M}),N=Ec();if(z[m(1380)])return null;const A=Ke(z),j=Ph(z),P=U||X||n||t||o||x,F=t?d0=>t(d0,{...C[m(960)]}):void 0,e0=o?d0=>o(d0,{...C[m(960)]}):void 0,$=x?d0=>x(d0,{...C[m(960)]}):void 0,t0=r?d0=>r(d0,{...C[m(960)]}):void 0,o0=a?d0=>a(d0,{...C[m(960)]}):void 0,g0=d0=>{const Q=m,{selectNodesOnDrag:u0,nodeDragThreshold:z0}=W.getState();U&&(!u0||!X||z0>0)&&ir({id:e,store:W,nodeRef:S}),n&&n(d0,{...C[Q(960)]})},v0=d0=>{const Q=m;if(!(Ni(d0[Q(1014)])||v)){if(ui[Q(2096)](d0[Q(821)])&&U){const u0=d0[Q(821)]===Q(344);ir({id:e,store:W,unselect:u0,nodeRef:S})}else if(X&&z[Q(691)]&&Object[Q(1827)][Q(2012)][Q(838)](Vx,d0[Q(821)])){d0[Q(1556)]();const{ariaLabelConfig:u0}=W[Q(360)]();W[Q(929)]({ariaLiveMessage:u0[Q(1294)]({direction:d0[Q(821)][Q(1806)](Q(1992),"").toLowerCase(),x:~~C[Q(1595)].x,y:~~C[Q(1595)].y})}),N({direction:Vx[d0[Q(821)]],factor:d0[Q(1880)]?4:1})}}},C0=()=>{const d0=m;if(v||!S.current?.[d0(382)](":focus-visible"))return;const{transform:Q,width:u0,height:z0,autoPanOnNodeFocus:Y,setCenter:q}=W[d0(360)]();if(!Y)return;!(Go(new Map([[e,z]]),{x:0,y:0,width:u0,height:z0},Q,!0).length>0)&&q(z[d0(1366)].x+A.width/2,z[d0(1366)].y+A[d0(1408)]/2,{zoom:Q[2]})};return l[m(1963)](m(1704),{className:Q0([m(1728),m(1873)+G,{[g]:X},z[m(898)],{selected:z.selected,selectable:U,parent:I,draggable:X,dragging:B}]),ref:S,style:{zIndex:C.z,transform:m(675)+C[m(1595)].x+m(2065)+C.positionAbsolute.y+m(866),pointerEvents:m(P?966:600),visibility:V?m(848):"hidden",...z[m(1736)],...j},"data-id":e,"data-testid":m(579)+e,onMouseEnter:F,onMouseMove:e0,onMouseLeave:$,onContextMenu:t0,onClick:g0,onDoubleClick:o0,onKeyDown:T?v0:void 0,tabIndex:T?0:void 0,onFocus:T?C0:void 0,role:z[m(1735)]??(T?m(1137):void 0),"aria-roledescription":m(925),"aria-describedby":v?void 0:bc+"-"+h,"aria-label":z.ariaLabel,...z.domAttributes,children:l[m(1963)](Mh,{value:e,children:l[m(1963)](O,{id:e,data:z[m(2128)],type:G,positionAbsoluteX:C.positionAbsolute.x,positionAbsoluteY:C.positionAbsolute.y,selected:z[m(691)]??!1,selectable:U,draggable:X,deletable:z[m(1430)]??!0,isConnectable:E,sourcePosition:z[m(1720)],targetPosition:z[m(355)],dragging:B,dragHandle:z[m(1725)],zIndex:C.z,parentId:z[m(638)],...A})})})}var qh=D[c(598)](Th);const Wh=e=>({nodesDraggable:e[c(2126)],nodesConnectable:e[c(533)],nodesFocusable:e.nodesFocusable,elementsSelectable:e[c(1768)],onError:e[c(649)]});function Hc(e){const n=c,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:a}=A0(Wh,W0),i=Gh(e[n(2033)]),u=Vh();return l[n(1963)]("div",{className:n(1342),style:Ox,children:i[n(632)](d=>{const s=n;return l[s(1963)](qh,{id:d,nodeTypes:e[s(647)],nodeExtent:e.nodeExtent,onClick:e[s(1310)],onMouseEnter:e[s(1248)],onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e[s(704)],onDoubleClick:e[s(654)],noDragClassName:e[s(418)],noPanClassName:e[s(544)],rfId:e.rfId,disableKeyboardA11y:e[s(516)],resizeObserver:u,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e.nodeClickDistance,onError:a},d)})})}Hc[c(805)]="NodeRenderer";const Xh=D.memo(Hc);function Kh(e){const n=c;return A0(D[n(1324)](o=>{const x=n;if(!e)return o[x(428)][x(632)](a=>a.id);const r=[];if(o.width&&o.height)for(const a of o[x(428)]){const i=o[x(1037)].get(a[x(1390)]),u=o[x(1037)][x(356)](a[x(852)]);i&&u&&X5({sourceNode:i,targetNode:u,width:o.width,height:o.height,transform:o[x(1838)]})&&r.push(a.id)}return r},[e]),W0)}const Zh=({color:e=c(600),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e}};return l.jsx(t(751),{className:"arrow",style:o,strokeLinecap:t(1406),fill:"none",strokeLinejoin:"round",points:t(1826)})},Rh=({color:e="none",strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l[t(1963)](t(751),{className:"arrowclosed",style:o,strokeLinecap:t(1406),strokeLinejoin:t(1406),points:t(1966)})},Tc={[Dx[c(1992)]]:Zh,[Dx.ArrowClosed]:Rh};function Jh(e){const n=c,t=X0();return D[n(1943)](()=>{const x=n;return Object.prototype[x(2012)].call(Tc,e)?Tc[e]:(t[x(360)]().onError?.(x(1824),we.error009(e)),null)},[e])}const Fh=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=c(1949),strokeWidth:a,orient:i=c(798)})=>{const u=c,d=Jh(n);return d?l[u(1963)](u(1965),{className:u(1544),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:u(542),markerUnits:r,orient:i,refX:"0",refY:"0",children:l.jsx(d,{color:t,strokeWidth:a})}):null},qc=({defaultColor:e,rfId:n})=>{const t=c,o=A0(a=>a[t(428)]),x=A0(a=>a[t(2057)]),r=D.useMemo(()=>{const a=t;return Q5(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[a(2035)],defaultMarkerEnd:x?.[a(1101)]})},[o,x,n,e]);return r[t(1146)]?l[t(1963)](t(780),{className:t(1499),"aria-hidden":t(2014),children:l[t(1963)](t(1016),{children:r[t(632)](a=>l[t(1963)](Fh,{id:a.id,type:a[t(1727)],color:a[t(479)],width:a.width,height:a[t(1408)],markerUnits:a[t(1763)],strokeWidth:a.strokeWidth,orient:a[t(857)]},a.id))})}):null};qc.displayName=c(729);var _h=D[c(598)](qc);function Wc({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:a=[2,4],labelBgBorderRadius:i=2,children:u,className:d,...s}){const f=c,[b,g]=D[f(1508)]({x:1,y:0,width:0,height:0}),v=Q0(["react-flow__edge-textwrapper",d]),h=D[f(342)](null);return D.useEffect(()=>{const w=f;if(h[w(1347)]){const M=h[w(1347)][w(1322)]();g({x:M.x,y:M.y,width:M[w(336)],height:M.height})}},[t]),t?l.jsxs("g",{transform:f(675)+(e-b[f(336)]/2)+" "+(n-b[f(1408)]/2)+")",className:v,visibility:b[f(336)]?f(848):f(1380),...s,children:[x&&l[f(1963)](f(512),{width:b[f(336)]+2*a[0],x:-a[0],y:-a[1],height:b.height+2*a[1],className:"react-flow__edge-textbg",style:r,rx:i,ry:i}),l[f(1963)](f(1547),{className:f(723),y:b[f(1408)]/2,dy:"0.3em",ref:h,style:o,children:t}),u]}):null}Wc.displayName=c(2015);const Qh=D.memo(Wc);function Hx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:a,labelBgPadding:i,labelBgBorderRadius:u,interactionWidth:d=20,...s}){const f=c;return l[f(931)](l[f(1060)],{children:[l[f(1963)](f(1019),{...s,d:e,fill:f(600),className:Q0([f(1956),s[f(898)]])}),d?l[f(1963)](f(1019),{d:e,fill:f(600),strokeOpacity:0,strokeWidth:d,className:f(589)}):null,o&&Ie(n)&&Ie(t)?l.jsx(Qh,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:a,labelBgPadding:i,labelBgBorderRadius:u}):null]})}function Xc({pos:e,x1:n,y1:t,x2:o,y2:x}){const r=c;return e===D0[r(1893)]||e===D0[r(1444)]?[.5*(n+o),t]:[n,.5*(t+x)]}function Kc({sourceX:e,sourceY:n,sourcePosition:t=D0[c(398)],targetX:o,targetY:x,targetPosition:r=D0[c(1335)]}){const[a,i]=Xc({pos:t,x1:e,y1:n,x2:o,y2:x}),[u,d]=Xc({pos:r,x1:o,y1:x,x2:e,y2:n}),[s,f,b,g]=Pi({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:a,sourceControlY:i,targetControlX:u,targetControlY:d});return["M"+e+","+n+" C"+a+","+i+" "+u+","+d+" "+o+","+x,s,f,b,g]}function Zc(e){const n=c;return D[n(598)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:a,sourcePosition:i,targetPosition:u,label:d,labelStyle:s,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:w,markerStart:M,interactionWidth:y})=>{const m=n,[z,C,I]=Kc({sourceX:o,sourceY:x,sourcePosition:i,targetX:r,targetY:a,targetPosition:u}),G=e[m(447)]?void 0:t;return l[m(1963)](Hx,{id:G,path:z,labelX:C,labelY:I,label:d,labelStyle:s,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:w,markerStart:M,interactionWidth:y})})}const $h=Zc({isInternal:!1}),Rc=Zc({isInternal:!0});$h.displayName=c(1240),Rc[c(805)]=c(432);function Jc(e){const n=c;return D[n(598)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:a,label:i,labelStyle:u,labelShowBg:d,labelBgStyle:s,labelBgPadding:f,labelBgBorderRadius:b,style:g,sourcePosition:v=D0[n(398)],targetPosition:h=D0[n(1335)],markerEnd:w,markerStart:M,pathOptions:y,interactionWidth:m})=>{const z=n,[C,I,G]=To({sourceX:o,sourceY:x,sourcePosition:v,targetX:r,targetY:a,targetPosition:h,borderRadius:y?.[z(1789)],offset:y?.offset,stepPosition:y?.[z(531)]}),O=e[z(447)]?void 0:t;return l[z(1963)](Hx,{id:O,path:C,labelX:I,labelY:G,label:i,labelStyle:u,labelShowBg:d,labelBgStyle:s,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:w,markerStart:M,interactionWidth:m})})}const Fc=Jc({isInternal:!1}),_c=Jc({isInternal:!0});Fc.displayName="SmoothStepEdge",_c[c(805)]="SmoothStepEdgeInternal";function Qc(e){const n=c;return D[n(598)](({id:t,...o})=>{const x=n,r=e.isInternal?void 0:t;return l[x(1963)](Fc,{...o,id:r,pathOptions:D[x(1943)](()=>({borderRadius:0,offset:o[x(920)]?.[x(2059)]}),[o[x(920)]?.[x(2059)]])})})}const e7=Qc({isInternal:!1}),$c=Qc({isInternal:!0});e7[c(805)]="StepEdge",$c[c(805)]=c(932);function es(e){return D.memo(({id:n,sourceX:t,sourceY:o,targetX:x,targetY:r,label:a,labelStyle:i,labelShowBg:u,labelBgStyle:d,labelBgPadding:s,labelBgBorderRadius:f,style:b,markerEnd:g,markerStart:v,interactionWidth:h})=>{const w=_0xad4d,[M,y,m]=Ui({sourceX:t,sourceY:o,targetX:x,targetY:r}),z=e[w(447)]?void 0:n;return l.jsx(Hx,{id:z,path:M,labelX:y,labelY:m,label:a,labelStyle:i,labelShowBg:u,labelBgStyle:d,labelBgPadding:s,labelBgBorderRadius:f,style:b,markerEnd:g,markerStart:v,interactionWidth:h})})}const n7=es({isInternal:!1}),ns=es({isInternal:!0});n7[c(805)]=c(1554),ns[c(805)]=c(894);function ts(e){const n=c;return D.memo(({id:t,sourceX:o,sourceY:x,targetX:r,targetY:a,sourcePosition:i=D0[n(398)],targetPosition:u=D0[n(1335)],label:d,labelStyle:s,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:w,markerStart:M,pathOptions:y,interactionWidth:m})=>{const z=n,[C,I,G]=Ai({sourceX:o,sourceY:x,sourcePosition:i,targetX:r,targetY:a,targetPosition:u,curvature:y?.[z(1271)]}),O=e[z(447)]?void 0:t;return l[z(1963)](Hx,{id:O,path:C,labelX:I,labelY:G,label:d,labelStyle:s,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:v,style:h,markerEnd:w,markerStart:M,interactionWidth:m})})}const t7=ts({isInternal:!1}),xs=ts({isInternal:!0});t7[c(805)]=c(371),xs[c(805)]=c(924);const os={default:xs,straight:ns,step:$c,smoothstep:_c,simplebezier:Rc},rs={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},x7=(e,n,t)=>{const o=c;return t===D0.Left?e-n:t===D0[o(1444)]?e+n:e},o7=(e,n,t)=>{const o=c;return t===D0.Top?e-n:t===D0[o(398)]?e+n:e},as=c(1052);function is({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:a,type:i}){const u=c;return l[u(1963)]("circle",{onMouseDown:x,onMouseEnter:r,onMouseOut:a,className:Q0([as,as+"-"+i]),cx:x7(n,o,e),cy:o7(t,o,e),r:o,stroke:u(2085),fill:u(2085)})}function r7({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:a,sourcePosition:i,targetPosition:u,onReconnect:d,onReconnectStart:s,onReconnectEnd:f,setReconnecting:b,setUpdateHover:g}){const v=c,h=X0(),w=(C,I)=>{const G=_0xad4d;if(C[G(1261)]!==0)return;const{autoPanOnConnect:O,domNode:X,connectionMode:U,connectionRadius:E,lib:T,onConnectStart:W,cancelConnection:V,nodeLookup:S,rfId:B,panBy:N,updateConnection:A}=h[G(360)](),j=I[G(1727)]===G(852),P=($,t0)=>{b(!1),f?.($,t,I.type,t0)},F=$=>d?.(t,$),e0=($,t0)=>{const o0=G;b(!0),s?.(C,t,I[o0(1727)]),W?.($,t0)};_o[G(2119)](C[G(1014)],{autoPanOnConnect:O,connectionMode:U,connectionRadius:E,domNode:X,handleId:I.id,nodeId:I.nodeId,nodeLookup:S,isTarget:j,edgeUpdaterType:I[G(1727)],lib:T,flowId:B,cancelConnection:V,panBy:N,isValidConnection:(...$)=>h.getState()[G(381)]?.(...$)??!0,onConnect:F,onConnectStart:e0,onConnectEnd:(...$)=>h[G(360)]()[G(328)]?.(...$),onReconnectEnd:P,updateConnection:A,getTransform:()=>h[G(360)]()[G(1838)],getFromHandle:()=>h[G(360)]().connection.fromHandle,dragThreshold:h[G(360)]()[G(1474)],handleDomNode:C.currentTarget})},M=C=>w(C,{nodeId:t.target,id:t.targetHandle??null,type:"target"}),y=C=>w(C,{nodeId:t[v(1390)],id:t[v(1277)]??null,type:v(1390)}),m=()=>g(!0),z=()=>g(!1);return l.jsxs(l[v(1060)],{children:[(e===!0||e==="source")&&l[v(1963)](is,{position:i,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:m,onMouseOut:z,type:v(1390)}),(e===!0||e==="target")&&l.jsx(is,{position:u,centerX:r,centerY:a,radius:n,onMouseDown:y,onMouseEnter:m,onMouseOut:z,type:"target"})]})}function a7({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:a,onMouseEnter:i,onMouseMove:u,onMouseLeave:d,reconnectRadius:s,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,rfId:v,edgeTypes:h,noPanClassName:w,onError:M,disableKeyboardA11y:y}){const m=c;let z=A0(Y=>Y[m(1917)][m(356)](e));const C=A0(Y=>Y[m(2057)]);z=C?{...C,...z}:z;let I=z[m(1727)]||m(1059),G=h?.[I]||os[I];G===void 0&&(M?.("011",we[m(765)](I)),I=m(1059),G=h?.default||os[m(1059)]);const O=!!(z[m(1734)]||n&&typeof z[m(1734)]===m(1951)),X=typeof f!==m(1951)&&(z[m(1407)]||t&&typeof z.reconnectable===m(1951)),U=!!(z[m(407)]||o&&typeof z[m(407)]===m(1951)),E=D[m(342)](null),[T,W]=D[m(1508)](!1),[V,S]=D[m(1508)](!1),B=X0(),{zIndex:N,sourceX:A,sourceY:j,targetX:P,targetY:F,sourcePosition:e0,targetPosition:$}=A0(D.useCallback(Y=>{const q=m,c0=Y[q(1037)][q(356)](z.source),l0=Y.nodeLookup.get(z[q(852)]);if(!c0||!l0)return{zIndex:z[q(1262)],...rs};const B0=_5({id:e,sourceNode:c0,targetNode:l0,sourceHandle:z[q(1277)]||null,targetHandle:z[q(909)]||null,connectionMode:Y[q(2070)],onError:M});return{zIndex:W5({selected:z[q(691)],zIndex:z[q(1262)],sourceNode:c0,targetNode:l0,elevateOnSelect:Y.elevateEdgesOnSelect,zIndexMode:Y[q(796)]}),...B0||rs}},[z.source,z.target,z.sourceHandle,z.targetHandle,z.selected,z[m(1262)]]),W0),t0=D.useMemo(()=>z[m(2035)]?m(312)+qo(z[m(2035)],v)+"')":void 0,[z[m(2035)],v]),o0=D[m(1943)](()=>z.markerEnd?"url('#"+qo(z[m(1101)],v)+"')":void 0,[z[m(1101)],v]);if(z[m(1380)]||A===null||j===null||P===null||F===null)return null;const g0=Y=>{const q=m,{addSelectedEdges:c0,unselectNodesAndEdges:l0,multiSelectionActive:B0}=B[q(360)]();U&&(B[q(929)]({nodesSelectionActive:!1}),z[q(691)]&&B0?(l0({nodes:[],edges:[z]}),E.current?.[q(1203)]()):c0([e])),x&&x(Y,z)},v0=r?Y=>{r(Y,{...z})}:void 0,C0=a?Y=>{a(Y,{...z})}:void 0,d0=i?Y=>{i(Y,{...z})}:void 0,Q=u?Y=>{u(Y,{...z})}:void 0,u0=d?Y=>{d(Y,{...z})}:void 0,z0=Y=>{const q=m;if(!y&&ui.includes(Y[q(821)])&&U){const{unselectNodesAndEdges:c0,addSelectedEdges:l0}=B.getState();Y[q(821)]===q(344)?(E[q(1347)]?.blur(),c0({edges:[z]})):l0([e])}};return l[m(1963)]("svg",{style:{zIndex:N},children:l[m(931)]("g",{className:Q0([m(388),m(2073)+I,z.className,w,{selected:z.selected,animated:z[m(1717)],inactive:!U&&!x,updating:T,selectable:U}]),onClick:g0,onDoubleClick:v0,onContextMenu:C0,onMouseEnter:d0,onMouseMove:Q,onMouseLeave:u0,onKeyDown:O?z0:void 0,tabIndex:O?0:void 0,role:z[m(1735)]??m(O?1137:1931),"aria-roledescription":m(1899),"data-id":e,"data-testid":m(1797)+e,"aria-label":z[m(899)]===null?void 0:z[m(899)]||"Edge from "+z.source+m(1652)+z[m(852)],"aria-describedby":O?yc+"-"+v:void 0,ref:E,...z[m(368)],children:[!V&&l[m(1963)](G,{id:e,source:z[m(1390)],target:z[m(852)],type:z.type,selected:z[m(691)],animated:z[m(1717)],selectable:U,deletable:z[m(1430)]??!0,label:z.label,labelStyle:z.labelStyle,labelShowBg:z.labelShowBg,labelBgStyle:z[m(1323)],labelBgPadding:z[m(1579)],labelBgBorderRadius:z[m(1354)],sourceX:A,sourceY:j,targetX:P,targetY:F,sourcePosition:e0,targetPosition:$,data:z[m(2128)],style:z[m(1736)],sourceHandleId:z[m(1277)],targetHandleId:z[m(909)],markerStart:t0,markerEnd:o0,pathOptions:"pathOptions"in z?z[m(920)]:void 0,interactionWidth:z[m(1566)]}),X&&l[m(1963)](r7,{edge:z,isReconnectable:X,reconnectRadius:s,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,sourceX:A,sourceY:j,targetX:P,targetY:F,sourcePosition:e0,targetPosition:$,setUpdateHover:W,setReconnecting:S})]})})}var i7=D[c(598)](a7);const c7=e=>({edgesFocusable:e.edgesFocusable,edgesReconnectable:e.edgesReconnectable,elementsSelectable:e[c(1768)],connectionMode:e[c(2070)],onError:e[c(649)]});function cs({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:a,onEdgeMouseEnter:i,onEdgeMouseMove:u,onEdgeMouseLeave:d,onEdgeClick:s,reconnectRadius:f,onEdgeDoubleClick:b,onReconnectStart:g,onReconnectEnd:v,disableKeyboardA11y:h}){const w=c,{edgesFocusable:M,edgesReconnectable:y,elementsSelectable:m,onError:z}=A0(c7,W0),C=Kh(n);return l[w(931)](w(1704),{className:w(1586),children:[l[w(1963)](_h,{defaultColor:e,rfId:t}),C[w(632)](I=>l.jsx(i7,{id:I,edgesFocusable:M,edgesReconnectable:y,elementsSelectable:m,noPanClassName:x,onReconnect:r,onContextMenu:a,onMouseEnter:i,onMouseMove:u,onMouseLeave:d,onClick:s,reconnectRadius:f,onDoubleClick:b,onReconnectStart:g,onReconnectEnd:v,rfId:t,onError:z,edgeTypes:o,disableKeyboardA11y:h},I))]})}cs[c(805)]=c(2030);const s7=D[c(598)](cs),l7=e=>c(675)+e.transform[0]+c(2065)+e[c(1838)][1]+"px) scale("+e[c(1838)][2]+")";function d7({children:e}){const n=c,t=A0(l7);return l[n(1963)](n(1704),{className:n(1361),style:{transform:t},children:e})}function u7(e){const n=c,t=rr(),o=D[n(342)](!1);D[n(572)](()=>{const x=n;!o[x(1347)]&&t.viewportInitialized&&e&&(setTimeout(()=>e(t),1),o[x(1347)]=!0)},[e,t[n(962)]])}const f7=e=>e[c(1758)]?.syncViewport;function h7(e){const n=c,t=A0(f7),o=X0();return D[n(572)](()=>{const x=n;e&&(t?.(e),o[x(929)]({transform:[e.x,e.y,e[x(1304)]]}))},[e,t]),null}function g7(e){const n=c;return e[n(758)].inProgress?{...e[n(758)],to:kt(e.connection.to,e[n(1838)])}:{...e[n(758)]}}function b7(e){return g7}function y7(e){const n=b7();return A0(n,W0)}const m7=e=>({nodesConnectable:e.nodesConnectable,isValid:e[c(758)][c(1742)],inProgress:e[c(758)][c(1680)],width:e[c(336)],height:e.height});function v7({containerStyle:e,style:n,type:t,component:o}){const x=c,{nodesConnectable:r,width:a,height:i,isValid:u,inProgress:d}=A0(m7,W0);return!(a&&r&&d)?null:l[x(1963)](x(780),{style:e,width:a,height:i,className:x(810),children:l[x(1963)]("g",{className:Q0([x(2123),bi(u)]),children:l.jsx(ss,{style:n,type:t,CustomComponent:o,isValid:u})})})}const ss=({style:e,type:n=xn[c(310)],CustomComponent:t,isValid:o})=>{const x=c,{inProgress:r,from:a,fromNode:i,fromHandle:u,fromPosition:d,to:s,toNode:f,toHandle:b,toPosition:g,pointer:v}=y7();if(!r)return;if(t)return l[x(1963)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:i,fromHandle:u,fromX:a.x,fromY:a.y,toX:s.x,toY:s.y,fromPosition:d,toPosition:g,connectionStatus:bi(o),toNode:f,toHandle:b,pointer:v});let h="";const w={sourceX:a.x,sourceY:a.y,sourcePosition:d,targetX:s.x,targetY:s.y,targetPosition:g};switch(n){case xn[x(310)]:[h]=Ai(w);break;case xn[x(860)]:[h]=Kc(w);break;case xn.Step:[h]=To({...w,borderRadius:0});break;case xn[x(1201)]:[h]=To(w);break;default:[h]=Ui(w)}return l[x(1963)](x(1019),{d:h,fill:x(600),className:"react-flow__connection-path",style:e})};ss.displayName=c(1822);const w7={};function ls(e=w7){const n=c,t=D[n(342)](e),o=X0();D[n(572)](()=>{const x=n;if(process.env.NODE_ENV===x(1241)){const r=new Set([...Object[x(1190)](t[x(1347)]),...Object.keys(e)]);for(const a of r)if(t.current[a]!==e[a]){o.getState()[x(649)]?.(x(1970),we[x(1915)]());break}t.current=e}},[e])}function p7(){const e=c,n=X0(),t=D.useRef(!1);D[e(572)](()=>{const o=e;if(process.env.NODE_ENV==="development"&&!t[o(1347)]){const x=document[o(1661)](o(1289));x&&window[o(464)](x)[o(1262)]!=="1"&&n[o(360)]().onError?.(o(1079),we[o(561)](o(1448))),t[o(1347)]=!0}},[])}function ds({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:a,onNodeMouseEnter:i,onNodeMouseMove:u,onNodeMouseLeave:d,onNodeContextMenu:s,onSelectionContextMenu:f,onSelectionStart:b,onSelectionEnd:g,connectionLineType:v,connectionLineStyle:h,connectionLineComponent:w,connectionLineContainerStyle:M,selectionKeyCode:y,selectionOnDrag:m,selectionMode:z,multiSelectionKeyCode:C,panActivationKeyCode:I,zoomActivationKeyCode:G,deleteKeyCode:O,onlyRenderVisibleElements:X,elementsSelectable:U,defaultViewport:E,translateExtent:T,minZoom:W,maxZoom:V,preventScrolling:S,defaultMarkerColor:B,zoomOnScroll:N,zoomOnPinch:A,panOnScroll:j,panOnScrollSpeed:P,panOnScrollMode:F,zoomOnDoubleClick:e0,panOnDrag:$,onPaneClick:t0,onPaneMouseEnter:o0,onPaneMouseMove:g0,onPaneMouseLeave:v0,onPaneScroll:C0,onPaneContextMenu:d0,paneClickDistance:Q,nodeClickDistance:u0,onEdgeContextMenu:z0,onEdgeMouseEnter:Y,onEdgeMouseMove:q,onEdgeMouseLeave:c0,reconnectRadius:l0,onReconnect:B0,onReconnectStart:m0,onReconnectEnd:G0,noDragClassName:n0,noWheelClassName:b0,noPanClassName:r0,disableKeyboardA11y:f0,nodeExtent:_,rfId:S0,viewport:O0,onViewportChange:E0}){const I0=c;return ls(e),ls(n),p7(),u7(t),h7(O0),l[I0(1963)](Eh,{onPaneClick:t0,onPaneMouseEnter:o0,onPaneMouseMove:g0,onPaneMouseLeave:v0,onPaneContextMenu:d0,onPaneScroll:C0,paneClickDistance:Q,deleteKeyCode:O,selectionKeyCode:y,selectionOnDrag:m,selectionMode:z,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:C,panActivationKeyCode:I,zoomActivationKeyCode:G,elementsSelectable:U,zoomOnScroll:N,zoomOnPinch:A,zoomOnDoubleClick:e0,panOnScroll:j,panOnScrollSpeed:P,panOnScrollMode:F,panOnDrag:$,defaultViewport:E,translateExtent:T,minZoom:W,maxZoom:V,onSelectionContextMenu:f,preventScrolling:S,noDragClassName:n0,noWheelClassName:b0,noPanClassName:r0,disableKeyboardA11y:f0,onViewportChange:E0,isControlledViewport:!!O0,children:l[I0(931)](d7,{children:[l[I0(1963)](s7,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:a,onReconnect:B0,onReconnectStart:m0,onReconnectEnd:G0,onlyRenderVisibleElements:X,onEdgeContextMenu:z0,onEdgeMouseEnter:Y,onEdgeMouseMove:q,onEdgeMouseLeave:c0,reconnectRadius:l0,defaultMarkerColor:B,noPanClassName:r0,disableKeyboardA11y:f0,rfId:S0}),l.jsx(v7,{style:h,type:v,component:w,containerStyle:M}),l.jsx(I0(1704),{className:I0(797)}),l.jsx(Xh,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:i,onNodeMouseMove:u,onNodeMouseLeave:d,onNodeContextMenu:s,nodeClickDistance:u0,onlyRenderVisibleElements:X,noPanClassName:r0,noDragClassName:n0,disableKeyboardA11y:f0,nodeExtent:_,rfId:S0}),l[I0(1963)](I0(1704),{className:I0(991)})]})})}ds[c(805)]=c(1387);const z7=D[c(598)](ds),us=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:a,fitViewOptions:i,minZoom:u=.5,maxZoom:d=2,nodeOrigin:s,nodeExtent:f,zIndexMode:b=c(629)}={})=>{const g=c,v=new Map,h=new Map,w=new Map,M=new Map,y=o??n??[],m=t??e??[],z=s??[0,0],C=f??Mt;Ki(w,M,y);const{nodesInitialized:I}=Zo(m,v,h,{nodeOrigin:z,nodeExtent:C,zIndexMode:b});let G=[0,0,1];if(a&&x&&r){const O=Lt(v,{filter:T=>!!((T[g(336)]||T[g(1495)])&&(T[g(1408)]||T[g(1218)]))}),{x:X,y:U,zoom:E}=Vo(O,x,r,u,d,i?.[g(1562)]??.1);G=[X,U,E]}return{rfId:"1",width:x??0,height:r??0,transform:G,nodes:m,nodesInitialized:I,nodeLookup:v,parentLookup:h,edges:y,edgeLookup:M,connectionLookup:w,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:u,maxZoom:d,translateExtent:Mt,nodeExtent:C,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:Tn[g(813)],domNode:null,paneDragging:!1,noPanClassName:g(1633),nodeOrigin:z,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:a??!1,fitViewOptions:i,fitViewResolver:null,connection:{...hi},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Mi,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:g(1448),debug:!1,ariaLabelConfig:fi,zIndexMode:b,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},C7=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:a,fitViewOptions:i,minZoom:u,maxZoom:d,nodeOrigin:s,nodeExtent:f,zIndexMode:b})=>T3((g,v)=>{async function h(){const w=_0xad4d,{nodeLookup:M,panZoom:y,fitViewOptions:m,fitViewResolver:z,width:C,height:I,minZoom:G,maxZoom:O}=v();y&&(await U5({nodes:M,width:C,height:I,panZoom:y,minZoom:G,maxZoom:O},m),z?.[w(896)](!0),g({fitViewResolver:null}))}return{...us({nodes:e,edges:n,width:x,height:r,fitView:a,fitViewOptions:i,minZoom:u,maxZoom:d,nodeOrigin:s,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:b}),setNodes:w=>{const{nodeLookup:M,parentLookup:y,nodeOrigin:m,elevateNodesOnSelect:z,fitViewQueued:C,zIndexMode:I,nodesSelectionActive:G}=v(),{nodesInitialized:O,hasSelectedNodes:X}=Zo(w,M,y,{nodeOrigin:m,nodeExtent:f,elevateNodesOnSelect:z,checkEquality:!0,zIndexMode:I}),U=G&&X;C&&O?(h(),g({nodes:w,nodesInitialized:O,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:U})):g({nodes:w,nodesInitialized:O,nodesSelectionActive:U})},setEdges:w=>{const{connectionLookup:M,edgeLookup:y}=v();Ki(M,y,w),g({edges:w})},setDefaultNodesAndEdges:(w,M)=>{if(w){const{setNodes:y}=v();y(w),g({hasDefaultNodes:!0})}if(M){const{setEdges:y}=v();y(M),g({hasDefaultEdges:!0})}},updateNodeInternals:w=>{const M=_0xad4d,{triggerNodeChanges:y,nodeLookup:m,parentLookup:z,domNode:C,nodeOrigin:I,nodeExtent:G,debug:O,fitViewQueued:X,zIndexMode:U}=v(),{changes:E,updatedInternals:T}=r3(w,m,z,C,I,G,U);T&&(n3(m,z,{nodeOrigin:I,nodeExtent:G,zIndexMode:U}),X?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),E?.[M(1146)]>0&&(O&&console.log("React Flow: trigger node changes",E),y?.(E)))},updateNodePositions:(w,M=!1)=>{const y=_0xad4d,m=[];let z=[];const{nodeLookup:C,triggerNodeChanges:I,connection:G,updateConnection:O,onNodesChangeMiddlewareMap:X}=v();for(const[U,E]of w){const T=C.get(U),W=!!(T?.[y(1242)]&&T?.[y(638)]&&E?.[y(1366)]),V={id:U,type:y(1366),position:W?{x:Math[y(1303)](0,E[y(1366)].x),y:Math[y(1303)](0,E[y(1366)].y)}:E[y(1366)],dragging:M};if(T&&G.inProgress&&G[y(1762)].id===T.id){const S=pn(T,G[y(738)],D0.Left,!0);O({...G,from:S})}W&&T[y(638)]&&m.push({id:U,parentId:T[y(638)],rect:{...E.internals[y(1595)],width:E.measured[y(336)]??0,height:E[y(1801)][y(1408)]??0}}),z.push(V)}if(m.length>0){const{parentLookup:U,nodeOrigin:E}=v(),T=Jo(m,C,U,E);z[y(1106)](...T)}for(const U of X[y(1944)]())z=U(z);I(z)},triggerNodeChanges:w=>{const M=_0xad4d,{onNodesChange:y,setNodes:m,nodes:z,hasDefaultNodes:C,debug:I}=v();if(w?.[M(1146)]){if(C){const G=Dc(w,z);m(G)}I&&console[M(1851)](M(777),w),y?.(w)}},triggerEdgeChanges:w=>{const M=_0xad4d,{onEdgesChange:y,setEdges:m,edges:z,hasDefaultEdges:C,debug:I}=v();if(w?.[M(1146)]){if(C){const G=Lc(w,z);m(G)}I&&console[M(1851)](M(1577),w),y?.(w)}},addSelectedNodes:w=>{const{multiSelectionActive:M,edgeLookup:y,nodeLookup:m,triggerNodeChanges:z,triggerEdgeChanges:C}=v();if(M){const I=w.map(G=>zn(G,!0));z(I);return}z(Jn(m,new Set([...w]),!0)),C(Jn(y))},addSelectedEdges:w=>{const{multiSelectionActive:M,edgeLookup:y,nodeLookup:m,triggerNodeChanges:z,triggerEdgeChanges:C}=v();if(M){const I=w.map(G=>zn(G,!0));C(I);return}C(Jn(y,new Set([...w]))),z(Jn(m,new Set,!0))},unselectNodesAndEdges:({nodes:w,edges:M}={})=>{const y=_0xad4d,{edges:m,nodes:z,nodeLookup:C,triggerNodeChanges:I,triggerEdgeChanges:G}=v(),O=w||z,X=M||m,U=[];for(const T of O){if(!T[y(691)])continue;const W=C[y(356)](T.id);W&&(W[y(691)]=!1),U[y(1106)](zn(T.id,!1))}const E=[];for(const T of X)T.selected&&E.push(zn(T.id,!1));I(U),G(E)},setMinZoom:w=>{const M=_0xad4d,{panZoom:y,maxZoom:m}=v();y?.[M(718)]([w,m]),g({minZoom:w})},setMaxZoom:w=>{const M=_0xad4d,{panZoom:y,minZoom:m}=v();y?.[M(718)]([m,w]),g({maxZoom:w})},setTranslateExtent:w=>{v().panZoom?.setTranslateExtent(w),g({translateExtent:w})},resetSelectedElements:()=>{const w=_0xad4d,{edges:M,nodes:y,triggerNodeChanges:m,triggerEdgeChanges:z,elementsSelectable:C}=v();if(!C)return;const I=y[w(1636)]((O,X)=>X[w(691)]?[...O,zn(X.id,!1)]:O,[]),G=M[w(1636)]((O,X)=>X[w(691)]?[...O,zn(X.id,!1)]:O,[]);m(I),z(G)},setNodeExtent:w=>{const{nodes:M,nodeLookup:y,parentLookup:m,nodeOrigin:z,elevateNodesOnSelect:C,nodeExtent:I,zIndexMode:G}=v();w[0][0]===I[0][0]&&w[0][1]===I[0][1]&&w[1][0]===I[1][0]&&w[1][1]===I[1][1]||(Zo(M,y,m,{nodeOrigin:z,nodeExtent:w,elevateNodesOnSelect:C,checkEquality:!1,zIndexMode:G}),g({nodeExtent:w}))},panBy:w=>{const{transform:M,width:y,height:m,panZoom:z,translateExtent:C}=v();return a3({delta:w,panZoom:z,transform:M,translateExtent:C,width:y,height:m})},setCenter:async(w,M,y)=>{const m=_0xad4d,{width:z,height:C,maxZoom:I,panZoom:G}=v();if(!G)return Promise[m(896)](!1);const O=typeof y?.[m(1304)]!==m(1951)?y.zoom:I;return await G.setViewport({x:z/2-w*O,y:C/2-M*O,zoom:O},{duration:y?.[m(895)],ease:y?.[m(1465)],interpolate:y?.[m(491)]}),Promise[m(896)](!0)},cancelConnection:()=>{g({connection:{...hi}})},updateConnection:w=>{g({connection:w})},reset:()=>g({...us()})}},Object.is);function M7({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:a,initialMaxZoom:i,initialFitViewOptions:u,fitView:d,nodeOrigin:s,nodeExtent:f,zIndexMode:b,children:g}){const v=c,[h]=D.useState(()=>C7({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:d,minZoom:a,maxZoom:i,fitViewOptions:u,nodeOrigin:s,nodeExtent:f,zIndexMode:b}));return l[v(1963)](q3,{value:h,children:l[v(1963)](dh,{children:g})})}function B7({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:a,fitView:i,fitViewOptions:u,minZoom:d,maxZoom:s,nodeOrigin:f,nodeExtent:b,zIndexMode:g}){const v=c;return D[v(1683)](Ex)?l[v(1963)](l[v(1060)],{children:e}):l[v(1963)](M7,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:a,fitView:i,initialFitViewOptions:u,initialMinZoom:d,initialMaxZoom:s,nodeOrigin:f,nodeExtent:b,zIndexMode:g,children:e})}const D7={width:"100%",height:c(1932),overflow:c(1380),position:c(1604),zIndex:0};function L7({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:a,onNodeClick:i,onEdgeClick:u,onInit:d,onMove:s,onMoveStart:f,onMoveEnd:b,onConnect:g,onConnectStart:v,onConnectEnd:h,onClickConnectStart:w,onClickConnectEnd:M,onNodeMouseEnter:y,onNodeMouseMove:m,onNodeMouseLeave:z,onNodeContextMenu:C,onNodeDoubleClick:I,onNodeDragStart:G,onNodeDrag:O,onNodeDragStop:X,onNodesDelete:U,onEdgesDelete:E,onDelete:T,onSelectionChange:W,onSelectionDragStart:V,onSelectionDrag:S,onSelectionDragStop:B,onSelectionContextMenu:N,onSelectionStart:A,onSelectionEnd:j,onBeforeDelete:P,connectionMode:F,connectionLineType:e0=xn.Bezier,connectionLineStyle:$,connectionLineComponent:t0,connectionLineContainerStyle:o0,deleteKeyCode:g0=c(1214),selectionKeyCode:v0=c(1313),selectionOnDrag:C0=!1,selectionMode:d0=Bt.Full,panActivationKeyCode:Q=c(2116),multiSelectionKeyCode:u0=It()?c(537):c(804),zoomActivationKeyCode:z0=It()?c(537):c(804),snapToGrid:Y,snapGrid:q,onlyRenderVisibleElements:c0=!1,selectNodesOnDrag:l0,nodesDraggable:B0,autoPanOnNodeFocus:m0,nodesConnectable:G0,nodesFocusable:n0,nodeOrigin:b0=mc,edgesFocusable:r0,edgesReconnectable:f0,elementsSelectable:_=!0,defaultViewport:S0=th,minZoom:O0=.5,maxZoom:E0=2,translateExtent:I0=Mt,preventScrolling:H0=!0,nodeExtent:V0,defaultMarkerColor:U0=c(1782),zoomOnScroll:j0=!0,zoomOnPinch:re=!0,panOnScroll:J0=!1,panOnScrollSpeed:R0=.5,panOnScrollMode:ae=vn[c(1424)],zoomOnDoubleClick:_0=!0,panOnDrag:Me=!0,onPaneClick:pe,onPaneMouseEnter:le,onPaneMouseMove:ue,onPaneMouseLeave:ze,onPaneScroll:Oe,onPaneContextMenu:Ve,paneClickDistance:fe=1,nodeClickDistance:Ze=0,children:ie,onReconnect:ce,onReconnectStart:Re,onReconnectEnd:Je,onEdgeContextMenu:Cn,onEdgeDoubleClick:sn,onEdgeMouseEnter:_n,onEdgeMouseMove:lr,onEdgeMouseLeave:dr,reconnectRadius:ur=10,onNodesChange:fr,onEdgesChange:At,noDragClassName:Xx="nodrag",noWheelClassName:Yt=c(1432),noPanClassName:Et="nopan",fitView:Ut,fitViewOptions:Gt,connectOnClick:Kx,attributionPosition:Zx,proOptions:Rx,defaultEdgeOptions:Jx,elevateNodesOnSelect:Ot=!0,elevateEdgesOnSelect:Mn=!1,disableKeyboardA11y:ln=!1,autoPanOnConnect:hr,autoPanOnNodeDrag:Fe,autoPanSpeed:Fx,connectionRadius:_x,isValidConnection:Vt,onError:gr,style:Ht,id:Qx,nodeDragThreshold:br,connectionDragThreshold:yr,viewport:$x,onViewportChange:eo,width:Tt,height:no,colorMode:qt=c(554),debug:k,onScroll:L,ariaLabelConfig:K,zIndexMode:R=c(629),...J},H){const Z=c,s0=Qx||"1",x0=ah(qt),i0=D.useCallback(h0=>{const p0=_0xad4d;h0.currentTarget[p0(2125)]({top:0,left:0,behavior:p0(1326)}),L?.(h0)},[L]);return l[Z(1963)](Z(1704),{"data-testid":Z(1471),...J,onScroll:i0,style:{...Ht,...D7},ref:H,className:Q0([Z(2048),x,x0]),id:Qx,role:Z(1308),children:l[Z(931)](B7,{nodes:e,edges:n,width:Tt,height:no,fitView:Ut,fitViewOptions:Gt,minZoom:O0,maxZoom:E0,nodeOrigin:b0,nodeExtent:V0,zIndexMode:R,children:[l[Z(1963)](rh,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:v,onConnectEnd:h,onClickConnectStart:w,onClickConnectEnd:M,nodesDraggable:B0,autoPanOnNodeFocus:m0,nodesConnectable:G0,nodesFocusable:n0,edgesFocusable:r0,edgesReconnectable:f0,elementsSelectable:_,elevateNodesOnSelect:Ot,elevateEdgesOnSelect:Mn,minZoom:O0,maxZoom:E0,nodeExtent:V0,onNodesChange:fr,onEdgesChange:At,snapToGrid:Y,snapGrid:q,connectionMode:F,translateExtent:I0,connectOnClick:Kx,defaultEdgeOptions:Jx,fitView:Ut,fitViewOptions:Gt,onNodesDelete:U,onEdgesDelete:E,onDelete:T,onNodeDragStart:G,onNodeDrag:O,onNodeDragStop:X,onSelectionDrag:S,onSelectionDragStart:V,onSelectionDragStop:B,onMove:s,onMoveStart:f,onMoveEnd:b,noPanClassName:Et,nodeOrigin:b0,rfId:s0,autoPanOnConnect:hr,autoPanOnNodeDrag:Fe,autoPanSpeed:Fx,onError:gr,connectionRadius:_x,isValidConnection:Vt,selectNodesOnDrag:l0,nodeDragThreshold:br,connectionDragThreshold:yr,onBeforeDelete:P,debug:k,ariaLabelConfig:K,zIndexMode:R}),l.jsx(z7,{onInit:d,onNodeClick:i,onEdgeClick:u,onNodeMouseEnter:y,onNodeMouseMove:m,onNodeMouseLeave:z,onNodeContextMenu:C,onNodeDoubleClick:I,nodeTypes:r,edgeTypes:a,connectionLineType:e0,connectionLineStyle:$,connectionLineComponent:t0,connectionLineContainerStyle:o0,selectionKeyCode:v0,selectionOnDrag:C0,selectionMode:d0,deleteKeyCode:g0,multiSelectionKeyCode:u0,panActivationKeyCode:Q,zoomActivationKeyCode:z0,onlyRenderVisibleElements:c0,defaultViewport:S0,translateExtent:I0,minZoom:O0,maxZoom:E0,preventScrolling:H0,zoomOnScroll:j0,zoomOnPinch:re,zoomOnDoubleClick:_0,panOnScroll:J0,panOnScrollSpeed:R0,panOnScrollMode:ae,panOnDrag:Me,onPaneClick:pe,onPaneMouseEnter:le,onPaneMouseMove:ue,onPaneMouseLeave:ze,onPaneScroll:Oe,onPaneContextMenu:Ve,paneClickDistance:fe,nodeClickDistance:Ze,onSelectionContextMenu:N,onSelectionStart:A,onSelectionEnd:j,onReconnect:ce,onReconnectStart:Re,onReconnectEnd:Je,onEdgeContextMenu:Cn,onEdgeDoubleClick:sn,onEdgeMouseEnter:_n,onEdgeMouseMove:lr,onEdgeMouseLeave:dr,reconnectRadius:ur,defaultMarkerColor:U0,noDragClassName:Xx,noWheelClassName:Yt,noPanClassName:Et,rfId:s0,disableKeyboardA11y:ln,nodeExtent:V0,viewport:$x,onViewportChange:eo}),l[Z(1963)](nh,{onSelectionChange:W}),ie,l.jsx(F3,{proOptions:Rx,position:Zx}),l[Z(1963)](J3,{rfId:s0,disableKeyboardA11y:ln})]})})}var S7=Ic(L7);function N7(e){const n=c,[t,o]=D[n(1508)](e),x=D.useCallback(r=>o(a=>Dc(r,a)),[]);return[t,o,x]}function k7(e){const[n,t]=D.useState(e),o=D.useCallback(x=>t(r=>Lc(x,r)),[]);return[n,t,o]}function I7({dimensions:e,lineWidth:n,variant:t,className:o}){const x=c;return l[x(1963)](x(1019),{strokeWidth:n,d:"M"+e[0]/2+x(652)+e[1]+" M0 "+e[1]/2+" H"+e[0],className:Q0([x(1074),t,o])})}function P7({radius:e,className:n}){const t=c;return l[t(1963)](t(1976),{cx:e,cy:e,r:e,className:Q0(["react-flow__background-pattern",t(509),n])})}var an;(function(e){const n=c;e[n(2024)]="lines",e[n(1632)]=n(509),e[n(815)]="cross"})(an||(an={}));const j7={[an[c(1632)]]:1,[an.Lines]:1,[an[c(815)]]:6},A7=e=>({transform:e.transform,patternId:c(468)+e[c(734)]});function fs({id:e,variant:n=an.Dots,gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:a,bgColor:i,style:u,className:d,patternClassName:s}){const f=c,b=D[f(342)](null),{transform:g,patternId:v}=A0(A7,W0),h=o||j7[n],w=n===an.Dots,M=n===an[f(815)],y=Array.isArray(t)?t:[t,t],m=[y[0]*g[2]||1,y[1]*g[2]||1],z=h*g[2],C=Array[f(1905)](r)?r:[r,r],I=M?[z,z]:m,G=[C[0]*g[2]||1+I[0]/2,C[1]*g[2]||1+I[1]/2],O=""+v+(e||"");return l[f(931)](f(780),{className:Q0(["react-flow__background",d]),style:{...u,...Ox,"--xy-background-color-props":i,"--xy-background-pattern-color-props":a},ref:b,"data-testid":f(314),children:[l.jsx(f(1096),{id:O,x:g[0]%m[0],y:g[1]%m[1],width:m[0],height:m[1],patternUnits:f(1144),patternTransform:f(1891)+G[0]+",-"+G[1]+")",children:w?l[f(1963)](P7,{radius:z/2,className:s}):l[f(1963)](I7,{dimensions:I,lineWidth:x,variant:n,className:s})}),l.jsx(f(512),{x:"0",y:"0",width:f(1932),height:f(1932),fill:f(1828)+O+")"})]})}fs.displayName=c(1165);const Y7=D[c(598)](fs);function E7(){const e=c;return l[e(1963)](e(780),{xmlns:e(1159),viewBox:"0 0 32 32",children:l.jsx(e(1019),{d:e(997)})})}function U7(){const e=c;return l[e(1963)]("svg",{xmlns:e(1159),viewBox:"0 0 32 5",children:l[e(1963)](e(1019),{d:e(2022)})})}function G7(){const e=c;return l[e(1963)](e(780),{xmlns:e(1159),viewBox:e(1317),children:l[e(1963)](e(1019),{d:e(1974)})})}function O7(){const e=c;return l[e(1963)](e(780),{xmlns:e(1159),viewBox:e(1078),children:l[e(1963)](e(1019),{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.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.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function V7(){const e=c;return l[e(1963)](e(780),{xmlns:e(1159),viewBox:e(1078),children:l[e(1963)](e(1019),{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 Tx({children:e,className:n,...t}){const o=c;return l[o(1963)](o(1261),{type:"button",className:Q0([o(2109),n]),...t,children:e})}const H7=e=>({isInteractive:e[c(2126)]||e.nodesConnectable||e.elementsSelectable,minZoomReached:e[c(1838)][2]<=e[c(1472)],maxZoomReached:e[c(1838)][2]>=e[c(474)],ariaLabelConfig:e[c(1093)]});function hs({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:a,onFitView:i,onInteractiveChange:u,className:d,children:s,position:f=c(823),orientation:b="vertical","aria-label":g}){const v=c,h=X0(),{isInteractive:w,minZoomReached:M,maxZoomReached:y,ariaLabelConfig:m}=A0(H7,W0),{zoomIn:z,zoomOut:C,fitView:I}=rr(),G=()=>{z(),r?.()},O=()=>{C(),a?.()},X=()=>{I(x),i?.()},U=()=>{h.setState({nodesDraggable:!w,nodesConnectable:!w,elementsSelectable:!w}),u?.(!w)},E=b===v(2006)?v(2006):"vertical";return l[v(931)](Ux,{className:Q0([v(573),E,d]),position:f,style:e,"data-testid":"rf__controls","aria-label":g??m[v(1860)],children:[n&&l.jsxs(l[v(1060)],{children:[l[v(1963)](Tx,{onClick:G,className:v(1913),title:m[v(2089)],"aria-label":m["controls.zoomIn.ariaLabel"],disabled:y,children:l.jsx(E7,{})}),l.jsx(Tx,{onClick:O,className:v(1274),title:m[v(1606)],"aria-label":m[v(1606)],disabled:M,children:l[v(1963)](U7,{})})]}),t&&l.jsx(Tx,{className:v(281),onClick:X,title:m[v(1247)],"aria-label":m[v(1247)],children:l[v(1963)](G7,{})}),o&&l.jsx(Tx,{className:v(2121),onClick:U,title:m[v(1071)],"aria-label":m[v(1071)],children:w?l[v(1963)](V7,{}):l[v(1963)](O7,{})}),s]})}hs[c(805)]=c(1483);const T7=D[c(598)](hs);function q7({id:e,x:n,y:t,width:o,height:x,style:r,color:a,strokeColor:i,strokeWidth:u,className:d,borderRadius:s,shapeRendering:f,selected:b,onClick:g}){const v=c,{background:h,backgroundColor:w}=r||{},M=a||h||w;return l[v(1963)](v(512),{className:Q0([v(339),{selected:b},d]),x:n,y:t,rx:s,ry:s,width:o,height:x,style:{fill:M,stroke:i,strokeWidth:u},shapeRendering:f,onClick:g?y=>g(y,e):void 0})}const W7=D[c(598)](q7),X7=e=>e[c(1895)][c(632)](n=>n.id),sr=e=>e instanceof Function?e:()=>e;function K7({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=W7,onClick:a}){const i=c,u=A0(X7,W0),d=sr(n),s=sr(e),f=sr(t),b=typeof window>"u"||window[i(1718)]?"crispEdges":i(2013);return l[i(1963)](l.Fragment,{children:u.map(g=>l.jsx(R7,{id:g,nodeColorFunc:d,nodeStrokeColorFunc:s,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:a,shapeRendering:b},g))})}function Z7({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:a,NodeComponent:i,onClick:u}){const d=c,{node:s,x:f,y:b,width:g,height:v}=A0(h=>{const w=_0xad4d,M=h[w(1037)][w(356)](e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const y=M[w(957)][w(960)],{x:m,y:z}=M[w(957)][w(1595)],{width:C,height:I}=Ke(y);return{node:y,x:m,y:z,width:C,height:I}},W0);return!s||s[d(1380)]||!Bi(s)?null:l.jsx(i,{x:f,y:b,width:g,height:v,style:s[d(1736)],selected:!!s[d(691)],className:o(s),color:n(s),borderRadius:x,strokeColor:t(s),strokeWidth:r,shapeRendering:a,onClick:u,id:s.id})}const R7=D.memo(Z7);var J7=D[c(598)](K7);const F7=200,_7=150,Q7=e=>!e[c(1380)],$7=e=>{const n=c,t={x:-e[n(1838)][0]/e[n(1838)][2],y:-e[n(1838)][1]/e[n(1838)][2],width:e[n(336)]/e[n(1838)][2],height:e[n(1408)]/e.transform[2]};return{viewBB:t,boundingRect:e[n(1037)][n(1120)]>0?zi(Lt(e[n(1037)],{filter:Q7}),t):t,rfId:e[n(734)],panZoom:e[n(1758)],translateExtent:e[n(347)],flowWidth:e[n(336)],flowHeight:e.height,ariaLabelConfig:e[n(1093)]}},eg=c(471);function gs({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:a,nodeComponent:i,bgColor:u,maskColor:d,maskStrokeColor:s,maskStrokeWidth:f,position:b="bottom-right",onClick:g,onNodeClick:v,pannable:h=!1,zoomable:w=!1,ariaLabel:M,inversePan:y,zoomStep:m=1,offsetScale:z=5}){const C=c,I=X0(),G=D[C(342)](null),{boundingRect:O,viewBB:X,rfId:U,panZoom:E,translateExtent:T,flowWidth:W,flowHeight:V,ariaLabelConfig:S}=A0($7,W0),B=e?.[C(336)]??F7,N=e?.[C(1408)]??_7,A=O[C(336)]/B,j=O[C(1408)]/N,P=Math[C(1303)](A,j),F=P*B,e0=P*N,$=z*P,t0=O.x-(F-O[C(336)])/2-$,o0=O.y-(e0-O[C(1408)])/2-$,g0=F+$*2,v0=e0+$*2,C0=eg+"-"+U,d0=D.useRef(0),Q=D[C(342)]();d0[C(1347)]=P,D[C(572)](()=>{const q=C;if(G.current&&E)return Q[q(1347)]=g3({domNode:G.current,panZoom:E,getTransform:()=>I[q(360)]()[q(1838)],getViewScale:()=>d0[q(1347)]}),()=>{Q[q(1347)]?.destroy()}},[E]),D[C(572)](()=>{Q.current?.update({translateExtent:T,width:W,height:V,inversePan:y,pannable:h,zoomStep:m,zoomable:w})},[h,w,y,m,T,W,V]);const u0=g?q=>{const c0=C,[l0,B0]=Q[c0(1347)]?.[c0(476)](q)||[0,0];g(q,{x:l0,y:B0})}:void 0,z0=v?D.useCallback((q,c0)=>{const l0=C,B0=I.getState().nodeLookup[l0(356)](c0).internals[l0(960)];v(q,B0)},[]):void 0,Y=M??S["minimap.ariaLabel"];return l[C(1963)](Ux,{position:b,style:{...e,"--xy-minimap-background-color-props":typeof u===C(2063)?u:void 0,"--xy-minimap-mask-background-color-props":typeof d===C(2063)?d:void 0,"--xy-minimap-mask-stroke-color-props":typeof s===C(2063)?s:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===C(1738)?f*P:void 0,"--xy-minimap-node-background-color-props":typeof o===C(2063)?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t=="string"?t:void 0,"--xy-minimap-node-stroke-width-props":typeof a===C(1738)?a:void 0},className:Q0(["react-flow__minimap",n]),"data-testid":"rf__minimap",children:l.jsxs(C(780),{width:B,height:N,viewBox:t0+" "+o0+" "+g0+" "+v0,className:C(1321),role:"img","aria-labelledby":C0,ref:G,onClick:u0,children:[Y&&l[C(1963)](C(538),{id:C0,children:Y}),l[C(1963)](J7,{onClick:z0,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:a,nodeComponent:i}),l[C(1963)](C(1019),{className:C(1568),d:"M"+(t0-$)+","+(o0-$)+"h"+(g0+$*2)+"v"+(v0+$*2)+"h"+(-g0-$*2)+C(1505)+X.x+","+X.y+"h"+X[C(336)]+"v"+X[C(1408)]+"h"+-X[C(336)]+"z",fillRule:C(835),pointerEvents:C(600)})]})})}gs[c(805)]="MiniMap";const ng=D[c(598)](gs),tg=e=>n=>e?""+Math.max(1/n[c(1838)][2],1):void 0,xg={[Rn.Line]:c(1610),[Rn[c(595)]]:"bottom-right"};function og({nodeId:e,position:n,variant:t=Rn[c(595)],className:o,style:x=void 0,children:r,color:a,minWidth:i=10,minHeight:u=10,maxWidth:d=Number[c(1999)],maxHeight:s=Number.MAX_VALUE,keepAspectRatio:f=!1,resizeDirection:b,autoScale:g=!0,shouldResize:v,onResizeStart:h,onResize:w,onResizeEnd:M}){const y=c,m=Uc(),z=typeof e===y(2063)?e:m,C=X0(),I=D[y(342)](null),G=t===Rn.Handle,O=A0(D[y(1324)](tg(G&&g),[G,g]),W0),X=D[y(342)](null),U=n??xg[t];D.useEffect(()=>{const T=y;if(!(!I.current||!z))return!X.current&&(X[T(1347)]=N3({domNode:I[T(1347)],nodeId:z,getStoreItems:()=>{const{nodeLookup:W,transform:V,snapGrid:S,snapToGrid:B,nodeOrigin:N,domNode:A}=C.getState();return{nodeLookup:W,transform:V,snapGrid:S,snapToGrid:B,nodeOrigin:N,paneDomNode:A}},onChange:(W,V)=>{const S=T,{triggerNodeChanges:B,nodeLookup:N,parentLookup:A,nodeOrigin:j}=C[S(360)](),P=[],F={x:W.x,y:W.y},e0=N[S(356)](z);if(e0&&e0[S(1242)]&&e0.parentId){const $=e0[S(1748)]??j,t0=W[S(336)]??e0[S(1801)].width??0,o0=W.height??e0[S(1801)][S(1408)]??0,g0={id:e0.id,parentId:e0[S(638)],rect:{width:t0,height:o0,...Di({x:W.x??e0.position.x,y:W.y??e0.position.y},{width:t0,height:o0},e0[S(638)],N,$)}},v0=Jo([g0],N,A,j);P[S(1106)](...v0),F.x=W.x?Math[S(1303)]($[0]*t0,W.x):void 0,F.y=W.y?Math[S(1303)]($[1]*o0,W.y):void 0}if(F.x!==void 0&&F.y!==void 0){const $={id:z,type:"position",position:{...F}};P[S(1106)]($)}if(W[S(336)]!==void 0&&W[S(1408)]!==void 0){const $=b?b==="horizontal"?S(336):"height":!0,t0={id:z,type:S(979),resizing:!0,setAttributes:$,dimensions:{width:W[S(336)],height:W[S(1408)]}};P[S(1106)](t0)}for(const $ of V){const t0={...$,type:S(1366)};P[S(1106)](t0)}B(P)},onEnd:({width:W,height:V})=>{const S=T,B={id:z,type:S(979),resizing:!1,dimensions:{width:W,height:V}};C.getState()[S(940)]([B])}})),X.current[T(417)]({controlPosition:U,boundaries:{minWidth:i,minHeight:u,maxWidth:d,maxHeight:s},keepAspectRatio:f,resizeDirection:b,onResizeStart:h,onResize:w,onResizeEnd:M,shouldResize:v}),()=>{const W=T;X[W(1347)]?.[W(2047)]()}},[U,i,u,d,s,f,h,w,M,v]);const E=U[y(1122)]("-");return l[y(1963)](y(1704),{className:Q0([y(1969),y(604),...E,t,o]),ref:I,style:{...x,scale:O,...a&&{[y(G?1890:1198)]:a}},children:r})}D[c(598)](og);const bs=e=>Symbol[c(1753)]in e,ys=e=>c(1412)in e,ms=(e,n)=>{const t=c,o=e instanceof Map?e:new Map(e[t(1412)]()),x=n instanceof Map?n:new Map(n[t(1412)]());if(o.size!==x[t(1120)])return!1;for(const[r,a]of o)if(!x[t(776)](r)||!Object.is(a,x[t(356)](r)))return!1;return!0},rg=(e,n)=>{const t=c,o=e[Symbol[t(1753)]](),x=n[Symbol[t(1753)]]();let r=o[t(1583)](),a=x[t(1583)]();for(;!r.done&&!a.done;){if(!Object.is(r[t(1127)],a[t(1127)]))return!1;r=o[t(1583)](),a=x.next()}return!!r[t(1003)]&&!!a[t(1003)]};function ag(e,n){const t=c;return Object.is(e,n)?!0:typeof e!==t(2036)||e===null||typeof n!="object"||n===null||Object[t(1830)](e)!==Object[t(1830)](n)?!1:bs(e)&&bs(n)?ys(e)&&ys(n)?ms(e,n):rg(e,n):ms({entries:()=>Object[t(1412)](e)},{entries:()=>Object[t(1412)](n)})}const vs={inlineScript:"内联脚本",dataRequest:"请求数据",external:c(1033),builtin:c(1569)},ig=[{label:c(431),value:c(990)},{label:c(1649),value:"switchCanvas"}],cg=[{label:c(459),value:c(459)},{label:c(879),value:"success"},{label:"warning",value:"warning"},{label:c(1491),value:c(1491)},{label:c(715),value:c(715)}];function ws(e,n,t){const o=c,x=t[o(2102)](a=>a[o(852)]===e),r=x[o(1146)];return x[o(632)]((a,i)=>{const u=o,d=n[u(1804)](f=>f.id===a[u(1390)]),s=d?.[u(2128)];return{sourceId:a[u(1390)],sourceLabel:s?.[u(1977)]??a[u(1390)],edgeIndex:i,totalIncoming:r}})}const sg=({data:e,id:n})=>{const t=c,{root:o}=xe(),x=A0(D[t(1324)](i=>ws(n,i.nodes,i[t(428)])[t(632)](({sourceId:u,sourceLabel:d})=>({sourceId:u,label:d})),[n]),ag),r=e[t(540)].executorType??t(676),a=r===t(958)?e[t(540)][t(792)]:r===t(610)?e.eventBlock[t(672)]:r===t(762)?e[t(540)].builtinId===t(990)?e[t(540)][t(1854)]+": "+String(e[t(540)][t(1470)]?.[t(498)]??"")[t(1208)](0,24):e[t(540)][t(1854)]==="switchCanvas"?t(514)+(o[t(317)][t(1804)](i=>i.id===e[t(540)][t(1470)]?.[t(1848)])?.[t(1625)]??"未知画布"):e[t(540)][t(1854)]:null;return l.jsxs("div",{className:t(1580),children:[l.jsx(Fn,{type:t(852),position:D0.Top,className:t(1952)}),l[t(931)](t(1704),{className:"flex items-center justify-between mb-2",children:[l[t(1963)](t(1839),{className:t(1051),children:e[t(1977)]}),l.jsxs(p[t(2116)],{size:t(1527),children:[l[t(1963)](p[t(570)],{type:"text",size:t(1527),icon:l.jsx(y0[t(722)],{}),onClick:()=>e[t(2007)](n)}),l.jsx(p[t(570)],{type:"text",size:t(1527),danger:!0,icon:l[t(1963)](y0[t(1397)],{}),onClick:()=>e.onDelete(n)})]})]}),l[t(1963)]("div",{className:"text-xs mb-1",children:l.jsxs(p[t(2010)],{color:r===t(676)?"default":r===t(762)?t(1598):t(443),className:t(1332),children:[vs[r],a?t(1177)+a:""]})}),l[t(931)](t(1704),{className:"text-xs text-gray-500",children:[e.eventBlock[t(1443)]?.length>0&&l.jsxs("div",{children:[t(593),e[t(540)][t(1443)][t(632)](i=>i[t(1625)])[t(2077)](", ")]}),x.length>0&&l[t(931)](t(1704),{className:t(1340),children:["上游连线:",x[t(632)](i=>l[t(931)]("div",{className:t(944),children:["←「",i[t(1977)],t(1781)]},i[t(1651)]))]})]}),l[t(1963)](Fn,{type:t(1390),position:D0[t(398)],className:"!bg-blue-500"})]})},lg={eventBlock:sg},dg=Object.entries(vs)[c(632)](([e,n])=>({label:n,value:e})),ps=[{label:"点击",value:c(1133)},{label:c(818),value:c(1591)},{label:"鼠标释放",value:"mouseUp"},{label:"双击",value:c(763)},{label:c(785),value:c(975)},{label:"鼠标移出",value:c(903)},{label:"鼠标进入",value:"mouseEnter"},{label:"右键菜单",value:"contextMenu"},{label:c(1414),value:c(958)},{label:c(930),value:c(610)}];function ug(e,n){const t=c,o={},x=[...e];return x[t(1413)]((r,a)=>{const i=t,u=n[i(1443)][a]?.name??(x[i(1146)]===1?i(286):i(286)+a);o[u]=i(2071)+r[i(1390)]}),o}function fg(e,n,t){const o=c;return t[e]?.[o(1625)]??(n===1?o(286):"prev"+e)}const hg=[{label:c(2063),value:c(2063)},{label:"number",value:c(1738)},{label:"boolean",value:c(1947)},{label:c(2036),value:"object"},{label:"any",value:"any"}];function zs(e){const n=c,t=ps.find(x=>x[n(1127)]===e[n(2009)]),o=t?.[n(1977)]??e.eventType;if(e[n(2009)]==="external"){const x=(e.externalEventKey||"")[n(1487)]();return x?o+n(1177)+x:o}return o}const gg=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=c,{nodes:r,eventFlow:a,externalHandlerCatalog:i,addEventBlock:u,upsertEventBlock:d,removeEventBlock:s,addEventRoot:f,updateEventRoot:b,root:g}=xe(),[v,h,w]=N7([]),[M,y,m]=k7([]),z=D[x(342)](v);z[x(1347)]=v;const[C,I]=D[x(1508)](()=>o??null),[G,O]=D[x(1508)](!1),[X]=p.Form[x(450)](),U=p[x(1756)][x(1025)](x(2009),X),[E,T]=D.useState(null),[W,V]=D[x(1508)](!1),[S]=p[x(1756)][x(450)](),B=p[x(1756)][x(1025)]("executorType",S),N=p[x(1756)][x(1025)](x(1854),S),A=p[x(1756)][x(1025)](x(1443),S),j=D[x(1943)](()=>!W||!E?[]:ws(E.id,v,M),[W,E,v,M]),P=D[x(342)](()=>{}),F=D[x(342)](()=>{});D[x(572)](()=>{const Y=x;if(W&&E){const q=E.builtinConfig??{},{outputs:c0,...l0}=E;S[Y(706)]({...l0,executorType:E[Y(633)]??"inlineScript",builtinId:E.builtinId,inputs:E.inputs??[],builtinConfig:{content:String(q[Y(498)]??""),level:String(q[Y(1532)]??"info"),duration:q[Y(895)]===void 0||q[Y(895)]===null?void 0:Number(q[Y(895)])}})}},[W,E,S]);const e0=D[x(1324)](Y=>{y(q=>Ei(Y,q))},[y]),$=Y=>{const q=x,c0={bindNodeId:Y[q(1461)],eventType:Y[q(2009)],externalEventKey:Y[q(2009)]===q(610)?(Y[q(1098)]||"")[q(1487)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},l0=f(c0);I({...c0,id:l0}),X[q(592)](),O(!1),p[q(713)][q(879)](q(1030))},t0=D[x(1324)](Y=>{const q=x;s(Y),h(c0=>c0[q(2102)](l0=>l0.id!==Y)),y(c0=>c0[q(2102)](l0=>l0[q(1390)]!==Y&&l0.target!==Y))},[s,h,y]),o0=D.useCallback(Y=>{const q=x,c0=z[q(1347)].find(m0=>m0.id===Y)?.[q(2128)]?.[q(540)],l0=a.eventBlocks[q(1804)](m0=>m0.id===Y),B0=c0??l0;B0?(T({...B0,id:Y}),V(!0)):p.message[q(421)](q(700))},[a[x(330)]]);P.current=o0,F[x(1347)]=t0,D[x(572)](()=>{const Y=x;if(e&&C){const q=C[Y(305)][Y(1895)][Y(632)](l0=>({id:l0.id,type:Y(540),position:l0.position,data:{label:l0.data[Y(1977)],eventBlock:l0.data[Y(540)],onEdit:B0=>P.current(B0),onDelete:B0=>F[Y(1347)](B0)}})),c0=C[Y(305)][Y(428)][Y(632)](l0=>({id:l0.id,source:l0[Y(1390)],target:l0[Y(852)]}));h(q),y(c0)}},[e,C,h,y]);const g0=()=>{const Y=x,q={name:"新事件块",executorType:"inlineScript",callback:Y(1815),inputs:[],outputs:[]},c0=u(q),l0={...q,id:c0},B0={id:c0,type:Y(540),position:{x:100+v[Y(1146)]*50,y:100+v[Y(1146)]*30},data:{label:l0[Y(1625)],eventBlock:l0,onEdit:m0=>P[Y(1347)](m0),onDelete:m0=>F[Y(1347)](m0)}};h(m0=>[...m0,B0])},v0=()=>{const Y=x,q={name:Y(1319),executorType:Y(762),builtinId:"antdMessage",builtinConfig:{content:Y(886),level:Y(459)},callback:Y(1464),inputs:[],outputs:[]},c0=u(q),l0={...q,id:c0},B0={id:c0,type:Y(540),position:{x:120+v[Y(1146)]*50,y:140+v[Y(1146)]*30},data:{label:l0[Y(1625)],eventBlock:l0,onEdit:m0=>P.current(m0),onDelete:m0=>F[Y(1347)](m0)}};h(m0=>[...m0,B0])},C0=()=>{const Y=x,q={name:Y(1649),executorType:Y(762),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[Y(317)][0]?.id||""},callback:Y(1464),inputs:[],outputs:[]},c0=u(q),l0={...q,id:c0},B0={id:c0,type:"eventBlock",position:{x:120+v[Y(1146)]*50,y:140+v[Y(1146)]*30},data:{label:l0[Y(1625)],eventBlock:l0,onEdit:m0=>P[Y(1347)](m0),onDelete:m0=>F.current(m0)}};h(m0=>[...m0,B0])},d0=Y=>{const q=x;if(!E)return;const c0=Y[q(633)]??E[q(633)]??"inlineScript",l0={name:Y.name,callback:Y[q(1971)]??E[q(1971)],executorType:c0,dataRequestKey:c0==="dataRequest"?(Y[q(792)]||"").trim():void 0,externalHandlerKey:c0==="external"?(Y.externalHandlerKey||"")[q(1487)]():void 0,builtinId:c0===q(762)?Y.builtinId:void 0,builtinConfig:c0==="builtin"&&Y[q(1854)]===q(990)?{content:String(Y[q(1470)]?.content??"")[q(1487)](),level:Y[q(1470)]?.[q(1532)]||"info",duration:Y[q(1470)]?.duration===null||Y.builtinConfig?.[q(895)]===void 0?void 0:Number(Y[q(1470)][q(895)])}:c0===q(762)&&Y[q(1854)]==="switchCanvas"?{targetCanvasId:String(Y[q(1470)]?.[q(1848)]??"")[q(1487)]()}:void 0},B0=Y[q(1443)]??[],m0=B0[q(2102)](n0=>n0?.[q(1625)]&&String(n0[q(1625)])[q(1487)]()),G0={...E,...l0,inputs:m0,outputs:[]};d(G0),h(n0=>n0[q(632)](b0=>b0.id===E.id?{...b0,data:{...b0[q(2128)],label:G0[q(1625)]||b0[q(2128)].label,eventBlock:G0}}:b0)),V(!1),T(null),p[q(713)][q(879)](q(1233))},Q=()=>{const Y=x;if(!C)return;const q=v.map(l0=>{const B0=_0xad4d,m0=M[B0(2102)](b0=>b0[B0(852)]===l0.id),G0=l0[B0(2128)][B0(540)],n0={...G0,outputs:[]};return{id:l0.id,eventBlockId:l0.id,position:l0.position,inputs:m0[B0(632)](b0=>b0[B0(1390)]),outputs:M[B0(2102)](b0=>b0.source===l0.id)[B0(632)](b0=>b0[B0(852)]),data:{label:l0[B0(2128)].label,eventBlock:n0,inputMapping:ug(m0,n0)}}}),c0=M[Y(632)](l0=>({id:l0.id,source:l0[Y(1390)],target:l0[Y(852)]}));b(C.id,{flowData:{nodes:q,edges:c0}}),En[Y(1611)]({...C,flowData:{nodes:q,edges:c0}}),p[Y(713)].success(Y(1724)),n()},u0=D[x(1943)](()=>r[x(632)](Y=>({label:Y[x(1625)],value:Y.id})),[r]),z0=D.useMemo(()=>t?a[x(952)][x(2102)](Y=>Y[x(1461)]===t):a[x(952)],[a[x(952)],t]);return e?l[x(931)](p[x(1050)],{title:x(419),open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[C?l[x(931)](x(1704),{className:x(1852),style:{height:700},children:[l[x(931)](x(1704),{className:x(383),children:[l[x(1963)](p[x(2116)],{children:l[x(931)](x(1839),{className:"font-medium",children:[x(1318),zs(C)," →"," ",r[x(1804)](Y=>Y.id===C[x(1461)])?.name]})}),l.jsxs(p[x(2116)],{children:[l[x(1963)](p.Button,{icon:l[x(1963)](y0[x(1140)],{}),onClick:g0,children:x(1760)}),l.jsx(p.Button,{icon:l[x(1963)](y0.PlusOutlined,{}),onClick:v0,children:"Message 提示"}),l.jsx(p[x(570)],{icon:l[x(1963)](y0[x(1140)],{}),onClick:C0,children:x(1649)}),l.jsx(p[x(570)],{type:x(569),icon:l[x(1963)](y0[x(2002)],{}),onClick:Q,children:"保存"}),l[x(1963)](p[x(570)],{icon:l[x(1963)](y0.CloseOutlined,{}),onClick:()=>I(null),children:x(1134)})]})]}),l[x(1963)](x(1704),{className:x(607),children:l[x(931)](S7,{nodes:v,edges:M,onNodesChange:w,onEdgesChange:m,onConnect:e0,nodeTypes:lg,fitView:!0,children:[l[x(1963)](Y7,{}),l.jsx(T7,{}),l[x(1963)](ng,{})]})})]}):l[x(931)](x(1704),{className:x(1281),children:[l[x(931)](x(1704),{className:x(1266),children:[l[x(1963)]("h3",{className:x(872),children:x(2094)}),l[x(1963)](p[x(570)],{type:"primary",icon:l[x(1963)](y0.PlusOutlined,{}),onClick:()=>O(!0),children:"新建事件流"})]}),l.jsx(p[x(374)],{dataSource:z0,renderItem:Y=>l[x(1963)](p[x(374)][x(803)],{actions:[l[x(1963)](p[x(570)],{type:x(569),icon:l[x(1963)](y0.EditOutlined,{}),onClick:()=>I(Y),children:"编辑"},x(345))],children:l[x(1963)](p[x(374)][x(803)].Meta,{title:l[x(931)](p[x(2116)],{children:[l.jsxs("span",{children:[x(1301),zs(Y)]}),l.jsx(p[x(2010)],{color:x(640),children:r[x(1804)](q=>q.id===Y[x(1461)])?.name||Y[x(1461)]})]}),description:x(2111)+Y.flowData.nodes[x(1146)]+", 连接数: "+Y.flowData[x(428)][x(1146)]})}),locale:{emptyText:l.jsx(p[x(2027)],{description:"暂无事件流"})}}),l[x(1963)](p[x(1050)],{title:"新建事件流",open:G,onCancel:()=>{X[x(592)](),O(!1)},footer:null,afterOpenChange:Y=>{const q=x;Y&&(X[q(592)](),t&&X[q(706)]({bindNodeId:t}))},children:l[x(931)](p[x(1756)],{form:X,onFinish:$,layout:x(2072),children:[l[x(1963)](p[x(1756)][x(803)],{name:x(1461),label:"绑定节点",rules:[{required:!0,message:x(1436)}],initialValue:t,children:l[x(1963)](p[x(1859)],{options:u0,placeholder:x(874),disabled:!!t})}),l.jsx(p[x(1756)][x(803)],{name:x(2009),label:x(1355),rules:[{required:!0,message:x(1276)}],children:l[x(1963)](p[x(1859)],{options:ps,placeholder:x(1166)})}),U===x(610)&&l[x(1963)](p[x(1756)][x(803)],{name:x(1098),label:"外部事件标识",rules:[{required:!0,message:x(502)},{validator:(Y,q)=>(q||"")[x(1487)]()?Promise[x(896)]():Promise[x(1934)](new Error(x(853)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1963)](p[x(527)],{placeholder:"例如:refresh"})}),l[x(1963)](p.Form[x(803)],{className:x(594),children:l[x(931)](p.Space,{className:"w-full justify-end",children:[l[x(1963)](p[x(570)],{onClick:()=>{X[x(592)](),O(!1)},children:"取消"}),l[x(1963)](p[x(570)],{type:"primary",htmlType:x(1029),children:"创建"})]})})]})})]}),l[x(1963)](p[x(1050)],{title:x(1904),open:W,onCancel:()=>{V(!1),T(null)},footer:null,destroyOnClose:!0,children:l[x(931)](p[x(1756)],{form:S,onFinish:d0,layout:x(2072),children:[l[x(1963)](p.Form.Item,{name:x(1625),label:"名称",rules:[{required:!0,message:x(348)}],children:l.jsx(p.Input,{})}),l.jsx(p[x(1756)][x(803)],{name:x(633),label:x(308),rules:[{required:!0,message:x(1648)}],children:l.jsx(p.Select,{options:dg,placeholder:x(1376)})}),B===x(762)&&l[x(1963)](p.Form[x(803)],{name:x(1854),label:x(1569),rules:[{required:!0,message:x(1490)}],children:l.jsx(p[x(1859)],{options:ig,placeholder:x(1363)})}),B===x(762)&&N===x(990)&&l[x(931)](l.Fragment,{children:[l[x(1963)](p[x(1756)][x(803)],{name:["builtinConfig",x(498)],label:"提示内容",rules:[{required:!0,message:"请填写提示内容"}],extra:x(1979),children:l.jsx(p[x(527)].TextArea,{rows:3,placeholder:x(301)})}),l[x(1963)](p[x(1756)][x(803)],{name:[x(1470),x(1532)],label:x(1336),children:l[x(1963)](p[x(1859)],{options:cg})}),l.jsx(p[x(1756)][x(803)],{name:[x(1470),x(895)],label:x(1729),extra:x(529),children:l.jsx(p[x(458)],{min:0,step:.5,style:{width:x(1932)},placeholder:"默认"})})]}),B===x(762)&&N==="switchCanvas"&&l.jsx(p[x(1756)].Item,{name:["builtinConfig","targetCanvasId"],label:x(1528),rules:[{required:!0,message:x(1883)}],children:l.jsx(p[x(1859)],{placeholder:x(1535),options:g[x(317)].map(Y=>({value:Y.id,label:Y[x(1625)]}))})}),B===x(958)&&l[x(1963)](p[x(1756)][x(803)],{name:x(792),label:x(760),rules:[{required:!0,message:x(1280)},{validator:(Y,q)=>(q||"")[x(1487)]()?Promise[x(896)]():Promise[x(1934)](new Error("标识不能为空"))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l.jsx(p[x(527)],{placeholder:x(1212)})}),B===x(610)&&l.jsx(p.Form[x(803)],{name:x(672),label:"外部方法标识",rules:[{required:!0,message:x(1286)},{validator:(Y,q)=>(q||"")[x(1487)]()?Promise.resolve():Promise.reject(new Error(x(853)))}],extra:i[x(1146)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:i[x(1146)]>0?l[x(1963)](p.Select,{showSearch:!0,optionFilterProp:x(1977),allowClear:!0,placeholder:"选择已注册的外部方法",options:i.map(Y=>({value:Y.key,label:Y[x(1977)],title:Y[x(864)]?Y[x(1977)]+x(2052)+Y[x(864)]:Y.label+" ("+Y.key+")"})),onInputKeyDown:Y=>{const q=x;Y.key===" "&&Y[q(2118)]()}}):l.jsx(p[x(527)],{placeholder:x(787)})}),B===x(676)&&l[x(1963)](p[x(1756)][x(803)],{name:x(1971),label:"执行代码",rules:[{validator:(Y,q)=>{const c0=x;return typeof q===c0(2063)&&q[c0(1487)]()?Promise[c0(896)]():Promise.reject(new Error("请填写执行代码"))}}],children:l.jsx(p[x(527)].TextArea,{rows:6,placeholder:x(1258)})}),j[x(1146)]>0&&l[x(931)](x(1704),{className:x(1128),children:[l[x(1963)]("div",{className:x(1990),children:"上游连线 → 本块 args 键名"}),l.jsx("ul",{className:"list-none space-y-2 m-0 p-0",children:j.map(Y=>{const q=x,c0=A??E?.inputs??[],l0=fg(Y[q(1868)],Y[q(1435)],c0);return l[q(931)]("li",{className:"pl-2 border-l-2 border-amber-300",children:[l[q(931)]("div",{className:q(508),children:["第 ",Y.edgeIndex+1,q(820),Y[q(1256)],q(622),l[q(1963)](q(926),{children:q(523)})," →"," ",l[q(931)](q(1285),{className:"bg-white px-1 rounded",children:[q(1803),l0]})]}),l[q(931)](q(1704),{className:q(586),children:["在下方第 ",Y[q(1868)]+1,q(701)]})]},Y[q(1651)])})})]}),l.jsx(x(1704),{className:x(1349),children:x(915)}),l.jsxs("div",{className:"text-xs text-gray-500 mb-2",children:[x(285)," ",l[x(1963)](x(1285),{children:"args.prev"}),x(1989),l[x(1963)](x(1285),{children:"args.prev0"}),"、",l[x(1963)](x(1285),{children:x(457)}),"…"]}),l[x(1963)](p[x(1756)].List,{name:x(1443),children:(Y,{add:q,remove:c0})=>l[x(931)](l[x(1060)],{children:[Y[x(632)](({key:l0,name:B0,...m0})=>l[x(931)](p[x(2116)],{align:x(1040),wrap:!0,className:x(2079),children:[l[x(1963)](p[x(1756)][x(803)],{...m0,name:[B0,x(1625)],rules:[{required:!0,message:"名称"}],children:l.jsx(p[x(527)],{placeholder:"参数名,如 A",style:{width:140}})}),l.jsx(p[x(1756)][x(803)],{...m0,name:[B0,x(1727)],initialValue:x(1145),children:l.jsx(p[x(1859)],{options:hg,style:{width:100}})}),l[x(1963)](y0.MinusCircleOutlined,{className:"text-gray-400 hover:text-red-500 cursor-pointer",onClick:()=>c0(B0)})]},l0)),l[x(1963)](p[x(570)],{type:"dashed",onClick:()=>q({type:x(1145)}),block:!0,icon:l[x(1963)](y0[x(1140)],{}),children:x(816)})]})}),l[x(1963)](p[x(1756)][x(803)],{className:"mb-0 mt-4",children:l[x(931)](p.Space,{className:x(1403),children:[l[x(1963)](p[x(570)],{onClick:()=>{V(!1),T(null)},children:"取消"}),l[x(1963)](p[x(570)],{type:x(569),htmlType:"submit",children:"保存"})]})})]})})]}):null},qx={click:"点击",mouseDown:"鼠标按下",mouseUp:c(2042),doubleClick:"双击",mouseOver:c(785),mouseLeave:c(1548),mouseEnter:"鼠标进入",contextMenu:c(1482),dataRequest:c(1414),external:"外部事件"};function bg(e){const n=c;if(e.eventType===n(610)){const t=(e[n(1098)]||"")[n(1487)]();return t?qx[n(610)]+" · "+t:qx[n(610)]}return qx[e.eventType]}const yg=Object.entries(qx)[c(632)](([e,n])=>({label:n,value:e})),mg=({nodeId:e})=>{const n=c,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=xe(),[a,i]=D[n(1508)](!1),[u,d]=D[n(1508)](null),[s,f]=D[n(1508)](!1),[b]=p[n(1756)].useForm(),g=p[n(1756)][n(1025)](n(2009),b),v=D[n(1943)](()=>{const m=n;return t.eventRoots[m(2102)](z=>z[m(1461)]===e)},[t[n(952)],e]),h=m=>{const z=n,C={bindNodeId:e,eventType:m[z(2009)],externalEventKey:m[z(2009)]==="external"?(m.externalEventKey||"")[z(1487)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(C),b[z(592)](),f(!1)},w=m=>{d(m),i(!0)},M=(m,z)=>{x(m.id,{enabled:z})},y=m=>{r(m)};return l[n(931)]("div",{children:[l[n(931)](n(1704),{className:n(1266),children:[l[n(1963)]("h4",{className:n(743),children:n(817)}),l.jsx(p[n(570)],{type:n(569),size:"small",icon:l.jsx(y0[n(1140)],{}),onClick:()=>f(!0),children:n(1584)})]}),l.jsx(p.List,{dataSource:v,renderItem:m=>l.jsx(p.List[n(803)],{actions:[l[n(931)]("div",{style:{display:n(666),flexDirection:n(1e3),gap:4,alignItems:n(1251),justifyContent:n(1251)},children:[l[n(1963)](p[n(1659)],{checked:m.copyOnDuplicate!==!1,size:n(1527),title:n(613),onChange:z=>x(m.id,{copyOnDuplicate:z})}),l[n(1963)](p.Switch,{checked:m.enabled,size:"small",title:"是否启用本事件流",onChange:z=>M(m,z)})]},"switches"),l[n(1963)](p[n(570)],{type:n(1547),size:"small",icon:l[n(1963)](y0[n(722)],{}),onClick:()=>w(m)},n(345)),l[n(1963)](p[n(522)],{title:n(1423),description:"删除后无法恢复,是否继续?",onConfirm:()=>y(m.id),children:l[n(1963)](p.Button,{type:"text",danger:!0,size:n(1527),icon:l.jsx(y0.DeleteOutlined,{})})},n(1538))],children:l[n(1963)](p[n(374)].Item[n(537)],{title:l[n(931)](p.Space,{children:[l[n(1963)](p.Tag,{color:m[n(1536)]?n(640):n(1059),children:bg(m)}),l[n(931)](n(1839),{className:"text-xs text-gray-400",children:[m[n(305)][n(1895)][n(1146)],n(959)]})]}),description:l[n(931)](p[n(2116)],{direction:n(2072),size:2,children:[l.jsx(n(1839),{className:n(1650)+(m[n(1536)]?n(683):n(565)),children:m[n(1536)]?n(1063):"已禁用"}),l[n(1963)]("span",{className:n(1650)+(m[n(1844)]!==!1?n(1356):n(565)),children:m[n(1844)]!==!1?n(1896):n(730)})]})})}),locale:{emptyText:l[n(1963)](p.Empty,{image:p.Empty[n(1373)],description:n(1609)})}}),l[n(1963)](p[n(1050)],{title:n(1584),open:s,onCancel:()=>{b[n(592)](),f(!1)},footer:null,afterOpenChange:m=>{m&&b[n(592)]()},children:l.jsxs(p[n(1756)],{form:b,onFinish:h,layout:n(2072),children:[l[n(1963)](p[n(1756)][n(803)],{name:n(2009),label:n(1355),rules:[{required:!0,message:n(1276)}],children:l.jsx(p[n(1859)],{options:yg,placeholder:"选择触发方式(DOM / 数据请求 / 外部)"})}),g===n(610)&&l.jsx(p[n(1756)][n(803)],{name:n(1098),label:n(1885),rules:[{required:!0,message:n(502)},{validator:(m,z)=>(z||"").trim()?Promise.resolve():Promise[n(1934)](new Error(n(853)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(1963)](p[n(527)],{placeholder:n(2082)})}),l[n(1963)](p[n(1756)][n(803)],{className:n(594),children:l.jsxs(p.Space,{className:n(1403),children:[l[n(1963)](p[n(570)],{onClick:()=>f(!1),children:"取消"}),l[n(1963)](p[n(570)],{type:n(569),htmlType:"submit",children:"创建"})]})})]})}),l[n(1963)](gg,{open:a,onClose:()=>{i(!1),d(null)},bindNodeId:e,editingRoot:u},u?.id??n(973)+e)]})},{Panel:cn}=p.Collapse,{TabPane:Wx}=p.Tabs,{TextArea:vg}=p[c(527)],Cs=({defaultTestData:e})=>{const n=c,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:a,updateNodeContent:i,materials:u,selectedStatusId:d,selectStatus:s}=xe(),[f]=p[n(1756)][n(450)](),[b,g]=D.useState(n(629)),[v,h]=D[n(1508)](!1),[w,M]=D[n(1508)](null),[y,m]=D.useState({}),z=D[n(1943)](()=>t.find(B=>B.id===o),[t,o]),C=z?.contentInfo[n(1916)]||[],I=B=>{const N=n;o&&(B[N(521)]&&r(o,B.normalStyle),B[N(1625)]!==void 0&&x(o,{name:B.name}),B.controlInfo&&a(o,B[N(1881)]))};console.log(o,n(430),z),D[n(572)](()=>{const B=n;z&&z&&(f[B(706)]({name:z[B(1625)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:B(2085),borderRadius:0,opacity:1,...z.normalStyle},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...z[B(1881)]}}),s(null))},[z,s,f]);const G=()=>{const B=n;!o||!z||(M(B(1863)),h(!0))},O=B=>{const N=n;if(!o||!z)return;const A={id:k0[N(404)](),name:B[N(1625)]+"_状态"+(C[N(1146)]+1),expression:C.length===0?"return true;":N(555),material:{...B,id:k0.nanoid()},boundDatasetId:null};if(w===N(1863)){const j=[...C,A];i(o,{statusList:j})}else if(w){const j=C[N(632)](P=>P.id===w?{...P,material:{...B,id:k0.nanoid()}}:P);i(o,{statusList:j})}h(!1),M(null)},X=B=>{const N=n;if(!o||!z)return;const A=z[N(1502)][N(1916)]?.[N(2102)](j=>j.id!==B)||[];i(o,{statusList:A}),d===B&&s(null)},U=(B,N)=>{const A=n;if(!o||!z)return;const j=z[A(1502)][A(1916)]?.[A(632)](P=>P.id===B?{...P,...N}:P)||[];i(o,{statusList:j})},E=B=>{const N=n;if(!o||!z)return;const A={...B,id:k0[N(404)](),name:B[N(1625)]+N(1141),expression:"return false;"},j=[...C,A];i(o,{statusList:j})},T=(B,N)=>{const A=n;if(!o||!z)return;const j=C.findIndex(F=>F.id===B);if(j===-1)return;const P=[...C];N==="up"&&j>0?[P[j],P[j-1]]=[P[j-1],P[j]]:N===A(321)&&j<P[A(1146)]-1&&([P[j],P[j+1]]=[P[j+1],P[j]]),i(o,{statusList:P})},W=B=>{M(B),h(!0)},V=(B,N)=>{const A=n,j=N.config||{},P=j.startX??0,F=j.startY??0,e0=j[A(1004)]??100,$=j[A(1543)]??0,t0=Math[A(1303)]((j[A(517)]||j[A(320)]||2)*2,4),o0=Math[A(2135)](P,e0),g0=Math[A(2135)](F,$),v0=Math[A(1303)](P,e0),C0=Math[A(1303)](F,$),d0=Math[A(1303)](v0-o0,t0),Q=Math[A(1303)](C0-g0,t0),u0=B[A(521)].x||0,z0=B.normalStyle.y||0;return{material:{...N,config:{...j,startX:P-o0,startY:F-g0,endX:e0-o0,endY:$-g0}},box:{x:u0+o0,y:z0+g0,width:d0,height:Q}}},S=(B,N)=>{const A=n;if(!o||!z)return;const{list:j,lineBox:P}=C.reduce((F,e0)=>{const $=_0xad4d;if(e0.id!==B)return F[$(1058)][$(1106)](e0),F;let t0;if(e0[$(2087)][$(1727)]===$(1945)&&$(1616)in N&&N[$(1616)]!==void 0){const o0=e0[$(2087)],g0=N[$(1616)];t0={...o0,...N,config:{...o0.config||{},...g0}}}else t0={...e0[$(2087)],...N};if(t0[$(1727)]===$(1945)){const{material:o0,box:g0}=V(z,t0);return F.list.push({...e0,material:o0}),F[$(306)]=g0,F}return F.list[$(1106)]({...e0,material:t0}),F},{list:[],lineBox:null});P!==null?x(o,{normalStyle:{...z[A(521)],x:P.x,y:P.y,width:P[A(336)],height:P[A(1408)]},contentInfo:{...z[A(1502)],statusList:j}}):i(o,{statusList:j})};return z?l[n(931)](n(1704),{className:n(1220),children:[l[n(931)]("div",{className:n(1684),children:[l[n(1963)]("h3",{className:n(2045),children:n(309)}),l.jsx("p",{className:n(2008),children:"编辑选中节点的属性"})]}),l.jsx(n(1704),{className:"flex-1 overflow-y-auto p-4",children:l[n(931)](p.Tabs,{activeKey:b,onChange:g,children:[l[n(1963)](Wx,{tab:"基础",children:l.jsxs(p[n(1756)],{form:f,layout:n(2072),onValuesChange:I,initialValues:{name:z[n(1625)]},children:[l[n(1963)](p[n(1756)].Item,{label:n(578),name:n(1625),children:l[n(1963)](p[n(527)],{placeholder:"输入节点名称"})}),l[n(931)](p[n(685)],{ghost:!0,defaultActiveKey:[n(1366),n(1120),n(1736)],children:[l.jsx(cn,{header:"位置",children:l[n(931)](p[n(2116)],{children:[l[n(1963)](p.Form[n(803)],{label:"X",name:[n(521),"x"],children:l[n(1963)](p[n(458)],{})}),l[n(1963)](p[n(1756)][n(803)],{label:"Y",name:[n(521),"y"],children:l[n(1963)](p[n(458)],{})})]})},n(1366)),l[n(1963)](cn,{header:"尺寸",children:l[n(931)](p[n(2116)],{children:[l[n(1963)](p[n(1756)][n(803)],{label:"宽度",name:[n(521),n(336)],children:l[n(1963)](p[n(458)],{min:10})}),l[n(1963)](p[n(1756)][n(803)],{label:"高度",name:[n(521),n(1408)],children:l[n(1963)](p[n(458)],{min:10})})]})},n(1120)),l[n(931)](cn,{header:"样式",children:[l.jsx(p[n(1756)][n(803)],{label:"背景色",name:[n(521),n(2062)],children:l[n(1963)](p.Input,{placeholder:n(2117)})}),l[n(1963)](p.Form[n(803)],{label:"内边距",name:["normalStyle",n(1562)],children:l[n(1963)](p[n(458)],{min:0})}),l[n(1963)](p.Form[n(803)],{label:"圆角",name:["normalStyle",n(1789)],children:l[n(1963)](p.InputNumber,{min:0})}),l[n(1963)](p[n(1756)][n(803)],{label:"缩放比例",name:[n(521),n(2043)],help:n(1012),children:l[n(1963)](p[n(458)],{min:.1,max:5,step:.1})}),!z.contentInfo[n(1916)][n(1929)](B=>B[n(2087)].type===n(1945))&&l.jsx(p.Form.Item,{label:n(1451),name:[n(521),n(1312)],help:n(1392),children:l[n(1963)](p[n(458)],{min:0,max:360,step:1})}),l.jsx(p.Form[n(803)],{label:n(1223),name:["normalStyle",n(1307)],children:l[n(1963)](p.InputNumber,{min:0,max:1,step:.1})}),l[n(1963)](p[n(1756)][n(803)],{label:"层级",name:[n(521),"zIndex"],children:l.jsx(p.InputNumber,{})})]},n(1736))]})]})},n(629)),l[n(1963)](Wx,{tab:"状态",children:z[n(1727)]===n(1137)&&z.children?l[n(1963)](Ql,{node:z,updateNode:x,materials:u}):l[n(931)](n(1704),{className:n(373),children:[l[n(931)](n(1704),{className:"flex items-center justify-between mb-2",children:[l[n(931)](n(1839),{className:n(1399),children:[n(1775),l[n(1963)](p[n(2010)],{color:n(640),className:n(1634),children:C[n(1146)]})]}),l[n(1963)](p[n(570)],{type:"primary",size:"small",icon:l[n(1963)](y0.PlusOutlined,{}),onClick:G,children:n(380)})]}),l.jsx("p",{className:n(1570),children:n(396)}),C.length>0&&l[n(1963)](n(1704),{className:n(1892),children:l.jsx("div",{className:n(993),children:l[n(931)](n(1704),{children:[l[n(1963)]("span",{className:"text-sm text-gray-600",children:n(1837)}),l[n(1963)]("span",{className:n(731),children:n(863)})]})})}),C[n(1146)]===0?l[n(1963)]("div",{className:"text-center text-gray-400 py-4 bg-gray-50 rounded-lg",children:n(1664)}):l[n(1963)](p[n(685)],{ghost:!0,defaultActiveKey:C[0]?.id+o,children:C.map((B,N)=>l[n(1963)](cn,{header:l.jsxs(n(1704),{className:"flex items-center gap-2",children:[l[n(1963)](n(1839),{className:n(719),children:N+1}),l[n(1963)](n(1839),{className:n(1399),children:B[n(1625)]}),l[n(1963)](p[n(2010)],{color:n(1059),className:"text-xs",children:B[n(2087)].type})]}),extra:l[n(931)](p.Space,{size:n(1527),onClick:A=>A[n(2118)](),children:[l[n(1963)](p.Button,{type:n(1547),size:n(1527),icon:l[n(1963)](y0[n(716)],{}),disabled:N===0,onClick:A=>{A[n(2118)](),T(B.id,"up")}}),l.jsx(p[n(570)],{type:n(1547),size:n(1527),icon:l.jsx(y0[n(289)],{}),disabled:N===C[n(1146)]-1,onClick:A=>{const j=n;A[j(2118)](),T(B.id,j(321))}}),l[n(1963)](p.Button,{type:n(1547),size:n(1527),icon:l[n(1963)](y0[n(413)],{}),onClick:A=>{A[n(2118)](),E(B)}}),l.jsx(p[n(570)],{type:n(1547),size:n(1527),danger:!0,icon:l.jsx(y0[n(1397)],{}),onClick:A=>{A[n(2118)](),X(B.id)}})]}),children:l[n(931)](p[n(1756)],{layout:n(2072),children:[l[n(1963)](p[n(1756)][n(803)],{label:n(1348),children:l[n(1963)](p[n(527)],{value:B.name,onChange:A=>U(B.id,{name:A[n(852)].value}),placeholder:n(1429)})}),l[n(1963)](ba,{status:B,onUpdate:A=>U(B.id,A),onAppendToExpression:A=>{const j=n;m(P=>({...P,[B.id]:(P[B.id]??B[j(948)])+A}))}}),l[n(1963)](p.Form[n(803)],{label:"执行表达式",help:n(707),children:l.jsx(vg,{value:y[B.id]??B.expression,onChange:A=>m(j=>({...j,[B.id]:A[n(852)][n(1127)]})),onBlur:A=>{const j=n;U(B.id,{expression:A[j(852)][j(1127)]}),m(P=>{const F={...P};return delete F[B.id],F})},rows:3,placeholder:n(346)})}),l[n(1963)](p[n(1756)].Item,{label:n(1853),children:l[n(931)](n(1704),{className:n(1573),children:[l.jsx(p[n(2010)],{color:n(640),children:B.material[n(1625)]}),l[n(1963)](p[n(2010)],{color:n(1059),children:B[n(2087)][n(1727)]}),l[n(1963)](p.Button,{type:"link",size:"small",icon:l.jsx(y0.EditOutlined,{}),onClick:()=>W(B.id),children:"更换物料"})]})}),l[n(1963)](p[n(1986)],{style:{margin:"12px 0"}}),l[n(931)](n(1704),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l[n(1963)]("div",{className:"flex items-center justify-between mb-2",children:l[n(1963)]("span",{className:n(743),children:n(440)})}),l.jsx(p[n(1756)].Item,{label:"动画类型",className:n(2079),children:l[n(1963)](p[n(1859)],{value:B.animation?.[n(1727)]||"none",onChange:A=>U(B.id,{animation:{...B.animation||{type:n(600)},type:A}}),options:[{label:"无",value:n(600)},{label:"闪烁",value:n(492)}]})}),B[n(1539)]?.[n(1727)]==="blink"&&l[n(931)](l.Fragment,{children:[l[n(1963)](p[n(1756)][n(803)],{label:n(460),className:n(2079),children:l[n(1963)](p.InputNumber,{min:200,max:1e4,step:100,value:B[n(1539)][n(895)]??1e3,onChange:A=>U(B.id,{animation:{...B[n(1539)],duration:A??1e3}})})}),l[n(1963)](p[n(1756)][n(803)],{label:n(1825),className:n(594),children:l[n(1963)](p[n(458)],{min:0,max:1,step:.1,value:B.animation[n(875)]??.3,onChange:A=>U(B.id,{animation:{...B.animation,minOpacity:A??.3}})})})]})]}),l.jsx(p.Divider,{style:{margin:n(1912)}}),l[n(931)](n(1704),{className:n(1794),children:[l.jsxs(n(1704),{className:"flex items-center justify-between mb-2",children:[l[n(1963)]("span",{className:"text-sm font-medium",children:n(992)}),l[n(1963)](p[n(2010)],{children:B[n(2087)][n(1625)]})]}),l[n(1963)](ya,{material:B[n(2087)],onSave:A=>S(B.id,A)})]})]})},B.id+o))})]})},n(1980)),l[n(1963)](Wx,{tab:"控制",children:l.jsxs(p[n(1756)],{form:f,layout:n(2072),onValuesChange:I,children:[l.jsx(p[n(1756)][n(803)],{label:"可拖拽",name:[n(1881),"isDraggable"],valuePropName:n(1463),children:l[n(1963)](p.Switch,{})}),l[n(1963)](p[n(1756)][n(803)],{label:n(907),name:[n(1881),n(611)],valuePropName:"checked",children:l[n(1963)](p[n(1659)],{})}),l[n(1963)](p.Form.Item,{label:n(415),name:[n(1881),n(667)],valuePropName:n(1463),children:l[n(1963)](p[n(1659)],{})}),l[n(1963)](p[n(1756)][n(803)],{label:n(854),name:[n(1881),n(1882)],valuePropName:"checked",children:l[n(1963)](p[n(1659)],{})})]})},n(560)),l.jsx(Wx,{tab:n(1297),children:l[n(1963)](mg,{nodeId:z.id})},"eventflow")]})}),l[n(1963)]("div",{className:n(1500),children:l[n(931)](n(1704),{className:n(423),children:[l[n(931)]("div",{children:[n(1512),z.id.slice(0,8),n(884)]}),l[n(931)]("div",{children:[n(2055),C.length]})]})}),l[n(1963)](p[n(1050)],{title:n(1862),open:v,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l[n(1963)]("div",{className:n(1041),children:l[n(931)](p[n(685)],{ghost:!0,defaultActiveKey:[n(629),n(913),n(1547),n(982)],children:[l[n(1963)](cn,{header:n(1978),children:l[n(1963)](n(1704),{className:n(1139),children:u.filter(B=>["矩形","圆形",n(2088)][n(2096)](B[n(1625)]))[n(632)](B=>l[n(1963)](Ms,{material:B,onClick:()=>O(B)},B.id))})},n(629)),l[n(1963)](cn,{header:"设备图标",children:l[n(1963)](n(1704),{className:n(1139),children:u[n(2102)](B=>["阀门","泵","罐体"][n(2096)](B[n(1625)])||B[n(1727)]===n(377)&&!["矩形","圆形",n(2088)].includes(B[n(1625)])).map(B=>l[n(1963)](Ms,{material:B,onClick:()=>O(B)},B.id))})},"device"),l[n(1963)](cn,{header:"文本",children:l[n(1963)](n(1704),{className:n(1139),children:u[n(2102)](B=>B[n(1727)]===n(325))[n(632)](B=>l[n(931)]("div",{className:n(790),onClick:()=>O(B),children:[l.jsx(n(1704),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l.jsx(n(1839),{className:n(2074),children:"T"})}),l.jsx(n(1839),{className:n(1186),children:B[n(1625)]})]},B.id))})},n(1547)),l[n(1963)](cn,{header:"线条",children:l[n(1963)](n(1704),{className:n(1139),children:u.filter(B=>B[n(1727)]===n(1945))[n(632)](B=>l.jsxs(n(1704),{className:n(790),onClick:()=>O(B),children:[l[n(1963)]("div",{className:n(1075),children:l[n(1963)](n(1704),{className:"w-8 h-0.5 bg-gray-400"})}),l[n(1963)](n(1839),{className:n(1186),children:B[n(1625)]})]},B.id))})},n(982))]})})})]}):l[n(1963)]("div",{className:n(1054),children:l[n(1963)](p[n(2027)],{description:"请选择一个节点"})})},Ms=({material:e,onClick:n})=>{const t=c,o=e[t(1727)]==="IMAGE"?e[t(493)]:void 0;return l.jsxs(t(1704),{className:t(790),onClick:n,children:[l[t(1963)](t(1704),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center",children:o?l[t(1963)](t(1931),{src:o,alt:e[t(1625)],className:t(1485)}):l[t(1963)](t(1839),{className:t(1186),children:e[t(1625)][0]})}),l.jsx(t(1839),{className:t(1186),children:e.name})]})},wg="ConfigEditor-module__configEditor__dinNG",pg={configEditor:wg},zg=c(981);function Bs(e){return Array[c(1905)](e)}const Ds=({open:e,onClose:n})=>{const t=c,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:a}=xe(),[i]=p[t(1756)].useForm(),[u,d]=D.useState(null);D[t(572)](()=>{const h=t;!e&&(d(null),i[h(592)]())},[e,i]);const s=()=>{const h=t;d("__new__"),i[h(706)]({name:h(2107)+(o[h(1146)]+1),sampleJson:""})},f=h=>{const w=t;d(h.id),i[w(706)]({name:h.name,sampleJson:JSON[w(745)](h[w(1694)]??{},null,2)})},b=h=>{const w=t,M=h[w(1487)]();if(!M)return{};const y=JSON[w(520)](M);if(y===null||typeof y!==w(2036))throw new Error("sample 必须是 JSON 对象或数组");if(Array[w(1905)](y)){for(let m=0;m<y[w(1146)];m++)if(typeof y[m]!==w(2036)||y[m]===null)throw new Error(w(1594)+(m+1)+w(416));return y}return y},g=()=>{const h=t;i.validateFields()[h(659)](w=>{const M=h;let y;try{y=b(w[M(1518)])}catch(z){p[M(713)][M(1491)](z instanceof Error?z[M(713)]:M(1306));return}const m=w.name[M(1487)]();if(!m){p[M(713)].error("请填写名称");return}u===M(581)?(x({name:m,sample:y}),p.message[M(879)](M(1174))):u&&(r(u,{name:m,sample:y}),p.message[M(879)]("已保存")),d(null),i.resetFields()}).catch(()=>{})},v=[{title:"名称",dataIndex:"name",key:t(1625)},{title:"类型",key:"type",width:100,render:(h,w)=>Bs(w[t(1694)])?l[t(931)](p.Tag,{color:t(640),children:[t(1118),w[t(1694)][t(1146)],t(1793)]}):l.jsx(p.Tag,{children:"对象"})},{title:"字段数",key:"keys",width:90,render:(h,w)=>{const M=t;if(Bs(w[M(1694)])){const y=w.sample[0];return y?Object[M(1190)](y).length:0}return Object[M(1190)](w[M(1694)]||{})[M(1146)]}},{title:"操作",key:t(367),width:160,render:(h,w)=>l[t(931)](p[t(2116)],{children:[l[t(1963)](p[t(570)],{type:t(658),size:t(1527),icon:l.jsx(y0[t(722)],{}),onClick:()=>f(w),children:"编辑"}),l[t(1963)](p[t(522)],{title:"删除该数据集?",description:"所有绑定此数据集的状态将自动解除绑定。",onConfirm:()=>{const M=t;a(w.id),p[M(713)][M(879)](M(764))},children:l[t(1963)](p[t(570)],{type:t(658),size:t(1527),danger:!0,icon:l.jsx(y0[t(1397)],{}),children:"删除"})})]})}];return l[t(931)](p[t(1050)],{title:t(1620),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(931)]("p",{className:t(1362),children:["每个数据集可以是 JSON 对象模板(Record)或数组。状态绑定后,表达式签名为"," ",l[t(1963)](t(1285),{className:t(768),children:"(data) => boolean"}),",预览时以模板为底合并画布「模拟数据」。数组格式需包含 name 字段用于选择。"]}),l[t(1963)]("div",{className:t(1225),children:l[t(1963)](p[t(570)],{type:t(569),icon:l[t(1963)](y0[t(1140)],{}),onClick:s,children:"新建数据集"})}),u&&l[t(931)](t(1704),{className:t(1546),children:[l.jsxs(t(1704),{className:"font-medium mb-2",children:[u===t(581)?"新建":"编辑",t(1344)]}),l[t(931)](p[t(1756)],{form:i,layout:t(2072),children:[l.jsx(p[t(1756)].Item,{name:"name",label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(1963)](p[t(527)],{placeholder:t(1061)})}),l[t(1963)](p[t(1756)][t(803)],{name:t(1518),label:t(946),rules:[{required:!0,message:"必填"}],children:l[t(1963)](p[t(527)][t(1316)],{rows:12,className:t(1462),placeholder:zg})}),l.jsxs(p[t(2116)],{children:[l[t(1963)](p[t(570)],{type:t(569),onClick:g,children:"保存"}),l[t(1963)](p[t(570)],{onClick:()=>{const h=t;d(null),i[h(592)]()},children:"取消"})]})]})]}),l[t(1963)](p.Table,{size:t(1527),rowKey:"id",dataSource:o,columns:v,pagination:!1,locale:{emptyText:t(614)}})]})},{Header:Cg,Sider:Ls,Content:Mg}=p.Layout,Bg=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:a=!0,showMaterialPanel:i=!0,showPropertyPanel:u=!0,customMaterials:d,initialDataPool:s,initialEventFlow:f,externalEventActions:b,onUploadSvg:g,defaultTestData:v,backgroundImageUrl:h,initialViewportWidth:w,initialViewportHeight:M})=>{const y=c,[m,z]=D[y(1508)](!1),[C,I]=D.useState(!1),[G,O]=D[y(1508)](""),[X]=D.useState(()=>[{paramsCode:y(1982),paramsName:y(354),value:25,paramsUnit:y(625)},{paramsCode:y(1970),paramsName:y(307),value:1.5,paramsUnit:y(1677)}]),U=v!==void 0?v:X,E=a&&!t,{exportScheme:T,importScheme:W,nodes:V,materials:S,dataPool:B,eventFlow:N,root:A,canvas:j,viewport:P,addMaterial:F,setDataPool:e0,setEventFlow:$,setExternalHandlerCatalog:t0}=xe();D.useRef(null);const o0=D[y(342)](!1);D[y(572)](()=>{const Q=y;if(!o0.current&&(o0[Q(1347)]=!0,Ar[Q(1413)](u0=>F(u0)),e&&W(e),f!==void 0&&$(f),b&&b[Q(1146)]>0)){t0(b);const u0={};for(const z0 of b){const Y=String(z0.key??"").trim();Y&&z0[Q(746)]&&(u0[Y]=z0.handler)}Object.keys(u0)[Q(1146)]>0&&En[Q(2106)]({external:u0})}},[]),D[y(572)](()=>{const Q=y;d&&d[Q(1146)]>0&&d[Q(1413)](u0=>F(u0))},[]),D[y(572)](()=>{s!==void 0&&e0(s)},[s,e0]),D.useEffect(()=>{if(n){const Q=T();n(Q)}},[V,S,B,N,A,n,T]);const g0=D[y(1324)](()=>{const Q=y,u0=T(),z0=JSON[Q(745)](u0,null,2),Y=Q(1163)+encodeURIComponent(z0),q=Q(551)+Date[Q(326)]()+Q(902),c0=document[Q(1458)]("a");c0[Q(996)](Q(935),Y),c0[Q(996)](Q(832),q),c0.click(),p[Q(713)][Q(879)](Q(1270))},[T]),v0=D[y(1324)](()=>{const Q=y;try{const u0=JSON[Q(520)](G);W(u0),z(!1),O(""),p.message[Q(879)](Q(1345))}catch{p[Q(713)].error("JSON 格式错误,请检查输入")}},[G,W]),C0=D[y(1324)](Q=>{const u0=y,z0=new FileReader;return z0[u0(1561)]=Y=>{const q=u0;try{const c0=Y[q(852)]?.[q(463)],l0=JSON[q(520)](c0);W(l0),p.message[q(879)](q(1345)),z(!1)}catch{p[q(713)][q(1491)](q(503))}},z0[u0(504)](Q),!1},[W]),d0=D[y(1324)](()=>T(),[T]);return D[y(1731)](D[y(342)]?.(),()=>({getScheme:d0,exportScheme:T,importScheme:W}),[d0,T,W]),l[y(1963)](p.ConfigProvider,{locale:Es,children:l[y(1963)](y(1704),{className:pg[y(2038)],style:{height:t?"auto":y(1932),...r},children:l[y(931)](p.Layout,{className:"w-full "+(t?"":y(1452))+" "+(t?"":"overflow-hidden")+" "+x,children:[E&&l[y(931)](Cg,{className:"bg-white border-b border-gray-200 px-4 flex items-center justify-between flex-shrink-0",children:[l[y(931)](y(1704),{className:y(1686),children:[l[y(1963)](y(1704),{className:y(1110),children:y(867)}),l[y(931)](y(1704),{className:"text-sm text-gray-500",children:[V[y(1146)],y(959)]})]}),l[y(931)](p[y(2116)],{children:[o,!t&&l[y(931)](l[y(1060)],{children:[l[y(1963)](p[y(692)],{title:"导出 JSON",children:l[y(1963)](p.Button,{icon:l[y(1963)](y0.DownloadOutlined,{}),onClick:g0,children:"导出"})}),l[y(1963)](p[y(692)],{title:y(627),children:l[y(1963)](p.Button,{icon:l.jsx(y0[y(1855)],{}),onClick:()=>z(!0),children:"导入"})}),l[y(1963)](p[y(692)],{title:y(359),children:l[y(1963)](p.Button,{icon:l[y(1963)](y0[y(1961)],{}),onClick:()=>I(!0),children:y(472)})})]})]})]}),l[y(931)](p.Layout,{children:[i&&!t&&l[y(1963)](Ls,{width:280,className:"bg-white",theme:y(554),children:l[y(1963)](Er,{onUploadSvg:g})}),l[y(1963)](Mg,{className:y(1953)+(t?"":y(489)),style:t?{backgroundColor:j?.background,backgroundImage:j?.[y(1377)]!==!1?y(446):void 0,backgroundSize:20*(P?.[y(2043)]||1)+"px "+20*(P?.[y(2043)]||1)+"px"}:void 0,children:l[y(1963)](ua,{defaultTestData:U,readonly:t,backgroundImageUrl:h,initialViewportWidth:w,initialViewportHeight:M})}),u&&!t&&l[y(1963)](Ls,{width:360,className:y(890),theme:y(554),children:l[y(1963)](Cs,{defaultTestData:Array[y(1905)](U)?U:void 0})})]}),l[y(1963)](Ds,{open:C,onClose:()=>I(!1)}),l.jsx(p[y(1050)],{title:y(280),open:m,onOk:v0,onCancel:()=>{z(!1),O("")},width:600,children:l[y(931)](y(1704),{className:"space-y-4",children:[l[y(931)]("div",{children:[l[y(1963)]("p",{className:y(2079),children:y(1572)}),l[y(1963)](y(1744),{type:y(949),accept:y(902),onChange:Q=>{const u0=y,z0=Q[u0(852)][u0(1341)]?.[0];z0&&C0(z0)},className:y(919)})]}),l[y(1963)](y(1704),{className:y(1619),children:"或"}),l.jsxs(y(1704),{children:[l[y(1963)]("p",{className:y(2079),children:"粘贴 JSON 内容:"}),l[y(1963)](y(334),{value:G,onChange:Q=>O(Q[y(852)][y(1127)]),placeholder:y(2108),className:y(850)})]})]})})]})})})};P0.Canvas=ua,P0[c(827)]=Bg,P0[c(1759)]=Ds,P0[c(424)]=sa,P0[c(1746)]=Er,P0[c(1624)]=yo,P0[c(881)]=Cs,P0.buildMergedDataRecord=kr,P0.collectDatasetFieldPaths=Nr,P0[c(608)]=Yr,P0.createDefaultStatus=io,P0[c(1338)]=oo,P0[c(1564)]=En,P0[c(1124)]=Ir,P0[c(668)]=Ar,P0[c(292)]=xe,Object.defineProperty(P0,Symbol.toStringTag,{value:c(1639)})});
8
+ +`).split(`
9
+ `)),g=f[d(1905)]((h,w)=>h.concat(...w),[]);return[f,g]}return[[],[]]},[e]);return D[t(1079)](()=>{const d=t,l=n?.target??Cc,f=n?.[d(927)]??!0;if(e!==null){const g=b=>{const v=d;if(r[v(1521)]=b[v(1727)]||b[v(851)]||b[v(1022)]||b[v(1741)],(!r[v(1521)]||r.current&&!f)&&ka(b))return!1;const m=Bc(b[v(1606)],u);if(i.current[v(1463)](b[m]),Mc(a,i.current,!1)){const y=b[v(795)]?.()?.[0]||b[v(1562)],C=y?.[v(1765)]===v(1208)||y?.[v(1765)]==="A";n[v(800)]!==!1&&(r[v(1521)]||!C)&&b[v(800)](),x(!0)}},h=b=>{const v=d,M=Bc(b[v(1606)],u);Mc(a,i[v(1521)],!0)?(x(!1),i[v(1521)].clear()):i[v(1521)][v(2028)](b[M]),b[v(1712)]===v(223)&&i.current[v(1366)](),r[v(1521)]=!1},w=()=>{i[d(1521)].clear(),x(!1)};return l?.[d(569)]("keydown",g),l?.[d(569)](d(847),h),window[d(569)](d(1976),w),window[d(569)](d(1901),w),()=>{const b=d;l?.[b(1845)](b(1008),g),l?.[b(1845)](b(847),h),window[b(1845)](b(1976),w),window[b(1845)](b(1901),w)}}},[e,x]),o}function Mc(e,n,t){const o=c;return e[o(1338)](x=>t||x[o(546)]===n[o(313)])[o(1918)](x=>x[o(810)](r=>n.has(r)))}function Bc(e,n){return n[c(645)](e)?"code":"key"}const l2=()=>{const e=We();return D.useMemo(()=>{const n=_0x1172;return{zoomIn:t=>{const o=_0x1172,{panZoom:x}=e[o(724)]();return x?x[o(899)](1.2,t):Promise[o(737)](!1)},zoomOut:t=>{const o=_0x1172,{panZoom:x}=e[o(724)]();return x?x[o(899)](1/1.2,t):Promise[o(737)](!1)},zoomTo:(t,o)=>{const x=_0x1172,{panZoom:r}=e[x(724)]();return r?r[x(759)](t,o):Promise[x(737)](!1)},getZoom:()=>e[n(724)]()[n(1142)][2],setViewport:async(t,o)=>{const x=n,{transform:[r,i,a],panZoom:u}=e[x(724)]();return u?(await u[x(444)]({x:t.x??r,y:t.y??i,zoom:t[x(1899)]??a},o),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[t,o,x]=e.getState().transform;return{x:t,y:o,zoom:x}},setCenter:async(t,o,x)=>e[n(724)]().setCenter(t,o,x),fitBounds:async(t,o)=>{const x=n,{width:r,height:i,minZoom:a,maxZoom:u,panZoom:d}=e[x(724)](),l=Go(t,r,i,a,u,o?.padding??.1);return d?(await d[x(444)](l,{duration:o?.[x(1630)],ease:o?.[x(889)],interpolate:o?.interpolate}),Promise[x(737)](!0)):Promise[x(737)](!1)},screenToFlowPosition:(t,o={})=>{const x=n,{transform:r,snapGrid:i,snapToGrid:a,domNode:u}=e[x(724)]();if(!u)return t;const{x:d,y:l}=u[x(1309)](),f={x:t.x-d,y:t.y-l},g=o.snapGrid??i,h=o[x(468)]??a;return Pt(f,r,h,g)},flowToScreenPosition:t=>{const o=n,{transform:x,domNode:r}=e[o(724)]();if(!r)return t;const{x:i,y:a}=r[o(1309)](),u=Nx(t,x);return{x:u.x+i,y:u.y+a}}}},[])};function Dc(e,n){const t=c,o=[],x=new Map,r=[];for(const i of e)if(i[t(939)]===t(1463)){r[t(1699)](i);continue}else if(i[t(939)]===t(1694)||i[t(939)]==="replace")x[t(1683)](i.id,[i]);else{const a=x.get(i.id);a?a[t(1699)](i):x[t(1683)](i.id,[i])}for(const i of n){const a=x[t(750)](i.id);if(!a){o[t(1699)](i);continue}if(a[0].type===t(1694))continue;if(a[0][t(939)]===t(1639)){o[t(1699)]({...a[0][t(689)]});continue}const u={...i};for(const d of a)d2(d,u);o[t(1699)](u)}return r[t(546)]&&r[t(1161)](i=>{const a=t;i.index!==void 0?o[a(1574)](i[a(442)],0,{...i.item}):o[a(1699)]({...i[a(689)]})}),o}function d2(e,n){const t=c;switch(e[t(939)]){case t(1419):{n[t(1198)]=e[t(1198)];break}case"position":{typeof e[t(1980)]<"u"&&(n[t(1980)]=e[t(1980)]),typeof e[t(1146)]!==t(529)&&(n[t(1146)]=e[t(1146)]);break}case t(1424):{typeof e[t(1424)]!==t(529)&&(n.measured={...e[t(1424)]},e.setAttributes&&((e[t(1807)]===!0||e[t(1807)]===t(1909))&&(n[t(1909)]=e.dimensions[t(1909)]),(e[t(1807)]===!0||e[t(1807)]===t(784))&&(n[t(784)]=e.dimensions[t(784)]))),typeof e[t(415)]===t(1585)&&(n.resizing=e.resizing);break}}}function Lc(e,n){return Dc(e,n)}function Sc(e,n){return Dc(e,n)}function zn(e,n){return{id:e,type:c(1419),selected:n}}function _n(e,n=new Set,t=!1){const o=c,x=[];for(const[r,i]of e){const a=n[o(363)](r);!(i[o(1198)]===void 0&&!a)&&i.selected!==a&&(t&&(i.selected=a),x[o(1699)](zn(i.id,a)))}return x}function Nc({items:e=[],lookup:n}){const t=c,o=[],x=new Map(e[t(1461)](r=>[r.id,r]));for(const[r,i]of e[t(255)]()){const a=n[t(750)](i.id),u=a?.[t(465)]?.[t(406)]??a;u!==void 0&&u!==i&&o[t(1699)]({id:i.id,item:i,type:t(1639)}),u===void 0&&o.push({item:i,type:t(1463),index:r})}for(const[r]of n)x[t(750)](r)===void 0&&o[t(1699)]({id:r,type:"remove"});return o}function kc(e){const n=c;return{id:e.id,type:n(1694)}}const Ic=e=>Yf(e),u2=e=>ma(e);function Pc(e){return D[c(874)](e)}function Ac(e){const n=c,[t,o]=D[n(325)](BigInt(0)),[x]=D[n(325)](()=>f2(()=>o(r=>r+BigInt(1))));return xr(()=>{const r=n,i=x[r(750)]();i.length&&(e(i),x[r(1888)]())},[t]),x}function f2(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x1172(1699)](t),e()}}}const Ec=D[c(828)](null);function b2({children:e}){const n=c,t=We(),o=D.useCallback(u=>{const d=_0x1172,{nodes:l=[],setNodes:f,hasDefaultNodes:g,onNodesChange:h,nodeLookup:w,fitViewQueued:b,onNodesChangeMiddlewareMap:v}=t[d(724)]();let M=l;for(const y of u)M=typeof y=="function"?y(M):y;let m=Nc({items:M,lookup:w});for(const y of v[d(462)]())m=y(m);g&&f(M),m[d(546)]>0?h?.(m):b&&window.requestAnimationFrame(()=>{const{fitViewQueued:y,nodes:C,setNodes:z}=t.getState();y&&z(C)})},[]),x=Ac(o),r=D.useCallback(u=>{const d=_0x1172,{edges:l=[],setEdges:f,hasDefaultEdges:g,onEdgesChange:h,edgeLookup:w}=t.getState();let b=l;for(const v of u)b=typeof v===d(943)?v(b):v;g?f(b):h&&h(Nc({items:b,lookup:w}))},[]),i=Ac(r),a=D[n(1826)](()=>({nodeQueue:x,edgeQueue:i}),[]);return s[n(827)](Ec.Provider,{value:a,children:e})}function h2(){const e=c,n=D[e(1188)](Ec);if(!n)throw new Error("useBatchContext must be used within a BatchProvider");return n}const g2=e=>!!e[c(528)];function or(){const e=c,n=l2(),t=We(),o=h2(),x=Ue(g2),r=D[e(1826)](()=>{const i=e,a=h=>t[i(724)]().nodeLookup.get(h),u=h=>{const w=i;o[w(1542)][w(1699)](h)},d=h=>{o[i(1373)].push(h)},l=h=>{const w=i,{nodeLookup:b,nodeOrigin:v}=t[w(724)](),M=Ic(h)?h:b[w(750)](h.id),m=M.parentId?La(M[w(1980)],M[w(911)],M[w(294)],b,v):M.position,y={...M,position:m,width:M.measured?.[w(1909)]??M[w(1909)],height:M[w(911)]?.height??M.height};return Xn(y)},f=(h,w,b={replace:!1})=>{u(v=>v.map(M=>{const m=_0x1172;if(M.id===h){const y=typeof w===m(943)?w(M):w;return b[m(1639)]&&Ic(y)?y:{...M,...y}}return M}))},g=(h,w,b={replace:!1})=>{const v=i;d(M=>M[v(1461)](m=>{const y=v;if(m.id===h){const C=typeof w===y(943)?w(m):w;return b[y(1639)]&&u2(C)?C:{...m,...C}}return m}))};return{getNodes:()=>t[i(724)]()[i(376)][i(1461)](h=>({...h})),getNode:h=>a(h)?.[i(465)].userNode,getInternalNode:a,getEdges:()=>{const h=i,{edges:w=[]}=t[h(724)]();return w[h(1461)](b=>({...b}))},getEdge:h=>t[i(724)]()[i(296)][i(750)](h),setNodes:u,setEdges:d,addNodes:h=>{const w=i,b=Array[w(454)](h)?h:[h];o.nodeQueue[w(1699)](v=>[...v,...b])},addEdges:h=>{const w=i,b=Array[w(454)](h)?h:[h];o[w(1373)][w(1699)](v=>[...v,...b])},toObject:()=>{const h=i,{nodes:w=[],edges:b=[],transform:v}=t[h(724)](),[M,m,y]=v;return{nodes:w[h(1461)](C=>({...C})),edges:b[h(1461)](C=>({...C})),viewport:{x:M,y:m,zoom:y}}},deleteElements:async({nodes:h=[],edges:w=[]})=>{const b=i,{nodes:v,edges:M,onNodesDelete:m,onEdgesDelete:y,triggerNodeChanges:C,triggerEdgeChanges:z,onDelete:I,onBeforeDelete:U}=t.getState(),{nodes:H,edges:W}=await Tf({nodesToRemove:h,edgesToRemove:w,nodes:v,edges:M,onBeforeDelete:U}),O=W.length>0,Y=H[b(546)]>0;if(O){const T=W[b(1461)](kc);y?.(W),z(T)}if(Y){const T=H[b(1461)](kc);m?.(H),C(T)}return(Y||O)&&I?.({nodes:H,edges:W}),{deletedNodes:H,deletedEdges:W}},getIntersectingNodes:(h,w=!0,b)=>{const v=i,M=Ma(h),m=M?h:l(h),y=b!==void 0;return m?(b||t[v(724)]()[v(376)])[v(1338)](C=>{const z=v,I=t[z(724)]()[z(615)][z(750)](C.id);if(I&&!M&&(C.id===h.id||!I[z(465)][z(868)]))return!1;const U=Xn(y?C:I),H=kt(U,m);return w&&H>0||H>=U[z(1909)]*U[z(784)]||H>=m[z(1909)]*m[z(784)]}):[]},isNodeIntersecting:(h,w,b=!0)=>{const v=i,M=Ma(h),m=M?h:l(h);if(!m)return!1;const y=kt(m,w);return b&&y>0||y>=w[v(1909)]*w[v(784)]||y>=m[v(1909)]*m[v(784)]},updateNode:f,updateNodeData:(h,w,b={replace:!1})=>{f(h,v=>{const M=_0x1172,m=typeof w===M(943)?w(v):w;return b[M(1639)]?{...v,data:m}:{...v,data:{...v.data,...m}}},b)},updateEdge:g,updateEdgeData:(h,w,b={replace:!1})=>{g(h,v=>{const M=_0x1172,m=typeof w===M(943)?w(v):w;return b[M(1639)]?{...v,data:m}:{...v,data:{...v.data,...m}}},b)},getNodesBounds:h=>{const w=i,{nodeLookup:b,nodeOrigin:v}=t[w(724)]();return Uf(h,{nodeLookup:b,nodeOrigin:v})},getHandleConnections:({type:h,id:w,nodeId:b})=>Array[i(1839)](t.getState()[i(917)][i(750)](b+"-"+h+(w?"-"+w:""))?.[i(462)]()??[]),getNodeConnections:({type:h,handleId:w,nodeId:b})=>Array[i(1839)](t[i(724)]().connectionLookup[i(750)](""+b+(h?w?"-"+h+"-"+w:"-"+h:""))?.[i(462)]()??[]),fitView:async h=>{const w=i,b=t[w(724)]().fitViewResolver??Wf();return t.setState({fitViewQueued:!0,fitViewOptions:h,fitViewResolver:b}),o[w(1542)][w(1699)](v=>[...v]),b[w(585)]}}},[]);return D[e(1826)](()=>({...r,...n,viewportInitialized:x}),[x])}const jc=e=>e[c(1198)],y2=typeof window!==c(529)?window:void 0;function m2({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=c,o=We(),{deleteElements:x}=or(),r=jt(e,{actInsideInputWithModifier:!1}),i=jt(n,{target:y2});D[t(1079)](()=>{const a=t;if(r){const{edges:u,nodes:d}=o[a(724)]();x({nodes:d[a(1338)](jc),edges:u[a(1338)](jc)}),o.setState({nodesSelectionActive:!1})}},[r]),D[t(1079)](()=>{o[t(667)]({multiSelectionActive:i})},[i])}function v2(e){const n=c,t=We();D[n(1079)](()=>{const o=n,x=()=>{const r=_0x1172;if(!e[r(1521)]||!(e.current[r(351)]?.()??!0))return!1;const i=Ho(e.current);(i[r(784)]===0||i[r(1909)]===0)&&t[r(724)]().onError?.(r(986),w0[r(263)]()),t[r(667)]({width:i[r(1909)]||500,height:i.height||500})};if(e.current){x(),window[o(569)]("resize",x);const r=new ResizeObserver(()=>x());return r[o(218)](e.current),()=>{const i=o;window[i(1845)]("resize",x),r&&e[i(1521)]&&r.unobserve(e[i(1521)])}}},[])}const Ox={position:c(405),width:c(1216),height:c(1216),top:0,left:0},w2=e=>({userSelectionActive:e[c(687)],lib:e.lib,connectionInProgress:e[c(1795)][c(656)]});function p2({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=vn[c(1863)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:u,translateExtent:d,minZoom:l,maxZoom:f,zoomActivationKeyCode:g,preventScrolling:h=!0,children:w,noWheelClassName:b,noPanClassName:v,onViewportChange:M,isControlledViewport:m,paneClickDistance:y,selectionOnDrag:C}){const z=c,I=We(),U=D.useRef(null),{userSelectionActive:H,lib:W,connectionInProgress:O}=Ue(w2,qe),Y=jt(g),T=D[z(671)]();v2(U);const X=D[z(660)](V=>{const L=z;M?.({x:V[0],y:V[1],zoom:V[2]}),!m&&I[L(667)]({transform:V})},[M,m]);return D.useEffect(()=>{const V=z;if(U[V(1521)]){T.current=Db({domNode:U[V(1521)],minZoom:l,maxZoom:f,translateExtent:d,viewport:u,onDraggingChange:E=>I[V(667)](P=>P.paneDragging===E?P:{paneDragging:E}),onPanZoomStart:(E,P)=>{const A=V,{onViewportChangeStart:_,onMoveStart:Q}=I[A(724)]();Q?.(E,P),_?.(P)},onPanZoom:(E,P)=>{const A=V,{onViewportChange:_,onMove:Q}=I[A(724)]();Q?.(E,P),_?.(P)},onPanZoomEnd:(E,P)=>{const A=V,{onViewportChangeEnd:_,onMoveEnd:Q}=I[A(724)]();Q?.(E,P),_?.(P)}});const{x:L,y:B,zoom:N}=T.current[V(1920)]();return I[V(667)]({panZoom:T[V(1521)],transform:[L,B,N],domNode:U.current.closest(V(1736))}),()=>{const E=V;T[E(1521)]?.[E(1125)]()}}},[]),D[z(1079)](()=>{const V=z;T[V(1521)]?.[V(1443)]({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:Y,preventScrolling:h,noPanClassName:v,userSelectionActive:H,noWheelClassName:b,lib:W,onTransformChange:X,connectionInProgress:O,selectionOnDrag:C,paneClickDistance:y})},[e,n,t,o,x,r,i,a,Y,h,v,H,b,W,X,O,C,y]),s[z(827)](z(1102),{className:z(1509),ref:U,style:Ox,children:w})}const z2=e=>({userSelectionActive:e[c(687)],userSelectionRect:e.userSelectionRect});function C2(){const e=c,{userSelectionActive:n,userSelectionRect:t}=Ue(z2,qe);return n&&t?s[e(827)](e(1102),{className:e(422),style:{width:t.width,height:t[e(784)],transform:e(1873)+t.x+e(1972)+t.y+e(767)}}):null}const rr=(e,n)=>t=>{const o=_0x1172;t[o(1562)]===n[o(1521)]&&e?.(t)},M2=e=>({userSelectionActive:e[c(687)],elementsSelectable:e[c(1375)],connectionInProgress:e[c(1795)][c(656)],dragging:e[c(1991)]});function B2({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Lt[c(1239)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:u,onPaneContextMenu:d,onPaneScroll:l,onPaneMouseEnter:f,onPaneMouseMove:g,onPaneMouseLeave:h,children:w}){const b=c,v=We(),{userSelectionActive:M,elementsSelectable:m,dragging:y,connectionInProgress:C}=Ue(M2,qe),z=m&&(e||M),I=D[b(671)](null),U=D[b(671)](),H=D[b(671)](new Set),W=D[b(671)](new Set),O=D[b(671)](!1),Y=P=>{const A=b;if(O[A(1521)]||C){O[A(1521)]=!1;return}u?.(P),v.getState()[A(447)](),v[A(667)]({nodesSelectionActive:!1})},T=P=>{const A=b;if(Array[A(454)](o)&&o?.[A(645)](2)){P[A(800)]();return}d?.(P)},X=l?P=>l(P):void 0,V=P=>{const A=b;O[A(1521)]&&(P[A(1217)](),O[A(1521)]=!1)},L=P=>{const A=b,{domNode:_}=v.getState();if(U.current=_?.getBoundingClientRect(),!U[A(1521)])return;const Q=P[A(1562)]===I[A(1521)];if(!Q&&!!P.target.closest(A(1600))||!e||!(r&&Q||n)||P.button!==0||!P.isPrimary)return;P[A(1562)]?.[A(1978)]?.(P.pointerId),O[A(1521)]=!1;const{x:ie,y:he}=P0(P[A(348)],U.current);v.setState({userSelectionRect:{width:0,height:0,startX:ie,startY:he,x:ie,y:he}}),!Q&&(P[A(1217)](),P.preventDefault())},B=P=>{const A=b,{userSelectionRect:_,transform:Q,nodeLookup:$,edgeLookup:ne,connectionLookup:ie,triggerNodeChanges:he,triggerEdgeChanges:ye,defaultEdgeOptions:Ce,resetSelectedElements:fe}=v[A(724)]();if(!U[A(1521)]||!_)return;const{x:ee,y:be}=P0(P[A(348)],U[A(1521)]),{startX:pe,startY:j}=_;if(!O[A(1521)]){const Me=n?0:x;if(Math[A(1745)](ee-pe,be-j)<=Me)return;fe(),i?.(P)}O[A(1521)]=!0;const q={startX:pe,startY:j,x:ee<pe?ee:pe,y:be<j?be:j,width:Math[A(609)](ee-pe),height:Math[A(609)](be-j)},se=H.current,le=W[A(1521)];H[A(1521)]=new Set(Uo($,q,Q,t===Lt.Partial,!0)[A(1461)](Me=>Me.id)),W.current=new Set;const Le=Ce?.[A(1590)]??!0;for(const Me of H[A(1521)]){const ke=ie.get(Me);if(ke)for(const{edgeId:oe}of ke.values()){const ce=ne.get(oe);ce&&(ce.selectable??Le)&&W[A(1521)][A(1463)](oe)}}if(!Sa(se,H[A(1521)])){const Me=_n($,H[A(1521)],!0);he(Me)}if(!Sa(le,W[A(1521)])){const Me=_n(ne,W[A(1521)]);ye(Me)}v[A(667)]({userSelectionRect:q,userSelectionActive:!0,nodesSelectionActive:!1})},N=P=>{const A=b;P.button===0&&(P[A(1562)]?.[A(586)]?.(P.pointerId),!M&&P.target===I.current&&v.getState()[A(1199)]&&Y?.(P),v.setState({userSelectionActive:!1,userSelectionRect:null}),O[A(1521)]&&(a?.(P),v[A(667)]({nodesSelectionActive:H[A(1521)].size>0})))},E=o===!0||Array[b(454)](o)&&o[b(645)](0);return s[b(1149)](b(1102),{className:e0([b(1154),{draggable:E,dragging:y,selection:e}]),onClick:z?void 0:rr(Y,I),onContextMenu:rr(T,I),onWheel:rr(X,I),onPointerEnter:z?void 0:f,onPointerMove:z?B:g,onPointerUp:z?N:void 0,onPointerDownCapture:z?L:void 0,onClickCapture:z?V:void 0,onPointerLeave:h,ref:I,style:Ox,children:[w,s[b(827)](C2,{})]})}function ir({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=c,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:u,onError:d}=n.getState(),l=u.get(e);if(!l){d?.("012",w0.error012(e));return}n[x(667)]({nodesSelectionActive:!1}),l[x(1198)]?(t||l.selected&&a)&&(i({nodes:[l],edges:[]}),requestAnimationFrame(()=>o?.[x(1521)]?.[x(1976)]())):r([e])}function Yc({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const a=c,u=We(),[d,l]=D[a(325)](!1),f=D[a(671)]();return D[a(1079)](()=>{const g=a;f.current=ub({getStoreItems:()=>u[g(724)](),onNodeMouseDown:h=>{ir({id:h,store:u,nodeRef:e})},onDragStart:()=>{l(!0)},onDragStop:()=>{l(!1)}})},[]),D[a(1079)](()=>{const g=a;if(!(n||!e[g(1521)]||!f[g(1521)]))return f[g(1521)][g(1443)]({noDragClassName:t,handleSelector:o,domNode:e[g(1521)],isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const h=g;f[h(1521)]?.[h(1125)]()}},[t,o,n,r,e,x,i]),d}const D2=e=>n=>n.selected&&(n.draggable||e&&typeof n[c(646)]>"u");function Uc(){const e=c,n=We();return D[e(660)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:a,nodesDraggable:u,onError:d,updateNodePositions:l,nodeLookup:f,nodeOrigin:g}=n.getState(),h=new Map,w=D2(u),b=i?a[0]:5,v=i?a[1]:5,M=o[x(508)].x*b*o[x(289)],m=o.direction.y*v*o[x(289)];for(const[,y]of f){if(!w(y))continue;let C={x:y[x(465)][x(868)].x+M,y:y[x(465)].positionAbsolute.y+m};i&&(C=It(C,a));const{position:z,positionAbsolute:I}=va({nodeId:y.id,nextPosition:C,nodeLookup:f,nodeExtent:r,nodeOrigin:g,onError:d});y[x(1980)]=z,y[x(465)][x(868)]=I,h[x(1683)](y.id,y)}l(h)},[])}const ar=D.createContext(null),L2=ar.Provider;ar[c(1299)];const Oc=()=>D[c(1188)](ar),S2=e=>({connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName,rfId:e[c(1785)]}),N2=(e,n,t)=>o=>{const x=c,{connectionClickStartHandle:r,connectionMode:i,connection:a}=o,{fromHandle:u,toHandle:d,isValid:l}=a,f=d?.nodeId===e&&d?.id===n&&d?.[x(939)]===t;return{connectingFrom:u?.nodeId===e&&u?.id===n&&u?.[x(939)]===t,connectingTo:f,clickConnecting:r?.[x(930)]===e&&r?.id===n&&r?.[x(939)]===t,isPossibleEndHandle:i===qn[x(1729)]?u?.[x(939)]!==t:e!==u?.[x(930)]||n!==u?.id,connectionInProcess:!!u,clickConnectionInProcess:!!r,valid:f&&l}};function k2({type:e=c(916),position:n=De[c(993)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:u,className:d,onMouseDown:l,onTouchStart:f,...g},h){const w=c,b=i||null,v=e===w(1562),M=We(),m=Oc(),{connectOnClick:y,noPanClassName:C,rfId:z}=Ue(S2,qe),{connectingFrom:I,connectingTo:U,clickConnecting:H,isPossibleEndHandle:W,connectionInProcess:O,clickConnectionInProcess:Y,valid:T}=Ue(N2(m,b,e),qe);!m&&M[w(724)]()[w(424)]?.(w(2024),w0.error010());const X=B=>{const N=w,{defaultEdgeOptions:E,onConnect:P,hasDefaultEdges:A}=M[N(724)](),_={...E,...B};if(A){const{edges:Q,setEdges:$}=M[N(724)]();$(Ua(_,Q))}P?.(_),a?.(_)},V=B=>{const N=w;if(!m)return;const E=Ia(B[N(348)]);if(x&&(E&&B[N(1034)]===0||!E)){const P=M[N(724)]();_o[N(311)](B.nativeEvent,{handleDomNode:B[N(1274)],autoPanOnConnect:P.autoPanOnConnect,connectionMode:P.connectionMode,connectionRadius:P[N(1898)],domNode:P.domNode,nodeLookup:P.nodeLookup,lib:P.lib,isTarget:v,handleId:b,nodeId:m,flowId:P[N(1785)],panBy:P[N(805)],cancelConnection:P[N(1620)],onConnectStart:P[N(513)],onConnectEnd:(...A)=>M.getState()[N(1797)]?.(...A),updateConnection:P[N(1434)],onConnect:X,isValidConnection:t||((...A)=>M[N(724)]()[N(1444)]?.(...A)??!0),getTransform:()=>M[N(724)]()[N(1142)],getFromHandle:()=>M[N(724)]()[N(1795)][N(330)],autoPanSpeed:P[N(1382)],dragThreshold:P[N(525)]})}E?l?.(B):f?.(B)},L=B=>{const N=w,{onClickConnectStart:E,onClickConnectEnd:P,connectionClickStartHandle:A,connectionMode:_,isValidConnection:Q,lib:$,rfId:ne,nodeLookup:ie,connection:he}=M[N(724)]();if(!m||!A&&!x)return;if(!A){E?.(B.nativeEvent,{nodeId:m,handleId:b,handleType:e}),M.setState({connectionClickStartHandle:{nodeId:m,type:e,id:b}});return}const ye=Na(B[N(1562)]),Ce=t||Q,{connection:fe,isValid:ee}=_o.isValid(B[N(348)],{handle:{nodeId:m,id:b,type:e},connectionMode:_,fromNodeId:A[N(930)],fromHandleId:A.id||null,fromType:A[N(939)],isValidConnection:Ce,flowId:ne,doc:ye,lib:$,nodeLookup:ie});ee&&fe&&X(fe);const be=structuredClone(he);delete be[N(656)],be[N(1123)]=be[N(770)]?be[N(770)][N(1980)]:null,P?.(B,be),M[N(667)]({connectionClickStartHandle:null})};return s[w(827)]("div",{"data-handleid":b,"data-nodeid":m,"data-handlepos":n,"data-id":z+"-"+m+"-"+b+"-"+e,className:e0([w(685),w(1877)+n,w(1946),C,d,{source:!v,target:v,connectable:o,connectablestart:x,connectableend:r,clickconnecting:H,connectingfrom:I,connectingto:U,valid:T,connectionindicator:o&&(!O||W)&&(O||Y?r:x)}]),onMouseDown:V,onTouchStart:V,onClick:y?L:void 0,ref:h,...g,children:u})}const Fn=D[c(723)](Pc(k2));function I2({data:e,isConnectable:n,sourcePosition:t=De[c(653)]}){const o=c;return s[o(1149)](s[o(895)],{children:[e?.label,s[o(827)](Fn,{type:o(916),position:t,isConnectable:n})]})}function P2({data:e,isConnectable:n,targetPosition:t=De[c(993)],sourcePosition:o=De[c(653)]}){const x=c;return s.jsxs(s[x(895)],{children:[s[x(827)](Fn,{type:x(1562),position:t,isConnectable:n}),e?.label,s[x(827)](Fn,{type:x(916),position:o,isConnectable:n})]})}function A2(){return null}function E2({data:e,isConnectable:n,targetPosition:t=De[c(993)]}){const o=c;return s[o(1149)](s[o(895)],{children:[s.jsx(Fn,{type:o(1562),position:t,isConnectable:n}),e?.[o(1865)]]})}const Gx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Gc={input:I2,default:P2,output:E2,group:A2};function j2(e){const n=c;return e.internals[n(284)]===void 0?{width:e.width??e.initialWidth??e[n(183)]?.[n(1909)],height:e[n(784)]??e.initialHeight??e[n(183)]?.height}:{width:e.width??e[n(183)]?.width,height:e[n(784)]??e[n(183)]?.[n(784)]}}const Y2=e=>{const n=c,{width:t,height:o,x,y:r}=Nt(e[n(615)],{filter:i=>!!i[n(1198)]});return{width:I0(t)?t:null,height:I0(o)?o:null,userSelectionActive:e[n(687)],transformString:"translate("+e[n(1142)][0]+n(617)+e[n(1142)][1]+n(1484)+e[n(1142)][2]+n(511)+x+n(617)+r+"px)"}};function U2({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=c,x=We(),{width:r,height:i,transformString:a,userSelectionActive:u}=Ue(Y2,qe),d=Uc(),l=D[o(671)](null);D.useEffect(()=>{!t&&l[o(1521)]?.focus({preventScroll:!0})},[t]);const f=!u&&r!==null&&i!==null;if(Yc({nodeRef:l,disabled:!f}),!f)return null;const g=e?w=>{const b=o,v=x[b(724)]()[b(376)].filter(M=>M.selected);e(w,v)}:void 0,h=w=>{const b=o;Object[b(989)].hasOwnProperty[b(719)](Gx,w.key)&&(w.preventDefault(),d({direction:Gx[w[b(1712)]],factor:w[b(1022)]?4:1}))};return s.jsx(o(1102),{className:e0([o(1241),o(570),n]),style:{transform:a},children:s[o(827)](o(1102),{ref:l,className:o(1347),onContextMenu:g,tabIndex:t?void 0:-1,onKeyDown:t?void 0:h,style:{width:r,height:i}})})}const Hc=typeof window!==c(529)?window:void 0,O2=e=>({nodesSelectionActive:e[c(1754)],userSelectionActive:e.userSelectionActive});function Tc({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:u,selectionKeyCode:d,selectionOnDrag:l,selectionMode:f,onSelectionStart:g,onSelectionEnd:h,multiSelectionKeyCode:w,panActivationKeyCode:b,zoomActivationKeyCode:v,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:C,panOnScrollSpeed:z,panOnScrollMode:I,zoomOnDoubleClick:U,panOnDrag:H,defaultViewport:W,translateExtent:O,minZoom:Y,maxZoom:T,preventScrolling:X,onSelectionContextMenu:V,noWheelClassName:L,noPanClassName:B,disableKeyboardA11y:N,onViewportChange:E,isControlledViewport:P}){const A=c,{nodesSelectionActive:_,userSelectionActive:Q}=Ue(O2,qe),$=jt(d,{target:Hc}),ne=jt(b,{target:Hc}),ie=ne||H,he=ne||C,ye=l&&ie!==!0,Ce=$||Q||ye;return m2({deleteKeyCode:u,multiSelectionKeyCode:w}),s[A(827)](p2,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:he,panOnScrollSpeed:z,panOnScrollMode:I,zoomOnDoubleClick:U,panOnDrag:!$&&ie,defaultViewport:W,translateExtent:O,minZoom:Y,maxZoom:T,zoomActivationKeyCode:v,preventScrolling:X,noWheelClassName:L,noPanClassName:B,onViewportChange:E,isControlledViewport:P,paneClickDistance:a,selectionOnDrag:ye,children:s[A(1149)](B2,{onSelectionStart:g,onSelectionEnd:h,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:ie,isSelecting:!!Ce,selectionMode:f,selectionKeyPressed:$,paneClickDistance:a,selectionOnDrag:ye,children:[e,_&&s[A(827)](U2,{onSelectionContextMenu:V,noPanClassName:B,disableKeyboardA11y:N})]})})}Tc[c(1038)]=c(1166);const G2=D.memo(Tc),H2=e=>n=>{const t=c;return e?Uo(n[t(615)],{x:0,y:0,width:n[t(1909)],height:n.height},n[t(1142)],!0)[t(1461)](o=>o.id):Array[t(1839)](n.nodeLookup[t(1700)]())};function T2(e){return Ue(D[c(660)](H2(e),[e]),qe)}const V2=e=>e[c(1806)];function q2(){const e=c,n=Ue(V2),[t]=D[e(325)](()=>typeof ResizeObserver>"u"?null:new ResizeObserver(o=>{const x=_0x1172,r=new Map;o[x(1161)](i=>{const a=x,u=i[a(1562)][a(399)](a(1370));r[a(1683)](u,{id:u,nodeElement:i[a(1562)],force:!0})}),n(r)}));return D[e(1079)](()=>()=>{t?.[_0x1172(664)]()},[t]),t}function W2({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=c,r=We(),i=D[x(671)](null),a=D[x(671)](null),u=D.useRef(e[x(1720)]),d=D.useRef(e.targetPosition),l=D[x(671)](n),f=t&&!!e[x(465)][x(284)];return D[x(1079)](()=>{const g=x;i[g(1521)]&&!e[g(614)]&&(!f||a.current!==i[g(1521)])&&(a.current&&o?.[g(1530)](a[g(1521)]),o?.observe(i[g(1521)]),a.current=i[g(1521)])},[f,e[x(614)]]),D[x(1079)](()=>()=>{const g=_0x1172;a[g(1521)]&&(o?.[g(1530)](a[g(1521)]),a[g(1521)]=null)},[]),D[x(1079)](()=>{const g=x;if(i[g(1521)]){const h=l[g(1521)]!==n,w=u[g(1521)]!==e[g(1720)],b=d[g(1521)]!==e[g(1350)];(h||w||b)&&(l[g(1521)]=n,u[g(1521)]=e[g(1720)],d[g(1521)]=e[g(1350)],r[g(724)]()[g(1806)](new Map([[e.id,{id:e.id,nodeElement:i[g(1521)],force:!0}]])))}},[e.id,n,e.sourcePosition,e[x(1350)]]),i}function X2({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:u,nodesConnectable:d,nodesFocusable:l,resizeObserver:f,noDragClassName:g,noPanClassName:h,disableKeyboardA11y:w,rfId:b,nodeTypes:v,nodeClickDistance:M,onError:m}){const y=c,{node:C,internals:z,isParent:I}=Ue(fe=>{const ee=_0x1172,be=fe[ee(615)][ee(750)](e),pe=fe.parentLookup[ee(363)](e);return{node:be,internals:be.internals,isParent:pe}},qe);let U=C[y(939)]||y(1744),H=v?.[U]||Gc[U];H===void 0&&(m?.("003",w0[y(1961)](U)),U=y(1744),H=v?.[y(1744)]||Gc[y(1744)]);const W=!!(C[y(646)]||a&&typeof C.draggable===y(529)),O=!!(C[y(1590)]||u&&typeof C[y(1590)]>"u"),Y=!!(C[y(859)]||d&&typeof C[y(859)]>"u"),T=!!(C[y(1868)]||l&&typeof C.focusable===y(529)),X=We(),V=Da(C),L=W2({node:C,nodeType:U,hasDimensions:V,resizeObserver:f}),B=Yc({nodeRef:L,disabled:C[y(614)]||!W,noDragClassName:g,handleSelector:C[y(891)],nodeId:e,isSelectable:O,nodeClickDistance:M}),N=Uc();if(C[y(614)])return null;const E=K0(C),P=j2(C),A=O||W||n||t||o||x,_=t?fe=>t(fe,{...z[y(406)]}):void 0,Q=o?fe=>o(fe,{...z[y(406)]}):void 0,$=x?fe=>x(fe,{...z[y(406)]}):void 0,ne=r?fe=>r(fe,{...z.userNode}):void 0,ie=i?fe=>i(fe,{...z.userNode}):void 0,he=fe=>{const ee=y,{selectNodesOnDrag:be,nodeDragThreshold:pe}=X[ee(724)]();O&&(!be||!W||pe>0)&&ir({id:e,store:X,nodeRef:L}),n&&n(fe,{...z[ee(406)]})},ye=fe=>{const ee=y;if(!(ka(fe.nativeEvent)||w)){if(fa[ee(645)](fe.key)&&O){const be=fe[ee(1712)]===ee(713);ir({id:e,store:X,unselect:be,nodeRef:L})}else if(W&&C[ee(1198)]&&Object[ee(989)][ee(966)][ee(719)](Gx,fe[ee(1712)])){fe[ee(800)]();const{ariaLabelConfig:be}=X[ee(724)]();X.setState({ariaLiveMessage:be[ee(1276)]({direction:fe[ee(1712)].replace(ee(337),"")[ee(1230)](),x:~~z[ee(868)].x,y:~~z[ee(868)].y})}),N({direction:Gx[fe[ee(1712)]],factor:fe.shiftKey?4:1})}}},Ce=()=>{const fe=y;if(w||!L[fe(1521)]?.[fe(1994)](":focus-visible"))return;const{transform:ee,width:be,height:pe,autoPanOnNodeFocus:j,setCenter:q}=X[fe(724)]();if(!j)return;!(Uo(new Map([[e,C]]),{x:0,y:0,width:be,height:pe},ee,!0).length>0)&&q(C[fe(1980)].x+E[fe(1909)]/2,C[fe(1980)].y+E[fe(784)]/2,{zoom:ee[2]})};return s[y(827)](y(1102),{className:e0([y(681),y(1271)+U,{[h]:W},C[y(505)],{selected:C[y(1198)],selectable:O,parent:I,draggable:W,dragging:B}]),ref:L,style:{zIndex:z.z,transform:y(1873)+z[y(868)].x+y(617)+z[y(868)].y+y(767),pointerEvents:A?y(1006):"none",visibility:y(V?1252:614),...C[y(183)],...P},"data-id":e,"data-testid":y(919)+e,onMouseEnter:_,onMouseMove:Q,onMouseLeave:$,onContextMenu:ne,onClick:he,onDoubleClick:ie,onKeyDown:T?ye:void 0,tabIndex:T?0:void 0,onFocus:T?Ce:void 0,role:C[y(266)]??(T?y(1084):void 0),"aria-roledescription":y(1067),"aria-describedby":w?void 0:yc+"-"+b,"aria-label":C.ariaLabel,...C.domAttributes,children:s[y(827)](L2,{value:e,children:s[y(827)](H,{id:e,data:C[y(269)],type:U,positionAbsoluteX:z[y(868)].x,positionAbsoluteY:z.positionAbsolute.y,selected:C[y(1198)]??!1,selectable:O,draggable:W,deletable:C.deletable??!0,isConnectable:Y,sourcePosition:C[y(1720)],targetPosition:C[y(1350)],dragging:B,dragHandle:C[y(891)],zIndex:z.z,parentId:C[y(294)],...E})})})}var Z2=D[c(723)](X2);const K2=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e[c(1532)],elementsSelectable:e[c(1375)],onError:e[c(424)]});function Vc(e){const n=c,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Ue(K2,qe),a=T2(e[n(903)]),u=q2();return s[n(827)](n(1102),{className:n(1377),style:Ox,children:a[n(1461)](d=>{const l=n;return s[l(827)](Z2,{id:d,nodeTypes:e.nodeTypes,nodeExtent:e[l(579)],onClick:e[l(1464)],onMouseEnter:e[l(768)],onMouseMove:e[l(331)],onMouseLeave:e[l(686)],onContextMenu:e[l(1632)],onDoubleClick:e[l(1927)],noDragClassName:e[l(1298)],noPanClassName:e.noPanClassName,rfId:e.rfId,disableKeyboardA11y:e[l(1344)],resizeObserver:u,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e.nodeClickDistance,onError:i},d)})})}Vc[c(1038)]="NodeRenderer";const R2=D.memo(Vc);function J2(e){const n=c;return Ue(D[n(660)](o=>{const x=n;if(!e)return o[x(1631)][x(1461)](i=>i.id);const r=[];if(o[x(1909)]&&o[x(784)])for(const i of o[x(1631)]){const a=o[x(615)][x(750)](i[x(916)]),u=o[x(615)][x(750)](i[x(1562)]);a&&u&&Rf({sourceNode:a,targetNode:u,width:o.width,height:o[x(784)],transform:o.transform})&&r[x(1699)](i.id)}return r},[e]),qe)}const _2=({color:e=c(408),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e}};return s[t(827)](t(1293),{className:t(1462),style:o,strokeLinecap:t(1758),fill:t(408),strokeLinejoin:t(1758),points:t(555)})},F2=({color:e=c(408),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return s[t(827)](t(1293),{className:t(1635),style:o,strokeLinecap:t(1758),strokeLinejoin:"round",points:t(1285)})},qc={[Bx[c(337)]]:_2,[Bx[c(658)]]:F2};function Q2(e){const n=c,t=We();return D[n(1826)](()=>{const x=n;return Object[x(989)].hasOwnProperty[x(719)](qc,e)?qc[e]:(t[x(724)]()[x(424)]?.(x(736),w0.error009(e)),null)},[e])}const $2=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=c(1830),strokeWidth:i,orient:a=c(417)})=>{const u=c,d=Q2(n);return d?s[u(827)](u(1827),{className:u(1618),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:u(1775),markerUnits:r,orient:a,refX:"0",refY:"0",children:s.jsx(d,{color:t,strokeWidth:i})}):null},Wc=({defaultColor:e,rfId:n})=>{const t=c,o=Ue(i=>i[t(1631)]),x=Ue(i=>i[t(875)]),r=D[t(1826)](()=>{const i=t;return nb(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[i(512)],defaultMarkerEnd:x?.[i(1232)]})},[o,x,n,e]);return r[t(546)]?s.jsx(t(804),{className:t(695),"aria-hidden":t(374),children:s[t(827)](t(1136),{children:r[t(1461)](i=>s.jsx($2,{id:i.id,type:i[t(939)],color:i[t(1311)],width:i[t(1909)],height:i[t(784)],markerUnits:i[t(978)],strokeWidth:i.strokeWidth,orient:i[t(1882)]},i.id))})}):null};Wc[c(1038)]=c(630);var e3=D.memo(Wc);function Xc({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:u,className:d,...l}){const f=c,[g,h]=D[f(325)]({x:1,y:0,width:0,height:0}),w=e0([f(552),d]),b=D.useRef(null);return D.useEffect(()=>{const v=f;if(b[v(1521)]){const M=b[v(1521)].getBBox();h({x:M.x,y:M.y,width:M[v(1909)],height:M[v(784)]})}},[t]),t?s[f(1149)]("g",{transform:f(1873)+(e-g[f(1909)]/2)+" "+(n-g[f(784)]/2)+")",className:w,visibility:g[f(1909)]?"visible":"hidden",...l,children:[x&&s.jsx("rect",{width:g[f(1909)]+2*i[0],x:-i[0],y:-i[1],height:g[f(784)]+2*i[1],className:"react-flow__edge-textbg",style:r,rx:a,ry:a}),s.jsx(f(1810),{className:f(1068),y:g[f(784)]/2,dy:"0.3em",ref:b,style:o,children:t}),u]}):null}Xc[c(1038)]=c(537);const n3=D[c(723)](Xc);function Hx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u,interactionWidth:d=20,...l}){const f=c;return s.jsxs(s.Fragment,{children:[s.jsx("path",{...l,d:e,fill:f(408),className:e0(["react-flow__edge-path",l[f(505)]])}),d?s[f(827)](f(1449),{d:e,fill:f(408),strokeOpacity:0,strokeWidth:d,className:f(598)}):null,o&&I0(n)&&I0(t)?s[f(827)](n3,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u}):null]})}function Zc({pos:e,x1:n,y1:t,x2:o,y2:x}){const r=c;return e===De.Left||e===De[r(1335)]?[.5*(n+o),t]:[n,.5*(t+x)]}function Kc({sourceX:e,sourceY:n,sourcePosition:t=De[c(653)],targetX:o,targetY:x,targetPosition:r=De[c(993)]}){const[i,a]=Zc({pos:t,x1:e,y1:n,x2:o,y2:x}),[u,d]=Zc({pos:r,x1:o,y1:x,x2:e,y2:n}),[l,f,g,h]=Aa({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:a,targetControlX:u,targetControlY:d});return["M"+e+","+n+" C"+i+","+a+" "+u+","+d+" "+o+","+x,l,f,g,h]}function Rc(e){const n=c;return D[n(723)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:u,label:d,labelStyle:l,labelShowBg:f,labelBgStyle:g,labelBgPadding:h,labelBgBorderRadius:w,style:b,markerEnd:v,markerStart:M,interactionWidth:m})=>{const y=n,[C,z,I]=Kc({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:u}),U=e.isInternal?void 0:t;return s[y(827)](Hx,{id:U,path:C,labelX:z,labelY:I,label:d,labelStyle:l,labelShowBg:f,labelBgStyle:g,labelBgPadding:h,labelBgBorderRadius:w,style:b,markerEnd:v,markerStart:M,interactionWidth:m})})}const t3=Rc({isInternal:!1}),Jc=Rc({isInternal:!0});t3[c(1038)]=c(1321),Jc[c(1038)]=c(1490);function _c(e){const n=c;return D[n(723)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:u,labelShowBg:d,labelBgStyle:l,labelBgPadding:f,labelBgBorderRadius:g,style:h,sourcePosition:w=De[n(653)],targetPosition:b=De[n(993)],markerEnd:v,markerStart:M,pathOptions:m,interactionWidth:y})=>{const C=n,[z,I,U]=To({sourceX:o,sourceY:x,sourcePosition:w,targetX:r,targetY:i,targetPosition:b,borderRadius:m?.[C(701)],offset:m?.offset,stepPosition:m?.[C(205)]}),H=e.isInternal?void 0:t;return s[C(827)](Hx,{id:H,path:z,labelX:I,labelY:U,label:a,labelStyle:u,labelShowBg:d,labelBgStyle:l,labelBgPadding:f,labelBgBorderRadius:g,style:h,markerEnd:v,markerStart:M,interactionWidth:y})})}const Fc=_c({isInternal:!1}),Qc=_c({isInternal:!0});Fc.displayName="SmoothStepEdge",Qc[c(1038)]=c(1058);function $c(e){const n=c;return D[n(723)](({id:t,...o})=>{const x=n,r=e[x(1240)]?void 0:t;return s[x(827)](Fc,{...o,id:r,pathOptions:D.useMemo(()=>({borderRadius:0,offset:o.pathOptions?.[x(590)]}),[o[x(718)]?.[x(590)]])})})}const x3=$c({isInternal:!1}),es=$c({isInternal:!0});x3[c(1038)]="StepEdge",es[c(1038)]=c(1783);function ns(e){const n=c;return D[n(723)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:u,labelShowBg:d,labelBgStyle:l,labelBgPadding:f,labelBgBorderRadius:g,style:h,markerEnd:w,markerStart:b,interactionWidth:v})=>{const M=n,[m,y,C]=Oa({sourceX:o,sourceY:x,targetX:r,targetY:i}),z=e[M(1240)]?void 0:t;return s[M(827)](Hx,{id:z,path:m,labelX:y,labelY:C,label:a,labelStyle:u,labelShowBg:d,labelBgStyle:l,labelBgPadding:f,labelBgBorderRadius:g,style:h,markerEnd:w,markerStart:b,interactionWidth:v})})}const o3=ns({isInternal:!1}),ts=ns({isInternal:!0});o3[c(1038)]=c(1749),ts[c(1038)]=c(1820);function xs(e){const n=c;return D.memo(({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a=De[n(653)],targetPosition:u=De[n(993)],label:d,labelStyle:l,labelShowBg:f,labelBgStyle:g,labelBgPadding:h,labelBgBorderRadius:w,style:b,markerEnd:v,markerStart:M,pathOptions:m,interactionWidth:y})=>{const C=n,[z,I,U]=ja({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:u,curvature:m?.curvature}),H=e[C(1240)]?void 0:t;return s[C(827)](Hx,{id:H,path:z,labelX:I,labelY:U,label:d,labelStyle:l,labelShowBg:f,labelBgStyle:g,labelBgPadding:h,labelBgBorderRadius:w,style:b,markerEnd:v,markerStart:M,interactionWidth:y})})}const r3=xs({isInternal:!1}),os=xs({isInternal:!0});r3[c(1038)]=c(998),os[c(1038)]=c(603);const rs={default:os,straight:ts,step:es,smoothstep:Qc,simplebezier:Jc},is={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},i3=(e,n,t)=>{const o=c;return t===De[o(1320)]?e-n:t===De[o(1335)]?e+n:e},a3=(e,n,t)=>{const o=c;return t===De[o(993)]?e-n:t===De[o(653)]?e+n:e},as=c(554);function cs({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:a}){const u=c;return s.jsx("circle",{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:e0([as,as+"-"+a]),cx:i3(n,o,e),cy:a3(t,o,e),r:o,stroke:u(1261),fill:u(1261)})}function c3({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:u,onReconnect:d,onReconnectStart:l,onReconnectEnd:f,setReconnecting:g,setUpdateHover:h}){const w=c,b=We(),v=(z,I)=>{const U=_0x1172;if(z.button!==0)return;const{autoPanOnConnect:H,domNode:W,connectionMode:O,connectionRadius:Y,lib:T,onConnectStart:X,cancelConnection:V,nodeLookup:L,rfId:B,panBy:N,updateConnection:E}=b.getState(),P=I[U(939)]==="target",A=($,ne)=>{const ie=U;g(!1),f?.($,t,I[ie(939)],ne)},_=$=>d?.(t,$),Q=($,ne)=>{g(!0),l?.(z,t,I.type),X?.($,ne)};_o[U(311)](z[U(348)],{autoPanOnConnect:H,connectionMode:O,connectionRadius:Y,domNode:W,handleId:I.id,nodeId:I[U(930)],nodeLookup:L,isTarget:P,edgeUpdaterType:I[U(939)],lib:T,flowId:B,cancelConnection:V,panBy:N,isValidConnection:(...$)=>b[U(724)]()[U(1444)]?.(...$)??!0,onConnect:_,onConnectStart:Q,onConnectEnd:(...$)=>b[U(724)]()[U(1797)]?.(...$),onReconnectEnd:A,updateConnection:E,getTransform:()=>b[U(724)]()[U(1142)],getFromHandle:()=>b[U(724)]()[U(1795)][U(330)],dragThreshold:b[U(724)]()[U(525)],handleDomNode:z.currentTarget})},M=z=>v(z,{nodeId:t[w(1562)],id:t[w(411)]??null,type:"target"}),m=z=>v(z,{nodeId:t[w(916)],id:t[w(898)]??null,type:w(916)}),y=()=>h(!0),C=()=>h(!1);return s[w(1149)](s[w(895)],{children:[(e===!0||e===w(916))&&s.jsx(cs,{position:a,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:y,onMouseOut:C,type:w(916)}),(e===!0||e==="target")&&s.jsx(cs,{position:u,centerX:r,centerY:i,radius:n,onMouseDown:m,onMouseEnter:y,onMouseOut:C,type:w(1562)})]})}function s3({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:d,reconnectRadius:l,onReconnect:f,onReconnectStart:g,onReconnectEnd:h,rfId:w,edgeTypes:b,noPanClassName:v,onError:M,disableKeyboardA11y:m}){const y=c;let C=Ue(j=>j[y(296)].get(e));const z=Ue(j=>j[y(875)]);C=z?{...z,...C}:C;let I=C[y(939)]||y(1744),U=b?.[I]||rs[I];U===void 0&&(M?.(y(696),w0[y(968)](I)),I=y(1744),U=b?.default||rs[y(1744)]);const H=!!(C[y(1868)]||n&&typeof C[y(1868)]>"u"),W=typeof f<"u"&&(C[y(443)]||t&&typeof C[y(443)]===y(529)),O=!!(C[y(1590)]||o&&typeof C[y(1590)]>"u"),Y=D[y(671)](null),[T,X]=D.useState(!1),[V,L]=D.useState(!1),B=We(),{zIndex:N,sourceX:E,sourceY:P,targetX:A,targetY:_,sourcePosition:Q,targetPosition:$}=Ue(D[y(660)](j=>{const q=y,se=j.nodeLookup[q(750)](C[q(916)]),le=j[q(615)][q(750)](C.target);if(!se||!le)return{zIndex:C.zIndex,...is};const Le=eb({id:e,sourceNode:se,targetNode:le,sourceHandle:C[q(898)]||null,targetHandle:C.targetHandle||null,connectionMode:j[q(1505)],onError:M});return{zIndex:Kf({selected:C[q(1198)],zIndex:C.zIndex,sourceNode:se,targetNode:le,elevateOnSelect:j[q(524)],zIndexMode:j[q(402)]}),...Le||is}},[C.source,C[y(1562)],C[y(898)],C[y(411)],C.selected,C[y(1981)]]),qe),ne=D[y(1826)](()=>C[y(512)]?y(1049)+Vo(C[y(512)],w)+"')":void 0,[C[y(512)],w]),ie=D[y(1826)](()=>C[y(1232)]?y(1049)+Vo(C[y(1232)],w)+"')":void 0,[C.markerEnd,w]);if(C.hidden||E===null||P===null||A===null||_===null)return null;const he=j=>{const q=y,{addSelectedEdges:se,unselectNodesAndEdges:le,multiSelectionActive:Le}=B[q(724)]();O&&(B[q(667)]({nodesSelectionActive:!1}),C[q(1198)]&&Le?(le({nodes:[],edges:[C]}),Y[q(1521)]?.[q(1976)]()):se([e])),x&&x(j,C)},ye=r?j=>{r(j,{...C})}:void 0,Ce=i?j=>{i(j,{...C})}:void 0,fe=a?j=>{a(j,{...C})}:void 0,ee=u?j=>{u(j,{...C})}:void 0,be=d?j=>{d(j,{...C})}:void 0,pe=j=>{const q=y;if(!m&&fa[q(645)](j.key)&&O){const{unselectNodesAndEdges:se,addSelectedEdges:le}=B[q(724)]();j[q(1712)]===q(713)?(Y[q(1521)]?.[q(1976)](),se({edges:[C]})):le([e])}};return s.jsx(y(804),{style:{zIndex:N},children:s[y(1149)]("g",{className:e0([y(896),y(324)+I,C[y(505)],v,{selected:C[y(1198)],animated:C[y(1553)],inactive:!O&&!x,updating:T,selectable:O}]),onClick:he,onDoubleClick:ye,onContextMenu:Ce,onMouseEnter:fe,onMouseMove:ee,onMouseLeave:be,onKeyDown:H?pe:void 0,tabIndex:H?0:void 0,role:C.ariaRole??y(H?1084:1993),"aria-roledescription":y(282),"data-id":e,"data-testid":y(1500)+e,"aria-label":C[y(1563)]===null?void 0:C[y(1563)]||y(1413)+C.source+" to "+C[y(1562)],"aria-describedby":H?mc+"-"+w:void 0,ref:Y,...C[y(1315)],children:[!V&&s.jsx(U,{id:e,source:C[y(916)],target:C[y(1562)],type:C[y(939)],selected:C[y(1198)],animated:C[y(1553)],selectable:O,deletable:C[y(1446)]??!0,label:C[y(1865)],labelStyle:C.labelStyle,labelShowBg:C.labelShowBg,labelBgStyle:C.labelBgStyle,labelBgPadding:C[y(1906)],labelBgBorderRadius:C[y(1969)],sourceX:E,sourceY:P,targetX:A,targetY:_,sourcePosition:Q,targetPosition:$,data:C[y(269)],style:C[y(183)],sourceHandleId:C[y(898)],targetHandleId:C[y(411)],markerStart:ne,markerEnd:ie,pathOptions:y(718)in C?C[y(718)]:void 0,interactionWidth:C[y(829)]}),W&&s[y(827)](c3,{edge:C,isReconnectable:W,reconnectRadius:l,onReconnect:f,onReconnectStart:g,onReconnectEnd:h,sourceX:E,sourceY:P,targetX:A,targetY:_,sourcePosition:Q,targetPosition:$,setUpdateHover:X,setReconnecting:L})]})})}var l3=D[c(723)](s3);const d3=e=>({edgesFocusable:e[c(776)],edgesReconnectable:e[c(1907)],elementsSelectable:e[c(1375)],connectionMode:e[c(1505)],onError:e[c(424)]});function ss({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:u,onEdgeMouseLeave:d,onEdgeClick:l,reconnectRadius:f,onEdgeDoubleClick:g,onReconnectStart:h,onReconnectEnd:w,disableKeyboardA11y:b}){const v=c,{edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,onError:C}=Ue(d3,qe),z=J2(n);return s[v(1149)](v(1102),{className:"react-flow__edges",children:[s[v(827)](e3,{defaultColor:e,rfId:t}),z[v(1461)](I=>s[v(827)](l3,{id:I,edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:d,onClick:l,reconnectRadius:f,onDoubleClick:g,onReconnectStart:h,onReconnectEnd:w,rfId:t,onError:C,edgeTypes:o,disableKeyboardA11y:b},I))]})}ss[c(1038)]="EdgeRenderer";const u3=D[c(723)](ss),f3=e=>c(1873)+e[c(1142)][0]+"px,"+e[c(1142)][1]+c(1484)+e[c(1142)][2]+")";function b3({children:e}){const n=c,t=Ue(f3);return s[n(827)](n(1102),{className:n(371),style:{transform:t},children:e})}function h3(e){const n=c,t=or(),o=D[n(671)](!1);D[n(1079)](()=>{const x=n;!o.current&&t[x(861)]&&e&&(setTimeout(()=>e(t),1),o[x(1521)]=!0)},[e,t.viewportInitialized])}const g3=e=>e[c(528)]?.syncViewport;function y3(e){const n=c,t=Ue(g3),o=We();return D[n(1079)](()=>{const x=n;e&&(t?.(e),o[x(667)]({transform:[e.x,e.y,e[x(1899)]]}))},[e,t]),null}function m3(e){const n=c;return e.connection[n(656)]?{...e[n(1795)],to:Pt(e[n(1795)].to,e[n(1142)])}:{...e.connection}}function v3(e){return m3}function w3(e){const n=v3();return Ue(n,qe)}const p3=e=>({nodesConnectable:e[c(2031)],isValid:e[c(1795)][c(641)],inProgress:e.connection.inProgress,width:e[c(1909)],height:e[c(784)]});function z3({containerStyle:e,style:n,type:t,component:o}){const x=c,{nodesConnectable:r,width:i,height:a,isValid:u,inProgress:d}=Ue(p3,qe);return!(i&&r&&d)?null:s[x(827)](x(804),{style:e,width:i,height:a,className:x(1170),children:s[x(827)]("g",{className:e0([x(562),ya(u)]),children:s[x(827)](ls,{style:n,type:t,CustomComponent:o,isValid:u})})})}const ls=({style:e,type:n=xn[c(1959)],CustomComponent:t,isValid:o})=>{const x=c,{inProgress:r,from:i,fromNode:a,fromHandle:u,fromPosition:d,to:l,toNode:f,toHandle:g,toPosition:h,pointer:w}=w3();if(!r)return;if(t)return s[x(827)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:a,fromHandle:u,fromX:i.x,fromY:i.y,toX:l.x,toY:l.y,fromPosition:d,toPosition:h,connectionStatus:ya(o),toNode:f,toHandle:g,pointer:w});let b="";const v={sourceX:i.x,sourceY:i.y,sourcePosition:d,targetX:l.x,targetY:l.y,targetPosition:h};switch(n){case xn[x(1959)]:[b]=ja(v);break;case xn.SimpleBezier:[b]=Kc(v);break;case xn[x(732)]:[b]=To({...v,borderRadius:0});break;case xn.SmoothStep:[b]=To(v);break;default:[b]=Oa(v)}return s[x(827)](x(1449),{d:b,fill:x(408),className:"react-flow__connection-path",style:e})};ls[c(1038)]="ConnectionLine";const C3={};function ds(e=C3){const n=c,t=D[n(671)](e),o=We();D.useEffect(()=>{const x=n;if(process.env.NODE_ENV===x(1779)){const r=new Set([...Object.keys(t[x(1521)]),...Object.keys(e)]);for(const i of r)if(t[x(1521)][i]!==e[i]){o[x(724)]().onError?.(x(637),w0[x(1550)]());break}t.current=e}},[e])}function M3(){const e=c,n=We(),t=D[e(671)](!1);D[e(1079)](()=>{const o=e;if(process.env.NODE_ENV==="development"&&!t.current){const x=document[o(999)](o(467));x&&window[o(1919)](x)[o(1981)]!=="1"&&n[o(724)]()[o(424)]?.(o(941),w0[o(953)]("react")),t[o(1521)]=!0}},[])}function us({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:d,onNodeContextMenu:l,onSelectionContextMenu:f,onSelectionStart:g,onSelectionEnd:h,connectionLineType:w,connectionLineStyle:b,connectionLineComponent:v,connectionLineContainerStyle:M,selectionKeyCode:m,selectionOnDrag:y,selectionMode:C,multiSelectionKeyCode:z,panActivationKeyCode:I,zoomActivationKeyCode:U,deleteKeyCode:H,onlyRenderVisibleElements:W,elementsSelectable:O,defaultViewport:Y,translateExtent:T,minZoom:X,maxZoom:V,preventScrolling:L,defaultMarkerColor:B,zoomOnScroll:N,zoomOnPinch:E,panOnScroll:P,panOnScrollSpeed:A,panOnScrollMode:_,zoomOnDoubleClick:Q,panOnDrag:$,onPaneClick:ne,onPaneMouseEnter:ie,onPaneMouseMove:he,onPaneMouseLeave:ye,onPaneScroll:Ce,onPaneContextMenu:fe,paneClickDistance:ee,nodeClickDistance:be,onEdgeContextMenu:pe,onEdgeMouseEnter:j,onEdgeMouseMove:q,onEdgeMouseLeave:se,reconnectRadius:le,onReconnect:Le,onReconnectStart:Me,onReconnectEnd:ke,noDragClassName:oe,noWheelClassName:ce,noPanClassName:Be,disableKeyboardA11y:te,nodeExtent:R,rfId:Ne,viewport:Ge,onViewportChange:Pe}){const Ae=c;return ds(e),ds(n),M3(),h3(t),y3(Ge),s[Ae(827)](G2,{onPaneClick:ne,onPaneMouseEnter:ie,onPaneMouseMove:he,onPaneMouseLeave:ye,onPaneContextMenu:fe,onPaneScroll:Ce,paneClickDistance:ee,deleteKeyCode:H,selectionKeyCode:m,selectionOnDrag:y,selectionMode:C,onSelectionStart:g,onSelectionEnd:h,multiSelectionKeyCode:z,panActivationKeyCode:I,zoomActivationKeyCode:U,elementsSelectable:O,zoomOnScroll:N,zoomOnPinch:E,zoomOnDoubleClick:Q,panOnScroll:P,panOnScrollSpeed:A,panOnScrollMode:_,panOnDrag:$,defaultViewport:Y,translateExtent:T,minZoom:X,maxZoom:V,onSelectionContextMenu:f,preventScrolling:L,noDragClassName:oe,noWheelClassName:ce,noPanClassName:Be,disableKeyboardA11y:te,onViewportChange:Pe,isControlledViewport:!!Ge,children:s[Ae(1149)](b3,{children:[s.jsx(u3,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:Le,onReconnectStart:Me,onReconnectEnd:ke,onlyRenderVisibleElements:W,onEdgeContextMenu:pe,onEdgeMouseEnter:j,onEdgeMouseMove:q,onEdgeMouseLeave:se,reconnectRadius:le,defaultMarkerColor:B,noPanClassName:Be,disableKeyboardA11y:te,rfId:Ne}),s[Ae(827)](z3,{style:b,type:w,component:v,containerStyle:M}),s[Ae(827)]("div",{className:Ae(1486)}),s[Ae(827)](R2,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:d,onNodeContextMenu:l,nodeClickDistance:be,onlyRenderVisibleElements:W,noPanClassName:Be,noDragClassName:oe,disableKeyboardA11y:te,nodeExtent:R,rfId:Ne}),s[Ae(827)](Ae(1102),{className:Ae(360)})]})})}us.displayName=c(301);const B3=D.memo(us),fs=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u=.5,maxZoom:d=2,nodeOrigin:l,nodeExtent:f,zIndexMode:g=c(1724)}={})=>{const h=c,w=new Map,b=new Map,v=new Map,M=new Map,m=o??n??[],y=t??e??[],C=l??[0,0],z=f??Dt;Ka(v,M,m);const{nodesInitialized:I}=Zo(y,w,b,{nodeOrigin:C,nodeExtent:z,zIndexMode:g});let U=[0,0,1];if(i&&x&&r){const H=Nt(w,{filter:T=>!!((T[h(1909)]||T[h(992)])&&(T[h(784)]||T[h(790)]))}),{x:W,y:O,zoom:Y}=Go(H,x,r,u,d,a?.padding??.1);U=[W,O,Y]}return{rfId:"1",width:x??0,height:r??0,transform:U,nodes:y,nodesInitialized:I,nodeLookup:w,parentLookup:b,edges:m,edgeLookup:M,connectionLookup:v,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:u,maxZoom:d,translateExtent:Dt,nodeExtent:z,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:qn[h(1729)],domNode:null,paneDragging:!1,noPanClassName:h(864),nodeOrigin:C,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:{...ha},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Ba,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:h(1809),debug:!1,ariaLabelConfig:ba,zIndexMode:g,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},D3=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:d,nodeOrigin:l,nodeExtent:f,zIndexMode:g})=>Xb((h,w)=>{async function b(){const v=_0x1172,{nodeLookup:M,panZoom:m,fitViewOptions:y,fitViewResolver:C,width:z,height:I,minZoom:U,maxZoom:H}=w();m&&(await Hf({nodes:M,width:z,height:I,panZoom:m,minZoom:U,maxZoom:H},y),C?.[v(737)](!0),h({fitViewResolver:null}))}return{...fs({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:d,nodeOrigin:l,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:g}),setNodes:v=>{const{nodeLookup:M,parentLookup:m,nodeOrigin:y,elevateNodesOnSelect:C,fitViewQueued:z,zIndexMode:I,nodesSelectionActive:U}=w(),{nodesInitialized:H,hasSelectedNodes:W}=Zo(v,M,m,{nodeOrigin:y,nodeExtent:f,elevateNodesOnSelect:C,checkEquality:!0,zIndexMode:I}),O=U&&W;z&&H?(b(),h({nodes:v,nodesInitialized:H,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:O})):h({nodes:v,nodesInitialized:H,nodesSelectionActive:O})},setEdges:v=>{const{connectionLookup:M,edgeLookup:m}=w();Ka(M,m,v),h({edges:v})},setDefaultNodesAndEdges:(v,M)=>{if(v){const{setNodes:m}=w();m(v),h({hasDefaultNodes:!0})}if(M){const{setEdges:m}=w();m(M),h({hasDefaultEdges:!0})}},updateNodeInternals:v=>{const M=_0x1172,{triggerNodeChanges:m,nodeLookup:y,parentLookup:C,domNode:z,nodeOrigin:I,nodeExtent:U,debug:H,fitViewQueued:W,zIndexMode:O}=w(),{changes:Y,updatedInternals:T}=cb(v,y,C,z,I,U,O);T&&(ob(y,C,{nodeOrigin:I,nodeExtent:U,zIndexMode:O}),W?(b(),h({fitViewQueued:!1,fitViewOptions:void 0})):h({}),Y?.length>0&&(H&&console[M(1803)]("React Flow: trigger node changes",Y),m?.(Y)))},updateNodePositions:(v,M=!1)=>{const m=_0x1172,y=[];let C=[];const{nodeLookup:z,triggerNodeChanges:I,connection:U,updateConnection:H,onNodesChangeMiddlewareMap:W}=w();for(const[O,Y]of v){const T=z.get(O),X=!!(T?.[m(1004)]&&T?.[m(294)]&&Y?.[m(1980)]),V={id:O,type:m(1980),position:X?{x:Math[m(879)](0,Y[m(1980)].x),y:Math.max(0,Y.position.y)}:Y.position,dragging:M};if(T&&U[m(656)]&&U[m(1160)].id===T.id){const L=pn(T,U.fromHandle,De[m(1320)],!0);H({...U,from:L})}X&&T[m(294)]&&y[m(1699)]({id:O,parentId:T[m(294)],rect:{...Y[m(465)][m(868)],width:Y[m(911)][m(1909)]??0,height:Y[m(911)].height??0}}),C[m(1699)](V)}if(y.length>0){const{parentLookup:O,nodeOrigin:Y}=w(),T=Ro(y,z,O,Y);C[m(1699)](...T)}for(const O of W[m(462)]())C=O(C);I(C)},triggerNodeChanges:v=>{const M=_0x1172,{onNodesChange:m,setNodes:y,nodes:C,hasDefaultNodes:z,debug:I}=w();if(v?.length){if(z){const U=Lc(v,C);y(U)}I&&console[M(1803)](M(1747),v),m?.(v)}},triggerEdgeChanges:v=>{const M=_0x1172,{onEdgesChange:m,setEdges:y,edges:C,hasDefaultEdges:z,debug:I}=w();if(v?.[M(546)]){if(z){const U=Sc(v,C);y(U)}I&&console[M(1803)](M(1328),v),m?.(v)}},addSelectedNodes:v=>{const{multiSelectionActive:M,edgeLookup:m,nodeLookup:y,triggerNodeChanges:C,triggerEdgeChanges:z}=w();if(M){const I=v.map(U=>zn(U,!0));C(I);return}C(_n(y,new Set([...v]),!0)),z(_n(m))},addSelectedEdges:v=>{const M=_0x1172,{multiSelectionActive:m,edgeLookup:y,nodeLookup:C,triggerNodeChanges:z,triggerEdgeChanges:I}=w();if(m){const U=v[M(1461)](H=>zn(H,!0));I(U);return}I(_n(y,new Set([...v]))),z(_n(C,new Set,!0))},unselectNodesAndEdges:({nodes:v,edges:M}={})=>{const m=_0x1172,{edges:y,nodes:C,nodeLookup:z,triggerNodeChanges:I,triggerEdgeChanges:U}=w(),H=v||C,W=M||y,O=[];for(const T of H){if(!T[m(1198)])continue;const X=z[m(750)](T.id);X&&(X.selected=!1),O[m(1699)](zn(T.id,!1))}const Y=[];for(const T of W)T[m(1198)]&&Y[m(1699)](zn(T.id,!1));I(O),U(Y)},setMinZoom:v=>{const M=_0x1172,{panZoom:m,maxZoom:y}=w();m?.[M(470)]([v,y]),h({minZoom:v})},setMaxZoom:v=>{const M=_0x1172,{panZoom:m,minZoom:y}=w();m?.[M(470)]([y,v]),h({maxZoom:v})},setTranslateExtent:v=>{const M=_0x1172;w()[M(528)]?.[M(414)](v),h({translateExtent:v})},resetSelectedElements:()=>{const v=_0x1172,{edges:M,nodes:m,triggerNodeChanges:y,triggerEdgeChanges:C,elementsSelectable:z}=w();if(!z)return;const I=m[v(1905)]((H,W)=>W.selected?[...H,zn(W.id,!1)]:H,[]),U=M[v(1905)]((H,W)=>W[v(1198)]?[...H,zn(W.id,!1)]:H,[]);y(I),C(U)},setNodeExtent:v=>{const{nodes:M,nodeLookup:m,parentLookup:y,nodeOrigin:C,elevateNodesOnSelect:z,nodeExtent:I,zIndexMode:U}=w();v[0][0]===I[0][0]&&v[0][1]===I[0][1]&&v[1][0]===I[1][0]&&v[1][1]===I[1][1]||(Zo(M,m,y,{nodeOrigin:C,nodeExtent:v,elevateNodesOnSelect:z,checkEquality:!1,zIndexMode:U}),h({nodeExtent:v}))},panBy:v=>{const{transform:M,width:m,height:y,panZoom:C,translateExtent:z}=w();return sb({delta:v,panZoom:C,transform:M,translateExtent:z,width:m,height:y})},setCenter:async(v,M,m)=>{const y=_0x1172,{width:C,height:z,maxZoom:I,panZoom:U}=w();if(!U)return Promise[y(737)](!1);const H=typeof m?.zoom<"u"?m[y(1899)]:I;return await U[y(444)]({x:C/2-v*H,y:z/2-M*H,zoom:H},{duration:m?.duration,ease:m?.[y(889)],interpolate:m?.[y(226)]}),Promise[y(737)](!0)},cancelConnection:()=>{h({connection:{...ha}})},updateConnection:v=>{h({connection:v})},reset:()=>h({...fs()})}},Object.is);function L3({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:u,fitView:d,nodeOrigin:l,nodeExtent:f,zIndexMode:g,children:h}){const w=c,[b]=D.useState(()=>D3({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:d,minZoom:i,maxZoom:a,fitViewOptions:u,nodeOrigin:l,nodeExtent:f,zIndexMode:g}));return s[w(827)](Zb,{value:b,children:s[w(827)](b2,{children:h})})}function S3({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:a,fitViewOptions:u,minZoom:d,maxZoom:l,nodeOrigin:f,nodeExtent:g,zIndexMode:h}){const w=c;return D[w(1188)](jx)?s[w(827)](s[w(895)],{children:e}):s[w(827)](L3,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:u,initialMinZoom:d,initialMaxZoom:l,nodeOrigin:f,nodeExtent:g,zIndexMode:h,children:e})}const N3={width:c(1216),height:"100%",overflow:"hidden",position:c(214),zIndex:0};function k3({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:u,onInit:d,onMove:l,onMoveStart:f,onMoveEnd:g,onConnect:h,onConnectStart:w,onConnectEnd:b,onClickConnectStart:v,onClickConnectEnd:M,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:C,onNodeContextMenu:z,onNodeDoubleClick:I,onNodeDragStart:U,onNodeDrag:H,onNodeDragStop:W,onNodesDelete:O,onEdgesDelete:Y,onDelete:T,onSelectionChange:X,onSelectionDragStart:V,onSelectionDrag:L,onSelectionDragStop:B,onSelectionContextMenu:N,onSelectionStart:E,onSelectionEnd:P,onBeforeDelete:A,connectionMode:_,connectionLineType:Q=xn[c(1959)],connectionLineStyle:$,connectionLineComponent:ne,connectionLineContainerStyle:ie,deleteKeyCode:he=c(1511),selectionKeyCode:ye=c(951),selectionOnDrag:Ce=!1,selectionMode:fe=Lt[c(1239)],panActivationKeyCode:ee=c(1844),multiSelectionKeyCode:be=At()?"Meta":c(559),zoomActivationKeyCode:pe=At()?c(223):c(559),snapToGrid:j,snapGrid:q,onlyRenderVisibleElements:se=!1,selectNodesOnDrag:le,nodesDraggable:Le,autoPanOnNodeFocus:Me,nodesConnectable:ke,nodesFocusable:oe,nodeOrigin:ce=vc,edgesFocusable:Be,edgesReconnectable:te,elementsSelectable:R=!0,defaultViewport:Ne=r2,minZoom:Ge=.5,maxZoom:Pe=2,translateExtent:Ae=Dt,preventScrolling:He=!0,nodeExtent:Te,defaultMarkerColor:je=c(1329),zoomOnScroll:Ye=!0,zoomOnPinch:a0=!0,panOnScroll:Re=!1,panOnScrollSpeed:Qe=.5,panOnScrollMode:n0=vn[c(1863)],zoomOnDoubleClick:i0=!0,panOnDrag:p0=!0,onPaneClick:z0,onPaneMouseEnter:h0,onPaneMouseMove:s0,onPaneMouseLeave:l0,onPaneScroll:G0,onPaneContextMenu:H0,paneClickDistance:R0=1,nodeClickDistance:g0=0,children:T0,onReconnect:Je,onReconnectStart:J0,onReconnectEnd:M0,onEdgeContextMenu:Cn,onEdgeDoubleClick:sn,onEdgeMouseEnter:Mn,onEdgeMouseMove:sr,onEdgeMouseLeave:lr,reconnectRadius:dr=10,onNodesChange:ur,onEdgesChange:fr,noDragClassName:Yt=c(1946),noWheelClassName:Wx="nowheel",noPanClassName:Qn=c(864),fitView:Ut,fitViewOptions:Ot,connectOnClick:Xx,attributionPosition:Zx,proOptions:Kx,defaultEdgeOptions:Rx,elevateNodesOnSelect:Jx=!0,elevateEdgesOnSelect:Gt=!1,disableKeyboardA11y:ln=!1,autoPanOnConnect:Bn,autoPanOnNodeDrag:br,autoPanSpeed:_0,connectionRadius:_x,isValidConnection:Fx,onError:Ht,style:hr,id:$n,nodeDragThreshold:gr,connectionDragThreshold:yr,viewport:mr,onViewportChange:Qx,width:$x,height:Tt,colorMode:eo=c(510),debug:Vt,onScroll:k,ariaLabelConfig:S,zIndexMode:Z="basic",...J},F){const G=c,K=$n||"1",de=s2(eo),re=D[G(660)](xe=>{xe[G(1274)].scrollTo({top:0,left:0,behavior:"instant"}),k?.(xe)},[k]);return s[G(827)]("div",{"data-testid":G(1507),...J,onScroll:re,style:{...hr,...N3},ref:F,className:e0(["react-flow",x,de]),id:$n,role:G(1244),children:s.jsxs(S3,{nodes:e,edges:n,width:$x,height:Tt,fitView:Ut,fitViewOptions:Ot,minZoom:Ge,maxZoom:Pe,nodeOrigin:ce,nodeExtent:Te,zIndexMode:Z,children:[s.jsx(c2,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:h,onConnectStart:w,onConnectEnd:b,onClickConnectStart:v,onClickConnectEnd:M,nodesDraggable:Le,autoPanOnNodeFocus:Me,nodesConnectable:ke,nodesFocusable:oe,edgesFocusable:Be,edgesReconnectable:te,elementsSelectable:R,elevateNodesOnSelect:Jx,elevateEdgesOnSelect:Gt,minZoom:Ge,maxZoom:Pe,nodeExtent:Te,onNodesChange:ur,onEdgesChange:fr,snapToGrid:j,snapGrid:q,connectionMode:_,translateExtent:Ae,connectOnClick:Xx,defaultEdgeOptions:Rx,fitView:Ut,fitViewOptions:Ot,onNodesDelete:O,onEdgesDelete:Y,onDelete:T,onNodeDragStart:U,onNodeDrag:H,onNodeDragStop:W,onSelectionDrag:L,onSelectionDragStart:V,onSelectionDragStop:B,onMove:l,onMoveStart:f,onMoveEnd:g,noPanClassName:Qn,nodeOrigin:ce,rfId:K,autoPanOnConnect:Bn,autoPanOnNodeDrag:br,autoPanSpeed:_0,onError:Ht,connectionRadius:_x,isValidConnection:Fx,selectNodesOnDrag:le,nodeDragThreshold:gr,connectionDragThreshold:yr,onBeforeDelete:A,debug:Vt,ariaLabelConfig:S,zIndexMode:Z}),s.jsx(B3,{onInit:d,onNodeClick:a,onEdgeClick:u,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:C,onNodeContextMenu:z,onNodeDoubleClick:I,nodeTypes:r,edgeTypes:i,connectionLineType:Q,connectionLineStyle:$,connectionLineComponent:ne,connectionLineContainerStyle:ie,selectionKeyCode:ye,selectionOnDrag:Ce,selectionMode:fe,deleteKeyCode:he,multiSelectionKeyCode:be,panActivationKeyCode:ee,zoomActivationKeyCode:pe,onlyRenderVisibleElements:se,defaultViewport:Ne,translateExtent:Ae,minZoom:Ge,maxZoom:Pe,preventScrolling:He,zoomOnScroll:Ye,zoomOnPinch:a0,zoomOnDoubleClick:i0,panOnScroll:Re,panOnScrollSpeed:Qe,panOnScrollMode:n0,panOnDrag:p0,onPaneClick:z0,onPaneMouseEnter:h0,onPaneMouseMove:s0,onPaneMouseLeave:l0,onPaneScroll:G0,onPaneContextMenu:H0,paneClickDistance:R0,nodeClickDistance:g0,onSelectionContextMenu:N,onSelectionStart:E,onSelectionEnd:P,onReconnect:Je,onReconnectStart:J0,onReconnectEnd:M0,onEdgeContextMenu:Cn,onEdgeDoubleClick:sn,onEdgeMouseEnter:Mn,onEdgeMouseMove:sr,onEdgeMouseLeave:lr,reconnectRadius:dr,defaultMarkerColor:je,noDragClassName:Yt,noWheelClassName:Wx,noPanClassName:Qn,rfId:K,disableKeyboardA11y:ln,nodeExtent:Te,viewport:mr,onViewportChange:Qx}),s[G(827)](o2,{onSelectionChange:X}),T0,s.jsx($b,{proOptions:Kx,position:Zx}),s[G(827)](Qb,{rfId:K,disableKeyboardA11y:ln})]})})}var I3=Pc(k3);function P3(e){const n=c,[t,o]=D.useState(e),x=D[n(660)](r=>o(i=>Lc(r,i)),[]);return[t,o,x]}function A3(e){const n=c,[t,o]=D[n(325)](e),x=D[n(660)](r=>o(i=>Sc(r,i)),[]);return[t,o,x]}function E3({dimensions:e,lineWidth:n,variant:t,className:o}){const x=c;return s[x(827)](x(1449),{strokeWidth:n,d:"M"+e[0]/2+x(526)+e[1]+x(571)+e[1]/2+" H"+e[0],className:e0([x(1761),t,o])})}function j3({radius:e,className:n}){const t=c;return s[t(827)](t(661),{cx:e,cy:e,r:e,className:e0(["react-flow__background-pattern",t(1983),n])})}var an;(function(e){const n=c;e[n(1371)]="lines",e[n(628)]=n(1983),e[n(1011)]=n(237)})(an||(an={}));const Y3={[an[c(628)]]:1,[an[c(1371)]]:1,[an[c(1011)]]:6},U3=e=>({transform:e[c(1142)],patternId:c(1887)+e[c(1785)]});function bs({id:e,variant:n=an[c(628)],gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:a,style:u,className:d,patternClassName:l}){const f=c,g=D[f(671)](null),{transform:h,patternId:w}=Ue(U3,qe),b=o||Y3[n],v=n===an.Dots,M=n===an[f(1011)],m=Array[f(454)](t)?t:[t,t],y=[m[0]*h[2]||1,m[1]*h[2]||1],C=b*h[2],z=Array[f(454)](r)?r:[r,r],I=M?[C,C]:y,U=[z[0]*h[2]||1+I[0]/2,z[1]*h[2]||1+I[1]/2],H=""+w+(e||"");return s[f(1149)](f(804),{className:e0([f(1281),d]),style:{...u,...Ox,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:g,"data-testid":f(1930),children:[s[f(827)]("pattern",{id:H,x:h[0]%y[0],y:h[1]%y[1],width:y[0],height:y[1],patternUnits:f(1148),patternTransform:f(1005)+U[0]+",-"+U[1]+")",children:v?s.jsx(j3,{radius:C/2,className:l}):s[f(827)](E3,{dimensions:I,lineWidth:x,variant:n,className:l})}),s[f(827)](f(698),{x:"0",y:"0",width:"100%",height:f(1216),fill:f(1801)+H+")"})]})}bs[c(1038)]="Background";const O3=D.memo(bs);function G3(){const e=c;return s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1587),children:s[e(827)](e(1449),{d:e(717)})})}function H3(){const e=c;return s.jsx(e(804),{xmlns:e(1457),viewBox:"0 0 32 5",children:s[e(827)](e(1449),{d:e(940)})})}function T3(){const e=c;return s.jsx(e(804),{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:s[e(827)](e(1449),{d:e(1938)})})}function V3(){const e=c;return s[e(827)](e(804),{xmlns:e(1457),viewBox:"0 0 25 32",children:s[e(827)](e(1449),{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.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.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function q3(){const e=c;return s[e(827)](e(804),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(239),children:s.jsx(e(1449),{d:e(644)})})}function Tx({children:e,className:n,...t}){const o=c;return s[o(827)]("button",{type:"button",className:e0([o(1088),n]),...t,children:e})}const W3=e=>({isInteractive:e[c(888)]||e.nodesConnectable||e[c(1375)],minZoomReached:e[c(1142)][2]<=e[c(1575)],maxZoomReached:e.transform[2]>=e[c(2006)],ariaLabelConfig:e[c(1284)]});function hs({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:u,className:d,children:l,position:f="bottom-left",orientation:g=c(1331),"aria-label":h}){const w=c,b=We(),{isInteractive:v,minZoomReached:M,maxZoomReached:m,ariaLabelConfig:y}=Ue(W3,qe),{zoomIn:C,zoomOut:z,fitView:I}=or(),U=()=>{C(),r?.()},H=()=>{z(),i?.()},W=()=>{I(x),a?.()},O=()=>{b[_0x1172(667)]({nodesDraggable:!v,nodesConnectable:!v,elementsSelectable:!v}),u?.(!v)},Y=w(g==="horizontal"?201:1331);return s[w(1149)](Yx,{className:e0([w(495),Y,d]),position:f,style:e,"data-testid":w(787),"aria-label":h??y["controls.ariaLabel"],children:[n&&s[w(1149)](s.Fragment,{children:[s[w(827)](Tx,{onClick:U,className:w(973),title:y[w(674)],"aria-label":y[w(674)],disabled:m,children:s[w(827)](G3,{})}),s[w(827)](Tx,{onClick:H,className:w(427),title:y[w(841)],"aria-label":y["controls.zoomOut.ariaLabel"],disabled:M,children:s[w(827)](H3,{})})]}),t&&s.jsx(Tx,{className:"react-flow__controls-fitview",onClick:W,title:y[w(684)],"aria-label":y[w(684)],children:s[w(827)](T3,{})}),o&&s[w(827)](Tx,{className:w(1908),onClick:O,title:y[w(2021)],"aria-label":y[w(2021)],children:v?s.jsx(q3,{}):s[w(827)](V3,{})}),l]})}hs[c(1038)]=c(1086);const X3=D.memo(hs);function Z3({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:a,strokeWidth:u,className:d,borderRadius:l,shapeRendering:f,selected:g,onClick:h}){const{background:w,backgroundColor:b}=r||{},v=i||w||b;return s.jsx("rect",{className:e0(["react-flow__minimap-node",{selected:g},d]),x:n,y:t,rx:l,ry:l,width:o,height:x,style:{fill:v,stroke:a,strokeWidth:u},shapeRendering:f,onClick:h?M=>h(M,e):void 0})}const K3=D.memo(Z3),R3=e=>e[c(376)][c(1461)](n=>n.id),cr=e=>e instanceof Function?e:()=>e;function J3({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=K3,onClick:i}){const a=c,u=Ue(R3,qe),d=cr(n),l=cr(e),f=cr(t),g=typeof window>"u"||window[a(1986)]?a(1021):"geometricPrecision";return s[a(827)](s[a(895)],{children:u[a(1461)](h=>s[a(827)](F3,{id:h,nodeColorFunc:d,nodeStrokeColorFunc:l,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:g},h))})}function _3({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:u}){const d=c,{node:l,x:f,y:g,width:h,height:w}=Ue(b=>{const v=_0x1172,M=b.nodeLookup[v(750)](e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const m=M[v(465)][v(406)],{x:y,y:C}=M[v(465)][v(868)],{width:z,height:I}=K0(m);return{node:m,x:y,y:C,width:z,height:I}},qe);return!l||l[d(614)]||!Da(l)?null:s[d(827)](a,{x:f,y:g,width:h,height:w,style:l[d(183)],selected:!!l[d(1198)],className:o(l),color:n(l),borderRadius:x,strokeColor:t(l),strokeWidth:r,shapeRendering:i,onClick:u,id:l.id})}const F3=D[c(723)](_3);var Q3=D[c(723)](J3);const $3=200,eh=150,nh=e=>!e[c(614)],th=e=>{const n=c,t={x:-e[n(1142)][0]/e[n(1142)][2],y:-e[n(1142)][1]/e[n(1142)][2],width:e[n(1909)]/e[n(1142)][2],height:e.height/e[n(1142)][2]};return{viewBB:t,boundingRect:e[n(615)][n(313)]>0?Ca(Nt(e.nodeLookup,{filter:nh}),t):t,rfId:e[n(1785)],panZoom:e.panZoom,translateExtent:e[n(1704)],flowWidth:e[n(1909)],flowHeight:e[n(784)],ariaLabelConfig:e[n(1284)]}},xh=c(678);function gs({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:u,maskColor:d,maskStrokeColor:l,maskStrokeWidth:f,position:g=c(740),onClick:h,onNodeClick:w,pannable:b=!1,zoomable:v=!1,ariaLabel:M,inversePan:m,zoomStep:y=1,offsetScale:C=5}){const z=c,I=We(),U=D.useRef(null),{boundingRect:H,viewBB:W,rfId:O,panZoom:Y,translateExtent:T,flowWidth:X,flowHeight:V,ariaLabelConfig:L}=Ue(th,qe),B=e?.[z(1909)]??$3,N=e?.height??eh,E=H[z(1909)]/B,P=H[z(784)]/N,A=Math[z(879)](E,P),_=A*B,Q=A*N,$=C*A,ne=H.x-(_-H.width)/2-$,ie=H.y-(Q-H[z(784)])/2-$,he=_+$*2,ye=Q+$*2,Ce=xh+"-"+O,fe=D[z(671)](0),ee=D[z(671)]();fe[z(1521)]=A,D[z(1079)](()=>{const q=z;if(U.current&&Y)return ee[q(1521)]=mb({domNode:U[q(1521)],panZoom:Y,getTransform:()=>I[q(724)]()[q(1142)],getViewScale:()=>fe[q(1521)]}),()=>{ee[q(1521)]?.destroy()}},[Y]),D.useEffect(()=>{const q=z;ee[q(1521)]?.[q(1443)]({translateExtent:T,width:X,height:V,inversePan:m,pannable:b,zoomStep:y,zoomable:v})},[b,v,m,y,T,X,V]);const be=h?q=>{const se=z,[le,Le]=ee.current?.[se(594)](q)||[0,0];h(q,{x:le,y:Le})}:void 0,pe=w?D.useCallback((q,se)=>{const le=z,Le=I[le(724)]().nodeLookup[le(750)](se)[le(465)].userNode;w(q,Le)},[]):void 0,j=M??L[z(1192)];return s[z(827)](Yx,{position:g,style:{...e,"--xy-minimap-background-color-props":typeof u=="string"?u:void 0,"--xy-minimap-mask-background-color-props":typeof d=="string"?d:void 0,"--xy-minimap-mask-stroke-color-props":typeof l=="string"?l:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===z(181)?f*A:void 0,"--xy-minimap-node-background-color-props":typeof o===z(1117)?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===z(1117)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===z(181)?i:void 0},className:e0([z(257),n]),"data-testid":z(203),children:s[z(1149)](z(804),{width:B,height:N,viewBox:ne+" "+ie+" "+he+" "+ye,className:z(1967),role:"img","aria-labelledby":Ce,ref:U,onClick:be,children:[j&&s[z(827)](z(212),{id:Ce,children:j}),s.jsx(Q3,{onClick:pe,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:a}),s[z(827)](z(1449),{className:z(1384),d:"M"+(ne-$)+","+(ie-$)+"h"+(he+$*2)+"v"+(ye+$*2)+"h"+(-he-$*2)+`z
10
+ M`+W.x+","+W.y+"h"+W[z(1909)]+"v"+W[z(784)]+"h"+-W[z(1909)]+"z",fillRule:z(1581),pointerEvents:z(408)})]})})}gs[c(1038)]="MiniMap";const oh=D[c(723)](gs),rh=e=>n=>e?""+Math.max(1/n[c(1142)][2],1):void 0,ih={[Jn[c(1713)]]:c(458),[Jn[c(1848)]]:c(740)};function ah({nodeId:e,position:n,variant:t=Jn.Handle,className:o,style:x=void 0,children:r,color:i,minWidth:a=10,minHeight:u=10,maxWidth:d=Number[c(1003)],maxHeight:l=Number[c(1003)],keepAspectRatio:f=!1,resizeDirection:g,autoScale:h=!0,shouldResize:w,onResizeStart:b,onResize:v,onResizeEnd:M}){const m=c,y=Oc(),C=typeof e===m(1117)?e:y,z=We(),I=D[m(671)](null),U=t===Jn[m(1848)],H=Ue(D[m(660)](rh(U&&h),[U,h]),qe),W=D[m(671)](null),O=n??ih[t];D[m(1079)](()=>{const T=m;if(!(!I.current||!C))return!W[T(1521)]&&(W.current=Pb({domNode:I.current,nodeId:C,getStoreItems:()=>{const X=T,{nodeLookup:V,transform:L,snapGrid:B,snapToGrid:N,nodeOrigin:E,domNode:P}=z[X(724)]();return{nodeLookup:V,transform:L,snapGrid:B,snapToGrid:N,nodeOrigin:E,paneDomNode:P}},onChange:(X,V)=>{const L=T,{triggerNodeChanges:B,nodeLookup:N,parentLookup:E,nodeOrigin:P}=z[L(724)](),A=[],_={x:X.x,y:X.y},Q=N[L(750)](C);if(Q&&Q[L(1004)]&&Q[L(294)]){const $=Q[L(1528)]??P,ne=X[L(1909)]??Q.measured[L(1909)]??0,ie=X[L(784)]??Q[L(911)][L(784)]??0,he={id:Q.id,parentId:Q[L(294)],rect:{width:ne,height:ie,...La({x:X.x??Q.position.x,y:X.y??Q[L(1980)].y},{width:ne,height:ie},Q[L(294)],N,$)}},ye=Ro([he],N,E,P);A[L(1699)](...ye),_.x=X.x?Math[L(879)]($[0]*ne,X.x):void 0,_.y=X.y?Math.max($[1]*ie,X.y):void 0}if(_.x!==void 0&&_.y!==void 0){const $={id:C,type:L(1980),position:{..._}};A[L(1699)]($)}if(X[L(1909)]!==void 0&&X[L(784)]!==void 0){const $=g?g===L(201)?L(1909):L(784):!0,ne={id:C,type:L(1424),resizing:!0,setAttributes:$,dimensions:{width:X[L(1909)],height:X.height}};A[L(1699)](ne)}for(const $ of V){const ne={...$,type:"position"};A[L(1699)](ne)}B(A)},onEnd:({width:X,height:V})=>{const L=T,B={id:C,type:L(1424),resizing:!1,dimensions:{width:X,height:V}};z[L(724)]()[L(448)]([B])}})),W[T(1521)][T(1443)]({controlPosition:O,boundaries:{minWidth:a,minHeight:u,maxWidth:d,maxHeight:l},keepAspectRatio:f,resizeDirection:g,onResizeStart:b,onResize:v,onResizeEnd:M,shouldResize:w}),()=>{const X=T;W[X(1521)]?.[X(1125)]()}},[O,a,u,d,l,f,b,v,M,w]);const Y=O[m(824)]("-");return s[m(827)]("div",{className:e0([m(527),m(1946),...Y,t,o]),ref:I,style:{...x,scale:H,...i&&{[m(U?229:2019)]:i}},children:r})}D.memo(ah);const ys=e=>Symbol[c(1721)]in e,ms=e=>c(255)in e,vs=(e,n)=>{const t=c,o=e instanceof Map?e:new Map(e[t(255)]()),x=n instanceof Map?n:new Map(n[t(255)]());if(o[t(313)]!==x[t(313)])return!1;for(const[r,i]of o)if(!x[t(363)](r)||!Object.is(i,x[t(750)](r)))return!1;return!0},ch=(e,n)=>{const t=c,o=e[Symbol[t(1721)]](),x=n[Symbol.iterator]();let r=o.next(),i=x[t(1096)]();for(;!r[t(1138)]&&!i[t(1138)];){if(!Object.is(r[t(867)],i.value))return!1;r=o[t(1096)](),i=x.next()}return!!r[t(1138)]&&!!i[t(1138)]};function sh(e,n){const t=c;return Object.is(e,n)?!0:typeof e!==t(1129)||e===null||typeof n!="object"||n===null||Object[t(1644)](e)!==Object[t(1644)](n)?!1:ys(e)&&ys(n)?ms(e)&&ms(n)?vs(e,n):ch(e,n):vs({entries:()=>Object.entries(e)},{entries:()=>Object[t(255)](n)})}const ws={inlineScript:c(1755),dataRequest:c(286),external:"外部方法",builtin:"内置动作"},lh=[{label:c(1374),value:c(596)},{label:c(972),value:"switchCanvas"}],dh=[{label:c(1778),value:c(1778)},{label:c(741),value:c(741)},{label:c(1583),value:c(1583)},{label:c(907),value:c(907)},{label:c(991),value:c(991)}];function ps(e,n,t){const o=c,x=t[o(1338)](i=>i[o(1562)]===e),r=x[o(546)];return x.map((i,a)=>{const u=o,d=n[u(957)](f=>f.id===i[u(916)]),l=d?.[u(269)];return{sourceId:i.source,sourceLabel:l?.[u(1865)]??i[u(916)],edgeIndex:a,totalIncoming:r}})}const uh=({data:e,id:n})=>{const t=c,{root:o}=o0(),x=Ue(D[t(660)](a=>ps(n,a[t(376)],a.edges)[t(1461)](({sourceId:u,sourceLabel:d})=>({sourceId:u,label:d})),[n]),sh),r=e[t(1272)][t(1968)]??t(516),i=r==="dataRequest"?e.eventBlock.dataRequestKey:r===t(1163)?e.eventBlock[t(1952)]:r===t(1859)?e[t(1272)].builtinId===t(596)?e.eventBlock.builtinId+": "+String(e[t(1272)].builtinConfig?.[t(1626)]??"")[t(1512)](0,24):e[t(1272)][t(1173)]==="switchCanvas"?"跳转: "+(o[t(1641)][t(957)](a=>a.id===e.eventBlock[t(1537)]?.[t(1023)])?.[t(1535)]??"未知画布"):e[t(1272)][t(1173)]:null;return s[t(1149)](t(1102),{className:t(520),children:[s[t(827)](Fn,{type:t(1562),position:De.Top,className:"!bg-blue-500"}),s[t(1149)](t(1102),{className:t(1065),children:[s[t(827)](t(1137),{className:"font-medium text-sm truncate",children:e[t(1865)]}),s[t(1149)](p[t(1844)],{size:t(1664),children:[s[t(827)](p.Button,{type:"text",size:t(1664),icon:s.jsx(ge[t(816)],{}),onClick:()=>e[t(2014)](n)}),s.jsx(p.Button,{type:t(1810),size:"small",danger:!0,icon:s[t(827)](ge[t(1357)],{}),onClick:()=>e.onDelete(n)})]})]}),s.jsx(t(1102),{className:t(1103),children:s.jsxs(p[t(679)],{color:r===t(516)?"default":r===t(1859)?"cyan":t(307),className:"!mr-0",children:[ws[r],i?t(335)+i:""]})}),s.jsxs(t(1102),{className:t(1264),children:[e[t(1272)][t(2012)]?.[t(546)]>0&&s.jsxs(t(1102),{children:[t(807),e[t(1272)][t(2012)][t(1461)](a=>a[t(1535)])[t(1926)](", ")]}),x[t(546)]>0&&s[t(1149)]("div",{className:t(1115),children:[t(1092),x[t(1461)](a=>s[t(1149)]("div",{className:"pl-1 border-l-2 border-amber-200",children:["←「",a[t(1865)],t(1341)]},a.sourceId))]})]}),s[t(827)](Fn,{type:t(916),position:De[t(653)],className:"!bg-blue-500"})]})},fh={eventBlock:uh},bh=Object[c(255)](ws)[c(1461)](([e,n])=>({label:n,value:e})),zs=[{label:"点击",value:"click"},{label:c(2001),value:c(1815)},{label:c(890),value:"mouseUp"},{label:"双击",value:"doubleClick"},{label:c(1670),value:c(285)},{label:c(1654),value:c(1218)},{label:c(812),value:c(1062)},{label:c(196),value:c(2025)},{label:"数据请求",value:c(1383)},{label:"外部事件",value:c(1163)}];function hh(e,n){const t=c,o={},x=[...e];return x[t(1161)]((r,i)=>{const a=t,u=n[a(2012)][i]?.[a(1535)]??(x.length===1?"prev":a(1019)+i);o[u]=a(557)+r[a(916)]}),o}function gh(e,n,t){const o=c;return t[e]?.[o(1535)]??(n===1?o(1019):"prev"+e)}const yh=[{label:c(1117),value:c(1117)},{label:c(181),value:c(181)},{label:c(1585),value:c(1585)},{label:c(1129),value:c(1129)},{label:c(1669),value:"any"}];function Cs(e){const n=c,t=zs.find(x=>x[n(867)]===e[n(1743)]),o=t?.[n(1865)]??e[n(1743)];if(e[n(1743)]==="external"){const x=(e[n(1593)]||"")[n(1280)]();return x?o+n(335)+x:o}return o}const mh=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=c,{nodes:r,eventFlow:i,externalHandlerCatalog:a,addEventBlock:u,upsertEventBlock:d,removeEventBlock:l,addEventRoot:f,updateEventRoot:g,root:h}=o0(),[w,b,v]=P3([]),[M,m,y]=A3([]),C=D[x(671)](w);C[x(1521)]=w;const[z,I]=D[x(325)](()=>o??null),[U,H]=D[x(325)](!1),[W]=p.Form[x(434)](),O=p.Form.useWatch("eventType",W),[Y,T]=D.useState(null),[X,V]=D[x(325)](!1),[L]=p[x(1987)][x(434)](),B=p[x(1987)].useWatch("executorType",L),N=p[x(1987)][x(479)]("builtinId",L),E=p[x(1987)].useWatch(x(2012),L),P=D.useMemo(()=>!X||!Y?[]:ps(Y.id,w,M),[X,Y,w,M]),A=D.useRef(()=>{}),_=D.useRef(()=>{});D[x(1079)](()=>{const j=x;if(X&&Y){const q=Y.builtinConfig??{},{outputs:se,...le}=Y;L.setFieldsValue({...le,executorType:Y[j(1968)]??j(516),builtinId:Y[j(1173)],inputs:Y[j(2012)]??[],builtinConfig:{content:String(q.content??""),level:String(q.level??j(1778)),duration:q[j(1630)]===void 0||q[j(1630)]===null?void 0:Number(q.duration)}})}},[X,Y,L]);const Q=D.useCallback(j=>{m(q=>Ua(j,q))},[m]),$=j=>{const q=x,se={bindNodeId:j[q(1105)],eventType:j[q(1743)],externalEventKey:j[q(1743)]===q(1163)?(j[q(1593)]||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0},le=f(se);I({...se,id:le}),W.resetFields(),H(!1),p[q(533)].success(q(1598))},ne=D.useCallback(j=>{const q=x;l(j),b(se=>se[q(1338)](le=>le.id!==j)),m(se=>se[q(1338)](le=>le[q(916)]!==j&&le[q(1562)]!==j))},[l,b,m]),ie=D[x(660)](j=>{const q=x,se=C[q(1521)][q(957)](Me=>Me.id===j)?.[q(269)]?.[q(1272)],le=i[q(1213)][q(957)](Me=>Me.id===j),Le=se??le;Le?(T({...Le,id:j}),V(!0)):p[q(533)].warning(q(969))},[i[x(1213)]]);A.current=ie,_[x(1521)]=ne,D[x(1079)](()=>{const j=x;if(e&&z){const q=z.flowData[j(376)][j(1461)](le=>({id:le.id,type:j(1272),position:le[j(1980)],data:{label:le[j(269)][j(1865)],eventBlock:le[j(269)][j(1272)],onEdit:Le=>A.current(Le),onDelete:Le=>_.current(Le)}})),se=z[j(1475)][j(1631)][j(1461)](le=>({id:le.id,source:le[j(916)],target:le.target}));b(q),m(se)}},[e,z,b,m]);const he=()=>{const j=x,q={name:j(1269),executorType:j(516),callback:j(1838),inputs:[],outputs:[]},se=u(q),le={...q,id:se},Le={id:se,type:j(1272),position:{x:100+w.length*50,y:100+w.length*30},data:{label:le[j(1535)],eventBlock:le,onEdit:Me=>A[j(1521)](Me),onDelete:Me=>_[j(1521)](Me)}};b(Me=>[...Me,Le])},ye=()=>{const j=x,q={name:j(184),executorType:"builtin",builtinId:j(596),builtinConfig:{content:j(780),level:j(1778)},callback:"return null;",inputs:[],outputs:[]},se=u(q),le={...q,id:se},Le={id:se,type:"eventBlock",position:{x:120+w[j(546)]*50,y:140+w[j(546)]*30},data:{label:le.name,eventBlock:le,onEdit:Me=>A[j(1521)](Me),onDelete:Me=>_[j(1521)](Me)}};b(Me=>[...Me,Le])},Ce=()=>{const j=x,q={name:j(972),executorType:j(1859),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:h[j(1641)][0]?.id||""},callback:j(1207),inputs:[],outputs:[]},se=u(q),le={...q,id:se},Le={id:se,type:"eventBlock",position:{x:120+w[j(546)]*50,y:140+w[j(546)]*30},data:{label:le[j(1535)],eventBlock:le,onEdit:Me=>A.current(Me),onDelete:Me=>_[j(1521)](Me)}};b(Me=>[...Me,Le])},fe=j=>{const q=x;if(!Y)return;const se=j[q(1968)]??Y[q(1968)]??q(516),le={name:j[q(1535)],callback:j[q(472)]??Y[q(472)],executorType:se,dataRequestKey:se==="dataRequest"?(j[q(1623)]||"")[q(1280)]():void 0,externalHandlerKey:se===q(1163)?(j[q(1952)]||"")[q(1280)]():void 0,builtinId:se===q(1859)?j[q(1173)]:void 0,builtinConfig:se==="builtin"&&j[q(1173)]==="antdMessage"?{content:String(j[q(1537)]?.[q(1626)]??"")[q(1280)](),level:j.builtinConfig?.[q(1636)]||q(1778),duration:j.builtinConfig?.[q(1630)]===null||j[q(1537)]?.[q(1630)]===void 0?void 0:Number(j[q(1537)][q(1630)])}:se===q(1859)&&j[q(1173)]==="switchCanvas"?{targetCanvasId:String(j[q(1537)]?.targetCanvasId??"").trim()}:void 0},Le=j[q(2012)]??[],Me=Le[q(1338)](oe=>oe?.[q(1535)]&&String(oe[q(1535)])[q(1280)]()),ke={...Y,...le,inputs:Me,outputs:[]};d(ke),b(oe=>oe.map(ce=>ce.id===Y.id?{...ce,data:{...ce.data,label:ke[q(1535)]||ce[q(269)][q(1865)],eventBlock:ke}}:ce)),V(!1),T(null),p[q(533)].success(q(2044))},ee=()=>{const j=x;if(!z)return;const q=w[j(1461)](le=>{const Le=j,Me=M[Le(1338)](ce=>ce[Le(1562)]===le.id),ke=le[Le(269)][Le(1272)],oe={...ke,outputs:[]};return{id:le.id,eventBlockId:le.id,position:le.position,inputs:Me.map(ce=>ce[Le(916)]),outputs:M[Le(1338)](ce=>ce[Le(916)]===le.id).map(ce=>ce.target),data:{label:le.data.label,eventBlock:oe,inputMapping:hh(Me,oe)}}}),se=M[j(1461)](le=>({id:le.id,source:le[j(916)],target:le[j(1562)]}));g(z.id,{flowData:{nodes:q,edges:se}}),Un[j(1417)]({...z,flowData:{nodes:q,edges:se}}),p[j(533)][j(741)]("事件流保存成功"),n()},be=D.useMemo(()=>r[x(1461)](j=>({label:j[x(1535)],value:j.id})),[r]),pe=D.useMemo(()=>t?i[x(1789)][x(1338)](j=>j[x(1105)]===t):i[x(1789)],[i[x(1789)],t]);return e?s[x(1149)](p[x(616)],{title:x(234),open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[z?s[x(1149)](x(1102),{className:x(1944),style:{height:700},children:[s.jsxs("div",{className:x(672),children:[s.jsx(p[x(1844)],{children:s.jsxs(x(1137),{className:x(954),children:["编辑: ",Cs(z)," →"," ",r[x(957)](j=>j.id===z[x(1105)])?.[x(1535)]]})}),s.jsxs(p.Space,{children:[s[x(827)](p[x(1071)],{icon:s[x(827)](ge[x(1676)],{}),onClick:he,children:x(635)}),s[x(827)](p[x(1071)],{icon:s[x(827)](ge[x(1676)],{}),onClick:ye,children:x(184)}),s.jsx(p.Button,{icon:s.jsx(ge.PlusOutlined,{}),onClick:Ce,children:x(972)}),s.jsx(p[x(1071)],{type:"primary",icon:s.jsx(ge[x(392)],{}),onClick:ee,children:"保存"}),s[x(827)](p[x(1071)],{icon:s[x(827)](ge.CloseOutlined,{}),onClick:()=>I(null),children:x(1126)})]})]}),s[x(827)](x(1102),{className:x(948),children:s[x(1149)](I3,{nodes:w,edges:M,onNodesChange:v,onEdgesChange:y,onConnect:Q,nodeTypes:fh,fitView:!0,children:[s.jsx(O3,{}),s[x(827)](X3,{}),s[x(827)](oh,{})]})})]}):s.jsxs(x(1102),{className:x(1949),children:[s[x(1149)](x(1102),{className:x(625),children:[s[x(827)]("h3",{className:x(1070),children:x(651)}),s[x(827)](p[x(1071)],{type:"primary",icon:s[x(827)](ge.PlusOutlined,{}),onClick:()=>H(!0),children:x(979)})]}),s[x(827)](p[x(1337)],{dataSource:pe,renderItem:j=>s[x(827)](p.List.Item,{actions:[s[x(827)](p[x(1071)],{type:x(1303),icon:s.jsx(ge[x(816)],{}),onClick:()=>I(j),children:"编辑"},x(248))],children:s[x(827)](p[x(1337)][x(1139)].Meta,{title:s[x(1149)](p[x(1844)],{children:[s[x(1149)](x(1137),{children:[x(1360),Cs(j)]}),s[x(827)](p.Tag,{color:x(245),children:r[x(957)](q=>q.id===j[x(1105)])?.[x(1535)]||j[x(1105)]})]}),description:x(328)+j[x(1475)][x(376)][x(546)]+x(305)+j[x(1475)][x(1631)].length})}),locale:{emptyText:s.jsx(p[x(1942)],{description:x(464)})}}),s[x(827)](p[x(616)],{title:x(979),open:U,onCancel:()=>{W.resetFields(),H(!1)},footer:null,afterOpenChange:j=>{j&&(W[x(959)](),t&&W.setFieldsValue({bindNodeId:t}))},children:s[x(1149)](p.Form,{form:W,onFinish:$,layout:x(1331),children:[s[x(827)](p[x(1987)][x(1139)],{name:"bindNodeId",label:x(547),rules:[{required:!0,message:x(523)}],initialValue:t,children:s[x(827)](p[x(244)],{options:be,placeholder:x(242),disabled:!!t})}),s.jsx(p[x(1987)][x(1139)],{name:x(1743),label:x(1975),rules:[{required:!0,message:x(292)}],children:s[x(827)](p[x(244)],{options:zs,placeholder:x(574)})}),O===x(1163)&&s[x(827)](p.Form[x(1139)],{name:x(1593),label:"外部事件标识",rules:[{required:!0,message:x(1399)},{validator:(j,q)=>(q||"")[x(1280)]()?Promise.resolve():Promise.reject(new Error(x(1751)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:s[x(827)](p[x(1515)],{placeholder:x(849)})}),s[x(827)](p.Form[x(1139)],{className:"mb-0",children:s[x(1149)](p[x(1844)],{className:x(1823),children:[s[x(827)](p[x(1071)],{onClick:()=>{W.resetFields(),H(!1)},children:"取消"}),s[x(827)](p[x(1071)],{type:"primary",htmlType:x(900),children:"创建"})]})})]})})]}),s.jsx(p[x(616)],{title:"编辑事件块",open:X,onCancel:()=>{V(!1),T(null)},footer:null,destroyOnClose:!0,children:s[x(1149)](p.Form,{form:L,onFinish:fe,layout:x(1331),children:[s[x(827)](p[x(1987)][x(1139)],{name:"name",label:"名称",rules:[{required:!0,message:"请填写名称"}],children:s[x(827)](p[x(1515)],{})}),s[x(827)](p[x(1987)][x(1139)],{name:"executorType",label:x(332),rules:[{required:!0,message:"请选择执行方式"}],children:s[x(827)](p[x(244)],{options:bh,placeholder:"不同方式对应下方不同配置项"})}),B===x(1859)&&s.jsx(p[x(1987)][x(1139)],{name:x(1173),label:"内置动作",rules:[{required:!0,message:x(1648)}],children:s[x(827)](p[x(244)],{options:lh,placeholder:"选择具体内置能力"})}),B===x(1859)&&N===x(596)&&s[x(1149)](s[x(895)],{children:[s.jsx(p[x(1987)][x(1139)],{name:["builtinConfig",x(1626)],label:x(1420),rules:[{required:!0,message:x(1759)}],extra:x(1151),children:s[x(827)](p[x(1515)][x(652)],{rows:3,placeholder:x(1911)})}),s[x(827)](p.Form.Item,{name:[x(1537),x(1636)],label:x(1048),children:s[x(827)](p[x(244)],{options:dh})}),s[x(827)](p[x(1987)].Item,{name:[x(1537),x(1630)],label:x(1397),extra:x(801),children:s[x(827)](p[x(480)],{min:0,step:.5,style:{width:x(1216)},placeholder:"默认"})})]}),B==="builtin"&&N==="switchCanvas"&&s[x(827)](p.Form.Item,{name:["builtinConfig","targetCanvasId"],label:x(639),rules:[{required:!0,message:x(839)}],children:s[x(827)](p[x(244)],{placeholder:x(1122),options:h[x(1641)][x(1461)](j=>({value:j.id,label:j[x(1535)]}))})}),B===x(1383)&&s[x(827)](p.Form.Item,{name:x(1623),label:x(578),rules:[{required:!0,message:x(1565)},{validator:(j,q)=>(q||"")[x(1280)]()?Promise[x(737)]():Promise[x(744)](new Error("标识不能为空"))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:s[x(827)](p.Input,{placeholder:"例如:loadTrend、fetchDeviceList"})}),B===x(1163)&&s[x(827)](p.Form[x(1139)],{name:x(1952),label:x(1746),rules:[{required:!0,message:x(1369)},{validator:(j,q)=>(q||"")[x(1280)]()?Promise[x(737)]():Promise[x(744)](new Error(x(1751)))}],extra:a[x(546)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:a[x(546)]>0?s[x(827)](p[x(244)],{showSearch:!0,optionFilterProp:"label",allowClear:!0,placeholder:x(283),options:a[x(1461)](j=>({value:j[x(1712)],label:j.label,title:j.description?j[x(1865)]+x(923)+j[x(1323)]:j[x(1865)]+" ("+j[x(1712)]+")"})),onInputKeyDown:j=>{j[x(1712)]===" "&&j.stopPropagation()}}):s[x(827)](p[x(1515)],{placeholder:x(1196)})}),B==="inlineScript"&&s[x(827)](p[x(1987)][x(1139)],{name:x(472),label:x(1247),rules:[{validator:(j,q)=>{const se=x;return typeof q===se(1117)&&q[se(1280)]()?Promise[se(737)]():Promise.reject(new Error(se(393)))}}],children:s[x(827)](p.Input.TextArea,{rows:6,placeholder:x(1046)})}),P.length>0&&s.jsxs(x(1102),{className:"mb-4 p-3 bg-amber-50 rounded border border-amber-100 text-sm",children:[s[x(827)](x(1102),{className:x(665),children:x(794)}),s[x(827)]("ul",{className:"list-none space-y-2 m-0 p-0",children:P[x(1461)](j=>{const q=x,se=E??Y?.[q(2012)]??[],le=gh(j[q(560)],j[q(1260)],se);return s[q(1149)]("li",{className:q(721),children:[s.jsxs("div",{className:q(580),children:["第 ",j[q(560)]+1,q(1936),j[q(365)],q(623),s.jsx(q(303),{children:q(1195)})," →"," ",s.jsxs(q(1606),{className:q(1113),children:[q(1963),le]})]}),s[q(1149)](q(1102),{className:q(2034),children:[q(2005),j.edgeIndex+1,q(1634)]})]},j[q(1958)])})})]}),s[x(827)](x(1102),{className:"font-medium text-gray-800 mb-2",children:x(952)}),s.jsxs(x(1102),{className:"text-xs text-gray-500 mb-2",children:[x(720)," ",s.jsx(x(1606),{children:x(712)}),x(1336),s[x(827)](x(1606),{children:x(1941)}),"、",s[x(827)](x(1606),{children:"args.prev1"}),"…"]}),s[x(827)](p[x(1987)][x(1337)],{name:x(2012),children:(j,{add:q,remove:se})=>s[x(1149)](s[x(895)],{children:[j[x(1461)](({key:le,name:Le,...Me})=>s[x(1149)](p.Space,{align:x(1445),wrap:!0,className:x(1012),children:[s[x(827)](p[x(1987)].Item,{...Me,name:[Le,x(1535)],rules:[{required:!0,message:"名称"}],children:s[x(827)](p[x(1515)],{placeholder:x(673),style:{width:140}})}),s[x(827)](p.Form.Item,{...Me,name:[Le,x(939)],initialValue:x(1669),children:s.jsx(p[x(244)],{options:yh,style:{width:100}})}),s[x(827)](ge.MinusCircleOutlined,{className:x(797),onClick:()=>se(Le)})]},le)),s.jsx(p[x(1071)],{type:"dashed",onClick:()=>q({type:x(1669)}),block:!0,icon:s[x(827)](ge[x(1676)],{}),children:x(1831)})]})}),s[x(827)](p[x(1987)][x(1139)],{className:x(1312),children:s[x(1149)](p.Space,{className:x(1823),children:[s.jsx(p[x(1071)],{onClick:()=>{V(!1),T(null)},children:"取消"}),s.jsx(p[x(1071)],{type:x(1303),htmlType:x(900),children:"保存"})]})})]})})]}):null},Vx={click:"点击",mouseDown:c(2001),mouseUp:c(890),doubleClick:"双击",mouseOver:"鼠标移入",mouseLeave:c(1654),mouseEnter:"鼠标进入",contextMenu:"右键菜单",dataRequest:c(456),external:"外部事件"};function vh(e){const n=c;if(e.eventType===n(1163)){const t=(e.externalEventKey||"")[n(1280)]();return t?Vx[n(1163)]+" · "+t:Vx[n(1163)]}return Vx[e[n(1743)]]}const wh=Object[c(255)](Vx).map(([e,n])=>({label:n,value:e})),ph=({nodeId:e})=>{const n=c,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=o0(),[i,a]=D[n(325)](!1),[u,d]=D[n(325)](null),[l,f]=D[n(325)](!1),[g]=p[n(1987)][n(434)](),h=p.Form.useWatch(n(1743),g),w=D[n(1826)](()=>{const y=n;return t[y(1789)][y(1338)](C=>C[y(1105)]===e)},[t.eventRoots,e]),b=y=>{const C=n,z={bindNodeId:e,eventType:y[C(1743)],externalEventKey:y[C(1743)]===C(1163)?(y.externalEventKey||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(z),g.resetFields(),f(!1)},v=y=>{d(y),a(!0)},M=(y,C)=>{x(y.id,{enabled:C})},m=y=>{r(y)};return s[n(1149)](n(1102),{children:[s[n(1149)](n(1102),{className:n(625),children:[s[n(827)]("h4",{className:n(195),children:n(1869)}),s[n(827)](p.Button,{type:n(1303),size:n(1664),icon:s.jsx(ge[n(1676)],{}),onClick:()=>f(!0),children:n(421)})]}),s.jsx(p.List,{dataSource:w,renderItem:y=>s[n(827)](p[n(1337)][n(1139)],{actions:[s[n(827)](p[n(1071)],{type:n(1810),size:n(1664),icon:s[n(827)](ge[n(816)],{}),onClick:()=>v(y)},n(248)),s[n(827)](p.Popconfirm,{title:"确认删除",description:n(777),onConfirm:()=>m(y.id),children:s.jsx(p[n(1071)],{type:n(1810),danger:!0,size:"small",icon:s.jsx(ge[n(1357)],{})})},n(2028))],children:s[n(827)](p[n(1337)][n(1139)][n(223)],{title:s[n(1149)](p.Space,{children:[s[n(827)](p.Tag,{color:y[n(1412)]?"blue":n(1744),children:vh(y)}),s.jsxs("span",{className:n(591),children:[y.flowData[n(376)][n(546)],n(862)]})]}),description:s.jsxs(p[n(1844)],{size:20,children:[s[n(1149)](p[n(1844)],{size:8,align:n(1235),children:[s[n(827)](n(1137),{className:n(345)+(y[n(1412)]?"text-green-600":n(2037)),children:y[n(1412)]?n(220):n(1771)}),s.jsx(p[n(339)],{checked:y[n(1412)],size:"small",title:n(1130),onChange:C=>M(y,C)})]}),s[n(1149)](p[n(1844)],{size:8,align:"center",children:[s.jsx(n(1137),{className:n(345)+(y[n(1757)]!==!1?n(450):n(2037)),children:y[n(1757)]!==!1?n(1625):n(1209)}),s[n(827)](p[n(339)],{checked:y[n(1757)]!==!1,size:n(1664),title:"复制节点时是否连带复制本事件流",onChange:C=>x(y.id,{copyOnDuplicate:C})})]})]})})}),locale:{emptyText:s[n(827)](p.Empty,{image:p[n(1942)][n(1840)],description:n(1177)})}}),s[n(827)](p[n(616)],{title:n(421),open:l,onCancel:()=>{g[n(959)](),f(!1)},footer:null,afterOpenChange:y=>{y&&g[n(959)]()},children:s[n(1149)](p.Form,{form:g,onFinish:b,layout:"vertical",children:[s[n(827)](p[n(1987)][n(1139)],{name:"eventType",label:"触发方式",rules:[{required:!0,message:n(292)}],children:s[n(827)](p[n(244)],{options:wh,placeholder:"选择触发方式(DOM / 数据请求 / 外部)"})}),h===n(1163)&&s[n(827)](p[n(1987)][n(1139)],{name:n(1593),label:"外部事件标识",rules:[{required:!0,message:n(1399)},{validator:(y,C)=>(C||"")[n(1280)]()?Promise[n(737)]():Promise[n(744)](new Error(n(1751)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:s[n(827)](p.Input,{placeholder:n(1228)})}),s[n(827)](p.Form[n(1139)],{className:n(272),children:s[n(1149)](p[n(1844)],{className:n(1823),children:[s[n(827)](p[n(1071)],{onClick:()=>f(!1),children:"取消"}),s[n(827)](p.Button,{type:n(1303),htmlType:n(900),children:"创建"})]})})]})}),s[n(827)](mh,{open:i,onClose:()=>{a(!1),d(null)},bindNodeId:e,editingRoot:u},u?.id??"closed-"+e)]})},{Panel:cn}=p[c(1077)],{TabPane:qx}=p[c(1769)],{TextArea:zh}=p[c(1515)],Ms=({defaultTestData:e})=>{const n=c,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:u,selectedStatusId:d,selectStatus:l}=o0(),[f]=p[n(1987)][n(434)](),[g,h]=D.useState(n(1724)),[w,b]=D[n(325)](!1),[v,M]=D.useState(null),[m,y]=D.useState({}),C=D.useMemo(()=>t.find(B=>B.id===o),[t,o]),z=C?.contentInfo[n(1996)]||[],I=B=>{const N=n;o&&(B.normalStyle&&r(o,B[N(2032)]),B[N(1535)]!==void 0&&x(o,{name:B[N(1535)]}),B[N(977)]&&i(o,B.controlInfo))};console.log(o,"selectedNodeId",C),D[n(1079)](()=>{const B=n;C&&C&&(f[B(432)]({name:C[B(1535)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:B(1261),borderRadius:0,opacity:1,...C[B(2032)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...C[B(977)]}}),l(null))},[C,l,f]);const U=()=>{const B=n;!o||!C||(M(B(648)),b(!0))},H=B=>{const N=n;if(!o||!C)return;const E={id:Ie.nanoid(),name:B.name+N(1175)+(z[N(546)]+1),expression:z[N(546)]===0?N(1794):N(1817),material:{...B,id:Ie.nanoid()},boundDatasetId:null};if(v===N(648)){const P=[...z,E];a(o,{statusList:P})}else if(v){const P=z.map(A=>{const _=N;return A.id===v?{...A,material:{...B,id:Ie[_(349)]()}}:A});a(o,{statusList:P})}b(!1),M(null)},W=B=>{const N=n;if(!o||!C)return;const E=C[N(314)][N(1996)]?.[N(1338)](P=>P.id!==B)||[];a(o,{statusList:E}),d===B&&l(null)},O=(B,N)=>{const E=n;if(!o||!C)return;const P=C.contentInfo[E(1996)]?.map(A=>A.id===B?{...A,...N}:A)||[];a(o,{statusList:P})},Y=B=>{const N=n;if(!o||!C)return;const E={...B,id:Ie[N(349)](),name:B.name+N(823),expression:N(1817)},P=[...z,E];a(o,{statusList:P})},T=(B,N)=>{const E=n;if(!o||!C)return;const P=z[E(936)](_=>_.id===B);if(P===-1)return;const A=[...z];N==="up"&&P>0?[A[P],A[P-1]]=[A[P-1],A[P]]:N===E(1242)&&P<A.length-1&&([A[P],A[P+1]]=[A[P+1],A[P]]),a(o,{statusList:A})},X=B=>{M(B),b(!0)},V=(B,N)=>{const E=n,P=N[E(1402)]||{},A=P.startX??0,_=P[E(595)]??0,Q=P[E(1159)]??100,$=P[E(878)]??0,ne=Math[E(879)]((P[E(1037)]||P[E(463)]||2)*2,4),ie=Math[E(984)](A,Q),he=Math[E(984)](_,$),ye=Math[E(879)](A,Q),Ce=Math[E(879)](_,$),fe=Math[E(879)](ye-ie,ne),ee=Math.max(Ce-he,ne),be=B.normalStyle.x||0,pe=B.normalStyle.y||0;return{material:{...N,config:{...P,startX:A-ie,startY:_-he,endX:Q-ie,endY:$-he}},box:{x:be+ie,y:pe+he,width:fe,height:ee}}},L=(B,N)=>{const E=n;if(!o||!C)return;const{list:P,lineBox:A}=z[E(1905)]((_,Q)=>{const $=E;if(Q.id!==B)return _[$(1389)][$(1699)](Q),_;let ne;if(Q[$(1737)].type===$(976)&&$(1402)in N&&N.config!==void 0){const ie=Q[$(1737)],he=N[$(1402)];ne={...ie,...N,config:{...ie.config||{},...he}}}else ne={...Q[$(1737)],...N};if(ne.type===$(976)){const{material:ie,box:he}=V(C,ne);return _.list[$(1699)]({...Q,material:ie}),_[$(1861)]=he,_}return _[$(1389)][$(1699)]({...Q,material:ne}),_},{list:[],lineBox:null});A!==null?x(o,{normalStyle:{...C.normalStyle,x:A.x,y:A.y,width:A[E(1909)],height:A[E(784)]},contentInfo:{...C.contentInfo,statusList:P}}):a(o,{statusList:P})};return C?s[n(1149)](n(1102),{className:n(821),children:[s.jsxs(n(1102),{className:n(1063),children:[s[n(827)]("h3",{className:n(1660),children:"属性面板"}),s[n(827)]("p",{className:n(1368),children:"编辑选中节点的属性"})]}),s[n(827)](n(1102),{className:n(1889),children:s[n(1149)](p[n(1769)],{activeKey:g,onChange:h,children:[s[n(827)](qx,{tab:"基础",children:s[n(1149)](p.Form,{form:f,layout:"vertical",onValuesChange:I,initialValues:{name:C[n(1535)]},children:[s[n(827)](p[n(1987)][n(1139)],{label:n(372),name:"name",children:s[n(827)](p.Input,{placeholder:n(682)})}),s[n(1149)](p[n(1077)],{ghost:!0,defaultActiveKey:["position",n(313),"style"],children:[s[n(827)](cn,{header:"位置",children:s[n(1149)](p[n(1844)],{children:[s[n(827)](p.Form[n(1139)],{label:"X",name:[n(2032),"x"],children:s[n(827)](p[n(480)],{})}),s[n(827)](p.Form[n(1139)],{label:"Y",name:["normalStyle","y"],children:s.jsx(p[n(480)],{})})]})},n(1980)),s[n(827)](cn,{header:"尺寸",children:s[n(1149)](p[n(1844)],{children:[s[n(827)](p[n(1987)][n(1139)],{label:"宽度",name:[n(2032),n(1909)],children:s[n(827)](p[n(480)],{min:10})}),s[n(827)](p[n(1987)][n(1139)],{label:"高度",name:["normalStyle",n(784)],children:s[n(827)](p[n(480)],{min:10})})]})},n(313)),s.jsxs(cn,{header:"样式",children:[s[n(827)](p[n(1987)][n(1139)],{label:n(1041),name:[n(2032),n(1617)],children:s[n(827)](p[n(1515)],{placeholder:"transparent, #fff, url(...)"})}),s[n(827)](p[n(1987)][n(1139)],{label:n(1502),name:["normalStyle",n(1601)],children:s[n(827)](p[n(480)],{min:0})}),s.jsx(p[n(1987)][n(1139)],{label:"圆角",name:[n(2032),n(701)],children:s[n(827)](p[n(480)],{min:0})}),s.jsx(p[n(1987)].Item,{label:n(1392),name:[n(2032),n(576)],help:n(642),children:s[n(827)](p[n(480)],{min:.1,max:5,step:.1})}),!C.contentInfo[n(1996)].some(B=>B[n(1737)][n(939)]===n(976))&&s[n(827)](p[n(1987)][n(1139)],{label:n(1703),name:[n(2032),n(541)],help:n(666),children:s[n(827)](p[n(480)],{min:0,max:360,step:1})}),s[n(827)](p.Form.Item,{label:n(1552),name:[n(2032),"opacity"],children:s[n(827)](p.InputNumber,{min:0,max:1,step:.1})}),s[n(827)](p[n(1987)][n(1139)],{label:"层级",name:[n(2032),n(1981)],children:s.jsx(p[n(480)],{})})]},"style")]})]})},n(1724)),s[n(827)](qx,{tab:"状态",children:C[n(939)]===n(1084)&&C[n(1520)]?s[n(827)](nd,{node:C,updateNode:x,materials:u}):s[n(1149)](n(1102),{className:n(844),children:[s[n(1149)](n(1102),{className:"flex items-center justify-between mb-2",children:[s[n(1149)](n(1137),{className:n(954),children:[n(965),s[n(827)](p[n(679)],{color:"blue",className:n(564),children:z.length})]}),s[n(827)](p[n(1071)],{type:"primary",size:n(1664),icon:s[n(827)](ge[n(1676)],{}),onClick:U,children:n(722)})]}),s.jsx("p",{className:n(1862),children:n(460)}),z[n(546)]>0&&s[n(827)](n(1102),{className:n(1379),children:s.jsx(n(1102),{className:n(1730),children:s[n(1149)](n(1102),{children:[s[n(827)](n(1137),{className:"text-sm text-gray-600",children:n(1661)}),s[n(827)](n(1137),{className:"ml-2 text-sm font-medium text-blue-600",children:n(1566)})]})})}),z[n(546)]===0?s[n(827)](n(1102),{className:n(548),children:n(913)}):s[n(827)](p.Collapse,{ghost:!0,defaultActiveKey:z[0]?.id+o,children:z[n(1461)]((B,N)=>s[n(827)](cn,{header:s[n(1149)]("div",{className:n(1179),children:[s.jsx("span",{className:n(781),children:N+1}),s.jsx(n(1137),{className:"font-medium",children:B[n(1535)]}),s[n(827)](p.Tag,{color:"default",className:n(352),children:B[n(1737)][n(939)]})]}),extra:s[n(1149)](p.Space,{size:n(1664),onClick:E=>E[n(1217)](),children:[s[n(827)](p[n(1071)],{type:n(1810),size:n(1664),icon:s[n(827)](ge.ArrowUpOutlined,{}),disabled:N===0,onClick:E=>{E[n(1217)](),T(B.id,"up")}}),s.jsx(p[n(1071)],{type:n(1810),size:n(1664),icon:s[n(827)](ge[n(1104)],{}),disabled:N===z[n(546)]-1,onClick:E=>{const P=n;E.stopPropagation(),T(B.id,P(1242))}}),s[n(827)](p[n(1071)],{type:"text",size:n(1664),icon:s.jsx(ge[n(1110)],{}),onClick:E=>{E[n(1217)](),Y(B)}}),s[n(827)](p[n(1071)],{type:n(1810),size:"small",danger:!0,icon:s.jsx(ge[n(1357)],{}),onClick:E=>{E[n(1217)](),W(B.id)}})]}),children:s[n(1149)](p.Form,{layout:n(1331),children:[s[n(827)](p[n(1987)][n(1139)],{label:n(271),children:s.jsx(p[n(1515)],{value:B[n(1535)],onChange:E=>O(B.id,{name:E.target[n(867)]}),placeholder:n(1482)})}),s.jsx(yi,{status:B,onUpdate:E=>O(B.id,E),onAppendToExpression:E=>{y(P=>({...P,[B.id]:(P[B.id]??B.expression)+E}))}}),s[n(827)](p[n(1987)].Item,{label:"执行表达式",help:n(1824),children:s.jsx(zh,{value:m[B.id]??B[n(1405)],onChange:E=>y(P=>({...P,[B.id]:E[n(1562)][n(867)]})),onBlur:E=>{const P=n;O(B.id,{expression:E.target[P(867)]}),y(A=>{const _={...A};return delete _[B.id],_})},rows:3,placeholder:n(1794)})}),s.jsx(p[n(1987)].Item,{label:n(822),children:s[n(1149)]("div",{className:n(1179),children:[s[n(827)](p[n(679)],{color:n(245),children:B.material[n(1535)]}),s[n(827)](p[n(679)],{color:"default",children:B[n(1737)][n(939)]}),s.jsx(p[n(1071)],{type:n(1157),size:n(1664),icon:s[n(827)](ge[n(816)],{}),onClick:()=>X(B.id),children:"更换物料"})]})}),s[n(827)](p.Divider,{style:{margin:n(1204)}}),s[n(1149)]("div",{className:n(433),children:[s.jsx("div",{className:"flex items-center justify-between mb-2",children:s.jsx(n(1137),{className:n(195),children:n(1681)})}),s.jsx(p[n(1987)][n(1139)],{label:"动画类型",className:n(1012),children:s.jsx(p[n(244)],{value:B.animation?.[n(939)]||"none",onChange:E=>O(B.id,{animation:{...B.animation||{type:n(408)},type:E}}),options:[{label:"无",value:n(408)},{label:"闪烁",value:n(902)}]})}),B[n(1847)]?.[n(939)]===n(902)&&s[n(1149)](s.Fragment,{children:[s[n(827)](p[n(1987)].Item,{label:"闪烁周期(ms)",className:n(1012),children:s[n(827)](p[n(480)],{min:200,max:1e4,step:100,value:B.animation[n(1630)]??1e3,onChange:E=>O(B.id,{animation:{...B.animation,duration:E??1e3}})})}),s[n(827)](p[n(1987)][n(1139)],{label:n(1881),className:n(272),children:s[n(827)](p[n(480)],{min:0,max:1,step:.1,value:B[n(1847)].minOpacity??.3,onChange:E=>O(B.id,{animation:{...B[n(1847)],minOpacity:E??.3}})})})]})]}),s.jsx(p[n(312)],{style:{margin:"12px 0"}}),s[n(1149)](n(1102),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[s[n(1149)]("div",{className:n(1065),children:[s[n(827)]("span",{className:n(195),children:"物料属性"}),s[n(827)](p[n(679)],{children:B[n(1737)][n(1535)]})]}),s[n(827)](mi,{material:B[n(1737)],onSave:E=>L(B.id,E)})]})]})},B.id+o))})]})},"status"),s[n(827)](qx,{tab:"控制",children:s[n(1149)](p[n(1987)],{form:f,layout:"vertical",onValuesChange:I,children:[s[n(827)](p[n(1987)][n(1139)],{label:n(1162),name:[n(977),"isDraggable"],valuePropName:"checked",children:s.jsx(p[n(339)],{})}),s[n(827)](p[n(1987)][n(1139)],{label:n(1106),name:[n(977),n(1385)],valuePropName:n(1977),children:s[n(827)](p.Switch,{})}),s[n(827)](p[n(1987)][n(1139)],{label:n(1492),name:[n(977),"isResizable"],valuePropName:"checked",children:s[n(827)](p[n(339)],{})}),s[n(827)](p[n(1987)][n(1139)],{label:"可选中",name:["controlInfo",n(1619)],valuePropName:"checked",children:s[n(827)](p[n(339)],{})})]})},"control"),s[n(827)](qx,{tab:n(1330),children:s[n(827)](ph,{nodeId:C.id})},n(558))]})}),s[n(827)](n(1102),{className:n(189),children:s.jsxs(n(1102),{className:n(1264),children:[s.jsxs("div",{children:[n(216),C.id.slice(0,8),n(1781)]}),s[n(1149)](n(1102),{children:[n(1711),z[n(546)]]})]})}),s.jsx(p[n(616)],{title:n(265),open:w,onCancel:()=>{b(!1),M(null)},footer:null,width:600,children:s[n(827)](n(1102),{className:n(918),children:s[n(1149)](p[n(1077)],{ghost:!0,defaultActiveKey:[n(1724),n(971),n(1810),n(1153)],children:[s[n(827)](cn,{header:n(2013),children:s[n(827)]("div",{className:"grid grid-cols-4 gap-2",children:u[n(1338)](B=>["矩形","圆形",n(1243)][n(645)](B[n(1535)]))[n(1461)](B=>s.jsx(Bs,{material:B,onClick:()=>H(B)},B.id))})},n(1724)),s.jsx(cn,{header:n(1894),children:s.jsx(n(1102),{className:"grid grid-cols-4 gap-2",children:u[n(1338)](B=>["阀门","泵","罐体"][n(645)](B[n(1535)])||B[n(939)]===n(1740)&&!["矩形","圆形","圆角矩形"].includes(B[n(1535)]))[n(1461)](B=>s[n(827)](Bs,{material:B,onClick:()=>H(B)},B.id))})},"device"),s[n(827)](cn,{header:"文本",children:s[n(827)](n(1102),{className:"grid grid-cols-4 gap-2",children:u[n(1338)](B=>B[n(939)]===n(298)).map(B=>s.jsxs(n(1102),{className:n(1895),onClick:()=>H(B),children:[s[n(827)](n(1102),{className:n(845),children:s.jsx(n(1137),{className:"text-lg font-bold text-gray-500",children:"T"})}),s[n(827)](n(1137),{className:"text-xs",children:B[n(1535)]})]},B.id))})},n(1810)),s[n(827)](cn,{header:"线条",children:s[n(827)]("div",{className:n(1476),children:u[n(1338)](B=>B[n(939)]==="LINE")[n(1461)](B=>s.jsxs(n(1102),{className:"border rounded-lg p-2 cursor-pointer hover:border-blue-500 hover:bg-blue-50 transition-all text-center",onClick:()=>H(B),children:[s.jsx("div",{className:n(845),children:s[n(827)]("div",{className:"w-8 h-0.5 bg-gray-400"})}),s[n(827)](n(1137),{className:n(352),children:B[n(1535)]})]},B.id))})},n(1153))]})})})]}):s.jsx(n(1102),{className:"h-full flex items-center justify-center bg-white border-l border-gray-200",children:s[n(827)](p[n(1942)],{description:n(1442)})})},Bs=({material:e,onClick:n})=>{const t=c,o=e[t(939)]===t(1740)?e.src:void 0;return s[t(1149)](t(1102),{className:t(1895),onClick:n,children:[s[t(827)]("div",{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center",children:o?s[t(827)](t(1993),{src:o,alt:e.name,className:t(934)}):s[t(827)]("span",{className:t(352),children:e[t(1535)][0]})}),s[t(827)](t(1137),{className:t(352),children:e[t(1535)]})]})},Ch="ConfigEditor-module__configEditor__dinNG",Mh={configEditor:Ch},Bh=c(834);function Ds(e){return Array[c(454)](e)}const Ls=({open:e,onClose:n})=>{const t=c,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=o0(),[a]=p[t(1987)].useForm(),[u,d]=D[t(325)](null);D.useEffect(()=>{const b=t;!e&&(d(null),a[b(959)]())},[e,a]);const l=()=>{const b=t;d(b(1890)),a[b(432)]({name:b(1671)+(o.length+1),sampleJson:""})},f=b=>{const v=t;d(b.id),a.setFieldsValue({name:b[v(1535)],sampleJson:JSON[v(1087)](b[v(970)]??{},null,2)})},g=b=>{const v=t,M=b[v(1280)]();if(!M)return{};const m=JSON[v(440)](M);if(m===null||typeof m!="object")throw new Error(v(1536));if(Array[v(454)](m)){for(let y=0;y<m[v(546)];y++)if(typeof m[y]!="object"||m[y]===null)throw new Error(v(601)+(y+1)+v(608));return m}return m},h=()=>{const b=t;a.validateFields()[b(775)](v=>{const M=b;let m;try{m=g(v[M(1013)])}catch(C){p[M(533)][M(907)](C instanceof Error?C[M(533)]:"sample JSON 无效");return}const y=v[M(1535)][M(1280)]();if(!y){p.message[M(907)](M(1880));return}u===M(1890)?(x({name:y,sample:m}),p[M(533)][M(741)](M(1610))):u&&(r(u,{name:y,sample:m}),p[M(533)][M(741)](M(1534))),d(null),a[M(959)]()})[b(1468)](()=>{})},w=[{title:"名称",dataIndex:t(1535),key:t(1535)},{title:"类型",key:"type",width:100,render:(b,v)=>Ds(v[t(970)])?s.jsxs(p.Tag,{color:"blue",children:[t(731),v.sample[t(546)],t(974)]}):s.jsx(p[t(679)],{children:"对象"})},{title:t(474),key:"keys",width:90,render:(b,v)=>{const M=t;if(Ds(v[M(970)])){const m=v[M(970)][0];return m?Object.keys(m)[M(546)]:0}return Object[M(1700)](v[M(970)]||{}).length}},{title:"操作",key:"actions",width:160,render:(b,v)=>s[t(1149)](p[t(1844)],{children:[s[t(827)](p[t(1071)],{type:t(1157),size:t(1664),icon:s[t(827)](ge[t(816)],{}),onClick:()=>f(v),children:"编辑"}),s[t(827)](p[t(1050)],{title:t(410),description:t(1524),onConfirm:()=>{const M=t;i(v.id),p[M(533)][M(741)]("已删除,相关状态已解除数据集绑定")},children:s[t(827)](p[t(1071)],{type:t(1157),size:t(1664),danger:!0,icon:s[t(827)](ge[t(1357)],{}),children:"删除"})})]})}];return s.jsxs(p[t(616)],{title:t(745),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[s.jsxs("p",{className:t(1294),children:[t(1353)," ",s.jsx(t(1606),{className:t(1526),children:t(2020)}),",预览时以模板为底合并画布「模拟数据」。数组格式需包含 name 字段用于选择。"]}),s.jsx(t(1102),{className:t(334),children:s[t(827)](p[t(1071)],{type:"primary",icon:s[t(827)](ge[t(1676)],{}),onClick:l,children:t(2042)})}),u&&s[t(1149)](t(1102),{className:"mb-4 p-3 border border-blue-200 rounded bg-blue-50/50",children:[s[t(1149)]("div",{className:t(1257),children:[u===t(1890)?"新建":"编辑",t(758)]}),s[t(1149)](p[t(1987)],{form:a,layout:"vertical",children:[s.jsx(p.Form.Item,{name:t(1535),label:"名称",rules:[{required:!0,message:"必填"}],children:s[t(827)](p[t(1515)],{placeholder:t(1646)})}),s[t(827)](p[t(1987)][t(1139)],{name:t(1013),label:t(300),rules:[{required:!0,message:"必填"}],children:s[t(827)](p[t(1515)][t(652)],{rows:12,className:t(956),placeholder:Bh})}),s[t(1149)](p[t(1844)],{children:[s[t(827)](p[t(1071)],{type:t(1303),onClick:h,children:"保存"}),s.jsx(p[t(1071)],{onClick:()=>{const b=t;d(null),a[b(959)]()},children:"取消"})]})]})]}),s[t(827)](p[t(1301)],{size:t(1664),rowKey:"id",dataSource:o,columns:w,pagination:!1,locale:{emptyText:t(1616)}})]})},{Header:Dh,Sider:Ss,Content:Lh}=p[c(1910)],Sh=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:u=!0,customMaterials:d,initialDataPool:l,initialEventFlow:f,externalEventActions:g,onUploadSvg:h,defaultTestData:w,backgroundImageUrl:b,initialViewportWidth:v,initialViewportHeight:M})=>{const m=c,[y,C]=D[m(325)](!1),[z,I]=D.useState(!1),[U,H]=D[m(325)](""),[W]=D.useState(()=>[{paramsCode:m(1372),paramsName:m(1290),value:25,paramsUnit:"mm/s"},{paramsCode:m(637),paramsName:"通频加速度有效值",value:1.5,paramsUnit:m(1229)}]),O=w!==void 0?w:W,Y=i&&!t,{exportScheme:T,importScheme:X,nodes:V,materials:L,dataPool:B,eventFlow:N,root:E,canvas:P,viewport:A,addMaterial:_,setDataPool:Q,setEventFlow:$,setExternalHandlerCatalog:ne}=o0();D[m(671)](null);const ie=D[m(671)](!1);D[m(1079)](()=>{const ee=m;if(!ie[ee(1521)]&&(ie[ee(1521)]=!0,jr.forEach(be=>_(be)),e&&X(e),f!==void 0&&$(f),g&&g.length>0)){ne(g);const be={};for(const pe of g){const j=String(pe[ee(1712)]??"")[ee(1280)]();j&&pe[ee(1879)]&&(be[j]=pe[ee(1879)])}Object[ee(1700)](be)[ee(546)]>0&&Un[ee(1441)]({external:be})}},[]),D[m(1079)](()=>{d&&d[m(546)]>0&&d.forEach(be=>_(be))},[]),D[m(1079)](()=>{l!==void 0&&Q(l)},[l,Q]),D[m(1079)](()=>{if(n){const ee=T();n(ee)}},[V,L,B,N,E,n,T]);const he=D[m(660)](()=>{const ee=m,be=T(),pe=JSON.stringify(be,null,2),j=ee(1885)+encodeURIComponent(pe),q="scheme_"+Date[ee(1580)]()+ee(981),se=document[ee(1793)]("a");se[ee(484)](ee(782),j),se[ee(484)](ee(1332),q),se[ee(471)](),p.message[ee(741)](ee(1939))},[T]),ye=D[m(660)](()=>{const ee=m;try{const be=JSON.parse(U);X(be),C(!1),H(""),p[ee(533)][ee(741)](ee(1150))}catch{p[ee(533)][ee(907)]("JSON 格式错误,请检查输入")}},[U,X]),Ce=D.useCallback(ee=>{const be=m,pe=new FileReader;return pe[be(1145)]=j=>{const q=be;try{const se=j[q(1562)]?.[q(584)],le=JSON[q(440)](se);X(le),p.message[q(741)](q(1150)),C(!1)}catch{p[q(533)][q(907)](q(650))}},pe[be(1324)](ee),!1},[X]),fe=D[m(660)](()=>T(),[T]);return D[m(1455)](D[m(671)]?.(),()=>({getScheme:fe,exportScheme:T,importScheme:X}),[fe,T,X]),s[m(827)](p[m(318)],{locale:Us,children:s[m(827)](m(1102),{className:Mh.configEditor,style:{height:m(t?1832:1216),...r},children:s.jsxs(p.Layout,{className:m(843)+(t?"":m(1514))+" "+(t?"":"overflow-hidden")+" "+x,children:[Y&&s[m(1149)](Dh,{className:m(806),children:[s[m(1149)](m(1102),{className:m(506),children:[s[m(827)](m(1102),{className:"text-xl font-bold text-blue-600",children:m(1835)}),s[m(1149)](m(1102),{className:m(1368),children:[V[m(546)],m(862)]})]}),s[m(1149)](p[m(1844)],{children:[o,!t&&s[m(1149)](s.Fragment,{children:[s[m(827)](p[m(1236)],{title:m(381),children:s[m(827)](p[m(1071)],{icon:s[m(827)](ge[m(1788)],{}),onClick:he,children:"导出"})}),s[m(827)](p[m(1236)],{title:m(1685),children:s[m(827)](p.Button,{icon:s[m(827)](ge[m(1564)],{}),onClick:()=>C(!0),children:"导入"})}),s[m(827)](p[m(1236)],{title:m(1391),children:s[m(827)](p[m(1071)],{icon:s[m(827)](ge[m(2030)],{}),onClick:()=>I(!0),children:m(327)})})]})]})]}),s.jsxs(p[m(1910)],{children:[a&&!t&&s[m(827)](Ss,{width:280,className:"bg-white",theme:"light",children:s[m(827)](Ur,{onUploadSvg:h})}),s[m(827)](Lh,{className:m(1584)+(t?"":m(1662)),style:t?{backgroundColor:P?.[m(1617)],backgroundImage:P?.[m(708)]!==!1?m(1349):void 0,backgroundSize:20*(A?.[m(576)]||1)+m(1388)+20*(A?.[m(576)]||1)+"px"}:void 0,children:s.jsx(fi,{defaultTestData:O,readonly:t,backgroundImageUrl:b,initialViewportWidth:v,initialViewportHeight:M})}),u&&!t&&s.jsx(Ss,{width:360,className:m(369),theme:m(510),children:s.jsx(Ms,{defaultTestData:Array[m(454)](O)?O:void 0})})]}),s.jsx(Ls,{open:z,onClose:()=>I(!1)}),s[m(827)](p[m(616)],{title:m(1480),open:y,onOk:ye,onCancel:()=>{C(!1),H("")},width:600,children:s[m(1149)](m(1102),{className:"space-y-4",children:[s[m(1149)]("div",{children:[s.jsx("p",{className:m(1012),children:m(798)}),s[m(827)]("input",{type:m(1709),accept:m(981),onChange:ee=>{const be=m,pe=ee[be(1562)][be(1326)]?.[0];pe&&Ce(pe)},className:m(1027)})]}),s[m(827)](m(1102),{className:m(1364),children:"或"}),s[m(1149)](m(1102),{children:[s[m(827)]("p",{className:m(1012),children:m(288)}),s[m(827)](m(588),{value:U,onChange:ee=>H(ee[m(1562)].value),placeholder:m(1595),className:m(1582)})]})]})})]})})})};Ee.Canvas=fi,Ee[c(568)]=Sh,Ee.DataPoolModal=Ls,Ee[c(1802)]=li,Ee[c(412)]=Ur,Ee.NodeRenderer=go,Ee[c(1304)]=Ms,Ee[c(1624)]=Ir,Ee[c(1082)]=kr,Ee[c(461)]=Yr,Ee[c(838)]=io,Ee[c(483)]=xo,Ee.eventBus=Un,Ee[c(1822)]=Pr,Ee[c(1955)]=jr,Ee[c(1283)]=o0,Object[c(549)](Ee,Symbol[c(1576)],{value:c(799)})});function _0x1172(Ee,s){Ee=Ee-180;const D=_0x2fc0();let p=D[Ee];if(_0x1172.VLmjtj===void 0){var ge=function(Zt){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let Pn="",it="";for(let y0=0,V0,q0,at=0;q0=Zt.charAt(at++);~q0&&(V0=y0%4?V0*64+q0:q0,y0++%4)?Pn+=String.fromCharCode(255&V0>>(-2*y0&6)):0)q0=c.indexOf(q0);for(let y0=0,V0=Pn.length;y0<V0;y0++)it+="%"+("00"+Pn.charCodeAt(y0).toString(16)).slice(-2);return decodeURIComponent(it)};_0x1172.tdiTYE=ge,_0x1172.wJgXGV={},_0x1172.VLmjtj=!0}const no=D[0],Xt=Ee+no,Ie=_0x1172.wJgXGV[Xt];return Ie?p=Ie:(p=_0x1172.tdiTYE(p),_0x1172.wJgXGV[Xt]=p),p}function _0x2fc0(){const Ee=["DhjHBNnSyxrLrxH0zw50","5y+n6ycj5B2t6Ag1","Aw1Tzxi","DMfSDwvdB2XVCG","6ycj5OUP5zgO","zMLSzq","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","54Q25Ocb5PwWoIa","A2v5","tgLUzq","y3vYCMvUDenHBNzHC0LK","BM9KzvG","B2jZzxj2zwq","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","zw5HyMXLrxzLBNrgBg93","BNCTCMvZAxPL","C291CMnLug9ZAxrPB24","AxrLCMf0B3i","C3rHCNry","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","yMfZAwm","CgfYzw50","Dg91y2HZDgfYDc56B29T","y3rYBeTLEq","CgHHBNrVBq","u3rYAwn0","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","C2nHBgvyka","C3rHCNruCMfUC2L0Aw9U","AxneCMf3Aw5N","mda1","lNjLywn0lwzSB3C","Bwf0zxjPywW","DxnLCKfNzw50","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","su1br0u","ywX0s2v5","DgfWrgLZDgfUy2u","zxzLBNruExbL","zgvMyxvSDa","AhLWB3q","5Asw6yoO5PA55Rov5Qch6k+g","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","BMfTzxnWywnLvvjj","u3rYywLNAhrfzgDL","DgLTzxjjza","5Qch6k+g5lIn6io95lI656M6","5y+V5O6s5BQp","y3vYCMvUDfn0yxr1C0LK","BM9KzxntzwXLy3rPB25by3rPDMu","5yAf6igu6isA5PYS","ywn0AxzLu2LIBgLUz0DYB3vWswq","y29WEu9UrhvWBgLJyxrL","CM91BMq","6k+35AgR5yAz5O+q56s65yAf5A65","cIaGicaGicaGica","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","yM94lxnLBgvJDa","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","yM91BMreyxrHC2v0qMLUzfzHBhvL","BM9Kzu5HBwu","zgf0ys1Oyw5KBgvPza","yxnpyNnLCNzHyMXL","zgf0yxnLDa","vgfICW","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","5BEY56Ab55sO","Dg9gAxHLza","qgTLEwzYyw1LCYa","6iEQ5A6A5lMj57Ue5lU2","lteWic0XmcaYmcaYma","zMXLEc1ZDgfYDa","ChjLDMLVDxntAwjSAw5N","Aw5MBW","zgv2zwXVCg1LBNq","Bw91C2vz","lI4U","C3LZDgvT","u3rLCevKz2vjBNrLCM5HBa","C3jJ","CMzjza","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","zMLYC3rdAgLSza","rg93BMXVywrpDxrSAw5Lza","zxzLBNrsB290CW","lte0ChG","57Ur5A6A5PwW5O2U6zUg","zxHLy3v0zuv2zw50rMXVDW","y3jLyxrLrwXLBwvUDa","CMv0DxjUihrYDwu7","y29UBMvJDgLVBG","55s75BIdia","B25dB25Uzwn0rw5K","vxbSB2fK","DxnLtgf5B3v0rwzMzwn0","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","DxjSkcm","rxzLBNrgBg93qMLUzgLUzW","Bg9N","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","5Bcg57Q/5P2H5y+y5lI65z6c55U057Q/77Ym5l+D5OYb6zw/5BQM","DxbKyxrLtM9KzuLUDgvYBMfSCW","C2v0qxr0CMLIDxrLCW","EMGTy24","CMvHy3q","Dgv4Da","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","vMvYDgLJywW","vw5ZDwjZy3jPChrPB25fCNjVCG","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","Bw91C2veB3DU","6ycj5OUP5PwW5O2U5A2x5Q61","CMv0DxjUigzHBhnLoW","D2HLzwW","Dg9WlwXLzNq","u3rYywLNAhrfzgDLsw50zxjUywW","Aw52zxj0wa","zMLUzefJDgL2zvn0yxr1CW","DY1MDwXSigP1C3rPzNKTzw5K","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","BwLUwa","DxnLtwvTBW","BwfYA2vY","6Ake6kEi5QIH5BYp","AwXSzwDHBcb0ExbLoIa","C3rYB2TLv2LKDgG","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","yxv0BW","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","oYb9ideWmcuGEYbVCgfJAxr5oIaXoYb9ih0","57Ue5Ocb57Yw6l6r5zMO","5BYa5AEl5PEL5PYF","DgLTzq","CMv0DxjUigfYz3m7","zNjVBq","ufjfu0vovevex0LnquDfx1njtvbmrq","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","5Qgg6ycj5QIH5BYp","qwXPz25mzwz0t3v0BgLUzwq","u3bHy2u","CMvTB3zLrxzLBNrmAxn0zw5LCG","DxbKyxrLtM9Kzq","yw5PBwf0Aw9U","sgfUzgXL","D2HLzwWUEM9VBq","C3rHy2S","57Q/5P2H5BgE5OcN","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","y2XPzw50wq","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","B25oB2rLrhjHz1n0yxj0","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","yw50za","rg93BLnXDwfYzu91DgXPBMvK","yNvPBhrPBG","Dgv4DenVBNrLBNq","BgLUzujVEa","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","rNjLzq","y29UDgvUDgvKAxrHyMXL","BgfIzwW","CMvHy3qTzMXVD19FyxjPys1SAxzL","x2v4zwn1Dgu","zM9JDxnHyMXL","5lQl5lU25Rwb57Ur5A6A","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","tw96vxnLCLnLBgvJDa","C291CMnLrxzLBNq","DhjHBNnSyxrLka","Aw52zxj0","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","CMvHy3qTzMXVD19FAgfUzgXLlq","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","AgfUzgXLCG","6k+35AgR5yAz5zcn56EW","5PYa5Bcp6ycp5PIo5BQM","B3jPzw50","DgHYB3C","x2vYCM9Y","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","y2XHC3nmAxn0","Cgf0DgvYBI0","CMvZzxq","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","x19UzxDFxW","mtqYnJb5zNbgwwW","mZq4v0vUBfD6","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","6k6+5Ash5zU+5Qch","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","ChjLDMLLDW","y29UBMvJDgLVBLjHzgL1CW","EM9VBq","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","y29UDgv4Dg1LBNu","z2v0u2nYzwvUq1rn","57Ut5P2F5PE26zE0","6BUy6k6K6Ag555UU","CMvKDwnL","BgfIzwXcz1bHzgrPBMC","zwrNzxnszwnVBM5Ly3rHyMXL","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","D2LKDgG","tgf5B3v0","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","zxzLBNrcBg9JA0LK","B3jKzxi","C2v0rgf0yq","y2XVC2vK","yM91BMreyxrHC2v0qMLUzenVzgu","z3jHyG","C29Tzq","z2v0q29TChv0zwrtDhLSzq","z2v0vMLLD3bVCNq","DgvZDa","5ygh5OoZ57Q/","BgfIzwXgB250v2vPz2H0","yM91BMrHCMLLCW","5PQc5PEG54MP5PAz","AM9PBG","B25oB2rLrg91yMXLq2XPy2S","qxjYB3DvCe91DgXPBMvK","5BEM5A+56B2q","CMzFx2jHy2TNCM91BMq","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTyMv0D2vLBIbWEc00ihb5lti","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","Dg9qCM9TAxnL","C2nHBguO","y2HLy2TIB3G","ioADOEwfPEI+UsdIHPdJGiW","5A2x5l2t5AsN5Bcp","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","5A+85yE65OIq5yQF77Yb","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","yxjNCY5WCMv2ma","rw1WDhK","x25HBwu","Ac1MDwXSigzSzxGGzMXLEc1JB2W","y3jLyxrL","BM9KCMfN","zg9TywLU","5RIq5y+y6iMY","Cc02","x25Vzgu","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","zxH0zxjUywXiyw5KBgvYs2v5","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","r2vUzxjHDg9YigLZigfSCMvHzhKGzxHLy3v0Aw5NlG","Aw5PDe1HDgvYAwfSCW","C2v0tM9Kzxm","oJPLEhq6oG","C291CMnLswq","qMv6AwvY","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","zxjYB3iWmdm","zML0vMLLD09WDgLVBNm","yxjNCY4","zgLZDgfUy2u","AxnfzgL0Aw5NrxzLBNrgBg93","yMvMB3jLC3rHCNq","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","zxHLy3v0B3juExbL","BgfIzwXcz0jVCMrLCLjHzgL1CW","zM9UDfDLAwDODa","BxmGzwfZzs1PBI1VDxqGAw5MAw5PDguGywX0zxjUyxrL","ChGSia","x3jLBw92zvbHCMvUDa","DxnLrgvIDwDwywX1zq","6kEM5y+r5PA55BYp","yMX1CG","y2HLy2TLza","C2v0ug9PBNrLCKnHChr1CMu","zgvMyxvSDe5VzgvZ","Cg9ZAxrPB24","EKLUzgv4","5RIf56M65OMa5PYj","zg90CW","z2v0rxzLBNrcBg9JAW","55s75BId5yIx6kgO","y2HYB21L","rM9YBq","5lQK5O2I6lw354k55zkm57Ui54k5","C2HPzNq","ufjpuevsvfLFq0HbtKDf","CgfUzurYywDNAw5N","Bw9KztO","Aw1N","Bwf0y2HLCW","w3jVBgu9iMnVBwjVyM94iL0","C3rHDhvZtgLZDa","x196B29T","x19WCM90B19F","5OUw5OU95QIH5BYp","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","6BYG5Qch5OYj5lIl","5Asn5yI25OIq5yQF","C2v0vhjHBNnMB3jT","C2v0vgLTzq","5zYO5lIl5PA556YSia","Bwf4wM9VBq","CMvJEwnSzufZEw5Jswq","C3fYDa","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","zM9Yy2u","w3jVBgu9iMXPC3rIB3GIxq","Aw5WDxrZ","5z+656ga5B2I54Q2","B25fzgL0","zhjHzW","CMDIysGWldaSmcWWkq","B2jZzxj2zxjZ","C3rHCNrZv2L0Aa","yM9YzgvYq29SB3i","kgrHDgePid0+igjVB2XLyw4","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","yxr0CI4","ndi4otjkD0rUufC","mdeW","y29UDgv4De1LBNu","lMfUDc1ZzwXLy3qTzhjVCgrVD24","D2L0Aa","zgvSzxrL","77Yi5BEY5yIG6zMK77YA","rgf0ywjHC2vpDxrSAw5Lza","BM9KzxndB25Uzwn0ywjSzq","BM9YBwfSu3r5Bgu","C3rHCNroB2rLwa","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","CMvTB3zLuhjVCgvYDhK","Dgv4Dc1NCMf5ltqWma","DgfWCW","5PQc5PEG5PwW5O2U6zUg","zMLUywXPEMu","C29SAwq","5PAW5BU65PwW5O2U6zUg","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","5lQl5lU25z2x5BEY5PU05PAW","i2zMzMzMzG","BNvTyMvY","y29UDgv4Da","C3r5Bgu","twvZC2fNzsdMJ5dNPlO","B25tzwXLy3rPB25eCMfNu3rVCa","mI4WlJa","cIaGicaGicaG","5OUw5OU96lcd5Pw05AsN5Bcp","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","BwLUt3bHy2L0Eq","DMfSDwvtB3vYy2vdB2rL","i2zHywqXna","u1fsvdi","ChjLDLzPzxDWB3j0","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","5y+Z6zsU6i+C5y2v","B3bLCMf0B3i","rhjHz091DgXPBMvK","6k+36ycj5OUP5PE26zE0","CMvHy3qTzg9T","Ag9YAxPVBNrHBa","CMvZB2X2zuzSB3DfDMvUDejSB2nR","CMzFx21PBMLTyxa","Dg91y2HZDgfYDa","C3rLCfbVC2L0Aw9U","y29Z","qxjYB3DvCa","CMHV","AxntzwXLy3rLza","zM9YBwf0sgv4","AgfZqxr0CMLIDxrL","DgL0Bgu","C3zNigXPBMu","CMvSyxrPDMu","AwnVBG","6iQc54k5ieLeoIa","B25nB3zLrw5K","B2jZzxj2zq","Bw91C2u","5BEY5zcV55sO","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","twv0yq","yxjNCW","x2LK","Aw50zxjWB2XHDgu","Dw5YzwDPC3rLCKv2zw50qMXVy2S","y2HHBMDL","yMfJA2DYB3vUzenVBg9Y","BgvMDa","B25ezwXLDgu","sg9YAxPVBNrHBa","Bw9Kzq","5lQl5lU25Rwb57Yw6l6r5zMO","B25dBgLJAW","572U5lQo6Ag25Bgc","y3jVC3m","57Ur5A6A5yc8","mcaWidi1idmY","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","D2fYBG","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","Bw91C2vTB3zLlMrYywC","u2vSzwn0","yMX1zq","C3LTyM9S","lMrYywC","zwrPDa","Aw5Zzxj0qMvMB3jL","CgfNzvK","yxr0CLr3zwvU","vhjHBNnMB3jTv3jHChbLCG","z2v0sw5ZDgfUy2u","AxntDg9WCgvK","zw50CMLLCW","5zU+54Mh5BgE5OcN","CMvHy3qTzMXVD19FBwLUAw1HCa","AgLZDg9YEq","Bwf0y2HnzwrPyq","zgf0ytPPBwfNzs9ZDMCREg1Sla","C3rHDhvZswq","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","zxjYB3iWmdq","zMLSBgvK","6ycj5OUP54MP5PAz","yxjPyvjVBgu","x19VBG","vgLTzw91DcbOyxmGB2nJDxjYzwq","zgf0yq","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","54Q25Ocb5zcn56EW","BwiTma","5yc85PAh5PYS","5lIk5lIa5Q2L","AxndBgLJA2fIBgu6","BM9Kzuv2zw50qMLUzgLUz3m","D29YAW","r3jVDxbpDxrSAw5Lza","6k+36ycj5OUP5PEL5PYF","BxqTncbMBgv4igP1C3rPzNKTzw5K","5BYa5AEl5PYi5lU9","zwrNzq","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","AgfUzgXLqM91BMrZ","Bw91C2vpDMvY","6k+35Rgc5PwW5O2U","AgfZrxjYB3i","57ky6ls0iePtt04G5yAf5A6577YA","zMfJDg9Y","zgLZCgf0y2HfDMvUDa","CMvM","6k+36ycj5OUP6kEM5y+r5PA55BYp","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","CgfYzw50swq","BgfIzwXtDhLSzq","zwrNzuXVB2T1Ca","C2v0uhjVCgvYDhK","vevyva","rgvSzxrL","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","r3jHCgHwAwv3","wM9VBsbjBG","C3rYB25N","6ycj5OUP5PEL5PYF","lcdOV57MJQxMLBa6ia","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","ChvYCgXL","CgvUzgLUzW","yxbWBgLJyxrPB24VANnVBG","Aw5PDev2zw50","B25qB2LUDgvYrg93BG","rgL2AwrLCG","C2L6zq","y29UDgvUDeLUzM8","twLUAsbnyxa","ue9tsvrjvKvFsu5gsu5jvfK","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","q29UzMLNuhjVDMLKzxi","nNb4idHWEa","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","zMXLEcbMBgv4lwnVBca","iZu5ntK1oq","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","CMvHy3qTzMXVD19FzwrNzs0","DxnLu3rHDgu","C3vIAMvJDa","5PwW5O2U5RgG","6iQc54k55PwWoIa","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","zNjVBuHHBMrSzq","B25oB2rLtw91C2vnB3zL","5OMN6kgm5PA55BYp","BgfIzwXdB2XVCG","BwiTmW","imk3ia","Aw5ZDgfUy2u","qxjYB3C","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","u3DPDgnO","CgfUu2nYB2XSvgLTzw91Da","x25LEhq","yxv0B1bHBK9UtM9KzuzVy3vZ","y3vYC29YlwnYB3nZAgfPCG","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","Dgv4Dc14CYa","Bg9JywXLq29TCgfYzq","B25czwzVCMvezwXLDgu","BMf0AxzLrxzLBNq","BMfUB2LK","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","y2HLy2TwAxnPyMLSAxr5","Dgv4Dc14CW","DMfSDwvgB250u2L6zq","y2HHBMDLzfrVDwnOzxm","C2nHBgvz","vevyvefsrue","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","u3DHCe91DgXPBMvK","C3rYAwn0","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","y2XPy2SUzhjHzW","i2zHogmXnG","AgfZ","BgfZDeLUzgv4","C291CMnLtgfIzwW","5zcr5zcoiduG6Ag1","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","tM9Kzsb0ExbLici","yMCTD2HPDgu","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","6iQc54k55zcn56EW","C2v0sw50zxj2ywW","Dhj1zq","yM91BMreyxrHC2v0swq","BM9Kzxm","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","Bw91C2v1Cc5KCMfN","55s75BId566H55cg","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","5A+85yE6iePtt04","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","y29UBMvJDe9Uq2XPy2S","y2fUDMfZ","6yca5yE65Rwp6kEi","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","lIbozxCGCg9ZAxrPB24SihG6ia","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","CgfYDgLHBe9IC2vYDMvY","x3rOCM93swzdBg9Zzwq","6l+E57UT5A6E57Q/","u2f2zu91DgXPBMvK","6k+35AgR5yAz5OMN6kgm5lUJ56cb","BxqTna","5PEG562B6ycj6Ag5","572U5lQo5BQv5Bgc","rxHWzxjPBwvUDe91DgXPBMvK","Dw5IAw5KqwXSrM9YtM9Kzq","z2v0qxr0CMLIDxrL","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","CMvTB3zLqxr0CMLIDxrL","EKLUzgv4tw9Kzq","C3rLCa","6ycj5OUP55s75BId5yQG5ywL","ywjZB2X1Dgu","DxnLCK5Vzgu","yMLUza","BM9Uzq","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","5yIG6zMK6k+L5PwW5O2U6zUg77YF","DgfYz2v0sgfUzgXL","twf0zxjPywXqyw5LBa","zNvSBa","C2v0vhjHBNnSyxrLrxH0zw50","CMvZAxPPBMC","x2LUBMvYu3vIC2nYAwjL","yxv0BY1ZDgfYDc1YzxzLCNnL","q2XVC2vpDxrSAw5Lza","EfnUyxbWzwq","zgvSDgfz","5RE75yQG5lQl5lU25Rwb","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","B25fCNjVCG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","tM9KzsbVBKnSAwnRoG","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","C2vJB25Kyxj5","Dg9W","C29YDa","C3bHy2uTEs0Z","C2v0rMLLBgrZvMfSDwu","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","DxnLrM9YBq","5BYa5AEl5PE26zE0","zwrPDgLUz0v2zw50uM9VDeLK","5A+85yE65B2t5yMn55s75BId","zgfYAW","CM90yxrLka","CgfYC2u","DxjSka","Aw5KzxG","CMvJB25Uzwn0ywjSzq","C2v0vMLLD3bVCNq","Dw5RBM93BIb0ExbLoIa","tK9erv9truXfq1q","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","DhjPz2DLCK5VzgvdAgfUz2vZ","6k+35ywi57Ur5A6A5PwW5O2U6zUg","Dgv4Dc1IBhvLltqWma","C2nOzwr1BgvY","Bwv0yq","z2v0qxr0CMLIDxrLtLm","AxnbCNjHEq","Bw91C2vcDxr0B24","5PwW5O2U6k+35Rgc","Axnqyw5ty3jVBgXPBMC","CMLNAhq","CM9VDa","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","y3jLyxrLrgvMyxvSDe5Vzgu","DMfSDwvZ","DgHPy2TUzxnZ","5PQc5PEG5lQl5lU25Rwb","Aw50zxjUywXZ","DMfSDwvgB250v2vPz2H0","lNjLywn0lwzSB3DFx3bHBMu","C25HCfrVr3jPza","C3rVCa","C2v0u2nHBgvfEhrLBNq","y2XPy2S","y2fSBgjHy2S","yxbWzw5Kq2HPBgq","5A2x5Q615PwW","BwfYz2LU","CM9VDfbHCMvUDeLUzgv4","BgLUzs1KCMf3","C3rHCNrizwLNAhq","DxnLv2f0y2G","sw5WDxroDw1Izxi","zxjYB3jZ","zM9YBwf0shnS","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","C2v0qxr0CMLIDxrL","mca0ChG","zgvMyxvSDfzPzxC","Dg91y2HHyMXL","y2XPzw50tgvMDa","y2XVBMvoB2rL","ANn4uNvUDgLTzq","A2vLCefZCgvJDfjHDgLV","qxjYB3Dmzwz0","AgfUzgXLrg9TtM9Kzq","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","CMvHy3qTzMXVD19Fy29UDhjVBhm","57Ur5A6A5A2x5Q61","Aw50zxjYDxb0","6ycj5OUP57Ur5A6A5yc8","zxHLy3v0zq","C3rHCNqUEM9VBq","BM9KzurYywDuAhjLC2HVBgq","ios4QUEkTUAaGq","5OMN6kgm6kgO6l6+5BYp","Dg9tDhjPBMC","y2XHC3noyw1L","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","zgLZywjSzwq","zgLYzwn0Aw9U","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","BgLNAhq","ksb0CMfUC2XHDguO","BwfYA2vYu3rHCNq","B25dB25Uzwn0u3rHCNq","Aw5PDgLHBfrLyxjKB3DU","5PwW5O2U5QIH5OUF","Aw5SAw5Lu2nYAxb0","CMvXDwvZDefUAw1HDgLVBKzYyw1L","x2jSyw5R","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","x2fJDgL2zq","5zcn56EW5lIn6io95lI656M6","6k+36ycj5OUP6iQc54k5","zwXLDMf0zuvKz2vZt25tzwXLy3q","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","idaGvG","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","CgfUwM9VBq","Dw5KzwzPBMvK","6k+36ycj5OUP5BM05lU9","tK9erv9eruXfveu","ndyWodb1v25fBfK","BwvZC2fNzq","iIbYEd0ImJaIlZ48l3n2zZ4","x196B29TAw5N","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","rwrNzvrLEhq","Dw5PDa","Bwf4vg91y2HqB2LUDhm","x19LC01VzhvSzq","CM90yxrL","Dg91y2HTB3zL","57Ut5P2F5BM05lU9","y2fUDMfZxW","DgLTzxi","BgvUz3rO","57Ur5A6A6iQc54k5","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","zgvMAw5LuhjVCgvYDhK","ksbZy2fSzsG","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","6k+36ycj5OUP5PYi5lU9","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","ltuSltqGmcWWic01ldq","B250B3vJAhn0yxj0","jhbYzxyU","zxzLBNrMBg93","q29UDhjVBa","zwrNzuLUzgv4","zxjYB3iWmdG","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","D2HLzwXezwX0yq","BwWTmG","BgLUzurYyxDPBMC","i2vImMy5nG","zgLZCgXHEwfIBgu","q29UzMLNrwrPDg9Y","ywrKrxzLBNrmAxn0zw5LCG","CMvHy3qTzMXVD19Fy29UDgfPBMvY","ie0Wia","zgvJAw1HBhm","i2zMngq0zG","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","77Yi5y+V6ycj77Yj","C2nHBgu","ntmYmtK2yLbiD1Ph","6k+35Rgc5Qch6k+g","BM9Kzuv4DgvUDa","Dgv4Dc1NCMf5ltGWma","C2LIBgLUz3m","Dg9qCMLTAxrPDMu","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","CMvZDwX0","ChjVBwLZzq","CMvSzwfZzvbVAw50zxjdyxb0DxjL","5PEl6l2S6kEs5BQM77Yi5BQM77Yj","Dgv4DgfYzwe","y2XVC2vZDa","B2zMC2v0","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","6kEJ6zMK57Ue5zci","CgfNzvG","Cg9PBNrLCG","C3rHCNrz","yw50ze1LC3nHz2u","zg9JDw1LBNq","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","ru1qvfK","ywzMzwn0C1G","5PwW57Ue56YSia","6k+36l6t5ywL5PcC57sI5yAf5A65","qMv6AwvYrwrNzuLUDgvYBMfS","ww91ihbYB3zPzgvKia","5yIG6zMK5ywO6yoO","DhjHBNnSyxrLqNK","t3b0Aw9U","ioMHUEw/HEMHU+AyR+wVUEIXOq","ywjZ","57+75yIW5lIl5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","C2vUDa","Dg91y2G","Cg9W","AgLKzgvU","BM9KzuXVB2T1Ca","tw9KywW","ChGS","BgLUzwfY","Dg91y2HTB3zLlMrYywC","DhjHBNnSyxrL","ANvTCfrVq2fUDMfZ","DMfSAwq","44cn77YA5lIk5RI4","55s75BId5A+85ywL5OIq5yQF77Yb","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","AxnjzgvUDgL0Eq","rg90CW","uMvHy3qGrMXVDW","twfYA2vYrgvMAw5PDgLVBNm","zMXPCfK","zgvMyxvSDevKz2vZ","6lw354k5ifG","C3rHCNq","5RE75yQG5lQl5lU25z2x","Aw52zxj0wq","mdaY","wvLzwq","55UU5Qch55s75BId","iI8+pc9ZDMC+","AxnwywXPza","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","5PAh5A2x6AkC6iMY","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","Aw5JBhvKzxm","zhjHz2DHyMXL","C3r5BguT","BMv3","Dgv4Dc1ZBq","5PAh5lU25Qc85BYp6zsz6k+V","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","vgv4DefYzwe","qM90Dg9T","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","igHHBMrSzsbPzdOGiG","Aw5qCM9NCMvZCW","Aw5JBhvKzuHPzgrLBK5VzgvZ","qxjYB3DdBg9Zzwq","CMvZAxPLrgLYzwn0Aw9U","DxnLq2fSBgjHy2S","y2LYy2XL","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","DMLLD0jVEa","zgLZy29UBMvJDa","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","C2v0u3rHDgu","B25oB2rLrhjHzW","ltiWChG","5zcr5yMnidmG6Ag1","DxnLuMvM","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","5y+c5PwW5zcn77Ym5AAciee","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","y2XLyxjbBgW","6ycj5OUP57Ur5A6A5A2x5Q61","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","vgfN","Aw52ywXPzcbJywXSyMfJAZOG","CMvHy3qTzMXVD19FBM9Kzq","6l6t5ywL6iQc54k55zcn56EW","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","CMvHy3qTzMXVD19FAgfUzgXL","B25oB2rLtw91C2vmzwf2zq","DxnLCLnLBgvJDgLVBKfJDgL2zq","DhjHBNnSyxrLwa","AxrLBq","sxrLCMfIBguGy2fUBM90igjLig51BgW","6iEQ5A6A5lMj","C3r5BgvuD2vLBG","xMHZBfWO","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","CMvHy3qTzMXVD19FBwfYA2vY","mdeX","Cc0ZigjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","CMvJDa","y2fUy2vSywjSzq","zxHPDa","yM9YzgvYuMfKAxvZ","C3vIC2nYAxb0Aw9UCW","55s75BId5A+85yE65AsX6lsL","C3r5BguU","6iom5PMV6AkC6iMY","BwvYz2vsDw50Aw1LsgfUzgXLCNm","zgvZyW","C2HVD0DYAwq","zgf0ytPPBwfNzs9ZDMCREg1S","CMvNAxn0zxjfDMvUDejSB2nR","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","yxjNCY5WCMv2","rxnJyxbL","CMvWzwf0kdGSidfMCIK","CMvHzg9UBhK","tgvMDe91DgXPBMvK","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","Cgf0Ae9WDgLVBNm","y2fSBa","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","5RE75yQG54Q25Ocb","BwvTBW","z2v0u3rHDgu","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","Aw1Hz2uV","mta4ma","yM9YzgvY","zxjYB3iWmdy","5PwW57UeicG","u3rLCa","CgfYyw1ZtMfTzq","BMf2AwDHDgLVBLn0ywnR","md3MSltLUBpLKjhLJ7pVViW5md3LNOlNM7tLKjhKUiVVViZKU4xNLkJKUO7MOlNMJA7OTBFNGRNLKOZPLB/LUQBPH43MLRdORQhNRPFNU4JNGRK","mda5","CMvZB2X2zq","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","EM9VBs53AgvLBa","yM90Dg9TlxjPz2H0","C3vJy2vZCW","CMvUyw1L","nsW1","CMvQzwn0","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","Aw52B2TLuNvUDgLTzuHHBMrSzxi","B25tzwXLy3rPB25eCMfNu3rHCNq","z2v0","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","ntDzu0X1uxC","zMXVB3i","5Qch562+5PAh5PYSicHSywjLBcK","uMvHy3rAB29TugfUugLUy2G","ywn0AxzL","5ywZ6zET6kgm","5PwW5O2U6zUg","C2nHBgvuBW","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","x2fKzfbHCMvUDa","CMv0DxjU","C3rHCNrbBMDSzq","AgfUzgXLCW","57Ut5P2F5zgO","ChGP","B25oB2rLtw91C2vfBNrLCG","BMv3wq","Dg9iyw5KBgu","Axnoyu4","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","CMvTB3zLq2HPBgq","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","DgHLBG","zwrNzxngB2n1C2fIBgu","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","DhjHBNnSyxrLm2qO","C2v0qxr0CMLIDxrLtLm","5Pon5l2C5OIq5yQF","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","AhjLzG","5ywO6ycj5B2t6Ag1","AgvPz2H0","5Bgv5BYa6kgm","wvLzwEw5Ta","CMzFx2nVBNrYB2XZ","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","AxngAw5PDgu","Aw5PDgLHBeHLAwDODa","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","qgfUDc1KzxnPz24VAwnVBNm","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","y29TCg9ZzwrqyxrO","5zYO562B6ycj6Ag55lIT5PcC57sI","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","tw9KDwXL","ChjLDMvUDerLzMf1Bhq","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","y2vPBa","zxHLy3v0zuj1AwX0Aw4","C3zN","CgfUqNK","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","y3vYCMvUDe9IC2vYDMvYCW","zxHWyw5Kzwrszwn0","zxzLCNK","57Uy5yI25lIT","6BYG5Qch6l+B5ywL","i2y1mJiYza","5l+D55wz5Bcp5PwW5l2n","zwfJAa","rwrPDe91DgXPBMvK","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","5PAh5lU25lIk5lYG5lIT","576K57UexW","zxHLy3v0Aw9Uugf0Aa","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","57Ur5A6A54MP5PAz","x+wKJEwiTG","C3bSAxq","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","6k+36ycj5OUP5zgO","ANn4","y3jLyxrLq29UDgv4Da","Aw50zxjHy3rPB25xAwr0Aa","y29UC3rYDwn0B3i","B3DUzxjeB2n1BwvUDa","vgLTzw91DevYCM9Y","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","5OUw5OU96lcd5Pw06lw354k5","AgfZvMfSDwu","y3jLyxrLrgvMyxvSDfn0yxr1CW","6k+36ycj5OUP55UU5Qch55s75BId","5B+R6ycF5A+56B2q","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","5lIk5A+56B2q","DY1MDwXSia","BwiTna","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","C3rHDgu","A2v5Dxa","u2vSzwn0t3v0BgLUzwq","5l6l5AAc77YACMvMCMvZAa","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","Bwv0yuTLEq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","Dg91y2HZDgfYDc5KCMfN","yMXVy2SGDhj1BMnHDgu","C2LIBgLUz0DYB3vWCW","CMvXDwvZDefZEw5Jswq","AgvHza","y29WEq","y29UBMvJDgfIBgu","x3bHCMvUDgfNzq","DMLLD3bVCNrjBML0AwfSAxPLza","ios4QUIkGUEcUq","zhjHz3n0yxj0lMrYywC","BM9Wyw4","5Rc05BMZ5yIg5BId","yw4GAw52ywXPzcbVyMPLy3q","DMfSDwu","Cg9ZAxrPB25byNnVBhv0zq","5y+w5RAi5O6s5BQp","B25oB2rLC0rLBgv0zq","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","ChGSidaP","zM9YD2fYzfjLzG","zgvMyxvSDevKz2vpChrPB25Z","zML0vMLLDW","C3vIC2nYAwjL","zw5Kwq","Bwf4","BwvYz2u","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","x25HBwvZ","tKvhqvrjvKvFsu5gsu5jvfK","5PYQ55+L57g75z6l","mxb4ihnVBgLKicnKowq5zdK","ywn0Aw9UCW","BM9KzxneCMfNz2fIBgu","zwfZzq","6BYG5Qch6yEk5Ps+","zhjHz0HHBMrSzq","5yc85P2L5RQq","zgf0ys4","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","rNjHz21LBNq","CMvHy3qTzMXVD19FzwrNzq","zNjLzq","C291CMnLsgfUzgXL","C2nHBgvcEq","C3vIBwL0","zhjHDW","yMXPBMS","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","y2HLy2TfCxvHBgL0Eq","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","yMfZzvzHBa","zxjYB3i","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","zw51BwvYywjSzq","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","BwvHC3vYzwq","Aw52ywXPza","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","BgfIzwXgB250u2L6zq","55s75BId6ywn572U","C291CMnL","y29UBMvJDgLVBKXVB2T1Ca","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","CMzFx25VzguT","tM9Kzsb3AxrOigLKici","5lIl5lIa5BM05lUJ","y2XHC3m","iokaLca","rxzLBNq","C2uTCMvZAxPL","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","B25dBgLJA0nVBM5Ly3rtDgfYDa","iZeZyZjJmG","BM9KzuLK","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","Aw5ZzxqOmtaWjsK","Aw5WDxq","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","Dg9ju09tDhjPBMC","zMLUzeLUzgv4","Dg9izxHtDhjPBMC","zgf0yvbVB2W","DhLWzq","ttaGmgGZmNy0lJjimhO","mdeZ","DhjHBNnMB3jTu3rHDgu","zNvUy3rPB24","6ycj5OUP57Q/5P2H5Qc35BYp","Dw5IAw5KtM9Kzuv2zw50","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","C2vSzwn0zwroB2rLCW","zMXLEc0X","5yc85Qc35BYp","y3vYC29YlxbVAw50zxiGBwiTma","u2HPzNq","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","zxjYB3iWmtm","zM9UDc1TzwrPDw0","zw50zxi","zM9UDc1TB25VihrLEhqTC20","zMLUza","ENvZDgfUza","CMvZzxrgAwvSzhm","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","BM9KzuvSzw1LBNq","DhjHBNnSyxrLwcGTntaLkq","5PEG54Q25Ocb","6ycj5OUP5BM05lUJ","54Q25Ocb5yIx6kgO","AgfZt3DUuhjVCgvYDhK","zgvSDgfy","zxjYB3iWmte","5OM+5lIn5yIW5lQl5lU25z2x","C2fTCgXL","zgv2AwnL","6lEZ6l2S55s75BId","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","ioMHUsK","x2HHC1bHCMvUDa","teLorq","y29UDhjVBeLUzM8","BwfYA2vYvw5PDhm","5PAW5BU65lQl5lU25Rwb","C2v0rwrNzxm","lMPZB24","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","y2fUDMfZq29UzMLN","BwLU","Dg91y2HTB3zLlNPVB20","mda0","zMLSBenVBg9Y","AxnwAwv3","ChjVDg90ExbL","C2vSzwn0zwroB2rLswrZ","Bg9HzgLUzW","Aw5PDgLHBfDPzhrO","vg9W","C2vSzwn0qwXS","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","AxneCMfNz2fIBgu","Bg9VC2u","qMv6AwvYrwrNzq","CxvLCNLtzwXLy3rVCG","5lIl5A+56B2q","C2v0uhjVDg90ExbLt2y","zg9JDw1LBNrfBgvTzw50","tufyx1zbtfvf","zxHWyw5KugfYzw50","DhjHBNnSyxrLkc0","ywXS","CMvZDgfYDa","A2v5zg93BG","Bwf0zxjPywXZ","iZCYmMvKmq","q3jVC3m","BwiTmG","C2fTCgXLsNnVBG","y29UDgfPBNm","6k+36l6t5ywLjhTSywjLBh0","tsaYmcaWieWGmcaWidaGmJa","uhjVBwLZzq","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","ChjLDG","DMfSDwvtDhLSzq","y3jPC3bfzgDLCW","C2HPzNrlzxK","DgfYz2v0q2fUDMfZswq","5zcm57QN5ywZ57o7ia","C2vSzwn0zwrtDgf0Dxnjza","5lIk5lYG5zU+54Mh","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","uMvHy3q","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","zMXPCfG","su5qvvq","ksbZy2fSzvKO","6yEn572U6kEg5zU+","yNv0Dg9U","qebVyNnLCNzHyMXL","CgLWzq","BgLUzvDLAwDODa","zgLZCgXHEu5HBwu","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","x2DYB3vWCW","6iom5PMV6iMY","Bw91C2vKB3DU","BgLMDa","z2v0rgf0yq","Dg91y2HLBMq","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","6k+36ycj5OUP","54Q25OcbicH0ExbLkq","DxjSkcCJ","ug9Wy29UzMLYBq","y2XPzw50v2LKDgG","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","zxH0zw50","57Ut5P2F5PEL5PYF","6k+36ycj5OUP5A2J5BQM","CMfUz2u","C3rHCNroB2rLwq","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","Cgf0DgvYBG","C3rYywLNAhq","x2nVBxbSzxrL","Bw91C2vfBNrLCG","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","y29YBMvY","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","B3v0Chv0CW","BM9Kzq","CMvHy3qTzMXVD19FzwrNzs10zxH0","rw50zxi","Dgv4Dc1SzYbMB250lw1LzgL1Bq","qNv0Dg9U","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","DY04igGTmc41igjNlwDYyxKTndaW","BgLZDgvUzxi","q29SBgfWC2u","yxnZzxj0AxzL","DxnLrwzMzwn0","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","57Ut5P2F5A+86kEi","z3jVDxa","B25gAw5HBgL6zq","q29UDhjVBhm","C3rYAw5NAwz5","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","iZe4otbMzG","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","5lIk5RI46l+E57Q/oG","5y+w5RAi5ywO6ycj","CMvUzgvY","lNH5zMXVD19FDMLLD3bVCNq","BMv4Da","Bw91C2vKB3DUlNPVB20","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","6iom5PMV6Ake6kEi","5PAh5PYS5Qch562+","zgL2","Dgv4Dc14CYbTyI0X","qxjYB3DeB3DUt3v0BgLUzwq","yMLUze5Vzgvjza","5y+V54k55yE7","ChjVCgvYDhK","y29UBMvJDgfIBgvLBMq","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","q29WEu91DgXPBMvK","CMvHy3qVANn4lxj1BNrPBwu","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","yMCTD2HPDguGChGTmsbYB3vUzgvK","y2XPy2TeAxn0yw5Jzq","BxqTmsb0zxH0lwfTyMvYltGWma","yxrHBJi","C3rYAw5N","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","DxjSkcnNCMLKkq","Aw5ZDa","C21VB3rOC3rLCa","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","Dg9qB3nPDgLVBG","mc4X","zgvZDhjVEq","6l+u5zUE5yIx6kgO","C3vWChjLC3nLza","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","B2jQzwn0","5PIV5zcM5zcV55sO5PYS5lQl5lU25Rwb","y3vYC29Ylw1VDMu","CgfZDa","5z6c55U057+76l2S","x3rYEvn1yNnJCMLIzq","y29TBw9Utg9JywXL","zgvMCW","C3bHBG","zg9Uzq","sxrLBq","DhDLzw4","zxHWB3j0CW","DhjHBNnMB3jT","C25HCeDYAwq","AxndB250zw50rwrPDgfIBgu","B25SB2fK","zhjHz2DPBMC","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","DxnLCLnWywnLt25vC2u","ANn4CW","5A+85ywL5OIq5yQF77Yb","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","Bg9JywW","BgLUzq","CMvHy3qTzMXVD19FCgfUzq","5PU05O2I54MP5PAz","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","BgLUAW","ChjVzhvJDgLVBG","zw5Kwa","zNjVBu5Vzgu","zM9YrwfJAa","5y+V5OUw5OU9","zxH0zxjUywW","Aw50zxjUywW","5BYa5AEl5A2J5BQM","rMXVD1jLBMrLCMvY","zgvNkq","5Asn5yI26iQc54k5","iZi2mJyYnG","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","5zU+54Mh5zYW5z2aicHZCMmP","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","yNvPBhrPBKLK","5PQc5PEG5zcm57QN5ywZ57o777Ym54k55yE744cm5PAW5BU644cn5BYa5AEl","x+EkTUAaGq","zwXLBwvUDezYB21qB2LUDa","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","xcKK","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","C2vSzwn0zwroB2rLswq","EMHFq04","lwzSB3DFx25Vzgu","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","zxHLy3v0zuzSB3DoB2rLCW","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","zMLYC3q","DxnLq29UDgv4Da","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","EhKTzwrNzv9F","5lIl5lIa6Ag1","BwLUAw1HCc5HCMLHtgfIzwW","5A2q6iQc54k5ia","5Rc05BMZ57+76l2S","5Pw05z2x6l+u5zUE5yc8","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","B2zMC2v0sgvPz2H0","C2vSzwn0zwq","DxnLCLnLBgvJDgLVBLjLy3q","x19UB3nLBgvJDa","BwLUwq","6ycj5OUP5QIH5BYp","B2jZzxj2ywjSzq","mtjWEcaW","BM9Kzu9YAwDPBG","Aw5KzxHpzG","CMv0DxjUig51BgW7","qLvuve9o","5Asn5yI25lIn6lEF6zQp","C2vSzwn0C3rHCNqUzhjHzW","5lIl6l295PAh5lU2","u3vWChjLC3nLzevYCM9Y","zxzLBNrcBg9JA3m","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","zxjYB3iWmtu","mtaWjq","C3rVCfbYB3bHz2f0Aw9U","Bw91C2vmzwf2zq","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","y3vYC29YlwDYywi","Bw91C2v1Cc56B29T","zgjSy2XPy2SUEM9VBq","Bw92zwq","6l+u5zUE5lUk5AsP","iIWGzwrNzsbPzdOG","x190CMfUC2L0Aw9U","Aw1Hz2uVkG","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","Bs9ZWRi","Dg9mB3DLCKnHC2u","zxHW","BwfYA2vYrw5K","5PAW6iQc54k5","DgHHDa","y2vUDgvY","vg9VBhrPCa","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltiGBwiTmW","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","rNvSBa","AxnjBNrLCM5HBa","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","zg93BG","5zYg6kEs55+P5B2I","yxbWBgLJyxrPB24","C3rYB2TL","mde1","5OMN6kgm5lUJ56cb","Cg93","twfJ","yMfJA2DYB3vUzeLTywDL","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","DMLZAwjSzq","57Q/5A6977Yi5yop57sG77Yj","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","zgf0ys1UB2rLAwq","Dg91y2GW","zM9UDc1TzwrPDw0GBwiTmG","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","5lIk5lIa5BM05lUJ","Dg90ywXjBMnVBwLUzW","DhjHBNnWyxjLBNq","6Ake6kEi5PAh5lU2","55s75BId5A+85yE65OIq5yQF77Yb","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","ywzMzwn0C1K","xNjNyLWO","mNb4ihnVBgLKicmXodKWzMy","qxjYB3DeB3DU","5PAW5lQl5lU25z2x","yM9Sza","CMvHy3qTzMXVD19FBM9Kzs0","zxzLBNrcBg9JAW","y2XPzw50vg9W","y3vYCMvUDfrHCMDLDa","CMvHzefZrgf0yvvsta","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","x3n1yNnJCMLIzq","C2HVDwXKvw5ZDwjZy3jPyMu","zxzLBNrgBg93rgf0yq","DhjPBq","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","zg91yMXLq2XPy2S","DxnLrwrPDg9Yu3rVCMu","yxjPyuXHyMvSq29UzMLN","ltuSltqGmcWWic01ldqGltuSltq","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","57Ut5P2F5A2J5BQM","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","vxbtCxvHCMvpDxrSAw5Lza","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","lM1HDgvYAwfSlxbYzxzPzxC","Cg9SEwXPBMu","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","w2rHDgeTy2fUDMfZpsj0CNvLiL0","5lIl5lIa5lIw57QQ","y29UC29SAwrHDgu","BM9eCMfNq2XHC3noyw1L","q29UC3vTzxi","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","vgfIBgu","DhjHBNnSyxrLvg8","ChjPBwfYEq","uhjVCgvYDhLqyw5LBa","5yIG6zMK6ycj5lITicHezwXLDguP","mda4","jsWG","lcb5oIa","z2v0qM91BMrPBMDdBgLLBNrszwn0","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","y29SB3i","BwiTmcbTDc00","DxnLzfjPz2H0tw91C2vcDxr0B24","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","zg9Tqxr0CMLIDxrLCW","DhjPz2DLCK5Vzgu","i2q5zdLKoq","ndeYntHuDvvTDMS","5lUo57Ue5lIT56E76zMK","tgvMDa","u2LTCgXLqMv6AwvYrwrNzq","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","zgvZy3jPChrPB24","CMvHzefZvgv4Da","q29SDw1Uv2LKDgHpDxrSAw5Lza","zMLSzxm","zwXLDMf0zu5VzgvZt25tzwXLy3q","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","i2iXyJfInW","5lQl5lU25Rwb","DMvYDgLJywW","zg93BMXVywq","DgfNtMfTzq","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","uMLNAhq","77Ym5AsA5ywL6l6555sOia","tgLZDa","zMLSDgvY","y3jLyxrLu1zhug9PBNq","57Ui54k5ifG","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","zxHLyW","yxbWBhK","zgLZywjSzuTLEwjVyxjKqteXEq","6ycj5OUP5PAW54MP5PAz","Dg91y2GX","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","zw5KC1DPDgG","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","DgfYz2v0ug9ZAxrPB24","5OUw5OU96lcd5Pw057Ui54k5","CMvTB3zLqxr0CMLIDxrLtLm","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","576K57Ue6iQc54k5","B3b0Aw9UCW","zgf0Dw0","rgvSzxrLt3v0BgLUzwq","zxjYB3iWmdu","DhjHBNnPDgLVBIbUB3qGzM91BMq","6kEM5y+roIa","zw5K","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","tM8GDgLTzw91DcbWCM92AwrLzc4","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","DxnLu3LUy0v4DgvYBMfSu3rVCMu","y2XLyxi","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","zgf0ys1Pza","tgLUzxm","mdaX","zwrNzvf1zxvL","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","zwXLBwvUDhntzwXLy3rHyMXL","yxv0B1bHBK9UtM9KzurYywC","CMvHy3qTzMXVD19FBM9Kzxm","B25ZzwXLy3rZDgfYDa","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","zgvNksa","DhjHBNnSyxrLwq","yxv0B1bHBLnWzwvK","zgf0yvjLCxvLC3q","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","AxndBgLJA2fIBgu","Bw91C2v1Ca","5ywO6ycj5OMa5PYj","ChGG","BgLZDa","zxzLBNrgBg93","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","57YP5Ps+5Q+u5l6l","Cg9PBNrLCLK","zMXLEc0Xig1PBI13lta","6BUy6k6K5yc877Yi5Ash55sO77Yj","u21VB3rOu3rLCa","5OYb57UT5PE26zE077Yi56Es77Yj","BM9qyw5dBgfZC05HBwu","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","iZaWmtKZqW","ndK2mZaWnvvhAxDmva","y29UzMLN","zM9UDfnPEMu","6zw/5yIslEwpJoEcUEs6PoABVW","zxHWCMvZC2LVBG","BM9Kzvr5Cgu","zMXLEa","tw92zwqGC2vSzwn0zwqGBM9Kzsa","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","z3jPza","6yEn5zg95zcn","zw5HyMXLza","rwrNzsbMCM9Tia","zwzMzwn0qwXSB3DLza","6iom5PMV5zU+54Mh","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","yMLUze5VzgvfDMvUDa","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","C2vSzwn0","5O+q56s65yAf5A65","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaWia","ugfYDgLHBa","zgLTzw5ZAw9UCW","zgv0ywLS","y29TCgXLDgu","mtyWmJe5mKXiq1vMCG","C3bHy2uTEs00","x+wjR+ACRa","zxzLBNrtDwjQzwn0CW","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","6l6t5ywL5yc85PAh5PYS","y3vZDg9T","DxbKyxrLq29UBMvJDgLVBG","Bwf0CML4vhjHBNnMB3jT","zNv0DxjL","EvnUyxbWzwq","C3bHy2u","yxrHBG","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","6k+36ycj5OUP5lIa5lIQ6iQc54k5","DxbKyxrL","AxnwywXPzenVBM5Ly3rPB24","yMfZzwXPBMu","zgvSzxrHyMXL","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","y2fUy2vS","Cgf0Aa","q29SDw1UsgvPz2H0t3v0BgLUzwq","55s75BIdide","Dg91y2GTywn0Aw9U","t1busu9o","zgf0yvrYyw5ZzMvY","DxnLsw1WzxjHDgL2zuHHBMrSzq","z2v0vMfSDwvgCM9Tugf0Aa","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","q1vtve9n","zMX1C2G","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","BwfW","yxjYB3C","ywrK","B25oB2rLq2XPy2S","AwrLBNrPzMLLCG","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","Bw91C2vy","y2f0y2G","z2v0u25HChnOB3q","CNvUDgLTzuHHBMrSzxjZ","zgvSyxK","BM9KzvK","x19KyxrHx18","yM9YzgvYlwjVEa","zMXVD0rHDge","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","CMDI","x3zHBhvL","5yQO55s757g75z6l","5A+85ywL57Ue5Ocb5PA55Qgi","xNjNyMfCka","6l6t5ywL54Q25Ocb5zcn56EW","CxvLCNLtzwXLy3rVCKfSBa","ChGPihnJywXLka","B25nB3zLu3rHCNq","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","y3jLyxrLrwXLBwvUDe5t","5A+85ywL55s75BId","zgvSDgfnB2rL","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","BMv4DfnPyMXPBMC","5y+V6lcd5Pw05AsN5Bcp","lwnHBNzHCY0","yxv0B1bHBK9Uq29UBMvJDa","BwfUDwfS","5BYa5AEl5zgO","54k55yE75y2h5BQp","rML0ifzPzxC","C2vSzwn0zwrfzgDLCW","CMzFx2vKz2uT","z2v0sw5PDgLHBfn0yxrL","5yAf6l656lED","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","57Ut5P2F5PYi5lU9","y29UBMvJDgLVBK1Vzgu","rxLLt3v0BgLUzwq","CMzFx3DYyxbWzxi","zxzLBNq","CMvHy3qTzMXVD19FCMvUzgvYzxi","yxnZAwDU","qMfJA3nWywnL","C2XPy2u","Aw52zxjZzq","Ac1MDwXS","sw5WDxq","zgvZDgLUyxrPB24","BM9YBwfS","zgvMAw5LuhjVCgvYDgLLCW","lwzSB3DFx2HHBMrSzq","y2HPBgrYzw4","y3vYCMvUDa","ChjLCgfYzuv2zw50qxjNCW","B3bZ","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","zMXLEcbNyxaTna","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","B25oB2rLC0nOyw5Nzq","B3jPz2LU","C2vSzwn0q2HPBgrYzw4","Dw5VyNnLCNzL","57Ue5zci6ycj5lIT6iQc54k5","BM9KzxngB2n1C2fIBgu","Dw5ZDwjZy3jPyMu","5BEY5l+D5A2y","BMfTzq","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","yNvPBhrPBKnVBMzPzW","AgfUzgXL","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","DMfSDwvpzG","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","BM9Kzvf1zxvL","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","w2rHDgeTBM9Kzs1Pzd0I","zg90","Aw5Uzxjive1m","CgfYzw50tM9Kzq","5PAW5BU655s75BId","zxjYB3iWmdi","yxn5BMnjDgvYyxrVCG","6ycp5PIo5BQM","yw5PBwf0zwq","CgfYyw1Zq29Kzq","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","ltzWEa","vw5NCM91Ce91DgXPBMvK","C2v0rhjHz0LTywDL","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","rxzLBNqGzMXVDYbLCNjVCJO","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","DgfYz2v0","yxjPyuXHyMvS","vxbSB2fKt3v0BgLUzwq","6k+35AgR5yAz6k+35Rgc5Qch6k+g","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","y29UDhjVBerPCMvJDgLVBG","C2nOzwr1Bgu","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","B25oB2rLrhjHz1n0B3a","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","B25dB25Uzwn0","lNn2zW","C3bSAwnL","BwLUwM9VBq","Dg9tDhjPBMDuywC","Dg91y2HLCW","5Qch562+5Qc35BYp","y2fUDMfZswrZ","BM93","zxzLBM9Kza","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","D2fYBMLUzW","CMvSyxrPDMuG","yM9VBgvHBG","zMLYC3rfBgvTzw50q2HPBgq","mcaWidmYidmY","x2zPBMfSAxPLCNm","C3rHCNrxAwr0Aa","C2vSzwn0ywjSzq","BMv3wa","zgf0yu1HChbPBMC","zxH0zxjUywXfDMvUDeTLEq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","57ky6ls0iePtt04G5yAf5A65lI4U","zgfZAgvK","Bw91C2vvCa","5lQl5lU25Rwb5yIB5BU65OIq5yQF","C2LTCgXLyMv6AwvY","lM5VA2v5","CgfKzgLUzW","BMuTCMvZAxPL","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","6ycj5OUP5PE26zE0","DgHYB3DUrxjYB3i","y29Kzq","CgfYDgLHBa","BgLUzvr5Cgu","yMCTz3jHEs0Ymda","5BEY5RE75yQG","C3DPDgnOq2fUDMfZ","6ycj5OUP5PYi5lU9","54MP5PAz5BgE5OcN","C2vSzwn0Aw9U","5PQc5PEG5PwW5O2U","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","yMfJA2DYB3vUza","CMvHy3qTzMXVD19FyxjYB3DOzwfK","AxntzwXLy3rHyMXL","y2fUy2vSq29UBMvJDgLVBG","x2nHBgW","6zw/54k5lEEFREEcUEs6PoABVW","zgf0yvjLCxvLC3rlzxK","yNvPBgrnzxjNzwreyxrHuMvJB3jK","5Asn5yI26lEF6zQp","y29UDgvUDa","y2vUDgvYignLBNrLCG","iZHJogm4yW","AhnSysG","zhvYyxrPB24","zwrNzxm","B25oB2rLq29UDgv4De1LBNu","Dhj5CW","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","yxjYB3DJBg9Zzwq","Bgv2zwW","zMXLEcbMBgv4lwnVBa","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","CMvWBgfJzq","cIaG","y2fUDMfZzxm","Bw91C2vTB3zL","z2v0uMvHzgvY","z2v0uhjVDg90ExbLt2y","C2nHBgvy","5AAc77YA55s15PY65Rwl54k56zUg","x3rPBwu","6k+36ycj5OUP5yAf572U5yQO5l2C","6BUy6k6K54Q25Ocb","5Bcg6k+L57Ue6k6+5lI65Rs76lEd57Ue77Ym5Asw6yoO57+76Ag1ifvjioAnRUATPowqR+EuQa","u3rYywLNAhq","DMLLDW","igrVzxmGBM90igv4Axn0lG","6BYG5Qch56E75yE6","zw1PDa","6k6+5lI65Rs76lEd57Ue","CMvHy3qTzMXVD19FCgfUzwW","AxnAB29TAw5Nt3jqyw5UAw5N","z2v0rwrNzuLK","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","5B2t5yMn54Q25OcboG","yMCTz3jHEs0Xmda","y2XLyxjjBNrLCNzHBa","C21HBgW","C2LU","x2v4Axq","B2jQzwn0ihvUC3vIC2nYAwjLza","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","yw55","6BYG5Qch56E75ywL","5PwW5O2U6zUgia","x3bHCMvUDhm","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","5zcr5zcoidmG6Ag1","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","ugX1C091DgXPBMvK","DMLLD3bVCNq","y292zxi","B3DUzxjtvKDfBgvTzw50","C2TLD1GO","5yQO55s76ywn572U","yM90Dg9T","C2v0","qxjYB3DsAwDODa","5A+85ywLiePtt04","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","z3jLzw4","iZuYyZqXyq","vhLWB2DYyxbOEq","B3bHy2L0Eq","x3bHCMvUDa","y2XPzw50wa","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","CMvTB3zL","w2rHDgeTAgfUzgXLpsjLBMqIxq","C2nHBgvfEhrLBNq","DhjHBNnPDgLVBG","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","ChvZAa","A2v5CW","y29Uy2f0","CMvHza","5PEl6l2S6kEs5BQM"];return _0x2fc0=function(){return Ee},_0x2fc0()}