diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/1895WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/1895WatermarkImg.png new file mode 100644 index 000000000..6da68a300 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/1895WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/3022244233WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/3022244233WatermarkImg.png new file mode 100644 index 000000000..f4a46a6f7 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/3022244233WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/3023244298WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/3023244298WatermarkImg.png new file mode 100644 index 000000000..7cd4d5493 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/3023244298WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/56789WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/56789WatermarkImg.png new file mode 100644 index 000000000..b5e9f754b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/56789WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/PredicteImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/PredicteImg.png new file mode 100644 index 000000000..63f937875 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/PredicteImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/WatermarkImg.png new file mode 100644 index 000000000..931e3a9dc Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/go.mod b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/go.mod new file mode 100644 index 000000000..cd3180df0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/go.mod @@ -0,0 +1,36 @@ +module backend2 + +go 1.23.2 + +require ( + github.com/bytedance/sonic v1.11.6 // indirect + github.com/bytedance/sonic/loader v0.1.1 // indirect + github.com/cloudwego/base64x v0.1.4 // indirect + github.com/cloudwego/iasm v0.2.0 // indirect + github.com/ebitengine/purego v0.6.0-alpha.3.0.20240117154336-babd452e909b // indirect + github.com/gabriel-vasile/mimetype v1.4.3 // indirect + github.com/gin-contrib/cors v1.7.2 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/gin-gonic/gin v1.10.0 // indirect + github.com/go-playground/locales v0.14.1 // indirect + github.com/go-playground/universal-translator v0.18.1 // indirect + github.com/go-playground/validator/v10 v10.20.0 // indirect + github.com/goccy/go-json v0.10.2 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/klauspost/cpuid/v2 v2.2.7 // indirect + github.com/leodido/go-urn v1.4.0 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/pelletier/go-toml/v2 v2.2.2 // indirect + github.com/seasonjs/stable-diffusion v0.2.0 // indirect + github.com/twitchyliquid64/golang-asm v0.15.1 // indirect + github.com/ugorji/go/codec v1.2.12 // indirect + golang.org/x/arch v0.8.0 // indirect + golang.org/x/crypto v0.23.0 // indirect + golang.org/x/net v0.25.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect + google.golang.org/protobuf v1.34.1 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect +) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/go.sum b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/go.sum new file mode 100644 index 000000000..05618df57 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/go.sum @@ -0,0 +1,101 @@ +github.com/bytedance/sonic v1.11.6 h1:oUp34TzMlL+OY1OUWxHqsdkgC/Zfc85zGqw9siXjrc0= +github.com/bytedance/sonic v1.11.6/go.mod h1:LysEHSvpvDySVdC2f87zGWf6CIKJcAvqab1ZaiQtds4= +github.com/bytedance/sonic/loader v0.1.1 h1:c+e5Pt1k/cy5wMveRDyk2X4B9hF4g7an8N3zCYjJFNM= +github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU= +github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/0Y= +github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w= +github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg= +github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/ebitengine/purego v0.6.0-alpha.3.0.20240117154336-babd452e909b h1:EEX0qSvZB+bdwmdg38DXRk7HUZXEdb9WwlA0jytARRU= +github.com/ebitengine/purego v0.6.0-alpha.3.0.20240117154336-babd452e909b/go.mod h1:ah1In8AOtksoNK6yk5z1HTJeUkC1Ez4Wk2idgGslMwQ= +github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0= +github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk= +github.com/gin-contrib/cors v1.7.2 h1:oLDHxdg8W/XDoN/8zamqk/Drgt4oVZDvaV0YmvVICQw= +github.com/gin-contrib/cors v1.7.2/go.mod h1:SUJVARKgQ40dmrzgXEVxj2m7Ig1v1qIboQkPDTQ9t2E= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= +github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= +github.com/gin-gonic/gin v1.10.0 h1:nTuyha1TYqgedzytsKYqna+DfLos46nTv2ygFy86HFU= +github.com/gin-gonic/gin v1.10.0/go.mod h1:4PMNQiOhvDRa013RKVbsiNwoyezlm2rm0uX/T7kzp5Y= +github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= +github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= +github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= +github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= +github.com/go-playground/validator/v10 v10.20.0 h1:K9ISHbSaI0lyB2eWMPJo+kOS/FBExVwjEviJTixqxL8= +github.com/go-playground/validator/v10 v10.20.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= +github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= +github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM= +github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= +github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ= +github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/pelletier/go-toml/v2 v2.2.1 h1:9TA9+T8+8CUCO2+WYnDLCgrYi9+omqKXyjDtosvtEhg= +github.com/pelletier/go-toml/v2 v2.2.1/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= +github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= +github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/seasonjs/stable-diffusion v0.2.0 h1:hQ+2pRloif3kZrIHBI379rtr4Juv+9mbEC6m7E3+7sE= +github.com/seasonjs/stable-diffusion v0.2.0/go.mod h1:8eeP0rUb1vE19laPLU70A6REABkoBdd0rixwJC3hoHQ= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= +github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= +github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= +github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/arch v0.7.0 h1:pskyeJh/3AmoQ8CPE95vxHLqp1G1GfGNXTmcl9NEKTc= +golang.org/x/arch v0.7.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= +golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc= +golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= +golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= +golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= +golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= +golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= +google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= +google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbyWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbyWatermarkImg.png new file mode 100644 index 000000000..6e5ac3cb2 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbyWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysb2WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysb2WatermarkImg.png new file mode 100644 index 000000000..901d6e231 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysb2WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysb3WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysb3WatermarkImg.png new file mode 100644 index 000000000..3d70f9be5 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysb3WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysbWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysbWatermarkImg.png new file mode 100644 index 000000000..3aea7690d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/lbysbWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/main.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/main.go new file mode 100644 index 000000000..442c7a201 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/main.go @@ -0,0 +1,1327 @@ +package main + +import ( + "encoding/json" + "fmt" + "image" + "io" + "net/http" + "os" + "time" + + // "time" + + "github.com/gin-contrib/cors" + "github.com/gin-gonic/gin" + sd "github.com/seasonjs/stable-diffusion" + + "bytes" + "image/color" + "image/draw" + "image/png" + "math" +) + +type Par struct { + Prompt string `json:"text"` + NegativePrompt string `json:"negativetext"` + Width int `json:"width"` + Height int `json:"height"` + CfgScale float32 `json:"cfgScale"` + Samplesteps int `json:"samplingSteps"` + Data int `json:"data1"` + Collection_id string `json:"collectionid"` + Collection_name string `json:"collectionname"` + Collection_make string `json:"collectionmake"` + Certificate_time string `json:"certificatetime"` + Owner_id string `json:"owner_id"` + Owner_id1 string `json:"owner_id1"` + Owner_id2 string `json:"owner_id2"` + Goods int `json:"goods"` + User_id string `json:"user_id"` + User_money int `json:"user_money"` + User_name string `json:"user_name"` + User_icon string `json:"user_icon"` + Collection_record string `json:"collectionrecord"` + Certificate_organization string `json:"certificateorganization"` + Collection_semantic string `json:"collectionsemantic"` +} + +var collection_id string = "unique_id_123" +var collection_name string = "unique_id_123" +var collection_make string = "Artwork Maker" +var collection_record string = "Artwork Record" +var owner_id string = "owner_456" + +// var certificate_time string = "2024-12-01T13:21:49Z" +var certificate_organization string = "Artwork Certification Org" +var collection_semantic string = "12345" + +func runsd(c *gin.Context) { + println("PredictStart") + + // raw, _ := c.GetRawData() + // var j map[string]int + // json.Unmarshal(raw, &j) + // var samplesteps = j["samplesteps"] + // print(samplesteps) + // body, _ := c.GetRawData() + // fmt.Println(string(body)) // 打印请求体内容 + + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + fmt.Println("Params:", par) + collection_id = par.Collection_id + collection_name = par.Collection_name + collection_make = par.Collection_make + owner_id = par.Owner_id + println("1:", owner_id) + // certificate_time = par.Certificate_time + + var DefaultFullParams = sd.FullParams{ + // 负面提示列表 生成时避免 + // NegativePrompt: "out of frame, lowers, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature", + NegativePrompt: par.NegativePrompt, + CfgScale: par.CfgScale, // 遵循提示词的严格程度 https://blog.csdn.net/2401_85688943/article/details/140507683 + Width: par.Width, // 宽 + Height: par.Height, // 高 + SampleMethod: 0, // 采样方法 https://zhuanlan.zhihu.com/p/690319301 + SampleSteps: par.Samplesteps, // 采样步骤数 + Strength: 0.4, // 添加噪点的强度?以图绘图? https://www.bilibili.com/read/cv19739185/ + Seed: 42, // 种子 + BatchCount: 1, // 生成图像批次数量 + OutputsImageType: "PNG", + } + + options := sd.DefaultOptions + + model, err := sd.NewAutoModel(options) + if err != nil { + print(err.Error()) + return + } + defer model.Close() + + // modelPath := "D:\\English_Way\\go\\go-sd\\model\\v1-5-pruned-emaonly.ckpt" + //modelPath := "D:\\English_Way\\go\\go-sd\\model\\miniSD.ckpt" + modelPath := "D:\\Environment\\miniSD.ckpt" + + err = model.LoadFromFile(modelPath) + if err != nil { + print(err.Error()) + return + } + var writers []io.Writer + filenames := []string{ + "./PredicteImg.png", + } + for _, filename := range filenames { + file, err := os.Create(filename) + if err != nil { + print(err.Error()) + return + } + defer file.Close() + writers = append(writers, file) + } + + err = model.Predict(par.Prompt, DefaultFullParams, writers) + if err != nil { + print(err.Error()) + } + + // c.String(http.StatusOK, "Predictsuccess") + + println("PredictEND") + println("DecodeStart") + + // 读取图片 + file, err := os.Open(filenames[0]) + if err != nil { + panic(err) + } + defer file.Close() + + // 设置响应头 + c.Header("Content-Type", "image/png") + c.Header("Content-Disposition", "inline; filename="+filenames[0]) + + // 将文件内容直接写入响应体 + _, err = io.Copy(c.Writer, file) + if err != nil { + c.Status(http.StatusInternalServerError) + return + } +} + +func sendToBlock(c *gin.Context) { + // fmt.Println(c.GetRawData()) + // var par Par + // c.ShouldBindJSON(&par) + // println("par:", par.Data) + + println("2:", owner_id) + data_ := map[string]interface{}{ + // "collection_id": collection_id, + "collection_name": collection_name, + "collection_make": collection_make, + "collection_record": collection_record, + "owner_id": owner_id, + "certificate_time": time.Now(), + "certificate_organization": certificate_organization, + "collection_semantic": collection_semantic, + } + jsonBytes, err := json.Marshal(data_) + if err != nil { + fmt.Println("Error:", err) + } + + jsonStr := string(jsonBytes) + // fmt.Println(jsonStr) + + // 添加水印 + inputpath := "./PredicteImg.png" + outpath := "./" + collection_name + "WatermarkImg.png" + ImgAddWatermark(inputpath, jsonStr, outpath) + + // 图片转为等大矩阵 + file, err := os.Open("./" + collection_name + "WatermarkImg.png") + if err != nil { + panic(err) + } + defer file.Close() + + img, _, err := image.Decode(file) + if err != nil { + panic(err) + } + + matrix := imageToMatrix(img) + // 转为float64 + matrixfloat := rgbaMatrixToFloat64Matrix(matrix) + data := map[string]interface{}{ + // "collection_id": collection_id, + "collection_name": collection_name, + "collection_matrix": matrixfloat, + "collection_make": collection_make, + "collection_record": collection_record, + "owner_id": owner_id, + "certificate_time": time.Now(), + "certificate_organization": certificate_organization, + "collection_semantic": collection_semantic, + } + // fmt.Println("添加图片矩阵的map:", data) + url := "http://1.95.32.15:10100/collection/insert" + + println("3:", data["owner_id"].(string)) + data["owner_id"] = owner_id + println("5:", data["owner_id"]) + resp, err := sendPostRequest(url, data) + if err != nil { + fmt.Printf("Error: %v\n", err) + return + } + defer resp.Body.Close() + + fmt.Printf("Response status: %s\n", resp.Status) + var result map[string]interface{} + if err := json.NewDecoder(resp.Body).Decode(&result); err != nil { + fmt.Printf("Error decoding response: %v\n", err) + return + } + + fmt.Printf("Response body: %v\n", result) + collection_id = result["collection_id"].(string) + tx := result["tx"].(string) + // fmt.Println("collection_id:", collection_id) + // fmt.Println("tx", tx) + + // c.String(http.StatusOK, "sendToBlockSuccess!") + c.JSON(http.StatusOK, gin.H{ + "collection_id": collection_id, + "tx": tx, + }) +} + +func selectFromChains(c *gin.Context) { + // data := c.GetString("data") + // println(data) + + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + fmt.Println(par) + results := select_from_chains(par.Collection_id) + // fmt.Println(results) + collection_id := results["collection_id"] + collection_name := results["collection_name"] + owner_id := results["owner_id"] + certificate_time := results["certificate_time"] + certificate_organization := results["certificate_organization"] + collection_semantic := results["collection_semantic"] + println("4:", owner_id) + // collection_matrix := results["collection_matrix"] + // collection_matrixfloat := collection_matrix.([][]float64) + + // // 矩阵转图片 + // collection_matrixcolor := float64MatrixToRGBAMatrix(collection_matrixfloat, 512, 512) + // img := matrixToImage(collection_matrixcolor, 512, 512) + // // 保存图片到文件 + // filename := "MatrixImg.png" + // err := saveImage(img, filename) + + // if err != nil { + // panic(err) + // } + // tx := results["tx"].(string) + + c.JSON(http.StatusOK, gin.H{ + "collection_id": collection_id, + "collection_name": collection_name, + "owner_id": owner_id, + "certificate_time": certificate_time, + "certificate_organization": certificate_organization, + "collection_semantic": collection_semantic, + + // "tx": tx, + }) + +} + +func selectForWatermark(c *gin.Context) { + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + collection_name = par.Collection_name + watermark := ImgExtractWaterMark("./" + collection_name + "WatermarkImg.png") + + // if watermark != " " { + // fmt.Println(watermark) + // } + + c.JSON(http.StatusOK, gin.H{ + "watermark": watermark, + }) +} + +func updateToChains(c *gin.Context) { + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + fmt.Println(par) + results := update_to_chains(par.Collection_id, par.Collection_name, par.Collection_make, par.Collection_record, par.Owner_id, par.Certificate_organization, par.Collection_semantic) + fmt.Println(results) + // collection_id = results["collection_id"].(string) + tx := results["tx"].(string) + // record := results["record"].(string) + + c.JSON(http.StatusOK, gin.H{ + // "collection_id": collection_id, + "tx": tx, + // "record": record, + }) +} + +func deleteFromChains(c *gin.Context) { + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + fmt.Println(par) + results := delete_from_chains(par.Collection_id) + fmt.Println(results) + tx := results["tx"] + + c.JSON(http.StatusOK, gin.H{ + "tx": tx, + }) +} + +func transferToChains(c *gin.Context) { + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + fmt.Println(par.Collection_id) + fmt.Println(par.Owner_id1) + fmt.Println(par.Owner_id2) + fmt.Println(par.Goods) + results := transfer_to_chains(par.Collection_id, par.Owner_id1, par.Owner_id2, par.Goods) + fmt.Println(results) + tx := results["tx"].(string) + + c.JSON(http.StatusOK, gin.H{ + "tx": tx, + }) + +} + +func addUserToChains(c *gin.Context) { + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + fmt.Println(par) + results := add_user_to_chains(par.User_id, par.User_money, par.User_name, par.User_icon) + fmt.Println(results) + // user_id := results["user_id"].(string) + // user_money := results["user_money"].(string) + // user_name := results["use_name"].(string) + // user_icon := results["use_icon"].(string) + tx := results["tx"].(string) + + c.JSON(http.StatusOK, gin.H{ + "userid": par.User_id, + "usermoney": par.User_money, + "username": par.User_name, + "usericon": par.User_icon, + "tx": tx, + }) + +} + +func selectUserFromChains(c *gin.Context) { + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + fmt.Println(par) + results := select_user_from_chains(par.User_id) + fmt.Println(results) + user_id := results["user_ids"] + user_money := results["user_moneys"] + user_name := results["user_names"] + user_icon := results["user_icons"] + // tx := results["tx"].(string) + + c.JSON(http.StatusOK, gin.H{ + "userid": user_id, + "usermoney": user_money, + "username": user_name, + "usericon": user_icon, + }) + +} + +func deleteUserFromChains(c *gin.Context) { + var par Par + // print(1) + if err := c.ShouldBindJSON(&par); err != nil { + // 如果绑定失败,返回错误信息 + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + print(err.Error()) + return + } + fmt.Println(par) + results := delete_user_from_chains(par.User_id) + fmt.Println(results) + tx := results["tx"].(string) + + c.JSON(http.StatusOK, gin.H{ + "tx": tx, + }) + +} + +func select_from_chains(collection_id string) map[string]interface{} { + url := "http://1.95.32.15:10100/collection/select" + data := map[string]interface{}{ + "collection_id": collection_id, + } + resp, err := sendPostRequest(url, data) + if err != nil { + fmt.Printf("Error: %v\n", err) + return nil + } + defer resp.Body.Close() + + fmt.Printf("Response status: %s\n", resp.Status) + var result map[string]interface{} + if err := json.NewDecoder(resp.Body).Decode(&result); err != nil { + fmt.Printf("Error decoding response: %v\n", err) + return nil + } + return result +} + +func update_to_chains(collection_id string, collection_name string, collection_make string, collection_record string, owner_id string, certificate_organization string, collection_semantic string) map[string]interface{} { + url := "http://1.95.32.15:10100/collection/update" + data := map[string]interface{}{ + "collection_id": collection_id, + "collection_name": collection_name, + "collection_make": collection_make, + "collection_record": collection_record, + "owner_id": owner_id, + "certificate_time": time.Now(), + "certificate_organization": certificate_organization, + "collection_semantic": collection_semantic, + } + resp, err := sendPostRequest(url, data) + if err != nil { + fmt.Printf("Error: %v\n", err) + return nil + } + defer resp.Body.Close() + + fmt.Printf("Response status: %s\n", resp.Status) + var result map[string]interface{} + if err := json.NewDecoder(resp.Body).Decode(&result); err != nil { + fmt.Printf("Error decoding response: %v\n", err) + return nil + } + return result +} + +func delete_from_chains(collection_id string) map[string]interface{} { + url := "http://1.95.32.15:10100/collection/delete" + data := map[string]interface{}{ + "collection_id": collection_id, + } + resp, err := sendPostRequest(url, data) + if err != nil { + fmt.Printf("Error: %v\n", err) + return nil + } + defer resp.Body.Close() + + fmt.Printf("Response status: %s\n", resp.Status) + var result map[string]interface{} + if err := json.NewDecoder(resp.Body).Decode(&result); err != nil { + fmt.Printf("Error decoding response: %v\n", err) + return nil + } + return result +} + +func transfer_to_chains(collection_id string, owner_id1 string, owner_id2 string, goods int) map[string]interface{} { + url := "http://1.95.32.15:10100/collection/transfer" + data := map[string]interface{}{ + "user_id1": owner_id1, + "user_id2": owner_id2, + "collection_id": collection_id, + "transfer_money": goods, + } + resp, err := sendPostRequest(url, data) + if err != nil { + fmt.Printf("Error: %v\n", err) + return nil + } + defer resp.Body.Close() + + fmt.Printf("Response status: %s\n", resp.Status) + var result map[string]interface{} + if err := json.NewDecoder(resp.Body).Decode(&result); err != nil { + fmt.Printf("Error decoding response: %v\n", err) + return nil + } + fmt.Println(result) + return result +} + +func add_user_to_chains(user_id string, user_money int, user_name string, user_icon string) map[string]interface{} { + url := "http://1.95.32.15:10100/account/insert" + data := map[string]interface{}{ + "user_id": user_id, + "user_money": user_money, + "user_name": user_name, + "user_icon": user_icon, + } + resp, err := sendPostRequest(url, data) + if err != nil { + fmt.Printf("Error: %v\n", err) + return nil + } + defer resp.Body.Close() + + fmt.Printf("Response status: %s\n", resp.Status) + var result map[string]interface{} + if err := json.NewDecoder(resp.Body).Decode(&result); err != nil { + fmt.Printf("Error decoding response: %v\n", err) + return nil + } + return result +} + +func select_user_from_chains(user_id string) map[string]interface{} { + url := "http://1.95.32.15:10100/account/select" + data := map[string]interface{}{ + "user_id": user_id, + } + + resp, err := sendPostRequest(url, data) + if err != nil { + fmt.Printf("Error: %v\n", err) + return nil + } + + defer resp.Body.Close() + + fmt.Printf("Response status: %s\n", resp.Status) + var result map[string]interface{} + if err := json.NewDecoder(resp.Body).Decode(&result); err != nil { + fmt.Printf("Error decoding response: %v\n", err) + return nil + } + return result +} + +func delete_user_from_chains(user_id string) map[string]interface{} { + url := "http://1.95.32.15:10100/account/delete" + data := map[string]interface{}{ + "user_id": user_id, + } + + resp, err := sendPostRequest(url, data) + if err != nil { + fmt.Printf("Error: %v\n", err) + return nil + } + defer resp.Body.Close() + + fmt.Printf("Response status: %s\n", resp.Status) + var result map[string]interface{} + if err := json.NewDecoder(resp.Body).Decode(&result); err != nil { + fmt.Printf("Error decoding response: %v\n", err) + return nil + } + return result +} + +func main() { + // 创建一个默认的路由引擎 + r := gin.Default() + + // 允许所有域名使用 + r.Use(cors.Default()) + + // 配置路由 + r.GET("/", func(c *gin.Context) { + c.JSON(200, gin.H{ + // c.JSON:返回 JSON 格式的数据 + "message": "Hello world!", + }) + }) + + // 运行SD + r.POST("/runsd", runsd) + r.POST("/sendtoblock", sendToBlock) + r.POST("/selectforwatermark", selectForWatermark) + r.POST("/selectfromchains", selectFromChains) + r.POST("/updatetochains", updateToChains) + r.POST("/deletefromchains", deleteFromChains) + r.POST("/transfertochains", transferToChains) + r.POST("/addusertochains", addUserToChains) + r.POST("/selectuserfromchains", selectUserFromChains) + r.POST("/deleteuserfromchains", deleteUserFromChains) + + r.GET("/hello", func(c *gin.Context) { + c.String(http.StatusOK, "hello") + }) + + // r.GET("/user", func(c *gin.Context) { + // id := c.Query("id") + // c.JSON(200, gin.H{ + // "id": id, + // }) + // }) + + // r.GET("/user/:id", func(c *gin.Context) { + // //id := c.Query("id") + // id := c.Param("id") + // c.JSON(200, gin.H{ + // "id": id, + // }) + // }) + + // r.POST("/login", func(c *gin.Context) { + // c.String(200, "login") + // }) + + // r.POST("/json", func(c *gin.Context) { + // raw, _ := c.GetRawData() + // var j map[string]interface{} + // json.Unmarshal(raw, &j) + // var id = j["id"] + // print(id) + // fmt.Println(id) + // c.JSON(200, gin.H{ + // "id": id, + // }) + // }) + + // r.POST("/addjson", func(c *gin.Context) { + // id := c.PostForm("id") + // name := c.PostForm("name") + // c.JSON(200, gin.H{ + // "id": id, + // "name": name, + // }) + // }) + + r.Run(":8887") // 启动 HTTP 服务 +} + +// imageToMatrix 将图片转换为彩色矩阵 +func imageToMatrix(img image.Image) [][]color.RGBA { + bounds := img.Bounds() + width, height := bounds.Dx(), bounds.Dy() + + matrix := make([][]color.RGBA, height) + for i := range matrix { + matrix[i] = make([]color.RGBA, width) + } + + for y := 0; y < height; y++ { + for x := 0; x < width; x++ { + // 获取当前像素的RGBA值 + rgba := img.At(x, y).(color.RGBA) + // 将RGBA值存储到矩阵中 + matrix[y][x] = rgba + } + } + + return matrix +} + +// rgbaMatrixToFloat64Matrix 将color.RGBA类型矩阵转换为float64类型矩阵 +func rgbaMatrixToFloat64Matrix(rgbaMatrix [][]color.RGBA) [][]float64 { + float64Matrix := make([][]float64, len(rgbaMatrix)) + for i := range rgbaMatrix { + float64Matrix[i] = make([]float64, len(rgbaMatrix[i])*4) // 每个像素有4个通道 + } + + for y, row := range rgbaMatrix { + for x, rgba := range row { + // 将uint8转换为float64,并归一化到0到1的范围内 + float64Matrix[y][x*4+0] = float64(rgba.R) / 255.0 + float64Matrix[y][x*4+1] = float64(rgba.G) / 255.0 + float64Matrix[y][x*4+2] = float64(rgba.B) / 255.0 + float64Matrix[y][x*4+3] = float64(rgba.A) / 255.0 + } + } + + return float64Matrix +} + +// float64MatrixToRGBAMatrix 将float64类型矩阵转换回color.RGBA类型矩阵 +func float64MatrixToRGBAMatrix(float64Matrix [][]float64, width, height int) [][]color.RGBA { + rgbaMatrix := make([][]color.RGBA, height) + for i := range rgbaMatrix { + rgbaMatrix[i] = make([]color.RGBA, width) + } + + for y := 0; y < height; y++ { + for x := 0; x < width; x++ { + // 将float64值缩放回0到255的范围,并转换为uint8 + r := uint8(float64(float64Matrix[y][x*4+0]) * 255) + g := uint8(float64(float64Matrix[y][x*4+1]) * 255) + b := uint8(float64(float64Matrix[y][x*4+2]) * 255) + a := uint8(float64(float64Matrix[y][x*4+3]) * 255) + rgbaMatrix[y][x] = color.RGBA{R: r, G: g, B: b, A: a} + } + } + + return rgbaMatrix +} + +// matrixToImage 将彩色矩阵转换回图片 +func matrixToImage(matrix [][]color.RGBA, width, height int) *image.RGBA { + img := image.NewRGBA(image.Rect(0, 0, width, height)) + for y := 0; y < height; y++ { + for x := 0; x < width; x++ { + img.Set(x, y, matrix[y][x]) + } + } + return img +} + +// saveImage 保存图片到文件 +func saveImage(img *image.RGBA, filename string) error { + file, err := os.Create(filename) + if err != nil { + return err + } + defer file.Close() + + err = png.Encode(file, img) + if err != nil { + return err + } + return nil +} + +// 发送HTTP POST请求 +func sendPostRequest(url string, data interface{}) (*http.Response, error) { + jsonData, err := json.Marshal(data) + if err != nil { + return nil, fmt.Errorf("error marshalling data: %v", err) + } + + req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonData)) + if err != nil { + return nil, fmt.Errorf("error creating request: %v", err) + } + + req.Header.Set("Content-Type", "application/json") + + client := &http.Client{} + resp, err := client.Do(req) + if err != nil { + return nil, fmt.Errorf("error sending request: %v", err) + } + + return resp, nil +} + +// 水印的相关函数 +const ( + d = 16 +) + +// 添加水印 +func ImgAddWatermark(inputimgpath string, watermark string, outputimgpath string) { + imageByte, err := os.ReadFile(inputimgpath) + if err != nil { + print("ReadFileError:", err) + return + } + img, _, err := image.Decode(bytes.NewBuffer(imageByte)) + if err != nil { + print(err) + return + } + + wmImg, _ := AddWatermark(img, bytes.NewBufferString(watermark).Bytes()) + + b, _ := ExtractWaterMask(wmImg) + println("add watermark success! the watermark is: ", bytes.NewBuffer(b).String()) + + f, err := os.Create(outputimgpath) + png.Encode(f, wmImg) +} + +// 提取水印 +func ImgExtractWaterMark(imgpath string) string { + + imageByte, err := os.ReadFile(imgpath) + if err != nil { + print(err) + return "readerr" + } + img, _, err := image.Decode(bytes.NewBuffer(imageByte)) + if err != nil { + print(err) + return "decodeerr" + } + + wm, err := ExtractWaterMask(img) + wmstr := bytes.NewBuffer(wm).String() + + // println("extract watermark success! the watermark is: ", bytes.NewBuffer(wm).String()) + println("extract watermark success! the watermark is: ", wmstr) + return wmstr +} + +func AddWatermark(img image.Image, wm []byte) (image.Image, error) { + RGBAImage := image.NewRGBA(image.Rect(0, 0, img.Bounds().Dx(), img.Bounds().Dy())) + draw.Draw(RGBAImage, RGBAImage.Bounds(), img, img.Bounds().Min, draw.Src) + + pix := make([][]float64, RGBAImage.Bounds().Max.X) + for i := 0; i < RGBAImage.Bounds().Max.X; i++ { + row := make([]float64, img.Bounds().Max.Y) + for j := 0; j < RGBAImage.Bounds().Max.Y; j++ { + r, _, _, _ := RGBAImage.At(i, j).RGBA() + row[j] = float64(uint8(r)) + } + pix[i] = row + } + + ll, lh, hl, hh := Dwt2(pix) + + blocks := SwitchToBlocks(ll) + + blocks = EmbedWm(blocks, wm) + + //fmt.Println(bytes.NewBuffer(append(bytes.NewBufferString(wm).Bytes(), []byte{0,0}...)).Bytes()) + //fmt.Println(blocks) + ll = RestoreSourceData(blocks) + + pix = Idwt2(ll, lh, hl, hh) + + for i, _ := range pix { + for j, w := range pix[i] { + if w > 255 { + //fmt.Println(i, j, w) + pix[i][j] = 255 + } + if w < 0 { + pix[i][j] = 0 + } + } + } + + for i := 0; i < RGBAImage.Bounds().Max.X; i++ { + for j := 0; j < RGBAImage.Bounds().Max.Y; j++ { + _, g, b, a := RGBAImage.At(i, j).RGBA() + RGBAImage.Set(i, j, color.RGBA{ + R: uint8(pix[i][j] + 0.1), + G: uint8(g), + B: uint8(b), + A: uint8(a), + }) + //fmt.Println(RGBAImage.At(i,j).RGBA()) + } + } + + return RGBAImage, nil +} + +func ExtractWaterMask(img image.Image) ([]byte, error) { + RGBAImage := image.NewRGBA(image.Rect(0, 0, img.Bounds().Dx(), img.Bounds().Dy())) + draw.Draw(RGBAImage, RGBAImage.Bounds(), img, img.Bounds().Min, draw.Src) + + pix := make([][]float64, RGBAImage.Bounds().Max.X) + for i := 0; i < RGBAImage.Bounds().Max.X; i++ { + row := make([]float64, img.Bounds().Max.Y) + for j := 0; j < RGBAImage.Bounds().Max.Y; j++ { + r, _, _, _ := RGBAImage.At(i, j).RGBA() + row[j] = float64(uint8(r)) + } + pix[i] = row + } + + ll, _, _, _ := Dwt2(pix) + + blocks := SwitchToBlocks(ll) + + wm := ExtractWm(blocks) + + return wm, nil +} + +func EmbedWm(src [][][][]float64, wm []uint8) [][][][]float64 { + startSymbol := []byte{1, 1, 1, 1} + wm = append(append(startSymbol, wm...), []byte{0, 0, 0, 0}...) + for i := 0; i < len(src); i++ { + for j := 0; j < len(src[i]); j++ { + pos := ((i*len(src[i]) + j) / 8) % len(wm) + phase := (i*len(src[i]) + j) % 8 + //fmt.Println(i, j, pos, phase) + //if pos >= len(wm) { + // //ExtractWm(src) + // return src + //} + + bit := (wm[pos] >> phase) & 1 + //fmt.Println(bit) + //fmt.Println((float64(uint64(src[i][j][0][0]/36)) + (1.0/4) + (1.0/2)*float64(b[i*len(src)+j])), (float64(uint64(src[i][j][0][0]/36)) + (1/4) + (1/2)*float64(b[i*len(src)+j])) * 36) + //src[i][j][0][0] = (float64(uint64(src[i][j][0][0]/36)) + 1.0/4 + 1.0/2*bit) * 36 + //fmt.Println(src[i][j][0][0]) + src[i][j] = embedOneBitInBlock(src[i][j], bit) + } + } + //fmt.Println(src) + return src +} + +func embedOneBitInBlock(block [][]float64, bit uint8) [][]float64 { + //block = Dct2(block) + + block[0][0] = (float64(uint64(block[0][0]/d)) + 1.0/4 + 1.0/2*float64(bit)) * d + //fmt.Println(block[0][0], uint64(block[0][0])%36) + //block = Idct2(block) + + return block +} + +func extractBitFromBlock(block [][]float64) uint8 { + //block = Dct2(block) + //fmt.Println(block[0][0], uint64(block[0][0])%36) + //for i:=0;i d/2 { + return 1 + } + return 0 +} + +func ExtractWm(src [][][][]float64) []uint8 { + wm := make([]uint8, 0) + endCnt := 0 + startCnt := 0 + b := uint8(0) + for i := 0; i < len(src); i++ { + for j := 0; j < len(src[i]); j++ { + //pos := (i*len(src[i]) + j) / 8 + phase := (i*len(src[i]) + j) % 8 + + if extractBitFromBlock(src[i][j]) == 1 { + b |= 1 << phase + } + + if phase == 7 { + //fmt.Println(b) + if startCnt >= 4 { + wm = append(wm, b) + if b == 0 { + endCnt++ + } else { + endCnt = 0 + } + if endCnt >= 4 { + return wm[:len(wm)-4] + } + } else { + if b == 1 { + startCnt++ + } else { + startCnt = 0 + } + } + b = 0 + } + } + } + + return wm +} + +func dct(x []float64) []float64 { + ret := make([]float64, len(x)) + for k, _ := range x { + for n, _ := range x { + q := math.Sqrt(1 / float64(len(x))) + if k != 0 { + q = math.Sqrt(2 / float64(len(x))) + } + ret[k] += q * x[n] * math.Cos(math.Pi*(float64(n)+0.5)*float64(k)/float64(len(x))) + } + } + return ret +} + +func idct(xk []float64) []float64 { + ret := make([]float64, len(xk)) + for n, _ := range xk { + for k, _ := range xk { + q := math.Sqrt(1 / float64(len(xk))) + if k != 0 { + q = math.Sqrt(2 / float64(len(xk))) + } + ret[n] += q * xk[k] * math.Cos(math.Pi*(float64(n)+0.5)*float64(k)/float64(len(xk))) + } + } + return ret +} + +func Dct2(x [][]float64) [][]float64 { + for i, v := range x { + x[i] = dct(v) + } + x = switchRowAndColumns(x) + for i, v := range x { + x[i] = dct(v) + } + x = switchRowAndColumns(x) + return x +} + +func Idct2(x [][]float64) [][]float64 { + x = switchRowAndColumns(x) + for i, v := range x { + x[i] = idct(v) + } + x = switchRowAndColumns(x) + for i, v := range x { + x[i] = idct(v) + } + return x +} + +func Dwt2(src [][]float64) (aa [][]float64, ad [][]float64, da [][]float64, dd [][]float64) { + rows := len(src) + cols := len(src[0]) + if rows%2 == 1 || cols%2 == 1 { + panic("data is not vaild") + } + //fmt.Println(rows, cols) + for i, v := range src { + //fmt.Println(i) + dwt(v) + src[i] = v + } + src = switchRowAndColumns(src) + for i, v := range src { + //fmt.Println(i) + dwt(v) + src[i] = v + } + src = switchRowAndColumns(src) + + for i := 0; i < rows; i++ { + aa = append(aa, src[i][:cols/2]) + ad = append(ad, src[i][cols/2:]) + } + + return aa[:rows/2], ad[:rows/2], aa[rows/2:], ad[rows/2:] +} + +func Idwt2(aa [][]float64, ad [][]float64, da [][]float64, dd [][]float64) (dst [][]float64) { + for i := 0; i < len(aa); i++ { + aa[i] = append(aa[i], ad[i]...) + da[i] = append(da[i], dd[i]...) + } + dst = append(aa, da...) + + dst = switchRowAndColumns(dst) + for i, v := range dst { + idwt(v) + dst[i] = v + } + + dst = switchRowAndColumns(dst) + for i, v := range dst { + idwt(v) + dst[i] = v + } + + return dst +} + +const ( + p1_97 = -1.586134342 + ip1_97 = -p1_97 + + u1_97 = -0.05298011854 + iu1_97 = -u1_97 + + p2_97 = 0.8829110762 + ip2_97 = -p2_97 + + u2_97 = 0.4435068522 + iu2_97 = -u2_97 + + scale97 = 1.149604398 + iscale97 = 1.0 / scale97 +) + +// Fwt97 performs a bi-orthogonal 9/7 wavelet transformation (lifting implementation) +// of the signal in slice xn. The length of the signal n = len(xn) must be a power of 2. +// +// The input slice xn will be replaced by the transformation: +// +// The first half part of the output signal contains the approximation coefficients. +// The second half part contains the detail coefficients (aka. the wavelets coefficients). +func dwt(xn []float64) { + n := len(xn) + + // predict 1 + for i := 1; i < n-2; i += 2 { + xn[i] += p1_97 * (xn[i-1] + xn[i+1]) + } + xn[n-1] += 2 * p1_97 * xn[n-2] + + // update 1 + for i := 2; i < n; i += 2 { + xn[i] += u1_97 * (xn[i-1] + xn[i+1]) + } + xn[0] += 2 * u1_97 * xn[1] + + // predict 2 + for i := 1; i < n-2; i += 2 { + xn[i] += p2_97 * (xn[i-1] + xn[i+1]) + } + xn[n-1] += 2 * p2_97 * xn[n-2] + + // update 2 + for i := 2; i < n; i += 2 { + xn[i] += u2_97 * (xn[i-1] + xn[i+1]) + } + xn[0] += 2 * u2_97 * xn[1] + + // scale + for i := 0; i < n; i++ { + if i%2 != 0 { + xn[i] *= iscale97 + } else { + xn[i] /= iscale97 + } + } + + // pack + tb := make([]float64, n) + for i := 0; i < n; i++ { + if i%2 == 0 { + tb[i/2] = xn[i] + } else { + tb[n/2+i/2] = xn[i] + } + } + copy(xn, tb) +} + +// Iwt97 performs an inverse bi-orthogonal 9/7 wavelet transformation of xn. +// This is the inverse function of Fwt97 so that Iwt97(Fwt97(xn))=xn for every signal xn of length n. +// +// The length of slice xn must be a power of 2. +// +// The coefficients provided in slice xn are replaced by the original signal. +func idwt(xn []float64) { + n := len(xn) + + // unpack + tb := make([]float64, n) + for i := 0; i < n/2; i++ { + tb[i*2] = xn[i] + tb[i*2+1] = xn[i+n/2] + } + copy(xn, tb) + + // undo scale + for i := 0; i < n; i++ { + if i%2 != 0 { + xn[i] *= scale97 + } else { + xn[i] /= scale97 + } + } + + // undo update 2 + for i := 2; i < n; i += 2 { + xn[i] += iu2_97 * (xn[i-1] + xn[i+1]) + } + xn[0] += 2 * iu2_97 * xn[1] + + // undo predict 2 + for i := 1; i < n-2; i += 2 { + xn[i] += ip2_97 * (xn[i-1] + xn[i+1]) + } + xn[n-1] += 2 * ip2_97 * xn[n-2] + + // undo update 1 + for i := 2; i < n; i += 2 { + xn[i] += iu1_97 * (xn[i-1] + xn[i+1]) + } + xn[0] += 2 * iu1_97 * xn[1] + + // undo predict 1 + for i := 1; i < n-2; i += 2 { + xn[i] += ip1_97 * (xn[i-1] + xn[i+1]) + } + xn[n-1] += 2 * ip1_97 * xn[n-2] +} + +const ( + stride = 1 +) + +// 切分block,二维转四维 +func SwitchToBlocks(src [][]float64) (blocks [][][][]float64) { + + rLen := len(src) + cLen := len(src[0]) + //fmt.Println(rLen, cLen) + for i := 0; i*stride+stride-1 < rLen; i++ { + blockRow := make([][][]float64, 0) + for j := 0; j*stride+stride-1 < cLen; j++ { + block := [stride][]float64{} + + for m := 0; m < stride; m++ { + rowInBlock := [stride]float64{} + for n := 0; n < stride; n++ { + //fmt.Println(i, j, m, n, i*stride+m, j*stride+n) + //if j*stride+n>cLen{ + // + //} + rowInBlock[n] = src[i*stride+m][j*stride+n] + } + block[m] = rowInBlock[:] + } + blockRow = append(blockRow, block[:]) + } + //fmt.Println(i, blockRow) + blocks = append(blocks, blockRow) + } + return blocks +} + +// 还原数据 +func RestoreSourceData(blocks [][][][]float64) (src [][]float64) { + rBlockLen := len(blocks) + cBlockLen := len(blocks[0]) + + src = make([][]float64, rBlockLen*stride) + for i := 0; i < rBlockLen; i++ { + for m := 0; m < stride; m++ { + row := make([]float64, cBlockLen*stride) + for j := 0; j < cBlockLen; j++ { + for n := 0; n < stride; n++ { + row[j*stride+n] = blocks[i][j][m][n] + } + } + src[i*stride+m] = row + } + } + return src +} + +func switchRowAndColumns(data [][]float64) [][]float64 { + ret := make([][]float64, len(data[0])) + for j := 0; j < len(data[0]); j++ { + ret[j] = make([]float64, len(data)) + } + + for i := 0; i < len(data); i++ { + //fmt.Println(len(data[i])) + for j := 0; j < len(data[i]); j++ { + ret[j][i] = data[i][j] + } + } + return ret +} + +func FloatToUint8(f float64) uint8 { + return uint8(f + 0.1) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nameWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nameWatermarkImg.png new file mode 100644 index 000000000..bac03d79b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nameWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/namenbWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/namenbWatermarkImg.png new file mode 100644 index 000000000..4e061c826 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/namenbWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb10WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb10WatermarkImg.png new file mode 100644 index 000000000..92c99fdf3 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb10WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb2WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb2WatermarkImg.png new file mode 100644 index 000000000..0adbee44c Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb2WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb3WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb3WatermarkImg.png new file mode 100644 index 000000000..fe695b41d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb3WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb4WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb4WatermarkImg.png new file mode 100644 index 000000000..837fd107e Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb4WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb8WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb8WatermarkImg.png new file mode 100644 index 000000000..0a7389c98 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nb8WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nbWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nbWatermarkImg.png new file mode 100644 index 000000000..0c8197031 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nbWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nbbWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nbbWatermarkImg.png new file mode 100644 index 000000000..88fb52c12 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/nbbWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/tju_pictureWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/tju_pictureWatermarkImg.png new file mode 100644 index 000000000..942097112 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/tju_pictureWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/tju_testpicWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/tju_testpicWatermarkImg.png new file mode 100644 index 000000000..8b6b7669d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/tju_testpicWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/unique_id_123WatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/unique_id_123WatermarkImg.png new file mode 100644 index 000000000..77d44917a Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/unique_id_123WatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/wrsWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/wrsWatermarkImg.png new file mode 100644 index 000000000..eb6e8a4a6 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/wrsWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/wzryWatermarkImg.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/wzryWatermarkImg.png new file mode 100644 index 000000000..748eca8de Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/backend2/wzryWatermarkImg.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/Dockerfile b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/Dockerfile new file mode 100644 index 000000000..545f70833 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/Dockerfile @@ -0,0 +1,24 @@ +FROM golang:alpine as builder + +WORKDIR /go/src/github.com/flipped-aurora/gin-vue-admin/server +COPY . . + +RUN go env -w GO111MODULE=on \ + && go env -w GOPROXY=https://goproxy.cn,direct \ + && go env -w CGO_ENABLED=0 \ + && go env \ + && go mod tidy \ + && go build -o server . + +FROM alpine:latest + +LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com" + +WORKDIR /go/src/github.com/flipped-aurora/gin-vue-admin/server + +COPY --from=0 /go/src/github.com/flipped-aurora/gin-vue-admin/server/server ./ +COPY --from=0 /go/src/github.com/flipped-aurora/gin-vue-admin/server/resource ./resource/ +COPY --from=0 /go/src/github.com/flipped-aurora/gin-vue-admin/server/config.docker.yaml ./ + +EXPOSE 8888 +ENTRYPOINT ./server -c config.docker.yaml diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/README.md b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/README.md new file mode 100644 index 000000000..9a34870bc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/README.md @@ -0,0 +1,54 @@ +## server项目结构 + +```shell +├── api +│   └── v1 +├── config +├── core +├── docs +├── global +├── initialize +│   └── internal +├── middleware +├── model +│   ├── request +│   └── response +├── packfile +├── resource +│   ├── excel +│   ├── page +│   └── template +├── router +├── service +├── source +└── utils + ├── timer + └── upload +``` + +| 文件夹 | 说明 | 描述 | +| ------------ | ----------------------- | --------------------------- | +| `api` | api层 | api层 | +| `--v1` | v1版本接口 | v1版本接口 | +| `config` | 配置包 | config.yaml对应的配置结构体 | +| `core` | 核心文件 | 核心组件(zap, viper, server)的初始化 | +| `docs` | swagger文档目录 | swagger文档目录 | +| `global` | 全局对象 | 全局对象 | +| `initialize` | 初始化 | router,redis,gorm,validator, timer的初始化 | +| `--internal` | 初始化内部函数 | gorm 的 longger 自定义,在此文件夹的函数只能由 `initialize` 层进行调用 | +| `middleware` | 中间件层 | 用于存放 `gin` 中间件代码 | +| `model` | 模型层 | 模型对应数据表 | +| `--request` | 入参结构体 | 接收前端发送到后端的数据。 | +| `--response` | 出参结构体 | 返回给前端的数据结构体 | +| `packfile` | 静态文件打包 | 静态文件打包 | +| `resource` | 静态资源文件夹 | 负责存放静态文件 | +| `--excel` | excel导入导出默认路径 | excel导入导出默认路径 | +| `--page` | 表单生成器 | 表单生成器 打包后的dist | +| `--template` | 模板 | 模板文件夹,存放的是代码生成器的模板 | +| `router` | 路由层 | 路由层 | +| `service` | service层 | 存放业务逻辑问题 | +| `source` | source层 | 存放初始化数据的函数 | +| `utils` | 工具包 | 工具函数封装 | +| `--timer` | timer | 定时器接口封装 | +| `--upload` | oss | oss接口封装 | + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/chainuser/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/chainuser/enter.go new file mode 100644 index 000000000..85c27e55b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/chainuser/enter.go @@ -0,0 +1,5 @@ +package chainuser + +type ApiGroup struct { + UserchainApi +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/chainuser/user_chain.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/chainuser/user_chain.go new file mode 100644 index 000000000..27035930e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/chainuser/user_chain.go @@ -0,0 +1,171 @@ +package chainuser + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/chainuser" + chainuserReq "github.com/flipped-aurora/gin-vue-admin/server/model/chainuser/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/service" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type UserchainApi struct { +} + +var chainuseService = service.ServiceGroupApp.ChainuserServiceGroup.UserchainService + +// CreateUserchain 创建区块链用户 +// @Tags Userchain +// @Summary 创建区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body chainuser.Userchain true "创建区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /chainuse/createUserchain [post] +func (chainuseApi *UserchainApi) CreateUserchain(c *gin.Context) { + var chainuse chainuser.Userchain + err := c.ShouldBindJSON(&chainuse) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + chainuse.CreatedBy = utils.GetUserID(c) + if err := chainuseService.CreateUserchain(&chainuse); err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + } else { + response.OkWithMessage("创建成功", c) + } +} + +// DeleteUserchain 删除区块链用户 +// @Tags Userchain +// @Summary 删除区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body chainuser.Userchain true "删除区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /chainuse/deleteUserchain [delete] +func (chainuseApi *UserchainApi) DeleteUserchain(c *gin.Context) { + var chainuse chainuser.Userchain + err := c.ShouldBindJSON(&chainuse) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + chainuse.DeletedBy = utils.GetUserID(c) + if err := chainuseService.DeleteUserchain(chainuse); err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + } else { + response.OkWithMessage("删除成功", c) + } +} + +// DeleteUserchainByIds 批量删除区块链用户 +// @Tags Userchain +// @Summary 批量删除区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "批量删除区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" +// @Router /chainuse/deleteUserchainByIds [delete] +func (chainuseApi *UserchainApi) DeleteUserchainByIds(c *gin.Context) { + var IDS request.IdsReq + err := c.ShouldBindJSON(&IDS) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + deletedBy := utils.GetUserID(c) + if err := chainuseService.DeleteUserchainByIds(IDS, deletedBy); err != nil { + global.GVA_LOG.Error("批量删除失败!", zap.Error(err)) + response.FailWithMessage("批量删除失败", c) + } else { + response.OkWithMessage("批量删除成功", c) + } +} + +// UpdateUserchain 更新区块链用户 +// @Tags Userchain +// @Summary 更新区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body chainuser.Userchain true "更新区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /chainuse/updateUserchain [put] +func (chainuseApi *UserchainApi) UpdateUserchain(c *gin.Context) { + var chainuse chainuser.Userchain + err := c.ShouldBindJSON(&chainuse) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + chainuse.UpdatedBy = utils.GetUserID(c) + if err := chainuseService.UpdateUserchain(chainuse); err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败", c) + } else { + response.OkWithMessage("更新成功", c) + } +} + +// FindUserchain 用id查询区块链用户 +// @Tags Userchain +// @Summary 用id查询区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query chainuser.Userchain true "用id查询区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /chainuse/findUserchain [get] +func (chainuseApi *UserchainApi) FindUserchain(c *gin.Context) { + var chainuse chainuser.Userchain + err := c.ShouldBindQuery(&chainuse) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if rechainuse, err := chainuseService.GetUserchain(chainuse.Name); err != nil { + global.GVA_LOG.Error("查询失败!", zap.Error(err)) + response.FailWithMessage("查询失败", c) + } else { + response.OkWithData(gin.H{"rechainuse": rechainuse}, c) + } +} + +// GetUserchainList 分页获取区块链用户列表 +// @Tags Userchain +// @Summary 分页获取区块链用户列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query chainuserReq.UserchainSearch true "分页获取区块链用户列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /chainuse/getUserchainList [get] +func (chainuseApi *UserchainApi) GetUserchainList(c *gin.Context) { + var pageInfo chainuserReq.UserchainSearch + err := c.ShouldBindQuery(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if list, total, err := chainuseService.GetUserchainInfoList(pageInfo); err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + } else { + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/enter.go new file mode 100644 index 000000000..8ea794750 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/enter.go @@ -0,0 +1,17 @@ +package v1 + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/api/v1/chainuser" + "github.com/flipped-aurora/gin-vue-admin/server/api/v1/example" + "github.com/flipped-aurora/gin-vue-admin/server/api/v1/knowledge" + "github.com/flipped-aurora/gin-vue-admin/server/api/v1/system" +) + +type ApiGroup struct { + SystemApiGroup system.ApiGroup + ExampleApiGroup example.ApiGroup + KnowledgeApiGroup knowledge.ApiGroup + ChainuserApiGroup chainuser.ApiGroup +} + +var ApiGroupApp = new(ApiGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/enter.go new file mode 100644 index 000000000..c182328ea --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/enter.go @@ -0,0 +1,13 @@ +package example + +import "github.com/flipped-aurora/gin-vue-admin/server/service" + +type ApiGroup struct { + CustomerApi + FileUploadAndDownloadApi +} + +var ( + customerService = service.ServiceGroupApp.ExampleServiceGroup.CustomerService + fileUploadAndDownloadService = service.ServiceGroupApp.ExampleServiceGroup.FileUploadAndDownloadService +) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_breakpoint_continue.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_breakpoint_continue.go new file mode 100644 index 000000000..5ceba06b0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_breakpoint_continue.go @@ -0,0 +1,150 @@ +package example + +import ( + "fmt" + "io" + "mime/multipart" + "strconv" + + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + exampleRes "github.com/flipped-aurora/gin-vue-admin/server/model/example/response" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +// BreakpointContinue +// @Tags ExaFileUploadAndDownload +// @Summary 断点续传到服务器 +// @Security ApiKeyAuth +// @accept multipart/form-data +// @Produce application/json +// @Param file formData file true "an example for breakpoint resume, 断点续传示例" +// @Success 200 {object} response.Response{msg=string} "断点续传到服务器" +// @Router /fileUploadAndDownload/breakpointContinue [post] +func (b *FileUploadAndDownloadApi) BreakpointContinue(c *gin.Context) { + fileMd5 := c.Request.FormValue("fileMd5") + fileName := c.Request.FormValue("fileName") + chunkMd5 := c.Request.FormValue("chunkMd5") + chunkNumber, _ := strconv.Atoi(c.Request.FormValue("chunkNumber")) + chunkTotal, _ := strconv.Atoi(c.Request.FormValue("chunkTotal")) + _, FileHeader, err := c.Request.FormFile("file") + if err != nil { + global.GVA_LOG.Error("接收文件失败!", zap.Error(err)) + response.FailWithMessage("接收文件失败", c) + return + } + f, err := FileHeader.Open() + if err != nil { + global.GVA_LOG.Error("文件读取失败!", zap.Error(err)) + response.FailWithMessage("文件读取失败", c) + return + } + defer func(f multipart.File) { + err := f.Close() + if err != nil { + fmt.Println(err) + } + }(f) + cen, _ := io.ReadAll(f) + if !utils.CheckMd5(cen, chunkMd5) { + global.GVA_LOG.Error("检查md5失败!", zap.Error(err)) + response.FailWithMessage("检查md5失败", c) + return + } + file, err := fileUploadAndDownloadService.FindOrCreateFile(fileMd5, fileName, chunkTotal) + if err != nil { + global.GVA_LOG.Error("查找或创建记录失败!", zap.Error(err)) + response.FailWithMessage("查找或创建记录失败", c) + return + } + pathC, err := utils.BreakPointContinue(cen, fileName, chunkNumber, chunkTotal, fileMd5) + if err != nil { + global.GVA_LOG.Error("断点续传失败!", zap.Error(err)) + response.FailWithMessage("断点续传失败", c) + return + } + + if err = fileUploadAndDownloadService.CreateFileChunk(file.ID, pathC, chunkNumber); err != nil { + global.GVA_LOG.Error("创建文件记录失败!", zap.Error(err)) + response.FailWithMessage("创建文件记录失败", c) + return + } + response.OkWithMessage("切片创建成功", c) +} + +// FindFile +// @Tags ExaFileUploadAndDownload +// @Summary 查找文件 +// @Security ApiKeyAuth +// @accept multipart/form-data +// @Produce application/json +// @Param file formData file true "Find the file, 查找文件" +// @Success 200 {object} response.Response{data=exampleRes.FileResponse,msg=string} "查找文件,返回包括文件详情" +// @Router /fileUploadAndDownload/findFile [post] +func (b *FileUploadAndDownloadApi) FindFile(c *gin.Context) { + fileMd5 := c.Query("fileMd5") + fileName := c.Query("fileName") + chunkTotal, _ := strconv.Atoi(c.Query("chunkTotal")) + file, err := fileUploadAndDownloadService.FindOrCreateFile(fileMd5, fileName, chunkTotal) + if err != nil { + global.GVA_LOG.Error("查找失败!", zap.Error(err)) + response.FailWithMessage("查找失败", c) + } else { + response.OkWithDetailed(exampleRes.FileResponse{File: file}, "查找成功", c) + } +} + +// BreakpointContinueFinish +// @Tags ExaFileUploadAndDownload +// @Summary 创建文件 +// @Security ApiKeyAuth +// @accept multipart/form-data +// @Produce application/json +// @Param file formData file true "上传文件完成" +// @Success 200 {object} response.Response{data=exampleRes.FilePathResponse,msg=string} "创建文件,返回包括文件路径" +// @Router /fileUploadAndDownload/findFile [post] +func (b *FileUploadAndDownloadApi) BreakpointContinueFinish(c *gin.Context) { + fileMd5 := c.Query("fileMd5") + fileName := c.Query("fileName") + filePath, err := utils.MakeFile(fileName, fileMd5) + if err != nil { + global.GVA_LOG.Error("文件创建失败!", zap.Error(err)) + response.FailWithDetailed(exampleRes.FilePathResponse{FilePath: filePath}, "文件创建失败", c) + } else { + response.OkWithDetailed(exampleRes.FilePathResponse{FilePath: filePath}, "文件创建成功", c) + } +} + +// RemoveChunk +// @Tags ExaFileUploadAndDownload +// @Summary 删除切片 +// @Security ApiKeyAuth +// @accept multipart/form-data +// @Produce application/json +// @Param file formData file true "删除缓存切片" +// @Success 200 {object} response.Response{msg=string} "删除切片" +// @Router /fileUploadAndDownload/removeChunk [post] +func (b *FileUploadAndDownloadApi) RemoveChunk(c *gin.Context) { + var file example.ExaFile + err := c.ShouldBindJSON(&file) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.RemoveChunk(file.FileMd5) + if err != nil { + global.GVA_LOG.Error("缓存切片删除失败!", zap.Error(err)) + return + } + err = fileUploadAndDownloadService.DeleteFileChunk(file.FileMd5, file.FilePath) + if err != nil { + global.GVA_LOG.Error(err.Error(), zap.Error(err)) + response.FailWithMessage(err.Error(), c) + return + } + response.OkWithMessage("缓存切片删除成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_customer.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_customer.go new file mode 100644 index 000000000..5d9ef1c02 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_customer.go @@ -0,0 +1,176 @@ +package example + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + exampleRes "github.com/flipped-aurora/gin-vue-admin/server/model/example/response" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type CustomerApi struct{} + +// CreateExaCustomer +// @Tags ExaCustomer +// @Summary 创建客户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body example.ExaCustomer true "客户用户名, 客户手机号码" +// @Success 200 {object} response.Response{msg=string} "创建客户" +// @Router /customer/customer [post] +func (e *CustomerApi) CreateExaCustomer(c *gin.Context) { + var customer example.ExaCustomer + err := c.ShouldBindJSON(&customer) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(customer, utils.CustomerVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + customer.SysUserID = utils.GetUserID(c) + customer.SysUserAuthorityID = utils.GetUserAuthorityId(c) + err = customerService.CreateExaCustomer(customer) + if err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + return + } + response.OkWithMessage("创建成功", c) +} + +// DeleteExaCustomer +// @Tags ExaCustomer +// @Summary 删除客户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body example.ExaCustomer true "客户ID" +// @Success 200 {object} response.Response{msg=string} "删除客户" +// @Router /customer/customer [delete] +func (e *CustomerApi) DeleteExaCustomer(c *gin.Context) { + var customer example.ExaCustomer + err := c.ShouldBindJSON(&customer) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(customer.GVA_MODEL, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = customerService.DeleteExaCustomer(customer) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// UpdateExaCustomer +// @Tags ExaCustomer +// @Summary 更新客户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body example.ExaCustomer true "客户ID, 客户信息" +// @Success 200 {object} response.Response{msg=string} "更新客户信息" +// @Router /customer/customer [put] +func (e *CustomerApi) UpdateExaCustomer(c *gin.Context) { + var customer example.ExaCustomer + err := c.ShouldBindJSON(&customer) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(customer.GVA_MODEL, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(customer, utils.CustomerVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = customerService.UpdateExaCustomer(&customer) + if err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败", c) + return + } + response.OkWithMessage("更新成功", c) +} + +// GetExaCustomer +// @Tags ExaCustomer +// @Summary 获取单一客户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query example.ExaCustomer true "客户ID" +// @Success 200 {object} response.Response{data=exampleRes.ExaCustomerResponse,msg=string} "获取单一客户信息,返回包括客户详情" +// @Router /customer/customer [get] +func (e *CustomerApi) GetExaCustomer(c *gin.Context) { + var customer example.ExaCustomer + err := c.ShouldBindQuery(&customer) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(customer.GVA_MODEL, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + data, err := customerService.GetExaCustomer(customer.ID) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(exampleRes.ExaCustomerResponse{Customer: data}, "获取成功", c) +} + +// GetExaCustomerList +// @Tags ExaCustomer +// @Summary 分页获取权限客户列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query request.PageInfo true "页码, 每页大小" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取权限客户列表,返回包括列表,总数,页码,每页数量" +// @Router /customer/customerList [get] +func (e *CustomerApi) GetExaCustomerList(c *gin.Context) { + var pageInfo request.PageInfo + err := c.ShouldBindQuery(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(pageInfo, utils.PageInfoVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + customerList, total, err := customerService.GetCustomerInfoList(utils.GetUserAuthorityId(c), pageInfo) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败"+err.Error(), c) + return + } + response.OkWithDetailed(response.PageResult{ + List: customerList, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_file_upload_download.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_file_upload_download.go new file mode 100644 index 000000000..79d3b150a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/example/exa_file_upload_download.go @@ -0,0 +1,183 @@ +package example + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + exampleRes "github.com/flipped-aurora/gin-vue-admin/server/model/example/response" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type FileUploadAndDownloadApi struct{} + +// UploadFile +// @Tags ExaFileUploadAndDownload +// @Summary 上传文件示例 +// @Security ApiKeyAuth +// @accept multipart/form-data +// @Produce application/json +// @Param file formData file true "上传文件示例" +// @Success 200 {object} response.Response{data=exampleRes.ExaFileResponse,msg=string} "上传文件示例,返回包括文件详情" +// @Router /fileUploadAndDownload/upload [post] +func (b *FileUploadAndDownloadApi) UploadFile(c *gin.Context) { + var file example.ExaFileUploadAndDownload + noSave := c.DefaultQuery("noSave", "0") + _, header, err := c.Request.FormFile("file") + if err != nil { + global.GVA_LOG.Error("接收文件失败!", zap.Error(err)) + response.FailWithMessage("接收文件失败", c) + return + } + file, err = fileUploadAndDownloadService.UploadFile(header, noSave) // 文件上传后拿到文件路径 + if err != nil { + global.GVA_LOG.Error("修改数据库链接失败!", zap.Error(err)) + response.FailWithMessage("修改数据库链接失败", c) + return + } + response.OkWithDetailed(exampleRes.ExaFileResponse{File: file}, "上传成功", c) +} + +// EditFileName 编辑文件名或者备注 +func (b *FileUploadAndDownloadApi) EditFileName(c *gin.Context) { + var file example.ExaFileUploadAndDownload + err := c.ShouldBindJSON(&file) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = fileUploadAndDownloadService.EditFileName(file) + if err != nil { + global.GVA_LOG.Error("编辑失败!", zap.Error(err)) + response.FailWithMessage("编辑失败", c) + return + } + response.OkWithMessage("编辑成功", c) +} + +// DeleteFile +// @Tags ExaFileUploadAndDownload +// @Summary 删除文件 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body example.ExaFileUploadAndDownload true "传入文件里面id即可" +// @Success 200 {object} response.Response{msg=string} "删除文件" +// @Router /fileUploadAndDownload/deleteFile [post] +func (b *FileUploadAndDownloadApi) DeleteFile(c *gin.Context) { + var file example.ExaFileUploadAndDownload + err := c.ShouldBindJSON(&file) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if err := fileUploadAndDownloadService.DeleteFile(file); err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// GetFileList +// @Tags ExaFileUploadAndDownload +// @Summary 分页文件列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.PageInfo true "页码, 每页大小" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页文件列表,返回包括列表,总数,页码,每页数量" +// @Router /fileUploadAndDownload/getFileList [post] +func (b *FileUploadAndDownloadApi) GetFileList(c *gin.Context) { + var pageInfo request.PageInfo + err := c.ShouldBindJSON(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + list, total, err := fileUploadAndDownloadService.GetFileRecordInfoList(pageInfo) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} + +func (b *FileUploadAndDownloadApi) GetFileListofUser(c *gin.Context) { + var pageInfo request.PageInfo + err := c.ShouldBindJSON(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + list, total, err := fileUploadAndDownloadService.GetFileRecordInfoListofUser(pageInfo) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} + +/*func (b *FileUploadAndDownloadApi) GetKeywordsList(c *gin.Context) { + keywordslist, err := fileUploadAndDownloadService.FindKeywords() + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(keywordslist, "获取成功", c) + +}*/ + +func (b *FileUploadAndDownloadApi) GetDetail(c *gin.Context) { + var filedetail example.ExaFileUploadAndDownload + err := c.ShouldBindQuery(&filedetail) + + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + refiledetail, err := fileUploadAndDownloadService.FindDetail(filedetail.Url) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithData(gin.H{"filedetail": refiledetail}, c) + +} + +type Transaction struct { + Buyer string + Seller string + Work string + Goods float64 +} + +func (b *FileUploadAndDownloadApi) ChangeOwner(c *gin.Context) { + var trans Transaction + err := c.ShouldBindJSON(&trans) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = fileUploadAndDownloadService.Exchange(trans.Buyer, trans.Seller, trans.Work, trans.Goods) + if err != nil { + global.GVA_LOG.Error("交易失败!", zap.Error(err)) + response.FailWithMessage("交易失败", c) + return + } + response.OkWithMessage("交易成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/knowledge/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/knowledge/enter.go new file mode 100644 index 000000000..d4371bfea --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/knowledge/enter.go @@ -0,0 +1,5 @@ +package knowledge + +type ApiGroup struct { + Img2imgApi +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/knowledge/img2img.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/knowledge/img2img.go new file mode 100644 index 000000000..86c0b535e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/knowledge/img2img.go @@ -0,0 +1,167 @@ +package knowledge + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/knowledge" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + knowledgeReq "github.com/flipped-aurora/gin-vue-admin/server/model/knowledge/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type Img2imgApi struct { +} + +var img2imgService = service.ServiceGroupApp.KnowledgeServiceGroup.Img2imgService + + +// CreateImg2img 创建图生图 +// @Tags Img2img +// @Summary 创建图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body knowledge.Img2img true "创建图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /img2img/createImg2img [post] +func (img2imgApi *Img2imgApi) CreateImg2img(c *gin.Context) { + var img2img knowledge.Img2img + err := c.ShouldBindJSON(&img2img) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if err := img2imgService.CreateImg2img(&img2img); err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + } else { + response.OkWithMessage("创建成功", c) + } +} + +// DeleteImg2img 删除图生图 +// @Tags Img2img +// @Summary 删除图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body knowledge.Img2img true "删除图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /img2img/deleteImg2img [delete] +func (img2imgApi *Img2imgApi) DeleteImg2img(c *gin.Context) { + var img2img knowledge.Img2img + err := c.ShouldBindJSON(&img2img) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if err := img2imgService.DeleteImg2img(img2img); err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + } else { + response.OkWithMessage("删除成功", c) + } +} + +// DeleteImg2imgByIds 批量删除图生图 +// @Tags Img2img +// @Summary 批量删除图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "批量删除图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" +// @Router /img2img/deleteImg2imgByIds [delete] +func (img2imgApi *Img2imgApi) DeleteImg2imgByIds(c *gin.Context) { + var IDS request.IdsReq + err := c.ShouldBindJSON(&IDS) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if err := img2imgService.DeleteImg2imgByIds(IDS); err != nil { + global.GVA_LOG.Error("批量删除失败!", zap.Error(err)) + response.FailWithMessage("批量删除失败", c) + } else { + response.OkWithMessage("批量删除成功", c) + } +} + +// UpdateImg2img 更新图生图 +// @Tags Img2img +// @Summary 更新图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body knowledge.Img2img true "更新图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /img2img/updateImg2img [put] +func (img2imgApi *Img2imgApi) UpdateImg2img(c *gin.Context) { + var img2img knowledge.Img2img + err := c.ShouldBindJSON(&img2img) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if err := img2imgService.UpdateImg2img(img2img); err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败", c) + } else { + response.OkWithMessage("更新成功", c) + } +} + +// FindImg2img 用id查询图生图 +// @Tags Img2img +// @Summary 用id查询图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query knowledge.Img2img true "用id查询图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /img2img/findImg2img [get] +func (img2imgApi *Img2imgApi) FindImg2img(c *gin.Context) { + var img2img knowledge.Img2img + err := c.ShouldBindQuery(&img2img) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if reimg2img, err := img2imgService.GetImg2img(img2img.ID); err != nil { + global.GVA_LOG.Error("查询失败!", zap.Error(err)) + response.FailWithMessage("查询失败", c) + } else { + response.OkWithData(gin.H{"reimg2img": reimg2img}, c) + } +} + +// GetImg2imgList 分页获取图生图列表 +// @Tags Img2img +// @Summary 分页获取图生图列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query knowledgeReq.Img2imgSearch true "分页获取图生图列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /img2img/getImg2imgList [get] +func (img2imgApi *Img2imgApi) GetImg2imgList(c *gin.Context) { + var pageInfo knowledgeReq.Img2imgSearch + err := c.ShouldBindQuery(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if list, total, err := img2imgService.GetImg2imgInfoList(pageInfo); err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + } else { + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/enter.go new file mode 100644 index 000000000..6227519db --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/enter.go @@ -0,0 +1,40 @@ +package system + +import "github.com/flipped-aurora/gin-vue-admin/server/service" + +type ApiGroup struct { + DBApi + JwtApi + BaseApi + SystemApi + CasbinApi + AutoCodeApi + SystemApiApi + AuthorityApi + DictionaryApi + AuthorityMenuApi + OperationRecordApi + AutoCodeHistoryApi + DictionaryDetailApi + AuthorityBtnApi + ChatGptApi +} + +var ( + apiService = service.ServiceGroupApp.SystemServiceGroup.ApiService + jwtService = service.ServiceGroupApp.SystemServiceGroup.JwtService + menuService = service.ServiceGroupApp.SystemServiceGroup.MenuService + userService = service.ServiceGroupApp.SystemServiceGroup.UserService + initDBService = service.ServiceGroupApp.SystemServiceGroup.InitDBService + casbinService = service.ServiceGroupApp.SystemServiceGroup.CasbinService + autoCodeService = service.ServiceGroupApp.SystemServiceGroup.AutoCodeService + baseMenuService = service.ServiceGroupApp.SystemServiceGroup.BaseMenuService + authorityService = service.ServiceGroupApp.SystemServiceGroup.AuthorityService + dictionaryService = service.ServiceGroupApp.SystemServiceGroup.DictionaryService + systemConfigService = service.ServiceGroupApp.SystemServiceGroup.SystemConfigService + operationRecordService = service.ServiceGroupApp.SystemServiceGroup.OperationRecordService + autoCodeHistoryService = service.ServiceGroupApp.SystemServiceGroup.AutoCodeHistoryService + dictionaryDetailService = service.ServiceGroupApp.SystemServiceGroup.DictionaryDetailService + authorityBtnService = service.ServiceGroupApp.SystemServiceGroup.AuthorityBtnService + chatGptService = service.ServiceGroupApp.SystemServiceGroup.ChatGptService +) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_api.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_api.go new file mode 100644 index 000000000..1a61d3b02 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_api.go @@ -0,0 +1,231 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + systemRes "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type SystemApiApi struct{} + +// CreateApi +// @Tags SysApi +// @Summary 创建基础api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysApi true "api路径, api中文描述, api组, 方法" +// @Success 200 {object} response.Response{msg=string} "创建基础api" +// @Router /api/createApi [post] +func (s *SystemApiApi) CreateApi(c *gin.Context) { + var api system.SysApi + err := c.ShouldBindJSON(&api) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(api, utils.ApiVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = apiService.CreateApi(api) + if err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + return + } + response.OkWithMessage("创建成功", c) +} + +// DeleteApi +// @Tags SysApi +// @Summary 删除api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysApi true "ID" +// @Success 200 {object} response.Response{msg=string} "删除api" +// @Router /api/deleteApi [post] +func (s *SystemApiApi) DeleteApi(c *gin.Context) { + var api system.SysApi + err := c.ShouldBindJSON(&api) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(api.GVA_MODEL, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = apiService.DeleteApi(api) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// GetApiList +// @Tags SysApi +// @Summary 分页获取API列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body systemReq.SearchApiParams true "分页获取API列表" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取API列表,返回包括列表,总数,页码,每页数量" +// @Router /api/getApiList [post] +func (s *SystemApiApi) GetApiList(c *gin.Context) { + var pageInfo systemReq.SearchApiParams + err := c.ShouldBindJSON(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(pageInfo.PageInfo, utils.PageInfoVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + list, total, err := apiService.GetAPIInfoList(pageInfo.SysApi, pageInfo.PageInfo, pageInfo.OrderKey, pageInfo.Desc) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} + +// GetApiById +// @Tags SysApi +// @Summary 根据id获取api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.GetById true "根据id获取api" +// @Success 200 {object} response.Response{data=systemRes.SysAPIResponse} "根据id获取api,返回包括api详情" +// @Router /api/getApiById [post] +func (s *SystemApiApi) GetApiById(c *gin.Context) { + var idInfo request.GetById + err := c.ShouldBindJSON(&idInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(idInfo, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + api, err := apiService.GetApiById(idInfo.ID) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(systemRes.SysAPIResponse{Api: api}, "获取成功", c) +} + +// UpdateApi +// @Tags SysApi +// @Summary 修改基础api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysApi true "api路径, api中文描述, api组, 方法" +// @Success 200 {object} response.Response{msg=string} "修改基础api" +// @Router /api/updateApi [post] +func (s *SystemApiApi) UpdateApi(c *gin.Context) { + var api system.SysApi + err := c.ShouldBindJSON(&api) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(api, utils.ApiVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = apiService.UpdateApi(api) + if err != nil { + global.GVA_LOG.Error("修改失败!", zap.Error(err)) + response.FailWithMessage("修改失败", c) + return + } + response.OkWithMessage("修改成功", c) +} + +// GetAllApis +// @Tags SysApi +// @Summary 获取所有的Api 不分页 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{data=systemRes.SysAPIListResponse,msg=string} "获取所有的Api 不分页,返回包括api列表" +// @Router /api/getAllApis [post] +func (s *SystemApiApi) GetAllApis(c *gin.Context) { + apis, err := apiService.GetAllApis() + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(systemRes.SysAPIListResponse{Apis: apis}, "获取成功", c) +} + +// DeleteApisByIds +// @Tags SysApi +// @Summary 删除选中Api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "ID" +// @Success 200 {object} response.Response{msg=string} "删除选中Api" +// @Router /api/deleteApisByIds [delete] +func (s *SystemApiApi) DeleteApisByIds(c *gin.Context) { + var ids request.IdsReq + err := c.ShouldBindJSON(&ids) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = apiService.DeleteApisByIds(ids) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// FreshCasbin +// @Tags SysApi +// @Summary 刷新casbin缓存 +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{msg=string} "刷新成功" +// @Router /api/freshCasbin [get] +func (s *SystemApiApi) FreshCasbin(c *gin.Context) { + err := casbinService.FreshCasbin() + if err != nil { + global.GVA_LOG.Error("刷新失败!", zap.Error(err)) + response.FailWithMessage("刷新失败", c) + return + } + response.OkWithMessage("刷新成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_authority.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_authority.go new file mode 100644 index 000000000..9fcbddee5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_authority.go @@ -0,0 +1,212 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + systemRes "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type AuthorityApi struct{} + +// CreateAuthority +// @Tags Authority +// @Summary 创建角色 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysAuthority true "权限id, 权限名, 父角色id" +// @Success 200 {object} response.Response{data=systemRes.SysAuthorityResponse,msg=string} "创建角色,返回包括系统角色详情" +// @Router /authority/createAuthority [post] +func (a *AuthorityApi) CreateAuthority(c *gin.Context) { + var authority, authBack system.SysAuthority + var err error + + if err = c.ShouldBindJSON(&authority); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + + if err = utils.Verify(authority, utils.AuthorityVerify); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + + if authBack, err = authorityService.CreateAuthority(authority); err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败"+err.Error(), c) + return + } + err = casbinService.FreshCasbin() + if err != nil { + global.GVA_LOG.Error("创建成功,权限刷新失败。", zap.Error(err)) + response.FailWithMessage("创建成功,权限刷新失败。"+err.Error(), c) + return + } + response.OkWithDetailed(systemRes.SysAuthorityResponse{Authority: authBack}, "创建成功", c) +} + +// CopyAuthority +// @Tags Authority +// @Summary 拷贝角色 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body response.SysAuthorityCopyResponse true "旧角色id, 新权限id, 新权限名, 新父角色id" +// @Success 200 {object} response.Response{data=systemRes.SysAuthorityResponse,msg=string} "拷贝角色,返回包括系统角色详情" +// @Router /authority/copyAuthority [post] +func (a *AuthorityApi) CopyAuthority(c *gin.Context) { + var copyInfo systemRes.SysAuthorityCopyResponse + err := c.ShouldBindJSON(©Info) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(copyInfo, utils.OldAuthorityVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(copyInfo.Authority, utils.AuthorityVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + authBack, err := authorityService.CopyAuthority(copyInfo) + if err != nil { + global.GVA_LOG.Error("拷贝失败!", zap.Error(err)) + response.FailWithMessage("拷贝失败"+err.Error(), c) + return + } + response.OkWithDetailed(systemRes.SysAuthorityResponse{Authority: authBack}, "拷贝成功", c) +} + +// DeleteAuthority +// @Tags Authority +// @Summary 删除角色 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysAuthority true "删除角色" +// @Success 200 {object} response.Response{msg=string} "删除角色" +// @Router /authority/deleteAuthority [post] +func (a *AuthorityApi) DeleteAuthority(c *gin.Context) { + var authority system.SysAuthority + var err error + if err = c.ShouldBindJSON(&authority); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if err = utils.Verify(authority, utils.AuthorityIdVerify); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + // 删除角色之前需要判断是否有用户正在使用此角色 + if err = authorityService.DeleteAuthority(&authority); err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败"+err.Error(), c) + return + } + _ = casbinService.FreshCasbin() + response.OkWithMessage("删除成功", c) +} + +// UpdateAuthority +// @Tags Authority +// @Summary 更新角色信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysAuthority true "权限id, 权限名, 父角色id" +// @Success 200 {object} response.Response{data=systemRes.SysAuthorityResponse,msg=string} "更新角色信息,返回包括系统角色详情" +// @Router /authority/updateAuthority [post] +func (a *AuthorityApi) UpdateAuthority(c *gin.Context) { + var auth system.SysAuthority + err := c.ShouldBindJSON(&auth) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(auth, utils.AuthorityVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + authority, err := authorityService.UpdateAuthority(auth) + if err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败"+err.Error(), c) + return + } + response.OkWithDetailed(systemRes.SysAuthorityResponse{Authority: authority}, "更新成功", c) +} + +// GetAuthorityList +// @Tags Authority +// @Summary 分页获取角色列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.PageInfo true "页码, 每页大小" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取角色列表,返回包括列表,总数,页码,每页数量" +// @Router /authority/getAuthorityList [post] +func (a *AuthorityApi) GetAuthorityList(c *gin.Context) { + var pageInfo request.PageInfo + err := c.ShouldBindJSON(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(pageInfo, utils.PageInfoVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + list, total, err := authorityService.GetAuthorityInfoList(pageInfo) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败"+err.Error(), c) + return + } + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} + +// SetDataAuthority +// @Tags Authority +// @Summary 设置角色资源权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysAuthority true "设置角色资源权限" +// @Success 200 {object} response.Response{msg=string} "设置角色资源权限" +// @Router /authority/setDataAuthority [post] +func (a *AuthorityApi) SetDataAuthority(c *gin.Context) { + var auth system.SysAuthority + err := c.ShouldBindJSON(&auth) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(auth, utils.AuthorityIdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = authorityService.SetDataAuthority(auth) + if err != nil { + global.GVA_LOG.Error("设置失败!", zap.Error(err)) + response.FailWithMessage("设置失败"+err.Error(), c) + return + } + response.OkWithMessage("设置成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_authority_btn.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_authority_btn.go new file mode 100644 index 000000000..94f02a00e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_authority_btn.go @@ -0,0 +1,80 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type AuthorityBtnApi struct{} + +// GetAuthorityBtn +// @Tags AuthorityBtn +// @Summary 获取权限按钮 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.SysAuthorityBtnReq true "菜单id, 角色id, 选中的按钮id" +// @Success 200 {object} response.Response{data=response.SysAuthorityBtnRes,msg=string} "返回列表成功" +// @Router /authorityBtn/getAuthorityBtn [post] +func (a *AuthorityBtnApi) GetAuthorityBtn(c *gin.Context) { + var req request.SysAuthorityBtnReq + err := c.ShouldBindJSON(&req) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + res, err := authorityBtnService.GetAuthorityBtn(req) + if err != nil { + global.GVA_LOG.Error("查询失败!", zap.Error(err)) + response.FailWithMessage("查询失败", c) + return + } + response.OkWithDetailed(res, "查询成功", c) +} + +// SetAuthorityBtn +// @Tags AuthorityBtn +// @Summary 设置权限按钮 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.SysAuthorityBtnReq true "菜单id, 角色id, 选中的按钮id" +// @Success 200 {object} response.Response{msg=string} "返回列表成功" +// @Router /authorityBtn/setAuthorityBtn [post] +func (a *AuthorityBtnApi) SetAuthorityBtn(c *gin.Context) { + var req request.SysAuthorityBtnReq + err := c.ShouldBindJSON(&req) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = authorityBtnService.SetAuthorityBtn(req) + if err != nil { + global.GVA_LOG.Error("分配失败!", zap.Error(err)) + response.FailWithMessage("分配失败", c) + return + } + response.OkWithMessage("分配成功", c) +} + +// CanRemoveAuthorityBtn +// @Tags AuthorityBtn +// @Summary 设置权限按钮 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{msg=string} "删除成功" +// @Router /authorityBtn/canRemoveAuthorityBtn [post] +func (a *AuthorityBtnApi) CanRemoveAuthorityBtn(c *gin.Context) { + id := c.Query("id") + err := authorityBtnService.CanRemoveAuthorityBtn(id) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage(err.Error(), c) + return + } + response.OkWithMessage("删除成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_auto_code.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_auto_code.go new file mode 100644 index 000000000..34ab8c34b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_auto_code.go @@ -0,0 +1,315 @@ +package system + +import ( + "errors" + "fmt" + "net/url" + "os" + "strings" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type AutoCodeApi struct{} + +// PreviewTemp +// @Tags AutoCode +// @Summary 预览创建后的代码 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.AutoCodeStruct true "预览创建代码" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "预览创建后的代码" +// @Router /autoCode/preview [post] +func (autoApi *AutoCodeApi) PreviewTemp(c *gin.Context) { + var a system.AutoCodeStruct + _ = c.ShouldBindJSON(&a) + if err := utils.Verify(a, utils.AutoCodeVerify); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + a.Pretreatment() // 处理go关键字 + a.PackageT = utils.FirstUpper(a.Package) + autoCode, err := autoCodeService.PreviewTemp(a) + if err != nil { + global.GVA_LOG.Error("预览失败!", zap.Error(err)) + response.FailWithMessage("预览失败", c) + } else { + response.OkWithDetailed(gin.H{"autoCode": autoCode}, "预览成功", c) + } +} + +// CreateTemp +// @Tags AutoCode +// @Summary 自动代码模板 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.AutoCodeStruct true "创建自动代码" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /autoCode/createTemp [post] +func (autoApi *AutoCodeApi) CreateTemp(c *gin.Context) { + var a system.AutoCodeStruct + _ = c.ShouldBindJSON(&a) + if err := utils.Verify(a, utils.AutoCodeVerify); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + a.Pretreatment() + var apiIds []uint + if a.AutoCreateApiToSql { + if ids, err := autoCodeService.AutoCreateApi(&a); err != nil { + global.GVA_LOG.Error("自动化创建失败!请自行清空垃圾数据!", zap.Error(err)) + c.Writer.Header().Add("success", "false") + c.Writer.Header().Add("msg", url.QueryEscape("自动化创建失败!请自行清空垃圾数据!")) + return + } else { + apiIds = ids + } + } + a.PackageT = utils.FirstUpper(a.Package) + err := autoCodeService.CreateTemp(a, apiIds...) + if err != nil { + if errors.Is(err, system.ErrAutoMove) { + c.Writer.Header().Add("success", "true") + c.Writer.Header().Add("msg", url.QueryEscape(err.Error())) + } else { + c.Writer.Header().Add("success", "false") + c.Writer.Header().Add("msg", url.QueryEscape(err.Error())) + _ = os.Remove("./ginvueadmin.zip") + } + } else { + c.Writer.Header().Add("Content-Disposition", fmt.Sprintf("attachment; filename=%s", "ginvueadmin.zip")) // fmt.Sprintf("attachment; filename=%s", filename)对下载的文件重命名 + c.Writer.Header().Add("Content-Type", "application/json") + c.Writer.Header().Add("success", "true") + c.File("./ginvueadmin.zip") + _ = os.Remove("./ginvueadmin.zip") + } +} + +// GetDB +// @Tags AutoCode +// @Summary 获取当前所有数据库 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "获取当前所有数据库" +// @Router /autoCode/getDatabase [get] +func (autoApi *AutoCodeApi) GetDB(c *gin.Context) { + businessDB := c.Query("businessDB") + dbs, err := autoCodeService.Database(businessDB).GetDB(businessDB) + var dbList []map[string]interface{} + for _, db := range global.GVA_CONFIG.DBList { + var item = make(map[string]interface{}) + item["aliasName"] = db.AliasName + item["dbName"] = db.Dbname + item["disable"] = db.Disable + item["dbtype"] = db.Type + dbList = append(dbList, item) + } + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + } else { + response.OkWithDetailed(gin.H{"dbs": dbs, "dbList": dbList}, "获取成功", c) + } +} + +// GetTables +// @Tags AutoCode +// @Summary 获取当前数据库所有表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "获取当前数据库所有表" +// @Router /autoCode/getTables [get] +func (autoApi *AutoCodeApi) GetTables(c *gin.Context) { + dbName := c.DefaultQuery("dbName", global.GVA_CONFIG.Mysql.Dbname) + businessDB := c.Query("businessDB") + tables, err := autoCodeService.Database(businessDB).GetTables(businessDB, dbName) + if err != nil { + global.GVA_LOG.Error("查询table失败!", zap.Error(err)) + response.FailWithMessage("查询table失败", c) + } else { + response.OkWithDetailed(gin.H{"tables": tables}, "获取成功", c) + } +} + +// GetColumn +// @Tags AutoCode +// @Summary 获取当前表所有字段 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "获取当前表所有字段" +// @Router /autoCode/getColumn [get] +func (autoApi *AutoCodeApi) GetColumn(c *gin.Context) { + businessDB := c.Query("businessDB") + dbName := c.DefaultQuery("dbName", global.GVA_CONFIG.Mysql.Dbname) + tableName := c.Query("tableName") + columns, err := autoCodeService.Database(businessDB).GetColumn(businessDB, tableName, dbName) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + } else { + response.OkWithDetailed(gin.H{"columns": columns}, "获取成功", c) + } +} + +// CreatePackage +// @Tags AutoCode +// @Summary 创建package +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysAutoCode true "创建package" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "创建package成功" +// @Router /autoCode/createPackage [post] +func (autoApi *AutoCodeApi) CreatePackage(c *gin.Context) { + var a system.SysAutoCode + _ = c.ShouldBindJSON(&a) + if err := utils.Verify(a, utils.AutoPackageVerify); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err := autoCodeService.CreateAutoCode(&a) + if err != nil { + + global.GVA_LOG.Error("创建成功!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + } else { + response.OkWithMessage("创建成功", c) + } +} + +// GetPackage +// @Tags AutoCode +// @Summary 获取package +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "创建package成功" +// @Router /autoCode/getPackage [post] +func (autoApi *AutoCodeApi) GetPackage(c *gin.Context) { + pkgs, err := autoCodeService.GetPackage() + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + } else { + response.OkWithDetailed(gin.H{"pkgs": pkgs}, "获取成功", c) + } +} + +// DelPackage +// @Tags AutoCode +// @Summary 删除package +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysAutoCode true "创建package" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "删除package成功" +// @Router /autoCode/delPackage [post] +func (autoApi *AutoCodeApi) DelPackage(c *gin.Context) { + var a system.SysAutoCode + _ = c.ShouldBindJSON(&a) + err := autoCodeService.DelPackage(a) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + } else { + response.OkWithMessage("删除成功", c) + } +} + +// AutoPlug +// @Tags AutoCode +// @Summary 创建插件模板 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysAutoCode true "创建插件模板" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "创建插件模板成功" +// @Router /autoCode/createPlug [post] +func (autoApi *AutoCodeApi) AutoPlug(c *gin.Context) { + var a system.AutoPlugReq + err := c.ShouldBindJSON(&a) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + a.Snake = strings.ToLower(a.PlugName) + a.NeedModel = a.HasRequest || a.HasResponse + err = autoCodeService.CreatePlug(a) + if err != nil { + global.GVA_LOG.Error("预览失败!", zap.Error(err)) + response.FailWithMessage("预览失败", c) + return + } + response.Ok(c) +} + +// InstallPlugin +// @Tags AutoCode +// @Summary 安装插件 +// @Security ApiKeyAuth +// @accept multipart/form-data +// @Produce application/json +// @Param plug formData file true "this is a test file" +// @Success 200 {object} response.Response{data=[]interface{},msg=string} "安装插件成功" +// @Router /autoCode/installPlugin [post] +func (autoApi *AutoCodeApi) InstallPlugin(c *gin.Context) { + header, err := c.FormFile("plug") + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + web, server, err := autoCodeService.InstallPlugin(header) + webStr := "web插件安装成功" + serverStr := "server插件安装成功" + if web == -1 { + webStr = "web端插件未成功安装,请按照文档自行解压安装,如果为纯后端插件请忽略此条提示" + } + if server == -1 { + serverStr = "server端插件未成功安装,请按照文档自行解压安装,如果为纯前端插件请忽略此条提示" + } + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + response.OkWithData([]interface{}{ + gin.H{ + "code": web, + "msg": webStr, + }, + gin.H{ + "code": server, + "msg": serverStr, + }}, c) +} + +// PubPlug +// @Tags AutoCode +// @Summary 打包插件 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysAutoCode true "打包插件" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "打包插件成功" +// @Router /autoCode/pubPlug [get] +func (autoApi *AutoCodeApi) PubPlug(c *gin.Context) { + plugName := c.Query("plugName") + snake := strings.ToLower(plugName) + zipPath, err := autoCodeService.PubPlug(snake) + if err != nil { + global.GVA_LOG.Error("打包失败!", zap.Error(err)) + response.FailWithMessage("打包失败"+err.Error(), c) + return + } + response.OkWithMessage(fmt.Sprintf("打包成功,文件路径为:%s", zipPath), c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_auto_code_history.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_auto_code_history.go new file mode 100644 index 000000000..4ad6b5e47 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_auto_code_history.go @@ -0,0 +1,115 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type AutoCodeHistoryApi struct{} + +// First +// @Tags AutoCode +// @Summary 获取meta信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.GetById true "请求参数" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "获取meta信息" +// @Router /autoCode/getMeta [post] +func (a *AutoCodeHistoryApi) First(c *gin.Context) { + var info request.GetById + err := c.ShouldBindJSON(&info) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + data, err := autoCodeHistoryService.First(&info) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + response.OkWithDetailed(gin.H{"meta": data}, "获取成功", c) +} + +// Delete +// @Tags AutoCode +// @Summary 删除回滚记录 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.GetById true "请求参数" +// @Success 200 {object} response.Response{msg=string} "删除回滚记录" +// @Router /autoCode/delSysHistory [post] +func (a *AutoCodeHistoryApi) Delete(c *gin.Context) { + var info request.GetById + err := c.ShouldBindJSON(&info) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = autoCodeHistoryService.Delete(&info) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// RollBack +// @Tags AutoCode +// @Summary 回滚自动生成代码 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body systemReq.RollBack true "请求参数" +// @Success 200 {object} response.Response{msg=string} "回滚自动生成代码" +// @Router /autoCode/rollback [post] +func (a *AutoCodeHistoryApi) RollBack(c *gin.Context) { + var info systemReq.RollBack + err := c.ShouldBindJSON(&info) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = autoCodeHistoryService.RollBack(&info) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + response.OkWithMessage("回滚成功", c) +} + +// GetList +// @Tags AutoCode +// @Summary 查询回滚记录 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body systemReq.SysAutoHistory true "请求参数" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "查询回滚记录,返回包括列表,总数,页码,每页数量" +// @Router /autoCode/getSysHistory [post] +func (a *AutoCodeHistoryApi) GetList(c *gin.Context) { + var search systemReq.SysAutoHistory + err := c.ShouldBindJSON(&search) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + list, total, err := autoCodeHistoryService.GetList(search.PageInfo) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: search.Page, + PageSize: search.PageSize, + }, "获取成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_captcha.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_captcha.go new file mode 100644 index 000000000..c61714e59 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_captcha.go @@ -0,0 +1,70 @@ +package system + +import ( + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + systemRes "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "github.com/gin-gonic/gin" + "github.com/mojocn/base64Captcha" + "go.uber.org/zap" +) + +// 当开启多服务器部署时,替换下面的配置,使用redis共享存储验证码 +// var store = captcha.NewDefaultRedisStore() +var store = base64Captcha.DefaultMemStore + +type BaseApi struct{} + +// Captcha +// @Tags Base +// @Summary 生成验证码 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{data=systemRes.SysCaptchaResponse,msg=string} "生成验证码,返回包括随机数id,base64,验证码长度,是否开启验证码" +// @Router /base/captcha [post] +func (b *BaseApi) Captcha(c *gin.Context) { + // 判断验证码是否开启 + openCaptcha := global.GVA_CONFIG.Captcha.OpenCaptcha // 是否开启防爆次数 + openCaptchaTimeOut := global.GVA_CONFIG.Captcha.OpenCaptchaTimeOut // 缓存超时时间 + key := c.ClientIP() + v, ok := global.BlackCache.Get(key) + if !ok { + global.BlackCache.Set(key, 1, time.Second*time.Duration(openCaptchaTimeOut)) + } + + var oc bool + if openCaptcha == 0 || openCaptcha < interfaceToInt(v) { + oc = true + } + // 字符,公式,验证码配置 + // 生成默认数字的driver + driver := base64Captcha.NewDriverDigit(global.GVA_CONFIG.Captcha.ImgHeight, global.GVA_CONFIG.Captcha.ImgWidth, global.GVA_CONFIG.Captcha.KeyLong, 0.7, 80) + // cp := base64Captcha.NewCaptcha(driver, store.UseWithCtx(c)) // v8下使用redis + cp := base64Captcha.NewCaptcha(driver, store) + id, b64s, err := cp.Generate() + if err != nil { + global.GVA_LOG.Error("验证码获取失败!", zap.Error(err)) + response.FailWithMessage("验证码获取失败", c) + return + } + response.OkWithDetailed(systemRes.SysCaptchaResponse{ + CaptchaId: id, + PicPath: b64s, + CaptchaLength: global.GVA_CONFIG.Captcha.KeyLong, + OpenCaptcha: oc, + }, "验证码获取成功", c) +} + +// 类型转换 +func interfaceToInt(v interface{}) (i int) { + switch v := v.(type) { + case int: + i = v + default: + i = 0 + } + return +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_casbin.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_casbin.go new file mode 100644 index 000000000..632718e2c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_casbin.go @@ -0,0 +1,68 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + systemRes "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type CasbinApi struct{} + +// UpdateCasbin +// @Tags Casbin +// @Summary 更新角色api权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.CasbinInReceive true "权限id, 权限模型列表" +// @Success 200 {object} response.Response{msg=string} "更新角色api权限" +// @Router /casbin/UpdateCasbin [post] +func (cas *CasbinApi) UpdateCasbin(c *gin.Context) { + var cmr request.CasbinInReceive + err := c.ShouldBindJSON(&cmr) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(cmr, utils.AuthorityIdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = casbinService.UpdateCasbin(cmr.AuthorityId, cmr.CasbinInfos) + if err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败", c) + return + } + response.OkWithMessage("更新成功", c) +} + +// GetPolicyPathByAuthorityId +// @Tags Casbin +// @Summary 获取权限列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.CasbinInReceive true "权限id, 权限模型列表" +// @Success 200 {object} response.Response{data=systemRes.PolicyPathResponse,msg=string} "获取权限列表,返回包括casbin详情列表" +// @Router /casbin/getPolicyPathByAuthorityId [post] +func (cas *CasbinApi) GetPolicyPathByAuthorityId(c *gin.Context) { + var casbin request.CasbinInReceive + err := c.ShouldBindJSON(&casbin) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(casbin, utils.AuthorityIdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + paths := casbinService.GetPolicyPathByAuthorityId(casbin.AuthorityId) + response.OkWithDetailed(systemRes.PolicyPathResponse{Paths: paths}, "获取成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_chatgpt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_chatgpt.go new file mode 100644 index 000000000..af1f0cdd7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_chatgpt.go @@ -0,0 +1,71 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + sysModel "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type ChatGptApi struct{} + +func (chat *ChatGptApi) CreateSK(c *gin.Context) { + var option sysModel.SysChatGptOption + c.ShouldBindJSON(&option) + err := chatGptService.CreateSK(option) + if err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败"+err.Error(), c) + return + } + response.OkWithMessage("创建成功", c) +} + +func (chat *ChatGptApi) GetSK(c *gin.Context) { + var option sysModel.SysChatGptOption + c.ShouldBindJSON(&option) + _, err := chatGptService.GetSK() + if err != nil { + response.OkWithDetailed(gin.H{ + "ok": false, + }, "无sk或获取失败", c) + return + } + response.OkWithDetailed(gin.H{ + "ok": true, + }, "获取成功", c) +} + +func (chat *ChatGptApi) DeleteSK(c *gin.Context) { + err := chatGptService.DeleteSK() + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败"+err.Error(), c) + return + } + response.OkWithMessage("删除成功", c) +} + +func (chat *ChatGptApi) GetTable(c *gin.Context) { + var req request.ChatGptRequest + err := c.ShouldBindJSON(&req) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + sql, results, err := chatGptService.GetTable(req) + if err != nil { + global.GVA_LOG.Error("查询失败!", zap.Error(err)) + response.FailWithDetailed(gin.H{ + "sql": sql, + "results": results, + }, "生成失败"+err.Error(), c) + return + } + response.OkWithDetailed(gin.H{ + "sql": sql, + "results": results, + }, "ChatGpt生成完成", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_dictionary.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_dictionary.go new file mode 100644 index 000000000..d8e407887 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_dictionary.go @@ -0,0 +1,130 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type DictionaryApi struct{} + +// CreateSysDictionary +// @Tags SysDictionary +// @Summary 创建SysDictionary +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysDictionary true "SysDictionary模型" +// @Success 200 {object} response.Response{msg=string} "创建SysDictionary" +// @Router /sysDictionary/createSysDictionary [post] +func (s *DictionaryApi) CreateSysDictionary(c *gin.Context) { + var dictionary system.SysDictionary + err := c.ShouldBindJSON(&dictionary) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = dictionaryService.CreateSysDictionary(dictionary) + if err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + return + } + response.OkWithMessage("创建成功", c) +} + +// DeleteSysDictionary +// @Tags SysDictionary +// @Summary 删除SysDictionary +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysDictionary true "SysDictionary模型" +// @Success 200 {object} response.Response{msg=string} "删除SysDictionary" +// @Router /sysDictionary/deleteSysDictionary [delete] +func (s *DictionaryApi) DeleteSysDictionary(c *gin.Context) { + var dictionary system.SysDictionary + err := c.ShouldBindJSON(&dictionary) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = dictionaryService.DeleteSysDictionary(dictionary) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// UpdateSysDictionary +// @Tags SysDictionary +// @Summary 更新SysDictionary +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysDictionary true "SysDictionary模型" +// @Success 200 {object} response.Response{msg=string} "更新SysDictionary" +// @Router /sysDictionary/updateSysDictionary [put] +func (s *DictionaryApi) UpdateSysDictionary(c *gin.Context) { + var dictionary system.SysDictionary + err := c.ShouldBindJSON(&dictionary) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = dictionaryService.UpdateSysDictionary(&dictionary) + if err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败", c) + return + } + response.OkWithMessage("更新成功", c) +} + +// FindSysDictionary +// @Tags SysDictionary +// @Summary 用id查询SysDictionary +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query system.SysDictionary true "ID或字典英名" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "用id查询SysDictionary" +// @Router /sysDictionary/findSysDictionary [get] +func (s *DictionaryApi) FindSysDictionary(c *gin.Context) { + var dictionary system.SysDictionary + err := c.ShouldBindQuery(&dictionary) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + sysDictionary, err := dictionaryService.GetSysDictionary(dictionary.Type, dictionary.ID, dictionary.Status) + if err != nil { + global.GVA_LOG.Error("字典未创建或未开启!", zap.Error(err)) + response.FailWithMessage("字典未创建或未开启", c) + return + } + response.OkWithDetailed(gin.H{"resysDictionary": sysDictionary}, "查询成功", c) +} + +// GetSysDictionaryList +// @Tags SysDictionary +// @Summary 分页获取SysDictionary列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query request.SysDictionarySearch true "页码, 每页大小, 搜索条件" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取SysDictionary列表,返回包括列表,总数,页码,每页数量" +// @Router /sysDictionary/getSysDictionaryList [get] +func (s *DictionaryApi) GetSysDictionaryList(c *gin.Context) { + list, err := dictionaryService.GetSysDictionaryInfoList() + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(list, "获取成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_dictionary_detail.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_dictionary_detail.go new file mode 100644 index 000000000..754af1be6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_dictionary_detail.go @@ -0,0 +1,148 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type DictionaryDetailApi struct{} + +// CreateSysDictionaryDetail +// @Tags SysDictionaryDetail +// @Summary 创建SysDictionaryDetail +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysDictionaryDetail true "SysDictionaryDetail模型" +// @Success 200 {object} response.Response{msg=string} "创建SysDictionaryDetail" +// @Router /sysDictionaryDetail/createSysDictionaryDetail [post] +func (s *DictionaryDetailApi) CreateSysDictionaryDetail(c *gin.Context) { + var detail system.SysDictionaryDetail + err := c.ShouldBindJSON(&detail) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = dictionaryDetailService.CreateSysDictionaryDetail(detail) + if err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + return + } + response.OkWithMessage("创建成功", c) +} + +// DeleteSysDictionaryDetail +// @Tags SysDictionaryDetail +// @Summary 删除SysDictionaryDetail +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysDictionaryDetail true "SysDictionaryDetail模型" +// @Success 200 {object} response.Response{msg=string} "删除SysDictionaryDetail" +// @Router /sysDictionaryDetail/deleteSysDictionaryDetail [delete] +func (s *DictionaryDetailApi) DeleteSysDictionaryDetail(c *gin.Context) { + var detail system.SysDictionaryDetail + err := c.ShouldBindJSON(&detail) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = dictionaryDetailService.DeleteSysDictionaryDetail(detail) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// UpdateSysDictionaryDetail +// @Tags SysDictionaryDetail +// @Summary 更新SysDictionaryDetail +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysDictionaryDetail true "更新SysDictionaryDetail" +// @Success 200 {object} response.Response{msg=string} "更新SysDictionaryDetail" +// @Router /sysDictionaryDetail/updateSysDictionaryDetail [put] +func (s *DictionaryDetailApi) UpdateSysDictionaryDetail(c *gin.Context) { + var detail system.SysDictionaryDetail + err := c.ShouldBindJSON(&detail) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = dictionaryDetailService.UpdateSysDictionaryDetail(&detail) + if err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败", c) + return + } + response.OkWithMessage("更新成功", c) +} + +// FindSysDictionaryDetail +// @Tags SysDictionaryDetail +// @Summary 用id查询SysDictionaryDetail +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query system.SysDictionaryDetail true "用id查询SysDictionaryDetail" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "用id查询SysDictionaryDetail" +// @Router /sysDictionaryDetail/findSysDictionaryDetail [get] +func (s *DictionaryDetailApi) FindSysDictionaryDetail(c *gin.Context) { + var detail system.SysDictionaryDetail + err := c.ShouldBindQuery(&detail) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(detail, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + reSysDictionaryDetail, err := dictionaryDetailService.GetSysDictionaryDetail(detail.ID) + if err != nil { + global.GVA_LOG.Error("查询失败!", zap.Error(err)) + response.FailWithMessage("查询失败", c) + return + } + response.OkWithDetailed(gin.H{"reSysDictionaryDetail": reSysDictionaryDetail}, "查询成功", c) +} + +// GetSysDictionaryDetailList +// @Tags SysDictionaryDetail +// @Summary 分页获取SysDictionaryDetail列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query request.SysDictionaryDetailSearch true "页码, 每页大小, 搜索条件" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取SysDictionaryDetail列表,返回包括列表,总数,页码,每页数量" +// @Router /sysDictionaryDetail/getSysDictionaryDetailList [get] +func (s *DictionaryDetailApi) GetSysDictionaryDetailList(c *gin.Context) { + var pageInfo request.SysDictionaryDetailSearch + err := c.ShouldBindQuery(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + list, total, err := dictionaryDetailService.GetSysDictionaryDetailInfoList(pageInfo) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_initdb.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_initdb.go new file mode 100644 index 000000000..5f740c6dc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_initdb.go @@ -0,0 +1,59 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "go.uber.org/zap" + + "github.com/gin-gonic/gin" +) + +type DBApi struct{} + +// InitDB +// @Tags InitDB +// @Summary 初始化用户数据库 +// @Produce application/json +// @Param data body request.InitDB true "初始化数据库参数" +// @Success 200 {object} response.Response{data=string} "初始化用户数据库" +// @Router /init/initdb [post] +func (i *DBApi) InitDB(c *gin.Context) { + if global.GVA_DB != nil { + global.GVA_LOG.Error("已存在数据库配置!") + response.FailWithMessage("已存在数据库配置", c) + return + } + var dbInfo request.InitDB + if err := c.ShouldBindJSON(&dbInfo); err != nil { + global.GVA_LOG.Error("参数校验不通过!", zap.Error(err)) + response.FailWithMessage("参数校验不通过", c) + return + } + if err := initDBService.InitDB(dbInfo); err != nil { + global.GVA_LOG.Error("自动创建数据库失败!", zap.Error(err)) + response.FailWithMessage("自动创建数据库失败,请查看后台日志,检查后在进行初始化", c) + return + } + response.OkWithMessage("自动创建数据库成功", c) +} + +// CheckDB +// @Tags CheckDB +// @Summary 初始化用户数据库 +// @Produce application/json +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "初始化用户数据库" +// @Router /init/checkdb [post] +func (i *DBApi) CheckDB(c *gin.Context) { + var ( + message = "前往初始化数据库" + needInit = true + ) + + if global.GVA_DB != nil { + message = "数据库无需初始化" + needInit = false + } + global.GVA_LOG.Info(message) + response.OkWithDetailed(gin.H{"needInit": needInit}, message, c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_jwt_blacklist.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_jwt_blacklist.go new file mode 100644 index 000000000..cd6719679 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_jwt_blacklist.go @@ -0,0 +1,31 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type JwtApi struct{} + +// JsonInBlacklist +// @Tags Jwt +// @Summary jwt加入黑名单 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{msg=string} "jwt加入黑名单" +// @Router /jwt/jsonInBlacklist [post] +func (j *JwtApi) JsonInBlacklist(c *gin.Context) { + token := c.Request.Header.Get("x-token") + jwt := system.JwtBlacklist{Jwt: token} + err := jwtService.JsonInBlacklist(jwt) + if err != nil { + global.GVA_LOG.Error("jwt作废失败!", zap.Error(err)) + response.FailWithMessage("jwt作废失败", c) + return + } + response.OkWithMessage("jwt作废成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_menu.go new file mode 100644 index 000000000..8889ae7f7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_menu.go @@ -0,0 +1,278 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + systemRes "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type AuthorityMenuApi struct{} + +// GetMenu +// @Tags AuthorityMenu +// @Summary 获取用户动态路由 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body request.Empty true "空" +// @Success 200 {object} response.Response{data=systemRes.SysMenusResponse,msg=string} "获取用户动态路由,返回包括系统菜单详情列表" +// @Router /menu/getMenu [post] +func (a *AuthorityMenuApi) GetMenu(c *gin.Context) { + menus, err := menuService.GetMenuTree(utils.GetUserAuthorityId(c)) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + if menus == nil { + menus = []system.SysMenu{} + } + response.OkWithDetailed(systemRes.SysMenusResponse{Menus: menus}, "获取成功", c) +} + +// GetBaseMenuTree +// @Tags AuthorityMenu +// @Summary 获取用户动态路由 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body request.Empty true "空" +// @Success 200 {object} response.Response{data=systemRes.SysBaseMenusResponse,msg=string} "获取用户动态路由,返回包括系统菜单列表" +// @Router /menu/getBaseMenuTree [post] +func (a *AuthorityMenuApi) GetBaseMenuTree(c *gin.Context) { + menus, err := menuService.GetBaseMenuTree() + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(systemRes.SysBaseMenusResponse{Menus: menus}, "获取成功", c) +} + +// AddMenuAuthority +// @Tags AuthorityMenu +// @Summary 增加menu和角色关联关系 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body systemReq.AddMenuAuthorityInfo true "角色ID" +// @Success 200 {object} response.Response{msg=string} "增加menu和角色关联关系" +// @Router /menu/addMenuAuthority [post] +func (a *AuthorityMenuApi) AddMenuAuthority(c *gin.Context) { + var authorityMenu systemReq.AddMenuAuthorityInfo + err := c.ShouldBindJSON(&authorityMenu) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if err := utils.Verify(authorityMenu, utils.AuthorityIdVerify); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if err := menuService.AddMenuAuthority(authorityMenu.Menus, authorityMenu.AuthorityId); err != nil { + global.GVA_LOG.Error("添加失败!", zap.Error(err)) + response.FailWithMessage("添加失败", c) + } else { + response.OkWithMessage("添加成功", c) + } +} + +// GetMenuAuthority +// @Tags AuthorityMenu +// @Summary 获取指定角色menu +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.GetAuthorityId true "角色ID" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "获取指定角色menu" +// @Router /menu/getMenuAuthority [post] +func (a *AuthorityMenuApi) GetMenuAuthority(c *gin.Context) { + var param request.GetAuthorityId + err := c.ShouldBindJSON(¶m) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(param, utils.AuthorityIdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + menus, err := menuService.GetMenuAuthority(¶m) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithDetailed(systemRes.SysMenusResponse{Menus: menus}, "获取失败", c) + return + } + response.OkWithDetailed(gin.H{"menus": menus}, "获取成功", c) +} + +// AddBaseMenu +// @Tags Menu +// @Summary 新增菜单 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysBaseMenu true "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记" +// @Success 200 {object} response.Response{msg=string} "新增菜单" +// @Router /menu/addBaseMenu [post] +func (a *AuthorityMenuApi) AddBaseMenu(c *gin.Context) { + var menu system.SysBaseMenu + err := c.ShouldBindJSON(&menu) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(menu, utils.MenuVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(menu.Meta, utils.MenuMetaVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = menuService.AddBaseMenu(menu) + if err != nil { + global.GVA_LOG.Error("添加失败!", zap.Error(err)) + response.FailWithMessage("添加失败", c) + return + } + response.OkWithMessage("添加成功", c) +} + +// DeleteBaseMenu +// @Tags Menu +// @Summary 删除菜单 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.GetById true "菜单id" +// @Success 200 {object} response.Response{msg=string} "删除菜单" +// @Router /menu/deleteBaseMenu [post] +func (a *AuthorityMenuApi) DeleteBaseMenu(c *gin.Context) { + var menu request.GetById + err := c.ShouldBindJSON(&menu) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(menu, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = baseMenuService.DeleteBaseMenu(menu.ID) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// UpdateBaseMenu +// @Tags Menu +// @Summary 更新菜单 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysBaseMenu true "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记" +// @Success 200 {object} response.Response{msg=string} "更新菜单" +// @Router /menu/updateBaseMenu [post] +func (a *AuthorityMenuApi) UpdateBaseMenu(c *gin.Context) { + var menu system.SysBaseMenu + err := c.ShouldBindJSON(&menu) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(menu, utils.MenuVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(menu.Meta, utils.MenuMetaVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = baseMenuService.UpdateBaseMenu(menu) + if err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败", c) + return + } + response.OkWithMessage("更新成功", c) +} + +// GetBaseMenuById +// @Tags Menu +// @Summary 根据id获取菜单 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.GetById true "菜单id" +// @Success 200 {object} response.Response{data=systemRes.SysBaseMenuResponse,msg=string} "根据id获取菜单,返回包括系统菜单列表" +// @Router /menu/getBaseMenuById [post] +func (a *AuthorityMenuApi) GetBaseMenuById(c *gin.Context) { + var idInfo request.GetById + err := c.ShouldBindJSON(&idInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(idInfo, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + menu, err := baseMenuService.GetBaseMenuById(idInfo.ID) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(systemRes.SysBaseMenuResponse{Menu: menu}, "获取成功", c) +} + +// GetMenuList +// @Tags Menu +// @Summary 分页获取基础menu列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.PageInfo true "页码, 每页大小" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取基础menu列表,返回包括列表,总数,页码,每页数量" +// @Router /menu/getMenuList [post] +func (a *AuthorityMenuApi) GetMenuList(c *gin.Context) { + var pageInfo request.PageInfo + err := c.ShouldBindJSON(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(pageInfo, utils.PageInfoVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + menuList, total, err := menuService.GetInfoList() + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(response.PageResult{ + List: menuList, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_operation_record.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_operation_record.go new file mode 100644 index 000000000..40daeb98d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_operation_record.go @@ -0,0 +1,149 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type OperationRecordApi struct{} + +// CreateSysOperationRecord +// @Tags SysOperationRecord +// @Summary 创建SysOperationRecord +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysOperationRecord true "创建SysOperationRecord" +// @Success 200 {object} response.Response{msg=string} "创建SysOperationRecord" +// @Router /sysOperationRecord/createSysOperationRecord [post] +func (s *OperationRecordApi) CreateSysOperationRecord(c *gin.Context) { + var sysOperationRecord system.SysOperationRecord + err := c.ShouldBindJSON(&sysOperationRecord) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = operationRecordService.CreateSysOperationRecord(sysOperationRecord) + if err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + return + } + response.OkWithMessage("创建成功", c) +} + +// DeleteSysOperationRecord +// @Tags SysOperationRecord +// @Summary 删除SysOperationRecord +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysOperationRecord true "SysOperationRecord模型" +// @Success 200 {object} response.Response{msg=string} "删除SysOperationRecord" +// @Router /sysOperationRecord/deleteSysOperationRecord [delete] +func (s *OperationRecordApi) DeleteSysOperationRecord(c *gin.Context) { + var sysOperationRecord system.SysOperationRecord + err := c.ShouldBindJSON(&sysOperationRecord) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = operationRecordService.DeleteSysOperationRecord(sysOperationRecord) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// DeleteSysOperationRecordByIds +// @Tags SysOperationRecord +// @Summary 批量删除SysOperationRecord +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "批量删除SysOperationRecord" +// @Success 200 {object} response.Response{msg=string} "批量删除SysOperationRecord" +// @Router /sysOperationRecord/deleteSysOperationRecordByIds [delete] +func (s *OperationRecordApi) DeleteSysOperationRecordByIds(c *gin.Context) { + var IDS request.IdsReq + err := c.ShouldBindJSON(&IDS) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = operationRecordService.DeleteSysOperationRecordByIds(IDS) + if err != nil { + global.GVA_LOG.Error("批量删除失败!", zap.Error(err)) + response.FailWithMessage("批量删除失败", c) + return + } + response.OkWithMessage("批量删除成功", c) +} + +// FindSysOperationRecord +// @Tags SysOperationRecord +// @Summary 用id查询SysOperationRecord +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query system.SysOperationRecord true "Id" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "用id查询SysOperationRecord" +// @Router /sysOperationRecord/findSysOperationRecord [get] +func (s *OperationRecordApi) FindSysOperationRecord(c *gin.Context) { + var sysOperationRecord system.SysOperationRecord + err := c.ShouldBindQuery(&sysOperationRecord) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(sysOperationRecord, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + reSysOperationRecord, err := operationRecordService.GetSysOperationRecord(sysOperationRecord.ID) + if err != nil { + global.GVA_LOG.Error("查询失败!", zap.Error(err)) + response.FailWithMessage("查询失败", c) + return + } + response.OkWithDetailed(gin.H{"reSysOperationRecord": reSysOperationRecord}, "查询成功", c) +} + +// GetSysOperationRecordList +// @Tags SysOperationRecord +// @Summary 分页获取SysOperationRecord列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query request.SysOperationRecordSearch true "页码, 每页大小, 搜索条件" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取SysOperationRecord列表,返回包括列表,总数,页码,每页数量" +// @Router /sysOperationRecord/getSysOperationRecordList [get] +func (s *OperationRecordApi) GetSysOperationRecordList(c *gin.Context) { + var pageInfo systemReq.SysOperationRecordSearch + err := c.ShouldBindQuery(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + list, total, err := operationRecordService.GetSysOperationRecordInfoList(pageInfo) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_system.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_system.go new file mode 100644 index 000000000..af6ab7133 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_system.go @@ -0,0 +1,89 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + systemRes "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type SystemApi struct{} + +// GetSystemConfig +// @Tags System +// @Summary 获取配置文件内容 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {object} response.Response{data=systemRes.SysConfigResponse,msg=string} "获取配置文件内容,返回包括系统配置" +// @Router /system/getSystemConfig [post] +func (s *SystemApi) GetSystemConfig(c *gin.Context) { + config, err := systemConfigService.GetSystemConfig() + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(systemRes.SysConfigResponse{Config: config}, "获取成功", c) +} + +// SetSystemConfig +// @Tags System +// @Summary 设置配置文件内容 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body system.System true "设置配置文件内容" +// @Success 200 {object} response.Response{data=string} "设置配置文件内容" +// @Router /system/setSystemConfig [post] +func (s *SystemApi) SetSystemConfig(c *gin.Context) { + var sys system.System + err := c.ShouldBindJSON(&sys) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = systemConfigService.SetSystemConfig(sys) + if err != nil { + global.GVA_LOG.Error("设置失败!", zap.Error(err)) + response.FailWithMessage("设置失败", c) + return + } + response.OkWithMessage("设置成功", c) +} + +// ReloadSystem +// @Tags System +// @Summary 重启系统 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {object} response.Response{msg=string} "重启系统" +// @Router /system/reloadSystem [post] +func (s *SystemApi) ReloadSystem(c *gin.Context) { + err := utils.Reload() + if err != nil { + global.GVA_LOG.Error("重启系统失败!", zap.Error(err)) + response.FailWithMessage("重启系统失败", c) + return + } + response.OkWithMessage("重启系统成功", c) +} + +// GetServerInfo +// @Tags System +// @Summary 获取服务器信息 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "获取服务器信息" +// @Router /system/getServerInfo [post] +func (s *SystemApi) GetServerInfo(c *gin.Context) { + server, err := systemConfigService.GetServerInfo() + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(gin.H{"server": server}, "获取成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_user.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_user.go new file mode 100644 index 000000000..29c0b9079 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/api/v1/system/sys_user.go @@ -0,0 +1,462 @@ +package system + +import ( + "strconv" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + systemRes "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/gin-gonic/gin" + "github.com/redis/go-redis/v9" + "go.uber.org/zap" +) + +// Login +// @Tags Base +// @Summary 用户登录 +// @Produce application/json +// @Param data body systemReq.Login true "用户名, 密码, 验证码" +// @Success 200 {object} response.Response{data=systemRes.LoginResponse,msg=string} "返回包括用户信息,token,过期时间" +// @Router /base/login [post] +func (b *BaseApi) Login(c *gin.Context) { + var l systemReq.Login + err := c.ShouldBindJSON(&l) + key := c.ClientIP() + + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(l, utils.LoginVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + + // 判断验证码是否开启 + openCaptcha := global.GVA_CONFIG.Captcha.OpenCaptcha // 是否开启防爆次数 + openCaptchaTimeOut := global.GVA_CONFIG.Captcha.OpenCaptchaTimeOut // 缓存超时时间 + v, ok := global.BlackCache.Get(key) + if !ok { + global.BlackCache.Set(key, 1, time.Second*time.Duration(openCaptchaTimeOut)) + } + + var oc bool = openCaptcha == 0 || openCaptcha < interfaceToInt(v) + + if !oc || (l.CaptchaId != "" && l.Captcha != "" && store.Verify(l.CaptchaId, l.Captcha, true)) { + u := &system.SysUser{Username: l.Username, Password: l.Password} + user, err := userService.Login(u) + if err != nil { + global.GVA_LOG.Error("登陆失败! 用户名不存在或者密码错误!", zap.Error(err)) + // 验证码次数+1 + global.BlackCache.Increment(key, 1) + response.FailWithMessage("用户名不存在或者密码错误", c) + return + } + if user.Enable != 1 { + global.GVA_LOG.Error("登陆失败! 用户被禁止登录!") + // 验证码次数+1 + global.BlackCache.Increment(key, 1) + response.FailWithMessage("用户被禁止登录", c) + return + } + b.TokenNext(c, *user) + return + } + // 验证码次数+1 + global.BlackCache.Increment(key, 1) + response.FailWithMessage("验证码错误", c) +} + +// TokenNext 登录以后签发jwt +func (b *BaseApi) TokenNext(c *gin.Context, user system.SysUser) { + j := &utils.JWT{SigningKey: []byte(global.GVA_CONFIG.JWT.SigningKey)} // 唯一签名 + claims := j.CreateClaims(systemReq.BaseClaims{ + UUID: user.UUID, + ID: user.ID, + NickName: user.NickName, + Username: user.Username, + AuthorityId: user.AuthorityId, + }) + token, err := j.CreateToken(claims) + if err != nil { + global.GVA_LOG.Error("获取token失败!", zap.Error(err)) + response.FailWithMessage("获取token失败", c) + return + } + if !global.GVA_CONFIG.System.UseMultipoint { + response.OkWithDetailed(systemRes.LoginResponse{ + User: user, + Token: token, + ExpiresAt: claims.RegisteredClaims.ExpiresAt.Unix() * 1000, + }, "登录成功", c) + return + } + + if jwtStr, err := jwtService.GetRedisJWT(user.Username); err == redis.Nil { + if err := jwtService.SetRedisJWT(token, user.Username); err != nil { + global.GVA_LOG.Error("设置登录状态失败!", zap.Error(err)) + response.FailWithMessage("设置登录状态失败", c) + return + } + response.OkWithDetailed(systemRes.LoginResponse{ + User: user, + Token: token, + ExpiresAt: claims.RegisteredClaims.ExpiresAt.Unix() * 1000, + }, "登录成功", c) + } else if err != nil { + global.GVA_LOG.Error("设置登录状态失败!", zap.Error(err)) + response.FailWithMessage("设置登录状态失败", c) + } else { + var blackJWT system.JwtBlacklist + blackJWT.Jwt = jwtStr + if err := jwtService.JsonInBlacklist(blackJWT); err != nil { + response.FailWithMessage("jwt作废失败", c) + return + } + if err := jwtService.SetRedisJWT(token, user.Username); err != nil { + response.FailWithMessage("设置登录状态失败", c) + return + } + response.OkWithDetailed(systemRes.LoginResponse{ + User: user, + Token: token, + ExpiresAt: claims.RegisteredClaims.ExpiresAt.Unix() * 1000, + }, "登录成功", c) + } +} + +// Register +// @Tags SysUser +// @Summary 用户注册账号 +// @Produce application/json +// @Param data body systemReq.Register true "用户名, 昵称, 密码, 角色ID" +// @Success 200 {object} response.Response{data=systemRes.SysUserResponse,msg=string} "用户注册账号,返回包括用户信息" +// @Router /user/admin_register [post] +func (b *BaseApi) Register(c *gin.Context) { + var r systemReq.Register + err := c.ShouldBindJSON(&r) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(r, utils.RegisterVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + var authorities []system.SysAuthority + for _, v := range r.AuthorityIds { + authorities = append(authorities, system.SysAuthority{ + AuthorityId: v, + }) + } + user := &system.SysUser{Username: r.Username, NickName: r.NickName, Password: r.Password, HeaderImg: r.HeaderImg, AuthorityId: r.AuthorityId, Authorities: authorities, Enable: r.Enable, Phone: r.Phone, Email: r.Email} + userReturn, err := userService.Register(*user) + if err != nil { + global.GVA_LOG.Error("注册失败!", zap.Error(err)) + response.FailWithDetailed(systemRes.SysUserResponse{User: userReturn}, "注册失败", c) + return + } + response.OkWithDetailed(systemRes.SysUserResponse{User: userReturn}, "注册成功", c) +} + +// ChangePassword +// @Tags SysUser +// @Summary 用户修改密码 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body systemReq.ChangePasswordReq true "用户名, 原密码, 新密码" +// @Success 200 {object} response.Response{msg=string} "用户修改密码" +// @Router /user/changePassword [post] +func (b *BaseApi) ChangePassword(c *gin.Context) { + var req systemReq.ChangePasswordReq + err := c.ShouldBindJSON(&req) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(req, utils.ChangePasswordVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + uid := utils.GetUserID(c) + u := &system.SysUser{GVA_MODEL: global.GVA_MODEL{ID: uid}, Password: req.Password} + _, err = userService.ChangePassword(u, req.NewPassword) + if err != nil { + global.GVA_LOG.Error("修改失败!", zap.Error(err)) + response.FailWithMessage("修改失败,原密码与当前账户不符", c) + return + } + response.OkWithMessage("修改成功", c) +} + +// GetUserList +// @Tags SysUser +// @Summary 分页获取用户列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.PageInfo true "页码, 每页大小" +// @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取用户列表,返回包括列表,总数,页码,每页数量" +// @Router /user/getUserList [post] +func (b *BaseApi) GetUserList(c *gin.Context) { + var pageInfo request.PageInfo + err := c.ShouldBindJSON(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(pageInfo, utils.PageInfoVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + list, total, err := userService.GetUserInfoList(pageInfo) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) +} + +// SetUserAuthority +// @Tags SysUser +// @Summary 更改用户权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body systemReq.SetUserAuth true "用户UUID, 角色ID" +// @Success 200 {object} response.Response{msg=string} "设置用户权限" +// @Router /user/setUserAuthority [post] +func (b *BaseApi) SetUserAuthority(c *gin.Context) { + var sua systemReq.SetUserAuth + err := c.ShouldBindJSON(&sua) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if UserVerifyErr := utils.Verify(sua, utils.SetUserAuthorityVerify); UserVerifyErr != nil { + response.FailWithMessage(UserVerifyErr.Error(), c) + return + } + userID := utils.GetUserID(c) + err = userService.SetUserAuthority(userID, sua.AuthorityId) + if err != nil { + global.GVA_LOG.Error("修改失败!", zap.Error(err)) + response.FailWithMessage(err.Error(), c) + return + } + claims := utils.GetUserInfo(c) + j := &utils.JWT{SigningKey: []byte(global.GVA_CONFIG.JWT.SigningKey)} // 唯一签名 + claims.AuthorityId = sua.AuthorityId + if token, err := j.CreateToken(*claims); err != nil { + global.GVA_LOG.Error("修改失败!", zap.Error(err)) + response.FailWithMessage(err.Error(), c) + } else { + c.Header("new-token", token) + c.Header("new-expires-at", strconv.FormatInt(claims.ExpiresAt.Unix(), 10)) + response.OkWithMessage("修改成功", c) + } +} + +// SetUserAuthorities +// @Tags SysUser +// @Summary 设置用户权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body systemReq.SetUserAuthorities true "用户UUID, 角色ID" +// @Success 200 {object} response.Response{msg=string} "设置用户权限" +// @Router /user/setUserAuthorities [post] +func (b *BaseApi) SetUserAuthorities(c *gin.Context) { + var sua systemReq.SetUserAuthorities + err := c.ShouldBindJSON(&sua) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = userService.SetUserAuthorities(sua.ID, sua.AuthorityIds) + if err != nil { + global.GVA_LOG.Error("修改失败!", zap.Error(err)) + response.FailWithMessage("修改失败", c) + return + } + response.OkWithMessage("修改成功", c) +} + +// DeleteUser +// @Tags SysUser +// @Summary 删除用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.GetById true "用户ID" +// @Success 200 {object} response.Response{msg=string} "删除用户" +// @Router /user/deleteUser [delete] +func (b *BaseApi) DeleteUser(c *gin.Context) { + var reqId request.GetById + err := c.ShouldBindJSON(&reqId) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(reqId, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + jwtId := utils.GetUserID(c) + if jwtId == uint(reqId.ID) { + response.FailWithMessage("删除失败, 自杀失败", c) + return + } + err = userService.DeleteUser(reqId.ID) + if err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + return + } + response.OkWithMessage("删除成功", c) +} + +// SetUserInfo +// @Tags SysUser +// @Summary 设置用户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysUser true "ID, 用户名, 昵称, 头像链接" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "设置用户信息" +// @Router /user/setUserInfo [put] +func (b *BaseApi) SetUserInfo(c *gin.Context) { + var user systemReq.ChangeUserInfo + err := c.ShouldBindJSON(&user) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = utils.Verify(user, utils.IdVerify) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + + if len(user.AuthorityIds) != 0 { + err = userService.SetUserAuthorities(user.ID, user.AuthorityIds) + if err != nil { + global.GVA_LOG.Error("设置失败!", zap.Error(err)) + response.FailWithMessage("设置失败", c) + return + } + } + err = userService.SetUserInfo(system.SysUser{ + GVA_MODEL: global.GVA_MODEL{ + ID: user.ID, + }, + NickName: user.NickName, + HeaderImg: user.HeaderImg, + Phone: user.Phone, + Email: user.Email, + SideMode: user.SideMode, + Enable: user.Enable, + }) + if err != nil { + global.GVA_LOG.Error("设置失败!", zap.Error(err)) + response.FailWithMessage("设置失败", c) + return + } + response.OkWithMessage("设置成功", c) +} + +// SetSelfInfo +// @Tags SysUser +// @Summary 设置用户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body system.SysUser true "ID, 用户名, 昵称, 头像链接" +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "设置用户信息" +// @Router /user/SetSelfInfo [put] +func (b *BaseApi) SetSelfInfo(c *gin.Context) { + var user systemReq.ChangeUserInfo + err := c.ShouldBindJSON(&user) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + user.ID = utils.GetUserID(c) + err = userService.SetSelfInfo(system.SysUser{ + GVA_MODEL: global.GVA_MODEL{ + ID: user.ID, + }, + NickName: user.NickName, + HeaderImg: user.HeaderImg, + Phone: user.Phone, + Email: user.Email, + SideMode: user.SideMode, + Enable: user.Enable, + }) + if err != nil { + global.GVA_LOG.Error("设置失败!", zap.Error(err)) + response.FailWithMessage("设置失败", c) + return + } + response.OkWithMessage("设置成功", c) +} + +// GetUserInfo +// @Tags SysUser +// @Summary 获取用户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "获取用户信息" +// @Router /user/getUserInfo [get] +func (b *BaseApi) GetUserInfo(c *gin.Context) { + uuid := utils.GetUserUuid(c) + ReqUser, err := userService.GetUserInfo(uuid) + if err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + return + } + response.OkWithDetailed(gin.H{"userInfo": ReqUser}, "获取成功", c) +} + +// ResetPassword +// @Tags SysUser +// @Summary 重置用户密码 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body system.SysUser true "ID" +// @Success 200 {object} response.Response{msg=string} "重置用户密码" +// @Router /user/resetPassword [post] +func (b *BaseApi) ResetPassword(c *gin.Context) { + var user system.SysUser + err := c.ShouldBindJSON(&user) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = userService.ResetPassword(user.ID) + if err != nil { + global.GVA_LOG.Error("重置失败!", zap.Error(err)) + response.FailWithMessage("重置失败"+err.Error(), c) + return + } + response.OkWithMessage("重置成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config.docker.yaml b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config.docker.yaml new file mode 100644 index 000000000..a7783716f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config.docker.yaml @@ -0,0 +1,220 @@ +# github.com/flipped-aurora/gin-vue-admin/server Global Configuration + +# jwt configuration +jwt: + signing-key: qmPlus + expires-time: 7d + buffer-time: 1d + issuer: qmPlus +# zap logger configuration +zap: + level: info + format: console + prefix: "[github.com/flipped-aurora/gin-vue-admin/server]" + director: log + show-line: true + encode-level: LowercaseColorLevelEncoder + stacktrace-key: stacktrace + log-in-console: true + +# redis configuration +redis: + db: 0 + addr: 177.7.0.14:6379 + password: "" + +# mongo configuration +mongo: + coll: '' + options: '' + database: '' + username: '' + password: '' + min-pool-size: 0 + max-pool-size: 100 + socket-timeout-ms: 0 + connect-timeout-ms: 0 + is-zap: false + hosts: + - host: '' + port: '' + +# email configuration +email: + to: xxx@qq.com + port: 465 + from: xxx@163.com + host: smtp.163.com + is-ssl: true + secret: xxx + nickname: test + +# system configuration +system: + env: public # Change to "develop" to skip authentication for development mode + addr: 8888 + db-type: mysql + oss-type: local # 控制oss选择走本地还是 七牛等其他仓 自行增加其他oss仓可以在 server/utils/upload/upload.go 中 NewOss函数配置 + use-redis: false # 使用redis + use-mongo: false # 使用mongo + use-multipoint: false + # IP限制次数 一个小时15000次 + iplimit-count: 15000 + # IP限制一个小时 + iplimit-time: 3600 + +# captcha configuration +captcha: + key-long: 6 + img-width: 240 + img-height: 80 + open-captcha: 0 # 0代表一直开启,大于0代表限制次数 + open-captcha-timeout: 3600 # open-captcha大于0时才生效 + +# mysql connect configuration +# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://gin-vue-admin.com/docs/first_master) +mysql: + path: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + max-idle-conns: 10 + max-open-conns: 100 + log-mode: "" + log-zap: false + +# pgsql connect configuration +# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://gin-vue-admin.com/docs/first_master) +pgsql: + path: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + max-idle-conns: 10 + max-open-conns: 100 + log-mode: "" + log-zap: false + +db-list: + - disable: true # 是否禁用 + type: "" # 数据库的类型,目前支持mysql、pgsql + alias-name: "" # 数据库的名称,注意: alias-name 需要在db-list中唯一 + path: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + max-idle-conns: 10 + max-open-conns: 100 + log-mode: "" + log-zap: false + + +# local configuration +local: + path: uploads/file + store-path: uploads/file + +# autocode configuration +autocode: + transfer-restart: true + # root 自动适配项目根目录 + # 请不要手动配置,他会在项目加载的时候识别出根路径 + root: "" + server: /server + server-plug: /plugin/%s + server-api: /api/v1/%s + server-initialize: /initialize + server-model: /model/%s + server-request: /model/%s/request/ + server-router: /router/%s + server-service: /service/%s + web: /web/src + web-api: /api + web-form: /view + web-table: /view + +# qiniu configuration (请自行七牛申请对应的 公钥 私钥 bucket 和 域名地址) +qiniu: + zone: ZoneHuaDong + bucket: "" + img-path: "" + use-https: false + access-key: "" + secret-key: "" + use-cdn-domains: false + +# aliyun oss configuration +aliyun-oss: + endpoint: yourEndpoint + access-key-id: yourAccessKeyId + access-key-secret: yourAccessKeySecret + bucket-name: yourBucketName + bucket-url: yourBucketUrl + base-path: yourBasePath + +# tencent cos configuration +tencent-cos: + bucket: xxxxx-10005608 + region: ap-shanghai + secret-id: your-secret-id + secret-key: your-secret-key + base-url: https://gin.vue.admin + path-prefix: github.com/flipped-aurora/gin-vue-admin/server + +# aws s3 configuration (minio compatible) +aws-s3: + bucket: xxxxx-10005608 + region: ap-shanghai + endpoint: "" + s3-force-path-style: false + disable-ssl: false + secret-id: your-secret-id + secret-key: your-secret-key + base-url: https://gin.vue.admin + path-prefix: github.com/flipped-aurora/gin-vue-admin/server + +# huawei obs configuration +hua-wei-obs: + path: you-path + bucket: you-bucket + endpoint: you-endpoint + access-key: you-access-key + secret-key: you-secret-key + +# excel configuration +excel: + dir: ./resource/excel/ + +# timer task db clear table +Timer: + start: true + spec: "@daily" # 定时任务详细配置参考 https://pkg.go.dev/github.com/robfig/cron/v3 + detail: + - tableName: sys_operation_records + compareField: created_at + interval: 2160h + - tableName: jwt_blacklists + compareField: created_at + interval: 168h + +# 跨域配置 +# 需要配合 server/initialize/router.go -> `Router.Use(middleware.CorsByRules())` 使用 +cors: + mode: whitelist # 放行模式: allow-all, 放行全部; whitelist, 白名单模式, 来自白名单内域名的请求添加 cors 头; strict-whitelist 严格白名单模式, 白名单外的请求一律拒绝 + whitelist: + - allow-origin: example1.com + allow-headers: content-type + allow-methods: GET, POST + expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type + allow-credentials: true # 布尔值 + - allow-origin: example2.com + allow-headers: content-type + allow-methods: GET, POST + expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type + allow-credentials: true # 布尔值 \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config.yaml b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config.yaml new file mode 100644 index 000000000..3f404c6fb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config.yaml @@ -0,0 +1,216 @@ +aliyun-oss: + endpoint: yourEndpoint + access-key-id: yourAccessKeyId + access-key-secret: yourAccessKeySecret + bucket-name: yourBucketName + bucket-url: yourBucketUrl + base-path: yourBasePath +autocode: + server-model: /model/%s + server-router: /router/%s + server: /server + server-api: /api/v1/%s + server-plug: /plugin/%s + server-initialize: /initialize + root: D:\files downloads\hackathon-master + web-table: /view + web: /web/src + server-service: /service/%s + server-request: /model/%s/request/ + web-api: /api + web-form: /view + transfer-restart: true +aws-s3: + bucket: xxxxx-10005608 + region: ap-shanghai + endpoint: "" + secret-id: your-secret-id + secret-key: your-secret-key + base-url: https://gin.vue.admin + path-prefix: github.com/flipped-aurora/gin-vue-admin/server + s3-force-path-style: false + disable-ssl: false +captcha: + key-long: 6 + img-width: 240 + img-height: 80 + open-captcha: 0 + open-captcha-timeout: 3600 +cors: + mode: strict-whitelist + whitelist: + - allow-origin: example1.com + allow-methods: POST, GET + allow-headers: Content-Type,AccessToken,X-CSRF-Token, Authorization, Token,X-Token,X-User-Id + expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type + allow-credentials: true + - allow-origin: example2.com + allow-methods: GET, POST + allow-headers: content-type + expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type + allow-credentials: true +db-list: + - type: "" + alias-name: "" + prefix: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + path: "" + engine: "" + log-mode: "" + max-idle-conns: 10 + max-open-conns: 100 + singular: false + log-zap: false + disable: true +email: + to: xxx@qq.com + from: xxx@163.com + host: smtp.163.com + secret: xxx + nickname: test + port: 465 + is-ssl: true +excel: + dir: ./resource/excel/ +hua-wei-obs: + path: you-path + bucket: you-bucket + endpoint: you-endpoint + access-key: you-access-key + secret-key: you-secret-key +jwt: + signing-key: 07299c1f-df83-4185-a30d-2a7dcc58f39c + expires-time: 7d + buffer-time: 1d + issuer: qmPlus +local: + path: uploads/file + store-path: uploads/file +mongo: + coll: "" + options: "" + database: "" + username: "" + password: "" + min-pool-size: 0 + max-pool-size: 100 + socket-timeout-ms: 0 + connect-timeout-ms: 0 + is-zap: false + hosts: + - host: "" + port: "" +mssql: + prefix: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + path: "" + engine: "" + log-mode: "" + max-idle-conns: 10 + max-open-conns: 100 + singular: false + log-zap: false +mysql: + prefix: "" + port: "3306" + config: charset=utf8mb4&parseTime=True&loc=Local + db-name: gva + username: root + password: Wrs200502 + path: 127.0.0.1 + engine: "" + log-mode: error + max-idle-conns: 10 + max-open-conns: 100 + singular: false + log-zap: false +oracle: + prefix: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + path: "" + engine: "" + log-mode: "" + max-idle-conns: 10 + max-open-conns: 100 + singular: false + log-zap: false +pgsql: + prefix: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + path: "" + engine: "" + log-mode: "" + max-idle-conns: 10 + max-open-conns: 100 + singular: false + log-zap: false +qiniu: + zone: ZoneHuaDong + bucket: "" + img-path: "" + access-key: "" + secret-key: "" + use-https: false + use-cdn-domains: false +redis: + addr: 127.0.0.1:6379 + password: "" + db: 0 +sqlite: + prefix: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + path: "" + engine: "" + log-mode: "" + max-idle-conns: 10 + max-open-conns: 100 + singular: false + log-zap: false +system: + env: local + db-type: mysql + oss-type: local + router-prefix: "" + addr: 8888 + iplimit-count: 15000 + iplimit-time: 3600 + use-multipoint: false + use-redis: false + use-mongo: false +tencent-cos: + bucket: xxxxx-10005608 + region: ap-shanghai + secret-id: your-secret-id + secret-key: your-secret-key + base-url: https://gin.vue.admin + path-prefix: github.com/flipped-aurora/gin-vue-admin/server +zap: + level: info + prefix: '[github.com/flipped-aurora/gin-vue-admin/server]' + format: console + director: log + encode-level: LowercaseColorLevelEncoder + stacktrace-key: stacktrace + max-age: 0 + show-line: true + log-in-console: true diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/auto_code.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/auto_code.go new file mode 100644 index 000000000..d39d7af8e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/auto_code.go @@ -0,0 +1,18 @@ +package config + +type Autocode struct { + SModel string `mapstructure:"server-model" json:"server-model" yaml:"server-model"` + SRouter string `mapstructure:"server-router" json:"server-router" yaml:"server-router"` + Server string `mapstructure:"server" json:"server" yaml:"server"` + SApi string `mapstructure:"server-api" json:"server-api" yaml:"server-api"` + SPlug string `mapstructure:"server-plug" json:"server-plug" yaml:"server-plug"` + SInitialize string `mapstructure:"server-initialize" json:"server-initialize" yaml:"server-initialize"` + Root string `mapstructure:"root" json:"root" yaml:"root"` + WTable string `mapstructure:"web-table" json:"web-table" yaml:"web-table"` + Web string `mapstructure:"web" json:"web" yaml:"web"` + SService string `mapstructure:"server-service" json:"server-service" yaml:"server-service"` + SRequest string `mapstructure:"server-request" json:"server-request" yaml:"server-request"` + WApi string `mapstructure:"web-api" json:"web-api" yaml:"web-api"` + WForm string `mapstructure:"web-form" json:"web-form" yaml:"web-form"` + TransferRestart bool `mapstructure:"transfer-restart" json:"transfer-restart" yaml:"transfer-restart"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/captcha.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/captcha.go new file mode 100644 index 000000000..074a9bfad --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/captcha.go @@ -0,0 +1,9 @@ +package config + +type Captcha struct { + KeyLong int `mapstructure:"key-long" json:"key-long" yaml:"key-long"` // 验证码长度 + ImgWidth int `mapstructure:"img-width" json:"img-width" yaml:"img-width"` // 验证码宽度 + ImgHeight int `mapstructure:"img-height" json:"img-height" yaml:"img-height"` // 验证码高度 + OpenCaptcha int `mapstructure:"open-captcha" json:"open-captcha" yaml:"open-captcha"` // 防爆破验证码开启此数,0代表每次登录都需要验证码,其他数字代表错误密码此数,如3代表错误三次后出现验证码 + OpenCaptchaTimeOut int `mapstructure:"open-captcha-timeout" json:"open-captcha-timeout" yaml:"open-captcha-timeout"` // 防爆破验证码超时时间,单位:s(秒) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/config.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/config.go new file mode 100644 index 000000000..9eaf10c80 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/config.go @@ -0,0 +1,32 @@ +package config + +type Server struct { + JWT JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"` + Zap Zap `mapstructure:"zap" json:"zap" yaml:"zap"` + Redis Redis `mapstructure:"redis" json:"redis" yaml:"redis"` + Mongo Mongo `json:"mongo" yaml:"mongo" mapstructure:"mongo"` + Email Email `mapstructure:"email" json:"email" yaml:"email"` + System System `mapstructure:"system" json:"system" yaml:"system"` + Captcha Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"` + // auto + AutoCode Autocode `mapstructure:"autocode" json:"autocode" yaml:"autocode"` + // gorm + Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"` + Mssql Mssql `mapstructure:"mssql" json:"mssql" yaml:"mssql"` + Pgsql Pgsql `mapstructure:"pgsql" json:"pgsql" yaml:"pgsql"` + Oracle Oracle `mapstructure:"oracle" json:"oracle" yaml:"oracle"` + Sqlite Sqlite `mapstructure:"sqlite" json:"sqlite" yaml:"sqlite"` + DBList []SpecializedDB `mapstructure:"db-list" json:"db-list" yaml:"db-list"` + // oss + Local Local `mapstructure:"local" json:"local" yaml:"local"` + Qiniu Qiniu `mapstructure:"qiniu" json:"qiniu" yaml:"qiniu"` + AliyunOSS AliyunOSS `mapstructure:"aliyun-oss" json:"aliyun-oss" yaml:"aliyun-oss"` + HuaWeiObs HuaWeiObs `mapstructure:"hua-wei-obs" json:"hua-wei-obs" yaml:"hua-wei-obs"` + TencentCOS TencentCOS `mapstructure:"tencent-cos" json:"tencent-cos" yaml:"tencent-cos"` + AwsS3 AwsS3 `mapstructure:"aws-s3" json:"aws-s3" yaml:"aws-s3"` + + Excel Excel `mapstructure:"excel" json:"excel" yaml:"excel"` + + // 跨域配置 + Cors CORS `mapstructure:"cors" json:"cors" yaml:"cors"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/cors.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/cors.go new file mode 100644 index 000000000..7fba99346 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/cors.go @@ -0,0 +1,14 @@ +package config + +type CORS struct { + Mode string `mapstructure:"mode" json:"mode" yaml:"mode"` + Whitelist []CORSWhitelist `mapstructure:"whitelist" json:"whitelist" yaml:"whitelist"` +} + +type CORSWhitelist struct { + AllowOrigin string `mapstructure:"allow-origin" json:"allow-origin" yaml:"allow-origin"` + AllowMethods string `mapstructure:"allow-methods" json:"allow-methods" yaml:"allow-methods"` + AllowHeaders string `mapstructure:"allow-headers" json:"allow-headers" yaml:"allow-headers"` + ExposeHeaders string `mapstructure:"expose-headers" json:"expose-headers" yaml:"expose-headers"` + AllowCredentials bool `mapstructure:"allow-credentials" json:"allow-credentials" yaml:"allow-credentials"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/db_list.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/db_list.go new file mode 100644 index 000000000..17eaac965 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/db_list.go @@ -0,0 +1,32 @@ +package config + +type DsnProvider interface { + Dsn() string +} + +// Embeded 结构体可以压平到上一层,从而保持 config 文件的结构和原来一样 +// 见 playground: https://go.dev/play/p/KIcuhqEoxmY + +// GeneralDB 也被 Pgsql 和 Mysql 原样使用 +type GeneralDB struct { + Prefix string `mapstructure:"prefix" json:"prefix" yaml:"prefix"` + Port string `mapstructure:"port" json:"port" yaml:"port"` + Config string `mapstructure:"config" json:"config" yaml:"config"` // 高级配置 + Dbname string `mapstructure:"db-name" json:"db-name" yaml:"db-name"` // 数据库名 + Username string `mapstructure:"username" json:"username" yaml:"username"` // 数据库密码 + Password string `mapstructure:"password" json:"password" yaml:"password"` // 数据库密码 + Path string `mapstructure:"path" json:"path" yaml:"path"` + Engine string `mapstructure:"engine" json:"engine" yaml:"engine" default:"InnoDB"` //数据库引擎,默认InnoDB + LogMode string `mapstructure:"log-mode" json:"log-mode" yaml:"log-mode"` // 是否开启Gorm全局日志 + MaxIdleConns int `mapstructure:"max-idle-conns" json:"max-idle-conns" yaml:"max-idle-conns"` // 空闲中的最大连接数 + MaxOpenConns int `mapstructure:"max-open-conns" json:"max-open-conns" yaml:"max-open-conns"` // 打开到数据库的最大连接数 + Singular bool `mapstructure:"singular" json:"singular" yaml:"singular"` //是否开启全局禁用复数,true表示开启 + LogZap bool `mapstructure:"log-zap" json:"log-zap" yaml:"log-zap"` // 是否通过zap写入日志文件 +} + +type SpecializedDB struct { + Type string `mapstructure:"type" json:"type" yaml:"type"` + AliasName string `mapstructure:"alias-name" json:"alias-name" yaml:"alias-name"` + GeneralDB `yaml:",inline" mapstructure:",squash"` + Disable bool `mapstructure:"disable" json:"disable" yaml:"disable"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/email.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/email.go new file mode 100644 index 000000000..0984616b2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/email.go @@ -0,0 +1,11 @@ +package config + +type Email struct { + To string `mapstructure:"to" json:"to" yaml:"to"` // 收件人:多个以英文逗号分隔 例:a@qq.com b@qq.com 正式开发中请把此项目作为参数使用 + From string `mapstructure:"from" json:"from" yaml:"from"` // 发件人 你自己要发邮件的邮箱 + Host string `mapstructure:"host" json:"host" yaml:"host"` // 服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议 + Secret string `mapstructure:"secret" json:"secret" yaml:"secret"` // 密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥 + Nickname string `mapstructure:"nickname" json:"nickname" yaml:"nickname"` // 昵称 发件人昵称 通常为自己的邮箱 + Port int `mapstructure:"port" json:"port" yaml:"port"` // 端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465 + IsSSL bool `mapstructure:"is-ssl" json:"is-ssl" yaml:"is-ssl"` // 是否SSL 是否开启SSL +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/excel.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/excel.go new file mode 100644 index 000000000..13caab7f5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/excel.go @@ -0,0 +1,5 @@ +package config + +type Excel struct { + Dir string `mapstructure:"dir" json:"dir" yaml:"dir"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_mssql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_mssql.go new file mode 100644 index 000000000..db299e1e3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_mssql.go @@ -0,0 +1,13 @@ +package config + +type Mssql struct { + GeneralDB `yaml:",inline" mapstructure:",squash"` +} +//dsn := "sqlserver://gorm:LoremIpsum86@localhost:9930?database=gorm" +func (m *Mssql) Dsn() string { + return "sqlserver://" + m.Username + ":" + m.Password + "@" + m.Path + ":" + m.Port + "?database=" + m.Dbname + "&encrypt=disable" +} + +func (m *Mssql) GetLogMode() string { + return m.LogMode +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_mysql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_mysql.go new file mode 100644 index 000000000..86911f37e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_mysql.go @@ -0,0 +1,13 @@ +package config + +type Mysql struct { + GeneralDB `yaml:",inline" mapstructure:",squash"` +} + +func (m *Mysql) Dsn() string { + return m.Username + ":" + m.Password + "@tcp(" + m.Path + ":" + m.Port + ")/" + m.Dbname + "?" + m.Config +} + +func (m *Mysql) GetLogMode() string { + return m.LogMode +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_oracle.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_oracle.go new file mode 100644 index 000000000..44f9051c8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_oracle.go @@ -0,0 +1,14 @@ +package config + +type Oracle struct { + GeneralDB `yaml:",inline" mapstructure:",squash"` +} + +func (m *Oracle) Dsn() string { + return "oracle://" + m.Username + ":" + m.Password + "@" + m.Path + ":" + m.Port + "/" + m.Dbname + "?" + m.Config + +} + +func (m *Oracle) GetLogMode() string { + return m.LogMode +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_pgsql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_pgsql.go new file mode 100644 index 000000000..17c5f5e95 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_pgsql.go @@ -0,0 +1,21 @@ +package config + +type Pgsql struct { + GeneralDB `yaml:",inline" mapstructure:",squash"` +} + +// Dsn 基于配置文件获取 dsn +// Author [SliverHorn](https://github.com/SliverHorn) +func (p *Pgsql) Dsn() string { + return "host=" + p.Path + " user=" + p.Username + " password=" + p.Password + " dbname=" + p.Dbname + " port=" + p.Port + " " + p.Config +} + +// LinkDsn 根据 dbname 生成 dsn +// Author [SliverHorn](https://github.com/SliverHorn) +func (p *Pgsql) LinkDsn(dbname string) string { + return "host=" + p.Path + " user=" + p.Username + " password=" + p.Password + " dbname=" + dbname + " port=" + p.Port + " " + p.Config +} + +func (m *Pgsql) GetLogMode() string { + return m.LogMode +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_sqlite.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_sqlite.go new file mode 100644 index 000000000..5eebcae40 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/gorm_sqlite.go @@ -0,0 +1,17 @@ +package config + +import ( + "path/filepath" +) + +type Sqlite struct { + GeneralDB `yaml:",inline" mapstructure:",squash"` +} + +func (s *Sqlite) Dsn() string { + return filepath.Join(s.Path, s.Dbname+".db") +} + +func (s *Sqlite) GetLogMode() string { + return s.LogMode +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/jwt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/jwt.go new file mode 100644 index 000000000..c95d30dc1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/jwt.go @@ -0,0 +1,8 @@ +package config + +type JWT struct { + SigningKey string `mapstructure:"signing-key" json:"signing-key" yaml:"signing-key"` // jwt签名 + ExpiresTime string `mapstructure:"expires-time" json:"expires-time" yaml:"expires-time"` // 过期时间 + BufferTime string `mapstructure:"buffer-time" json:"buffer-time" yaml:"buffer-time"` // 缓冲时间 + Issuer string `mapstructure:"issuer" json:"issuer" yaml:"issuer"` // 签发者 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/mongo.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/mongo.go new file mode 100644 index 000000000..fe4f0e096 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/mongo.go @@ -0,0 +1,40 @@ +package config + +import ( + "fmt" + "strings" +) + +type Mongo struct { + Coll string `json:"coll" yaml:"coll" mapstructure:"coll"` // collection name + Options string `json:"options" yaml:"options" mapstructure:"options"` // mongodb options + Database string `json:"database" yaml:"database" mapstructure:"database"` // database name + Username string `json:"username" yaml:"username" mapstructure:"username"` // 用户名 + Password string `json:"password" yaml:"password" mapstructure:"password"` // 密码 + MinPoolSize uint64 `json:"min-pool-size" yaml:"min-pool-size" mapstructure:"min-pool-size"` // 最小连接池 + MaxPoolSize uint64 `json:"max-pool-size" yaml:"max-pool-size" mapstructure:"max-pool-size"` // 最大连接池 + SocketTimeoutMs int64 `json:"socket-timeout-ms" yaml:"socket-timeout-ms" mapstructure:"socket-timeout-ms"` // socket超时时间 + ConnectTimeoutMs int64 `json:"connect-timeout-ms" yaml:"connect-timeout-ms" mapstructure:"connect-timeout-ms"` // 连接超时时间 + IsZap bool `json:"is-zap" yaml:"is-zap" mapstructure:"is-zap"` // 是否开启zap日志 + Hosts []*MongoHost `json:"hosts" yaml:"hosts" mapstructure:"hosts"` // 主机列表 +} + +type MongoHost struct { + Host string `json:"host" yaml:"host" mapstructure:"host"` // ip地址 + Port string `json:"port" yaml:"port" mapstructure:"port"` // 端口 +} + +// Uri . +func (x *Mongo) Uri() string { + length := len(x.Hosts) + hosts := make([]string, 0, length) + for i := 0; i < length; i++ { + if x.Hosts[i].Host != "" && x.Hosts[i].Port != "" { + hosts = append(hosts, x.Hosts[i].Host+":"+x.Hosts[i].Port) + } + } + if x.Options != "" { + return fmt.Sprintf("mongodb://%s/%s?%s", strings.Join(hosts, ","), x.Database, x.Options) + } + return fmt.Sprintf("mongodb://%s/%s", strings.Join(hosts, ","), x.Database) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_aliyun.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_aliyun.go new file mode 100644 index 000000000..934bd782a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_aliyun.go @@ -0,0 +1,10 @@ +package config + +type AliyunOSS struct { + Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"` + AccessKeyId string `mapstructure:"access-key-id" json:"access-key-id" yaml:"access-key-id"` + AccessKeySecret string `mapstructure:"access-key-secret" json:"access-key-secret" yaml:"access-key-secret"` + BucketName string `mapstructure:"bucket-name" json:"bucket-name" yaml:"bucket-name"` + BucketUrl string `mapstructure:"bucket-url" json:"bucket-url" yaml:"bucket-url"` + BasePath string `mapstructure:"base-path" json:"base-path" yaml:"base-path"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_aws.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_aws.go new file mode 100644 index 000000000..7ec6acc54 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_aws.go @@ -0,0 +1,13 @@ +package config + +type AwsS3 struct { + Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"` + Region string `mapstructure:"region" json:"region" yaml:"region"` + Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"` + SecretID string `mapstructure:"secret-id" json:"secret-id" yaml:"secret-id"` + SecretKey string `mapstructure:"secret-key" json:"secret-key" yaml:"secret-key"` + BaseURL string `mapstructure:"base-url" json:"base-url" yaml:"base-url"` + PathPrefix string `mapstructure:"path-prefix" json:"path-prefix" yaml:"path-prefix"` + S3ForcePathStyle bool `mapstructure:"s3-force-path-style" json:"s3-force-path-style" yaml:"s3-force-path-style"` + DisableSSL bool `mapstructure:"disable-ssl" json:"disable-ssl" yaml:"disable-ssl"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_huawei.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_huawei.go new file mode 100644 index 000000000..45dfbcdb0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_huawei.go @@ -0,0 +1,9 @@ +package config + +type HuaWeiObs struct { + Path string `mapstructure:"path" json:"path" yaml:"path"` + Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"` + Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"` + AccessKey string `mapstructure:"access-key" json:"access-key" yaml:"access-key"` + SecretKey string `mapstructure:"secret-key" json:"secret-key" yaml:"secret-key"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_local.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_local.go new file mode 100644 index 000000000..7038d4ad9 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_local.go @@ -0,0 +1,6 @@ +package config + +type Local struct { + Path string `mapstructure:"path" json:"path" yaml:"path"` // 本地文件访问路径 + StorePath string `mapstructure:"store-path" json:"store-path" yaml:"store-path"` // 本地文件存储路径 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_qiniu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_qiniu.go new file mode 100644 index 000000000..298fe2d3c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_qiniu.go @@ -0,0 +1,11 @@ +package config + +type Qiniu struct { + Zone string `mapstructure:"zone" json:"zone" yaml:"zone"` // 存储区域 + Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"` // 空间名称 + ImgPath string `mapstructure:"img-path" json:"img-path" yaml:"img-path"` // CDN加速域名 + AccessKey string `mapstructure:"access-key" json:"access-key" yaml:"access-key"` // 秘钥AK + SecretKey string `mapstructure:"secret-key" json:"secret-key" yaml:"secret-key"` // 秘钥SK + UseHTTPS bool `mapstructure:"use-https" json:"use-https" yaml:"use-https"` // 是否使用https + UseCdnDomains bool `mapstructure:"use-cdn-domains" json:"use-cdn-domains" yaml:"use-cdn-domains"` // 上传是否使用CDN上传加速 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_tencent.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_tencent.go new file mode 100644 index 000000000..39a29d116 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/oss_tencent.go @@ -0,0 +1,10 @@ +package config + +type TencentCOS struct { + Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"` + Region string `mapstructure:"region" json:"region" yaml:"region"` + SecretID string `mapstructure:"secret-id" json:"secret-id" yaml:"secret-id"` + SecretKey string `mapstructure:"secret-key" json:"secret-key" yaml:"secret-key"` + BaseURL string `mapstructure:"base-url" json:"base-url" yaml:"base-url"` + PathPrefix string `mapstructure:"path-prefix" json:"path-prefix" yaml:"path-prefix"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/redis.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/redis.go new file mode 100644 index 000000000..60dbb1ee3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/redis.go @@ -0,0 +1,7 @@ +package config + +type Redis struct { + Addr string `mapstructure:"addr" json:"addr" yaml:"addr"` // 服务器地址:端口 + Password string `mapstructure:"password" json:"password" yaml:"password"` // 密码 + DB int `mapstructure:"db" json:"db" yaml:"db"` // redis的哪个数据库 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/system.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/system.go new file mode 100644 index 000000000..7ab338762 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/system.go @@ -0,0 +1,14 @@ +package config + +type System struct { + Env string `mapstructure:"env" json:"env" yaml:"env"` // 环境值 + DbType string `mapstructure:"db-type" json:"db-type" yaml:"db-type"` // 数据库类型:mysql(默认)|sqlite|sqlserver|postgresql + OssType string `mapstructure:"oss-type" json:"oss-type" yaml:"oss-type"` // Oss类型 + RouterPrefix string `mapstructure:"router-prefix" json:"router-prefix" yaml:"router-prefix"` + Addr int `mapstructure:"addr" json:"addr" yaml:"addr"` // 端口值 + LimitCountIP int `mapstructure:"iplimit-count" json:"iplimit-count" yaml:"iplimit-count"` + LimitTimeIP int `mapstructure:"iplimit-time" json:"iplimit-time" yaml:"iplimit-time"` + UseMultipoint bool `mapstructure:"use-multipoint" json:"use-multipoint" yaml:"use-multipoint"` // 多点登录拦截 + UseRedis bool `mapstructure:"use-redis" json:"use-redis" yaml:"use-redis"` // 使用redis + UseMongo bool `mapstructure:"use-mongo" json:"use-mongo" yaml:"use-mongo"` // 使用redis +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/zap.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/zap.go new file mode 100644 index 000000000..287221971 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/config/zap.go @@ -0,0 +1,60 @@ +package config + +import ( + "go.uber.org/zap/zapcore" + "strings" +) + +type Zap struct { + Level string `mapstructure:"level" json:"level" yaml:"level"` // 级别 + Prefix string `mapstructure:"prefix" json:"prefix" yaml:"prefix"` // 日志前缀 + Format string `mapstructure:"format" json:"format" yaml:"format"` // 输出 + Director string `mapstructure:"director" json:"director" yaml:"director"` // 日志文件夹 + EncodeLevel string `mapstructure:"encode-level" json:"encode-level" yaml:"encode-level"` // 编码级 + StacktraceKey string `mapstructure:"stacktrace-key" json:"stacktrace-key" yaml:"stacktrace-key"` // 栈名 + + MaxAge int `mapstructure:"max-age" json:"max-age" yaml:"max-age"` // 日志留存时间 + ShowLine bool `mapstructure:"show-line" json:"show-line" yaml:"show-line"` // 显示行 + LogInConsole bool `mapstructure:"log-in-console" json:"log-in-console" yaml:"log-in-console"` // 输出控制台 +} + +// ZapEncodeLevel 根据 EncodeLevel 返回 zapcore.LevelEncoder +// Author [SliverHorn](https://github.com/SliverHorn) +func (z *Zap) ZapEncodeLevel() zapcore.LevelEncoder { + switch { + case z.EncodeLevel == "LowercaseLevelEncoder": // 小写编码器(默认) + return zapcore.LowercaseLevelEncoder + case z.EncodeLevel == "LowercaseColorLevelEncoder": // 小写编码器带颜色 + return zapcore.LowercaseColorLevelEncoder + case z.EncodeLevel == "CapitalLevelEncoder": // 大写编码器 + return zapcore.CapitalLevelEncoder + case z.EncodeLevel == "CapitalColorLevelEncoder": // 大写编码器带颜色 + return zapcore.CapitalColorLevelEncoder + default: + return zapcore.LowercaseLevelEncoder + } +} + +// TransportLevel 根据字符串转化为 zapcore.Level +// Author [SliverHorn](https://github.com/SliverHorn) +func (z *Zap) TransportLevel() zapcore.Level { + z.Level = strings.ToLower(z.Level) + switch z.Level { + case "debug": + return zapcore.DebugLevel + case "info": + return zapcore.InfoLevel + case "warn": + return zapcore.WarnLevel + case "error": + return zapcore.WarnLevel + case "dpanic": + return zapcore.DPanicLevel + case "panic": + return zapcore.PanicLevel + case "fatal": + return zapcore.FatalLevel + default: + return zapcore.DebugLevel + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/constant.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/constant.go new file mode 100644 index 000000000..b22362cc7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/constant.go @@ -0,0 +1,9 @@ +package internal + +const ( + ConfigEnv = "GVA_CONFIG" + ConfigDefaultFile = "config.yaml" + ConfigTestFile = "config.test.yaml" + ConfigDebugFile = "config.debug.yaml" + ConfigReleaseFile = "config.release.yaml" +) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/cutter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/cutter.go new file mode 100644 index 000000000..721a94bde --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/cutter.go @@ -0,0 +1,97 @@ +package internal + +import ( + "os" + "path/filepath" + "regexp" + "strings" + "sync" + "time" +) + +type Cutter struct { + level string // 日志级别(debug, info, warn, error, dpanic, panic, fatal) + format string // 时间格式(2006-01-02) + Director string // 日志文件夹 + file *os.File // 文件句柄 + mutex *sync.RWMutex // 读写锁 +} + +type CutterOption func(*Cutter) + +// WithCutterFormat 设置时间格式 +func WithCutterFormat(format string) CutterOption { + return func(c *Cutter) { + c.format = format + } +} + +func NewCutter(director string, level string, options ...CutterOption) *Cutter { + rotate := &Cutter{ + level: level, + Director: director, + mutex: new(sync.RWMutex), + } + for i := 0; i < len(options); i++ { + options[i](rotate) + } + return rotate +} + +// Write satisfies the io.Writer interface. It writes to the +// appropriate file handle that is currently being used. +// If we have reached rotation time, the target file gets +// automatically rotated, and also purged if necessary. +func (c *Cutter) Write(bytes []byte) (n int, err error) { + c.mutex.Lock() + defer func() { + if c.file != nil { + _ = c.file.Close() + c.file = nil + } + c.mutex.Unlock() + }() + var business string + if strings.Contains(string(bytes), "business") { + var compile *regexp.Regexp + compile, err = regexp.Compile(`{"business": "([^,]+)"}`) + if err != nil { + return 0, err + } + if compile.Match(bytes) { + finds := compile.FindSubmatch(bytes) + business = string(finds[len(finds)-1]) + bytes = compile.ReplaceAll(bytes, []byte("")) + } + compile, err = regexp.Compile(`"business": "([^,]+)"`) + if err != nil { + return 0, err + } + if compile.Match(bytes) { + finds := compile.FindSubmatch(bytes) + business = string(finds[len(finds)-1]) + bytes = compile.ReplaceAll(bytes, []byte("")) + } + } + format := time.Now().Format(c.format) + formats := make([]string, 0, 4) + formats = append(formats, c.Director) + if format != "" { + formats = append(formats, format) + } + if business != "" { + formats = append(formats, business) + } + formats = append(formats, c.level+".log") + filename := filepath.Join(formats...) + dirname := filepath.Dir(filename) + err = os.MkdirAll(dirname, 0755) + if err != nil { + return 0, err + } + c.file, err = os.OpenFile(filename, os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0644) + if err != nil { + return 0, err + } + return c.file.Write(bytes) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/file_rotatelogs.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/file_rotatelogs.go new file mode 100644 index 000000000..5d463e021 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/file_rotatelogs.go @@ -0,0 +1,21 @@ +package internal + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "go.uber.org/zap/zapcore" + "os" +) + +var FileRotatelogs = new(fileRotatelogs) + +type fileRotatelogs struct{} + +// GetWriteSyncer 获取 zapcore.WriteSyncer +// Author [SliverHorn](https://github.com/SliverHorn) +func (r *fileRotatelogs) GetWriteSyncer(level string) zapcore.WriteSyncer { + fileWriter := NewCutter(global.GVA_CONFIG.Zap.Director, level, WithCutterFormat("2006-01-02")) + if global.GVA_CONFIG.Zap.LogInConsole { + return zapcore.NewMultiWriteSyncer(zapcore.AddSync(os.Stdout), zapcore.AddSync(fileWriter)) + } + return zapcore.AddSync(fileWriter) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/zap.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/zap.go new file mode 100644 index 000000000..92c9f4b84 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/internal/zap.go @@ -0,0 +1,101 @@ +package internal + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "go.uber.org/zap" + "go.uber.org/zap/zapcore" + "time" +) + +var Zap = new(_zap) + +type _zap struct{} + +// GetEncoder 获取 zapcore.Encoder +// Author [SliverHorn](https://github.com/SliverHorn) +func (z *_zap) GetEncoder() zapcore.Encoder { + if global.GVA_CONFIG.Zap.Format == "json" { + return zapcore.NewJSONEncoder(z.GetEncoderConfig()) + } + return zapcore.NewConsoleEncoder(z.GetEncoderConfig()) +} + +// GetEncoderConfig 获取zapcore.EncoderConfig +// Author [SliverHorn](https://github.com/SliverHorn) +func (z *_zap) GetEncoderConfig() zapcore.EncoderConfig { + return zapcore.EncoderConfig{ + MessageKey: "message", + LevelKey: "level", + TimeKey: "time", + NameKey: "logger", + CallerKey: "caller", + StacktraceKey: global.GVA_CONFIG.Zap.StacktraceKey, + LineEnding: zapcore.DefaultLineEnding, + EncodeLevel: global.GVA_CONFIG.Zap.ZapEncodeLevel(), + EncodeTime: z.CustomTimeEncoder, + EncodeDuration: zapcore.SecondsDurationEncoder, + EncodeCaller: zapcore.FullCallerEncoder, + } +} + +// GetEncoderCore 获取Encoder的 zapcore.Core +// Author [SliverHorn](https://github.com/SliverHorn) +func (z *_zap) GetEncoderCore(l zapcore.Level, level zap.LevelEnablerFunc) zapcore.Core { + writer := FileRotatelogs.GetWriteSyncer(l.String()) // 日志分割 + return zapcore.NewCore(z.GetEncoder(), writer, level) +} + +// CustomTimeEncoder 自定义日志输出时间格式 +// Author [SliverHorn](https://github.com/SliverHorn) +func (z *_zap) CustomTimeEncoder(t time.Time, encoder zapcore.PrimitiveArrayEncoder) { + encoder.AppendString(global.GVA_CONFIG.Zap.Prefix + t.Format("2006/01/02 - 15:04:05.000")) +} + +// GetZapCores 根据配置文件的Level获取 []zapcore.Core +// Author [SliverHorn](https://github.com/SliverHorn) +func (z *_zap) GetZapCores() []zapcore.Core { + cores := make([]zapcore.Core, 0, 7) + for level := global.GVA_CONFIG.Zap.TransportLevel(); level <= zapcore.FatalLevel; level++ { + cores = append(cores, z.GetEncoderCore(level, z.GetLevelPriority(level))) + } + return cores +} + +// GetLevelPriority 根据 zapcore.Level 获取 zap.LevelEnablerFunc +// Author [SliverHorn](https://github.com/SliverHorn) +func (z *_zap) GetLevelPriority(level zapcore.Level) zap.LevelEnablerFunc { + switch level { + case zapcore.DebugLevel: + return func(level zapcore.Level) bool { // 调试级别 + return level == zap.DebugLevel + } + case zapcore.InfoLevel: + return func(level zapcore.Level) bool { // 日志级别 + return level == zap.InfoLevel + } + case zapcore.WarnLevel: + return func(level zapcore.Level) bool { // 警告级别 + return level == zap.WarnLevel + } + case zapcore.ErrorLevel: + return func(level zapcore.Level) bool { // 错误级别 + return level == zap.ErrorLevel + } + case zapcore.DPanicLevel: + return func(level zapcore.Level) bool { // dpanic级别 + return level == zap.DPanicLevel + } + case zapcore.PanicLevel: + return func(level zapcore.Level) bool { // panic级别 + return level == zap.PanicLevel + } + case zapcore.FatalLevel: + return func(level zapcore.Level) bool { // 终止级别 + return level == zap.FatalLevel + } + default: + return func(level zapcore.Level) bool { // 调试级别 + return level == zap.DebugLevel + } + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server.go new file mode 100644 index 000000000..8161e620d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server.go @@ -0,0 +1,54 @@ +package core + +import ( + "fmt" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/initialize" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "go.uber.org/zap" +) + +type server interface { + ListenAndServe() error +} + +func RunWindowsServer() { + if global.GVA_CONFIG.System.UseMultipoint || global.GVA_CONFIG.System.UseRedis { + // 初始化redis服务 + initialize.Redis() + } + if global.GVA_CONFIG.System.UseMongo { + err := initialize.Mongo.Initialization() + if err != nil { + zap.L().Error(fmt.Sprintf("%+v", err)) + } + } + // 从db加载jwt数据 + if global.GVA_DB != nil { + system.LoadAll() + } + + Router := initialize.Routers() + Router.Static("/form-generator", "./resource/page") + + address := fmt.Sprintf(":%d", global.GVA_CONFIG.System.Addr) + s := initServer(address, Router) + // 保证文本顺序输出 + // In order to ensure that the text order output can be deleted + time.Sleep(10 * time.Microsecond) + global.GVA_LOG.Info("server run success on ", zap.String("address", address)) + + fmt.Printf(` + 欢迎使用 gin-vue-admin + 当前版本:v2.5.7 + 加群方式:微信号:shouzi_1994 QQ群:622360840 + 插件市场:https://plugin.gin-vue-admin.com + GVA讨论社区:https://support.qq.com/products/371961 + 默认自动化文档地址:http://127.0.0.1%s/swagger/index.html + 默认前端文件运行地址:http://127.0.0.1:8080 + 如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/coffee/index.html +`, address) + global.GVA_LOG.Error(s.ListenAndServe().Error()) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server_other.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server_other.go new file mode 100644 index 000000000..b95e90116 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server_other.go @@ -0,0 +1,19 @@ +//go:build !windows +// +build !windows + +package core + +import ( + "time" + + "github.com/fvbock/endless" + "github.com/gin-gonic/gin" +) + +func initServer(address string, router *gin.Engine) server { + s := endless.NewServer(address, router) + s.ReadHeaderTimeout = 20 * time.Second + s.WriteTimeout = 20 * time.Second + s.MaxHeaderBytes = 1 << 20 + return s +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server_win.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server_win.go new file mode 100644 index 000000000..54c4c0768 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/server_win.go @@ -0,0 +1,21 @@ +//go:build windows +// +build windows + +package core + +import ( + "net/http" + "time" + + "github.com/gin-gonic/gin" +) + +func initServer(address string, router *gin.Engine) server { + return &http.Server{ + Addr: address, + Handler: router, + ReadTimeout: 20 * time.Second, + WriteTimeout: 20 * time.Second, + MaxHeaderBytes: 1 << 20, + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/viper.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/viper.go new file mode 100644 index 000000000..e4cbc3189 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/viper.go @@ -0,0 +1,74 @@ +package core + +import ( + "flag" + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/core/internal" + "github.com/gin-gonic/gin" + "os" + "path/filepath" + + "github.com/fsnotify/fsnotify" + "github.com/spf13/viper" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + _ "github.com/flipped-aurora/gin-vue-admin/server/packfile" +) + +// Viper // +// 优先级: 命令行 > 环境变量 > 默认值 +// Author [SliverHorn](https://github.com/SliverHorn) +func Viper(path ...string) *viper.Viper { + var config string + + if len(path) == 0 { + flag.StringVar(&config, "c", "", "choose config file.") + flag.Parse() + if config == "" { // 判断命令行参数是否为空 + if configEnv := os.Getenv(internal.ConfigEnv); configEnv == "" { // 判断 internal.ConfigEnv 常量存储的环境变量是否为空 + switch gin.Mode() { + case gin.DebugMode: + config = internal.ConfigDefaultFile + fmt.Printf("您正在使用gin模式的%s环境名称,config的路径为%s\n", gin.EnvGinMode, internal.ConfigDefaultFile) + case gin.ReleaseMode: + config = internal.ConfigReleaseFile + fmt.Printf("您正在使用gin模式的%s环境名称,config的路径为%s\n", gin.EnvGinMode, internal.ConfigReleaseFile) + case gin.TestMode: + config = internal.ConfigTestFile + fmt.Printf("您正在使用gin模式的%s环境名称,config的路径为%s\n", gin.EnvGinMode, internal.ConfigTestFile) + } + } else { // internal.ConfigEnv 常量存储的环境变量不为空 将值赋值于config + config = configEnv + fmt.Printf("您正在使用%s环境变量,config的路径为%s\n", internal.ConfigEnv, config) + } + } else { // 命令行参数不为空 将值赋值于config + fmt.Printf("您正在使用命令行的-c参数传递的值,config的路径为%s\n", config) + } + } else { // 函数传递的可变参数的第一个值赋值于config + config = path[0] + fmt.Printf("您正在使用func Viper()传递的值,config的路径为%s\n", config) + } + + v := viper.New() + v.SetConfigFile(config) + v.SetConfigType("yaml") + err := v.ReadInConfig() + if err != nil { + panic(fmt.Errorf("Fatal error config file: %s \n", err)) + } + v.WatchConfig() + + v.OnConfigChange(func(e fsnotify.Event) { + fmt.Println("config file changed:", e.Name) + if err = v.Unmarshal(&global.GVA_CONFIG); err != nil { + fmt.Println(err) + } + }) + if err = v.Unmarshal(&global.GVA_CONFIG); err != nil { + panic(err) + } + + // root 适配性 根据root位置去找到对应迁移位置,保证root路径有效 + global.GVA_CONFIG.AutoCode.Root, _ = filepath.Abs("..") + return v +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/zap.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/zap.go new file mode 100644 index 000000000..780119476 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/core/zap.go @@ -0,0 +1,28 @@ +package core + +import ( + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/core/internal" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "go.uber.org/zap" + "go.uber.org/zap/zapcore" + "os" +) + +// Zap 获取 zap.Logger +// Author [SliverHorn](https://github.com/SliverHorn) +func Zap() (logger *zap.Logger) { + if ok, _ := utils.PathExists(global.GVA_CONFIG.Zap.Director); !ok { // 判断是否有Director文件夹 + fmt.Printf("create %v directory\n", global.GVA_CONFIG.Zap.Director) + _ = os.Mkdir(global.GVA_CONFIG.Zap.Director, os.ModePerm) + } + + cores := internal.Zap.GetZapCores() + logger = zap.New(zapcore.NewTee(cores...)) + + if global.GVA_CONFIG.Zap.ShowLine { + logger = logger.WithOptions(zap.AddCaller()) + } + return logger +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/docs.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/docs.go new file mode 100644 index 000000000..b119fe18b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/docs.go @@ -0,0 +1,6882 @@ +// Code generated by swaggo/swag. DO NOT EDIT. + +package docs + +import "github.com/swaggo/swag" + +const docTemplate = `{ + "schemes": {{ marshal .Schemes }}, + "swagger": "2.0", + "info": { + "description": "{{escape .Description}}", + "title": "{{.Title}}", + "contact": {}, + "version": "{{.Version}}" + }, + "host": "{{.Host}}", + "basePath": "{{.BasePath}}", + "paths": { + "/api/createApi": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "创建基础api", + "parameters": [ + { + "description": "api路径, api中文描述, api组, 方法", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysApi" + } + } + ], + "responses": { + "200": { + "description": "创建基础api", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/deleteApi": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "删除api", + "parameters": [ + { + "description": "ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysApi" + } + } + ], + "responses": { + "200": { + "description": "删除api", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/deleteApisByIds": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "删除选中Api", + "parameters": [ + { + "description": "ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.IdsReq" + } + } + ], + "responses": { + "200": { + "description": "删除选中Api", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/freshCasbin": { + "get": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "刷新casbin缓存", + "responses": { + "200": { + "description": "刷新成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/getAllApis": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "获取所有的Api 不分页", + "responses": { + "200": { + "description": "获取所有的Api 不分页,返回包括api列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAPIListResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/getApiById": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "根据id获取api", + "parameters": [ + { + "description": "根据id获取api", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "根据id获取api,返回包括api详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAPIResponse" + } + } + } + ] + } + } + } + } + }, + "/api/getApiList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "分页获取API列表", + "parameters": [ + { + "description": "分页获取API列表", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SearchApiParams" + } + } + ], + "responses": { + "200": { + "description": "分页获取API列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/updateApi": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "修改基础api", + "parameters": [ + { + "description": "api路径, api中文描述, api组, 方法", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysApi" + } + } + ], + "responses": { + "200": { + "description": "修改基础api", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/copyAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "拷贝角色", + "parameters": [ + { + "description": "旧角色id, 新权限id, 新权限名, 新父角色id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/response.SysAuthorityCopyResponse" + } + } + ], + "responses": { + "200": { + "description": "拷贝角色,返回包括系统角色详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAuthorityResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/createAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "创建角色", + "parameters": [ + { + "description": "权限id, 权限名, 父角色id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAuthority" + } + } + ], + "responses": { + "200": { + "description": "创建角色,返回包括系统角色详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAuthorityResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/deleteAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "删除角色", + "parameters": [ + { + "description": "删除角色", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAuthority" + } + } + ], + "responses": { + "200": { + "description": "删除角色", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/getAuthorityList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "分页获取角色列表", + "parameters": [ + { + "description": "页码, 每页大小", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "分页获取角色列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/setDataAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "设置角色资源权限", + "parameters": [ + { + "description": "设置角色资源权限", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAuthority" + } + } + ], + "responses": { + "200": { + "description": "设置角色资源权限", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/updateAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "更新角色信息", + "parameters": [ + { + "description": "权限id, 权限名, 父角色id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAuthority" + } + } + ], + "responses": { + "200": { + "description": "更新角色信息,返回包括系统角色详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAuthorityResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authorityBtn/canRemoveAuthorityBtn": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityBtn" + ], + "summary": "设置权限按钮", + "responses": { + "200": { + "description": "删除成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authorityBtn/getAuthorityBtn": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityBtn" + ], + "summary": "获取权限按钮", + "parameters": [ + { + "description": "菜单id, 角色id, 选中的按钮id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SysAuthorityBtnReq" + } + } + ], + "responses": { + "200": { + "description": "返回列表成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAuthorityBtnRes" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authorityBtn/setAuthorityBtn": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityBtn" + ], + "summary": "设置权限按钮", + "parameters": [ + { + "description": "菜单id, 角色id, 选中的按钮id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SysAuthorityBtnReq" + } + } + ], + "responses": { + "200": { + "description": "返回列表成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/createPackage": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "创建package", + "parameters": [ + { + "description": "创建package", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAutoCode" + } + } + ], + "responses": { + "200": { + "description": "创建package成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/createPlug": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "安装插件", + "parameters": [ + { + "type": "file", + "description": "this is a test file", + "name": "plug", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "安装插件成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object" + } + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/createTemp": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "自动代码模板", + "parameters": [ + { + "description": "创建自动代码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.AutoCodeStruct" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/autoCode/delPackage": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "删除package", + "parameters": [ + { + "description": "创建package", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAutoCode" + } + } + ], + "responses": { + "200": { + "description": "删除package成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/delSysHistory": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "删除回滚记录", + "parameters": [ + { + "description": "请求参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "删除回滚记录", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getColumn": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取当前表所有字段", + "responses": { + "200": { + "description": "获取当前表所有字段", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getDatabase": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取当前所有数据库", + "responses": { + "200": { + "description": "获取当前所有数据库", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getMeta": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取meta信息", + "parameters": [ + { + "description": "请求参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "获取meta信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getPackage": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取package", + "responses": { + "200": { + "description": "创建package成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getSysHistory": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "查询回滚记录", + "parameters": [ + { + "description": "请求参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SysAutoHistory" + } + } + ], + "responses": { + "200": { + "description": "查询回滚记录,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getTables": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取当前数据库所有表", + "responses": { + "200": { + "description": "获取当前数据库所有表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/preview": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "预览创建后的代码", + "parameters": [ + { + "description": "预览创建代码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.AutoCodeStruct" + } + } + ], + "responses": { + "200": { + "description": "预览创建后的代码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/rollback": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "回滚自动生成代码", + "parameters": [ + { + "description": "请求参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.RollBack" + } + } + ], + "responses": { + "200": { + "description": "回滚自动生成代码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/base/captcha": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Base" + ], + "summary": "生成验证码", + "responses": { + "200": { + "description": "生成验证码,返回包括随机数id,base64,验证码长度,是否开启验证码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysCaptchaResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/base/login": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Base" + ], + "summary": "用户登录", + "parameters": [ + { + "description": "用户名, 密码, 验证码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Login" + } + } + ], + "responses": { + "200": { + "description": "返回包括用户信息,token,过期时间", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.LoginResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/casbin/UpdateCasbin": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Casbin" + ], + "summary": "更新角色api权限", + "parameters": [ + { + "description": "权限id, 权限模型列表", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CasbinInReceive" + } + } + ], + "responses": { + "200": { + "description": "更新角色api权限", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/casbin/getPolicyPathByAuthorityId": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Casbin" + ], + "summary": "获取权限列表", + "parameters": [ + { + "description": "权限id, 权限模型列表", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CasbinInReceive" + } + } + ], + "responses": { + "200": { + "description": "获取权限列表,返回包括casbin详情列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PolicyPathResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/customer/customer": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "获取单一客户信息", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "客户名", + "name": "customerName", + "in": "query" + }, + { + "type": "string", + "description": "客户手机号", + "name": "customerPhoneData", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "integer", + "description": "管理角色ID", + "name": "sysUserAuthorityID", + "in": "query" + }, + { + "type": "integer", + "description": "管理ID", + "name": "sysUserId", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + } + ], + "responses": { + "200": { + "description": "获取单一客户信息,返回包括客户详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ExaCustomerResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + }, + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "更新客户信息", + "parameters": [ + { + "description": "客户ID, 客户信息", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/example.ExaCustomer" + } + } + ], + "responses": { + "200": { + "description": "更新客户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + }, + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "创建客户", + "parameters": [ + { + "description": "客户用户名, 客户手机号码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/example.ExaCustomer" + } + } + ], + "responses": { + "200": { + "description": "创建客户", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + }, + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "删除客户", + "parameters": [ + { + "description": "客户ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/example.ExaCustomer" + } + } + ], + "responses": { + "200": { + "description": "删除客户", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/customer/customerList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "分页获取权限客户列表", + "parameters": [ + { + "type": "string", + "description": "关键字", + "name": "keyword", + "in": "query" + }, + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "每页大小", + "name": "pageSize", + "in": "query" + } + ], + "responses": { + "200": { + "description": "分页获取权限客户列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/email/emailTest": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "发送测试邮件", + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"发送成功\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/email/sendEmail": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "发送邮件", + "parameters": [ + { + "description": "发送邮件必须的参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/response.Email" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"发送成功\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/fileUploadAndDownload/breakpointContinue": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "断点续传到服务器", + "parameters": [ + { + "type": "file", + "description": "an example for breakpoint resume, 断点续传示例", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "断点续传到服务器", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/deleteFile": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "删除文件", + "parameters": [ + { + "description": "传入文件里面id即可", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/example.ExaFileUploadAndDownload" + } + } + ], + "responses": { + "200": { + "description": "删除文件", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/findFile": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "创建文件", + "parameters": [ + { + "type": "file", + "description": "上传文件完成", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "创建文件,返回包括文件路径", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.FilePathResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/getFileList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "分页文件列表", + "parameters": [ + { + "description": "页码, 每页大小", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "分页文件列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/removeChunk": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "删除切片", + "parameters": [ + { + "type": "file", + "description": "删除缓存切片", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "删除切片", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/upload": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "上传文件示例", + "parameters": [ + { + "type": "file", + "description": "上传文件示例", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "上传文件示例,返回包括文件详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ExaFileResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/init/checkdb": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "CheckDB" + ], + "summary": "初始化用户数据库", + "responses": { + "200": { + "description": "初始化用户数据库", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/init/initdb": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "InitDB" + ], + "summary": "初始化用户数据库", + "parameters": [ + { + "description": "初始化数据库参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.InitDB" + } + } + ], + "responses": { + "200": { + "description": "初始化用户数据库", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/jwt/jsonInBlacklist": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Jwt" + ], + "summary": "jwt加入黑名单", + "responses": { + "200": { + "description": "jwt加入黑名单", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/addBaseMenu": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "新增菜单", + "parameters": [ + { + "description": "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + ], + "responses": { + "200": { + "description": "新增菜单", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/addMenuAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityMenu" + ], + "summary": "增加menu和角色关联关系", + "parameters": [ + { + "description": "角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddMenuAuthorityInfo" + } + } + ], + "responses": { + "200": { + "description": "增加menu和角色关联关系", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/deleteBaseMenu": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "删除菜单", + "parameters": [ + { + "description": "菜单id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "删除菜单", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getBaseMenuById": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "根据id获取菜单", + "parameters": [ + { + "description": "菜单id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "根据id获取菜单,返回包括系统菜单列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysBaseMenuResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getBaseMenuTree": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityMenu" + ], + "summary": "获取用户动态路由", + "parameters": [ + { + "description": "空", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Empty" + } + } + ], + "responses": { + "200": { + "description": "获取用户动态路由,返回包括系统菜单列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysBaseMenusResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getMenu": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityMenu" + ], + "summary": "获取用户动态路由", + "parameters": [ + { + "description": "空", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Empty" + } + } + ], + "responses": { + "200": { + "description": "获取用户动态路由,返回包括系统菜单详情列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysMenusResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getMenuAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityMenu" + ], + "summary": "获取指定角色menu", + "parameters": [ + { + "description": "角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetAuthorityId" + } + } + ], + "responses": { + "200": { + "description": "获取指定角色menu", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getMenuList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "分页获取基础menu列表", + "parameters": [ + { + "description": "页码, 每页大小", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "分页获取基础menu列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/updateBaseMenu": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "更新菜单", + "parameters": [ + { + "description": "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + ], + "responses": { + "200": { + "description": "更新菜单", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/createSysDictionary": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "创建SysDictionary", + "parameters": [ + { + "description": "SysDictionary模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionary" + } + } + ], + "responses": { + "200": { + "description": "创建SysDictionary", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/deleteSysDictionary": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "删除SysDictionary", + "parameters": [ + { + "description": "SysDictionary模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionary" + } + } + ], + "responses": { + "200": { + "description": "删除SysDictionary", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/findSysDictionary": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "用id查询SysDictionary", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "描述", + "name": "desc", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "字典名(中)", + "name": "name", + "in": "query" + }, + { + "type": "boolean", + "description": "状态", + "name": "status", + "in": "query" + }, + { + "type": "string", + "description": "字典名(英)", + "name": "type", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + } + ], + "responses": { + "200": { + "description": "用id查询SysDictionary", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/getSysDictionaryList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "分页获取SysDictionary列表", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "描述", + "name": "desc", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "关键字", + "name": "keyword", + "in": "query" + }, + { + "type": "string", + "description": "字典名(中)", + "name": "name", + "in": "query" + }, + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "每页大小", + "name": "pageSize", + "in": "query" + }, + { + "type": "boolean", + "description": "状态", + "name": "status", + "in": "query" + }, + { + "type": "string", + "description": "字典名(英)", + "name": "type", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + } + ], + "responses": { + "200": { + "description": "分页获取SysDictionary列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/updateSysDictionary": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "更新SysDictionary", + "parameters": [ + { + "description": "SysDictionary模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionary" + } + } + ], + "responses": { + "200": { + "description": "更新SysDictionary", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/createSysDictionaryDetail": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "创建SysDictionaryDetail", + "parameters": [ + { + "description": "SysDictionaryDetail模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionaryDetail" + } + } + ], + "responses": { + "200": { + "description": "创建SysDictionaryDetail", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/deleteSysDictionaryDetail": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "删除SysDictionaryDetail", + "parameters": [ + { + "description": "SysDictionaryDetail模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionaryDetail" + } + } + ], + "responses": { + "200": { + "description": "删除SysDictionaryDetail", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/findSysDictionaryDetail": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "用id查询SysDictionaryDetail", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "展示值", + "name": "label", + "in": "query" + }, + { + "type": "integer", + "description": "排序标记", + "name": "sort", + "in": "query" + }, + { + "type": "boolean", + "description": "启用状态", + "name": "status", + "in": "query" + }, + { + "type": "integer", + "description": "关联标记", + "name": "sysDictionaryID", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "字典值", + "name": "value", + "in": "query" + } + ], + "responses": { + "200": { + "description": "用id查询SysDictionaryDetail", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/getSysDictionaryDetailList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "分页获取SysDictionaryDetail列表", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "关键字", + "name": "keyword", + "in": "query" + }, + { + "type": "string", + "description": "展示值", + "name": "label", + "in": "query" + }, + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "每页大小", + "name": "pageSize", + "in": "query" + }, + { + "type": "integer", + "description": "排序标记", + "name": "sort", + "in": "query" + }, + { + "type": "boolean", + "description": "启用状态", + "name": "status", + "in": "query" + }, + { + "type": "integer", + "description": "关联标记", + "name": "sysDictionaryID", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "字典值", + "name": "value", + "in": "query" + } + ], + "responses": { + "200": { + "description": "分页获取SysDictionaryDetail列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/updateSysDictionaryDetail": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "更新SysDictionaryDetail", + "parameters": [ + { + "description": "更新SysDictionaryDetail", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionaryDetail" + } + } + ], + "responses": { + "200": { + "description": "更新SysDictionaryDetail", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/createSysOperationRecord": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "创建SysOperationRecord", + "parameters": [ + { + "description": "创建SysOperationRecord", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysOperationRecord" + } + } + ], + "responses": { + "200": { + "description": "创建SysOperationRecord", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/deleteSysOperationRecord": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "删除SysOperationRecord", + "parameters": [ + { + "description": "SysOperationRecord模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysOperationRecord" + } + } + ], + "responses": { + "200": { + "description": "删除SysOperationRecord", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/deleteSysOperationRecordByIds": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "批量删除SysOperationRecord", + "parameters": [ + { + "description": "批量删除SysOperationRecord", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.IdsReq" + } + } + ], + "responses": { + "200": { + "description": "批量删除SysOperationRecord", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/findSysOperationRecord": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "用id查询SysOperationRecord", + "parameters": [ + { + "type": "string", + "description": "代理", + "name": "agent", + "in": "query" + }, + { + "type": "string", + "description": "请求Body", + "name": "body", + "in": "query" + }, + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "错误信息", + "name": "error_message", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "请求ip", + "name": "ip", + "in": "query" + }, + { + "type": "string", + "description": "延迟", + "name": "latency", + "in": "query" + }, + { + "type": "string", + "description": "请求方法", + "name": "method", + "in": "query" + }, + { + "type": "string", + "description": "请求路径", + "name": "path", + "in": "query" + }, + { + "type": "string", + "description": "响应Body", + "name": "resp", + "in": "query" + }, + { + "type": "integer", + "description": "请求状态", + "name": "status", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "用户id", + "name": "user_id", + "in": "query" + } + ], + "responses": { + "200": { + "description": "用id查询SysOperationRecord", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/getSysOperationRecordList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "分页获取SysOperationRecord列表", + "parameters": [ + { + "type": "string", + "description": "代理", + "name": "agent", + "in": "query" + }, + { + "type": "string", + "description": "请求Body", + "name": "body", + "in": "query" + }, + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "错误信息", + "name": "error_message", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "请求ip", + "name": "ip", + "in": "query" + }, + { + "type": "string", + "description": "关键字", + "name": "keyword", + "in": "query" + }, + { + "type": "string", + "description": "延迟", + "name": "latency", + "in": "query" + }, + { + "type": "string", + "description": "请求方法", + "name": "method", + "in": "query" + }, + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "每页大小", + "name": "pageSize", + "in": "query" + }, + { + "type": "string", + "description": "请求路径", + "name": "path", + "in": "query" + }, + { + "type": "string", + "description": "响应Body", + "name": "resp", + "in": "query" + }, + { + "type": "integer", + "description": "请求状态", + "name": "status", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "用户id", + "name": "user_id", + "in": "query" + } + ], + "responses": { + "200": { + "description": "分页获取SysOperationRecord列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/system/getServerInfo": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "获取服务器信息", + "responses": { + "200": { + "description": "获取服务器信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/system/getSystemConfig": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "获取配置文件内容", + "responses": { + "200": { + "description": "获取配置文件内容,返回包括系统配置", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysConfigResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/system/reloadSystem": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "重启系统", + "responses": { + "200": { + "description": "重启系统", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/system/setSystemConfig": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "设置配置文件内容", + "parameters": [ + { + "description": "设置配置文件内容", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.System" + } + } + ], + "responses": { + "200": { + "description": "设置配置文件内容", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/SetSelfInfo": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "设置用户信息", + "parameters": [ + { + "description": "ID, 用户名, 昵称, 头像链接", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysUser" + } + } + ], + "responses": { + "200": { + "description": "设置用户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/admin_register": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "用户注册账号", + "parameters": [ + { + "description": "用户名, 昵称, 密码, 角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Register" + } + } + ], + "responses": { + "200": { + "description": "用户注册账号,返回包括用户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysUserResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/changePassword": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "用户修改密码", + "parameters": [ + { + "description": "用户名, 原密码, 新密码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.ChangePasswordReq" + } + } + ], + "responses": { + "200": { + "description": "用户修改密码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/deleteUser": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "删除用户", + "parameters": [ + { + "description": "用户ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "删除用户", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/getUserInfo": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "获取用户信息", + "responses": { + "200": { + "description": "获取用户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/getUserList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "分页获取用户列表", + "parameters": [ + { + "description": "页码, 每页大小", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "分页获取用户列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/resetPassword": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "重置用户密码", + "parameters": [ + { + "description": "ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysUser" + } + } + ], + "responses": { + "200": { + "description": "重置用户密码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/setUserAuthorities": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "设置用户权限", + "parameters": [ + { + "description": "用户UUID, 角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SetUserAuthorities" + } + } + ], + "responses": { + "200": { + "description": "设置用户权限", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/setUserAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "更改用户权限", + "parameters": [ + { + "description": "用户UUID, 角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SetUserAuth" + } + } + ], + "responses": { + "200": { + "description": "设置用户权限", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/setUserInfo": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "设置用户信息", + "parameters": [ + { + "description": "ID, 用户名, 昵称, 头像链接", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysUser" + } + } + ], + "responses": { + "200": { + "description": "设置用户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + } + }, + "definitions": { + "config.AliyunOSS": { + "type": "object", + "properties": { + "access-key-id": { + "type": "string" + }, + "access-key-secret": { + "type": "string" + }, + "base-path": { + "type": "string" + }, + "bucket-name": { + "type": "string" + }, + "bucket-url": { + "type": "string" + }, + "endpoint": { + "type": "string" + } + } + }, + "config.Autocode": { + "type": "object", + "properties": { + "root": { + "type": "string" + }, + "server": { + "type": "string" + }, + "server-api": { + "type": "string" + }, + "server-initialize": { + "type": "string" + }, + "server-model": { + "type": "string" + }, + "server-plug": { + "type": "string" + }, + "server-request": { + "type": "string" + }, + "server-router": { + "type": "string" + }, + "server-service": { + "type": "string" + }, + "transfer-restart": { + "type": "boolean" + }, + "web": { + "type": "string" + }, + "web-api": { + "type": "string" + }, + "web-form": { + "type": "string" + }, + "web-table": { + "type": "string" + } + } + }, + "config.AwsS3": { + "type": "object", + "properties": { + "base-url": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "disable-ssl": { + "type": "boolean" + }, + "endpoint": { + "type": "string" + }, + "path-prefix": { + "type": "string" + }, + "region": { + "type": "string" + }, + "s3-force-path-style": { + "type": "boolean" + }, + "secret-id": { + "type": "string" + }, + "secret-key": { + "type": "string" + } + } + }, + "config.CORS": { + "type": "object", + "properties": { + "mode": { + "type": "string" + }, + "whitelist": { + "type": "array", + "items": { + "$ref": "#/definitions/config.CORSWhitelist" + } + } + } + }, + "config.CORSWhitelist": { + "type": "object", + "properties": { + "allow-credentials": { + "type": "boolean" + }, + "allow-headers": { + "type": "string" + }, + "allow-methods": { + "type": "string" + }, + "allow-origin": { + "type": "string" + }, + "expose-headers": { + "type": "string" + } + } + }, + "config.Captcha": { + "type": "object", + "properties": { + "img-height": { + "description": "验证码高度", + "type": "integer" + }, + "img-width": { + "description": "验证码宽度", + "type": "integer" + }, + "key-long": { + "description": "验证码长度", + "type": "integer" + }, + "open-captcha": { + "description": "防爆破验证码开启此数,0代表每次登录都需要验证码,其他数字代表错误密码此数,如3代表错误三次后出现验证码", + "type": "integer" + }, + "open-captcha-timeout": { + "description": "防爆破验证码超时时间,单位:s(秒)", + "type": "integer" + } + } + }, + "config.Detail": { + "type": "object", + "properties": { + "compareField": { + "description": "需要比较时间的字段", + "type": "string" + }, + "interval": { + "description": "时间间隔", + "type": "string" + }, + "tableName": { + "description": "需要清理的表名", + "type": "string" + } + } + }, + "config.Excel": { + "type": "object", + "properties": { + "dir": { + "type": "string" + } + } + }, + "config.HuaWeiObs": { + "type": "object", + "properties": { + "access-key": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "path": { + "type": "string" + }, + "secret-key": { + "type": "string" + } + } + }, + "config.JWT": { + "type": "object", + "properties": { + "buffer-time": { + "description": "缓冲时间", + "type": "string" + }, + "expires-time": { + "description": "过期时间", + "type": "string" + }, + "issuer": { + "description": "签发者", + "type": "string" + }, + "signing-key": { + "description": "jwt签名", + "type": "string" + } + } + }, + "config.Local": { + "type": "object", + "properties": { + "path": { + "description": "本地文件访问路径", + "type": "string" + }, + "store-path": { + "description": "本地文件存储路径", + "type": "string" + } + } + }, + "config.Mssql": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Mysql": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Oracle": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Pgsql": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Qiniu": { + "type": "object", + "properties": { + "access-key": { + "description": "秘钥AK", + "type": "string" + }, + "bucket": { + "description": "空间名称", + "type": "string" + }, + "img-path": { + "description": "CDN加速域名", + "type": "string" + }, + "secret-key": { + "description": "秘钥SK", + "type": "string" + }, + "use-cdn-domains": { + "description": "上传是否使用CDN上传加速", + "type": "boolean" + }, + "use-https": { + "description": "是否使用https", + "type": "boolean" + }, + "zone": { + "description": "存储区域", + "type": "string" + } + } + }, + "config.Redis": { + "type": "object", + "properties": { + "addr": { + "description": "服务器地址:端口", + "type": "string" + }, + "db": { + "description": "redis的哪个数据库", + "type": "integer" + }, + "password": { + "description": "密码", + "type": "string" + } + } + }, + "config.Server": { + "type": "object", + "properties": { + "aliyun-oss": { + "$ref": "#/definitions/config.AliyunOSS" + }, + "autocode": { + "description": "auto", + "allOf": [ + { + "$ref": "#/definitions/config.Autocode" + } + ] + }, + "aws-s3": { + "$ref": "#/definitions/config.AwsS3" + }, + "captcha": { + "$ref": "#/definitions/config.Captcha" + }, + "cors": { + "description": "跨域配置", + "allOf": [ + { + "$ref": "#/definitions/config.CORS" + } + ] + }, + "db-list": { + "type": "array", + "items": { + "$ref": "#/definitions/config.SpecializedDB" + } + }, + "email": { + "$ref": "#/definitions/github_com_flipped-aurora_gin-vue-admin_server_config.Email" + }, + "excel": { + "$ref": "#/definitions/config.Excel" + }, + "hua-wei-obs": { + "$ref": "#/definitions/config.HuaWeiObs" + }, + "jwt": { + "$ref": "#/definitions/config.JWT" + }, + "local": { + "description": "oss", + "allOf": [ + { + "$ref": "#/definitions/config.Local" + } + ] + }, + "mssql": { + "$ref": "#/definitions/config.Mssql" + }, + "mysql": { + "description": "gorm", + "allOf": [ + { + "$ref": "#/definitions/config.Mysql" + } + ] + }, + "oracle": { + "$ref": "#/definitions/config.Oracle" + }, + "pgsql": { + "$ref": "#/definitions/config.Pgsql" + }, + "qiniu": { + "$ref": "#/definitions/config.Qiniu" + }, + "redis": { + "$ref": "#/definitions/config.Redis" + }, + "system": { + "$ref": "#/definitions/config.System" + }, + "tencent-cos": { + "$ref": "#/definitions/config.TencentCOS" + }, + "timer": { + "$ref": "#/definitions/config.Timer" + }, + "zap": { + "$ref": "#/definitions/config.Zap" + } + } + }, + "config.SpecializedDB": { + "type": "object", + "properties": { + "alias-name": { + "type": "string" + }, + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "disable": { + "type": "boolean" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "type": { + "type": "string" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.System": { + "type": "object", + "properties": { + "addr": { + "description": "端口值", + "type": "integer" + }, + "db-type": { + "description": "数据库类型:mysql(默认)|sqlite|sqlserver|postgresql", + "type": "string" + }, + "env": { + "description": "环境值", + "type": "string" + }, + "iplimit-count": { + "type": "integer" + }, + "iplimit-time": { + "type": "integer" + }, + "oss-type": { + "description": "Oss类型", + "type": "string" + }, + "router-prefix": { + "type": "string" + }, + "use-multipoint": { + "description": "多点登录拦截", + "type": "boolean" + }, + "use-redis": { + "description": "使用redis", + "type": "boolean" + } + } + }, + "config.TencentCOS": { + "type": "object", + "properties": { + "base-url": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "path-prefix": { + "type": "string" + }, + "region": { + "type": "string" + }, + "secret-id": { + "type": "string" + }, + "secret-key": { + "type": "string" + } + } + }, + "config.Timer": { + "type": "object", + "properties": { + "detail": { + "type": "array", + "items": { + "$ref": "#/definitions/config.Detail" + } + }, + "spec": { + "description": "CRON表达式", + "type": "string" + }, + "start": { + "description": "是否启用", + "type": "boolean" + }, + "with_seconds": { + "description": "是否精确到秒", + "type": "boolean" + } + } + }, + "config.Zap": { + "type": "object", + "properties": { + "director": { + "description": "日志文件夹", + "type": "string" + }, + "encode-level": { + "description": "编码级", + "type": "string" + }, + "format": { + "description": "输出", + "type": "string" + }, + "level": { + "description": "级别", + "type": "string" + }, + "log-in-console": { + "description": "输出控制台", + "type": "boolean" + }, + "max-age": { + "description": "日志留存时间", + "type": "integer" + }, + "prefix": { + "description": "日志前缀", + "type": "string" + }, + "show-line": { + "description": "显示行", + "type": "boolean" + }, + "stacktrace-key": { + "description": "栈名", + "type": "string" + } + } + }, + "example.ExaCustomer": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "customerName": { + "description": "客户名", + "type": "string" + }, + "customerPhoneData": { + "description": "客户手机号", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "sysUser": { + "description": "管理详情", + "allOf": [ + { + "$ref": "#/definitions/system.SysUser" + } + ] + }, + "sysUserAuthorityID": { + "description": "管理角色ID", + "type": "integer" + }, + "sysUserId": { + "description": "管理ID", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "example.ExaFile": { + "type": "object", + "properties": { + "chunkTotal": { + "type": "integer" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "exaFileChunk": { + "type": "array", + "items": { + "$ref": "#/definitions/example.ExaFileChunk" + } + }, + "fileMd5": { + "type": "string" + }, + "fileName": { + "type": "string" + }, + "filePath": { + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "isFinish": { + "type": "boolean" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "example.ExaFileChunk": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "exaFileID": { + "type": "integer" + }, + "fileChunkNumber": { + "type": "integer" + }, + "fileChunkPath": { + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "example.ExaFileUploadAndDownload": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "key": { + "description": "编号", + "type": "string" + }, + "name": { + "description": "文件名", + "type": "string" + }, + "tag": { + "description": "文件标签", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "url": { + "description": "文件地址", + "type": "string" + } + } + }, + "github_com_flipped-aurora_gin-vue-admin_server_config.Email": { + "type": "object", + "properties": { + "from": { + "description": "收件人", + "type": "string" + }, + "host": { + "description": "服务器地址", + "type": "string" + }, + "is-ssl": { + "description": "是否SSL", + "type": "boolean" + }, + "nickname": { + "description": "昵称", + "type": "string" + }, + "port": { + "description": "端口", + "type": "integer" + }, + "secret": { + "description": "密钥", + "type": "string" + }, + "to": { + "description": "收件人:多个以英文逗号分隔", + "type": "string" + } + } + }, + "request.AddMenuAuthorityInfo": { + "type": "object", + "properties": { + "authorityId": { + "description": "角色ID", + "type": "integer" + }, + "menus": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + } + }, + "request.CasbinInReceive": { + "type": "object", + "properties": { + "authorityId": { + "description": "权限id", + "type": "integer" + }, + "casbinInfos": { + "type": "array", + "items": { + "$ref": "#/definitions/request.CasbinInfo" + } + } + } + }, + "request.CasbinInfo": { + "type": "object", + "properties": { + "method": { + "description": "方法", + "type": "string" + }, + "path": { + "description": "路径", + "type": "string" + } + } + }, + "request.ChangePasswordReq": { + "type": "object", + "properties": { + "newPassword": { + "description": "新密码", + "type": "string" + }, + "password": { + "description": "密码", + "type": "string" + } + } + }, + "request.Empty": { + "type": "object" + }, + "request.GetAuthorityId": { + "type": "object", + "properties": { + "authorityId": { + "description": "角色ID", + "type": "integer" + } + } + }, + "request.GetById": { + "type": "object", + "properties": { + "id": { + "description": "主键ID", + "type": "integer" + } + } + }, + "request.IdsReq": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.InitDB": { + "type": "object", + "required": [ + "dbName", + "userName" + ], + "properties": { + "dbName": { + "description": "数据库名", + "type": "string" + }, + "dbType": { + "description": "数据库类型", + "type": "string" + }, + "host": { + "description": "服务器地址", + "type": "string" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "port": { + "description": "数据库连接端口", + "type": "string" + }, + "userName": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "request.Login": { + "type": "object", + "properties": { + "captcha": { + "description": "验证码", + "type": "string" + }, + "captchaId": { + "description": "验证码ID", + "type": "string" + }, + "password": { + "description": "密码", + "type": "string" + }, + "username": { + "description": "用户名", + "type": "string" + } + } + }, + "request.PageInfo": { + "type": "object", + "properties": { + "keyword": { + "description": "关键字", + "type": "string" + }, + "page": { + "description": "页码", + "type": "integer" + }, + "pageSize": { + "description": "每页大小", + "type": "integer" + } + } + }, + "request.Register": { + "type": "object", + "properties": { + "authorityId": { + "type": "string", + "example": "int 角色id" + }, + "authorityIds": { + "type": "string", + "example": "[]uint 角色id" + }, + "email": { + "type": "string", + "example": "电子邮箱" + }, + "enable": { + "type": "string", + "example": "int 是否启用" + }, + "headerImg": { + "type": "string", + "example": "头像链接" + }, + "nickName": { + "type": "string", + "example": "昵称" + }, + "passWord": { + "type": "string", + "example": "密码" + }, + "phone": { + "type": "string", + "example": "电话号码" + }, + "userName": { + "type": "string", + "example": "用户名" + } + } + }, + "request.RollBack": { + "type": "object", + "properties": { + "deleteTable": { + "description": "是否删除表", + "type": "boolean" + }, + "id": { + "description": "主键ID", + "type": "integer" + } + } + }, + "request.SearchApiParams": { + "type": "object", + "properties": { + "apiGroup": { + "description": "api组", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "desc": { + "description": "排序方式:升序false(默认)|降序true", + "type": "boolean" + }, + "description": { + "description": "api中文描述", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "keyword": { + "description": "关键字", + "type": "string" + }, + "method": { + "description": "方法:创建POST(默认)|查看GET|更新PUT|删除DELETE", + "type": "string" + }, + "orderKey": { + "description": "排序", + "type": "string" + }, + "page": { + "description": "页码", + "type": "integer" + }, + "pageSize": { + "description": "每页大小", + "type": "integer" + }, + "path": { + "description": "api路径", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "request.SetUserAuth": { + "type": "object", + "properties": { + "authorityId": { + "description": "角色ID", + "type": "integer" + } + } + }, + "request.SetUserAuthorities": { + "type": "object", + "properties": { + "authorityIds": { + "description": "角色ID", + "type": "array", + "items": { + "type": "integer" + } + }, + "id": { + "type": "integer" + } + } + }, + "request.SysAuthorityBtnReq": { + "type": "object", + "properties": { + "authorityId": { + "type": "integer" + }, + "menuID": { + "type": "integer" + }, + "selected": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.SysAutoHistory": { + "type": "object", + "properties": { + "keyword": { + "description": "关键字", + "type": "string" + }, + "page": { + "description": "页码", + "type": "integer" + }, + "pageSize": { + "description": "每页大小", + "type": "integer" + } + } + }, + "response.Email": { + "type": "object", + "properties": { + "body": { + "description": "邮件内容", + "type": "string" + }, + "subject": { + "description": "邮件标题", + "type": "string" + }, + "to": { + "description": "邮件发送给谁", + "type": "string" + } + } + }, + "response.ExaCustomerResponse": { + "type": "object", + "properties": { + "customer": { + "$ref": "#/definitions/example.ExaCustomer" + } + } + }, + "response.ExaFileResponse": { + "type": "object", + "properties": { + "file": { + "$ref": "#/definitions/example.ExaFileUploadAndDownload" + } + } + }, + "response.FilePathResponse": { + "type": "object", + "properties": { + "filePath": { + "type": "string" + } + } + }, + "response.FileResponse": { + "type": "object", + "properties": { + "file": { + "$ref": "#/definitions/example.ExaFile" + } + } + }, + "response.LoginResponse": { + "type": "object", + "properties": { + "expiresAt": { + "type": "integer" + }, + "token": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/system.SysUser" + } + } + }, + "response.PageResult": { + "type": "object", + "properties": { + "list": {}, + "page": { + "type": "integer" + }, + "pageSize": { + "type": "integer" + }, + "total": { + "type": "integer" + } + } + }, + "response.PolicyPathResponse": { + "type": "object", + "properties": { + "paths": { + "type": "array", + "items": { + "$ref": "#/definitions/request.CasbinInfo" + } + } + } + }, + "response.Response": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": {}, + "msg": { + "type": "string" + } + } + }, + "response.SysAPIListResponse": { + "type": "object", + "properties": { + "apis": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysApi" + } + } + } + }, + "response.SysAPIResponse": { + "type": "object", + "properties": { + "api": { + "$ref": "#/definitions/system.SysApi" + } + } + }, + "response.SysAuthorityBtnRes": { + "type": "object", + "properties": { + "selected": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "response.SysAuthorityCopyResponse": { + "type": "object", + "properties": { + "authority": { + "$ref": "#/definitions/system.SysAuthority" + }, + "oldAuthorityId": { + "description": "旧角色ID", + "type": "integer" + } + } + }, + "response.SysAuthorityResponse": { + "type": "object", + "properties": { + "authority": { + "$ref": "#/definitions/system.SysAuthority" + } + } + }, + "response.SysBaseMenuResponse": { + "type": "object", + "properties": { + "menu": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + }, + "response.SysBaseMenusResponse": { + "type": "object", + "properties": { + "menus": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + } + }, + "response.SysCaptchaResponse": { + "type": "object", + "properties": { + "captchaId": { + "type": "string" + }, + "captchaLength": { + "type": "integer" + }, + "openCaptcha": { + "type": "boolean" + }, + "picPath": { + "type": "string" + } + } + }, + "response.SysConfigResponse": { + "type": "object", + "properties": { + "config": { + "$ref": "#/definitions/config.Server" + } + } + }, + "response.SysMenusResponse": { + "type": "object", + "properties": { + "menus": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysMenu" + } + } + } + }, + "response.SysUserResponse": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/system.SysUser" + } + } + }, + "system.AutoCodeStruct": { + "type": "object", + "properties": { + "abbreviation": { + "description": "Struct简称", + "type": "string" + }, + "autoCreateApiToSql": { + "description": "是否自动创建api", + "type": "boolean" + }, + "autoCreateResource": { + "description": "是否自动创建资源标识", + "type": "boolean" + }, + "autoMoveFile": { + "description": "是否自动移动文件", + "type": "boolean" + }, + "businessDB": { + "description": "业务数据库", + "type": "string" + }, + "description": { + "description": "Struct中文名称", + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/definitions/system.Field" + } + }, + "hasTimer": { + "type": "boolean" + }, + "humpPackageName": { + "description": "go文件名称", + "type": "string" + }, + "package": { + "type": "string" + }, + "packageName": { + "description": "文件名称", + "type": "string" + }, + "structName": { + "description": "Struct名称", + "type": "string" + }, + "tableName": { + "description": "表名", + "type": "string" + } + } + }, + "system.Field": { + "type": "object", + "properties": { + "clearable": { + "description": "是否可清空", + "type": "boolean" + }, + "columnName": { + "description": "数据库字段", + "type": "string" + }, + "comment": { + "description": "数据库字段描述", + "type": "string" + }, + "dataTypeLong": { + "description": "数据库字段长度", + "type": "string" + }, + "dictType": { + "description": "字典", + "type": "string" + }, + "errorText": { + "description": "校验失败文字", + "type": "string" + }, + "fieldDesc": { + "description": "中文名", + "type": "string" + }, + "fieldJson": { + "description": "FieldJson", + "type": "string" + }, + "fieldName": { + "description": "Field名", + "type": "string" + }, + "fieldSearchType": { + "description": "搜索条件", + "type": "string" + }, + "fieldType": { + "description": "Field数据类型", + "type": "string" + }, + "require": { + "description": "是否必填", + "type": "boolean" + }, + "sort": { + "description": "是否增加排序", + "type": "boolean" + } + } + }, + "system.Meta": { + "type": "object", + "properties": { + "activeName": { + "type": "string" + }, + "closeTab": { + "description": "自动关闭tab", + "type": "boolean" + }, + "defaultMenu": { + "description": "是否是基础路由(开发中)", + "type": "boolean" + }, + "icon": { + "description": "菜单图标", + "type": "string" + }, + "keepAlive": { + "description": "是否缓存", + "type": "boolean" + }, + "title": { + "description": "菜单名", + "type": "string" + } + } + }, + "system.SysApi": { + "type": "object", + "properties": { + "apiGroup": { + "description": "api组", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "description": { + "description": "api中文描述", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "method": { + "description": "方法:创建POST(默认)|查看GET|更新PUT|删除DELETE", + "type": "string" + }, + "path": { + "description": "api路径", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysAuthority": { + "type": "object", + "properties": { + "authorityId": { + "description": "角色ID", + "type": "integer" + }, + "authorityName": { + "description": "角色名", + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "dataAuthorityId": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "defaultRouter": { + "description": "默认菜单(默认dashboard)", + "type": "string" + }, + "deletedAt": { + "type": "string" + }, + "menus": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenu" + } + }, + "parentId": { + "description": "父角色ID", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysAutoCode": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "desc": { + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "label": { + "type": "string" + }, + "packageName": { + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysBaseMenu": { + "type": "object", + "properties": { + "authoritys": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenu" + } + }, + "component": { + "description": "对应前端文件路径", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "hidden": { + "description": "是否在列表隐藏", + "type": "boolean" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "menuBtn": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenuBtn" + } + }, + "meta": { + "description": "附加属性", + "allOf": [ + { + "$ref": "#/definitions/system.Meta" + } + ] + }, + "name": { + "description": "路由name", + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenuParameter" + } + }, + "parentId": { + "description": "父菜单ID", + "type": "string" + }, + "path": { + "description": "路由path", + "type": "string" + }, + "sort": { + "description": "排序标记", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysBaseMenuBtn": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "desc": { + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "name": { + "type": "string" + }, + "sysBaseMenuID": { + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysBaseMenuParameter": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "key": { + "description": "地址栏携带参数的key", + "type": "string" + }, + "sysBaseMenuID": { + "type": "integer" + }, + "type": { + "description": "地址栏携带参数为params还是query", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "value": { + "description": "地址栏携带参数的值", + "type": "string" + } + } + }, + "system.SysDictionary": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "desc": { + "description": "描述", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "name": { + "description": "字典名(中)", + "type": "string" + }, + "status": { + "description": "状态", + "type": "boolean" + }, + "sysDictionaryDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysDictionaryDetail" + } + }, + "type": { + "description": "字典名(英)", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysDictionaryDetail": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "label": { + "description": "展示值", + "type": "string" + }, + "sort": { + "description": "排序标记", + "type": "integer" + }, + "status": { + "description": "启用状态", + "type": "boolean" + }, + "sysDictionaryID": { + "description": "关联标记", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "value": { + "description": "字典值", + "type": "integer" + } + } + }, + "system.SysMenu": { + "type": "object", + "properties": { + "authoritys": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "btns": { + "type": "object", + "additionalProperties": { + "type": "integer" + } + }, + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysMenu" + } + }, + "component": { + "description": "对应前端文件路径", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "hidden": { + "description": "是否在列表隐藏", + "type": "boolean" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "menuBtn": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenuBtn" + } + }, + "menuId": { + "type": "string" + }, + "meta": { + "description": "附加属性", + "allOf": [ + { + "$ref": "#/definitions/system.Meta" + } + ] + }, + "name": { + "description": "路由name", + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenuParameter" + } + }, + "parentId": { + "description": "父菜单ID", + "type": "string" + }, + "path": { + "description": "路由path", + "type": "string" + }, + "sort": { + "description": "排序标记", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysOperationRecord": { + "type": "object", + "properties": { + "agent": { + "description": "代理", + "type": "string" + }, + "body": { + "description": "请求Body", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "error_message": { + "description": "错误信息", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "ip": { + "description": "请求ip", + "type": "string" + }, + "latency": { + "description": "延迟", + "type": "string" + }, + "method": { + "description": "请求方法", + "type": "string" + }, + "path": { + "description": "请求路径", + "type": "string" + }, + "resp": { + "description": "响应Body", + "type": "string" + }, + "status": { + "description": "请求状态", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "user": { + "$ref": "#/definitions/system.SysUser" + }, + "user_id": { + "description": "用户id", + "type": "integer" + } + } + }, + "system.SysUser": { + "type": "object", + "properties": { + "activeColor": { + "description": "活跃颜色", + "type": "string" + }, + "authorities": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "authority": { + "$ref": "#/definitions/system.SysAuthority" + }, + "authorityId": { + "description": "用户角色ID", + "type": "integer" + }, + "baseColor": { + "description": "基础颜色", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "email": { + "description": "用户邮箱", + "type": "string" + }, + "enable": { + "description": "用户是否被冻结 1正常 2冻结", + "type": "integer" + }, + "headerImg": { + "description": "用户头像", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "nickName": { + "description": "用户昵称", + "type": "string" + }, + "phone": { + "description": "用户手机号", + "type": "string" + }, + "sideMode": { + "description": "用户侧边主题", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "userName": { + "description": "用户登录名", + "type": "string" + }, + "uuid": { + "description": "用户UUID", + "type": "string" + } + } + }, + "system.System": { + "type": "object", + "properties": { + "config": { + "$ref": "#/definitions/config.Server" + } + } + } + }, + "securityDefinitions": { + "ApiKeyAuth": { + "type": "apiKey", + "name": "x-token", + "in": "header" + } + } +}` + +// SwaggerInfo holds exported Swagger Info so clients can modify it +var SwaggerInfo = &swag.Spec{ + Version: "0.0.1", + Host: "", + BasePath: "", + Schemes: []string{}, + Title: "Swagger Example API", + Description: "This is a sample Server pets", + InfoInstanceName: "swagger", + SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", +} + +func init() { + swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/swagger.json b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/swagger.json new file mode 100644 index 000000000..3e5cb933c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/swagger.json @@ -0,0 +1,6916 @@ +{ + "swagger": "2.0", + "info": { + "description": "This is a sample Server pets", + "title": "Swagger Example API", + "contact": {}, + "version": "0.0.1" + }, + "paths": { + "/api/createApi": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "创建基础api", + "parameters": [ + { + "description": "api路径, api中文描述, api组, 方法", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysApi" + } + } + ], + "responses": { + "200": { + "description": "创建基础api", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/deleteApi": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "删除api", + "parameters": [ + { + "description": "ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysApi" + } + } + ], + "responses": { + "200": { + "description": "删除api", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/deleteApisByIds": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "删除选中Api", + "parameters": [ + { + "description": "ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.IdsReq" + } + } + ], + "responses": { + "200": { + "description": "删除选中Api", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/freshCasbin": { + "get": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "刷新casbin缓存", + "responses": { + "200": { + "description": "刷新成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/getAllApis": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "获取所有的Api 不分页", + "responses": { + "200": { + "description": "获取所有的Api 不分页,返回包括api列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAPIListResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/getApiById": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "根据id获取api", + "parameters": [ + { + "description": "根据id获取api", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "根据id获取api,返回包括api详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAPIResponse" + } + } + } + ] + } + } + } + } + }, + "/api/getApiList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "分页获取API列表", + "parameters": [ + { + "description": "分页获取API列表", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SearchApiParams" + } + } + ], + "responses": { + "200": { + "description": "分页获取API列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/api/updateApi": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysApi" + ], + "summary": "修改基础api", + "parameters": [ + { + "description": "api路径, api中文描述, api组, 方法", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysApi" + } + } + ], + "responses": { + "200": { + "description": "修改基础api", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/copyAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "拷贝角色", + "parameters": [ + { + "description": "旧角色id, 新权限id, 新权限名, 新父角色id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/response.SysAuthorityCopyResponse" + } + } + ], + "responses": { + "200": { + "description": "拷贝角色,返回包括系统角色详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAuthorityResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/createAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "创建角色", + "parameters": [ + { + "description": "权限id, 权限名, 父角色id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAuthority" + } + } + ], + "responses": { + "200": { + "description": "创建角色,返回包括系统角色详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAuthorityResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/deleteAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "删除角色", + "parameters": [ + { + "description": "删除角色", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAuthority" + } + } + ], + "responses": { + "200": { + "description": "删除角色", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/getAuthorityList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "分页获取角色列表", + "parameters": [ + { + "description": "页码, 每页大小", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "分页获取角色列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/setDataAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "设置角色资源权限", + "parameters": [ + { + "description": "设置角色资源权限", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAuthority" + } + } + ], + "responses": { + "200": { + "description": "设置角色资源权限", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authority/updateAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "更新角色信息", + "parameters": [ + { + "description": "权限id, 权限名, 父角色id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAuthority" + } + } + ], + "responses": { + "200": { + "description": "更新角色信息,返回包括系统角色详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAuthorityResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authorityBtn/canRemoveAuthorityBtn": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityBtn" + ], + "summary": "设置权限按钮", + "responses": { + "200": { + "description": "删除成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authorityBtn/getAuthorityBtn": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityBtn" + ], + "summary": "获取权限按钮", + "parameters": [ + { + "description": "菜单id, 角色id, 选中的按钮id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SysAuthorityBtnReq" + } + } + ], + "responses": { + "200": { + "description": "返回列表成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysAuthorityBtnRes" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/authorityBtn/setAuthorityBtn": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityBtn" + ], + "summary": "设置权限按钮", + "parameters": [ + { + "description": "菜单id, 角色id, 选中的按钮id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SysAuthorityBtnReq" + } + } + ], + "responses": { + "200": { + "description": "返回列表成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/createPackage": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "创建package", + "parameters": [ + { + "description": "创建package", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAutoCode" + } + } + ], + "responses": { + "200": { + "description": "创建package成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/createPlug": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "安装插件", + "parameters": [ + { + "type": "file", + "description": "this is a test file", + "name": "plug", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "安装插件成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object" + } + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/createTemp": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "自动代码模板", + "parameters": [ + { + "description": "创建自动代码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.AutoCodeStruct" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/autoCode/delPackage": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "删除package", + "parameters": [ + { + "description": "创建package", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAutoCode" + } + } + ], + "responses": { + "200": { + "description": "删除package成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/delSysHistory": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "删除回滚记录", + "parameters": [ + { + "description": "请求参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "删除回滚记录", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getColumn": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取当前表所有字段", + "responses": { + "200": { + "description": "获取当前表所有字段", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getDatabase": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取当前所有数据库", + "responses": { + "200": { + "description": "获取当前所有数据库", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getMeta": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取meta信息", + "parameters": [ + { + "description": "请求参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "获取meta信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getPackage": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取package", + "responses": { + "200": { + "description": "创建package成功", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getSysHistory": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "查询回滚记录", + "parameters": [ + { + "description": "请求参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SysAutoHistory" + } + } + ], + "responses": { + "200": { + "description": "查询回滚记录,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/getTables": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "获取当前数据库所有表", + "responses": { + "200": { + "description": "获取当前数据库所有表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/preview": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "预览创建后的代码", + "parameters": [ + { + "description": "预览创建代码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.AutoCodeStruct" + } + } + ], + "responses": { + "200": { + "description": "预览创建后的代码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/rollback": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "回滚自动生成代码", + "parameters": [ + { + "description": "请求参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.RollBack" + } + } + ], + "responses": { + "200": { + "description": "回滚自动生成代码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/base/captcha": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Base" + ], + "summary": "生成验证码", + "responses": { + "200": { + "description": "生成验证码,返回包括随机数id,base64,验证码长度,是否开启验证码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysCaptchaResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/base/login": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Base" + ], + "summary": "用户登录", + "parameters": [ + { + "description": "用户名, 密码, 验证码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Login" + } + } + ], + "responses": { + "200": { + "description": "返回包括用户信息,token,过期时间", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.LoginResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/casbin/UpdateCasbin": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Casbin" + ], + "summary": "更新角色api权限", + "parameters": [ + { + "description": "权限id, 权限模型列表", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CasbinInReceive" + } + } + ], + "responses": { + "200": { + "description": "更新角色api权限", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/casbin/getPolicyPathByAuthorityId": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Casbin" + ], + "summary": "获取权限列表", + "parameters": [ + { + "description": "权限id, 权限模型列表", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CasbinInReceive" + } + } + ], + "responses": { + "200": { + "description": "获取权限列表,返回包括casbin详情列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PolicyPathResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/customer/customer": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "获取单一客户信息", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "客户名", + "name": "customerName", + "in": "query" + }, + { + "type": "string", + "description": "客户手机号", + "name": "customerPhoneData", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "integer", + "description": "管理角色ID", + "name": "sysUserAuthorityID", + "in": "query" + }, + { + "type": "integer", + "description": "管理ID", + "name": "sysUserId", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + } + ], + "responses": { + "200": { + "description": "获取单一客户信息,返回包括客户详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ExaCustomerResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + }, + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "更新客户信息", + "parameters": [ + { + "description": "客户ID, 客户信息", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/example.ExaCustomer" + } + } + ], + "responses": { + "200": { + "description": "更新客户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + }, + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "创建客户", + "parameters": [ + { + "description": "客户用户名, 客户手机号码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/example.ExaCustomer" + } + } + ], + "responses": { + "200": { + "description": "创建客户", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + }, + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "删除客户", + "parameters": [ + { + "description": "客户ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/example.ExaCustomer" + } + } + ], + "responses": { + "200": { + "description": "删除客户", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/customer/customerList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaCustomer" + ], + "summary": "分页获取权限客户列表", + "parameters": [ + { + "type": "string", + "description": "关键字", + "name": "keyword", + "in": "query" + }, + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "每页大小", + "name": "pageSize", + "in": "query" + } + ], + "responses": { + "200": { + "description": "分页获取权限客户列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/email/emailTest": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "发送测试邮件", + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"发送成功\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/email/sendEmail": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "发送邮件", + "parameters": [ + { + "description": "发送邮件必须的参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/response.Email" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"发送成功\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/fileUploadAndDownload/breakpointContinue": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "断点续传到服务器", + "parameters": [ + { + "type": "file", + "description": "an example for breakpoint resume, 断点续传示例", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "断点续传到服务器", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/deleteFile": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "删除文件", + "parameters": [ + { + "description": "传入文件里面id即可", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/example.ExaFileUploadAndDownload" + } + } + ], + "responses": { + "200": { + "description": "删除文件", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/findFile": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "创建文件", + "parameters": [ + { + "type": "file", + "description": "上传文件完成", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "创建文件,返回包括文件路径", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.FilePathResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/getFileList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "分页文件列表", + "parameters": [ + { + "description": "页码, 每页大小", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "分页文件列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/removeChunk": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "删除切片", + "parameters": [ + { + "type": "file", + "description": "删除缓存切片", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "删除切片", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/fileUploadAndDownload/upload": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "ExaFileUploadAndDownload" + ], + "summary": "上传文件示例", + "parameters": [ + { + "type": "file", + "description": "上传文件示例", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "上传文件示例,返回包括文件详情", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ExaFileResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/init/checkdb": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "CheckDB" + ], + "summary": "初始化用户数据库", + "responses": { + "200": { + "description": "初始化用户数据库", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/init/initdb": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "InitDB" + ], + "summary": "初始化用户数据库", + "parameters": [ + { + "description": "初始化数据库参数", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.InitDB" + } + } + ], + "responses": { + "200": { + "description": "初始化用户数据库", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/jwt/jsonInBlacklist": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Jwt" + ], + "summary": "jwt加入黑名单", + "responses": { + "200": { + "description": "jwt加入黑名单", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/addBaseMenu": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "新增菜单", + "parameters": [ + { + "description": "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + ], + "responses": { + "200": { + "description": "新增菜单", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/addMenuAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityMenu" + ], + "summary": "增加menu和角色关联关系", + "parameters": [ + { + "description": "角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddMenuAuthorityInfo" + } + } + ], + "responses": { + "200": { + "description": "增加menu和角色关联关系", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/deleteBaseMenu": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "删除菜单", + "parameters": [ + { + "description": "菜单id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "删除菜单", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getBaseMenuById": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "根据id获取菜单", + "parameters": [ + { + "description": "菜单id", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "根据id获取菜单,返回包括系统菜单列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysBaseMenuResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getBaseMenuTree": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityMenu" + ], + "summary": "获取用户动态路由", + "parameters": [ + { + "description": "空", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Empty" + } + } + ], + "responses": { + "200": { + "description": "获取用户动态路由,返回包括系统菜单列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysBaseMenusResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getMenu": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityMenu" + ], + "summary": "获取用户动态路由", + "parameters": [ + { + "description": "空", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Empty" + } + } + ], + "responses": { + "200": { + "description": "获取用户动态路由,返回包括系统菜单详情列表", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysMenusResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getMenuAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AuthorityMenu" + ], + "summary": "获取指定角色menu", + "parameters": [ + { + "description": "角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetAuthorityId" + } + } + ], + "responses": { + "200": { + "description": "获取指定角色menu", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/getMenuList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "分页获取基础menu列表", + "parameters": [ + { + "description": "页码, 每页大小", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "分页获取基础menu列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/menu/updateBaseMenu": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "更新菜单", + "parameters": [ + { + "description": "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + ], + "responses": { + "200": { + "description": "更新菜单", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/createSysDictionary": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "创建SysDictionary", + "parameters": [ + { + "description": "SysDictionary模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionary" + } + } + ], + "responses": { + "200": { + "description": "创建SysDictionary", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/deleteSysDictionary": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "删除SysDictionary", + "parameters": [ + { + "description": "SysDictionary模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionary" + } + } + ], + "responses": { + "200": { + "description": "删除SysDictionary", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/findSysDictionary": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "用id查询SysDictionary", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "描述", + "name": "desc", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "字典名(中)", + "name": "name", + "in": "query" + }, + { + "type": "boolean", + "description": "状态", + "name": "status", + "in": "query" + }, + { + "type": "string", + "description": "字典名(英)", + "name": "type", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + } + ], + "responses": { + "200": { + "description": "用id查询SysDictionary", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/getSysDictionaryList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "分页获取SysDictionary列表", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "描述", + "name": "desc", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "关键字", + "name": "keyword", + "in": "query" + }, + { + "type": "string", + "description": "字典名(中)", + "name": "name", + "in": "query" + }, + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "每页大小", + "name": "pageSize", + "in": "query" + }, + { + "type": "boolean", + "description": "状态", + "name": "status", + "in": "query" + }, + { + "type": "string", + "description": "字典名(英)", + "name": "type", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + } + ], + "responses": { + "200": { + "description": "分页获取SysDictionary列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionary/updateSysDictionary": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionary" + ], + "summary": "更新SysDictionary", + "parameters": [ + { + "description": "SysDictionary模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionary" + } + } + ], + "responses": { + "200": { + "description": "更新SysDictionary", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/createSysDictionaryDetail": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "创建SysDictionaryDetail", + "parameters": [ + { + "description": "SysDictionaryDetail模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionaryDetail" + } + } + ], + "responses": { + "200": { + "description": "创建SysDictionaryDetail", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/deleteSysDictionaryDetail": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "删除SysDictionaryDetail", + "parameters": [ + { + "description": "SysDictionaryDetail模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionaryDetail" + } + } + ], + "responses": { + "200": { + "description": "删除SysDictionaryDetail", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/findSysDictionaryDetail": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "用id查询SysDictionaryDetail", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "展示值", + "name": "label", + "in": "query" + }, + { + "type": "integer", + "description": "排序标记", + "name": "sort", + "in": "query" + }, + { + "type": "boolean", + "description": "启用状态", + "name": "status", + "in": "query" + }, + { + "type": "integer", + "description": "关联标记", + "name": "sysDictionaryID", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "字典值", + "name": "value", + "in": "query" + } + ], + "responses": { + "200": { + "description": "用id查询SysDictionaryDetail", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/getSysDictionaryDetailList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "分页获取SysDictionaryDetail列表", + "parameters": [ + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "关键字", + "name": "keyword", + "in": "query" + }, + { + "type": "string", + "description": "展示值", + "name": "label", + "in": "query" + }, + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "每页大小", + "name": "pageSize", + "in": "query" + }, + { + "type": "integer", + "description": "排序标记", + "name": "sort", + "in": "query" + }, + { + "type": "boolean", + "description": "启用状态", + "name": "status", + "in": "query" + }, + { + "type": "integer", + "description": "关联标记", + "name": "sysDictionaryID", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "字典值", + "name": "value", + "in": "query" + } + ], + "responses": { + "200": { + "description": "分页获取SysDictionaryDetail列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysDictionaryDetail/updateSysDictionaryDetail": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysDictionaryDetail" + ], + "summary": "更新SysDictionaryDetail", + "parameters": [ + { + "description": "更新SysDictionaryDetail", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysDictionaryDetail" + } + } + ], + "responses": { + "200": { + "description": "更新SysDictionaryDetail", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/createSysOperationRecord": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "创建SysOperationRecord", + "parameters": [ + { + "description": "创建SysOperationRecord", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysOperationRecord" + } + } + ], + "responses": { + "200": { + "description": "创建SysOperationRecord", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/deleteSysOperationRecord": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "删除SysOperationRecord", + "parameters": [ + { + "description": "SysOperationRecord模型", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysOperationRecord" + } + } + ], + "responses": { + "200": { + "description": "删除SysOperationRecord", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/deleteSysOperationRecordByIds": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "批量删除SysOperationRecord", + "parameters": [ + { + "description": "批量删除SysOperationRecord", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.IdsReq" + } + } + ], + "responses": { + "200": { + "description": "批量删除SysOperationRecord", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/findSysOperationRecord": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "用id查询SysOperationRecord", + "parameters": [ + { + "type": "string", + "description": "代理", + "name": "agent", + "in": "query" + }, + { + "type": "string", + "description": "请求Body", + "name": "body", + "in": "query" + }, + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "错误信息", + "name": "error_message", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "请求ip", + "name": "ip", + "in": "query" + }, + { + "type": "string", + "description": "延迟", + "name": "latency", + "in": "query" + }, + { + "type": "string", + "description": "请求方法", + "name": "method", + "in": "query" + }, + { + "type": "string", + "description": "请求路径", + "name": "path", + "in": "query" + }, + { + "type": "string", + "description": "响应Body", + "name": "resp", + "in": "query" + }, + { + "type": "integer", + "description": "请求状态", + "name": "status", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "用户id", + "name": "user_id", + "in": "query" + } + ], + "responses": { + "200": { + "description": "用id查询SysOperationRecord", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/sysOperationRecord/getSysOperationRecordList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysOperationRecord" + ], + "summary": "分页获取SysOperationRecord列表", + "parameters": [ + { + "type": "string", + "description": "代理", + "name": "agent", + "in": "query" + }, + { + "type": "string", + "description": "请求Body", + "name": "body", + "in": "query" + }, + { + "type": "string", + "description": "创建时间", + "name": "createdAt", + "in": "query" + }, + { + "type": "string", + "description": "错误信息", + "name": "error_message", + "in": "query" + }, + { + "type": "integer", + "description": "主键ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "请求ip", + "name": "ip", + "in": "query" + }, + { + "type": "string", + "description": "关键字", + "name": "keyword", + "in": "query" + }, + { + "type": "string", + "description": "延迟", + "name": "latency", + "in": "query" + }, + { + "type": "string", + "description": "请求方法", + "name": "method", + "in": "query" + }, + { + "type": "integer", + "description": "页码", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "每页大小", + "name": "pageSize", + "in": "query" + }, + { + "type": "string", + "description": "请求路径", + "name": "path", + "in": "query" + }, + { + "type": "string", + "description": "响应Body", + "name": "resp", + "in": "query" + }, + { + "type": "integer", + "description": "请求状态", + "name": "status", + "in": "query" + }, + { + "type": "string", + "description": "更新时间", + "name": "updatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "用户id", + "name": "user_id", + "in": "query" + } + ], + "responses": { + "200": { + "description": "分页获取SysOperationRecord列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/system/getServerInfo": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "获取服务器信息", + "responses": { + "200": { + "description": "获取服务器信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/system/getSystemConfig": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "获取配置文件内容", + "responses": { + "200": { + "description": "获取配置文件内容,返回包括系统配置", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysConfigResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/system/reloadSystem": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "重启系统", + "responses": { + "200": { + "description": "重启系统", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/system/setSystemConfig": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "System" + ], + "summary": "设置配置文件内容", + "parameters": [ + { + "description": "设置配置文件内容", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.System" + } + } + ], + "responses": { + "200": { + "description": "设置配置文件内容", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/SetSelfInfo": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "设置用户信息", + "parameters": [ + { + "description": "ID, 用户名, 昵称, 头像链接", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysUser" + } + } + ], + "responses": { + "200": { + "description": "设置用户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/admin_register": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "用户注册账号", + "parameters": [ + { + "description": "用户名, 昵称, 密码, 角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Register" + } + } + ], + "responses": { + "200": { + "description": "用户注册账号,返回包括用户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SysUserResponse" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/changePassword": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "用户修改密码", + "parameters": [ + { + "description": "用户名, 原密码, 新密码", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.ChangePasswordReq" + } + } + ], + "responses": { + "200": { + "description": "用户修改密码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/deleteUser": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "删除用户", + "parameters": [ + { + "description": "用户ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetById" + } + } + ], + "responses": { + "200": { + "description": "删除用户", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/getUserInfo": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "获取用户信息", + "responses": { + "200": { + "description": "获取用户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/getUserList": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "分页获取用户列表", + "parameters": [ + { + "description": "页码, 每页大小", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "分页获取用户列表,返回包括列表,总数,页码,每页数量", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.PageResult" + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/resetPassword": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "重置用户密码", + "parameters": [ + { + "description": "ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysUser" + } + } + ], + "responses": { + "200": { + "description": "重置用户密码", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/setUserAuthorities": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "设置用户权限", + "parameters": [ + { + "description": "用户UUID, 角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SetUserAuthorities" + } + } + ], + "responses": { + "200": { + "description": "设置用户权限", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/setUserAuthority": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "更改用户权限", + "parameters": [ + { + "description": "用户UUID, 角色ID", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SetUserAuth" + } + } + ], + "responses": { + "200": { + "description": "设置用户权限", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/user/setUserInfo": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SysUser" + ], + "summary": "设置用户信息", + "parameters": [ + { + "description": "ID, 用户名, 昵称, 头像链接", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysUser" + } + } + ], + "responses": { + "200": { + "description": "设置用户信息", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + } + }, + "definitions": { + "config.AliyunOSS": { + "type": "object", + "properties": { + "access-key-id": { + "type": "string" + }, + "access-key-secret": { + "type": "string" + }, + "base-path": { + "type": "string" + }, + "bucket-name": { + "type": "string" + }, + "bucket-url": { + "type": "string" + }, + "endpoint": { + "type": "string" + } + } + }, + "config.Autocode": { + "type": "object", + "properties": { + "root": { + "type": "string" + }, + "server": { + "type": "string" + }, + "server-api": { + "type": "string" + }, + "server-initialize": { + "type": "string" + }, + "server-model": { + "type": "string" + }, + "server-plug": { + "type": "string" + }, + "server-request": { + "type": "string" + }, + "server-router": { + "type": "string" + }, + "server-service": { + "type": "string" + }, + "transfer-restart": { + "type": "boolean" + }, + "web": { + "type": "string" + }, + "web-api": { + "type": "string" + }, + "web-form": { + "type": "string" + }, + "web-table": { + "type": "string" + } + } + }, + "config.AwsS3": { + "type": "object", + "properties": { + "base-url": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "disable-ssl": { + "type": "boolean" + }, + "endpoint": { + "type": "string" + }, + "path-prefix": { + "type": "string" + }, + "region": { + "type": "string" + }, + "s3-force-path-style": { + "type": "boolean" + }, + "secret-id": { + "type": "string" + }, + "secret-key": { + "type": "string" + } + } + }, + "config.CORS": { + "type": "object", + "properties": { + "mode": { + "type": "string" + }, + "whitelist": { + "type": "array", + "items": { + "$ref": "#/definitions/config.CORSWhitelist" + } + } + } + }, + "config.CORSWhitelist": { + "type": "object", + "properties": { + "allow-credentials": { + "type": "boolean" + }, + "allow-headers": { + "type": "string" + }, + "allow-methods": { + "type": "string" + }, + "allow-origin": { + "type": "string" + }, + "expose-headers": { + "type": "string" + } + } + }, + "config.Captcha": { + "type": "object", + "properties": { + "img-height": { + "description": "验证码高度", + "type": "integer" + }, + "img-width": { + "description": "验证码宽度", + "type": "integer" + }, + "key-long": { + "description": "验证码长度", + "type": "integer" + }, + "open-captcha": { + "description": "防爆破验证码开启此数,0代表每次登录都需要验证码,其他数字代表错误密码此数,如3代表错误三次后出现验证码", + "type": "integer" + }, + "open-captcha-timeout": { + "description": "防爆破验证码超时时间,单位:s(秒)", + "type": "integer" + } + } + }, + "config.Detail": { + "type": "object", + "properties": { + "compareField": { + "description": "需要比较时间的字段", + "type": "string" + }, + "interval": { + "description": "时间间隔", + "type": "string" + }, + "tableName": { + "description": "需要清理的表名", + "type": "string" + } + } + }, + "config.Excel": { + "type": "object", + "properties": { + "dir": { + "type": "string" + } + } + }, + "config.HuaWeiObs": { + "type": "object", + "properties": { + "access-key": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "path": { + "type": "string" + }, + "secret-key": { + "type": "string" + } + } + }, + "config.JWT": { + "type": "object", + "properties": { + "buffer-time": { + "description": "缓冲时间", + "type": "string" + }, + "expires-time": { + "description": "过期时间", + "type": "string" + }, + "issuer": { + "description": "签发者", + "type": "string" + }, + "signing-key": { + "description": "jwt签名", + "type": "string" + } + } + }, + "config.Local": { + "type": "object", + "properties": { + "path": { + "description": "本地文件访问路径", + "type": "string" + }, + "store-path": { + "description": "本地文件存储路径", + "type": "string" + } + } + }, + "config.Mssql": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Mysql": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Oracle": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Pgsql": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Sqlite": { + "type": "object", + "properties": { + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.Qiniu": { + "type": "object", + "properties": { + "access-key": { + "description": "秘钥AK", + "type": "string" + }, + "bucket": { + "description": "空间名称", + "type": "string" + }, + "img-path": { + "description": "CDN加速域名", + "type": "string" + }, + "secret-key": { + "description": "秘钥SK", + "type": "string" + }, + "use-cdn-domains": { + "description": "上传是否使用CDN上传加速", + "type": "boolean" + }, + "use-https": { + "description": "是否使用https", + "type": "boolean" + }, + "zone": { + "description": "存储区域", + "type": "string" + } + } + }, + "config.Redis": { + "type": "object", + "properties": { + "addr": { + "description": "服务器地址:端口", + "type": "string" + }, + "db": { + "description": "redis的哪个数据库", + "type": "integer" + }, + "password": { + "description": "密码", + "type": "string" + } + } + }, + "config.Server": { + "type": "object", + "properties": { + "aliyun-oss": { + "$ref": "#/definitions/config.AliyunOSS" + }, + "autocode": { + "description": "auto", + "allOf": [ + { + "$ref": "#/definitions/config.Autocode" + } + ] + }, + "aws-s3": { + "$ref": "#/definitions/config.AwsS3" + }, + "captcha": { + "$ref": "#/definitions/config.Captcha" + }, + "cors": { + "description": "跨域配置", + "allOf": [ + { + "$ref": "#/definitions/config.CORS" + } + ] + }, + "db-list": { + "type": "array", + "items": { + "$ref": "#/definitions/config.SpecializedDB" + } + }, + "email": { + "$ref": "#/definitions/github_com_flipped-aurora_gin-vue-admin_server_config.Email" + }, + "excel": { + "$ref": "#/definitions/config.Excel" + }, + "hua-wei-obs": { + "$ref": "#/definitions/config.HuaWeiObs" + }, + "jwt": { + "$ref": "#/definitions/config.JWT" + }, + "local": { + "description": "oss", + "allOf": [ + { + "$ref": "#/definitions/config.Local" + } + ] + }, + "mssql": { + "$ref": "#/definitions/config.Mssql" + }, + "mysql": { + "description": "gorm", + "allOf": [ + { + "$ref": "#/definitions/config.Mysql" + } + ] + }, + "oracle": { + "$ref": "#/definitions/config.Oracle" + }, + "pgsql": { + "$ref": "#/definitions/config.Pgsql" + }, + "sqlite": { + "$ref": "#/definitions/config.Sqlite" + }, + "qiniu": { + "$ref": "#/definitions/config.Qiniu" + }, + "redis": { + "$ref": "#/definitions/config.Redis" + }, + "system": { + "$ref": "#/definitions/config.System" + }, + "tencent-cos": { + "$ref": "#/definitions/config.TencentCOS" + }, + "timer": { + "$ref": "#/definitions/config.Timer" + }, + "zap": { + "$ref": "#/definitions/config.Zap" + } + } + }, + "config.SpecializedDB": { + "type": "object", + "properties": { + "alias-name": { + "type": "string" + }, + "config": { + "description": "高级配置", + "type": "string" + }, + "db-name": { + "description": "数据库名", + "type": "string" + }, + "disable": { + "type": "boolean" + }, + "engine": { + "description": "数据库引擎,默认InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "是否开启Gorm全局日志", + "type": "string" + }, + "log-zap": { + "description": "是否通过zap写入日志文件", + "type": "boolean" + }, + "max-idle-conns": { + "description": "空闲中的最大连接数", + "type": "integer" + }, + "max-open-conns": { + "description": "打开到数据库的最大连接数", + "type": "integer" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "path": { + "description": "服务器地址:端口", + "type": "string" + }, + "port": { + "description": ":端口", + "type": "string" + }, + "prefix": { + "description": "全局表前缀,单独定义TableName则不生效", + "type": "string" + }, + "singular": { + "description": "是否开启全局禁用复数,true表示开启", + "type": "boolean" + }, + "type": { + "type": "string" + }, + "username": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "config.System": { + "type": "object", + "properties": { + "addr": { + "description": "端口值", + "type": "integer" + }, + "db-type": { + "description": "数据库类型:mysql(默认)|sqlite|sqlserver|postgresql", + "type": "string" + }, + "env": { + "description": "环境值", + "type": "string" + }, + "iplimit-count": { + "type": "integer" + }, + "iplimit-time": { + "type": "integer" + }, + "oss-type": { + "description": "Oss类型", + "type": "string" + }, + "router-prefix": { + "type": "string" + }, + "use-multipoint": { + "description": "多点登录拦截", + "type": "boolean" + }, + "use-redis": { + "description": "使用redis", + "type": "boolean" + } + } + }, + "config.TencentCOS": { + "type": "object", + "properties": { + "base-url": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "path-prefix": { + "type": "string" + }, + "region": { + "type": "string" + }, + "secret-id": { + "type": "string" + }, + "secret-key": { + "type": "string" + } + } + }, + "config.Timer": { + "type": "object", + "properties": { + "detail": { + "type": "array", + "items": { + "$ref": "#/definitions/config.Detail" + } + }, + "spec": { + "description": "CRON表达式", + "type": "string" + }, + "start": { + "description": "是否启用", + "type": "boolean" + }, + "with_seconds": { + "description": "是否精确到秒", + "type": "boolean" + } + } + }, + "config.Zap": { + "type": "object", + "properties": { + "director": { + "description": "日志文件夹", + "type": "string" + }, + "encode-level": { + "description": "编码级", + "type": "string" + }, + "format": { + "description": "输出", + "type": "string" + }, + "level": { + "description": "级别", + "type": "string" + }, + "log-in-console": { + "description": "输出控制台", + "type": "boolean" + }, + "max-age": { + "description": "日志留存时间", + "type": "integer" + }, + "prefix": { + "description": "日志前缀", + "type": "string" + }, + "show-line": { + "description": "显示行", + "type": "boolean" + }, + "stacktrace-key": { + "description": "栈名", + "type": "string" + } + } + }, + "example.ExaCustomer": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "customerName": { + "description": "客户名", + "type": "string" + }, + "customerPhoneData": { + "description": "客户手机号", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "sysUser": { + "description": "管理详情", + "allOf": [ + { + "$ref": "#/definitions/system.SysUser" + } + ] + }, + "sysUserAuthorityID": { + "description": "管理角色ID", + "type": "integer" + }, + "sysUserId": { + "description": "管理ID", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "example.ExaFile": { + "type": "object", + "properties": { + "chunkTotal": { + "type": "integer" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "exaFileChunk": { + "type": "array", + "items": { + "$ref": "#/definitions/example.ExaFileChunk" + } + }, + "fileMd5": { + "type": "string" + }, + "fileName": { + "type": "string" + }, + "filePath": { + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "isFinish": { + "type": "boolean" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "example.ExaFileChunk": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "exaFileID": { + "type": "integer" + }, + "fileChunkNumber": { + "type": "integer" + }, + "fileChunkPath": { + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "example.ExaFileUploadAndDownload": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "key": { + "description": "编号", + "type": "string" + }, + "name": { + "description": "文件名", + "type": "string" + }, + "tag": { + "description": "文件标签", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "url": { + "description": "文件地址", + "type": "string" + } + } + }, + "github_com_flipped-aurora_gin-vue-admin_server_config.Email": { + "type": "object", + "properties": { + "from": { + "description": "收件人", + "type": "string" + }, + "host": { + "description": "服务器地址", + "type": "string" + }, + "is-ssl": { + "description": "是否SSL", + "type": "boolean" + }, + "nickname": { + "description": "昵称", + "type": "string" + }, + "port": { + "description": "端口", + "type": "integer" + }, + "secret": { + "description": "密钥", + "type": "string" + }, + "to": { + "description": "收件人:多个以英文逗号分隔", + "type": "string" + } + } + }, + "request.AddMenuAuthorityInfo": { + "type": "object", + "properties": { + "authorityId": { + "description": "角色ID", + "type": "integer" + }, + "menus": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + } + }, + "request.CasbinInReceive": { + "type": "object", + "properties": { + "authorityId": { + "description": "权限id", + "type": "integer" + }, + "casbinInfos": { + "type": "array", + "items": { + "$ref": "#/definitions/request.CasbinInfo" + } + } + } + }, + "request.CasbinInfo": { + "type": "object", + "properties": { + "method": { + "description": "方法", + "type": "string" + }, + "path": { + "description": "路径", + "type": "string" + } + } + }, + "request.ChangePasswordReq": { + "type": "object", + "properties": { + "newPassword": { + "description": "新密码", + "type": "string" + }, + "password": { + "description": "密码", + "type": "string" + } + } + }, + "request.Empty": { + "type": "object" + }, + "request.GetAuthorityId": { + "type": "object", + "properties": { + "authorityId": { + "description": "角色ID", + "type": "integer" + } + } + }, + "request.GetById": { + "type": "object", + "properties": { + "id": { + "description": "主键ID", + "type": "integer" + } + } + }, + "request.IdsReq": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.InitDB": { + "type": "object", + "required": [ + "dbName", + "userName" + ], + "properties": { + "dbName": { + "description": "数据库名", + "type": "string" + }, + "dbType": { + "description": "数据库类型", + "type": "string" + }, + "host": { + "description": "服务器地址", + "type": "string" + }, + "password": { + "description": "数据库密码", + "type": "string" + }, + "port": { + "description": "数据库连接端口", + "type": "string" + }, + "userName": { + "description": "数据库用户名", + "type": "string" + } + } + }, + "request.Login": { + "type": "object", + "properties": { + "captcha": { + "description": "验证码", + "type": "string" + }, + "captchaId": { + "description": "验证码ID", + "type": "string" + }, + "password": { + "description": "密码", + "type": "string" + }, + "username": { + "description": "用户名", + "type": "string" + } + } + }, + "request.PageInfo": { + "type": "object", + "properties": { + "keyword": { + "description": "关键字", + "type": "string" + }, + "page": { + "description": "页码", + "type": "integer" + }, + "pageSize": { + "description": "每页大小", + "type": "integer" + } + } + }, + "request.Register": { + "type": "object", + "properties": { + "authorityId": { + "type": "string", + "example": "int 角色id" + }, + "authorityIds": { + "type": "string", + "example": "[]uint 角色id" + }, + "email": { + "type": "string", + "example": "电子邮箱" + }, + "enable": { + "type": "string", + "example": "int 是否启用" + }, + "headerImg": { + "type": "string", + "example": "头像链接" + }, + "nickName": { + "type": "string", + "example": "昵称" + }, + "passWord": { + "type": "string", + "example": "密码" + }, + "phone": { + "type": "string", + "example": "电话号码" + }, + "userName": { + "type": "string", + "example": "用户名" + } + } + }, + "request.RollBack": { + "type": "object", + "properties": { + "deleteTable": { + "description": "是否删除表", + "type": "boolean" + }, + "id": { + "description": "主键ID", + "type": "integer" + } + } + }, + "request.SearchApiParams": { + "type": "object", + "properties": { + "apiGroup": { + "description": "api组", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "desc": { + "description": "排序方式:升序false(默认)|降序true", + "type": "boolean" + }, + "description": { + "description": "api中文描述", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "keyword": { + "description": "关键字", + "type": "string" + }, + "method": { + "description": "方法:创建POST(默认)|查看GET|更新PUT|删除DELETE", + "type": "string" + }, + "orderKey": { + "description": "排序", + "type": "string" + }, + "page": { + "description": "页码", + "type": "integer" + }, + "pageSize": { + "description": "每页大小", + "type": "integer" + }, + "path": { + "description": "api路径", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "request.SetUserAuth": { + "type": "object", + "properties": { + "authorityId": { + "description": "角色ID", + "type": "integer" + } + } + }, + "request.SetUserAuthorities": { + "type": "object", + "properties": { + "authorityIds": { + "description": "角色ID", + "type": "array", + "items": { + "type": "integer" + } + }, + "id": { + "type": "integer" + } + } + }, + "request.SysAuthorityBtnReq": { + "type": "object", + "properties": { + "authorityId": { + "type": "integer" + }, + "menuID": { + "type": "integer" + }, + "selected": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.SysAutoHistory": { + "type": "object", + "properties": { + "keyword": { + "description": "关键字", + "type": "string" + }, + "page": { + "description": "页码", + "type": "integer" + }, + "pageSize": { + "description": "每页大小", + "type": "integer" + } + } + }, + "response.Email": { + "type": "object", + "properties": { + "body": { + "description": "邮件内容", + "type": "string" + }, + "subject": { + "description": "邮件标题", + "type": "string" + }, + "to": { + "description": "邮件发送给谁", + "type": "string" + } + } + }, + "response.ExaCustomerResponse": { + "type": "object", + "properties": { + "customer": { + "$ref": "#/definitions/example.ExaCustomer" + } + } + }, + "response.ExaFileResponse": { + "type": "object", + "properties": { + "file": { + "$ref": "#/definitions/example.ExaFileUploadAndDownload" + } + } + }, + "response.FilePathResponse": { + "type": "object", + "properties": { + "filePath": { + "type": "string" + } + } + }, + "response.FileResponse": { + "type": "object", + "properties": { + "file": { + "$ref": "#/definitions/example.ExaFile" + } + } + }, + "response.LoginResponse": { + "type": "object", + "properties": { + "expiresAt": { + "type": "integer" + }, + "token": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/system.SysUser" + } + } + }, + "response.PageResult": { + "type": "object", + "properties": { + "list": {}, + "page": { + "type": "integer" + }, + "pageSize": { + "type": "integer" + }, + "total": { + "type": "integer" + } + } + }, + "response.PolicyPathResponse": { + "type": "object", + "properties": { + "paths": { + "type": "array", + "items": { + "$ref": "#/definitions/request.CasbinInfo" + } + } + } + }, + "response.Response": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": {}, + "msg": { + "type": "string" + } + } + }, + "response.SysAPIListResponse": { + "type": "object", + "properties": { + "apis": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysApi" + } + } + } + }, + "response.SysAPIResponse": { + "type": "object", + "properties": { + "api": { + "$ref": "#/definitions/system.SysApi" + } + } + }, + "response.SysAuthorityBtnRes": { + "type": "object", + "properties": { + "selected": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "response.SysAuthorityCopyResponse": { + "type": "object", + "properties": { + "authority": { + "$ref": "#/definitions/system.SysAuthority" + }, + "oldAuthorityId": { + "description": "旧角色ID", + "type": "integer" + } + } + }, + "response.SysAuthorityResponse": { + "type": "object", + "properties": { + "authority": { + "$ref": "#/definitions/system.SysAuthority" + } + } + }, + "response.SysBaseMenuResponse": { + "type": "object", + "properties": { + "menu": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + }, + "response.SysBaseMenusResponse": { + "type": "object", + "properties": { + "menus": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenu" + } + } + } + }, + "response.SysCaptchaResponse": { + "type": "object", + "properties": { + "captchaId": { + "type": "string" + }, + "captchaLength": { + "type": "integer" + }, + "openCaptcha": { + "type": "boolean" + }, + "picPath": { + "type": "string" + } + } + }, + "response.SysConfigResponse": { + "type": "object", + "properties": { + "config": { + "$ref": "#/definitions/config.Server" + } + } + }, + "response.SysMenusResponse": { + "type": "object", + "properties": { + "menus": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysMenu" + } + } + } + }, + "response.SysUserResponse": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/system.SysUser" + } + } + }, + "system.AutoCodeStruct": { + "type": "object", + "properties": { + "abbreviation": { + "description": "Struct简称", + "type": "string" + }, + "autoCreateApiToSql": { + "description": "是否自动创建api", + "type": "boolean" + }, + "autoCreateResource": { + "description": "是否自动创建资源标识", + "type": "boolean" + }, + "autoMoveFile": { + "description": "是否自动移动文件", + "type": "boolean" + }, + "businessDB": { + "description": "业务数据库", + "type": "string" + }, + "description": { + "description": "Struct中文名称", + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/definitions/system.Field" + } + }, + "hasTimer": { + "type": "boolean" + }, + "humpPackageName": { + "description": "go文件名称", + "type": "string" + }, + "package": { + "type": "string" + }, + "packageName": { + "description": "文件名称", + "type": "string" + }, + "structName": { + "description": "Struct名称", + "type": "string" + }, + "tableName": { + "description": "表名", + "type": "string" + } + } + }, + "system.Field": { + "type": "object", + "properties": { + "clearable": { + "description": "是否可清空", + "type": "boolean" + }, + "columnName": { + "description": "数据库字段", + "type": "string" + }, + "comment": { + "description": "数据库字段描述", + "type": "string" + }, + "dataTypeLong": { + "description": "数据库字段长度", + "type": "string" + }, + "dictType": { + "description": "字典", + "type": "string" + }, + "errorText": { + "description": "校验失败文字", + "type": "string" + }, + "fieldDesc": { + "description": "中文名", + "type": "string" + }, + "fieldJson": { + "description": "FieldJson", + "type": "string" + }, + "fieldName": { + "description": "Field名", + "type": "string" + }, + "fieldSearchType": { + "description": "搜索条件", + "type": "string" + }, + "fieldType": { + "description": "Field数据类型", + "type": "string" + }, + "require": { + "description": "是否必填", + "type": "boolean" + }, + "sort": { + "description": "是否增加排序", + "type": "boolean" + } + } + }, + "system.Meta": { + "type": "object", + "properties": { + "activeName": { + "type": "string" + }, + "closeTab": { + "description": "自动关闭tab", + "type": "boolean" + }, + "defaultMenu": { + "description": "是否是基础路由(开发中)", + "type": "boolean" + }, + "icon": { + "description": "菜单图标", + "type": "string" + }, + "keepAlive": { + "description": "是否缓存", + "type": "boolean" + }, + "title": { + "description": "菜单名", + "type": "string" + } + } + }, + "system.SysApi": { + "type": "object", + "properties": { + "apiGroup": { + "description": "api组", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "description": { + "description": "api中文描述", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "method": { + "description": "方法:创建POST(默认)|查看GET|更新PUT|删除DELETE", + "type": "string" + }, + "path": { + "description": "api路径", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysAuthority": { + "type": "object", + "properties": { + "authorityId": { + "description": "角色ID", + "type": "integer" + }, + "authorityName": { + "description": "角色名", + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "dataAuthorityId": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "defaultRouter": { + "description": "默认菜单(默认dashboard)", + "type": "string" + }, + "deletedAt": { + "type": "string" + }, + "menus": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenu" + } + }, + "parentId": { + "description": "父角色ID", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysAutoCode": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "desc": { + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "label": { + "type": "string" + }, + "packageName": { + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysBaseMenu": { + "type": "object", + "properties": { + "authoritys": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenu" + } + }, + "component": { + "description": "对应前端文件路径", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "hidden": { + "description": "是否在列表隐藏", + "type": "boolean" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "menuBtn": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenuBtn" + } + }, + "meta": { + "description": "附加属性", + "allOf": [ + { + "$ref": "#/definitions/system.Meta" + } + ] + }, + "name": { + "description": "路由name", + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenuParameter" + } + }, + "parentId": { + "description": "父菜单ID", + "type": "string" + }, + "path": { + "description": "路由path", + "type": "string" + }, + "sort": { + "description": "排序标记", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysBaseMenuBtn": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "desc": { + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "name": { + "type": "string" + }, + "sysBaseMenuID": { + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysBaseMenuParameter": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "key": { + "description": "地址栏携带参数的key", + "type": "string" + }, + "sysBaseMenuID": { + "type": "integer" + }, + "type": { + "description": "地址栏携带参数为params还是query", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "value": { + "description": "地址栏携带参数的值", + "type": "string" + } + } + }, + "system.SysDictionary": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "desc": { + "description": "描述", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "name": { + "description": "字典名(中)", + "type": "string" + }, + "status": { + "description": "状态", + "type": "boolean" + }, + "sysDictionaryDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysDictionaryDetail" + } + }, + "type": { + "description": "字典名(英)", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysDictionaryDetail": { + "type": "object", + "properties": { + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "label": { + "description": "展示值", + "type": "string" + }, + "sort": { + "description": "排序标记", + "type": "integer" + }, + "status": { + "description": "启用状态", + "type": "boolean" + }, + "sysDictionaryID": { + "description": "关联标记", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "value": { + "description": "字典值", + "type": "integer" + } + } + }, + "system.SysMenu": { + "type": "object", + "properties": { + "authoritys": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "btns": { + "type": "object", + "additionalProperties": { + "type": "integer" + } + }, + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysMenu" + } + }, + "component": { + "description": "对应前端文件路径", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "hidden": { + "description": "是否在列表隐藏", + "type": "boolean" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "menuBtn": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenuBtn" + } + }, + "menuId": { + "type": "string" + }, + "meta": { + "description": "附加属性", + "allOf": [ + { + "$ref": "#/definitions/system.Meta" + } + ] + }, + "name": { + "description": "路由name", + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysBaseMenuParameter" + } + }, + "parentId": { + "description": "父菜单ID", + "type": "string" + }, + "path": { + "description": "路由path", + "type": "string" + }, + "sort": { + "description": "排序标记", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + } + } + }, + "system.SysOperationRecord": { + "type": "object", + "properties": { + "agent": { + "description": "代理", + "type": "string" + }, + "body": { + "description": "请求Body", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "error_message": { + "description": "错误信息", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "ip": { + "description": "请求ip", + "type": "string" + }, + "latency": { + "description": "延迟", + "type": "string" + }, + "method": { + "description": "请求方法", + "type": "string" + }, + "path": { + "description": "请求路径", + "type": "string" + }, + "resp": { + "description": "响应Body", + "type": "string" + }, + "status": { + "description": "请求状态", + "type": "integer" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "user": { + "$ref": "#/definitions/system.SysUser" + }, + "user_id": { + "description": "用户id", + "type": "integer" + } + } + }, + "system.SysUser": { + "type": "object", + "properties": { + "activeColor": { + "description": "活跃颜色", + "type": "string" + }, + "authorities": { + "type": "array", + "items": { + "$ref": "#/definitions/system.SysAuthority" + } + }, + "authority": { + "$ref": "#/definitions/system.SysAuthority" + }, + "authorityId": { + "description": "用户角色ID", + "type": "integer" + }, + "baseColor": { + "description": "基础颜色", + "type": "string" + }, + "createdAt": { + "description": "创建时间", + "type": "string" + }, + "email": { + "description": "用户邮箱", + "type": "string" + }, + "enable": { + "description": "用户是否被冻结 1正常 2冻结", + "type": "integer" + }, + "headerImg": { + "description": "用户头像", + "type": "string" + }, + "id": { + "description": "主键ID", + "type": "integer" + }, + "nickName": { + "description": "用户昵称", + "type": "string" + }, + "phone": { + "description": "用户手机号", + "type": "string" + }, + "sideMode": { + "description": "用户侧边主题", + "type": "string" + }, + "updatedAt": { + "description": "更新时间", + "type": "string" + }, + "userName": { + "description": "用户登录名", + "type": "string" + }, + "uuid": { + "description": "用户UUID", + "type": "string" + } + } + }, + "system.System": { + "type": "object", + "properties": { + "config": { + "$ref": "#/definitions/config.Server" + } + } + } + }, + "securityDefinitions": { + "ApiKeyAuth": { + "type": "apiKey", + "name": "x-token", + "in": "header" + } + } +} \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/swagger.yaml b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/swagger.yaml new file mode 100644 index 000000000..4f1a69765 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/docs/swagger.yaml @@ -0,0 +1,4196 @@ +definitions: + config.AliyunOSS: + properties: + access-key-id: + type: string + access-key-secret: + type: string + base-path: + type: string + bucket-name: + type: string + bucket-url: + type: string + endpoint: + type: string + type: object + config.Autocode: + properties: + root: + type: string + server: + type: string + server-api: + type: string + server-initialize: + type: string + server-model: + type: string + server-plug: + type: string + server-request: + type: string + server-router: + type: string + server-service: + type: string + transfer-restart: + type: boolean + web: + type: string + web-api: + type: string + web-form: + type: string + web-table: + type: string + type: object + config.AwsS3: + properties: + base-url: + type: string + bucket: + type: string + disable-ssl: + type: boolean + endpoint: + type: string + path-prefix: + type: string + region: + type: string + s3-force-path-style: + type: boolean + secret-id: + type: string + secret-key: + type: string + type: object + config.CORS: + properties: + mode: + type: string + whitelist: + items: + $ref: '#/definitions/config.CORSWhitelist' + type: array + type: object + config.CORSWhitelist: + properties: + allow-credentials: + type: boolean + allow-headers: + type: string + allow-methods: + type: string + allow-origin: + type: string + expose-headers: + type: string + type: object + config.Captcha: + properties: + img-height: + description: 验证码高度 + type: integer + img-width: + description: 验证码宽度 + type: integer + key-long: + description: 验证码长度 + type: integer + open-captcha: + description: 防爆破验证码开启此数,0代表每次登录都需要验证码,其他数字代表错误密码此数,如3代表错误三次后出现验证码 + type: integer + open-captcha-timeout: + description: 防爆破验证码超时时间,单位:s(秒) + type: integer + type: object + config.Detail: + properties: + compareField: + description: 需要比较时间的字段 + type: string + interval: + description: 时间间隔 + type: string + tableName: + description: 需要清理的表名 + type: string + type: object + config.Excel: + properties: + dir: + type: string + type: object + config.HuaWeiObs: + properties: + access-key: + type: string + bucket: + type: string + endpoint: + type: string + path: + type: string + secret-key: + type: string + type: object + config.JWT: + properties: + buffer-time: + description: 缓冲时间 + type: string + expires-time: + description: 过期时间 + type: string + issuer: + description: 签发者 + type: string + signing-key: + description: jwt签名 + type: string + type: object + config.Local: + properties: + path: + description: 本地文件访问路径 + type: string + store-path: + description: 本地文件存储路径 + type: string + type: object + config.Mssql: + properties: + config: + description: 高级配置 + type: string + db-name: + description: 数据库名 + type: string + engine: + default: InnoDB + description: 数据库引擎,默认InnoDB + type: string + log-mode: + description: 是否开启Gorm全局日志 + type: string + log-zap: + description: 是否通过zap写入日志文件 + type: boolean + max-idle-conns: + description: 空闲中的最大连接数 + type: integer + max-open-conns: + description: 打开到数据库的最大连接数 + type: integer + password: + description: 数据库密码 + type: string + path: + description: 服务器地址:端口 + type: string + port: + description: :端口 + type: string + prefix: + description: 全局表前缀,单独定义TableName则不生效 + type: string + singular: + description: 是否开启全局禁用复数,true表示开启 + type: boolean + username: + description: 数据库用户名 + type: string + type: object + config.Mysql: + properties: + config: + description: 高级配置 + type: string + db-name: + description: 数据库名 + type: string + engine: + default: InnoDB + description: 数据库引擎,默认InnoDB + type: string + log-mode: + description: 是否开启Gorm全局日志 + type: string + log-zap: + description: 是否通过zap写入日志文件 + type: boolean + max-idle-conns: + description: 空闲中的最大连接数 + type: integer + max-open-conns: + description: 打开到数据库的最大连接数 + type: integer + password: + description: 数据库密码 + type: string + path: + description: 服务器地址:端口 + type: string + port: + description: :端口 + type: string + prefix: + description: 全局表前缀,单独定义TableName则不生效 + type: string + singular: + description: 是否开启全局禁用复数,true表示开启 + type: boolean + username: + description: 数据库用户名 + type: string + type: object + config.Oracle: + properties: + config: + description: 高级配置 + type: string + db-name: + description: 数据库名 + type: string + engine: + default: InnoDB + description: 数据库引擎,默认InnoDB + type: string + log-mode: + description: 是否开启Gorm全局日志 + type: string + log-zap: + description: 是否通过zap写入日志文件 + type: boolean + max-idle-conns: + description: 空闲中的最大连接数 + type: integer + max-open-conns: + description: 打开到数据库的最大连接数 + type: integer + password: + description: 数据库密码 + type: string + path: + description: 服务器地址:端口 + type: string + port: + description: :端口 + type: string + prefix: + description: 全局表前缀,单独定义TableName则不生效 + type: string + singular: + description: 是否开启全局禁用复数,true表示开启 + type: boolean + username: + description: 数据库用户名 + type: string + type: object + config.Pgsql: + properties: + config: + description: 高级配置 + type: string + db-name: + description: 数据库名 + type: string + engine: + default: InnoDB + description: 数据库引擎,默认InnoDB + type: string + log-mode: + description: 是否开启Gorm全局日志 + type: string + log-zap: + description: 是否通过zap写入日志文件 + type: boolean + max-idle-conns: + description: 空闲中的最大连接数 + type: integer + max-open-conns: + description: 打开到数据库的最大连接数 + type: integer + password: + description: 数据库密码 + type: string + path: + description: 服务器地址:端口 + type: string + port: + description: :端口 + type: string + prefix: + description: 全局表前缀,单独定义TableName则不生效 + type: string + singular: + description: 是否开启全局禁用复数,true表示开启 + type: boolean + username: + description: 数据库用户名 + type: string + type: object + config.Qiniu: + properties: + access-key: + description: 秘钥AK + type: string + bucket: + description: 空间名称 + type: string + img-path: + description: CDN加速域名 + type: string + secret-key: + description: 秘钥SK + type: string + use-cdn-domains: + description: 上传是否使用CDN上传加速 + type: boolean + use-https: + description: 是否使用https + type: boolean + zone: + description: 存储区域 + type: string + type: object + config.Redis: + properties: + addr: + description: 服务器地址:端口 + type: string + db: + description: redis的哪个数据库 + type: integer + password: + description: 密码 + type: string + type: object + config.Server: + properties: + aliyun-oss: + $ref: '#/definitions/config.AliyunOSS' + autocode: + allOf: + - $ref: '#/definitions/config.Autocode' + description: auto + aws-s3: + $ref: '#/definitions/config.AwsS3' + captcha: + $ref: '#/definitions/config.Captcha' + cors: + allOf: + - $ref: '#/definitions/config.CORS' + description: 跨域配置 + db-list: + items: + $ref: '#/definitions/config.SpecializedDB' + type: array + email: + $ref: '#/definitions/github_com_flipped-aurora_gin-vue-admin_server_config.Email' + excel: + $ref: '#/definitions/config.Excel' + hua-wei-obs: + $ref: '#/definitions/config.HuaWeiObs' + jwt: + $ref: '#/definitions/config.JWT' + local: + allOf: + - $ref: '#/definitions/config.Local' + description: oss + mssql: + $ref: '#/definitions/config.Mssql' + mysql: + allOf: + - $ref: '#/definitions/config.Mysql' + description: gorm + oracle: + $ref: '#/definitions/config.Oracle' + pgsql: + $ref: '#/definitions/config.Pgsql' + qiniu: + $ref: '#/definitions/config.Qiniu' + redis: + $ref: '#/definitions/config.Redis' + system: + $ref: '#/definitions/config.System' + tencent-cos: + $ref: '#/definitions/config.TencentCOS' + timer: + $ref: '#/definitions/config.Timer' + zap: + $ref: '#/definitions/config.Zap' + type: object + config.SpecializedDB: + properties: + alias-name: + type: string + config: + description: 高级配置 + type: string + db-name: + description: 数据库名 + type: string + disable: + type: boolean + engine: + default: InnoDB + description: 数据库引擎,默认InnoDB + type: string + log-mode: + description: 是否开启Gorm全局日志 + type: string + log-zap: + description: 是否通过zap写入日志文件 + type: boolean + max-idle-conns: + description: 空闲中的最大连接数 + type: integer + max-open-conns: + description: 打开到数据库的最大连接数 + type: integer + password: + description: 数据库密码 + type: string + path: + description: 服务器地址:端口 + type: string + port: + description: :端口 + type: string + prefix: + description: 全局表前缀,单独定义TableName则不生效 + type: string + singular: + description: 是否开启全局禁用复数,true表示开启 + type: boolean + type: + type: string + username: + description: 数据库用户名 + type: string + type: object + config.System: + properties: + addr: + description: 端口值 + type: integer + db-type: + description: 数据库类型:mysql(默认)|sqlite|sqlserver|postgresql + type: string + env: + description: 环境值 + type: string + iplimit-count: + type: integer + iplimit-time: + type: integer + oss-type: + description: Oss类型 + type: string + router-prefix: + type: string + use-multipoint: + description: 多点登录拦截 + type: boolean + use-redis: + description: 使用redis + type: boolean + type: object + config.TencentCOS: + properties: + base-url: + type: string + bucket: + type: string + path-prefix: + type: string + region: + type: string + secret-id: + type: string + secret-key: + type: string + type: object + config.Timer: + properties: + detail: + items: + $ref: '#/definitions/config.Detail' + type: array + spec: + description: CRON表达式 + type: string + start: + description: 是否启用 + type: boolean + with_seconds: + description: 是否精确到秒 + type: boolean + type: object + config.Zap: + properties: + director: + description: 日志文件夹 + type: string + encode-level: + description: 编码级 + type: string + format: + description: 输出 + type: string + level: + description: 级别 + type: string + log-in-console: + description: 输出控制台 + type: boolean + max-age: + description: 日志留存时间 + type: integer + prefix: + description: 日志前缀 + type: string + show-line: + description: 显示行 + type: boolean + stacktrace-key: + description: 栈名 + type: string + type: object + example.ExaCustomer: + properties: + createdAt: + description: 创建时间 + type: string + customerName: + description: 客户名 + type: string + customerPhoneData: + description: 客户手机号 + type: string + id: + description: 主键ID + type: integer + sysUser: + allOf: + - $ref: '#/definitions/system.SysUser' + description: 管理详情 + sysUserAuthorityID: + description: 管理角色ID + type: integer + sysUserId: + description: 管理ID + type: integer + updatedAt: + description: 更新时间 + type: string + type: object + example.ExaFile: + properties: + chunkTotal: + type: integer + createdAt: + description: 创建时间 + type: string + exaFileChunk: + items: + $ref: '#/definitions/example.ExaFileChunk' + type: array + fileMd5: + type: string + fileName: + type: string + filePath: + type: string + id: + description: 主键ID + type: integer + isFinish: + type: boolean + updatedAt: + description: 更新时间 + type: string + type: object + example.ExaFileChunk: + properties: + createdAt: + description: 创建时间 + type: string + exaFileID: + type: integer + fileChunkNumber: + type: integer + fileChunkPath: + type: string + id: + description: 主键ID + type: integer + updatedAt: + description: 更新时间 + type: string + type: object + example.ExaFileUploadAndDownload: + properties: + createdAt: + description: 创建时间 + type: string + id: + description: 主键ID + type: integer + key: + description: 编号 + type: string + name: + description: 文件名 + type: string + tag: + description: 文件标签 + type: string + updatedAt: + description: 更新时间 + type: string + url: + description: 文件地址 + type: string + type: object + github_com_flipped-aurora_gin-vue-admin_server_config.Email: + properties: + from: + description: 收件人 + type: string + host: + description: 服务器地址 + type: string + is-ssl: + description: 是否SSL + type: boolean + nickname: + description: 昵称 + type: string + port: + description: 端口 + type: integer + secret: + description: 密钥 + type: string + to: + description: 收件人:多个以英文逗号分隔 + type: string + type: object + request.AddMenuAuthorityInfo: + properties: + authorityId: + description: 角色ID + type: integer + menus: + items: + $ref: '#/definitions/system.SysBaseMenu' + type: array + type: object + request.CasbinInReceive: + properties: + authorityId: + description: 权限id + type: integer + casbinInfos: + items: + $ref: '#/definitions/request.CasbinInfo' + type: array + type: object + request.CasbinInfo: + properties: + method: + description: 方法 + type: string + path: + description: 路径 + type: string + type: object + request.ChangePasswordReq: + properties: + newPassword: + description: 新密码 + type: string + password: + description: 密码 + type: string + type: object + request.Empty: + type: object + request.GetAuthorityId: + properties: + authorityId: + description: 角色ID + type: integer + type: object + request.GetById: + properties: + id: + description: 主键ID + type: integer + type: object + request.IdsReq: + properties: + ids: + items: + type: integer + type: array + type: object + request.InitDB: + properties: + dbName: + description: 数据库名 + type: string + dbType: + description: 数据库类型 + type: string + host: + description: 服务器地址 + type: string + password: + description: 数据库密码 + type: string + port: + description: 数据库连接端口 + type: string + userName: + description: 数据库用户名 + type: string + required: + - dbName + - userName + type: object + request.Login: + properties: + captcha: + description: 验证码 + type: string + captchaId: + description: 验证码ID + type: string + password: + description: 密码 + type: string + username: + description: 用户名 + type: string + type: object + request.PageInfo: + properties: + keyword: + description: 关键字 + type: string + page: + description: 页码 + type: integer + pageSize: + description: 每页大小 + type: integer + type: object + request.Register: + properties: + authorityId: + example: int 角色id + type: string + authorityIds: + example: '[]uint 角色id' + type: string + email: + example: 电子邮箱 + type: string + enable: + example: int 是否启用 + type: string + headerImg: + example: 头像链接 + type: string + nickName: + example: 昵称 + type: string + passWord: + example: 密码 + type: string + phone: + example: 电话号码 + type: string + userName: + example: 用户名 + type: string + type: object + request.RollBack: + properties: + deleteTable: + description: 是否删除表 + type: boolean + id: + description: 主键ID + type: integer + type: object + request.SearchApiParams: + properties: + apiGroup: + description: api组 + type: string + createdAt: + description: 创建时间 + type: string + desc: + description: 排序方式:升序false(默认)|降序true + type: boolean + description: + description: api中文描述 + type: string + id: + description: 主键ID + type: integer + keyword: + description: 关键字 + type: string + method: + description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE + type: string + orderKey: + description: 排序 + type: string + page: + description: 页码 + type: integer + pageSize: + description: 每页大小 + type: integer + path: + description: api路径 + type: string + updatedAt: + description: 更新时间 + type: string + type: object + request.SetUserAuth: + properties: + authorityId: + description: 角色ID + type: integer + type: object + request.SetUserAuthorities: + properties: + authorityIds: + description: 角色ID + items: + type: integer + type: array + id: + type: integer + type: object + request.SysAuthorityBtnReq: + properties: + authorityId: + type: integer + menuID: + type: integer + selected: + items: + type: integer + type: array + type: object + request.SysAutoHistory: + properties: + keyword: + description: 关键字 + type: string + page: + description: 页码 + type: integer + pageSize: + description: 每页大小 + type: integer + type: object + response.Email: + properties: + body: + description: 邮件内容 + type: string + subject: + description: 邮件标题 + type: string + to: + description: 邮件发送给谁 + type: string + type: object + response.ExaCustomerResponse: + properties: + customer: + $ref: '#/definitions/example.ExaCustomer' + type: object + response.ExaFileResponse: + properties: + file: + $ref: '#/definitions/example.ExaFileUploadAndDownload' + type: object + response.FilePathResponse: + properties: + filePath: + type: string + type: object + response.FileResponse: + properties: + file: + $ref: '#/definitions/example.ExaFile' + type: object + response.LoginResponse: + properties: + expiresAt: + type: integer + token: + type: string + user: + $ref: '#/definitions/system.SysUser' + type: object + response.PageResult: + properties: + list: {} + page: + type: integer + pageSize: + type: integer + total: + type: integer + type: object + response.PolicyPathResponse: + properties: + paths: + items: + $ref: '#/definitions/request.CasbinInfo' + type: array + type: object + response.Response: + properties: + code: + type: integer + data: {} + msg: + type: string + type: object + response.SysAPIListResponse: + properties: + apis: + items: + $ref: '#/definitions/system.SysApi' + type: array + type: object + response.SysAPIResponse: + properties: + api: + $ref: '#/definitions/system.SysApi' + type: object + response.SysAuthorityBtnRes: + properties: + selected: + items: + type: integer + type: array + type: object + response.SysAuthorityCopyResponse: + properties: + authority: + $ref: '#/definitions/system.SysAuthority' + oldAuthorityId: + description: 旧角色ID + type: integer + type: object + response.SysAuthorityResponse: + properties: + authority: + $ref: '#/definitions/system.SysAuthority' + type: object + response.SysBaseMenuResponse: + properties: + menu: + $ref: '#/definitions/system.SysBaseMenu' + type: object + response.SysBaseMenusResponse: + properties: + menus: + items: + $ref: '#/definitions/system.SysBaseMenu' + type: array + type: object + response.SysCaptchaResponse: + properties: + captchaId: + type: string + captchaLength: + type: integer + openCaptcha: + type: boolean + picPath: + type: string + type: object + response.SysConfigResponse: + properties: + config: + $ref: '#/definitions/config.Server' + type: object + response.SysMenusResponse: + properties: + menus: + items: + $ref: '#/definitions/system.SysMenu' + type: array + type: object + response.SysUserResponse: + properties: + user: + $ref: '#/definitions/system.SysUser' + type: object + system.AutoCodeStruct: + properties: + abbreviation: + description: Struct简称 + type: string + autoCreateApiToSql: + description: 是否自动创建api + type: boolean + autoCreateResource: + description: 是否自动创建资源标识 + type: boolean + autoMoveFile: + description: 是否自动移动文件 + type: boolean + businessDB: + description: 业务数据库 + type: string + description: + description: Struct中文名称 + type: string + fields: + items: + $ref: '#/definitions/system.Field' + type: array + hasTimer: + type: boolean + humpPackageName: + description: go文件名称 + type: string + package: + type: string + packageName: + description: 文件名称 + type: string + structName: + description: Struct名称 + type: string + tableName: + description: 表名 + type: string + type: object + system.Field: + properties: + clearable: + description: 是否可清空 + type: boolean + columnName: + description: 数据库字段 + type: string + comment: + description: 数据库字段描述 + type: string + dataTypeLong: + description: 数据库字段长度 + type: string + dictType: + description: 字典 + type: string + errorText: + description: 校验失败文字 + type: string + fieldDesc: + description: 中文名 + type: string + fieldJson: + description: FieldJson + type: string + fieldName: + description: Field名 + type: string + fieldSearchType: + description: 搜索条件 + type: string + fieldType: + description: Field数据类型 + type: string + require: + description: 是否必填 + type: boolean + sort: + description: 是否增加排序 + type: boolean + type: object + system.Meta: + properties: + activeName: + type: string + closeTab: + description: 自动关闭tab + type: boolean + defaultMenu: + description: 是否是基础路由(开发中) + type: boolean + icon: + description: 菜单图标 + type: string + keepAlive: + description: 是否缓存 + type: boolean + title: + description: 菜单名 + type: string + type: object + system.SysApi: + properties: + apiGroup: + description: api组 + type: string + createdAt: + description: 创建时间 + type: string + description: + description: api中文描述 + type: string + id: + description: 主键ID + type: integer + method: + description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE + type: string + path: + description: api路径 + type: string + updatedAt: + description: 更新时间 + type: string + type: object + system.SysAuthority: + properties: + authorityId: + description: 角色ID + type: integer + authorityName: + description: 角色名 + type: string + children: + items: + $ref: '#/definitions/system.SysAuthority' + type: array + createdAt: + description: 创建时间 + type: string + dataAuthorityId: + items: + $ref: '#/definitions/system.SysAuthority' + type: array + defaultRouter: + description: 默认菜单(默认dashboard) + type: string + deletedAt: + type: string + menus: + items: + $ref: '#/definitions/system.SysBaseMenu' + type: array + parentId: + description: 父角色ID + type: integer + updatedAt: + description: 更新时间 + type: string + type: object + system.SysAutoCode: + properties: + createdAt: + description: 创建时间 + type: string + desc: + type: string + id: + description: 主键ID + type: integer + label: + type: string + packageName: + type: string + updatedAt: + description: 更新时间 + type: string + type: object + system.SysBaseMenu: + properties: + authoritys: + items: + $ref: '#/definitions/system.SysAuthority' + type: array + children: + items: + $ref: '#/definitions/system.SysBaseMenu' + type: array + component: + description: 对应前端文件路径 + type: string + createdAt: + description: 创建时间 + type: string + hidden: + description: 是否在列表隐藏 + type: boolean + id: + description: 主键ID + type: integer + menuBtn: + items: + $ref: '#/definitions/system.SysBaseMenuBtn' + type: array + meta: + allOf: + - $ref: '#/definitions/system.Meta' + description: 附加属性 + name: + description: 路由name + type: string + parameters: + items: + $ref: '#/definitions/system.SysBaseMenuParameter' + type: array + parentId: + description: 父菜单ID + type: string + path: + description: 路由path + type: string + sort: + description: 排序标记 + type: integer + updatedAt: + description: 更新时间 + type: string + type: object + system.SysBaseMenuBtn: + properties: + createdAt: + description: 创建时间 + type: string + desc: + type: string + id: + description: 主键ID + type: integer + name: + type: string + sysBaseMenuID: + type: integer + updatedAt: + description: 更新时间 + type: string + type: object + system.SysBaseMenuParameter: + properties: + createdAt: + description: 创建时间 + type: string + id: + description: 主键ID + type: integer + key: + description: 地址栏携带参数的key + type: string + sysBaseMenuID: + type: integer + type: + description: 地址栏携带参数为params还是query + type: string + updatedAt: + description: 更新时间 + type: string + value: + description: 地址栏携带参数的值 + type: string + type: object + system.SysDictionary: + properties: + createdAt: + description: 创建时间 + type: string + desc: + description: 描述 + type: string + id: + description: 主键ID + type: integer + name: + description: 字典名(中) + type: string + status: + description: 状态 + type: boolean + sysDictionaryDetails: + items: + $ref: '#/definitions/system.SysDictionaryDetail' + type: array + type: + description: 字典名(英) + type: string + updatedAt: + description: 更新时间 + type: string + type: object + system.SysDictionaryDetail: + properties: + createdAt: + description: 创建时间 + type: string + id: + description: 主键ID + type: integer + label: + description: 展示值 + type: string + sort: + description: 排序标记 + type: integer + status: + description: 启用状态 + type: boolean + sysDictionaryID: + description: 关联标记 + type: integer + updatedAt: + description: 更新时间 + type: string + value: + description: 字典值 + type: integer + type: object + system.SysMenu: + properties: + authoritys: + items: + $ref: '#/definitions/system.SysAuthority' + type: array + btns: + additionalProperties: + type: integer + type: object + children: + items: + $ref: '#/definitions/system.SysMenu' + type: array + component: + description: 对应前端文件路径 + type: string + createdAt: + description: 创建时间 + type: string + hidden: + description: 是否在列表隐藏 + type: boolean + id: + description: 主键ID + type: integer + menuBtn: + items: + $ref: '#/definitions/system.SysBaseMenuBtn' + type: array + menuId: + type: string + meta: + allOf: + - $ref: '#/definitions/system.Meta' + description: 附加属性 + name: + description: 路由name + type: string + parameters: + items: + $ref: '#/definitions/system.SysBaseMenuParameter' + type: array + parentId: + description: 父菜单ID + type: string + path: + description: 路由path + type: string + sort: + description: 排序标记 + type: integer + updatedAt: + description: 更新时间 + type: string + type: object + system.SysOperationRecord: + properties: + agent: + description: 代理 + type: string + body: + description: 请求Body + type: string + createdAt: + description: 创建时间 + type: string + error_message: + description: 错误信息 + type: string + id: + description: 主键ID + type: integer + ip: + description: 请求ip + type: string + latency: + description: 延迟 + type: string + method: + description: 请求方法 + type: string + path: + description: 请求路径 + type: string + resp: + description: 响应Body + type: string + status: + description: 请求状态 + type: integer + updatedAt: + description: 更新时间 + type: string + user: + $ref: '#/definitions/system.SysUser' + user_id: + description: 用户id + type: integer + type: object + system.SysUser: + properties: + activeColor: + description: 活跃颜色 + type: string + authorities: + items: + $ref: '#/definitions/system.SysAuthority' + type: array + authority: + $ref: '#/definitions/system.SysAuthority' + authorityId: + description: 用户角色ID + type: integer + baseColor: + description: 基础颜色 + type: string + createdAt: + description: 创建时间 + type: string + email: + description: 用户邮箱 + type: string + enable: + description: 用户是否被冻结 1正常 2冻结 + type: integer + headerImg: + description: 用户头像 + type: string + id: + description: 主键ID + type: integer + nickName: + description: 用户昵称 + type: string + phone: + description: 用户手机号 + type: string + sideMode: + description: 用户侧边主题 + type: string + updatedAt: + description: 更新时间 + type: string + userName: + description: 用户登录名 + type: string + uuid: + description: 用户UUID + type: string + type: object + system.System: + properties: + config: + $ref: '#/definitions/config.Server' + type: object +info: + contact: {} + description: This is a sample Server pets + title: Swagger Example API + version: 0.0.1 +paths: + /api/createApi: + post: + consumes: + - application/json + parameters: + - description: api路径, api中文描述, api组, 方法 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysApi' + produces: + - application/json + responses: + "200": + description: 创建基础api + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 创建基础api + tags: + - SysApi + /api/deleteApi: + post: + consumes: + - application/json + parameters: + - description: ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysApi' + produces: + - application/json + responses: + "200": + description: 删除api + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除api + tags: + - SysApi + /api/deleteApisByIds: + delete: + consumes: + - application/json + parameters: + - description: ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.IdsReq' + produces: + - application/json + responses: + "200": + description: 删除选中Api + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除选中Api + tags: + - SysApi + /api/freshCasbin: + get: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 刷新成功 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + summary: 刷新casbin缓存 + tags: + - SysApi + /api/getAllApis: + post: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 获取所有的Api 不分页,返回包括api列表 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysAPIListResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取所有的Api 不分页 + tags: + - SysApi + /api/getApiById: + post: + consumes: + - application/json + parameters: + - description: 根据id获取api + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.GetById' + produces: + - application/json + responses: + "200": + description: 根据id获取api,返回包括api详情 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysAPIResponse' + type: object + security: + - ApiKeyAuth: [] + summary: 根据id获取api + tags: + - SysApi + /api/getApiList: + post: + consumes: + - application/json + parameters: + - description: 分页获取API列表 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.SearchApiParams' + produces: + - application/json + responses: + "200": + description: 分页获取API列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页获取API列表 + tags: + - SysApi + /api/updateApi: + post: + consumes: + - application/json + parameters: + - description: api路径, api中文描述, api组, 方法 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysApi' + produces: + - application/json + responses: + "200": + description: 修改基础api + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 修改基础api + tags: + - SysApi + /authority/copyAuthority: + post: + consumes: + - application/json + parameters: + - description: 旧角色id, 新权限id, 新权限名, 新父角色id + in: body + name: data + required: true + schema: + $ref: '#/definitions/response.SysAuthorityCopyResponse' + produces: + - application/json + responses: + "200": + description: 拷贝角色,返回包括系统角色详情 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysAuthorityResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 拷贝角色 + tags: + - Authority + /authority/createAuthority: + post: + consumes: + - application/json + parameters: + - description: 权限id, 权限名, 父角色id + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysAuthority' + produces: + - application/json + responses: + "200": + description: 创建角色,返回包括系统角色详情 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysAuthorityResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 创建角色 + tags: + - Authority + /authority/deleteAuthority: + post: + consumes: + - application/json + parameters: + - description: 删除角色 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysAuthority' + produces: + - application/json + responses: + "200": + description: 删除角色 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除角色 + tags: + - Authority + /authority/getAuthorityList: + post: + consumes: + - application/json + parameters: + - description: 页码, 每页大小 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.PageInfo' + produces: + - application/json + responses: + "200": + description: 分页获取角色列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页获取角色列表 + tags: + - Authority + /authority/setDataAuthority: + post: + consumes: + - application/json + parameters: + - description: 设置角色资源权限 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysAuthority' + produces: + - application/json + responses: + "200": + description: 设置角色资源权限 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 设置角色资源权限 + tags: + - Authority + /authority/updateAuthority: + post: + consumes: + - application/json + parameters: + - description: 权限id, 权限名, 父角色id + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysAuthority' + produces: + - application/json + responses: + "200": + description: 更新角色信息,返回包括系统角色详情 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysAuthorityResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 更新角色信息 + tags: + - Authority + /authorityBtn/canRemoveAuthorityBtn: + post: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 删除成功 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 设置权限按钮 + tags: + - AuthorityBtn + /authorityBtn/getAuthorityBtn: + post: + consumes: + - application/json + parameters: + - description: 菜单id, 角色id, 选中的按钮id + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.SysAuthorityBtnReq' + produces: + - application/json + responses: + "200": + description: 返回列表成功 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysAuthorityBtnRes' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取权限按钮 + tags: + - AuthorityBtn + /authorityBtn/setAuthorityBtn: + post: + consumes: + - application/json + parameters: + - description: 菜单id, 角色id, 选中的按钮id + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.SysAuthorityBtnReq' + produces: + - application/json + responses: + "200": + description: 返回列表成功 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 设置权限按钮 + tags: + - AuthorityBtn + /autoCode/createPackage: + post: + consumes: + - application/json + parameters: + - description: 创建package + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysAutoCode' + produces: + - application/json + responses: + "200": + description: 创建package成功 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 创建package + tags: + - AutoCode + /autoCode/createPlug: + post: + consumes: + - multipart/form-data + parameters: + - description: this is a test file + in: formData + name: plug + required: true + type: file + produces: + - application/json + responses: + "200": + description: 安装插件成功 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + items: + type: object + type: array + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 安装插件 + tags: + - AutoCode + /autoCode/createTemp: + post: + consumes: + - application/json + parameters: + - description: 创建自动代码 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.AutoCodeStruct' + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"创建成功"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 自动代码模板 + tags: + - AutoCode + /autoCode/delPackage: + post: + consumes: + - application/json + parameters: + - description: 创建package + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysAutoCode' + produces: + - application/json + responses: + "200": + description: 删除package成功 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除package + tags: + - AutoCode + /autoCode/delSysHistory: + post: + consumes: + - application/json + parameters: + - description: 请求参数 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.GetById' + produces: + - application/json + responses: + "200": + description: 删除回滚记录 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除回滚记录 + tags: + - AutoCode + /autoCode/getColumn: + get: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 获取当前表所有字段 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取当前表所有字段 + tags: + - AutoCode + /autoCode/getDatabase: + get: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 获取当前所有数据库 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取当前所有数据库 + tags: + - AutoCode + /autoCode/getMeta: + post: + consumes: + - application/json + parameters: + - description: 请求参数 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.GetById' + produces: + - application/json + responses: + "200": + description: 获取meta信息 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取meta信息 + tags: + - AutoCode + /autoCode/getPackage: + post: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 创建package成功 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取package + tags: + - AutoCode + /autoCode/getSysHistory: + post: + consumes: + - application/json + parameters: + - description: 请求参数 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.SysAutoHistory' + produces: + - application/json + responses: + "200": + description: 查询回滚记录,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 查询回滚记录 + tags: + - AutoCode + /autoCode/getTables: + get: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 获取当前数据库所有表 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取当前数据库所有表 + tags: + - AutoCode + /autoCode/preview: + post: + consumes: + - application/json + parameters: + - description: 预览创建代码 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.AutoCodeStruct' + produces: + - application/json + responses: + "200": + description: 预览创建后的代码 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 预览创建后的代码 + tags: + - AutoCode + /autoCode/rollback: + post: + consumes: + - application/json + parameters: + - description: 请求参数 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.RollBack' + produces: + - application/json + responses: + "200": + description: 回滚自动生成代码 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 回滚自动生成代码 + tags: + - AutoCode + /base/captcha: + post: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 生成验证码,返回包括随机数id,base64,验证码长度,是否开启验证码 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysCaptchaResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 生成验证码 + tags: + - Base + /base/login: + post: + parameters: + - description: 用户名, 密码, 验证码 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.Login' + produces: + - application/json + responses: + "200": + description: 返回包括用户信息,token,过期时间 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.LoginResponse' + msg: + type: string + type: object + summary: 用户登录 + tags: + - Base + /casbin/UpdateCasbin: + post: + consumes: + - application/json + parameters: + - description: 权限id, 权限模型列表 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.CasbinInReceive' + produces: + - application/json + responses: + "200": + description: 更新角色api权限 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 更新角色api权限 + tags: + - Casbin + /casbin/getPolicyPathByAuthorityId: + post: + consumes: + - application/json + parameters: + - description: 权限id, 权限模型列表 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.CasbinInReceive' + produces: + - application/json + responses: + "200": + description: 获取权限列表,返回包括casbin详情列表 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PolicyPathResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取权限列表 + tags: + - Casbin + /customer/customer: + delete: + consumes: + - application/json + parameters: + - description: 客户ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/example.ExaCustomer' + produces: + - application/json + responses: + "200": + description: 删除客户 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除客户 + tags: + - ExaCustomer + get: + consumes: + - application/json + parameters: + - description: 创建时间 + in: query + name: createdAt + type: string + - description: 客户名 + in: query + name: customerName + type: string + - description: 客户手机号 + in: query + name: customerPhoneData + type: string + - description: 主键ID + in: query + name: id + type: integer + - description: 管理角色ID + in: query + name: sysUserAuthorityID + type: integer + - description: 管理ID + in: query + name: sysUserId + type: integer + - description: 更新时间 + in: query + name: updatedAt + type: string + produces: + - application/json + responses: + "200": + description: 获取单一客户信息,返回包括客户详情 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.ExaCustomerResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取单一客户信息 + tags: + - ExaCustomer + post: + consumes: + - application/json + parameters: + - description: 客户用户名, 客户手机号码 + in: body + name: data + required: true + schema: + $ref: '#/definitions/example.ExaCustomer' + produces: + - application/json + responses: + "200": + description: 创建客户 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 创建客户 + tags: + - ExaCustomer + put: + consumes: + - application/json + parameters: + - description: 客户ID, 客户信息 + in: body + name: data + required: true + schema: + $ref: '#/definitions/example.ExaCustomer' + produces: + - application/json + responses: + "200": + description: 更新客户信息 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 更新客户信息 + tags: + - ExaCustomer + /customer/customerList: + get: + consumes: + - application/json + parameters: + - description: 关键字 + in: query + name: keyword + type: string + - description: 页码 + in: query + name: page + type: integer + - description: 每页大小 + in: query + name: pageSize + type: integer + produces: + - application/json + responses: + "200": + description: 分页获取权限客户列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页获取权限客户列表 + tags: + - ExaCustomer + /email/emailTest: + post: + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"发送成功"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 发送测试邮件 + tags: + - System + /email/sendEmail: + post: + parameters: + - description: 发送邮件必须的参数 + in: body + name: data + required: true + schema: + $ref: '#/definitions/response.Email' + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"发送成功"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 发送邮件 + tags: + - System + /fileUploadAndDownload/breakpointContinue: + post: + consumes: + - multipart/form-data + parameters: + - description: an example for breakpoint resume, 断点续传示例 + in: formData + name: file + required: true + type: file + produces: + - application/json + responses: + "200": + description: 断点续传到服务器 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 断点续传到服务器 + tags: + - ExaFileUploadAndDownload + /fileUploadAndDownload/deleteFile: + post: + parameters: + - description: 传入文件里面id即可 + in: body + name: data + required: true + schema: + $ref: '#/definitions/example.ExaFileUploadAndDownload' + produces: + - application/json + responses: + "200": + description: 删除文件 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除文件 + tags: + - ExaFileUploadAndDownload + /fileUploadAndDownload/findFile: + post: + consumes: + - multipart/form-data + parameters: + - description: 上传文件完成 + in: formData + name: file + required: true + type: file + produces: + - application/json + responses: + "200": + description: 创建文件,返回包括文件路径 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.FilePathResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 创建文件 + tags: + - ExaFileUploadAndDownload + /fileUploadAndDownload/getFileList: + post: + consumes: + - application/json + parameters: + - description: 页码, 每页大小 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.PageInfo' + produces: + - application/json + responses: + "200": + description: 分页文件列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页文件列表 + tags: + - ExaFileUploadAndDownload + /fileUploadAndDownload/removeChunk: + post: + consumes: + - multipart/form-data + parameters: + - description: 删除缓存切片 + in: formData + name: file + required: true + type: file + produces: + - application/json + responses: + "200": + description: 删除切片 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除切片 + tags: + - ExaFileUploadAndDownload + /fileUploadAndDownload/upload: + post: + consumes: + - multipart/form-data + parameters: + - description: 上传文件示例 + in: formData + name: file + required: true + type: file + produces: + - application/json + responses: + "200": + description: 上传文件示例,返回包括文件详情 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.ExaFileResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 上传文件示例 + tags: + - ExaFileUploadAndDownload + /init/checkdb: + post: + produces: + - application/json + responses: + "200": + description: 初始化用户数据库 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + summary: 初始化用户数据库 + tags: + - CheckDB + /init/initdb: + post: + parameters: + - description: 初始化数据库参数 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.InitDB' + produces: + - application/json + responses: + "200": + description: 初始化用户数据库 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + type: string + type: object + summary: 初始化用户数据库 + tags: + - InitDB + /jwt/jsonInBlacklist: + post: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: jwt加入黑名单 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: jwt加入黑名单 + tags: + - Jwt + /menu/addBaseMenu: + post: + consumes: + - application/json + parameters: + - description: 路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysBaseMenu' + produces: + - application/json + responses: + "200": + description: 新增菜单 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 新增菜单 + tags: + - Menu + /menu/addMenuAuthority: + post: + consumes: + - application/json + parameters: + - description: 角色ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.AddMenuAuthorityInfo' + produces: + - application/json + responses: + "200": + description: 增加menu和角色关联关系 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 增加menu和角色关联关系 + tags: + - AuthorityMenu + /menu/deleteBaseMenu: + post: + consumes: + - application/json + parameters: + - description: 菜单id + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.GetById' + produces: + - application/json + responses: + "200": + description: 删除菜单 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除菜单 + tags: + - Menu + /menu/getBaseMenuById: + post: + consumes: + - application/json + parameters: + - description: 菜单id + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.GetById' + produces: + - application/json + responses: + "200": + description: 根据id获取菜单,返回包括系统菜单列表 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysBaseMenuResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 根据id获取菜单 + tags: + - Menu + /menu/getBaseMenuTree: + post: + parameters: + - description: 空 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.Empty' + produces: + - application/json + responses: + "200": + description: 获取用户动态路由,返回包括系统菜单列表 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysBaseMenusResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取用户动态路由 + tags: + - AuthorityMenu + /menu/getMenu: + post: + parameters: + - description: 空 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.Empty' + produces: + - application/json + responses: + "200": + description: 获取用户动态路由,返回包括系统菜单详情列表 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysMenusResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取用户动态路由 + tags: + - AuthorityMenu + /menu/getMenuAuthority: + post: + consumes: + - application/json + parameters: + - description: 角色ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.GetAuthorityId' + produces: + - application/json + responses: + "200": + description: 获取指定角色menu + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取指定角色menu + tags: + - AuthorityMenu + /menu/getMenuList: + post: + consumes: + - application/json + parameters: + - description: 页码, 每页大小 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.PageInfo' + produces: + - application/json + responses: + "200": + description: 分页获取基础menu列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页获取基础menu列表 + tags: + - Menu + /menu/updateBaseMenu: + post: + consumes: + - application/json + parameters: + - description: 路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysBaseMenu' + produces: + - application/json + responses: + "200": + description: 更新菜单 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 更新菜单 + tags: + - Menu + /sysDictionary/createSysDictionary: + post: + consumes: + - application/json + parameters: + - description: SysDictionary模型 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysDictionary' + produces: + - application/json + responses: + "200": + description: 创建SysDictionary + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 创建SysDictionary + tags: + - SysDictionary + /sysDictionary/deleteSysDictionary: + delete: + consumes: + - application/json + parameters: + - description: SysDictionary模型 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysDictionary' + produces: + - application/json + responses: + "200": + description: 删除SysDictionary + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除SysDictionary + tags: + - SysDictionary + /sysDictionary/findSysDictionary: + get: + consumes: + - application/json + parameters: + - description: 创建时间 + in: query + name: createdAt + type: string + - description: 描述 + in: query + name: desc + type: string + - description: 主键ID + in: query + name: id + type: integer + - description: 字典名(中) + in: query + name: name + type: string + - description: 状态 + in: query + name: status + type: boolean + - description: 字典名(英) + in: query + name: type + type: string + - description: 更新时间 + in: query + name: updatedAt + type: string + produces: + - application/json + responses: + "200": + description: 用id查询SysDictionary + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 用id查询SysDictionary + tags: + - SysDictionary + /sysDictionary/getSysDictionaryList: + get: + consumes: + - application/json + parameters: + - description: 创建时间 + in: query + name: createdAt + type: string + - description: 描述 + in: query + name: desc + type: string + - description: 主键ID + in: query + name: id + type: integer + - description: 关键字 + in: query + name: keyword + type: string + - description: 字典名(中) + in: query + name: name + type: string + - description: 页码 + in: query + name: page + type: integer + - description: 每页大小 + in: query + name: pageSize + type: integer + - description: 状态 + in: query + name: status + type: boolean + - description: 字典名(英) + in: query + name: type + type: string + - description: 更新时间 + in: query + name: updatedAt + type: string + produces: + - application/json + responses: + "200": + description: 分页获取SysDictionary列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页获取SysDictionary列表 + tags: + - SysDictionary + /sysDictionary/updateSysDictionary: + put: + consumes: + - application/json + parameters: + - description: SysDictionary模型 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysDictionary' + produces: + - application/json + responses: + "200": + description: 更新SysDictionary + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 更新SysDictionary + tags: + - SysDictionary + /sysDictionaryDetail/createSysDictionaryDetail: + post: + consumes: + - application/json + parameters: + - description: SysDictionaryDetail模型 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysDictionaryDetail' + produces: + - application/json + responses: + "200": + description: 创建SysDictionaryDetail + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 创建SysDictionaryDetail + tags: + - SysDictionaryDetail + /sysDictionaryDetail/deleteSysDictionaryDetail: + delete: + consumes: + - application/json + parameters: + - description: SysDictionaryDetail模型 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysDictionaryDetail' + produces: + - application/json + responses: + "200": + description: 删除SysDictionaryDetail + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除SysDictionaryDetail + tags: + - SysDictionaryDetail + /sysDictionaryDetail/findSysDictionaryDetail: + get: + consumes: + - application/json + parameters: + - description: 创建时间 + in: query + name: createdAt + type: string + - description: 主键ID + in: query + name: id + type: integer + - description: 展示值 + in: query + name: label + type: string + - description: 排序标记 + in: query + name: sort + type: integer + - description: 启用状态 + in: query + name: status + type: boolean + - description: 关联标记 + in: query + name: sysDictionaryID + type: integer + - description: 更新时间 + in: query + name: updatedAt + type: string + - description: 字典值 + in: query + name: value + type: integer + produces: + - application/json + responses: + "200": + description: 用id查询SysDictionaryDetail + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 用id查询SysDictionaryDetail + tags: + - SysDictionaryDetail + /sysDictionaryDetail/getSysDictionaryDetailList: + get: + consumes: + - application/json + parameters: + - description: 创建时间 + in: query + name: createdAt + type: string + - description: 主键ID + in: query + name: id + type: integer + - description: 关键字 + in: query + name: keyword + type: string + - description: 展示值 + in: query + name: label + type: string + - description: 页码 + in: query + name: page + type: integer + - description: 每页大小 + in: query + name: pageSize + type: integer + - description: 排序标记 + in: query + name: sort + type: integer + - description: 启用状态 + in: query + name: status + type: boolean + - description: 关联标记 + in: query + name: sysDictionaryID + type: integer + - description: 更新时间 + in: query + name: updatedAt + type: string + - description: 字典值 + in: query + name: value + type: integer + produces: + - application/json + responses: + "200": + description: 分页获取SysDictionaryDetail列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页获取SysDictionaryDetail列表 + tags: + - SysDictionaryDetail + /sysDictionaryDetail/updateSysDictionaryDetail: + put: + consumes: + - application/json + parameters: + - description: 更新SysDictionaryDetail + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysDictionaryDetail' + produces: + - application/json + responses: + "200": + description: 更新SysDictionaryDetail + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 更新SysDictionaryDetail + tags: + - SysDictionaryDetail + /sysOperationRecord/createSysOperationRecord: + post: + consumes: + - application/json + parameters: + - description: 创建SysOperationRecord + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysOperationRecord' + produces: + - application/json + responses: + "200": + description: 创建SysOperationRecord + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 创建SysOperationRecord + tags: + - SysOperationRecord + /sysOperationRecord/deleteSysOperationRecord: + delete: + consumes: + - application/json + parameters: + - description: SysOperationRecord模型 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysOperationRecord' + produces: + - application/json + responses: + "200": + description: 删除SysOperationRecord + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除SysOperationRecord + tags: + - SysOperationRecord + /sysOperationRecord/deleteSysOperationRecordByIds: + delete: + consumes: + - application/json + parameters: + - description: 批量删除SysOperationRecord + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.IdsReq' + produces: + - application/json + responses: + "200": + description: 批量删除SysOperationRecord + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 批量删除SysOperationRecord + tags: + - SysOperationRecord + /sysOperationRecord/findSysOperationRecord: + get: + consumes: + - application/json + parameters: + - description: 代理 + in: query + name: agent + type: string + - description: 请求Body + in: query + name: body + type: string + - description: 创建时间 + in: query + name: createdAt + type: string + - description: 错误信息 + in: query + name: error_message + type: string + - description: 主键ID + in: query + name: id + type: integer + - description: 请求ip + in: query + name: ip + type: string + - description: 延迟 + in: query + name: latency + type: string + - description: 请求方法 + in: query + name: method + type: string + - description: 请求路径 + in: query + name: path + type: string + - description: 响应Body + in: query + name: resp + type: string + - description: 请求状态 + in: query + name: status + type: integer + - description: 更新时间 + in: query + name: updatedAt + type: string + - description: 用户id + in: query + name: user_id + type: integer + produces: + - application/json + responses: + "200": + description: 用id查询SysOperationRecord + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 用id查询SysOperationRecord + tags: + - SysOperationRecord + /sysOperationRecord/getSysOperationRecordList: + get: + consumes: + - application/json + parameters: + - description: 代理 + in: query + name: agent + type: string + - description: 请求Body + in: query + name: body + type: string + - description: 创建时间 + in: query + name: createdAt + type: string + - description: 错误信息 + in: query + name: error_message + type: string + - description: 主键ID + in: query + name: id + type: integer + - description: 请求ip + in: query + name: ip + type: string + - description: 关键字 + in: query + name: keyword + type: string + - description: 延迟 + in: query + name: latency + type: string + - description: 请求方法 + in: query + name: method + type: string + - description: 页码 + in: query + name: page + type: integer + - description: 每页大小 + in: query + name: pageSize + type: integer + - description: 请求路径 + in: query + name: path + type: string + - description: 响应Body + in: query + name: resp + type: string + - description: 请求状态 + in: query + name: status + type: integer + - description: 更新时间 + in: query + name: updatedAt + type: string + - description: 用户id + in: query + name: user_id + type: integer + produces: + - application/json + responses: + "200": + description: 分页获取SysOperationRecord列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页获取SysOperationRecord列表 + tags: + - SysOperationRecord + /system/getServerInfo: + post: + produces: + - application/json + responses: + "200": + description: 获取服务器信息 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取服务器信息 + tags: + - System + /system/getSystemConfig: + post: + produces: + - application/json + responses: + "200": + description: 获取配置文件内容,返回包括系统配置 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysConfigResponse' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取配置文件内容 + tags: + - System + /system/reloadSystem: + post: + produces: + - application/json + responses: + "200": + description: 重启系统 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 重启系统 + tags: + - System + /system/setSystemConfig: + post: + parameters: + - description: 设置配置文件内容 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.System' + produces: + - application/json + responses: + "200": + description: 设置配置文件内容 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 设置配置文件内容 + tags: + - System + /user/SetSelfInfo: + put: + consumes: + - application/json + parameters: + - description: ID, 用户名, 昵称, 头像链接 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysUser' + produces: + - application/json + responses: + "200": + description: 设置用户信息 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 设置用户信息 + tags: + - SysUser + /user/admin_register: + post: + parameters: + - description: 用户名, 昵称, 密码, 角色ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.Register' + produces: + - application/json + responses: + "200": + description: 用户注册账号,返回包括用户信息 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.SysUserResponse' + msg: + type: string + type: object + summary: 用户注册账号 + tags: + - SysUser + /user/changePassword: + post: + parameters: + - description: 用户名, 原密码, 新密码 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.ChangePasswordReq' + produces: + - application/json + responses: + "200": + description: 用户修改密码 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 用户修改密码 + tags: + - SysUser + /user/deleteUser: + delete: + consumes: + - application/json + parameters: + - description: 用户ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.GetById' + produces: + - application/json + responses: + "200": + description: 删除用户 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 删除用户 + tags: + - SysUser + /user/getUserInfo: + get: + consumes: + - application/json + produces: + - application/json + responses: + "200": + description: 获取用户信息 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 获取用户信息 + tags: + - SysUser + /user/getUserList: + post: + consumes: + - application/json + parameters: + - description: 页码, 每页大小 + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.PageInfo' + produces: + - application/json + responses: + "200": + description: 分页获取用户列表,返回包括列表,总数,页码,每页数量 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + $ref: '#/definitions/response.PageResult' + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 分页获取用户列表 + tags: + - SysUser + /user/resetPassword: + post: + parameters: + - description: ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysUser' + produces: + - application/json + responses: + "200": + description: 重置用户密码 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 重置用户密码 + tags: + - SysUser + /user/setUserAuthorities: + post: + consumes: + - application/json + parameters: + - description: 用户UUID, 角色ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.SetUserAuthorities' + produces: + - application/json + responses: + "200": + description: 设置用户权限 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 设置用户权限 + tags: + - SysUser + /user/setUserAuthority: + post: + consumes: + - application/json + parameters: + - description: 用户UUID, 角色ID + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.SetUserAuth' + produces: + - application/json + responses: + "200": + description: 设置用户权限 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 更改用户权限 + tags: + - SysUser + /user/setUserInfo: + put: + consumes: + - application/json + parameters: + - description: ID, 用户名, 昵称, 头像链接 + in: body + name: data + required: true + schema: + $ref: '#/definitions/system.SysUser' + produces: + - application/json + responses: + "200": + description: 设置用户信息 + schema: + allOf: + - $ref: '#/definitions/response.Response' + - properties: + data: + additionalProperties: true + type: object + msg: + type: string + type: object + security: + - ApiKeyAuth: [] + summary: 设置用户信息 + tags: + - SysUser +securityDefinitions: + ApiKeyAuth: + in: header + name: x-token + type: apiKey +swagger: "2.0" diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/global/global.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/global/global.go new file mode 100644 index 000000000..f7f93c2bb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/global/global.go @@ -0,0 +1,53 @@ +package global + +import ( + "github.com/qiniu/qmgo" + "sync" + + "github.com/flipped-aurora/gin-vue-admin/server/utils/timer" + "github.com/songzhibin97/gkit/cache/local_cache" + + "golang.org/x/sync/singleflight" + + "go.uber.org/zap" + + "github.com/flipped-aurora/gin-vue-admin/server/config" + + "github.com/redis/go-redis/v9" + "github.com/spf13/viper" + "gorm.io/gorm" +) + +var ( + GVA_DB *gorm.DB + GVA_DBList map[string]*gorm.DB + GVA_REDIS *redis.Client + GVA_MONGO *qmgo.QmgoClient + GVA_CONFIG config.Server + GVA_VP *viper.Viper + // GVA_LOG *oplogging.Logger + GVA_LOG *zap.Logger + GVA_Timer timer.Timer = timer.NewTimerTask() + GVA_Concurrency_Control = &singleflight.Group{} + + BlackCache local_cache.Cache + lock sync.RWMutex +) + +// GetGlobalDBByDBName 通过名称获取db list中的db +func GetGlobalDBByDBName(dbname string) *gorm.DB { + lock.RLock() + defer lock.RUnlock() + return GVA_DBList[dbname] +} + +// MustGetGlobalDBByDBName 通过名称获取db 如果不存在则panic +func MustGetGlobalDBByDBName(dbname string) *gorm.DB { + lock.RLock() + defer lock.RUnlock() + db, ok := GVA_DBList[dbname] + if !ok || db == nil { + panic("db no init") + } + return db +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/global/model.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/global/model.go new file mode 100644 index 000000000..2a497bd1e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/global/model.go @@ -0,0 +1,14 @@ +package global + +import ( + "time" + + "gorm.io/gorm" +) + +type GVA_MODEL struct { + ID uint `gorm:"primarykey"` // 主键ID + CreatedAt time.Time // 创建时间 + UpdatedAt time.Time // 更新时间 + DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` // 删除时间 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/go.mod b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/go.mod new file mode 100644 index 000000000..8f3684a50 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/go.mod @@ -0,0 +1,138 @@ +module github.com/flipped-aurora/gin-vue-admin/server + +go 1.18 + +require ( + github.com/aliyun/aliyun-oss-go-sdk v2.2.7+incompatible + github.com/aws/aws-sdk-go v1.44.307 + github.com/casbin/casbin/v2 v2.71.1 + github.com/casbin/gorm-adapter/v3 v3.18.0 + github.com/disintegration/gift v1.2.1 + github.com/flipped-aurora/ws v1.0.2 + github.com/fsnotify/fsnotify v1.6.0 + github.com/fvbock/endless v0.0.0-20170109170031-447134032cb6 + github.com/gin-gonic/gin v1.9.1 + github.com/glebarez/sqlite v1.8.0 + github.com/go-sql-driver/mysql v1.7.1 + github.com/gofrs/uuid/v5 v5.0.0 + github.com/golang-jwt/jwt/v4 v4.5.0 + github.com/gookit/color v1.5.4 + github.com/huaweicloud/huaweicloud-sdk-go-obs v3.21.8+incompatible + github.com/jordan-wright/email v0.0.0-20200824153738-3f5bafa1cd84 + github.com/mojocn/base64Captcha v1.3.5 + github.com/otiai10/copy v1.7.0 + github.com/pkg/errors v0.9.1 + github.com/qiniu/api.v7/v7 v7.4.1 + github.com/qiniu/qmgo v1.1.8 + github.com/redis/go-redis/v9 v9.0.5 + github.com/robfig/cron/v3 v3.0.1 + github.com/sashabaranov/go-openai v1.14.1 + github.com/shirou/gopsutil/v3 v3.23.6 + github.com/songzhibin97/gkit v1.2.11 + github.com/spf13/viper v1.16.0 + github.com/stretchr/testify v1.8.4 + github.com/swaggo/files v1.0.1 + github.com/swaggo/gin-swagger v1.6.0 + github.com/swaggo/swag v1.16.1 + github.com/tencentyun/cos-go-sdk-v5 v0.7.42 + github.com/unrolled/secure v1.13.0 + go.mongodb.org/mongo-driver v1.12.1 + go.uber.org/zap v1.24.0 + golang.org/x/crypto v0.10.0 + golang.org/x/sync v0.3.0 + golang.org/x/text v0.11.0 + gorm.io/driver/mysql v1.5.1 + gorm.io/driver/postgres v1.5.2 + gorm.io/driver/sqlserver v1.5.1 + gorm.io/gorm v1.25.2 + nhooyr.io/websocket v1.8.7 +) + +require ( + github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible // indirect + github.com/KyleBanks/depth v1.2.1 // indirect + github.com/bytedance/sonic v1.9.1 // indirect + github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect + github.com/clbanning/mxj v1.8.4 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect + github.com/dustin/go-humanize v1.0.1 // indirect + github.com/gabriel-vasile/mimetype v1.4.2 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/glebarez/go-sqlite v1.21.1 // indirect + github.com/go-ole/go-ole v1.2.6 // indirect + github.com/go-openapi/jsonpointer v0.19.6 // indirect + github.com/go-openapi/jsonreference v0.20.2 // indirect + github.com/go-openapi/spec v0.20.9 // indirect + github.com/go-openapi/swag v0.22.3 // indirect + github.com/go-playground/locales v0.14.1 // indirect + github.com/go-playground/universal-translator v0.18.1 // indirect + github.com/go-playground/validator/v10 v10.14.0 // indirect + github.com/goccy/go-json v0.10.2 // indirect + github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect + github.com/golang-sql/sqlexp v0.1.0 // indirect + github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect + github.com/golang/snappy v0.0.1 // indirect + github.com/google/go-querystring v1.0.0 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/jackc/pgpassfile v1.0.0 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect + github.com/jackc/pgx/v5 v5.3.1 // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/jinzhu/now v1.1.5 // indirect + github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/josharian/intern v1.0.0 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/klauspost/compress v1.13.6 // indirect + github.com/klauspost/cpuid/v2 v2.2.4 // indirect + github.com/leodido/go-urn v1.2.4 // indirect + github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect + github.com/magiconair/properties v1.8.7 // indirect + github.com/mailru/easyjson v0.7.7 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + github.com/microsoft/go-mssqldb v1.1.0 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/montanaflynn/stats v0.7.0 // indirect + github.com/mozillazg/go-httpheader v0.2.1 // indirect + github.com/pelletier/go-toml/v2 v2.0.8 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect + github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect + github.com/shoenig/go-m1cpu v0.1.6 // indirect + github.com/spf13/afero v1.9.5 // indirect + github.com/spf13/cast v1.5.1 // indirect + github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/subosito/gotenv v1.4.2 // indirect + github.com/tklauser/go-sysconf v0.3.11 // indirect + github.com/tklauser/numcpus v0.6.0 // indirect + github.com/twitchyliquid64/golang-asm v0.15.1 // indirect + github.com/ugorji/go/codec v1.2.11 // indirect + github.com/xdg-go/pbkdf2 v1.0.0 // indirect + github.com/xdg-go/scram v1.1.2 // indirect + github.com/xdg-go/stringprep v1.0.4 // indirect + github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect + github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect + github.com/yusufpapurcu/wmi v1.2.3 // indirect + go.uber.org/atomic v1.9.0 // indirect + go.uber.org/multierr v1.8.0 // indirect + golang.org/x/arch v0.3.0 // indirect + golang.org/x/image v0.5.0 // indirect + golang.org/x/net v0.10.0 // indirect + golang.org/x/sys v0.10.0 // indirect + golang.org/x/time v0.1.0 // indirect + golang.org/x/tools v0.9.1 // indirect + google.golang.org/protobuf v1.30.0 // indirect + gopkg.in/ini.v1 v1.67.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + gorm.io/plugin/dbresolver v1.4.1 // indirect + modernc.org/libc v1.24.1 // indirect + modernc.org/mathutil v1.5.0 // indirect + modernc.org/memory v1.6.0 // indirect + modernc.org/sqlite v1.23.0 // indirect +) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/go.sum b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/go.sum new file mode 100644 index 000000000..074641ee1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/go.sum @@ -0,0 +1,871 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0/go.mod h1:OQeznEEkTZ9OrhHJoDD8ZDq51FHgXjqtP9z6bEwBq9U= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0/go.mod h1:okt5dMMTOFjX/aovMlrjvvXoPMBVSPzk9185BT0+eZM= +github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0/go.mod h1:kgDmCTgBzIEPFElEF+FK0SdjAor06dRq2Go927dnQ6o= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible h1:1G1pk05UrOh0NlF1oeaaix1x8XzrfjIDK47TY0Zehcw= +github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= +github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc= +github.com/KyleBanks/depth v1.2.1/go.mod h1:jzSb9d0L43HxTQfT+oSA1EEp2q+ne2uh6XgeJcm8brE= +github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mod h1:1pk82RBxDY/JZnPQrtqHlUFfCctgdorsd9M06fMynOM= +github.com/aliyun/aliyun-oss-go-sdk v2.2.7+incompatible h1:KpbJFXwhVeuxNtBJ74MCGbIoaBok2uZvkD7QXp2+Wis= +github.com/aliyun/aliyun-oss-go-sdk v2.2.7+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= +github.com/aws/aws-sdk-go v1.44.307 h1:2R0/EPgpZcFSUwZhYImq/srjaOrOfLv5MNRzrFyAM38= +github.com/aws/aws-sdk-go v1.44.307/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= +github.com/bsm/ginkgo/v2 v2.7.0 h1:ItPMPH90RbmZJt5GtkcNvIRuGEdwlBItdNVoyzaNQao= +github.com/bsm/gomega v1.26.0 h1:LhQm+AFcgV2M0WyKroMASzAzCAJVpAxQXv4SaI9a69Y= +github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= +github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s= +github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= +github.com/casbin/casbin/v2 v2.71.1 h1:LRHyqM0S1LzM/K59PmfUIN0ZJfLgcOjL4OhOQI/FNXU= +github.com/casbin/casbin/v2 v2.71.1/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg= +github.com/casbin/gorm-adapter/v3 v3.18.0 h1:0td7v030eK3H5ftXRHx1d5wVPbuYEJP2ObMSUHtA0Ek= +github.com/casbin/gorm-adapter/v3 v3.18.0/go.mod h1:ekufPNBgVIQvv9JffVGsg7KUv4DjnevTh6AQnBNkoK8= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= +github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/clbanning/mxj v1.8.4 h1:HuhwZtbyvyOw+3Z1AowPkU87JkJUSv751ELWaiTpj8I= +github.com/clbanning/mxj v1.8.4/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= +github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= +github.com/disintegration/gift v1.2.1 h1:Y005a1X4Z7Uc+0gLpSAsKhWi4qLtsdEcMIbbdvdZ6pc= +github.com/disintegration/gift v1.2.1/go.mod h1:Jh2i7f7Q2BM7Ezno3PhfezbR1xpUg9dUg3/RlKGr4HI= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/flipped-aurora/ws v1.0.2 h1:oEUz7sgrbPENvgli7Q4QpC0NIEbJucgR4yjcDMg/AjY= +github.com/flipped-aurora/ws v1.0.2/go.mod h1:RdyM2Fnvxx7f7A6WSmU1aAhDrQIAVW7LS/0LsAUE5mE= +github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= +github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= +github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/fvbock/endless v0.0.0-20170109170031-447134032cb6 h1:6VSn3hB5U5GeA6kQw4TwWIWbOhtvR2hmbBJnTOtqTWc= +github.com/fvbock/endless v0.0.0-20170109170031-447134032cb6/go.mod h1:YxOVT5+yHzKvwhsiSIWmbAYM3Dr9AEEbER2dVayfBkg= +github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= +github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= +github.com/gin-contrib/gzip v0.0.6 h1:NjcunTcGAj5CO1gn4N8jHOSIeRFHIbn51z6K+xaN4d4= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= +github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= +github.com/glebarez/go-sqlite v1.21.1 h1:7MZyUPh2XTrHS7xNEHQbrhfMZuPSzhkm2A1qgg0y5NY= +github.com/glebarez/go-sqlite v1.21.1/go.mod h1:ISs8MF6yk5cL4n/43rSOmVMGJJjHYr7L2MbZZ5Q4E2E= +github.com/glebarez/sqlite v1.8.0 h1:02X12E2I/4C1n+v90yTqrjRa8yuo7c3KeHI3FRznCvc= +github.com/glebarez/sqlite v1.8.0/go.mod h1:bpET16h1za2KOOMb8+jCp6UBP/iahDpfPQqSaYLTLx8= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= +github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= +github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= +github.com/go-openapi/jsonreference v0.20.0/go.mod h1:Ag74Ico3lPc+zR+qjn4XBUmXymS4zJbYVCZmcgkasdo= +github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= +github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= +github.com/go-openapi/spec v0.20.9 h1:xnlYNQAwKd2VQRRfwTEI0DcK+2cbuvI/0c7jx3gA8/8= +github.com/go-openapi/spec v0.20.9/go.mod h1:2OpW+JddWPrpXSCIX8eOx7lZ5iyuWj3RYR6VaaBKcWA= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= +github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= +github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= +github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= +github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= +github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= +github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= +github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= +github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= +github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= +github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js= +github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= +github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= +github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI= +github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= +github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee h1:s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0= +github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= +github.com/gobwas/pool v0.2.0 h1:QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8= +github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= +github.com/gobwas/ws v1.0.2 h1:CoAavW/wd/kulfZmSIBt6p24n4j7tHgNVCjsfHVNUbo= +github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= +github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= +github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/gofrs/uuid/v5 v5.0.0 h1:p544++a97kEL+svbcFbCQVM9KFu0Yo25UoISXGNNH9M= +github.com/gofrs/uuid/v5 v5.0.0/go.mod h1:CDOjlDMVAtN56jqyRUZh58JT31Tiw7/oQyEXZV+9bD8= +github.com/golang-jwt/jwt/v4 v4.4.3/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= +github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A= +github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4 h1:l75CXGRSwbaYNpl/Z2X1XIIAMSCquvXgpVZDhwEIJsc= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= +github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 h1:Xim43kblpZXfIBQsbuBVKCudVG457BR2GZFIz3uw3hQ= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= +github.com/gookit/color v1.5.4 h1:FZmqs7XOyGgCAxmWyPslpiok1k05wmY3SJTytgvYFs0= +github.com/gookit/color v1.5.4/go.mod h1:pZJOeOS8DM43rXbp4AZo1n9zCU2qjpcRko0b6/QJi9w= +github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= +github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= +github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM= +github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/huaweicloud/huaweicloud-sdk-go-obs v3.21.8+incompatible h1:3kDd8PIWAdU+qGs/+0QUgsMI2ZSiJPt45Xn0su+x/Q0= +github.com/huaweicloud/huaweicloud-sdk-go-obs v3.21.8+incompatible/go.mod h1:l7VUhRbTKCzdOacdT4oWCwATKyvZqUOlOqr0Ous3k4s= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= +github.com/jackc/pgx/v5 v5.3.1 h1:Fcr8QJ1ZeLi5zsPZqQeUZhNhxfkkKBOgJuYkJHoBOtU= +github.com/jackc/pgx/v5 v5.3.1/go.mod h1:t3JDKnCBlYIc0ewLF0Q7B8MXmoIaBOZj/ic7iHozM/8= +github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs= +github.com/jcmturner/dnsutils/v2 v2.0.0/go.mod h1:b0TnjGOvI/n42bZa+hmXL+kFJZsFT7G4t3HTlQ184QM= +github.com/jcmturner/gofork v1.7.6/go.mod h1:1622LH6i/EZqLloHfE7IeZ0uEJwMSUyQ/nDd82IeqRo= +github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxyjn/mY9zx4tFonSg= +github.com/jcmturner/gokrb5/v8 v8.4.4/go.mod h1:1btQEpgT6k+unzCwX1KdWMEwPPkkgBtP+F6aCACiMrs= +github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc= +github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= +github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= +github.com/jinzhu/now v1.1.4/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= +github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= +github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= +github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= +github.com/jordan-wright/email v0.0.0-20200824153738-3f5bafa1cd84 h1:pS0A6cr4aHYZnYwC7Uw+rwgb39+nzkm2QhwZ+S6Gn5I= +github.com/jordan-wright/email v0.0.0-20200824153738-3f5bafa1cd84/go.mod h1:1c7szIrayyPPB/987hsnvNzLushdWf4o/79s3P08L8A= +github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.13.6 h1:P76CopJELS0TiO2mebmnzgWaajssP/EszplttgQxcgc= +github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZXnvk= +github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= +github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= +github.com/lib/pq v1.10.2 h1:AqzbZs4ZoCBp+GtejcpCpcxM3zlSMx29dXbUSeVtJb8= +github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= +github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= +github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= +github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/microsoft/go-mssqldb v1.1.0 h1:jsV+tpvcPTbNNKW0o3kiCD69kOHICsfjZ2VcVu2lKYc= +github.com/microsoft/go-mssqldb v1.1.0/go.mod h1:LzkFdl4z2Ck+Hi+ycGOTbL56VEfgoyA2DvYejrNGbRk= +github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/mojocn/base64Captcha v1.3.5 h1:Qeilr7Ta6eDtG4S+tQuZ5+hO+QHbiGAJdi4PfoagaA0= +github.com/mojocn/base64Captcha v1.3.5/go.mod h1:/tTTXn4WTpX9CfrmipqRytCpJ27Uw3G6I7NcP2WwcmY= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= +github.com/montanaflynn/stats v0.7.0 h1:r3y12KyNxj/Sb/iOE46ws+3mS1+MZca1wlHQFPsY/JU= +github.com/montanaflynn/stats v0.7.0/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= +github.com/mozillazg/go-httpheader v0.2.1 h1:geV7TrjbL8KXSyvghnFm+NyTux/hxwueTSrwhe88TQQ= +github.com/mozillazg/go-httpheader v0.2.1/go.mod h1:jJ8xECTlalr6ValeXYdOF8fFUISeBAdw6E61aqQma60= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/otiai10/copy v1.7.0 h1:hVoPiN+t+7d2nzzwMiDHPSOogsWAStewq3TwU05+clE= +github.com/otiai10/copy v1.7.0/go.mod h1:rmRl6QPdJj6EiUqXQ/4Nn2lLXoNQjFCQbbNrxgc/t3U= +github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= +github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= +github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= +github.com/otiai10/mint v1.3.3 h1:7JgpsBaN0uMkyju4tbYHu0mnM55hNKVYLsXmwr15NQI= +github.com/otiai10/mint v1.3.3/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= +github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= +github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw= +github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/qiniu/api.v7/v7 v7.4.1 h1:BnNUBimLk6nrA/mIwsww9yJRupmViSsb1ndLMC7a9OY= +github.com/qiniu/api.v7/v7 v7.4.1/go.mod h1:VE5oC5rkE1xul0u1S2N0b2Uxq9/6hZzhyqjgK25XDcM= +github.com/qiniu/qmgo v1.1.8 h1:E64M+P59aqQpXKI24ClVtluYkLaJLkkeD2hTVhrdMks= +github.com/qiniu/qmgo v1.1.8/go.mod h1:QvZkzWNEv0buWPx0kdZsSs6URhESVubacxFPlITmvB8= +github.com/redis/go-redis/v9 v9.0.5 h1:CuQcn5HIEeK7BgElubPP8CGtE0KakrnbBSTLjathl5o= +github.com/redis/go-redis/v9 v9.0.5/go.mod h1:WqMKv5vnQbRuZstUwxQI195wHy+t4PuXDOjzMvcuQHk= +github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= +github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= +github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/sashabaranov/go-openai v1.14.1 h1:jqfkdj8XHnBF84oi2aNtT8Ktp3EJ0MfuVjvcMkfI0LA= +github.com/sashabaranov/go-openai v1.14.1/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= +github.com/shirou/gopsutil/v3 v3.23.6 h1:5y46WPI9QBKBbK7EEccUPNXpJpNrvPuTD0O2zHEHT08= +github.com/shirou/gopsutil/v3 v3.23.6/go.mod h1:j7QX50DrXYggrpN30W0Mo+I4/8U2UUIQrnrhqUeWrAU= +github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= +github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= +github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= +github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= +github.com/songzhibin97/gkit v1.2.11 h1:O8+l6eLMrZ2yNbT6Vohc6ggWnH5zt4P8/3ZEkf8jUL4= +github.com/songzhibin97/gkit v1.2.11/go.mod h1:axjYsiJWnn/kf/uGiUr9JPHRlt2CQrqfq/fPZ3xIY+M= +github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= +github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= +github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= +github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= +github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= +github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= +github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/swaggo/files v1.0.1 h1:J1bVJ4XHZNq0I46UU90611i9/YzdrF7x92oX1ig5IdE= +github.com/swaggo/files v1.0.1/go.mod h1:0qXmMNH6sXNf+73t65aKeB+ApmgxdnkQzVTAj2uaMUg= +github.com/swaggo/gin-swagger v1.6.0 h1:y8sxvQ3E20/RCyrXeFfg60r6H0Z+SwpTjMYsMm+zy8M= +github.com/swaggo/gin-swagger v1.6.0/go.mod h1:BG00cCEy294xtVpyIAHG6+e2Qzj/xKlRdOqDkvq0uzo= +github.com/swaggo/swag v1.16.1 h1:fTNRhKstPKxcnoKsytm4sahr8FaYzUcT7i1/3nd/fBg= +github.com/swaggo/swag v1.16.1/go.mod h1:9/LMvHycG3NFHfR6LwvikHv5iFvmPADQ359cKikGxto= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.563/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.563/go.mod h1:uom4Nvi9W+Qkom0exYiJ9VWJjXwyxtPYTkKkaLMlfE0= +github.com/tencentyun/cos-go-sdk-v5 v0.7.42 h1:Up1704BJjI5orycXKjpVpvuOInt9GC5pqY4knyE9Uds= +github.com/tencentyun/cos-go-sdk-v5 v0.7.42/go.mod h1:LUFnaqRmGk6pEHOaRmdn2dCZR2j0cSsM5xowWFPTPao= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tklauser/go-sysconf v0.3.11 h1:89WgdJhk5SNwJfu+GKyYveZ4IaJ7xAkecBo+KdJV0CM= +github.com/tklauser/go-sysconf v0.3.11/go.mod h1:GqXfhXY3kiPa0nAXPDIQIWzJbMCB7AmcWpGR8lSZfqI= +github.com/tklauser/numcpus v0.6.0 h1:kebhY2Qt+3U6RNK7UqpYNA+tJ23IBEGKkB7JQBfDYms= +github.com/tklauser/numcpus v0.6.0/go.mod h1:FEZLMke0lhOUG6w2JadTzp0a+Nl8PF/GFkQ5UVIcaL4= +github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= +github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= +github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= +github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU= +github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +github.com/unrolled/secure v1.13.0 h1:sdr3Phw2+f8Px8HE5sd1EHdj1aV3yUwed/uZXChLFsk= +github.com/unrolled/secure v1.13.0/go.mod h1:BmF5hyM6tXczk3MpQkFf1hpKSRqCyhqcbiQtiAF7+40= +github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.1.1/go.mod h1:RaEWvsqvNKKvBPvcKeFjrG2cJqOkHTiyTpzz23ni57g= +github.com/xdg-go/scram v1.1.2 h1:FHX5I5B4i4hKRVRBCFRxq1iQRej7WO3hhBuJf+UUySY= +github.com/xdg-go/scram v1.1.2/go.mod h1:RT/sEzTbU5y00aCK8UOx6R7YryM0iF1N2MOmC3kKLN4= +github.com/xdg-go/stringprep v1.0.3/go.mod h1:W3f5j4i+9rC0kuIEJL0ky1VpHXQU3ocBgklLGvcBnW8= +github.com/xdg-go/stringprep v1.0.4 h1:XLI/Ng3O1Atzq0oBs3TWm+5ZVgkq2aqdlvP9JtoZ6c8= +github.com/xdg-go/stringprep v1.0.4/go.mod h1:mPGuuIYwz7CmR2bT9j4GbQqutWS1zV24gijq1dTyGkM= +github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 h1:QldyIu/L63oPpyvQmHgvgickp1Yw510KJOqX7H24mg8= +github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778/go.mod h1:2MuV+tbUrU1zIOPMxZ5EncGwgmMJsa+9ucAQZXxsObs= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d h1:splanxYIlg+5LfHAM6xpdFEAYOk8iySO56hMFq6uLyA= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw= +github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= +go.mongodb.org/mongo-driver v1.11.6/go.mod h1:G9TgswdsWjX4tmDA5zfs2+6AEPpYJwqblyjsfuh8oXY= +go.mongodb.org/mongo-driver v1.12.1 h1:nLkghSU8fQNaK7oUmDhQFsnrtcoNy7Z6LVFKsEecqgE= +go.mongodb.org/mongo-driver v1.12.1/go.mod h1:/rGBTebI3XYboVmgz+Wv3Bcbl3aD0QF9zl6kDDw18rQ= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= +go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= +go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= +go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= +go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= +go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= +golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k= +golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM= +golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190501045829-6d32002ffd75/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.5.0 h1:5JMiNunQeQw++mMOz48/ISeNu3Iweh/JaZU8ZLqHRrI= +golang.org/x/image v0.5.0/go.mod h1:FVC7BI/5Ym8R25iw5OLsgshdUBbT1h5jZTpA+mvAdZ4= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= +golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= +golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.1.0 h1:xYY+Bajn2a7VBmTM5GikTmnK8ZuX8YgnQCqZpbBNtmA= +golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.9.1 h1:8WMNJAz3zrtPmnYC7ISf5dEn3MT0gY7jBJfw27yrrLo= +golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= +google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= +google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= +gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU= +gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gorm.io/driver/mysql v1.4.3/go.mod h1:sSIebwZAVPiT+27jK9HIwvsqOGKx3YMPmrA3mBJR10c= +gorm.io/driver/mysql v1.5.1 h1:WUEH5VF9obL/lTtzjmML/5e6VfFR/788coz2uaVCAZw= +gorm.io/driver/mysql v1.5.1/go.mod h1:Jo3Xu7mMhCyj8dlrb3WoCaRd1FhsVh+yMXb1jUInf5o= +gorm.io/driver/postgres v1.5.2 h1:ytTDxxEv+MplXOfFe3Lzm7SjG09fcdb3Z/c056DTBx0= +gorm.io/driver/postgres v1.5.2/go.mod h1:fmpX0m2I1PKuR7mKZiEluwrP3hbs+ps7JIGMUBpCgl8= +gorm.io/driver/sqlserver v1.5.1 h1:wpyW/pR26U94uaujltiFGXY7fd2Jw5hC9PB1ZF/Y5s4= +gorm.io/driver/sqlserver v1.5.1/go.mod h1:AYHzzte2msKTmYBYsSIq8ZUsznLJwBdkB2wpI+kt0nM= +gorm.io/gorm v1.23.8/go.mod h1:l2lP/RyAtc1ynaTjFksBde/O8v9oOGIApu2/xRitmZk= +gorm.io/gorm v1.24.3/go.mod h1:DVrVomtaYTbqs7gB/x2uVvqnXzv0nqjB396B8cG4dBA= +gorm.io/gorm v1.25.1/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= +gorm.io/gorm v1.25.2 h1:gs1o6Vsa+oVKG/a9ElL3XgyGfghFfkKA2SInQaCyMho= +gorm.io/gorm v1.25.2/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= +gorm.io/plugin/dbresolver v1.4.1 h1:Ug4LcoPhrvqq71UhxtF346f+skTYoCa/nEsdjvHwEzk= +gorm.io/plugin/dbresolver v1.4.1/go.mod h1:CTbCtMWhsjXSiJqiW2R8POvJ2cq18RVOl4WGyT5nhNc= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +modernc.org/libc v1.24.1 h1:uvJSeCKL/AgzBo2yYIPPTy82v21KgGnizcGYfBHaNuM= +modernc.org/libc v1.24.1/go.mod h1:FmfO1RLrU3MHJfyi9eYYmZBfi/R+tqZ6+hQ3yQQUkak= +modernc.org/mathutil v1.5.0 h1:rV0Ko/6SfM+8G+yKiyI830l3Wuz1zRutdslNoQ0kfiQ= +modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/memory v1.6.0 h1:i6mzavxrE9a30whzMfwf7XWVODx2r5OYXvU46cirX7o= +modernc.org/memory v1.6.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/sqlite v1.23.0 h1:MWTFBI5H1WLnXpNBh/BTruBVqzzoh28DA0iOnlkkRaM= +modernc.org/sqlite v1.23.0/go.mod h1:OrDj17Mggn6MhE+iPbBNf7RGKODDE9NFT0f3EwDzJqk= +nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= +nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g= +nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/db_list.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/db_list.go new file mode 100644 index 000000000..90eef9ea1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/db_list.go @@ -0,0 +1,36 @@ +package initialize + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "gorm.io/gorm" +) + +const sys = "system" + +func DBList() { + dbMap := make(map[string]*gorm.DB) + for _, info := range global.GVA_CONFIG.DBList { + if info.Disable { + continue + } + switch info.Type { + case "mysql": + dbMap[info.AliasName] = GormMysqlByConfig(config.Mysql{GeneralDB: info.GeneralDB}) + case "mssql": + dbMap[info.AliasName] = GormMssqlByConfig(config.Mssql{GeneralDB: info.GeneralDB}) + case "pgsql": + dbMap[info.AliasName] = GormPgSqlByConfig(config.Pgsql{GeneralDB: info.GeneralDB}) + case "oracle": + dbMap[info.AliasName] = GormOracleByConfig(config.Oracle{GeneralDB: info.GeneralDB}) + default: + continue + } + } + // 做特殊判断,是否有迁移 + // 适配低版本迁移多数据库版本 + if sysDB, ok := dbMap[sys]; ok { + global.GVA_DB = sysDB + } + global.GVA_DBList = dbMap +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/ensure_tables.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/ensure_tables.go new file mode 100644 index 000000000..720505296 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/ensure_tables.go @@ -0,0 +1,100 @@ +package initialize + +import ( + "context" + adapter "github.com/casbin/gorm-adapter/v3" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + sysModel "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "gorm.io/gorm" +) + +const initOrderEnsureTables = system.InitOrderExternal - 1 + +type ensureTables struct{} + +// auto run +func init() { + system.RegisterInit(initOrderEnsureTables, &ensureTables{}) +} + +func (ensureTables) InitializerName() string { + return "ensure_tables_created" +} +func (e *ensureTables) InitializeData(ctx context.Context) (next context.Context, err error) { + return ctx, nil +} + +func (e *ensureTables) DataInserted(ctx context.Context) bool { + return true +} + +func (e *ensureTables) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + tables := []interface{}{ + sysModel.SysApi{}, + sysModel.SysUser{}, + sysModel.SysBaseMenu{}, + sysModel.SysAuthority{}, + sysModel.JwtBlacklist{}, + sysModel.SysDictionary{}, + sysModel.SysAutoCodeHistory{}, + sysModel.SysOperationRecord{}, + sysModel.SysDictionaryDetail{}, + sysModel.SysBaseMenuParameter{}, + sysModel.SysBaseMenuBtn{}, + sysModel.SysAuthorityBtn{}, + sysModel.SysAutoCode{}, + sysModel.SysChatGptOption{}, + + adapter.CasbinRule{}, + + example.ExaFile{}, + example.ExaCustomer{}, + example.ExaFileChunk{}, + example.ExaFileUploadAndDownload{}, + } + for _, t := range tables { + _ = db.AutoMigrate(&t) + // 视图 authority_menu 会被当成表来创建,引发冲突错误(更新版本的gorm似乎不会) + // 由于 AutoMigrate() 基本无需考虑错误,因此显式忽略 + } + return ctx, nil +} + +func (e *ensureTables) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + tables := []interface{}{ + sysModel.SysApi{}, + sysModel.SysUser{}, + sysModel.SysBaseMenu{}, + sysModel.SysAuthority{}, + sysModel.JwtBlacklist{}, + sysModel.SysDictionary{}, + sysModel.SysAutoCodeHistory{}, + sysModel.SysOperationRecord{}, + sysModel.SysDictionaryDetail{}, + sysModel.SysBaseMenuParameter{}, + sysModel.SysBaseMenuBtn{}, + sysModel.SysAuthorityBtn{}, + sysModel.SysAutoCode{}, + sysModel.SysChatGptOption{}, + adapter.CasbinRule{}, + + example.ExaFile{}, + example.ExaCustomer{}, + example.ExaFileChunk{}, + example.ExaFileUploadAndDownload{}, + } + yes := true + for _, t := range tables { + yes = yes && db.Migrator().HasTable(t) + } + return yes +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm.go new file mode 100644 index 000000000..a80124f1d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm.go @@ -0,0 +1,63 @@ +package initialize + +import ( + "os" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + + "go.uber.org/zap" + "gorm.io/gorm" + "github.com/flipped-aurora/gin-vue-admin/server/model/user_block" + "github.com/flipped-aurora/gin-vue-admin/server/model/chainuser" + "github.com/flipped-aurora/gin-vue-admin/server/model/knowledge" +) + +func Gorm() *gorm.DB { + switch global.GVA_CONFIG.System.DbType { + case "mysql": + return GormMysql() + case "pgsql": + return GormPgSql() + case "oracle": + return GormOracle() + case "mssql": + return GormMssql() + case "sqlite": + return GormSqlite() + default: + return GormMysql() + } +} + +func RegisterTables() { + db := global.GVA_DB + err := db.AutoMigrate( + + system.SysApi{}, + system.SysUser{}, + system.SysBaseMenu{}, + system.JwtBlacklist{}, + system.SysAuthority{}, + system.SysDictionary{}, + system.SysOperationRecord{}, + system.SysAutoCodeHistory{}, + system.SysDictionaryDetail{}, + system.SysBaseMenuParameter{}, + system.SysBaseMenuBtn{}, + system.SysAuthorityBtn{}, + system.SysAutoCode{}, + system.SysChatGptOption{}, + + example.ExaFile{}, + example.ExaCustomer{}, + example.ExaFileChunk{}, + example.ExaFileUploadAndDownload{}, user_block.UserBlock{}, chainuser.Userchain{}, knowledge.Img2img{}, + ) + if err != nil { + global.GVA_LOG.Error("register table failed", zap.Error(err)) + os.Exit(0) + } + global.GVA_LOG.Info("register table success") +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_mssql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_mssql.go new file mode 100644 index 000000000..0ec25a7f5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_mssql.go @@ -0,0 +1,59 @@ +/* + * @Author: 逆光飞翔 191180776@qq.com + * @Date: 2022-12-08 17:25:49 + * @LastEditors: 逆光飞翔 191180776@qq.com + * @LastEditTime: 2022-12-08 18:00:00 + * @FilePath: \server\initialize\gorm_mssql.go + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ +package initialize + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/initialize/internal" + "gorm.io/driver/sqlserver" + "gorm.io/gorm" +) + +// GormMssql 初始化Mssql数据库 +// Author [LouisZhang](191180776@qq.com) +func GormMssql() *gorm.DB { + m := global.GVA_CONFIG.Mssql + if m.Dbname == "" { + return nil + } + mssqlConfig := sqlserver.Config{ + DSN: m.Dsn(), // DSN data source name + DefaultStringSize: 191, // string 类型字段的默认长度 + } + if db, err := gorm.Open(sqlserver.New(mssqlConfig), internal.Gorm.Config(m.Prefix, m.Singular)); err != nil { + return nil + } else { + db.InstanceSet("gorm:table_options", "ENGINE="+m.Engine) + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(m.MaxIdleConns) + sqlDB.SetMaxOpenConns(m.MaxOpenConns) + return db + } +} + +// GormMssqlByConfig 初始化Mysql数据库用过传入配置 +func GormMssqlByConfig(m config.Mssql) *gorm.DB { + if m.Dbname == "" { + return nil + } + mssqlConfig := sqlserver.Config{ + DSN: m.Dsn(), // DSN data source name + DefaultStringSize: 191, // string 类型字段的默认长度 + } + if db, err := gorm.Open(sqlserver.New(mssqlConfig), internal.Gorm.Config(m.Prefix, m.Singular)); err != nil { + panic(err) + } else { + db.InstanceSet("gorm:table_options", "ENGINE=InnoDB") + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(m.MaxIdleConns) + sqlDB.SetMaxOpenConns(m.MaxOpenConns) + return db + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_mysql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_mysql.go new file mode 100644 index 000000000..6e496a4d3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_mysql.go @@ -0,0 +1,55 @@ +package initialize + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/initialize/internal" + _ "github.com/go-sql-driver/mysql" + "gorm.io/driver/mysql" + "gorm.io/gorm" +) + +// GormMysql 初始化Mysql数据库 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func GormMysql() *gorm.DB { + m := global.GVA_CONFIG.Mysql + if m.Dbname == "" { + return nil + } + mysqlConfig := mysql.Config{ + DSN: m.Dsn(), // DSN data source name + DefaultStringSize: 191, // string 类型字段的默认长度 + SkipInitializeWithVersion: false, // 根据版本自动配置 + } + if db, err := gorm.Open(mysql.New(mysqlConfig), internal.Gorm.Config(m.Prefix, m.Singular)); err != nil { + return nil + } else { + db.InstanceSet("gorm:table_options", "ENGINE="+m.Engine) + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(m.MaxIdleConns) + sqlDB.SetMaxOpenConns(m.MaxOpenConns) + return db + } +} + +// GormMysqlByConfig 初始化Mysql数据库用过传入配置 +func GormMysqlByConfig(m config.Mysql) *gorm.DB { + if m.Dbname == "" { + return nil + } + mysqlConfig := mysql.Config{ + DSN: m.Dsn(), // DSN data source name + DefaultStringSize: 191, // string 类型字段的默认长度 + SkipInitializeWithVersion: false, // 根据版本自动配置 + } + if db, err := gorm.Open(mysql.New(mysqlConfig), internal.Gorm.Config(m.Prefix, m.Singular)); err != nil { + panic(err) + } else { + db.InstanceSet("gorm:table_options", "ENGINE=InnoDB") + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(m.MaxIdleConns) + sqlDB.SetMaxOpenConns(m.MaxOpenConns) + return db + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_oracle.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_oracle.go new file mode 100644 index 000000000..4d18c8a84 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_oracle.go @@ -0,0 +1,52 @@ +package initialize + +import ( + //"github.com/dzwvip/oracle" + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/initialize/internal" + + //_ "github.com/godror/godror" + "gorm.io/driver/mysql" + "gorm.io/gorm" +) + +// GormOracle 初始化oracle数据库 +// 如果需要Oracle库 放开import里的注释 把下方 mysql.Config 改为 oracle.Config ; mysql.New 改为 oracle.New +func GormOracle() *gorm.DB { + m := global.GVA_CONFIG.Oracle + if m.Dbname == "" { + return nil + } + oracleConfig := mysql.Config{ + DSN: m.Dsn(), // DSN data source name + DefaultStringSize: 191, // string 类型字段的默认长度 + } + if db, err := gorm.Open(mysql.New(oracleConfig), internal.Gorm.Config(m.Prefix, m.Singular)); err != nil { + panic(err) + } else { + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(m.MaxIdleConns) + sqlDB.SetMaxOpenConns(m.MaxOpenConns) + return db + } +} + +// GormOracleByConfig 初始化Oracle数据库用过传入配置 +func GormOracleByConfig(m config.Oracle) *gorm.DB { + if m.Dbname == "" { + return nil + } + oracleConfig := mysql.Config{ + DSN: m.Dsn(), // DSN data source name + DefaultStringSize: 191, // string 类型字段的默认长度 + } + if db, err := gorm.Open(mysql.New(oracleConfig), internal.Gorm.Config(m.Prefix, m.Singular)); err != nil { + panic(err) + } else { + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(m.MaxIdleConns) + sqlDB.SetMaxOpenConns(m.MaxOpenConns) + return db + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_pgsql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_pgsql.go new file mode 100644 index 000000000..625c87385 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_pgsql.go @@ -0,0 +1,50 @@ +package initialize + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/initialize/internal" + "gorm.io/driver/postgres" + "gorm.io/gorm" +) + +// GormPgSql 初始化 Postgresql 数据库 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func GormPgSql() *gorm.DB { + p := global.GVA_CONFIG.Pgsql + if p.Dbname == "" { + return nil + } + pgsqlConfig := postgres.Config{ + DSN: p.Dsn(), // DSN data source name + PreferSimpleProtocol: false, + } + if db, err := gorm.Open(postgres.New(pgsqlConfig), internal.Gorm.Config(p.Prefix, p.Singular)); err != nil { + return nil + } else { + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(p.MaxIdleConns) + sqlDB.SetMaxOpenConns(p.MaxOpenConns) + return db + } +} + +// GormPgSqlByConfig 初始化 Postgresql 数据库 通过参数 +func GormPgSqlByConfig(p config.Pgsql) *gorm.DB { + if p.Dbname == "" { + return nil + } + pgsqlConfig := postgres.Config{ + DSN: p.Dsn(), // DSN data source name + PreferSimpleProtocol: false, + } + if db, err := gorm.Open(postgres.New(pgsqlConfig), internal.Gorm.Config(p.Prefix, p.Singular)); err != nil { + panic(err) + } else { + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(p.MaxIdleConns) + sqlDB.SetMaxOpenConns(p.MaxOpenConns) + return db + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_sqlite.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_sqlite.go new file mode 100644 index 000000000..041264107 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/gorm_sqlite.go @@ -0,0 +1,42 @@ +package initialize + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/initialize/internal" + "github.com/glebarez/sqlite" + "gorm.io/gorm" +) + +// GormSqlite 初始化Sqlite数据库 +func GormSqlite() *gorm.DB { + s := global.GVA_CONFIG.Sqlite + if s.Dbname == "" { + return nil + } + + if db, err := gorm.Open(sqlite.Open(s.Dsn()), internal.Gorm.Config(s.Prefix, s.Singular)); err != nil { + panic(err) + } else { + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(s.MaxIdleConns) + sqlDB.SetMaxOpenConns(s.MaxOpenConns) + return db + } +} + +// GormSqliteByConfig 初始化Sqlite数据库用过传入配置 +func GormSqliteByConfig(s config.Sqlite) *gorm.DB { + if s.Dbname == "" { + return nil + } + + if db, err := gorm.Open(sqlite.Open(s.Dsn()), internal.Gorm.Config(s.Prefix, s.Singular)); err != nil { + panic(err) + } else { + sqlDB, _ := db.DB() + sqlDB.SetMaxIdleConns(s.MaxIdleConns) + sqlDB.SetMaxOpenConns(s.MaxOpenConns) + return db + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/gorm.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/gorm.go new file mode 100644 index 000000000..22a9ce392 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/gorm.go @@ -0,0 +1,62 @@ +package internal + +import ( + "gorm.io/gorm/schema" + "log" + "os" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "gorm.io/gorm" + "gorm.io/gorm/logger" +) + +type DBBASE interface { + GetLogMode() string +} + +var Gorm = new(_gorm) + +type _gorm struct{} + +// Config gorm 自定义配置 +// Author [SliverHorn](https://github.com/SliverHorn) +func (g *_gorm) Config(prefix string, singular bool) *gorm.Config { + config := &gorm.Config{ + NamingStrategy: schema.NamingStrategy{ + TablePrefix: prefix, + SingularTable: singular, + }, + DisableForeignKeyConstraintWhenMigrating: true, + } + _default := logger.New(log.New(os.Stdout, "\r\n", log.LstdFlags), logger.Config{ + SlowThreshold: 200 * time.Millisecond, + LogLevel: logger.Warn, + Colorful: true, + }) + var logMode DBBASE + switch global.GVA_CONFIG.System.DbType { + case "mysql": + logMode = &global.GVA_CONFIG.Mysql + case "pgsql": + logMode = &global.GVA_CONFIG.Pgsql + case "oracle": + logMode = &global.GVA_CONFIG.Oracle + default: + logMode = &global.GVA_CONFIG.Mysql + } + + switch logMode.GetLogMode() { + case "silent", "Silent": + config.Logger = _default.LogMode(logger.Silent) + case "error", "Error": + config.Logger = _default.LogMode(logger.Error) + case "warn", "Warn": + config.Logger = _default.LogMode(logger.Warn) + case "info", "Info": + config.Logger = _default.LogMode(logger.Info) + default: + config.Logger = _default.LogMode(logger.Info) + } + return config +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/logger.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/logger.go new file mode 100644 index 000000000..f8d2f34ef --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/logger.go @@ -0,0 +1,35 @@ +package internal + +import ( + "fmt" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "gorm.io/gorm/logger" +) + +type writer struct { + logger.Writer +} + +// NewWriter writer 构造函数 +// Author [SliverHorn](https://github.com/SliverHorn) +func NewWriter(w logger.Writer) *writer { + return &writer{Writer: w} +} + +// Printf 格式化打印日志 +// Author [SliverHorn](https://github.com/SliverHorn) +func (w *writer) Printf(message string, data ...interface{}) { + var logZap bool + switch global.GVA_CONFIG.System.DbType { + case "mysql": + logZap = global.GVA_CONFIG.Mysql.LogZap + case "pgsql": + logZap = global.GVA_CONFIG.Pgsql.LogZap + } + if logZap { + global.GVA_LOG.Info(fmt.Sprintf(message+"\n", data...)) + } else { + w.Writer.Printf(message, data...) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/mongo.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/mongo.go new file mode 100644 index 000000000..c4992d712 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/internal/mongo.go @@ -0,0 +1,29 @@ +package internal + +import ( + "context" + "fmt" + "github.com/qiniu/qmgo/options" + "go.mongodb.org/mongo-driver/event" + opt "go.mongodb.org/mongo-driver/mongo/options" + "go.uber.org/zap" +) + +var Mongo = new(mongo) + +type mongo struct{} + +func (m *mongo) GetClientOptions() []options.ClientOptions { + cmdMonitor := &event.CommandMonitor{ + Started: func(ctx context.Context, event *event.CommandStartedEvent) { + zap.L().Info(fmt.Sprintf("[MongoDB][RequestID:%d][database:%s] %s\n", event.RequestID, event.DatabaseName, event.Command), zap.String("business", "mongo")) + }, + Succeeded: func(ctx context.Context, event *event.CommandSucceededEvent) { + zap.L().Info(fmt.Sprintf("[MongoDB][RequestID:%d] [%s] %s\n", event.RequestID, event.Duration.String(), event.Reply), zap.String("business", "mongo")) + }, + Failed: func(ctx context.Context, event *event.CommandFailedEvent) { + zap.L().Error(fmt.Sprintf("[MongoDB][RequestID:%d] [%s] %s\n", event.RequestID, event.Duration.String(), event.Failure), zap.String("business", "mongo")) + }, + } + return []options.ClientOptions{{ClientOptions: &opt.ClientOptions{Monitor: cmdMonitor}}} +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/mongo.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/mongo.go new file mode 100644 index 000000000..99d255fc1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/mongo.go @@ -0,0 +1,130 @@ +package initialize + +import ( + "context" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/initialize/internal" + "github.com/pkg/errors" + "github.com/qiniu/qmgo" + "github.com/qiniu/qmgo/options" + "go.mongodb.org/mongo-driver/bson" + "strings" +) + +var Mongo = new(mongo) + +type ( + mongo struct{} + Index struct { + V any `bson:"v"` + Ns any `bson:"ns"` + Key []bson.E `bson:"key"` + Name string `bson:"name"` + } +) + +func (m *mongo) Indexes(ctx context.Context) error { + // 表名:索引列表 列: "表名": [][]string{{"index1", "index2"}} + indexMap := map[string][][]string{} + for collection, indexes := range indexMap { + err := m.CreateIndexes(ctx, collection, indexes) + if err != nil { + return err + } + } + return nil +} + +func (m *mongo) Initialization() error { + var opts []options.ClientOptions + if global.GVA_CONFIG.Mongo.IsZap { + opts = internal.Mongo.GetClientOptions() + } + ctx := context.Background() + client, err := qmgo.Open(ctx, &qmgo.Config{ + Uri: global.GVA_CONFIG.Mongo.Uri(), + Coll: global.GVA_CONFIG.Mongo.Coll, + Database: global.GVA_CONFIG.Mongo.Database, + MinPoolSize: &global.GVA_CONFIG.Mongo.MinPoolSize, + MaxPoolSize: &global.GVA_CONFIG.Mongo.MaxPoolSize, + SocketTimeoutMS: &global.GVA_CONFIG.Mongo.SocketTimeoutMs, + ConnectTimeoutMS: &global.GVA_CONFIG.Mongo.ConnectTimeoutMs, + Auth: &qmgo.Credential{ + Username: global.GVA_CONFIG.Mongo.Username, + Password: global.GVA_CONFIG.Mongo.Password, + }, + }, opts...) + if err != nil { + return errors.Wrap(err, "链接mongodb数据库失败!") + } + global.GVA_MONGO = client + err = m.Indexes(ctx) + if err != nil { + return err + } + return nil +} + +func (m *mongo) CreateIndexes(ctx context.Context, name string, indexes [][]string) error { + collection, err := global.GVA_MONGO.Database.Collection(name).CloneCollection() + if err != nil { + return errors.Wrapf(err, "获取[%s]的表对象失败!", name) + } + list, err := collection.Indexes().List(ctx) + if err != nil { + return errors.Wrapf(err, "获取[%s]的索引对象失败!", name) + } + var entities []Index + err = list.All(ctx, &entities) + if err != nil { + return errors.Wrapf(err, "获取[%s]的索引列表失败!", name) + } + length := len(indexes) + indexMap1 := make(map[string][]string, length) + for i := 0; i < length; i++ { + length1 := len(indexes[i]) + keys := make([]string, 0, length1) + for j := 0; j < length1; j++ { + if indexes[i][i][0] == '-' { + keys = append(keys, indexes[i][j], "-1") + continue + } + keys = append(keys, indexes[i][j], "1") + } + key := strings.Join(keys, "_") + _, o1 := indexMap1[key] + if o1 { + return errors.Errorf("索引[%s]重复!", key) + } + indexMap1[key] = indexes[i] + } + length = len(entities) + indexMap2 := make(map[string]map[string]string, length) + for i := 0; i < length; i++ { + v1, o1 := indexMap2[entities[i].Name] + if !o1 { + keyLength := len(entities[i].Key) + v1 = make(map[string]string, keyLength) + for j := 0; j < keyLength; j++ { + v2, o2 := v1[entities[i].Key[j].Key] + if !o2 { + v1 = make(map[string]string) + } + v2 = entities[i].Key[j].Key + v1[entities[i].Key[j].Key] = v2 + indexMap2[entities[i].Name] = v1 + } + } + } + for k1, v1 := range indexMap1 { + _, o2 := indexMap2[k1] + if o2 { + continue + } // 索引存在 + err = global.GVA_MONGO.Database.Collection(name).CreateOneIndex(ctx, options.IndexModel{Key: v1}) + if err != nil { + return errors.Wrapf(err, "创建索引[%s]失败!", k1) + } + } + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/other.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/other.go new file mode 100644 index 000000000..5d23aeb7f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/other.go @@ -0,0 +1,23 @@ +package initialize + +import ( + "github.com/songzhibin97/gkit/cache/local_cache" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/utils" +) + +func OtherInit() { + dr, err := utils.ParseDuration(global.GVA_CONFIG.JWT.ExpiresTime) + if err != nil { + panic(err) + } + _, err = utils.ParseDuration(global.GVA_CONFIG.JWT.BufferTime) + if err != nil { + panic(err) + } + + global.BlackCache = local_cache.NewCache( + local_cache.SetDefaultExpire(dr), + ) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/plugin.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/plugin.go new file mode 100644 index 000000000..7155ffb07 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/plugin.go @@ -0,0 +1,36 @@ +package initialize + +import ( + "fmt" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/flipped-aurora/gin-vue-admin/server/plugin/email" + "github.com/flipped-aurora/gin-vue-admin/server/utils/plugin" + "github.com/gin-gonic/gin" +) + +func PluginInit(group *gin.RouterGroup, Plugin ...plugin.Plugin) { + for i := range Plugin { + PluginGroup := group.Group(Plugin[i].RouterPath()) + Plugin[i].Register(PluginGroup) + } +} + +func InstallPlugin(Router *gin.Engine) { + PublicGroup := Router.Group("") + fmt.Println("无鉴权插件安装==》", PublicGroup) + PrivateGroup := Router.Group("") + fmt.Println("鉴权插件安装==》", PrivateGroup) + PrivateGroup.Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()) + // 添加跟角色挂钩权限的插件 示例 本地示例模式于在线仓库模式注意上方的import 可以自行切换 效果相同 + PluginInit(PrivateGroup, email.CreateEmailPlug( + global.GVA_CONFIG.Email.To, + global.GVA_CONFIG.Email.From, + global.GVA_CONFIG.Email.Host, + global.GVA_CONFIG.Email.Secret, + global.GVA_CONFIG.Email.Nickname, + global.GVA_CONFIG.Email.Port, + global.GVA_CONFIG.Email.IsSSL, + )) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/redis.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/redis.go new file mode 100644 index 000000000..044ca62d1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/redis.go @@ -0,0 +1,27 @@ +package initialize + +import ( + "context" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + + "github.com/redis/go-redis/v9" + "go.uber.org/zap" +) + +func Redis() { + redisCfg := global.GVA_CONFIG.Redis + client := redis.NewClient(&redis.Options{ + Addr: redisCfg.Addr, + Password: redisCfg.Password, // no password set + DB: redisCfg.DB, // use default DB + }) + pong, err := client.Ping(context.Background()).Result() + if err != nil { + global.GVA_LOG.Error("redis connect ping failed, err:", zap.Error(err)) + panic(err) + } else { + global.GVA_LOG.Info("redis connect ping response:", zap.String("pong", pong)) + global.GVA_REDIS = client + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/register_init.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/register_init.go new file mode 100644 index 000000000..a2496612b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/register_init.go @@ -0,0 +1,10 @@ +package initialize + +import ( + _ "github.com/flipped-aurora/gin-vue-admin/server/source/example" + _ "github.com/flipped-aurora/gin-vue-admin/server/source/system" +) + +func init() { + // do nothing,only import source package so that inits can be registered +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/router.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/router.go new file mode 100644 index 000000000..643ce033a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/router.go @@ -0,0 +1,97 @@ +package initialize + +import ( + "net/http" + + swaggerFiles "github.com/swaggo/files" + + "github.com/flipped-aurora/gin-vue-admin/server/docs" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/flipped-aurora/gin-vue-admin/server/router" + "github.com/gin-gonic/gin" + ginSwagger "github.com/swaggo/gin-swagger" +) + +// + +func Routers() *gin.Engine { + + // 设置为发布模 + if global.GVA_CONFIG.System.Env == "public" { + gin.SetMode(gin.ReleaseMode) //DebugMode ReleaseMode TestMode + } + + Router := gin.New() + + if global.GVA_CONFIG.System.Env != "public" { + Router.Use(gin.Logger(), gin.Recovery()) + } + + InstallPlugin(Router) // + systemRouter := router.RouterGroupApp.System + exampleRouter := router.RouterGroupApp.Example + // + // VUE_APP_BASE_API = / + // VUE_APP_BASE_PATH = http://localhost + // + // Router.Static("/favicon.ico", "./dist/favicon.ico") + // Router.Static("/assets", "./dist/assets") // + // Router.StaticFile("/", "./dist/index.html") // + + Router.StaticFS(global.GVA_CONFIG.Local.StorePath, http.Dir(global.GVA_CONFIG.Local.StorePath)) // 为用户头像和文件提供静态地址 + // Router.Use(middleware.LoadTls()) // 如果需要使用https 请打开此中间件 然后前往 core/server.go 将启动模 + // 跨域 + // Router.Use(middleware.Cors()) // 直接 + // Router.Use(middleware.CorsByRules()) // 按照配置 + //global.GVA_LOG.Info("use middleware cors") + docs.SwaggerInfo.BasePath = global.GVA_CONFIG.System.RouterPrefix + Router.GET(global.GVA_CONFIG.System.RouterPrefix+"/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler)) + global.GVA_LOG.Info("register swagger handler") + // 方便统一添加由组前缀 多服务器上线使用 + + PublicGroup := Router.Group(global.GVA_CONFIG.System.RouterPrefix) + { + // 健康监测 + PublicGroup.GET("/health", func(c *gin.Context) { + c.JSON(http.StatusOK, "ok") + }) + } + { + systemRouter.InitBaseRouter(PublicGroup) // 注册基功能不做鉴 + systemRouter.InitInitRouter(PublicGroup) // 动初始化相关 + exampleRouter.InitFileUploadAndDownloadRouter(PublicGroup) // 文件上传下载功能 + } + PrivateGroup := Router.Group(global.GVA_CONFIG.System.RouterPrefix) + PrivateGroup.Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()) + { + systemRouter.InitApiRouter(PrivateGroup, PublicGroup) // 注册功能api + systemRouter.InitJwtRouter(PrivateGroup) // jwt相关 + systemRouter.InitUserRouter(PrivateGroup) // 注册用户 + systemRouter.InitMenuRouter(PrivateGroup) // 注册menu + systemRouter.InitSystemRouter(PrivateGroup) // system相关 + systemRouter.InitCasbinRouter(PrivateGroup) // 权限相关 + systemRouter.InitAutoCodeRouter(PrivateGroup) // 创建动化代码 + systemRouter.InitAuthorityRouter(PrivateGroup) // 注册角色 + systemRouter.InitSysDictionaryRouter(PrivateGroup) // 字典管理 + systemRouter.InitAutoCodeHistoryRouter(PrivateGroup) // 动化代码历史 + systemRouter.InitSysOperationRecordRouter(PrivateGroup) // 操作记录 + systemRouter.InitSysDictionaryDetailRouter(PrivateGroup) // 字典详情管理 + systemRouter.InitAuthorityBtnRouterRouter(PrivateGroup) // 字典详情管理 + systemRouter.InitChatGptRouter(PrivateGroup) // chatGpt接口 + + exampleRouter.InitCustomerRouter(PrivateGroup) // 客户 + + } + { + chainuserRouter := router.RouterGroupApp.Chainuser + chainuserRouter.InitUserchainRouter(PublicGroup) + } + { + knowledgeRouter := router.RouterGroupApp.Knowledge + knowledgeRouter.InitImg2imgRouter(PrivateGroup) + } + + global.GVA_LOG.Info("router register success") + return Router +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/timer.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/timer.go new file mode 100644 index 000000000..873f34a93 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/timer.go @@ -0,0 +1,37 @@ +package initialize + +import ( + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/task" + + "github.com/robfig/cron/v3" + + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +func Timer() { + go func() { + var option []cron.Option + option = append(option, cron.WithSeconds()) + // 清理DB定时任务 + _, err := global.GVA_Timer.AddTaskByFunc("ClearDB", "@daily", func() { + err := task.ClearTable(global.GVA_DB) // 定时任务方法定在task文件包中 + if err != nil { + fmt.Println("timer error:", err) + } + }, option...) + if err != nil { + fmt.Println("add timer error:", err) + } + + // 其他定时任务定在这里 参考上方使用方法 + + //_, err := global.GVA_Timer.AddTaskByFunc("定时任务标识", "corn表达式", func() { + // 具体执行内容... + // ...... + //}, option...) + //if err != nil { + // fmt.Println("add timer error:", err) + //} + }() +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/validator.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/validator.go new file mode 100644 index 000000000..79aea6693 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/initialize/validator.go @@ -0,0 +1,22 @@ +package initialize + +import "github.com/flipped-aurora/gin-vue-admin/server/utils" + +func init() { + _ = utils.RegisterRule("PageVerify", + utils.Rules{ + "Page": {utils.NotEmpty()}, + "PageSize": {utils.NotEmpty()}, + }, + ) + _ = utils.RegisterRule("IdVerify", + utils.Rules{ + "Id": {utils.NotEmpty()}, + }, + ) + _ = utils.RegisterRule("AuthorityIdVerify", + utils.Rules{ + "AuthorityId": {utils.NotEmpty()}, + }, + ) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/log/2024-12-08/error.log b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/log/2024-12-08/error.log new file mode 100644 index 000000000..a3b1e976d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/log/2024-12-08/error.log @@ -0,0 +1,4 @@ +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:09:01.150 error D:/files downloads/hackathon-master/server/api/v1/system/sys_user.go:56 登陆失败! 用户名不存在或者密码错误! {"error": "db not init"} +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:09:12.132 error D:/files downloads/hackathon-master/server/api/v1/system/sys_user.go:56 登陆失败! 用户名不存在或者密码错误! {"error": "db not init"} +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:16:31.023 error D:/files downloads/hackathon-master/server/api/v1/chainuser/user_chain.go:137 查询失败! {"error": "record not found"} +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:21:31.968 error D:/files downloads/hackathon-master/server/api/v1/chainuser/user_chain.go:137 查询失败! {"error": "record not found"} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/log/2024-12-08/info.log b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/log/2024-12-08/info.log new file mode 100644 index 000000000..cf9b8b023 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/log/2024-12-08/info.log @@ -0,0 +1,9 @@ +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:08:39.499 info D:/files downloads/hackathon-master/server/initialize/router.go:50 register swagger handler +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:08:39.552 info D:/files downloads/hackathon-master/server/initialize/router.go:95 router register success +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:08:39.555 info D:/files downloads/hackathon-master/server/core/server.go:41 server run success on {"address": ":8888"} +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:09:17.894 info D:/files downloads/hackathon-master/server/api/v1/system/sys_initdb.go:57 前往初始化数据库 +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:10:10.029 info D:/files downloads/hackathon-master/server/api/v1/system/sys_initdb.go:57 数据库无需初始化 +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:15:01.246 info D:/files downloads/hackathon-master/server/initialize/gorm.go:62 register table success +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:15:01.250 info D:/files downloads/hackathon-master/server/initialize/router.go:50 register swagger handler +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:15:01.292 info D:/files downloads/hackathon-master/server/initialize/router.go:95 router register success +[github.com/flipped-aurora/gin-vue-admin/server]2024/12/08 - 10:15:01.295 info D:/files downloads/hackathon-master/server/core/server.go:41 server run success on {"address": ":8888"} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/main.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/main.go new file mode 100644 index 000000000..fccba6e27 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/main.go @@ -0,0 +1,38 @@ +package main + +import ( + "go.uber.org/zap" + + "github.com/flipped-aurora/gin-vue-admin/server/core" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/initialize" +) + +//go:generate go env -w GO111MODULE=on +//go:generate go env -w GOPROXY=https://goproxy.cn,direct +//go:generate go mod tidy +//go:generate go mod download + +// @title Swagger Example API +// @version 0.0.1 +// @description This is a sample Server pets +// @securityDefinitions.apikey ApiKeyAuth +// @in header +// @name x-token +// @BasePath / +func main() { + global.GVA_VP = core.Viper() // 初始化Viper + initialize.OtherInit() + global.GVA_LOG = core.Zap() // 初始化zap日志库 + zap.ReplaceGlobals(global.GVA_LOG) + global.GVA_DB = initialize.Gorm() // gorm连接数据库 + initialize.Timer() + initialize.DBList() + if global.GVA_DB != nil { + initialize.RegisterTables() // 初始化表 + // 程序结束前关闭数据库链接 + db, _ := global.GVA_DB.DB() + defer db.Close() + } + core.RunWindowsServer() +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/casbin_rbac.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/casbin_rbac.go new file mode 100644 index 000000000..7994db1ef --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/casbin_rbac.go @@ -0,0 +1,38 @@ +package middleware + +import ( + "strconv" + "strings" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/service" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gin-gonic/gin" +) + +var casbinService = service.ServiceGroupApp.SystemServiceGroup.CasbinService + +// CasbinHandler 拦截器 +func CasbinHandler() gin.HandlerFunc { + return func(c *gin.Context) { + if global.GVA_CONFIG.System.Env != "develop" { + waitUse, _ := utils.GetClaims(c) + //获取请求的PATH + path := c.Request.URL.Path + obj := strings.TrimPrefix(path, global.GVA_CONFIG.System.RouterPrefix) + // 获取请求方法 + act := c.Request.Method + // 获取用户的角色 + sub := strconv.Itoa(int(waitUse.AuthorityId)) + e := casbinService.Casbin() // 判断策略中是否存在 + success, _ := e.Enforce(sub, obj, act) + if !success { + response.FailWithDetailed(gin.H{}, "权限不足", c) + c.Abort() + return + } + } + c.Next() + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/cors.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/cors.go new file mode 100644 index 000000000..d7e3ccd4c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/cors.go @@ -0,0 +1,73 @@ +package middleware + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/gin-gonic/gin" + "net/http" +) + +// Cors 直接放行所有跨域请求并放行所有 OPTIONS 方法 +func Cors() gin.HandlerFunc { + return func(c *gin.Context) { + method := c.Request.Method + origin := c.Request.Header.Get("Origin") + c.Header("Access-Control-Allow-Origin", origin) + c.Header("Access-Control-Allow-Headers", "Content-Type,AccessToken,X-CSRF-Token, Authorization, Token,X-Token,X-User-Id") + c.Header("Access-Control-Allow-Methods", "POST, GET, OPTIONS,DELETE,PUT") + c.Header("Access-Control-Expose-Headers", "Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type, New-Token, New-Expires-At") + c.Header("Access-Control-Allow-Credentials", "true") + + // 放行所有OPTIONS方法 + if method == "OPTIONS" { + c.AbortWithStatus(http.StatusNoContent) + } + // 处理请求 + c.Next() + } +} + +// CorsByRules 按照配置处理跨域请求 +func CorsByRules() gin.HandlerFunc { + // 放行全部 + if global.GVA_CONFIG.Cors.Mode == "allow-all" { + return Cors() + } + return func(c *gin.Context) { + whitelist := checkCors(c.GetHeader("origin")) + + // 通过检查, 添加请求头 + if whitelist != nil { + c.Header("Access-Control-Allow-Origin", whitelist.AllowOrigin) + c.Header("Access-Control-Allow-Headers", whitelist.AllowHeaders) + c.Header("Access-Control-Allow-Methods", whitelist.AllowMethods) + c.Header("Access-Control-Expose-Headers", whitelist.ExposeHeaders) + if whitelist.AllowCredentials { + c.Header("Access-Control-Allow-Credentials", "true") + } + } + + // 严格白名单模式且未通过检查,直接拒绝处理请求 + if whitelist == nil && global.GVA_CONFIG.Cors.Mode == "strict-whitelist" && !(c.Request.Method == "GET" && c.Request.URL.Path == "/health") { + c.AbortWithStatus(http.StatusForbidden) + } else { + // 非严格白名单模式,无论是否通过检查均放行所有 OPTIONS 方法 + if c.Request.Method == http.MethodOptions { + c.AbortWithStatus(http.StatusNoContent) + } + } + + // 处理请求 + c.Next() + } +} + +func checkCors(currentOrigin string) *config.CORSWhitelist { + for _, whitelist := range global.GVA_CONFIG.Cors.Whitelist { + // 遍历配置中的跨域头,寻找匹配项 + if currentOrigin == whitelist.AllowOrigin { + return &whitelist + } + } + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/email.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/email.go new file mode 100644 index 000000000..4a07561c9 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/email.go @@ -0,0 +1,60 @@ +package middleware + +import ( + "bytes" + "io" + "strconv" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/utils" + utils2 "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +var userService = service.ServiceGroupApp.SystemServiceGroup.UserService + +func ErrorToEmail() gin.HandlerFunc { + return func(c *gin.Context) { + var username string + claims, _ := utils2.GetClaims(c) + if claims.Username != "" { + username = claims.Username + } else { + id, _ := strconv.Atoi(c.Request.Header.Get("x-user-id")) + user, err := userService.FindUserById(id) + if err != nil { + username = "Unknown" + } + username = user.Username + } + body, _ := io.ReadAll(c.Request.Body) + // 再重新写回请求体body中,ioutil.ReadAll会清空c.Request.Body中的数据 + c.Request.Body = io.NopCloser(bytes.NewBuffer(body)) + record := system.SysOperationRecord{ + Ip: c.ClientIP(), + Method: c.Request.Method, + Path: c.Request.URL.Path, + Agent: c.Request.UserAgent(), + Body: string(body), + } + now := time.Now() + + c.Next() + + latency := time.Since(now) + status := c.Writer.Status() + record.ErrorMessage = c.Errors.ByType(gin.ErrorTypePrivate).String() + str := "接收到的请求为" + record.Body + "\n" + "请求方式为" + record.Method + "\n" + "报错信息如下" + record.ErrorMessage + "\n" + "耗时" + latency.String() + "\n" + if status != 200 { + subject := username + "" + record.Ip + "调用了" + record.Path + "报错了" + if err := utils.ErrorToEmail(subject, str); err != nil { + global.GVA_LOG.Error("ErrorToEmail Failed, err:", zap.Error(err)) + } + } + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/error.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/error.go new file mode 100644 index 000000000..f68b7a562 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/error.go @@ -0,0 +1,61 @@ +package middleware + +import ( + "net" + "net/http" + "net/http/httputil" + "os" + "runtime/debug" + "strings" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +// GinRecovery recover掉项目可能出现的panic,并使用zap记录相关日志 +func GinRecovery(stack bool) gin.HandlerFunc { + return func(c *gin.Context) { + defer func() { + if err := recover(); err != nil { + // Check for a broken connection, as it is not really a + // condition that warrants a panic stack trace. + var brokenPipe bool + if ne, ok := err.(*net.OpError); ok { + if se, ok := ne.Err.(*os.SyscallError); ok { + if strings.Contains(strings.ToLower(se.Error()), "broken pipe") || strings.Contains(strings.ToLower(se.Error()), "connection reset by peer") { + brokenPipe = true + } + } + } + + httpRequest, _ := httputil.DumpRequest(c.Request, false) + if brokenPipe { + global.GVA_LOG.Error(c.Request.URL.Path, + zap.Any("error", err), + zap.String("request", string(httpRequest)), + ) + // If the connection is dead, we can't write a status to it. + _ = c.Error(err.(error)) // nolint: errcheck + c.Abort() + return + } + + if stack { + global.GVA_LOG.Error("[Recovery from panic]", + zap.Any("error", err), + zap.String("request", string(httpRequest)), + zap.String("stack", string(debug.Stack())), + ) + } else { + global.GVA_LOG.Error("[Recovery from panic]", + zap.Any("error", err), + zap.String("request", string(httpRequest)), + ) + } + c.AbortWithStatus(http.StatusInternalServerError) + } + }() + c.Next() + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/jwt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/jwt.go new file mode 100644 index 000000000..c67cc28b1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/jwt.go @@ -0,0 +1,79 @@ +package middleware + +import ( + "errors" + "github.com/golang-jwt/jwt/v4" + "strconv" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service" + + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +var jwtService = service.ServiceGroupApp.SystemServiceGroup.JwtService + +func JWTAuth() gin.HandlerFunc { + return func(c *gin.Context) { + // 我们这里jwt鉴权取头部信息 x-token 登录时回返回token信息 这里前端需要把token存储到cookie或者本地localStorage中 不过需要跟后端协商过期时间 可以约定刷新令牌或者重新登录 + token := c.Request.Header.Get("x-token") + if token == "" { + response.FailWithDetailed(gin.H{"reload": true}, "未登录或非法访问", c) + c.Abort() + return + } + if jwtService.IsBlacklist(token) { + response.FailWithDetailed(gin.H{"reload": true}, "您的帐户异地登陆或令牌失效", c) + c.Abort() + return + } + j := utils.NewJWT() + // parseToken 解析token包含的信息 + claims, err := j.ParseToken(token) + if err != nil { + if errors.Is(err, utils.TokenExpired) { + response.FailWithDetailed(gin.H{"reload": true}, "授权已过期", c) + c.Abort() + return + } + response.FailWithDetailed(gin.H{"reload": true}, err.Error(), c) + c.Abort() + return + } + + // 已登录用户被管理员禁用 需要使该用户的jwt失效 此处比较消耗性能 如果需要 请自行打开 + // 用户被删除的逻辑 需要优化 此处比较消耗性能 如果需要 请自行打开 + + //if user, err := userService.FindUserByUuid(claims.UUID.String()); err != nil || user.Enable == 2 { + // _ = jwtService.JsonInBlacklist(system.JwtBlacklist{Jwt: token}) + // response.FailWithDetailed(gin.H{"reload": true}, err.Error(), c) + // c.Abort() + //} + if claims.ExpiresAt.Unix()-time.Now().Unix() < claims.BufferTime { + dr, _ := utils.ParseDuration(global.GVA_CONFIG.JWT.ExpiresTime) + claims.ExpiresAt = jwt.NewNumericDate(time.Now().Add(dr)) + newToken, _ := j.CreateTokenByOldToken(token, *claims) + newClaims, _ := j.ParseToken(newToken) + c.Header("new-token", newToken) + c.Header("new-expires-at", strconv.FormatInt(newClaims.ExpiresAt.Unix(), 10)) + if global.GVA_CONFIG.System.UseMultipoint { + RedisJwtToken, err := jwtService.GetRedisJWT(newClaims.Username) + if err != nil { + global.GVA_LOG.Error("get redis jwt failed", zap.Error(err)) + } else { // 当之前的取成功时才进行拉黑操作 + _ = jwtService.JsonInBlacklist(system.JwtBlacklist{Jwt: RedisJwtToken}) + } + // 无论如何都要记录当前的活跃状态 + _ = jwtService.SetRedisJWT(newToken, newClaims.Username) + } + } + c.Set("claims", claims) + c.Next() + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/limit_ip.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/limit_ip.go new file mode 100644 index 000000000..315010b22 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/limit_ip.go @@ -0,0 +1,92 @@ +package middleware + +import ( + "context" + "errors" + "net/http" + "time" + + "go.uber.org/zap" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/gin-gonic/gin" +) + +type LimitConfig struct { + // GenerationKey 根据业务生成key 下面CheckOrMark查询生成 + GenerationKey func(c *gin.Context) string + // 检查函数,用户可修改具体逻辑,更加灵活 + CheckOrMark func(key string, expire int, limit int) error + // Expire key 过期时间 + Expire int + // Limit 周期时间 + Limit int +} + +func (l LimitConfig) LimitWithTime() gin.HandlerFunc { + return func(c *gin.Context) { + if err := l.CheckOrMark(l.GenerationKey(c), l.Expire, l.Limit); err != nil { + c.JSON(http.StatusOK, gin.H{"code": response.ERROR, "msg": err}) + c.Abort() + return + } else { + c.Next() + } + } +} + +// DefaultGenerationKey 默认生成key +func DefaultGenerationKey(c *gin.Context) string { + return "GVA_Limit" + c.ClientIP() +} + +func DefaultCheckOrMark(key string, expire int, limit int) (err error) { + // 判断是否开启redis + if global.GVA_REDIS == nil { + return err + } + if err = SetLimitWithTime(key, limit, time.Duration(expire)*time.Second); err != nil { + global.GVA_LOG.Error("limit", zap.Error(err)) + } + return err +} + +func DefaultLimit() gin.HandlerFunc { + return LimitConfig{ + GenerationKey: DefaultGenerationKey, + CheckOrMark: DefaultCheckOrMark, + Expire: global.GVA_CONFIG.System.LimitTimeIP, + Limit: global.GVA_CONFIG.System.LimitCountIP, + }.LimitWithTime() +} + +// SetLimitWithTime 设置访问次数 +func SetLimitWithTime(key string, limit int, expiration time.Duration) error { + count, err := global.GVA_REDIS.Exists(context.Background(), key).Result() + if err != nil { + return err + } + if count == 0 { + pipe := global.GVA_REDIS.TxPipeline() + pipe.Incr(context.Background(), key) + pipe.Expire(context.Background(), key, expiration) + _, err = pipe.Exec(context.Background()) + return err + } else { + // 次数 + if times, err := global.GVA_REDIS.Get(context.Background(), key).Int(); err != nil { + return err + } else { + if times >= limit { + if t, err := global.GVA_REDIS.PTTL(context.Background(), key).Result(); err != nil { + return errors.New("请求太过频繁,请稍后再试") + } else { + return errors.New("请求太过频繁, 请 " + t.String() + " 秒后尝试") + } + } else { + return global.GVA_REDIS.Incr(context.Background(), key).Err() + } + } + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/loadtls.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/loadtls.go new file mode 100644 index 000000000..a17cf653b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/loadtls.go @@ -0,0 +1,27 @@ +package middleware + +import ( + "fmt" + + "github.com/gin-gonic/gin" + "github.com/unrolled/secure" +) + +// 用https把这个中间件在router里面use一下就好 + +func LoadTls() gin.HandlerFunc { + return func(c *gin.Context) { + middleware := secure.New(secure.Options{ + SSLRedirect: true, + SSLHost: "localhost:443", + }) + err := middleware.Process(c.Writer, c.Request) + if err != nil { + // 如果出现错误,请不要继续 + fmt.Println(err) + return + } + // 继续往下处理 + c.Next() + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/logger.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/logger.go new file mode 100644 index 000000000..fabc33497 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/logger.go @@ -0,0 +1,89 @@ +package middleware + +import ( + "bytes" + "encoding/json" + "fmt" + "io" + "strings" + "time" + + "github.com/gin-gonic/gin" +) + +// LogLayout 日志layout +type LogLayout struct { + Time time.Time + Metadata map[string]interface{} // 存储自定义原数据 + Path string // 访问路径 + Query string // 携带query + Body string // 携带body数据 + IP string // ip地址 + UserAgent string // 代理 + Error string // 错误 + Cost time.Duration // 花费时间 + Source string // 来源 +} + +type Logger struct { + // Filter 用户自定义过滤 + Filter func(c *gin.Context) bool + // FilterKeyword 关键字过滤(key) + FilterKeyword func(layout *LogLayout) bool + // AuthProcess 鉴权处理 + AuthProcess func(c *gin.Context, layout *LogLayout) + // 日志处理 + Print func(LogLayout) + // Source 服务唯一标识 + Source string +} + +func (l Logger) SetLoggerMiddleware() gin.HandlerFunc { + return func(c *gin.Context) { + start := time.Now() + path := c.Request.URL.Path + query := c.Request.URL.RawQuery + var body []byte + if l.Filter != nil && !l.Filter(c) { + body, _ = c.GetRawData() + // 将原body塞回去 + c.Request.Body = io.NopCloser(bytes.NewBuffer(body)) + } + c.Next() + cost := time.Since(start) + layout := LogLayout{ + Time: time.Now(), + Path: path, + Query: query, + IP: c.ClientIP(), + UserAgent: c.Request.UserAgent(), + Error: strings.TrimRight(c.Errors.ByType(gin.ErrorTypePrivate).String(), "\n"), + Cost: cost, + Source: l.Source, + } + if l.Filter != nil && !l.Filter(c) { + layout.Body = string(body) + } + if l.AuthProcess != nil { + // 处理鉴权需要的信息 + l.AuthProcess(c, &layout) + } + if l.FilterKeyword != nil { + // 自行判断key/value 脱敏等 + l.FilterKeyword(&layout) + } + // 自行处理日志 + l.Print(layout) + } +} + +func DefaultLogger() gin.HandlerFunc { + return Logger{ + Print: func(layout LogLayout) { + // 标准输出,k8s做收集 + v, _ := json.Marshal(layout) + fmt.Println(string(v)) + }, + Source: "GVA", + }.SetLoggerMiddleware() +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/operation.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/operation.go new file mode 100644 index 000000000..d6fd593d6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/middleware/operation.go @@ -0,0 +1,136 @@ +package middleware + +import ( + "bytes" + "encoding/json" + "io" + "net/http" + "net/url" + "strconv" + "strings" + "sync" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +var operationRecordService = service.ServiceGroupApp.SystemServiceGroup.OperationRecordService + +var respPool sync.Pool +var bufferSize = 1024 + +func init() { + respPool.New = func() interface{} { + return make([]byte, bufferSize) + } +} + +func OperationRecord() gin.HandlerFunc { + return func(c *gin.Context) { + var body []byte + var userId int + if c.Request.Method != http.MethodGet { + var err error + body, err = io.ReadAll(c.Request.Body) + if err != nil { + global.GVA_LOG.Error("read body from request error:", zap.Error(err)) + } else { + c.Request.Body = io.NopCloser(bytes.NewBuffer(body)) + } + } else { + query := c.Request.URL.RawQuery + query, _ = url.QueryUnescape(query) + split := strings.Split(query, "&") + m := make(map[string]string) + for _, v := range split { + kv := strings.Split(v, "=") + if len(kv) == 2 { + m[kv[0]] = kv[1] + } + } + body, _ = json.Marshal(&m) + } + claims, _ := utils.GetClaims(c) + if claims != nil && claims.BaseClaims.ID != 0 { + userId = int(claims.BaseClaims.ID) + } else { + id, err := strconv.Atoi(c.Request.Header.Get("x-user-id")) + if err != nil { + userId = 0 + } + userId = id + } + record := system.SysOperationRecord{ + Ip: c.ClientIP(), + Method: c.Request.Method, + Path: c.Request.URL.Path, + Agent: c.Request.UserAgent(), + Body: string(body), + UserID: userId, + } + + // 上传文件时候 中间件日志进行裁断操作 + if strings.Contains(c.GetHeader("Content-Type"), "multipart/form-data") { + if len(record.Body) > bufferSize { + // 截断 + newBody := respPool.Get().([]byte) + copy(newBody, record.Body) + record.Body = string(newBody) + defer respPool.Put(newBody) + } + } + + writer := responseBodyWriter{ + ResponseWriter: c.Writer, + body: &bytes.Buffer{}, + } + c.Writer = writer + now := time.Now() + + c.Next() + + latency := time.Since(now) + record.ErrorMessage = c.Errors.ByType(gin.ErrorTypePrivate).String() + record.Status = c.Writer.Status() + record.Latency = latency + record.Resp = writer.body.String() + + if strings.Contains(c.Writer.Header().Get("Pragma"), "public") || + strings.Contains(c.Writer.Header().Get("Expires"), "0") || + strings.Contains(c.Writer.Header().Get("Cache-Control"), "must-revalidate, post-check=0, pre-check=0") || + strings.Contains(c.Writer.Header().Get("Content-Type"), "application/force-download") || + strings.Contains(c.Writer.Header().Get("Content-Type"), "application/octet-stream") || + strings.Contains(c.Writer.Header().Get("Content-Type"), "application/vnd.ms-excel") || + strings.Contains(c.Writer.Header().Get("Content-Type"), "application/download") || + strings.Contains(c.Writer.Header().Get("Content-Disposition"), "attachment") || + strings.Contains(c.Writer.Header().Get("Content-Transfer-Encoding"), "binary") { + if len(record.Resp) > bufferSize { + // 截断 + newBody := respPool.Get().([]byte) + copy(newBody, record.Resp) + record.Resp = string(newBody) + defer respPool.Put(newBody) + } + } + + if err := operationRecordService.CreateSysOperationRecord(record); err != nil { + global.GVA_LOG.Error("create operation record error:", zap.Error(err)) + } + } +} + +type responseBodyWriter struct { + gin.ResponseWriter + body *bytes.Buffer +} + +func (r responseBodyWriter) Write(b []byte) (int, error) { + r.body.Write(b) + return r.ResponseWriter.Write(b) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/chainuser/request/user_chain.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/chainuser/request/user_chain.go new file mode 100644 index 000000000..9c70caa79 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/chainuser/request/user_chain.go @@ -0,0 +1,14 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/chainuser" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "time" +) + +type UserchainSearch struct{ + chainuser.Userchain + StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"` + EndCreatedAt *time.Time `json:"endCreatedAt" form:"endCreatedAt"` + request.PageInfo +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/chainuser/user_chain.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/chainuser/user_chain.go new file mode 100644 index 000000000..f26a1a7a4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/chainuser/user_chain.go @@ -0,0 +1,30 @@ +// 自动生成模板Userchain +package chainuser + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + + +) + +// 区块链用户 结构体 Userchain +type Userchain struct { + global.GVA_MODEL + Name string `json:"name" form:"name" gorm:"column:name;comment:;size:255;"` //用户名 + Biaoshi string `json:"biaoshi" form:"biaoshi" gorm:"column:biaoshi;comment:;size:255;"` //用户标识 + Money *float64 `json:"money" form:"money" gorm:"column:money;comment:;"` //余额 + Workpath string `json:"workpath" form:"workpath" gorm:"column:workpath;comment:;size:255;"` //作品路径 + Password string `json:"password" form:"password" gorm:"column:password;comment:;size:255;"` //密码 + Email string `json:"email" form:"email" gorm:"column:email;comment:;size:255;"` //邮箱 + Organization string `json:"organization" form:"organization" gorm:"column:organization;comment:;size:255;"` //所属机构 + CreatedBy uint `gorm:"column:created_by;comment:创建者"` + UpdatedBy uint `gorm:"column:updated_by;comment:更新者"` + DeletedBy uint `gorm:"column:deleted_by;comment:删除者"` +} + + +// TableName 区块链用户 Userchain自定义表名 user_chain +func (Userchain) TableName() string { + return "user_chain" +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/clearDB.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/clearDB.go new file mode 100644 index 000000000..e7fc75795 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/clearDB.go @@ -0,0 +1,7 @@ +package common + +type ClearDB struct { + TableName string + CompareField string + Interval string +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/request/common.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/request/common.go new file mode 100644 index 000000000..78374e063 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/request/common.go @@ -0,0 +1,28 @@ +package request + +// PageInfo Paging common input parameter structure +type PageInfo struct { + Page int `json:"page" form:"page"` // 页码 + PageSize int `json:"pageSize" form:"pageSize"` // 每页大小 + Keyword string `json:"keyword" form:"keyword"` //关键字 +} + +// GetById Find by id structure +type GetById struct { + ID int `json:"id" form:"id"` // 主键ID +} + +func (r *GetById) Uint() uint { + return uint(r.ID) +} + +type IdsReq struct { + Ids []int `json:"ids" form:"ids"` +} + +// GetAuthorityId Get role by id structure +type GetAuthorityId struct { + AuthorityId uint `json:"authorityId" form:"authorityId"` // 角色ID +} + +type Empty struct{} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/response/common.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/response/common.go new file mode 100644 index 000000000..74610965b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/response/common.go @@ -0,0 +1,8 @@ +package response + +type PageResult struct { + List interface{} `json:"list"` + Total int64 `json:"total"` + Page int `json:"page"` + PageSize int `json:"pageSize"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/response/response.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/response/response.go new file mode 100644 index 000000000..733f75730 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/common/response/response.go @@ -0,0 +1,55 @@ +package response + +import ( + "net/http" + + "github.com/gin-gonic/gin" +) + +type Response struct { + Code int `json:"code"` + Data interface{} `json:"data"` + Msg string `json:"msg"` +} + +const ( + ERROR = 7 + SUCCESS = 0 +) + +func Result(code int, data interface{}, msg string, c *gin.Context) { + // 开始时间 + c.JSON(http.StatusOK, Response{ + code, + data, + msg, + }) +} + +func Ok(c *gin.Context) { + Result(SUCCESS, map[string]interface{}{}, "操作成功", c) +} + +func OkWithMessage(message string, c *gin.Context) { + Result(SUCCESS, map[string]interface{}{}, message, c) +} + +func OkWithData(data interface{}, c *gin.Context) { + Result(SUCCESS, data, "查询成功", c) +} + +func OkWithDetailed(data interface{}, message string, c *gin.Context) { + Result(SUCCESS, data, message, c) +} + +func Fail(c *gin.Context) { + Result(ERROR, map[string]interface{}{}, "操作失败", c) +} + +func FailWithMessage(message string, c *gin.Context) { + Result(ERROR, map[string]interface{}{}, message, c) +} + +func FailWithDetailed(data interface{}, message string, c *gin.Context) { + Result(ERROR, data, message, c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_breakpoint_continue.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_breakpoint_continue.go new file mode 100644 index 000000000..3c2924bdb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_breakpoint_continue.go @@ -0,0 +1,24 @@ +package example + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +// file struct, 文件结构体 +type ExaFile struct { + global.GVA_MODEL + FileName string + FileMd5 string + FilePath string + ExaFileChunk []ExaFileChunk + ChunkTotal int + IsFinish bool +} + +// file chunk struct, 切片结构体 +type ExaFileChunk struct { + global.GVA_MODEL + ExaFileID uint + FileChunkNumber int + FileChunkPath string +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_customer.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_customer.go new file mode 100644 index 000000000..e78dd093f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_customer.go @@ -0,0 +1,15 @@ +package example + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" +) + +type ExaCustomer struct { + global.GVA_MODEL + CustomerName string `json:"customerName" form:"customerName" gorm:"comment:客户名"` // 客户名 + CustomerPhoneData string `json:"customerPhoneData" form:"customerPhoneData" gorm:"comment:客户手机号"` // 客户手机号 + SysUserID uint `json:"sysUserId" form:"sysUserId" gorm:"comment:管理ID"` // 管理ID + SysUserAuthorityID uint `json:"sysUserAuthorityID" form:"sysUserAuthorityID" gorm:"comment:管理角色ID"` // 管理角色ID + SysUser system.SysUser `json:"sysUser" form:"sysUser" gorm:"comment:管理详情"` // 管理详情 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_file_upload_download.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_file_upload_download.go new file mode 100644 index 000000000..69703e08c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/exa_file_upload_download.go @@ -0,0 +1,31 @@ +package example + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +type ExaFileUploadAndDownload struct { + global.GVA_MODEL + Name string `json:"name" gorm:"comment:文件名"` // 文件名 + Url string `json:"url" gorm:"comment:文件地址"` // 文件地址 + Tag string `json:"tag" gorm:"comment:文件标签"` // 文件标签 + Key string `json:"key" gorm:"comment:编号"` // 编号 + Faker string `json:"faker" gorm:"comment:缩略图地址"` //缩略图 + Owner string `json:"owner" gorm:"comment:所有者"` //缩略图 + Certi_organization string `json:"certi_organization" gorm:"comment:公证单位"` //缩略图 + Keywords string `json:"keywords" gorm:"comment:语义信息"` //缩略图 + Biaoshi string `json:"biaoshi" gorm:"comment:文件标识"` //缩略图 + Price float64 `json:"price" gorm:"comment:价格"` //缩略图 +} + +func (ExaFileUploadAndDownload) TableName() string { + return "exa_file_upload_and_downloads" +} + +type ExaKnowledge struct { + Keyword string `json:"keywords" gorm:"comment:作品关键词"` // 文件名 +} + +func (ExaKnowledge) TableName() string { + return "exa_knowledge" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_breakpoint_continue.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_breakpoint_continue.go new file mode 100644 index 000000000..54aa3516b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_breakpoint_continue.go @@ -0,0 +1,11 @@ +package response + +import "github.com/flipped-aurora/gin-vue-admin/server/model/example" + +type FilePathResponse struct { + FilePath string `json:"filePath"` +} + +type FileResponse struct { + File example.ExaFile `json:"file"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_customer.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_customer.go new file mode 100644 index 000000000..7fd26f9d6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_customer.go @@ -0,0 +1,7 @@ +package response + +import "github.com/flipped-aurora/gin-vue-admin/server/model/example" + +type ExaCustomerResponse struct { + Customer example.ExaCustomer `json:"customer"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_file_upload_download.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_file_upload_download.go new file mode 100644 index 000000000..c1b7931a0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/example/response/exa_file_upload_download.go @@ -0,0 +1,7 @@ +package response + +import "github.com/flipped-aurora/gin-vue-admin/server/model/example" + +type ExaFileResponse struct { + File example.ExaFileUploadAndDownload `json:"file"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/knowledge/img2img.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/knowledge/img2img.go new file mode 100644 index 000000000..4d3a9b9aa --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/knowledge/img2img.go @@ -0,0 +1,32 @@ +// 自动生成模板Img2img +package knowledge + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + + +) + +// 图生图 结构体 Img2img +type Img2img struct { + global.GVA_MODEL + Desc string `json:"desc" form:"desc" gorm:"column:desc;comment:;size:500;"` //描述词 + Rdesc string `json:"rdesc" form:"rdesc" gorm:"column:rdesc;comment:;size:500;"` //反向描述词 + Number string `json:"number" form:"number" gorm:"column:number;comment:;size:20;"` //生成数量 + Height string `json:"height" form:"height" gorm:"column:height;comment:;size:50;"` //高度 + Width string `json:"width" form:"width" gorm:"column:width;comment:;size:50;"` //宽度 + Seed string `json:"seed" form:"seed" gorm:"column:seed;comment:;"` //种子 + Steps string `json:"steps" form:"steps" gorm:"column:steps;comment:;size:50;"` //步数 + Cfg_scale string `json:"cfg_scale" form:"cfg_scale" gorm:"column:cfg_scale;comment:;size:50;"` //文本引导强度 + Pic string `json:"pic" form:"pic" gorm:"column:pic;comment:;size:500;"` //参考图片 + Output string `json:"output" form:"output" gorm:"column:output;comment:;"` //输出 + Picurl string `json:"picurl" form:"picurl" gorm:"column:picurl;comment:;size:500;"` //参考图片地址 + Outputurl string `json:"outputurl" form:"outputurl" gorm:"column:outputurl;comment:;size:500;"` //输出地址 +} + + +// TableName 图生图 Img2img自定义表名 img2img +func (Img2img) TableName() string { + return "img2img" +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/knowledge/request/img2img.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/knowledge/request/img2img.go new file mode 100644 index 000000000..07b43d670 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/knowledge/request/img2img.go @@ -0,0 +1,14 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/knowledge" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "time" +) + +type Img2imgSearch struct{ + knowledge.Img2img + StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"` + EndCreatedAt *time.Time `json:"endCreatedAt" form:"endCreatedAt"` + request.PageInfo +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/jwt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/jwt.go new file mode 100644 index 000000000..638820244 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/jwt.go @@ -0,0 +1,21 @@ +package request + +import ( + "github.com/gofrs/uuid/v5" + jwt "github.com/golang-jwt/jwt/v4" +) + +// Custom claims structure +type CustomClaims struct { + BaseClaims + BufferTime int64 + jwt.RegisteredClaims +} + +type BaseClaims struct { + UUID uuid.UUID + ID uint + Username string + NickName string + AuthorityId uint +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_api.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_api.go new file mode 100644 index 000000000..0be8ee72d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_api.go @@ -0,0 +1,14 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" +) + +// api分页条件查询及排序结构体 +type SearchApiParams struct { + system.SysApi + request.PageInfo + OrderKey string `json:"orderKey"` // 排序 + Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_authority_btn.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_authority_btn.go new file mode 100644 index 000000000..98493ff34 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_authority_btn.go @@ -0,0 +1,7 @@ +package request + +type SysAuthorityBtnReq struct { + MenuID uint `json:"menuID"` + AuthorityId uint `json:"authorityId"` + Selected []uint `json:"selected"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_auto_history.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_auto_history.go new file mode 100644 index 000000000..48c95e607 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_auto_history.go @@ -0,0 +1,13 @@ +package request + +import "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + +type SysAutoHistory struct { + request.PageInfo +} + +// GetById Find by id structure +type RollBack struct { + ID int `json:"id" form:"id"` // 主键ID + DeleteTable bool `json:"deleteTable" form:"deleteTable"` // 是否删除表 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_casbin.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_casbin.go new file mode 100644 index 000000000..0c07ae604 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_casbin.go @@ -0,0 +1,26 @@ +package request + +// Casbin info structure +type CasbinInfo struct { + Path string `json:"path"` // 路径 + Method string `json:"method"` // 方法 +} + +// Casbin structure for input parameters +type CasbinInReceive struct { + AuthorityId uint `json:"authorityId"` // 权限id + CasbinInfos []CasbinInfo `json:"casbinInfos"` +} + +func DefaultCasbin() []CasbinInfo { + return []CasbinInfo{ + {Path: "/menu/getMenu", Method: "POST"}, + {Path: "/jwt/jsonInBlacklist", Method: "POST"}, + {Path: "/base/login", Method: "POST"}, + {Path: "/user/admin_register", Method: "POST"}, + {Path: "/user/changePassword", Method: "POST"}, + {Path: "/user/setUserAuthority", Method: "POST"}, + {Path: "/user/setUserInfo", Method: "PUT"}, + {Path: "/user/getUserInfo", Method: "GET"}, + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_chatgpt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_chatgpt.go new file mode 100644 index 000000000..af7f472bd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_chatgpt.go @@ -0,0 +1,11 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" +) + +type ChatGptRequest struct { + system.ChatGpt + request.PageInfo +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_dictionary_detail.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_dictionary_detail.go new file mode 100644 index 000000000..2f97da280 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_dictionary_detail.go @@ -0,0 +1,11 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" +) + +type SysDictionaryDetailSearch struct { + system.SysDictionaryDetail + request.PageInfo +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_init.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_init.go new file mode 100644 index 000000000..d77a89ac8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_init.go @@ -0,0 +1,102 @@ +package request + +import ( + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/config" + "os" +) + +type InitDB struct { + DBType string `json:"dbType"` // 数据库类型 + Host string `json:"host"` // 服务器地址 + Port string `json:"port"` // 数据库连接端口 + UserName string `json:"userName"` // 数据库用户名 + Password string `json:"password"` // 数据库密码 + DBName string `json:"dbName" binding:"required"` // 数据库名 + DBPath string `json:"dbPath"` // sqlite数据库文件路径 +} + +// MysqlEmptyDsn msyql 空数据库 建库链接 +// Author SliverHorn +func (i *InitDB) MysqlEmptyDsn() string { + if i.Host == "" { + i.Host = "127.0.0.1" + } + if i.Port == "" { + i.Port = "3306" + } + return fmt.Sprintf("%s:%s@tcp(%s:%s)/", i.UserName, i.Password, i.Host, i.Port) +} + +// PgsqlEmptyDsn pgsql 空数据库 建库链接 +// Author SliverHorn +func (i *InitDB) PgsqlEmptyDsn() string { + if i.Host == "" { + i.Host = "127.0.0.1" + } + if i.Port == "" { + i.Port = "5432" + } + return "host=" + i.Host + " user=" + i.UserName + " password=" + i.Password + " port=" + i.Port + " dbname=" + "postgres" + " " + "sslmode=disable TimeZone=Asia/Shanghai" +} + +// SqliteEmptyDsn sqlite 空数据库 建库链接 +// Author Kafumio +func (i *InitDB) SqliteEmptyDsn() string { + separator := string(os.PathSeparator) + return i.DBPath + separator + i.DBName + ".db" +} + +// ToMysqlConfig 转换 config.Mysql +// Author [SliverHorn](https://github.com/SliverHorn) +func (i *InitDB) ToMysqlConfig() config.Mysql { + return config.Mysql{ + GeneralDB: config.GeneralDB{ + Path: i.Host, + Port: i.Port, + Dbname: i.DBName, + Username: i.UserName, + Password: i.Password, + MaxIdleConns: 10, + MaxOpenConns: 100, + LogMode: "error", + Config: "charset=utf8mb4&parseTime=True&loc=Local", + }, + } +} + +// ToPgsqlConfig 转换 config.Pgsql +// Author [SliverHorn](https://github.com/SliverHorn) +func (i *InitDB) ToPgsqlConfig() config.Pgsql { + return config.Pgsql{ + GeneralDB: config.GeneralDB{ + Path: i.Host, + Port: i.Port, + Dbname: i.DBName, + Username: i.UserName, + Password: i.Password, + MaxIdleConns: 10, + MaxOpenConns: 100, + LogMode: "error", + Config: "sslmode=disable TimeZone=Asia/Shanghai", + }, + } +} + +// ToSqliteConfig 转换 config.Sqlite +// Author [Kafumio](https://github.com/Kafumio) +func (i *InitDB) ToSqliteConfig() config.Sqlite { + return config.Sqlite{ + GeneralDB: config.GeneralDB{ + Path: i.DBPath, + Port: i.Port, + Dbname: i.DBName, + Username: i.UserName, + Password: i.Password, + MaxIdleConns: 10, + MaxOpenConns: 100, + LogMode: "error", + Config: "", + }, + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_menu.go new file mode 100644 index 000000000..de39db8f1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_menu.go @@ -0,0 +1,27 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" +) + +// Add menu authority info structure +type AddMenuAuthorityInfo struct { + Menus []system.SysBaseMenu `json:"menus"` + AuthorityId uint `json:"authorityId"` // 角色ID +} + +func DefaultMenu() []system.SysBaseMenu { + return []system.SysBaseMenu{{ + GVA_MODEL: global.GVA_MODEL{ID: 1}, + ParentId: "0", + Path: "dashboard", + Name: "dashboard", + Component: "view/dashboard/index.vue", + Sort: 1, + Meta: system.Meta{ + Title: "仪表盘", + Icon: "setting", + }, + }} +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_operation_record.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_operation_record.go new file mode 100644 index 000000000..e58dd59c3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_operation_record.go @@ -0,0 +1,11 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" +) + +type SysOperationRecordSearch struct { + system.SysOperationRecord + request.PageInfo +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_user.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_user.go new file mode 100644 index 000000000..08fb89b29 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/request/sys_user.go @@ -0,0 +1,56 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/system" +) + +// Register User register structure +type Register struct { + Username string `json:"userName" example:"用户名"` + Password string `json:"passWord" example:"密码"` + NickName string `json:"nickName" example:"昵称"` + HeaderImg string `json:"headerImg" example:"头像链接"` + AuthorityId uint `json:"authorityId" swaggertype:"string" example:"int 角色id"` + Enable int `json:"enable" swaggertype:"string" example:"int 是否启用"` + AuthorityIds []uint `json:"authorityIds" swaggertype:"string" example:"[]uint 角色id"` + Phone string `json:"phone" example:"电话号码"` + Email string `json:"email" example:"电子邮箱"` +} + +// User login structure +type Login struct { + Username string `json:"username"` // 用户名 + Password string `json:"password"` // 密码 + Captcha string `json:"captcha"` // 验证码 + CaptchaId string `json:"captchaId"` // 验证码ID +} + +// Modify password structure +type ChangePasswordReq struct { + ID uint `json:"-"` // 从 JWT 中提取 user id,避免越权 + Password string `json:"password"` // 密码 + NewPassword string `json:"newPassword"` // 新密码 +} + +// Modify user's auth structure +type SetUserAuth struct { + AuthorityId uint `json:"authorityId"` // 角色ID +} + +// Modify user's auth structure +type SetUserAuthorities struct { + ID uint + AuthorityIds []uint `json:"authorityIds"` // 角色ID +} + +type ChangeUserInfo struct { + ID uint `gorm:"primarykey"` // 主键ID + NickName string `json:"nickName" gorm:"default:系统用户;comment:用户昵称"` // 用户昵称 + Phone string `json:"phone" gorm:"comment:用户手机号"` // 用户手机号 + AuthorityIds []uint `json:"authorityIds" gorm:"-"` // 角色ID + Email string `json:"email" gorm:"comment:用户邮箱"` // 用户邮箱 + HeaderImg string `json:"headerImg" gorm:"default:https://qmplusimg.henrongyi.top/gva_header.jpg;comment:用户头像"` // 用户头像 + SideMode string `json:"sideMode" gorm:"comment:用户侧边主题"` // 用户侧边主题 + Enable int `json:"enable" gorm:"comment:冻结用户"` //冻结用户 + Authorities []system.SysAuthority `json:"-" gorm:"many2many:sys_user_authority;"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_api.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_api.go new file mode 100644 index 000000000..09dc72f8b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_api.go @@ -0,0 +1,11 @@ +package response + +import "github.com/flipped-aurora/gin-vue-admin/server/model/system" + +type SysAPIResponse struct { + Api system.SysApi `json:"api"` +} + +type SysAPIListResponse struct { + Apis []system.SysApi `json:"apis"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_authority.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_authority.go new file mode 100644 index 000000000..a05540167 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_authority.go @@ -0,0 +1,12 @@ +package response + +import "github.com/flipped-aurora/gin-vue-admin/server/model/system" + +type SysAuthorityResponse struct { + Authority system.SysAuthority `json:"authority"` +} + +type SysAuthorityCopyResponse struct { + Authority system.SysAuthority `json:"authority"` + OldAuthorityId uint `json:"oldAuthorityId"` // 旧角色ID +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_authority_btn.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_authority_btn.go new file mode 100644 index 000000000..2f772cf09 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_authority_btn.go @@ -0,0 +1,5 @@ +package response + +type SysAuthorityBtnRes struct { + Selected []uint `json:"selected"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_auto_code.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_auto_code.go new file mode 100644 index 000000000..1e4400534 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_auto_code.go @@ -0,0 +1,16 @@ +package response + +type Db struct { + Database string `json:"database" gorm:"column:database"` +} + +type Table struct { + TableName string `json:"tableName" gorm:"column:table_name"` +} + +type Column struct { + DataType string `json:"dataType" gorm:"column:data_type"` + ColumnName string `json:"columnName" gorm:"column:column_name"` + DataTypeLong string `json:"dataTypeLong" gorm:"column:data_type_long"` + ColumnComment string `json:"columnComment" gorm:"column:column_comment"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_auto_code_history.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_auto_code_history.go new file mode 100644 index 000000000..071844c34 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_auto_code_history.go @@ -0,0 +1,14 @@ +package response + +import "time" + +type AutoCodeHistory struct { + ID uint `json:"ID" gorm:"column:id"` + CreatedAt time.Time `json:"CreatedAt" gorm:"column:created_at"` + UpdatedAt time.Time `json:"UpdatedAt" gorm:"column:updated_at"` + BusinessDB string `json:"businessDB" gorm:"column:business_db"` + TableName string `json:"tableName" gorm:"column:table_name"` + StructName string `json:"structName" gorm:"column:struct_name"` + StructCNName string `json:"structCNName" gorm:"column:struct_cn_name"` + Flag int `json:"flag" gorm:"column:flag"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_captcha.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_captcha.go new file mode 100644 index 000000000..0c3995a1d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_captcha.go @@ -0,0 +1,8 @@ +package response + +type SysCaptchaResponse struct { + CaptchaId string `json:"captchaId"` + PicPath string `json:"picPath"` + CaptchaLength int `json:"captchaLength"` + OpenCaptcha bool `json:"openCaptcha"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_casbin.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_casbin.go new file mode 100644 index 000000000..267bb42c9 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_casbin.go @@ -0,0 +1,9 @@ +package response + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" +) + +type PolicyPathResponse struct { + Paths []request.CasbinInfo `json:"paths"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_chatgpt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_chatgpt.go new file mode 100644 index 000000000..693a92a5a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_chatgpt.go @@ -0,0 +1,4 @@ +package response + +type ChatGptResponse struct { +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_menu.go new file mode 100644 index 000000000..d8f80f314 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_menu.go @@ -0,0 +1,15 @@ +package response + +import "github.com/flipped-aurora/gin-vue-admin/server/model/system" + +type SysMenusResponse struct { + Menus []system.SysMenu `json:"menus"` +} + +type SysBaseMenusResponse struct { + Menus []system.SysBaseMenu `json:"menus"` +} + +type SysBaseMenuResponse struct { + Menu system.SysBaseMenu `json:"menu"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_system.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_system.go new file mode 100644 index 000000000..f19e965bf --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_system.go @@ -0,0 +1,7 @@ +package response + +import "github.com/flipped-aurora/gin-vue-admin/server/config" + +type SysConfigResponse struct { + Config config.Server `json:"config"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_user.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_user.go new file mode 100644 index 000000000..d6f1074b7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/response/sys_user.go @@ -0,0 +1,15 @@ +package response + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/system" +) + +type SysUserResponse struct { + User system.SysUser `json:"user"` +} + +type LoginResponse struct { + User system.SysUser `json:"user"` + Token string `json:"token"` + ExpiresAt int64 `json:"expiresAt"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_api.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_api.go new file mode 100644 index 000000000..2b6ab36ce --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_api.go @@ -0,0 +1,17 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +type SysApi struct { + global.GVA_MODEL + Path string `json:"path" gorm:"comment:api路径"` // api路径 + Description string `json:"description" gorm:"comment:api中文描述"` // api中文描述 + ApiGroup string `json:"apiGroup" gorm:"comment:api组"` // api组 + Method string `json:"method" gorm:"default:POST;comment:方法"` // 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE +} + +func (SysApi) TableName() string { + return "sys_apis" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority.go new file mode 100644 index 000000000..01c5efad1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority.go @@ -0,0 +1,23 @@ +package system + +import ( + "time" +) + +type SysAuthority struct { + CreatedAt time.Time // 创建时间 + UpdatedAt time.Time // 更新时间 + DeletedAt *time.Time `sql:"index"` + AuthorityId uint `json:"authorityId" gorm:"not null;unique;primary_key;comment:角色ID;size:90"` // 角色ID + AuthorityName string `json:"authorityName" gorm:"comment:角色名"` // 角色名 + ParentId *uint `json:"parentId" gorm:"comment:父角色ID"` // 父角色ID + DataAuthorityId []*SysAuthority `json:"dataAuthorityId" gorm:"many2many:sys_data_authority_id;"` + Children []SysAuthority `json:"children" gorm:"-"` + SysBaseMenus []SysBaseMenu `json:"menus" gorm:"many2many:sys_authority_menus;"` + Users []SysUser `json:"-" gorm:"many2many:sys_user_authority;"` + DefaultRouter string `json:"defaultRouter" gorm:"comment:默认菜单;default:dashboard"` // 默认菜单(默认dashboard) +} + +func (SysAuthority) TableName() string { + return "sys_authorities" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority_btn.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority_btn.go new file mode 100644 index 000000000..e00598412 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority_btn.go @@ -0,0 +1,8 @@ +package system + +type SysAuthorityBtn struct { + AuthorityId uint `gorm:"comment:角色ID"` + SysMenuID uint `gorm:"comment:菜单ID"` + SysBaseMenuBtnID uint `gorm:"comment:菜单按钮ID"` + SysBaseMenuBtn SysBaseMenuBtn ` gorm:"comment:按钮详情"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority_menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority_menu.go new file mode 100644 index 000000000..ae39063ac --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_authority_menu.go @@ -0,0 +1,19 @@ +package system + +type SysMenu struct { + SysBaseMenu + MenuId string `json:"menuId" gorm:"comment:菜单ID"` + AuthorityId uint `json:"-" gorm:"comment:角色ID"` + Children []SysMenu `json:"children" gorm:"-"` + Parameters []SysBaseMenuParameter `json:"parameters" gorm:"foreignKey:SysBaseMenuID;references:MenuId"` + Btns map[string]uint `json:"btns" gorm:"-"` +} + +type SysAuthorityMenu struct { + MenuId string `json:"menuId" gorm:"comment:菜单ID;column:sys_base_menu_id"` + AuthorityId string `json:"-" gorm:"comment:角色ID;column:sys_authority_authority_id"` +} + +func (s SysAuthorityMenu) TableName() string { + return "sys_authority_menus" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_auto_code.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_auto_code.go new file mode 100644 index 000000000..1e94dd787 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_auto_code.go @@ -0,0 +1,119 @@ +package system + +import ( + "errors" + "go/token" + "strings" + + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +// AutoCodeStruct 初始版本自动化代码工具 +type AutoCodeStruct struct { + StructName string `json:"structName"` // Struct名称 + TableName string `json:"tableName"` // 表名 + PackageName string `json:"packageName"` // 文件名称 + HumpPackageName string `json:"humpPackageName"` // go文件名称 + Abbreviation string `json:"abbreviation"` // Struct简称 + Description string `json:"description"` // Struct中文名称 + AutoCreateApiToSql bool `json:"autoCreateApiToSql"` // 是否自动创建api + AutoCreateResource bool `json:"autoCreateResource"` // 是否自动创建资源标识 + AutoMoveFile bool `json:"autoMoveFile"` // 是否自动移动文件 + BusinessDB string `json:"businessDB"` // 业务数据库 + Fields []*Field `json:"fields,omitempty"` + HasTimer bool + DictTypes []string `json:"-"` + Package string `json:"package"` + PackageT string `json:"-"` + NeedValid bool `json:"-"` + NeedSort bool `json:"-"` + HasPic bool `json:"-"` + HasRichText bool `json:"-"` + HasFile bool `json:"-"` + NeedJSON bool `json:"-"` +} + +func (a *AutoCodeStruct) Pretreatment() { + a.KeyWord() + a.SuffixTest() +} + +// KeyWord 是go关键字的处理加上 _ ,防止编译报错 +// Author [SliverHorn](https://github.com/SliverHorn) +func (a *AutoCodeStruct) KeyWord() { + if token.IsKeyword(a.Abbreviation) { + a.Abbreviation = a.Abbreviation + "_" + } +} + +// SuffixTest 处理_test 后缀 +// Author [SliverHorn](https://github.com/SliverHorn) +func (a *AutoCodeStruct) SuffixTest() { + if strings.HasSuffix(a.HumpPackageName, "test") { + a.HumpPackageName = a.HumpPackageName + "_" + } +} + +type Field struct { + FieldName string `json:"fieldName"` // Field名 + FieldDesc string `json:"fieldDesc"` // 中文名 + FieldType string `json:"fieldType"` // Field数据类型 + FieldJson string `json:"fieldJson"` // FieldJson + DataTypeLong string `json:"dataTypeLong"` // 数据库字段长度 + Comment string `json:"comment"` // 数据库字段描述 + ColumnName string `json:"columnName"` // 数据库字段 + FieldSearchType string `json:"fieldSearchType"` // 搜索条件 + DictType string `json:"dictType"` // 字典 + Require bool `json:"require"` // 是否必填 + ErrorText string `json:"errorText"` // 校验失败文字 + Clearable bool `json:"clearable"` // 是否可清空 + Sort bool `json:"sort"` // 是否增加排序 +} + +var ErrAutoMove error = errors.New("创建代码成功并移动文件成功") + +type SysAutoCode struct { + global.GVA_MODEL + PackageName string `json:"packageName" gorm:"comment:包名"` + Label string `json:"label" gorm:"comment:展示名"` + Desc string `json:"desc" gorm:"comment:描述"` +} + +type AutoPlugReq struct { + PlugName string `json:"plugName"` // 必然大写开头 + Snake string `json:"snake"` // 后端自动转为 snake + RouterGroup string `json:"routerGroup"` + HasGlobal bool `json:"hasGlobal"` + HasRequest bool `json:"hasRequest"` + HasResponse bool `json:"hasResponse"` + NeedModel bool `json:"needModel"` + Global []AutoPlugInfo `json:"global,omitempty"` + Request []AutoPlugInfo `json:"request,omitempty"` + Response []AutoPlugInfo `json:"response,omitempty"` +} + +func (a *AutoPlugReq) CheckList() { + a.Global = bind(a.Global) + a.Request = bind(a.Request) + a.Response = bind(a.Response) + +} +func bind(req []AutoPlugInfo) []AutoPlugInfo { + var r []AutoPlugInfo + for _, info := range req { + if info.Effective() { + r = append(r, info) + } + } + return r +} + +type AutoPlugInfo struct { + Key string `json:"key"` + Type string `json:"type"` + Desc string `json:"desc"` +} + +func (a AutoPlugInfo) Effective() bool { + return a.Key != "" && a.Type != "" && a.Desc != "" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_autocode_history.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_autocode_history.go new file mode 100644 index 000000000..07cac3bdc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_autocode_history.go @@ -0,0 +1,40 @@ +package system + +import ( + "strconv" + "strings" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" +) + +// SysAutoCodeHistory 自动迁移代码记录,用于回滚,重放使用 +type SysAutoCodeHistory struct { + global.GVA_MODEL + Package string `json:"package"` + BusinessDB string `json:"businessDB"` + TableName string `json:"tableName"` + RequestMeta string `gorm:"type:text" json:"requestMeta,omitempty"` // 前端传入的结构化信息 + AutoCodePath string `gorm:"type:text" json:"autoCodePath,omitempty"` // 其他meta信息 path;path + InjectionMeta string `gorm:"type:text" json:"injectionMeta,omitempty"` // 注入的内容 RouterPath@functionName@RouterString; + StructName string `json:"structName"` + StructCNName string `json:"structCNName"` + ApiIDs string `json:"apiIDs,omitempty"` // api表注册内容 + Flag int `json:"flag"` // 表示对应状态 0 代表创建, 1 代表回滚 ... +} + +// ToRequestIds ApiIDs 转换 request.IdsReq +// Author [SliverHorn](https://github.com/SliverHorn) +func (m *SysAutoCodeHistory) ToRequestIds() request.IdsReq { + if m.ApiIDs == "" { + return request.IdsReq{} + } + slice := strings.Split(m.ApiIDs, ";") + ids := make([]int, 0, len(slice)) + length := len(slice) + for i := 0; i < length; i++ { + id, _ := strconv.ParseInt(slice[i], 10, 32) + ids = append(ids, int(id)) + } + return request.IdsReq{Ids: ids} +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_base_menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_base_menu.go new file mode 100644 index 000000000..0a2fdf27e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_base_menu.go @@ -0,0 +1,42 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +type SysBaseMenu struct { + global.GVA_MODEL + MenuLevel uint `json:"-"` + ParentId string `json:"parentId" gorm:"comment:父菜单ID"` // 父菜单ID + Path string `json:"path" gorm:"comment:路由path"` // 路由path + Name string `json:"name" gorm:"comment:路由name"` // 路由name + Hidden bool `json:"hidden" gorm:"comment:是否在列表隐藏"` // 是否在列表隐藏 + Component string `json:"component" gorm:"comment:对应前端文件路径"` // 对应前端文件路径 + Sort int `json:"sort" gorm:"comment:排序标记"` // 排序标记 + Meta `json:"meta" gorm:"embedded;comment:附加属性"` // 附加属性 + SysAuthoritys []SysAuthority `json:"authoritys" gorm:"many2many:sys_authority_menus;"` + Children []SysBaseMenu `json:"children" gorm:"-"` + Parameters []SysBaseMenuParameter `json:"parameters"` + MenuBtn []SysBaseMenuBtn `json:"menuBtn"` +} + +type Meta struct { + ActiveName string `json:"activeName" gorm:"comment:高亮菜单"` + KeepAlive bool `json:"keepAlive" gorm:"comment:是否缓存"` // 是否缓存 + DefaultMenu bool `json:"defaultMenu" gorm:"comment:是否是基础路由(开发中)"` // 是否是基础路由(开发中) + Title string `json:"title" gorm:"comment:菜单名"` // 菜单名 + Icon string `json:"icon" gorm:"comment:菜单图标"` // 菜单图标 + CloseTab bool `json:"closeTab" gorm:"comment:自动关闭tab"` // 自动关闭tab +} + +type SysBaseMenuParameter struct { + global.GVA_MODEL + SysBaseMenuID uint + Type string `json:"type" gorm:"comment:地址栏携带参数为params还是query"` // 地址栏携带参数为params还是query + Key string `json:"key" gorm:"comment:地址栏携带参数的key"` // 地址栏携带参数的key + Value string `json:"value" gorm:"comment:地址栏携带参数的值"` // 地址栏携带参数的值 +} + +func (SysBaseMenu) TableName() string { + return "sys_base_menus" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_chatgpt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_chatgpt.go new file mode 100644 index 000000000..97e83aeec --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_chatgpt.go @@ -0,0 +1,22 @@ +package system + +type ChatGpt struct { + DBName string `json:"dbname,omitempty"` + Chat string `json:"chat,omitempty"` + ChatID string `json:"chatID,omitempty"` +} + +type SysChatGptOption struct { + SK string `json:"sk"` +} + +type ChatField struct { + TABLE_NAME string + COLUMN_NAME string + COLUMN_COMMENT string +} + +type ChatFieldNoTable struct { + COLUMN_NAME string + COLUMN_COMMENT string +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_dictionary.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_dictionary.go new file mode 100644 index 000000000..c0b9bf7fc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_dictionary.go @@ -0,0 +1,20 @@ +// 自动生成模板SysDictionary +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +// 如果含有time.Time 请自行import time包 +type SysDictionary struct { + global.GVA_MODEL + Name string `json:"name" form:"name" gorm:"column:name;comment:字典名(中)"` // 字典名(中) + Type string `json:"type" form:"type" gorm:"column:type;comment:字典名(英)"` // 字典名(英) + Status *bool `json:"status" form:"status" gorm:"column:status;comment:状态"` // 状态 + Desc string `json:"desc" form:"desc" gorm:"column:desc;comment:描述"` // 描述 + SysDictionaryDetails []SysDictionaryDetail `json:"sysDictionaryDetails" form:"sysDictionaryDetails"` +} + +func (SysDictionary) TableName() string { + return "sys_dictionaries" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_dictionary_detail.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_dictionary_detail.go new file mode 100644 index 000000000..443f10718 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_dictionary_detail.go @@ -0,0 +1,21 @@ +// 自动生成模板SysDictionaryDetail +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +// 如果含有time.Time 请自行import time包 +type SysDictionaryDetail struct { + global.GVA_MODEL + Label string `json:"label" form:"label" gorm:"column:label;comment:展示值"` // 展示值 + Value int `json:"value" form:"value" gorm:"column:value;comment:字典值"` // 字典值 + Extend string `json:"extend" form:"extend" gorm:"column:extend;comment:扩展值"` // 扩展值 + Status *bool `json:"status" form:"status" gorm:"column:status;comment:启用状态"` // 启用状态 + Sort int `json:"sort" form:"sort" gorm:"column:sort;comment:排序标记"` // 排序标记 + SysDictionaryID int `json:"sysDictionaryID" form:"sysDictionaryID" gorm:"column:sys_dictionary_id;comment:关联标记"` // 关联标记 +} + +func (SysDictionaryDetail) TableName() string { + return "sys_dictionary_details" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_jwt_blacklist.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_jwt_blacklist.go new file mode 100644 index 000000000..4f9fa396d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_jwt_blacklist.go @@ -0,0 +1,10 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +type JwtBlacklist struct { + global.GVA_MODEL + Jwt string `gorm:"type:text;comment:jwt"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_menu_btn.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_menu_btn.go new file mode 100644 index 000000000..9d3276142 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_menu_btn.go @@ -0,0 +1,10 @@ +package system + +import "github.com/flipped-aurora/gin-vue-admin/server/global" + +type SysBaseMenuBtn struct { + global.GVA_MODEL + Name string `json:"name" gorm:"comment:按钮关键key"` + Desc string `json:"desc" gorm:"按钮备注"` + SysBaseMenuID uint `json:"sysBaseMenuID" gorm:"comment:菜单ID"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_operation_record.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_operation_record.go new file mode 100644 index 000000000..bd316bb4e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_operation_record.go @@ -0,0 +1,24 @@ +// 自动生成模板SysOperationRecord +package system + +import ( + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +// 如果含有time.Time 请自行import time包 +type SysOperationRecord struct { + global.GVA_MODEL + Ip string `json:"ip" form:"ip" gorm:"column:ip;comment:请求ip"` // 请求ip + Method string `json:"method" form:"method" gorm:"column:method;comment:请求方法"` // 请求方法 + Path string `json:"path" form:"path" gorm:"column:path;comment:请求路径"` // 请求路径 + Status int `json:"status" form:"status" gorm:"column:status;comment:请求状态"` // 请求状态 + Latency time.Duration `json:"latency" form:"latency" gorm:"column:latency;comment:延迟" swaggertype:"string"` // 延迟 + Agent string `json:"agent" form:"agent" gorm:"column:agent;comment:代理"` // 代理 + ErrorMessage string `json:"error_message" form:"error_message" gorm:"column:error_message;comment:错误信息"` // 错误信息 + Body string `json:"body" form:"body" gorm:"type:text;column:body;comment:请求Body"` // 请求Body + Resp string `json:"resp" form:"resp" gorm:"type:text;column:resp;comment:响应Body"` // 响应Body + UserID int `json:"user_id" form:"user_id" gorm:"column:user_id;comment:用户id"` // 用户id + User SysUser `json:"user"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_system.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_system.go new file mode 100644 index 000000000..ad983110b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_system.go @@ -0,0 +1,10 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/config" +) + +// 配置文件结构体 +type System struct { + Config config.Server `json:"config"` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_user.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_user.go new file mode 100644 index 000000000..e9857203b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_user.go @@ -0,0 +1,28 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/gofrs/uuid/v5" +) + +type SysUser struct { + global.GVA_MODEL + UUID uuid.UUID `json:"uuid" gorm:"index;comment:用户UUID"` // 用户UUID + Username string `json:"userName" gorm:"index;comment:用户登录名"` // 用户登录名 + Password string `json:"-" gorm:"comment:用户登录密码"` // 用户登录密码 + NickName string `json:"nickName" gorm:"default:系统用户;comment:用户昵称"` // 用户昵称 + SideMode string `json:"sideMode" gorm:"default:dark;comment:用户侧边主题"` // 用户侧边主题 + HeaderImg string `json:"headerImg" gorm:"default:https://qmplusimg.henrongyi.top/gva_header.jpg;comment:用户头像"` // 用户头像 + BaseColor string `json:"baseColor" gorm:"default:#fff;comment:基础颜色"` // 基础颜色 + ActiveColor string `json:"activeColor" gorm:"default:#1890ff;comment:活跃颜色"` // 活跃颜色 + AuthorityId uint `json:"authorityId" gorm:"default:888;comment:用户角色ID"` // 用户角色ID + Authority SysAuthority `json:"authority" gorm:"foreignKey:AuthorityId;references:AuthorityId;comment:用户角色"` + Authorities []SysAuthority `json:"authorities" gorm:"many2many:sys_user_authority;"` + Phone string `json:"phone" gorm:"comment:用户手机号"` // 用户手机号 + Email string `json:"email" gorm:"comment:用户邮箱"` // 用户邮箱 + Enable int `json:"enable" gorm:"default:1;comment:用户是否被冻结 1正常 2冻结"` //用户是否被冻结 1正常 2冻结 +} + +func (SysUser) TableName() string { + return "sys_users" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_user_authority.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_user_authority.go new file mode 100644 index 000000000..1aa83cbd5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/system/sys_user_authority.go @@ -0,0 +1,11 @@ +package system + +// SysUserAuthority 是 sysUser 和 sysAuthority 的连接表 +type SysUserAuthority struct { + SysUserId uint `gorm:"column:sys_user_id"` + SysAuthorityAuthorityId uint `gorm:"column:sys_authority_authority_id"` +} + +func (s *SysUserAuthority) TableName() string { + return "sys_user_authority" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/user_block/request/user_block.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/user_block/request/user_block.go new file mode 100644 index 000000000..c4eb09c83 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/user_block/request/user_block.go @@ -0,0 +1,14 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/user_block" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "time" +) + +type UserBlockSearch struct{ + user_block.UserBlock + StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"` + EndCreatedAt *time.Time `json:"endCreatedAt" form:"endCreatedAt"` + request.PageInfo +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/user_block/user_block.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/user_block/user_block.go new file mode 100644 index 000000000..870faf1dd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/model/user_block/user_block.go @@ -0,0 +1,29 @@ +// 自动生成模板UserBlock +package user_block + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + + +) + +// 区块链用户 结构体 UserBlock +type UserBlock struct { + global.GVA_MODEL + Name string `json:"name" form:"name" gorm:"column:name;comment:;size:255;"` //用户名 + Biaoshi string `json:"biaoshi" form:"biaoshi" gorm:"column:biaoshi;comment:;size:255;"` //用户标识 + Money *float64 `json:"money" form:"money" gorm:"column:money;comment:;"` //余额 + Workid *int `json:"workid" form:"workid" gorm:"column:workid;comment:;"` //作品序号 + Password string `json:"password" form:"password" gorm:"column:password;comment:;size:255;"` //密码 + Email string `json:"email" form:"email" gorm:"column:email;comment:;size:255;"` //邮箱 + CreatedBy uint `gorm:"column:created_by;comment:创建者"` + UpdatedBy uint `gorm:"column:updated_by;comment:更新者"` + DeletedBy uint `gorm:"column:deleted_by;comment:删除者"` +} + + +// TableName 区块链用户 UserBlock自定义表名 user_block +func (UserBlock) TableName() string { + return "user_block" +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/package-lock.json b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/package-lock.json new file mode 100644 index 000000000..b280e8bae --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "server", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/packfile/notUsePackFile.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/packfile/notUsePackFile.go new file mode 100644 index 000000000..53871d6a7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/packfile/notUsePackFile.go @@ -0,0 +1,4 @@ +//go:build !packfile +// +build !packfile + +package packfile diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/packfile/usePackFile.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/packfile/usePackFile.go new file mode 100644 index 000000000..7820af999 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/packfile/usePackFile.go @@ -0,0 +1,45 @@ +//go:build packfile +// +build packfile + +package packfile + +import ( + "fmt" + "os" + "path/filepath" + "strings" +) + +//go:generate go-bindata -o=staticFile.go -pkg=packfile -tags=packfile ../resource/... ../config.yaml + +func writeFile(path string, data []byte) { + // 如果文件夹不存在,预先创建文件夹 + if lastSeparator := strings.LastIndex(path, "/"); lastSeparator != -1 { + dirPath := path[:lastSeparator] + if _, err := os.Stat(dirPath); err != nil && os.IsNotExist(err) { + os.MkdirAll(dirPath, os.ModePerm) + } + } + + // 已存在的文件,不应该覆盖重写,可能在前端更改了配置文件等 + if _, err := os.Stat(path); os.IsNotExist(err) { + if err2 := os.WriteFile(path, data, os.ModePerm); err2 != nil { + fmt.Printf("Write file failed: %s\n", path) + } + } else { + fmt.Printf("File exist, skip: %s\n", path) + } +} + +func init() { + for key := range _bindata { + filePath, _ := filepath.Abs(strings.TrimPrefix(key, ".")) + data, err := Asset(key) + if err != nil { + // Asset was not found. + fmt.Printf("Fail to find: %s\n", filePath) + } else { + writeFile(filePath, data) + } + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/README.MD b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/README.MD new file mode 100644 index 000000000..17202838d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/README.MD @@ -0,0 +1,75 @@ +## GVA 邮件发送功能插件 +#### 开发者:GIN-VUE-ADMIN 官方 + +### 使用步骤 + +#### 1. 前往GVA主程序下的initialize/router.go 在Routers 方法最末尾按照你需要的及安全模式添加本插件 + 例: + 本插件可以采用gva的配置文件 也可以直接写死内容作为配置 建议为gva添加配置文件结构 然后将配置传入 + PluginInit(PrivateGroup, email.CreateEmailPlug( + global.GVA_CONFIG.Email.To, + global.GVA_CONFIG.Email.From, + global.GVA_CONFIG.Email.Host, + global.GVA_CONFIG.Email.Secret, + global.GVA_CONFIG.Email.Nickname, + global.GVA_CONFIG.Email.Port, + global.GVA_CONFIG.Email.IsSSL, + )) + + 同样也可以再传入时写死 + + PluginInit(PrivateGroup, email.CreateEmailPlug( + "a@qq.com", + "b@qq.com", + "smtp.qq.com", + "global.GVA_CONFIG.Email.Secret", + "登录密钥", + 465, + true, + )) + +### 2. 配置说明 + +#### 2-1 全局配置结构体说明 + //其中 Form 和 Secret 通常来说就是用户名和密码 + + type Email struct { + To string // 收件人:多个以英文逗号分隔 例:a@qq.com b@qq.com 正式开发中请把此项目作为参数使用 此处配置主要用于发送错误监控邮件 + From string // 发件人 你自己要发邮件的邮箱 + Host string // 服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议 + Secret string // 密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥 + Nickname string // 昵称 发件人昵称 自定义即可 可以不填 + Port int // 端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465 + IsSSL bool // 是否SSL 是否开启SSL + } +#### 2-2 入参结构说明 + //其中 Form 和 Secret 通常来说就是用户名和密码 + + type Email struct { + To string `json:"to"` // 邮件发送给谁 + Subject string `json:"subject"` // 邮件标题 + Body string `json:"body"` // 邮件内容 + } + + +### 3. 方法API + + utils.EmailTest(邮件标题,邮件主体) 发送测试邮件 + 例:utils.EmailTest("测试邮件","测试邮件") + utils.ErrorToEmail(邮件标题,邮件主体) 错误监控 + 例:utils.ErrorToEmail("测试邮件","测试邮件") + utils.Email(目标邮箱多个的话用逗号分隔,邮件标题,邮件主体) 发送测试邮件 + 例:utils.Email(”a.qq.com,b.qq.com“,"测试邮件","测试邮件") + +### 4. 可直接调用的接口 + + 测试接口: /email/emailTest [post] 已配置swagger + + 发送邮件接口接口: /email/emailSend [post] 已配置swagger + 入参: + type Email struct { + To string `json:"to"` // 邮件发送给谁 + Subject string `json:"subject"` // 邮件标题 + Body string `json:"body"` // 邮件内容 + } + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/api/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/api/enter.go new file mode 100644 index 000000000..353404d2c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/api/enter.go @@ -0,0 +1,7 @@ +package api + +type ApiGroup struct { + EmailApi +} + +var ApiGroupApp = new(ApiGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/api/sys_email.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/api/sys_email.go new file mode 100644 index 000000000..fdc76ab64 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/api/sys_email.go @@ -0,0 +1,53 @@ +package api + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + email_response "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/model/response" + "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type EmailApi struct{} + +// EmailTest +// @Tags System +// @Summary 发送测试邮件 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"发送成功"}" +// @Router /email/emailTest [post] +func (s *EmailApi) EmailTest(c *gin.Context) { + err := service.ServiceGroupApp.EmailTest() + if err != nil { + global.GVA_LOG.Error("发送失败!", zap.Error(err)) + response.FailWithMessage("发送失败", c) + return + } + response.OkWithMessage("发送成功", c) +} + +// SendEmail +// @Tags System +// @Summary 发送邮件 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body email_response.Email true "发送邮件必须的参数" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"发送成功"}" +// @Router /email/sendEmail [post] +func (s *EmailApi) SendEmail(c *gin.Context) { + var email email_response.Email + err := c.ShouldBindJSON(&email) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + err = service.ServiceGroupApp.SendEmail(email.To, email.Subject, email.Body) + if err != nil { + global.GVA_LOG.Error("发送失败!", zap.Error(err)) + response.FailWithMessage("发送失败", c) + return + } + response.OkWithMessage("发送成功", c) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/config/email.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/config/email.go new file mode 100644 index 000000000..c535348c0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/config/email.go @@ -0,0 +1,11 @@ +package config + +type Email struct { + To string `mapstructure:"to" json:"to" yaml:"to"` // 收件人:多个以英文逗号分隔 例:a@qq.com b@qq.com 正式开发中请把此项目作为参数使用 + From string `mapstructure:"from" json:"from" yaml:"from"` // 发件人 你自己要发邮件的邮箱 + Host string `mapstructure:"host" json:"host" yaml:"host"` // 服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议 + Secret string `mapstructure:"secret" json:"secret" yaml:"secret"` // 密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥 + Nickname string `mapstructure:"nickname" json:"nickname" yaml:"nickname"` // 昵称 发件人昵称 通常为自己的邮箱 + Port int `mapstructure:"port" json:"port" yaml:"port"` // 端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465 + IsSSL bool `mapstructure:"is-ssl" json:"isSSL" yaml:"is-ssl"` // 是否SSL 是否开启SSL +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/global/gloabl.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/global/gloabl.go new file mode 100644 index 000000000..13082d0db --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/global/gloabl.go @@ -0,0 +1,5 @@ +package global + +import "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/config" + +var GlobalConfig = new(config.Email) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/main.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/main.go new file mode 100644 index 000000000..cfc8c46b1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/main.go @@ -0,0 +1,28 @@ +package email + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/global" + "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/router" + "github.com/gin-gonic/gin" +) + +type emailPlugin struct{} + +func CreateEmailPlug(To, From, Host, Secret, Nickname string, Port int, IsSSL bool) *emailPlugin { + global.GlobalConfig.To = To + global.GlobalConfig.From = From + global.GlobalConfig.Host = Host + global.GlobalConfig.Secret = Secret + global.GlobalConfig.Nickname = Nickname + global.GlobalConfig.Port = Port + global.GlobalConfig.IsSSL = IsSSL + return &emailPlugin{} +} + +func (*emailPlugin) Register(group *gin.RouterGroup) { + router.RouterGroupApp.InitEmailRouter(group) +} + +func (*emailPlugin) RouterPath() string { + return "email" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/model/response/email.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/model/response/email.go new file mode 100644 index 000000000..ed2547507 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/model/response/email.go @@ -0,0 +1,7 @@ +package response + +type Email struct { + To string `json:"to"` // 邮件发送给谁 + Subject string `json:"subject"` // 邮件标题 + Body string `json:"body"` // 邮件内容 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/router/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/router/enter.go new file mode 100644 index 000000000..e081a54c3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/router/enter.go @@ -0,0 +1,7 @@ +package router + +type RouterGroup struct { + EmailRouter +} + +var RouterGroupApp = new(RouterGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/router/sys_email.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/router/sys_email.go new file mode 100644 index 000000000..1f9f07f0e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/router/sys_email.go @@ -0,0 +1,19 @@ +package router + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/api" + "github.com/gin-gonic/gin" +) + +type EmailRouter struct{} + +func (s *EmailRouter) InitEmailRouter(Router *gin.RouterGroup) { + emailRouter := Router.Use(middleware.OperationRecord()) + EmailApi := api.ApiGroupApp.EmailApi.EmailTest + SendEmail := api.ApiGroupApp.EmailApi.SendEmail + { + emailRouter.POST("emailTest", EmailApi) // 发送测试邮件 + emailRouter.POST("sendEmail", SendEmail) // 发送邮件 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/service/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/service/enter.go new file mode 100644 index 000000000..e96e267f5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/service/enter.go @@ -0,0 +1,7 @@ +package service + +type ServiceGroup struct { + EmailService +} + +var ServiceGroupApp = new(ServiceGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/service/sys_email.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/service/sys_email.go new file mode 100644 index 000000000..57042769c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/service/sys_email.go @@ -0,0 +1,32 @@ +package service + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/utils" +) + +type EmailService struct{} + +//@author: [maplepie](https://github.com/maplepie) +//@function: EmailTest +//@description: 发送邮件测试 +//@return: err error + +func (e *EmailService) EmailTest() (err error) { + subject := "test" + body := "test" + err = utils.EmailTest(subject, body) + return err +} + +//@author: [maplepie](https://github.com/maplepie) +//@function: EmailTest +//@description: 发送邮件测试 +//@return: err error +//@params to string 收件人 +//@params subject string 标题(主题) +//@params body string 邮件内容 + +func (e *EmailService) SendEmail(to, subject, body string) (err error) { + err = utils.Email(to, subject, body) + return err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/utils/email.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/utils/email.go new file mode 100644 index 000000000..aa82e1c89 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/email/utils/email.go @@ -0,0 +1,82 @@ +package utils + +import ( + "crypto/tls" + "fmt" + "net/smtp" + "strings" + + "github.com/flipped-aurora/gin-vue-admin/server/plugin/email/global" + + "github.com/jordan-wright/email" +) + +//@author: [maplepie](https://github.com/maplepie) +//@function: Email +//@description: Email发送方法 +//@param: subject string, body string +//@return: error + +func Email(To, subject string, body string) error { + to := strings.Split(To, ",") + return send(to, subject, body) +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: ErrorToEmail +//@description: 给email中间件错误发送邮件到指定邮箱 +//@param: subject string, body string +//@return: error + +func ErrorToEmail(subject string, body string) error { + to := strings.Split(global.GlobalConfig.To, ",") + if to[len(to)-1] == "" { // 判断切片的最后一个元素是否为空,为空则移除 + to = to[:len(to)-1] + } + return send(to, subject, body) +} + +//@author: [maplepie](https://github.com/maplepie) +//@function: EmailTest +//@description: Email测试方法 +//@param: subject string, body string +//@return: error + +func EmailTest(subject string, body string) error { + to := []string{global.GlobalConfig.To} + return send(to, subject, body) +} + +//@author: [maplepie](https://github.com/maplepie) +//@function: send +//@description: Email发送方法 +//@param: subject string, body string +//@return: error + +func send(to []string, subject string, body string) error { + from := global.GlobalConfig.From + nickname := global.GlobalConfig.Nickname + secret := global.GlobalConfig.Secret + host := global.GlobalConfig.Host + port := global.GlobalConfig.Port + isSSL := global.GlobalConfig.IsSSL + + auth := smtp.PlainAuth("", from, secret, host) + e := email.NewEmail() + if nickname != "" { + e.From = fmt.Sprintf("%s <%s>", nickname, from) + } else { + e.From = from + } + e.To = to + e.Subject = subject + e.HTML = []byte(body) + var err error + hostAddr := fmt.Sprintf("%s:%d", host, port) + if isSSL { + err = e.SendWithTLS(hostAddr, auth, &tls.Config{ServerName: host}) + } else { + err = e.Send(hostAddr, auth) + } + return err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/plugin-tool/utils/check.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/plugin-tool/utils/check.go new file mode 100644 index 000000000..937aa8ed3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/plugin-tool/utils/check.go @@ -0,0 +1,53 @@ +package utils + +import ( + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "strconv" +) + +func RegisterApis(apis ...system.SysApi) { + var count int64 + var apiPaths []string + for i := range apis { + apiPaths = append(apiPaths, apis[i].Path) + } + global.GVA_DB.Find(&[]system.SysApi{}, "path in (?)", apiPaths).Count(&count) + if count > 0 { + fmt.Println("插件已安装或存在同名路由") + return + } + err := global.GVA_DB.Create(&apis).Error + if err != nil { + fmt.Println(err) + } +} + +func RegisterMenus(menus ...system.SysBaseMenu) { + var count int64 + var menuNames []string + parentMenu := menus[0] + otherMenus := menus[1:] + for i := range menus { + menuNames = append(menuNames, menus[i].Name) + } + global.GVA_DB.Find(&[]system.SysBaseMenu{}, "name in (?)", menuNames).Count(&count) + if count > 0 { + fmt.Println("插件已安装或存在同名菜单") + return + } + parentMenu.ParentId = "0" + err := global.GVA_DB.Create(&parentMenu).Error + if err != nil { + fmt.Println(err) + } + for i := range otherMenus { + pid := strconv.Itoa(int(parentMenu.ID)) + otherMenus[i].ParentId = pid + } + err = global.GVA_DB.Create(&otherMenus).Error + if err != nil { + fmt.Println(err) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/ws/ws.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/ws/ws.go new file mode 100644 index 000000000..bd6926e0c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/plugin/ws/ws.go @@ -0,0 +1,84 @@ +package ws + +import ( + "github.com/flipped-aurora/ws/core/biz" + "github.com/flipped-aurora/ws/core/data" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "nhooyr.io/websocket" +) + +type wsPlugin struct { + logger *zap.Logger // 日志输出对象 + manageBuf int64 // buffer + registeredMsgHandler map[int32]func(biz.IMessage) bool // 消息处理 + checkMap map[string]biz.CheckFunc // 用户校验 + + admin biz.IManage + adminCase *biz.AdminCase +} + +func DefaultRegisteredMsgHandler(admin biz.IManage, logger *zap.Logger) map[int32]func(biz.IMessage) bool { + return map[int32]func(msg biz.IMessage) bool{ + 1: func(msg biz.IMessage) bool { + // w.admin 里面找到注册客户端的方法 + client, ok := admin.FindClient(msg.GetTo()) + if !ok { + logger.Info("没有找到该用户") + return false + } + return client.SendMes(msg) + }, + } +} + +func DefaultCheckMap() map[string]biz.CheckFunc { + return map[string]biz.CheckFunc{ + "gva_ws": func(c interface{}) (string, bool) { + // 先断言是gin.content + cc, ok := c.(*gin.Context) + if !ok { + return "", false + } + token := cc.Query("jwt") + // 可以携带jwt + if len(token) == 0 { + return "", false + } + // 解析 jwt... + + return token, true + }, + } +} + +func (w *wsPlugin) Register(g *gin.RouterGroup) { + // gva_ws 为身份校验函数 + g.GET("/ws", w.adminCase.HandlerWS("gva_ws", &websocket.AcceptOptions{ + InsecureSkipVerify: true, + })) + g.POST("/sendMsg", w.adminCase.SendMsg("gva_ws")) +} + +func (w *wsPlugin) RouterPath() string { + return "gva_ws" +} + +func GenerateWs(logger *zap.Logger, manageBuf int64, checkMap map[string]biz.CheckFunc) *wsPlugin { + m := data.NewManage(manageBuf) + t := data.NewTopic() + h := data.NewHandle() + admin := data.NewAdmin(m, t, h, logger) + for s, checkFunc := range checkMap { + admin.AddCheckFunc(s, checkFunc) + } + registeredMsgHandler := DefaultRegisteredMsgHandler(admin, logger) + + for key, handler := range registeredMsgHandler { + admin.RegisteredMsgHandler(key, handler) + } + return &wsPlugin{ + logger: logger, manageBuf: manageBuf, + registeredMsgHandler: registeredMsgHandler, checkMap: checkMap, admin: admin, adminCase: biz.NewAdmin(admin), + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/readme.txt.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/readme.txt.tpl new file mode 100644 index 000000000..25de23006 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/readme.txt.tpl @@ -0,0 +1,7 @@ +代码解压后把fe的api文件内容粘贴进前端api文件夹下并修改为自己想要的名字即可 + +后端代码解压后同理,放到自己想要的 mvc对应路径 并且到 initRouter中注册自动生成的路由 到registerTable中注册自动生成的model + +项目github:"https://github.com/piexlmax/github.com/flipped-aurora/gin-vue-admin/server" + +希望大家给个star多多鼓励 diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/api.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/api.go.tpl new file mode 100644 index 000000000..1644d71d8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/api.go.tpl @@ -0,0 +1,210 @@ +package {{.Package}} + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/{{.Package}}" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + {{.Package}}Req "github.com/flipped-aurora/gin-vue-admin/server/model/{{.Package}}/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" + "github.com/flipped-aurora/gin-vue-admin/server/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + {{- if .NeedValid }} + "github.com/flipped-aurora/gin-vue-admin/server/utils" + {{- else if .AutoCreateResource}} + "github.com/flipped-aurora/gin-vue-admin/server/utils" + {{- end }} +) + +type {{.StructName}}Api struct { +} + +var {{.Abbreviation}}Service = service.ServiceGroupApp.{{.PackageT}}ServiceGroup.{{.StructName}}Service + + +// Create{{.StructName}} 创建{{.Description}} +// @Tags {{.StructName}} +// @Summary 创建{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body {{.Package}}.{{.StructName}} true "创建{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /{{.Abbreviation}}/create{{.StructName}} [post] +func ({{.Abbreviation}}Api *{{.StructName}}Api) Create{{.StructName}}(c *gin.Context) { + var {{.Abbreviation}} {{.Package}}.{{.StructName}} + err := c.ShouldBindJSON(&{{.Abbreviation}}) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + {{- if .AutoCreateResource }} + {{.Abbreviation}}.CreatedBy = utils.GetUserID(c) + {{- end }} + {{- if .NeedValid }} + verify := utils.Rules{ + {{- range $index,$element := .Fields }} + {{- if $element.Require }} + "{{$element.FieldName}}":{utils.NotEmpty()}, + {{- end }} + {{- end }} + } + if err := utils.Verify({{.Abbreviation}}, verify); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + {{- end }} + if err := {{.Abbreviation}}Service.Create{{.StructName}}(&{{.Abbreviation}}); err != nil { + global.GVA_LOG.Error("创建失败!", zap.Error(err)) + response.FailWithMessage("创建失败", c) + } else { + response.OkWithMessage("创建成功", c) + } +} + +// Delete{{.StructName}} 删除{{.Description}} +// @Tags {{.StructName}} +// @Summary 删除{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body {{.Package}}.{{.StructName}} true "删除{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /{{.Abbreviation}}/delete{{.StructName}} [delete] +func ({{.Abbreviation}}Api *{{.StructName}}Api) Delete{{.StructName}}(c *gin.Context) { + var {{.Abbreviation}} {{.Package}}.{{.StructName}} + err := c.ShouldBindJSON(&{{.Abbreviation}}) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + {{- if .AutoCreateResource }} + {{.Abbreviation}}.DeletedBy = utils.GetUserID(c) + {{- end }} + if err := {{.Abbreviation}}Service.Delete{{.StructName}}({{.Abbreviation}}); err != nil { + global.GVA_LOG.Error("删除失败!", zap.Error(err)) + response.FailWithMessage("删除失败", c) + } else { + response.OkWithMessage("删除成功", c) + } +} + +// Delete{{.StructName}}ByIds 批量删除{{.Description}} +// @Tags {{.StructName}} +// @Summary 批量删除{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "批量删除{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" +// @Router /{{.Abbreviation}}/delete{{.StructName}}ByIds [delete] +func ({{.Abbreviation}}Api *{{.StructName}}Api) Delete{{.StructName}}ByIds(c *gin.Context) { + var IDS request.IdsReq + err := c.ShouldBindJSON(&IDS) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + {{- if .AutoCreateResource }} + deletedBy := utils.GetUserID(c) + {{- end }} + if err := {{.Abbreviation}}Service.Delete{{.StructName}}ByIds(IDS{{- if .AutoCreateResource }},deletedBy{{- end }}); err != nil { + global.GVA_LOG.Error("批量删除失败!", zap.Error(err)) + response.FailWithMessage("批量删除失败", c) + } else { + response.OkWithMessage("批量删除成功", c) + } +} + +// Update{{.StructName}} 更新{{.Description}} +// @Tags {{.StructName}} +// @Summary 更新{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body {{.Package}}.{{.StructName}} true "更新{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /{{.Abbreviation}}/update{{.StructName}} [put] +func ({{.Abbreviation}}Api *{{.StructName}}Api) Update{{.StructName}}(c *gin.Context) { + var {{.Abbreviation}} {{.Package}}.{{.StructName}} + err := c.ShouldBindJSON(&{{.Abbreviation}}) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + {{- if .AutoCreateResource }} + {{.Abbreviation}}.UpdatedBy = utils.GetUserID(c) + {{- end }} + {{- if .NeedValid }} + verify := utils.Rules{ + {{- range $index,$element := .Fields }} + {{- if $element.Require }} + "{{$element.FieldName}}":{utils.NotEmpty()}, + {{- end }} + {{- end }} + } + if err := utils.Verify({{.Abbreviation}}, verify); err != nil { + response.FailWithMessage(err.Error(), c) + return + } + {{- end }} + if err := {{.Abbreviation}}Service.Update{{.StructName}}({{.Abbreviation}}); err != nil { + global.GVA_LOG.Error("更新失败!", zap.Error(err)) + response.FailWithMessage("更新失败", c) + } else { + response.OkWithMessage("更新成功", c) + } +} + +// Find{{.StructName}} 用id查询{{.Description}} +// @Tags {{.StructName}} +// @Summary 用id查询{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query {{.Package}}.{{.StructName}} true "用id查询{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /{{.Abbreviation}}/find{{.StructName}} [get] +func ({{.Abbreviation}}Api *{{.StructName}}Api) Find{{.StructName}}(c *gin.Context) { + var {{.Abbreviation}} {{.Package}}.{{.StructName}} + err := c.ShouldBindQuery(&{{.Abbreviation}}) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if re{{.Abbreviation}}, err := {{.Abbreviation}}Service.Get{{.StructName}}({{.Abbreviation}}.ID); err != nil { + global.GVA_LOG.Error("查询失败!", zap.Error(err)) + response.FailWithMessage("查询失败", c) + } else { + response.OkWithData(gin.H{"re{{.Abbreviation}}": re{{.Abbreviation}}}, c) + } +} + +// Get{{.StructName}}List 分页获取{{.Description}}列表 +// @Tags {{.StructName}} +// @Summary 分页获取{{.Description}}列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query {{.Package}}Req.{{.StructName}}Search true "分页获取{{.Description}}列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /{{.Abbreviation}}/get{{.StructName}}List [get] +func ({{.Abbreviation}}Api *{{.StructName}}Api) Get{{.StructName}}List(c *gin.Context) { + var pageInfo {{.Package}}Req.{{.StructName}}Search + err := c.ShouldBindQuery(&pageInfo) + if err != nil { + response.FailWithMessage(err.Error(), c) + return + } + if list, total, err := {{.Abbreviation}}Service.Get{{.StructName}}InfoList(pageInfo); err != nil { + global.GVA_LOG.Error("获取失败!", zap.Error(err)) + response.FailWithMessage("获取失败", c) + } else { + response.OkWithDetailed(response.PageResult{ + List: list, + Total: total, + Page: pageInfo.Page, + PageSize: pageInfo.PageSize, + }, "获取成功", c) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/model.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/model.go.tpl new file mode 100644 index 000000000..de2a687ca --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/model.go.tpl @@ -0,0 +1,42 @@ +// 自动生成模板{{.StructName}} +package {{.Package}} + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + {{ if .HasTimer }}"time"{{ end }} + {{ if .NeedJSON }}"gorm.io/datatypes"{{ end }} +) + +// {{.Description}} 结构体 {{.StructName}} +type {{.StructName}} struct { + global.GVA_MODEL {{- range .Fields}} + {{- if eq .FieldType "enum" }} + {{.FieldName}} string `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};type:enum({{.DataTypeLong}});comment:{{.Comment}};"` + {{- else if eq .FieldType "picture" }} + {{.FieldName}} string `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:{{.Comment}};{{- if .DataTypeLong -}}size:{{.DataTypeLong}};{{- end -}}"` + {{- else if eq .FieldType "video" }} + {{.FieldName}} string `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:{{.Comment}};{{- if .DataTypeLong -}}size:{{.DataTypeLong}};{{- end -}}"` + {{- else if eq .FieldType "file" }} + {{.FieldName}} datatypes.JSON `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:{{.Comment}};{{- if .DataTypeLong -}}size:{{.DataTypeLong}};{{- end -}}"` + {{- else if eq .FieldType "pictures" }} + {{.FieldName}} datatypes.JSON `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:{{.Comment}};{{- if .DataTypeLong -}}size:{{.DataTypeLong}};{{- end -}}"` + {{- else if eq .FieldType "richtext" }} + {{.FieldName}} string `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:{{.Comment}};{{- if .DataTypeLong -}}size:{{.DataTypeLong}};{{- end -}}type:text;"` + {{- else if ne .FieldType "string" }} + {{.FieldName}} *{{.FieldType}} `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:{{.Comment}};{{- if .DataTypeLong -}}size:{{.DataTypeLong}};{{- end -}}"` + {{- else }} + {{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}" form:"{{.FieldJson}}" gorm:"column:{{.ColumnName}};comment:{{.Comment}};{{- if .DataTypeLong -}}size:{{.DataTypeLong}};{{- end -}}"` + {{- end }} {{ if .FieldDesc }}//{{.FieldDesc}} {{ end }} {{- end }} + {{- if .AutoCreateResource }} + CreatedBy uint `gorm:"column:created_by;comment:创建者"` + UpdatedBy uint `gorm:"column:updated_by;comment:更新者"` + DeletedBy uint `gorm:"column:deleted_by;comment:删除者"` + {{- end}} +} + +{{ if .TableName }} +// TableName {{.Description}} {{.StructName}}自定义表名 {{.TableName}} +func ({{.StructName}}) TableName() string { + return "{{.TableName}}" +} +{{ end }} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/request.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/request.go.tpl new file mode 100644 index 000000000..c9e09309d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/request.go.tpl @@ -0,0 +1,24 @@ +package request + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/{{.Package}}" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "time" +) + +type {{.StructName}}Search struct{ + {{.Package}}.{{.StructName}} + StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"` + EndCreatedAt *time.Time `json:"endCreatedAt" form:"endCreatedAt"` + {{- range .Fields}} + {{- if eq .FieldSearchType "BETWEEN" "NOT BETWEEN"}} + Start{{.FieldName}} *{{.FieldType}} `json:"start{{.FieldName}}" form:"start{{.FieldName}}"` + End{{.FieldName}} *{{.FieldType}} `json:"end{{.FieldName}}" form:"end{{.FieldName}}"` + {{- end }} + {{- end }} + request.PageInfo + {{- if .NeedSort}} + Sort string `json:"sort" form:"sort"` + Order string `json:"order" form:"order"` + {{- end}} +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/router.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/router.go.tpl new file mode 100644 index 000000000..dc706305d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/router.go.tpl @@ -0,0 +1,27 @@ +package {{.Package}} + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type {{.StructName}}Router struct { +} + +// Init{{.StructName}}Router 初始化 {{.Description}} 路由信息 +func (s *{{.StructName}}Router) Init{{.StructName}}Router(Router *gin.RouterGroup) { + {{.Abbreviation}}Router := Router.Group("{{.Abbreviation}}").Use(middleware.OperationRecord()) + {{.Abbreviation}}RouterWithoutRecord := Router.Group("{{.Abbreviation}}") + var {{.Abbreviation}}Api = v1.ApiGroupApp.{{.PackageT}}ApiGroup.{{.StructName}}Api + { + {{.Abbreviation}}Router.POST("create{{.StructName}}", {{.Abbreviation}}Api.Create{{.StructName}}) // 新建{{.Description}} + {{.Abbreviation}}Router.DELETE("delete{{.StructName}}", {{.Abbreviation}}Api.Delete{{.StructName}}) // 删除{{.Description}} + {{.Abbreviation}}Router.DELETE("delete{{.StructName}}ByIds", {{.Abbreviation}}Api.Delete{{.StructName}}ByIds) // 批量删除{{.Description}} + {{.Abbreviation}}Router.PUT("update{{.StructName}}", {{.Abbreviation}}Api.Update{{.StructName}}) // 更新{{.Description}} + } + { + {{.Abbreviation}}RouterWithoutRecord.GET("find{{.StructName}}", {{.Abbreviation}}Api.Find{{.StructName}}) // 根据ID获取{{.Description}} + {{.Abbreviation}}RouterWithoutRecord.GET("get{{.StructName}}List", {{.Abbreviation}}Api.Get{{.StructName}}List) // 获取{{.Description}}列表 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/service.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/service.go.tpl new file mode 100644 index 000000000..1a28e37e7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/server/service.go.tpl @@ -0,0 +1,138 @@ +package {{.Package}} + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/{{.Package}}" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + {{.Package}}Req "github.com/flipped-aurora/gin-vue-admin/server/model/{{.Package}}/request" + {{- if .AutoCreateResource }} + "gorm.io/gorm" + {{- end}} +) + +type {{.StructName}}Service struct { +} + +{{- $db := "" }} +{{- if eq .BusinessDB "" }} + {{- $db = "global.GVA_DB" }} +{{- else}} + {{- $db = printf "global.MustGetGlobalDBByDBName(\"%s\")" .BusinessDB }} +{{- end}} + +// Create{{.StructName}} 创建{{.Description}}记录 +// Author [piexlmax](https://github.com/piexlmax) +func ({{.Abbreviation}}Service *{{.StructName}}Service) Create{{.StructName}}({{.Abbreviation}} *{{.Package}}.{{.StructName}}) (err error) { + err = {{$db}}.Create({{.Abbreviation}}).Error + return err +} + +// Delete{{.StructName}} 删除{{.Description}}记录 +// Author [piexlmax](https://github.com/piexlmax) +func ({{.Abbreviation}}Service *{{.StructName}}Service)Delete{{.StructName}}({{.Abbreviation}} {{.Package}}.{{.StructName}}) (err error) { + {{- if .AutoCreateResource }} + err = {{$db}}.Transaction(func(tx *gorm.DB) error { + if err := tx.Model(&{{.Package}}.{{.StructName}}{}).Where("id = ?", {{.Abbreviation}}.ID).Update("deleted_by", {{.Abbreviation}}.DeletedBy).Error; err != nil { + return err + } + if err = tx.Delete(&{{.Abbreviation}}).Error; err != nil { + return err + } + return nil + }) + {{- else }} + err = {{$db}}.Delete(&{{.Abbreviation}}).Error + {{- end }} + return err +} + +// Delete{{.StructName}}ByIds 批量删除{{.Description}}记录 +// Author [piexlmax](https://github.com/piexlmax) +func ({{.Abbreviation}}Service *{{.StructName}}Service)Delete{{.StructName}}ByIds(ids request.IdsReq{{- if .AutoCreateResource }},deleted_by uint{{- end}}) (err error) { + {{- if .AutoCreateResource }} + err = {{$db}}.Transaction(func(tx *gorm.DB) error { + if err := tx.Model(&{{.Package}}.{{.StructName}}{}).Where("id in ?", ids.Ids).Update("deleted_by", deleted_by).Error; err != nil { + return err + } + if err := tx.Where("id in ?", ids.Ids).Delete(&{{.Package}}.{{.StructName}}{}).Error; err != nil { + return err + } + return nil + }) + {{- else}} + err = {{$db}}.Delete(&[]{{.Package}}.{{.StructName}}{},"id in ?",ids.Ids).Error + {{- end}} + return err +} + +// Update{{.StructName}} 更新{{.Description}}记录 +// Author [piexlmax](https://github.com/piexlmax) +func ({{.Abbreviation}}Service *{{.StructName}}Service)Update{{.StructName}}({{.Abbreviation}} {{.Package}}.{{.StructName}}) (err error) { + err = {{$db}}.Save(&{{.Abbreviation}}).Error + return err +} + +// Get{{.StructName}} 根据id获取{{.Description}}记录 +// Author [piexlmax](https://github.com/piexlmax) +func ({{.Abbreviation}}Service *{{.StructName}}Service)Get{{.StructName}}(id uint) ({{.Abbreviation}} {{.Package}}.{{.StructName}}, err error) { + err = {{$db}}.Where("id = ?", id).First(&{{.Abbreviation}}).Error + return +} + +// Get{{.StructName}}InfoList 分页获取{{.Description}}记录 +// Author [piexlmax](https://github.com/piexlmax) +func ({{.Abbreviation}}Service *{{.StructName}}Service)Get{{.StructName}}InfoList(info {{.Package}}Req.{{.StructName}}Search) (list []{{.Package}}.{{.StructName}}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + // 创建db + db := {{$db}}.Model(&{{.Package}}.{{.StructName}}{}) + var {{.Abbreviation}}s []{{.Package}}.{{.StructName}} + // 如果有条件搜索 下方会自动创建搜索语句 + if info.StartCreatedAt !=nil && info.EndCreatedAt !=nil { + db = db.Where("created_at BETWEEN ? AND ?", info.StartCreatedAt, info.EndCreatedAt) + } + {{- range .Fields}} + {{- if .FieldSearchType}} + {{- if or (eq .FieldType "string") (eq .FieldType "enum") }} + if info.{{.FieldName}} != "" { + db = db.Where("{{.ColumnName}} {{.FieldSearchType}} ?",{{if eq .FieldSearchType "LIKE"}}"%"+ {{ end }}info.{{.FieldName}}{{if eq .FieldSearchType "LIKE"}}+"%"{{ end }}) + } + {{- else if eq .FieldSearchType "BETWEEN" "NOT BETWEEN"}} + if info.Start{{.FieldName}} != nil && info.End{{.FieldName}} != nil { + db = db.Where("{{.ColumnName}} {{.FieldSearchType}} ? AND ? ",info.Start{{.FieldName}},info.End{{.FieldName}}) + } + {{- else}} + if info.{{.FieldName}} != nil { + db = db.Where("{{.ColumnName}} {{.FieldSearchType}} ?",{{if eq .FieldSearchType "LIKE"}}"%"+{{ end }}info.{{.FieldName}}{{if eq .FieldSearchType "LIKE"}}+"%"{{ end }}) + } + {{- end }} + {{- end }} + {{- end }} + err = db.Count(&total).Error + if err!=nil { + return + } + {{- if .NeedSort}} + var OrderStr string + orderMap := make(map[string]bool) + {{- range .Fields}} + {{- if .Sort}} + orderMap["{{.ColumnName}}"] = true + {{- end}} + {{- end}} + if orderMap[info.Sort] { + OrderStr = info.Sort + if info.Order == "descending" { + OrderStr = OrderStr + " desc" + } + db = db.Order(OrderStr) + } + {{- end}} + + if limit != 0 { + db = db.Limit(limit).Offset(offset) + } + + err = db.Find(&{{.Abbreviation}}s).Error + return {{.Abbreviation}}s, total, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/api_enter.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/api_enter.go.tpl new file mode 100644 index 000000000..d94193b8e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/api_enter.go.tpl @@ -0,0 +1,4 @@ +package {{ .PackageName }} + +type ApiGroup struct { +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/data.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/data.go new file mode 100644 index 000000000..cb445a5e1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/data.go @@ -0,0 +1,14 @@ +package subcontract + +import ( + _ "embed" +) + +//go:embed api_enter.go.tpl +var API []byte + +//go:embed router_enter.go.tpl +var Router []byte + +//go:embed service_enter.go.tpl +var Server []byte diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/router_enter.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/router_enter.go.tpl new file mode 100644 index 000000000..24dec196f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/router_enter.go.tpl @@ -0,0 +1,4 @@ +package {{ .PackageName }} + +type RouterGroup struct { +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/service_enter.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/service_enter.go.tpl new file mode 100644 index 000000000..c8d82a4de --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/subcontract/service_enter.go.tpl @@ -0,0 +1,6 @@ +package {{ .PackageName }} + + +type ServiceGroup struct { +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/api.js.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/api.js.tpl new file mode 100644 index 000000000..99f51c161 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/api.js.tpl @@ -0,0 +1,97 @@ +import service from '@/utils/request' + +// @Tags {{.StructName}} +// @Summary 创建{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.{{.StructName}} true "创建{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /{{.Abbreviation}}/create{{.StructName}} [post] +export const create{{.StructName}} = (data) => { + return service({ + url: '/{{.Abbreviation}}/create{{.StructName}}', + method: 'post', + data + }) +} + +// @Tags {{.StructName}} +// @Summary 删除{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.{{.StructName}} true "删除{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /{{.Abbreviation}}/delete{{.StructName}} [delete] +export const delete{{.StructName}} = (data) => { + return service({ + url: '/{{.Abbreviation}}/delete{{.StructName}}', + method: 'delete', + data + }) +} + +// @Tags {{.StructName}} +// @Summary 批量删除{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "批量删除{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /{{.Abbreviation}}/delete{{.StructName}} [delete] +export const delete{{.StructName}}ByIds = (data) => { + return service({ + url: '/{{.Abbreviation}}/delete{{.StructName}}ByIds', + method: 'delete', + data + }) +} + +// @Tags {{.StructName}} +// @Summary 更新{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.{{.StructName}} true "更新{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /{{.Abbreviation}}/update{{.StructName}} [put] +export const update{{.StructName}} = (data) => { + return service({ + url: '/{{.Abbreviation}}/update{{.StructName}}', + method: 'put', + data + }) +} + +// @Tags {{.StructName}} +// @Summary 用id查询{{.Description}} +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query model.{{.StructName}} true "用id查询{{.Description}}" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /{{.Abbreviation}}/find{{.StructName}} [get] +export const find{{.StructName}} = (params) => { + return service({ + url: '/{{.Abbreviation}}/find{{.StructName}}', + method: 'get', + params + }) +} + +// @Tags {{.StructName}} +// @Summary 分页获取{{.Description}}列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query request.PageInfo true "分页获取{{.Description}}列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /{{.Abbreviation}}/get{{.StructName}}List [get] +export const get{{.StructName}}List = (params) => { + return service({ + url: '/{{.Abbreviation}}/get{{.StructName}}List', + method: 'get', + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/form.vue.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/form.vue.tpl new file mode 100644 index 000000000..ed228741f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/form.vue.tpl @@ -0,0 +1,194 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/table.vue.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/table.vue.tpl new file mode 100644 index 000000000..200166ff3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/autocode_template/web/table.vue.tpl @@ -0,0 +1,722 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/css/app.7832f89c.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/css/app.7832f89c.css new file mode 100644 index 000000000..39a44567e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/css/app.7832f89c.css @@ -0,0 +1 @@ +.primary-color[data-v-c59cf5f6]{color:#409eff}.background-opacity[data-v-c59cf5f6]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-c59cf5f6]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-c59cf5f6]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-c59cf5f6]{margin-top:8px}.el-form-item--small .el-radio[data-v-c59cf5f6]{line-height:32px!important}.el-form-item--small .el-rate[data-v-c59cf5f6]{margin-top:6px}.el-form-item--mini .el-radio[data-v-c59cf5f6]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-c59cf5f6]{margin-top:4px}.el-card[data-v-c59cf5f6]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-c59cf5f6]::-ms-reveal{display:none}[data-v-c59cf5f6]::-webkit-scrollbar{width:8px;height:8px}[data-v-c59cf5f6]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-c59cf5f6]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-c59cf5f6]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-c59cf5f6]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.color-svg-icon[data-v-c59cf5f6]{color:#409eff}.side-scroll-bar[data-v-c59cf5f6] .el-scrollbar__wrap{overflow-x:hidden}div.panel-container[data-v-c59cf5f6]{padding-bottom:10px}.no-bottom-margin[data-v-c59cf5f6] .el-tabs__header{margin-bottom:0}.indent-left-margin[data-v-c59cf5f6] .el-tabs__nav{margin-left:20px}.el-collapse-item[data-v-c59cf5f6] ul>li{list-style:none}.widget-collapse[data-v-c59cf5f6]{border-top-width:0}.widget-collapse[data-v-c59cf5f6] .el-collapse-item__header{margin-left:8px;font-style:italic;font-weight:700}.widget-collapse[data-v-c59cf5f6] .el-collapse-item__content{padding-bottom:6px}.widget-collapse[data-v-c59cf5f6] .el-collapse-item__content ul{padding-left:10px;margin:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:.25em;margin-block-end:.25em;-webkit-padding-start:10px;padding-inline-start:10px}.widget-collapse[data-v-c59cf5f6] .el-collapse-item__content ul:after{content:"";display:block;clear:both}.widget-collapse[data-v-c59cf5f6] .el-collapse-item__content ul .container-widget-item,.widget-collapse[data-v-c59cf5f6] .el-collapse-item__content ul .field-widget-item{display:inline-block;height:28px;line-height:28px;width:115px;float:left;margin:2px 6px 6px 0;cursor:move;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background:#f1f2f3}.widget-collapse[data-v-c59cf5f6] .el-collapse-item__content ul .container-widget-item:hover,.widget-collapse[data-v-c59cf5f6] .el-collapse-item__content ul .field-widget-item:hover{background:#ebeef5;outline:1px solid #409eff}.widget-collapse[data-v-c59cf5f6] .el-collapse-item__content ul .drag-handler{position:absolute;top:0;left:160px;background-color:#ddd;border-radius:5px;padding-right:5px;font-size:11px;color:#666}.el-card.ft-card[data-v-c59cf5f6]{border:1px solid #8896b3}.ft-card[data-v-c59cf5f6]{margin-bottom:10px}.ft-card .bottom[data-v-c59cf5f6]{margin-top:10px;line-height:12px}.ft-card .ft-title[data-v-c59cf5f6]{font-size:13px;font-weight:700}.ft-card .right-button[data-v-c59cf5f6]{padding:0;float:right}.ft-card .clear-fix[data-v-c59cf5f6]:after,.ft-card .clear-fix[data-v-c59cf5f6]:before{display:table;content:""}.ft-card .clear-fix[data-v-c59cf5f6]:after{clear:both}.primary-color[data-v-c1251358]{color:#409eff}.background-opacity[data-v-c1251358]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-c1251358]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-c1251358]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-c1251358]{margin-top:8px}.el-form-item--small .el-radio[data-v-c1251358]{line-height:32px!important}.el-form-item--small .el-rate[data-v-c1251358]{margin-top:6px}.el-form-item--mini .el-radio[data-v-c1251358]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-c1251358]{margin-top:4px}.el-card[data-v-c1251358]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-c1251358]::-ms-reveal{display:none}[data-v-c1251358]::-webkit-scrollbar{width:8px;height:8px}[data-v-c1251358]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-c1251358]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-c1251358]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-c1251358]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.design-time-bottom-margin[data-v-c1251358]{margin-bottom:5px}.field-wrapper[data-v-c1251358]{position:relative}.field-wrapper .field-action[data-v-c1251358]{position:absolute;bottom:0;right:-2px;height:22px;line-height:22px;background:#409eff;z-index:9}.field-wrapper .field-action i[data-v-c1251358]{font-size:14px;color:#fff;margin:0 5px;cursor:pointer}.field-wrapper .drag-handler[data-v-c1251358]{position:absolute;top:0;left:-1px;height:20px;line-height:20px;z-index:9}.field-wrapper .drag-handler i[data-v-c1251358]{font-size:12px;font-style:normal;color:#fff;margin:4px;cursor:move}.field-wrapper .drag-handler[data-v-c1251358]:hover{background:#409eff}.static-content-item[data-v-c1251358]{min-height:20px;display:flex;align-items:center}.static-content-item[data-v-c1251358] .el-divider--horizontal{margin:0}.el-form-item.selected[data-v-c1251358],.static-content-item.selected[data-v-c1251358]{outline:2px solid #409eff}.primary-color[data-v-1293f105]{color:#409eff}.background-opacity[data-v-1293f105]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-1293f105]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-1293f105]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-1293f105]{margin-top:8px}.el-form-item--small .el-radio[data-v-1293f105]{line-height:32px!important}.el-form-item--small .el-rate[data-v-1293f105]{margin-top:6px}.el-form-item--mini .el-radio[data-v-1293f105]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-1293f105]{margin-top:4px}.el-card[data-v-1293f105]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-1293f105]::-ms-reveal{display:none}[data-v-1293f105]::-webkit-scrollbar{width:8px;height:8px}[data-v-1293f105]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-1293f105]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-1293f105]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-1293f105]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.primary-color[data-v-0bf26fd2]{color:#409eff}.background-opacity[data-v-0bf26fd2]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-0bf26fd2]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-0bf26fd2]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-0bf26fd2]{margin-top:8px}.el-form-item--small .el-radio[data-v-0bf26fd2]{line-height:32px!important}.el-form-item--small .el-rate[data-v-0bf26fd2]{margin-top:6px}.el-form-item--mini .el-radio[data-v-0bf26fd2]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-0bf26fd2]{margin-top:4px}.el-card[data-v-0bf26fd2]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-0bf26fd2]::-ms-reveal{display:none}[data-v-0bf26fd2]::-webkit-scrollbar{width:8px;height:8px}[data-v-0bf26fd2]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-0bf26fd2]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-0bf26fd2]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-0bf26fd2]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.design-time-bottom-margin[data-v-0bf26fd2]{margin-bottom:5px}.field-wrapper[data-v-0bf26fd2]{position:relative}.field-wrapper .field-action[data-v-0bf26fd2]{position:absolute;bottom:0;right:-2px;height:22px;line-height:22px;background:#409eff;z-index:9}.field-wrapper .field-action i[data-v-0bf26fd2]{font-size:14px;color:#fff;margin:0 5px;cursor:pointer}.field-wrapper .drag-handler[data-v-0bf26fd2]{position:absolute;top:0;left:-1px;height:20px;line-height:20px;z-index:9}.field-wrapper .drag-handler i[data-v-0bf26fd2]{font-size:12px;font-style:normal;color:#fff;margin:4px;cursor:move}.field-wrapper .drag-handler[data-v-0bf26fd2]:hover{background:#409eff}.el-form-item[data-v-0bf26fd2]{position:relative}.el-form-item[data-v-0bf26fd2] .el-form-item__label{white-space:nowrap;text-overflow:ellipsis}.el-form-item span.custom-label i[data-v-0bf26fd2]{margin:0 3px}.el-form-item[data-v-0bf26fd2] .hide-spin-button input::-webkit-inner-spin-button,.el-form-item[data-v-0bf26fd2] .hide-spin-button input::-webkit-outer-spin-button{-webkit-appearance:none!important}.el-form-item[data-v-0bf26fd2] .hide-spin-button input[type=number]{-moz-appearance:textfield}.required[data-v-0bf26fd2] .el-form-item__label:before{content:"*";color:#f56c6c;margin-right:4px}.static-content-item[data-v-0bf26fd2]{min-height:20px;display:flex;align-items:center}.static-content-item[data-v-0bf26fd2] .el-divider--horizontal{margin:0}.el-form-item.selected[data-v-0bf26fd2],.static-content-item.selected[data-v-0bf26fd2]{outline:2px solid #409eff}[data-v-0bf26fd2] .label-left-align .el-form-item__label{text-align:left}[data-v-0bf26fd2] .label-center-align .el-form-item__label{text-align:center}[data-v-0bf26fd2] .label-right-align .el-form-item__label{text-align:right}.primary-color[data-v-40c2df66]{color:#409eff}.background-opacity[data-v-40c2df66]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-40c2df66]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-40c2df66]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-40c2df66]{margin-top:8px}.el-form-item--small .el-radio[data-v-40c2df66]{line-height:32px!important}.el-form-item--small .el-rate[data-v-40c2df66]{margin-top:6px}.el-form-item--mini .el-radio[data-v-40c2df66]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-40c2df66]{margin-top:4px}.el-card[data-v-40c2df66]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-40c2df66]::-ms-reveal{display:none}[data-v-40c2df66]::-webkit-scrollbar{width:8px;height:8px}[data-v-40c2df66]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-40c2df66]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-40c2df66]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-40c2df66]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-40c2df66]{width:100%!important}.primary-color[data-v-608e81d3]{color:#409eff}.background-opacity[data-v-608e81d3]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-608e81d3]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-608e81d3]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-608e81d3]{margin-top:8px}.el-form-item--small .el-radio[data-v-608e81d3]{line-height:32px!important}.el-form-item--small .el-rate[data-v-608e81d3]{margin-top:6px}.el-form-item--mini .el-radio[data-v-608e81d3]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-608e81d3]{margin-top:4px}.el-card[data-v-608e81d3]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-608e81d3]::-ms-reveal{display:none}[data-v-608e81d3]::-webkit-scrollbar{width:8px;height:8px}[data-v-608e81d3]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-608e81d3]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-608e81d3]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-608e81d3]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.primary-color[data-v-53ad0c08]{color:#409eff}.background-opacity[data-v-53ad0c08]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-53ad0c08]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-53ad0c08]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-53ad0c08]{margin-top:8px}.el-form-item--small .el-radio[data-v-53ad0c08]{line-height:32px!important}.el-form-item--small .el-rate[data-v-53ad0c08]{margin-top:6px}.el-form-item--mini .el-radio[data-v-53ad0c08]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-53ad0c08]{margin-top:4px}.el-card[data-v-53ad0c08]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-53ad0c08]::-ms-reveal{display:none}[data-v-53ad0c08]::-webkit-scrollbar{width:8px;height:8px}[data-v-53ad0c08]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-53ad0c08]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-53ad0c08]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-53ad0c08]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-53ad0c08]{width:100%!important}.primary-color[data-v-76c3fdc8]{color:#409eff}.background-opacity[data-v-76c3fdc8]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-76c3fdc8]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-76c3fdc8]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-76c3fdc8]{margin-top:8px}.el-form-item--small .el-radio[data-v-76c3fdc8]{line-height:32px!important}.el-form-item--small .el-rate[data-v-76c3fdc8]{margin-top:6px}.el-form-item--mini .el-radio[data-v-76c3fdc8]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-76c3fdc8]{margin-top:4px}.el-card[data-v-76c3fdc8]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-76c3fdc8]::-ms-reveal{display:none}[data-v-76c3fdc8]::-webkit-scrollbar{width:8px;height:8px}[data-v-76c3fdc8]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-76c3fdc8]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-76c3fdc8]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-76c3fdc8]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-76c3fdc8]{width:100%!important}.primary-color[data-v-ea728dba]{color:#409eff}.background-opacity[data-v-ea728dba]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-ea728dba]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-ea728dba]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-ea728dba]{margin-top:8px}.el-form-item--small .el-radio[data-v-ea728dba]{line-height:32px!important}.el-form-item--small .el-rate[data-v-ea728dba]{margin-top:6px}.el-form-item--mini .el-radio[data-v-ea728dba]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-ea728dba]{margin-top:4px}.el-card[data-v-ea728dba]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-ea728dba]::-ms-reveal{display:none}[data-v-ea728dba]::-webkit-scrollbar{width:8px;height:8px}[data-v-ea728dba]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-ea728dba]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-ea728dba]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-ea728dba]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-ea728dba]{width:100%!important}.primary-color[data-v-0faf59b2]{color:#409eff}.background-opacity[data-v-0faf59b2]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-0faf59b2]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-0faf59b2]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-0faf59b2]{margin-top:8px}.el-form-item--small .el-radio[data-v-0faf59b2]{line-height:32px!important}.el-form-item--small .el-rate[data-v-0faf59b2]{margin-top:6px}.el-form-item--mini .el-radio[data-v-0faf59b2]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-0faf59b2]{margin-top:4px}.el-card[data-v-0faf59b2]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-0faf59b2]::-ms-reveal{display:none}[data-v-0faf59b2]::-webkit-scrollbar{width:8px;height:8px}[data-v-0faf59b2]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-0faf59b2]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-0faf59b2]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-0faf59b2]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.primary-color[data-v-3f51f292]{color:#409eff}.background-opacity[data-v-3f51f292]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-3f51f292]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-3f51f292]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-3f51f292]{margin-top:8px}.el-form-item--small .el-radio[data-v-3f51f292]{line-height:32px!important}.el-form-item--small .el-rate[data-v-3f51f292]{margin-top:6px}.el-form-item--mini .el-radio[data-v-3f51f292]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-3f51f292]{margin-top:4px}.el-card[data-v-3f51f292]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-3f51f292]::-ms-reveal{display:none}[data-v-3f51f292]::-webkit-scrollbar{width:8px;height:8px}[data-v-3f51f292]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-3f51f292]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-3f51f292]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-3f51f292]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-3f51f292]{width:100%!important}.dynamicPseudoAfter[data-v-3f51f292] .el-upload.el-upload--text{color:#409eff;font-size:12px}.dynamicPseudoAfter[data-v-3f51f292] .el-upload.el-upload--text .el-icon-plus:after{content:var(--select-file-action)}.hideUploadDiv[data-v-3f51f292] div.el-upload--picture-card,.hideUploadDiv[data-v-3f51f292] div.el-upload--text,.hideUploadDiv[data-v-3f51f292] div.el-upload__tip{display:none}.upload-file-list[data-v-3f51f292]{font-size:12px}.upload-file-list .file-action[data-v-3f51f292]{color:#409eff;margin-left:5px;margin-right:5px;cursor:pointer}.primary-color[data-v-5b64c2ea]{color:#409eff}.background-opacity[data-v-5b64c2ea]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-5b64c2ea]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-5b64c2ea]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-5b64c2ea]{margin-top:8px}.el-form-item--small .el-radio[data-v-5b64c2ea]{line-height:32px!important}.el-form-item--small .el-rate[data-v-5b64c2ea]{margin-top:6px}.el-form-item--mini .el-radio[data-v-5b64c2ea]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-5b64c2ea]{margin-top:4px}.el-card[data-v-5b64c2ea]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-5b64c2ea]::-ms-reveal{display:none}[data-v-5b64c2ea]::-webkit-scrollbar{width:8px;height:8px}[data-v-5b64c2ea]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-5b64c2ea]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-5b64c2ea]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-5b64c2ea]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.primary-color[data-v-97099720]{color:#409eff}.background-opacity[data-v-97099720]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-97099720]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-97099720]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-97099720]{margin-top:8px}.el-form-item--small .el-radio[data-v-97099720]{line-height:32px!important}.el-form-item--small .el-rate[data-v-97099720]{margin-top:6px}.el-form-item--mini .el-radio[data-v-97099720]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-97099720]{margin-top:4px}.el-card[data-v-97099720]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-97099720]::-ms-reveal{display:none}[data-v-97099720]::-webkit-scrollbar{width:8px;height:8px}[data-v-97099720]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-97099720]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-97099720]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-97099720]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.primary-color[data-v-a039267e]{color:#409eff}.background-opacity[data-v-a039267e]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-a039267e]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-a039267e]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-a039267e]{margin-top:8px}.el-form-item--small .el-radio[data-v-a039267e]{line-height:32px!important}.el-form-item--small .el-rate[data-v-a039267e]{margin-top:6px}.el-form-item--mini .el-radio[data-v-a039267e]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-a039267e]{margin-top:4px}.el-card[data-v-a039267e]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-a039267e]::-ms-reveal{display:none}[data-v-a039267e]::-webkit-scrollbar{width:8px;height:8px}[data-v-a039267e]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-a039267e]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-a039267e]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-a039267e]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-a039267e]{width:100%!important}.primary-color[data-v-7aa66af0]{color:#409eff}.background-opacity[data-v-7aa66af0]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-7aa66af0]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-7aa66af0]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-7aa66af0]{margin-top:8px}.el-form-item--small .el-radio[data-v-7aa66af0]{line-height:32px!important}.el-form-item--small .el-rate[data-v-7aa66af0]{margin-top:6px}.el-form-item--mini .el-radio[data-v-7aa66af0]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-7aa66af0]{margin-top:4px}.el-card[data-v-7aa66af0]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-7aa66af0]::-ms-reveal{display:none}[data-v-7aa66af0]::-webkit-scrollbar{width:8px;height:8px}[data-v-7aa66af0]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-7aa66af0]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-7aa66af0]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-7aa66af0]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-7aa66af0]{width:100%!important}.hideUploadDiv[data-v-7aa66af0] div.el-upload--picture-card,.hideUploadDiv[data-v-7aa66af0] div.el-upload--text,.hideUploadDiv[data-v-7aa66af0] div.el-upload__tip{display:none}.primary-color[data-v-ef35f5b6]{color:#409eff}.background-opacity[data-v-ef35f5b6]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-ef35f5b6]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-ef35f5b6]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-ef35f5b6]{margin-top:8px}.el-form-item--small .el-radio[data-v-ef35f5b6]{line-height:32px!important}.el-form-item--small .el-rate[data-v-ef35f5b6]{margin-top:6px}.el-form-item--mini .el-radio[data-v-ef35f5b6]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-ef35f5b6]{margin-top:4px}.el-card[data-v-ef35f5b6]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-ef35f5b6]::-ms-reveal{display:none}[data-v-ef35f5b6]::-webkit-scrollbar{width:8px;height:8px}[data-v-ef35f5b6]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-ef35f5b6]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-ef35f5b6]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-ef35f5b6]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.primary-color[data-v-02bf17e4]{color:#409eff}.background-opacity[data-v-02bf17e4]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-02bf17e4]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-02bf17e4]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-02bf17e4]{margin-top:8px}.el-form-item--small .el-radio[data-v-02bf17e4]{line-height:32px!important}.el-form-item--small .el-rate[data-v-02bf17e4]{margin-top:6px}.el-form-item--mini .el-radio[data-v-02bf17e4]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-02bf17e4]{margin-top:4px}.el-card[data-v-02bf17e4]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-02bf17e4]::-ms-reveal{display:none}[data-v-02bf17e4]::-webkit-scrollbar{width:8px;height:8px}[data-v-02bf17e4]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-02bf17e4]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-02bf17e4]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-02bf17e4]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-02bf17e4]{width:100%!important}.primary-color[data-v-29731672]{color:#409eff}.background-opacity[data-v-29731672]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-29731672]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-29731672]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-29731672]{margin-top:8px}.el-form-item--small .el-radio[data-v-29731672]{line-height:32px!important}.el-form-item--small .el-rate[data-v-29731672]{margin-top:6px}.el-form-item--mini .el-radio[data-v-29731672]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-29731672]{margin-top:4px}.el-card[data-v-29731672]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-29731672]::-ms-reveal{display:none}[data-v-29731672]::-webkit-scrollbar{width:8px;height:8px}[data-v-29731672]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-29731672]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-29731672]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-29731672]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-29731672]{width:100%!important}.primary-color[data-v-19724718]{color:#409eff}.background-opacity[data-v-19724718]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-19724718]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-19724718]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-19724718]{margin-top:8px}.el-form-item--small .el-radio[data-v-19724718]{line-height:32px!important}.el-form-item--small .el-rate[data-v-19724718]{margin-top:6px}.el-form-item--mini .el-radio[data-v-19724718]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-19724718]{margin-top:4px}.el-card[data-v-19724718]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-19724718]::-ms-reveal{display:none}[data-v-19724718]::-webkit-scrollbar{width:8px;height:8px}[data-v-19724718]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-19724718]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-19724718]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-19724718]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-19724718]{width:100%!important}.primary-color[data-v-ddcdb608]{color:#409eff}.background-opacity[data-v-ddcdb608]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-ddcdb608]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-ddcdb608]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-ddcdb608]{margin-top:8px}.el-form-item--small .el-radio[data-v-ddcdb608]{line-height:32px!important}.el-form-item--small .el-rate[data-v-ddcdb608]{margin-top:6px}.el-form-item--mini .el-radio[data-v-ddcdb608]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-ddcdb608]{margin-top:4px}.el-card[data-v-ddcdb608]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-ddcdb608]::-ms-reveal{display:none}[data-v-ddcdb608]::-webkit-scrollbar{width:8px;height:8px}[data-v-ddcdb608]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-ddcdb608]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-ddcdb608]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-ddcdb608]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-ddcdb608]{width:100%!important}.primary-color[data-v-856e2df6]{color:#409eff}.background-opacity[data-v-856e2df6]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-856e2df6]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-856e2df6]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-856e2df6]{margin-top:8px}.el-form-item--small .el-radio[data-v-856e2df6]{line-height:32px!important}.el-form-item--small .el-rate[data-v-856e2df6]{margin-top:6px}.el-form-item--mini .el-radio[data-v-856e2df6]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-856e2df6]{margin-top:4px}.el-card[data-v-856e2df6]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-856e2df6]::-ms-reveal{display:none}[data-v-856e2df6]::-webkit-scrollbar{width:8px;height:8px}[data-v-856e2df6]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-856e2df6]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-856e2df6]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-856e2df6]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.slot-wrapper-design[data-v-856e2df6]{width:100%;min-height:26px;background:linear-gradient(45deg,#ccc 25%,#eee 0,#eee 50%,#ccc 0,#ccc 75%,#eee 0);background-size:20px 20px;text-align:center}.slot-wrapper-design .slot-title[data-v-856e2df6]{font-size:13px}.primary-color[data-v-15a81133]{color:#409eff}.background-opacity[data-v-15a81133]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-15a81133]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-15a81133]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-15a81133]{margin-top:8px}.el-form-item--small .el-radio[data-v-15a81133]{line-height:32px!important}.el-form-item--small .el-rate[data-v-15a81133]{margin-top:6px}.el-form-item--mini .el-radio[data-v-15a81133]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-15a81133]{margin-top:4px}.el-card[data-v-15a81133]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-15a81133]::-ms-reveal{display:none}[data-v-15a81133]::-webkit-scrollbar{width:8px;height:8px}[data-v-15a81133]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-15a81133]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-15a81133]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-15a81133]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.primary-color[data-v-88bb0ad8]{color:#409eff}.background-opacity[data-v-88bb0ad8]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-88bb0ad8]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-88bb0ad8]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-88bb0ad8]{margin-top:8px}.el-form-item--small .el-radio[data-v-88bb0ad8]{line-height:32px!important}.el-form-item--small .el-rate[data-v-88bb0ad8]{margin-top:6px}.el-form-item--mini .el-radio[data-v-88bb0ad8]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-88bb0ad8]{margin-top:4px}.el-card[data-v-88bb0ad8]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-88bb0ad8]::-ms-reveal{display:none}[data-v-88bb0ad8]::-webkit-scrollbar{width:8px;height:8px}[data-v-88bb0ad8]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-88bb0ad8]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-88bb0ad8]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-88bb0ad8]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-88bb0ad8]{width:100%!important}.primary-color[data-v-90e01c78]{color:#409eff}.background-opacity[data-v-90e01c78]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-90e01c78]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-90e01c78]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-90e01c78]{margin-top:8px}.el-form-item--small .el-radio[data-v-90e01c78]{line-height:32px!important}.el-form-item--small .el-rate[data-v-90e01c78]{margin-top:6px}.el-form-item--mini .el-radio[data-v-90e01c78]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-90e01c78]{margin-top:4px}.el-card[data-v-90e01c78]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-90e01c78]::-ms-reveal{display:none}[data-v-90e01c78]::-webkit-scrollbar{width:8px;height:8px}[data-v-90e01c78]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-90e01c78]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-90e01c78]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-90e01c78]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.primary-color[data-v-68ea79e5]{color:#409eff}.background-opacity[data-v-68ea79e5]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-68ea79e5]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-68ea79e5]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-68ea79e5]{margin-top:8px}.el-form-item--small .el-radio[data-v-68ea79e5]{line-height:32px!important}.el-form-item--small .el-rate[data-v-68ea79e5]{margin-top:6px}.el-form-item--mini .el-radio[data-v-68ea79e5]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-68ea79e5]{margin-top:4px}.el-card[data-v-68ea79e5]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-68ea79e5]::-ms-reveal{display:none}[data-v-68ea79e5]::-webkit-scrollbar{width:8px;height:8px}[data-v-68ea79e5]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-68ea79e5]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-68ea79e5]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-68ea79e5]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-68ea79e5]{width:100%!important}.primary-color[data-v-0761446e]{color:#409eff}.background-opacity[data-v-0761446e]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-0761446e]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-0761446e]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-0761446e]{margin-top:8px}.el-form-item--small .el-radio[data-v-0761446e]{line-height:32px!important}.el-form-item--small .el-rate[data-v-0761446e]{margin-top:6px}.el-form-item--mini .el-radio[data-v-0761446e]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-0761446e]{margin-top:4px}.el-card[data-v-0761446e]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-0761446e]::-ms-reveal{display:none}[data-v-0761446e]::-webkit-scrollbar{width:8px;height:8px}[data-v-0761446e]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-0761446e]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-0761446e]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-0761446e]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.full-width-input[data-v-0761446e]{width:100%!important}.primary-color[data-v-943e926a]{color:#409eff}.background-opacity[data-v-943e926a]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-943e926a]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-943e926a]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-943e926a]{margin-top:8px}.el-form-item--small .el-radio[data-v-943e926a]{line-height:32px!important}.el-form-item--small .el-rate[data-v-943e926a]{margin-top:6px}.el-form-item--mini .el-radio[data-v-943e926a]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-943e926a]{margin-top:4px}.el-card[data-v-943e926a]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-943e926a]::-ms-reveal{display:none}[data-v-943e926a]::-webkit-scrollbar{width:8px;height:8px}[data-v-943e926a]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-943e926a]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-943e926a]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-943e926a]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.blank-cell[data-v-943e926a]{font-style:italic;color:#ccc}.blank-cell span.invisible-content[data-v-943e926a]{opacity:0}.primary-color[data-v-0cc705e0]{color:#409eff}.background-opacity[data-v-0cc705e0]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-0cc705e0]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-0cc705e0]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-0cc705e0]{margin-top:8px}.el-form-item--small .el-radio[data-v-0cc705e0]{line-height:32px!important}.el-form-item--small .el-rate[data-v-0cc705e0]{margin-top:6px}.el-form-item--mini .el-radio[data-v-0cc705e0]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-0cc705e0]{margin-top:4px}.el-card[data-v-0cc705e0]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-0cc705e0]::-ms-reveal{display:none}[data-v-0cc705e0]::-webkit-scrollbar{width:8px;height:8px}[data-v-0cc705e0]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-0cc705e0]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-0cc705e0]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-0cc705e0]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.sub-form-container[data-v-0cc705e0]{margin-bottom:8px;text-align:left}.sub-form-container[data-v-0cc705e0] .el-row.header-row{padding-bottom:0}.sub-form-container[data-v-0cc705e0] .el-row.sub-form-row{padding-top:3px;padding-bottom:3px}.sub-form-container[data-v-0cc705e0] .el-row.sub-form-row .row-number-span{margin-left:16px}div.action-header-column[data-v-0cc705e0]{display:inline-block;width:120px}div.action-header-column .action-label[data-v-0cc705e0]{margin-right:12px}div.action-header-column .action-button[data-v-0cc705e0]{padding-left:8px;padding-right:8px}div.field-header-column[data-v-0cc705e0]{display:inline-block}div.field-header-column span.custom-label i[data-v-0cc705e0]{margin:0 3px}div.field-header-column.is-required[data-v-0cc705e0]:before{content:"*";color:#f56c6c;margin-right:4px}div.label-center-left[data-v-0cc705e0]{text-align:left}div.label-center-align[data-v-0cc705e0]{text-align:center}div.label-right-align[data-v-0cc705e0]{text-align:right}div.sub-form-action-column[data-v-0cc705e0]{display:inline-block;width:120px}div.sub-form-action-column[data-v-0cc705e0] .el-form-item{margin-bottom:0}div.sub-form-action-column[data-v-0cc705e0] .el-button{font-size:18px;padding:0;background:#dcdfe6;border:4px solid #dcdfe6}div.sub-form-action-column.hide-label[data-v-0cc705e0] .el-form-item__label{display:none}div.sub-form-table-column[data-v-0cc705e0]{display:inline-block}div.sub-form-table-column[data-v-0cc705e0] .el-form-item{margin-left:4px;margin-right:4px;margin-bottom:0}div.sub-form-table-column[data-v-0cc705e0] .el-form-item__content{margin-left:0!important}div.sub-form-table-column.hide-label[data-v-0cc705e0] .el-form-item__label{display:none}.primary-color[data-v-79b5d9f8]{color:#409eff}.background-opacity[data-v-79b5d9f8]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-79b5d9f8]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-79b5d9f8]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-79b5d9f8]{margin-top:8px}.el-form-item--small .el-radio[data-v-79b5d9f8]{line-height:32px!important}.el-form-item--small .el-rate[data-v-79b5d9f8]{margin-top:6px}.el-form-item--mini .el-radio[data-v-79b5d9f8]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-79b5d9f8]{margin-top:4px}.el-card[data-v-79b5d9f8]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-79b5d9f8]::-ms-reveal{display:none}[data-v-79b5d9f8]::-webkit-scrollbar{width:8px;height:8px}[data-v-79b5d9f8]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-79b5d9f8]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-79b5d9f8]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-79b5d9f8]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}td.table-cell[data-v-79b5d9f8]{display:table-cell;height:36px;border:1px solid #e5e5e5}.primary-color[data-v-5a8d7072]{color:#409eff}.background-opacity[data-v-5a8d7072]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-5a8d7072]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-5a8d7072]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-5a8d7072]{margin-top:8px}.el-form-item--small .el-radio[data-v-5a8d7072]{line-height:32px!important}.el-form-item--small .el-rate[data-v-5a8d7072]{margin-top:6px}.el-form-item--mini .el-radio[data-v-5a8d7072]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-5a8d7072]{margin-top:4px}.el-card[data-v-5a8d7072]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-5a8d7072]::-ms-reveal{display:none}[data-v-5a8d7072]::-webkit-scrollbar{width:8px;height:8px}[data-v-5a8d7072]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-5a8d7072]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-5a8d7072]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-5a8d7072]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}div.table-container table.table-layout[data-v-5a8d7072]{width:100%;table-layout:fixed;border-collapse:collapse}.primary-color[data-v-70ce788c]{color:#409eff}.background-opacity[data-v-70ce788c]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-70ce788c]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-70ce788c]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-70ce788c]{margin-top:8px}.el-form-item--small .el-radio[data-v-70ce788c]{line-height:32px!important}.el-form-item--small .el-rate[data-v-70ce788c]{margin-top:6px}.el-form-item--mini .el-radio[data-v-70ce788c]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-70ce788c]{margin-top:4px}.el-card[data-v-70ce788c]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-70ce788c]::-ms-reveal{display:none}[data-v-70ce788c]::-webkit-scrollbar{width:8px;height:8px}[data-v-70ce788c]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-70ce788c]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-70ce788c]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-70ce788c]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.el-form[data-v-70ce788c] .el-row{padding:8px}.primary-color[data-v-d13460f4]{color:#409eff}.background-opacity[data-v-d13460f4]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-d13460f4]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-d13460f4]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-d13460f4]{margin-top:8px}.el-form-item--small .el-radio[data-v-d13460f4]{line-height:32px!important}.el-form-item--small .el-rate[data-v-d13460f4]{margin-top:6px}.el-form-item--mini .el-radio[data-v-d13460f4]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-d13460f4]{margin-top:4px}.el-card[data-v-d13460f4]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-d13460f4]::-ms-reveal{display:none}[data-v-d13460f4]::-webkit-scrollbar{width:8px;height:8px}[data-v-d13460f4]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-d13460f4]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-d13460f4]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-d13460f4]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.ace-editor[data-v-d13460f4]{min-height:300px}.primary-color[data-v-a010c82e]{color:#409eff}.background-opacity[data-v-a010c82e]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-a010c82e]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-a010c82e]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-a010c82e]{margin-top:8px}.el-form-item--small .el-radio[data-v-a010c82e]{line-height:32px!important}.el-form-item--small .el-rate[data-v-a010c82e]{margin-top:6px}.el-form-item--mini .el-radio[data-v-a010c82e]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-a010c82e]{margin-top:4px}.el-card[data-v-a010c82e]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-a010c82e]::-ms-reveal{display:none}[data-v-a010c82e]::-webkit-scrollbar{width:8px;height:8px}[data-v-a010c82e]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-a010c82e]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-a010c82e]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-a010c82e]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.left-toolbar[data-v-a010c82e]{float:left;font-size:16px}.right-toolbar[data-v-a010c82e]{float:right;text-align:right;overflow:hidden}.right-toolbar .right-toolbar-con[data-v-a010c82e]{text-align:left;width:600px}.right-toolbar[data-v-a010c82e] .el-button--text{font-size:14px!important}.el-button i[data-v-a010c82e]{margin-right:3px}.small-padding-dialog[data-v-a010c82e] .el-dialog__header{background:#f1f2f3}.small-padding-dialog[data-v-a010c82e] .el-dialog__body{padding:12px 15px 12px 15px}.small-padding-dialog[data-v-a010c82e] .el-dialog__body .el-alert.alert-padding{padding:0 10px}.small-padding-dialog[data-v-a010c82e] .ace-container{border:1px solid #dcdfe6}.dialog-title-light-bg[data-v-a010c82e] .el-dialog__header{background:#f1f2f3}.no-box-shadow[data-v-a010c82e]{box-shadow:none}.no-padding.el-tabs--border-card[data-v-a010c82e] .el-tabs__content{padding:0}.form-render-wrapper.h5-layout[data-v-a010c82e]{width:420px}.form-render-wrapper.h5-layout[data-v-a010c82e],.form-render-wrapper.pad-layout[data-v-a010c82e]{margin:0 auto;border-radius:15px;box-shadow:0 0 1px 10px #495060;height:calc(100vh - 142px);overflow-y:auto;overflow-x:hidden}.form-render-wrapper.pad-layout[data-v-a010c82e]{width:960px}.node-tree-drawer[data-v-a010c82e] .el-drawer{padding:10px;overflow:auto}.node-tree-drawer[data-v-a010c82e] .el-drawer__header{margin-bottom:12px;padding:5px 5px 0}.node-tree-drawer[data-v-a010c82e] .el-drawer__body{padding-left:5px}.node-tree[data-v-a010c82e] .el-tree-node{position:relative;padding-left:12px}.node-tree[data-v-a010c82e] .el-tree-node__content{padding-left:0!important}.node-tree[data-v-a010c82e] .el-tree-node__expand-icon.is-leaf{display:none}.node-tree[data-v-a010c82e] .el-tree-node__children{padding-left:12px;overflow:visible!important}.node-tree[data-v-a010c82e] .el-tree-node :last-child:before{height:38px}.node-tree[data-v-a010c82e] .el-tree>.el-tree-node:before{border-left:none}.node-tree[data-v-a010c82e] .el-tree>.el-tree-node:after{border-top:none}.node-tree[data-v-a010c82e] .el-tree-node:after,.node-tree[data-v-a010c82e] .el-tree-node:before{content:"";left:-4px;position:absolute;right:auto;border-width:1px}.node-tree[data-v-a010c82e] .el-tree-node:before{border-left:1px dashed #4386c6;bottom:0;height:100%;top:-10px;width:1px}.node-tree[data-v-a010c82e] .el-tree-node:after{border-top:1px dashed #4386c6;height:20px;top:12px;width:16px}.node-tree[data-v-a010c82e] .el-tree-node.is-current>.el-tree-node__content{background:#c2d6ea!important}.node-tree[data-v-a010c82e] .el-tree-node__expand-icon{margin-left:-3px;padding:6px 6px 6px 0;font-size:16px}.primary-color[data-v-ebfa1f06]{color:#409eff}.background-opacity[data-v-ebfa1f06]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-ebfa1f06]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-ebfa1f06]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-ebfa1f06]{margin-top:8px}.el-form-item--small .el-radio[data-v-ebfa1f06]{line-height:32px!important}.el-form-item--small .el-rate[data-v-ebfa1f06]{margin-top:6px}.el-form-item--mini .el-radio[data-v-ebfa1f06]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-ebfa1f06]{margin-top:4px}.el-card[data-v-ebfa1f06]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-ebfa1f06]::-ms-reveal{display:none}[data-v-ebfa1f06]::-webkit-scrollbar{width:8px;height:8px}[data-v-ebfa1f06]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-ebfa1f06]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-ebfa1f06]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-ebfa1f06]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}li.col-item[data-v-ebfa1f06]{list-style:none}li.col-item span.col-span-title[data-v-ebfa1f06]{display:inline-block;font-size:13px;width:120px}li.col-item .col-delete-button[data-v-ebfa1f06]{margin-left:6px}.primary-color[data-v-66fb0270]{color:#409eff}.background-opacity[data-v-66fb0270]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-66fb0270]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-66fb0270]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-66fb0270]{margin-top:8px}.el-form-item--small .el-radio[data-v-66fb0270]{line-height:32px!important}.el-form-item--small .el-rate[data-v-66fb0270]{margin-top:6px}.el-form-item--mini .el-radio[data-v-66fb0270]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-66fb0270]{margin-top:4px}.el-card[data-v-66fb0270]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-66fb0270]::-ms-reveal{display:none}[data-v-66fb0270]::-webkit-scrollbar{width:8px;height:8px}[data-v-66fb0270]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-66fb0270]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-66fb0270]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-66fb0270]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.radio-group-custom[data-v-66fb0270] .el-radio-button__inner{padding-left:12px;padding-right:12px}.primary-color[data-v-6ddd24c1]{color:#409eff}.background-opacity[data-v-6ddd24c1]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-6ddd24c1]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-6ddd24c1]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-6ddd24c1]{margin-top:8px}.el-form-item--small .el-radio[data-v-6ddd24c1]{line-height:32px!important}.el-form-item--small .el-rate[data-v-6ddd24c1]{margin-top:6px}.el-form-item--mini .el-radio[data-v-6ddd24c1]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-6ddd24c1]{margin-top:4px}.el-card[data-v-6ddd24c1]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-6ddd24c1]::-ms-reveal{display:none}[data-v-6ddd24c1]::-webkit-scrollbar{width:8px;height:8px}[data-v-6ddd24c1]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-6ddd24c1]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-6ddd24c1]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-6ddd24c1]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}li.col-item[data-v-6ddd24c1]{list-style:none}li.col-item span.col-span-title[data-v-6ddd24c1]{display:inline-block;font-size:13px;width:120px}li.col-item .col-delete-button[data-v-6ddd24c1]{margin-left:6px}.panes-setting ul[data-v-6ddd24c1]{-webkit-padding-start:0;padding-inline-start:0;padding-left:0;margin:0}.panes-setting .drag-option[data-v-6ddd24c1]{cursor:move}.panes-setting li.ghost[data-v-6ddd24c1]{background:#fff;border:2px dotted #409eff}.html-content-editor[data-v-a3fcc8ba]{font-size:13px}.primary-color[data-v-3312ca7f]{color:#409eff}.background-opacity[data-v-3312ca7f]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-3312ca7f]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-3312ca7f]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-3312ca7f]{margin-top:8px}.el-form-item--small .el-radio[data-v-3312ca7f]{line-height:32px!important}.el-form-item--small .el-rate[data-v-3312ca7f]{margin-top:6px}.el-form-item--mini .el-radio[data-v-3312ca7f]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-3312ca7f]{margin-top:4px}.el-card[data-v-3312ca7f]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-3312ca7f]::-ms-reveal{display:none}[data-v-3312ca7f]::-webkit-scrollbar{width:8px;height:8px}[data-v-3312ca7f]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-3312ca7f]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-3312ca7f]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-3312ca7f]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.radio-group-custom[data-v-3312ca7f] .el-radio-button__inner{padding-left:12px;padding-right:12px}.primary-color[data-v-7202e5fc]{color:#409eff}.background-opacity[data-v-7202e5fc]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-7202e5fc]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-7202e5fc]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-7202e5fc]{margin-top:8px}.el-form-item--small .el-radio[data-v-7202e5fc]{line-height:32px!important}.el-form-item--small .el-rate[data-v-7202e5fc]{margin-top:6px}.el-form-item--mini .el-radio[data-v-7202e5fc]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-7202e5fc]{margin-top:4px}.el-card[data-v-7202e5fc]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-7202e5fc]::-ms-reveal{display:none}[data-v-7202e5fc]::-webkit-scrollbar{width:8px;height:8px}[data-v-7202e5fc]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-7202e5fc]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-7202e5fc]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-7202e5fc]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.option-items-pane ul[data-v-7202e5fc]{-webkit-padding-start:6px;padding-inline-start:6px;padding-left:6px}li.ghost[data-v-7202e5fc]{background:#fff;border:2px dotted #409eff}.drag-option[data-v-7202e5fc]{cursor:move}.small-padding-dialog[data-v-7202e5fc] .el-dialog__body{padding:10px 15px}.dialog-footer .el-button[data-v-7202e5fc]{width:100px}.primary-color[data-v-c9642832]{color:#409eff}.background-opacity[data-v-c9642832]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-c9642832]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-c9642832]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-c9642832]{margin-top:8px}.el-form-item--small .el-radio[data-v-c9642832]{line-height:32px!important}.el-form-item--small .el-rate[data-v-c9642832]{margin-top:6px}.el-form-item--mini .el-radio[data-v-c9642832]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-c9642832]{margin-top:4px}.el-card[data-v-c9642832]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-c9642832]::-ms-reveal{display:none}[data-v-c9642832]::-webkit-scrollbar{width:8px;height:8px}[data-v-c9642832]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-c9642832]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-c9642832]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-c9642832]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.setting-form[data-v-c9642832] .el-form-item__label{font-size:13px;overflow:hidden;white-space:nowrap}.setting-form[data-v-c9642832] .el-form-item--mini.el-form-item{margin-bottom:6px}.setting-form .radio-group-custom[data-v-c9642832] .el-radio-button__inner{padding-left:12px;padding-right:12px}.setting-form .custom-divider.el-divider--horizontal[data-v-c9642832]{margin:10px 0}.setting-collapse[data-v-c9642832] .el-collapse-item__content{padding-bottom:6px}.setting-collapse[data-v-c9642832] .el-collapse-item__header{font-style:italic;font-weight:700}.small-padding-dialog[data-v-c9642832] .el-dialog__body{padding:6px 15px 12px 15px}.primary-color[data-v-c0de647a]{color:#409eff}.background-opacity[data-v-c0de647a]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-c0de647a]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-c0de647a]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-c0de647a]{margin-top:8px}.el-form-item--small .el-radio[data-v-c0de647a]{line-height:32px!important}.el-form-item--small .el-rate[data-v-c0de647a]{margin-top:6px}.el-form-item--mini .el-radio[data-v-c0de647a]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-c0de647a]{margin-top:4px}.el-card[data-v-c0de647a]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-c0de647a]::-ms-reveal{display:none}[data-v-c0de647a]::-webkit-scrollbar{width:8px;height:8px}[data-v-c0de647a]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-c0de647a]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-c0de647a]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-c0de647a]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.panel-container[data-v-c0de647a]{padding:0 8px}.setting-scrollbar[data-v-c0de647a] .el-scrollbar__wrap{overflow-x:hidden}.setting-collapse[data-v-c0de647a] .el-collapse-item__content{padding-bottom:6px}.setting-collapse[data-v-c0de647a] .el-collapse-item__header{font-style:italic;font-weight:700}.setting-form[data-v-c0de647a] .el-form-item__label{font-size:13px;overflow:hidden;white-space:nowrap}.setting-form[data-v-c0de647a] .el-form-item--mini.el-form-item{margin-bottom:6px}[data-v-c0de647a] .hide-spin-button input::-webkit-inner-spin-button,[data-v-c0de647a] .hide-spin-button input::-webkit-outer-spin-button{-webkit-appearance:none!important}[data-v-c0de647a] .hide-spin-button input[type=number]{-moz-appearance:textfield}[data-v-c0de647a] .custom-divider.el-divider--horizontal{margin:10px 0}[data-v-c0de647a] .custom-divider-margin-top.el-divider--horizontal{margin:20px 0}.small-padding-dialog[data-v-c0de647a] .el-dialog__body{padding:6px 15px 12px 15px}.primary-color[data-v-b98cf8dc]{color:#409eff}.background-opacity[data-v-b98cf8dc]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-b98cf8dc]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-b98cf8dc]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-b98cf8dc]{margin-top:8px}.el-form-item--small .el-radio[data-v-b98cf8dc]{line-height:32px!important}.el-form-item--small .el-rate[data-v-b98cf8dc]{margin-top:6px}.el-form-item--mini .el-radio[data-v-b98cf8dc]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-b98cf8dc]{margin-top:4px}.el-card[data-v-b98cf8dc]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-b98cf8dc]::-ms-reveal{display:none}[data-v-b98cf8dc]::-webkit-scrollbar{width:8px;height:8px}[data-v-b98cf8dc]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-b98cf8dc]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-b98cf8dc]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-b98cf8dc]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.container-wrapper[data-v-b98cf8dc]{position:relative;margin-bottom:5px}.container-wrapper .container-action[data-v-b98cf8dc]{position:absolute;bottom:0;right:-2px;height:28px;line-height:28px;background:#409eff;z-index:999}.container-wrapper .container-action i[data-v-b98cf8dc]{font-size:14px;color:#fff;margin:0 5px;cursor:pointer}.container-wrapper .drag-handler[data-v-b98cf8dc]{position:absolute;top:-2px;left:-2px;height:22px;line-height:22px;background:#409eff;z-index:9}.container-wrapper .drag-handler i[data-v-b98cf8dc]{font-size:14px;font-style:normal;color:#fff;margin:4px;cursor:move}.primary-color[data-v-07e1e7bf]{color:#409eff}.background-opacity[data-v-07e1e7bf]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-07e1e7bf]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-07e1e7bf]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-07e1e7bf]{margin-top:8px}.el-form-item--small .el-radio[data-v-07e1e7bf]{line-height:32px!important}.el-form-item--small .el-rate[data-v-07e1e7bf]{margin-top:6px}.el-form-item--mini .el-radio[data-v-07e1e7bf]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-07e1e7bf]{margin-top:4px}.el-card[data-v-07e1e7bf]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-07e1e7bf]::-ms-reveal{display:none}[data-v-07e1e7bf]::-webkit-scrollbar{width:8px;height:8px}[data-v-07e1e7bf]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-07e1e7bf]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-07e1e7bf]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-07e1e7bf]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.grid-cell[data-v-07e1e7bf]{min-height:38px;padding:3px;outline:1px dashed #369;position:relative}.grid-cell .form-widget-list[data-v-07e1e7bf]{min-height:28px}.grid-cell .grid-col-action[data-v-07e1e7bf]{position:absolute;bottom:0;right:-2px;height:28px;line-height:28px;background:#409eff;z-index:999}.grid-cell .grid-col-action i[data-v-07e1e7bf]{font-size:14px;color:#fff;margin:0 5px;cursor:pointer}.grid-cell .grid-col-handler[data-v-07e1e7bf]{position:absolute;top:-2px;left:-2px;height:22px;line-height:22px;background:#409eff;z-index:9}.grid-cell .grid-col-handler i[data-v-07e1e7bf]{font-size:14px;font-style:normal;color:#fff;margin:4px;cursor:default}.primary-color[data-v-ec57838c]{color:#409eff}.background-opacity[data-v-ec57838c]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-ec57838c]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-ec57838c]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-ec57838c]{margin-top:8px}.el-form-item--small .el-radio[data-v-ec57838c]{line-height:32px!important}.el-form-item--small .el-rate[data-v-ec57838c]{margin-top:6px}.el-form-item--mini .el-radio[data-v-ec57838c]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-ec57838c]{margin-top:4px}.el-card[data-v-ec57838c]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-ec57838c]::-ms-reveal{display:none}[data-v-ec57838c]::-webkit-scrollbar{width:8px;height:8px}[data-v-ec57838c]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-ec57838c]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-ec57838c]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-ec57838c]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.el-row.grid-container[data-v-ec57838c]{min-height:50px;outline:1px dashed #369}.el-row.grid-container .form-widget-list[data-v-ec57838c]{min-height:28px}.grid-cell.selected[data-v-ec57838c],.grid-container.selected[data-v-ec57838c]{outline:2px solid #409eff!important}.primary-color[data-v-5a6a2ce9]{color:#409eff}.background-opacity[data-v-5a6a2ce9]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-5a6a2ce9]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-5a6a2ce9]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-5a6a2ce9]{margin-top:8px}.el-form-item--small .el-radio[data-v-5a6a2ce9]{line-height:32px!important}.el-form-item--small .el-rate[data-v-5a6a2ce9]{margin-top:6px}.el-form-item--mini .el-radio[data-v-5a6a2ce9]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-5a6a2ce9]{margin-top:4px}.el-card[data-v-5a6a2ce9]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-5a6a2ce9]::-ms-reveal{display:none}[data-v-5a6a2ce9]::-webkit-scrollbar{width:8px;height:8px}[data-v-5a6a2ce9]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-5a6a2ce9]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-5a6a2ce9]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-5a6a2ce9]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.tab-container[data-v-5a6a2ce9]{margin:2px}.tab-container .form-widget-list[data-v-5a6a2ce9]{min-height:28px}.tab-container.selected[data-v-5a6a2ce9]{outline:2px solid #409eff!important}.primary-color[data-v-5f7bc992]{color:#409eff}.background-opacity[data-v-5f7bc992]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-5f7bc992]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-5f7bc992]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-5f7bc992]{margin-top:8px}.el-form-item--small .el-radio[data-v-5f7bc992]{line-height:32px!important}.el-form-item--small .el-rate[data-v-5f7bc992]{margin-top:6px}.el-form-item--mini .el-radio[data-v-5f7bc992]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-5f7bc992]{margin-top:4px}.el-card[data-v-5f7bc992]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-5f7bc992]::-ms-reveal{display:none}[data-v-5f7bc992]::-webkit-scrollbar{width:8px;height:8px}[data-v-5f7bc992]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-5f7bc992]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-5f7bc992]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-5f7bc992]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.table-cell[data-v-5f7bc992]{border:1px dashed #369;display:table-cell;position:relative}.table-cell .draggable-div[data-v-5f7bc992]{position:relative;height:100%}.table-cell .form-widget-list[data-v-5f7bc992]{border:1px dashed #369;margin:3px;height:100%}.table-cell .table-cell-action[data-v-5f7bc992]{position:absolute;bottom:0;right:-2px;height:28px;line-height:28px;background:#409eff;z-index:999}.table-cell .table-cell-action i[data-v-5f7bc992]{font-size:14px;color:#fff;margin:0 5px;cursor:pointer}.table-cell .table-cell-handler[data-v-5f7bc992]{position:absolute;top:-2px;left:-2px;height:22px;line-height:22px;background:#409eff;z-index:9}.table-cell .table-cell-handler i[data-v-5f7bc992]{font-size:14px;font-style:normal;color:#fff;margin:4px;cursor:default}.table-cell.selected[data-v-5f7bc992]{outline:2px solid #409eff!important}.primary-color[data-v-37d3c0b7]{color:#409eff}.background-opacity[data-v-37d3c0b7]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-37d3c0b7]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-37d3c0b7]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-37d3c0b7]{margin-top:8px}.el-form-item--small .el-radio[data-v-37d3c0b7]{line-height:32px!important}.el-form-item--small .el-rate[data-v-37d3c0b7]{margin-top:6px}.el-form-item--mini .el-radio[data-v-37d3c0b7]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-37d3c0b7]{margin-top:4px}.el-card[data-v-37d3c0b7]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-37d3c0b7]::-ms-reveal{display:none}[data-v-37d3c0b7]::-webkit-scrollbar{width:8px;height:8px}[data-v-37d3c0b7]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-37d3c0b7]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-37d3c0b7]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-37d3c0b7]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}div.table-container[data-v-37d3c0b7]{padding:5px;border:1px dashed #369;box-sizing:border-box}div.table-container table.table-layout[data-v-37d3c0b7]{width:100%;text-align:center;border-collapse:collapse;table-layout:fixed}div.table-container table.table-layout[data-v-37d3c0b7] td{height:48px;border:1px dashed #369;padding:3px;display:table-cell}div.table-container table.table-layout .form-widget-list[data-v-37d3c0b7]{border:1px dashed #369;min-height:36px}.table-container.selected[data-v-37d3c0b7]{outline:2px solid #409eff!important}.primary-color[data-v-7372c190]{color:#409eff}.background-opacity[data-v-7372c190]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-7372c190]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-7372c190]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-7372c190]{margin-top:8px}.el-form-item--small .el-radio[data-v-7372c190]{line-height:32px!important}.el-form-item--small .el-rate[data-v-7372c190]{margin-top:6px}.el-form-item--mini .el-radio[data-v-7372c190]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-7372c190]{margin-top:4px}.el-card[data-v-7372c190]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-7372c190]::-ms-reveal{display:none}[data-v-7372c190]::-webkit-scrollbar{width:8px;height:8px}[data-v-7372c190]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-7372c190]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-7372c190]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-7372c190]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.container-scroll-bar[data-v-7372c190] .el-scrollbar__view,.container-scroll-bar[data-v-7372c190] .el-scrollbar__wrap{overflow-x:hidden}.form-widget-container[data-v-7372c190]{padding:10px;background:#f1f2f3;overflow-x:hidden;overflow-y:auto}.form-widget-container .el-form.full-height-width[data-v-7372c190]{height:100%;padding:3px;background:#fff}.form-widget-container .el-form.full-height-width .no-widget-hint[data-v-7372c190]{position:absolute;left:0;right:0;top:0;bottom:0;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;font-size:18px;color:#999}.form-widget-container .el-form.full-height-width .form-widget-list[data-v-7372c190]{min-height:calc(100vh - 124px);padding:3px}.form-widget-container .el-form.Pad-layout[data-v-7372c190]{margin:0 auto;max-width:960px;border-radius:15px;box-shadow:0 0 1px 10px #495060}.form-widget-container .el-form.H5-layout[data-v-7372c190]{margin:0 auto;width:420px;border-radius:15px;box-shadow:0 0 1px 10px #495060}.form-widget-container .el-form.widget-form[data-v-7372c190] .el-row{padding:2px;border:1px dashed hsla(0,0%,66.7%,.75)}.grid-cell[data-v-7372c190]{min-height:30px;border-right:1px dotted #ccc}.fade-enter-active[data-v-7372c190],.fade-leave-active[data-v-7372c190]{transition:opacity .5s}.fade-enter[data-v-7372c190],.fade-leave-to[data-v-7372c190]{opacity:0}.primary-color[data-v-7e9e197b]{color:#409eff}.background-opacity[data-v-7e9e197b]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-7e9e197b]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-7e9e197b]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-7e9e197b]{margin-top:8px}.el-form-item--small .el-radio[data-v-7e9e197b]{line-height:32px!important}.el-form-item--small .el-rate[data-v-7e9e197b]{margin-top:6px}.el-form-item--mini .el-radio[data-v-7e9e197b]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-7e9e197b]{margin-top:4px}.el-card[data-v-7e9e197b]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-7e9e197b]::-ms-reveal{display:none}[data-v-7e9e197b]::-webkit-scrollbar{width:8px;height:8px}[data-v-7e9e197b]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-7e9e197b]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-7e9e197b]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-7e9e197b]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.el-container.main-container[data-v-7e9e197b]{background:#fff}.el-container.main-container[data-v-7e9e197b] aside{margin:0;padding:0;background:inherit}.el-container.full-height[data-v-7e9e197b]{height:100%;overflow-y:hidden}.el-container.center-layout-container[data-v-7e9e197b]{min-width:680px;border-left:2px dotted #ebeef5;border-right:2px dotted #ebeef5}.el-header.main-header[data-v-7e9e197b]{border-bottom:2px dotted #ebeef5;height:48px!important;line-height:48px!important;min-width:800px}div.main-title[data-v-7e9e197b]{font-size:18px;color:#242424;display:flex;align-items:center;justify-items:center}div.main-title img[data-v-7e9e197b]{cursor:pointer;width:36px;height:36px}div.main-title span.bold[data-v-7e9e197b]{font-size:20px;font-weight:700;margin:0 6px 0 6px}div.main-title span.version-span[data-v-7e9e197b]{font-size:14px;color:#101f1c;margin-left:6px}.float-left[data-v-7e9e197b]{float:left}.float-right[data-v-7e9e197b]{float:right}.el-dropdown-link[data-v-7e9e197b]{margin-right:12px;cursor:pointer}div.external-link a[data-v-7e9e197b]{font-size:13px;text-decoration:none;margin-right:10px;color:#606266}.el-header.toolbar-header[data-v-7e9e197b]{font-size:14px;border-bottom:1px dotted #ccc;height:42px!important}.el-aside.side-panel[data-v-7e9e197b]{width:260px!important;overflow-y:hidden}.el-main.form-widget-main[data-v-7e9e197b]{padding:0;position:relative;overflow-x:hidden}.container-scroll-bar[data-v-7e9e197b] .el-scrollbar__view,.container-scroll-bar[data-v-7e9e197b] .el-scrollbar__wrap{overflow-x:hidden}#app{height:100%}.primary-color[data-v-1a7581a2]{color:#409eff}.background-opacity[data-v-1a7581a2]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-1a7581a2]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-1a7581a2]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-1a7581a2]{margin-top:8px}.el-form-item--small .el-radio[data-v-1a7581a2]{line-height:32px!important}.el-form-item--small .el-rate[data-v-1a7581a2]{margin-top:6px}.el-form-item--mini .el-radio[data-v-1a7581a2]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-1a7581a2]{margin-top:4px}.el-card[data-v-1a7581a2]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-1a7581a2]::-ms-reveal{display:none}[data-v-1a7581a2]::-webkit-scrollbar{width:8px;height:8px}[data-v-1a7581a2]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-1a7581a2]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-1a7581a2]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-1a7581a2]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.svg-icon[data-v-1a7581a2]{width:1.1em;height:1.1em;margin-left:.35em;margin-right:.35em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.primary-color{color:#409eff}.background-opacity{background:rgba(64,158,255,.6)}.form-widget-list .ghost{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio{line-height:36px!important}.el-form-item--medium .el-rate{margin-top:8px}.el-form-item--small .el-radio{line-height:32px!important}.el-form-item--small .el-rate{margin-top:6px}.el-form-item--mini .el-radio{line-height:28px!important}.el-form-item--mini .el-rate{margin-top:4px}.el-card{margin-top:3px;margin-bottom:3px}input[type=password]::-ms-reveal{display:none}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}*{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}html{box-sizing:border-box}body,html{height:100%}body{margin:0;background-color:#fff;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}@font-face{font-family:iconfont;src:url(data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI8i0leAAABjAAAAFZjbWFw7bW54gAAAfgAAAGqZ2x5Zpkon+wAAAOwAAADNGhlYWQcnMJsAAAA4AAAADZoaGVhB4IDhgAAALwAAAAkaG10eBQAAAAAAAHkAAAAFGxvY2EBeAI2AAADpAAAAAxtYXhwARcAagAAARgAAAAgbmFtZT5U/n0AAAbkAAACbXBvc3T0IfeLAAAJVAAAAFAAAQAAA4D/gAAABAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAUAAQAAAAEAALwRH5pfDzz1AAsEAAAAAADcvr83AAAAANy+vzcAAP+ABAADgQAAAAgAAgAAAAAAAAABAAAABQBeAAgAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEEAAGQAAUAAAKJAswAAACPAokCzAAAAesAMgEIAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOYd52sDgP+AAFwDgQCAAAAAAQAAAAAAAAQAAAAEAAAABAAAAAQAAAAEAAAAAAAABQAAAAMAAAAsAAAABAAAAWoAAQAAAAAAZAADAAEAAAAsAAMACgAAAWoABAA4AAAACAAIAAIAAOYd51Tna///AADmHedT52v//wAAAAAAAAABAAgACAAKAAAABAABAAIAAwAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAQAAAAAAAAAAEAADmHQAA5h0AAAAEAADnUwAA51MAAAABAADnVAAA51QAAAACAADnawAA52sAAAADAAAAAAAAAE4AnAEqAZoABAAA/8AEAANAABoAHgAmAC4AACU2MhcWDwEUDwEGDwEiFAcjIiYvASY+ATIfAQMRIREBESMRIREjAyERIxEhESMDAo0KGwoFAQEJfQIJAgICAwQJBYwJBRQbCmmlAUD9wEABAD8BAkBAAQA/AbYKCgUMBg0KfwIEAQEBBASACRsUCmQC7v3AAkD9gP8AAUD+wAEA/wABQP7AAQAABAAA/4ADwANAABoAHgAmAC4AACUWFAcGLwEiLwEmLwE0Iic1NDY/ATYeARQPASUhESEBITUhESE1JREhNSERITUlATYKCgUMBg0KfwIEAQEBBASACRsUCmQC7v3AAkD9gP8AAUD+wAEA/wABQP7AAQDzChsKBQEBCX0CCQICAgMECQWMCQUUGwpppf7AAkBA/wA/Af3AQP8APwEABQAAAAADwgL9ACYAOQBBAEkAXQAAASYnNzY0JiIPASYjIgcGBwYUFxYXFhcHBhQXFjI/ARYzMjY3Njc2BTY3NjMyFwcuASMiDgEVFBcHJiUUBiMiJzcWBzQ2MzIXByYXIic3HgEzMj4BNTQnNxYXDgEHBgO9TWNpChMaCXRdeZF9XlEFBSIqMDRtCQkPGAl0YHZcs0RHIwX8xEZSanhcSlAQLRksSSsaWlIBkjcpFhSACsA3KRYUgApgXEpQEC0ZLEkrGlpUSSF6SkwBkINKaQoaEwpzQGRLgQcSBzkyOSltCRoJCgpzPU9FR1gPAm5AUi1QDg8rSSwxKVlBcik3CoAUFik3CoAU6i1QDg8rSSwxKVlAc0l1ICIAAAAIAAD/gANBA4EACAARABoAIwAsADUAPgBHAAABIiY0NjIWFAYDIiY0NjIWFAYDIiY0NjIWFAYDIiY0NjIWFAYBIiY0NjIWFAYDIiY0NjIWFAYDIiY0NjIWFAYDIiY0NjIWFAYBICg4OFA4OCgoODhQODgoKDg4UDg4KCg4OFA4OAGYKDg4UDg4KCg4OFA4OCgoODhQODgoKDg4UDg4AsA4UDg4UDj+6zhPOTlPOP7qOU84OE85/us4UDg4UDgDQDhQODhQOP7rOE85OU84/uo5Tzg4Tzn+6zhQODhQOAAAAAAAEgDeAAEAAAAAAAAAFQAAAAEAAAAAAAEACAAVAAEAAAAAAAIABwAdAAEAAAAAAAMACAAkAAEAAAAAAAQACAAsAAEAAAAAAAUACwA0AAEAAAAAAAYACAA/AAEAAAAAAAoAKwBHAAEAAAAAAAsAEwByAAMAAQQJAAAAKgCFAAMAAQQJAAEAEACvAAMAAQQJAAIADgC/AAMAAQQJAAMAEADNAAMAAQQJAAQAEADdAAMAAQQJAAUAFgDtAAMAAQQJAAYAEAEDAAMAAQQJAAoAVgETAAMAAQQJAAsAJgFpCkNyZWF0ZWQgYnkgaWNvbmZvbnQKaWNvbmZvbnRSZWd1bGFyaWNvbmZvbnRpY29uZm9udFZlcnNpb24gMS4waWNvbmZvbnRHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuaHR0cDovL2ZvbnRlbGxvLmNvbQAKAEMAcgBlAGEAdABlAGQAIABiAHkAIABpAGMAbwBuAGYAbwBuAHQACgBpAGMAbwBuAGYAbwBuAHQAUgBlAGcAdQBsAGEAcgBpAGMAbwBuAGYAbwBuAHQAaQBjAG8AbgBmAG8AbgB0AFYAZQByAHMAaQBvAG4AIAAxAC4AMABpAGMAbwBuAGYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQECAQMBBAEFAQYADGluc2VydGNvbHVtbglpbnNlcnRyb3cEaGlkZQRkcmFnAAA=) format("truetype")}.iconfont,body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal}.icon-insertcolumn:before{content:"\e753"}.icon-insertrow:before{content:"\e754"}.icon-hide:before{content:"\e76b"}.icon-drag:before{content:"\e61d"}.primary-color[data-v-228afde5]{color:#409eff}.background-opacity[data-v-228afde5]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-228afde5]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-228afde5]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-228afde5]{margin-top:8px}.el-form-item--small .el-radio[data-v-228afde5]{line-height:32px!important}.el-form-item--small .el-rate[data-v-228afde5]{margin-top:6px}.el-form-item--mini .el-radio[data-v-228afde5]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-228afde5]{margin-top:4px}.el-card[data-v-228afde5]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-228afde5]::-ms-reveal{display:none}[data-v-228afde5]::-webkit-scrollbar{width:8px;height:8px}[data-v-228afde5]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-228afde5]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-228afde5]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-228afde5]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.card-container.selected[data-v-228afde5]{outline:2px solid #409eff!important}.card-container[data-v-228afde5]{margin:3px}.card-container .form-widget-list[data-v-228afde5]{min-height:28px}[data-v-228afde5] .el-card__header{padding:10px 12px}.folded[data-v-228afde5] .el-card__body{display:none}.clear-fix[data-v-228afde5]:after,.clear-fix[data-v-228afde5]:before{display:table;content:""}.clear-fix[data-v-228afde5]:after{clear:both}.float-right[data-v-228afde5]{float:right}.primary-color[data-v-159d5068]{color:#409eff}.background-opacity[data-v-159d5068]{background:rgba(64,158,255,.6)}.form-widget-list .ghost[data-v-159d5068]{content:"";font-size:0;height:3px;box-sizing:border-box;background:#409eff;border:2px solid #409eff;outline-width:0;padding:0;overflow:hidden}.el-form-item--medium .el-radio[data-v-159d5068]{line-height:36px!important}.el-form-item--medium .el-rate[data-v-159d5068]{margin-top:8px}.el-form-item--small .el-radio[data-v-159d5068]{line-height:32px!important}.el-form-item--small .el-rate[data-v-159d5068]{margin-top:6px}.el-form-item--mini .el-radio[data-v-159d5068]{line-height:28px!important}.el-form-item--mini .el-rate[data-v-159d5068]{margin-top:4px}.el-card[data-v-159d5068]{margin-top:3px;margin-bottom:3px}input[type=password][data-v-159d5068]::-ms-reveal{display:none}[data-v-159d5068]::-webkit-scrollbar{width:8px;height:8px}[data-v-159d5068]::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);border-radius:2em}[data-v-159d5068]::-webkit-scrollbar-thumb{background-color:rgba(16,31,28,.35);background-clip:padding-box;min-height:28px;border-radius:2em}[data-v-159d5068]::-webkit-scrollbar-thumb:hover{background-color:rgba(16,31,28,.85)}[data-v-159d5068]{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}[data-v-159d5068] .el-card__header{padding:10px 12px}.folded[data-v-159d5068] .el-card__body{display:none}.clear-fix[data-v-159d5068]:after,.clear-fix[data-v-159d5068]:before{display:table;content:""}.clear-fix[data-v-159d5068]:after{clear:both}.float-right[data-v-159d5068]{float:right} \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/css/chunk-vendors.a16c4353.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/css/chunk-vendors.a16c4353.css new file mode 100644 index 000000000..c7a0f01d5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/css/chunk-vendors.a16c4353.css @@ -0,0 +1 @@ +.el-pagination--small .arrow.disabled,.el-table--hidden,.el-table .el-table__cell.is-hidden>*,.el-table .hidden-columns{visibility:hidden}.el-dropdown .el-dropdown-selfdefine:focus:active,.el-dropdown .el-dropdown-selfdefine:focus:not(.focusing),.el-message__closeBtn:focus,.el-message__content:focus,.el-popover:focus,.el-popover:focus:active,.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing),.el-rate:active,.el-rate:focus,.el-tooltip:focus:hover,.el-tooltip:focus:not(.focusing),.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-input__suffix,.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}@font-face{font-family:element-icons;src:url(../fonts/element-icons.535877f5.woff) format("woff"),url(../fonts/element-icons.732389de.ttf) format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class*=" el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-ice-cream-round:before{content:"\e6a0"}.el-icon-ice-cream-square:before{content:"\e6a3"}.el-icon-lollipop:before{content:"\e6a4"}.el-icon-potato-strips:before{content:"\e6a5"}.el-icon-milk-tea:before{content:"\e6a6"}.el-icon-ice-drink:before{content:"\e6a7"}.el-icon-ice-tea:before{content:"\e6a9"}.el-icon-coffee:before{content:"\e6aa"}.el-icon-orange:before{content:"\e6ab"}.el-icon-pear:before{content:"\e6ac"}.el-icon-apple:before{content:"\e6ad"}.el-icon-cherry:before{content:"\e6ae"}.el-icon-watermelon:before{content:"\e6af"}.el-icon-grape:before{content:"\e6b0"}.el-icon-refrigerator:before{content:"\e6b1"}.el-icon-goblet-square-full:before{content:"\e6b2"}.el-icon-goblet-square:before{content:"\e6b3"}.el-icon-goblet-full:before{content:"\e6b4"}.el-icon-goblet:before{content:"\e6b5"}.el-icon-cold-drink:before{content:"\e6b6"}.el-icon-coffee-cup:before{content:"\e6b8"}.el-icon-water-cup:before{content:"\e6b9"}.el-icon-hot-water:before{content:"\e6ba"}.el-icon-ice-cream:before{content:"\e6bb"}.el-icon-dessert:before{content:"\e6bc"}.el-icon-sugar:before{content:"\e6bd"}.el-icon-tableware:before{content:"\e6be"}.el-icon-burger:before{content:"\e6bf"}.el-icon-knife-fork:before{content:"\e6c1"}.el-icon-fork-spoon:before{content:"\e6c2"}.el-icon-chicken:before{content:"\e6c3"}.el-icon-food:before{content:"\e6c4"}.el-icon-dish-1:before{content:"\e6c5"}.el-icon-dish:before{content:"\e6c6"}.el-icon-moon-night:before{content:"\e6ee"}.el-icon-moon:before{content:"\e6f0"}.el-icon-cloudy-and-sunny:before{content:"\e6f1"}.el-icon-partly-cloudy:before{content:"\e6f2"}.el-icon-cloudy:before{content:"\e6f3"}.el-icon-sunny:before{content:"\e6f6"}.el-icon-sunset:before{content:"\e6f7"}.el-icon-sunrise-1:before{content:"\e6f8"}.el-icon-sunrise:before{content:"\e6f9"}.el-icon-heavy-rain:before{content:"\e6fa"}.el-icon-lightning:before{content:"\e6fb"}.el-icon-light-rain:before{content:"\e6fc"}.el-icon-wind-power:before{content:"\e6fd"}.el-icon-baseball:before{content:"\e712"}.el-icon-soccer:before{content:"\e713"}.el-icon-football:before{content:"\e715"}.el-icon-basketball:before{content:"\e716"}.el-icon-ship:before{content:"\e73f"}.el-icon-truck:before{content:"\e740"}.el-icon-bicycle:before{content:"\e741"}.el-icon-mobile-phone:before{content:"\e6d3"}.el-icon-service:before{content:"\e6d4"}.el-icon-key:before{content:"\e6e2"}.el-icon-unlock:before{content:"\e6e4"}.el-icon-lock:before{content:"\e6e5"}.el-icon-watch:before{content:"\e6fe"}.el-icon-watch-1:before{content:"\e6ff"}.el-icon-timer:before{content:"\e702"}.el-icon-alarm-clock:before{content:"\e703"}.el-icon-map-location:before{content:"\e704"}.el-icon-delete-location:before{content:"\e705"}.el-icon-add-location:before{content:"\e706"}.el-icon-location-information:before{content:"\e707"}.el-icon-location-outline:before{content:"\e708"}.el-icon-location:before{content:"\e79e"}.el-icon-place:before{content:"\e709"}.el-icon-discover:before{content:"\e70a"}.el-icon-first-aid-kit:before{content:"\e70b"}.el-icon-trophy-1:before{content:"\e70c"}.el-icon-trophy:before{content:"\e70d"}.el-icon-medal:before{content:"\e70e"}.el-icon-medal-1:before{content:"\e70f"}.el-icon-stopwatch:before{content:"\e710"}.el-icon-mic:before{content:"\e711"}.el-icon-copy-document:before{content:"\e718"}.el-icon-full-screen:before{content:"\e719"}.el-icon-switch-button:before{content:"\e71b"}.el-icon-aim:before{content:"\e71c"}.el-icon-crop:before{content:"\e71d"}.el-icon-odometer:before{content:"\e71e"}.el-icon-time:before{content:"\e71f"}.el-icon-bangzhu:before{content:"\e724"}.el-icon-close-notification:before{content:"\e726"}.el-icon-microphone:before{content:"\e727"}.el-icon-turn-off-microphone:before{content:"\e728"}.el-icon-position:before{content:"\e729"}.el-icon-postcard:before{content:"\e72a"}.el-icon-message:before{content:"\e72b"}.el-icon-chat-line-square:before{content:"\e72d"}.el-icon-chat-dot-square:before{content:"\e72e"}.el-icon-chat-dot-round:before{content:"\e72f"}.el-icon-chat-square:before{content:"\e730"}.el-icon-chat-line-round:before{content:"\e731"}.el-icon-chat-round:before{content:"\e732"}.el-icon-set-up:before{content:"\e733"}.el-icon-turn-off:before{content:"\e734"}.el-icon-open:before{content:"\e735"}.el-icon-connection:before{content:"\e736"}.el-icon-link:before{content:"\e737"}.el-icon-cpu:before{content:"\e738"}.el-icon-thumb:before{content:"\e739"}.el-icon-female:before{content:"\e73a"}.el-icon-male:before{content:"\e73b"}.el-icon-guide:before{content:"\e73c"}.el-icon-news:before{content:"\e73e"}.el-icon-price-tag:before{content:"\e744"}.el-icon-discount:before{content:"\e745"}.el-icon-wallet:before{content:"\e747"}.el-icon-coin:before{content:"\e748"}.el-icon-money:before{content:"\e749"}.el-icon-bank-card:before{content:"\e74a"}.el-icon-box:before{content:"\e74b"}.el-icon-present:before{content:"\e74c"}.el-icon-sell:before{content:"\e6d5"}.el-icon-sold-out:before{content:"\e6d6"}.el-icon-shopping-bag-2:before{content:"\e74d"}.el-icon-shopping-bag-1:before{content:"\e74e"}.el-icon-shopping-cart-2:before{content:"\e74f"}.el-icon-shopping-cart-1:before{content:"\e750"}.el-icon-shopping-cart-full:before{content:"\e751"}.el-icon-smoking:before{content:"\e752"}.el-icon-no-smoking:before{content:"\e753"}.el-icon-house:before{content:"\e754"}.el-icon-table-lamp:before{content:"\e755"}.el-icon-school:before{content:"\e756"}.el-icon-office-building:before{content:"\e757"}.el-icon-toilet-paper:before{content:"\e758"}.el-icon-notebook-2:before{content:"\e759"}.el-icon-notebook-1:before{content:"\e75a"}.el-icon-files:before{content:"\e75b"}.el-icon-collection:before{content:"\e75c"}.el-icon-receiving:before{content:"\e75d"}.el-icon-suitcase-1:before{content:"\e760"}.el-icon-suitcase:before{content:"\e761"}.el-icon-film:before{content:"\e763"}.el-icon-collection-tag:before{content:"\e765"}.el-icon-data-analysis:before{content:"\e766"}.el-icon-pie-chart:before{content:"\e767"}.el-icon-data-board:before{content:"\e768"}.el-icon-data-line:before{content:"\e76d"}.el-icon-reading:before{content:"\e769"}.el-icon-magic-stick:before{content:"\e76a"}.el-icon-coordinate:before{content:"\e76b"}.el-icon-mouse:before{content:"\e76c"}.el-icon-brush:before{content:"\e76e"}.el-icon-headset:before{content:"\e76f"}.el-icon-umbrella:before{content:"\e770"}.el-icon-scissors:before{content:"\e771"}.el-icon-mobile:before{content:"\e773"}.el-icon-attract:before{content:"\e774"}.el-icon-monitor:before{content:"\e775"}.el-icon-search:before{content:"\e778"}.el-icon-takeaway-box:before{content:"\e77a"}.el-icon-paperclip:before{content:"\e77d"}.el-icon-printer:before{content:"\e77e"}.el-icon-document-add:before{content:"\e782"}.el-icon-document:before{content:"\e785"}.el-icon-document-checked:before{content:"\e786"}.el-icon-document-copy:before{content:"\e787"}.el-icon-document-delete:before{content:"\e788"}.el-icon-document-remove:before{content:"\e789"}.el-icon-tickets:before{content:"\e78b"}.el-icon-folder-checked:before{content:"\e77f"}.el-icon-folder-delete:before{content:"\e780"}.el-icon-folder-remove:before{content:"\e781"}.el-icon-folder-add:before{content:"\e783"}.el-icon-folder-opened:before{content:"\e784"}.el-icon-folder:before{content:"\e78a"}.el-icon-edit-outline:before{content:"\e764"}.el-icon-edit:before{content:"\e78c"}.el-icon-date:before{content:"\e78e"}.el-icon-c-scale-to-original:before{content:"\e7c6"}.el-icon-view:before{content:"\e6ce"}.el-icon-loading:before{content:"\e6cf"}.el-icon-rank:before{content:"\e6d1"}.el-icon-sort-down:before{content:"\e7c4"}.el-icon-sort-up:before{content:"\e7c5"}.el-icon-sort:before{content:"\e6d2"}.el-icon-finished:before{content:"\e6cd"}.el-icon-refresh-left:before{content:"\e6c7"}.el-icon-refresh-right:before{content:"\e6c8"}.el-icon-refresh:before{content:"\e6d0"}.el-icon-video-play:before{content:"\e7c0"}.el-icon-video-pause:before{content:"\e7c1"}.el-icon-d-arrow-right:before{content:"\e6dc"}.el-icon-d-arrow-left:before{content:"\e6dd"}.el-icon-arrow-up:before{content:"\e6e1"}.el-icon-arrow-down:before{content:"\e6df"}.el-icon-arrow-right:before{content:"\e6e0"}.el-icon-arrow-left:before{content:"\e6de"}.el-icon-top-right:before{content:"\e6e7"}.el-icon-top-left:before{content:"\e6e8"}.el-icon-top:before{content:"\e6e6"}.el-icon-bottom:before{content:"\e6eb"}.el-icon-right:before{content:"\e6e9"}.el-icon-back:before{content:"\e6ea"}.el-icon-bottom-right:before{content:"\e6ec"}.el-icon-bottom-left:before{content:"\e6ed"}.el-icon-caret-top:before{content:"\e78f"}.el-icon-caret-bottom:before{content:"\e790"}.el-icon-caret-right:before{content:"\e791"}.el-icon-caret-left:before{content:"\e792"}.el-icon-d-caret:before{content:"\e79a"}.el-icon-share:before{content:"\e793"}.el-icon-menu:before{content:"\e798"}.el-icon-s-grid:before{content:"\e7a6"}.el-icon-s-check:before{content:"\e7a7"}.el-icon-s-data:before{content:"\e7a8"}.el-icon-s-opportunity:before{content:"\e7aa"}.el-icon-s-custom:before{content:"\e7ab"}.el-icon-s-claim:before{content:"\e7ad"}.el-icon-s-finance:before{content:"\e7ae"}.el-icon-s-comment:before{content:"\e7af"}.el-icon-s-flag:before{content:"\e7b0"}.el-icon-s-marketing:before{content:"\e7b1"}.el-icon-s-shop:before{content:"\e7b4"}.el-icon-s-open:before{content:"\e7b5"}.el-icon-s-management:before{content:"\e7b6"}.el-icon-s-ticket:before{content:"\e7b7"}.el-icon-s-release:before{content:"\e7b8"}.el-icon-s-home:before{content:"\e7b9"}.el-icon-s-promotion:before{content:"\e7ba"}.el-icon-s-operation:before{content:"\e7bb"}.el-icon-s-unfold:before{content:"\e7bc"}.el-icon-s-fold:before{content:"\e7a9"}.el-icon-s-platform:before{content:"\e7bd"}.el-icon-s-order:before{content:"\e7be"}.el-icon-s-cooperation:before{content:"\e7bf"}.el-icon-bell:before{content:"\e725"}.el-icon-message-solid:before{content:"\e799"}.el-icon-video-camera:before{content:"\e772"}.el-icon-video-camera-solid:before{content:"\e796"}.el-icon-camera:before{content:"\e779"}.el-icon-camera-solid:before{content:"\e79b"}.el-icon-download:before{content:"\e77c"}.el-icon-upload2:before{content:"\e77b"}.el-icon-upload:before{content:"\e7c3"}.el-icon-picture-outline-round:before{content:"\e75f"}.el-icon-picture-outline:before{content:"\e75e"}.el-icon-picture:before{content:"\e79f"}.el-icon-close:before{content:"\e6db"}.el-icon-check:before{content:"\e6da"}.el-icon-plus:before{content:"\e6d9"}.el-icon-minus:before{content:"\e6d8"}.el-icon-help:before{content:"\e73d"}.el-icon-s-help:before{content:"\e7b3"}.el-icon-circle-close:before{content:"\e78d"}.el-icon-circle-check:before{content:"\e720"}.el-icon-circle-plus-outline:before{content:"\e723"}.el-icon-remove-outline:before{content:"\e722"}.el-icon-zoom-out:before{content:"\e776"}.el-icon-zoom-in:before{content:"\e777"}.el-icon-error:before{content:"\e79d"}.el-icon-success:before{content:"\e79c"}.el-icon-circle-plus:before{content:"\e7a0"}.el-icon-remove:before{content:"\e7a2"}.el-icon-info:before{content:"\e7a1"}.el-icon-question:before{content:"\e7a4"}.el-icon-warning-outline:before{content:"\e6c9"}.el-icon-warning:before{content:"\e7a3"}.el-icon-goods:before{content:"\e7c2"}.el-icon-s-goods:before{content:"\e7b2"}.el-icon-star-off:before{content:"\e717"}.el-icon-star-on:before{content:"\e797"}.el-icon-more-outline:before{content:"\e6cc"}.el-icon-more:before{content:"\e794"}.el-icon-phone-outline:before{content:"\e6cb"}.el-icon-phone:before{content:"\e795"}.el-icon-user:before{content:"\e6e3"}.el-icon-user-solid:before{content:"\e7a5"}.el-icon-setting:before{content:"\e6ca"}.el-icon-s-tools:before{content:"\e7ac"}.el-icon-delete:before{content:"\e6d7"}.el-icon-delete-solid:before{content:"\e7c9"}.el-icon-eleme:before{content:"\e7c7"}.el-icon-platform-eleme:before{content:"\e7ca"}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-pagination{white-space:nowrap;padding:2px 5px;color:#303133;font-weight:700}.el-pagination:after,.el-pagination:before{display:table;content:""}.el-pagination:after{clear:both}.el-pagination button,.el-pagination span:not([class*=suffix]){display:inline-block;font-size:13px;min-width:35.5px;height:28px;line-height:28px;vertical-align:top;box-sizing:border-box}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield;line-height:normal}.el-pagination .el-input__suffix{right:0;transform:scale(.8)}.el-pagination .el-select .el-input{width:100px;margin:0 5px}.el-pagination .el-select .el-input .el-input__inner{padding-right:25px;border-radius:3px}.el-pagination button{border:none;padding:0 6px;background:0 0}.el-pagination button:focus{outline:0}.el-pagination button:hover{color:#409eff}.el-pagination button:disabled{color:#c0c4cc;background-color:#fff;cursor:not-allowed}.el-pagination .btn-next,.el-pagination .btn-prev{background:50% no-repeat #fff;background-size:16px;cursor:pointer;margin:0;color:#303133}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700}.el-pagination .btn-prev{padding-right:12px}.el-pagination .btn-next{padding-left:12px}.el-pagination .el-pager li.disabled{color:#c0c4cc;cursor:not-allowed}.el-pager li,.el-pager li.btn-quicknext:hover,.el-pager li.btn-quickprev:hover{cursor:pointer}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li,.el-pagination--small .el-pager li.btn-quicknext,.el-pagination--small .el-pager li.btn-quickprev,.el-pagination--small .el-pager li:last-child{border-color:transparent;font-size:12px;line-height:22px;height:22px;min-width:22px}.el-pagination--small .more:before,.el-pagination--small li.more:before{line-height:24px}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){height:22px;line-height:22px}.el-pagination--small .el-pagination__editor,.el-pagination--small .el-pagination__editor.el-input .el-input__inner{height:22px}.el-pagination__sizes{margin:0 10px 0 0;font-weight:400;color:#606266}.el-pagination__sizes .el-input .el-input__inner{font-size:13px;padding-left:8px}.el-pagination__sizes .el-input .el-input__inner:hover{border-color:#409eff}.el-pagination__total{margin-right:10px;font-weight:400;color:#606266}.el-pagination__jump{margin-left:24px;font-weight:400;color:#606266}.el-pagination__jump .el-input__inner{padding:0 3px}.el-pagination__rightwrapper{float:right}.el-pagination__editor{line-height:18px;padding:0 2px;height:28px;text-align:center;margin:0 2px;box-sizing:border-box;border-radius:3px}.el-pager,.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0}.el-pagination__editor.el-input{width:50px}.el-pagination__editor.el-input .el-input__inner{height:28px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{margin:0 5px;background-color:#f4f4f5;color:#606266;min-width:30px;border-radius:2px}.el-pagination.is-background .btn-next.disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.disabled{color:#c0c4cc}.el-pagination.is-background .el-pager li:not(.disabled):hover{color:#409eff}.el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#409eff;color:#fff}.el-dialog,.el-pager li{background:#fff;-webkit-box-sizing:border-box}.el-pagination.is-background.el-pagination--small .btn-next,.el-pagination.is-background.el-pagination--small .btn-prev,.el-pagination.is-background.el-pagination--small .el-pager li{margin:0 3px;min-width:22px}.el-pager,.el-pager li{vertical-align:top;margin:0;display:inline-block}.el-pager{-ms-user-select:none;user-select:none;list-style:none;font-size:0}.el-date-table,.el-pager,.el-table th.el-table__cell{-webkit-user-select:none;-moz-user-select:none}.el-pager .more:before{line-height:30px}.el-pager li{padding:0 4px;font-size:13px;min-width:35.5px;height:28px;line-height:28px;box-sizing:border-box;text-align:center}.el-menu--collapse .el-menu .el-submenu,.el-menu--popup{min-width:200px}.el-pager li.btn-quicknext,.el-pager li.btn-quickprev{line-height:28px;color:#303133}.el-pager li.btn-quicknext.disabled,.el-pager li.btn-quickprev.disabled{color:#c0c4cc}.el-pager li.active+li{border-left:0}.el-pager li:hover{color:#409eff}.el-pager li.active{color:#409eff;cursor:default}@-webkit-keyframes v-modal-in{0%{opacity:0}}@-webkit-keyframes v-modal-out{to{opacity:0}}.el-dialog{position:relative;margin:0 auto 50px;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.3);box-sizing:border-box;width:50%}.el-dialog.is-fullscreen{width:100%;margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog__header{padding:20px 20px 10px}.el-dialog__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:0 0;border:none;outline:0;cursor:pointer;font-size:16px}.el-dialog__headerbtn .el-dialog__close{color:#909399}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:#409eff}.el-dialog__title{line-height:24px;font-size:18px;color:#303133}.el-dialog__body{padding:30px 20px;color:#606266;font-size:14px;word-break:break-all}.el-dialog__footer{padding:10px 20px 20px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px 25px 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.dialog-fade-enter-active{-webkit-animation:dialog-fade-in .3s;animation:dialog-fade-in .3s}.dialog-fade-leave-active{-webkit-animation:dialog-fade-out .3s;animation:dialog-fade-out .3s}@-webkit-keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete-suggestion{margin:5px 0;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:4px;border:1px solid #e4e7ed;box-sizing:border-box;background-color:#fff}.el-dropdown-menu,.el-menu--collapse .el-submenu .el-menu{z-index:10;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:#606266;font-size:14px;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:#f5f7fa}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid #000}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:#999}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:#fff}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-dropdown{display:inline-block;position:relative;color:#606266;font-size:14px}.el-dropdown .el-button-group{display:block}.el-dropdown .el-button-group .el-button{float:none}.el-dropdown .el-dropdown__caret-button{padding-left:5px;padding-right:5px;position:relative;border-left:none}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:5px;bottom:5px;left:0;background:hsla(0,0%,100%,.5)}.el-dropdown .el-dropdown__caret-button.el-button--default:before{background:rgba(220,223,230,.5)}.el-dropdown .el-dropdown__caret-button:hover:not(.is-disabled):before{top:0;bottom:0}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{padding-left:0}.el-dropdown__icon{font-size:12px;margin:0 3px}.el-dropdown [disabled]{cursor:not-allowed;color:#bbb}.el-dropdown-menu{position:absolute;top:0;left:0;padding:10px 0;margin:5px 0;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-dropdown-menu__item{list-style:none;line-height:36px;padding:0 20px;margin:0;font-size:14px;color:#606266;cursor:pointer;outline:0}.el-dropdown-menu__item:focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:#ecf5ff;color:#66b1ff}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{position:relative;margin-top:6px;border-top:1px solid #ebeef5}.el-dropdown-menu__item--divided:before{content:"";height:6px;display:block;margin:0 -20px;background-color:#fff}.el-dropdown-menu__item.is-disabled{cursor:default;color:#bbb;pointer-events:none}.el-dropdown-menu--medium{padding:6px 0}.el-dropdown-menu--medium .el-dropdown-menu__item{line-height:30px;padding:0 17px;font-size:14px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:6px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:6px;margin:0 -17px}.el-dropdown-menu--small{padding:6px 0}.el-dropdown-menu--small .el-dropdown-menu__item{line-height:27px;padding:0 15px;font-size:13px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:4px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:4px;margin:0 -15px}.el-dropdown-menu--mini{padding:3px 0}.el-dropdown-menu--mini .el-dropdown-menu__item{line-height:24px;padding:0 10px;font-size:12px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:3px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:3px;margin:0 -10px}.el-menu{border-right:1px solid #e6e6e6;list-style:none;position:relative;margin:0;padding-left:0}.el-menu,.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover,.el-menu--horizontal>.el-submenu .el-submenu__title:hover{background-color:#fff}.el-menu:after,.el-menu:before{display:table;content:""}.el-menu:after{clear:both}.el-menu.el-menu--horizontal{border-bottom:1px solid #e6e6e6}.el-menu--horizontal{border-right:none}.el-menu--horizontal>.el-menu-item{float:left;height:60px;line-height:60px;margin:0;border-bottom:2px solid transparent;color:#909399}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-submenu{float:left}.el-menu--horizontal>.el-submenu:focus,.el-menu--horizontal>.el-submenu:hover{outline:0}.el-menu--horizontal>.el-submenu:focus .el-submenu__title,.el-menu--horizontal>.el-submenu:hover .el-submenu__title{color:#303133}.el-menu--horizontal>.el-submenu.is-active .el-submenu__title{border-bottom:2px solid #409eff;color:#303133}.el-menu--horizontal>.el-submenu .el-submenu__title{height:60px;line-height:60px;border-bottom:2px solid transparent;color:#909399}.el-menu--horizontal>.el-submenu .el-submenu__icon-arrow{position:static;vertical-align:middle;margin-left:8px;margin-top:-3px}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-submenu__title{background-color:#fff;float:none;height:36px;line-height:36px;padding:0 10px;color:#909399}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-submenu.is-active>.el-submenu__title{color:#303133}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{outline:0;color:#303133}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid #409eff;color:#303133}.el-menu--collapse{width:64px}.el-menu--collapse>.el-menu-item [class^=el-icon-],.el-menu--collapse>.el-submenu>.el-submenu__title [class^=el-icon-]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse>.el-menu-item .el-submenu__icon-arrow,.el-menu--collapse>.el-submenu>.el-submenu__title .el-submenu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item span,.el-menu--collapse>.el-submenu>.el-submenu__title span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-submenu{position:relative}.el-menu--collapse .el-submenu .el-menu{position:absolute;margin-left:5px;top:0;left:100%;border:1px solid #e4e7ed;border-radius:2px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu-item,.el-submenu__title{height:56px;line-height:56px;position:relative;-webkit-box-sizing:border-box;white-space:nowrap;list-style:none}.el-menu--collapse .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{transform:none}.el-menu--popup{z-index:100;border:none;padding:5px 0;border-radius:2px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu--popup-bottom-start{margin-top:5px}.el-menu--popup-right-start{margin-left:5px;margin-right:5px}.el-menu-item{font-size:14px;color:#303133;padding:0 20px;cursor:pointer;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box}.el-menu-item *{vertical-align:middle}.el-menu-item i{color:#909399}.el-menu-item:focus,.el-menu-item:hover{outline:0;background-color:#ecf5ff}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon-]{margin-right:5px;width:24px;text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:#409eff}.el-menu-item.is-active i{color:inherit}.el-submenu{list-style:none;margin:0;padding-left:0}.el-submenu__title{font-size:14px;color:#303133;padding:0 20px;cursor:pointer;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box}.el-submenu__title *{vertical-align:middle}.el-submenu__title i{color:#909399}.el-submenu__title:focus,.el-submenu__title:hover{outline:0;background-color:#ecf5ff}.el-submenu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-submenu__title:hover{background-color:#ecf5ff}.el-submenu .el-menu{border:none}.el-submenu .el-menu-item{height:50px;line-height:50px;padding:0 45px;min-width:200px}.el-submenu__icon-arrow{position:absolute;top:50%;right:20px;margin-top:-7px;transition:transform .3s;font-size:12px}.el-submenu.is-active .el-submenu__title{border-bottom-color:#409eff}.el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{transform:rotate(180deg)}.el-submenu.is-disabled .el-menu-item,.el-submenu.is-disabled .el-submenu__title{opacity:.25;cursor:not-allowed;background:0 0!important}.el-submenu [class^=el-icon-]{vertical-align:middle;margin-right:5px;width:24px;text-align:center;font-size:18px}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px 20px;line-height:normal;font-size:12px;color:#909399}.el-radio-button__inner,.el-radio-group{display:inline-block;line-height:1;vertical-align:middle}.horizontal-collapse-transition .el-submenu__title .el-submenu__icon-arrow{transition:.2s;opacity:0}.el-radio-group{font-size:0}.el-radio-button{position:relative;display:inline-block;outline:0}.el-radio-button__inner{white-space:nowrap;background:#fff;border:1px solid #dcdfe6;font-weight:500;border-left:0;color:#606266;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;position:relative;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);padding:12px 20px;font-size:14px;border-radius:0}.el-radio-button__inner.is-round{padding:12px 20px}.el-radio-button__inner:hover{color:#409eff}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px;box-shadow:none!important}.el-radio-button__orig-radio{opacity:0;outline:0;position:absolute;z-index:-1}.el-radio-button__orig-radio:checked+.el-radio-button__inner{color:#fff;background-color:#409eff;border-color:#409eff;box-shadow:-1px 0 0 0 #409eff}.el-radio-button__orig-radio:disabled+.el-radio-button__inner{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5;box-shadow:none}.el-radio-button__orig-radio:disabled:checked+.el-radio-button__inner{background-color:#f2f6fc}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 4px 4px 0}.el-popover,.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:4px}.el-radio-button--medium .el-radio-button__inner{padding:10px 20px;font-size:14px;border-radius:0}.el-radio-button--medium .el-radio-button__inner.is-round{padding:10px 20px}.el-radio-button--small .el-radio-button__inner{padding:9px 15px;font-size:12px;border-radius:0}.el-radio-button--small .el-radio-button__inner.is-round{padding:9px 15px}.el-radio-button--mini .el-radio-button__inner{padding:7px 15px;font-size:12px;border-radius:0}.el-radio-button--mini .el-radio-button__inner.is-round{padding:7px 15px}.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled){box-shadow:0 0 2px 2px #409eff}.el-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:20px;height:20px;vertical-align:middle}.el-switch__core,.el-switch__label{display:inline-block;cursor:pointer}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:.2s;height:20px;font-size:14px;font-weight:500;vertical-align:middle;color:#303133}.el-switch__label.is-active{color:#409eff}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__core{margin:0;position:relative;width:40px;height:20px;border:1px solid #dcdfe6;outline:0;border-radius:10px;box-sizing:border-box;background:#dcdfe6;transition:border-color .3s,background-color .3s;vertical-align:middle}.el-switch__core:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.el-switch.is-checked .el-switch__core{border-color:#409eff;background-color:#409eff}.el-switch.is-checked .el-switch__core:after{left:100%;margin-left:-17px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter,.el-switch .label-fade-leave-active{opacity:0}.el-select-dropdown{position:absolute;z-index:1001;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;margin:5px 0}.el-select-dropdown.is-multiple .el-select-dropdown__item{padding-right:40px}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:#409eff;background-color:#fff}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:#f5f7fa}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{position:absolute;right:20px;font-family:element-icons;content:"\e6da";font-size:12px;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:#999;font-size:14px}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select-dropdown__item{font-size:14px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606266;height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-select-dropdown__item.is-disabled:hover{background-color:#fff}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:#f5f7fa}.el-select-dropdown__item.selected{color:#409eff;font-weight:700}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:#e4e7ed}.el-select-group__title{padding-left:20px;font-size:12px;color:#909399;line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{display:inline-block;position:relative}.el-select .el-select__tags>span{display:contents}.el-select:hover .el-input__inner{border-color:#c0c4cc}.el-select .el-input__inner{cursor:pointer;padding-right:35px}.el-select .el-input__inner:focus{border-color:#409eff}.el-select .el-input .el-select__caret{color:#c0c4cc;font-size:14px;transition:transform .3s;transform:rotate(180deg);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(0)}.el-select .el-input .el-select__caret.is-show-close{font-size:14px;text-align:center;transform:rotate(180deg);border-radius:100%;color:#c0c4cc;transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-select .el-input .el-select__caret.is-show-close:hover{color:#909399}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{border-color:#e4e7ed}.el-select .el-input.is-focus .el-input__inner{border-color:#409eff}.el-select>.el-input{display:block}.el-select__input{border:none;outline:0;padding:0;margin-left:15px;color:#666;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__input.is-mini{height:14px}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:1000;right:25px;color:#c0c4cc;line-height:18px;font-size:14px}.el-select__close:hover{color:#909399}.el-select__tags{position:absolute;line-height:normal;white-space:normal;z-index:1;top:50%;transform:translateY(-50%);display:flex;align-items:center;flex-wrap:wrap}.el-select__tags-text{overflow:hidden;text-overflow:ellipsis}.el-select .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 0 2px 6px;background-color:#f0f2f5;display:flex;max-width:100%;align-items:center}.el-select .el-tag__close.el-icon-close{background-color:#c0c4cc;top:0;color:#fff;flex-shrink:0}.el-select .el-tag__close.el-icon-close:hover{background-color:#909399}.el-table,.el-table__expanded-cell{background-color:#fff}.el-select .el-tag__close.el-icon-close:before{display:block;transform:translateY(.5px)}.el-table{position:relative;overflow:hidden;box-sizing:border-box;flex:1;width:100%;max-width:100%;font-size:14px;color:#606266}.el-table--mini,.el-table--small,.el-table__expand-icon{font-size:12px}.el-table__empty-block{min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:#909399}.el-table__expand-column .cell{padding:0;text-align:center}.el-table__expand-icon{position:relative;cursor:pointer;color:#666;transition:transform .2s ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{position:absolute;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--scrollable-x .el-table__body-wrapper{overflow-x:auto}.el-table--scrollable-y .el-table__body-wrapper{overflow-y:auto}.el-table thead{color:#909399;font-weight:500}.el-table thead.is-group th.el-table__cell{background:#f5f7fa}.el-table .el-table__cell{padding:12px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table--medium .el-table__cell{padding:10px 0}.el-table--small .el-table__cell{padding:8px 0}.el-table--mini .el-table__cell{padding:6px 0}.el-table--border .el-table__cell:first-child .cell,.el-table .cell{padding-left:10px}.el-table tr{background-color:#fff}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:1px solid #ebeef5}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{overflow:hidden;-ms-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#fff}.el-table th.el-table__cell>.cell{display:inline-block;box-sizing:border-box;position:relative;vertical-align:middle;padding-left:10px;padding-right:10px;width:100%}.el-table th.el-table__cell>.cell.highlight{color:#409eff}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding-right:10px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--border,.el-table--group{border:1px solid #ebeef5}.el-table--border:after,.el-table--group:after,.el-table:before{content:"";position:absolute;background-color:#ebeef5;z-index:1}.el-table--border:after,.el-table--group:after{top:0;right:0;width:1px;height:100%}.el-table:before{left:0;bottom:0;width:100%;height:1px}.el-table--border{border-right:none;border-bottom:none}.el-table--border.el-loading-parent--relative{border-color:transparent}.el-table--border .el-table__cell,.el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:1px solid #ebeef5}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:1px solid #ebeef5;border-bottom-width:1px}.el-table--border th.el-table__cell,.el-table__fixed-right-patch{border-bottom:1px solid #ebeef5}.el-table__fixed,.el-table__fixed-right{position:absolute;top:0;left:0;overflow-x:hidden;overflow-y:hidden;box-shadow:0 0 10px rgba(0,0,0,.12)}.el-table__fixed-right:before,.el-table__fixed:before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:#ebeef5;z-index:4}.el-table__fixed-right-patch{position:absolute;top:-1px;right:0;background-color:#fff}.el-table__fixed-right{top:0;left:auto;right:0}.el-table__fixed-right .el-table__fixed-body-wrapper,.el-table__fixed-right .el-table__fixed-footer-wrapper,.el-table__fixed-right .el-table__fixed-header-wrapper{left:auto;right:0}.el-table__fixed-header-wrapper{position:absolute;left:0;top:0;z-index:3}.el-table__fixed-footer-wrapper{position:absolute;left:0;bottom:0;z-index:3}.el-table__fixed-footer-wrapper tbody td.el-table__cell{border-top:1px solid #ebeef5;background-color:#f5f7fa;color:#606266}.el-table__fixed-body-wrapper{position:absolute;left:0;top:37px;overflow:hidden;z-index:3}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__footer-wrapper{margin-top:-1px}.el-table__footer-wrapper td.el-table__cell{border-top:1px solid #ebeef5}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td.el-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:#f5f7fa;color:#606266}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper.is-scrolling-left~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed-right,.el-table__body-wrapper.is-scrolling-right~.el-table__fixed-right{box-shadow:none}.el-picker-panel,.el-table-filter{-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-table__body-wrapper .el-table--border.is-scrolling-right~.el-table__fixed-right{border-left:1px solid #ebeef5}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:34px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:5px solid transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:#c0c4cc;top:5px}.el-table .sort-caret.descending{border-top-color:#c0c4cc;bottom:7px}.el-table .ascending .sort-caret.ascending{border-bottom-color:#409eff}.el-table .descending .sort-caret.descending{border-top-color:#409eff}.el-table .hidden-columns{position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:#fafafa}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:#ecf5ff}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:#f5f7fa}.el-table__body tr.current-row>td.el-table__cell{background-color:#ecf5ff}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:1px solid #ebeef5;z-index:10}.el-table__column-filter-trigger{display:inline-block;line-height:34px;cursor:pointer}.el-table__column-filter-trigger i{color:#909399;font-size:12px;transform:scale(.75)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:#f5f7fa}.el-table--fluid-height .el-table__fixed,.el-table--fluid-height .el-table__fixed-right{bottom:0;overflow:hidden}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:20px;line-height:20px;height:20px;text-align:center;margin-right:3px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:1px solid #ebeef5;border-radius:2px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;margin:2px 0}.el-date-table td,.el-date-table td div{height:30px;-webkit-box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:14px}.el-table-filter__list-item:hover{background-color:#ecf5ff;color:#66b1ff}.el-table-filter__list-item.is-active{background-color:#409eff;color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid #ebeef5;padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:#606266;cursor:pointer;font-size:13px;padding:0 3px}.el-date-table.is-week-mode .el-date-table__row.current div,.el-date-table.is-week-mode .el-date-table__row:hover div,.el-date-table td.in-range div,.el-date-table td.in-range div:hover{background-color:#f2f6fc}.el-table-filter__bottom button:hover{color:#409eff}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:block;margin-right:5px;margin-bottom:8px;margin-left:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-date-table{font-size:12px;-ms-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:#606266}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child div{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child div{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td{width:32px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td div{padding:3px 0;box-sizing:border-box}.el-date-table td span{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translateX(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:#c0c4cc}.el-date-table td.today{position:relative}.el-date-table td.today span{color:#409eff;font-weight:700}.el-date-table td.today.end-date span,.el-date-table td.today.start-date span{color:#fff}.el-date-table td.available:hover{color:#409eff}.el-date-table td.current:not(.disabled) span{color:#fff;background-color:#409eff}.el-date-table td.end-date div,.el-date-table td.start-date div{color:#fff}.el-date-table td.end-date span,.el-date-table td.start-date span{background-color:#409eff}.el-date-table td.start-date div{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date div{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled div{background-color:#f5f7fa;opacity:1;cursor:not-allowed;color:#c0c4cc}.el-date-table td.selected div{margin-left:5px;margin-right:5px;background-color:#f2f6fc;border-radius:15px}.el-date-table td.selected div:hover{background-color:#f2f6fc}.el-date-table td.selected span{background-color:#409eff;color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:#606266}.el-month-table,.el-year-table{font-size:12px;border-collapse:collapse}.el-date-table th{padding:5px;color:#606266;font-weight:400;border-bottom:1px solid #ebeef5}.el-month-table{margin:-1px}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:#409eff;font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:#f5f7fa;cursor:not-allowed;color:#c0c4cc}.el-month-table td.disabled .cell:hover{color:#c0c4cc}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:#606266;margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:#409eff}.el-month-table td.in-range div,.el-month-table td.in-range div:hover{background-color:#f2f6fc}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:#409eff}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:#409eff}.el-year-table{margin:-1px}.el-year-table .el-icon{color:#303133}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:#409eff;font-weight:700}.el-year-table td.disabled .cell{background-color:#f5f7fa;cursor:not-allowed;color:#c0c4cc}.el-year-table td.disabled .cell:hover{color:#c0c4cc}.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px;color:#606266;margin:0 auto}.el-year-table td .cell:hover,.el-year-table td.current:not(.disabled) .cell{color:#409eff}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid #e4e4e4}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:#303133}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:1px solid #ebeef5}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:#606266}.el-date-picker__header-label.active,.el-date-picker__header-label:hover{color:#409eff}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.selected:not(.disabled){color:#409eff;font-weight:700}.time-select-item.disabled{color:#e4e7ed;cursor:not-allowed}.time-select-item:hover{background-color:#f5f7fa;font-weight:700;cursor:pointer}.el-date-editor{position:relative;display:inline-block;text-align:left}.el-date-editor.el-input,.el-date-editor.el-input__inner{width:220px}.el-date-editor--monthrange.el-input,.el-date-editor--monthrange.el-input__inner{width:300px}.el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner,.el-date-editor--timerange.el-input,.el-date-editor--timerange.el-input__inner{width:350px}.el-date-editor--datetimerange.el-input,.el-date-editor--datetimerange.el-input__inner{width:400px}.el-date-editor--dates .el-input__inner{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .el-icon-circle-close{cursor:pointer}.el-date-editor .el-range__icon{font-size:14px;margin-left:-5px;color:#c0c4cc;float:left;line-height:32px}.el-date-editor .el-range-input,.el-date-editor .el-range-separator{height:100%;margin:0;text-align:center;display:inline-block;font-size:14px}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:0;padding:0;width:39%;color:#606266}.el-date-editor .el-range-input:-ms-input-placeholder{color:#c0c4cc}.el-date-editor .el-range-input::-moz-placeholder{color:#c0c4cc}.el-date-editor .el-range-input::placeholder{color:#c0c4cc}.el-date-editor .el-range-separator{padding:0 5px;line-height:32px;width:5%;color:#303133}.el-date-editor .el-range__close-icon{font-size:14px;color:#c0c4cc;width:25px;display:inline-block;float:right;line-height:32px}.el-range-editor.el-input__inner{display:inline-flex;align-items:center;padding:3px 10px}.el-range-editor .el-range-input{line-height:1}.el-range-editor.is-active,.el-range-editor.is-active:hover{border-color:#409eff}.el-range-editor--medium.el-input__inner{height:36px}.el-range-editor--medium .el-range-separator{line-height:28px;font-size:14px}.el-range-editor--medium .el-range-input{font-size:14px}.el-range-editor--medium .el-range__close-icon,.el-range-editor--medium .el-range__icon{line-height:28px}.el-range-editor--small.el-input__inner{height:32px}.el-range-editor--small .el-range-separator{line-height:24px;font-size:13px}.el-range-editor--small .el-range-input{font-size:13px}.el-range-editor--small .el-range__close-icon,.el-range-editor--small .el-range__icon{line-height:24px}.el-range-editor--mini.el-input__inner{height:28px}.el-range-editor--mini .el-range-separator{line-height:20px;font-size:12px}.el-range-editor--mini .el-range-input{font-size:12px}.el-range-editor--mini .el-range__close-icon,.el-range-editor--mini .el-range__icon{line-height:20px}.el-range-editor.is-disabled{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:#e4e7ed}.el-range-editor.is-disabled input{background-color:#f5f7fa;color:#c0c4cc;cursor:not-allowed}.el-range-editor.is-disabled input:-ms-input-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input::-moz-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input::placeholder{color:#c0c4cc}.el-range-editor.is-disabled .el-range-separator{color:#c0c4cc}.el-picker-panel{color:#606266;border:1px solid #e4e7ed;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);background:#fff;border-radius:4px;line-height:30px;margin:5px 0}.el-popover,.el-time-panel{-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid #e4e4e4;padding:4px;text-align:right;background-color:#fff;position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:#606266;padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:#409eff}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:#409eff}.el-picker-panel__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:#ccc;cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:#303133;border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:#409eff}.el-picker-panel__icon-btn.is-disabled{color:#bbb}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid #e4e4e4;box-sizing:border-box;padding-top:6px;background-color:#fff;overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:190px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.disabled):not(.active){background:#fff;cursor:default}.el-time-spinner__arrow{font-size:12px;color:#909399;position:absolute;left:0;width:100%;z-index:1;text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:#409eff}.el-time-spinner__arrow.el-icon-arrow-up{top:10px}.el-time-spinner__arrow.el-icon-arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__list{margin:0;list-style:none}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:#606266}.el-time-spinner__item:hover:not(.disabled):not(.active){background:#f5f7fa;cursor:pointer}.el-time-spinner__item.active:not(.disabled){color:#303133;font-weight:700}.el-time-spinner__item.disabled{color:#c0c4cc;cursor:not-allowed}.el-time-panel{margin:5px 0;border:1px solid #e4e7ed;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:2px;position:absolute;width:180px;left:0;z-index:1000;user-select:none;box-sizing:content-box}.el-slider__button,.el-slider__button-wrapper,.el-time-panel{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-15px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left;border-top:1px solid #e4e7ed;border-bottom:1px solid #e4e7ed}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%}.el-time-panel__content.has-seconds:after{left:66.66667%}.el-time-panel__content.has-seconds:before{padding-left:33.33333%}.el-time-panel__footer{border-top:1px solid #e4e4e4;padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:#303133}.el-time-panel__btn.confirm{font-weight:800;color:#409eff}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid #e4e7ed}.el-popover{position:absolute;background:#fff;min-width:150px;border:1px solid #ebeef5;padding:12px;z-index:2000;color:#606266;line-height:1.4;text-align:justify;font-size:14px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);word-break:break-all}.el-popover--plain{padding:18px 20px}.el-popover__title{color:#303133;font-size:16px;line-height:1;margin-bottom:12px}.v-modal-enter{-webkit-animation:v-modal-in .2s ease;animation:v-modal-in .2s ease}.v-modal-leave{-webkit-animation:v-modal-out .2s ease forwards;animation:v-modal-out .2s ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:.5;background:#000}.el-popup-parent--hidden{overflow:hidden}.el-message-box{display:inline-block;width:420px;padding-bottom:10px;vertical-align:middle;background-color:#fff;border-radius:4px;border:1px solid #ebeef5;font-size:18px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);text-align:left;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.el-message-box__wrapper{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center}.el-message-box__wrapper:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box__header{position:relative;padding:15px 15px 10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:18px;line-height:1;color:#303133}.el-message-box__headerbtn{position:absolute;top:15px;right:15px;padding:0;border:none;outline:0;background:0 0;font-size:16px;cursor:pointer}.el-form-item.is-error .el-input__inner,.el-form-item.is-error .el-input__inner:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus,.el-message-box__input input.invalid,.el-message-box__input input.invalid:focus{border-color:#f56c6c}.el-message-box__headerbtn .el-message-box__close{color:#909399}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:#409eff}.el-message-box__content{padding:10px 15px;color:#606266;font-size:14px}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px}.el-message-box__status.el-icon-success{color:#67c23a}.el-message-box__status.el-icon-info{color:#909399}.el-message-box__status.el-icon-warning{color:#e6a23c}.el-message-box__status.el-icon-error{color:#f56c6c}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:#f56c6c;font-size:12px;min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;text-align:right}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center{padding-bottom:30px}.el-message-box--center .el-message-box__header{padding-top:30px}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__content{text-align:center}.el-message-box--center .el-message-box__content{padding-left:27px;padding-right:27px}.msgbox-fade-enter-active{-webkit-animation:msgbox-fade-in .3s;animation:msgbox-fade-in .3s}.msgbox-fade-leave-active{-webkit-animation:msgbox-fade-out .3s;animation:msgbox-fade-out .3s}@-webkit-keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:#c0c4cc}.el-breadcrumb__separator[class*=icon]{margin:0 6px;font-weight:400}.el-breadcrumb__item{float:left}.el-breadcrumb__inner{color:#606266}.el-breadcrumb__inner.is-link,.el-breadcrumb__inner a{font-weight:700;text-decoration:none;transition:color .2s cubic-bezier(.645,.045,.355,1);color:#303133}.el-breadcrumb__inner.is-link:hover,.el-breadcrumb__inner a:hover{color:#409eff;cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover{font-weight:400;color:#606266;cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item__label{float:none;display:inline-block;text-align:left;padding:0 0 10px}.el-form--inline .el-form-item{display:inline-block;margin-right:10px;vertical-align:top}.el-form--inline .el-form-item__label{float:none;display:inline-block}.el-form--inline .el-form-item__content{display:inline-block;vertical-align:top}.el-form--inline.el-form--label-top .el-form-item__content{display:block}.el-form-item{margin-bottom:22px}.el-form-item:after,.el-form-item:before{display:table;content:""}.el-form-item:after{clear:both}.el-form-item .el-form-item{margin-bottom:0}.el-form-item--mini.el-form-item,.el-form-item--small.el-form-item{margin-bottom:18px}.el-form-item .el-input__validateIcon{display:none}.el-form-item--medium .el-form-item__content,.el-form-item--medium .el-form-item__label{line-height:36px}.el-form-item--small .el-form-item__content,.el-form-item--small .el-form-item__label{line-height:32px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--mini .el-form-item__content,.el-form-item--mini .el-form-item__label{line-height:28px}.el-form-item--mini .el-form-item__error{padding-top:1px}.el-form-item__label-wrap{float:left}.el-form-item__label-wrap .el-form-item__label{display:inline-block;float:none}.el-form-item__label{text-align:right;vertical-align:middle;float:left;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{line-height:40px;position:relative;font-size:14px}.el-form-item__content:after,.el-form-item__content:before{display:table;content:""}.el-form-item__content:after{clear:both}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:#f56c6c;font-size:12px;line-height:1;padding-top:4px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{content:"*";color:#f56c6c;margin-right:4px}.el-form-item.is-error .el-input-group__append .el-input__inner,.el-form-item.is-error .el-input-group__prepend .el-input__inner{border-color:transparent}.el-form-item.is-error .el-input__validateIcon{color:#f56c6c}.el-form-item--feedback .el-input__validateIcon{display:inline-block}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:#409eff;z-index:1;transition:transform .3s cubic-bezier(.645,.045,.355,1);list-style:none}.el-tabs__new-tab{float:right;border:1px solid #d3dce6;height:18px;width:18px;line-height:18px;margin:12px 0 9px 10px;border-radius:3px;text-align:center;font-size:12px;color:#d3dce6;cursor:pointer;transition:all .15s}.el-collapse-item__arrow,.el-tabs__nav{-webkit-transition:-webkit-transform .3s}.el-tabs__new-tab .el-icon-plus{transform:scale(.8)}.el-tabs__new-tab:hover{color:#409eff}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:#e4e7ed;z-index:1}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after,.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:#909399}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;transition:transform .3s;float:left;z-index:2}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:500;color:#303133;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:0}.el-tabs__item:focus.is-active.is-focus:not(:active){box-shadow:inset 0 0 2px 2px #409eff;border-radius:3px}.el-tabs__item .el-icon-close{border-radius:50%;text-align:center;transition:all .3s cubic-bezier(.645,.045,.355,1);margin-left:5px}.el-tabs__item .el-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .el-icon-close:hover{background-color:#c0c4cc;color:#fff}.el-tabs__item.is-active{color:#409eff}.el-tabs__item:hover{color:#409eff;cursor:pointer}.el-tabs__item.is-disabled{color:#c0c4cc;cursor:default}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid #e4e7ed}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid #e4e7ed;border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .el-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .el-icon-close,.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .el-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid #e4e7ed;transition:color .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#fff}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--border-card{background:#fff;border:1px solid #dcdfe6;box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:#f5f7fa;border-bottom:1px solid #e4e7ed;margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all .3s cubic-bezier(.645,.045,.355,1);border:1px solid transparent;margin-top:-1px;color:#909399}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:#409eff;background-color:#fff;border-right-color:#dcdfe6;border-left-color:#dcdfe6}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:#409eff}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:#c0c4cc}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid #dcdfe6}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{right:0;left:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{float:none}.el-tabs--left .el-tabs__item.is-left,.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-right{display:block}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left,.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid #e4e7ed;border-bottom:none;border-top:1px solid #e4e7ed;text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid #e4e7ed;border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid #e4e7ed;border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid #e4e7ed;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid #dfe4ed}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:#d1dbe5 transparent}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid #e4e7ed}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid #e4e7ed;border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid #e4e7ed;border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid #e4e7ed;border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid #dfe4ed}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:#d1dbe5 transparent}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{-webkit-animation:slideInRight-enter .3s;animation:slideInRight-enter .3s}.slideInRight-leave{position:absolute;left:0;right:0;-webkit-animation:slideInRight-leave .3s;animation:slideInRight-leave .3s}.slideInLeft-enter{-webkit-animation:slideInLeft-enter .3s;animation:slideInLeft-enter .3s}.slideInLeft-leave{position:absolute;left:0;right:0;-webkit-animation:slideInLeft-leave .3s;animation:slideInLeft-leave .3s}@-webkit-keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@-webkit-keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(100%);opacity:0}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(100%);opacity:0}}@-webkit-keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(-100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(-100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@-webkit-keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(-100%);opacity:0}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(-100%);opacity:0}}.el-tree{position:relative;cursor:default;background:#fff;color:#606266}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#909399;font-size:14px}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:#409eff}.el-tree-node{white-space:nowrap;outline:0}.el-tree-node:focus>.el-tree-node__content{background-color:#f5f7fa}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:#409eff;color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:#f5f7fa}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:#c0c4cc;font-size:12px;transform:rotate(0);transition:transform .3s ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__label{font-size:14px}.el-tree-node__loading-icon{margin-right:8px;font-size:14px;color:#c0c4cc}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#f0f7ff}.el-alert{width:100%;padding:8px 16px;margin:0;box-sizing:border-box;border-radius:4px;position:relative;background-color:#fff;overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity .2s}.el-alert.is-light .el-alert__closebtn{color:#c0c4cc}.el-alert.is-dark .el-alert__closebtn,.el-alert.is-dark .el-alert__description{color:#fff}.el-alert.is-center{justify-content:center}.el-alert--success.is-light{background-color:#f0f9eb;color:#67c23a}.el-alert--success.is-light .el-alert__description{color:#67c23a}.el-alert--success.is-dark{background-color:#67c23a;color:#fff}.el-alert--info.is-light{background-color:#f4f4f5;color:#909399}.el-alert--info.is-dark{background-color:#909399;color:#fff}.el-alert--info .el-alert__description{color:#909399}.el-alert--warning.is-light{background-color:#fdf6ec;color:#e6a23c}.el-alert--warning.is-light .el-alert__description{color:#e6a23c}.el-alert--warning.is-dark{background-color:#e6a23c;color:#fff}.el-alert--error.is-light{background-color:#fef0f0;color:#f56c6c}.el-alert--error.is-light .el-alert__description{color:#f56c6c}.el-alert--error.is-dark{background-color:#f56c6c;color:#fff}.el-alert__content{display:table-cell;padding:0 8px}.el-alert__icon{font-size:16px;width:16px}.el-alert__icon.is-big{font-size:28px;width:28px}.el-alert__title{font-size:13px;line-height:18px}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:12px;margin:5px 0 0}.el-alert__closebtn{font-size:12px;opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert-fade-enter,.el-alert-fade-leave-active,.el-loading-fade-enter,.el-loading-fade-leave-active,.el-notification-fade-leave-active{opacity:0}.el-alert__closebtn.is-customed{font-style:normal;font-size:13px;top:9px}.el-notification{display:flex;width:330px;padding:14px 26px 14px 13px;border-radius:8px;box-sizing:border-box;border:1px solid #ebeef5;position:fixed;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow:hidden}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:13px;margin-right:8px}.el-notification__title{font-weight:700;font-size:16px;color:#303133;margin:0}.el-notification__content{font-size:14px;line-height:21px;margin:6px 0 0;color:#606266;text-align:justify}.el-notification__content p{margin:0}.el-notification__icon{height:24px;width:24px;font-size:24px}.el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:#909399;font-size:16px}.el-notification__closeBtn:hover{color:#606266}.el-notification .el-icon-success{color:#67c23a}.el-notification .el-icon-error{color:#f56c6c}.el-notification .el-icon-info{color:#909399}.el-notification .el-icon-warning{color:#e6a23c}.el-notification-fade-enter.right{right:0;transform:translateX(100%)}.el-notification-fade-enter.left{left:0;transform:translateX(-100%)}.el-input-number{position:relative;display:inline-block;width:180px;line-height:38px}.el-input-number .el-input{display:block}.el-input-number .el-input__inner{-webkit-appearance:none;padding-left:50px;padding-right:50px;text-align:center}.el-input-number__decrease,.el-input-number__increase{position:absolute;z-index:1;top:1px;width:40px;height:auto;text-align:center;background:#f5f7fa;color:#606266;cursor:pointer;font-size:13px}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:#409eff}.el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled),.el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled){border-color:#409eff}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 4px 4px 0;border-left:1px solid #dcdfe6}.el-input-number__decrease{left:1px;border-radius:4px 0 0 4px;border-right:1px solid #dcdfe6}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:#e4e7ed;color:#e4e7ed}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:#e4e7ed;cursor:not-allowed}.el-input-number--medium{width:200px;line-height:34px}.el-input-number--medium .el-input-number__decrease,.el-input-number--medium .el-input-number__increase{width:36px;font-size:14px}.el-input-number--medium .el-input__inner{padding-left:43px;padding-right:43px}.el-input-number--small{width:130px;line-height:30px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:32px;font-size:13px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number--small .el-input__inner{padding-left:39px;padding-right:39px}.el-input-number--mini{width:130px;line-height:26px}.el-input-number--mini .el-input-number__decrease,.el-input-number--mini .el-input-number__increase{width:28px;font-size:12px}.el-input-number--mini .el-input-number__decrease [class*=el-icon],.el-input-number--mini .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number--mini .el-input__inner{padding-left:35px;padding-right:35px}.el-input-number.is-without-controls .el-input__inner{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__inner{padding-left:15px;padding-right:50px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{height:auto;line-height:19px}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-radius:0 4px 0 0;border-bottom:1px solid #dcdfe6}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;bottom:1px;top:auto;left:auto;border-right:none;border-left:1px solid #dcdfe6;border-radius:0 0 4px}.el-input-number.is-controls-right[class*=medium] [class*=decrease],.el-input-number.is-controls-right[class*=medium] [class*=increase]{line-height:17px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{line-height:15px}.el-input-number.is-controls-right[class*=mini] [class*=decrease],.el-input-number.is-controls-right[class*=mini] [class*=increase]{line-height:13px}.el-tooltip__popper{position:absolute;border-radius:4px;padding:10px;z-index:2000;font-size:12px;line-height:1.2;min-width:10px;word-wrap:break-word}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{content:" ";border-width:5px}.el-progress-bar__inner:after,.el-row:after,.el-row:before,.el-slider:after,.el-slider:before,.el-slider__button-wrapper:after,.el-upload-cover:after{content:""}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{bottom:-6px;border-top-color:#303133;border-bottom-width:0}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-5px;border-top-color:#303133;border-bottom-width:0}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{top:-6px;border-top-width:0;border-bottom-color:#303133}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-5px;border-top-width:0;border-bottom-color:#303133}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{left:-6px;border-right-color:#303133;border-left-width:0}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{bottom:-5px;left:1px;border-right-color:#303133;border-left-width:0}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{right:-6px;border-right-width:0;border-left-color:#303133}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-5px;margin-left:-5px;border-right-width:0;border-left-color:#303133}.el-tooltip__popper.is-dark{background:#303133;color:#fff}.el-tooltip__popper.is-light{background:#fff;border:1px solid #303133}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:#303133}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow:after{border-top-color:#fff}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:#303133}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:#303133}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow:after{border-left-color:#fff}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:#303133}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow:after{border-right-color:#fff}.el-slider:after,.el-slider:before{display:table}.el-slider__button-wrapper .el-tooltip,.el-slider__button-wrapper:after{vertical-align:middle;display:inline-block}.el-slider:after{clear:both}.el-slider__runway{width:100%;height:6px;margin:16px 0;background-color:#e4e7ed;border-radius:3px;position:relative;cursor:pointer;vertical-align:middle}.el-slider__runway.show-input{margin-right:160px;width:auto}.el-slider__runway.disabled{cursor:default}.el-slider__runway.disabled .el-slider__bar{background-color:#c0c4cc}.el-slider__runway.disabled .el-slider__button{border-color:#c0c4cc}.el-slider__runway.disabled .el-slider__button-wrapper.dragging,.el-slider__runway.disabled .el-slider__button-wrapper.hover,.el-slider__runway.disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.disabled .el-slider__button.dragging,.el-slider__runway.disabled .el-slider__button.hover,.el-slider__runway.disabled .el-slider__button:hover{transform:scale(1);cursor:not-allowed}.el-slider__button-wrapper,.el-slider__stop{-webkit-transform:translateX(-50%);position:absolute}.el-slider__input{float:right;margin-top:3px;width:130px}.el-slider__input.el-input-number--mini{margin-top:5px}.el-slider__input.el-input-number--medium{margin-top:0}.el-slider__input.el-input-number--large{margin-top:-2px}.el-slider__bar{height:6px;background-color:#409eff;border-top-left-radius:3px;border-bottom-left-radius:3px;position:absolute}.el-slider__button-wrapper{height:36px;width:36px;z-index:1001;top:-15px;transform:translateX(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:normal}.el-slider__button-wrapper:after{height:100%}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button-wrapper.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__button{width:16px;height:16px;border:2px solid #409eff;background-color:#fff;border-radius:50%;transition:.2s;user-select:none}.el-image-viewer__btn,.el-slider__button,.el-step__icon-inner{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__stop{height:6px;width:6px;border-radius:100%;background-color:#fff;transform:translateX(-50%)}.el-slider__marks{top:0;left:12px;width:18px;height:100%}.el-slider__marks-text{position:absolute;transform:translateX(-50%);font-size:14px;color:#909399;margin-top:15px}.el-slider.is-vertical{position:relative}.el-slider.is-vertical .el-slider__runway{width:6px;height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:6px;height:auto;border-radius:0 0 3px 3px}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:-15px;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical.el-slider--with-input{padding-bottom:58px}.el-slider.is-vertical.el-slider--with-input .el-slider__input{overflow:visible;float:none;position:absolute;bottom:22px;width:36px;margin-top:15px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input__inner{text-align:center;padding-left:5px;padding-right:5px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase{top:32px;margin-top:-1px;border:1px solid #dcdfe6;line-height:20px;box-sizing:border-box;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__decrease{width:18px;right:18px;border-bottom-left-radius:4px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase{width:19px;border-bottom-right-radius:4px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase~.el-input .el-input__inner{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-slider.is-vertical.el-slider--with-input .el-slider__input:hover .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input:hover .el-input-number__increase{border-color:#c0c4cc}.el-slider.is-vertical.el-slider--with-input .el-slider__input:active .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input:active .el-input-number__increase{border-color:#409eff}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:hsla(0,0%,100%,.9);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:50px;width:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-col-pull-0,.el-col-pull-1,.el-col-pull-2,.el-col-pull-3,.el-col-pull-4,.el-col-pull-5,.el-col-pull-6,.el-col-pull-7,.el-col-pull-8,.el-col-pull-9,.el-col-pull-10,.el-col-pull-11,.el-col-pull-13,.el-col-pull-14,.el-col-pull-15,.el-col-pull-16,.el-col-pull-17,.el-col-pull-18,.el-col-pull-19,.el-col-pull-20,.el-col-pull-21,.el-col-pull-22,.el-col-pull-23,.el-col-pull-24,.el-col-push-0,.el-col-push-1,.el-col-push-2,.el-col-push-3,.el-col-push-4,.el-col-push-5,.el-col-push-6,.el-col-push-7,.el-col-push-8,.el-col-push-9,.el-col-push-10,.el-col-push-11,.el-col-push-12,.el-col-push-13,.el-col-push-14,.el-col-push-15,.el-col-push-16,.el-col-push-17,.el-col-push-18,.el-col-push-19,.el-col-push-20,.el-col-push-21,.el-col-push-22,.el-col-push-23,.el-col-push-24,.el-row{position:relative}.el-loading-spinner .el-loading-text{color:#409eff;margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:42px;width:42px;-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#409eff;stroke-linecap:round}.el-loading-spinner i{color:#409eff}@-webkit-keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-row{box-sizing:border-box}.el-row:after,.el-row:before{display:table}.el-row:after{clear:both}.el-row--flex{display:flex}.el-col-0,.el-row--flex:after,.el-row--flex:before{display:none}.el-row--flex.is-justify-center{justify-content:center}.el-row--flex.is-justify-end{justify-content:flex-end}.el-row--flex.is-justify-space-between{justify-content:space-between}.el-row--flex.is-justify-space-around{justify-content:space-around}.el-row--flex.is-align-top{align-items:flex-start}.el-row--flex.is-align-middle{align-items:center}.el-row--flex.is-align-bottom{align-items:flex-end}[class*=el-col-]{float:left;box-sizing:border-box}.el-upload--picture-card,.el-upload-dragger{-webkit-box-sizing:border-box;cursor:pointer}.el-col-0{width:0}.el-col-offset-0{margin-left:0}.el-col-pull-0{right:0}.el-col-push-0{left:0}.el-col-1{width:4.16667%}.el-col-offset-1{margin-left:4.16667%}.el-col-pull-1{right:4.16667%}.el-col-push-1{left:4.16667%}.el-col-2{width:8.33333%}.el-col-offset-2{margin-left:8.33333%}.el-col-pull-2{right:8.33333%}.el-col-push-2{left:8.33333%}.el-col-3{width:12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{right:12.5%}.el-col-push-3{left:12.5%}.el-col-4{width:16.66667%}.el-col-offset-4{margin-left:16.66667%}.el-col-pull-4{right:16.66667%}.el-col-push-4{left:16.66667%}.el-col-5{width:20.83333%}.el-col-offset-5{margin-left:20.83333%}.el-col-pull-5{right:20.83333%}.el-col-push-5{left:20.83333%}.el-col-6{width:25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{right:25%}.el-col-push-6{left:25%}.el-col-7{width:29.16667%}.el-col-offset-7{margin-left:29.16667%}.el-col-pull-7{right:29.16667%}.el-col-push-7{left:29.16667%}.el-col-8{width:33.33333%}.el-col-offset-8{margin-left:33.33333%}.el-col-pull-8{right:33.33333%}.el-col-push-8{left:33.33333%}.el-col-9{width:37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{right:37.5%}.el-col-push-9{left:37.5%}.el-col-10{width:41.66667%}.el-col-offset-10{margin-left:41.66667%}.el-col-pull-10{right:41.66667%}.el-col-push-10{left:41.66667%}.el-col-11{width:45.83333%}.el-col-offset-11{margin-left:45.83333%}.el-col-pull-11{right:45.83333%}.el-col-push-11{left:45.83333%}.el-col-12{width:50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%}.el-col-13{width:54.16667%}.el-col-offset-13{margin-left:54.16667%}.el-col-pull-13{right:54.16667%}.el-col-push-13{left:54.16667%}.el-col-14{width:58.33333%}.el-col-offset-14{margin-left:58.33333%}.el-col-pull-14{right:58.33333%}.el-col-push-14{left:58.33333%}.el-col-15{width:62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{right:62.5%}.el-col-push-15{left:62.5%}.el-col-16{width:66.66667%}.el-col-offset-16{margin-left:66.66667%}.el-col-pull-16{right:66.66667%}.el-col-push-16{left:66.66667%}.el-col-17{width:70.83333%}.el-col-offset-17{margin-left:70.83333%}.el-col-pull-17{right:70.83333%}.el-col-push-17{left:70.83333%}.el-col-18{width:75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{right:75%}.el-col-push-18{left:75%}.el-col-19{width:79.16667%}.el-col-offset-19{margin-left:79.16667%}.el-col-pull-19{right:79.16667%}.el-col-push-19{left:79.16667%}.el-col-20{width:83.33333%}.el-col-offset-20{margin-left:83.33333%}.el-col-pull-20{right:83.33333%}.el-col-push-20{left:83.33333%}.el-col-21{width:87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{right:87.5%}.el-col-push-21{left:87.5%}.el-col-22{width:91.66667%}.el-col-offset-22{margin-left:91.66667%}.el-col-pull-22{right:91.66667%}.el-col-push-22{left:91.66667%}.el-col-23{width:95.83333%}.el-col-offset-23{margin-left:95.83333%}.el-col-pull-23{right:95.83333%}.el-col-push-23{left:95.83333%}.el-col-24{width:100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{right:100%}.el-col-push-24{left:100%}@media only screen and (max-width:767px){.el-col-xs-0{display:none;width:0}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{position:relative;left:0}.el-col-xs-1{width:4.16667%}.el-col-xs-offset-1{margin-left:4.16667%}.el-col-xs-pull-1{position:relative;right:4.16667%}.el-col-xs-push-1{position:relative;left:4.16667%}.el-col-xs-2{width:8.33333%}.el-col-xs-offset-2{margin-left:8.33333%}.el-col-xs-pull-2{position:relative;right:8.33333%}.el-col-xs-push-2{position:relative;left:8.33333%}.el-col-xs-3{width:12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{width:16.66667%}.el-col-xs-offset-4{margin-left:16.66667%}.el-col-xs-pull-4{position:relative;right:16.66667%}.el-col-xs-push-4{position:relative;left:16.66667%}.el-col-xs-5{width:20.83333%}.el-col-xs-offset-5{margin-left:20.83333%}.el-col-xs-pull-5{position:relative;right:20.83333%}.el-col-xs-push-5{position:relative;left:20.83333%}.el-col-xs-6{width:25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{width:29.16667%}.el-col-xs-offset-7{margin-left:29.16667%}.el-col-xs-pull-7{position:relative;right:29.16667%}.el-col-xs-push-7{position:relative;left:29.16667%}.el-col-xs-8{width:33.33333%}.el-col-xs-offset-8{margin-left:33.33333%}.el-col-xs-pull-8{position:relative;right:33.33333%}.el-col-xs-push-8{position:relative;left:33.33333%}.el-col-xs-9{width:37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{width:41.66667%}.el-col-xs-offset-10{margin-left:41.66667%}.el-col-xs-pull-10{position:relative;right:41.66667%}.el-col-xs-push-10{position:relative;left:41.66667%}.el-col-xs-11{width:45.83333%}.el-col-xs-offset-11{margin-left:45.83333%}.el-col-xs-pull-11{position:relative;right:45.83333%}.el-col-xs-push-11{position:relative;left:45.83333%}.el-col-xs-12{width:50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{width:54.16667%}.el-col-xs-offset-13{margin-left:54.16667%}.el-col-xs-pull-13{position:relative;right:54.16667%}.el-col-xs-push-13{position:relative;left:54.16667%}.el-col-xs-14{width:58.33333%}.el-col-xs-offset-14{margin-left:58.33333%}.el-col-xs-pull-14{position:relative;right:58.33333%}.el-col-xs-push-14{position:relative;left:58.33333%}.el-col-xs-15{width:62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{width:66.66667%}.el-col-xs-offset-16{margin-left:66.66667%}.el-col-xs-pull-16{position:relative;right:66.66667%}.el-col-xs-push-16{position:relative;left:66.66667%}.el-col-xs-17{width:70.83333%}.el-col-xs-offset-17{margin-left:70.83333%}.el-col-xs-pull-17{position:relative;right:70.83333%}.el-col-xs-push-17{position:relative;left:70.83333%}.el-col-xs-18{width:75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{width:79.16667%}.el-col-xs-offset-19{margin-left:79.16667%}.el-col-xs-pull-19{position:relative;right:79.16667%}.el-col-xs-push-19{position:relative;left:79.16667%}.el-col-xs-20{width:83.33333%}.el-col-xs-offset-20{margin-left:83.33333%}.el-col-xs-pull-20{position:relative;right:83.33333%}.el-col-xs-push-20{position:relative;left:83.33333%}.el-col-xs-21{width:87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{width:91.66667%}.el-col-xs-offset-22{margin-left:91.66667%}.el-col-xs-pull-22{position:relative;right:91.66667%}.el-col-xs-push-22{position:relative;left:91.66667%}.el-col-xs-23{width:95.83333%}.el-col-xs-offset-23{margin-left:95.83333%}.el-col-xs-pull-23{position:relative;right:95.83333%}.el-col-xs-push-23{position:relative;left:95.83333%}.el-col-xs-24{width:100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;width:0}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{position:relative;left:0}.el-col-sm-1{width:4.16667%}.el-col-sm-offset-1{margin-left:4.16667%}.el-col-sm-pull-1{position:relative;right:4.16667%}.el-col-sm-push-1{position:relative;left:4.16667%}.el-col-sm-2{width:8.33333%}.el-col-sm-offset-2{margin-left:8.33333%}.el-col-sm-pull-2{position:relative;right:8.33333%}.el-col-sm-push-2{position:relative;left:8.33333%}.el-col-sm-3{width:12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{width:16.66667%}.el-col-sm-offset-4{margin-left:16.66667%}.el-col-sm-pull-4{position:relative;right:16.66667%}.el-col-sm-push-4{position:relative;left:16.66667%}.el-col-sm-5{width:20.83333%}.el-col-sm-offset-5{margin-left:20.83333%}.el-col-sm-pull-5{position:relative;right:20.83333%}.el-col-sm-push-5{position:relative;left:20.83333%}.el-col-sm-6{width:25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{width:29.16667%}.el-col-sm-offset-7{margin-left:29.16667%}.el-col-sm-pull-7{position:relative;right:29.16667%}.el-col-sm-push-7{position:relative;left:29.16667%}.el-col-sm-8{width:33.33333%}.el-col-sm-offset-8{margin-left:33.33333%}.el-col-sm-pull-8{position:relative;right:33.33333%}.el-col-sm-push-8{position:relative;left:33.33333%}.el-col-sm-9{width:37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{width:41.66667%}.el-col-sm-offset-10{margin-left:41.66667%}.el-col-sm-pull-10{position:relative;right:41.66667%}.el-col-sm-push-10{position:relative;left:41.66667%}.el-col-sm-11{width:45.83333%}.el-col-sm-offset-11{margin-left:45.83333%}.el-col-sm-pull-11{position:relative;right:45.83333%}.el-col-sm-push-11{position:relative;left:45.83333%}.el-col-sm-12{width:50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{width:54.16667%}.el-col-sm-offset-13{margin-left:54.16667%}.el-col-sm-pull-13{position:relative;right:54.16667%}.el-col-sm-push-13{position:relative;left:54.16667%}.el-col-sm-14{width:58.33333%}.el-col-sm-offset-14{margin-left:58.33333%}.el-col-sm-pull-14{position:relative;right:58.33333%}.el-col-sm-push-14{position:relative;left:58.33333%}.el-col-sm-15{width:62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{width:66.66667%}.el-col-sm-offset-16{margin-left:66.66667%}.el-col-sm-pull-16{position:relative;right:66.66667%}.el-col-sm-push-16{position:relative;left:66.66667%}.el-col-sm-17{width:70.83333%}.el-col-sm-offset-17{margin-left:70.83333%}.el-col-sm-pull-17{position:relative;right:70.83333%}.el-col-sm-push-17{position:relative;left:70.83333%}.el-col-sm-18{width:75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{width:79.16667%}.el-col-sm-offset-19{margin-left:79.16667%}.el-col-sm-pull-19{position:relative;right:79.16667%}.el-col-sm-push-19{position:relative;left:79.16667%}.el-col-sm-20{width:83.33333%}.el-col-sm-offset-20{margin-left:83.33333%}.el-col-sm-pull-20{position:relative;right:83.33333%}.el-col-sm-push-20{position:relative;left:83.33333%}.el-col-sm-21{width:87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{width:91.66667%}.el-col-sm-offset-22{margin-left:91.66667%}.el-col-sm-pull-22{position:relative;right:91.66667%}.el-col-sm-push-22{position:relative;left:91.66667%}.el-col-sm-23{width:95.83333%}.el-col-sm-offset-23{margin-left:95.83333%}.el-col-sm-pull-23{position:relative;right:95.83333%}.el-col-sm-push-23{position:relative;left:95.83333%}.el-col-sm-24{width:100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0{display:none;width:0}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{position:relative;left:0}.el-col-md-1{width:4.16667%}.el-col-md-offset-1{margin-left:4.16667%}.el-col-md-pull-1{position:relative;right:4.16667%}.el-col-md-push-1{position:relative;left:4.16667%}.el-col-md-2{width:8.33333%}.el-col-md-offset-2{margin-left:8.33333%}.el-col-md-pull-2{position:relative;right:8.33333%}.el-col-md-push-2{position:relative;left:8.33333%}.el-col-md-3{width:12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{width:16.66667%}.el-col-md-offset-4{margin-left:16.66667%}.el-col-md-pull-4{position:relative;right:16.66667%}.el-col-md-push-4{position:relative;left:16.66667%}.el-col-md-5{width:20.83333%}.el-col-md-offset-5{margin-left:20.83333%}.el-col-md-pull-5{position:relative;right:20.83333%}.el-col-md-push-5{position:relative;left:20.83333%}.el-col-md-6{width:25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{width:29.16667%}.el-col-md-offset-7{margin-left:29.16667%}.el-col-md-pull-7{position:relative;right:29.16667%}.el-col-md-push-7{position:relative;left:29.16667%}.el-col-md-8{width:33.33333%}.el-col-md-offset-8{margin-left:33.33333%}.el-col-md-pull-8{position:relative;right:33.33333%}.el-col-md-push-8{position:relative;left:33.33333%}.el-col-md-9{width:37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{width:41.66667%}.el-col-md-offset-10{margin-left:41.66667%}.el-col-md-pull-10{position:relative;right:41.66667%}.el-col-md-push-10{position:relative;left:41.66667%}.el-col-md-11{width:45.83333%}.el-col-md-offset-11{margin-left:45.83333%}.el-col-md-pull-11{position:relative;right:45.83333%}.el-col-md-push-11{position:relative;left:45.83333%}.el-col-md-12{width:50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{width:54.16667%}.el-col-md-offset-13{margin-left:54.16667%}.el-col-md-pull-13{position:relative;right:54.16667%}.el-col-md-push-13{position:relative;left:54.16667%}.el-col-md-14{width:58.33333%}.el-col-md-offset-14{margin-left:58.33333%}.el-col-md-pull-14{position:relative;right:58.33333%}.el-col-md-push-14{position:relative;left:58.33333%}.el-col-md-15{width:62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{width:66.66667%}.el-col-md-offset-16{margin-left:66.66667%}.el-col-md-pull-16{position:relative;right:66.66667%}.el-col-md-push-16{position:relative;left:66.66667%}.el-col-md-17{width:70.83333%}.el-col-md-offset-17{margin-left:70.83333%}.el-col-md-pull-17{position:relative;right:70.83333%}.el-col-md-push-17{position:relative;left:70.83333%}.el-col-md-18{width:75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{width:79.16667%}.el-col-md-offset-19{margin-left:79.16667%}.el-col-md-pull-19{position:relative;right:79.16667%}.el-col-md-push-19{position:relative;left:79.16667%}.el-col-md-20{width:83.33333%}.el-col-md-offset-20{margin-left:83.33333%}.el-col-md-pull-20{position:relative;right:83.33333%}.el-col-md-push-20{position:relative;left:83.33333%}.el-col-md-21{width:87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{width:91.66667%}.el-col-md-offset-22{margin-left:91.66667%}.el-col-md-pull-22{position:relative;right:91.66667%}.el-col-md-push-22{position:relative;left:91.66667%}.el-col-md-23{width:95.83333%}.el-col-md-offset-23{margin-left:95.83333%}.el-col-md-pull-23{position:relative;right:95.83333%}.el-col-md-push-23{position:relative;left:95.83333%}.el-col-md-24{width:100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;width:0}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{position:relative;left:0}.el-col-lg-1{width:4.16667%}.el-col-lg-offset-1{margin-left:4.16667%}.el-col-lg-pull-1{position:relative;right:4.16667%}.el-col-lg-push-1{position:relative;left:4.16667%}.el-col-lg-2{width:8.33333%}.el-col-lg-offset-2{margin-left:8.33333%}.el-col-lg-pull-2{position:relative;right:8.33333%}.el-col-lg-push-2{position:relative;left:8.33333%}.el-col-lg-3{width:12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{width:16.66667%}.el-col-lg-offset-4{margin-left:16.66667%}.el-col-lg-pull-4{position:relative;right:16.66667%}.el-col-lg-push-4{position:relative;left:16.66667%}.el-col-lg-5{width:20.83333%}.el-col-lg-offset-5{margin-left:20.83333%}.el-col-lg-pull-5{position:relative;right:20.83333%}.el-col-lg-push-5{position:relative;left:20.83333%}.el-col-lg-6{width:25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{width:29.16667%}.el-col-lg-offset-7{margin-left:29.16667%}.el-col-lg-pull-7{position:relative;right:29.16667%}.el-col-lg-push-7{position:relative;left:29.16667%}.el-col-lg-8{width:33.33333%}.el-col-lg-offset-8{margin-left:33.33333%}.el-col-lg-pull-8{position:relative;right:33.33333%}.el-col-lg-push-8{position:relative;left:33.33333%}.el-col-lg-9{width:37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{width:41.66667%}.el-col-lg-offset-10{margin-left:41.66667%}.el-col-lg-pull-10{position:relative;right:41.66667%}.el-col-lg-push-10{position:relative;left:41.66667%}.el-col-lg-11{width:45.83333%}.el-col-lg-offset-11{margin-left:45.83333%}.el-col-lg-pull-11{position:relative;right:45.83333%}.el-col-lg-push-11{position:relative;left:45.83333%}.el-col-lg-12{width:50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{width:54.16667%}.el-col-lg-offset-13{margin-left:54.16667%}.el-col-lg-pull-13{position:relative;right:54.16667%}.el-col-lg-push-13{position:relative;left:54.16667%}.el-col-lg-14{width:58.33333%}.el-col-lg-offset-14{margin-left:58.33333%}.el-col-lg-pull-14{position:relative;right:58.33333%}.el-col-lg-push-14{position:relative;left:58.33333%}.el-col-lg-15{width:62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{width:66.66667%}.el-col-lg-offset-16{margin-left:66.66667%}.el-col-lg-pull-16{position:relative;right:66.66667%}.el-col-lg-push-16{position:relative;left:66.66667%}.el-col-lg-17{width:70.83333%}.el-col-lg-offset-17{margin-left:70.83333%}.el-col-lg-pull-17{position:relative;right:70.83333%}.el-col-lg-push-17{position:relative;left:70.83333%}.el-col-lg-18{width:75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{width:79.16667%}.el-col-lg-offset-19{margin-left:79.16667%}.el-col-lg-pull-19{position:relative;right:79.16667%}.el-col-lg-push-19{position:relative;left:79.16667%}.el-col-lg-20{width:83.33333%}.el-col-lg-offset-20{margin-left:83.33333%}.el-col-lg-pull-20{position:relative;right:83.33333%}.el-col-lg-push-20{position:relative;left:83.33333%}.el-col-lg-21{width:87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{width:91.66667%}.el-col-lg-offset-22{margin-left:91.66667%}.el-col-lg-pull-22{position:relative;right:91.66667%}.el-col-lg-push-22{position:relative;left:91.66667%}.el-col-lg-23{width:95.83333%}.el-col-lg-offset-23{margin-left:95.83333%}.el-col-lg-pull-23{position:relative;right:95.83333%}.el-col-lg-push-23{position:relative;left:95.83333%}.el-col-lg-24{width:100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;width:0}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{position:relative;left:0}.el-col-xl-1{width:4.16667%}.el-col-xl-offset-1{margin-left:4.16667%}.el-col-xl-pull-1{position:relative;right:4.16667%}.el-col-xl-push-1{position:relative;left:4.16667%}.el-col-xl-2{width:8.33333%}.el-col-xl-offset-2{margin-left:8.33333%}.el-col-xl-pull-2{position:relative;right:8.33333%}.el-col-xl-push-2{position:relative;left:8.33333%}.el-col-xl-3{width:12.5%}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{width:16.66667%}.el-col-xl-offset-4{margin-left:16.66667%}.el-col-xl-pull-4{position:relative;right:16.66667%}.el-col-xl-push-4{position:relative;left:16.66667%}.el-col-xl-5{width:20.83333%}.el-col-xl-offset-5{margin-left:20.83333%}.el-col-xl-pull-5{position:relative;right:20.83333%}.el-col-xl-push-5{position:relative;left:20.83333%}.el-col-xl-6{width:25%}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{width:29.16667%}.el-col-xl-offset-7{margin-left:29.16667%}.el-col-xl-pull-7{position:relative;right:29.16667%}.el-col-xl-push-7{position:relative;left:29.16667%}.el-col-xl-8{width:33.33333%}.el-col-xl-offset-8{margin-left:33.33333%}.el-col-xl-pull-8{position:relative;right:33.33333%}.el-col-xl-push-8{position:relative;left:33.33333%}.el-col-xl-9{width:37.5%}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{width:41.66667%}.el-col-xl-offset-10{margin-left:41.66667%}.el-col-xl-pull-10{position:relative;right:41.66667%}.el-col-xl-push-10{position:relative;left:41.66667%}.el-col-xl-11{width:45.83333%}.el-col-xl-offset-11{margin-left:45.83333%}.el-col-xl-pull-11{position:relative;right:45.83333%}.el-col-xl-push-11{position:relative;left:45.83333%}.el-col-xl-12{width:50%}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{width:54.16667%}.el-col-xl-offset-13{margin-left:54.16667%}.el-col-xl-pull-13{position:relative;right:54.16667%}.el-col-xl-push-13{position:relative;left:54.16667%}.el-col-xl-14{width:58.33333%}.el-col-xl-offset-14{margin-left:58.33333%}.el-col-xl-pull-14{position:relative;right:58.33333%}.el-col-xl-push-14{position:relative;left:58.33333%}.el-col-xl-15{width:62.5%}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{width:66.66667%}.el-col-xl-offset-16{margin-left:66.66667%}.el-col-xl-pull-16{position:relative;right:66.66667%}.el-col-xl-push-16{position:relative;left:66.66667%}.el-col-xl-17{width:70.83333%}.el-col-xl-offset-17{margin-left:70.83333%}.el-col-xl-pull-17{position:relative;right:70.83333%}.el-col-xl-push-17{position:relative;left:70.83333%}.el-col-xl-18{width:75%}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{width:79.16667%}.el-col-xl-offset-19{margin-left:79.16667%}.el-col-xl-pull-19{position:relative;right:79.16667%}.el-col-xl-push-19{position:relative;left:79.16667%}.el-col-xl-20{width:83.33333%}.el-col-xl-offset-20{margin-left:83.33333%}.el-col-xl-pull-20{position:relative;right:83.33333%}.el-col-xl-push-20{position:relative;left:83.33333%}.el-col-xl-21{width:87.5%}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{width:91.66667%}.el-col-xl-offset-22{margin-left:91.66667%}.el-col-xl-pull-22{position:relative;right:91.66667%}.el-col-xl-push-22{position:relative;left:91.66667%}.el-col-xl-23{width:95.83333%}.el-col-xl-offset-23{margin-left:95.83333%}.el-col-xl-pull-23{position:relative;right:95.83333%}.el-col-xl-push-23{position:relative;left:95.83333%}.el-col-xl-24{width:100%}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-upload{display:inline-block;text-align:center;cursor:pointer;outline:0}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:#606266;margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.el-upload--picture-card{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;line-height:146px;vertical-align:top}.el-upload--picture-card i{font-size:28px;color:#8c939d}.el-upload--picture-card:hover,.el-upload:focus{border-color:#409eff;color:#409eff}.el-upload:focus .el-upload-dragger{border-color:#409eff}.el-upload-dragger{background-color:#fff;border:1px dashed #d9d9d9;border-radius:6px;box-sizing:border-box;width:360px;height:180px;text-align:center;position:relative;overflow:hidden}.el-upload-dragger .el-icon-upload{font-size:67px;color:#c0c4cc;margin:40px 0 16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:1px solid #dcdfe6;margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:#606266;font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:#409eff;font-style:normal}.el-upload-dragger:hover{border-color:#409eff}.el-upload-dragger.is-dragover{background-color:rgba(32,159,255,.06);border:2px dashed #409eff}.el-upload-list{margin:0;padding:0;list-style:none}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#606266;line-height:1.8;margin-top:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item:first-child{margin-top:10px}.el-upload-list__item .el-icon-upload-success{color:#67c23a}.el-upload-list__item .el-icon-close{display:none;position:absolute;top:5px;right:5px;cursor:pointer;opacity:.75;color:#606266}.el-upload-list__item .el-icon-close:hover{opacity:1}.el-upload-list__item .el-icon-close-tip{display:none;position:absolute;top:5px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:#409eff}.el-upload-list__item:hover{background-color:#f5f7fa}.el-upload-list__item:hover .el-icon-close{display:inline-block}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:block}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:#409eff;cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon-close-tip{display:inline-block}.el-upload-list__item.is-success:active .el-icon-close-tip,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:not(.focusing):focus .el-icon-close-tip{display:none}.el-upload-list.is-disabled .el-upload-list__item:hover .el-upload-list__item-status-label{display:block}.el-upload-list__item-name{color:#606266;display:block;margin-right:40px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;transition:color .3s;white-space:nowrap}.el-upload-list__item-name [class^=el-icon]{height:100%;margin-right:7px;color:#909399;line-height:inherit}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:#606266;display:none}.el-upload-list__item-delete:hover{color:#409eff}.el-upload-list--picture-card{margin:0;display:inline;vertical-align:top}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;margin:0 8px 8px 0;display:inline-block}.el-upload-list--picture-card .el-upload-list__item .el-icon-check,.el-upload-list--picture-card .el-upload-list__item .el-icon-circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon-close,.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:20px;background-color:rgba(0,0,0,.5);transition:opacity .3s}.el-upload-list--picture-card .el-upload-list__item-actions:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:15px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-block}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px 10px 10px 90px;height:92px}.el-upload-list--picture .el-upload-list__item .el-icon-check,.el-upload-list--picture .el-upload-list__item .el-icon-circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{background:0 0;box-shadow:none;top:-2px;right:-12px}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{line-height:70px;margin-top:0}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item-thumbnail{vertical-align:middle;display:inline-block;width:70px;height:70px;float:left;position:relative;z-index:1;margin-left:-80px;background-color:#fff}.el-upload-list--picture .el-upload-list__item-name{display:block;margin-top:20px}.el-upload-list--picture .el-upload-list__item-name i{font-size:70px;line-height:1;position:absolute;left:9px;top:10px}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 1px 1px #ccc}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.72);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);margin-top:60px}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:#303133}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-progress{position:relative;line-height:1}.el-progress__text{font-size:14px;color:#606266;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress-bar,.el-progress-bar__inner:after,.el-progress-bar__innerText,.el-spinner{display:inline-block;vertical-align:middle}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:#67c23a}.el-progress.is-success .el-progress__text{color:#67c23a}.el-progress.is-warning .el-progress-bar__inner{background-color:#e6a23c}.el-progress.is-warning .el-progress__text{color:#e6a23c}.el-progress.is-exception .el-progress-bar__inner{background-color:#f56c6c}.el-progress.is-exception .el-progress__text{color:#f56c6c}.el-progress-bar{padding-right:50px;width:100%;margin-right:-55px;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:#ebeef5;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#409eff;text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-card,.el-message{border-radius:4px;overflow:hidden}.el-progress-bar__inner:after{height:100%}.el-progress-bar__innerText{color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner-inner{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:#ececec;stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}@-webkit-keyframes rotate{to{transform:rotate(1turn)}}@keyframes rotate{to{transform:rotate(1turn)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-message{min-width:380px;box-sizing:border-box;border-width:1px;border-style:solid;border-color:#ebeef5;position:fixed;left:50%;top:20px;transform:translateX(-50%);background-color:#edf2fc;transition:opacity .3s,transform .4s,top .4s;padding:15px 15px 15px 20px;display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:16px}.el-message p{margin:0}.el-message--info .el-message__content{color:#909399}.el-message--success{background-color:#f0f9eb;border-color:#e1f3d8}.el-message--success .el-message__content{color:#67c23a}.el-message--warning{background-color:#fdf6ec;border-color:#faecd8}.el-message--warning .el-message__content{color:#e6a23c}.el-message--error{background-color:#fef0f0;border-color:#fde2e2}.el-message--error .el-message__content{color:#f56c6c}.el-message__icon{margin-right:10px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__closeBtn{position:absolute;top:50%;right:15px;transform:translateY(-50%);cursor:pointer;color:#c0c4cc;font-size:16px}.el-message__closeBtn:hover{color:#909399}.el-message .el-icon-success{color:#67c23a}.el-message .el-icon-error{color:#f56c6c}.el-message .el-icon-info{color:#909399}.el-message .el-icon-warning{color:#e6a23c}.el-message-fade-enter,.el-message-fade-leave-active{opacity:0;transform:translate(-50%,-100%)}.el-badge{position:relative;vertical-align:middle;display:inline-block}.el-badge__content{background-color:#f56c6c;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff}.el-badge__content.is-fixed{position:absolute;top:0;right:10px;transform:translateY(-50%) translateX(100%)}.el-rate__icon,.el-rate__item{position:relative;display:inline-block}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:#409eff}.el-badge__content--success{background-color:#67c23a}.el-badge__content--warning{background-color:#e6a23c}.el-badge__content--info{background-color:#909399}.el-badge__content--danger{background-color:#f56c6c}.el-card{border:1px solid #ebeef5;background-color:#fff;color:#303133;transition:.3s}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-card__header{padding:18px 20px;border-bottom:1px solid #ebeef5;box-sizing:border-box}.el-card__body{padding:20px}.el-rate{height:20px;line-height:1}.el-rate__item{font-size:0;vertical-align:middle}.el-rate__icon{font-size:18px;margin-right:6px;color:#c0c4cc;transition:.3s}.el-rate__decimal,.el-rate__icon .path2{position:absolute;top:0;left:0}.el-rate__icon.hover{transform:scale(1.15)}.el-rate__decimal{display:inline-block;overflow:hidden}.el-step.is-vertical,.el-steps{display:-ms-flexbox}.el-rate__text{font-size:14px;vertical-align:middle}.el-steps{display:flex}.el-steps--simple{padding:13px 8%;border-radius:4px;background:#f5f7fa}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{height:100%;flex-flow:column}.el-step{position:relative;flex-shrink:1}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-shrink:0;flex-grow:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{color:#303133;border-color:#303133}.el-step__head.is-wait{color:#c0c4cc;border-color:#c0c4cc}.el-step__head.is-success{color:#67c23a;border-color:#67c23a}.el-step__head.is-error{color:#f56c6c;border-color:#f56c6c}.el-step__head.is-finish{color:#409eff;border-color:#409eff}.el-step__icon{position:relative;z-index:1;display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;box-sizing:border-box;background:#fff;transition:.15s ease-out}.el-step__icon.is-text{border-radius:50%;border:2px solid;border-color:inherit}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;font-weight:700;line-height:1;color:inherit}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{position:absolute;border-color:inherit;background-color:#c0c4cc}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;transition:.15s ease-out;box-sizing:border-box;width:0;height:0}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{font-weight:700;color:#303133}.el-step__title.is-wait{color:#c0c4cc}.el-step__title.is-success{color:#67c23a}.el-step__title.is-error{color:#f56c6c}.el-step__title.is-finish{color:#409eff}.el-step__description{padding-right:10%;margin-top:-5px;font-size:12px;line-height:20px;font-weight:400}.el-step__description.is-process{color:#303133}.el-step__description.is-wait{color:#c0c4cc}.el-step__description.is-success{color:#67c23a}.el-step__description.is-error{color:#f56c6c}.el-step__description.is-finish{color:#409eff}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{padding-left:10px;flex-grow:1}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{display:flex;align-items:center}.el-step.is-simple .el-step__head{width:auto;font-size:0;padding-right:10px}.el-step.is-simple .el-step__icon{background:0 0;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{position:relative;display:flex;align-items:stretch;flex-grow:1}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;word-break:break-all}.el-step.is-simple .el-step__arrow{flex-grow:1;display:flex;align-items:center;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{content:"";display:inline-block;position:absolute;height:15px;width:1px;background:#c0c4cc}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-carousel{position:relative}.el-carousel--horizontal{overflow-x:hidden}.el-carousel--vertical{overflow-y:hidden}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;outline:0;padding:0;margin:0;height:36px;width:36px;cursor:pointer;transition:.3s;border-radius:50%;background-color:rgba(31,45,61,.11);color:#fff;position:absolute;top:50%;z-index:10;transform:translateY(-50%);text-align:center;font-size:12px}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:rgba(31,45,61,.23)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{position:absolute;list-style:none;margin:0;padding:0;z-index:2}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translateX(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:26px;text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:#c0c4cc;opacity:.24}.el-carousel__indicators--labels{left:0;right:0;transform:none;text-align:center}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto;padding:2px 18px;font-size:12px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:12px 4px}.el-carousel__indicator--vertical{padding:4px 12px}.el-carousel__indicator--vertical .el-carousel__button{width:2px;height:15px}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:30px;height:2px;background-color:#fff;border:none;outline:0;padding:0;margin:0;cursor:pointer;transition:.3s}.el-carousel__item,.el-carousel__mask{height:100%;top:0;left:0;position:absolute}.carousel-arrow-left-enter,.carousel-arrow-left-leave-active{transform:translateY(-50%) translateX(-10px);opacity:0}.carousel-arrow-right-enter,.carousel-arrow-right-leave-active{transform:translateY(-50%) translateX(10px);opacity:0}.el-carousel__item{width:100%;display:inline-block;overflow:hidden;z-index:0}.el-carousel__item.is-active{z-index:2}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:1}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:2}.el-carousel__mask{width:100%;background-color:#fff;opacity:.24;transition:.2s}.el-fade-in-enter,.el-fade-in-leave-active,.el-fade-in-linear-enter,.el-fade-in-linear-leave,.el-fade-in-linear-leave-active,.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active,.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:opacity .2s linear}.el-fade-in-enter-active,.el-fade-in-leave-active,.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all .3s cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.el-zoom-in-top-enter,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center bottom}.el-zoom-in-bottom-enter,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:top left}.el-zoom-in-left-enter,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}.horizontal-collapse-transition{transition:width .3s ease-in-out,padding-left .3s ease-in-out,padding-right .3s ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter,.el-list-leave-active{opacity:0;transform:translateY(-30px)}.el-opacity-transition{transition:opacity .3s cubic-bezier(.55,0,.1,1)}.el-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.el-collapse-item.is-disabled .el-collapse-item__header{color:#bbb;cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;transition:border-bottom-color .3s;outline:0}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform .3s;font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;box-sizing:border-box;border-bottom:1px solid #ebeef5}.el-cascader__tags,.el-tag{-webkit-box-sizing:border-box}.el-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.769230769230769}.el-collapse-item:last-child{margin-bottom:-1px}.el-popper .popper__arrow,.el-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-popper .popper__arrow{border-width:6px;filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.el-popper .popper__arrow:after{content:" ";border-width:6px}.el-popper[x-placement^=top]{margin-bottom:12px}.el-popper[x-placement^=top] .popper__arrow{bottom:-6px;left:50%;margin-right:3px;border-top-color:#ebeef5;border-bottom-width:0}.el-popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.el-popper[x-placement^=bottom]{margin-top:12px}.el-popper[x-placement^=bottom] .popper__arrow{top:-6px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.el-popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.el-popper[x-placement^=right]{margin-left:12px}.el-popper[x-placement^=right] .popper__arrow{top:50%;left:-6px;margin-bottom:3px;border-right-color:#ebeef5;border-left-width:0}.el-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1px;border-right-color:#fff;border-left-width:0}.el-popper[x-placement^=left]{margin-right:12px}.el-popper[x-placement^=left] .popper__arrow{top:50%;right:-6px;margin-bottom:3px;border-right-width:0;border-left-color:#ebeef5}.el-popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.el-tag{background-color:#ecf5ff;border-color:#d9ecff;display:inline-block;height:32px;padding:0 10px;line-height:30px;font-size:12px;color:#409eff;border-width:1px;border-style:solid;border-radius:4px;box-sizing:border-box;white-space:nowrap}.el-tag.is-hit{border-color:#409eff}.el-tag .el-tag__close{color:#409eff}.el-tag .el-tag__close:hover{color:#fff;background-color:#409eff}.el-tag.el-tag--info{background-color:#f4f4f5;border-color:#e9e9eb;color:#909399}.el-tag.el-tag--info.is-hit{border-color:#909399}.el-tag.el-tag--info .el-tag__close{color:#909399}.el-tag.el-tag--info .el-tag__close:hover{color:#fff;background-color:#909399}.el-tag.el-tag--success{background-color:#f0f9eb;border-color:#e1f3d8;color:#67c23a}.el-tag.el-tag--success.is-hit{border-color:#67c23a}.el-tag.el-tag--success .el-tag__close{color:#67c23a}.el-tag.el-tag--success .el-tag__close:hover{color:#fff;background-color:#67c23a}.el-tag.el-tag--warning{background-color:#fdf6ec;border-color:#faecd8;color:#e6a23c}.el-tag.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag.el-tag--warning .el-tag__close{color:#e6a23c}.el-tag.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#e6a23c}.el-tag.el-tag--danger{background-color:#fef0f0;border-color:#fde2e2;color:#f56c6c}.el-tag.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag.el-tag--danger .el-tag__close{color:#f56c6c}.el-tag.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f56c6c}.el-tag .el-icon-close{border-radius:50%;text-align:center;position:relative;cursor:pointer;font-size:12px;height:16px;width:16px;line-height:16px;vertical-align:middle;top:-1px;right:-5px}.el-tag .el-icon-close:before{display:block}.el-tag--dark{background-color:#409eff;color:#fff}.el-tag--dark,.el-tag--dark.is-hit{border-color:#409eff}.el-tag--dark .el-tag__close{color:#fff}.el-tag--dark .el-tag__close:hover{color:#fff;background-color:#66b1ff}.el-tag--dark.el-tag--info{background-color:#909399;border-color:#909399;color:#fff}.el-tag--dark.el-tag--info.is-hit{border-color:#909399}.el-tag--dark.el-tag--info .el-tag__close{color:#fff}.el-tag--dark.el-tag--info .el-tag__close:hover{color:#fff;background-color:#a6a9ad}.el-tag--dark.el-tag--success{background-color:#67c23a;border-color:#67c23a;color:#fff}.el-tag--dark.el-tag--success.is-hit{border-color:#67c23a}.el-tag--dark.el-tag--success .el-tag__close{color:#fff}.el-tag--dark.el-tag--success .el-tag__close:hover{color:#fff;background-color:#85ce61}.el-tag--dark.el-tag--warning{background-color:#e6a23c;border-color:#e6a23c;color:#fff}.el-tag--dark.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag--dark.el-tag--warning .el-tag__close{color:#fff}.el-tag--dark.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#ebb563}.el-tag--dark.el-tag--danger{background-color:#f56c6c;border-color:#f56c6c;color:#fff}.el-tag--dark.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag--dark.el-tag--danger .el-tag__close{color:#fff}.el-tag--dark.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f78989}.el-tag--plain{background-color:#fff;border-color:#b3d8ff;color:#409eff}.el-tag--plain.is-hit{border-color:#409eff}.el-tag--plain .el-tag__close{color:#409eff}.el-tag--plain .el-tag__close:hover{color:#fff;background-color:#409eff}.el-tag--plain.el-tag--info{background-color:#fff;border-color:#d3d4d6;color:#909399}.el-tag--plain.el-tag--info.is-hit{border-color:#909399}.el-tag--plain.el-tag--info .el-tag__close{color:#909399}.el-tag--plain.el-tag--info .el-tag__close:hover{color:#fff;background-color:#909399}.el-tag--plain.el-tag--success{background-color:#fff;border-color:#c2e7b0;color:#67c23a}.el-tag--plain.el-tag--success.is-hit{border-color:#67c23a}.el-tag--plain.el-tag--success .el-tag__close{color:#67c23a}.el-tag--plain.el-tag--success .el-tag__close:hover{color:#fff;background-color:#67c23a}.el-tag--plain.el-tag--warning{background-color:#fff;border-color:#f5dab1;color:#e6a23c}.el-tag--plain.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag--plain.el-tag--warning .el-tag__close{color:#e6a23c}.el-tag--plain.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#e6a23c}.el-tag--plain.el-tag--danger{background-color:#fff;border-color:#fbc4c4;color:#f56c6c}.el-tag--plain.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag--plain.el-tag--danger .el-tag__close{color:#f56c6c}.el-tag--plain.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f56c6c}.el-tag--medium{height:28px;line-height:26px}.el-tag--medium .el-icon-close{transform:scale(.8)}.el-tag--small{height:24px;padding:0 8px;line-height:22px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag--mini{height:20px;padding:0 5px;line-height:19px}.el-tag--mini .el-icon-close{margin-left:-3px;transform:scale(.7)}.el-cascader{display:inline-block;position:relative;font-size:14px;line-height:40px}.el-cascader:not(.is-disabled):hover .el-input__inner{cursor:pointer;border-color:#c0c4cc}.el-cascader .el-input .el-input__inner:focus,.el-cascader .el-input.is-focus .el-input__inner{border-color:#409eff}.el-cascader .el-input{cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-icon-arrow-down{transition:transform .3s;font-size:14px}.el-cascader .el-input .el-icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .el-icon-circle-close:hover{color:#909399}.el-cascader--medium{font-size:14px;line-height:36px}.el-cascader--small{font-size:13px;line-height:32px}.el-cascader--mini{font-size:12px;line-height:28px}.el-cascader.is-disabled .el-cascader__label{z-index:2;color:#c0c4cc}.el-cascader__dropdown{margin:5px 0;font-size:14px;background:#fff;border:1px solid #e4e7ed;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:#f0f2f5}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:#c0c4cc;color:#fff}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:#909399}.el-cascader__suggestion-panel{border-radius:4px}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:14px;color:#606266;text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:0;cursor:pointer}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:#f5f7fa}.el-cascader__suggestion-item.is-checked{color:#409eff;font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:#c0c4cc}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 15px;padding:0;color:#606266;border:none;outline:0;box-sizing:border-box}.el-cascader__search-input:-ms-input-placeholder{color:#c0c4cc}.el-cascader__search-input::-moz-placeholder{color:#c0c4cc}.el-cascader__search-input::placeholder{color:#c0c4cc}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{margin:0 0 8px 8px;width:20px;height:20px;border-radius:4px;cursor:pointer}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px #409eff}.el-color-predefine__color-selector>div{display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px}.el-color-hue-slider__bar{position:relative;background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.el-color-svpanel__black{background:linear-gradient(0deg,#000,transparent)}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-alpha-slider__bar{position:relative;background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:6px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#000;width:160px}.el-color-dropdown__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-color-dropdown__btn[disabled]{color:#ccc;cursor:not-allowed}.el-color-dropdown__btn:hover{color:#409eff;border-color:#409eff}.el-color-dropdown__link-btn{cursor:pointer;color:#409eff;text-decoration:none;padding:15px;font-size:12px}.el-color-dropdown__link-btn:hover{color:tint(#409eff,20%)}.el-color-picker{display:inline-block;position:relative;line-height:normal;height:40px}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--medium{height:36px}.el-color-picker--medium .el-color-picker__trigger{height:36px;width:36px}.el-color-picker--medium .el-color-picker__mask{height:34px;width:34px}.el-color-picker--small{height:32px}.el-color-picker--small .el-color-picker__trigger{height:32px;width:32px}.el-color-picker--small .el-color-picker__mask{height:30px;width:30px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:translate3d(-50%,-50%,0) scale(.8)}.el-color-picker--mini{height:28px}.el-color-picker--mini .el-color-picker__trigger{height:28px;width:28px}.el-color-picker--mini .el-color-picker__mask{height:26px;width:26px}.el-color-picker--mini .el-color-picker__empty,.el-color-picker--mini .el-color-picker__icon{transform:translate3d(-50%,-50%,0) scale(.8)}.el-color-picker__mask{height:38px;width:38px;border-radius:4px;position:absolute;top:1px;left:1px;z-index:1;cursor:not-allowed;background-color:hsla(0,0%,100%,.7)}.el-color-picker__trigger{display:inline-block;box-sizing:border-box;height:40px;width:40px;padding:4px;border:1px solid #e6e6e6;border-radius:4px;font-size:0;position:relative;cursor:pointer}.el-color-picker__color{position:relative;display:block;box-sizing:border-box;border:1px solid #999;border-radius:2px;width:100%;height:100%;text-align:center}.el-color-picker__color.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-picker__color-inner{position:absolute;left:0;top:0;right:0;bottom:0}.el-color-picker__empty,.el-color-picker__icon{top:50%;left:50%;font-size:12px;position:absolute}.el-color-picker__empty{color:#999;transform:translate3d(-50%,-50%,0)}.el-color-picker__icon{display:inline-block;width:100%;transform:translate3d(-50%,-50%,0);color:#fff;text-align:center}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;box-sizing:content-box;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:14px}.el-textarea__inner{display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;color:#606266;background-color:#fff;background-image:none;border:1px solid #dcdfe6;border-radius:4px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner:-ms-input-placeholder{color:#c0c4cc}.el-textarea__inner::-moz-placeholder{color:#c0c4cc}.el-textarea__inner::placeholder{color:#c0c4cc}.el-textarea__inner:hover{border-color:#c0c4cc}.el-textarea__inner:focus{outline:0;border-color:#409eff}.el-textarea .el-input__count{color:#909399;background:#fff;position:absolute;font-size:12px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#c0c4cc}.el-textarea.is-exceed .el-textarea__inner{border-color:#f56c6c}.el-textarea.is-exceed .el-input__count{color:#f56c6c}.el-input{position:relative;font-size:14px;display:inline-block;width:100%}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#b4bccc}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:#fff}.el-input::-webkit-scrollbar-track-piece{background:#fff;width:6px}.el-input .el-input__clear{color:#c0c4cc;font-size:14px;cursor:pointer;transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-input .el-input__clear:hover{color:#909399}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:#909399;font-size:12px}.el-input .el-input__count .el-input__count-inner{background:#fff;line-height:normal;display:inline-block;padding:0 5px}.el-input__inner{-webkit-appearance:none;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #dcdfe6;box-sizing:border-box;color:#606266;display:inline-block;font-size:inherit;height:40px;line-height:40px;outline:0;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__prefix,.el-input__suffix{position:absolute;top:0;-webkit-transition:all .3s;height:100%;color:#c0c4cc;text-align:center}.el-input__inner::-ms-reveal{display:none}.el-input__inner:-ms-input-placeholder{color:#c0c4cc}.el-input__inner::-moz-placeholder{color:#c0c4cc}.el-input__inner::placeholder{color:#c0c4cc}.el-input__inner:hover{border-color:#c0c4cc}.el-input.is-active .el-input__inner,.el-input__inner:focus{border-color:#409eff;outline:0}.el-input__suffix{right:5px;transition:all .3s}.el-input__suffix-inner{pointer-events:all}.el-input__prefix{left:5px;transition:all .3s}.el-input__icon{height:100%;width:25px;text-align:center;transition:all .3s;line-height:40px}.el-input__icon:after{content:"";height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__validateIcon{pointer-events:none}.el-input.is-disabled .el-input__inner{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner::placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-link,.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-input.is-exceed .el-input__inner{border-color:#f56c6c}.el-input.is-exceed .el-input__suffix .el-input__count{color:#f56c6c}.el-input--suffix .el-input__inner{padding-right:30px}.el-input--prefix .el-input__inner{padding-left:30px}.el-input--medium{font-size:14px}.el-input--medium .el-input__inner{height:36px;line-height:36px}.el-input--medium .el-input__icon{line-height:36px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:32px;line-height:32px}.el-input--small .el-input__icon{line-height:32px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:28px;line-height:28px}.el-input--mini .el-input__icon{line-height:28px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#f5f7fa;color:#909399;vertical-align:middle;display:table-cell;position:relative;border:1px solid #dcdfe6;border-radius:4px;padding:0 20px;width:1px;white-space:nowrap}.el-input-group--prepend .el-input__inner,.el-input-group__append{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--append .el-input__inner,.el-input-group__prepend{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:-10px -20px}.el-input-group__append button.el-button,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0}.el-input-group__append{border-left:0}.el-input-group--append .el-select .el-input.is-focus .el-input__inner,.el-input-group--prepend .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input__inner::-ms-clear{display:none;width:0;height:0}.el-transfer{font-size:14px}.el-transfer__buttons{display:inline-block;vertical-align:middle;padding:0 30px}.el-transfer__button{display:block;margin:0 auto;padding:10px;border-radius:50%;color:#fff;background-color:#409eff;font-size:0}.el-transfer-panel__item+.el-transfer-panel__item,.el-transfer__button [class*=el-icon-]+span{margin-left:0}.el-transfer__button.is-with-texts{border-radius:4px}.el-transfer__button.is-disabled,.el-transfer__button.is-disabled:hover{border:1px solid #dcdfe6;background-color:#f5f7fa;color:#c0c4cc}.el-transfer__button:first-child{margin-bottom:10px}.el-transfer__button:nth-child(2){margin:0}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer-panel{border:1px solid #ebeef5;border-radius:4px;overflow:hidden;background:#fff;display:inline-block;vertical-align:middle;width:200px;max-height:100%;box-sizing:border-box;position:relative}.el-transfer-panel__body{height:246px}.el-transfer-panel__body.is-with-footer{padding-bottom:40px}.el-transfer-panel__list{margin:0;padding:6px 0;list-style:none;height:246px;overflow:auto;box-sizing:border-box}.el-transfer-panel__list.is-filterable{height:194px;padding-top:0}.el-transfer-panel__item{height:30px;line-height:30px;padding-left:15px;display:block!important}.el-transfer-panel__item.el-checkbox{color:#606266}.el-transfer-panel__item:hover{color:#409eff}.el-transfer-panel__item.el-checkbox .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;box-sizing:border-box;padding-left:24px;line-height:30px}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;margin:15px;box-sizing:border-box;display:block;width:auto}.el-transfer-panel__filter .el-input__inner{height:32px;width:100%;font-size:12px;display:inline-block;box-sizing:border-box;border-radius:16px;padding-right:10px;padding-left:30px}.el-transfer-panel__filter .el-input__icon{margin-left:5px}.el-transfer-panel .el-transfer-panel__header{height:40px;line-height:40px;background:#f5f7fa;margin:0;padding-left:15px;border-bottom:1px solid #ebeef5;box-sizing:border-box;color:#000}.el-transfer-panel .el-transfer-panel__header .el-checkbox{display:block;line-height:40px}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{font-size:16px;color:#303133;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{position:absolute;right:15px;color:#909399;font-size:12px;font-weight:400}.el-divider__text,.el-link{font-weight:500;font-size:14px}.el-transfer-panel .el-transfer-panel__footer{height:40px;background:#fff;margin:0;padding:0;border-top:1px solid #ebeef5;position:absolute;bottom:0;left:0;width:100%;z-index:1}.el-transfer-panel .el-transfer-panel__footer:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-container,.el-timeline-item__node{display:-ms-flexbox}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{padding-left:20px;color:#606266}.el-transfer-panel .el-transfer-panel__empty{margin:0;height:30px;line-height:30px;padding:6px 15px 0;color:#909399;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{height:14px;width:14px;border-radius:3px}.el-transfer-panel .el-checkbox__inner:after{height:6px;width:3px;left:4px}.el-container{display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.el-aside,.el-header{-webkit-box-sizing:border-box}.el-container.is-vertical{flex-direction:column}.el-header{padding:0 20px}.el-aside,.el-header{box-sizing:border-box;flex-shrink:0}.el-aside{overflow:auto}.el-footer,.el-main{-webkit-box-sizing:border-box}.el-main{display:block;flex:1;flex-basis:auto;overflow:auto;padding:20px}.el-footer,.el-main{box-sizing:border-box}.el-footer{padding:0 20px;flex-shrink:0}.el-timeline{margin:0;font-size:14px;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid #e4e7ed}.el-timeline-item__icon{color:#fff;font-size:13px}.el-timeline-item__node{position:absolute;background-color:#e4e7ed;border-radius:50%;display:flex;justify-content:center;align-items:center}.el-image__error,.el-timeline-item__dot{display:-ms-flexbox}.el-timeline-item__node--normal{left:-1px;width:12px;height:12px}.el-timeline-item__node--large{left:-2px;width:14px;height:14px}.el-timeline-item__node--primary{background-color:#409eff}.el-timeline-item__node--success{background-color:#67c23a}.el-timeline-item__node--warning{background-color:#e6a23c}.el-timeline-item__node--danger{background-color:#f56c6c}.el-timeline-item__node--info{background-color:#909399}.el-timeline-item__dot{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:#303133}.el-timeline-item__timestamp{color:#909399;line-height:1;font-size:13px}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-link{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;vertical-align:middle;position:relative;text-decoration:none;outline:0;padding:0}.el-drawer,.el-empty,.el-result{-webkit-box-orient:vertical}.el-link.is-underline:hover:after{content:"";position:absolute;left:0;right:0;height:0;bottom:0;border-bottom:1px solid #409eff}.el-link.el-link--default:after,.el-link.el-link--primary.is-underline:hover:after,.el-link.el-link--primary:after{border-color:#409eff}.el-link.is-disabled{cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default{color:#606266}.el-link.el-link--default:hover{color:#409eff}.el-link.el-link--default.is-disabled{color:#c0c4cc}.el-link.el-link--primary{color:#409eff}.el-link.el-link--primary:hover{color:#66b1ff}.el-link.el-link--primary.is-disabled{color:#a0cfff}.el-link.el-link--danger.is-underline:hover:after,.el-link.el-link--danger:after{border-color:#f56c6c}.el-link.el-link--danger{color:#f56c6c}.el-link.el-link--danger:hover{color:#f78989}.el-link.el-link--danger.is-disabled{color:#fab6b6}.el-link.el-link--success.is-underline:hover:after,.el-link.el-link--success:after{border-color:#67c23a}.el-link.el-link--success{color:#67c23a}.el-link.el-link--success:hover{color:#85ce61}.el-link.el-link--success.is-disabled{color:#b3e19d}.el-link.el-link--warning.is-underline:hover:after,.el-link.el-link--warning:after{border-color:#e6a23c}.el-link.el-link--warning{color:#e6a23c}.el-link.el-link--warning:hover{color:#ebb563}.el-link.el-link--warning.is-disabled{color:#f3d19e}.el-link.el-link--info.is-underline:hover:after,.el-link.el-link--info:after{border-color:#909399}.el-link.el-link--info{color:#909399}.el-link.el-link--info:hover{color:#a6a9ad}.el-link.el-link--info.is-disabled{color:#c8c9cc}.el-divider{background-color:#dcdfe6;position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative}.el-divider__text{position:absolute;background-color:#fff;padding:0 20px;color:#303133}.el-image__error,.el-image__placeholder{background:#f5f7fa}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translateX(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-image__error,.el-image__inner,.el-image__placeholder{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top}.el-image__inner--center{position:relative;top:50%;left:50%;transform:translate(-50%,-50%);display:block}.el-image__error{display:flex;justify-content:center;align-items:center;font-size:14px;color:#c0c4cc;vertical-align:middle}.el-image__preview{cursor:pointer}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:.8;cursor:pointer;box-sizing:border-box;user-select:none}.el-button,.el-checkbox,.el-image-viewer__btn{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:24px;color:#fff;background-color:#606266}.el-image-viewer__canvas{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.el-image-viewer__actions{left:50%;bottom:30px;transform:translateX(-50%);width:282px;height:44px;padding:0 23px;background-color:#606266;border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;text-align:justify;cursor:default;font-size:23px;color:#fff;display:flex;align-items:center;justify-content:space-around}.el-image-viewer__next,.el-image-viewer__prev{top:50%;width:44px;height:44px;font-size:24px;color:#fff;background-color:#606266;border-color:#fff}.el-image-viewer__prev{transform:translateY(-50%);left:40px}.el-image-viewer__next{transform:translateY(-50%);right:40px;text-indent:2px}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{-webkit-animation:viewer-fade-in .3s;animation:viewer-fade-in .3s}.viewer-fade-leave-active{-webkit-animation:viewer-fade-out .3s;animation:viewer-fade-out .3s}@-webkit-keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;transition:.1s;font-weight:500;padding:12px 20px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button:focus,.el-button:hover{color:#409eff;border-color:#c6e2ff;background-color:#ecf5ff}.el-button:active{color:#3a8ee6;border-color:#3a8ee6;outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#fff;border-color:#409eff;color:#409eff}.el-button.is-active,.el-button.is-plain:active{color:#3a8ee6;border-color:#3a8ee6}.el-button.is-plain:active{background:#fff;outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#fff;border-color:#ebeef5;color:#c0c4cc}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:hsla(0,0%,100%,.35)}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{color:#fff;background-color:#409eff;border-color:#409eff}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}.el-button--primary.is-active,.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff}.el-button--primary:active{outline:0}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{color:#fff;background-color:#a0cfff;border-color:#a0cfff}.el-button--primary.is-plain{color:#409eff;background:#ecf5ff;border-color:#b3d8ff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#409eff;border-color:#409eff;color:#fff}.el-button--primary.is-plain:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff;outline:0}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:#8cc5ff;background-color:#ecf5ff;border-color:#d9ecff}.el-button--success{color:#fff;background-color:#67c23a;border-color:#67c23a}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#fff}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#fff}.el-button--success:active{outline:0}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{color:#fff;background-color:#b3e19d;border-color:#b3e19d}.el-button--success.is-plain{color:#67c23a;background:#f0f9eb;border-color:#c2e7b0}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#67c23a;border-color:#67c23a;color:#fff}.el-button--success.is-plain:active{background:#5daf34;border-color:#5daf34;color:#fff;outline:0}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:#a4da89;background-color:#f0f9eb;border-color:#e1f3d8}.el-button--warning{color:#fff;background-color:#e6a23c;border-color:#e6a23c}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#fff}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#fff}.el-button--warning:active{outline:0}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{color:#fff;background-color:#f3d19e;border-color:#f3d19e}.el-button--warning.is-plain{color:#e6a23c;background:#fdf6ec;border-color:#f5dab1}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#e6a23c;border-color:#e6a23c;color:#fff}.el-button--warning.is-plain:active{background:#cf9236;border-color:#cf9236;color:#fff;outline:0}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:#f0c78a;background-color:#fdf6ec;border-color:#faecd8}.el-button--danger{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#fff}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#fff}.el-button--danger:active{outline:0}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{color:#fff;background-color:#fab6b6;border-color:#fab6b6}.el-button--danger.is-plain{color:#f56c6c;background:#fef0f0;border-color:#fbc4c4}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#f56c6c;border-color:#f56c6c;color:#fff}.el-button--danger.is-plain:active{background:#dd6161;border-color:#dd6161;color:#fff;outline:0}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:#f9a7a7;background-color:#fef0f0;border-color:#fde2e2}.el-button--info{color:#fff;background-color:#909399;border-color:#909399}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#fff}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#fff}.el-button--info:active{outline:0}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{color:#fff;background-color:#c8c9cc;border-color:#c8c9cc}.el-button--info.is-plain{color:#909399;background:#f4f4f5;border-color:#d3d4d6}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#909399;border-color:#909399;color:#fff}.el-button--info.is-plain:active{background:#82848a;border-color:#82848a;color:#fff;outline:0}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:#bcbec2;background-color:#f4f4f5;border-color:#e9e9eb}.el-button--text,.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover,.el-button--text:active{border-color:transparent}.el-button--medium{padding:10px 20px;font-size:14px;border-radius:4px}.el-button--mini,.el-button--small{font-size:12px;border-radius:3px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small,.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini,.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{color:#409eff;background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#66b1ff;border-color:transparent;background-color:transparent}.el-button--text:active{color:#3a8ee6;background-color:transparent}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button.is-disabled{z-index:1}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-radius:4px}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:20px}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-calendar{background-color:#fff}.el-calendar__header{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #ebeef5}.el-backtop,.el-page-header{display:-ms-flexbox}.el-calendar__title{color:#000;align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{padding:12px 0;color:#606266;font-weight:400}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:#c0c4cc}.el-backtop,.el-calendar-table td.is-today{color:#409eff}.el-calendar-table td{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;vertical-align:top;transition:background-color .2s ease}.el-calendar-table td.is-selected{background-color:#f2f8fe}.el-calendar-table tr:first-child td{border-top:1px solid #ebeef5}.el-calendar-table tr td:first-child{border-left:1px solid #ebeef5}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;padding:8px;height:85px}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:#f2f8fe}.el-backtop{position:fixed;background-color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 0 6px rgba(0,0,0,.12);cursor:pointer;z-index:5}.el-backtop:hover{background-color:#f2f6fc}.el-page-header{display:flex;line-height:24px}.el-page-header__left{display:flex;cursor:pointer;margin-right:40px;position:relative}.el-page-header__left:after{content:"";position:absolute;width:1px;height:16px;right:-20px;top:50%;transform:translateY(-50%);background-color:#dcdfe6}.el-checkbox,.el-checkbox__input{display:inline-block;position:relative;white-space:nowrap}.el-page-header__left .el-icon-back{font-size:18px;margin-right:6px;align-self:center}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{font-size:18px;color:#303133}.el-checkbox{color:#606266;font-weight:500;font-size:14px;cursor:pointer;user-select:none;margin-right:30px}.el-checkbox,.el-checkbox-button__inner,.el-empty__image img,.el-radio{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-checkbox.is-bordered{padding:9px 20px 9px 10px;border-radius:4px;border:1px solid #dcdfe6;box-sizing:border-box;line-height:normal;height:40px}.el-checkbox.is-bordered.is-checked{border-color:#409eff}.el-checkbox.is-bordered.is-disabled{border-color:#ebeef5;cursor:not-allowed}.el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:10px}.el-checkbox.is-bordered.el-checkbox--medium{padding:7px 20px 7px 10px;border-radius:4px;height:36px}.el-checkbox.is-bordered.el-checkbox--medium .el-checkbox__label{line-height:17px;font-size:14px}.el-checkbox.is-bordered.el-checkbox--medium .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:5px 15px 5px 10px;border-radius:3px;height:32px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{line-height:15px;font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox.is-bordered.el-checkbox--mini{padding:3px 15px 3px 10px;border-radius:3px;height:28px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__label{line-height:12px;font-size:12px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox__input{cursor:pointer;outline:0;line-height:1;vertical-align:middle}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:#edf2fc;border-color:#dcdfe6;cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:#c0c4cc}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#f2f6fc;border-color:#dcdfe6}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#c0c4cc}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:#f2f6fc;border-color:#dcdfe6}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:#c0c4cc;border-color:#c0c4cc}.el-checkbox__input.is-checked .el-checkbox__inner,.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:#409eff;border-color:#409eff}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:#c0c4cc;cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:#409eff}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:#409eff}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:#fff;height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:1px solid #dcdfe6;border-radius:2px;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:#409eff}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid #fff;border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in .05s;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox-button,.el-checkbox-button__inner{display:inline-block;position:relative}.el-checkbox__label{display:inline-block;padding-left:10px;line-height:19px;font-size:14px}.el-checkbox:last-of-type{margin-right:0}.el-checkbox-button__inner{line-height:1;font-weight:500;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-left:0;color:#606266;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;transition:all .3s cubic-bezier(.645,.045,.355,1);padding:12px 20px;font-size:14px;border-radius:0}.el-checkbox-button__inner.is-round{padding:12px 20px}.el-checkbox-button__inner:hover{color:#409eff}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-radio,.el-radio__input{line-height:1;white-space:nowrap;outline:0}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;outline:0;position:absolute;margin:0;z-index:-1}.el-radio,.el-radio__inner,.el-radio__input{position:relative;display:inline-block}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:#fff;background-color:#409eff;border-color:#409eff;box-shadow:-1px 0 0 0 #8cc5ff}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:#409eff}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5;box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:#ebeef5}.el-checkbox-button:first-child .el-checkbox-button__inner{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px;box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:#409eff}.el-checkbox-button:last-child .el-checkbox-button__inner{border-radius:0 4px 4px 0}.el-checkbox-button--medium .el-checkbox-button__inner{padding:10px 20px;font-size:14px;border-radius:0}.el-checkbox-button--medium .el-checkbox-button__inner.is-round{padding:10px 20px}.el-checkbox-button--small .el-checkbox-button__inner{padding:9px 15px;font-size:12px;border-radius:0}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:9px 15px}.el-checkbox-button--mini .el-checkbox-button__inner{padding:7px 15px;font-size:12px;border-radius:0}.el-checkbox-button--mini .el-checkbox-button__inner.is-round{padding:7px 15px}.el-checkbox-group{font-size:0}.el-radio,.el-radio--medium.is-bordered .el-radio__label{font-size:14px}.el-radio{color:#606266;font-weight:500;cursor:pointer;margin-right:30px}.el-cascader-node>.el-radio,.el-radio:last-child{margin-right:0}.el-radio.is-bordered{padding:12px 20px 0 10px;border-radius:4px;border:1px solid #dcdfe6;box-sizing:border-box;height:40px}.el-radio.is-bordered.is-checked{border-color:#409eff}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:#ebeef5}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#f5f7fa;border-color:#e4e7ed}.el-radio.is-bordered+.el-radio.is-bordered{margin-left:10px}.el-radio--medium.is-bordered{padding:10px 20px 0 10px;border-radius:4px;height:36px}.el-radio--mini.is-bordered .el-radio__label,.el-radio--small.is-bordered .el-radio__label{font-size:12px}.el-radio--medium.is-bordered .el-radio__inner{height:14px;width:14px}.el-radio--small.is-bordered{padding:8px 15px 0 10px;border-radius:3px;height:32px}.el-radio--small.is-bordered .el-radio__inner{height:12px;width:12px}.el-radio--mini.is-bordered{padding:6px 15px 0 10px;border-radius:3px;height:28px}.el-radio--mini.is-bordered .el-radio__inner{height:12px;width:12px}.el-radio__input{cursor:pointer;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:#f5f7fa}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#c0c4cc}.el-radio__input.is-disabled+span.el-radio__label{color:#c0c4cc;cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:#409eff;background:#409eff}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:#409eff}.el-radio__input.is-focus .el-radio__inner{border-color:#409eff}.el-radio__inner{border:1px solid #dcdfe6;border-radius:100%;width:14px;height:14px;background-color:#fff;cursor:pointer;box-sizing:border-box}.el-radio__inner:hover{border-color:#409eff}.el-radio__inner:after{width:4px;height:4px;border-radius:100%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px #409eff}.el-radio__label{font-size:14px;padding-left:10px}.el-scrollbar{overflow:hidden;position:relative}.el-scrollbar:active>.el-scrollbar__bar,.el-scrollbar:focus>.el-scrollbar__bar,.el-scrollbar:hover>.el-scrollbar__bar{opacity:1;transition:opacity .34s ease-out}.el-scrollbar__wrap{overflow:scroll;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{width:0;height:0}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:rgba(144,147,153,.3);transition:background-color .3s}.el-scrollbar__thumb:hover{background-color:rgba(144,147,153,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px;opacity:0;transition:opacity .12s ease-out}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-cascader-panel{display:flex;border-radius:4px;font-size:14px}.el-cascader-panel.is-bordered{border:1px solid #e4e7ed;border-radius:4px}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:#606266;border-right:1px solid #e4e7ed}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-avatar,.el-drawer{-webkit-box-sizing:border-box;overflow:hidden}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#c0c4cc}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:0}.el-cascader-node.is-selectable.in-active-path{color:#606266}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:#409eff;font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:#f5f7fa}.el-cascader-node.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-avatar{display:inline-block;box-sizing:border-box;text-align:center;color:#fff;background:#c0c4cc;width:40px;height:40px;line-height:40px;font-size:14px}.el-avatar>img{display:block;height:100%;vertical-align:middle}.el-drawer,.el-drawer__header{display:-ms-flexbox}.el-empty__image img,.el-empty__image svg{vertical-align:top;height:100%;width:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:4px}.el-avatar--icon{font-size:18px}.el-avatar--large{width:40px;height:40px;line-height:40px}.el-avatar--medium{width:36px;height:36px;line-height:36px}.el-avatar--small{width:28px;height:28px;line-height:28px}.el-drawer.ltr,.el-drawer.rtl,.el-drawer__container{top:0;bottom:0;height:100%}@-webkit-keyframes el-drawer-fade-in{0%{opacity:0}to{opacity:1}}@keyframes el-drawer-fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes rtl-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes rtl-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@-webkit-keyframes rtl-drawer-out{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes rtl-drawer-out{0%{transform:translate(0)}to{transform:translate(100%)}}@-webkit-keyframes ltr-drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes ltr-drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@-webkit-keyframes ltr-drawer-out{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes ltr-drawer-out{0%{transform:translate(0)}to{transform:translate(-100%)}}@-webkit-keyframes ttb-drawer-in{0%{transform:translateY(-100%)}to{transform:translate(0)}}@keyframes ttb-drawer-in{0%{transform:translateY(-100%)}to{transform:translate(0)}}@-webkit-keyframes ttb-drawer-out{0%{transform:translate(0)}to{transform:translateY(-100%)}}@keyframes ttb-drawer-out{0%{transform:translate(0)}to{transform:translateY(-100%)}}@-webkit-keyframes btt-drawer-in{0%{transform:translateY(100%)}to{transform:translate(0)}}@keyframes btt-drawer-in{0%{transform:translateY(100%)}to{transform:translate(0)}}@-webkit-keyframes btt-drawer-out{0%{transform:translate(0)}to{transform:translateY(100%)}}@keyframes btt-drawer-out{0%{transform:translate(0)}to{transform:translateY(100%)}}.el-drawer{position:absolute;box-sizing:border-box;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);outline:0}.el-drawer__body>*,.el-empty{-webkit-box-sizing:border-box}.el-drawer.rtl{-webkit-animation:rtl-drawer-out .3s;animation:rtl-drawer-out .3s;right:0}.el-drawer__open .el-drawer.rtl{-webkit-animation:rtl-drawer-in .3s 1ms;animation:rtl-drawer-in .3s 1ms}.el-drawer.ltr{-webkit-animation:ltr-drawer-out .3s;animation:ltr-drawer-out .3s;left:0}.el-drawer__open .el-drawer.ltr{-webkit-animation:ltr-drawer-in .3s 1ms;animation:ltr-drawer-in .3s 1ms}.el-drawer.ttb{-webkit-animation:ttb-drawer-out .3s;animation:ttb-drawer-out .3s;top:0}.el-drawer__open .el-drawer.ttb{-webkit-animation:ttb-drawer-in .3s 1ms;animation:ttb-drawer-in .3s 1ms}.el-drawer.btt{-webkit-animation:btt-drawer-out .3s;animation:btt-drawer-out .3s;bottom:0}.el-drawer__open .el-drawer.btt{-webkit-animation:btt-drawer-in .3s 1ms;animation:btt-drawer-in .3s 1ms}.el-drawer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;margin:0}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:20px 20px 0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__close-btn{border:none;cursor:pointer;font-size:20px;color:inherit;background-color:transparent}.el-drawer__body{flex:1;overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.btt,.el-drawer.ttb,.el-drawer__container{width:100%;left:0;right:0}.el-drawer__container{position:relative}.el-drawer-fade-enter-active{-webkit-animation:el-drawer-fade-in .3s;animation:el-drawer-fade-in .3s}.el-drawer-fade-leave-active{animation:el-drawer-fade-in .3s reverse}.el-popconfirm__main{display:flex;align-items:center}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin:0}@-webkit-keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{height:16px;margin-top:16px;background:#f2f2f2}.el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background-size:400% 100%;-webkit-animation:el-skeleton-loading 1.4s ease infinite;animation:el-skeleton-loading 1.4s ease infinite}.el-skeleton__item{background:#f2f2f2;display:inline-block;height:16px;border-radius:4px;width:100%}.el-empty,.el-skeleton__image{display:-ms-flexbox}.el-skeleton__circle{border-radius:50%;width:36px;height:36px;line-height:36px}.el-skeleton__circle--lg{width:40px;height:40px;line-height:40px}.el-skeleton__circle--md{width:28px;height:28px;line-height:28px}.el-skeleton__button{height:40px;width:64px;border-radius:4px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:13px}.el-skeleton__caption{height:12px}.el-skeleton__h1{height:20px}.el-skeleton__h3{height:18px}.el-skeleton__h5{height:16px}.el-skeleton__image{width:unset;display:flex;align-items:center;justify-content:center;border-radius:0}.el-skeleton__image svg{fill:#dcdde0;width:22%;height:22%}.el-empty{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:40px 0}.el-empty__image{width:160px}.el-empty__image img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-o-object-fit:contain;object-fit:contain}.el-empty__image svg{fill:#dcdde0}.el-empty__description{margin-top:20px}.el-empty__description p{margin:0;font-size:14px;color:#909399}.el-empty__bottom,.el-result__title{margin-top:20px}.el-descriptions{box-sizing:border-box;font-size:14px;color:#303133}.el-descriptions__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.el-descriptions__title{font-size:16px;font-weight:700}.el-descriptions--mini,.el-descriptions--small{font-size:12px}.el-descriptions__body{color:#606266;background-color:#fff}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%;table-layout:fixed}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell{box-sizing:border-box;text-align:left;font-weight:400;line-height:1.5}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-right{text-align:right}.el-descriptions .is-bordered{table-layout:auto}.el-descriptions .is-bordered .el-descriptions-item__cell{border:1px solid #ebeef5;padding:12px 10px}.el-descriptions :not(.is-bordered) .el-descriptions-item__cell{padding-bottom:12px}.el-descriptions--medium.is-bordered .el-descriptions-item__cell{padding:10px}.el-descriptions--medium:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:10px}.el-descriptions--small.is-bordered .el-descriptions-item__cell{padding:8px 10px}.el-descriptions--small:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:8px}.el-descriptions--mini.is-bordered .el-descriptions-item__cell{padding:6px 10px}.el-descriptions--mini:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:6px}.el-descriptions-item__container{display:flex}.el-descriptions-item__label.has-colon:after{content:":";position:relative;top:-.5px}.el-descriptions-item__label.is-bordered-label{font-weight:700;color:#909399;background:#fafafa}.el-descriptions-item__label:not(.is-bordered-label){margin-right:10px}.el-result{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:40px 30px}.el-result__icon svg{width:64px;height:64px}.el-result__title p{margin:0;font-size:20px;color:#303133;line-height:1.3}.el-result__subtitle{margin-top:10px}.el-result__subtitle p{margin:0;font-size:14px;color:#606266;line-height:1.3}.el-result__extra{margin-top:30px}.el-result .icon-success{fill:#67c23a}.el-result .icon-error{fill:#f56c6c}.el-result .icon-info{fill:#909399}.el-result .icon-warning{fill:#e6a23c} \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/fonts/element-icons.535877f5.woff b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/fonts/element-icons.535877f5.woff new file mode 100644 index 000000000..02b9a2539 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/fonts/element-icons.535877f5.woff differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/fonts/element-icons.732389de.ttf b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/fonts/element-icons.732389de.ttf new file mode 100644 index 000000000..91b74de36 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/fonts/element-icons.732389de.ttf differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/index.html b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/index.html new file mode 100644 index 000000000..a19323569 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/index.html @@ -0,0 +1 @@ +variant-form
\ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/js/app.9fe02340.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/js/app.9fe02340.js new file mode 100644 index 000000000..334033bca --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/page/js/app.9fe02340.js @@ -0,0 +1 @@ +(function(e){function t(t){for(var n,s,a=t[0],r=t[1],d=t[2],u=0,f=[];u=this.colLength-1||e>this.colLength-1||this.colArray[e].options.rowspan!==this.widget.options.rowspan},mergeWholeRowDisabled:function(){return this.colLength<=1||this.colLength===this.widget.options.colspan},mergeAboveRowDisabled:function(){return this.rowIndex<=0||this.rowArray[this.rowIndex-1].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeBelowRowDisabled:function(){var e=this.rowIndex+this.widget.options.rowspan;return this.rowIndex>=this.rowLength-1||e>this.rowLength-1||this.rowArray[e].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeWholeColDisabled:function(){return this.rowLength<=1||this.rowLength===this.widget.options.rowspan},undoMergeColDisabled:function(){return this.widget.merged||this.widget.options.colspan<=1},undoMergeRowDisabled:function(){return this.widget.merged||this.widget.options.rowspan<=1},deleteWholeColDisabled:function(){return 1===this.colLength||this.widget.options.colspan===this.colLength},deleteWholeRowDisabled:function(){return 1===this.rowLength||this.widget.options.rowspan===this.rowLength}},watch:{},created:function(){this.initRefList()},methods:{selectWidget:function(e){this.designer.setSelected(e)},checkContainerMove:function(e){return this.designer.checkWidgetMove(e)},onTableDragEnd:function(e,t){},onTableDragAdd:function(e,t){var i=e.newIndex;t[i]&&this.designer.setSelected(t[i]),this.designer.emitHistoryChange(),this.designer.emitEvent("field-selected",this.widget)},onTableDragUpdate:function(){this.designer.emitHistoryChange()},selectParentWidget:function(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},handleTableCellCommand:function(e){"insertLeftCol"===e?this.insertLeftCol():"insertRightCol"===e?this.insertRightCol():"insertAboveRow"===e?this.insertAboveRow():"insertBelowRow"===e?this.insertBelowRow():"mergeLeftCol"===e?this.mergeLeftCol():"mergeRightCol"===e?this.mergeRightCol():"mergeWholeCol"===e?this.mergeWholeCol():"mergeAboveRow"===e?this.mergeAboveRow():"mergeBelowRow"===e?this.mergeBelowRow():"mergeWholeRow"===e?this.mergeWholeRow():"undoMergeCol"===e?this.undoMergeCol():"undoMergeRow"===e?this.undoMergeRow():"deleteWholeCol"===e?this.deleteWholeCol():"deleteWholeRow"===e&&this.deleteWholeRow()},insertLeftCol:function(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!0)},insertRightCol:function(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!1)},insertAboveRow:function(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!0)},insertBelowRow:function(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!1)},mergeLeftCol:function(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeRightCol:function(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeRow:function(){this.designer.mergeTableWholeRow(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},mergeAboveRow:function(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeBelowRow:function(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeCol:function(){this.designer.mergeTableWholeCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},undoMergeCol:function(){this.designer.undoMergeTableCol(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},undoMergeRow:function(){this.designer.undoMergeTableRow(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},deleteWholeCol:function(){this.designer.deleteTableWholeCol(this.rowArray,this.colIndex)},deleteWholeRow:function(){this.designer.deleteTableWholeRow(this.rowArray,this.rowIndex)}}},f=u,p=(i("6e5c"),i("2877")),m=Object(p["a"])(f,n,o,!1,null,"5f7bc992",null);t["default"]=m.exports},"15c6":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-picture-upload-field",use:"icon-picture-upload-field-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"16f3":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.prefixIcon")}},[i("el-input",{attrs:{type:"text"},model:{value:e.optionModel.prefixIcon,callback:function(t){e.$set(e.optionModel,"prefixIcon",t)},expression:"optionModel.prefixIcon"}})],1)},o=[],l=i("79fa"),s={name:"prefixIcon-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"28d62b7a",null);t["default"]=d.exports},1795:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.inactiveColor")}},[i("el-color-picker",{model:{value:e.optionModel.inactiveColor,callback:function(t){e.$set(e.optionModel,"inactiveColor",t)},expression:"optionModel.inactiveColor"}})],1)},o=[],l=i("79fa"),s={name:"inactiveColor-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"03b49a61",null);t["default"]=d.exports},"17f0":function(e,t,i){},1895:function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-switch-field",use:"icon-switch-field-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"18ba":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-redo",use:"icon-redo-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},1973:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:"onSubFormRowChange","label-width":"150px"}},[i("el-button",{attrs:{type:"info",icon:"el-icon-edit",plain:"",round:""},on:{click:function(t){return e.editEventHandler("onSubFormRowChange",e.eventParams)}}},[e._v(" "+e._s(e.i18nt("designer.setting.addEventHandler")))])],1)},o=[],l=i("79fa"),s=i("7d6c"),a={name:"onSubFormRowChange-editor",mixins:[l["b"],s["a"]],props:{designer:Object,selectedWidget:Object,optionModel:Object},data:function(){return{eventParams:["subFormData"]}}},r=a,d=i("2877"),c=Object(d["a"])(r,n,o,!1,null,"7109dd9a",null);t["default"]=c.exports},"19fd":function(e,t,i){"use strict";i("554e")},"1bdc":function(e,t,i){},"1d42":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-time-field",use:"icon-time-field-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"1e67":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.clearable")}},[i("el-switch",{model:{value:e.optionModel.clearable,callback:function(t){e.$set(e.optionModel,"clearable",t)},expression:"optionModel.clearable"}})],1)},o=[],l=i("79fa"),s={name:"clearable-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"5534f7e5",null);t["default"]=d.exports},"20c0":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form-item-wrapper",{attrs:{designer:e.designer,field:e.field,rules:e.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId}},[i("el-time-picker",{ref:"fieldEditor",staticClass:"full-width-input",attrs:{disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:e.field.options.size,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss",placeholder:e.field.options.placeholder||e.i18nt("render.hint.timePlaceholder")},on:{focus:e.handleFocusCustomEvent,blur:e.handleBlurCustomEvent,change:e.handleChangeEvent},model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})],1)},o=[],l=(i("a9e3"),i("9eeb")),s=i("c6e3"),a=i("79fa"),r=i("2d11"),d={name:"time-widget",componentName:"FieldWidget",mixins:[s["a"],r["a"],a["b"]],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper:l["default"]},inject:["refList","formConfig","globalOptionData","globalModel"],data:function(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate:function(){},created:function(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted:function(){this.handleOnMounted()},beforeDestroy:function(){this.unregisterFromRefList()},methods:{}},c=d,u=(i("9ebd"),i("2877")),f=Object(u["a"])(c,n,o,!1,null,"0761446e",null);t["default"]=f.exports},"20e0":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-slot-component",use:"icon-slot-component-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"22a7":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.buttonStyle")}},[i("el-switch",{model:{value:e.optionModel.buttonStyle,callback:function(t){e.$set(e.optionModel,"buttonStyle",t)},expression:"optionModel.buttonStyle"}})],1)},o=[],l=i("79fa"),s={name:"buttonStyle-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"e14fae56",null);t["default"]=d.exports},2305:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",[i("span",{attrs:{slot:"label"},slot:"label"},[e._v(e._s(e.i18nt("designer.setting.fileTypes"))+" "),i("el-tooltip",{attrs:{effect:"light",content:e.i18nt("designer.setting.fileTypesHelp")}},[i("i",{staticClass:"el-icon-info"})])],1),i("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","allow-create":"",filterable:"","default-first-option":""},model:{value:e.optionModel.fileTypes,callback:function(t){e.$set(e.optionModel,"fileTypes",t)},expression:"optionModel.fileTypes"}},e._l(e.uploadPictureTypes,(function(e,t){return i("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)},o=[],l=i("79fa"),s={name:"picture-upload-fileTypes-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object},data:function(){return{uploadPictureTypes:[{value:"jpg",label:"jpg"},{value:"jpeg",label:"jpeg"},{value:"png",label:"png"},{value:"gif",label:"gif"}]}}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"651805a2",null);t["default"]=d.exports},2445:function(e,t,i){"use strict";i("e905")},"25e2":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-radio-field",use:"icon-radio-field-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"26a6":function(e,t,i){"use strict";i("b0c0");t["a"]={methods:{initRefList:function(){null!==this.refList&&this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.refList[e];return!i&&t&&this.$message.error(this.i18nt("render.hint.refNotFound")+e),i},registerToRefList:function(e){null!==this.refList&&this.widget.options.name&&(e&&delete this.refList[e],this.refList[this.widget.options.name]=this)}}}},"26cb":function(e,t,i){},"27a8":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-date-field",use:"icon-date-field-usage",viewBox:"0 0 1132 1024",content:''});s.a.add(a);t["default"]=a},"28ed":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.showScore")}},[i("el-switch",{model:{value:e.optionModel.showScore,callback:function(t){e.$set(e.optionModel,"showScore",t)},expression:"optionModel.showScore"}})],1)},o=[],l=i("79fa"),s={name:"showScore-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"1bb4aaaf",null);t["default"]=d.exports},"28f2":function(e,t,i){},"29a3":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.checkStrictly")}},[i("el-switch",{model:{value:e.optionModel.checkStrictly,callback:function(t){e.$set(e.optionModel,"checkStrictly",t)},expression:"optionModel.checkStrictly"}})],1)},o=[],l=i("79fa"),s={name:"checkStrictly-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"615c8dbf",null);t["default"]=d.exports},"2b13":function(e,t,i){"use strict";i("eed3")},"2b47":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.showRowNumber")}},[i("el-switch",{model:{value:e.optionModel.showRowNumber,callback:function(t){e.$set(e.optionModel,"showRowNumber",t)},expression:"optionModel.showRowNumber"}})],1)},o=[],l=i("79fa"),s={name:"showRowNumber-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"148dc69b",null);t["default"]=d.exports},"2c6d":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.hidden")}},[i("el-switch",{model:{value:e.optionModel.hidden,callback:function(t){e.$set(e.optionModel,"hidden",t)},expression:"optionModel.hidden"}})],1)},o=[],l=i("79fa"),s={name:"hidden-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"d798e8e2",null);t["default"]=d.exports},"2d11":function(e,t,i){"use strict";i("b0c0"),i("a434"),i("d3b7"),i("159b"),i("d81d");var n=i("ca00"),o=i("a00a");t["a"]={inject:["refList","formConfig","globalOptionData","globalModel","getOptionData"],computed:{subFormName:function(){return this.parentWidget?this.parentWidget.options.name:""},subFormItemFlag:function(){return!!this.parentWidget&&"sub-form"===this.parentWidget.type},formModel:{cache:!1,get:function(){return this.globalModel.formModel}}},methods:{getPropName:function(){return this.subFormItemFlag&&!this.designState?this.subFormName+"."+this.subFormRowIndex+"."+this.field.options.name:this.field.options.name},initFieldModel:function(){var e=this;if(this.field.formItemFlag){if(this.subFormItemFlag&&!this.designState){var t=this.formModel[this.subFormName];return void 0!==t&&void 0!==t[this.subFormRowIndex]&&void 0!==t[this.subFormRowIndex][this.field.options.name]||void 0===this.field.options.defaultValue?void 0===t[this.subFormRowIndex][this.field.options.name]?(this.fieldModel=null,t[this.subFormRowIndex][this.field.options.name]=null):this.fieldModel=t[this.subFormRowIndex][this.field.options.name]:(this.fieldModel=this.field.options.defaultValue,t[this.subFormRowIndex][this.field.options.name]=this.field.options.defaultValue),setTimeout((function(){e.handleOnChangeForSubForm(e.fieldModel,e.oldFieldValue,t,e.subFormRowId)}),800),this.oldFieldValue=Object(n["d"])(this.fieldModel),void this.initFileList()}void 0===this.formModel[this.field.options.name]&&void 0!==this.field.options.defaultValue?this.fieldModel=this.field.options.defaultValue:void 0===this.formModel[this.field.options.name]?this.formModel[this.field.options.name]=null:this.fieldModel=this.formModel[this.field.options.name],this.oldFieldValue=Object(n["d"])(this.fieldModel),this.initFileList()}},initFileList:function(){"picture-upload"!==this.field.type&&"file-upload"!==this.field.type||!0===this.designState||this.fieldModel&&(Array.isArray(this.fieldModel)?this.fileList=Object(n["d"])(this.fieldModel):this.fileList.splice(0,0,Object(n["d"])(this.fieldModel)))},initEventHandler:function(){this.$on("setFormData",(function(e){this.subFormItemFlag||this.setValue(e[this.field.options.name])})),this.$on("field-value-changed",(function(e){if(this.subFormItemFlag){var t=this.formModel[this.subFormName];this.handleOnChangeForSubForm(e[0],e[1],t,this.subFormRowId)}else this.handleOnChange(e[0],e[1])})),this.$on("reloadOptionItems",(function(e){(0===e.length||e.indexOf(this.field.options.name)>-1)&&this.initOptionItems(!0)}))},handleOnCreated:function(){if(this.field.options.onCreated){var e=new Function(this.field.options.onCreated);e.call(this)}},handleOnMounted:function(){if(this.field.options.onMounted){var e=new Function(this.field.options.onMounted);e.call(this)}},registerToRefList:function(e){null!==this.refList&&this.field.options.name&&(this.subFormItemFlag&&!this.designState?(e&&delete this.refList[e+"@row"+this.subFormRowId],this.refList[this.field.options.name+"@row"+this.subFormRowId]=this):(e&&delete this.refList[e],this.refList[this.field.options.name]=this))},unregisterFromRefList:function(){if(null!==this.refList&&this.field.options.name){var e=this.field.options.name;this.subFormItemFlag&&!this.designState?delete this.refList[e+"@row"+this.subFormRowId]:delete this.refList[e]}},initOptionItems:function(e){if(!this.designState&&("radio"===this.field.type||"checkbox"===this.field.type||"select"===this.field.type||"cascader"===this.field.type)){var t=this.getOptionData();t&&t.hasOwnProperty(this.field.options.name)&&(e?this.reloadOptions(t[this.field.options.name]):this.loadOptions(t[this.field.options.name]))}},refreshDefaultValue:function(){!0===this.designState&&void 0!==this.field.options.defaultValue&&(this.fieldModel=this.field.options.defaultValue)},clearFieldRules:function(){this.field.formItemFlag&&this.rules.splice(0,this.rules.length)},buildFieldRules:function(){var e=this;if(this.field.formItemFlag){if(this.rules.splice(0,this.rules.length),this.field.options.required&&this.rules.push({required:!0,trigger:["blur"],message:this.field.options.requiredHint||this.i18nt("render.hint.fieldRequired")}),this.field.options.validation){var t=this.field.options.validation;o["a"][t]?this.rules.push({validator:o["a"][t],trigger:["blur","change"],label:this.field.options.label,errorMsg:this.field.options.validationHint}):this.rules.push({validator:o["a"]["regExp"],trigger:["blur","change"],regExp:t,label:this.field.options.label,errorMsg:this.field.options.validationHint})}if(this.field.options.onValidate){var i=function(t,i,n){var o=new Function("rule","value","callback",e.field.options.onValidate);return o.call(e,t,i,n)};this.rules.push({validator:i,trigger:["blur","change"],label:this.field.options.label})}}},disableChangeValidate:function(){this.rules&&this.rules.forEach((function(e){e.trigger&&e.trigger.splice(0,e.trigger.length)}))},enableChangeValidate:function(){this.rules&&this.rules.forEach((function(e){e.trigger&&(e.trigger.push("blur"),e.trigger.push("change"))}))},disableOptionOfList:function(e,t){e&&e.length>0&&e.forEach((function(e){e.value===t&&(e.disabled=!0)}))},enableOptionOfList:function(e,t){e&&e.length>0&&e.forEach((function(e){e.value===t&&(e.disabled=!1)}))},emitFieldDataChange:function(e,t){this.$emit("field-value-changed",[e,t]),this.dispatch("VFormRender","fieldChange",[this.field.options.name,e,t,this.subFormName,this.subFormRowIndex])},syncUpdateFormModel:function(e){if(!this.designState)if(this.subFormItemFlag){var t=this.formModel[this.subFormName]||[{}],i=t[this.subFormRowIndex];i[this.field.options.name]=e}else this.formModel[this.field.options.name]=e},handleChangeEvent:function(e){this.syncUpdateFormModel(e),this.emitFieldDataChange(e,this.oldFieldValue),this.oldFieldValue=Object(n["d"])(e),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleFocusCustomEvent:function(e){if(this.oldFieldValue=Object(n["d"])(this.fieldModel),this.field.options.onFocus){var t=new Function("event",this.field.options.onFocus);t.call(this,e)}},handleBlurCustomEvent:function(e){if(this.field.options.onBlur){var t=new Function("event",this.field.options.onBlur);t.call(this,e)}},handleInputCustomEvent:function(e){if(this.syncUpdateFormModel(e),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.field.options.onInput){var t=new Function("value",this.field.options.onInput);t.call(this,e)}},emitAppendButtonClick:function(){if(!this.designState)if(this.field.options.onAppendButtonClick){var e=new Function(this.field.options.onAppendButtonClick);e.call(this)}else this.dispatch("VFormRender","appendButtonClick",[this])},handleOnChange:function(e,t){if(this.field.options.onChange){var i=new Function("value","oldValue",this.field.options.onChange);i.call(this,e,t)}},handleOnChangeForSubForm:function(e,t,i,n){if(this.field.options.onChange){var o=new Function("value","oldValue","subFormData","rowId",this.field.options.onChange);o.call(this,e,t,i,n)}},handleButtonWidgetClick:function(){if(!this.designState)if(this.field.options.onClick){var e=new Function(this.field.options.onClick);e.call(this)}else this.dispatch("VFormRender","buttonClick",[this])},remoteQuery:function(e){if(this.field.options.onRemoteQuery){var t=new Function("keyword",this.field.options.onRemoteQuery);t.call(this,e)}},getFormRef:function(){return this.refList["v_form_ref"]},getWidgetRef:function(e,t){var i=this.refList[e];return!i&&t&&this.$message.error(this.i18nt("render.hint.refNotFound")+e),i},getFieldEditor:function(){return this.$refs["fieldEditor"]},setValue:function(e){if(this.field.formItemFlag){var t=Object(n["d"])(this.fieldModel);this.fieldModel=e,this.initFileList(),this.syncUpdateFormModel(e),this.emitFieldDataChange(e,t)}},getValue:function(){return this.fieldModel},resetField:function(){if(!this.subFormItemFlag){var e=this.field.options.defaultValue;this.setValue(e),"picture-upload"!==this.field.type&&"file-upload"!==this.field.type||(this.$refs["fieldEditor"].clearFiles(),this.fileList.splice(0,this.fileList.length))}},setWidgetOption:function(e,t){this.field.options.hasOwnProperty(e)&&(this.field.options[e]=t)},setReadonly:function(e){this.field.options.readonly=e},setDisabled:function(e){this.field.options.disabled=e},setAppendButtonVisible:function(e){this.field.options.appendButton=e},setAppendButtonDisabled:function(e){this.field.options.appendButtonDisabled=e},setHidden:function(e){this.field.options.hidden=e,e?this.clearFieldRules():this.buildFieldRules()},setRequired:function(e){this.field.options.required=e,this.buildFieldRules()},setLabel:function(e){this.field.options.label=e},focus:function(){this.getFieldEditor()&&this.getFieldEditor().focus&&this.getFieldEditor().focus()},clearSelectedOptions:function(){"checkbox"!==this.field.type&&"radio"!==this.field.type&&"select"!==this.field.type||("checkbox"===this.field.type||"select"===this.field.type&&this.field.options.multiple?this.fieldModel=[]:this.fieldModel="")},loadOptions:function(e){this.field.options.optionItems=Object(n["d"])(e)},reloadOptions:function(e){this.field.options.optionItems=Object(n["d"])(e)},getOptions:function(){return this.field.options.optionItems},disableOption:function(e){this.disableOptionOfList(this.field.options.optionItems,e)},enableOption:function(e){this.enableOptionOfList(this.field.options.optionItems,e)},setUploadHeader:function(e,t){this.$set(this.uploadHeaders,e,t)},setUploadData:function(e,t){this.$set(this.uploadData,e,t)},setToolbar:function(e){this.customToolbar=e},isSubFormItem:function(){return!!this.parentWidget&&"sub-form"===this.parentWidget.type},addCssClass:function(e){this.field.options.customClass?this.field.options.customClass.push(e):this.field.options.customClass=[e]},removeCssClass:function(e){if(this.field.options.customClass){var t=-1;this.field.options.customClass.map((function(i,n){i===e&&(t=n)})),t>-1&&this.field.options.customClass.splice(t,1)}}}}},"2d13":function(e,t,i){},"2d9e":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-card",use:"icon-card-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"2dc5":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.limit")}},[i("el-input-number",{staticClass:"hide-spin-button",staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.optionModel.limit,callback:function(t){e.$set(e.optionModel,"limit",t)},expression:"optionModel.limit"}})],1)},o=[],l=i("79fa"),s={name:"limit-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"41408032",null);t["default"]=d.exports},"2dd9":function(e,t,i){},"2ec9":function(e,t,i){"use strict";i("04fd")},"2faa":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form-item-wrapper",{attrs:{designer:e.designer,field:e.field,rules:e.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId}},[i("el-rate",{ref:"fieldEditor",attrs:{disabled:e.field.options.disabled,max:e.field.options.max,"low-threshold":e.field.options.lowThreshold,"high-threshold":e.field.options.highThreshold,"allow-half":e.field.options.allowHalf,"show-text":e.field.options.showText,"show-score":e.field.options.showScore},on:{change:e.handleChangeEvent},model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})],1)},o=[],l=(i("a9e3"),i("9eeb")),s=i("c6e3"),a=i("79fa"),r=i("2d11"),d={name:"rate-widget",componentName:"FieldWidget",mixins:[s["a"],r["a"],a["b"]],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper:l["default"]},inject:["refList","formConfig","globalOptionData","globalModel"],data:function(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate:function(){},created:function(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted:function(){this.handleOnMounted()},beforeDestroy:function(){this.unregisterFromRefList()},methods:{}},c=d,u=(i("623d"),i("2877")),f=Object(u["a"])(c,n,o,!1,null,"02bf17e4",null);t["default"]=f.exports},"30ac":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.automaticDropdown")}},[i("el-switch",{model:{value:e.optionModel.automaticDropdown,callback:function(t){e.$set(e.optionModel,"automaticDropdown",t)},expression:"optionModel.automaticDropdown"}})],1)},o=[],l=i("79fa"),s={name:"automaticDropdown-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"82662fa2",null);t["default"]=d.exports},"31ab":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.inactiveText")}},[i("el-input",{model:{value:e.optionModel.inactiveText,callback:function(t){e.$set(e.optionModel,"inactiveText",t)},expression:"optionModel.inactiveText"}})],1)},o=[],l=i("79fa"),s={name:"inactiveText-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"03f5012d",null);t["default"]=d.exports},"31b7":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-form-item",{attrs:{"label-width":"0"}},[i("el-divider",{staticClass:"custom-divider"},[e._v(e._s(e.i18nt("designer.setting.uploadSetting")))])],1),i("el-form-item",{attrs:{label:e.i18nt("designer.setting.uploadURL")}},[i("el-input",{attrs:{type:"text"},model:{value:e.optionModel.uploadURL,callback:function(t){e.$set(e.optionModel,"uploadURL",t)},expression:"optionModel.uploadURL"}})],1)],1)},o=[],l=i("79fa"),s={name:"uploadURL-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"2b299867",null);t["default"]=d.exports},"329d":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.colOffsetTitle")}},[i("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:24},model:{value:e.optionModel.offset,callback:function(t){e.$set(e.optionModel,"offset",e._n(t))},expression:"optionModel.offset"}})],1)},o=[],l=i("79fa"),s={name:"grid-col-offset-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"b3fd22fe",null);t["default"]=d.exports},"333d":function(e,t,i){"use strict";i("5660")},"345a":function(e,t,i){"use strict";i("c372")},"34c5":function(e,t,i){"use strict";i("baf1")},"34f0":function(e,t,i){"use strict";i("b0c0"),i("d3b7"),i("159b"),i("a434"),i("d81d");var n=i("ca00");t["a"]={computed:{customClass:function(){return this.widget.options.customClass||""},formModel:{cache:!1,get:function(){return this.globalModel.formModel}}},mounted:function(){this.callSetHidden()},methods:{unregisterFromRefList:function(){if(null!==this.refList&&this.widget.options.name){var e=this.widget.options.name;delete this.refList[e]}},callSetHidden:function(){!0===this.widget.options.hidden&&this.setHidden(!0)},setHidden:function(e){var t=this;this.widget.options.hidden=e;var i=function(i){var n=i.options.name,o=t.getWidgetRef(n);e&&o&&o.clearFieldRules&&o.clearFieldRules(),!e&&o&&o.buildFieldRules&&o.buildFieldRules()};Object(n["t"])(this.widget,i)},activeTab:function(e){var t=this;e>=0&&e=0&&e=0&&e=0&&e=0&&e0&&this.rowIdData.forEach((function(t,i){e.disableSubFormRow(i)})),this.actionDisabled=!0},enableSubForm:function(){var e=this;this.rowIdData.length>0&&this.rowIdData.forEach((function(t,i){e.enableSubFormRow(i)})),this.actionDisabled=!1},resetSubForm:function(){if("sub-form"===this.widget.type){var e=this.formModel[this.widget.options.name];e&&(e.splice(0,e.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues:function(){if("sub-form"===this.widget.type)return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},setSubFormValues:function(e){},addCssClass:function(e){this.widget.options.customClass?this.widget.options.customClass.push(e):this.widget.options.customClass=[e]},removeCssClass:function(e){if(this.widget.options.customClass){var t=-1;this.widget.options.customClass.map((function(i,n){i===e&&(t=n)})),t>-1&&this.widget.options.customClass.splice(t,1)}}}}},3559:function(e,t,i){},"35c2":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.contentPosition")}},[i("el-select",{model:{value:e.optionModel.contentPosition,callback:function(t){e.$set(e.optionModel,"contentPosition",t)},expression:"optionModel.contentPosition"}},[i("el-option",{attrs:{label:"center",value:"center"}}),i("el-option",{attrs:{label:"left",value:"left"}}),i("el-option",{attrs:{label:"right",value:"right"}})],1)],1)},o=[],l=i("79fa"),s={name:"contentPosition-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"d4bc4820",null);t["default"]=d.exports},"36ad":function(e,t,i){},"36c7":function(e,t,i){},"36f6":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.labelHidden")}},[i("el-switch",{model:{value:e.optionModel.labelHidden,callback:function(t){e.$set(e.optionModel,"labelHidden",t)},expression:"optionModel.labelHidden"}})],1)},o=[],l=i("79fa"),s={name:"labelHidden-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"086f4433",null);t["default"]=d.exports},"37ab":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticStyle:{display:"none"}})},o=[],l={name:"checkbox-defaultValue-editor",props:{designer:Object,selectedWidget:Object,optionModel:Object}},s=l,a=i("2877"),r=Object(a["a"])(s,n,o,!1,null,"b77e89ba",null);t["default"]=r.exports},"38b9":function(e,t,i){"use strict";i("d6e6")},"390e":function(e,t,i){"use strict";i("d85f")},3918:function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-time-range-field",use:"icon-time-range-field-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},3952:function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-rich-editor-field",use:"icon-rich-editor-field-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"3ad3":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form-item-wrapper",{attrs:{designer:e.designer,field:e.field,rules:e.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId}},[i("el-color-picker",{ref:"fieldEditor",attrs:{size:e.field.options.size,disabled:e.field.options.disabled},on:{change:e.handleChangeEvent},model:{value:e.fieldModel,callback:function(t){e.fieldModel=t},expression:"fieldModel"}})],1)},o=[],l=(i("a9e3"),i("9eeb")),s=i("c6e3"),a=i("79fa"),r=i("2d11"),d={name:"color-widget",componentName:"FieldWidget",mixins:[s["a"],r["a"],a["b"]],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper:l["default"]},inject:["refList","formConfig","globalOptionData","globalModel"],data:function(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate:function(){},created:function(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted:function(){this.handleOnMounted()},beforeDestroy:function(){this.unregisterFromRefList()},methods:{}},c=d,u=(i("a906"),i("2877")),f=Object(u["a"])(c,n,o,!1,null,"53ad0c08",null);t["default"]=f.exports},"3bc5":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.maxStars")}},[i("el-input-number",{staticClass:"hide-spin-button",staticStyle:{width:"100%"},attrs:{min:1,max:10},model:{value:e.optionModel.max,callback:function(t){e.$set(e.optionModel,"max",t)},expression:"optionModel.max"}})],1)},o=[],l=i("79fa"),s={name:"rate-max-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"59c5a4f2",null);t["default"]=d.exports},"3c10":function(e,t,i){"use strict";i("848c")},"3e10":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.labelAlign")}},[i("el-radio-group",{staticClass:"radio-group-custom",model:{value:e.optionModel.labelAlign,callback:function(t){e.$set(e.optionModel,"labelAlign",t)},expression:"optionModel.labelAlign"}},[i("el-radio-button",{attrs:{label:"label-left-align"}},[e._v(" "+e._s(e.i18nt("designer.setting.leftAlign")))]),i("el-radio-button",{attrs:{label:"label-center-align"}},[e._v(" "+e._s(e.i18nt("designer.setting.centerAlign")))]),i("el-radio-button",{attrs:{label:"label-right-align"}},[e._v(" "+e._s(e.i18nt("designer.setting.rightAlign")))])],1)],1)},o=[],l=i("79fa"),s={name:"sub-form-labelAlign-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=(i("0dee"),i("2877")),d=Object(r["a"])(a,n,o,!1,null,"66fb0270",null);t["default"]=d.exports},"3f28":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:"onUploadError","label-width":"150px"}},[i("el-button",{attrs:{type:"info",icon:"el-icon-edit",plain:"",round:""},on:{click:function(t){return e.editEventHandler("onUploadError",e.eventParams)}}},[e._v(" "+e._s(e.i18nt("designer.setting.addEventHandler")))])],1)},o=[],l=i("79fa"),s=i("7d6c"),a={name:"onUploadError-editor",mixins:[l["b"],s["a"]],props:{designer:Object,selectedWidget:Object,optionModel:Object},data:function(){return{eventParams:["error","file","fileList"]}}},r=a,d=i("2877"),c=Object(d["a"])(r,n,o,!1,null,"a1332e98",null);t["default"]=c.exports},"401c":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.showFileList")}},[i("el-switch",{model:{value:e.optionModel.showFileList,callback:function(t){e.$set(e.optionModel,"showFileList",t)},expression:"optionModel.showFileList"}})],1)},o=[],l=i("79fa"),s={name:"showFileList-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"6901fcd5",null);t["default"]=d.exports},"40fa":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-text-field",use:"icon-text-field-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},4120:function(e,t,i){"use strict";i("1bdc")},"423c":function(e,t,i){},"43b3":function(e,t,i){},"447a":function(e,t,i){"use strict";i("6043")},"44fb":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.showText")}},[i("el-switch",{model:{value:e.optionModel.showText,callback:function(t){e.$set(e.optionModel,"showText",t)},expression:"optionModel.showText"}})],1)},o=[],l=i("79fa"),s={name:"showText-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"ed97a906",null);t["default"]=d.exports},4595:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.placeholder")}},[i("el-input",{attrs:{type:"text"},model:{value:e.optionModel.placeholder,callback:function(t){e.$set(e.optionModel,"placeholder",t)},expression:"optionModel.placeholder"}})],1)},o=[],l=i("79fa"),s=i("b2bf"),a={name:"placeholder-editor",mixins:[l["b"],s["a"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},r=a,d=i("2877"),c=Object(d["a"])(r,n,o,!1,null,"03f971ba",null);t["default"]=c.exports},"47f1":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"491c":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-divider",use:"icon-divider-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"4a70":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form-item-wrapper",{attrs:{designer:e.designer,field:e.field,rules:e.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId}},[i("el-upload",{ref:"fieldEditor",staticClass:"dynamicPseudoAfter",class:{hideUploadDiv:e.uploadBtnHidden},style:e.styleVariables,attrs:{disabled:e.field.options.disabled,action:e.field.options.uploadURL,headers:e.uploadHeaders,data:e.uploadData,"with-credentials":e.field.options.withCredentials,multiple:e.field.options.multipleSelect,"file-list":e.fileList,"show-file-list":e.field.options.showFileList,limit:e.field.options.limit,"on-exceed":e.handleFileExceed,"before-upload":e.beforeFileUpload,"on-success":e.handleFileUpload,"on-error":e.handelUploadError,"on-remove":e.handleFileRemove},scopedSlots:e._u([{key:"file",fn:function(t){var n=t.file;return[i("div",{staticClass:"upload-file-list"},[i("span",{staticClass:"upload-file-name",attrs:{title:n.name}},[e._v(e._s(n.name))]),i("a",{attrs:{href:n.url,download:""}},[i("i",{staticClass:"el-icon-download file-action",attrs:{title:e.i18nt("render.hint.downloadFile")}})]),e.field.options.disabled?e._e():i("i",{staticClass:"el-icon-delete file-action",attrs:{title:e.i18nt("render.hint.removeFile")},on:{click:function(t){return e.removeUploadFile(n.name)}}})])]}}])},[e.field.options.uploadTip?i("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(e._s(e.field.options.uploadTip))]):e._e(),i("i",{staticClass:"el-icon-plus avatar-uploader-icon",attrs:{slot:"default"},slot:"default"})])],1)},o=[],l=(i("a9e3"),i("ac1f"),i("5319"),i("b0c0"),i("d3b7"),i("159b"),i("a434"),i("9eeb")),s=i("c6e3"),a=i("79fa"),r=i("ca00"),d=i("2d11"),c="'"+Object(a["c"])("render.hint.selectFile")+"'",u={name:"file-upload-widget",componentName:"FieldWidget",mixins:[s["a"],d["a"],a["b"]],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper:l["default"]},inject:["refList","formConfig","globalOptionData","globalModel"],data:function(){return{oldFieldValue:null,fieldModel:null,rules:[],uploadHeaders:{},uploadData:{key:""},fileList:[],uploadBtnHidden:!1,styleVariables:{"--select-file-action":c}}},computed:{},beforeCreate:function(){},created:function(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted:function(){this.handleOnMounted()},beforeDestroy:function(){this.unregisterFromRefList()},methods:{handleFileExceed:function(){var e=this.field.options.limit;this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}",e))},updateUploadFieldModelAndEmitDataChange:function(e){var t=Object(r["d"])(this.fieldModel);this.fieldModel=Object(r["d"])(e),this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,t)},beforeFileUpload:function(e){var t=!1,i=e.name.substring(e.name.lastIndexOf(".")+1);if(this.field.options&&this.field.options.fileTypes){var n=this.field.options.fileTypes;n.length>0&&(t=n.some((function(e){return i.toLowerCase()===e.toLowerCase()})))}if(!t)return this.$message.error(this.i18nt("render.hint.unsupportedFileType")+i),!1;var o=!1,l=5;return this.field.options&&this.field.options.fileMaxSize&&(l=this.field.options.fileMaxSize),o=e.size/1024/1024<=l,o?(this.uploadData.key=e.name,this.handleOnBeforeUpload(e)):(this.$message.error(this.i18nt("render.hint.fileSizeExceed")+l+"MB"),!1)},handleOnBeforeUpload:function(e){if(this.field.options.onBeforeUpload){var t=new Function("file",this.field.options.onBeforeUpload),i=t.call(this,e);return"boolean"!==typeof i||i}return!0},handleFileUpload:function(e,t,i){if("success"===t.status&&(this.updateUploadFieldModelAndEmitDataChange(i),this.fileList=Object(r["d"])(i),this.uploadBtnHidden=i.length>=this.field.options.limit,this.field.options.onUploadSuccess)){var n=new Function("result","file","fileList",this.field.options.onUploadSuccess);n.call(this,e,t,i)}},handleFileRemove:function(e,t){if(this.fileList=Object(r["d"])(t),this.updateUploadFieldModelAndEmitDataChange(t),this.uploadBtnHidden=t.length>=this.field.options.limit,this.field.options.onFileRemove){var i=new Function("file","fileList",this.field.options.onFileRemove);i.call(this,e,t)}},removeUploadFile:function(e){var t=-1,i=null;if(this.fileList.forEach((function(n,o){n.name===e&&(t=o,i=n)})),t>=0&&(this.fileList.splice(t,1),this.updateUploadFieldModelAndEmitDataChange(this.fileList),this.uploadBtnHidden=this.fileList.length>=this.field.options.limit,this.field.options.onFileRemove)){var n=new Function("file","fileList",this.field.options.onFileRemove);n.call(this,i,this.fileList)}},handelUploadError:function(e,t,i){if(this.field.options.onUploadError){var n=new Function("error","file","fileList",this.field.options.onUploadError);n.call(this,e,t,i)}else this.$message({message:this.i18nt("render.hint.uploadError")+e,duration:3e3,type:"error"})}}},f=u,p=(i("390e"),i("2877")),m=Object(p["a"])(f,n,o,!1,null,"3f51f292",null);t["default"]=m.exports},"4be5":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.valueFormat")}},[i("el-select",{attrs:{filterable:"","allow-create":""},model:{value:e.optionModel.valueFormat,callback:function(t){e.$set(e.optionModel,"valueFormat",t)},expression:"optionModel.valueFormat"}},[i("el-option",{attrs:{label:"yyyy-MM-dd",value:"yyyy-MM-dd"}}),i("el-option",{attrs:{label:"yyyy-MM-dd HH:mm:ss",value:"yyyy-MM-dd HH:mm:ss"}})],1)],1)},o=[],l=i("79fa"),s={name:"date-range-valueFormat-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"584a5ccb",null);t["default"]=d.exports},"4cde":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-static-text",use:"icon-static-text-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"4e3d":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:"onBlur","label-width":"150px"}},[i("el-button",{attrs:{type:"info",icon:"el-icon-edit",plain:"",round:""},on:{click:function(t){return e.editEventHandler("onBlur",e.eventParams)}}},[e._v(" "+e._s(e.i18nt("designer.setting.addEventHandler")))])],1)},o=[],l=i("79fa"),s=i("7d6c"),a={name:"onBlur-editor",mixins:[l["b"],s["a"]],props:{designer:Object,selectedWidget:Object,optionModel:Object},data:function(){return{eventParams:["event"]}}},r=a,d=i("2877"),c=Object(d["a"])(r,n,o,!1,null,"ab3f95fc",null);t["default"]=c.exports},"4e94":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.format")}},[i("el-select",{attrs:{filterable:"","allow-create":""},model:{value:e.optionModel.format,callback:function(t){e.$set(e.optionModel,"format",t)},expression:"optionModel.format"}},[i("el-option",{attrs:{label:"yyyy-MM-dd",value:"yyyy-MM-dd"}}),i("el-option",{attrs:{label:"yyyy/MM/dd",value:"yyyy/MM/dd"}}),i("el-option",{attrs:{label:"yyyy年MM月dd日",value:"yyyy年MM月dd日"}}),i("el-option",{attrs:{label:"yyyy-MM-dd HH:mm:ss",value:"yyyy-MM-dd HH:mm:ss"}}),i("el-option",{attrs:{label:"yyyy-MM-dd hh:mm:ss",value:"yyyy-MM-dd hh:mm:ss"}})],1)],1)},o=[],l=i("79fa"),s={name:"date-range-format-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"04dfb3ed",null);t["default"]=d.exports},"4ebe":function(e,t,i){},"4ed4":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-button",use:"icon-button-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},"4eff":function(e,t,i){},5112:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.remote")}},[i("el-switch",{on:{change:e.onRemoteChange},model:{value:e.optionModel.remote,callback:function(t){e.$set(e.optionModel,"remote",t)},expression:"optionModel.remote"}})],1)},o=[],l=i("79fa"),s=i("b2bf"),a={name:"remote-editor",mixins:[l["b"],s["a"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},r=a,d=i("2877"),c=Object(d["a"])(r,n,o,!1,null,"83c35cae",null);t["default"]=c.exports},"51ff":function(e,t,i){var n={"./alert.svg":"f2db","./button.svg":"4ed4","./card.svg":"2d9e","./cascader-field.svg":"5fe5","./checkbox-field.svg":"f582","./color-field.svg":"5bc5","./custom-component.svg":"c885","./data-table.svg":"6592","./date-field.svg":"27a8","./date-range-field.svg":"6947","./divider.svg":"491c","./document.svg":"fd28","./drag.svg":"9bbf","./file-upload-field.svg":"d119","./github.svg":"558d","./grid.svg":"d8ec","./html-text.svg":"89ef","./node-tree.svg":"e486","./number-field.svg":"9b6e","./picture-upload-field.svg":"15c6","./radio-field.svg":"25e2","./rate-field.svg":"f250","./redo.svg":"18ba","./rich-editor-field.svg":"3952","./section.svg":"e934","./select-field.svg":"b8d7","./slider-field.svg":"7007","./slot-component.svg":"20e0","./slot-field.svg":"ecf2","./static-text.svg":"4cde","./sub-form.svg":"db13","./switch-field.svg":"1895","./tab.svg":"8fb7","./table.svg":"47f1","./text-field.svg":"40fa","./textarea-field.svg":"d2e4","./time-field.svg":"1d42","./time-range-field.svg":"3918","./undo.svg":"612b","./vue-sfc.svg":"8740"};function o(e){var t=l(e);return i(t)}function l(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=l,e.exports=o,o.id="51ff"},5479:function(e,t,i){"use strict";i("f355")},"54cf":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.rows")}},[i("el-input-number",{staticStyle:{width:"100%"},model:{value:e.optionModel.rows,callback:function(t){e.$set(e.optionModel,"rows",t)},expression:"optionModel.rows"}})],1)},o=[],l=i("79fa"),s={name:"rows-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"99e99dee",null);t["default"]=d.exports},"54d3":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.controlsPosition")}},[i("el-select",{model:{value:e.optionModel.controlsPosition,callback:function(t){e.$set(e.optionModel,"controlsPosition",t)},expression:"optionModel.controlsPosition"}},[i("el-option",{attrs:{label:"default",value:""}}),i("el-option",{attrs:{label:"right",value:"right"}})],1)],1)},o=[],l=i("79fa"),s={name:"controlsPosition-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"320a7676",null);t["default"]=d.exports},"554e":function(e,t,i){},"558d":function(e,t,i){"use strict";i.r(t);var n=i("e017"),o=i.n(n),l=i("21a1"),s=i.n(l),a=new o.a({id:"icon-github",use:"icon-github-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(a);t["default"]=a},5660:function(e,t,i){},"566c":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.step")}},[i("el-input-number",{staticClass:"hide-spin-button",staticStyle:{width:"100%"},model:{value:e.optionModel.step,callback:function(t){e.$set(e.optionModel,"step",t)},expression:"optionModel.step"}})],1)},o=[],l=i("79fa"),s={name:"step-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"3dde34f4",null);t["default"]=d.exports},5674:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form-item",{attrs:{label:e.i18nt("designer.setting.cellWidth")}},[i("el-input",{attrs:{type:"text"},model:{value:e.optionModel.cellWidth,callback:function(t){e.$set(e.optionModel,"cellWidth",t)},expression:"optionModel.cellWidth"}})],1)},o=[],l=i("79fa"),s={name:"cellWidth-editor",mixins:[l["b"]],props:{designer:Object,selectedWidget:Object,optionModel:Object}},a=s,r=i("2877"),d=Object(r["a"])(a,n,o,!1,null,"8ddfb426",null);t["default"]=d.exports},"56d7":function(e,t,i){"use strict";i.r(t);i("e260"),i("e6cf"),i("cca6"),i("a79d"),i("db4d"),i("768f");var n=i("a026"),o=i("bc3a"),l=i.n(o),s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"app"}},[i("VFormDesigner",{ref:"vfDesignerRef",attrs:{"designer-config":e.designerConfig}})],1)},a=[],r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-container",{staticClass:"main-container full-height"},[i("el-header",{staticClass:"main-header"},[i("div",{staticClass:"float-left main-title"},[i("span",{staticClass:"bold"},[e._v("GVA")]),e._v(" "+e._s(e.i18nt("application.productTitle"))+" ")]),i("div",{staticClass:"float-right external-link"},[e.showLink("languageMenu")?i("el-dropdown",{attrs:{"hide-timeout":2e3},on:{command:e.handleLanguageChanged}},[i("span",{staticClass:"el-dropdown-link"},[e._v(e._s(e.curLangName)),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{attrs:{command:"zh-CN"}},[e._v(e._s(e.i18nt("application.zh-CN")))]),i("el-dropdown-item",{attrs:{command:"en-US"}},[e._v(e._s(e.i18nt("application.en-US")))])],1)],1):e._e()],1)]),i("el-container",[i("el-aside",{staticClass:"side-panel"},[i("widget-panel",{attrs:{designer:e.designer}})],1),i("el-container",{staticClass:"center-layout-container"},[i("el-header",{staticClass:"toolbar-header"},[i("toolbar-panel",{ref:"toolbarRef",attrs:{designer:e.designer},scopedSlots:e._u([e._l(e.$slots,(function(t,i){return{key:i,fn:function(){return[e._t(i)]},proxy:!0}}))],null,!0)})],1),i("el-main",{staticClass:"form-widget-main"},[i("el-scrollbar",{staticClass:"container-scroll-bar",style:{height:e.scrollerHeight}},[i("v-form-widget",{ref:"formRef",attrs:{designer:e.designer,"form-config":e.designer.formConfig}})],1)],1)],1),i("el-aside",[i("setting-panel",{attrs:{designer:e.designer,"selected-widget":e.designer.selectedWidget,"form-config":e.designer.formConfig}})],1)],1)],1)},d=[],c=(i("a434"),i("d3b7"),i("159b"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-scrollbar",{staticClass:"side-scroll-bar",style:{height:e.scrollerHeight}},[i("div",{staticClass:"panel-container"},[i("el-tabs",{staticClass:"no-bottom-margin indent-left-margin",model:{value:e.firstTab,callback:function(t){e.firstTab=t},expression:"firstTab"}},[i("el-tab-pane",{attrs:{name:"componentLib"}},[i("span",{attrs:{slot:"label"},slot:"label"},[i("i",{staticClass:"el-icon-set-up"}),e._v(" "+e._s(e.i18nt("designer.componentLib")))]),i("el-collapse",{staticClass:"widget-collapse",model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[i("el-collapse-item",{attrs:{name:"1",title:e.i18nt("designer.containerTitle")}},[i("draggable",{attrs:{tag:"ul",list:e.containers,group:{name:"dragGroup",pull:"clone",put:!1},clone:e.handleContainerWidgetClone,"ghost-class":"ghost",sort:!1,move:e.checkContainerMove},on:{end:e.onContainerDragEnd}},e._l(e.containers,(function(t,n){return i("li",{key:n,staticClass:"container-widget-item",attrs:{title:t.displayName},on:{dblclick:function(i){return e.addContainerByDbClick(t)}}},[i("span",[i("svg-icon",{attrs:{"icon-class":t.icon,"class-name":"color-svg-icon"}}),e._v(e._s(e.i18n2t("designer.widgetLabel."+t.type,"extension.widgetLabel."+t.type)))],1)])})),0)],1),i("el-collapse-item",{attrs:{name:"2",title:e.i18nt("designer.basicFieldTitle")}},[i("draggable",{attrs:{tag:"ul",list:e.basicFields,group:{name:"dragGroup",pull:"clone",put:!1},move:e.checkFieldMove,clone:e.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1}},e._l(e.basicFields,(function(t,n){return i("li",{key:n,staticClass:"field-widget-item",attrs:{title:t.displayName},on:{dblclick:function(i){return e.addFieldByDbClick(t)}}},[i("span",[i("svg-icon",{attrs:{"icon-class":t.icon,"class-name":"color-svg-icon"}}),e._v(e._s(e.i18n2t("designer.widgetLabel."+t.type,"extension.widgetLabel."+t.type)))],1)])})),0)],1),i("el-collapse-item",{attrs:{name:"3",title:e.i18nt("designer.advancedFieldTitle")}},[i("draggable",{attrs:{tag:"ul",list:e.advancedFields,group:{name:"dragGroup",pull:"clone",put:!1},move:e.checkFieldMove,clone:e.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1}},e._l(e.advancedFields,(function(t,n){return i("li",{key:n,staticClass:"field-widget-item",attrs:{title:t.displayName},on:{dblclick:function(i){return e.addFieldByDbClick(t)}}},[i("span",[i("svg-icon",{attrs:{"icon-class":t.icon,"class-name":"color-svg-icon"}}),e._v(e._s(e.i18n2t("designer.widgetLabel."+t.type,"extension.widgetLabel."+t.type)))],1)])})),0)],1),i("el-collapse-item",{attrs:{name:"4",title:e.i18nt("designer.customFieldTitle")}},[i("draggable",{attrs:{tag:"ul",list:e.customFields,group:{name:"dragGroup",pull:"clone",put:!1},move:e.checkFieldMove,clone:e.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1}},e._l(e.customFields,(function(t,n){return i("li",{key:n,staticClass:"field-widget-item",attrs:{title:t.displayName},on:{dblclick:function(i){return e.addFieldByDbClick(t)}}},[i("span",[i("svg-icon",{attrs:{"icon-class":t.icon,"class-name":"color-svg-icon"}}),e._v(e._s(e.i18n2t("designer.widgetLabel."+t.type,"extension.widgetLabel."+t.type)))],1)])})),0)],1)],1)],1),e.showFormTemplates()?i("el-tab-pane",{staticStyle:{padding:"8px"},attrs:{name:"formLib"}},[i("span",{attrs:{slot:"label"},slot:"label"},[i("i",{staticClass:"el-icon-c-scale-to-original"}),e._v(" "+e._s(e.i18nt("designer.formLib")))]),e._l(e.formTemplates,(function(t,n){return[i("el-card",{key:n,staticClass:"ft-card",attrs:{"bord-style":{padding:"0"},shadow:"hover"}},[i("el-popover",{attrs:{placement:"right",trigger:"hover"}},[i("img",{staticStyle:{width:"200px"},attrs:{slot:"reference",src:t.imgUrl},slot:"reference"}),i("img",{staticStyle:{height:"600px",width:"720px"},attrs:{src:t.imgUrl}})]),i("div",{staticClass:"bottom clear-fix"},[i("span",{staticClass:"ft-title"},[e._v("#"+e._s(n+1)+" "+e._s(t.title))]),i("el-button",{staticClass:"right-button",attrs:{type:"text"},on:{click:function(i){return e.loadFormTemplate(t.jsonUrl)}}},[e._v(" "+e._s(e.i18nt("designer.hint.loadFormTemplate")))])],1)],1)]}))],2):e._e()],1)],1)])}),u=[],f=i("5530"),p=(i("4de4"),i("d81d"),i("b76a")),m=i.n(p),g=[{type:"grid",category:"container",icon:"grid",cols:[],options:{name:"",hidden:!1,gutter:12,colHeight:null,customClass:""}},{type:"table",category:"container",icon:"table",rows:[],options:{name:"",hidden:!1,customClass:""}},{type:"tab",category:"container",icon:"tab",displayType:"border-card",tabs:[],options:{name:"",hidden:!1,customClass:""}},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[],options:{name:"",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""}},{type:"table-cell",category:"container",icon:"table-cell",internal:!0,widgetList:[],merged:!1,options:{name:"",cellWidth:"",cellHeight:"",colspan:1,rowspan:1,customClass:""}},{type:"tab-pane",category:"container",icon:"tab-pane",internal:!0,widgetList:[],options:{name:"",label:"",hidden:!1,active:!1,disabled:!1,customClass:""}}],h=[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:"",onAppendButtonClick:""}},{type:"textarea",icon:"textarea-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",rows:3,defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"number",icon:"number-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:0,placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,min:-1e11,max:1e11,precision:0,step:1,controlsPosition:"right",onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"radio",icon:"radio-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",size:"",displayStyle:"inline",buttonStyle:!1,border:!1,labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,optionItems:[{label:"radio 1",value:1},{label:"radio 2",value:2},{label:"radio 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"checkbox",icon:"checkbox-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:[],columnWidth:"200px",size:"",displayStyle:"inline",buttonStyle:!1,border:!1,labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,optionItems:[{label:"check 1",value:1},{label:"check 2",value:2},{label:"check 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"select",icon:"select-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,clearable:!0,filterable:!1,allowCreate:!1,remote:!1,automaticDropdown:!1,multiple:!1,multipleLimit:0,optionItems:[{label:"select 1",value:1},{label:"select 2",value:2},{label:"select 3",value:3}],required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onRemoteQuery:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"time",icon:"time-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"HH:mm:ss",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"time-range",icon:"time-range-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,startPlaceholder:"",endPlaceholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"HH:mm:ss",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"date",icon:"date-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"date",defaultValue:null,placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"yyyy-MM-dd",valueFormat:"yyyy-MM-dd",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"date-range",icon:"date-range-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",type:"daterange",defaultValue:null,startPlaceholder:"",endPlaceholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"yyyy-MM-dd",valueFormat:"yyyy-MM-dd",required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},{type:"switch",icon:"switch-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,switchWidth:40,activeText:"",inactiveText:"",activeColor:null,inactiveColor:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"rate",icon:"rate-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,max:5,lowThreshold:2,highThreshold:4,allowHalf:!1,showText:!1,showScore:!1,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"color",icon:"color-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:null,columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"slider",icon:"slider-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",columnWidth:"200px",showStops:!0,size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,min:0,max:100,step:10,range:!1,height:null,onCreated:"",onMounted:"",onChange:"",onValidate:""}},{type:"static-text",icon:"static-text",formItemFlag:!1,options:{name:"",columnWidth:"200px",hidden:!1,textContent:"static text",fontSize:"13px",customClass:"",onCreated:"",onMounted:""}},{type:"html-text",icon:"html-text",formItemFlag:!1,options:{name:"",columnWidth:"200px",hidden:!1,htmlContent:"html text",customClass:"",onCreated:"",onMounted:""}},{type:"button",icon:"button",formItemFlag:!1,options:{name:"",label:"",columnWidth:"200px",size:"",displayStyle:"block",disabled:!1,hidden:!1,type:"",plain:!1,round:!1,circle:!1,icon:null,customClass:"",onCreated:"",onMounted:"",onClick:""}},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:"",onCreated:"",onMounted:""}}],b=[{type:"picture-upload",icon:"picture-upload-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",uploadURL:"",uploadTip:"",withCredentials:!1,multipleSelect:!1,showFileList:!0,limit:3,fileMaxSize:5,fileTypes:["jpg","jpeg","png"],customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onBeforeUpload:"",onUploadSuccess:"",onUploadError:"",onFileRemove:"",onValidate:""}},{type:"file-upload",icon:"file-upload-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",uploadURL:"",uploadTip:"",withCredentials:!1,multipleSelect:!1,showFileList:!0,limit:3,fileMaxSize:5,fileTypes:["doc","docx","xls","xlsx"],customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onBeforeUpload:"",onUploadSuccess:"",onUploadError:"",onFileRemove:"",onValidate:""}},{type:"rich-editor",icon:"rich-editor-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",placeholder:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,required:!1,requiredHint:"",customRule:"",customRuleHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onValidate:""}},{type:"cascader",icon:"cascader-field",formItemFlag:!0,options:{name:"",label:"",labelAlign:"",defaultValue:"",placeholder:"",size:"",labelWidth:null,labelHidden:!1,columnWidth:"200px",disabled:!1,hidden:!1,clearable:!0,filterable:!1,multiple:!1,checkStrictly:!1,optionItems:[{label:"select 1",value:1,children:[{label:"child 1",value:11}]},{label:"select 2",value:2},{label:"select 3",value:3}],required:!1,requiredHint:"",customRule:"",customRuleHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}}],v=[];function w(e){g.push(e)}function y(e){v.push(e)}var C=[{title:"单列表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t1.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json1.txt",description:"表单模板详细说明..."},{title:"多列表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t2.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json2.txt",description:"表单模板详细说明..."},{title:"分组表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t3.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json3.txt",description:"表单模板详细说明..."},{title:"标签页表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t4.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json4.txt",description:"表单模板详细说明..."},{title:"主从表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t5.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json5.txt",description:"表单模板详细说明..."},{title:"响应式表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t6.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json6.txt",description:"表单模板详细说明..."},{title:"问卷调查表",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t7.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json7.txt",description:"表单模板详细说明..."},{title:"固定表格表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t8.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json8.txt",description:"表单模板详细说明..."}],x=i("ca00"),_=i("79fa"),O={name:"FieldPanel",mixins:[_["b"]],components:{Draggable:m.a},props:{designer:Object},inject:["getBannedWidgets","getDesignerConfig"],data:function(){return{designerConfig:this.getDesignerConfig(),firstTab:"componentLib",scrollerHeight:0,activeNames:["1","2","3","4"],containers:g,basicFields:h,advancedFields:b,customFields:v,formTemplates:C}},computed:{},mounted:function(){var e=this;this.loadWidgets(),this.scrollerHeight=window.innerHeight-56+"px",Object(x["a"])((function(){e.$nextTick((function(){e.scrollerHeight=window.innerHeight-56+"px"}))}))},methods:{isBanned:function(e){return this.getBannedWidgets().indexOf(e)>-1},showFormTemplates:function(){return void 0===this.designerConfig["formTemplates"]||!!this.designerConfig["formTemplates"]},loadWidgets:function(){var e=this;this.containers=this.containers.map((function(t){return Object(f["a"])(Object(f["a"])({},t),{},{displayName:e.i18n2t("designer.widgetLabel.".concat(t.type),"extension.widgetLabel.".concat(t.type))})})).filter((function(t){return!t.internal&&!e.isBanned(t.type)})),this.basicFields=this.basicFields.map((function(t){return Object(f["a"])(Object(f["a"])({},t),{},{displayName:e.i18n2t("designer.widgetLabel.".concat(t.type),"extension.widgetLabel.".concat(t.type))})})).filter((function(t){return!e.isBanned(t.type)})),this.advancedFields=this.advancedFields.map((function(t){return Object(f["a"])(Object(f["a"])({},t),{},{displayName:e.i18n2t("designer.widgetLabel.".concat(t.type),"extension.widgetLabel.".concat(t.type))})})).filter((function(t){return!e.isBanned(t.type)})),this.customFields=this.customFields.map((function(t){return Object(f["a"])(Object(f["a"])({},t),{},{displayName:e.i18n2t("designer.widgetLabel.".concat(t.type),"extension.widgetLabel.".concat(t.type))})})).filter((function(t){return!e.isBanned(t.type)}))},handleContainerWidgetClone:function(e){return this.designer.copyNewContainerWidget(e)},handleFieldWidgetClone:function(e){return this.designer.copyNewFieldWidget(e)},checkContainerMove:function(e){return this.designer.checkWidgetMove(e)},checkFieldMove:function(e){return this.designer.checkFieldMove(e)},onContainerDragEnd:function(e){},addContainerByDbClick:function(e){this.designer.addContainerByDbClick(e)},addFieldByDbClick:function(e){this.designer.addFieldByDbClick(e)},loadFormTemplate:function(e){var t=this;this.$confirm(this.i18nt("designer.hint.loadFormTemplateHint"),this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then((function(){l.a.get(e).then((function(e){var i=!1;"string"===typeof e.data?i=t.designer.loadFormJson(JSON.parse(e.data)):e.data.constructor===Object&&(i=t.designer.loadFormJson(e.data)),i&&t.designer.emitHistoryChange(),t.$message.success(t.i18nt("designer.hint.loadFormTemplateSuccess"))})).catch((function(e){t.$message.error(t.i18nt("designer.hint.loadFormTemplateFailed")+":"+e)}))})).catch((function(e){console.error(e)}))}}},F=O,M=(i("d43b"),i("2877")),j=Object(M["a"])(F,c,u,!1,null,"c59cf5f6",null),L=j.exports,S=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"toolbar-container"},[i("div",{staticClass:"left-toolbar"},[i("el-button",{attrs:{type:"text",disabled:e.undoDisabled,title:e.i18nt("designer.toolbar.undoHint")},on:{click:e.undoHistory}},[i("svg-icon",{attrs:{"icon-class":"undo"}})],1),i("el-button",{attrs:{type:"text",disabled:e.redoDisabled,title:e.i18nt("designer.toolbar.redoHint")},on:{click:e.redoHistory}},[i("svg-icon",{attrs:{"icon-class":"redo"}})],1),i("el-button-group",{staticStyle:{"margin-left":"20px"}},[i("el-button",{attrs:{type:"PC"===e.layoutType?"info":""},on:{click:function(t){return e.changeLayoutType("PC")}}},[e._v(" "+e._s(e.i18nt("designer.toolbar.pcLayout")))]),i("el-button",{attrs:{type:"Pad"===e.layoutType?"info":""},on:{click:function(t){return e.changeLayoutType("Pad")}}},[e._v(" "+e._s(e.i18nt("designer.toolbar.padLayout")))]),i("el-button",{attrs:{type:"H5"===e.layoutType?"info":""},on:{click:function(t){return e.changeLayoutType("H5")}}},[e._v(" "+e._s(e.i18nt("designer.toolbar.mobileLayout")))])],1),i("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"",title:e.i18nt("designer.toolbar.nodeTreeHint")},on:{click:e.showNodeTreeDrawer}},[i("svg-icon",{attrs:{"icon-class":"node-tree"}})],1)],1),i("el-drawer",{staticClass:"node-tree-drawer",attrs:{title:e.i18nt("designer.toolbar.nodeTreeTitle"),direction:"ltr",visible:e.showNodeTreeDrawerFlag,modal:!1,size:280,"destroy-on-close":!0},on:{"update:visible":function(t){e.showNodeTreeDrawerFlag=t}}},[i("el-tree",{ref:"nodeTree",staticClass:"node-tree",attrs:{data:e.nodeTreeData,"node-key":"id","default-expand-all":"","highlight-current":"","icon-class":"el-icon-arrow-right"},on:{"node-click":e.onNodeTreeClick}})],1),i("div",{staticClass:"right-toolbar",style:{width:e.toolbarWidth+"px"}},[i("div",{staticClass:"right-toolbar-con"},[e.showToolButton("clearDesignerButton")?i("el-button",{attrs:{type:"text"},on:{click:e.clearFormWidget}},[i("i",{staticClass:"el-icon-delete"}),e._v(e._s(e.i18nt("designer.toolbar.clear")))]):e._e(),e.showToolButton("previewFormButton")?i("el-button",{attrs:{type:"text"},on:{click:e.previewForm}},[i("i",{staticClass:"el-icon-view"}),e._v(e._s(e.i18nt("designer.toolbar.preview")))]):e._e(),e.showToolButton("generateSFCButton")?i("el-button",{attrs:{type:"text"},on:{click:e.generateSFC}},[i("svg-icon",{attrs:{"icon-class":"vue-sfc"}}),e._v(e._s(e.i18nt("designer.toolbar.generateSFC")))],1):e._e(),e._l(e.$slots,(function(t,i){return[e._t(i)]}))],2)]),e.showPreviewDialogFlag?i("el-dialog",{directives:[{name:"dialog-drag",rawName:"v-dialog-drag"}],staticClass:"small-padding-dialog",attrs:{title:e.i18nt("designer.toolbar.preview"),visible:e.showPreviewDialogFlag,"show-close":!0,"close-on-click-modal":!1,"close-on-press-escape":!1,center:"","destroy-on-close":!0,"append-to-body":!0,width:"75%",fullscreen:"H5"===e.layoutType||"Pad"===e.layoutType},on:{"update:visible":function(t){e.showPreviewDialogFlag=t}}},[i("div",[i("div",{staticClass:"form-render-wrapper",class:["H5"===e.layoutType?"h5-layout":"Pad"===e.layoutType?"pad-layout":""]},[i("VFormRender",{ref:"preForm",attrs:{"form-json":e.formJson,"form-data":e.testFormData,"preview-state":!0,"option-data":e.testOptionData},on:{appendButtonClick:e.testOnAppendButtonClick,buttonClick:e.testOnButtonClick,formChange:e.handleFormChange}})],1)]),i("code-editor",{staticStyle:{display:"none"},model:{value:e.testFunc,callback:function(t){e.testFunc=t},expression:"testFunc"}}),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:e.getFormData}},[e._v(e._s(e.i18nt("designer.hint.getFormData")))]),i("el-button",{attrs:{type:"primary"},on:{click:e.resetForm}},[e._v(e._s(e.i18nt("designer.hint.resetForm")))]),i("el-button",{attrs:{type:"primary"},on:{click:e.setFormDisabled}},[e._v(e._s(e.i18nt("designer.hint.disableForm")))]),i("el-button",{attrs:{type:"primary"},on:{click:e.setFormEnabled}},[e._v(e._s(e.i18nt("designer.hint.enableForm")))]),i("el-button",{attrs:{type:""},on:{click:function(t){e.showPreviewDialogFlag=!1}}},[e._v(e._s(e.i18nt("designer.hint.closePreview")))]),e._e(),e._e(),e._e()],1)],1):e._e(),e.showImportJsonDialogFlag?i("el-dialog",{directives:[{name:"dialog-drag",rawName:"v-dialog-drag"}],staticClass:"small-padding-dialog",attrs:{title:e.i18nt("designer.toolbar.importJson"),visible:e.showImportJsonDialogFlag,"show-close":!0,center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},on:{"update:visible":function(t){e.showImportJsonDialogFlag=t}}},[i("el-alert",{staticClass:"alert-padding",attrs:{type:"info",title:e.i18nt("designer.hint.importJsonHint"),"show-icon":""}}),i("code-editor",{attrs:{mode:"json",readonly:!1},model:{value:e.importTemplate,callback:function(t){e.importTemplate=t},expression:"importTemplate"}}),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:e.doJsonImport}},[e._v(" "+e._s(e.i18nt("designer.hint.import")))]),i("el-button",{on:{click:function(t){e.showImportJsonDialogFlag=!1}}},[e._v(" "+e._s(e.i18nt("designer.hint.cancel")))])],1)],1):e._e(),e.showExportJsonDialogFlag?i("el-dialog",{directives:[{name:"dialog-drag",rawName:"v-dialog-drag"}],staticClass:"small-padding-dialog",attrs:{title:e.i18nt("designer.toolbar.exportJson"),visible:e.showExportJsonDialogFlag,"show-close":!0,center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},on:{"update:visible":function(t){e.showExportJsonDialogFlag=t}}},[i("code-editor",{attrs:{mode:"json",readonly:!0},model:{value:e.jsonContent,callback:function(t){e.jsonContent=t},expression:"jsonContent"}}),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"copy-json-btn",attrs:{type:"primary","data-clipboard-text":e.jsonRawContent},on:{click:e.copyFormJson}},[e._v(" "+e._s(e.i18nt("designer.hint.copyJson")))]),i("el-button",{on:{click:e.saveFormJson}},[e._v(e._s(e.i18nt("designer.hint.saveFormJson")))]),i("el-button",{attrs:{type:""},on:{click:function(t){e.showExportJsonDialogFlag=!1}}},[e._v(" "+e._s(e.i18nt("designer.hint.closePreview")))])],1)],1):e._e(),e.showExportCodeDialogFlag?i("el-dialog",{directives:[{name:"dialog-drag",rawName:"v-dialog-drag"}],staticClass:"small-padding-dialog",attrs:{title:e.i18nt("designer.toolbar.exportCode"),visible:e.showExportCodeDialogFlag,"show-close":!0,center:"",width:"65%","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},on:{"update:visible":function(t){e.showExportCodeDialogFlag=t}}},[i("el-tabs",{staticClass:"no-box-shadow no-padding",attrs:{type:"border-card"},model:{value:e.activeCodeTab,callback:function(t){e.activeCodeTab=t},expression:"activeCodeTab"}},[i("el-tab-pane",{attrs:{label:"Vue",name:"vue"}},[i("code-editor",{attrs:{mode:"html",readonly:!0,"user-worker":!1},model:{value:e.vueCode,callback:function(t){e.vueCode=t},expression:"vueCode"}})],1),i("el-tab-pane",{attrs:{label:"HTML",name:"html"}},[i("code-editor",{attrs:{mode:"html",readonly:!0,"user-worker":!1},model:{value:e.htmlCode,callback:function(t){e.htmlCode=t},expression:"htmlCode"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"copy-vue-btn",attrs:{type:"primary","data-clipboard-text":e.vueCode},on:{click:e.copyVueCode}},[e._v(" "+e._s(e.i18nt("designer.hint.copyVueCode")))]),i("el-button",{staticClass:"copy-html-btn",attrs:{type:"primary","data-clipboard-text":e.htmlCode},on:{click:e.copyHtmlCode}},[e._v(" "+e._s(e.i18nt("designer.hint.copyHtmlCode")))]),i("el-button",{on:{click:e.saveVueCode}},[e._v(e._s(e.i18nt("designer.hint.saveVueCode")))]),i("el-button",{on:{click:e.saveHtmlCode}},[e._v(e._s(e.i18nt("designer.hint.saveHtmlCode")))]),i("el-button",{attrs:{type:""},on:{click:function(t){e.showExportCodeDialogFlag=!1}}},[e._v(" "+e._s(e.i18nt("designer.hint.closePreview")))])],1)],1):e._e(),e.showFormDataDialogFlag?i("el-dialog",{directives:[{name:"dialog-drag",rawName:"v-dialog-drag"}],staticClass:"dialog-title-light-bg",attrs:{title:e.i18nt("designer.hint.exportFormData"),visible:e.showFormDataDialogFlag,"show-close":!0,center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0,"append-to-body":!0},on:{"update:visible":function(t){e.showFormDataDialogFlag=t}}},[i("div",{staticStyle:{border:"1px solid #DCDFE6"}},[i("code-editor",{attrs:{mode:"json",readonly:!0},model:{value:e.formDataJson,callback:function(t){e.formDataJson=t},expression:"formDataJson"}})],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"copy-form-data-json-btn",attrs:{type:"primary","data-clipboard-text":e.formDataRawJson},on:{click:e.copyFormDataJson}},[e._v(" "+e._s(e.i18nt("designer.hint.copyFormData")))]),i("el-button",{on:{click:e.saveFormData}},[e._v(e._s(e.i18nt("designer.hint.saveFormData")))]),i("el-button",{attrs:{type:""},on:{click:function(t){e.showFormDataDialogFlag=!1}}},[e._v(" "+e._s(e.i18nt("designer.hint.closePreview")))])],1)]):e._e(),e.showExportSFCDialogFlag?i("el-dialog",{directives:[{name:"dialog-drag",rawName:"v-dialog-drag"}],staticClass:"small-padding-dialog",attrs:{title:e.i18nt("designer.toolbar.generateSFC"),visible:e.showExportSFCDialogFlag,"show-close":!0,center:"",width:"65%","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},on:{"update:visible":function(t){e.showExportSFCDialogFlag=t}}},[i("el-tabs",{staticClass:"no-box-shadow no-padding",attrs:{type:"border-card"},model:{value:e.activeSFCTab,callback:function(t){e.activeSFCTab=t},expression:"activeSFCTab"}},[i("el-tab-pane",{attrs:{label:"Vue2",name:"vue2"}},[i("code-editor",{attrs:{mode:"html",readonly:!0,"user-worker":!1},model:{value:e.sfcCode,callback:function(t){e.sfcCode=t},expression:"sfcCode"}})],1),i("el-tab-pane",{attrs:{label:"Vue3",name:"vue3"}},[i("code-editor",{attrs:{mode:"html",readonly:!0,"user-worker":!1},model:{value:e.sfcCodeV3,callback:function(t){e.sfcCodeV3=t},expression:"sfcCodeV3"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"copy-vue2-sfc-btn",attrs:{type:"primary","data-clipboard-text":e.sfcCode},on:{click:e.copyV2SFC}},[e._v(" "+e._s(e.i18nt("designer.hint.copyVue2SFC")))]),i("el-button",{staticClass:"copy-vue3-sfc-btn",attrs:{type:"primary","data-clipboard-text":e.sfcCodeV3},on:{click:e.copyV3SFC}},[e._v(" "+e._s(e.i18nt("designer.hint.copyVue3SFC")))]),i("el-button",{on:{click:e.saveV2SFC}},[e._v(e._s(e.i18nt("designer.hint.saveVue2SFC")))]),i("el-button",{on:{click:e.saveV3SFC}},[e._v(e._s(e.i18nt("designer.hint.saveVue3SFC")))]),i("el-button",{attrs:{type:""},on:{click:function(t){e.showExportSFCDialogFlag=!1}}},[e._v(" "+e._s(e.i18nt("designer.hint.closePreview")))])],1)],1):e._e()],1)},k=[],W=(i("b0c0"),i("e9c4"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form",{ref:"renderForm",staticClass:"render-form",class:[e.customClass],attrs:{"label-position":e.labelPosition,size:e.size,"label-width":e.labelWidth,"validate-on-rule-change":!1,model:e.formDataModel},nativeOn:{submit:function(e){e.preventDefault()}}},[e._l(e.widgetList,(function(t,n){return["container"===t.category?[i(e.getContainerWidgetName(t),{key:t.id,tag:"component",attrs:{widget:t,"parent-list":e.widgetList,"index-of-parent-list":n,"parent-widget":null},scopedSlots:e._u([e._l(Object.keys(e.$scopedSlots),(function(t){return{key:t,fn:function(i){return[e._t(t,null,null,i)]}}}))],null,!0)})]:[i(e.getWidgetName(t),{key:t.id,tag:"component",attrs:{field:t,"form-model":e.formDataModel,designer:null,"parent-list":e.widgetList,"index-of-parent-list":n,"parent-widget":null},scopedSlots:e._u([e._l(Object.keys(e.$scopedSlots),(function(t){return{key:t,fn:function(i){return[e._t(t,null,null,i)]}}}))],null,!0)})]]}))],2)}),E=[],D=i("2909"),I=(i("b64b"),i("c6e3")),R=(i("ddb0"),i("10ae"));R.keys().map((function(e){var t=R(e).default;n["default"].component(t.name,t)}));var T,P=i("c029"),H={name:"VFormRender",componentName:"VFormRender",mixins:[I["a"],_["b"]],components:Object(f["a"])({},P["a"]),props:{formJson:{type:Object,default:function(){return Object(x["b"])()}},formData:{type:Object,default:function(){return{}}},optionData:{type:Object,default:function(){return{}}},previewState:{type:Boolean,default:!1}},provide:function(){var e=this;return{refList:this.widgetRefList,sfRefList:this.subFormRefList,formConfig:this.formConfig,globalOptionData:this.optionData,getOptionData:function(){return e.optionData},globalModel:{formModel:this.formDataModel},previewState:this.previewState}},data:function(){return{formJsonObj:this.formJson,formDataModel:{},widgetRefList:{},subFormRefList:{},formId:null,externalComponents:{}}},computed:{formConfig:function(){return this.formJsonObj.formConfig},widgetList:function(){return this.formJsonObj.widgetList},labelPosition:function(){return this.formConfig&&this.formConfig.labelPosition?this.formConfig.labelPosition:"left"},labelWidth:function(){return this.formConfig&&this.formConfig.labelWidth?this.formConfig.labelWidth+"px":"80px"},size:function(){return this.formConfig&&this.formConfig.size?this.formConfig.size:"medium"},customClass:function(){return this.formConfig&&this.formConfig.customClass?this.formConfig.customClass:""}},watch:{},created:function(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted:function(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.formId="vfRender"+Object(x["e"])(),e&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName:function(e){return e.type+"-item"},getWidgetName:function(e){return e.type+"-widget"},initLocale:function(){var e=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(e)},insertCustomStyleAndScriptNode:function(){this.formConfig&&this.formConfig.cssCode&&Object(x["j"])(this.formConfig.cssCode,this.previewState?"":this.formId),this.formConfig&&this.formConfig.functions&&Object(x["k"])(this.formConfig.functions,this.previewState?"":this.formId)},buildFormModel:function(e){var t=this;e&&e.length>0&&e.forEach((function(e){t.buildDataFromWidget(e)}))},buildDataFromWidget:function(e){var t=this;if("container"===e.category)if("grid"===e.type)e.cols&&e.cols.length>0&&e.cols.forEach((function(e){t.buildDataFromWidget(e)}));else if("table"===e.type)e.rows&&e.rows.length>0&&e.rows.forEach((function(e){e.cols&&e.cols.length>0&&e.cols.forEach((function(e){t.buildDataFromWidget(e)}))}));else if("tab"===e.type)e.tabs&&e.tabs.length>0&&e.tabs.forEach((function(e){e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach((function(e){t.buildDataFromWidget(e)}))}));else if("sub-form"===e.type){var i=e.options.name;if(this.formData.hasOwnProperty(i)){var n=this.formData[i];this.$set(this.formDataModel,i,Object(x["d"])(n))}else{var o={};e.options.showBlankRow?(e.widgetList.forEach((function(e){e.formItemFlag&&(o[e.options.name]=e.options.defaultValue)})),this.$set(this.formDataModel,i,[o])):this.$set(this.formDataModel,i,[])}}else"grid-col"===e.type||e.type,e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach((function(e){t.buildDataFromWidget(e)}));else if(e.formItemFlag)if(this.formData.hasOwnProperty(e.options.name)){var l=this.formData[e.options.name];this.$set(this.formDataModel,e.options.name,Object(x["d"])(l))}else this.$set(this.formDataModel,e.options.name,e.options.defaultValue)},addFieldChangeEventHandler:function(){var e=this;this.$off("fieldChange"),this.$on("fieldChange",(function(t,i,n,o,l){e.handleFieldDataChange(t,i,n,o,l),e.$emit("formChange",t,i,n,e.formDataModel,o,l)}))},addFieldValidateEventHandler:function(){var e=this;this.$off("fieldValidation"),this.$on("fieldValidation",(function(t){e.$refs.renderForm.validateField(t)}))},registerFormToRefList:function(){this.widgetRefList["v_form_ref"]=this},handleFieldDataChange:function(e,t,i,n,o){if(this.formConfig&&this.formConfig.onFormDataChange){var l=new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange);l.call(this,e,t,i,this.formDataModel,n,o)}},handleOnCreated:function(){if(this.formConfig&&this.formConfig.onFormCreated){var e=new Function(this.formConfig.onFormCreated);e.call(this)}},handleOnMounted:function(){if(this.formConfig&&this.formConfig.onFormMounted){var e=new Function(this.formConfig.onFormMounted);e.call(this)}},findWidgetAndSetDisabled:function(e,t){var i=this.getWidgetRef(e);i?i.setDisabled(t):this.findWidgetOfSubFormAndSetDisabled(e,t)},findWidgetOfSubFormAndSetDisabled:function(e,t){var i=this;this.findWidgetNameInSubForm(e).forEach((function(e){var n=i.getWidgetRef(e);n&&n.setDisabled(t)}))},findWidgetAndSetHidden:function(e,t){var i=this.getWidgetRef(e);i?i.setHidden(t):this.findWidgetOfSubFormAndSetHidden(e,t)},findWidgetOfSubFormAndSetHidden:function(e,t){var i=this;this.findWidgetNameInSubForm(e).forEach((function(e){var n=i.getWidgetRef(e);n&&n.setHidden(t)}))},findWidgetNameInSubForm:function(e){var t=[],i=null,n=function(t,n){t.options&&t.options.name===e&&(i=n.options.name)};if(Object(x["s"])(this.widgetList,n),i){var o=this.getWidgetRef(i);if(o){var l=o.getRowIdData();l&&l.length>0&&l.forEach((function(i){t.push(e+"@row"+i)}))}}return t},changeLanguage:function(e){Object(_["a"])(e)},getNativeForm:function(){return this.$refs["renderForm"]},getWidgetRef:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.widgetRefList[e];return!i&&t&&this.$message.error(this.i18nt("render.hint.refNotFound")+e),i},clearFormDataModel:function(){for(var e in this.formDataModel)delete this.formDataModel[e]},setFormJson:function(e){var t=this;if(e)if("string"===typeof e||e.constructor===Object){var i=null;if(i="string"===typeof e?JSON.parse(e):e,!i.formConfig||!i.widgetList)return void this.$message.error("Invalid format of form json.");this.clearFormDataModel(),this.buildFormModel(i.widgetList),this.$set(this.formJsonObj,"formConfig",i.formConfig),this._provided.formConfig=i.formConfig,this.$set(this.formJsonObj,"widgetList",i.widgetList),this.insertCustomStyleAndScriptNode(),this.$nextTick((function(){t.initFormObject(!1),t.handleOnMounted()}))}else this.$message.error("Set form json failed.")},reloadOptionData:function(e){var t=[];e&&"string"===typeof e?t=[e]:e&&Array.isArray(e)&&(t=Object(D["a"])(e)),this.broadcast("FieldWidget","reloadOptionItems",[t])},getFormData:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!t)return this.formDataModel;var i=function(){},n=new window.Promise((function(e,t){i=function(i,n){n?t(n):e(i)}}));return this.$refs["renderForm"].validate((function(t){t?i(e.formDataModel):i(e.formDataModel,e.i18nt("render.hint.validationFailed"))})),n},setFormData:function(e){var t=this;Object.keys(this.formDataModel).forEach((function(i){e&&e.hasOwnProperty(i)&&(t.formDataModel[i]=Object(x["d"])(e[i]))})),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue:function(e){var t=this,i=this.getWidgetRef(e);if(i&&i.getValue)return i.getValue();if(!i){var n=[];return this.findWidgetNameInSubForm(e).forEach((function(e){var i=t.getWidgetRef(e);i&&i.getValue&&n.push(i.getValue())})),n}},setFieldValue:function(e,t){var i=this,n=this.getWidgetRef(e);n&&n.setValue&&n.setValue(t),n||this.findWidgetNameInSubForm(e).forEach((function(e){var n=i.getWidgetRef(e);n&&n.setValue&&n.setValue(t)}))},getSubFormValues:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.subFormRefList[e];return i.getSubFormValues(t)},setSubFormValues:function(e,t){},disableForm:function(){var e=this,t=Object.keys(this.widgetRefList);t.forEach((function(t){var i=e.getWidgetRef(t);i&&(i.widget&&"sub-form"===i.widget.type?i.disableSubForm():i.setDisabled&&i.setDisabled(!0))}))},enableForm:function(){var e=this,t=Object.keys(this.widgetRefList);t.forEach((function(t){var i=e.getWidgetRef(t);i&&(i.widget&&"sub-form"===i.widget.type?i.enableSubForm():i.setDisabled&&i.setDisabled(!1))}))},resetForm:function(){var e=this,t=Object.keys(this.subFormRefList);t.forEach((function(t){e.subFormRefList[t].resetSubForm&&e.subFormRefList[t].resetSubForm()}));var i=Object.keys(this.widgetRefList);i.forEach((function(t){var i=e.getWidgetRef(t);i&&!i.subFormItemFlag&&i.resetField&&i.resetField()})),this.$nextTick((function(){e.clearValidate()}))},clearValidate:function(e){this.$refs.renderForm.clearValidate(e)},validateForm:function(e){this.$refs["renderForm"].validate((function(t){e(t)}))},validateFields:function(){},disableWidgets:function(e){var t=this;e&&("string"===typeof e?this.findWidgetAndSetDisabled(e,!0):Array.isArray(e)&&e.forEach((function(e){t.findWidgetAndSetDisabled(e,!0)})))},enableWidgets:function(e){var t=this;e&&("string"===typeof e?this.findWidgetAndSetDisabled(e,!1):Array.isArray(e)&&e.forEach((function(e){t.findWidgetAndSetDisabled(e,!1)})))},hideWidgets:function(e){var t=this;e&&("string"===typeof e?this.findWidgetAndSetHidden(e,!0):Array.isArray(e)&&e.forEach((function(e){t.findWidgetAndSetHidden(e,!0)})))},showWidgets:function(e){var t=this;e&&("string"===typeof e?this.findWidgetAndSetHidden(e,!1):Array.isArray(e)&&e.forEach((function(e){t.findWidgetAndSetHidden(e,!1)})))},getFieldWidgets:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?Object(x["g"])(e):Object(x["g"])(this.formJsonObj.widgetList)},getContainerWidgets:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?Object(x["f"])(e):Object(x["f"])(this.formJsonObj.widgetList)},addEC:function(e,t){this.externalComponents[e]=t},hasEC:function(e){return this.externalComponents.hasOwnProperty(e)},getEC:function(e){return this.externalComponents[e]}}},N=H,$=(i("5a4b"),Object(M["a"])(N,W,E,!1,null,"70ce788c",null)),V=$.exports,A=i("9470"),B=i("b311"),z=i.n(B),U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"vue",i=JSON.stringify(e);return"html"===t?'\n\n\n\t\n\t\n\tVForm Demo\n\t\n\t\n\t\n\n\n\n
\n\t \n \n\t Submit\n
\n\n + + + + + + + + +
+ + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/api/api.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/api/api.go.tpl new file mode 100644 index 000000000..f1f5f1a54 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/api/api.go.tpl @@ -0,0 +1,35 @@ +package api + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" +{{ if .NeedModel }} "github.com/flipped-aurora/gin-vue-admin/server/plugin/{{ .Snake}}/model" {{ end }} + "github.com/flipped-aurora/gin-vue-admin/server/plugin/{{ .Snake}}/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +type {{ .PlugName}}Api struct{} + +// @Tags {{ .PlugName}} +// @Summary 请手动填写接口功能 +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"发送成功"}" +// @Router /{{ .RouterGroup}}/routerName [post] +func (p *{{ .PlugName}}Api) ApiName(c *gin.Context) { + {{ if .HasRequest}} + var plug model.Request + _ = c.ShouldBindJSON(&plug) + {{ end }} + if {{ if .HasResponse }} res, {{ end }} err:= service.ServiceGroupApp.PlugService({{ if .HasRequest }}plug{{ end -}}); err != nil { + global.GVA_LOG.Error("失败!", zap.Error(err)) + response.FailWithMessage("失败", c) + } else { + {{if .HasResponse }} + response.OkWithDetailed(res,"成功",c) + {{else}} + response.OkWithData("成功", c) + {{ end -}} + + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/api/enter.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/api/enter.go.tpl new file mode 100644 index 000000000..ca5687c82 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/api/enter.go.tpl @@ -0,0 +1,7 @@ +package api + +type ApiGroup struct { + {{ .PlugName}}Api +} + +var ApiGroupApp = new(ApiGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/config/config.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/config/config.go.tpl new file mode 100644 index 000000000..0bd87bc6a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/config/config.go.tpl @@ -0,0 +1,9 @@ +package config + +{{- if .HasGlobal }} +type {{ .PlugName }} struct { + {{- range .Global }} + {{ .Key }} {{ .Type }} {{- if ne .Desc "" }} // {{ .Desc }} {{ end -}} + {{- end }} +} +{{ end -}} \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/global/global.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/global/global.go.tpl new file mode 100644 index 000000000..9b39161f0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/global/global.go.tpl @@ -0,0 +1,8 @@ +package global + +{{- if .HasGlobal }} + +import "github.com/flipped-aurora/gin-vue-admin/server/plugin/{{ .Snake}}/config" + +var GlobalConfig = new(config.{{ .PlugName}}) +{{ end -}} \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/main.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/main.go.tpl new file mode 100644 index 000000000..6e4306dd6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/main.go.tpl @@ -0,0 +1,29 @@ +package {{ .Snake}} + +import ( +{{- if .HasGlobal }} + "github.com/flipped-aurora/gin-vue-admin/server/plugin/{{ .Snake}}/global" +{{- end }} + "github.com/flipped-aurora/gin-vue-admin/server/plugin/{{ .Snake}}/router" + "github.com/gin-gonic/gin" +) + +type {{ .PlugName}}Plugin struct { +} + +func Create{{ .PlugName}}Plug({{- range .Global}} {{.Key}} {{.Type}}, {{- end }})*{{ .PlugName}}Plugin { +{{- if .HasGlobal }} + {{- range .Global}} + global.GlobalConfig.{{.Key}} = {{.Key}} + {{- end }} +{{ end }} + return &{{ .PlugName}}Plugin{} +} + +func (*{{ .PlugName}}Plugin) Register(group *gin.RouterGroup) { + router.RouterGroupApp.Init{{ .PlugName}}Router(group) +} + +func (*{{ .PlugName}}Plugin) RouterPath() string { + return "{{ .RouterGroup}}" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/model/model.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/model/model.go.tpl new file mode 100644 index 000000000..137f14794 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/model/model.go.tpl @@ -0,0 +1,17 @@ +package model + +{{- if .HasRequest }} +type Request struct { + {{- range .Request }} + {{ .Key }} {{ .Type }} {{- if ne .Desc "" }} // {{ .Desc }} {{ end -}} + {{- end }} +} +{{ end -}} + +{{- if .HasResponse }} +type Response struct { + {{- range .Response }} + {{ .Key }} {{ .Type }} {{- if ne .Desc "" }} // {{ .Desc }} {{ end -}} + {{- end }} +} +{{ end -}} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/router/enter.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/router/enter.go.tpl new file mode 100644 index 000000000..70a9d6c12 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/router/enter.go.tpl @@ -0,0 +1,7 @@ +package router + +type RouterGroup struct { + {{ .PlugName}}Router +} + +var RouterGroupApp = new(RouterGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/router/router.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/router/router.go.tpl new file mode 100644 index 000000000..93a7ad44e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/router/router.go.tpl @@ -0,0 +1,17 @@ +package router + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/plugin/{{ .Snake}}/api" + "github.com/gin-gonic/gin" +) + +type {{ .PlugName}}Router struct { +} + +func (s *{{ .PlugName}}Router) Init{{ .PlugName}}Router(Router *gin.RouterGroup) { + plugRouter := Router + plugApi := api.ApiGroupApp.{{ .PlugName}}Api + { + plugRouter.POST("routerName", plugApi.ApiName) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/service/enter.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/service/enter.go.tpl new file mode 100644 index 000000000..5f9e425dd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/service/enter.go.tpl @@ -0,0 +1,7 @@ +package service + +type ServiceGroup struct { + {{ .PlugName}}Service +} + +var ServiceGroupApp = new(ServiceGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/service/service.go.tpl b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/service/service.go.tpl new file mode 100644 index 000000000..018489c58 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/resource/plug_template/service/service.go.tpl @@ -0,0 +1,14 @@ +package service + + {{- if .NeedModel }} +import ( + "github.com/flipped-aurora/gin-vue-admin/server/plugin/{{ .Snake}}/model" +) +{{ end }} + +type {{ .PlugName}}Service struct{} + +func (e *{{ .PlugName}}Service) PlugService({{- if .HasRequest }}req model.Request {{ end -}}) ({{- if .HasResponse }}res model.Response,{{ end -}} err error) { + // 写你的业务逻辑 + return {{- if .HasResponse }} res,{{ end }} nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/chainuser/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/chainuser/enter.go new file mode 100644 index 000000000..c7bdc4e29 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/chainuser/enter.go @@ -0,0 +1,5 @@ +package chainuser + +type RouterGroup struct { + UserchainRouter +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/chainuser/user_chain.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/chainuser/user_chain.go new file mode 100644 index 000000000..23e74ef8a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/chainuser/user_chain.go @@ -0,0 +1,27 @@ +package chainuser + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type UserchainRouter struct { +} + +// InitUserchainRouter 初始化 区块链用户 路由信息 +func (s *UserchainRouter) InitUserchainRouter(Router *gin.RouterGroup) { + chainuseRouter := Router.Group("chainuse").Use(middleware.OperationRecord()) + chainuseRouterWithoutRecord := Router.Group("chainuse") + var chainuseApi = v1.ApiGroupApp.ChainuserApiGroup.UserchainApi + { + chainuseRouter.POST("createUserchain", chainuseApi.CreateUserchain) // 新建区块链用户 + chainuseRouter.DELETE("deleteUserchain", chainuseApi.DeleteUserchain) // 删除区块链用户 + chainuseRouter.DELETE("deleteUserchainByIds", chainuseApi.DeleteUserchainByIds) // 批量删除区块链用户 + chainuseRouter.PUT("updateUserchain", chainuseApi.UpdateUserchain) // 更新区块链用户 + } + { + chainuseRouterWithoutRecord.GET("findUserchain", chainuseApi.FindUserchain) // 根据ID获取区块链用户 + chainuseRouterWithoutRecord.GET("getUserchainList", chainuseApi.GetUserchainList) // 获取区块链用户列表 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/enter.go new file mode 100644 index 000000000..3b2b66761 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/enter.go @@ -0,0 +1,17 @@ +package router + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/router/chainuser" + "github.com/flipped-aurora/gin-vue-admin/server/router/example" + "github.com/flipped-aurora/gin-vue-admin/server/router/knowledge" + "github.com/flipped-aurora/gin-vue-admin/server/router/system" +) + +type RouterGroup struct { + System system.RouterGroup + Example example.RouterGroup + Knowledge knowledge.RouterGroup + Chainuser chainuser.RouterGroup +} + +var RouterGroupApp = new(RouterGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/enter.go new file mode 100644 index 000000000..b1798c916 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/enter.go @@ -0,0 +1,6 @@ +package example + +type RouterGroup struct { + CustomerRouter + FileUploadAndDownloadRouter +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/exa_customer.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/exa_customer.go new file mode 100644 index 000000000..fe4eddd9d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/exa_customer.go @@ -0,0 +1,24 @@ +package example + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type CustomerRouter struct{} + +func (e *CustomerRouter) InitCustomerRouter(Router *gin.RouterGroup) { + customerRouter := Router.Group("customer").Use(middleware.OperationRecord()) + customerRouterWithoutRecord := Router.Group("customer") + exaCustomerApi := v1.ApiGroupApp.ExampleApiGroup.CustomerApi + { + customerRouter.POST("customer", exaCustomerApi.CreateExaCustomer) // 创建客户 + customerRouter.PUT("customer", exaCustomerApi.UpdateExaCustomer) // 更新客户 + customerRouter.DELETE("customer", exaCustomerApi.DeleteExaCustomer) // 删除客户 + } + { + customerRouterWithoutRecord.GET("customer", exaCustomerApi.GetExaCustomer) // 获取单一客户信息 + customerRouterWithoutRecord.GET("customerList", exaCustomerApi.GetExaCustomerList) // 获取客户列表 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/exa_file_upload_and_download.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/exa_file_upload_and_download.go new file mode 100644 index 000000000..f02a9b703 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/example/exa_file_upload_and_download.go @@ -0,0 +1,27 @@ +package example + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/gin-gonic/gin" +) + +type FileUploadAndDownloadRouter struct{} + +func (e *FileUploadAndDownloadRouter) InitFileUploadAndDownloadRouter(Router *gin.RouterGroup) { + fileUploadAndDownloadRouter := Router.Group("fileUploadAndDownload") + exaFileUploadAndDownloadApi := v1.ApiGroupApp.ExampleApiGroup.FileUploadAndDownloadApi + { + fileUploadAndDownloadRouter.POST("upload", exaFileUploadAndDownloadApi.UploadFile) // 上传文件 + //fileUploadAndDownloadRouter.GET("findkeywords", exaFileUploadAndDownloadApi.GetKeywordsList) // 上传关键 + fileUploadAndDownloadRouter.GET("findDetail", exaFileUploadAndDownloadApi.GetDetail) // 获取文件详情 + fileUploadAndDownloadRouter.POST("transfer", exaFileUploadAndDownloadApi.ChangeOwner) // 交易 + fileUploadAndDownloadRouter.POST("getFileList", exaFileUploadAndDownloadApi.GetFileList) // 获取上传文件列表 + fileUploadAndDownloadRouter.POST("getFileListofUser", exaFileUploadAndDownloadApi.GetFileListofUser) // 获取上传文件列表 + fileUploadAndDownloadRouter.POST("deleteFile", exaFileUploadAndDownloadApi.DeleteFile) // 删除指定文件 + fileUploadAndDownloadRouter.POST("editFileName", exaFileUploadAndDownloadApi.EditFileName) // 编辑文件名或者注 + fileUploadAndDownloadRouter.POST("breakpointContinue", exaFileUploadAndDownloadApi.BreakpointContinue) // 点续 + fileUploadAndDownloadRouter.GET("findFile", exaFileUploadAndDownloadApi.FindFile) // 查当前文件成功的切片 + fileUploadAndDownloadRouter.POST("breakpointContinueFinish", exaFileUploadAndDownloadApi.BreakpointContinueFinish) // 切片传输完成 + fileUploadAndDownloadRouter.POST("removeChunk", exaFileUploadAndDownloadApi.RemoveChunk) // 删除切片 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/knowledge/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/knowledge/enter.go new file mode 100644 index 000000000..d9a4813ab --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/knowledge/enter.go @@ -0,0 +1,5 @@ +package knowledge + +type RouterGroup struct { + Img2imgRouter +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/knowledge/img2img.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/knowledge/img2img.go new file mode 100644 index 000000000..9da5fe358 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/knowledge/img2img.go @@ -0,0 +1,27 @@ +package knowledge + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type Img2imgRouter struct { +} + +// InitImg2imgRouter 初始化 图生图 路由信息 +func (s *Img2imgRouter) InitImg2imgRouter(Router *gin.RouterGroup) { + img2imgRouter := Router.Group("img2img").Use(middleware.OperationRecord()) + img2imgRouterWithoutRecord := Router.Group("img2img") + var img2imgApi = v1.ApiGroupApp.KnowledgeApiGroup.Img2imgApi + { + img2imgRouter.POST("createImg2img", img2imgApi.CreateImg2img) // 新建图生图 + img2imgRouter.DELETE("deleteImg2img", img2imgApi.DeleteImg2img) // 删除图生图 + img2imgRouter.DELETE("deleteImg2imgByIds", img2imgApi.DeleteImg2imgByIds) // 批量删除图生图 + img2imgRouter.PUT("updateImg2img", img2imgApi.UpdateImg2img) // 更新图生图 + } + { + img2imgRouterWithoutRecord.GET("findImg2img", img2imgApi.FindImg2img) // 根据ID获取图生图 + img2imgRouterWithoutRecord.GET("getImg2imgList", img2imgApi.GetImg2imgList) // 获取图生图列表 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/enter.go new file mode 100644 index 000000000..91ade6fac --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/enter.go @@ -0,0 +1,19 @@ +package system + +type RouterGroup struct { + ApiRouter + JwtRouter + SysRouter + BaseRouter + InitRouter + MenuRouter + UserRouter + CasbinRouter + AutoCodeRouter + AuthorityRouter + DictionaryRouter + OperationRecordRouter + DictionaryDetailRouter + AuthorityBtnRouter + ChatGptRouter +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_api.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_api.go new file mode 100644 index 000000000..53c20ac49 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_api.go @@ -0,0 +1,31 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type ApiRouter struct{} + +func (s *ApiRouter) InitApiRouter(Router *gin.RouterGroup, RouterPub *gin.RouterGroup) { + apiRouter := Router.Group("api").Use(middleware.OperationRecord()) + apiRouterWithoutRecord := Router.Group("api") + + apiPublicRouterWithoutRecord := RouterPub.Group("api") + apiRouterApi := v1.ApiGroupApp.SystemApiGroup.SystemApiApi + { + apiRouter.POST("createApi", apiRouterApi.CreateApi) // 创建Api + apiRouter.POST("deleteApi", apiRouterApi.DeleteApi) // 删除Api + apiRouter.POST("getApiById", apiRouterApi.GetApiById) // 获取单条Api消息 + apiRouter.POST("updateApi", apiRouterApi.UpdateApi) // 更新api + apiRouter.DELETE("deleteApisByIds", apiRouterApi.DeleteApisByIds) // 删除选中api + } + { + apiRouterWithoutRecord.POST("getAllApis", apiRouterApi.GetAllApis) // 获取所有api + apiRouterWithoutRecord.POST("getApiList", apiRouterApi.GetApiList) // 获取Api列表 + } + { + apiPublicRouterWithoutRecord.GET("freshCasbin", apiRouterApi.FreshCasbin) // 刷新casbin权限 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_authority.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_authority.go new file mode 100644 index 000000000..6869b53f5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_authority.go @@ -0,0 +1,25 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type AuthorityRouter struct{} + +func (s *AuthorityRouter) InitAuthorityRouter(Router *gin.RouterGroup) { + authorityRouter := Router.Group("authority").Use(middleware.OperationRecord()) + authorityRouterWithoutRecord := Router.Group("authority") + authorityApi := v1.ApiGroupApp.SystemApiGroup.AuthorityApi + { + authorityRouter.POST("createAuthority", authorityApi.CreateAuthority) // 创建角色 + authorityRouter.POST("deleteAuthority", authorityApi.DeleteAuthority) // 删除角色 + authorityRouter.PUT("updateAuthority", authorityApi.UpdateAuthority) // 更新角色 + authorityRouter.POST("copyAuthority", authorityApi.CopyAuthority) // 拷贝角色 + authorityRouter.POST("setDataAuthority", authorityApi.SetDataAuthority) // 设置角色资源权限 + } + { + authorityRouterWithoutRecord.POST("getAuthorityList", authorityApi.GetAuthorityList) // 获取角色列表 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_authority_btn.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_authority_btn.go new file mode 100644 index 000000000..3e83ce378 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_authority_btn.go @@ -0,0 +1,19 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/gin-gonic/gin" +) + +type AuthorityBtnRouter struct{} + +func (s *AuthorityBtnRouter) InitAuthorityBtnRouterRouter(Router *gin.RouterGroup) { + //authorityRouter := Router.Group("authorityBtn").Use(middleware.OperationRecord()) + authorityRouterWithoutRecord := Router.Group("authorityBtn") + authorityBtnApi := v1.ApiGroupApp.SystemApiGroup.AuthorityBtnApi + { + authorityRouterWithoutRecord.POST("getAuthorityBtn", authorityBtnApi.GetAuthorityBtn) + authorityRouterWithoutRecord.POST("setAuthorityBtn", authorityBtnApi.SetAuthorityBtn) + authorityRouterWithoutRecord.POST("canRemoveAuthorityBtn", authorityBtnApi.CanRemoveAuthorityBtn) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_auto_code.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_auto_code.go new file mode 100644 index 000000000..4f23a1d13 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_auto_code.go @@ -0,0 +1,26 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/gin-gonic/gin" +) + +type AutoCodeRouter struct{} + +func (s *AutoCodeRouter) InitAutoCodeRouter(Router *gin.RouterGroup) { + autoCodeRouter := Router.Group("autoCode") + autoCodeApi := v1.ApiGroupApp.SystemApiGroup.AutoCodeApi + { + autoCodeRouter.GET("getDB", autoCodeApi.GetDB) // 获取数据库 + autoCodeRouter.GET("getTables", autoCodeApi.GetTables) // 获取对应数据库的表 + autoCodeRouter.GET("getColumn", autoCodeApi.GetColumn) // 获取指定表所有字段信息 + autoCodeRouter.POST("preview", autoCodeApi.PreviewTemp) // 获取自动创建代码预览 + autoCodeRouter.POST("createTemp", autoCodeApi.CreateTemp) // 创建自动化代码 + autoCodeRouter.POST("createPackage", autoCodeApi.CreatePackage) // 创建package包 + autoCodeRouter.POST("getPackage", autoCodeApi.GetPackage) // 获取package包 + autoCodeRouter.POST("delPackage", autoCodeApi.DelPackage) // 删除package包 + autoCodeRouter.POST("createPlug", autoCodeApi.AutoPlug) // 自动插件包模板 + autoCodeRouter.POST("installPlugin", autoCodeApi.InstallPlugin) // 自动安装插件 + autoCodeRouter.POST("pubPlug", autoCodeApi.PubPlug) // 打包插件 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_auto_code_history.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_auto_code_history.go new file mode 100644 index 000000000..3eaa82779 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_auto_code_history.go @@ -0,0 +1,19 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/gin-gonic/gin" +) + +type AutoCodeHistoryRouter struct{} + +func (s *AutoCodeRouter) InitAutoCodeHistoryRouter(Router *gin.RouterGroup) { + autoCodeHistoryRouter := Router.Group("autoCode") + autoCodeHistoryApi := v1.ApiGroupApp.SystemApiGroup.AutoCodeHistoryApi + { + autoCodeHistoryRouter.POST("getMeta", autoCodeHistoryApi.First) // 根据id获取meta信息 + autoCodeHistoryRouter.POST("rollback", autoCodeHistoryApi.RollBack) // 回滚 + autoCodeHistoryRouter.POST("delSysHistory", autoCodeHistoryApi.Delete) // 删除回滚记录 + autoCodeHistoryRouter.POST("getSysHistory", autoCodeHistoryApi.GetList) // 获取回滚记录分页 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_base.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_base.go new file mode 100644 index 000000000..e2ee203c8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_base.go @@ -0,0 +1,18 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/gin-gonic/gin" +) + +type BaseRouter struct{} + +func (s *BaseRouter) InitBaseRouter(Router *gin.RouterGroup) (R gin.IRoutes) { + baseRouter := Router.Group("base") + baseApi := v1.ApiGroupApp.SystemApiGroup.BaseApi + { + baseRouter.POST("login", baseApi.Login) + baseRouter.POST("captcha", baseApi.Captcha) + } + return baseRouter +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_casbin.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_casbin.go new file mode 100644 index 000000000..e4926f499 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_casbin.go @@ -0,0 +1,21 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type CasbinRouter struct{} + +func (s *CasbinRouter) InitCasbinRouter(Router *gin.RouterGroup) { + casbinRouter := Router.Group("casbin").Use(middleware.OperationRecord()) + casbinRouterWithoutRecord := Router.Group("casbin") + casbinApi := v1.ApiGroupApp.SystemApiGroup.CasbinApi + { + casbinRouter.POST("updateCasbin", casbinApi.UpdateCasbin) + } + { + casbinRouterWithoutRecord.POST("getPolicyPathByAuthorityId", casbinApi.GetPolicyPathByAuthorityId) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_chatgpt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_chatgpt.go new file mode 100644 index 000000000..f654e5831 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_chatgpt.go @@ -0,0 +1,20 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type ChatGptRouter struct{} + +func (s *ChatGptRouter) InitChatGptRouter(Router *gin.RouterGroup) { + chatGptRouter := Router.Group("chatGpt").Use(middleware.OperationRecord()) + chatGptApi := v1.ApiGroupApp.SystemApiGroup.ChatGptApi + { + chatGptRouter.POST("createSK", chatGptApi.CreateSK) + chatGptRouter.GET("getSK", chatGptApi.GetSK) + chatGptRouter.DELETE("deleteSK", chatGptApi.DeleteSK) + chatGptRouter.POST("getTable", chatGptApi.GetTable) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_dictionary.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_dictionary.go new file mode 100644 index 000000000..311fa7b26 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_dictionary.go @@ -0,0 +1,24 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type DictionaryRouter struct{} + +func (s *DictionaryRouter) InitSysDictionaryRouter(Router *gin.RouterGroup) { + sysDictionaryRouter := Router.Group("sysDictionary").Use(middleware.OperationRecord()) + sysDictionaryRouterWithoutRecord := Router.Group("sysDictionary") + sysDictionaryApi := v1.ApiGroupApp.SystemApiGroup.DictionaryApi + { + sysDictionaryRouter.POST("createSysDictionary", sysDictionaryApi.CreateSysDictionary) // 新建SysDictionary + sysDictionaryRouter.DELETE("deleteSysDictionary", sysDictionaryApi.DeleteSysDictionary) // 删除SysDictionary + sysDictionaryRouter.PUT("updateSysDictionary", sysDictionaryApi.UpdateSysDictionary) // 更新SysDictionary + } + { + sysDictionaryRouterWithoutRecord.GET("findSysDictionary", sysDictionaryApi.FindSysDictionary) // 根据ID获取SysDictionary + sysDictionaryRouterWithoutRecord.GET("getSysDictionaryList", sysDictionaryApi.GetSysDictionaryList) // 获取SysDictionary列表 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_dictionary_detail.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_dictionary_detail.go new file mode 100644 index 000000000..d94fbf2f3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_dictionary_detail.go @@ -0,0 +1,24 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type DictionaryDetailRouter struct{} + +func (s *DictionaryDetailRouter) InitSysDictionaryDetailRouter(Router *gin.RouterGroup) { + dictionaryDetailRouter := Router.Group("sysDictionaryDetail").Use(middleware.OperationRecord()) + dictionaryDetailRouterWithoutRecord := Router.Group("sysDictionaryDetail") + sysDictionaryDetailApi := v1.ApiGroupApp.SystemApiGroup.DictionaryDetailApi + { + dictionaryDetailRouter.POST("createSysDictionaryDetail", sysDictionaryDetailApi.CreateSysDictionaryDetail) // 新建SysDictionaryDetail + dictionaryDetailRouter.DELETE("deleteSysDictionaryDetail", sysDictionaryDetailApi.DeleteSysDictionaryDetail) // 删除SysDictionaryDetail + dictionaryDetailRouter.PUT("updateSysDictionaryDetail", sysDictionaryDetailApi.UpdateSysDictionaryDetail) // 更新SysDictionaryDetail + } + { + dictionaryDetailRouterWithoutRecord.GET("findSysDictionaryDetail", sysDictionaryDetailApi.FindSysDictionaryDetail) // 根据ID获取SysDictionaryDetail + dictionaryDetailRouterWithoutRecord.GET("getSysDictionaryDetailList", sysDictionaryDetailApi.GetSysDictionaryDetailList) // 获取SysDictionaryDetail列表 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_initdb.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_initdb.go new file mode 100644 index 000000000..7c6f7c3b1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_initdb.go @@ -0,0 +1,17 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/gin-gonic/gin" +) + +type InitRouter struct{} + +func (s *InitRouter) InitInitRouter(Router *gin.RouterGroup) { + initRouter := Router.Group("init") + dbApi := v1.ApiGroupApp.SystemApiGroup.DBApi + { + initRouter.POST("initdb", dbApi.InitDB) // 初始化数据库 + initRouter.POST("checkdb", dbApi.CheckDB) // 检测是否需要初始化数据库 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_jwt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_jwt.go new file mode 100644 index 000000000..f1f88992a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_jwt.go @@ -0,0 +1,16 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/gin-gonic/gin" +) + +type JwtRouter struct{} + +func (s *JwtRouter) InitJwtRouter(Router *gin.RouterGroup) { + jwtRouter := Router.Group("jwt") + jwtApi := v1.ApiGroupApp.SystemApiGroup.JwtApi + { + jwtRouter.POST("jsonInBlacklist", jwtApi.JsonInBlacklist) // jwt加入黑名单 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_menu.go new file mode 100644 index 000000000..6d19e71b2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_menu.go @@ -0,0 +1,29 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type MenuRouter struct{} + +func (s *MenuRouter) InitMenuRouter(Router *gin.RouterGroup) (R gin.IRoutes) { + menuRouter := Router.Group("menu").Use(middleware.OperationRecord()) + menuRouterWithoutRecord := Router.Group("menu") + authorityMenuApi := v1.ApiGroupApp.SystemApiGroup.AuthorityMenuApi + { + menuRouter.POST("addBaseMenu", authorityMenuApi.AddBaseMenu) // 新增菜单 + menuRouter.POST("addMenuAuthority", authorityMenuApi.AddMenuAuthority) // 增加menu和角色关联关系 + menuRouter.POST("deleteBaseMenu", authorityMenuApi.DeleteBaseMenu) // 删除菜单 + menuRouter.POST("updateBaseMenu", authorityMenuApi.UpdateBaseMenu) // 更新菜单 + } + { + menuRouterWithoutRecord.POST("getMenu", authorityMenuApi.GetMenu) // 获取菜单树 + menuRouterWithoutRecord.POST("getMenuList", authorityMenuApi.GetMenuList) // 分页获取基础menu列表 + menuRouterWithoutRecord.POST("getBaseMenuTree", authorityMenuApi.GetBaseMenuTree) // 获取用户动态路由 + menuRouterWithoutRecord.POST("getMenuAuthority", authorityMenuApi.GetMenuAuthority) // 获取指定角色menu + menuRouterWithoutRecord.POST("getBaseMenuById", authorityMenuApi.GetBaseMenuById) // 根据id获取菜单 + } + return menuRouter +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_operation_record.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_operation_record.go new file mode 100644 index 000000000..cd008c49a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_operation_record.go @@ -0,0 +1,21 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/gin-gonic/gin" +) + +type OperationRecordRouter struct{} + +func (s *OperationRecordRouter) InitSysOperationRecordRouter(Router *gin.RouterGroup) { + operationRecordRouter := Router.Group("sysOperationRecord") + authorityMenuApi := v1.ApiGroupApp.SystemApiGroup.OperationRecordApi + { + operationRecordRouter.POST("createSysOperationRecord", authorityMenuApi.CreateSysOperationRecord) // 新建SysOperationRecord + operationRecordRouter.DELETE("deleteSysOperationRecord", authorityMenuApi.DeleteSysOperationRecord) // 删除SysOperationRecord + operationRecordRouter.DELETE("deleteSysOperationRecordByIds", authorityMenuApi.DeleteSysOperationRecordByIds) // 批量删除SysOperationRecord + operationRecordRouter.GET("findSysOperationRecord", authorityMenuApi.FindSysOperationRecord) // 根据ID获取SysOperationRecord + operationRecordRouter.GET("getSysOperationRecordList", authorityMenuApi.GetSysOperationRecordList) // 获取SysOperationRecord列表 + + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_system.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_system.go new file mode 100644 index 000000000..92720c607 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_system.go @@ -0,0 +1,20 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type SysRouter struct{} + +func (s *SysRouter) InitSystemRouter(Router *gin.RouterGroup) { + sysRouter := Router.Group("system").Use(middleware.OperationRecord()) + systemApi := v1.ApiGroupApp.SystemApiGroup.SystemApi + { + sysRouter.POST("getSystemConfig", systemApi.GetSystemConfig) // 获取配置文件内容 + sysRouter.POST("setSystemConfig", systemApi.SetSystemConfig) // 设置配置文件内容 + sysRouter.POST("getServerInfo", systemApi.GetServerInfo) // 获取服务器信息 + sysRouter.POST("reloadSystem", systemApi.ReloadSystem) // 重启服务 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_user.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_user.go new file mode 100644 index 000000000..9a09176cc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/router/system/sys_user.go @@ -0,0 +1,29 @@ +package system + +import ( + v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1" + "github.com/flipped-aurora/gin-vue-admin/server/middleware" + "github.com/gin-gonic/gin" +) + +type UserRouter struct{} + +func (s *UserRouter) InitUserRouter(Router *gin.RouterGroup) { + userRouter := Router.Group("user").Use(middleware.OperationRecord()) + userRouterWithoutRecord := Router.Group("user") + baseApi := v1.ApiGroupApp.SystemApiGroup.BaseApi + { + userRouter.POST("admin_register", baseApi.Register) // 管理员注册账号 + userRouter.POST("changePassword", baseApi.ChangePassword) // 用户修改密码 + userRouter.POST("setUserAuthority", baseApi.SetUserAuthority) // 设置用户权限 + userRouter.DELETE("deleteUser", baseApi.DeleteUser) // 删除用户 + userRouter.PUT("setUserInfo", baseApi.SetUserInfo) // 设置用户信息 + userRouter.PUT("setSelfInfo", baseApi.SetSelfInfo) // 设置自身信息 + userRouter.POST("setUserAuthorities", baseApi.SetUserAuthorities) // 设置用户权限组 + userRouter.POST("resetPassword", baseApi.ResetPassword) // 设置用户权限组 + } + { + userRouterWithoutRecord.POST("getUserList", baseApi.GetUserList) // 分页获取用户列表 + userRouterWithoutRecord.GET("getUserInfo", baseApi.GetUserInfo) // 获取自身信息 + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/chainuser/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/chainuser/enter.go new file mode 100644 index 000000000..9b693f49a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/chainuser/enter.go @@ -0,0 +1,5 @@ +package chainuser + +type ServiceGroup struct { + UserchainService +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/chainuser/user_chain.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/chainuser/user_chain.go new file mode 100644 index 000000000..815e831c6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/chainuser/user_chain.go @@ -0,0 +1,88 @@ +package chainuser + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/chainuser" + chainuserReq "github.com/flipped-aurora/gin-vue-admin/server/model/chainuser/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "gorm.io/gorm" +) + +type UserchainService struct { +} + +// CreateUserchain 创建区块链用户记录 +// Author [piexlmax](https://github.com/piexlmax) +func (chainuseService *UserchainService) CreateUserchain(chainuse *chainuser.Userchain) (err error) { + err = global.GVA_DB.Create(chainuse).Error + return err +} + +// DeleteUserchain 删除区块链用户记录 +// Author [piexlmax](https://github.com/piexlmax) +func (chainuseService *UserchainService) DeleteUserchain(chainuse chainuser.Userchain) (err error) { + err = global.GVA_DB.Transaction(func(tx *gorm.DB) error { + if err := tx.Model(&chainuser.Userchain{}).Where("id = ?", chainuse.ID).Update("deleted_by", chainuse.DeletedBy).Error; err != nil { + return err + } + if err = tx.Delete(&chainuse).Error; err != nil { + return err + } + return nil + }) + return err +} + +// DeleteUserchainByIds 批量删除区块链用户记录 +// Author [piexlmax](https://github.com/piexlmax) +func (chainuseService *UserchainService) DeleteUserchainByIds(ids request.IdsReq, deleted_by uint) (err error) { + err = global.GVA_DB.Transaction(func(tx *gorm.DB) error { + if err := tx.Model(&chainuser.Userchain{}).Where("id in ?", ids.Ids).Update("deleted_by", deleted_by).Error; err != nil { + return err + } + if err := tx.Where("id in ?", ids.Ids).Delete(&chainuser.Userchain{}).Error; err != nil { + return err + } + return nil + }) + return err +} + +// UpdateUserchain 更新区块链用户记录 +// Author [piexlmax](https://github.com/piexlmax) +func (chainuseService *UserchainService) UpdateUserchain(chainuse chainuser.Userchain) (err error) { + err = global.GVA_DB.Save(&chainuse).Error + return err +} + +// GetUserchain 根据id获取区块链用户记录 +// Author [piexlmax](https://github.com/piexlmax) +func (chainuseService *UserchainService) GetUserchain(Name string) (chainuse chainuser.Userchain, err error) { + err = global.GVA_DB.Where("name = ?", Name).First(&chainuse).Error + return +} + +// GetUserchainInfoList 分页获取区块链用户记录 +// Author [piexlmax](https://github.com/piexlmax) +func (chainuseService *UserchainService) GetUserchainInfoList(info chainuserReq.UserchainSearch) (list []chainuser.Userchain, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + // 创建db + db := global.GVA_DB.Model(&chainuser.Userchain{}) + var chainuses []chainuser.Userchain + // 如果有条件搜索 下方会自动创建搜索语句 + if info.StartCreatedAt != nil && info.EndCreatedAt != nil { + db = db.Where("created_at BETWEEN ? AND ?", info.StartCreatedAt, info.EndCreatedAt) + } + err = db.Count(&total).Error + if err != nil { + return + } + + if limit != 0 { + db = db.Limit(limit).Offset(offset) + } + + err = db.Find(&chainuses).Error + return chainuses, total, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/enter.go new file mode 100644 index 000000000..3cba216fc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/enter.go @@ -0,0 +1,17 @@ +package service + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/service/chainuser" + "github.com/flipped-aurora/gin-vue-admin/server/service/example" + "github.com/flipped-aurora/gin-vue-admin/server/service/knowledge" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" +) + +type ServiceGroup struct { + SystemServiceGroup system.ServiceGroup + ExampleServiceGroup example.ServiceGroup + KnowledgeServiceGroup knowledge.ServiceGroup + ChainuserServiceGroup chainuser.ServiceGroup +} + +var ServiceGroupApp = new(ServiceGroup) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/enter.go new file mode 100644 index 000000000..c5a7ddaa2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/enter.go @@ -0,0 +1,6 @@ +package example + +type ServiceGroup struct { + CustomerService + FileUploadAndDownloadService +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_breakpoint_continue.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_breakpoint_continue.go new file mode 100644 index 000000000..8a35983cf --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_breakpoint_continue.go @@ -0,0 +1,69 @@ +package example + +import ( + "errors" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + "gorm.io/gorm" +) + +type FileUploadAndDownloadService struct{} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: FindOrCreateFile +//@description: 上传文件时检测当前文件属性,如果没有文件则创建,有则返回文件的当前切片 +//@param: fileMd5 string, fileName string, chunkTotal int +//@return: file model.ExaFile, err error + +func (e *FileUploadAndDownloadService) FindOrCreateFile(fileMd5 string, fileName string, chunkTotal int) (file example.ExaFile, err error) { + var cfile example.ExaFile + cfile.FileMd5 = fileMd5 + cfile.FileName = fileName + cfile.ChunkTotal = chunkTotal + + if errors.Is(global.GVA_DB.Where("file_md5 = ? AND is_finish = ?", fileMd5, true).First(&file).Error, gorm.ErrRecordNotFound) { + err = global.GVA_DB.Where("file_md5 = ? AND file_name = ?", fileMd5, fileName).Preload("ExaFileChunk").FirstOrCreate(&file, cfile).Error + return file, err + } + cfile.IsFinish = true + cfile.FilePath = file.FilePath + err = global.GVA_DB.Create(&cfile).Error + return cfile, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: CreateFileChunk +//@description: 创建文件切片记录 +//@param: id uint, fileChunkPath string, fileChunkNumber int +//@return: error + +func (e *FileUploadAndDownloadService) CreateFileChunk(id uint, fileChunkPath string, fileChunkNumber int) error { + var chunk example.ExaFileChunk + chunk.FileChunkPath = fileChunkPath + chunk.ExaFileID = id + chunk.FileChunkNumber = fileChunkNumber + err := global.GVA_DB.Create(&chunk).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteFileChunk +//@description: 删除文件切片记录 +//@param: fileMd5 string, fileName string, filePath string +//@return: error + +func (e *FileUploadAndDownloadService) DeleteFileChunk(fileMd5 string, filePath string) error { + var chunks []example.ExaFileChunk + var file example.ExaFile + err := global.GVA_DB.Where("file_md5 = ? ", fileMd5).First(&file). + Updates(map[string]interface{}{ + "IsFinish": true, + "file_path": filePath, + }).Error + if err != nil { + return err + } + err = global.GVA_DB.Where("exa_file_id = ?", file.ID).Delete(&chunks).Unscoped().Error + return err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_customer.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_customer.go new file mode 100644 index 000000000..18a62c5f7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_customer.go @@ -0,0 +1,85 @@ +package example + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + systemService "github.com/flipped-aurora/gin-vue-admin/server/service/system" +) + +type CustomerService struct{} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: CreateExaCustomer +//@description: 创建客户 +//@param: e model.ExaCustomer +//@return: err error + +func (exa *CustomerService) CreateExaCustomer(e example.ExaCustomer) (err error) { + err = global.GVA_DB.Create(&e).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteFileChunk +//@description: 删除客户 +//@param: e model.ExaCustomer +//@return: err error + +func (exa *CustomerService) DeleteExaCustomer(e example.ExaCustomer) (err error) { + err = global.GVA_DB.Delete(&e).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UpdateExaCustomer +//@description: 更新客户 +//@param: e *model.ExaCustomer +//@return: err error + +func (exa *CustomerService) UpdateExaCustomer(e *example.ExaCustomer) (err error) { + err = global.GVA_DB.Save(e).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetExaCustomer +//@description: 获取客户信息 +//@param: id uint +//@return: customer model.ExaCustomer, err error + +func (exa *CustomerService) GetExaCustomer(id uint) (customer example.ExaCustomer, err error) { + err = global.GVA_DB.Where("id = ?", id).First(&customer).Error + return +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetCustomerInfoList +//@description: 分页获取客户列表 +//@param: sysUserAuthorityID string, info request.PageInfo +//@return: list interface{}, total int64, err error + +func (exa *CustomerService) GetCustomerInfoList(sysUserAuthorityID uint, info request.PageInfo) (list interface{}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + db := global.GVA_DB.Model(&example.ExaCustomer{}) + var a system.SysAuthority + a.AuthorityId = sysUserAuthorityID + auth, err := systemService.AuthorityServiceApp.GetAuthorityInfo(a) + if err != nil { + return + } + var dataId []uint + for _, v := range auth.DataAuthorityId { + dataId = append(dataId, v.AuthorityId) + } + var CustomerList []example.ExaCustomer + err = db.Where("sys_user_authority_id in ?", dataId).Count(&total).Error + if err != nil { + return CustomerList, total, err + } else { + err = db.Limit(limit).Offset(offset).Preload("SysUser").Where("sys_user_authority_id in ?", dataId).Find(&CustomerList).Error + } + return CustomerList, total, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_file_upload_download.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_file_upload_download.go new file mode 100644 index 000000000..ec1448025 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/example/exa_file_upload_download.go @@ -0,0 +1,247 @@ +package example + +import ( + "encoding/json" + "errors" + "fmt" + "io" + "mime/multipart" + "net/http" + "strconv" + "strings" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/chainuser" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + "github.com/flipped-aurora/gin-vue-admin/server/utils/upload" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Upload +//@description: 创建文件上传记录 +//@param: file model.ExaFileUploadAndDownload +//@return: error + +func (e *FileUploadAndDownloadService) Upload(file example.ExaFileUploadAndDownload) error { + return global.GVA_DB.Create(&file).Error +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: FindFile +//@description: +//@param: id uint +//@return: model.ExaFileUploadAndDownload, error + +func (e *FileUploadAndDownloadService) FindFile(id uint) (example.ExaFileUploadAndDownload, error) { + var file example.ExaFileUploadAndDownload + err := global.GVA_DB.Where("id = ?", id).First(&file).Error + return file, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteFile +//@description: 删除文件记录 +//@param: file model.ExaFileUploadAndDownload +//@return: err error + +func (e *FileUploadAndDownloadService) DeleteFile(file example.ExaFileUploadAndDownload) (err error) { + var fileFromDb example.ExaFileUploadAndDownload + fileFromDb, err = e.FindFile(file.ID) + if err != nil { + return + } + oss := upload.NewOss() + if err = oss.DeleteFile(fileFromDb.Key); err != nil { + return errors.New("文件删除失败") + } + err = global.GVA_DB.Where("id = ?", file.ID).Unscoped().Delete(&file).Error + return err +} + +// EditFileName 编辑文件名或者 +func (e *FileUploadAndDownloadService) EditFileName(file example.ExaFileUploadAndDownload) (err error) { + var fileFromDb example.ExaFileUploadAndDownload + return global.GVA_DB.Where("id = ?", file.ID).First(&fileFromDb).Update("name", file.Name).Error +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetFileRecordInfoList +//@description: 分页获取数据 +//@param: info request.PageInfo +//@return: list interface{}, total int64, err error + +func (e *FileUploadAndDownloadService) GetFileRecordInfoList(info request.PageInfo) (list interface{}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + keyword := info.Keyword + db := global.GVA_DB.Model(&example.ExaFileUploadAndDownload{}) + var fileLists []example.ExaFileUploadAndDownload + if len(keyword) > 0 { + db = db.Where("keywords LIKE ?", "%"+keyword+"%") + } + err = db.Count(&total).Error + if err != nil { + return + } + err = db.Limit(limit).Offset(offset).Order("updated_at desc").Find(&fileLists).Error + return fileLists, total, err +} + +func (e *FileUploadAndDownloadService) GetFileRecordInfoListofUser(info request.PageInfo) (list interface{}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + keyword := info.Keyword + fmt.Println(keyword) + db := global.GVA_DB.Model(&example.ExaFileUploadAndDownload{}) + var fileLists []example.ExaFileUploadAndDownload + if len(keyword) > 0 { + db = db.Where("owner LIKE ?", "%"+keyword+"%") + } + err = db.Count(&total).Error + if err != nil { + return + } + err = db.Limit(limit).Offset(offset).Order("updated_at desc").Find(&fileLists).Error + return fileLists, total, err +} + +/*func (e *FileUploadAndDownloadService) FindKeywords() (list interface{}, err error) { + var keywordsList []string + db := global.GVA_DB.Model(&example.ExaKnowledge{}) + err = db.Find(&keywordsList).Error + return keywordsList, err +}*/ + +func (e *FileUploadAndDownloadService) FindDetail(url string) (file example.ExaFileUploadAndDownload, err error) { + err = global.GVA_DB.Where("url = ?", url).First(&file).Error + return +} + +func (e *FileUploadAndDownloadService) AddMoney(seller string, goods float64) (err error) { + var chainus chainuser.Userchain + db := global.GVA_DB.Model(&chainuser.Userchain{}) + err = db.Where("name = ?", seller).First(&chainus).Update("money", *chainus.Money+goods).Error + return err +} + +type ReqResponse struct { + Record string `json:"record"` + Tx string `json:"tx"` +} + +func (e *FileUploadAndDownloadService) Exchange(buyer string, seller string, work string, goods float64) (err error) { + var fileFromDb example.ExaFileUploadAndDownload + var chainus chainuser.Userchain + goodsint := int(goods) + url := "http://106.13.124.168:10010/collection/transfer" + contentType := "application/json" + + data := `{ + "user_id1":"` + buyer + `", + "user_id2":"` + seller + `", + "collection_id":"` + work + `", + "goods":"` + strconv.Itoa(goodsint) + `" + }` + client := &http.Client{} + req, err := http.NewRequest("POST", url, strings.NewReader(data)) + req.Header.Set("Content-Type", contentType) + resp, err := client.Do(req) + if err != nil { + fmt.Println("post failed, err:%v\n", err) + return + } + defer resp.Body.Close() + b, err := io.ReadAll(resp.Body) + + var res ReqResponse + + err = json.Unmarshal(b, &res) + if err != nil { + fmt.Println("get resp failed,err:%v\n", err) + return + } + fmt.Println(res.Tx) + + err = global.GVA_DB.Where("url = ?", work).First(&fileFromDb).Update("owner", buyer).Error + if err != nil { + return err + } + db := global.GVA_DB.Model(&chainuser.Userchain{}) + err = db.Where("name = ?", buyer).First(&chainus).Update("money", *chainus.Money-goods).Error + if err != nil { + return err + } + err = e.AddMoney(seller, goods) + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UploadFile +//@description: 根据配置文件判断文件上传到本地或者七牛云 +//@param: header *multipart.FileHeader, noSave string +//@return: file model.ExaFileUploadAndDownload, err error + +func (e *FileUploadAndDownloadService) UploadFile(header *multipart.FileHeader, noSave string) (file example.ExaFileUploadAndDownload, err error) { + oss := upload.NewOss() + fakerPath, filePath, key, uploadErr := oss.UploadFile(header) + if header == nil { + fmt.Println("header是空") + return + } + if uploadErr != nil { + panic(uploadErr) + } + s := strings.Split(header.Filename, ".") + + keykey := "服饰 凤凰 中国风" + + nowtime := time.Now().Format("2006-01-02 15:04:05") + url := "http://106.13.124.168:10010/collection/insert" + contentType := "application/json" + data := `{ + "collection_id": "` + filePath + `", + "collection_name": "` + header.Filename + `", + "owner_id": "Yang", + "certificate_time": "` + nowtime + `", + "certificate_organization": "AI4C北京市国信公证处", + "collection_semantic": "` + keykey + `" + }` + client := &http.Client{} + req, err := http.NewRequest("POST", url, strings.NewReader(data)) + req.Header.Set("Content-Type", contentType) + resp, err := client.Do(req) + if err != nil { + fmt.Println("post failed, err:%v\n", err) + return + } + defer resp.Body.Close() + b, err := io.ReadAll(resp.Body) + + var res ReqResponse + + err = json.Unmarshal(b, &res) + if err != nil { + fmt.Println("get resp failed,err:%v\n", err) + return + } + fmt.Println(res.Tx) + + f := example.ExaFileUploadAndDownload{ + Url: filePath, + Name: header.Filename, + Tag: s[len(s)-1], + Key: key, + Faker: fakerPath, + Owner: "Yang", + Certi_organization: "AI4C北京公证处", + Keywords: keykey, + Biaoshi: res.Tx, + Price: 1, + } + if noSave == "0" { + return f, e.Upload(f) + } + return f, nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/knowledge/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/knowledge/enter.go new file mode 100644 index 000000000..ea7e1f134 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/knowledge/enter.go @@ -0,0 +1,5 @@ +package knowledge + +type ServiceGroup struct { + Img2imgService +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/knowledge/img2img.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/knowledge/img2img.go new file mode 100644 index 000000000..64c93d483 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/knowledge/img2img.go @@ -0,0 +1,71 @@ +package knowledge + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/knowledge" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + knowledgeReq "github.com/flipped-aurora/gin-vue-admin/server/model/knowledge/request" +) + +type Img2imgService struct { +} + +// CreateImg2img 创建图生图记录 +// Author [piexlmax](https://github.com/piexlmax) +func (img2imgService *Img2imgService) CreateImg2img(img2img *knowledge.Img2img) (err error) { + err = global.GVA_DB.Create(img2img).Error + return err +} + +// DeleteImg2img 删除图生图记录 +// Author [piexlmax](https://github.com/piexlmax) +func (img2imgService *Img2imgService)DeleteImg2img(img2img knowledge.Img2img) (err error) { + err = global.GVA_DB.Delete(&img2img).Error + return err +} + +// DeleteImg2imgByIds 批量删除图生图记录 +// Author [piexlmax](https://github.com/piexlmax) +func (img2imgService *Img2imgService)DeleteImg2imgByIds(ids request.IdsReq) (err error) { + err = global.GVA_DB.Delete(&[]knowledge.Img2img{},"id in ?",ids.Ids).Error + return err +} + +// UpdateImg2img 更新图生图记录 +// Author [piexlmax](https://github.com/piexlmax) +func (img2imgService *Img2imgService)UpdateImg2img(img2img knowledge.Img2img) (err error) { + err = global.GVA_DB.Save(&img2img).Error + return err +} + +// GetImg2img 根据id获取图生图记录 +// Author [piexlmax](https://github.com/piexlmax) +func (img2imgService *Img2imgService)GetImg2img(id uint) (img2img knowledge.Img2img, err error) { + err = global.GVA_DB.Where("id = ?", id).First(&img2img).Error + return +} + +// GetImg2imgInfoList 分页获取图生图记录 +// Author [piexlmax](https://github.com/piexlmax) +func (img2imgService *Img2imgService)GetImg2imgInfoList(info knowledgeReq.Img2imgSearch) (list []knowledge.Img2img, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + // 创建db + db := global.GVA_DB.Model(&knowledge.Img2img{}) + var img2imgs []knowledge.Img2img + // 如果有条件搜索 下方会自动创建搜索语句 + if info.StartCreatedAt !=nil && info.EndCreatedAt !=nil { + db = db.Where("created_at BETWEEN ? AND ?", info.StartCreatedAt, info.EndCreatedAt) + } + err = db.Count(&total).Error + if err!=nil { + return + } + + if limit != 0 { + db = db.Limit(limit).Offset(offset) + } + + err = db.Find(&img2imgs).Error + return img2imgs, total, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/enter.go new file mode 100644 index 000000000..f15973484 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/enter.go @@ -0,0 +1,20 @@ +package system + +type ServiceGroup struct { + JwtService + ApiService + MenuService + UserService + CasbinService + InitDBService + AutoCodeService + BaseMenuService + AuthorityService + DictionaryService + SystemConfigService + AutoCodeHistoryService + OperationRecordService + DictionaryDetailService + AuthorityBtnService + ChatGptService +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/jwt_black_list.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/jwt_black_list.go new file mode 100644 index 000000000..836addc39 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/jwt_black_list.go @@ -0,0 +1,82 @@ +package system + +import ( + "context" + + "go.uber.org/zap" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/utils" +) + +type JwtService struct{} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: JsonInBlacklist +//@description: 拉黑jwt +//@param: jwtList model.JwtBlacklist +//@return: err error + +func (jwtService *JwtService) JsonInBlacklist(jwtList system.JwtBlacklist) (err error) { + err = global.GVA_DB.Create(&jwtList).Error + if err != nil { + return + } + global.BlackCache.SetDefault(jwtList.Jwt, struct{}{}) + return +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: IsBlacklist +//@description: 判断JWT是否在黑名单内部 +//@param: jwt string +//@return: bool + +func (jwtService *JwtService) IsBlacklist(jwt string) bool { + _, ok := global.BlackCache.Get(jwt) + return ok + // err := global.GVA_DB.Where("jwt = ?", jwt).First(&system.JwtBlacklist{}).Error + // isNotFound := errors.Is(err, gorm.ErrRecordNotFound) + // return !isNotFound +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetRedisJWT +//@description: 从redis取jwt +//@param: userName string +//@return: redisJWT string, err error + +func (jwtService *JwtService) GetRedisJWT(userName string) (redisJWT string, err error) { + redisJWT, err = global.GVA_REDIS.Get(context.Background(), userName).Result() + return redisJWT, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: SetRedisJWT +//@description: jwt存入redis并设置过期时间 +//@param: jwt string, userName string +//@return: err error + +func (jwtService *JwtService) SetRedisJWT(jwt string, userName string) (err error) { + // 此处过期时间等于jwt过期时间 + dr, err := utils.ParseDuration(global.GVA_CONFIG.JWT.ExpiresTime) + if err != nil { + return err + } + timer := dr + err = global.GVA_REDIS.Set(context.Background(), userName, jwt, timer).Err() + return err +} + +func LoadAll() { + var data []string + err := global.GVA_DB.Model(&system.JwtBlacklist{}).Select("jwt").Find(&data).Error + if err != nil { + global.GVA_LOG.Error("加载数据库jwt黑名单失败!", zap.Error(err)) + return + } + for i := 0; i < len(data); i++ { + global.BlackCache.SetDefault(data[i], struct{}{}) + } // jwt黑名单 加入 BlackCache 中 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_api.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_api.go new file mode 100644 index 000000000..5c0d89353 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_api.go @@ -0,0 +1,184 @@ +package system + +import ( + "errors" + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + + "gorm.io/gorm" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: CreateApi +//@description: 新增基础api +//@param: api model.SysApi +//@return: err error + +type ApiService struct{} + +var ApiServiceApp = new(ApiService) + +func (apiService *ApiService) CreateApi(api system.SysApi) (err error) { + if !errors.Is(global.GVA_DB.Where("path = ? AND method = ?", api.Path, api.Method).First(&system.SysApi{}).Error, gorm.ErrRecordNotFound) { + return errors.New("存在相同api") + } + return global.GVA_DB.Create(&api).Error +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteApi +//@description: 删除基础api +//@param: api model.SysApi +//@return: err error + +func (apiService *ApiService) DeleteApi(api system.SysApi) (err error) { + var entity system.SysApi + err = global.GVA_DB.Where("id = ?", api.ID).First(&entity).Error // 根据id查询api记录 + if errors.Is(err, gorm.ErrRecordNotFound) { // api记录不存在 + return err + } + err = global.GVA_DB.Delete(&entity).Error + if err != nil { + return err + } + CasbinServiceApp.ClearCasbin(1, entity.Path, entity.Method) + if err != nil { + return err + } + return nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetAPIInfoList +//@description: 分页获取数据, +//@param: api model.SysApi, info request.PageInfo, order string, desc bool +//@return: list interface{}, total int64, err error + +func (apiService *ApiService) GetAPIInfoList(api system.SysApi, info request.PageInfo, order string, desc bool) (list interface{}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + db := global.GVA_DB.Model(&system.SysApi{}) + var apiList []system.SysApi + + if api.Path != "" { + db = db.Where("path LIKE ?", "%"+api.Path+"%") + } + + if api.Description != "" { + db = db.Where("description LIKE ?", "%"+api.Description+"%") + } + + if api.Method != "" { + db = db.Where("method = ?", api.Method) + } + + if api.ApiGroup != "" { + db = db.Where("api_group = ?", api.ApiGroup) + } + + err = db.Count(&total).Error + + if err != nil { + return apiList, total, err + } else { + db = db.Limit(limit).Offset(offset) + if order != "" { + var OrderStr string + // 设置有效排序key 防止sql注入 + // 感谢 Tom4t0 提交漏洞信息 + orderMap := make(map[string]bool, 5) + orderMap["id"] = true + orderMap["path"] = true + orderMap["api_group"] = true + orderMap["description"] = true + orderMap["method"] = true + if orderMap[order] { + if desc { + OrderStr = order + " desc" + } else { + OrderStr = order + } + } else { // didn't match any order key in `orderMap` + err = fmt.Errorf("非法的排序字段: %v", order) + return apiList, total, err + } + + err = db.Order(OrderStr).Find(&apiList).Error + } else { + err = db.Order("api_group").Find(&apiList).Error + } + } + return apiList, total, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetAllApis +//@description: 获取所有的api +//@return: apis []model.SysApi, err error + +func (apiService *ApiService) GetAllApis() (apis []system.SysApi, err error) { + err = global.GVA_DB.Find(&apis).Error + return +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetApiById +//@description: 根据id获取api +//@param: id float64 +//@return: api model.SysApi, err error + +func (apiService *ApiService) GetApiById(id int) (api system.SysApi, err error) { + err = global.GVA_DB.Where("id = ?", id).First(&api).Error + return +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UpdateApi +//@description: 根据id更新api +//@param: api model.SysApi +//@return: err error + +func (apiService *ApiService) UpdateApi(api system.SysApi) (err error) { + var oldA system.SysApi + err = global.GVA_DB.Where("id = ?", api.ID).First(&oldA).Error + if oldA.Path != api.Path || oldA.Method != api.Method { + if !errors.Is(global.GVA_DB.Where("path = ? AND method = ?", api.Path, api.Method).First(&system.SysApi{}).Error, gorm.ErrRecordNotFound) { + return errors.New("存在相同api路径") + } + } + if err != nil { + return err + } else { + err = CasbinServiceApp.UpdateCasbinApi(oldA.Path, api.Path, oldA.Method, api.Method) + if err != nil { + return err + } else { + err = global.GVA_DB.Save(&api).Error + } + } + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteApis +//@description: 删除选中API +//@param: apis []model.SysApi +//@return: err error + +func (apiService *ApiService) DeleteApisByIds(ids request.IdsReq) (err error) { + var apis []system.SysApi + err = global.GVA_DB.Find(&apis, "id in ?", ids.Ids).Delete(&apis).Error + if err != nil { + return err + } else { + for _, sysApi := range apis { + CasbinServiceApp.ClearCasbin(1, sysApi.Path, sysApi.Method) + } + if err != nil { + return err + } + } + return err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_authority.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_authority.go new file mode 100644 index 000000000..381b060e5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_authority.go @@ -0,0 +1,245 @@ +package system + +import ( + "errors" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "strconv" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "gorm.io/gorm" +) + +var ErrRoleExistence = errors.New("存在相同角色id") + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: CreateAuthority +//@description: 创建一个角色 +//@param: auth model.SysAuthority +//@return: authority system.SysAuthority, err error + +type AuthorityService struct{} + +var AuthorityServiceApp = new(AuthorityService) + +func (authorityService *AuthorityService) CreateAuthority(auth system.SysAuthority) (authority system.SysAuthority, err error) { + + if err = global.GVA_DB.Where("authority_id = ?", auth.AuthorityId).First(&system.SysAuthority{}).Error; !errors.Is(err, gorm.ErrRecordNotFound) { + return auth, ErrRoleExistence + } + + e := global.GVA_DB.Transaction(func(tx *gorm.DB) error { + + if err = tx.Create(&auth).Error; err != nil { + return err + } + + auth.SysBaseMenus = systemReq.DefaultMenu() + if err = tx.Model(&auth).Association("SysBaseMenus").Replace(&auth.SysBaseMenus); err != nil { + return err + } + casbinInfos := systemReq.DefaultCasbin() + authorityId := strconv.Itoa(int(auth.AuthorityId)) + rules := [][]string{} + for _, v := range casbinInfos { + rules = append(rules, []string{authorityId, v.Path, v.Method}) + } + return CasbinServiceApp.AddPolicies(tx, rules) + }) + + return auth, e +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: CopyAuthority +//@description: 复制一个角色 +//@param: copyInfo response.SysAuthorityCopyResponse +//@return: authority system.SysAuthority, err error + +func (authorityService *AuthorityService) CopyAuthority(copyInfo response.SysAuthorityCopyResponse) (authority system.SysAuthority, err error) { + var authorityBox system.SysAuthority + if !errors.Is(global.GVA_DB.Where("authority_id = ?", copyInfo.Authority.AuthorityId).First(&authorityBox).Error, gorm.ErrRecordNotFound) { + return authority, ErrRoleExistence + } + copyInfo.Authority.Children = []system.SysAuthority{} + menus, err := MenuServiceApp.GetMenuAuthority(&request.GetAuthorityId{AuthorityId: copyInfo.OldAuthorityId}) + if err != nil { + return + } + var baseMenu []system.SysBaseMenu + for _, v := range menus { + intNum, _ := strconv.Atoi(v.MenuId) + v.SysBaseMenu.ID = uint(intNum) + baseMenu = append(baseMenu, v.SysBaseMenu) + } + copyInfo.Authority.SysBaseMenus = baseMenu + err = global.GVA_DB.Create(©Info.Authority).Error + if err != nil { + return + } + + var btns []system.SysAuthorityBtn + + err = global.GVA_DB.Find(&btns, "authority_id = ?", copyInfo.OldAuthorityId).Error + if err != nil { + return + } + if len(btns) > 0 { + for i := range btns { + btns[i].AuthorityId = copyInfo.Authority.AuthorityId + } + err = global.GVA_DB.Create(&btns).Error + + if err != nil { + return + } + } + paths := CasbinServiceApp.GetPolicyPathByAuthorityId(copyInfo.OldAuthorityId) + err = CasbinServiceApp.UpdateCasbin(copyInfo.Authority.AuthorityId, paths) + if err != nil { + _ = authorityService.DeleteAuthority(©Info.Authority) + } + return copyInfo.Authority, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UpdateAuthority +//@description: 更改一个角色 +//@param: auth model.SysAuthority +//@return: authority system.SysAuthority, err error + +func (authorityService *AuthorityService) UpdateAuthority(auth system.SysAuthority) (authority system.SysAuthority, err error) { + err = global.GVA_DB.Where("authority_id = ?", auth.AuthorityId).First(&system.SysAuthority{}).Updates(&auth).Error + return auth, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteAuthority +//@description: 删除角色 +//@param: auth *model.SysAuthority +//@return: err error + +func (authorityService *AuthorityService) DeleteAuthority(auth *system.SysAuthority) error { + if errors.Is(global.GVA_DB.Debug().Preload("Users").First(&auth).Error, gorm.ErrRecordNotFound) { + return errors.New("该角色不存在") + } + if len(auth.Users) != 0 { + return errors.New("此角色有用户正在使用禁止删除") + } + if !errors.Is(global.GVA_DB.Where("authority_id = ?", auth.AuthorityId).First(&system.SysUser{}).Error, gorm.ErrRecordNotFound) { + return errors.New("此角色有用户正在使用禁止删除") + } + if !errors.Is(global.GVA_DB.Where("parent_id = ?", auth.AuthorityId).First(&system.SysAuthority{}).Error, gorm.ErrRecordNotFound) { + return errors.New("此角色存在子角色不允许删除") + } + + return global.GVA_DB.Transaction(func(tx *gorm.DB) error { + var err error + if err = tx.Preload("SysBaseMenus").Preload("DataAuthorityId").Where("authority_id = ?", auth.AuthorityId).First(auth).Unscoped().Delete(auth).Error; err != nil { + return err + } + + if len(auth.SysBaseMenus) > 0 { + if err = tx.Model(auth).Association("SysBaseMenus").Delete(auth.SysBaseMenus); err != nil { + return err + } + // err = db.Association("SysBaseMenus").Delete(&auth) + } + if len(auth.DataAuthorityId) > 0 { + if err = tx.Model(auth).Association("DataAuthorityId").Delete(auth.DataAuthorityId); err != nil { + return err + } + } + + if err = tx.Delete(&system.SysUserAuthority{}, "sys_authority_authority_id = ?", auth.AuthorityId).Error; err != nil { + return err + } + if err = tx.Where("authority_id = ?", auth.AuthorityId).Delete(&[]system.SysAuthorityBtn{}).Error; err != nil { + return err + } + + authorityId := strconv.Itoa(int(auth.AuthorityId)) + + if err = CasbinServiceApp.RemoveFilteredPolicy(tx, authorityId); err != nil { + return err + } + + return nil + }) +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetAuthorityInfoList +//@description: 分页获取数据 +//@param: info request.PageInfo +//@return: list interface{}, total int64, err error + +func (authorityService *AuthorityService) GetAuthorityInfoList(info request.PageInfo) (list interface{}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + db := global.GVA_DB.Model(&system.SysAuthority{}) + if err = db.Where("parent_id = ?", "0").Count(&total).Error; total == 0 || err != nil { + return + } + var authority []system.SysAuthority + err = db.Limit(limit).Offset(offset).Preload("DataAuthorityId").Where("parent_id = ?", "0").Find(&authority).Error + for k := range authority { + err = authorityService.findChildrenAuthority(&authority[k]) + } + return authority, total, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetAuthorityInfo +//@description: 获取所有角色信息 +//@param: auth model.SysAuthority +//@return: sa system.SysAuthority, err error + +func (authorityService *AuthorityService) GetAuthorityInfo(auth system.SysAuthority) (sa system.SysAuthority, err error) { + err = global.GVA_DB.Preload("DataAuthorityId").Where("authority_id = ?", auth.AuthorityId).First(&sa).Error + return sa, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: SetDataAuthority +//@description: 设置角色资源权限 +//@param: auth model.SysAuthority +//@return: error + +func (authorityService *AuthorityService) SetDataAuthority(auth system.SysAuthority) error { + var s system.SysAuthority + global.GVA_DB.Preload("DataAuthorityId").First(&s, "authority_id = ?", auth.AuthorityId) + err := global.GVA_DB.Model(&s).Association("DataAuthorityId").Replace(&auth.DataAuthorityId) + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: SetMenuAuthority +//@description: 菜单与角色绑定 +//@param: auth *model.SysAuthority +//@return: error + +func (authorityService *AuthorityService) SetMenuAuthority(auth *system.SysAuthority) error { + var s system.SysAuthority + global.GVA_DB.Preload("SysBaseMenus").First(&s, "authority_id = ?", auth.AuthorityId) + err := global.GVA_DB.Model(&s).Association("SysBaseMenus").Replace(&auth.SysBaseMenus) + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: findChildrenAuthority +//@description: 查询子角色 +//@param: authority *model.SysAuthority +//@return: err error + +func (authorityService *AuthorityService) findChildrenAuthority(authority *system.SysAuthority) (err error) { + err = global.GVA_DB.Preload("DataAuthorityId").Where("parent_id = ?", authority.AuthorityId).Find(&authority.Children).Error + if len(authority.Children) > 0 { + for k := range authority.Children { + err = authorityService.findChildrenAuthority(&authority.Children[k]) + } + } + return err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_authority_btn.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_authority_btn.go new file mode 100644 index 000000000..25388bf48 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_authority_btn.go @@ -0,0 +1,58 @@ +package system + +import ( + "errors" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "gorm.io/gorm" +) + +type AuthorityBtnService struct{} + +func (a *AuthorityBtnService) GetAuthorityBtn(req request.SysAuthorityBtnReq) (res response.SysAuthorityBtnRes, err error) { + var authorityBtn []system.SysAuthorityBtn + err = global.GVA_DB.Find(&authorityBtn, "authority_id = ? and sys_menu_id = ?", req.AuthorityId, req.MenuID).Error + if err != nil { + return + } + var selected []uint + for _, v := range authorityBtn { + selected = append(selected, v.SysBaseMenuBtnID) + } + res.Selected = selected + return res, err +} + +func (a *AuthorityBtnService) SetAuthorityBtn(req request.SysAuthorityBtnReq) (err error) { + return global.GVA_DB.Transaction(func(tx *gorm.DB) error { + var authorityBtn []system.SysAuthorityBtn + err = tx.Delete(&[]system.SysAuthorityBtn{}, "authority_id = ? and sys_menu_id = ?", req.AuthorityId, req.MenuID).Error + if err != nil { + return err + } + for _, v := range req.Selected { + authorityBtn = append(authorityBtn, system.SysAuthorityBtn{ + AuthorityId: req.AuthorityId, + SysMenuID: req.MenuID, + SysBaseMenuBtnID: v, + }) + } + if len(authorityBtn) > 0 { + err = tx.Create(&authorityBtn).Error + } + if err != nil { + return err + } + return err + }) +} + +func (a *AuthorityBtnService) CanRemoveAuthorityBtn(ID string) (err error) { + fErr := global.GVA_DB.First(&system.SysAuthorityBtn{}, "sys_base_menu_btn_id = ?", ID).Error + if errors.Is(fErr, gorm.ErrRecordNotFound) { + return nil + } + return errors.New("此按钮正在被使用无法删除") +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code.go new file mode 100644 index 000000000..b108e7524 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code.go @@ -0,0 +1,964 @@ +package system + +import ( + "archive/zip" + "encoding/json" + "errors" + "fmt" + "io" + "mime/multipart" + "os" + "path/filepath" + "strconv" + "strings" + "text/template" + + ast2 "github.com/flipped-aurora/gin-vue-admin/server/utils/ast" + + "github.com/flipped-aurora/gin-vue-admin/server/resource/autocode_template/subcontract" + cp "github.com/otiai10/copy" + "go.uber.org/zap" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "gorm.io/gorm" +) + +const ( + autoPath = "autocode_template/" + autocodePath = "resource/autocode_template" + plugPath = "resource/plug_template" + packageService = "service/%s/enter.go" + packageServiceName = "service" + packageRouter = "router/%s/enter.go" + packageRouterName = "router" + packageAPI = "api/v1/%s/enter.go" + packageAPIName = "api/v1" +) + +type autoPackage struct { + path string + temp string + name string +} + +var ( + packageInjectionMap map[string]astInjectionMeta + injectionPaths []injectionMeta +) + +func Init(Package string) { + injectionPaths = []injectionMeta{ + { + path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SApi, Package), "enter.go"), + funcName: "ApiGroup", + structNameF: "%sApi", + }, + { + path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SRouter, Package), "enter.go"), + funcName: "RouterGroup", + structNameF: "%sRouter", + }, + { + path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SService, Package), "enter.go"), + funcName: "ServiceGroup", + structNameF: "%sService", + }, + } + + packageInjectionMap = map[string]astInjectionMeta{ + packageServiceName: { + path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, "service", "enter.go"), + importCodeF: "github.com/flipped-aurora/gin-vue-admin/server/%s/%s", + packageNameF: "%s", + groupName: "ServiceGroup", + structNameF: "%sServiceGroup", + }, + packageRouterName: { + path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, "router", "enter.go"), + importCodeF: "github.com/flipped-aurora/gin-vue-admin/server/%s/%s", + packageNameF: "%s", + groupName: "RouterGroup", + structNameF: "%s", + }, + packageAPIName: { + path: filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, "api/v1", "enter.go"), + importCodeF: "github.com/flipped-aurora/gin-vue-admin/server/%s/%s", + packageNameF: "%s", + groupName: "ApiGroup", + structNameF: "%sApiGroup", + }, + } +} + +type injectionMeta struct { + path string + funcName string + structNameF string // 带格式化的 +} + +type astInjectionMeta struct { + path string + importCodeF string + structNameF string + packageNameF string + groupName string +} + +type tplData struct { + template *template.Template + autoPackage string + locationPath string + autoCodePath string + autoMoveFilePath string +} + +type AutoCodeService struct{} + +var AutoCodeServiceApp = new(AutoCodeService) + +// @author: [songzhibin97](https://github.com/songzhibin97) +// @function: PreviewTemp +// @description: 预览创建代码 +// @param: model.AutoCodeStruct +// @return: map[string]string, error + +func (autoCodeService *AutoCodeService) PreviewTemp(autoCode system.AutoCodeStruct) (map[string]string, error) { + makeDictTypes(&autoCode) + for i := range autoCode.Fields { + if autoCode.Fields[i].FieldType == "time.Time" { + autoCode.HasTimer = true + } + if autoCode.Fields[i].Require { + autoCode.NeedValid = true + } + if autoCode.Fields[i].Sort { + autoCode.NeedSort = true + } + if autoCode.Fields[i].FieldType == "picture" { + autoCode.HasPic = true + } + if autoCode.Fields[i].FieldType == "video" { + autoCode.HasPic = true + } + if autoCode.Fields[i].FieldType == "richtext" { + autoCode.HasRichText = true + } + if autoCode.Fields[i].FieldType == "pictures" { + autoCode.HasPic = true + autoCode.NeedJSON = true + } + if autoCode.Fields[i].FieldType == "file" { + autoCode.HasFile = true + autoCode.NeedJSON = true + } + } + dataList, _, needMkdir, err := autoCodeService.getNeedList(&autoCode) + if err != nil { + return nil, err + } + + // 写入文件前,先创建文件夹 + if err = utils.CreateDir(needMkdir...); err != nil { + return nil, err + } + + // 创建map + ret := make(map[string]string) + + // 生成map + for _, value := range dataList { + ext := "" + if ext = filepath.Ext(value.autoCodePath); ext == ".txt" { + continue + } + f, err := os.OpenFile(value.autoCodePath, os.O_CREATE|os.O_WRONLY, 0o755) + if err != nil { + return nil, err + } + if err = value.template.Execute(f, autoCode); err != nil { + return nil, err + } + _ = f.Close() + f, err = os.OpenFile(value.autoCodePath, os.O_CREATE|os.O_RDONLY, 0o755) + if err != nil { + return nil, err + } + builder := strings.Builder{} + builder.WriteString("```") + + if ext != "" && strings.Contains(ext, ".") { + builder.WriteString(strings.Replace(ext, ".", "", -1)) + } + builder.WriteString("\n\n") + data, err := io.ReadAll(f) + if err != nil { + return nil, err + } + builder.Write(data) + builder.WriteString("\n\n```") + + pathArr := strings.Split(value.autoCodePath, string(os.PathSeparator)) + ret[pathArr[1]+"-"+pathArr[3]] = builder.String() + _ = f.Close() + + } + defer func() { // 移除中间文件 + if err := os.RemoveAll(autoPath); err != nil { + return + } + }() + return ret, nil +} + +func makeDictTypes(autoCode *system.AutoCodeStruct) { + DictTypeM := make(map[string]string) + for _, v := range autoCode.Fields { + if v.DictType != "" { + DictTypeM[v.DictType] = "" + } + } + + for k := range DictTypeM { + autoCode.DictTypes = append(autoCode.DictTypes, k) + } +} + +// @author: [piexlmax](https://github.com/piexlmax) +// @function: CreateTemp +// @description: 创建代码 +// @param: model.AutoCodeStruct +// @return: err error + +func (autoCodeService *AutoCodeService) CreateTemp(autoCode system.AutoCodeStruct, ids ...uint) (err error) { + makeDictTypes(&autoCode) + for i := range autoCode.Fields { + if autoCode.Fields[i].FieldType == "time.Time" { + autoCode.HasTimer = true + } + if autoCode.Fields[i].Require { + autoCode.NeedValid = true + } + if autoCode.Fields[i].Sort { + autoCode.NeedSort = true + } + if autoCode.Fields[i].FieldType == "picture" { + autoCode.HasPic = true + } + if autoCode.Fields[i].FieldType == "video" { + autoCode.HasPic = true + } + if autoCode.Fields[i].FieldType == "richtext" { + autoCode.HasRichText = true + } + if autoCode.Fields[i].FieldType == "pictures" { + autoCode.NeedJSON = true + autoCode.HasPic = true + } + if autoCode.Fields[i].FieldType == "file" { + autoCode.NeedJSON = true + autoCode.HasFile = true + } + } + // 增加判断: 重复创建struct + if autoCode.AutoMoveFile && AutoCodeHistoryServiceApp.Repeat(autoCode.BusinessDB, autoCode.StructName, autoCode.Package) { + return RepeatErr + } + dataList, fileList, needMkdir, err := autoCodeService.getNeedList(&autoCode) + if err != nil { + return err + } + meta, _ := json.Marshal(autoCode) + + // 增加判断:Package不为空 + if autoCode.Package == "" { + return errors.New("Package为空\n") + } + + // 写入文件前,先创建文件夹 + if err = utils.CreateDir(needMkdir...); err != nil { + return err + } + + // 生成文件 + for _, value := range dataList { + f, err := os.OpenFile(value.autoCodePath, os.O_CREATE|os.O_WRONLY, 0o755) + if err != nil { + return err + } + if err = value.template.Execute(f, autoCode); err != nil { + return err + } + _ = f.Close() + } + + defer func() { // 移除中间文件 + if err := os.RemoveAll(autoPath); err != nil { + return + } + }() + bf := strings.Builder{} + idBf := strings.Builder{} + injectionCodeMeta := strings.Builder{} + for _, id := range ids { + idBf.WriteString(strconv.Itoa(int(id))) + idBf.WriteString(";") + } + if autoCode.AutoMoveFile { // 判断是否需要自动转移 + Init(autoCode.Package) + for index := range dataList { + autoCodeService.addAutoMoveFile(&dataList[index]) + } + // 判断目标文件是否都可以移动 + for _, value := range dataList { + if utils.FileExist(value.autoMoveFilePath) { + return errors.New(fmt.Sprintf("目标文件已存在:%s\n", value.autoMoveFilePath)) + } + } + for _, value := range dataList { // 移动文件 + if err := utils.FileMove(value.autoCodePath, value.autoMoveFilePath); err != nil { + return err + } + } + + { + // 在gorm.go 注入 自动迁移 + path := filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, global.GVA_CONFIG.AutoCode.SInitialize, "gorm.go") + varDB := utils.MaheHump(autoCode.BusinessDB) + ast2.AddRegisterTablesAst(path, "RegisterTables", autoCode.Package, varDB, autoCode.BusinessDB, autoCode.StructName) + } + + { + // router.go 注入 自动迁移 + path := filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, global.GVA_CONFIG.AutoCode.SInitialize, "router.go") + ast2.AddRouterCode(path, "Routers", autoCode.Package, autoCode.StructName) + } + // 给各个enter进行注入 + err = injectionCode(autoCode.StructName, &injectionCodeMeta) + if err != nil { + return + } + // 保存生成信息 + for _, data := range dataList { + if len(data.autoMoveFilePath) != 0 { + bf.WriteString(data.autoMoveFilePath) + bf.WriteString(";") + } + } + } else { // 打包 + if err = utils.ZipFiles("./ginvueadmin.zip", fileList, ".", "."); err != nil { + return err + } + } + if autoCode.AutoMoveFile || autoCode.AutoCreateApiToSql { + if autoCode.TableName != "" { + err = AutoCodeHistoryServiceApp.CreateAutoCodeHistory( + string(meta), + autoCode.StructName, + autoCode.Description, + bf.String(), + injectionCodeMeta.String(), + autoCode.TableName, + idBf.String(), + autoCode.Package, + autoCode.BusinessDB, + ) + } else { + err = AutoCodeHistoryServiceApp.CreateAutoCodeHistory( + string(meta), + autoCode.StructName, + autoCode.Description, + bf.String(), + injectionCodeMeta.String(), + autoCode.StructName, + idBf.String(), + autoCode.Package, + autoCode.BusinessDB, + ) + } + } + if err != nil { + return err + } + if autoCode.AutoMoveFile { + return system.ErrAutoMove + } + return nil +} + +// @author: [piexlmax](https://github.com/piexlmax) +// @function: GetAllTplFile +// @description: 获取 pathName 文件夹下所有 tpl 文件 +// @param: pathName string, fileList []string +// @return: []string, error + +func (autoCodeService *AutoCodeService) GetAllTplFile(pathName string, fileList []string) ([]string, error) { + files, err := os.ReadDir(pathName) + for _, fi := range files { + if fi.IsDir() { + fileList, err = autoCodeService.GetAllTplFile(pathName+"/"+fi.Name(), fileList) + if err != nil { + return nil, err + } + } else { + if strings.HasSuffix(fi.Name(), ".tpl") { + fileList = append(fileList, pathName+"/"+fi.Name()) + } + } + } + return fileList, err +} + +// @author: [piexlmax](https://github.com/piexlmax) +// @function: GetDB +// @description: 获取指定数据库和指定数据表的所有字段名,类型值等 +// @param: tableName string, dbName string +// @return: err error, Columns []request.ColumnReq + +func (autoCodeService *AutoCodeService) DropTable(BusinessDb, tableName string) error { + if BusinessDb != "" { + return global.MustGetGlobalDBByDBName(BusinessDb).Exec("DROP TABLE " + tableName).Error + } else { + return global.GVA_DB.Exec("DROP TABLE " + tableName).Error + } +} + +// @author: [SliverHorn](https://github.com/SliverHorn) +// @author: [songzhibin97](https://github.com/songzhibin97) +// @function: addAutoMoveFile +// @description: 生成对应的迁移文件路径 +// @param: *tplData +// @return: null + +func (autoCodeService *AutoCodeService) addAutoMoveFile(data *tplData) { + base := filepath.Base(data.autoCodePath) + fileSlice := strings.Split(data.autoCodePath, string(os.PathSeparator)) + n := len(fileSlice) + if n <= 2 { + return + } + if strings.Contains(fileSlice[1], "server") { + if strings.Contains(fileSlice[n-2], "router") { + data.autoMoveFilePath = filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, + fmt.Sprintf(global.GVA_CONFIG.AutoCode.SRouter, data.autoPackage), base) + } else if strings.Contains(fileSlice[n-2], "api") { + data.autoMoveFilePath = filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SApi, data.autoPackage), base) + } else if strings.Contains(fileSlice[n-2], "service") { + data.autoMoveFilePath = filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SService, data.autoPackage), base) + } else if strings.Contains(fileSlice[n-2], "model") { + data.autoMoveFilePath = filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SModel, data.autoPackage), base) + } else if strings.Contains(fileSlice[n-2], "request") { + data.autoMoveFilePath = filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SRequest, data.autoPackage), base) + } + } else if strings.Contains(fileSlice[1], "web") { + if strings.Contains(fileSlice[n-1], "js") { + data.autoMoveFilePath = filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Web, global.GVA_CONFIG.AutoCode.WApi, base) + } else if strings.Contains(fileSlice[n-2], "form") { + data.autoMoveFilePath = filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Web, global.GVA_CONFIG.AutoCode.WForm, filepath.Base(filepath.Dir(filepath.Dir(data.autoCodePath))), strings.TrimSuffix(base, filepath.Ext(base))+"Form.vue") + } else if strings.Contains(fileSlice[n-2], "table") { + data.autoMoveFilePath = filepath.Join(global.GVA_CONFIG.AutoCode.Root, + global.GVA_CONFIG.AutoCode.Web, global.GVA_CONFIG.AutoCode.WTable, filepath.Base(filepath.Dir(filepath.Dir(data.autoCodePath))), base) + } + } +} + +// @author: [piexlmax](https://github.com/piexlmax) +// @author: [SliverHorn](https://github.com/SliverHorn) +// @function: CreateApi +// @description: 自动创建api数据, +// @param: a *model.AutoCodeStruct +// @return: err error + +func (autoCodeService *AutoCodeService) AutoCreateApi(a *system.AutoCodeStruct) (ids []uint, err error) { + apiList := []system.SysApi{ + { + Path: "/" + a.Abbreviation + "/" + "create" + a.StructName, + Description: "新增" + a.Description, + ApiGroup: a.Description, + Method: "POST", + }, + { + Path: "/" + a.Abbreviation + "/" + "delete" + a.StructName, + Description: "删除" + a.Description, + ApiGroup: a.Description, + Method: "DELETE", + }, + { + Path: "/" + a.Abbreviation + "/" + "delete" + a.StructName + "ByIds", + Description: "批量删除" + a.Description, + ApiGroup: a.Description, + Method: "DELETE", + }, + { + Path: "/" + a.Abbreviation + "/" + "update" + a.StructName, + Description: "更新" + a.Description, + ApiGroup: a.Description, + Method: "PUT", + }, + { + Path: "/" + a.Abbreviation + "/" + "find" + a.StructName, + Description: "根据ID获取" + a.Description, + ApiGroup: a.Description, + Method: "GET", + }, + { + Path: "/" + a.Abbreviation + "/" + "get" + a.StructName + "List", + Description: "获取" + a.Description + "列表", + ApiGroup: a.Description, + Method: "GET", + }, + } + err = global.GVA_DB.Transaction(func(tx *gorm.DB) error { + for _, v := range apiList { + var api system.SysApi + if errors.Is(tx.Where("path = ? AND method = ?", v.Path, v.Method).First(&api).Error, gorm.ErrRecordNotFound) { + if err = tx.Create(&v).Error; err != nil { // 遇到错误时回滚事务 + return err + } else { + ids = append(ids, v.ID) + } + } + } + return nil + }) + return ids, err +} + +func (autoCodeService *AutoCodeService) getNeedList(autoCode *system.AutoCodeStruct) (dataList []tplData, fileList []string, needMkdir []string, err error) { + // 去除所有空格 + utils.TrimSpace(autoCode) + for _, field := range autoCode.Fields { + utils.TrimSpace(field) + } + // 获取 basePath 文件夹下所有tpl文件 + tplFileList, err := autoCodeService.GetAllTplFile(autocodePath, nil) + if err != nil { + return nil, nil, nil, err + } + dataList = make([]tplData, 0, len(tplFileList)) + fileList = make([]string, 0, len(tplFileList)) + needMkdir = make([]string, 0, len(tplFileList)) // 当文件夹下存在多个tpl文件时,改为map更合理 + // 根据文件路径生成 tplData 结构体,待填充数据 + for _, value := range tplFileList { + dataList = append(dataList, tplData{locationPath: value, autoPackage: autoCode.Package}) + } + // 生成 *Template, 填充 template 字段 + for index, value := range dataList { + dataList[index].template, err = template.ParseFiles(value.locationPath) + if err != nil { + return nil, nil, nil, err + } + } + // 生成文件路径,填充 autoCodePath 字段,readme.txt.tpl不符合规则,需要特殊处理 + // resource/template/web/api.js.tpl -> autoCode/web/autoCode.PackageName/api/autoCode.PackageName.js + // resource/template/readme.txt.tpl -> autoCode/readme.txt + for index, value := range dataList { + trimBase := strings.TrimPrefix(value.locationPath, autocodePath+"/") + if trimBase == "readme.txt.tpl" { + dataList[index].autoCodePath = autoPath + "readme.txt" + continue + } + + if lastSeparator := strings.LastIndex(trimBase, "/"); lastSeparator != -1 { + origFileName := strings.TrimSuffix(trimBase[lastSeparator+1:], ".tpl") + firstDot := strings.Index(origFileName, ".") + if firstDot != -1 { + var fileName string + if origFileName[firstDot:] != ".go" { + fileName = autoCode.PackageName + origFileName[firstDot:] + } else { + fileName = autoCode.HumpPackageName + origFileName[firstDot:] + } + + dataList[index].autoCodePath = filepath.Join(autoPath, trimBase[:lastSeparator], autoCode.PackageName, + origFileName[:firstDot], fileName) + } + } + + if lastSeparator := strings.LastIndex(dataList[index].autoCodePath, string(os.PathSeparator)); lastSeparator != -1 { + needMkdir = append(needMkdir, dataList[index].autoCodePath[:lastSeparator]) + } + } + for _, value := range dataList { + fileList = append(fileList, value.autoCodePath) + } + return dataList, fileList, needMkdir, err +} + +// injectionCode 封装代码注入 +func injectionCode(structName string, bf *strings.Builder) error { + for _, meta := range injectionPaths { + code := fmt.Sprintf(meta.structNameF, structName) + ast2.ImportForAutoEnter(meta.path, meta.funcName, code) + bf.WriteString(fmt.Sprintf("%s@%s@%s;", meta.path, meta.funcName, code)) + } + return nil +} + +func (autoCodeService *AutoCodeService) CreateAutoCode(s *system.SysAutoCode) error { + if s.PackageName == "autocode" || s.PackageName == "system" || s.PackageName == "example" || s.PackageName == "" { + return errors.New("不能使用已保留的package name") + } + if !errors.Is(global.GVA_DB.Where("package_name = ?", s.PackageName).First(&system.SysAutoCode{}).Error, gorm.ErrRecordNotFound) { + return errors.New("存在相同PackageName") + } + if e := autoCodeService.CreatePackageTemp(s.PackageName); e != nil { + return e + } + return global.GVA_DB.Create(&s).Error +} + +func (autoCodeService *AutoCodeService) GetPackage() (pkgList []system.SysAutoCode, err error) { + err = global.GVA_DB.Find(&pkgList).Error + return pkgList, err +} + +func (autoCodeService *AutoCodeService) DelPackage(a system.SysAutoCode) error { + return global.GVA_DB.Delete(&a).Error +} + +func (autoCodeService *AutoCodeService) CreatePackageTemp(packageName string) error { + Init(packageName) + pendingTemp := []autoPackage{{ + path: packageService, + name: packageServiceName, + temp: string(subcontract.Server), + }, { + path: packageRouter, + name: packageRouterName, + temp: string(subcontract.Router), + }, { + path: packageAPI, + name: packageAPIName, + temp: string(subcontract.API), + }} + for i, s := range pendingTemp { + pendingTemp[i].path = filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, filepath.Clean(fmt.Sprintf(s.path, packageName))) + } + // 选择模板 + for _, s := range pendingTemp { + err := os.MkdirAll(filepath.Dir(s.path), 0755) + if err != nil { + return err + } + + f, err := os.Create(s.path) + if err != nil { + return err + } + + defer f.Close() + + temp, err := template.New("").Parse(s.temp) + if err != nil { + return err + } + err = temp.Execute(f, struct { + PackageName string `json:"package_name"` + }{packageName}) + if err != nil { + return err + } + } + // 创建完成后在对应的位置插入结构代码 + for _, v := range pendingTemp { + meta := packageInjectionMap[v.name] + if err := ast2.ImportReference(meta.path, fmt.Sprintf(meta.importCodeF, v.name, packageName), fmt.Sprintf(meta.structNameF, utils.FirstUpper(packageName)), fmt.Sprintf(meta.packageNameF, packageName), meta.groupName); err != nil { + return err + } + } + return nil +} + +// CreatePlug 自动创建插件模板 +func (autoCodeService *AutoCodeService) CreatePlug(plug system.AutoPlugReq) error { + // 检查列表参数是否有效 + plug.CheckList() + tplFileList, _ := autoCodeService.GetAllTplFile(plugPath, nil) + for _, tpl := range tplFileList { + temp, err := template.ParseFiles(tpl) + if err != nil { + zap.L().Error("parse err", zap.String("tpl", tpl), zap.Error(err)) + return err + } + pathArr := strings.SplitAfter(tpl, "/") + if strings.Index(pathArr[2], "tpl") < 0 { + dirPath := filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SPlug, plug.Snake+"/"+pathArr[2])) + os.MkdirAll(dirPath, 0755) + } + file := filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, fmt.Sprintf(global.GVA_CONFIG.AutoCode.SPlug, plug.Snake+"/"+tpl[len(plugPath):len(tpl)-4])) + f, err := os.OpenFile(file, os.O_WRONLY|os.O_CREATE, 0666) + if err != nil { + zap.L().Error("open file", zap.String("tpl", tpl), zap.Error(err), zap.Any("plug", plug)) + return err + } + defer f.Close() + + err = temp.Execute(f, plug) + if err != nil { + zap.L().Error("exec err", zap.String("tpl", tpl), zap.Error(err), zap.Any("plug", plug)) + return err + } + } + return nil +} + +func (autoCodeService *AutoCodeService) InstallPlugin(file *multipart.FileHeader) (web, server int, err error) { + const GVAPLUGPINATH = "./gva-plug-temp/" + defer os.RemoveAll(GVAPLUGPINATH) + _, err = os.Stat(GVAPLUGPINATH) + if os.IsNotExist(err) { + os.Mkdir(GVAPLUGPINATH, os.ModePerm) + } + + src, err := file.Open() + if err != nil { + return -1, -1, err + } + defer src.Close() + + out, err := os.Create(GVAPLUGPINATH + file.Filename) + if err != nil { + return -1, -1, err + } + defer out.Close() + + _, err = io.Copy(out, src) + + paths, err := utils.Unzip(GVAPLUGPINATH+file.Filename, GVAPLUGPINATH) + paths = filterFile(paths) + var webIndex = -1 + var serverIndex = -1 + for i := range paths { + paths[i] = filepath.ToSlash(paths[i]) + pathArr := strings.Split(paths[i], "/") + ln := len(pathArr) + if ln < 2 { + continue + } + if pathArr[ln-2] == "server" && pathArr[ln-1] == "plugin" { + serverIndex = i + } + if pathArr[ln-2] == "web" && pathArr[ln-1] == "plugin" { + webIndex = i + } + } + if webIndex == -1 && serverIndex == -1 { + zap.L().Error("非标准插件,请按照文档自动迁移使用") + return webIndex, serverIndex, errors.New("非标准插件,请按照文档自动迁移使用") + } + + if webIndex != -1 { + err = installation(paths[webIndex], global.GVA_CONFIG.AutoCode.Server, global.GVA_CONFIG.AutoCode.Web) + if err != nil { + return webIndex, serverIndex, err + } + } + + if serverIndex != -1 { + err = installation(paths[serverIndex], global.GVA_CONFIG.AutoCode.Server, global.GVA_CONFIG.AutoCode.Server) + } + return webIndex, serverIndex, err +} + +func installation(path string, formPath string, toPath string) error { + arr := strings.Split(filepath.ToSlash(path), "/") + ln := len(arr) + if ln < 3 { + return errors.New("arr") + } + name := arr[ln-3] + + var form = filepath.ToSlash(global.GVA_CONFIG.AutoCode.Root + formPath + "/" + path) + var to = filepath.ToSlash(global.GVA_CONFIG.AutoCode.Root + toPath + "/plugin/") + _, err := os.Stat(to + name) + if err == nil { + zap.L().Error("autoPath 已存在同名插件,请自行手动安装", zap.String("to", to)) + return errors.New(toPath + "已存在同名插件,请自行手动安装") + } + return cp.Copy(form, to, cp.Options{Skip: skipMacSpecialDocument}) +} + +func filterFile(paths []string) []string { + np := make([]string, 0, len(paths)) + for _, path := range paths { + if ok, _ := skipMacSpecialDocument(path); ok { + continue + } + np = append(np, path) + } + return np +} + +func skipMacSpecialDocument(src string) (bool, error) { + if strings.Contains(src, ".DS_Store") || strings.Contains(src, "__MACOSX") { + return true, nil + } + return false, nil +} + +func (autoCodeService *AutoCodeService) PubPlug(plugName string) (zipPath string, err error) { + if plugName == "" { + return "", errors.New("插件名称不能为空") + } + + // 防止路径穿越 + plugName = filepath.Clean(plugName) + + webPath := filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Web, "plugin", plugName) + serverPath := filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "plugin", plugName) + // 创建一个新的zip文件 + + // 判断目录是否存在 + webInfo, err := os.Stat(webPath) + if err != nil { + return "", errors.New("web路径不存在") + } + serverInfo, err := os.Stat(serverPath) + if err != nil { + return "", errors.New("server路径不存在") + } + + fileName := plugName + ".zip" + // 创建一个新的zip文件 + zipFile, err := os.Create(fileName) + if err != nil { + fmt.Println(err) + return + } + defer zipFile.Close() + + // 创建一个zip写入器 + zipWriter := zip.NewWriter(zipFile) + defer zipWriter.Close() + + // 创建一个新的文件头 + webHeader, err := zip.FileInfoHeader(webInfo) + if err != nil { + return + } + + // 创建一个新的文件头 + serverHeader, err := zip.FileInfoHeader(serverInfo) + if err != nil { + return + } + + webHeader.Name = filepath.Join(plugName, "web", "plugin") + serverHeader.Name = filepath.Join(plugName, "server", "plugin") + + // 将文件添加到zip归档中 + _, err = zipWriter.CreateHeader(serverHeader) + _, err = zipWriter.CreateHeader(webHeader) + + // 遍历webPath目录并将所有非隐藏文件添加到zip归档中 + err = filepath.Walk(webPath, func(path string, info os.FileInfo, err error) error { + if err != nil { + return err + } + + // 跳过隐藏文件 + if strings.HasPrefix(info.Name(), ".") { + return nil + } + + // 创建一个新的文件头 + header, err := zip.FileInfoHeader(info) + if err != nil { + return err + } + + // 将文件头的名称设置为文件的相对路径 + rel, _ := filepath.Rel(webPath, path) + header.Name = filepath.Join(plugName, "web", "plugin", plugName, rel) + + // 将文件添加到zip归档中 + writer, err := zipWriter.CreateHeader(header) + if err != nil { + return err + } + + if info.IsDir() { + return nil + } + + // 打开文件并将其内容复制到zip归档中 + file, err := os.Open(path) + if err != nil { + return err + } + defer file.Close() + _, err = io.Copy(writer, file) + if err != nil { + return err + } + return nil + }) + if err != nil { + return + } + + // 遍历serverPath目录并将所有非隐藏文件添加到zip归档中 + err = filepath.Walk(serverPath, func(path string, info os.FileInfo, err error) error { + if err != nil { + return err + } + + // 跳过隐藏文件和目录 + if strings.HasPrefix(info.Name(), ".") { + return nil + } + + // 创建一个新的文件头 + header, err := zip.FileInfoHeader(info) + if err != nil { + return err + } + + // 将文件头的名称设置为文件的相对路径 + rel, _ := filepath.Rel(serverPath, path) + header.Name = filepath.Join(plugName, "server", "plugin", plugName, rel) + // 将文件添加到zip归档中 + writer, err := zipWriter.CreateHeader(header) + if err != nil { + return err + } + + if info.IsDir() { + return nil + } + + // 打开文件并将其内容复制到zip归档中 + file, err := os.Open(path) + if err != nil { + return err + } + defer file.Close() + _, err = io.Copy(writer, file) + if err != nil { + return err + } + + return nil + }) + if err != nil { + return + } + return filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, fileName), nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_interface.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_interface.go new file mode 100644 index 000000000..608183170 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_interface.go @@ -0,0 +1,49 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" +) + +type Database interface { + GetDB(businessDB string) (data []response.Db, err error) + GetTables(businessDB string, dbName string) (data []response.Table, err error) + GetColumn(businessDB string, tableName string, dbName string) (data []response.Column, err error) +} + +func (autoCodeService *AutoCodeService) Database(businessDB string) Database { + + if businessDB == "" { + switch global.GVA_CONFIG.System.DbType { + case "mysql": + return AutoCodeMysql + case "pgsql": + return AutoCodePgsql + case "sqlite": + return AutoCodeSqlite + default: + return AutoCodeMysql + } + } else { + for _, info := range global.GVA_CONFIG.DBList { + if info.AliasName == businessDB { + switch info.Type { + case "mysql": + return AutoCodeMysql + case "mssql": + return AutoCodeMssql + case "pgsql": + return AutoCodePgsql + case "oracle": + return AutoCodeOracle + case "sqlite": + return AutoCodeSqlite + default: + return AutoCodeMysql + } + } + } + return AutoCodeMysql + } + +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_mssql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_mssql.go new file mode 100644 index 000000000..834a499be --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_mssql.go @@ -0,0 +1,58 @@ +package system + +import ( + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" +) + +var AutoCodeMssql = new(autoCodeMssql) + +type autoCodeMssql struct{} + +// GetDB 获取数据库的所有数据库名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeMssql) GetDB(businessDB string) (data []response.Db, err error) { + var entities []response.Db + sql := "select name AS 'database' from sysdatabases;" + if businessDB == "" { + err = global.GVA_DB.Raw(sql).Scan(&entities).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql).Scan(&entities).Error + } + return entities, err +} + +// GetTables 获取数据库的所有表名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeMssql) GetTables(businessDB string, dbName string) (data []response.Table, err error) { + var entities []response.Table + + sql := fmt.Sprintf(`select name as 'table_name' from %s.DBO.sysobjects where xtype='U'`, dbName) + if businessDB == "" { + err = global.GVA_DB.Raw(sql).Scan(&entities).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql).Scan(&entities).Error + } + + return entities, err +} + +// GetColumn 获取指定数据库和指定数据表的所有字段名,类型值等 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeMssql) GetColumn(businessDB string, tableName string, dbName string) (data []response.Column, err error) { + var entities []response.Column + sql := fmt.Sprintf(`select sc.name as column_name,st.name as data_type, sc.length as data_type_long + from %s.DBO.syscolumns sc,systypes st where sc.xtype=st.xtype and st.usertype=0 and sc.id in (select id from %s.DBO.sysobjects where xtype='U' and name='%s');`, dbName, dbName, tableName) + + if businessDB == "" { + err = global.GVA_DB.Raw(sql).Scan(&entities).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql).Scan(&entities).Error + } + + return entities, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_mysql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_mysql.go new file mode 100644 index 000000000..fade82c5d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_mysql.go @@ -0,0 +1,69 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" +) + +var AutoCodeMysql = new(autoCodeMysql) + +type autoCodeMysql struct{} + +// GetDB 获取数据库的所有数据库名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeMysql) GetDB(businessDB string) (data []response.Db, err error) { + var entities []response.Db + sql := "SELECT SCHEMA_NAME AS `database` FROM INFORMATION_SCHEMA.SCHEMATA;" + if businessDB == "" { + err = global.GVA_DB.Raw(sql).Scan(&entities).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql).Scan(&entities).Error + } + return entities, err +} + +// GetTables 获取数据库的所有表名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeMysql) GetTables(businessDB string, dbName string) (data []response.Table, err error) { + var entities []response.Table + sql := `select table_name as table_name from information_schema.tables where table_schema = ?` + if businessDB == "" { + err = global.GVA_DB.Raw(sql, dbName).Scan(&entities).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql, dbName).Scan(&entities).Error + } + + return entities, err +} + +// GetColumn 获取指定数据库和指定数据表的所有字段名,类型值等 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeMysql) GetColumn(businessDB string, tableName string, dbName string) (data []response.Column, err error) { + var entities []response.Column + sql := ` + SELECT COLUMN_NAME column_name, + DATA_TYPE data_type, + CASE DATA_TYPE + WHEN 'longtext' THEN c.CHARACTER_MAXIMUM_LENGTH + WHEN 'varchar' THEN c.CHARACTER_MAXIMUM_LENGTH + WHEN 'double' THEN CONCAT_WS(',', c.NUMERIC_PRECISION, c.NUMERIC_SCALE) + WHEN 'decimal' THEN CONCAT_WS(',', c.NUMERIC_PRECISION, c.NUMERIC_SCALE) + WHEN 'int' THEN c.NUMERIC_PRECISION + WHEN 'bigint' THEN c.NUMERIC_PRECISION + ELSE '' END AS data_type_long, + COLUMN_COMMENT column_comment + FROM INFORMATION_SCHEMA.COLUMNS c + WHERE table_name = ? + AND table_schema = ? + ` + if businessDB == "" { + err = global.GVA_DB.Raw(sql, tableName, dbName).Scan(&entities).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql, tableName, dbName).Scan(&entities).Error + } + + return entities, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_oracle.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_oracle.go new file mode 100644 index 000000000..60c48803a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_oracle.go @@ -0,0 +1,53 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" +) + +var AutoCodeOracle = new(autoCodeOracle) + +type autoCodeOracle struct{} + +// GetDB 获取数据库的所有数据库名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeOracle) GetDB(businessDB string) (data []response.Db, err error) { + var entities []response.Db + sql := `SELECT lower(username) AS "database" FROM all_users` + err = global.GVA_DBList[businessDB].Raw(sql).Scan(&entities).Error + return entities, err +} + +// GetTables 获取数据库的所有表名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeOracle) GetTables(businessDB string, dbName string) (data []response.Table, err error) { + var entities []response.Table + sql := `select lower(table_name) as "table_name" from all_tables where lower(owner) = ?` + + err = global.GVA_DBList[businessDB].Raw(sql, dbName).Scan(&entities).Error + return entities, err +} + +// GetColumn 获取指定数据库和指定数据表的所有字段名,类型值等 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (s *autoCodeOracle) GetColumn(businessDB string, tableName string, dbName string) (data []response.Column, err error) { + var entities []response.Column + sql := ` + select lower(a.COLUMN_NAME) as "column_name", + (CASE WHEN a.DATA_TYPE = 'NUMBER' AND a.DATA_SCALE=0 THEN 'int' else lower(a.DATA_TYPE) end) as "data_type", + (CASE WHEN a.DATA_TYPE = 'NUMBER' THEN a.DATA_PRECISION else a.DATA_LENGTH end) as "data_type_long", + b.COMMENTS as "column_comment" + from all_tab_columns a , all_col_comments b + where a.OWNER = b.OWNER + and a.TABLE_NAME = b.TABLE_NAME + and a.COLUMN_NAME = b.COLUMN_NAME + and lower(a.table_name) = ? + and lower(a.OWNER) = ? +` + + err = global.GVA_DBList[businessDB].Raw(sql, tableName, dbName).Scan(&entities).Error + return entities, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_pgsql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_pgsql.go new file mode 100644 index 000000000..ba1e30e78 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_pgsql.go @@ -0,0 +1,108 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "github.com/pkg/errors" + "gorm.io/driver/postgres" + "gorm.io/gorm" + "gorm.io/gorm/logger" +) + +var AutoCodePgsql = new(autoCodePgsql) + +type autoCodePgsql struct{} + +// GetDB 获取数据库的所有数据库名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (a *autoCodePgsql) GetDB(businessDB string) (data []response.Db, err error) { + var entities []response.Db + sql := `SELECT datname as database FROM pg_database WHERE datistemplate = false` + if businessDB == "" { + err = global.GVA_DB.Raw(sql).Scan(&entities).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql).Scan(&entities).Error + } + + return entities, err +} + +// GetTables 获取数据库的所有表名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (a *autoCodePgsql) GetTables(businessDB string, dbName string) (data []response.Table, err error) { + var entities []response.Table + sql := `select table_name as table_name from information_schema.tables where table_catalog = ? and table_schema = ?` + db, _err := gorm.Open(postgres.Open(global.GVA_CONFIG.Pgsql.LinkDsn(dbName)), &gorm.Config{Logger: logger.Default.LogMode(logger.Info)}) + if _err != nil { + return nil, errors.Wrapf(err, "[pgsql] 连接 数据库(%s)的表失败!", dbName) + } + + err = db.Raw(sql, dbName, "public").Scan(&entities).Error + return entities, err +} + +// GetColumn 获取指定数据库和指定数据表的所有字段名,类型值等 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (a *autoCodePgsql) GetColumn(businessDB string, tableName string, dbName string) (data []response.Column, err error) { + // todo 数据获取不全, 待完善sql + sql := ` + SELECT psc.COLUMN_NAME AS COLUMN_NAME, + psc.udt_name AS data_type, +CASE + psc.udt_name + WHEN 'text' THEN + concat_ws ( '', '', psc.CHARACTER_MAXIMUM_LENGTH ) + WHEN 'varchar' THEN + concat_ws ( '', '', psc.CHARACTER_MAXIMUM_LENGTH ) + WHEN 'smallint' THEN + concat_ws ( ',', psc.NUMERIC_PRECISION, psc.NUMERIC_SCALE ) + WHEN 'decimal' THEN + concat_ws ( ',', psc.NUMERIC_PRECISION, psc.NUMERIC_SCALE ) + WHEN 'integer' THEN + concat_ws ( '', '', psc.NUMERIC_PRECISION ) + WHEN 'int4' THEN + concat_ws ( '', '', psc.NUMERIC_PRECISION ) + WHEN 'int8' THEN + concat_ws ( '', '', psc.NUMERIC_PRECISION ) + WHEN 'bigint' THEN + concat_ws ( '', '', psc.NUMERIC_PRECISION ) + WHEN 'timestamp' THEN + concat_ws ( '', '', psc.datetime_precision ) + ELSE '' + END AS data_type_long, + ( + SELECT + pd.description + FROM + pg_description pd + WHERE + (pd.objoid,pd.objsubid) in ( + SELECT pa.attrelid,pa.attnum + FROM + pg_attribute pa + WHERE pa.attrelid = ( SELECT oid FROM pg_class pc WHERE + pc.relname = psc.table_name + ) + and attname = psc.column_name + ) + ) AS column_comment +FROM + INFORMATION_SCHEMA.COLUMNS psc +WHERE + table_catalog = ? + AND table_schema = 'public' + AND TABLE_NAME = ?; + ` + var entities []response.Column + db, _err := gorm.Open(postgres.Open(global.GVA_CONFIG.Pgsql.LinkDsn(dbName)), &gorm.Config{Logger: logger.Default.LogMode(logger.Info)}) + if _err != nil { + return nil, errors.Wrapf(err, "[pgsql] 连接 数据库(%s)的表(%s)失败!", dbName, tableName) + } + //sql = strings.ReplaceAll(sql, "@table_catalog", dbName) + //sql = strings.ReplaceAll(sql, "@table_name", tableName) + err = db.Raw(sql, dbName, tableName).Scan(&entities).Error + return entities, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_sqlite.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_sqlite.go new file mode 100644 index 000000000..9cf94ea89 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_auto_code_sqlite.go @@ -0,0 +1,82 @@ +package system + +import ( + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + "path/filepath" + "strings" +) + +var AutoCodeSqlite = new(autoCodeSqlite) + +type autoCodeSqlite struct{} + +// GetDB 获取数据库的所有数据库名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (a *autoCodeSqlite) GetDB(businessDB string) (data []response.Db, err error) { + var entities []response.Db + sql := "PRAGMA database_list;" + var databaseList []struct { + File string `gorm:"column:file"` + } + if businessDB == "" { + err = global.GVA_DB.Raw(sql).Find(&databaseList).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql).Find(&databaseList).Error + } + for _, database := range databaseList { + if database.File != "" { + fileName := filepath.Base(database.File) + fileExt := filepath.Ext(fileName) + fileNameWithoutExt := strings.TrimSuffix(fileName, fileExt) + + entities = append(entities, response.Db{fileNameWithoutExt}) + } + } + // entities = append(entities, response.Db{global.GVA_CONFIG.Sqlite.Dbname}) + return entities, err +} + +// GetTables 获取数据库的所有表名 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (a *autoCodeSqlite) GetTables(businessDB string, dbName string) (data []response.Table, err error) { + var entities []response.Table + sql := `SELECT name FROM sqlite_master WHERE type='table'` + tabelNames := []string{} + if businessDB == "" { + err = global.GVA_DB.Raw(sql).Find(&tabelNames).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql).Find(&tabelNames).Error + } + for _, tabelName := range tabelNames { + entities = append(entities, response.Table{tabelName}) + } + return entities, err +} + +// GetColumn 获取指定数据表的所有字段名,类型值等 +// Author [piexlmax](https://github.com/piexlmax) +// Author [SliverHorn](https://github.com/SliverHorn) +func (a *autoCodeSqlite) GetColumn(businessDB string, tableName string, dbName string) (data []response.Column, err error) { + var entities []response.Column + sql := fmt.Sprintf("PRAGMA table_info(%s);", tableName) + var columnInfos []struct { + Name string `gorm:"column:name"` + Type string `gorm:"column:type"` + } + if businessDB == "" { + err = global.GVA_DB.Raw(sql).Scan(&columnInfos).Error + } else { + err = global.GVA_DBList[businessDB].Raw(sql).Scan(&columnInfos).Error + } + for _, columnInfo := range columnInfos { + entities = append(entities, response.Column{ + ColumnName: columnInfo.Name, + DataType: columnInfo.Type, + }) + } + return entities, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_autocode_history.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_autocode_history.go new file mode 100644 index 000000000..9b0b4961d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_autocode_history.go @@ -0,0 +1,153 @@ +package system + +import ( + "errors" + "fmt" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/flipped-aurora/gin-vue-admin/server/utils/ast" + "path/filepath" + "strconv" + "strings" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "go.uber.org/zap" +) + +var RepeatErr = errors.New("重复创建") + +type AutoCodeHistoryService struct{} + +var AutoCodeHistoryServiceApp = new(AutoCodeHistoryService) + +// CreateAutoCodeHistory 创建代码生成器历史记录 +// RouterPath : RouterPath@RouterString;RouterPath2@RouterString2 +// Author [SliverHorn](https://github.com/SliverHorn) +// Author [songzhibin97](https://github.com/songzhibin97) +func (autoCodeHistoryService *AutoCodeHistoryService) CreateAutoCodeHistory(meta, structName, structCNName, autoCodePath string, injectionMeta string, tableName string, apiIds string, Package string, BusinessDB string) error { + return global.GVA_DB.Create(&system.SysAutoCodeHistory{ + Package: Package, + RequestMeta: meta, + AutoCodePath: autoCodePath, + InjectionMeta: injectionMeta, + StructName: structName, + StructCNName: structCNName, + TableName: tableName, + ApiIDs: apiIds, + BusinessDB: BusinessDB, + }).Error +} + +// First 根据id获取代码生成器历史的数据 +// Author [SliverHorn](https://github.com/SliverHorn) +// Author [songzhibin97](https://github.com/songzhibin97) +func (autoCodeHistoryService *AutoCodeHistoryService) First(info *request.GetById) (string, error) { + var meta string + return meta, global.GVA_DB.Model(system.SysAutoCodeHistory{}).Select("request_meta").Where("id = ?", info.Uint()).First(&meta).Error +} + +// Repeat 检测重复 +// Author [SliverHorn](https://github.com/SliverHorn) +// Author [songzhibin97](https://github.com/songzhibin97) +func (autoCodeHistoryService *AutoCodeHistoryService) Repeat(businessDB, structName, Package string) bool { + var count int64 + global.GVA_DB.Model(&system.SysAutoCodeHistory{}).Where("business_db = ? and struct_name = ? and package = ? and flag = 0", businessDB, structName, Package).Count(&count) + return count > 0 +} + +// RollBack 回滚 +// Author [SliverHorn](https://github.com/SliverHorn) +// Author [songzhibin97](https://github.com/songzhibin97) +func (autoCodeHistoryService *AutoCodeHistoryService) RollBack(info *systemReq.RollBack) error { + md := system.SysAutoCodeHistory{} + if err := global.GVA_DB.Where("id = ?", info.ID).First(&md).Error; err != nil { + return err + } + // 清除API表 + + ids := request.IdsReq{} + idsStr := strings.Split(md.ApiIDs, ";") + for i := range idsStr[0 : len(idsStr)-1] { + id, err := strconv.Atoi(idsStr[i]) + if err != nil { + return err + } + ids.Ids = append(ids.Ids, id) + } + err := ApiServiceApp.DeleteApisByIds(ids) + if err != nil { + global.GVA_LOG.Error("ClearTag DeleteApiByIds:", zap.Error(err)) + } + // 删除表 + if info.DeleteTable { + if err = AutoCodeServiceApp.DropTable(md.BusinessDB, md.TableName); err != nil { + global.GVA_LOG.Error("ClearTag DropTable:", zap.Error(err)) + } + } + // 删除文件 + + for _, path := range strings.Split(md.AutoCodePath, ";") { + + // 增加安全判断补丁: + _path, err := filepath.Abs(path) + if err != nil || _path != path { + continue + } + + // 迁移 + nPath := filepath.Join(global.GVA_CONFIG.AutoCode.Root, + "rm_file", time.Now().Format("20060102"), filepath.Base(filepath.Dir(filepath.Dir(path))), filepath.Base(filepath.Dir(path)), filepath.Base(path)) + // 判断目标文件是否存在 + for utils.FileExist(nPath) { + fmt.Println("文件已存在:", nPath) + nPath += fmt.Sprintf("_%d", time.Now().Nanosecond()) + } + err = utils.FileMove(path, nPath) + if err != nil { + global.GVA_LOG.Error("file move err ", zap.Error(err)) + } + //_ = utils.DeLFile(path) + } + // 清除注入 + for _, v := range strings.Split(md.InjectionMeta, ";") { + // RouterPath@functionName@RouterString + meta := strings.Split(v, "@") + if len(meta) == 3 { + _ = utils.AutoClearCode(meta[0], meta[2]) + } + } + + ast.RollBackAst(md.Package, md.StructName) + + md.Flag = 1 + return global.GVA_DB.Save(&md).Error +} + +// Delete 删除历史数据 +// Author [SliverHorn](https://github.com/SliverHorn) +// Author [songzhibin97](https://github.com/songzhibin97) +func (autoCodeHistoryService *AutoCodeHistoryService) Delete(info *request.GetById) error { + return global.GVA_DB.Where("id = ?", info.Uint()).Delete(&system.SysAutoCodeHistory{}).Error +} + +// GetList 获取系统历史数据 +// Author [SliverHorn](https://github.com/SliverHorn) +// Author [songzhibin97](https://github.com/songzhibin97) +func (autoCodeHistoryService *AutoCodeHistoryService) GetList(info request.PageInfo) (list []response.AutoCodeHistory, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + db := global.GVA_DB.Model(&system.SysAutoCodeHistory{}) + var entities []response.AutoCodeHistory + err = db.Count(&total).Error + if err != nil { + return nil, total, err + } + err = db.Limit(limit).Offset(offset).Order("updated_at desc").Find(&entities).Error + return entities, total, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_base_menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_base_menu.go new file mode 100644 index 000000000..d4de3f8cc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_base_menu.go @@ -0,0 +1,125 @@ +package system + +import ( + "errors" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "gorm.io/gorm" +) + +type BaseMenuService struct{} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteBaseMenu +//@description: 删除基础路由 +//@param: id float64 +//@return: err error + +func (baseMenuService *BaseMenuService) DeleteBaseMenu(id int) (err error) { + err = global.GVA_DB.Preload("MenuBtn").Preload("Parameters").Where("parent_id = ?", id).First(&system.SysBaseMenu{}).Error + if err != nil { + var menu system.SysBaseMenu + db := global.GVA_DB.Preload("SysAuthoritys").Where("id = ?", id).First(&menu).Delete(&menu) + err = global.GVA_DB.Delete(&system.SysBaseMenuParameter{}, "sys_base_menu_id = ?", id).Error + err = global.GVA_DB.Delete(&system.SysBaseMenuBtn{}, "sys_base_menu_id = ?", id).Error + err = global.GVA_DB.Delete(&system.SysAuthorityBtn{}, "sys_menu_id = ?", id).Error + if err != nil { + return err + } + if len(menu.SysAuthoritys) > 0 { + err = global.GVA_DB.Model(&menu).Association("SysAuthoritys").Delete(&menu.SysAuthoritys) + } else { + err = db.Error + if err != nil { + return + } + } + } else { + return errors.New("此菜单存在子菜单不可删除") + } + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UpdateBaseMenu +//@description: 更新路由 +//@param: menu model.SysBaseMenu +//@return: err error + +func (baseMenuService *BaseMenuService) UpdateBaseMenu(menu system.SysBaseMenu) (err error) { + var oldMenu system.SysBaseMenu + upDateMap := make(map[string]interface{}) + upDateMap["keep_alive"] = menu.KeepAlive + upDateMap["close_tab"] = menu.CloseTab + upDateMap["default_menu"] = menu.DefaultMenu + upDateMap["parent_id"] = menu.ParentId + upDateMap["path"] = menu.Path + upDateMap["name"] = menu.Name + upDateMap["hidden"] = menu.Hidden + upDateMap["component"] = menu.Component + upDateMap["title"] = menu.Title + upDateMap["active_name"] = menu.ActiveName + upDateMap["icon"] = menu.Icon + upDateMap["sort"] = menu.Sort + + err = global.GVA_DB.Transaction(func(tx *gorm.DB) error { + db := tx.Where("id = ?", menu.ID).Find(&oldMenu) + if oldMenu.Name != menu.Name { + if !errors.Is(tx.Where("id <> ? AND name = ?", menu.ID, menu.Name).First(&system.SysBaseMenu{}).Error, gorm.ErrRecordNotFound) { + global.GVA_LOG.Debug("存在相同name修改失败") + return errors.New("存在相同name修改失败") + } + } + txErr := tx.Unscoped().Delete(&system.SysBaseMenuParameter{}, "sys_base_menu_id = ?", menu.ID).Error + if txErr != nil { + global.GVA_LOG.Debug(txErr.Error()) + return txErr + } + txErr = tx.Unscoped().Delete(&system.SysBaseMenuBtn{}, "sys_base_menu_id = ?", menu.ID).Error + if txErr != nil { + global.GVA_LOG.Debug(txErr.Error()) + return txErr + } + if len(menu.Parameters) > 0 { + for k := range menu.Parameters { + menu.Parameters[k].SysBaseMenuID = menu.ID + } + txErr = tx.Create(&menu.Parameters).Error + if txErr != nil { + global.GVA_LOG.Debug(txErr.Error()) + return txErr + } + } + + if len(menu.MenuBtn) > 0 { + for k := range menu.MenuBtn { + menu.MenuBtn[k].SysBaseMenuID = menu.ID + } + txErr = tx.Create(&menu.MenuBtn).Error + if txErr != nil { + global.GVA_LOG.Debug(txErr.Error()) + return txErr + } + } + + txErr = db.Updates(upDateMap).Error + if txErr != nil { + global.GVA_LOG.Debug(txErr.Error()) + return txErr + } + return nil + }) + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetBaseMenuById +//@description: 返回当前选中menu +//@param: id float64 +//@return: menu system.SysBaseMenu, err error + +func (baseMenuService *BaseMenuService) GetBaseMenuById(id int) (menu system.SysBaseMenu, err error) { + err = global.GVA_DB.Preload("MenuBtn").Preload("Parameters").Where("id = ?", id).First(&menu).Error + return +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_casbin.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_casbin.go new file mode 100644 index 000000000..eb9abc70f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_casbin.go @@ -0,0 +1,191 @@ +package system + +import ( + "errors" + "gorm.io/gorm" + "strconv" + "sync" + + "github.com/casbin/casbin/v2" + "github.com/casbin/casbin/v2/model" + gormadapter "github.com/casbin/gorm-adapter/v3" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + _ "github.com/go-sql-driver/mysql" + "go.uber.org/zap" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UpdateCasbin +//@description: 更新casbin权限 +//@param: authorityId string, casbinInfos []request.CasbinInfo +//@return: error + +type CasbinService struct{} + +var CasbinServiceApp = new(CasbinService) + +func (casbinService *CasbinService) UpdateCasbin(AuthorityID uint, casbinInfos []request.CasbinInfo) error { + authorityId := strconv.Itoa(int(AuthorityID)) + casbinService.ClearCasbin(0, authorityId) + rules := [][]string{} + //做权限去重处理 + deduplicateMap := make(map[string]bool) + for _, v := range casbinInfos { + key := authorityId + v.Path + v.Method + if _, ok := deduplicateMap[key]; !ok { + deduplicateMap[key] = true + rules = append(rules, []string{authorityId, v.Path, v.Method}) + } + } + e := casbinService.Casbin() + success, _ := e.AddPolicies(rules) + if !success { + return errors.New("存在相同api,添加失败,请联系管理员") + } + return nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UpdateCasbinApi +//@description: API更新随动 +//@param: oldPath string, newPath string, oldMethod string, newMethod string +//@return: error + +func (casbinService *CasbinService) UpdateCasbinApi(oldPath string, newPath string, oldMethod string, newMethod string) error { + err := global.GVA_DB.Model(&gormadapter.CasbinRule{}).Where("v1 = ? AND v2 = ?", oldPath, oldMethod).Updates(map[string]interface{}{ + "v1": newPath, + "v2": newMethod, + }).Error + e := casbinService.Casbin() + err = e.LoadPolicy() + if err != nil { + return err + } + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetPolicyPathByAuthorityId +//@description: 获取权限列表 +//@param: authorityId string +//@return: pathMaps []request.CasbinInfo + +func (casbinService *CasbinService) GetPolicyPathByAuthorityId(AuthorityID uint) (pathMaps []request.CasbinInfo) { + e := casbinService.Casbin() + authorityId := strconv.Itoa(int(AuthorityID)) + list := e.GetFilteredPolicy(0, authorityId) + for _, v := range list { + pathMaps = append(pathMaps, request.CasbinInfo{ + Path: v[1], + Method: v[2], + }) + } + return pathMaps +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: ClearCasbin +//@description: 清除匹配的权限 +//@param: v int, p ...string +//@return: bool + +func (casbinService *CasbinService) ClearCasbin(v int, p ...string) bool { + e := casbinService.Casbin() + success, _ := e.RemoveFilteredPolicy(v, p...) + return success +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: RemoveFilteredPolicy +//@description: 使用数据库方法清理筛选的politicy 此方法需要调用FreshCasbin方法才可以在系统中即刻生效 +//@param: db *gorm.DB, authorityId string +//@return: error + +func (casbinService *CasbinService) RemoveFilteredPolicy(db *gorm.DB, authorityId string) error { + return db.Delete(&gormadapter.CasbinRule{}, "v0 = ?", authorityId).Error +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: RemoveFilteredPolicy +//@description: 同步目前数据库的policy 此方法需要调用FreshCasbin方法才可以在系统中即刻生效 +//@param: db *gorm.DB, authorityId string, rules [][]string +//@return: error + +func (casbinService *CasbinService) SyncPolicy(db *gorm.DB, authorityId string, rules [][]string) error { + err := casbinService.RemoveFilteredPolicy(db, authorityId) + if err != nil { + return err + } + return casbinService.AddPolicies(db, rules) +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: ClearCasbin +//@description: 清除匹配的权限 +//@param: v int, p ...string +//@return: bool + +func (casbinService *CasbinService) AddPolicies(db *gorm.DB, rules [][]string) error { + var casbinRules []gormadapter.CasbinRule + for i := range rules { + casbinRules = append(casbinRules, gormadapter.CasbinRule{ + Ptype: "p", + V0: rules[i][0], + V1: rules[i][1], + V2: rules[i][2], + }) + } + return db.Create(&casbinRules).Error +} + +func (CasbinService *CasbinService) FreshCasbin() (err error) { + e := CasbinService.Casbin() + err = e.LoadPolicy() + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Casbin +//@description: 持久化到数据库 引入自定义规则 +//@return: *casbin.Enforcer + +var ( + syncedCachedEnforcer *casbin.SyncedCachedEnforcer + once sync.Once +) + +func (casbinService *CasbinService) Casbin() *casbin.SyncedCachedEnforcer { + once.Do(func() { + a, err := gormadapter.NewAdapterByDB(global.GVA_DB) + if err != nil { + zap.L().Error("适配数据库失败请检查casbin表是否为InnoDB引擎!", zap.Error(err)) + return + } + text := ` + [request_definition] + r = sub, obj, act + + [policy_definition] + p = sub, obj, act + + [role_definition] + g = _, _ + + [policy_effect] + e = some(where (p.eft == allow)) + + [matchers] + m = r.sub == p.sub && keyMatch2(r.obj,p.obj) && r.act == p.act + ` + m, err := model.NewModelFromString(text) + if err != nil { + zap.L().Error("字符串加载模型失败!", zap.Error(err)) + return + } + syncedCachedEnforcer, _ = casbin.NewSyncedCachedEnforcer(m, a) + syncedCachedEnforcer.SetExpireTime(60 * 60) + _ = syncedCachedEnforcer.LoadPolicy() + }) + return syncedCachedEnforcer +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_chatgpt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_chatgpt.go new file mode 100644 index 000000000..58fa55083 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_chatgpt.go @@ -0,0 +1,167 @@ +package system + +import ( + "context" + "errors" + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/sashabaranov/go-openai" + "gorm.io/gorm" + "strings" +) + +type ChatGptService struct{} + +func (chat *ChatGptService) CreateSK(option system.SysChatGptOption) error { + _, err := chat.GetSK() + if err != nil { + if errors.Is(err, gorm.ErrRecordNotFound) { + return global.GVA_DB.Create(option).Error + } + return err + } + return errors.New("已经存在sk") +} + +func (chat *ChatGptService) GetSK() (option system.SysChatGptOption, err error) { + err = global.GVA_DB.First(&option).Error + return +} + +func (chat *ChatGptService) DeleteSK() error { + option, err := chat.GetSK() + if err != nil { + return err + } + return global.GVA_DB.Delete(option, "sk = ?", option.SK).Error +} + +func (chat *ChatGptService) GetTable(req request.ChatGptRequest) (sql string, results []map[string]interface{}, err error) { + if req.DBName == "" { + return "", nil, errors.New("未选择db") + } + var tablesInfo []system.ChatField + var tableName string + global.GVA_DB.Table("information_schema.columns").Where("TABLE_SCHEMA = ?", req.DBName).Scan(&tablesInfo) + + var tablesMap = make(map[string]bool) + for i := range tablesInfo { + tablesMap[tablesInfo[i].TABLE_NAME] = true + } + for i := range tablesMap { + tableName += i + "," + } + option, err := chat.GetSK() + if err != nil { + return "", nil, err + } + client := openai.NewClient(option.SK) + ctx := context.Background() + + tables, err := getTables(ctx, client, tableName, req.Chat) + if err != nil { + return "", nil, err + } + tableArr := strings.Split(tables, ",") + if len(tableArr) != 0 { + firstKeyArr := strings.Split(tableArr[0], ":") + tableArr[0] = strings.Trim(firstKeyArr[len(firstKeyArr)-1], "\n") + } + sql, err = getSql(ctx, client, tableArr, tablesInfo, req.Chat) + if err != nil { + return "", nil, err + } + err = global.GVA_DB.Raw(sql).Scan(&results).Error + return sql, results, err +} + +func getTables(ctx context.Context, client *openai.Client, tables string, chat string) (string, error) { + var tablePrompt = `You are a database administrator + +Filter out the table names you might need from the tables I provided formatted as: + +Table1,Table2,Table3 + +I will provide you with the following table configuration information: + +Table1,Table2,Table3 + +Do not return information other than the table + +Configured as: +%s + +The problem is: +%s +` + content := fmt.Sprintf(tablePrompt, tables, chat) + chatReq := openai.ChatCompletionRequest{ + Model: openai.GPT3Dot5Turbo, + Messages: []openai.ChatCompletionMessage{ + { + Role: openai.ChatMessageRoleUser, + Content: content, + }, + }, + } + + resp, err := client.CreateChatCompletion(ctx, chatReq) + if err != nil { + fmt.Printf("Completion error: %v\n", err) + return "", err + } + return resp.Choices[0].Message.Content, nil +} + +func getSql(ctx context.Context, client *openai.Client, tables []string, ChatField []system.ChatField, chat string) (string, error) { + var sqlPrompt = `You are a database administrator + +Give me an SQL statement based on my question + +I will provide you with my current database table configuration information in the form below + +Table Name | Column Name | Column Description + +Do not return information other than SQL + +Configured as: + +%s + +The problem is: + +%s` + var configured string + for ii := range ChatField { + for i := range tables { + if strings.Index(tables[i], ChatField[ii].TABLE_NAME) > -1 { + configured += fmt.Sprintf("%s | %s | %s \n", ChatField[ii].TABLE_NAME, ChatField[ii].COLUMN_NAME, ChatField[ii].COLUMN_COMMENT) + } + } + } + + if configured == "" { + return "", errors.New("未找到表") + } + chatReq := openai.ChatCompletionRequest{ + Model: openai.GPT3Dot5Turbo, + Messages: []openai.ChatCompletionMessage{ + { + Role: openai.ChatMessageRoleUser, + Content: fmt.Sprintf(sqlPrompt, configured, chat), + }, + }, + } + + resp, err := client.CreateChatCompletion(ctx, chatReq) + if err != nil { + fmt.Printf("Completion error: %v\n", err) + return "", err + } + sql := resp.Choices[0].Message.Content + sqlArr := strings.Split(sql, ":") + sql = sqlArr[len(sqlArr)-1] + return sql, nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_dictionary.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_dictionary.go new file mode 100644 index 000000000..5fd265c20 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_dictionary.go @@ -0,0 +1,106 @@ +package system + +import ( + "errors" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "gorm.io/gorm" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteSysDictionary +//@description: 创建字典数据 +//@param: sysDictionary model.SysDictionary +//@return: err error + +type DictionaryService struct{} + +func (dictionaryService *DictionaryService) CreateSysDictionary(sysDictionary system.SysDictionary) (err error) { + if (!errors.Is(global.GVA_DB.First(&system.SysDictionary{}, "type = ?", sysDictionary.Type).Error, gorm.ErrRecordNotFound)) { + return errors.New("存在相同的type,不允许创建") + } + err = global.GVA_DB.Create(&sysDictionary).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteSysDictionary +//@description: 删除字典数据 +//@param: sysDictionary model.SysDictionary +//@return: err error + +func (dictionaryService *DictionaryService) DeleteSysDictionary(sysDictionary system.SysDictionary) (err error) { + err = global.GVA_DB.Where("id = ?", sysDictionary.ID).Preload("SysDictionaryDetails").First(&sysDictionary).Error + if err != nil && errors.Is(err, gorm.ErrRecordNotFound) { + return errors.New("请不要搞事") + } + if err != nil { + return err + } + err = global.GVA_DB.Delete(&sysDictionary).Error + if err != nil { + return err + } + + if sysDictionary.SysDictionaryDetails != nil { + return global.GVA_DB.Where("sys_dictionary_id=?", sysDictionary.ID).Delete(sysDictionary.SysDictionaryDetails).Error + } + return +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UpdateSysDictionary +//@description: 更新字典数据 +//@param: sysDictionary *model.SysDictionary +//@return: err error + +func (dictionaryService *DictionaryService) UpdateSysDictionary(sysDictionary *system.SysDictionary) (err error) { + var dict system.SysDictionary + sysDictionaryMap := map[string]interface{}{ + "Name": sysDictionary.Name, + "Type": sysDictionary.Type, + "Status": sysDictionary.Status, + "Desc": sysDictionary.Desc, + } + db := global.GVA_DB.Where("id = ?", sysDictionary.ID).First(&dict) + if dict.Type != sysDictionary.Type { + if !errors.Is(global.GVA_DB.First(&system.SysDictionary{}, "type = ?", sysDictionary.Type).Error, gorm.ErrRecordNotFound) { + return errors.New("存在相同的type,不允许创建") + } + } + err = db.Updates(sysDictionaryMap).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetSysDictionary +//@description: 根据id或者type获取字典单条数据 +//@param: Type string, Id uint +//@return: err error, sysDictionary model.SysDictionary + +func (dictionaryService *DictionaryService) GetSysDictionary(Type string, Id uint, status *bool) (sysDictionary system.SysDictionary, err error) { + var flag = false + if status == nil { + flag = true + } else { + flag = *status + } + err = global.GVA_DB.Where("(type = ? OR id = ?) and status = ?", Type, Id, flag).Preload("SysDictionaryDetails", func(db *gorm.DB) *gorm.DB { + return db.Where("status = ?", true).Order("sort") + }).First(&sysDictionary).Error + return +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: GetSysDictionaryInfoList +//@description: 分页获取字典列表 +//@param: info request.SysDictionarySearch +//@return: err error, list interface{}, total int64 + +func (dictionaryService *DictionaryService) GetSysDictionaryInfoList() (list interface{}, err error) { + var sysDictionarys []system.SysDictionary + err = global.GVA_DB.Find(&sysDictionarys).Error + return sysDictionarys, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_dictionary_detail.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_dictionary_detail.go new file mode 100644 index 000000000..e1cfcabf8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_dictionary_detail.go @@ -0,0 +1,86 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: CreateSysDictionaryDetail +//@description: 创建字典详情数据 +//@param: sysDictionaryDetail model.SysDictionaryDetail +//@return: err error + +type DictionaryDetailService struct{} + +func (dictionaryDetailService *DictionaryDetailService) CreateSysDictionaryDetail(sysDictionaryDetail system.SysDictionaryDetail) (err error) { + err = global.GVA_DB.Create(&sysDictionaryDetail).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteSysDictionaryDetail +//@description: 删除字典详情数据 +//@param: sysDictionaryDetail model.SysDictionaryDetail +//@return: err error + +func (dictionaryDetailService *DictionaryDetailService) DeleteSysDictionaryDetail(sysDictionaryDetail system.SysDictionaryDetail) (err error) { + err = global.GVA_DB.Delete(&sysDictionaryDetail).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: UpdateSysDictionaryDetail +//@description: 更新字典详情数据 +//@param: sysDictionaryDetail *model.SysDictionaryDetail +//@return: err error + +func (dictionaryDetailService *DictionaryDetailService) UpdateSysDictionaryDetail(sysDictionaryDetail *system.SysDictionaryDetail) (err error) { + err = global.GVA_DB.Save(sysDictionaryDetail).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetSysDictionaryDetail +//@description: 根据id获取字典详情单条数据 +//@param: id uint +//@return: sysDictionaryDetail system.SysDictionaryDetail, err error + +func (dictionaryDetailService *DictionaryDetailService) GetSysDictionaryDetail(id uint) (sysDictionaryDetail system.SysDictionaryDetail, err error) { + err = global.GVA_DB.Where("id = ?", id).First(&sysDictionaryDetail).Error + return +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetSysDictionaryDetailInfoList +//@description: 分页获取字典详情列表 +//@param: info request.SysDictionaryDetailSearch +//@return: list interface{}, total int64, err error + +func (dictionaryDetailService *DictionaryDetailService) GetSysDictionaryDetailInfoList(info request.SysDictionaryDetailSearch) (list interface{}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + // 创建db + db := global.GVA_DB.Model(&system.SysDictionaryDetail{}) + var sysDictionaryDetails []system.SysDictionaryDetail + // 如果有条件搜索 下方会自动创建搜索语句 + if info.Label != "" { + db = db.Where("label LIKE ?", "%"+info.Label+"%") + } + if info.Value != 0 { + db = db.Where("value = ?", info.Value) + } + if info.Status != nil { + db = db.Where("status = ?", info.Status) + } + if info.SysDictionaryID != 0 { + db = db.Where("sys_dictionary_id = ?", info.SysDictionaryID) + } + err = db.Count(&total).Error + if err != nil { + return + } + err = db.Limit(limit).Offset(offset).Order("sort").Find(&sysDictionaryDetails).Error + return sysDictionaryDetails, total, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb.go new file mode 100644 index 000000000..d511950f5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb.go @@ -0,0 +1,184 @@ +package system + +import ( + "context" + "database/sql" + "errors" + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "gorm.io/gorm" + "sort" +) + +const ( + Mysql = "mysql" + Pgsql = "pgsql" + Sqlite = "sqlite" + InitSuccess = "\n[%v] --> 初始数据成功!\n" + InitDataExist = "\n[%v] --> %v 的初始数据已存在!\n" + InitDataFailed = "\n[%v] --> %v 初始数据失败! \nerr: %+v\n" + InitDataSuccess = "\n[%v] --> %v 初始数据成功!\n" +) + +const ( + InitOrderSystem = 10 + InitOrderInternal = 1000 + InitOrderExternal = 100000 +) + +var ( + ErrMissingDBContext = errors.New("missing db in context") + ErrMissingDependentContext = errors.New("missing dependent value in context") + ErrDBTypeMismatch = errors.New("db type mismatch") +) + +// SubInitializer 提供 source/*/init() 使用的接口,每个 initializer 完成一个初始化过程 +type SubInitializer interface { + InitializerName() string // 不一定代表单独一个表,所以改成了更宽泛的语义 + MigrateTable(ctx context.Context) (next context.Context, err error) + InitializeData(ctx context.Context) (next context.Context, err error) + TableCreated(ctx context.Context) bool + DataInserted(ctx context.Context) bool +} + +// TypedDBInitHandler 执行传入的 initializer +type TypedDBInitHandler interface { + EnsureDB(ctx context.Context, conf *request.InitDB) (context.Context, error) // 建库,失败属于 fatal error,因此让它 panic + WriteConfig(ctx context.Context) error // 回写配置 + InitTables(ctx context.Context, inits initSlice) error // 建表 handler + InitData(ctx context.Context, inits initSlice) error // 建数据 handler +} + +// orderedInitializer 组合一个顺序字段,以供排序 +type orderedInitializer struct { + order int + SubInitializer +} + +// initSlice 供 initializer 排序依赖时使用 +type initSlice []*orderedInitializer + +var ( + initializers initSlice + cache map[string]*orderedInitializer +) + +// RegisterInit 注册要执行的初始化过程,会在 InitDB() 时调用 +func RegisterInit(order int, i SubInitializer) { + if initializers == nil { + initializers = initSlice{} + } + if cache == nil { + cache = map[string]*orderedInitializer{} + } + name := i.InitializerName() + if _, existed := cache[name]; existed { + panic(fmt.Sprintf("Name conflict on %s", name)) + } + ni := orderedInitializer{order, i} + initializers = append(initializers, &ni) + cache[name] = &ni +} + +/* ---- * service * ---- */ + +type InitDBService struct{} + +// InitDB 创建数据库并初始化 总入口 +func (initDBService *InitDBService) InitDB(conf request.InitDB) (err error) { + ctx := context.TODO() + if len(initializers) == 0 { + return errors.New("无可用初始化过程,请检查初始化是否已执行完成") + } + sort.Sort(&initializers) // 保证有依赖的 initializer 排在后面执行 + // Note: 若 initializer 只有单一依赖,可以写为 B=A+1, C=A+1; 由于 BC 之间没有依赖关系,所以谁先谁后并不影响初始化 + // 若存在多个依赖,可以写为 C=A+B, D=A+B+C, E=A+1; + // C必然>A|B,因此在AB之后执行,D必然>A|B|C,因此在ABC后执行,而E只依赖A,顺序与CD无关,因此E与CD哪个先执行并不影响 + var initHandler TypedDBInitHandler + switch conf.DBType { + case "mysql": + initHandler = NewMysqlInitHandler() + ctx = context.WithValue(ctx, "dbtype", "mysql") + case "pgsql": + initHandler = NewPgsqlInitHandler() + ctx = context.WithValue(ctx, "dbtype", "pgsql") + case "sqlite": + initHandler = NewSqliteInitHandler() + ctx = context.WithValue(ctx, "dbtype", "sqlite") + default: + initHandler = NewMysqlInitHandler() + ctx = context.WithValue(ctx, "dbtype", "mysql") + } + ctx, err = initHandler.EnsureDB(ctx, &conf) + if err != nil { + return err + } + + db := ctx.Value("db").(*gorm.DB) + global.GVA_DB = db + + if err = initHandler.InitTables(ctx, initializers); err != nil { + return err + } + if err = initHandler.InitData(ctx, initializers); err != nil { + return err + } + + if err = initHandler.WriteConfig(ctx); err != nil { + return err + } + initializers = initSlice{} + cache = map[string]*orderedInitializer{} + return nil +} + +// createDatabase 创建数据库( EnsureDB() 中调用 ) +func createDatabase(dsn string, driver string, createSql string) error { + db, err := sql.Open(driver, dsn) + if err != nil { + return err + } + defer func(db *sql.DB) { + err = db.Close() + if err != nil { + fmt.Println(err) + } + }(db) + if err = db.Ping(); err != nil { + return err + } + _, err = db.Exec(createSql) + return err +} + +// createTables 创建表(默认 dbInitHandler.initTables 行为) +func createTables(ctx context.Context, inits initSlice) error { + next, cancel := context.WithCancel(ctx) + defer func(c func()) { c() }(cancel) + for _, init := range inits { + if init.TableCreated(next) { + continue + } + if n, err := init.MigrateTable(next); err != nil { + return err + } else { + next = n + } + } + return nil +} + +/* -- sortable interface -- */ + +func (a initSlice) Len() int { + return len(a) +} + +func (a initSlice) Less(i, j int) bool { + return a[i].order < a[j].order +} + +func (a initSlice) Swap(i, j int) { + a[i], a[j] = a[j], a[i] +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_mysql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_mysql.go new file mode 100644 index 000000000..029dfcb2f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_mysql.go @@ -0,0 +1,96 @@ +package system + +import ( + "context" + "errors" + "fmt" + "path/filepath" + + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/gookit/color" + + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/gofrs/uuid/v5" + "gorm.io/driver/mysql" + "gorm.io/gorm" +) + +type MysqlInitHandler struct{} + +func NewMysqlInitHandler() *MysqlInitHandler { + return &MysqlInitHandler{} +} + +// WriteConfig mysql回写配置 +func (h MysqlInitHandler) WriteConfig(ctx context.Context) error { + c, ok := ctx.Value("config").(config.Mysql) + if !ok { + return errors.New("mysql config invalid") + } + global.GVA_CONFIG.System.DbType = "mysql" + global.GVA_CONFIG.Mysql = c + global.GVA_CONFIG.JWT.SigningKey = uuid.Must(uuid.NewV4()).String() + cs := utils.StructToMap(global.GVA_CONFIG) + for k, v := range cs { + global.GVA_VP.Set(k, v) + } + return global.GVA_VP.WriteConfig() +} + +// EnsureDB 创建数据库并初始化 mysql +func (h MysqlInitHandler) EnsureDB(ctx context.Context, conf *request.InitDB) (next context.Context, err error) { + if s, ok := ctx.Value("dbtype").(string); !ok || s != "mysql" { + return ctx, ErrDBTypeMismatch + } + + c := conf.ToMysqlConfig() + next = context.WithValue(ctx, "config", c) + if c.Dbname == "" { + return ctx, nil + } // 如果没有数据库名, 则跳出初始化数据 + + dsn := conf.MysqlEmptyDsn() + createSql := fmt.Sprintf("CREATE DATABASE IF NOT EXISTS `%s` DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_general_ci;", c.Dbname) + if err = createDatabase(dsn, "mysql", createSql); err != nil { + return nil, err + } // 创建数据库 + + var db *gorm.DB + if db, err = gorm.Open(mysql.New(mysql.Config{ + DSN: c.Dsn(), // DSN data source name + DefaultStringSize: 191, // string 类型字段的默认长度 + SkipInitializeWithVersion: true, // 根据版本自动配置 + }), &gorm.Config{DisableForeignKeyConstraintWhenMigrating: true}); err != nil { + return ctx, err + } + global.GVA_CONFIG.AutoCode.Root, _ = filepath.Abs("..") + next = context.WithValue(next, "db", db) + return next, err +} + +func (h MysqlInitHandler) InitTables(ctx context.Context, inits initSlice) error { + return createTables(ctx, inits) +} + +func (h MysqlInitHandler) InitData(ctx context.Context, inits initSlice) error { + next, cancel := context.WithCancel(ctx) + defer func(c func()) { c() }(cancel) + for _, init := range inits { + if init.DataInserted(next) { + color.Info.Printf(InitDataExist, Mysql, init.InitializerName()) + continue + } + if n, err := init.InitializeData(next); err != nil { + color.Info.Printf(InitDataFailed, Mysql, init.InitializerName(), err) + return err + } else { + next = n + color.Info.Printf(InitDataSuccess, Mysql, init.InitializerName()) + } + } + color.Info.Printf(InitSuccess, Mysql) + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_pgsql.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_pgsql.go new file mode 100644 index 000000000..a70cbd279 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_pgsql.go @@ -0,0 +1,95 @@ +package system + +import ( + "context" + "errors" + "fmt" + "path/filepath" + + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/gookit/color" + + "github.com/flipped-aurora/gin-vue-admin/server/utils" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/gofrs/uuid/v5" + "gorm.io/driver/postgres" + "gorm.io/gorm" +) + +type PgsqlInitHandler struct{} + +func NewPgsqlInitHandler() *PgsqlInitHandler { + return &PgsqlInitHandler{} +} + +// WriteConfig pgsql 回写配置 +func (h PgsqlInitHandler) WriteConfig(ctx context.Context) error { + c, ok := ctx.Value("config").(config.Pgsql) + if !ok { + return errors.New("postgresql config invalid") + } + global.GVA_CONFIG.System.DbType = "pgsql" + global.GVA_CONFIG.Pgsql = c + global.GVA_CONFIG.JWT.SigningKey = uuid.Must(uuid.NewV4()).String() + cs := utils.StructToMap(global.GVA_CONFIG) + for k, v := range cs { + global.GVA_VP.Set(k, v) + } + return global.GVA_VP.WriteConfig() +} + +// EnsureDB 创建数据库并初始化 pg +func (h PgsqlInitHandler) EnsureDB(ctx context.Context, conf *request.InitDB) (next context.Context, err error) { + if s, ok := ctx.Value("dbtype").(string); !ok || s != "pgsql" { + return ctx, ErrDBTypeMismatch + } + + c := conf.ToPgsqlConfig() + next = context.WithValue(ctx, "config", c) + if c.Dbname == "" { + return ctx, nil + } // 如果没有数据库名, 则跳出初始化数据 + + dsn := conf.PgsqlEmptyDsn() + createSql := fmt.Sprintf("CREATE DATABASE %s;", c.Dbname) + if err = createDatabase(dsn, "pgx", createSql); err != nil { + return nil, err + } // 创建数据库 + + var db *gorm.DB + if db, err = gorm.Open(postgres.New(postgres.Config{ + DSN: c.Dsn(), // DSN data source name + PreferSimpleProtocol: false, + }), &gorm.Config{DisableForeignKeyConstraintWhenMigrating: true}); err != nil { + return ctx, err + } + global.GVA_CONFIG.AutoCode.Root, _ = filepath.Abs("..") + next = context.WithValue(next, "db", db) + return next, err +} + +func (h PgsqlInitHandler) InitTables(ctx context.Context, inits initSlice) error { + return createTables(ctx, inits) +} + +func (h PgsqlInitHandler) InitData(ctx context.Context, inits initSlice) error { + next, cancel := context.WithCancel(ctx) + defer func(c func()) { c() }(cancel) + for i := 0; i < len(inits); i++ { + if inits[i].DataInserted(next) { + color.Info.Printf(InitDataExist, Pgsql, inits[i].InitializerName()) + continue + } + if n, err := inits[i].InitializeData(next); err != nil { + color.Info.Printf(InitDataFailed, Pgsql, inits[i].InitializerName(), err) + return err + } else { + next = n + color.Info.Printf(InitDataSuccess, Pgsql, inits[i].InitializerName()) + } + } + color.Info.Printf(InitSuccess, Pgsql) + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_sqlite.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_sqlite.go new file mode 100644 index 000000000..786af1590 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_initdb_sqlite.go @@ -0,0 +1,86 @@ +package system + +import ( + "context" + "errors" + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/glebarez/sqlite" + "github.com/gofrs/uuid/v5" + "github.com/gookit/color" + "gorm.io/gorm" + "path/filepath" +) + +type SqliteInitHandler struct{} + +func NewSqliteInitHandler() *SqliteInitHandler { + return &SqliteInitHandler{} +} + +// WriteConfig mysql回写配置 +func (h SqliteInitHandler) WriteConfig(ctx context.Context) error { + c, ok := ctx.Value("config").(config.Sqlite) + if !ok { + return errors.New("mysql config invalid") + } + global.GVA_CONFIG.System.DbType = "sqlite" + global.GVA_CONFIG.Sqlite = c + global.GVA_CONFIG.JWT.SigningKey = uuid.Must(uuid.NewV4()).String() + cs := utils.StructToMap(global.GVA_CONFIG) + for k, v := range cs { + global.GVA_VP.Set(k, v) + } + return global.GVA_VP.WriteConfig() +} + +// EnsureDB 创建数据库并初始化 sqlite +func (h SqliteInitHandler) EnsureDB(ctx context.Context, conf *request.InitDB) (next context.Context, err error) { + if s, ok := ctx.Value("dbtype").(string); !ok || s != "sqlite" { + return ctx, ErrDBTypeMismatch + } + + c := conf.ToSqliteConfig() + next = context.WithValue(ctx, "config", c) + if c.Dbname == "" { + return ctx, nil + } // 如果没有数据库名, 则跳出初始化数据 + + dsn := conf.SqliteEmptyDsn() + + var db *gorm.DB + if db, err = gorm.Open(sqlite.Open(dsn), &gorm.Config{ + DisableForeignKeyConstraintWhenMigrating: true, + }); err != nil { + return ctx, err + } + global.GVA_CONFIG.AutoCode.Root, _ = filepath.Abs("..") + next = context.WithValue(next, "db", db) + return next, err +} + +func (h SqliteInitHandler) InitTables(ctx context.Context, inits initSlice) error { + return createTables(ctx, inits) +} + +func (h SqliteInitHandler) InitData(ctx context.Context, inits initSlice) error { + next, cancel := context.WithCancel(ctx) + defer func(c func()) { c() }(cancel) + for _, init := range inits { + if init.DataInserted(next) { + color.Info.Printf(InitDataExist, Sqlite, init.InitializerName()) + continue + } + if n, err := init.InitializeData(next); err != nil { + color.Info.Printf(InitDataFailed, Sqlite, init.InitializerName(), err) + return err + } else { + next = n + color.Info.Printf(InitDataSuccess, Sqlite, init.InitializerName()) + } + } + color.Info.Printf(InitSuccess, Sqlite) + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_menu.go new file mode 100644 index 000000000..8e13b04b6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_menu.go @@ -0,0 +1,235 @@ +package system + +import ( + "errors" + "strconv" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "gorm.io/gorm" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: getMenuTreeMap +//@description: 获取路由总树map +//@param: authorityId string +//@return: treeMap map[string][]system.SysMenu, err error + +type MenuService struct{} + +var MenuServiceApp = new(MenuService) + +func (menuService *MenuService) getMenuTreeMap(authorityId uint) (treeMap map[string][]system.SysMenu, err error) { + var allMenus []system.SysMenu + var baseMenu []system.SysBaseMenu + var btns []system.SysAuthorityBtn + treeMap = make(map[string][]system.SysMenu) + + var SysAuthorityMenus []system.SysAuthorityMenu + err = global.GVA_DB.Where("sys_authority_authority_id = ?", authorityId).Find(&SysAuthorityMenus).Error + if err != nil { + return + } + + var MenuIds []string + + for i := range SysAuthorityMenus { + MenuIds = append(MenuIds, SysAuthorityMenus[i].MenuId) + } + + err = global.GVA_DB.Where("id in (?)", MenuIds).Order("sort").Preload("Parameters").Find(&baseMenu).Error + if err != nil { + return + } + + for i := range baseMenu { + allMenus = append(allMenus, system.SysMenu{ + SysBaseMenu: baseMenu[i], + AuthorityId: authorityId, + MenuId: strconv.Itoa(int(baseMenu[i].ID)), + Parameters: baseMenu[i].Parameters, + }) + } + + err = global.GVA_DB.Where("authority_id = ?", authorityId).Preload("SysBaseMenuBtn").Find(&btns).Error + if err != nil { + return + } + var btnMap = make(map[uint]map[string]uint) + for _, v := range btns { + if btnMap[v.SysMenuID] == nil { + btnMap[v.SysMenuID] = make(map[string]uint) + } + btnMap[v.SysMenuID][v.SysBaseMenuBtn.Name] = authorityId + } + for _, v := range allMenus { + v.Btns = btnMap[v.ID] + treeMap[v.ParentId] = append(treeMap[v.ParentId], v) + } + return treeMap, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetMenuTree +//@description: 获取动态菜单树 +//@param: authorityId string +//@return: menus []system.SysMenu, err error + +func (menuService *MenuService) GetMenuTree(authorityId uint) (menus []system.SysMenu, err error) { + menuTree, err := menuService.getMenuTreeMap(authorityId) + menus = menuTree["0"] + for i := 0; i < len(menus); i++ { + err = menuService.getChildrenList(&menus[i], menuTree) + } + return menus, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: getChildrenList +//@description: 获取子菜单 +//@param: menu *model.SysMenu, treeMap map[string][]model.SysMenu +//@return: err error + +func (menuService *MenuService) getChildrenList(menu *system.SysMenu, treeMap map[string][]system.SysMenu) (err error) { + menu.Children = treeMap[menu.MenuId] + for i := 0; i < len(menu.Children); i++ { + err = menuService.getChildrenList(&menu.Children[i], treeMap) + } + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetInfoList +//@description: 获取路由分页 +//@return: list interface{}, total int64,err error + +func (menuService *MenuService) GetInfoList() (list interface{}, total int64, err error) { + var menuList []system.SysBaseMenu + treeMap, err := menuService.getBaseMenuTreeMap() + menuList = treeMap["0"] + for i := 0; i < len(menuList); i++ { + err = menuService.getBaseChildrenList(&menuList[i], treeMap) + } + return menuList, total, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: getBaseChildrenList +//@description: 获取菜单的子菜单 +//@param: menu *model.SysBaseMenu, treeMap map[string][]model.SysBaseMenu +//@return: err error + +func (menuService *MenuService) getBaseChildrenList(menu *system.SysBaseMenu, treeMap map[string][]system.SysBaseMenu) (err error) { + menu.Children = treeMap[strconv.Itoa(int(menu.ID))] + for i := 0; i < len(menu.Children); i++ { + err = menuService.getBaseChildrenList(&menu.Children[i], treeMap) + } + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: AddBaseMenu +//@description: 添加基础路由 +//@param: menu model.SysBaseMenu +//@return: error + +func (menuService *MenuService) AddBaseMenu(menu system.SysBaseMenu) error { + if !errors.Is(global.GVA_DB.Where("name = ?", menu.Name).First(&system.SysBaseMenu{}).Error, gorm.ErrRecordNotFound) { + return errors.New("存在重复name,请修改name") + } + return global.GVA_DB.Create(&menu).Error +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: getBaseMenuTreeMap +//@description: 获取路由总树map +//@return: treeMap map[string][]system.SysBaseMenu, err error + +func (menuService *MenuService) getBaseMenuTreeMap() (treeMap map[string][]system.SysBaseMenu, err error) { + var allMenus []system.SysBaseMenu + treeMap = make(map[string][]system.SysBaseMenu) + err = global.GVA_DB.Order("sort").Preload("MenuBtn").Preload("Parameters").Find(&allMenus).Error + for _, v := range allMenus { + treeMap[v.ParentId] = append(treeMap[v.ParentId], v) + } + return treeMap, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetBaseMenuTree +//@description: 获取基础路由树 +//@return: menus []system.SysBaseMenu, err error + +func (menuService *MenuService) GetBaseMenuTree() (menus []system.SysBaseMenu, err error) { + treeMap, err := menuService.getBaseMenuTreeMap() + menus = treeMap["0"] + for i := 0; i < len(menus); i++ { + err = menuService.getBaseChildrenList(&menus[i], treeMap) + } + return menus, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: AddMenuAuthority +//@description: 为角色增加menu树 +//@param: menus []model.SysBaseMenu, authorityId string +//@return: err error + +func (menuService *MenuService) AddMenuAuthority(menus []system.SysBaseMenu, authorityId uint) (err error) { + var auth system.SysAuthority + auth.AuthorityId = authorityId + auth.SysBaseMenus = menus + err = AuthorityServiceApp.SetMenuAuthority(&auth) + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetMenuAuthority +//@description: 查看当前角色树 +//@param: info *request.GetAuthorityId +//@return: menus []system.SysMenu, err error + +func (menuService *MenuService) GetMenuAuthority(info *request.GetAuthorityId) (menus []system.SysMenu, err error) { + var baseMenu []system.SysBaseMenu + var SysAuthorityMenus []system.SysAuthorityMenu + err = global.GVA_DB.Where("sys_authority_authority_id = ?", info.AuthorityId).Find(&SysAuthorityMenus).Error + if err != nil { + return + } + + var MenuIds []string + + for i := range SysAuthorityMenus { + MenuIds = append(MenuIds, SysAuthorityMenus[i].MenuId) + } + + err = global.GVA_DB.Where("id in (?) ", MenuIds).Order("sort").Find(&baseMenu).Error + + for i := range baseMenu { + menus = append(menus, system.SysMenu{ + SysBaseMenu: baseMenu[i], + AuthorityId: info.AuthorityId, + MenuId: strconv.Itoa(int(baseMenu[i].ID)), + Parameters: baseMenu[i].Parameters, + }) + } + // sql := "SELECT authority_menu.keep_alive,authority_menu.default_menu,authority_menu.created_at,authority_menu.updated_at,authority_menu.deleted_at,authority_menu.menu_level,authority_menu.parent_id,authority_menu.path,authority_menu.`name`,authority_menu.hidden,authority_menu.component,authority_menu.title,authority_menu.icon,authority_menu.sort,authority_menu.menu_id,authority_menu.authority_id FROM authority_menu WHERE authority_menu.authority_id = ? ORDER BY authority_menu.sort ASC" + // err = global.GVA_DB.Raw(sql, authorityId).Scan(&menus).Error + return menus, err +} + +// UserAuthorityDefaultRouter 用户角色默认路由检查 +// Author [SliverHorn](https://github.com/SliverHorn) +func (menuService *MenuService) UserAuthorityDefaultRouter(user *system.SysUser) { + var menuIds []string + err := global.GVA_DB.Model(&system.SysAuthorityMenu{}).Where("sys_authority_authority_id = ?", user.AuthorityId).Pluck("sys_base_menu_id", &menuIds).Error + if err != nil { + return + } + var am system.SysBaseMenu + err = global.GVA_DB.First(&am, "name = ? and id in (?)", user.Authority.DefaultRouter, menuIds).Error + if errors.Is(err, gorm.ErrRecordNotFound) { + user.Authority.DefaultRouter = "404" + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_operation_record.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_operation_record.go new file mode 100644 index 000000000..2d67ca97a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_operation_record.go @@ -0,0 +1,86 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" +) + +//@author: [granty1](https://github.com/granty1) +//@function: CreateSysOperationRecord +//@description: 创建记录 +//@param: sysOperationRecord model.SysOperationRecord +//@return: err error + +type OperationRecordService struct{} + +func (operationRecordService *OperationRecordService) CreateSysOperationRecord(sysOperationRecord system.SysOperationRecord) (err error) { + err = global.GVA_DB.Create(&sysOperationRecord).Error + return err +} + +//@author: [granty1](https://github.com/granty1) +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteSysOperationRecordByIds +//@description: 批量删除记录 +//@param: ids request.IdsReq +//@return: err error + +func (operationRecordService *OperationRecordService) DeleteSysOperationRecordByIds(ids request.IdsReq) (err error) { + err = global.GVA_DB.Delete(&[]system.SysOperationRecord{}, "id in (?)", ids.Ids).Error + return err +} + +//@author: [granty1](https://github.com/granty1) +//@function: DeleteSysOperationRecord +//@description: 删除操作记录 +//@param: sysOperationRecord model.SysOperationRecord +//@return: err error + +func (operationRecordService *OperationRecordService) DeleteSysOperationRecord(sysOperationRecord system.SysOperationRecord) (err error) { + err = global.GVA_DB.Delete(&sysOperationRecord).Error + return err +} + +//@author: [granty1](https://github.com/granty1) +//@function: DeleteSysOperationRecord +//@description: 根据id获取单条操作记录 +//@param: id uint +//@return: sysOperationRecord system.SysOperationRecord, err error + +func (operationRecordService *OperationRecordService) GetSysOperationRecord(id uint) (sysOperationRecord system.SysOperationRecord, err error) { + err = global.GVA_DB.Where("id = ?", id).First(&sysOperationRecord).Error + return +} + +//@author: [granty1](https://github.com/granty1) +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetSysOperationRecordInfoList +//@description: 分页获取操作记录列表 +//@param: info systemReq.SysOperationRecordSearch +//@return: list interface{}, total int64, err error + +func (operationRecordService *OperationRecordService) GetSysOperationRecordInfoList(info systemReq.SysOperationRecordSearch) (list interface{}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + // 创建db + db := global.GVA_DB.Model(&system.SysOperationRecord{}) + var sysOperationRecords []system.SysOperationRecord + // 如果有条件搜索 下方会自动创建搜索语句 + if info.Method != "" { + db = db.Where("method = ?", info.Method) + } + if info.Path != "" { + db = db.Where("path LIKE ?", "%"+info.Path+"%") + } + if info.Status != 0 { + db = db.Where("status = ?", info.Status) + } + err = db.Count(&total).Error + if err != nil { + return + } + err = db.Order("id desc").Limit(limit).Offset(offset).Preload("User").Find(&sysOperationRecords).Error + return sysOperationRecords, total, err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_system.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_system.go new file mode 100644 index 000000000..712a190f3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_system.go @@ -0,0 +1,60 @@ +package system + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/config" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "go.uber.org/zap" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetSystemConfig +//@description: 读取配置文件 +//@return: conf config.Server, err error + +type SystemConfigService struct{} + +func (systemConfigService *SystemConfigService) GetSystemConfig() (conf config.Server, err error) { + return global.GVA_CONFIG, nil +} + +// @description set system config, +//@author: [piexlmax](https://github.com/piexlmax) +//@function: SetSystemConfig +//@description: 设置配置文件 +//@param: system model.System +//@return: err error + +func (systemConfigService *SystemConfigService) SetSystemConfig(system system.System) (err error) { + cs := utils.StructToMap(system.Config) + for k, v := range cs { + global.GVA_VP.Set(k, v) + } + err = global.GVA_VP.WriteConfig() + return err +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: GetServerInfo +//@description: 获取服务器信息 +//@return: server *utils.Server, err error + +func (systemConfigService *SystemConfigService) GetServerInfo() (server *utils.Server, err error) { + var s utils.Server + s.Os = utils.InitOS() + if s.Cpu, err = utils.InitCPU(); err != nil { + global.GVA_LOG.Error("func utils.InitCPU() Failed", zap.String("err", err.Error())) + return &s, err + } + if s.Ram, err = utils.InitRAM(); err != nil { + global.GVA_LOG.Error("func utils.InitRAM() Failed", zap.String("err", err.Error())) + return &s, err + } + if s.Disk, err = utils.InitDisk(); err != nil { + global.GVA_LOG.Error("func utils.InitDisk() Failed", zap.String("err", err.Error())) + return &s, err + } + + return &s, nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_user.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_user.go new file mode 100644 index 000000000..362e0e8cf --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/service/system/sys_user.go @@ -0,0 +1,247 @@ +package system + +import ( + "errors" + "fmt" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gofrs/uuid/v5" + "gorm.io/gorm" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Register +//@description: 用户注册 +//@param: u model.SysUser +//@return: userInter system.SysUser, err error + +type UserService struct{} + +func (userService *UserService) Register(u system.SysUser) (userInter system.SysUser, err error) { + var user system.SysUser + if !errors.Is(global.GVA_DB.Where("username = ?", u.Username).First(&user).Error, gorm.ErrRecordNotFound) { // 判断用户名是否注册 + return userInter, errors.New("用户名已注册") + } + // 否则 附加uuid 密码hash加密 注册 + u.Password = utils.BcryptHash(u.Password) + u.UUID = uuid.Must(uuid.NewV4()) + err = global.GVA_DB.Create(&u).Error + return u, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: Login +//@description: 用户登录 +//@param: u *model.SysUser +//@return: err error, userInter *model.SysUser + +func (userService *UserService) Login(u *system.SysUser) (userInter *system.SysUser, err error) { + if nil == global.GVA_DB { + return nil, fmt.Errorf("db not init") + } + + var user system.SysUser + err = global.GVA_DB.Where("username = ?", u.Username).Preload("Authorities").Preload("Authority").First(&user).Error + if err == nil { + if ok := utils.BcryptCheck(u.Password, user.Password); !ok { + return nil, errors.New("密码错误") + } + MenuServiceApp.UserAuthorityDefaultRouter(&user) + } + return &user, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: ChangePassword +//@description: 修改用户密码 +//@param: u *model.SysUser, newPassword string +//@return: userInter *model.SysUser,err error + +func (userService *UserService) ChangePassword(u *system.SysUser, newPassword string) (userInter *system.SysUser, err error) { + var user system.SysUser + if err = global.GVA_DB.Where("id = ?", u.ID).First(&user).Error; err != nil { + return nil, err + } + if ok := utils.BcryptCheck(u.Password, user.Password); !ok { + return nil, errors.New("原密码错误") + } + user.Password = utils.BcryptHash(newPassword) + err = global.GVA_DB.Save(&user).Error + return &user, err + +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: GetUserInfoList +//@description: 分页获取数据 +//@param: info request.PageInfo +//@return: err error, list interface{}, total int64 + +func (userService *UserService) GetUserInfoList(info request.PageInfo) (list interface{}, total int64, err error) { + limit := info.PageSize + offset := info.PageSize * (info.Page - 1) + db := global.GVA_DB.Model(&system.SysUser{}) + var userList []system.SysUser + err = db.Count(&total).Error + if err != nil { + return + } + err = db.Limit(limit).Offset(offset).Preload("Authorities").Preload("Authority").Find(&userList).Error + return userList, total, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: SetUserAuthority +//@description: 设置一个用户的权限 +//@param: uuid uuid.UUID, authorityId string +//@return: err error + +func (userService *UserService) SetUserAuthority(id uint, authorityId uint) (err error) { + assignErr := global.GVA_DB.Where("sys_user_id = ? AND sys_authority_authority_id = ?", id, authorityId).First(&system.SysUserAuthority{}).Error + if errors.Is(assignErr, gorm.ErrRecordNotFound) { + return errors.New("该用户无此角色") + } + err = global.GVA_DB.Where("id = ?", id).First(&system.SysUser{}).Update("authority_id", authorityId).Error + return err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: SetUserAuthorities +//@description: 设置一个用户的权限 +//@param: id uint, authorityIds []string +//@return: err error + +func (userService *UserService) SetUserAuthorities(id uint, authorityIds []uint) (err error) { + return global.GVA_DB.Transaction(func(tx *gorm.DB) error { + TxErr := tx.Delete(&[]system.SysUserAuthority{}, "sys_user_id = ?", id).Error + if TxErr != nil { + return TxErr + } + var useAuthority []system.SysUserAuthority + for _, v := range authorityIds { + useAuthority = append(useAuthority, system.SysUserAuthority{ + SysUserId: id, SysAuthorityAuthorityId: v, + }) + } + TxErr = tx.Create(&useAuthority).Error + if TxErr != nil { + return TxErr + } + TxErr = tx.Where("id = ?", id).First(&system.SysUser{}).Update("authority_id", authorityIds[0]).Error + if TxErr != nil { + return TxErr + } + // 返回 nil 提交事务 + return nil + }) +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: DeleteUser +//@description: 删除用户 +//@param: id float64 +//@return: err error + +func (userService *UserService) DeleteUser(id int) (err error) { + return global.GVA_DB.Transaction(func(tx *gorm.DB) error { + if err := tx.Where("id = ?", id).Delete(&system.SysUser{}).Error; err != nil { + return err + } + if err := tx.Delete(&[]system.SysUserAuthority{}, "sys_user_id = ?", id).Error; err != nil { + return err + } + return nil + }) +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: SetUserInfo +//@description: 设置用户信息 +//@param: reqUser model.SysUser +//@return: err error, user model.SysUser + +func (userService *UserService) SetUserInfo(req system.SysUser) error { + return global.GVA_DB.Model(&system.SysUser{}). + Select("updated_at", "nick_name", "header_img", "phone", "email", "sideMode", "enable"). + Where("id=?", req.ID). + Updates(map[string]interface{}{ + "updated_at": time.Now(), + "nick_name": req.NickName, + "header_img": req.HeaderImg, + "phone": req.Phone, + "email": req.Email, + "side_mode": req.SideMode, + "enable": req.Enable, + }).Error +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: SetUserInfo +//@description: 设置用户信息 +//@param: reqUser model.SysUser +//@return: err error, user model.SysUser + +func (userService *UserService) SetSelfInfo(req system.SysUser) error { + return global.GVA_DB.Model(&system.SysUser{}). + Where("id=?", req.ID). + Updates(req).Error +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: GetUserInfo +//@description: 获取用户信息 +//@param: uuid uuid.UUID +//@return: err error, user system.SysUser + +func (userService *UserService) GetUserInfo(uuid uuid.UUID) (user system.SysUser, err error) { + var reqUser system.SysUser + err = global.GVA_DB.Preload("Authorities").Preload("Authority").First(&reqUser, "uuid = ?", uuid).Error + if err != nil { + return reqUser, err + } + MenuServiceApp.UserAuthorityDefaultRouter(&reqUser) + return reqUser, err +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: FindUserById +//@description: 通过id获取用户信息 +//@param: id int +//@return: err error, user *model.SysUser + +func (userService *UserService) FindUserById(id int) (user *system.SysUser, err error) { + var u system.SysUser + err = global.GVA_DB.Where("`id` = ?", id).First(&u).Error + return &u, err +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: FindUserByUuid +//@description: 通过uuid获取用户信息 +//@param: uuid string +//@return: err error, user *model.SysUser + +func (userService *UserService) FindUserByUuid(uuid string) (user *system.SysUser, err error) { + var u system.SysUser + if err = global.GVA_DB.Where("`uuid` = ?", uuid).First(&u).Error; err != nil { + return &u, errors.New("用户不存在") + } + return &u, nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: resetPassword +//@description: 修改用户密码 +//@param: ID uint +//@return: err error + +func (userService *UserService) ResetPassword(ID uint) (err error) { + err = global.GVA_DB.Model(&system.SysUser{}).Where("id = ?", ID).Update("password", utils.BcryptHash("123456")).Error + return err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/example/file_upload_download.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/example/file_upload_download.go new file mode 100644 index 000000000..f39dcf2e5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/example/file_upload_download.go @@ -0,0 +1,65 @@ +package example + +import ( + "context" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +const initOrderExaFile = system.InitOrderInternal + 1 + +type initExaFileMysql struct{} + +// auto run +func init() { + system.RegisterInit(initOrderExaFile, &initExaFileMysql{}) +} + +func (i *initExaFileMysql) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + return ctx, db.AutoMigrate(&example.ExaFileUploadAndDownload{}) +} + +func (i *initExaFileMysql) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + return db.Migrator().HasTable(&example.ExaFileUploadAndDownload{}) +} + +func (i initExaFileMysql) InitializerName() string { + return example.ExaFileUploadAndDownload{}.TableName() +} + +func (i *initExaFileMysql) InitializeData(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + entities := []example.ExaFileUploadAndDownload{ + {Name: "10.png", Url: "https://qmplusimg.henrongyi.top/gvalogo.png", Tag: "png", Key: "158787308910.png"}, + {Name: "logo.png", Url: "https://qmplusimg.henrongyi.top/1576554439myAvatar.png", Tag: "png", Key: "1587973709logo.png"}, + } + if err := db.Create(&entities).Error; err != nil { + return ctx, errors.Wrap(err, example.ExaFileUploadAndDownload{}.TableName()+"表数据初始化失败!") + } + return ctx, nil +} + +func (i *initExaFileMysql) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + lookup := example.ExaFileUploadAndDownload{Name: "logo.png", Key: "1587973709logo.png"} + if errors.Is(db.First(&lookup, &lookup).Error, gorm.ErrRecordNotFound) { + return false + } + return true +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/api.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/api.go new file mode 100644 index 000000000..5db056aca --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/api.go @@ -0,0 +1,176 @@ +package system + +import ( + "context" + sysModel "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +type initApi struct{} + +const initOrderApi = system.InitOrderSystem + 1 + +// auto run +func init() { + system.RegisterInit(initOrderApi, &initApi{}) +} + +func (i initApi) InitializerName() string { + return sysModel.SysApi{}.TableName() +} + +func (i *initApi) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + return ctx, db.AutoMigrate(&sysModel.SysApi{}) +} + +func (i *initApi) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + return db.Migrator().HasTable(&sysModel.SysApi{}) +} + +func (i *initApi) InitializeData(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + entities := []sysModel.SysApi{ + {ApiGroup: "jwt", Method: "POST", Path: "/jwt/jsonInBlacklist", Description: "jwt加入黑名单(退出,必选)"}, + + {ApiGroup: "系统用户", Method: "DELETE", Path: "/user/deleteUser", Description: "删除用户"}, + {ApiGroup: "系统用户", Method: "POST", Path: "/user/admin_register", Description: "用户注册"}, + {ApiGroup: "系统用户", Method: "POST", Path: "/user/getUserList", Description: "获取用户列表"}, + {ApiGroup: "系统用户", Method: "PUT", Path: "/user/setUserInfo", Description: "设置用户信息"}, + {ApiGroup: "系统用户", Method: "PUT", Path: "/user/setSelfInfo", Description: "设置自身信息(必选)"}, + {ApiGroup: "系统用户", Method: "GET", Path: "/user/getUserInfo", Description: "获取自身信息(必选)"}, + {ApiGroup: "系统用户", Method: "POST", Path: "/user/setUserAuthorities", Description: "设置权限组"}, + {ApiGroup: "系统用户", Method: "POST", Path: "/user/changePassword", Description: "修改密码(建议选择)"}, + {ApiGroup: "系统用户", Method: "POST", Path: "/user/setUserAuthority", Description: "修改用户角色(必选)"}, + {ApiGroup: "系统用户", Method: "POST", Path: "/user/resetPassword", Description: "重置用户密码"}, + + {ApiGroup: "api", Method: "POST", Path: "/api/createApi", Description: "创建api"}, + {ApiGroup: "api", Method: "POST", Path: "/api/deleteApi", Description: "删除Api"}, + {ApiGroup: "api", Method: "POST", Path: "/api/updateApi", Description: "更新Api"}, + {ApiGroup: "api", Method: "POST", Path: "/api/getApiList", Description: "获取api列表"}, + {ApiGroup: "api", Method: "POST", Path: "/api/getAllApis", Description: "获取所有api"}, + {ApiGroup: "api", Method: "POST", Path: "/api/getApiById", Description: "获取api详细信息"}, + {ApiGroup: "api", Method: "DELETE", Path: "/api/deleteApisByIds", Description: "批量删除api"}, + + {ApiGroup: "角色", Method: "POST", Path: "/authority/copyAuthority", Description: "拷贝角色"}, + {ApiGroup: "角色", Method: "POST", Path: "/authority/createAuthority", Description: "创建角色"}, + {ApiGroup: "角色", Method: "POST", Path: "/authority/deleteAuthority", Description: "删除角色"}, + {ApiGroup: "角色", Method: "PUT", Path: "/authority/updateAuthority", Description: "更新角色信息"}, + {ApiGroup: "角色", Method: "POST", Path: "/authority/getAuthorityList", Description: "获取角色列表"}, + {ApiGroup: "角色", Method: "POST", Path: "/authority/setDataAuthority", Description: "设置角色资源权限"}, + + {ApiGroup: "casbin", Method: "POST", Path: "/casbin/updateCasbin", Description: "更改角色api权限"}, + {ApiGroup: "casbin", Method: "POST", Path: "/casbin/getPolicyPathByAuthorityId", Description: "获取权限列表"}, + + {ApiGroup: "菜单", Method: "POST", Path: "/menu/addBaseMenu", Description: "新增菜单"}, + {ApiGroup: "菜单", Method: "POST", Path: "/menu/getMenu", Description: "获取菜单树(必选)"}, + {ApiGroup: "菜单", Method: "POST", Path: "/menu/deleteBaseMenu", Description: "删除菜单"}, + {ApiGroup: "菜单", Method: "POST", Path: "/menu/updateBaseMenu", Description: "更新菜单"}, + {ApiGroup: "菜单", Method: "POST", Path: "/menu/getBaseMenuById", Description: "根据id获取菜单"}, + {ApiGroup: "菜单", Method: "POST", Path: "/menu/getMenuList", Description: "分页获取基础menu列表"}, + {ApiGroup: "菜单", Method: "POST", Path: "/menu/getBaseMenuTree", Description: "获取用户动态路由"}, + {ApiGroup: "菜单", Method: "POST", Path: "/menu/getMenuAuthority", Description: "获取指定角色menu"}, + {ApiGroup: "菜单", Method: "POST", Path: "/menu/addMenuAuthority", Description: "增加menu和角色关联关系"}, + + {ApiGroup: "分片上传", Method: "GET", Path: "/fileUploadAndDownload/findFile", Description: "寻找目标文件(秒传)"}, + {ApiGroup: "分片上传", Method: "POST", Path: "/fileUploadAndDownload/breakpointContinue", Description: "断点续传"}, + {ApiGroup: "分片上传", Method: "POST", Path: "/fileUploadAndDownload/breakpointContinueFinish", Description: "断点续传完成"}, + {ApiGroup: "分片上传", Method: "POST", Path: "/fileUploadAndDownload/removeChunk", Description: "上传完成移除文件"}, + + {ApiGroup: "文件上传与下载", Method: "POST", Path: "/fileUploadAndDownload/upload", Description: "文件上传示例"}, + {ApiGroup: "文件上传与下载", Method: "POST", Path: "/fileUploadAndDownload/deleteFile", Description: "删除文件"}, + {ApiGroup: "文件上传与下载", Method: "POST", Path: "/fileUploadAndDownload/editFileName", Description: "文件名或者备注编辑"}, + {ApiGroup: "文件上传与下载", Method: "POST", Path: "/fileUploadAndDownload/getFileList", Description: "获取上传文件列表"}, + + {ApiGroup: "系统服务", Method: "POST", Path: "/system/getServerInfo", Description: "获取服务器信息"}, + {ApiGroup: "系统服务", Method: "POST", Path: "/system/getSystemConfig", Description: "获取配置文件内容"}, + {ApiGroup: "系统服务", Method: "POST", Path: "/system/setSystemConfig", Description: "设置配置文件内容"}, + + {ApiGroup: "客户", Method: "PUT", Path: "/customer/customer", Description: "更新客户"}, + {ApiGroup: "客户", Method: "POST", Path: "/customer/customer", Description: "创建客户"}, + {ApiGroup: "客户", Method: "DELETE", Path: "/customer/customer", Description: "删除客户"}, + {ApiGroup: "客户", Method: "GET", Path: "/customer/customer", Description: "获取单一客户"}, + {ApiGroup: "客户", Method: "GET", Path: "/customer/customerList", Description: "获取客户列表"}, + + {ApiGroup: "代码生成器", Method: "GET", Path: "/autoCode/getDB", Description: "获取所有数据库"}, + {ApiGroup: "代码生成器", Method: "GET", Path: "/autoCode/getTables", Description: "获取数据库表"}, + {ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/createTemp", Description: "自动化代码"}, + {ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/preview", Description: "预览自动化代码"}, + {ApiGroup: "代码生成器", Method: "GET", Path: "/autoCode/getColumn", Description: "获取所选table的所有字段"}, + {ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/createPlug", Description: "自动创建插件包"}, + {ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/installPlugin", Description: "安装插件"}, + {ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/pubPlug", Description: "打包插件"}, + + {ApiGroup: "包(pkg)生成器", Method: "POST", Path: "/autoCode/createPackage", Description: "生成包(package)"}, + {ApiGroup: "包(pkg)生成器", Method: "POST", Path: "/autoCode/getPackage", Description: "获取所有包(package)"}, + {ApiGroup: "包(pkg)生成器", Method: "POST", Path: "/autoCode/delPackage", Description: "删除包(package)"}, + + {ApiGroup: "代码生成器历史", Method: "POST", Path: "/autoCode/getMeta", Description: "获取meta信息"}, + {ApiGroup: "代码生成器历史", Method: "POST", Path: "/autoCode/rollback", Description: "回滚自动生成代码"}, + {ApiGroup: "代码生成器历史", Method: "POST", Path: "/autoCode/getSysHistory", Description: "查询回滚记录"}, + {ApiGroup: "代码生成器历史", Method: "POST", Path: "/autoCode/delSysHistory", Description: "删除回滚记录"}, + + {ApiGroup: "系统字典详情", Method: "PUT", Path: "/sysDictionaryDetail/updateSysDictionaryDetail", Description: "更新字典内容"}, + {ApiGroup: "系统字典详情", Method: "POST", Path: "/sysDictionaryDetail/createSysDictionaryDetail", Description: "新增字典内容"}, + {ApiGroup: "系统字典详情", Method: "DELETE", Path: "/sysDictionaryDetail/deleteSysDictionaryDetail", Description: "删除字典内容"}, + {ApiGroup: "系统字典详情", Method: "GET", Path: "/sysDictionaryDetail/findSysDictionaryDetail", Description: "根据ID获取字典内容"}, + {ApiGroup: "系统字典详情", Method: "GET", Path: "/sysDictionaryDetail/getSysDictionaryDetailList", Description: "获取字典内容列表"}, + + {ApiGroup: "系统字典", Method: "POST", Path: "/sysDictionary/createSysDictionary", Description: "新增字典"}, + {ApiGroup: "系统字典", Method: "DELETE", Path: "/sysDictionary/deleteSysDictionary", Description: "删除字典"}, + {ApiGroup: "系统字典", Method: "PUT", Path: "/sysDictionary/updateSysDictionary", Description: "更新字典"}, + {ApiGroup: "系统字典", Method: "GET", Path: "/sysDictionary/findSysDictionary", Description: "根据ID获取字典"}, + {ApiGroup: "系统字典", Method: "GET", Path: "/sysDictionary/getSysDictionaryList", Description: "获取字典列表"}, + + {ApiGroup: "操作记录", Method: "POST", Path: "/sysOperationRecord/createSysOperationRecord", Description: "新增操作记录"}, + {ApiGroup: "操作记录", Method: "GET", Path: "/sysOperationRecord/findSysOperationRecord", Description: "根据ID获取操作记录"}, + {ApiGroup: "操作记录", Method: "GET", Path: "/sysOperationRecord/getSysOperationRecordList", Description: "获取操作记录列表"}, + {ApiGroup: "操作记录", Method: "DELETE", Path: "/sysOperationRecord/deleteSysOperationRecord", Description: "删除操作记录"}, + {ApiGroup: "操作记录", Method: "DELETE", Path: "/sysOperationRecord/deleteSysOperationRecordByIds", Description: "批量删除操作历史"}, + + {ApiGroup: "断点续传(插件版)", Method: "POST", Path: "/simpleUploader/upload", Description: "插件版分片上传"}, + {ApiGroup: "断点续传(插件版)", Method: "GET", Path: "/simpleUploader/checkFileMd5", Description: "文件完整度验证"}, + {ApiGroup: "断点续传(插件版)", Method: "GET", Path: "/simpleUploader/mergeFileMd5", Description: "上传完成合并文件"}, + + {ApiGroup: "email", Method: "POST", Path: "/email/emailTest", Description: "发送测试邮件"}, + {ApiGroup: "email", Method: "POST", Path: "/email/emailSend", Description: "发送邮件示例"}, + + {ApiGroup: "按钮权限", Method: "POST", Path: "/authorityBtn/setAuthorityBtn", Description: "设置按钮权限"}, + {ApiGroup: "按钮权限", Method: "POST", Path: "/authorityBtn/getAuthorityBtn", Description: "获取已有按钮权限"}, + {ApiGroup: "按钮权限", Method: "POST", Path: "/authorityBtn/canRemoveAuthorityBtn", Description: "删除按钮"}, + + {ApiGroup: "万用表格", Method: "POST", Path: "/chatGpt/getTable", Description: "通过gpt获取内容"}, + {ApiGroup: "万用表格", Method: "POST", Path: "/chatGpt/createSK", Description: "录入sk"}, + {ApiGroup: "万用表格", Method: "GET", Path: "/chatGpt/getSK", Description: "获取sk"}, + {ApiGroup: "万用表格", Method: "DELETE", Path: "/chatGpt/deleteSK", Description: "删除sk"}, + } + if err := db.Create(&entities).Error; err != nil { + return ctx, errors.Wrap(err, sysModel.SysApi{}.TableName()+"表数据初始化失败!") + } + next := context.WithValue(ctx, i.InitializerName(), entities) + return next, nil +} + +func (i *initApi) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + if errors.Is(db.Where("path = ? AND method = ?", "/authorityBtn/canRemoveAuthorityBtn", "POST"). + First(&sysModel.SysApi{}).Error, gorm.ErrRecordNotFound) { + return false + } + return true +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/authorities_menus.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/authorities_menus.go new file mode 100644 index 000000000..1c9058b88 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/authorities_menus.go @@ -0,0 +1,83 @@ +package system + +import ( + "context" + + sysModel "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +const initOrderMenuAuthority = initOrderMenu + initOrderAuthority + +type initMenuAuthority struct{} + +// auto run +func init() { + system.RegisterInit(initOrderMenuAuthority, &initMenuAuthority{}) +} + +func (i *initMenuAuthority) MigrateTable(ctx context.Context) (context.Context, error) { + return ctx, nil // do nothing +} + +func (i *initMenuAuthority) TableCreated(ctx context.Context) bool { + return false // always replace +} + +func (i initMenuAuthority) InitializerName() string { + return "sys_menu_authorities" +} + +func (i *initMenuAuthority) InitializeData(ctx context.Context) (next context.Context, err error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + authorities, ok := ctx.Value(initAuthority{}.InitializerName()).([]sysModel.SysAuthority) + if !ok { + return ctx, errors.Wrap(system.ErrMissingDependentContext, "创建 [菜单-权限] 关联失败, 未找到权限表初始化数据") + } + menus, ok := ctx.Value(initMenu{}.InitializerName()).([]sysModel.SysBaseMenu) + if !ok { + return next, errors.Wrap(errors.New(""), "创建 [菜单-权限] 关联失败, 未找到菜单表初始化数据") + } + next = ctx + // 888 + if err = db.Model(&authorities[0]).Association("SysBaseMenus").Replace(menus); err != nil { + return next, err + } + + // 8881 + menu8881 := menus[:2] + menu8881 = append(menu8881, menus[7]) + if err = db.Model(&authorities[1]).Association("SysBaseMenus").Replace(menu8881); err != nil { + return next, err + } + + // 9528 + if err = db.Model(&authorities[2]).Association("SysBaseMenus").Replace(menus[:11]); err != nil { + return next, err + } + if err = db.Model(&authorities[2]).Association("SysBaseMenus").Append(menus[12:17]); err != nil { + return next, err + } + return next, nil +} + +func (i *initMenuAuthority) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + auth := &sysModel.SysAuthority{} + if ret := db.Model(auth). + Where("authority_id = ?", 9528).Preload("SysBaseMenus").Find(auth); ret != nil { + if ret.Error != nil { + return false + } + return len(auth.SysBaseMenus) > 0 + } + return false +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/authority.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/authority.go new file mode 100644 index 000000000..0426f2a4f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/authority.go @@ -0,0 +1,88 @@ +package system + +import ( + "context" + sysModel "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +const initOrderAuthority = initOrderCasbin + 1 + +type initAuthority struct{} + +// auto run +func init() { + system.RegisterInit(initOrderAuthority, &initAuthority{}) +} + +func (i *initAuthority) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + return ctx, db.AutoMigrate(&sysModel.SysAuthority{}) +} + +func (i *initAuthority) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + return db.Migrator().HasTable(&sysModel.SysAuthority{}) +} + +func (i initAuthority) InitializerName() string { + return sysModel.SysAuthority{}.TableName() +} + +func (i *initAuthority) InitializeData(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + entities := []sysModel.SysAuthority{ + {AuthorityId: 888, AuthorityName: "普通用户", ParentId: utils.Pointer[uint](0), DefaultRouter: "dashboard"}, + {AuthorityId: 9528, AuthorityName: "测试角色", ParentId: utils.Pointer[uint](0), DefaultRouter: "dashboard"}, + {AuthorityId: 8881, AuthorityName: "普通用户子角色", ParentId: utils.Pointer[uint](888), DefaultRouter: "dashboard"}, + } + + if err := db.Create(&entities).Error; err != nil { + return ctx, errors.Wrapf(err, "%s表数据初始化失败!", sysModel.SysAuthority{}.TableName()) + } + // data authority + if err := db.Model(&entities[0]).Association("DataAuthorityId").Replace( + []*sysModel.SysAuthority{ + {AuthorityId: 888}, + {AuthorityId: 9528}, + {AuthorityId: 8881}, + }); err != nil { + return ctx, errors.Wrapf(err, "%s表数据初始化失败!", + db.Model(&entities[0]).Association("DataAuthorityId").Relationship.JoinTable.Name) + } + if err := db.Model(&entities[1]).Association("DataAuthorityId").Replace( + []*sysModel.SysAuthority{ + {AuthorityId: 9528}, + {AuthorityId: 8881}, + }); err != nil { + return ctx, errors.Wrapf(err, "%s表数据初始化失败!", + db.Model(&entities[1]).Association("DataAuthorityId").Relationship.JoinTable.Name) + } + + next := context.WithValue(ctx, i.InitializerName(), entities) + return next, nil +} + +func (i *initAuthority) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + if errors.Is(db.Where("authority_id = ?", "8881"). + First(&sysModel.SysAuthority{}).Error, gorm.ErrRecordNotFound) { // 判断是否存在数据 + return false + } + return true +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/casbin.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/casbin.go new file mode 100644 index 000000000..7626d6bd2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/casbin.go @@ -0,0 +1,258 @@ +package system + +import ( + "context" + + adapter "github.com/casbin/gorm-adapter/v3" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +const initOrderCasbin = initOrderApi + 1 + +type initCasbin struct{} + +// auto run +func init() { + system.RegisterInit(initOrderCasbin, &initCasbin{}) +} + +func (i *initCasbin) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + return ctx, db.AutoMigrate(&adapter.CasbinRule{}) +} + +func (i *initCasbin) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + return db.Migrator().HasTable(&adapter.CasbinRule{}) +} + +func (i initCasbin) InitializerName() string { + var entity adapter.CasbinRule + return entity.TableName() +} + +func (i *initCasbin) InitializeData(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + entities := []adapter.CasbinRule{ + {Ptype: "p", V0: "888", V1: "/user/admin_register", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/api/createApi", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/api/getApiList", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/api/getApiById", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/api/deleteApi", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/api/updateApi", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/api/getAllApis", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/api/deleteApisByIds", V2: "DELETE"}, + + {Ptype: "p", V0: "888", V1: "/authority/copyAuthority", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/authority/updateAuthority", V2: "PUT"}, + {Ptype: "p", V0: "888", V1: "/authority/createAuthority", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/authority/deleteAuthority", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/authority/getAuthorityList", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/authority/setDataAuthority", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/menu/getMenu", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/menu/getMenuList", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/menu/addBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/menu/getBaseMenuTree", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/menu/addMenuAuthority", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/menu/getMenuAuthority", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/menu/deleteBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/menu/updateBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/menu/getBaseMenuById", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/user/getUserInfo", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/user/setUserInfo", V2: "PUT"}, + {Ptype: "p", V0: "888", V1: "/user/setSelfInfo", V2: "PUT"}, + {Ptype: "p", V0: "888", V1: "/user/getUserList", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/user/deleteUser", V2: "DELETE"}, + {Ptype: "p", V0: "888", V1: "/user/changePassword", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/user/setUserAuthority", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/user/setUserAuthorities", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/user/resetPassword", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/findFile", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/breakpointContinueFinish", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/breakpointContinue", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/removeChunk", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/upload", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/editFileName", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/getFileList", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/casbin/updateCasbin", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/jwt/jsonInBlacklist", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/system/getSystemConfig", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/system/setSystemConfig", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/system/getServerInfo", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/customer/customer", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/customer/customer", V2: "PUT"}, + {Ptype: "p", V0: "888", V1: "/customer/customer", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/customer/customer", V2: "DELETE"}, + {Ptype: "p", V0: "888", V1: "/customer/customerList", V2: "GET"}, + + {Ptype: "p", V0: "888", V1: "/autoCode/getDB", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/autoCode/getMeta", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/preview", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/getTables", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/autoCode/getColumn", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/autoCode/rollback", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/createTemp", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/delSysHistory", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/getSysHistory", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/createPackage", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/getPackage", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/delPackage", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/createPlug", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/installPlugin", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/autoCode/pubPlug", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/findSysDictionaryDetail", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/updateSysDictionaryDetail", V2: "PUT"}, + {Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/createSysDictionaryDetail", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/getSysDictionaryDetailList", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/deleteSysDictionaryDetail", V2: "DELETE"}, + + {Ptype: "p", V0: "888", V1: "/sysDictionary/findSysDictionary", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/sysDictionary/updateSysDictionary", V2: "PUT"}, + {Ptype: "p", V0: "888", V1: "/sysDictionary/getSysDictionaryList", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/sysDictionary/createSysDictionary", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/sysDictionary/deleteSysDictionary", V2: "DELETE"}, + + {Ptype: "p", V0: "888", V1: "/sysOperationRecord/findSysOperationRecord", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/sysOperationRecord/updateSysOperationRecord", V2: "PUT"}, + {Ptype: "p", V0: "888", V1: "/sysOperationRecord/createSysOperationRecord", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/sysOperationRecord/getSysOperationRecordList", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/sysOperationRecord/deleteSysOperationRecord", V2: "DELETE"}, + {Ptype: "p", V0: "888", V1: "/sysOperationRecord/deleteSysOperationRecordByIds", V2: "DELETE"}, + + {Ptype: "p", V0: "888", V1: "/email/emailTest", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/simpleUploader/upload", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/simpleUploader/checkFileMd5", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/simpleUploader/mergeFileMd5", V2: "GET"}, + + {Ptype: "p", V0: "888", V1: "/authorityBtn/setAuthorityBtn", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/authorityBtn/getAuthorityBtn", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/authorityBtn/canRemoveAuthorityBtn", V2: "POST"}, + + {Ptype: "p", V0: "888", V1: "/chatGpt/getTable", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/chatGpt/createSK", V2: "POST"}, + {Ptype: "p", V0: "888", V1: "/chatGpt/getSK", V2: "GET"}, + {Ptype: "p", V0: "888", V1: "/chatGpt/deleteSK", V2: "DELETE"}, + + {Ptype: "p", V0: "8881", V1: "/user/admin_register", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/api/createApi", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/api/getApiList", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/api/getApiById", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/api/deleteApi", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/api/updateApi", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/api/getAllApis", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/authority/createAuthority", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/authority/deleteAuthority", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/authority/getAuthorityList", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/authority/setDataAuthority", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/getMenu", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/getMenuList", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/addBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/getBaseMenuTree", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/addMenuAuthority", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/getMenuAuthority", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/deleteBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/updateBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/menu/getBaseMenuById", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/user/changePassword", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/user/getUserList", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/user/setUserAuthority", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/fileUploadAndDownload/upload", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/fileUploadAndDownload/getFileList", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/fileUploadAndDownload/editFileName", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/casbin/updateCasbin", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/jwt/jsonInBlacklist", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/system/getSystemConfig", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/system/setSystemConfig", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/customer/customer", V2: "POST"}, + {Ptype: "p", V0: "8881", V1: "/customer/customer", V2: "PUT"}, + {Ptype: "p", V0: "8881", V1: "/customer/customer", V2: "DELETE"}, + {Ptype: "p", V0: "8881", V1: "/customer/customer", V2: "GET"}, + {Ptype: "p", V0: "8881", V1: "/customer/customerList", V2: "GET"}, + {Ptype: "p", V0: "8881", V1: "/user/getUserInfo", V2: "GET"}, + + {Ptype: "p", V0: "9528", V1: "/user/admin_register", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/api/createApi", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/api/getApiList", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/api/getApiById", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/api/deleteApi", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/api/updateApi", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/api/getAllApis", V2: "POST"}, + + {Ptype: "p", V0: "9528", V1: "/authority/createAuthority", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/authority/deleteAuthority", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/authority/getAuthorityList", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/authority/setDataAuthority", V2: "POST"}, + + {Ptype: "p", V0: "9528", V1: "/menu/getMenu", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/menu/getMenuList", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/menu/addBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/menu/getBaseMenuTree", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/menu/addMenuAuthority", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/menu/getMenuAuthority", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/menu/deleteBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/menu/updateBaseMenu", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/menu/getBaseMenuById", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/user/changePassword", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/user/getUserList", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/user/setUserAuthority", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/fileUploadAndDownload/upload", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/fileUploadAndDownload/getFileList", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/fileUploadAndDownload/editFileName", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/casbin/updateCasbin", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/jwt/jsonInBlacklist", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/system/getSystemConfig", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/system/setSystemConfig", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/customer/customer", V2: "PUT"}, + {Ptype: "p", V0: "9528", V1: "/customer/customer", V2: "GET"}, + {Ptype: "p", V0: "9528", V1: "/customer/customer", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/customer/customer", V2: "DELETE"}, + {Ptype: "p", V0: "9528", V1: "/customer/customerList", V2: "GET"}, + {Ptype: "p", V0: "9528", V1: "/autoCode/createTemp", V2: "POST"}, + {Ptype: "p", V0: "9528", V1: "/user/getUserInfo", V2: "GET"}, + } + if err := db.Create(&entities).Error; err != nil { + return ctx, errors.Wrap(err, "Casbin 表 ("+i.InitializerName()+") 数据初始化失败!") + } + next := context.WithValue(ctx, i.InitializerName(), entities) + return next, nil +} + +func (i *initCasbin) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + if errors.Is(db.Where(adapter.CasbinRule{Ptype: "p", V0: "9528", V1: "/user/getUserInfo", V2: "GET"}). + First(&adapter.CasbinRule{}).Error, gorm.ErrRecordNotFound) { // 判断是否存在数据 + return false + } + return true +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/dictionary.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/dictionary.go new file mode 100644 index 000000000..001496327 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/dictionary.go @@ -0,0 +1,71 @@ +package system + +import ( + "context" + sysModel "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +const initOrderDict = initOrderCasbin + 1 + +type initDict struct{} + +// auto run +func init() { + system.RegisterInit(initOrderDict, &initDict{}) +} + +func (i *initDict) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + return ctx, db.AutoMigrate(&sysModel.SysDictionary{}) +} + +func (i *initDict) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + return db.Migrator().HasTable(&sysModel.SysDictionary{}) +} + +func (i initDict) InitializerName() string { + return sysModel.SysDictionary{}.TableName() +} + +func (i *initDict) InitializeData(ctx context.Context) (next context.Context, err error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + True := true + entities := []sysModel.SysDictionary{ + {Name: "性别", Type: "gender", Status: &True, Desc: "性别字典"}, + {Name: "数据库int类型", Type: "int", Status: &True, Desc: "int类型对应的数据库类型"}, + {Name: "数据库时间日期类型", Type: "time.Time", Status: &True, Desc: "数据库时间日期类型"}, + {Name: "数据库浮点型", Type: "float64", Status: &True, Desc: "数据库浮点型"}, + {Name: "数据库字符串", Type: "string", Status: &True, Desc: "数据库字符串"}, + {Name: "数据库bool类型", Type: "bool", Status: &True, Desc: "数据库bool类型"}, + } + + if err = db.Create(&entities).Error; err != nil { + return ctx, errors.Wrap(err, sysModel.SysDictionary{}.TableName()+"表数据初始化失败!") + } + next = context.WithValue(ctx, i.InitializerName(), entities) + return next, nil +} + +func (i *initDict) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + if errors.Is(db.Where("type = ?", "bool").First(&sysModel.SysDictionary{}).Error, gorm.ErrRecordNotFound) { // 判断是否存在数据 + return false + } + return true +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/dictionary_detail.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/dictionary_detail.go new file mode 100644 index 000000000..8fabfbcb0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/dictionary_detail.go @@ -0,0 +1,113 @@ +package system + +import ( + "context" + "fmt" + sysModel "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +const initOrderDictDetail = initOrderDict + 1 + +type initDictDetail struct{} + +// auto run +func init() { + system.RegisterInit(initOrderDictDetail, &initDictDetail{}) +} + +func (i *initDictDetail) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + return ctx, db.AutoMigrate(&sysModel.SysDictionaryDetail{}) +} + +func (i *initDictDetail) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + return db.Migrator().HasTable(&sysModel.SysDictionaryDetail{}) +} + +func (i initDictDetail) InitializerName() string { + return sysModel.SysDictionaryDetail{}.TableName() +} + +func (i *initDictDetail) InitializeData(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + dicts, ok := ctx.Value(initDict{}.InitializerName()).([]sysModel.SysDictionary) + if !ok { + return ctx, errors.Wrap(system.ErrMissingDependentContext, + fmt.Sprintf("未找到 %s 表初始化数据", sysModel.SysDictionary{}.TableName())) + } + True := true + dicts[0].SysDictionaryDetails = []sysModel.SysDictionaryDetail{ + {Label: "男", Value: 1, Status: &True, Sort: 1}, + {Label: "女", Value: 2, Status: &True, Sort: 2}, + } + + dicts[1].SysDictionaryDetails = []sysModel.SysDictionaryDetail{ + {Label: "smallint", Value: 1, Status: &True, Sort: 1}, + {Label: "mediumint", Value: 2, Status: &True, Sort: 2}, + {Label: "int", Value: 3, Status: &True, Sort: 3}, + {Label: "bigint", Value: 4, Status: &True, Sort: 4}, + } + + dicts[2].SysDictionaryDetails = []sysModel.SysDictionaryDetail{ + {Label: "date", Status: &True}, + {Label: "time", Value: 1, Status: &True, Sort: 1}, + {Label: "year", Value: 2, Status: &True, Sort: 2}, + {Label: "datetime", Value: 3, Status: &True, Sort: 3}, + {Label: "timestamp", Value: 5, Status: &True, Sort: 5}, + } + dicts[3].SysDictionaryDetails = []sysModel.SysDictionaryDetail{ + {Label: "float", Status: &True}, + {Label: "double", Value: 1, Status: &True, Sort: 1}, + {Label: "decimal", Value: 2, Status: &True, Sort: 2}, + } + + dicts[4].SysDictionaryDetails = []sysModel.SysDictionaryDetail{ + {Label: "char", Status: &True}, + {Label: "varchar", Value: 1, Status: &True, Sort: 1}, + {Label: "tinyblob", Value: 2, Status: &True, Sort: 2}, + {Label: "tinytext", Value: 3, Status: &True, Sort: 3}, + {Label: "text", Value: 4, Status: &True, Sort: 4}, + {Label: "blob", Value: 5, Status: &True, Sort: 5}, + {Label: "mediumblob", Value: 6, Status: &True, Sort: 6}, + {Label: "mediumtext", Value: 7, Status: &True, Sort: 7}, + {Label: "longblob", Value: 8, Status: &True, Sort: 8}, + {Label: "longtext", Value: 9, Status: &True, Sort: 9}, + } + + dicts[5].SysDictionaryDetails = []sysModel.SysDictionaryDetail{ + {Label: "tinyint", Status: &True}, + } + for _, dict := range dicts { + if err := db.Model(&dict).Association("SysDictionaryDetails"). + Replace(dict.SysDictionaryDetails); err != nil { + return ctx, errors.Wrap(err, sysModel.SysDictionaryDetail{}.TableName()+"表数据初始化失败!") + } + } + return ctx, nil +} + +func (i *initDictDetail) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + var dict sysModel.SysDictionary + if err := db.Preload("SysDictionaryDetails"). + First(&dict, &sysModel.SysDictionary{Name: "数据库bool类型"}).Error; err != nil { + return false + } + return len(dict.SysDictionaryDetails) > 0 && dict.SysDictionaryDetails[0].Label == "tinyint" +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/menu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/menu.go new file mode 100644 index 000000000..50cfef132 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/menu.go @@ -0,0 +1,100 @@ +package system + +import ( + "context" + . "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +const initOrderMenu = initOrderAuthority + 1 + +type initMenu struct{} + +// auto run +func init() { + system.RegisterInit(initOrderMenu, &initMenu{}) +} + +func (i initMenu) InitializerName() string { + return SysBaseMenu{}.TableName() +} + +func (i *initMenu) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + return ctx, db.AutoMigrate( + &SysBaseMenu{}, + &SysBaseMenuParameter{}, + &SysBaseMenuBtn{}, + ) +} + +func (i *initMenu) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + m := db.Migrator() + return m.HasTable(&SysBaseMenu{}) && + m.HasTable(&SysBaseMenuParameter{}) && + m.HasTable(&SysBaseMenuBtn{}) +} + +func (i *initMenu) InitializeData(ctx context.Context) (next context.Context, err error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + entities := []SysBaseMenu{ + {MenuLevel: 0, Hidden: false, ParentId: "0", Path: "dashboard", Name: "dashboard", Component: "view/dashboard/index.vue", Sort: 1, Meta: Meta{Title: "仪表盘", Icon: "odometer"}}, + {MenuLevel: 0, Hidden: false, ParentId: "0", Path: "about", Name: "about", Component: "view/about/index.vue", Sort: 9, Meta: Meta{Title: "关于我们", Icon: "info-filled"}}, + {MenuLevel: 0, Hidden: false, ParentId: "0", Path: "admin", Name: "superAdmin", Component: "view/superAdmin/index.vue", Sort: 3, Meta: Meta{Title: "超级管理员", Icon: "user"}}, + {MenuLevel: 0, Hidden: false, ParentId: "3", Path: "authority", Name: "authority", Component: "view/superAdmin/authority/authority.vue", Sort: 1, Meta: Meta{Title: "角色管理", Icon: "avatar"}}, + {MenuLevel: 0, Hidden: false, ParentId: "3", Path: "menu", Name: "menu", Component: "view/superAdmin/menu/menu.vue", Sort: 2, Meta: Meta{Title: "菜单管理", Icon: "tickets", KeepAlive: true}}, + {MenuLevel: 0, Hidden: false, ParentId: "3", Path: "api", Name: "api", Component: "view/superAdmin/api/api.vue", Sort: 3, Meta: Meta{Title: "api管理", Icon: "platform", KeepAlive: true}}, + {MenuLevel: 0, Hidden: false, ParentId: "3", Path: "user", Name: "user", Component: "view/superAdmin/user/user.vue", Sort: 4, Meta: Meta{Title: "用户管理", Icon: "coordinate"}}, + {MenuLevel: 0, Hidden: false, ParentId: "3", Path: "dictionary", Name: "dictionary", Component: "view/superAdmin/dictionary/sysDictionary.vue", Sort: 5, Meta: Meta{Title: "字典管理", Icon: "notebook"}}, + {MenuLevel: 0, Hidden: false, ParentId: "3", Path: "operation", Name: "operation", Component: "view/superAdmin/operation/sysOperationRecord.vue", Sort: 6, Meta: Meta{Title: "操作历史", Icon: "pie-chart"}}, + {MenuLevel: 0, Hidden: true, ParentId: "0", Path: "person", Name: "person", Component: "view/person/person.vue", Sort: 4, Meta: Meta{Title: "个人信息", Icon: "message"}}, + {MenuLevel: 0, Hidden: false, ParentId: "0", Path: "example", Name: "example", Component: "view/example/index.vue", Sort: 7, Meta: Meta{Title: "示例文件", Icon: "management"}}, + {MenuLevel: 0, Hidden: false, ParentId: "11", Path: "upload", Name: "upload", Component: "view/example/upload/upload.vue", Sort: 5, Meta: Meta{Title: "媒体库(上传下载)", Icon: "upload"}}, + {MenuLevel: 0, Hidden: false, ParentId: "11", Path: "breakpoint", Name: "breakpoint", Component: "view/example/breakpoint/breakpoint.vue", Sort: 6, Meta: Meta{Title: "断点续传", Icon: "upload-filled"}}, + {MenuLevel: 0, Hidden: false, ParentId: "11", Path: "customer", Name: "customer", Component: "view/example/customer/customer.vue", Sort: 7, Meta: Meta{Title: "客户列表(资源示例)", Icon: "avatar"}}, + {MenuLevel: 0, Hidden: false, ParentId: "0", Path: "systemTools", Name: "systemTools", Component: "view/systemTools/index.vue", Sort: 5, Meta: Meta{Title: "系统工具", Icon: "tools"}}, + {MenuLevel: 0, Hidden: false, ParentId: "15", Path: "autoCode", Name: "autoCode", Component: "view/systemTools/autoCode/index.vue", Sort: 1, Meta: Meta{Title: "代码生成器", Icon: "cpu", KeepAlive: true}}, + {MenuLevel: 0, Hidden: false, ParentId: "15", Path: "formCreate", Name: "formCreate", Component: "view/systemTools/formCreate/index.vue", Sort: 2, Meta: Meta{Title: "表单生成器", Icon: "magic-stick", KeepAlive: true}}, + {MenuLevel: 0, Hidden: false, ParentId: "15", Path: "system", Name: "system", Component: "view/systemTools/system/system.vue", Sort: 3, Meta: Meta{Title: "系统配置", Icon: "operation"}}, + {MenuLevel: 0, Hidden: false, ParentId: "15", Path: "autoCodeAdmin", Name: "autoCodeAdmin", Component: "view/systemTools/autoCodeAdmin/index.vue", Sort: 1, Meta: Meta{Title: "自动化代码管理", Icon: "magic-stick"}}, + {MenuLevel: 0, Hidden: true, ParentId: "15", Path: "autoCodeEdit/:id", Name: "autoCodeEdit", Component: "view/systemTools/autoCode/index.vue", Sort: 0, Meta: Meta{Title: "自动化代码-${id}", Icon: "magic-stick"}}, + {MenuLevel: 0, Hidden: false, ParentId: "15", Path: "autoPkg", Name: "autoPkg", Component: "view/systemTools/autoPkg/autoPkg.vue", Sort: 0, Meta: Meta{Title: "自动化package", Icon: "folder"}}, + {MenuLevel: 0, Hidden: false, ParentId: "0", Path: "https://www.gin-vue-admin.com", Name: "https://www.gin-vue-admin.com", Component: "/", Sort: 0, Meta: Meta{Title: "官方网站", Icon: "home-filled"}}, + {MenuLevel: 0, Hidden: false, ParentId: "0", Path: "state", Name: "state", Component: "view/system/state.vue", Sort: 8, Meta: Meta{Title: "服务器状态", Icon: "cloudy"}}, + {MenuLevel: 0, Hidden: false, ParentId: "0", Path: "plugin", Name: "plugin", Component: "view/routerHolder.vue", Sort: 6, Meta: Meta{Title: "插件系统", Icon: "cherry"}}, + {MenuLevel: 0, Hidden: false, ParentId: "24", Path: "https://plugin.gin-vue-admin.com/", Name: "https://plugin.gin-vue-admin.com/", Component: "https://plugin.gin-vue-admin.com/", Sort: 0, Meta: Meta{Title: "插件市场", Icon: "shop"}}, + {MenuLevel: 0, Hidden: false, ParentId: "24", Path: "installPlugin", Name: "installPlugin", Component: "view/systemTools/installPlugin/index.vue", Sort: 1, Meta: Meta{Title: "插件安装", Icon: "box"}}, + {MenuLevel: 0, Hidden: false, ParentId: "24", Path: "autoPlug", Name: "autoPlug", Component: "view/systemTools/autoPlug/autoPlug.vue", Sort: 2, Meta: Meta{Title: "插件模板", Icon: "folder"}}, + {MenuLevel: 0, Hidden: false, ParentId: "24", Path: "pubPlug", Name: "pubPlug", Component: "view/systemTools/pubPlug/pubPlug.vue", Sort: 3, Meta: Meta{Title: "打包插件", Icon: "files"}}, + {MenuLevel: 0, Hidden: false, ParentId: "24", Path: "plugin-email", Name: "plugin-email", Component: "plugin/email/view/index.vue", Sort: 4, Meta: Meta{Title: "邮件插件", Icon: "message"}}, + {MenuLevel: 0, Hidden: false, ParentId: "15", Path: "chatTable", Name: "chatTable", Component: "view/chatgpt/chatTable.vue", Sort: 6, Meta: Meta{Title: "万用表格", Icon: "chat-dot-square"}}, + } + if err = db.Create(&entities).Error; err != nil { + return ctx, errors.Wrap(err, SysBaseMenu{}.TableName()+"表数据初始化失败!") + } + next = context.WithValue(ctx, i.InitializerName(), entities) + return next, nil +} + +func (i *initMenu) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + if errors.Is(db.Where("path = ?", "autoPkg").First(&SysBaseMenu{}).Error, gorm.ErrRecordNotFound) { // 判断是否存在数据 + return false + } + return true +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/user.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/user.go new file mode 100644 index 000000000..ade01292b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/source/system/user.go @@ -0,0 +1,99 @@ +package system + +import ( + "context" + sysModel "github.com/flipped-aurora/gin-vue-admin/server/model/system" + "github.com/flipped-aurora/gin-vue-admin/server/service/system" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "github.com/gofrs/uuid/v5" + "github.com/pkg/errors" + "gorm.io/gorm" +) + +const initOrderUser = initOrderAuthority + 1 + +type initUser struct{} + +// auto run +func init() { + system.RegisterInit(initOrderUser, &initUser{}) +} + +func (i *initUser) MigrateTable(ctx context.Context) (context.Context, error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + return ctx, db.AutoMigrate(&sysModel.SysUser{}, &sysModel.SysChatGptOption{}) +} + +func (i *initUser) TableCreated(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + return db.Migrator().HasTable(&sysModel.SysUser{}) +} + +func (i initUser) InitializerName() string { + return sysModel.SysUser{}.TableName() +} + +func (i *initUser) InitializeData(ctx context.Context) (next context.Context, err error) { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return ctx, system.ErrMissingDBContext + } + password := utils.BcryptHash("6447985") + adminPassword := utils.BcryptHash("123456") + + entities := []sysModel.SysUser{ + { + UUID: uuid.Must(uuid.NewV4()), + Username: "admin", + Password: adminPassword, + NickName: "Mr.奇淼", + HeaderImg: "https://qmplusimg.henrongyi.top/gva_header.jpg", + AuthorityId: 888, + Phone: "17611111111", + Email: "333333333@qq.com", + }, + { + UUID: uuid.Must(uuid.NewV4()), + Username: "a303176530", + Password: password, + NickName: "用户1", + HeaderImg: "https:///qmplusimg.henrongyi.top/1572075907logo.png", + AuthorityId: 9528, + Phone: "17611111111", + Email: "333333333@qq.com"}, + } + if err = db.Create(&entities).Error; err != nil { + return ctx, errors.Wrap(err, sysModel.SysUser{}.TableName()+"表数据初始化失败!") + } + next = context.WithValue(ctx, i.InitializerName(), entities) + authorityEntities, ok := ctx.Value(initAuthority{}.InitializerName()).([]sysModel.SysAuthority) + if !ok { + return next, errors.Wrap(system.ErrMissingDependentContext, "创建 [用户-权限] 关联失败, 未找到权限表初始化数据") + } + if err = db.Model(&entities[0]).Association("Authorities").Replace(authorityEntities); err != nil { + return next, err + } + if err = db.Model(&entities[1]).Association("Authorities").Replace(authorityEntities[:1]); err != nil { + return next, err + } + return next, err +} + +func (i *initUser) DataInserted(ctx context.Context) bool { + db, ok := ctx.Value("db").(*gorm.DB) + if !ok { + return false + } + var record sysModel.SysUser + if errors.Is(db.Where("username = ?", "a303176530"). + Preload("Authorities").First(&record).Error, gorm.ErrRecordNotFound) { // 判断是否存在数据 + return false + } + return len(record.Authorities) > 0 && record.Authorities[0].AuthorityId == 888 +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/task/clearTable.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/task/clearTable.go new file mode 100644 index 000000000..8d1e2f2f6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/task/clearTable.go @@ -0,0 +1,51 @@ +package task + +import ( + "errors" + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/model/common" + "time" + + "gorm.io/gorm" +) + +//@author: [songzhibin97](https://github.com/songzhibin97) +//@function: ClearTable +//@description: 清理数据库表数据 +//@param: db(数据库对象) *gorm.DB, tableName(表名) string, compareField(比较字段) string, interval(间隔) string +//@return: error + +func ClearTable(db *gorm.DB) error { + var ClearTableDetail []common.ClearDB + + ClearTableDetail = append(ClearTableDetail, common.ClearDB{ + TableName: "sys_operation_records", + CompareField: "created_at", + Interval: "2160h", + }) + + ClearTableDetail = append(ClearTableDetail, common.ClearDB{ + TableName: "jwt_blacklists", + CompareField: "created_at", + Interval: "168h", + }) + + if db == nil { + return errors.New("db Cannot be empty") + } + + for _, detail := range ClearTableDetail { + duration, err := time.ParseDuration(detail.Interval) + if err != nil { + return err + } + if duration < 0 { + return errors.New("parse duration < 0") + } + err = db.Debug().Exec(fmt.Sprintf("DELETE FROM %s WHERE %s < ?", detail.TableName, detail.CompareField), time.Now().Add(-duration)).Error + if err != nil { + return err + } + } + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/04e9d93e421071f61e142e6b004e14c5_20231217104031.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/04e9d93e421071f61e142e6b004e14c5_20231217104031.jpg new file mode 100644 index 000000000..2ce13b9e2 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/04e9d93e421071f61e142e6b004e14c5_20231217104031.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/0652742f993901ee207cded4371a7fe5_20231216132738.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/0652742f993901ee207cded4371a7fe5_20231216132738.jpg new file mode 100644 index 000000000..7c65cd8d7 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/0652742f993901ee207cded4371a7fe5_20231216132738.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/07b254f4fe34d2b6b08d687d86b9ee95_20231216112237.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/07b254f4fe34d2b6b08d687d86b9ee95_20231216112237.jpg new file mode 100644 index 000000000..fa819408f Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/07b254f4fe34d2b6b08d687d86b9ee95_20231216112237.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/135a2dc49169a5513bf8f42658713dd6_20231216110653.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/135a2dc49169a5513bf8f42658713dd6_20231216110653.jpg new file mode 100644 index 000000000..adc6cc30e Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/135a2dc49169a5513bf8f42658713dd6_20231216110653.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/135a2dc49169a5513bf8f42658713dd6_20231216110736.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/135a2dc49169a5513bf8f42658713dd6_20231216110736.jpg new file mode 100644 index 000000000..8ff84288e Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/135a2dc49169a5513bf8f42658713dd6_20231216110736.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1360b7613409dab66a6a5bdb20b5fbde_20231210183644.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1360b7613409dab66a6a5bdb20b5fbde_20231210183644.jpg new file mode 100644 index 000000000..eb6f3660b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1360b7613409dab66a6a5bdb20b5fbde_20231210183644.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216132442.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216132442.jpg new file mode 100644 index 000000000..442e8d048 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216132442.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216192349.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216192349.jpg new file mode 100644 index 000000000..442e8d048 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216192349.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216192948.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216192948.jpg new file mode 100644 index 000000000..442e8d048 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1af1a0696211d32831631affebc7b8c9_20231216192948.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216094821.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216094821.jpg new file mode 100644 index 000000000..7a89fda84 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216094821.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216095251.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216095251.jpg new file mode 100644 index 000000000..7a89fda84 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216095251.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216101635.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216101635.jpg new file mode 100644 index 000000000..7a89fda84 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216101635.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216101938.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216101938.jpg new file mode 100644 index 000000000..aae443845 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216101938.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216102249.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216102249.jpg new file mode 100644 index 000000000..aae443845 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/1f0975918788df2b625e97b5bcf6360b_20231216102249.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217050106.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217050106.jpg new file mode 100644 index 000000000..657c743cb Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217050106.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217054621.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217054621.jpg new file mode 100644 index 000000000..657c743cb Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217054621.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217054939.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217054939.jpg new file mode 100644 index 000000000..657c743cb Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217054939.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217102519.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217102519.jpg new file mode 100644 index 000000000..657c743cb Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/2104e4387d47c91a5906f3ec91cb362a_20231217102519.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/3b8d3828539c40511e0923bca8e9d5be_20231216110313.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/3b8d3828539c40511e0923bca8e9d5be_20231216110313.jpg new file mode 100644 index 000000000..7c0ccc80d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/3b8d3828539c40511e0923bca8e9d5be_20231216110313.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/498ce22a66ff92f676535d0b29acacfc_20231210183817.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/498ce22a66ff92f676535d0b29acacfc_20231210183817.jpg new file mode 100644 index 000000000..932c12578 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/498ce22a66ff92f676535d0b29acacfc_20231210183817.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/4e2572e0c72972309a476b0b5e33ff73_20231216114521.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/4e2572e0c72972309a476b0b5e33ff73_20231216114521.jpg new file mode 100644 index 000000000..b60777bd0 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/4e2572e0c72972309a476b0b5e33ff73_20231216114521.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/55fc891681dd9731f7206cd75e908704_20231216132708.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/55fc891681dd9731f7206cd75e908704_20231216132708.jpg new file mode 100644 index 000000000..ab5db71e6 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/55fc891681dd9731f7206cd75e908704_20231216132708.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/682570a229cbd3d67e76ad99b3152060_20231216112859.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/682570a229cbd3d67e76ad99b3152060_20231216112859.jpg new file mode 100644 index 000000000..6e406113a Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/682570a229cbd3d67e76ad99b3152060_20231216112859.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/8bc15937b2cca1c9a36abaf5afd63582_20231216111849.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/8bc15937b2cca1c9a36abaf5afd63582_20231216111849.jpg new file mode 100644 index 000000000..e6cd6321a Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/8bc15937b2cca1c9a36abaf5afd63582_20231216111849.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217042849.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217042849.png new file mode 100644 index 000000000..c362ef94b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217042849.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217042947.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217042947.png new file mode 100644 index 000000000..c362ef94b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217042947.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217043038.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217043038.jpg new file mode 100644 index 000000000..c362ef94b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/96d6f2e7e1f705ab5e59c84a6dc009b2_20231217043038.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/9c193f0085dd59afed34eb8d1b045125_20231216112558.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/9c193f0085dd59afed34eb8d1b045125_20231216112558.jpg new file mode 100644 index 000000000..13c34b06a Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/9c193f0085dd59afed34eb8d1b045125_20231216112558.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/9cc331321c4cd3f8e5aadb756db23d62_20231216132547.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/9cc331321c4cd3f8e5aadb756db23d62_20231216132547.jpg new file mode 100644 index 000000000..5ceae39ad Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/9cc331321c4cd3f8e5aadb756db23d62_20231216132547.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/a8daca5d1007f2ff5a5e818ae76d309f_20231217043206.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/a8daca5d1007f2ff5a5e818ae76d309f_20231217043206.jpg new file mode 100644 index 000000000..e4021bdd9 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/a8daca5d1007f2ff5a5e818ae76d309f_20231217043206.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/ad2dc143c6f7599fa6019545c708d59f_20231217104251.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/ad2dc143c6f7599fa6019545c708d59f_20231217104251.jpg new file mode 100644 index 000000000..4e9b1ac12 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/ad2dc143c6f7599fa6019545c708d59f_20231217104251.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/b1cee26c4f8ae1c9097c5da4fdf286ea_20231216113922.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/b1cee26c4f8ae1c9097c5da4fdf286ea_20231216113922.jpg new file mode 100644 index 000000000..7fd47b154 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/b1cee26c4f8ae1c9097c5da4fdf286ea_20231216113922.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/b1cee26c4f8ae1c9097c5da4fdf286ea_20231217101214.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/b1cee26c4f8ae1c9097c5da4fdf286ea_20231217101214.jpg new file mode 100644 index 000000000..91d437b0b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/b1cee26c4f8ae1c9097c5da4fdf286ea_20231217101214.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/bc7bebb389aee092b2f9ad1e24e26f16_20231210183722.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/bc7bebb389aee092b2f9ad1e24e26f16_20231210183722.png new file mode 100644 index 000000000..9761ead23 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/bc7bebb389aee092b2f9ad1e24e26f16_20231210183722.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/cec8c60173a4c268b8b80bc9a09376eb_20231217100845.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/cec8c60173a4c268b8b80bc9a09376eb_20231217100845.png new file mode 100644 index 000000000..51cd479f2 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/cec8c60173a4c268b8b80bc9a09376eb_20231217100845.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/cec8c60173a4c268b8b80bc9a09376eb_20231217101044.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/cec8c60173a4c268b8b80bc9a09376eb_20231217101044.jpg new file mode 100644 index 000000000..c52096641 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/cec8c60173a4c268b8b80bc9a09376eb_20231217101044.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/f89c8a1fed734dc30036ac8e17a11c47_20231207232007.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/f89c8a1fed734dc30036ac8e17a11c47_20231207232007.jpg new file mode 100644 index 000000000..d18ba2fbb Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/f89c8a1fed734dc30036ac8e17a11c47_20231207232007.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_04e9d93e421071f61e142e6b004e14c5_20231217104031.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_04e9d93e421071f61e142e6b004e14c5_20231217104031.jpg new file mode 100644 index 000000000..87924dcb5 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_04e9d93e421071f61e142e6b004e14c5_20231217104031.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_0652742f993901ee207cded4371a7fe5_20231216132738.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_0652742f993901ee207cded4371a7fe5_20231216132738.jpg new file mode 100644 index 000000000..4ef0208eb Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_0652742f993901ee207cded4371a7fe5_20231216132738.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_07b254f4fe34d2b6b08d687d86b9ee95_20231216112237.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_07b254f4fe34d2b6b08d687d86b9ee95_20231216112237.jpg new file mode 100644 index 000000000..f16f81be4 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_07b254f4fe34d2b6b08d687d86b9ee95_20231216112237.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_135a2dc49169a5513bf8f42658713dd6_20231216110736.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_135a2dc49169a5513bf8f42658713dd6_20231216110736.jpg new file mode 100644 index 000000000..a2cc3cd2f Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_135a2dc49169a5513bf8f42658713dd6_20231216110736.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1360b7613409dab66a6a5bdb20b5fbde_20231210183644.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1360b7613409dab66a6a5bdb20b5fbde_20231210183644.jpg new file mode 100644 index 000000000..79fd6b373 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1360b7613409dab66a6a5bdb20b5fbde_20231210183644.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216132442.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216132442.jpg new file mode 100644 index 000000000..35f715f4b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216132442.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216192349.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216192349.jpg new file mode 100644 index 000000000..35f715f4b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216192349.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216192948.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216192948.jpg new file mode 100644 index 000000000..35f715f4b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1af1a0696211d32831631affebc7b8c9_20231216192948.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1f0975918788df2b625e97b5bcf6360b_20231216101938.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1f0975918788df2b625e97b5bcf6360b_20231216101938.jpg new file mode 100644 index 000000000..8292aedd5 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1f0975918788df2b625e97b5bcf6360b_20231216101938.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1f0975918788df2b625e97b5bcf6360b_20231216102249.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1f0975918788df2b625e97b5bcf6360b_20231216102249.jpg new file mode 100644 index 000000000..8292aedd5 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_1f0975918788df2b625e97b5bcf6360b_20231216102249.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217050106.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217050106.jpg new file mode 100644 index 000000000..a3ae74303 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217050106.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217054621.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217054621.jpg new file mode 100644 index 000000000..a3ae74303 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217054621.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217054939.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217054939.jpg new file mode 100644 index 000000000..a3ae74303 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217054939.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217102519.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217102519.jpg new file mode 100644 index 000000000..a3ae74303 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_2104e4387d47c91a5906f3ec91cb362a_20231217102519.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_3b8d3828539c40511e0923bca8e9d5be_20231216110313.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_3b8d3828539c40511e0923bca8e9d5be_20231216110313.jpg new file mode 100644 index 000000000..aeb6138a0 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_3b8d3828539c40511e0923bca8e9d5be_20231216110313.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_498ce22a66ff92f676535d0b29acacfc_20231210183817.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_498ce22a66ff92f676535d0b29acacfc_20231210183817.jpg new file mode 100644 index 000000000..1d43ccf6d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_498ce22a66ff92f676535d0b29acacfc_20231210183817.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_4e2572e0c72972309a476b0b5e33ff73_20231216114521.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_4e2572e0c72972309a476b0b5e33ff73_20231216114521.jpg new file mode 100644 index 000000000..84f3085ba Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_4e2572e0c72972309a476b0b5e33ff73_20231216114521.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_55fc891681dd9731f7206cd75e908704_20231216132708.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_55fc891681dd9731f7206cd75e908704_20231216132708.jpg new file mode 100644 index 000000000..aa9057070 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_55fc891681dd9731f7206cd75e908704_20231216132708.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_682570a229cbd3d67e76ad99b3152060_20231216112859.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_682570a229cbd3d67e76ad99b3152060_20231216112859.jpg new file mode 100644 index 000000000..1f8f74060 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_682570a229cbd3d67e76ad99b3152060_20231216112859.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_8bc15937b2cca1c9a36abaf5afd63582_20231216111849.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_8bc15937b2cca1c9a36abaf5afd63582_20231216111849.jpg new file mode 100644 index 000000000..bfbe140d6 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_8bc15937b2cca1c9a36abaf5afd63582_20231216111849.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_9c193f0085dd59afed34eb8d1b045125_20231216112558.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_9c193f0085dd59afed34eb8d1b045125_20231216112558.jpg new file mode 100644 index 000000000..8a0e71426 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_9c193f0085dd59afed34eb8d1b045125_20231216112558.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_9cc331321c4cd3f8e5aadb756db23d62_20231216132547.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_9cc331321c4cd3f8e5aadb756db23d62_20231216132547.jpg new file mode 100644 index 000000000..91b951918 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_9cc331321c4cd3f8e5aadb756db23d62_20231216132547.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_a8daca5d1007f2ff5a5e818ae76d309f_20231217043206.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_a8daca5d1007f2ff5a5e818ae76d309f_20231217043206.jpg new file mode 100644 index 000000000..547283d0d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_a8daca5d1007f2ff5a5e818ae76d309f_20231217043206.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_ad2dc143c6f7599fa6019545c708d59f_20231217104251.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_ad2dc143c6f7599fa6019545c708d59f_20231217104251.jpg new file mode 100644 index 000000000..ddebe3652 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_ad2dc143c6f7599fa6019545c708d59f_20231217104251.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_b1cee26c4f8ae1c9097c5da4fdf286ea_20231216113922.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_b1cee26c4f8ae1c9097c5da4fdf286ea_20231216113922.jpg new file mode 100644 index 000000000..a3aef5d8e Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_b1cee26c4f8ae1c9097c5da4fdf286ea_20231216113922.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_b1cee26c4f8ae1c9097c5da4fdf286ea_20231217101214.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_b1cee26c4f8ae1c9097c5da4fdf286ea_20231217101214.jpg new file mode 100644 index 000000000..9fd1a9554 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_b1cee26c4f8ae1c9097c5da4fdf286ea_20231217101214.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_cec8c60173a4c268b8b80bc9a09376eb_20231217101044.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_cec8c60173a4c268b8b80bc9a09376eb_20231217101044.jpg new file mode 100644 index 000000000..3f6c0c2e0 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/uploads/file/faker_cec8c60173a4c268b8b80bc9a09376eb_20231217101044.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast.go new file mode 100644 index 000000000..5420aeca3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast.go @@ -0,0 +1,47 @@ +package ast + +import ( + "fmt" + "go/ast" + "go/token" +) + +// 增加 import 方法 +func AddImport(astNode ast.Node, imp string) { + impStr := fmt.Sprintf("\"%s\"", imp) + ast.Inspect(astNode, func(node ast.Node) bool { + if genDecl, ok := node.(*ast.GenDecl); ok { + if genDecl.Tok == token.IMPORT { + for i := range genDecl.Specs { + if impNode, ok := genDecl.Specs[i].(*ast.ImportSpec); ok { + if impNode.Path.Value == impStr { + return false + } + } + } + genDecl.Specs = append(genDecl.Specs, &ast.ImportSpec{ + Path: &ast.BasicLit{ + Kind: token.STRING, + Value: impStr, + }, + }) + } + } + return true + }) +} + +// 查询特定function方法 +func FindFunction(astNode ast.Node, FunctionName string) *ast.FuncDecl { + var funcDeclP *ast.FuncDecl + ast.Inspect(astNode, func(node ast.Node) bool { + if funcDecl, ok := node.(*ast.FuncDecl); ok { + if funcDecl.Name.String() == FunctionName { + funcDeclP = funcDecl + return false + } + } + return true + }) + return funcDeclP +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_auto_enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_auto_enter.go new file mode 100644 index 000000000..382f554e8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_auto_enter.go @@ -0,0 +1,47 @@ +package ast + +import ( + "bytes" + "fmt" + "go/ast" + "go/parser" + "go/printer" + "go/token" + "os" +) + +func ImportForAutoEnter(path string, funcName string, code string) { + src, err := os.ReadFile(path) + if err != nil { + fmt.Println(err) + } + fileSet := token.NewFileSet() + astFile, err := parser.ParseFile(fileSet, "", src, 0) + ast.Inspect(astFile, func(node ast.Node) bool { + if typeSpec, ok := node.(*ast.TypeSpec); ok { + if typeSpec.Name.Name == funcName { + if st, ok := typeSpec.Type.(*ast.StructType); ok { + for i := range st.Fields.List { + if t, ok := st.Fields.List[i].Type.(*ast.Ident); ok { + if t.Name == code { + return false + } + } + } + sn := &ast.Field{ + Type: &ast.Ident{Name: code}, + } + st.Fields.List = append(st.Fields.List, sn) + } + } + } + return true + }) + var out []byte + bf := bytes.NewBuffer(out) + err = printer.Fprint(bf, fileSet, astFile) + if err != nil { + return + } + _ = os.WriteFile(path, bf.Bytes(), 0666) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_auto_enter_test.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_auto_enter_test.go new file mode 100644 index 000000000..936e736c7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_auto_enter_test.go @@ -0,0 +1,7 @@ +package ast + +import "testing" + +func TestImportForAutoEnter(t *testing.T) { + ImportForAutoEnter("D:\\gin-vue-admin\\server\\api\\v1\\test\\enter.go", "ApiGroup", "test") +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_enter.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_enter.go new file mode 100644 index 000000000..7a5c72745 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_enter.go @@ -0,0 +1,181 @@ +package ast + +import ( + "bytes" + "go/ast" + "go/format" + "go/parser" + "go/token" + "golang.org/x/text/cases" + "golang.org/x/text/language" + "log" + "os" + "strconv" + "strings" +) + +type Visitor struct { + ImportCode string + StructName string + PackageName string + GroupName string +} + +func (vi *Visitor) Visit(node ast.Node) ast.Visitor { + switch n := node.(type) { + case *ast.GenDecl: + // 查找有没有import context包 + // Notice:没有考虑没有import任何包的情况 + if n.Tok == token.IMPORT && vi.ImportCode != "" { + vi.addImport(n) + // 不需要再遍历子树 + return nil + } + if n.Tok == token.TYPE && vi.StructName != "" && vi.PackageName != "" && vi.GroupName != "" { + vi.addStruct(n) + return nil + } + case *ast.FuncDecl: + if n.Name.Name == "Routers" { + vi.addFuncBodyVar(n) + return nil + } + + } + return vi +} + +func (vi *Visitor) addStruct(genDecl *ast.GenDecl) ast.Visitor { + for i := range genDecl.Specs { + switch n := genDecl.Specs[i].(type) { + case *ast.TypeSpec: + if strings.Index(n.Name.Name, "Group") > -1 { + switch t := n.Type.(type) { + case *ast.StructType: + f := &ast.Field{ + Names: []*ast.Ident{ + { + Name: vi.StructName, + Obj: &ast.Object{ + Kind: ast.Var, + Name: vi.StructName, + }, + }, + }, + Type: &ast.SelectorExpr{ + X: &ast.Ident{ + Name: vi.PackageName, + }, + Sel: &ast.Ident{ + Name: vi.GroupName, + }, + }, + } + t.Fields.List = append(t.Fields.List, f) + } + } + } + } + return vi +} + +func (vi *Visitor) addImport(genDecl *ast.GenDecl) ast.Visitor { + // 是否已经import + hasImported := false + for _, v := range genDecl.Specs { + importSpec := v.(*ast.ImportSpec) + // 如果已经包含 + if importSpec.Path.Value == strconv.Quote(vi.ImportCode) { + hasImported = true + } + } + if !hasImported { + genDecl.Specs = append(genDecl.Specs, &ast.ImportSpec{ + Path: &ast.BasicLit{ + Kind: token.STRING, + Value: strconv.Quote(vi.ImportCode), + }, + }) + } + return vi +} + +func (vi *Visitor) addFuncBodyVar(funDecl *ast.FuncDecl) ast.Visitor { + hasVar := false + for _, v := range funDecl.Body.List { + switch varSpec := v.(type) { + case *ast.AssignStmt: + for i := range varSpec.Lhs { + switch nn := varSpec.Lhs[i].(type) { + case *ast.Ident: + if nn.Name == vi.PackageName+"Router" { + hasVar = true + } + } + } + } + } + if !hasVar { + assignStmt := &ast.AssignStmt{ + Lhs: []ast.Expr{ + &ast.Ident{ + Name: vi.PackageName + "Router", + Obj: &ast.Object{ + Kind: ast.Var, + Name: vi.PackageName + "Router", + }, + }, + }, + Tok: token.DEFINE, + Rhs: []ast.Expr{ + &ast.SelectorExpr{ + X: &ast.SelectorExpr{ + X: &ast.Ident{ + Name: "router", + }, + Sel: &ast.Ident{ + Name: "RouterGroupApp", + }, + }, + Sel: &ast.Ident{ + Name: cases.Title(language.English).String(vi.PackageName), + }, + }, + }, + } + funDecl.Body.List = append(funDecl.Body.List, funDecl.Body.List[1]) + index := 1 + copy(funDecl.Body.List[index+1:], funDecl.Body.List[index:]) + funDecl.Body.List[index] = assignStmt + } + return vi +} + +func ImportReference(filepath, importCode, structName, packageName, groupName string) error { + fSet := token.NewFileSet() + fParser, err := parser.ParseFile(fSet, filepath, nil, parser.ParseComments) + if err != nil { + return err + } + importCode = strings.TrimSpace(importCode) + v := &Visitor{ + ImportCode: importCode, + StructName: structName, + PackageName: packageName, + GroupName: groupName, + } + if importCode == "" { + ast.Print(fSet, fParser) + } + + ast.Walk(v, fParser) + + var output []byte + buffer := bytes.NewBuffer(output) + err = format.Node(buffer, fSet, fParser) + if err != nil { + log.Fatal(err) + } + // 写回数据 + return os.WriteFile(filepath, buffer.Bytes(), 0o600) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_gorm.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_gorm.go new file mode 100644 index 000000000..d9c1beb3e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_gorm.go @@ -0,0 +1,166 @@ +package ast + +import ( + "bytes" + "fmt" + "go/ast" + "go/parser" + "go/printer" + "go/token" + "os" +) + +// 自动为 gorm.go 注册一个自动迁移 +func AddRegisterTablesAst(path, funcName, pk, varName, dbName, model string) { + modelPk := fmt.Sprintf("github.com/flipped-aurora/gin-vue-admin/server/model/%s", pk) + src, err := os.ReadFile(path) + if err != nil { + fmt.Println(err) + } + fileSet := token.NewFileSet() + astFile, err := parser.ParseFile(fileSet, "", src, 0) + if err != nil { + fmt.Println(err) + } + AddImport(astFile, modelPk) + FuncNode := FindFunction(astFile, funcName) + if FuncNode != nil { + ast.Print(fileSet, FuncNode) + } + addDBVar(FuncNode.Body, varName, dbName) + addAutoMigrate(FuncNode.Body, varName, pk, model) + var out []byte + bf := bytes.NewBuffer(out) + printer.Fprint(bf, fileSet, astFile) + + os.WriteFile(path, bf.Bytes(), 0666) +} + +// 增加一个 db库变量 +func addDBVar(astBody *ast.BlockStmt, varName, dbName string) { + if dbName == "" { + return + } + dbStr := fmt.Sprintf("\"%s\"", dbName) + + for i := range astBody.List { + if assignStmt, ok := astBody.List[i].(*ast.AssignStmt); ok { + if ident, ok := assignStmt.Lhs[0].(*ast.Ident); ok { + if ident.Name == varName { + return + } + } + } + } + assignNode := &ast.AssignStmt{ + Lhs: []ast.Expr{ + &ast.Ident{ + Name: varName, + }, + }, + Tok: token.DEFINE, + Rhs: []ast.Expr{ + &ast.CallExpr{ + Fun: &ast.SelectorExpr{ + X: &ast.Ident{ + Name: "global", + }, + Sel: &ast.Ident{ + Name: "GetGlobalDBByDBName", + }, + }, + Args: []ast.Expr{ + &ast.BasicLit{ + Kind: token.STRING, + Value: dbStr, + }, + }, + }, + }, + } + astBody.List = append([]ast.Stmt{assignNode}, astBody.List...) +} + +// 为db库变量增加 AutoMigrate 方法 +func addAutoMigrate(astBody *ast.BlockStmt, dbname string, pk string, model string) { + if dbname == "" { + dbname = "db" + } + flag := true + ast.Inspect(astBody, func(node ast.Node) bool { + // 首先判断需要加入的方法调用语句是否存在 不存在则直接走到下方逻辑 + switch n := node.(type) { + case *ast.CallExpr: + // 判断是否找到了AutoMigrate语句 + if s, ok := n.Fun.(*ast.SelectorExpr); ok { + if x, ok := s.X.(*ast.Ident); ok { + if s.Sel.Name == "AutoMigrate" && x.Name == dbname { + flag = false + if !NeedAppendModel(n, pk, model) { + return false + } + // 判断已经找到了AutoMigrate语句 + n.Args = append(n.Args, &ast.CompositeLit{ + Type: &ast.SelectorExpr{ + X: &ast.Ident{ + Name: pk, + }, + Sel: &ast.Ident{ + Name: model, + }, + }, + }) + return false + } + } + } + } + return true + //然后判断 pk.model是否存在 如果存在直接跳出 如果不存在 则向已经找到的方法调用语句的node里面push一条 + }) + + if flag { + exprStmt := &ast.ExprStmt{ + X: &ast.CallExpr{ + Fun: &ast.SelectorExpr{ + X: &ast.Ident{ + Name: dbname, + }, + Sel: &ast.Ident{ + Name: "AutoMigrate", + }, + }, + Args: []ast.Expr{ + &ast.CompositeLit{ + Type: &ast.SelectorExpr{ + X: &ast.Ident{ + Name: pk, + }, + Sel: &ast.Ident{ + Name: model, + }, + }, + }, + }, + }} + astBody.List = append(astBody.List, exprStmt) + } +} + +// 为automigrate增加实参 +func NeedAppendModel(callNode ast.Node, pk string, model string) bool { + flag := true + ast.Inspect(callNode, func(node ast.Node) bool { + switch n := node.(type) { + case *ast.SelectorExpr: + if x, ok := n.X.(*ast.Ident); ok { + if n.Sel.Name == model && x.Name == pk { + flag = false + return false + } + } + } + return true + }) + return flag +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_gorm_test.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_gorm_test.go new file mode 100644 index 000000000..0c83802c9 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_gorm_test.go @@ -0,0 +1,18 @@ +package ast + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/example" + "testing" +) + +const A = 123 + +func TestAddRegisterTablesAst(t *testing.T) { + AddRegisterTablesAst("D:\\gin-vue-admin\\server\\utils\\ast_test.go", "Register", "test", "testDB", "testModel") +} + +func Register() { + test := global.GetGlobalDBByDBName("test") + test.AutoMigrate(example.ExaFile{}) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_rollback.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_rollback.go new file mode 100644 index 000000000..3ff63ecfa --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_rollback.go @@ -0,0 +1,157 @@ +package ast + +import ( + "bytes" + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "go/ast" + "go/parser" + "go/printer" + "go/token" + "os" + "path/filepath" +) + +func RollBackAst(pk, model string) { + RollGormBack(pk, model) + RollRouterBack(pk, model) +} + +func RollGormBack(pk, model string) { + + // 首先分析存在多少个ttt作为调用方的node块 + // 如果多个 仅仅删除对应块即可 + // 如果单个 那么还需要剔除import + path := filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "initialize", "gorm.go") + src, err := os.ReadFile(path) + if err != nil { + fmt.Println(err) + } + fileSet := token.NewFileSet() + astFile, err := parser.ParseFile(fileSet, "", src, 0) + if err != nil { + fmt.Println(err) + } + var n *ast.CallExpr + var k int = -1 + var pkNum = 0 + ast.Inspect(astFile, func(node ast.Node) bool { + if node, ok := node.(*ast.CallExpr); ok { + for i := range node.Args { + pkOK := false + modelOK := false + ast.Inspect(node.Args[i], func(item ast.Node) bool { + if ii, ok := item.(*ast.Ident); ok { + if ii.Name == pk { + pkOK = true + pkNum++ + } + if ii.Name == model { + modelOK = true + } + } + if pkOK && modelOK { + n = node + k = i + } + return true + }) + } + } + return true + }) + if k > 0 { + n.Args = append(append([]ast.Expr{}, n.Args[:k]...), n.Args[k+1:]...) + } + if pkNum == 1 { + var imI int = -1 + var gp *ast.GenDecl + ast.Inspect(astFile, func(node ast.Node) bool { + if gen, ok := node.(*ast.GenDecl); ok { + for i := range gen.Specs { + if imspec, ok := gen.Specs[i].(*ast.ImportSpec); ok { + if imspec.Path.Value == "\"github.com/flipped-aurora/gin-vue-admin/server/model/"+pk+"\"" { + gp = gen + imI = i + return false + } + } + } + } + return true + }) + + if imI > -1 { + gp.Specs = append(append([]ast.Spec{}, gp.Specs[:imI]...), gp.Specs[imI+1:]...) + } + } + + var out []byte + bf := bytes.NewBuffer(out) + printer.Fprint(bf, fileSet, astFile) + os.Remove(path) + os.WriteFile(path, bf.Bytes(), 0666) + +} + +func RollRouterBack(pk, model string) { + + // 首先抓到所有的代码块结构 {} + // 分析结构中是否存在一个变量叫做 pk+Router + // 然后获取到代码块指针 对内部需要回滚的代码进行剔除 + path := filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.Server, "initialize", "router.go") + src, err := os.ReadFile(path) + if err != nil { + fmt.Println(err) + } + fileSet := token.NewFileSet() + astFile, err := parser.ParseFile(fileSet, "", src, 0) + if err != nil { + fmt.Println(err) + } + + var block *ast.BlockStmt + ast.Inspect(astFile, func(node ast.Node) bool { + if n, ok := node.(*ast.BlockStmt); ok { + ast.Inspect(n, func(bNode ast.Node) bool { + if in, ok := bNode.(*ast.Ident); ok { + if in.Name == pk+"Router" { + block = n + return false + } + } + return true + }) + return true + } + return true + }) + var k int + for i := range block.List { + if stmtNode, ok := block.List[i].(*ast.ExprStmt); ok { + ast.Inspect(stmtNode, func(node ast.Node) bool { + if n, ok := node.(*ast.Ident); ok { + if n.Name == "Init"+model+"Router" { + k = i + return false + } + } + return true + }) + } + } + + block.List = append(append([]ast.Stmt{}, block.List[:k]...), block.List[k+1:]...) + + if len(block.List) == 1 { + // 说明这个块就没任何意义了 + block.List = nil + // TODO 删除空的{} + } + + var out []byte + bf := bytes.NewBuffer(out) + printer.Fprint(bf, fileSet, astFile) + os.Remove(path) + os.WriteFile(path, bf.Bytes(), 0666) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_rollback_test.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_rollback_test.go new file mode 100644 index 000000000..8ce6f0c42 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_rollback_test.go @@ -0,0 +1,11 @@ +package ast + +import "testing" + +func TestRollRouterBack(t *testing.T) { + RollRouterBack("ttt", "Testttt") +} + +func TestRollGormBack(t *testing.T) { + RollGormBack("ttt", "Testttt") +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_router.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_router.go new file mode 100644 index 000000000..64ffee0d4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_router.go @@ -0,0 +1,132 @@ +package ast + +import ( + "bytes" + "fmt" + "go/ast" + "go/parser" + "go/printer" + "go/token" + "os" + "strings" +) + +func AppendNodeToList(stmts []ast.Stmt, stmt ast.Stmt, index int) []ast.Stmt { + return append(stmts[:index], append([]ast.Stmt{stmt}, stmts[index:]...)...) +} + +func AddRouterCode(path, funcName, pk, model string) { + src, err := os.ReadFile(path) + if err != nil { + fmt.Println(err) + } + fileSet := token.NewFileSet() + astFile, err := parser.ParseFile(fileSet, "", src, parser.ParseComments) + + if err != nil { + fmt.Println(err) + } + + FuncNode := FindFunction(astFile, funcName) + + pkName := strings.ToUpper(pk[:1]) + pk[1:] + routerName := fmt.Sprintf("%sRouter", pk) + modelName := fmt.Sprintf("Init%sRouter", model) + var bloctPre *ast.BlockStmt + for i := len(FuncNode.Body.List) - 1; i >= 0; i-- { + if block, ok := FuncNode.Body.List[i].(*ast.BlockStmt); ok { + bloctPre = block + } + } + ast.Print(fileSet, FuncNode) + if ok, b := needAppendRouter(FuncNode, pk); ok { + routerNode := + &ast.BlockStmt{ + List: []ast.Stmt{ + &ast.AssignStmt{ + Lhs: []ast.Expr{ + &ast.Ident{Name: routerName}, + }, + Tok: token.DEFINE, + Rhs: []ast.Expr{ + &ast.SelectorExpr{ + X: &ast.SelectorExpr{ + X: &ast.Ident{Name: "router"}, + Sel: &ast.Ident{Name: "RouterGroupApp"}, + }, + Sel: &ast.Ident{Name: pkName}, + }, + }, + }, + }, + } + + FuncNode.Body.List = AppendNodeToList(FuncNode.Body.List, routerNode, len(FuncNode.Body.List)-2) + bloctPre = routerNode + } else { + bloctPre = b + } + + if needAppendInit(FuncNode, routerName, modelName) { + bloctPre.List = append(bloctPre.List, + &ast.ExprStmt{ + X: &ast.CallExpr{ + Fun: &ast.SelectorExpr{ + X: &ast.Ident{Name: routerName}, + Sel: &ast.Ident{Name: modelName}, + }, + Args: []ast.Expr{ + &ast.Ident{ + Name: "PrivateGroup", + }, + }, + }, + }) + } + var out []byte + bf := bytes.NewBuffer(out) + printer.Fprint(bf, fileSet, astFile) + os.WriteFile(path, bf.Bytes(), 0666) +} + +func needAppendRouter(funcNode ast.Node, pk string) (bool, *ast.BlockStmt) { + flag := true + var block *ast.BlockStmt + ast.Inspect(funcNode, func(node ast.Node) bool { + switch n := node.(type) { + case *ast.BlockStmt: + for i := range n.List { + if assignNode, ok := n.List[i].(*ast.AssignStmt); ok { + if identNode, ok := assignNode.Lhs[0].(*ast.Ident); ok { + if identNode.Name == fmt.Sprintf("%sRouter", pk) { + flag = false + block = n + return false + } + } + } + } + + } + return true + }) + return flag, block +} + +func needAppendInit(funcNode ast.Node, routerName string, modelName string) bool { + flag := true + ast.Inspect(funcNode, func(node ast.Node) bool { + switch n := funcNode.(type) { + case *ast.CallExpr: + if selectNode, ok := n.Fun.(*ast.SelectorExpr); ok { + x, xok := selectNode.X.(*ast.Ident) + if xok && x.Name == routerName && selectNode.Sel.Name == modelName { + flag = false + return false + } + } + } + return true + }) + return flag +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_router_test.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_router_test.go new file mode 100644 index 000000000..72bed9763 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/ast/ast_router_test.go @@ -0,0 +1,9 @@ +package ast + +import ( + "testing" +) + +func TestAddRouterCode(t *testing.T) { + AddRouterCode("D:\\gin-vue-admin\\server\\utils\\ast\\ast_router_test.go", "Routers", "testRouter", "GVAStruct") +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/breakpoint_continue.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/breakpoint_continue.go new file mode 100644 index 000000000..c0baee57c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/breakpoint_continue.go @@ -0,0 +1,112 @@ +package utils + +import ( + "errors" + "os" + "strconv" + "strings" +) + +// 前端传来文件片与当前片为什么文件的第几片 +// 后端拿到以后比较次分片是否上传 或者是否为不完全片 +// 前端发送每片多大 +// 前端告知是否为最后一片且是否完成 + +const ( + breakpointDir = "./breakpointDir/" + finishDir = "./fileDir/" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: BreakPointContinue +//@description: 断点续传 +//@param: content []byte, fileName string, contentNumber int, contentTotal int, fileMd5 string +//@return: error, string + +func BreakPointContinue(content []byte, fileName string, contentNumber int, contentTotal int, fileMd5 string) (string, error) { + path := breakpointDir + fileMd5 + "/" + err := os.MkdirAll(path, os.ModePerm) + if err != nil { + return path, err + } + pathC, err := makeFileContent(content, fileName, path, contentNumber) + return pathC, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: CheckMd5 +//@description: 检查Md5 +//@param: content []byte, chunkMd5 string +//@return: CanUpload bool + +func CheckMd5(content []byte, chunkMd5 string) (CanUpload bool) { + fileMd5 := MD5V(content) + if fileMd5 == chunkMd5 { + return true // 可以继续上传 + } else { + return false // 切片不完整,废弃 + } +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: makeFileContent +//@description: 创建切片内容 +//@param: content []byte, fileName string, FileDir string, contentNumber int +//@return: string, error + +func makeFileContent(content []byte, fileName string, FileDir string, contentNumber int) (string, error) { + if strings.Index(fileName, "..") > -1 || strings.Index(FileDir, "..") > -1 { + return "", errors.New("文件名或路径不合法") + } + path := FileDir + fileName + "_" + strconv.Itoa(contentNumber) + f, err := os.Create(path) + if err != nil { + return path, err + } else { + _, err = f.Write(content) + if err != nil { + return path, err + } + } + defer f.Close() + return path, nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: makeFileContent +//@description: 创建切片文件 +//@param: fileName string, FileMd5 string +//@return: error, string + +func MakeFile(fileName string, FileMd5 string) (string, error) { + rd, err := os.ReadDir(breakpointDir + FileMd5) + if err != nil { + return finishDir + fileName, err + } + _ = os.MkdirAll(finishDir, os.ModePerm) + fd, err := os.OpenFile(finishDir+fileName, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0o644) + if err != nil { + return finishDir + fileName, err + } + defer fd.Close() + for k := range rd { + content, _ := os.ReadFile(breakpointDir + FileMd5 + "/" + fileName + "_" + strconv.Itoa(k)) + _, err = fd.Write(content) + if err != nil { + _ = os.Remove(finishDir + fileName) + return finishDir + fileName, err + } + } + return finishDir + fileName, nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: RemoveChunk +//@description: 移除切片 +//@param: FileMd5 string +//@return: error + +func RemoveChunk(FileMd5 string) error { + err := os.RemoveAll(breakpointDir + FileMd5) + return err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/captcha/redis.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/captcha/redis.go new file mode 100644 index 000000000..a13b7cc11 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/captcha/redis.go @@ -0,0 +1,60 @@ +package captcha + +import ( + "context" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/mojocn/base64Captcha" + "go.uber.org/zap" +) + +func NewDefaultRedisStore() *RedisStore { + return &RedisStore{ + Expiration: time.Second * 180, + PreKey: "CAPTCHA_", + Context: context.TODO(), + } +} + +type RedisStore struct { + Expiration time.Duration + PreKey string + Context context.Context +} + +func (rs *RedisStore) UseWithCtx(ctx context.Context) base64Captcha.Store { + rs.Context = ctx + return rs +} + +func (rs *RedisStore) Set(id string, value string) error { + err := global.GVA_REDIS.Set(rs.Context, rs.PreKey+id, value, rs.Expiration).Err() + if err != nil { + global.GVA_LOG.Error("RedisStoreSetError!", zap.Error(err)) + return err + } + return nil +} + +func (rs *RedisStore) Get(key string, clear bool) string { + val, err := global.GVA_REDIS.Get(rs.Context, key).Result() + if err != nil { + global.GVA_LOG.Error("RedisStoreGetError!", zap.Error(err)) + return "" + } + if clear { + err := global.GVA_REDIS.Del(rs.Context, key).Err() + if err != nil { + global.GVA_LOG.Error("RedisStoreClearError!", zap.Error(err)) + return "" + } + } + return val +} + +func (rs *RedisStore) Verify(id, answer string, clear bool) bool { + key := rs.PreKey + id + v := rs.Get(key, clear) + return v == answer +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/clamis.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/clamis.go new file mode 100644 index 000000000..78059bba1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/clamis.go @@ -0,0 +1,88 @@ +package utils + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/global" + systemReq "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" + "github.com/gin-gonic/gin" + "github.com/gofrs/uuid/v5" +) + +func GetClaims(c *gin.Context) (*systemReq.CustomClaims, error) { + token := c.Request.Header.Get("x-token") + j := NewJWT() + claims, err := j.ParseToken(token) + if err != nil { + global.GVA_LOG.Error("从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构") + } + return claims, err +} + +// GetUserID 从Gin的Context中获取从jwt解析出来的用户ID +func GetUserID(c *gin.Context) uint { + if claims, exists := c.Get("claims"); !exists { + if cl, err := GetClaims(c); err != nil { + return 0 + } else { + return cl.BaseClaims.ID + } + } else { + waitUse := claims.(*systemReq.CustomClaims) + return waitUse.BaseClaims.ID + } +} + +// GetUserUuid 从Gin的Context中获取从jwt解析出来的用户UUID +func GetUserUuid(c *gin.Context) uuid.UUID { + if claims, exists := c.Get("claims"); !exists { + if cl, err := GetClaims(c); err != nil { + return uuid.UUID{} + } else { + return cl.UUID + } + } else { + waitUse := claims.(*systemReq.CustomClaims) + return waitUse.UUID + } +} + +// GetUserAuthorityId 从Gin的Context中获取从jwt解析出来的用户角色id +func GetUserAuthorityId(c *gin.Context) uint { + if claims, exists := c.Get("claims"); !exists { + if cl, err := GetClaims(c); err != nil { + return 0 + } else { + return cl.AuthorityId + } + } else { + waitUse := claims.(*systemReq.CustomClaims) + return waitUse.AuthorityId + } +} + +// GetUserInfo 从Gin的Context中获取从jwt解析出来的用户角色id +func GetUserInfo(c *gin.Context) *systemReq.CustomClaims { + if claims, exists := c.Get("claims"); !exists { + if cl, err := GetClaims(c); err != nil { + return nil + } else { + return cl + } + } else { + waitUse := claims.(*systemReq.CustomClaims) + return waitUse + } +} + +// GetUserName 从Gin的Context中获取从jwt解析出来的用户名 +func GetUserName(c *gin.Context) string { + if claims, exists := c.Get("claims"); !exists { + if cl, err := GetClaims(c); err != nil { + return "" + } else { + return cl.Username + } + } else { + waitUse := claims.(*systemReq.CustomClaims) + return waitUse.Username + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/directory.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/directory.go new file mode 100644 index 000000000..d419feefd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/directory.go @@ -0,0 +1,124 @@ +package utils + +import ( + "errors" + "os" + "path/filepath" + "reflect" + "strings" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "go.uber.org/zap" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: PathExists +//@description: 文件目录是否存在 +//@param: path string +//@return: bool, error + +func PathExists(path string) (bool, error) { + fi, err := os.Stat(path) + if err == nil { + if fi.IsDir() { + return true, nil + } + return false, errors.New("存在同名文件") + } + if os.IsNotExist(err) { + return false, nil + } + return false, err +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: CreateDir +//@description: 批量创建文件夹 +//@param: dirs ...string +//@return: err error + +func CreateDir(dirs ...string) (err error) { + for _, v := range dirs { + exist, err := PathExists(v) + if err != nil { + return err + } + if !exist { + global.GVA_LOG.Debug("create directory" + v) + if err := os.MkdirAll(v, os.ModePerm); err != nil { + global.GVA_LOG.Error("create directory"+v, zap.Any(" error:", err)) + return err + } + } + } + return err +} + +//@author: [songzhibin97](https://github.com/songzhibin97) +//@function: FileMove +//@description: 文件移动供外部调用 +//@param: src string, dst string(src: 源位置,绝对路径or相对路径, dst: 目标位置,绝对路径or相对路径,必须为文件夹) +//@return: err error + +func FileMove(src string, dst string) (err error) { + if dst == "" { + return nil + } + src, err = filepath.Abs(src) + if err != nil { + return err + } + dst, err = filepath.Abs(dst) + if err != nil { + return err + } + revoke := false + dir := filepath.Dir(dst) +Redirect: + _, err = os.Stat(dir) + if err != nil { + err = os.MkdirAll(dir, 0o755) + if err != nil { + return err + } + if !revoke { + revoke = true + goto Redirect + } + } + return os.Rename(src, dst) +} + +func DeLFile(filePath string) error { + return os.RemoveAll(filePath) +} + +//@author: [songzhibin97](https://github.com/songzhibin97) +//@function: TrimSpace +//@description: 去除结构体空格 +//@param: target interface (target: 目标结构体,传入必须是指针类型) +//@return: null + +func TrimSpace(target interface{}) { + t := reflect.TypeOf(target) + if t.Kind() != reflect.Ptr { + return + } + t = t.Elem() + v := reflect.ValueOf(target).Elem() + for i := 0; i < t.NumField(); i++ { + switch v.Field(i).Kind() { + case reflect.String: + v.Field(i).SetString(strings.TrimSpace(v.Field(i).String())) + } + } +} + +// FileExist 判断文件是否存在 +func FileExist(path string) bool { + fi, err := os.Lstat(path) + if err == nil { + return !fi.IsDir() + } + return !os.IsNotExist(err) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/fmt_plus.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/fmt_plus.go new file mode 100644 index 000000000..e00f70d5a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/fmt_plus.go @@ -0,0 +1,67 @@ +package utils + +import ( + "fmt" + "reflect" + "strings" +) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: StructToMap +//@description: 利用反射将结构体转化为map +//@param: obj interface{} +//@return: map[string]interface{} + +func StructToMap(obj interface{}) map[string]interface{} { + obj1 := reflect.TypeOf(obj) + obj2 := reflect.ValueOf(obj) + + data := make(map[string]interface{}) + for i := 0; i < obj1.NumField(); i++ { + if obj1.Field(i).Tag.Get("mapstructure") != "" { + data[obj1.Field(i).Tag.Get("mapstructure")] = obj2.Field(i).Interface() + } else { + data[obj1.Field(i).Name] = obj2.Field(i).Interface() + } + } + return data +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: ArrayToString +//@description: 将数组格式化为字符串 +//@param: array []interface{} +//@return: string + +func ArrayToString(array []interface{}) string { + return strings.Replace(strings.Trim(fmt.Sprint(array), "[]"), " ", ",", -1) +} + +func Pointer[T any](in T) (out *T) { + return &in +} + +func FirstUpper(s string) string { + if s == "" { + return "" + } + return strings.ToUpper(s[:1]) + s[1:] +} + +func FirstLower(s string) string { + if s == "" { + return "" + } + return strings.ToLower(s[:1]) + s[1:] +} + +// MaheHump 将字符串转换为驼峰命名 +func MaheHump(s string) string { + words := strings.Split(s, "-") + + for i := 1; i < len(words); i++ { + words[i] = strings.Title(words[i]) + } + + return strings.Join(words, "") +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/hash.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/hash.go new file mode 100644 index 000000000..9c3564b49 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/hash.go @@ -0,0 +1,31 @@ +package utils + +import ( + "crypto/md5" + "encoding/hex" + "golang.org/x/crypto/bcrypt" +) + +// BcryptHash 使用 bcrypt 对密码进行加密 +func BcryptHash(password string) string { + bytes, _ := bcrypt.GenerateFromPassword([]byte(password), bcrypt.DefaultCost) + return string(bytes) +} + +// BcryptCheck 对比明文密码和数据库的哈希值 +func BcryptCheck(password, hash string) bool { + err := bcrypt.CompareHashAndPassword([]byte(hash), []byte(password)) + return err == nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: MD5V +//@description: md5加密 +//@param: str []byte +//@return: string + +func MD5V(str []byte, b ...byte) string { + h := md5.New() + h.Write(str) + return hex.EncodeToString(h.Sum(b)) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/human_duration.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/human_duration.go new file mode 100644 index 000000000..0cdb055c6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/human_duration.go @@ -0,0 +1,29 @@ +package utils + +import ( + "strconv" + "strings" + "time" +) + +func ParseDuration(d string) (time.Duration, error) { + d = strings.TrimSpace(d) + dr, err := time.ParseDuration(d) + if err == nil { + return dr, nil + } + if strings.Contains(d, "d") { + index := strings.Index(d, "d") + + hour, _ := strconv.Atoi(d[:index]) + dr = time.Hour * 24 * time.Duration(hour) + ndr, err := time.ParseDuration(d[index+1:]) + if err != nil { + return dr, nil + } + return dr + ndr, nil + } + + dv, err := strconv.ParseInt(d, 10, 64) + return time.Duration(dv), err +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/human_duration_test.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/human_duration_test.go new file mode 100644 index 000000000..8a5294b29 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/human_duration_test.go @@ -0,0 +1,49 @@ +package utils + +import ( + "testing" + "time" +) + +func TestParseDuration(t *testing.T) { + type args struct { + d string + } + tests := []struct { + name string + args args + want time.Duration + wantErr bool + }{ + { + name: "5h20m", + args: args{"5h20m"}, + want: time.Hour*5 + 20*time.Minute, + wantErr: false, + }, + { + name: "1d5h20m", + args: args{"1d5h20m"}, + want: 24*time.Hour + time.Hour*5 + 20*time.Minute, + wantErr: false, + }, + { + name: "1d", + args: args{"1d"}, + want: 24 * time.Hour, + wantErr: false, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + got, err := ParseDuration(tt.args.d) + if (err != nil) != tt.wantErr { + t.Errorf("ParseDuration() error = %v, wantErr %v", err, tt.wantErr) + return + } + if got != tt.want { + t.Errorf("ParseDuration() got = %v, want %v", got, tt.want) + } + }) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/injection_code.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/injection_code.go new file mode 100644 index 000000000..8427256c1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/injection_code.go @@ -0,0 +1,180 @@ +package utils + +import ( + "errors" + "fmt" + "go/ast" + "go/parser" + "go/token" + "os" + "strings" +) + +//@author: [LeonardWang](https://github.com/WangLeonard) +//@function: AutoInjectionCode +//@description: 向文件中固定注释位置写入代码 +//@param: filepath string, funcName string, codeData string +//@return: error + +const ( + startComment = "Code generated by github.com/flipped-aurora/gin-vue-admin/server Begin; DO NOT EDIT." + endComment = "Code generated by github.com/flipped-aurora/gin-vue-admin/server End; DO NOT EDIT." +) + +//@author: [LeonardWang](https://github.com/WangLeonard) +//@function: AutoInjectionCode +//@description: 向文件中固定注释位置写入代码 +//@param: filepath string, funcName string, codeData string +//@return: error + +func AutoInjectionCode(filepath string, funcName string, codeData string) error { + srcData, err := os.ReadFile(filepath) + if err != nil { + return err + } + srcDataLen := len(srcData) + fset := token.NewFileSet() + fparser, err := parser.ParseFile(fset, filepath, srcData, parser.ParseComments) + if err != nil { + return err + } + codeData = strings.TrimSpace(codeData) + codeStartPos := -1 + codeEndPos := srcDataLen + var expectedFunction *ast.FuncDecl + + startCommentPos := -1 + endCommentPos := srcDataLen + + // 如果指定了函数名,先寻找对应函数 + if funcName != "" { + for _, decl := range fparser.Decls { + if funDecl, ok := decl.(*ast.FuncDecl); ok && funDecl.Name.Name == funcName { + expectedFunction = funDecl + codeStartPos = int(funDecl.Body.Lbrace) + codeEndPos = int(funDecl.Body.Rbrace) + break + } + } + } + + // 遍历所有注释 + for _, comment := range fparser.Comments { + if int(comment.Pos()) > codeStartPos && int(comment.End()) <= codeEndPos { + if startComment != "" && strings.Contains(comment.Text(), startComment) { + startCommentPos = int(comment.Pos()) // Note: Pos is the second '/' + } + if endComment != "" && strings.Contains(comment.Text(), endComment) { + endCommentPos = int(comment.Pos()) // Note: Pos is the second '/' + } + } + } + + if endCommentPos == srcDataLen { + return fmt.Errorf("comment:%s not found", endComment) + } + + // 在指定函数名,且函数中startComment和endComment都存在时,进行区间查重 + if (codeStartPos != -1 && codeEndPos <= srcDataLen) && (startCommentPos != -1 && endCommentPos != srcDataLen) && expectedFunction != nil { + if exist := checkExist(&srcData, startCommentPos, endCommentPos, expectedFunction.Body, codeData); exist { + fmt.Printf("文件 %s 待插入数据 %s 已存在\n", filepath, codeData) + return nil // 这里不需要返回错误? + } + } + + // 两行注释中间没有换行时,会被认为是一条Comment + if startCommentPos == endCommentPos { + endCommentPos = startCommentPos + strings.Index(string(srcData[startCommentPos:]), endComment) + for srcData[endCommentPos] != '/' { + endCommentPos-- + } + } + + // 记录"//"之前的空字符,保持写入后的格式一致 + tmpSpace := make([]byte, 0, 10) + for tmp := endCommentPos - 2; tmp >= 0; tmp-- { + if srcData[tmp] != '\n' { + tmpSpace = append(tmpSpace, srcData[tmp]) + } else { + break + } + } + + reverseSpace := make([]byte, 0, len(tmpSpace)) + for index := len(tmpSpace) - 1; index >= 0; index-- { + reverseSpace = append(reverseSpace, tmpSpace[index]) + } + + // 插入数据 + indexPos := endCommentPos - 1 + insertData := []byte(append([]byte(codeData+"\n"), reverseSpace...)) + + remainData := append([]byte{}, srcData[indexPos:]...) + srcData = append(append(srcData[:indexPos], insertData...), remainData...) + + // 写回数据 + return os.WriteFile(filepath, srcData, 0o600) +} + +func checkExist(srcData *[]byte, startPos int, endPos int, blockStmt *ast.BlockStmt, target string) bool { + for _, list := range blockStmt.List { + switch stmt := list.(type) { + case *ast.ExprStmt: + if callExpr, ok := stmt.X.(*ast.CallExpr); ok && + int(callExpr.Pos()) > startPos && int(callExpr.End()) < endPos { + text := string((*srcData)[int(callExpr.Pos()-1):int(callExpr.End())]) + key := strings.TrimSpace(text) + if key == target { + return true + } + } + case *ast.BlockStmt: + if checkExist(srcData, startPos, endPos, stmt, target) { + return true + } + case *ast.AssignStmt: + // 为 model 中的代码进行检查 + if len(stmt.Rhs) > 0 { + if callExpr, ok := stmt.Rhs[0].(*ast.CallExpr); ok { + for _, arg := range callExpr.Args { + if int(arg.Pos()) > startPos && int(arg.End()) < endPos { + text := string((*srcData)[int(arg.Pos()-1):int(arg.End())]) + key := strings.TrimSpace(text) + if key == target { + return true + } + } + } + } + } + } + } + return false +} + +func AutoClearCode(filepath string, codeData string) error { + srcData, err := os.ReadFile(filepath) + if err != nil { + return err + } + srcData, err = cleanCode(codeData, string(srcData)) + if err != nil { + return err + } + return os.WriteFile(filepath, srcData, 0o600) +} + +func cleanCode(clearCode string, srcData string) ([]byte, error) { + bf := make([]rune, 0, 1024) + for i, v := range srcData { + if v == '\n' { + if strings.TrimSpace(string(bf)) == clearCode { + return append([]byte(srcData[:i-len(bf)]), []byte(srcData[i+1:])...), nil + } + bf = (bf)[:0] + continue + } + bf = append(bf, v) + } + return []byte(srcData), errors.New("未找到内容") +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/jwt.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/jwt.go new file mode 100644 index 000000000..c1298a870 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/jwt.go @@ -0,0 +1,88 @@ +package utils + +import ( + "errors" + "time" + + jwt "github.com/golang-jwt/jwt/v4" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/model/system/request" +) + +type JWT struct { + SigningKey []byte +} + +var ( + TokenExpired = errors.New("Token is expired") + TokenNotValidYet = errors.New("Token not active yet") + TokenMalformed = errors.New("That's not even a token") + TokenInvalid = errors.New("Couldn't handle this token:") +) + +func NewJWT() *JWT { + return &JWT{ + []byte(global.GVA_CONFIG.JWT.SigningKey), + } +} + +func (j *JWT) CreateClaims(baseClaims request.BaseClaims) request.CustomClaims { + bf, _ := ParseDuration(global.GVA_CONFIG.JWT.BufferTime) + ep, _ := ParseDuration(global.GVA_CONFIG.JWT.ExpiresTime) + claims := request.CustomClaims{ + BaseClaims: baseClaims, + BufferTime: int64(bf / time.Second), // 缓冲时间1天 缓冲时间内会获得新的token刷新令牌 此时一个用户会存在两个有效令牌 但是前端只留一个 另一个会丢失 + RegisteredClaims: jwt.RegisteredClaims{ + Audience: jwt.ClaimStrings{"GVA"}, // 受众 + NotBefore: jwt.NewNumericDate(time.Now().Add(-1000)), // 签名生效时间 + ExpiresAt: jwt.NewNumericDate(time.Now().Add(ep)), // 过期时间 7天 配置文件 + Issuer: global.GVA_CONFIG.JWT.Issuer, // 签名的发行者 + }, + } + return claims +} + +// 创建一个token +func (j *JWT) CreateToken(claims request.CustomClaims) (string, error) { + token := jwt.NewWithClaims(jwt.SigningMethodHS256, claims) + return token.SignedString(j.SigningKey) +} + +// CreateTokenByOldToken 旧token 换新token 使用归并回源避免并发问题 +func (j *JWT) CreateTokenByOldToken(oldToken string, claims request.CustomClaims) (string, error) { + v, err, _ := global.GVA_Concurrency_Control.Do("JWT:"+oldToken, func() (interface{}, error) { + return j.CreateToken(claims) + }) + return v.(string), err +} + +// 解析 token +func (j *JWT) ParseToken(tokenString string) (*request.CustomClaims, error) { + token, err := jwt.ParseWithClaims(tokenString, &request.CustomClaims{}, func(token *jwt.Token) (i interface{}, e error) { + return j.SigningKey, nil + }) + if err != nil { + if ve, ok := err.(*jwt.ValidationError); ok { + if ve.Errors&jwt.ValidationErrorMalformed != 0 { + return nil, TokenMalformed + } else if ve.Errors&jwt.ValidationErrorExpired != 0 { + // Token is expired + return nil, TokenExpired + } else if ve.Errors&jwt.ValidationErrorNotValidYet != 0 { + return nil, TokenNotValidYet + } else { + return nil, TokenInvalid + } + } + } + if token != nil { + if claims, ok := token.Claims.(*request.CustomClaims); ok && token.Valid { + return claims, nil + } + return nil, TokenInvalid + + } else { + return nil, TokenInvalid + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/plugin/plugin.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/plugin/plugin.go new file mode 100644 index 000000000..a59d5b52a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/plugin/plugin.go @@ -0,0 +1,18 @@ +package plugin + +import ( + "github.com/gin-gonic/gin" +) + +const ( + OnlyFuncName = "Plugin" +) + +// Plugin 插件模式接口化 +type Plugin interface { + // Register 注册路由 + Register(group *gin.RouterGroup) + + // RouterPath 用户返回注册路由 + RouterPath() string +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/reload.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/reload.go new file mode 100644 index 000000000..de5499bf3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/reload.go @@ -0,0 +1,18 @@ +package utils + +import ( + "errors" + "os" + "os/exec" + "runtime" + "strconv" +) + +func Reload() error { + if runtime.GOOS == "windows" { + return errors.New("系统不支持") + } + pid := os.Getpid() + cmd := exec.Command("kill", "-1", strconv.Itoa(pid)) + return cmd.Run() +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/server.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/server.go new file mode 100644 index 000000000..a170b51af --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/server.go @@ -0,0 +1,118 @@ +package utils + +import ( + "runtime" + "time" + + "github.com/shirou/gopsutil/v3/cpu" + "github.com/shirou/gopsutil/v3/disk" + "github.com/shirou/gopsutil/v3/mem" +) + +const ( + B = 1 + KB = 1024 * B + MB = 1024 * KB + GB = 1024 * MB +) + +type Server struct { + Os Os `json:"os"` + Cpu Cpu `json:"cpu"` + Ram Ram `json:"ram"` + Disk Disk `json:"disk"` +} + +type Os struct { + GOOS string `json:"goos"` + NumCPU int `json:"numCpu"` + Compiler string `json:"compiler"` + GoVersion string `json:"goVersion"` + NumGoroutine int `json:"numGoroutine"` +} + +type Cpu struct { + Cpus []float64 `json:"cpus"` + Cores int `json:"cores"` +} + +type Ram struct { + UsedMB int `json:"usedMb"` + TotalMB int `json:"totalMb"` + UsedPercent int `json:"usedPercent"` +} + +type Disk struct { + UsedMB int `json:"usedMb"` + UsedGB int `json:"usedGb"` + TotalMB int `json:"totalMb"` + TotalGB int `json:"totalGb"` + UsedPercent int `json:"usedPercent"` +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: InitCPU +//@description: OS信息 +//@return: o Os, err error + +func InitOS() (o Os) { + o.GOOS = runtime.GOOS + o.NumCPU = runtime.NumCPU() + o.Compiler = runtime.Compiler + o.GoVersion = runtime.Version() + o.NumGoroutine = runtime.NumGoroutine() + return o +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: InitCPU +//@description: CPU信息 +//@return: c Cpu, err error + +func InitCPU() (c Cpu, err error) { + if cores, err := cpu.Counts(false); err != nil { + return c, err + } else { + c.Cores = cores + } + if cpus, err := cpu.Percent(time.Duration(200)*time.Millisecond, true); err != nil { + return c, err + } else { + c.Cpus = cpus + } + return c, nil +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: InitRAM +//@description: RAM信息 +//@return: r Ram, err error + +func InitRAM() (r Ram, err error) { + if u, err := mem.VirtualMemory(); err != nil { + return r, err + } else { + r.UsedMB = int(u.Used) / MB + r.TotalMB = int(u.Total) / MB + r.UsedPercent = int(u.UsedPercent) + } + return r, nil +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@function: InitDisk +//@description: 硬盘信息 +//@return: d Disk, err error + +func InitDisk() (d Disk, err error) { + if u, err := disk.Usage("/"); err != nil { + return d, err + } else { + d.UsedMB = int(u.Used) / MB + d.UsedGB = int(u.Used) / GB + d.TotalMB = int(u.Total) / MB + d.TotalGB = int(u.Total) / GB + d.UsedPercent = int(u.UsedPercent) + } + return d, nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/timer/timed_task.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/timer/timed_task.go new file mode 100644 index 000000000..c5c1e4c1f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/timer/timed_task.go @@ -0,0 +1,132 @@ +package timer + +import ( + "sync" + + "github.com/robfig/cron/v3" +) + +type Timer interface { + AddTaskByFunc(taskName string, spec string, task func(), option ...cron.Option) (cron.EntryID, error) + AddTaskByJob(taskName string, spec string, job interface{ Run() }, option ...cron.Option) (cron.EntryID, error) + FindCron(taskName string) (*cron.Cron, bool) + StartTask(taskName string) + StopTask(taskName string) + Remove(taskName string, id int) + Clear(taskName string) + Close() +} + +// timer 定时任务管理 +type timer struct { + taskList map[string]*cron.Cron + sync.Mutex +} + +// AddTaskByFunc 通过函数的方法添加任务 +func (t *timer) AddTaskByFunc(taskName string, spec string, task func(), option ...cron.Option) (cron.EntryID, error) { + t.Lock() + defer t.Unlock() + if _, ok := t.taskList[taskName]; !ok { + t.taskList[taskName] = cron.New(option...) + } + id, err := t.taskList[taskName].AddFunc(spec, task) + t.taskList[taskName].Start() + return id, err +} + +// AddTaskByFuncWithSeconds 通过函数的方法使用WithSeconds添加任务 +func (t *timer) AddTaskByFuncWhithSecond(taskName string, spec string, task func(), option ...cron.Option) (cron.EntryID, error) { + t.Lock() + defer t.Unlock() + option = append(option, cron.WithSeconds()) + if _, ok := t.taskList[taskName]; !ok { + t.taskList[taskName] = cron.New(option...) + } + id, err := t.taskList[taskName].AddFunc(spec, task) + t.taskList[taskName].Start() + return id, err +} + +// AddTaskByJob 通过接口的方法添加任务 +func (t *timer) AddTaskByJob(taskName string, spec string, job interface{ Run() }, option ...cron.Option) (cron.EntryID, error) { + t.Lock() + defer t.Unlock() + if _, ok := t.taskList[taskName]; !ok { + t.taskList[taskName] = cron.New(option...) + } + id, err := t.taskList[taskName].AddJob(spec, job) + t.taskList[taskName].Start() + return id, err +} + +// AddTaskByJobWithSeconds 通过接口的方法添加任务 +func (t *timer) AddTaskByJobWithSeconds(taskName string, spec string, job interface{ Run() }, option ...cron.Option) (cron.EntryID, error) { + t.Lock() + defer t.Unlock() + option = append(option, cron.WithSeconds()) + if _, ok := t.taskList[taskName]; !ok { + t.taskList[taskName] = cron.New(option...) + } + id, err := t.taskList[taskName].AddJob(spec, job) + t.taskList[taskName].Start() + return id, err +} + +// FindCron 获取对应taskName的cron 可能会为空 +func (t *timer) FindCron(taskName string) (*cron.Cron, bool) { + t.Lock() + defer t.Unlock() + v, ok := t.taskList[taskName] + return v, ok +} + +// StartTask 开始任务 +func (t *timer) StartTask(taskName string) { + t.Lock() + defer t.Unlock() + if v, ok := t.taskList[taskName]; ok { + v.Start() + } +} + +// StopTask 停止任务 +func (t *timer) StopTask(taskName string) { + t.Lock() + defer t.Unlock() + if v, ok := t.taskList[taskName]; ok { + v.Stop() + } +} + +// Remove 从taskName 删除指定任务 +func (t *timer) Remove(taskName string, id int) { + t.Lock() + defer t.Unlock() + if v, ok := t.taskList[taskName]; ok { + v.Remove(cron.EntryID(id)) + } +} + +// Clear 清除任务 +func (t *timer) Clear(taskName string) { + t.Lock() + defer t.Unlock() + if v, ok := t.taskList[taskName]; ok { + v.Stop() + delete(t.taskList, taskName) + } +} + +// Close 释放资源 +func (t *timer) Close() { + t.Lock() + defer t.Unlock() + for _, v := range t.taskList { + v.Stop() + } +} + +func NewTimerTask() Timer { + return &timer{taskList: make(map[string]*cron.Cron)} +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/timer/timed_task_test.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/timer/timed_task_test.go new file mode 100644 index 000000000..aa9ddec69 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/timer/timed_task_test.go @@ -0,0 +1,67 @@ +package timer + +import ( + "fmt" + "testing" + "time" + + "github.com/stretchr/testify/assert" +) + +var job = mockJob{} + +type mockJob struct{} + +func (job mockJob) Run() { + mockFunc() +} + +func mockFunc() { + time.Sleep(time.Second) + fmt.Println("1s...") +} + +func TestNewTimerTask(t *testing.T) { + tm := NewTimerTask() + _tm := tm.(*timer) + + { + _, err := tm.AddTaskByFunc("func", "@every 1s", mockFunc) + assert.Nil(t, err) + _, ok := _tm.taskList["func"] + if !ok { + t.Error("no find func") + } + } + + { + _, err := tm.AddTaskByJob("job", "@every 1s", job) + assert.Nil(t, err) + _, ok := _tm.taskList["job"] + if !ok { + t.Error("no find job") + } + } + + { + _, ok := tm.FindCron("func") + if !ok { + t.Error("no find func") + } + _, ok = tm.FindCron("job") + if !ok { + t.Error("no find job") + } + _, ok = tm.FindCron("none") + if ok { + t.Error("find none") + } + } + { + tm.Clear("func") + _, ok := tm.FindCron("func") + if ok { + t.Error("find func") + } + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/aliyun_oss.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/aliyun_oss.go new file mode 100644 index 000000000..cf7410161 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/aliyun_oss.go @@ -0,0 +1,75 @@ +package upload + +import ( + "errors" + "mime/multipart" + "time" + + "github.com/aliyun/aliyun-oss-go-sdk/oss" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "go.uber.org/zap" +) + +type AliyunOSS struct{} + +func (*AliyunOSS) UploadFile(file *multipart.FileHeader) (string, string, error) { + bucket, err := NewBucket() + if err != nil { + global.GVA_LOG.Error("function AliyunOSS.NewBucket() Failed", zap.Any("err", err.Error())) + return "", "", errors.New("function AliyunOSS.NewBucket() Failed, err:" + err.Error()) + } + + // 读取本地文件。 + f, openError := file.Open() + if openError != nil { + global.GVA_LOG.Error("function file.Open() Failed", zap.Any("err", openError.Error())) + return "", "", errors.New("function file.Open() Failed, err:" + openError.Error()) + } + defer f.Close() // 创建文件 defer 关闭 + // 上传阿里云路径 文件名格式 自己可以改 建议保证唯一性 + // yunFileTmpPath := filepath.Join("uploads", time.Now().Format("2006-01-02")) + "/" + file.Filename + yunFileTmpPath := global.GVA_CONFIG.AliyunOSS.BasePath + "/" + "uploads" + "/" + time.Now().Format("2006-01-02") + "/" + file.Filename + + // 上传文件流。 + err = bucket.PutObject(yunFileTmpPath, f) + if err != nil { + global.GVA_LOG.Error("function formUploader.Put() Failed", zap.Any("err", err.Error())) + return "", "", errors.New("function formUploader.Put() Failed, err:" + err.Error()) + } + + return global.GVA_CONFIG.AliyunOSS.BucketUrl + "/" + yunFileTmpPath, yunFileTmpPath, nil +} + +func (*AliyunOSS) DeleteFile(key string) error { + bucket, err := NewBucket() + if err != nil { + global.GVA_LOG.Error("function AliyunOSS.NewBucket() Failed", zap.Any("err", err.Error())) + return errors.New("function AliyunOSS.NewBucket() Failed, err:" + err.Error()) + } + + // 删除单个文件。objectName表示删除OSS文件时需要指定包含文件后缀在内的完整路径,例如abc/efg/123.jpg。 + // 如需删除文件夹,请将objectName设置为对应的文件夹名称。如果文件夹非空,则需要将文件夹下的所有object删除后才能删除该文件夹。 + err = bucket.DeleteObject(key) + if err != nil { + global.GVA_LOG.Error("function bucketManager.Delete() failed", zap.Any("err", err.Error())) + return errors.New("function bucketManager.Delete() failed, err:" + err.Error()) + } + + return nil +} + +func NewBucket() (*oss.Bucket, error) { + // 创建OSSClient实例。 + client, err := oss.New(global.GVA_CONFIG.AliyunOSS.Endpoint, global.GVA_CONFIG.AliyunOSS.AccessKeyId, global.GVA_CONFIG.AliyunOSS.AccessKeySecret) + if err != nil { + return nil, err + } + + // 获取存储空间。 + bucket, err := client.Bucket(global.GVA_CONFIG.AliyunOSS.BucketName) + if err != nil { + return nil, err + } + + return bucket, nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/aws_s3.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/aws_s3.go new file mode 100644 index 000000000..342f9b8b4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/aws_s3.go @@ -0,0 +1,97 @@ +package upload + +import ( + "errors" + "fmt" + "mime/multipart" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/credentials" + "github.com/aws/aws-sdk-go/aws/session" + "github.com/aws/aws-sdk-go/service/s3" + "github.com/aws/aws-sdk-go/service/s3/s3manager" + "go.uber.org/zap" +) + +type AwsS3 struct{} + +//@author: [WqyJh](https://github.com/WqyJh) +//@object: *AwsS3 +//@function: UploadFile +//@description: Upload file to Aws S3 using aws-sdk-go. See https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/s3-example-basic-bucket-operations.html#s3-examples-bucket-ops-upload-file-to-bucket +//@param: file *multipart.FileHeader +//@return: string, string, error + +func (*AwsS3) UploadFile(file *multipart.FileHeader) (string, string, error) { + session := newSession() + uploader := s3manager.NewUploader(session) + + fileKey := fmt.Sprintf("%d%s", time.Now().Unix(), file.Filename) + filename := global.GVA_CONFIG.AwsS3.PathPrefix + "/" + fileKey + f, openError := file.Open() + if openError != nil { + global.GVA_LOG.Error("function file.Open() failed", zap.Any("err", openError.Error())) + return "", "", errors.New("function file.Open() failed, err:" + openError.Error()) + } + defer f.Close() // 创建文件 defer 关闭 + + _, err := uploader.Upload(&s3manager.UploadInput{ + Bucket: aws.String(global.GVA_CONFIG.AwsS3.Bucket), + Key: aws.String(filename), + Body: f, + }) + if err != nil { + global.GVA_LOG.Error("function uploader.Upload() failed", zap.Any("err", err.Error())) + return "", "", err + } + + return global.GVA_CONFIG.AwsS3.BaseURL + "/" + filename, fileKey, nil +} + +//@author: [WqyJh](https://github.com/WqyJh) +//@object: *AwsS3 +//@function: DeleteFile +//@description: Delete file from Aws S3 using aws-sdk-go. See https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/s3-example-basic-bucket-operations.html#s3-examples-bucket-ops-delete-bucket-item +//@param: file *multipart.FileHeader +//@return: string, string, error + +func (*AwsS3) DeleteFile(key string) error { + session := newSession() + svc := s3.New(session) + filename := global.GVA_CONFIG.AwsS3.PathPrefix + "/" + key + bucket := global.GVA_CONFIG.AwsS3.Bucket + + _, err := svc.DeleteObject(&s3.DeleteObjectInput{ + Bucket: aws.String(bucket), + Key: aws.String(filename), + }) + if err != nil { + global.GVA_LOG.Error("function svc.DeleteObject() failed", zap.Any("err", err.Error())) + return errors.New("function svc.DeleteObject() failed, err:" + err.Error()) + } + + _ = svc.WaitUntilObjectNotExists(&s3.HeadObjectInput{ + Bucket: aws.String(bucket), + Key: aws.String(filename), + }) + return nil +} + +// newSession Create S3 session +func newSession() *session.Session { + sess, _ := session.NewSession(&aws.Config{ + Region: aws.String(global.GVA_CONFIG.AwsS3.Region), + Endpoint: aws.String(global.GVA_CONFIG.AwsS3.Endpoint), //minio在这里设置地址,可以兼容 + S3ForcePathStyle: aws.Bool(global.GVA_CONFIG.AwsS3.S3ForcePathStyle), + DisableSSL: aws.Bool(global.GVA_CONFIG.AwsS3.DisableSSL), + Credentials: credentials.NewStaticCredentials( + global.GVA_CONFIG.AwsS3.SecretID, + global.GVA_CONFIG.AwsS3.SecretKey, + "", + ), + }) + return sess +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/local.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/local.go new file mode 100644 index 000000000..6a26ea9d2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/local.go @@ -0,0 +1,126 @@ +package upload + +import ( + "errors" + "fmt" + "image" + "image/jpeg" + "io" + "mime/multipart" + "os" + "path" + "strings" + "time" + + "github.com/disintegration/gift" + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/flipped-aurora/gin-vue-admin/server/utils" + "go.uber.org/zap" +) + +type Local struct{} + +//@author: [piexlmax](https://github.com/piexlmax) +//@author: [ccfish86](https://github.com/ccfish86) +//@author: [SliverHorn](https://github.com/SliverHorn) +//@object: *Local +//@function: UploadFile +//@description: 上传文件 +//@param: file *multipart.FileHeader +//@return: string, string, error + +func (*Local) UploadFile(file *multipart.FileHeader) (string, string, string, error) { + // 读取文件后缀 + ext := path.Ext(file.Filename) + // 读取文件名并加密 + name := strings.TrimSuffix(file.Filename, ext) + name = utils.MD5V([]byte(name)) + // 拼接新文件名 + filename := name + "_" + time.Now().Format("20060102150405") + ext + fakername := "faker_" + name + "_" + time.Now().Format("20060102150405") + ext + // 尝试创建此路径 + mkdirErr := os.MkdirAll(global.GVA_CONFIG.Local.StorePath, os.ModePerm) + if mkdirErr != nil { + global.GVA_LOG.Error("function os.MkdirAll() failed", zap.Any("err", mkdirErr.Error())) + return "", "", "", errors.New("function os.MkdirAll() failed, err:" + mkdirErr.Error()) + } + // 拼接路径和文件名 + p := global.GVA_CONFIG.Local.StorePath + "/" + filename + filepath := global.GVA_CONFIG.Local.Path + "/" + filename + fakerpath := global.GVA_CONFIG.Local.Path + "/" + fakername + + f, openError := file.Open() // 读取文件 + if openError != nil { + global.GVA_LOG.Error("function file.Open() failed", zap.Any("err", openError.Error())) + return "", "", "", errors.New("function file.Open() failed, err:" + openError.Error()) + } + defer f.Close() // 创建文件 defer 关闭 + + out, createErr := os.Create(p) + if createErr != nil { + global.GVA_LOG.Error("function os.Create() failed", zap.Any("err", createErr.Error())) + + return "", "", "", errors.New("function os.Create() failed, err:" + createErr.Error()) + } + defer out.Close() // 创建文件 defer 关闭 + + _, copyErr := io.Copy(out, f) // 传输(拷贝)文件 + if copyErr != nil { + global.GVA_LOG.Error("function io.Copy() failed", zap.Any("err", copyErr.Error())) + return "", "", "", errors.New("function io.Copy() failed, err:" + copyErr.Error()) + } + + if ext == ".jpg" { + //进行图片模糊处理 + originfile, err := os.Open(filepath) + if err != nil { + fmt.Println("无法打开图片文件:", err) + return "", "", "", errors.New("function file.Open() failed, err:" + openError.Error()) + } + defer originfile.Close() + + img, err := jpeg.Decode(originfile) + if err != nil { + fmt.Println("无法解码图片:", err) + return "", "", "", errors.New("function file.Open() failed, err:" + openError.Error()) + } + + g := gift.New(gift.GaussianBlur(5)) + blurred := image.NewRGBA(g.Bounds(img.Bounds())) + g.Draw(blurred, img) + + outputFile, err := os.Create(fakerpath) + if err != nil { + fmt.Println("无法创建输出文件:", err) + return "", "", "", errors.New("function file.Open() failed, err:" + openError.Error()) + } + defer outputFile.Close() + // 将模糊后的图片保存到输出文件 + jpeg.Encode(outputFile, blurred, nil) + } + + return fakerpath, filepath, filename, nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@author: [ccfish86](https://github.com/ccfish86) +//@author: [SliverHorn](https://github.com/SliverHorn) +//@object: *Local +//@function: DeleteFile +//@description: 删除文件 +//@param: key string +//@return: error + +func (*Local) DeleteFile(key string) error { + p := global.GVA_CONFIG.Local.StorePath + "/" + key + fakerp := global.GVA_CONFIG.Local.StorePath + "/" + "faker_" + key + if strings.Contains(p, global.GVA_CONFIG.Local.StorePath) { + if err := os.Remove(p); err != nil { + return errors.New("本地文件删除失败, err:" + err.Error()) + } + if err := os.Remove(fakerp); err != nil { + return errors.New("模糊文件删除失败, err:" + err.Error()) + } + } + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/obs.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/obs.go new file mode 100644 index 000000000..9c3c90923 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/obs.go @@ -0,0 +1,67 @@ +package upload + +import ( + "mime/multipart" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/huaweicloud/huaweicloud-sdk-go-obs/obs" + "github.com/pkg/errors" +) + +var HuaWeiObs = new(Obs) + +type Obs struct{} + +func NewHuaWeiObsClient() (client *obs.ObsClient, err error) { + return obs.New(global.GVA_CONFIG.HuaWeiObs.AccessKey, global.GVA_CONFIG.HuaWeiObs.SecretKey, global.GVA_CONFIG.HuaWeiObs.Endpoint) +} + +func (o *Obs) UploadFile(file *multipart.FileHeader) (string, string, error) { + // var open multipart.File + open, err := file.Open() + if err != nil { + return "", "", err + } + defer open.Close() + filename := file.Filename + input := &obs.PutObjectInput{ + PutObjectBasicInput: obs.PutObjectBasicInput{ + ObjectOperationInput: obs.ObjectOperationInput{ + Bucket: global.GVA_CONFIG.HuaWeiObs.Bucket, + Key: filename, + }, + ContentType: file.Header.Get("content-type"), + }, + Body: open, + } + + var client *obs.ObsClient + client, err = NewHuaWeiObsClient() + if err != nil { + return "", "", errors.Wrap(err, "获取华为对象存储对象失败!") + } + + _, err = client.PutObject(input) + if err != nil { + return "", "", errors.Wrap(err, "文件上传失败!") + } + filepath := global.GVA_CONFIG.HuaWeiObs.Path + "/" + filename + return filepath, filename, err +} + +func (o *Obs) DeleteFile(key string) error { + client, err := NewHuaWeiObsClient() + if err != nil { + return errors.Wrap(err, "获取华为对象存储对象失败!") + } + input := &obs.DeleteObjectInput{ + Bucket: global.GVA_CONFIG.HuaWeiObs.Bucket, + Key: key, + } + var output *obs.DeleteObjectOutput + output, err = client.DeleteObject(input) + if err != nil { + return errors.Wrapf(err, "删除对象(%s)失败!, output: %v", key, output) + } + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/qiniu.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/qiniu.go new file mode 100644 index 000000000..87e91b687 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/qiniu.go @@ -0,0 +1,96 @@ +package upload + +import ( + "context" + "errors" + "fmt" + "mime/multipart" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + "github.com/qiniu/api.v7/v7/auth/qbox" + "github.com/qiniu/api.v7/v7/storage" + "go.uber.org/zap" +) + +type Qiniu struct{} + +//@author: [piexlmax](https://github.com/piexlmax) +//@author: [ccfish86](https://github.com/ccfish86) +//@author: [SliverHorn](https://github.com/SliverHorn) +//@object: *Qiniu +//@function: UploadFile +//@description: 上传文件 +//@param: file *multipart.FileHeader +//@return: string, string, error + +func (*Qiniu) UploadFile(file *multipart.FileHeader) (string, string, error) { + putPolicy := storage.PutPolicy{Scope: global.GVA_CONFIG.Qiniu.Bucket} + mac := qbox.NewMac(global.GVA_CONFIG.Qiniu.AccessKey, global.GVA_CONFIG.Qiniu.SecretKey) + upToken := putPolicy.UploadToken(mac) + cfg := qiniuConfig() + formUploader := storage.NewFormUploader(cfg) + ret := storage.PutRet{} + putExtra := storage.PutExtra{Params: map[string]string{"x:name": "github logo"}} + + f, openError := file.Open() + if openError != nil { + global.GVA_LOG.Error("function file.Open() failed", zap.Any("err", openError.Error())) + + return "", "", errors.New("function file.Open() failed, err:" + openError.Error()) + } + defer f.Close() // 创建文件 defer 关闭 + fileKey := fmt.Sprintf("%d%s", time.Now().Unix(), file.Filename) // 文件名格式 自己可以改 建议保证唯一性 + putErr := formUploader.Put(context.Background(), &ret, upToken, fileKey, f, file.Size, &putExtra) + if putErr != nil { + global.GVA_LOG.Error("function formUploader.Put() failed", zap.Any("err", putErr.Error())) + return "", "", errors.New("function formUploader.Put() failed, err:" + putErr.Error()) + } + return global.GVA_CONFIG.Qiniu.ImgPath + "/" + ret.Key, ret.Key, nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@author: [ccfish86](https://github.com/ccfish86) +//@author: [SliverHorn](https://github.com/SliverHorn) +//@object: *Qiniu +//@function: DeleteFile +//@description: 删除文件 +//@param: key string +//@return: error + +func (*Qiniu) DeleteFile(key string) error { + mac := qbox.NewMac(global.GVA_CONFIG.Qiniu.AccessKey, global.GVA_CONFIG.Qiniu.SecretKey) + cfg := qiniuConfig() + bucketManager := storage.NewBucketManager(mac, cfg) + if err := bucketManager.Delete(global.GVA_CONFIG.Qiniu.Bucket, key); err != nil { + global.GVA_LOG.Error("function bucketManager.Delete() failed", zap.Any("err", err.Error())) + return errors.New("function bucketManager.Delete() failed, err:" + err.Error()) + } + return nil +} + +//@author: [SliverHorn](https://github.com/SliverHorn) +//@object: *Qiniu +//@function: qiniuConfig +//@description: 根据配置文件进行返回七牛云的配置 +//@return: *storage.Config + +func qiniuConfig() *storage.Config { + cfg := storage.Config{ + UseHTTPS: global.GVA_CONFIG.Qiniu.UseHTTPS, + UseCdnDomains: global.GVA_CONFIG.Qiniu.UseCdnDomains, + } + switch global.GVA_CONFIG.Qiniu.Zone { // 根据配置文件进行初始化空间对应的机房 + case "ZoneHuadong": + cfg.Zone = &storage.ZoneHuadong + case "ZoneHuabei": + cfg.Zone = &storage.ZoneHuabei + case "ZoneHuanan": + cfg.Zone = &storage.ZoneHuanan + case "ZoneBeimei": + cfg.Zone = &storage.ZoneBeimei + case "ZoneXinjiapo": + cfg.Zone = &storage.ZoneXinjiapo + } + return &cfg +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/tencent_cos.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/tencent_cos.go new file mode 100644 index 000000000..efb99d894 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/tencent_cos.go @@ -0,0 +1,61 @@ +package upload + +import ( + "context" + "errors" + "fmt" + "mime/multipart" + "net/http" + "net/url" + "time" + + "github.com/flipped-aurora/gin-vue-admin/server/global" + + "github.com/tencentyun/cos-go-sdk-v5" + "go.uber.org/zap" +) + +type TencentCOS struct{} + +// UploadFile upload file to COS +func (*TencentCOS) UploadFile(file *multipart.FileHeader) (string, string, error) { + client := NewClient() + f, openError := file.Open() + if openError != nil { + global.GVA_LOG.Error("function file.Open() failed", zap.Any("err", openError.Error())) + return "", "", errors.New("function file.Open() failed, err:" + openError.Error()) + } + defer f.Close() // 创建文件 defer 关闭 + fileKey := fmt.Sprintf("%d%s", time.Now().Unix(), file.Filename) + + _, err := client.Object.Put(context.Background(), global.GVA_CONFIG.TencentCOS.PathPrefix+"/"+fileKey, f, nil) + if err != nil { + panic(err) + } + return global.GVA_CONFIG.TencentCOS.BaseURL + "/" + global.GVA_CONFIG.TencentCOS.PathPrefix + "/" + fileKey, fileKey, nil +} + +// DeleteFile delete file form COS +func (*TencentCOS) DeleteFile(key string) error { + client := NewClient() + name := global.GVA_CONFIG.TencentCOS.PathPrefix + "/" + key + _, err := client.Object.Delete(context.Background(), name) + if err != nil { + global.GVA_LOG.Error("function bucketManager.Delete() failed", zap.Any("err", err.Error())) + return errors.New("function bucketManager.Delete() failed, err:" + err.Error()) + } + return nil +} + +// NewClient init COS client +func NewClient() *cos.Client { + urlStr, _ := url.Parse("https://" + global.GVA_CONFIG.TencentCOS.Bucket + ".cos." + global.GVA_CONFIG.TencentCOS.Region + ".myqcloud.com") + baseURL := &cos.BaseURL{BucketURL: urlStr} + client := cos.NewClient(baseURL, &http.Client{ + Transport: &cos.AuthorizationTransport{ + SecretID: global.GVA_CONFIG.TencentCOS.SecretID, + SecretKey: global.GVA_CONFIG.TencentCOS.SecretKey, + }, + }) + return client +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/upload.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/upload.go new file mode 100644 index 000000000..1bba37653 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/upload/upload.go @@ -0,0 +1,35 @@ +package upload + +import ( + "mime/multipart" + + "github.com/flipped-aurora/gin-vue-admin/server/global" +) + +// Author [SliverHorn](https://github.com/SliverHorn) +// Author [ccfish86](https://github.com/ccfish86) +type OSS interface { + UploadFile(file *multipart.FileHeader) (string, string, string, error) + DeleteFile(key string) error +} + +// Author [SliverHorn](https://github.com/SliverHorn) +// Author [ccfish86](https://github.com/ccfish86) +func NewOss() OSS { + switch global.GVA_CONFIG.System.OssType { + case "local": + return &Local{} + /*case "qiniu": + return &Qiniu{} + case "tencent-cos": + return &TencentCOS{} + case "aliyun-oss": + return &AliyunOSS{} + case "huawei-obs": + return HuaWeiObs + case "aws-s3": + return &AwsS3{}*/ + default: + return &Local{} + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/validator.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/validator.go new file mode 100644 index 000000000..a56dac030 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/validator.go @@ -0,0 +1,294 @@ +package utils + +import ( + "errors" + "reflect" + "regexp" + "strconv" + "strings" +) + +type Rules map[string][]string + +type RulesMap map[string]Rules + +var CustomizeMap = make(map[string]Rules) + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: RegisterRule +//@description: 注册自定义规则方案建议在路由初始化层即注册 +//@param: key string, rule Rules +//@return: err error + +func RegisterRule(key string, rule Rules) (err error) { + if CustomizeMap[key] != nil { + return errors.New(key + "已注册,无法重复注册") + } else { + CustomizeMap[key] = rule + return nil + } +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: NotEmpty +//@description: 非空 不能为其对应类型的0值 +//@return: string + +func NotEmpty() string { + return "notEmpty" +} + +// @author: [zooqkl](https://github.com/zooqkl) +// @function: RegexpMatch +// @description: 正则校验 校验输入项是否满足正则表达式 +// @param: rule string +// @return: string + +func RegexpMatch(rule string) string { + return "regexp=" + rule +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Lt +//@description: 小于入参(<) 如果为string array Slice则为长度比较 如果是 int uint float 则为数值比较 +//@param: mark string +//@return: string + +func Lt(mark string) string { + return "lt=" + mark +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Le +//@description: 小于等于入参(<=) 如果为string array Slice则为长度比较 如果是 int uint float 则为数值比较 +//@param: mark string +//@return: string + +func Le(mark string) string { + return "le=" + mark +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Eq +//@description: 等于入参(==) 如果为string array Slice则为长度比较 如果是 int uint float 则为数值比较 +//@param: mark string +//@return: string + +func Eq(mark string) string { + return "eq=" + mark +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Ne +//@description: 不等于入参(!=) 如果为string array Slice则为长度比较 如果是 int uint float 则为数值比较 +//@param: mark string +//@return: string + +func Ne(mark string) string { + return "ne=" + mark +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Ge +//@description: 大于等于入参(>=) 如果为string array Slice则为长度比较 如果是 int uint float 则为数值比较 +//@param: mark string +//@return: string + +func Ge(mark string) string { + return "ge=" + mark +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Gt +//@description: 大于入参(>) 如果为string array Slice则为长度比较 如果是 int uint float 则为数值比较 +//@param: mark string +//@return: string + +func Gt(mark string) string { + return "gt=" + mark +} + +// +//@author: [piexlmax](https://github.com/piexlmax) +//@function: Verify +//@description: 校验方法 +//@param: st interface{}, roleMap Rules(入参实例,规则map) +//@return: err error + +func Verify(st interface{}, roleMap Rules) (err error) { + compareMap := map[string]bool{ + "lt": true, + "le": true, + "eq": true, + "ne": true, + "ge": true, + "gt": true, + } + + typ := reflect.TypeOf(st) + val := reflect.ValueOf(st) // 获取reflect.Type类型 + + kd := val.Kind() // 获取到st对应的类别 + if kd != reflect.Struct { + return errors.New("expect struct") + } + num := val.NumField() + // 遍历结构体的所有字段 + for i := 0; i < num; i++ { + tagVal := typ.Field(i) + val := val.Field(i) + if tagVal.Type.Kind() == reflect.Struct { + if err = Verify(val.Interface(), roleMap); err != nil { + return err + } + } + if len(roleMap[tagVal.Name]) > 0 { + for _, v := range roleMap[tagVal.Name] { + switch { + case v == "notEmpty": + if isBlank(val) { + return errors.New(tagVal.Name + "值不能为空") + } + case strings.Split(v, "=")[0] == "regexp": + if !regexpMatch(strings.Split(v, "=")[1], val.String()) { + return errors.New(tagVal.Name + "格式校验不通过") + } + case compareMap[strings.Split(v, "=")[0]]: + if !compareVerify(val, v) { + return errors.New(tagVal.Name + "长度或值不在合法范围," + v) + } + } + } + } + } + return nil +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: compareVerify +//@description: 长度和数字的校验方法 根据类型自动校验 +//@param: value reflect.Value, VerifyStr string +//@return: bool + +func compareVerify(value reflect.Value, VerifyStr string) bool { + switch value.Kind() { + case reflect.String: + return compare(len([]rune(value.String())), VerifyStr) + case reflect.Slice, reflect.Array: + return compare(value.Len(), VerifyStr) + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: + return compare(value.Uint(), VerifyStr) + case reflect.Float32, reflect.Float64: + return compare(value.Float(), VerifyStr) + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + return compare(value.Int(), VerifyStr) + default: + return false + } +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: isBlank +//@description: 非空校验 +//@param: value reflect.Value +//@return: bool + +func isBlank(value reflect.Value) bool { + switch value.Kind() { + case reflect.String, reflect.Slice: + return value.Len() == 0 + case reflect.Bool: + return !value.Bool() + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + return value.Int() == 0 + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: + return value.Uint() == 0 + case reflect.Float32, reflect.Float64: + return value.Float() == 0 + case reflect.Interface, reflect.Ptr: + return value.IsNil() + } + return reflect.DeepEqual(value.Interface(), reflect.Zero(value.Type()).Interface()) +} + +//@author: [piexlmax](https://github.com/piexlmax) +//@function: compare +//@description: 比较函数 +//@param: value interface{}, VerifyStr string +//@return: bool + +func compare(value interface{}, VerifyStr string) bool { + VerifyStrArr := strings.Split(VerifyStr, "=") + val := reflect.ValueOf(value) + switch val.Kind() { + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + VInt, VErr := strconv.ParseInt(VerifyStrArr[1], 10, 64) + if VErr != nil { + return false + } + switch { + case VerifyStrArr[0] == "lt": + return val.Int() < VInt + case VerifyStrArr[0] == "le": + return val.Int() <= VInt + case VerifyStrArr[0] == "eq": + return val.Int() == VInt + case VerifyStrArr[0] == "ne": + return val.Int() != VInt + case VerifyStrArr[0] == "ge": + return val.Int() >= VInt + case VerifyStrArr[0] == "gt": + return val.Int() > VInt + default: + return false + } + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: + VInt, VErr := strconv.Atoi(VerifyStrArr[1]) + if VErr != nil { + return false + } + switch { + case VerifyStrArr[0] == "lt": + return val.Uint() < uint64(VInt) + case VerifyStrArr[0] == "le": + return val.Uint() <= uint64(VInt) + case VerifyStrArr[0] == "eq": + return val.Uint() == uint64(VInt) + case VerifyStrArr[0] == "ne": + return val.Uint() != uint64(VInt) + case VerifyStrArr[0] == "ge": + return val.Uint() >= uint64(VInt) + case VerifyStrArr[0] == "gt": + return val.Uint() > uint64(VInt) + default: + return false + } + case reflect.Float32, reflect.Float64: + VFloat, VErr := strconv.ParseFloat(VerifyStrArr[1], 64) + if VErr != nil { + return false + } + switch { + case VerifyStrArr[0] == "lt": + return val.Float() < VFloat + case VerifyStrArr[0] == "le": + return val.Float() <= VFloat + case VerifyStrArr[0] == "eq": + return val.Float() == VFloat + case VerifyStrArr[0] == "ne": + return val.Float() != VFloat + case VerifyStrArr[0] == "ge": + return val.Float() >= VFloat + case VerifyStrArr[0] == "gt": + return val.Float() > VFloat + default: + return false + } + default: + return false + } +} + +func regexpMatch(rule, matchStr string) bool { + return regexp.MustCompile(rule).MatchString(matchStr) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/validator_test.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/validator_test.go new file mode 100644 index 000000000..bdacb8b35 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/validator_test.go @@ -0,0 +1,37 @@ +package utils + +import ( + "github.com/flipped-aurora/gin-vue-admin/server/model/common/request" + "testing" +) + +type PageInfoTest struct { + PageInfo request.PageInfo + Name string +} + +func TestVerify(t *testing.T) { + PageInfoVerify := Rules{"Page": {NotEmpty()}, "PageSize": {NotEmpty()}, "Name": {NotEmpty()}} + var testInfo PageInfoTest + testInfo.Name = "test" + testInfo.PageInfo.Page = 0 + testInfo.PageInfo.PageSize = 0 + err := Verify(testInfo, PageInfoVerify) + if err == nil { + t.Error("校验失败,未能捕捉0值") + } + testInfo.Name = "" + testInfo.PageInfo.Page = 1 + testInfo.PageInfo.PageSize = 10 + err = Verify(testInfo, PageInfoVerify) + if err == nil { + t.Error("校验失败,未能正常检测name为空") + } + testInfo.Name = "test" + testInfo.PageInfo.Page = 1 + testInfo.PageInfo.PageSize = 10 + err = Verify(testInfo, PageInfoVerify) + if err != nil { + t.Error("校验失败,未能正常通过检测") + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/verify.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/verify.go new file mode 100644 index 000000000..363336008 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/verify.go @@ -0,0 +1,19 @@ +package utils + +var ( + IdVerify = Rules{"ID": []string{NotEmpty()}} + ApiVerify = Rules{"Path": {NotEmpty()}, "Description": {NotEmpty()}, "ApiGroup": {NotEmpty()}, "Method": {NotEmpty()}} + MenuVerify = Rules{"Path": {NotEmpty()}, "ParentId": {NotEmpty()}, "Name": {NotEmpty()}, "Component": {NotEmpty()}, "Sort": {Ge("0")}} + MenuMetaVerify = Rules{"Title": {NotEmpty()}} + LoginVerify = Rules{"CaptchaId": {NotEmpty()}, "Username": {NotEmpty()}, "Password": {NotEmpty()}} + RegisterVerify = Rules{"Username": {NotEmpty()}, "NickName": {NotEmpty()}, "Password": {NotEmpty()}, "AuthorityId": {NotEmpty()}} + PageInfoVerify = Rules{"Page": {NotEmpty()}, "PageSize": {NotEmpty()}} + CustomerVerify = Rules{"CustomerName": {NotEmpty()}, "CustomerPhoneData": {NotEmpty()}} + AutoCodeVerify = Rules{"Abbreviation": {NotEmpty()}, "StructName": {NotEmpty()}, "PackageName": {NotEmpty()}, "Fields": {NotEmpty()}} + AutoPackageVerify = Rules{"PackageName": {NotEmpty()}} + AuthorityVerify = Rules{"AuthorityId": {NotEmpty()}, "AuthorityName": {NotEmpty()}} + AuthorityIdVerify = Rules{"AuthorityId": {NotEmpty()}} + OldAuthorityVerify = Rules{"OldAuthorityId": {NotEmpty()}} + ChangePasswordVerify = Rules{"Password": {NotEmpty()}, "NewPassword": {NotEmpty()}} + SetUserAuthorityVerify = Rules{"AuthorityId": {NotEmpty()}} +) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/zip.go b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/zip.go new file mode 100644 index 000000000..e0075f400 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/server/utils/zip.go @@ -0,0 +1,110 @@ +package utils + +import ( + "archive/zip" + "fmt" + "io" + "os" + "path/filepath" + "strings" +) + +// 解压 +func Unzip(zipFile string, destDir string) ([]string, error) { + zipReader, err := zip.OpenReader(zipFile) + var paths []string + if err != nil { + return []string{}, err + } + defer zipReader.Close() + + for _, f := range zipReader.File { + if strings.Index(f.Name, "..") > -1 { + return []string{}, fmt.Errorf("%s 文件名不合法", f.Name) + } + fpath := filepath.Join(destDir, f.Name) + paths = append(paths, fpath) + if f.FileInfo().IsDir() { + os.MkdirAll(fpath, os.ModePerm) + } else { + if err = os.MkdirAll(filepath.Dir(fpath), os.ModePerm); err != nil { + return []string{}, err + } + + inFile, err := f.Open() + if err != nil { + return []string{}, err + } + defer inFile.Close() + + outFile, err := os.OpenFile(fpath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, f.Mode()) + if err != nil { + return []string{}, err + } + defer outFile.Close() + + _, err = io.Copy(outFile, inFile) + if err != nil { + return []string{}, err + } + } + } + return paths, nil +} + +func ZipFiles(filename string, files []string, oldForm, newForm string) error { + newZipFile, err := os.Create(filename) + if err != nil { + return err + } + defer func() { + _ = newZipFile.Close() + }() + + zipWriter := zip.NewWriter(newZipFile) + defer func() { + _ = zipWriter.Close() + }() + + // 把files添加到zip中 + for _, file := range files { + + err = func(file string) error { + zipFile, err := os.Open(file) + if err != nil { + return err + } + defer zipFile.Close() + // 获取file的基础信息 + info, err := zipFile.Stat() + if err != nil { + return err + } + + header, err := zip.FileInfoHeader(info) + if err != nil { + return err + } + + // 使用上面的FileInforHeader() 就可以把文件保存的路径替换成我们自己想要的了,如下面 + header.Name = strings.Replace(file, oldForm, newForm, -1) + + // 优化压缩 + // 更多参考see http://golang.org/pkg/archive/zip/#pkg-constants + header.Method = zip.Deflate + + writer, err := zipWriter.CreateHeader(header) + if err != nil { + return err + } + if _, err = io.Copy(writer, zipFile); err != nil { + return err + } + return nil + }(file) + if err != nil { + return err + } + } + return nil +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.docker-compose/nginx/conf.d/my.conf b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.docker-compose/nginx/conf.d/my.conf new file mode 100644 index 000000000..9a1685dee --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.docker-compose/nginx/conf.d/my.conf @@ -0,0 +1,26 @@ +server { + listen 8080; + server_name localhost; + + #charset koi8-r; + #access_log logs/host.access.log main; + + location / { + root /usr/share/nginx/html; + add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; + try_files $uri $uri/ /index.html; + } + + location /api { + proxy_set_header Host $http_host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + rewrite ^/api/(.*)$ /$1 break; #重写 + proxy_pass http://177.7.0.12:8888; # 设置代理服务器的协议和地址 + } + + location /api/swagger/index.html { + proxy_pass http://127.0.0.1:8888/swagger/index.html; + } + } \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.docker-compose/nginx/conf.d/nginx.conf b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.docker-compose/nginx/conf.d/nginx.conf new file mode 100644 index 000000000..29f68b81f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.docker-compose/nginx/conf.d/nginx.conf @@ -0,0 +1,32 @@ +server { + listen 80; + server_name localhost; + + #charset koi8-r; + #access_log logs/host.access.log main; + + location / { + root /usr/share/nginx/html/dist; + add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; + try_files $uri $uri/ /index.html; + } + + location /api { + proxy_set_header Host $http_host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + rewrite ^/api/(.*)$ /$1 break; #重写 + proxy_pass http://127.0.0.1:8888; # 设置代理服务器的协议和地址 + } + location /form-generator { + proxy_set_header Host $http_host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://127.0.0.1:8888; + } + location /api/swagger/index.html { + proxy_pass http://127.0.0.1:8888/swagger/index.html; + } + } \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.dockerignore b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.dockerignore new file mode 100644 index 000000000..40b878db5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.dockerignore @@ -0,0 +1 @@ +node_modules/ \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.env.development b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.env.development new file mode 100644 index 000000000..087722a28 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.env.development @@ -0,0 +1,13 @@ +ENV = 'development' +VITE_CLI_PORT = 8080 +VITE_SERVER_PORT = 8888 +VITE_BASE_API = /api +VITE_AIGC_API = /sdapi +VITE_FILE_API = /api +VITE_BASE_PATH = http://127.0.0.1 +VITE_AIGC_PATH = http://10.129.43.117 +VITE_AIGC_PORT = 36669 +VITE_EDITOR = vscode +// VITE_EDITOR = webstorm 如果使用webstorm开发且要使用dom定位到代码行功能 请先自定添加 webstorm到环境变量 再将VITE_EDITOR值修改为webstorm +// 如果使用docker-compose开发模式,设置为下面的地址或本机主机IP +//VITE_BASE_PATH = http://177.7.0.12 \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.env.production b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.env.production new file mode 100644 index 000000000..eb9b98add --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.env.production @@ -0,0 +1,8 @@ +ENV = 'production' + +VITE_CLI_PORT = 8080 +VITE_SERVER_PORT = 8888 +VITE_BASE_API = /api +VITE_FILE_API = /api +#下方修改为你的线上ip +VITE_BASE_PATH = https://demo.gin-vue-admin.com \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.eslintignore b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.eslintignore new file mode 100644 index 000000000..e6529fc09 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.eslintignore @@ -0,0 +1,4 @@ +build/*.js +src/assets +public +dist diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.eslintrc.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.eslintrc.js new file mode 100644 index 000000000..4d84ecb93 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.eslintrc.js @@ -0,0 +1,256 @@ +module.exports = { + root: true, + parserOptions: { + parser: '@babel/eslint-parser', + sourceType: 'module' + }, + env: { + browser: true, + node: true, + es6: true + }, + extends: ['plugin:vue/recommended', 'eslint:recommended'], + rules: { + 'vue/no-v-model-argument': 0, + 'vue/max-attributes-per-line': 2, + 'vue/singleline-html-element-content-newline': 'off', + 'vue/multiline-html-element-content-newline': 'off', + 'vue/multi-word-component-names': 'off', + 'vue/no-v-html': 'off', + 'accessor-pairs': 2, + 'arrow-spacing': [ + 2, + { + before: true, + after: true + } + ], + 'block-spacing': [2, 'always'], + 'brace-style': [ + 2, + '1tbs', + { + allowSingleLine: true + } + ], + camelcase: [ + 0, + { + properties: 'always' + } + ], + 'comma-dangle': [2, 'only-multiline'], + 'comma-spacing': [ + 2, + { + before: false, + after: true + } + ], + 'comma-style': [2, 'last'], + 'constructor-super': 2, + curly: [2, 'multi-line'], + 'dot-location': [2, 'property'], + 'eol-last': 2, + eqeqeq: ['error', 'always', { null: 'ignore' }], + 'generator-star-spacing': [ + 2, + { + before: true, + after: true + } + ], + 'handle-callback-err': [2, '^(err|error)$'], + indent: [ + 2, + 2, + { + SwitchCase: 1 + } + ], + 'jsx-quotes': [2, 'prefer-single'], + 'key-spacing': [ + 2, + { + beforeColon: false, + afterColon: true + } + ], + 'keyword-spacing': [ + 2, + { + before: true, + after: true + } + ], + 'new-cap': [ + 2, + { + newIsCap: true, + capIsNew: false + } + ], + 'new-parens': 2, + 'no-array-constructor': 2, + 'no-caller': 2, + 'no-console': 'off', + 'no-class-assign': 2, + 'no-cond-assign': 2, + 'no-const-assign': 2, + 'no-control-regex': 0, + 'no-delete-var': 2, + 'no-dupe-args': 2, + 'no-dupe-class-members': 2, + 'no-dupe-keys': 2, + 'no-duplicate-case': 2, + 'no-empty-character-class': 2, + 'no-empty-pattern': 2, + 'no-eval': 2, + 'no-ex-assign': 2, + 'no-extend-native': 2, + 'no-extra-bind': 2, + 'no-extra-boolean-cast': 2, + 'no-extra-parens': [2, 'functions'], + 'no-fallthrough': 2, + 'no-floating-decimal': 2, + 'no-func-assign': 2, + 'no-implied-eval': 2, + 'no-inner-declarations': [2, 'functions'], + 'no-invalid-regexp': 2, + 'no-irregular-whitespace': 2, + 'no-iterator': 2, + 'no-label-var': 2, + 'no-labels': [ + 2, + { + allowLoop: false, + allowSwitch: false + } + ], + 'no-lone-blocks': 2, + 'no-mixed-spaces-and-tabs': 2, + 'no-multi-spaces': 2, + 'no-multi-str': 2, + 'no-multiple-empty-lines': [ + 2, + { + max: 1 + } + ], + 'no-native-reassign': 2, + 'no-negated-in-lhs': 2, + 'no-new-object': 2, + 'no-new-require': 2, + 'no-new-symbol': 2, + 'no-new-wrappers': 2, + 'no-obj-calls': 2, + 'no-octal': 2, + 'no-octal-escape': 2, + 'no-path-concat': 2, + 'no-proto': 2, + 'no-redeclare': 2, + 'no-regex-spaces': 2, + 'no-return-assign': [2, 'except-parens'], + 'no-self-assign': 2, + 'no-self-compare': 2, + 'no-sequences': 2, + 'no-shadow-restricted-names': 2, + 'no-spaced-func': 2, + 'no-sparse-arrays': 2, + 'no-this-before-super': 2, + 'no-throw-literal': 2, + 'no-trailing-spaces': 2, + 'no-undef': 'off', + 'no-undef-init': 2, + 'no-unexpected-multiline': 2, + 'no-unmodified-loop-condition': 2, + 'no-unneeded-ternary': [ + 2, + { + defaultAssignment: false + } + ], + 'no-unreachable': 2, + 'no-unsafe-finally': 2, + 'no-unused-vars': [ + 2, + { + vars: 'all', + args: 'none' + } + ], + 'no-useless-call': 2, + 'no-useless-computed-key': 2, + 'no-useless-constructor': 2, + 'no-useless-escape': 0, + 'no-whitespace-before-property': 2, + 'no-with': 2, + 'one-var': [ + 2, + { + initialized: 'never' + } + ], + 'operator-linebreak': [ + 2, + 'after', + { + overrides: { + '?': 'before', + ':': 'before' + } + } + ], + 'padded-blocks': [2, 'never'], + quotes: [ + 2, + 'single', + { + avoidEscape: true, + allowTemplateLiterals: true + } + ], + semi: [2, 'never'], + 'semi-spacing': [ + 2, + { + before: false, + after: true + } + ], + 'space-before-blocks': [2, 'always'], + 'space-before-function-paren': [2, 'never'], + 'space-in-parens': [2, 'never'], + 'space-infix-ops': 2, + 'space-unary-ops': [ + 2, + { + words: true, + nonwords: false + } + ], + 'spaced-comment': [ + 2, + 'always', + { + markers: ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ','] + } + ], + 'template-curly-spacing': [2, 'never'], + 'use-isnan': 2, + 'valid-typeof': 2, + 'wrap-iife': [2, 'any'], + 'yield-star-spacing': [2, 'both'], + yoda: [2, 'never'], + 'prefer-const': 2, + 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, + 'object-curly-spacing': [ + 2, + 'always', + { + objectsInObjects: false + } + ], + 'array-bracket-spacing': [2, 'never'] + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.gitignore b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.gitignore new file mode 100644 index 000000000..27b5fda73 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.gitignore @@ -0,0 +1,3 @@ +node_modules/* +package-lock.json +yarn.lock \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/.gitignore b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/.gitignore new file mode 100644 index 000000000..a7cdac76c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/inspectionProfiles/Project_Default.xml b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 000000000..222e45f0f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/jpa-buddy.xml b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/jpa-buddy.xml new file mode 100644 index 000000000..47c93ec9c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/jpa-buddy.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/misc.xml b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/misc.xml new file mode 100644 index 000000000..9959775d6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/modules.xml b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/modules.xml new file mode 100644 index 000000000..9b7a77381 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/web.iml b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/web.iml new file mode 100644 index 000000000..18ec59dd7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/.idea/web.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/9731de4ace659277dcd275bf3d61a8f.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/9731de4ace659277dcd275bf3d61a8f.png new file mode 100644 index 000000000..883937c41 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/9731de4ace659277dcd275bf3d61a8f.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/Dockerfile b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/Dockerfile new file mode 100644 index 000000000..31f329ce7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/Dockerfile @@ -0,0 +1,15 @@ +FROM node:16 + +WORKDIR /gva_web/ +COPY . . + +RUN yarn && yarn build + +FROM nginx:alpine +LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com" + +COPY .docker-compose/nginx/conf.d/my.conf /etc/nginx/conf.d/my.conf +COPY --from=0 /gva_web/dist /usr/share/nginx/html +RUN cat /etc/nginx/nginx.conf +RUN cat /etc/nginx/conf.d/my.conf +RUN ls -al /usr/share/nginx/html diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/README.md b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/README.md new file mode 100644 index 000000000..2e882ae9b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/README.md @@ -0,0 +1,101 @@ +# gin-vue-admin web + +## Project setup +``` +npm install +``` + +### Compiles and hot-reloads for development +``` +npm run serve +``` + +### Compiles and minifies for production +``` +npm run build +``` + +### Run your tests +``` +npm run test +``` + +### Lints and fixes files +``` +npm run lint +``` + + +整理代码结构 +``` lua +web + ├── babel.config.js + ├── Dockerfile + ├── favicon.ico + ├── index.html -- 主页面 + ├── limit.js -- 助手代码 + ├── package.json -- 包管理器代码 + ├── src -- 源代码 + │ ├── api -- api 组 + │ ├── App.vue -- 主页面 + │ ├── assets -- 静态资源 + │ ├── components -- 全局组件 + │ ├── core -- gva 组件包 + │ │ ├── config.js -- gva网站配置文件 + │ │ ├── gin-vue-admin.js -- 注册欢迎文件 + │ │ └── global.js -- 统一导入文件 + │ ├── directive -- v-auth 注册文件 + │ ├── main.js -- 主文件 + │ ├── permission.js -- 路由中间件 + │ ├── pinia -- pinia 状态管理器,取代vuex + │ │ ├── index.js -- 入口文件 + │ │ └── modules -- modules + │ │ ├── dictionary.js + │ │ ├── router.js + │ │ └── user.js + │ ├── router -- 路由声明文件 + │ │ └── index.js + │ ├── style -- 全局样式 + │ │ ├── base.scss + │ │ ├── basics.scss + │ │ ├── element_visiable.scss -- 此处可以全局覆盖 element-plus 样式 + │ │ ├── iconfont.css -- 顶部几个icon的样式文件 + │ │ ├── main.scss + │ │ ├── mobile.scss + │ │ └── newLogin.scss + │ ├── utils -- 方法包库 + │ │ ├── asyncRouter.js -- 动态路由相关 + │ │ ├── bus.js -- 全局mitt声明文件 + │ │ ├── date.js -- 日期相关 + │ │ ├── dictionary.js -- 获取字典方法 + │ │ ├── downloadImg.js -- 下载图片方法 + │ │ ├── format.js -- 格式整理相关 + │ │ ├── image.js -- 图片相关方法 + │ │ ├── page.js -- 设置页面标题 + │ │ ├── request.js -- 请求 + │ │ └── stringFun.js -- 字符串文件 + | ├── view -- 主要view代码 + | | ├── about -- 关于我们 + | | ├── dashboard -- 面板 + | | ├── error -- 错误 + | | ├── example --上传案例 + | | ├── iconList -- icon列表 + | | ├── init -- 初始化数据 + | | | ├── index -- 新版本 + | | | ├── init -- 旧版本 + | | ├── layout -- layout约束页面 + | | | ├── aside + | | | ├── bottomInfo -- bottomInfo + | | | ├── screenfull -- 全屏设置 + | | | ├── setting -- 系统设置 + | | | └── index.vue -- base 约束 + | | ├── login --登录 + | | ├── person --个人中心 + | | ├── superAdmin -- 超级管理员操作 + | | ├── system -- 系统检测页面 + | | ├── systemTools -- 系统配置相关页面 + | | └── routerHolder.vue -- page 入口页面 + ├── vite.config.js -- vite 配置文件 + └── yarn.lock + +``` diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/babel.config.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/babel.config.js new file mode 100644 index 000000000..88029f087 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/babel.config.js @@ -0,0 +1,8 @@ +module.exports = { + presets: [ + + ], + 'plugins': [ + + ] +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0_Uint8Array-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0_Uint8Array-legacy.js new file mode 100644 index 000000000..07698573e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0_Uint8Array-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,e){"use strict";var r,n,o,c,a,i,u,b,s,f,p,j,y,_,h;return{setters:[function(t){r=t.bT,n=t.bR,o=t.bU,c=t.bV,a=t.bM,i=t.bW,u=t.bX,b=t.bc,s=t.bY,f=t.bZ,p=t.b_,j=t.b$,y=t.bO,_=t.bK,h=t.c0}],execute:function(){t({S:R,b:Y,c:B,d:function(t){return Y(t,C,X)},f:g,h:v,j:V,k:C,o:W,s:K});var l=r(n,"WeakMap");function v(t){return null!=t&&o(t.length)&&!c(t)}var d=Object.prototype;function g(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||d)}var A="object"==typeof t&&t&&!t.nodeType&&t,O=A&&"object"==typeof e&&e&&!e.nodeType&&e,w=O&&O.exports===A?n.Buffer:void 0,z=w?w.isBuffer:void 0,m=t("i",z||function(){return!1}),S={};function B(t){return function(e){return t(e)}}S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Arguments]"]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object Boolean]"]=S["[object DataView]"]=S["[object Date]"]=S["[object Error]"]=S["[object Function]"]=S["[object Map]"]=S["[object Number]"]=S["[object Object]"]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object WeakMap]"]=!1;var U="object"==typeof t&&t&&!t.nodeType&&t,M=U&&"object"==typeof e&&e&&!e.nodeType&&e,T=M&&M.exports===U&&u.process,k=function(){try{var t=M&&M.require&&M.require("util").types;return t||T&&T.binding&&T.binding("util")}catch(e){}}(),x=t("n",k),D=x&&x.isTypedArray,P=D?B(D):function(t){return a(t)&&o(t.length)&&!!S[i(t)]},E=t("e",P),I=Object.prototype.hasOwnProperty;function V(t,e){var r=b(t),n=!r&&s(t),o=!r&&!n&&m(t),c=!r&&!n&&!o&&E(t),a=r||n||o||c,i=a?function(t,e){for(var r=-1,n=Array(t);++rr.length)&&(t=r.length);for(var n=0,e=Array(t);n=r.length?{done:!0}:{done:!1,value:r[o++]}},e:function(r){throw r},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,l=!1;return{s:function(){e=e.call(r)},n:function(){var r=e.next();return u=r.done,r},e:function(r){l=!0,a=r},f:function(){try{u||null==e.return||e.return()}finally{if(l)throw a}}}}(e);try{for(a.s();!(o=a.n()).done;){var u=r(o.value,2),l=u[0],f=u[1];i[l]=f}}catch(c){a.e(c)}finally{a.f()}return i}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0_plugin-vue_export-helper.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0_plugin-vue_export-helper.js new file mode 100644 index 000000000..98cd14a44 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0_plugin-vue_export-helper.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +const o=(o,t)=>{const c=o.__vccOpts||o;for(const[s,n]of t)c[s]=n;return c};export{o as _}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api-legacy.js new file mode 100644 index 000000000..23de7d6f4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var t,n={},r=Object.prototype,a=r.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},l=u.iterator||"@@iterator",i=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var a=t&&t.prototype instanceof m?t:m,u=Object.create(a.prototype),l=new V(r||[]);return o(u,"_invoke",{value:k(e,n,l)}),u}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=f;var d="suspendedStart",v="suspendedYield",h="executing",y="completed",g={};function m(){}function b(){}function w(){}var E={};s(E,l,(function(){return this}));var B=Object.getPrototypeOf,j=B&&B(B(L([])));j&&j!==r&&a.call(j,l)&&(E=j);var x=w.prototype=m.prototype=Object.create(E);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(r,o,u,l){var i=p(e[r],e,o);if("throw"!==i.type){var c=i.arg,s=c.value;return s&&"object"==typeof s&&a.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,u,l)}),(function(e){n("throw",e,u,l)})):t.resolve(s).then((function(e){c.value=e,u(c)}),(function(e){return n("throw",e,u,l)}))}l(i.arg)}var r;o(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,r){n(e,a,t,r)}))}return r=r?r.then(o,o):o()}})}function k(e,n,r){var a=d;return function(o,u){if(a===h)throw Error("Generator is already running");if(a===y){if("throw"===o)throw u;return{value:t,done:!0}}for(r.method=o,r.arg=u;;){var l=r.delegate;if(l){var i=A(l,r);if(i){if(i===g)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=h;var c=p(e,n,r);if("normal"===c.type){if(a=r.done?y:v,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=y,r.method="throw",r.arg=c.arg)}}}function A(e,n){var r=n.method,a=e.iterator[r];if(a===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=p(a,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var u=o.arg;return u?u.done?(n[e.resultName]=u.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r=0;--o){var u=this.tryEntries[o],l=u.completion;if("root"===u.tryLoc)return r("end");if(u.tryLoc<=this.prev){var i=a.call(u,"catchLoc"),c=a.call(u,"finallyLoc");if(i&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;O(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},n}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n1&&$.value--,fe.value=!1,ce());case 5:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),de=a(!1),ve=function(){var t=o(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P();case 2:0===(n=e.sent).code&&m({type:"success",message:n.msg}),de.value=!1;case 5:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),he=a(null),ye=a("新增Api"),ge=a(!1),me=function(e){switch(e){case"addApi":ye.value="新增Api";break;case"edit":ye.value="编辑Api"}W.value=e,ge.value=!0},be=function(){he.value.resetFields(),z.value={path:"",apiGroup:"",method:"",description:""},ge.value=!1},we=function(){var t=o(e().mark((function t(n){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,G({id:n.ID});case 2:r=e.sent,z.value=r.data.api,me("edit");case 5:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ee=function(){var t=o(e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:he.value.validate(function(){var t=o(e().mark((function t(n){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=20;break}e.t0=W.value,e.next="addApi"===e.t0?4:"edit"===e.t0?11:18;break;case 4:return e.next=6,T(z.value);case 6:return 0===e.sent.code&&m({type:"success",message:"添加成功",showClose:!0}),ce(),be(),e.abrupt("break",20);case 11:return e.next=13,S(z.value);case 13:return 0===e.sent.code&&m({type:"success",message:"编辑成功",showClose:!0}),ce(),be(),e.abrupt("break",20);case 18:return m({type:"error",message:"未知操作",showClose:!0}),e.abrupt("break",20);case 20:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Be=function(){var t=o(e().mark((function t(n){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:b.confirm("此操作将永久删除所有角色下该api, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(o(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I(n);case 2:0===e.sent.code&&(m({type:"success",message:"删除成功!"}),1===ne.value.length&&$.value>1&&$.value--,ce());case 4:case"end":return e.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return function(e,t){var n=w,a=D,o=x,m=C,b=E,V=O,L=B,P=A,G=_,S=k,T=q,I=j;return u(),l("div",null,[i("div",K,[c(V,{ref:"searchForm",inline:!0,model:re.value},{default:s((function(){return[c(a,{label:"路径"},{default:s((function(){return[c(n,{modelValue:re.value.path,"onUpdate:modelValue":t[0]||(t[0]=function(e){return re.value.path=e}),placeholder:"路径"},null,8,["modelValue"])]})),_:1}),c(a,{label:"描述"},{default:s((function(){return[c(n,{modelValue:re.value.description,"onUpdate:modelValue":t[1]||(t[1]=function(e){return re.value.description=e}),placeholder:"描述"},null,8,["modelValue"])]})),_:1}),c(a,{label:"API组"},{default:s((function(){return[c(n,{modelValue:re.value.apiGroup,"onUpdate:modelValue":t[2]||(t[2]=function(e){return re.value.apiGroup=e}),placeholder:"api组"},null,8,["modelValue"])]})),_:1}),c(a,{label:"请求"},{default:s((function(){return[c(m,{modelValue:re.value.method,"onUpdate:modelValue":t[3]||(t[3]=function(e){return re.value.method=e}),clearable:"",placeholder:"请选择"},{default:s((function(){return[(u(!0),l(f,null,p(Q.value,(function(e){return u(),d(o,{key:e.value,label:"".concat(e.label,"(").concat(e.value,")"),value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),c(a,null,{default:s((function(){return[c(b,{type:"primary",icon:"search",onClick:oe},{default:s((function(){return t[17]||(t[17]=[v("查询")])})),_:1}),c(b,{icon:"refresh",onClick:ae},{default:s((function(){return t[18]||(t[18]=[v("重置")])})),_:1})]})),_:1})]})),_:1},8,["model"])]),i("div",Y,[i("div",H,[c(b,{type:"primary",icon:"plus",onClick:t[4]||(t[4]=function(e){return me("addApi")})},{default:s((function(){return t[19]||(t[19]=[v("新增")])})),_:1}),c(L,{class:"cursor-pointer",onClick:t[5]||(t[5]=function(e){return h(N)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=7&vd_source=f2640257c21e3b547a790461ed94875e")})},{default:s((function(){return[c(h(y))]})),_:1}),c(P,{modelValue:fe.value,"onUpdate:modelValue":t[8]||(t[8]=function(e){return fe.value=e}),placement:"top",width:"160"},{reference:s((function(){return[c(b,{icon:"delete",disabled:!r.value.length,onClick:t[7]||(t[7]=function(e){return fe.value=!0})},{default:s((function(){return t[22]||(t[22]=[v("删除")])})),_:1},8,["disabled"])]})),default:s((function(){return[t[23]||(t[23]=i("p",null,"确定要删除吗?",-1)),i("div",R,[c(b,{type:"primary",link:"",onClick:t[6]||(t[6]=function(e){return fe.value=!1})},{default:s((function(){return t[20]||(t[20]=[v("取消")])})),_:1}),c(b,{type:"primary",onClick:pe},{default:s((function(){return t[21]||(t[21]=[v("确定")])})),_:1})])]})),_:1},8,["modelValue"]),c(P,{modelValue:de.value,"onUpdate:modelValue":t[11]||(t[11]=function(e){return de.value=e}),placement:"top",width:"160"},{reference:s((function(){return[c(b,{icon:"Refresh",onClick:t[10]||(t[10]=function(e){return de.value=!0})},{default:s((function(){return t[26]||(t[26]=[v("刷新缓存")])})),_:1})]})),default:s((function(){return[t[27]||(t[27]=i("p",null,"确定要刷新Casbin缓存吗?",-1)),i("div",X,[c(b,{type:"primary",link:"",onClick:t[9]||(t[9]=function(e){return de.value=!1})},{default:s((function(){return t[24]||(t[24]=[v("取消")])})),_:1}),c(b,{type:"primary",onClick:ve},{default:s((function(){return t[25]||(t[25]=[v("确定")])})),_:1})])]})),_:1},8,["modelValue"])]),c(S,{data:ne.value,onSortChange:ie,onSelectionChange:se},{default:s((function(){return[c(G,{type:"selection",width:"55"}),c(G,{align:"left",label:"id","min-width":"60",prop:"ID",sortable:"custom"}),c(G,{align:"left",label:"API路径","min-width":"150",prop:"path",sortable:"custom"}),c(G,{align:"left",label:"API分组","min-width":"150",prop:"apiGroup",sortable:"custom"}),c(G,{align:"left",label:"API简介","min-width":"150",prop:"description",sortable:"custom"}),c(G,{align:"left",label:"请求","min-width":"150",prop:"method",sortable:"custom"},{default:s((function(e){return[i("div",null,g(e.row.method)+" / "+g((t=e.row.method,n=Q.value.filter((function(e){return e.value===t}))[0],n&&"".concat(n.label))),1)];var t,n})),_:1}),c(G,{align:"left",fixed:"right",label:"操作",width:"200"},{default:s((function(e){return[c(b,{icon:"edit",type:"primary",link:"",onClick:function(t){return we(e.row)}},{default:s((function(){return t[28]||(t[28]=[v("编辑")])})),_:2},1032,["onClick"]),c(b,{icon:"delete",type:"primary",link:"",onClick:function(t){return Be(e.row)}},{default:s((function(){return t[29]||(t[29]=[v("删除")])})),_:2},1032,["onClick"])]})),_:1})]})),_:1},8,["data"]),i("div",J,[c(T,{"current-page":$.value,"page-size":te.value,"page-sizes":[10,30,50,100],total:ee.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:le,onSizeChange:ue},null,8,["current-page","page-size","total"])])]),c(I,{modelValue:ge.value,"onUpdate:modelValue":t[16]||(t[16]=function(e){return ge.value=e}),"before-close":be,title:ye.value},{footer:s((function(){return[i("div",M,[c(b,{onClick:be},{default:s((function(){return t[30]||(t[30]=[v("取 消")])})),_:1}),c(b,{type:"primary",onClick:Ee},{default:s((function(){return t[31]||(t[31]=[v("确 定")])})),_:1})])]})),default:s((function(){return[c(F,{title:"新增API,需要在角色管理内配置权限才可使用"}),c(V,{ref_key:"apiForm",ref:he,model:z.value,rules:Z.value,"label-width":"80px"},{default:s((function(){return[c(a,{label:"路径",prop:"path"},{default:s((function(){return[c(n,{modelValue:z.value.path,"onUpdate:modelValue":t[12]||(t[12]=function(e){return z.value.path=e}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),c(a,{label:"请求",prop:"method"},{default:s((function(){return[c(m,{modelValue:z.value.method,"onUpdate:modelValue":t[13]||(t[13]=function(e){return z.value.method=e}),placeholder:"请选择",style:{width:"100%"}},{default:s((function(){return[(u(!0),l(f,null,p(Q.value,(function(e){return u(),d(o,{key:e.value,label:"".concat(e.label,"(").concat(e.value,")"),value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),c(a,{label:"api分组",prop:"apiGroup"},{default:s((function(){return[c(n,{modelValue:z.value.apiGroup,"onUpdate:modelValue":t[14]||(t[14]=function(e){return z.value.apiGroup=e}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),c(a,{label:"api简介",prop:"description"},{default:s((function(){return[c(n,{modelValue:z.value.description,"onUpdate:modelValue":t[15]||(t[15]=function(e){return z.value.description=e}),autocomplete:"off"},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])]})),_:1},8,["modelValue","title"])])}}});t("default",z(Q,[["__scopeId","data-v-1b9b1205"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api-legacy2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api-legacy2.js new file mode 100644 index 000000000..31d93ac43 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api-legacy2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,e){"use strict";var n;return{setters:[function(t){n=t.s}],execute:function(){t("g",(function(t){return n({url:"/api/getApiList",method:"post",data:t})})),t("c",(function(t){return n({url:"/api/createApi",method:"post",data:t})})),t("a",(function(t){return n({url:"/api/getApiById",method:"post",data:t})})),t("u",(function(t){return n({url:"/api/updateApi",method:"post",data:t})})),t("e",(function(t){return n({url:"/api/getAllApis",method:"post",data:t})})),t("b",(function(t){return n({url:"/api/deleteApi",method:"post",data:t})})),t("d",(function(t){return n({url:"/api/deleteApisByIds",method:"delete",data:t})})),t("f",(function(){return n({url:"/api/freshCasbin",method:"get"})}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api.css new file mode 100644 index 000000000..21317180f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.warning[data-v-1b9b1205]{color:#dc143c} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api.js new file mode 100644 index 000000000..e6153fc0f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,o as a,c as l,b as t,e as o,w as i,K as u,L as s,h as r,g as p,D as d,aX as n,t as m,j as c,T as v,k as f,E as g,H as B}from"./087AC4D233B64EB0index.js";import{E as b}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";/* empty css */import"./087AC4D233B64EB0tag.js";import{E as h,a as C}from"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as y,a as A}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css */import{E as _}from"./087AC4D233B64EB0popover.js";import{a as E,E as D}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{g as j,d as w,f as V,a as k,u as x,c as U,b as G}from"./087AC4D233B64EB0api2.js";import{t as I}from"./087AC4D233B64EB0stringFun.js";import{_ as T}from"./087AC4D233B64EB0warningBar.js";import{t as z}from"./087AC4D233B64EB0doc.js";import{_ as P}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{E as S}from"./087AC4D233B64EB0index25.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0dropdown.js";import"./087AC4D233B64EB0_baseClone.js";const q={class:"gva-search-box"},F={class:"gva-table-box"},O={class:"gva-btn-list"},K={style:{"text-align":"right","margin-top":"8px"}},L={style:{"text-align":"right","margin-top":"8px"}},H={class:"gva-pagination"},R={class:"dialog-footer"},X=P(Object.assign({name:"Api"},{__name:"api",setup(P){const X=e=>{const a=N.value.filter((a=>a.value===e))[0];return a&&"".concat(a.label)},J=e([]),M=e({path:"",apiGroup:"",method:"",description:""}),N=e([{value:"POST",label:"创建",type:"success"},{value:"GET",label:"查看",type:""},{value:"PUT",label:"更新",type:"warning"},{value:"DELETE",label:"删除",type:"danger"}]),Q=e(""),W=e({path:[{required:!0,message:"请输入api路径",trigger:"blur"}],apiGroup:[{required:!0,message:"请输入组名称",trigger:"blur"}],method:[{required:!0,message:"请选择请求方式",trigger:"blur"}],description:[{required:!0,message:"请输入api介绍",trigger:"blur"}]}),Y=e(1),Z=e(0),$=e(10),ee=e([]),ae=e({}),le=()=>{ae.value={}},te=()=>{Y.value=1,$.value=10,se()},oe=e=>{$.value=e,se()},ie=e=>{Y.value=e,se()},ue=({prop:e,order:a})=>{e&&("ID"===e&&(e="id"),ae.value.orderKey=I(e),ae.value.desc="descending"===a),se()},se=async()=>{const e=await j({page:Y.value,pageSize:$.value,...ae.value});0===e.code&&(ee.value=e.data.list,Z.value=e.data.total,Y.value=e.data.page,$.value=e.data.pageSize)};se();const re=e=>{J.value=e},pe=e(!1),de=async()=>{const e=J.value.map((e=>e.ID)),a=await w({ids:e});0===a.code&&(c({type:"success",message:a.msg}),ee.value.length===e.length&&Y.value>1&&Y.value--,pe.value=!1,se())},ne=e(!1),me=async()=>{const e=await V();0===e.code&&c({type:"success",message:e.msg}),ne.value=!1},ce=e(null),ve=e("新增Api"),fe=e(!1),ge=e=>{switch(e){case"addApi":ve.value="新增Api";break;case"edit":ve.value="编辑Api"}Q.value=e,fe.value=!0},Be=()=>{ce.value.resetFields(),M.value={path:"",apiGroup:"",method:"",description:""},fe.value=!1},be=async()=>{ce.value.validate((async e=>{if(e)switch(Q.value){case"addApi":0===(await U(M.value)).code&&c({type:"success",message:"添加成功",showClose:!0}),se(),Be();break;case"edit":0===(await x(M.value)).code&&c({type:"success",message:"编辑成功",showClose:!0}),se(),Be();break;default:c({type:"error",message:"未知操作",showClose:!0})}}))};return(e,j)=>{const w=f,V=E,x=h,U=C,I=g,P=D,Q=B,he=_,Ce=y,ye=A,Ae=S,_e=b;return a(),l("div",null,[t("div",q,[o(P,{ref:"searchForm",inline:!0,model:ae.value},{default:i((()=>[o(V,{label:"路径"},{default:i((()=>[o(w,{modelValue:ae.value.path,"onUpdate:modelValue":j[0]||(j[0]=e=>ae.value.path=e),placeholder:"路径"},null,8,["modelValue"])])),_:1}),o(V,{label:"描述"},{default:i((()=>[o(w,{modelValue:ae.value.description,"onUpdate:modelValue":j[1]||(j[1]=e=>ae.value.description=e),placeholder:"描述"},null,8,["modelValue"])])),_:1}),o(V,{label:"API组"},{default:i((()=>[o(w,{modelValue:ae.value.apiGroup,"onUpdate:modelValue":j[2]||(j[2]=e=>ae.value.apiGroup=e),placeholder:"api组"},null,8,["modelValue"])])),_:1}),o(V,{label:"请求"},{default:i((()=>[o(U,{modelValue:ae.value.method,"onUpdate:modelValue":j[3]||(j[3]=e=>ae.value.method=e),clearable:"",placeholder:"请选择"},{default:i((()=>[(a(!0),l(u,null,s(N.value,(e=>(a(),r(x,{key:e.value,label:"".concat(e.label,"(").concat(e.value,")"),value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),o(V,null,{default:i((()=>[o(I,{type:"primary",icon:"search",onClick:te},{default:i((()=>j[17]||(j[17]=[p("查询")]))),_:1}),o(I,{icon:"refresh",onClick:le},{default:i((()=>j[18]||(j[18]=[p("重置")]))),_:1})])),_:1})])),_:1},8,["model"])]),t("div",F,[t("div",O,[o(I,{type:"primary",icon:"plus",onClick:j[4]||(j[4]=e=>ge("addApi"))},{default:i((()=>j[19]||(j[19]=[p("新增")]))),_:1}),o(Q,{class:"cursor-pointer",onClick:j[5]||(j[5]=e=>d(z)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=7&vd_source=f2640257c21e3b547a790461ed94875e"))},{default:i((()=>[o(d(n))])),_:1}),o(he,{modelValue:pe.value,"onUpdate:modelValue":j[8]||(j[8]=e=>pe.value=e),placement:"top",width:"160"},{reference:i((()=>[o(I,{icon:"delete",disabled:!J.value.length,onClick:j[7]||(j[7]=e=>pe.value=!0)},{default:i((()=>j[22]||(j[22]=[p("删除")]))),_:1},8,["disabled"])])),default:i((()=>[j[23]||(j[23]=t("p",null,"确定要删除吗?",-1)),t("div",K,[o(I,{type:"primary",link:"",onClick:j[6]||(j[6]=e=>pe.value=!1)},{default:i((()=>j[20]||(j[20]=[p("取消")]))),_:1}),o(I,{type:"primary",onClick:de},{default:i((()=>j[21]||(j[21]=[p("确定")]))),_:1})])])),_:1},8,["modelValue"]),o(he,{modelValue:ne.value,"onUpdate:modelValue":j[11]||(j[11]=e=>ne.value=e),placement:"top",width:"160"},{reference:i((()=>[o(I,{icon:"Refresh",onClick:j[10]||(j[10]=e=>ne.value=!0)},{default:i((()=>j[26]||(j[26]=[p("刷新缓存")]))),_:1})])),default:i((()=>[j[27]||(j[27]=t("p",null,"确定要刷新Casbin缓存吗?",-1)),t("div",L,[o(I,{type:"primary",link:"",onClick:j[9]||(j[9]=e=>ne.value=!1)},{default:i((()=>j[24]||(j[24]=[p("取消")]))),_:1}),o(I,{type:"primary",onClick:me},{default:i((()=>j[25]||(j[25]=[p("确定")]))),_:1})])])),_:1},8,["modelValue"])]),o(ye,{data:ee.value,onSortChange:ue,onSelectionChange:re},{default:i((()=>[o(Ce,{type:"selection",width:"55"}),o(Ce,{align:"left",label:"id","min-width":"60",prop:"ID",sortable:"custom"}),o(Ce,{align:"left",label:"API路径","min-width":"150",prop:"path",sortable:"custom"}),o(Ce,{align:"left",label:"API分组","min-width":"150",prop:"apiGroup",sortable:"custom"}),o(Ce,{align:"left",label:"API简介","min-width":"150",prop:"description",sortable:"custom"}),o(Ce,{align:"left",label:"请求","min-width":"150",prop:"method",sortable:"custom"},{default:i((e=>[t("div",null,m(e.row.method)+" / "+m(X(e.row.method)),1)])),_:1}),o(Ce,{align:"left",fixed:"right",label:"操作",width:"200"},{default:i((e=>[o(I,{icon:"edit",type:"primary",link:"",onClick:a=>(async e=>{const a=await k({id:e.ID});M.value=a.data.api,ge("edit")})(e.row)},{default:i((()=>j[28]||(j[28]=[p("编辑")]))),_:2},1032,["onClick"]),o(I,{icon:"delete",type:"primary",link:"",onClick:a=>(async e=>{v.confirm("此操作将永久删除所有角色下该api, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{0===(await G(e)).code&&(c({type:"success",message:"删除成功!"}),1===ee.value.length&&Y.value>1&&Y.value--,se())}))})(e.row)},{default:i((()=>j[29]||(j[29]=[p("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"]),t("div",H,[o(Ae,{"current-page":Y.value,"page-size":$.value,"page-sizes":[10,30,50,100],total:Z.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:ie,onSizeChange:oe},null,8,["current-page","page-size","total"])])]),o(_e,{modelValue:fe.value,"onUpdate:modelValue":j[16]||(j[16]=e=>fe.value=e),"before-close":Be,title:ve.value},{footer:i((()=>[t("div",R,[o(I,{onClick:Be},{default:i((()=>j[30]||(j[30]=[p("取 消")]))),_:1}),o(I,{type:"primary",onClick:be},{default:i((()=>j[31]||(j[31]=[p("确 定")]))),_:1})])])),default:i((()=>[o(T,{title:"新增API,需要在角色管理内配置权限才可使用"}),o(P,{ref_key:"apiForm",ref:ce,model:M.value,rules:W.value,"label-width":"80px"},{default:i((()=>[o(V,{label:"路径",prop:"path"},{default:i((()=>[o(w,{modelValue:M.value.path,"onUpdate:modelValue":j[12]||(j[12]=e=>M.value.path=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),o(V,{label:"请求",prop:"method"},{default:i((()=>[o(U,{modelValue:M.value.method,"onUpdate:modelValue":j[13]||(j[13]=e=>M.value.method=e),placeholder:"请选择",style:{width:"100%"}},{default:i((()=>[(a(!0),l(u,null,s(N.value,(e=>(a(),r(x,{key:e.value,label:"".concat(e.label,"(").concat(e.value,")"),value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),o(V,{label:"api分组",prop:"apiGroup"},{default:i((()=>[o(w,{modelValue:M.value.apiGroup,"onUpdate:modelValue":j[14]||(j[14]=e=>M.value.apiGroup=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),o(V,{label:"api简介",prop:"description"},{default:i((()=>[o(w,{modelValue:M.value.description,"onUpdate:modelValue":j[15]||(j[15]=e=>M.value.description=e),autocomplete:"off"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1},8,["modelValue","title"])])}}}),[["__scopeId","data-v-1b9b1205"]]);export{X as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api2.js new file mode 100644 index 000000000..46be21b42 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0api2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as a}from"./087AC4D233B64EB0index.js";const t=t=>a({url:"/api/getApiList",method:"post",data:t}),e=t=>a({url:"/api/createApi",method:"post",data:t}),p=t=>a({url:"/api/getApiById",method:"post",data:t}),s=t=>a({url:"/api/updateApi",method:"post",data:t}),d=t=>a({url:"/api/getAllApis",method:"post",data:t}),i=t=>a({url:"/api/deleteApi",method:"post",data:t}),o=t=>a({url:"/api/deleteApisByIds",method:"delete",data:t}),l=()=>a({url:"/api/freshCasbin",method:"get"});export{p as a,i as b,e as c,o as d,d as e,l as f,t as g,s as u}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0apis-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0apis-legacy.js new file mode 100644 index 000000000..3b85d820a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0apis-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),u=new P(n||[]);return i(a,"_invoke",{value:O(t,r,u)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var p="suspendedStart",y="suspendedYield",v="executing",d="completed",g={};function m(){}function w(){}function b(){}var E={};s(E,u,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(D([])));j&&j!==n&&o.call(j,u)&&(E=j);var L=b.prototype=m.prototype=Object.create(E);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function B(t,e){function r(n,i,a,u){var c=h(t[n],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==typeof s&&o.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var n;i(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(i,i):i()}})}function O(e,r,n){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=_(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:y,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},r}function r(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function n(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,c,"next",t)}function c(t){r(a,o,i,u,c,"throw",t)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0tree-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0api-legacy2.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0index-legacy30.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js"],(function(r,o){"use strict";var i,a,u,c,l,s,f,h,p,y,v,d,g,m,w;return{setters:[function(t){i=t.s,a=t.a,u=t.X,c=t.o,l=t.c,s=t.b,f=t.e,h=t.w,p=t.g,y=t.j,v=t.k,d=t.E},function(t){g=t.E},function(t){m=t.E},null,null,null,function(t){w=t.e},null,null,null,null],execute:function(){var o={class:"sticky top-0.5 z-10 bg-white"},b={class:"tree-content"};r("default",Object.assign({name:"Apis"},{__name:"apis",props:{row:{default:function(){return{}},type:Object}},setup:function(r,E){var x=E.expose,j=r,L=a({children:"children",label:"description"}),k=a(""),B=a([]),O=a([]),_=a(""),A=function(){var t=n(e().mark((function t(){var r,n,o;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,w();case 2:return r=t.sent,n=r.data.apis,B.value=D(n),t.next=7,e={authorityId:j.row.authorityId},i({url:"/casbin/getPolicyPathByAuthorityId",method:"post",data:e});case 7:o=t.sent,_.value=j.row.authorityId,O.value=[],o.data.paths&&o.data.paths.forEach((function(t){O.value.push("p:"+t.path+"m:"+t.method)}));case 11:case"end":return t.stop()}var e}),t)})));return function(){return t.apply(this,arguments)}}();A();var C=a(!1),P=function(){C.value=!0},D=function(e){var r={};e&&e.forEach((function(e){e.onlyId="p:"+e.path+"m:"+e.method,Object.prototype.hasOwnProperty.call(r,e.apiGroup)?r[e.apiGroup].push(e):Object.assign(r,t({},e.apiGroup,[e]))}));var n=[];for(var o in r){var i={ID:o,description:o+"组",children:r[o]};n.push(i)}return n},I=a(null),G=function(){var t=n(e().mark((function t(){var r,n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=I.value.getCheckedNodes(!0),n=[],r&&r.forEach((function(t){var e={path:t.path,method:t.method};n.push(e)})),t.next=5,e={authorityId:_.value,casbinInfos:n},i({url:"/casbin/updateCasbin",method:"post",data:e});case 5:0===t.sent.code&&y({type:"success",message:"api设置成功"});case 7:case"end":return t.stop()}var e}),t)})));return function(){return t.apply(this,arguments)}}();x({needConfirm:C,enterAndNext:function(){G()}});var N=function(t,e){return!t||-1!==e.description.indexOf(t)};return u(k,(function(t){I.value.filter(t)})),function(t,e){var r=v,n=d,i=m,a=g;return c(),l("div",null,[s("div",o,[f(r,{modelValue:k.value,"onUpdate:modelValue":e[0]||(e[0]=function(t){return k.value=t}),class:"w-3/5",placeholder:"筛选"},null,8,["modelValue"]),f(n,{class:"float-right",type:"primary",onClick:G},{default:h((function(){return e[1]||(e[1]=[p("确 定")])})),_:1})]),s("div",b,[f(a,null,{default:h((function(){return[f(i,{ref_key:"apiTree",ref:I,data:B.value,"default-checked-keys":O.value,props:L.value,"default-expand-all":"","highlight-current":"","node-key":"onlyId","show-checkbox":"","filter-node-method":N,onCheck:P},null,8,["data","default-checked-keys","props"])]})),_:1})])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0apis.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0apis.js new file mode 100644 index 000000000..e35b90dec --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0apis.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as a,a as e,X as t,o as s,c as o,b as r,e as i,w as l,g as n,j as p,k as c,E as d}from"./087AC4D233B64EB0index.js";import{E as u}from"./087AC4D233B64EB0scrollbar.js";import{E as h}from"./087AC4D233B64EB0tree.js";import"./087AC4D233B64EB0checkbox.js";/* empty css *//* empty css */import{e as m}from"./087AC4D233B64EB0api2.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0index30.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0_Uint8Array.js";const f={class:"sticky top-0.5 z-10 bg-white"},y={class:"tree-content"},B=Object.assign({name:"Apis"},{__name:"apis",props:{row:{default:function(){return{}},type:Object}},setup(B,{expose:v}){const E=B,j=e({children:"children",label:"description"}),C=e(""),b=e([]),A=e([]),k=e("");(async()=>{const e=(await m()).data.apis;b.value=g(e);const t=await(s={authorityId:E.row.authorityId},a({url:"/casbin/getPolicyPathByAuthorityId",method:"post",data:s}));var s;k.value=E.row.authorityId,A.value=[],t.data.paths&&t.data.paths.forEach((a=>{A.value.push("p:"+a.path+"m:"+a.method)}))})();const D=e(!1),w=()=>{D.value=!0},g=a=>{const e={};a&&a.forEach((a=>{a.onlyId="p:"+a.path+"m:"+a.method,Object.prototype.hasOwnProperty.call(e,a.apiGroup)?e[a.apiGroup].push(a):Object.assign(e,{[a.apiGroup]:[a]})}));const t=[];for(const s in e){const a={ID:s,description:s+"组",children:e[s]};t.push(a)}return t},x=e(null),I=async()=>{const e=x.value.getCheckedNodes(!0);var t=[];e&&e.forEach((a=>{var e={path:a.path,method:a.method};t.push(e)}));var s;0===(await(s={authorityId:k.value,casbinInfos:t},a({url:"/casbin/updateCasbin",method:"post",data:s}))).code&&p({type:"success",message:"api设置成功"})};v({needConfirm:D,enterAndNext:()=>{I()}});const O=(a,e)=>!a||-1!==e.description.indexOf(a);return t(C,(a=>{x.value.filter(a)})),(a,e)=>{const t=c,p=d,m=h,B=u;return s(),o("div",null,[r("div",f,[i(t,{modelValue:C.value,"onUpdate:modelValue":e[0]||(e[0]=a=>C.value=a),class:"w-3/5",placeholder:"筛选"},null,8,["modelValue"]),i(p,{class:"float-right",type:"primary",onClick:I},{default:l((()=>e[1]||(e[1]=[n("确 定")]))),_:1})]),r("div",y,[i(B,null,{default:l((()=>[i(m,{ref_key:"apiTree",ref:x,data:b.value,"default-checked-keys":A.value,props:j.value,"default-expand-all":"","highlight-current":"","node-key":"onlyId","show-checkbox":"","filter-node-method":O,onCheck:w},null,8,["data","default-checked-keys","props"])])),_:1})])])}}});export{B as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0arrays-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0arrays-legacy.js new file mode 100644 index 000000000..719080b29 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0arrays-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function r(r){return function(r){if(Array.isArray(r))return t(r)}(r)||function(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||function(r,n){if(r){if("string"==typeof r)return t(r,n);var e={}.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(r,n):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n[...new Set(r)],a=r=>r||0===r?Array.isArray(r)?r:[r]:[];export{a as c,r as u}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu-legacy.js new file mode 100644 index 000000000..d44baa555 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy29.js","./087AC4D233B64EB0index-legacy30.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js"],(function(e,t){"use strict";var n,a,u,o,r,i,l,c,d,s,f,v,m,p,b,x;return{setters:[function(e){n=e.aD,a=e.a,u=e.X,o=e.o,r=e.h,i=e.w,l=e.c,c=e.G,d=e.f,s=e.b,f=e.t,v=e.K,m=e.z,p=e.H},function(e){b=e._},function(e){x=e.a},null,null,null],execute:function(){var t=document.createElement("style");t.textContent=".el-sub-menu[data-v-ebe76dac] .el-sub-menu__title{padding:6px;color:var(--4218d049)}.is-active[data-v-ebe76dac]:not(.is-opened) .el-sub-menu__title .gva-subMenu{flex:1;height:100%;line-height:44px;background:var(--3aa502a9)!important;border-radius:4px;box-shadow:0 0 2px 1px var(--3aa502a9)!important}.is-active[data-v-ebe76dac]:not(.is-opened) .el-sub-menu__title .gva-subMenu i{color:var(--06c56ae8)}.is-active[data-v-ebe76dac]:not(.is-opened) .el-sub-menu__title .gva-subMenu span{color:var(--06c56ae8)}.gva-subMenu[data-v-ebe76dac]{padding-left:4px}\n",document.head.appendChild(t);var g={key:0,class:"gva-subMenu"},_=Object.assign({name:"AsyncSubmenu"},{__name:"asyncSubmenu",props:{routerInfo:{default:function(){return null},type:Object},isCollapse:{default:function(){return!1},type:Boolean},theme:{default:function(){return{}},type:Object}},setup:function(e){n((function(e){return{"4218d049":h.value,"3aa502a9":b.value,"06c56ae8":_.value}}));var t=e,b=a(t.theme.activeBackground),_=a(t.theme.activeText),h=a(t.theme.normalText);return u((function(){return t.theme}),(function(){b.value=t.theme.activeBackground,_.value=t.theme.activeText,h.value=t.theme.normalText})),function(t,n){var a=p,u=x;return o(),r(u,{ref:"subMenu",index:e.routerInfo.name},{title:i((function(){return[e.isCollapse?(o(),l(v,{key:1},[e.routerInfo.meta.icon?(o(),r(a,{key:0},{default:i((function(){return[(o(),r(c(e.routerInfo.meta.icon)))]})),_:1})):d("",!0),s("span",null,f(e.routerInfo.meta.title),1)],64)):(o(),l("div",g,[e.routerInfo.meta.icon?(o(),r(a,{key:0},{default:i((function(){return[(o(),r(c(e.routerInfo.meta.icon)))]})),_:1})):d("",!0),s("span",null,f(e.routerInfo.meta.title),1)]))]})),default:i((function(){return[m(t.$slots,"default",{},void 0,!0)]})),_:3},8,["index"])}}});e("default",b(_,[["__scopeId","data-v-ebe76dac"]]))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu.css new file mode 100644 index 000000000..04192cda9 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-sub-menu[data-v-ebe76dac] .el-sub-menu__title{padding:6px;color:var(--4218d049)}.is-active[data-v-ebe76dac]:not(.is-opened) .el-sub-menu__title .gva-subMenu{flex:1;height:100%;line-height:44px;background:var(--3aa502a9)!important;border-radius:4px;box-shadow:0 0 2px 1px var(--3aa502a9)!important}.is-active[data-v-ebe76dac]:not(.is-opened) .el-sub-menu__title .gva-subMenu i{color:var(--06c56ae8)}.is-active[data-v-ebe76dac]:not(.is-opened) .el-sub-menu__title .gva-subMenu span{color:var(--06c56ae8)}.gva-subMenu[data-v-ebe76dac]{padding-left:4px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu.js new file mode 100644 index 000000000..f404f1bbe --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0asyncSubmenu.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{aD as e,a as t,X as a,o as n,h as o,w as u,c as s,G as r,f as l,b as i,t as m,K as c,z as f,H as d}from"./087AC4D233B64EB0index.js";import{_ as p}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{a as v}from"./087AC4D233B64EB0index29.js";import"./087AC4D233B64EB0index30.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";const B={key:0,class:"gva-subMenu"},x=p(Object.assign({name:"AsyncSubmenu"},{__name:"asyncSubmenu",props:{routerInfo:{default:function(){return null},type:Object},isCollapse:{default:function(){return!1},type:Boolean},theme:{default:function(){return{}},type:Object}},setup(p){e((e=>({"4218d049":b.value,"3aa502a9":h.value,"06c56ae8":_.value})));const x=p,h=t(x.theme.activeBackground),_=t(x.theme.activeText),b=t(x.theme.normalText);return a((()=>x.theme),(()=>{h.value=x.theme.activeBackground,_.value=x.theme.activeText,b.value=x.theme.normalText})),(e,t)=>{const a=d,x=v;return n(),o(x,{ref:"subMenu",index:p.routerInfo.name},{title:u((()=>[p.isCollapse?(n(),s(c,{key:1},[p.routerInfo.meta.icon?(n(),o(a,{key:0},{default:u((()=>[(n(),o(r(p.routerInfo.meta.icon)))])),_:1})):l("",!0),i("span",null,m(p.routerInfo.meta.title),1)],64)):(n(),s("div",B,[p.routerInfo.meta.icon?(n(),o(a,{key:0},{default:u((()=>[(n(),o(r(p.routerInfo.meta.icon)))])),_:1})):l("",!0),i("span",null,m(p.routerInfo.meta.title),1)]))])),default:u((()=>[f(e.$slots,"default",{},void 0,!0)])),_:3},8,["index"])}}}),[["__scopeId","data-v-ebe76dac"]]);export{x as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority-legacy.js new file mode 100644 index 000000000..340a122cd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},u="function"==typeof Symbol?Symbol:{},i=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,u=Object.create(a.prototype),i=new O(n||[]);return o(u,"_invoke",{value:A(t,r,i)}),u}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var h="suspendedStart",y="suspendedYield",p="executing",v="completed",g={};function m(){}function b(){}function w(){}var B={};s(B,i,(function(){return this}));var E=Object.getPrototypeOf,j=E&&E(E(L([])));j&&j!==n&&a.call(j,i)&&(B=j);var C=w.prototype=m.prototype=Object.create(B);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){function r(n,o,u,i){var l=d(t[n],t,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,u,i)}),(function(t){r("throw",t,u,i)})):e.resolve(s).then((function(t){c.value=t,u(c)}),(function(t){return r("throw",t,u,i)}))}i(l.arg)}var n;o(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,n){r(t,a,e,n)}))}return n=n?n.then(o,o):o()}})}function A(t,r,n){var a=h;return function(o,u){if(a===p)throw Error("Generator is already running");if(a===v){if("throw"===o)throw u;return{value:e,done:!0}}for(n.method=o,n.arg=u;;){var i=n.delegate;if(i){var l=D(i,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=p;var c=d(t,r,n);if("normal"===c.type){if(a=n.done?v:y,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=v,n.method="throw",n.arg=c.arg)}}}function D(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,D(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=d(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var u=o.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n=0;--o){var u=this.tryEntries[o],i=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var l=a.call(u,"catchLoc"),c=a.call(u,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;k(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function r(t){for(var r=1;r1&&Z.value--,at());case 4:case"end":return t.stop()}}),e)})))).catch((function(){g({type:"info",message:"已取消删除"})}));var n}},{default:s((function(){return r[12]||(r[12]=[f("删除")])})),_:2},1032,["onClick"])]})),_:1})]})),_:1},8,["data"])]),l(nt,{modelValue:J.value,"onUpdate:modelValue":r[5]||(r[5]=function(t){return J.value=t}),title:$.value},{footer:s((function(){return[c("div",R,[l(a,{onClick:dt},{default:s((function(){return r[13]||(r[13]=[f("取 消")])})),_:1}),l(a,{type:"primary",onClick:ht},{default:s((function(){return r[14]||(r[14]=[f("确 定")])})),_:1})])]})),default:s((function(){return[l(et,{ref_key:"authorityForm",ref:st,model:Q.value,rules:W.value,"label-width":"80px"},{default:s((function(){return[l(K,{label:"父级角色",prop:"parentId"},{default:s((function(){return[l(N,{modelValue:Q.value.parentId,"onUpdate:modelValue":r[2]||(r[2]=function(t){return Q.value.parentId=t}),style:{width:"100%"},disabled:"add"===H.value,options:n.value,props:{checkStrictly:!0,label:"authorityName",value:"authorityId",disabled:"disabled",emitPath:!1},"show-all-levels":!1,filterable:""},null,8,["modelValue","disabled","options"])]})),_:1}),l(K,{label:"角色ID",prop:"authorityId"},{default:s((function(){return[l(tt,{modelValue:Q.value.authorityId,"onUpdate:modelValue":r[3]||(r[3]=function(t){return Q.value.authorityId=t}),disabled:"edit"===H.value,autocomplete:"off",maxlength:"15"},null,8,["modelValue","disabled"])]})),_:1}),l(K,{label:"角色姓名",prop:"authorityName"},{default:s((function(){return[l(tt,{modelValue:Q.value.authorityName,"onUpdate:modelValue":r[4]||(r[4]=function(t){return Q.value.authorityName=t}),autocomplete:"off"},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])]})),_:1},8,["modelValue","title"]),Y.value?(u(),y(gt,{key:0,modelValue:Y.value,"onUpdate:modelValue":r[6]||(r[6]=function(t){return Y.value=t}),"custom-class":"auth-drawer","with-header":!1,size:"40%",title:"角色配置"},{default:s((function(){return[l(pt,{"before-leave":ct,type:"border-card"},{default:s((function(){return[l(ft,{label:"角色菜单"},{default:s((function(){return[l(P,{ref_key:"menus",ref:ut,row:X.value,onChangeRow:ot},null,8,["row"])]})),_:1}),l(ft,{label:"角色api"},{default:s((function(){return[l(V,{ref_key:"apis",ref:it,row:X.value,onChangeRow:ot},null,8,["row"])]})),_:1}),l(ft,{label:"资源权限"},{default:s((function(){return[l(S,{ref_key:"datas",ref:lt,authority:rt.value,row:X.value,onChangeRow:ot},null,8,["authority","row"])]})),_:1})]})),_:1})]})),_:1},8,["modelValue"])):p("",!0)])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority-legacy2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority-legacy2.js new file mode 100644 index 000000000..6fb8c112e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority-legacy2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,u){"use strict";var r;return{setters:[function(t){r=t.s}],execute:function(){t("g",(function(t){return r({url:"/authority/getAuthorityList",method:"post",data:t})})),t("d",(function(t){return r({url:"/authority/deleteAuthority",method:"post",data:t})})),t("a",(function(t){return r({url:"/authority/createAuthority",method:"post",data:t})})),t("c",(function(t){return r({url:"/authority/copyAuthority",method:"post",data:t})})),t("s",(function(t){return r({url:"/authority/setDataAuthority",method:"post",data:t})})),t("u",(function(t){return r({url:"/authority/updateAuthority",method:"put",data:t})}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority.css new file mode 100644 index 000000000..b8ba938f4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.authority .el-input-number{margin-left:15px}.authority .el-input-number span{display:none}.tree-content{margin-top:10px;height:calc(100vh - 158px);overflow:auto} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority.js new file mode 100644 index 000000000..e376efe5a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a,o as e,c as t,e as l,b as o,w as r,g as i,D as u,aX as d,h as s,f as n,T as m,j as p,E as y,H as h,k as c}from"./087AC4D233B64EB0index.js";/* empty css */import"./087AC4D233B64EB0overlay.js";import{E as v,a as B}from"./087AC4D233B64EB0tab-pane.js";import{E as f}from"./087AC4D233B64EB0dialog.js";import{a as C,E}from"./087AC4D233B64EB0form-item.js";/* empty css */import{E as I}from"./087AC4D233B64EB0radio.js";/* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0checkbox.js";import"./087AC4D233B64EB0scrollbar.js";import{E as A,a as b}from"./087AC4D233B64EB0table-column.js";/* empty css *//* empty css */import{g as D,d as g,c as j,u as w,a as _}from"./087AC4D233B64EB0authority2.js";import k from"./087AC4D233B64EB0menus.js";import N from"./087AC4D233B64EB0apis.js";import V from"./087AC4D233B64EB0datas.js";import{_ as x}from"./087AC4D233B64EB0warningBar.js";import{t as U}from"./087AC4D233B64EB0doc.js";import{E as q}from"./087AC4D233B64EB0index28.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0arrays.js";import"./087AC4D233B64EB0cloneDeep.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0tree.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0index30.js";import"./087AC4D233B64EB0authorityBtn.js";import"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0api2.js";const S={class:"authority"},T={class:"gva-table-box"},z={class:"gva-btn-list"},R={class:"dialog-footer"},F=Object.assign({name:"Authority"},{__name:"authority",setup(F){const O=a([{authorityId:0,authorityName:"根角色"}]),H=a(!1),P=a("add"),X=a({}),$=a("新增角色"),G=a(!1),J=a(!1),K=a({}),L=a({authorityId:0,authorityName:"",parentId:0}),M=a({authorityId:[{required:!0,message:"请输入角色ID",trigger:"blur"},{validator:(a,e,t)=>/^[0-9]*[1-9][0-9]*$/.test(e)?t():t(new Error("请输入正整数")),trigger:"blur",message:"必须为正整数"}],authorityName:[{required:!0,message:"请输入角色名",trigger:"blur"}],parentId:[{required:!0,message:"请选择父角色",trigger:"blur"}]}),Q=a(1),W=a(0),Y=a(999),Z=a([]),aa=a({}),ea=async()=>{const a=await D({page:Q.value,pageSize:Y.value,...aa.value});0===a.code&&(Z.value=a.data.list,W.value=a.data.total,Q.value=a.data.page,Y.value=a.data.pageSize)};ea();const ta=(a,e)=>{X.value[a]=e},la=a(null),oa=a(null),ra=a(null),ia=(a,e)=>{const t=[la,oa,ra];e&&t[e].value.needConfirm&&(t[e].value.enterAndNext(),t[e].value.needConfirm=!1)},ua=a(null),da=()=>{ua.value&&ua.value.resetFields(),L.value={authorityId:0,authorityName:"",parentId:0}},sa=()=>{da(),G.value=!1,J.value=!1},na=()=>{ua.value.validate((async a=>{if(a){switch(L.value.authorityId=Number(L.value.authorityId),P.value){case"add":0===(await _(L.value)).code&&(p({type:"success",message:"添加成功!"}),ea(),sa());break;case"edit":0===(await w(L.value)).code&&(p({type:"success",message:"添加成功!"}),ea(),sa());break;case"copy":{const a={authority:{authorityId:0,authorityName:"",datauthorityId:[],parentId:0},oldAuthorityId:0};a.authority.authorityId=L.value.authorityId,a.authority.authorityName=L.value.authorityName,a.authority.parentId=L.value.parentId,a.authority.dataAuthorityId=K.value.dataAuthorityId,a.oldAuthorityId=K.value.authorityId;0===(await j(a)).code&&(p({type:"success",message:"复制成功!"}),ea())}}da(),G.value=!1}}))},ma=()=>{O.value=[{authorityId:0,authorityName:"根角色"}],pa(Z.value,O.value,!1)},pa=(a,e,t)=>{L.value.authorityId=String(L.value.authorityId),a&&a.forEach((a=>{if(a.children&&a.children.length){const l={authorityId:a.authorityId,authorityName:a.authorityName,disabled:t||a.authorityId===L.value.authorityId,children:[]};pa(a.children,l.children,t||a.authorityId===L.value.authorityId),e.push(l)}else{const l={authorityId:a.authorityId,authorityName:a.authorityName,disabled:t||a.authorityId===L.value.authorityId};e.push(l)}}))},ya=a=>{da(),$.value="新增角色",P.value="add",L.value.parentId=a,ma(),G.value=!0};return(a,D)=>{const j=y,w=h,_=A,F=b,J=I,W=C,Y=c,aa=E,da=f,pa=v,ha=B,ca=q;return e(),t("div",S,[l(x,{title:"注:右上角头像下拉可切换角色"}),o("div",T,[o("div",z,[l(j,{type:"primary",icon:"plus",onClick:D[0]||(D[0]=a=>ya(0))},{default:r((()=>D[7]||(D[7]=[i("新增角色")]))),_:1}),l(w,{class:"cursor-pointer",onClick:D[1]||(D[1]=a=>u(U)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=8&vd_source=f2640257c21e3b547a790461ed94875e"))},{default:r((()=>[l(u(d))])),_:1})]),l(F,{data:Z.value,"tree-props":{children:"children",hasChildren:"hasChildren"},"row-key":"authorityId",style:{width:"100%"}},{default:r((()=>[l(_,{label:"角色ID","min-width":"180",prop:"authorityId"}),l(_,{align:"left",label:"角色名称","min-width":"180",prop:"authorityName"}),l(_,{align:"left",label:"操作",width:"460"},{default:r((a=>[l(j,{icon:"setting",type:"primary",link:"",onClick:e=>{return t=a.row,H.value=!0,void(X.value=t);var t}},{default:r((()=>D[8]||(D[8]=[i("设置权限")]))),_:2},1032,["onClick"]),l(j,{icon:"plus",type:"primary",link:"",onClick:e=>ya(a.row.authorityId)},{default:r((()=>D[9]||(D[9]=[i("新增子角色")]))),_:2},1032,["onClick"]),l(j,{icon:"copy-document",type:"primary",link:"",onClick:e=>(a=>{ma(),$.value="拷贝角色",P.value="copy";for(const e in L.value)L.value[e]=a[e];K.value=a,G.value=!0})(a.row)},{default:r((()=>D[10]||(D[10]=[i("拷贝")]))),_:2},1032,["onClick"]),l(j,{icon:"edit",type:"primary",link:"",onClick:e=>(a=>{ma(),$.value="编辑角色",P.value="edit";for(const e in L.value)L.value[e]=a[e];ma(),G.value=!0})(a.row)},{default:r((()=>D[11]||(D[11]=[i("编辑")]))),_:2},1032,["onClick"]),l(j,{icon:"delete",type:"primary",link:"",onClick:e=>{return t=a.row,void m.confirm("此操作将永久删除该角色, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{0===(await g({authorityId:t.authorityId})).code&&(p({type:"success",message:"删除成功!"}),1===Z.value.length&&Q.value>1&&Q.value--,ea())})).catch((()=>{p({type:"info",message:"已取消删除"})}));var t}},{default:r((()=>D[12]||(D[12]=[i("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"])]),l(da,{modelValue:G.value,"onUpdate:modelValue":D[5]||(D[5]=a=>G.value=a),title:$.value},{footer:r((()=>[o("div",R,[l(j,{onClick:sa},{default:r((()=>D[13]||(D[13]=[i("取 消")]))),_:1}),l(j,{type:"primary",onClick:na},{default:r((()=>D[14]||(D[14]=[i("确 定")]))),_:1})])])),default:r((()=>[l(aa,{ref_key:"authorityForm",ref:ua,model:L.value,rules:M.value,"label-width":"80px"},{default:r((()=>[l(W,{label:"父级角色",prop:"parentId"},{default:r((()=>[l(J,{modelValue:L.value.parentId,"onUpdate:modelValue":D[2]||(D[2]=a=>L.value.parentId=a),style:{width:"100%"},disabled:"add"===P.value,options:O.value,props:{checkStrictly:!0,label:"authorityName",value:"authorityId",disabled:"disabled",emitPath:!1},"show-all-levels":!1,filterable:""},null,8,["modelValue","disabled","options"])])),_:1}),l(W,{label:"角色ID",prop:"authorityId"},{default:r((()=>[l(Y,{modelValue:L.value.authorityId,"onUpdate:modelValue":D[3]||(D[3]=a=>L.value.authorityId=a),disabled:"edit"===P.value,autocomplete:"off",maxlength:"15"},null,8,["modelValue","disabled"])])),_:1}),l(W,{label:"角色姓名",prop:"authorityName"},{default:r((()=>[l(Y,{modelValue:L.value.authorityName,"onUpdate:modelValue":D[4]||(D[4]=a=>L.value.authorityName=a),autocomplete:"off"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1},8,["modelValue","title"]),H.value?(e(),s(ca,{key:0,modelValue:H.value,"onUpdate:modelValue":D[6]||(D[6]=a=>H.value=a),"custom-class":"auth-drawer","with-header":!1,size:"40%",title:"角色配置"},{default:r((()=>[l(ha,{"before-leave":ia,type:"border-card"},{default:r((()=>[l(pa,{label:"角色菜单"},{default:r((()=>[l(k,{ref_key:"menus",ref:la,row:X.value,onChangeRow:ta},null,8,["row"])])),_:1}),l(pa,{label:"角色api"},{default:r((()=>[l(N,{ref_key:"apis",ref:oa,row:X.value,onChangeRow:ta},null,8,["row"])])),_:1}),l(pa,{label:"资源权限"},{default:r((()=>[l(V,{ref_key:"datas",ref:ra,authority:Z.value,row:X.value,onChangeRow:ta},null,8,["authority","row"])])),_:1})])),_:1})])),_:1},8,["modelValue"])):n("",!0)])}}});export{F as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority2.js new file mode 100644 index 000000000..5da564084 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authority2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as t}from"./087AC4D233B64EB0index.js";const a=a=>t({url:"/authority/getAuthorityList",method:"post",data:a}),o=a=>t({url:"/authority/deleteAuthority",method:"post",data:a}),r=a=>t({url:"/authority/createAuthority",method:"post",data:a}),u=a=>t({url:"/authority/copyAuthority",method:"post",data:a}),h=a=>t({url:"/authority/setDataAuthority",method:"post",data:a}),s=a=>t({url:"/authority/updateAuthority",method:"put",data:a});export{r as a,u as c,o as d,a as g,h as s,s as u}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authorityBtn-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authorityBtn-legacy.js new file mode 100644 index 000000000..e44f3800a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authorityBtn-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,n){"use strict";var r;return{setters:[function(t){r=t.s}],execute:function(){t("g",(function(t){return r({url:"/authorityBtn/getAuthorityBtn",method:"post",data:t})})),t("s",(function(t){return r({url:"/authorityBtn/setAuthorityBtn",method:"post",data:t})})),t("c",(function(t){return r({url:"/authorityBtn/canRemoveAuthorityBtn",method:"post",params:t})}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authorityBtn.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authorityBtn.js new file mode 100644 index 000000000..50cd8bd6e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0authorityBtn.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as t}from"./087AC4D233B64EB0index.js";const o=o=>t({url:"/authorityBtn/getAuthorityBtn",method:"post",data:o}),a=o=>t({url:"/authorityBtn/setAuthorityBtn",method:"post",data:o}),r=o=>t({url:"/authorityBtn/canRemoveAuthorityBtn",method:"post",params:o});export{r as c,o as g,a as s}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoCode-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoCode-legacy.js new file mode 100644 index 000000000..6e30e9517 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoCode-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,e){"use strict";var o;return{setters:[function(t){o=t.s}],execute:function(){t("p",(function(t){return o({url:"/autoCode/preview",method:"post",data:t})})),t("c",(function(t){return o({url:"/autoCode/createTemp",method:"post",data:t,responseType:"blob"})})),t("g",(function(t){return o({url:"/autoCode/getDB",method:"get",params:t})})),t("a",(function(t){return o({url:"/autoCode/getTables",method:"get",params:t})})),t("b",(function(t){return o({url:"/autoCode/getColumn",method:"get",params:t})})),t("f",(function(t){return o({url:"/autoCode/getSysHistory",method:"post",data:t})})),t("r",(function(t){return o({url:"/autoCode/rollback",method:"post",data:t})})),t("e",(function(t){return o({url:"/autoCode/getMeta",method:"post",data:t})})),t("h",(function(t){return o({url:"/autoCode/delSysHistory",method:"post",data:t})})),t("i",(function(t){return o({url:"/autoCode/createPackage",method:"post",data:t})})),t("d",(function(){return o({url:"/autoCode/getPackage",method:"post"})})),t("j",(function(t){return o({url:"/autoCode/delPackage",method:"post",data:t})})),t("k",(function(t){return o({url:"/autoCode/createPlug",method:"post",data:t})})),t("l",(function(t){return o({url:"/autoCode/pubPlug",method:"post",params:t})}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoCode.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoCode.js new file mode 100644 index 000000000..fafa3d272 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoCode.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as a}from"./087AC4D233B64EB0index.js";const t=t=>a({url:"/autoCode/preview",method:"post",data:t}),o=t=>a({url:"/autoCode/createTemp",method:"post",data:t,responseType:"blob"}),e=t=>a({url:"/autoCode/getDB",method:"get",params:t}),d=t=>a({url:"/autoCode/getTables",method:"get",params:t}),s=t=>a({url:"/autoCode/getColumn",method:"get",params:t}),u=t=>a({url:"/autoCode/getSysHistory",method:"post",data:t}),r=t=>a({url:"/autoCode/rollback",method:"post",data:t}),l=t=>a({url:"/autoCode/getMeta",method:"post",data:t}),p=t=>a({url:"/autoCode/delSysHistory",method:"post",data:t}),m=t=>a({url:"/autoCode/createPackage",method:"post",data:t}),C=()=>a({url:"/autoCode/getPackage",method:"post"}),g=t=>a({url:"/autoCode/delPackage",method:"post",data:t}),h=t=>a({url:"/autoCode/createPlug",method:"post",data:t}),c=t=>a({url:"/autoCode/pubPlug",method:"post",params:t});export{d as a,s as b,o as c,C as d,l as e,u as f,e as g,p as h,m as i,g as j,h as k,c as l,t as p,r}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPkg-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPkg-legacy.js new file mode 100644 index 000000000..9ad9d218d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPkg-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),u=new O(n||[]);return a(i,"_invoke",{value:C(t,r,u)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var h="suspendedStart",d="suspendedYield",y="executing",v="completed",g={};function m(){}function w(){}function b(){}var B={};s(B,u,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(N([])));x&&x!==n&&o.call(x,u)&&(B=x);var k=b.prototype=m.prototype=Object.create(B);function j(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(n,a,i,u){var l=p(t[n],t,a);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,u)}),(function(t){r("throw",t,i,u)})):e.resolve(s).then((function(t){c.value=t,i(c)}),(function(t){return r("throw",t,i,u)}))}u(l.arg)}var n;a(this,"_invoke",{value:function(t,o){function a(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(a,a):a()}})}function C(t,r,n){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var u=n.delegate;if(u){var l=A(u,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?v:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=v,n.method="throw",n.arg=c.arg)}}}function A(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=p(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;D(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t,e,r,n,o,a,i){try{var u=t[a](i),l=u.value}catch(t){return void r(t)}u.done?e(l):Promise.resolve(l).then(n,o)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(o,a){var i=t.apply(r,n);function u(t){e(i,o,a,u,l,"next",t)}function l(t){e(i,o,a,u,l,"throw",t)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0dialog-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0autoCode-legacy.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0doc-legacy.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0debounce-legacy.js"],(function(e,n){"use strict";var o,a,i,u,l,c,s,f,p,h,d,y,v,g,m,w,b,B,E,x,k,j,_,C;return{setters:[function(t){o=t.a,a=t.o,i=t.c,u=t.e,l=t.b,c=t.w,s=t.g,f=t.D,p=t.aX,h=t.j,d=t.T,y=t.E,v=t.H,g=t.k},function(t){m=t.E},null,function(t){w=t.a,b=t.E},null,function(t){B=t.E,E=t.a},null,null,null,null,null,null,function(t){x=t.i,k=t.d,j=t.j},function(t){_=t._},function(t){C=t.t},null,null,null,null,null,null,null,null],execute:function(){var n={class:"gva-table-box"},A={class:"gva-btn-list gap-3 flex items-center"},L={class:"dialog-footer"};e("default",Object.assign({name:"AutoPkg"},{__name:"autoPkg",setup:function(e){var D=o({packageName:"",label:"",desc:""}),O=o({packageName:[{required:!0,message:"请输入包名",trigger:"blur"},{validator:function(t,e,r){/^\d+$/.test(e[0])?r(new Error("不能够以数字开头")):r()},trigger:"blur"}]}),N=o(!1),V=function(){N.value=!1,D.value={packageName:"",label:"",desc:""}},P=o(null),T=function(){var e=r(t().mark((function e(){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:P.value.validate(function(){var e=r(t().mark((function e(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=7;break}return t.next=3,x(D.value);case 3:0===t.sent.code&&h({type:"success",message:"添加成功",showClose:!0}),S(),V();case 7:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),G=o([]),S=function(){var e=r(t().mark((function e(){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,k();case 2:0===(r=t.sent).code&&(G.value=r.data.pkgs);case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=r(t().mark((function e(n){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.confirm("此操作仅删除数据库中的pkg存储,后端相应目录结构请自行删除与数据库保持一致!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,j(n);case 2:0===t.sent.code&&(h({type:"success",message:"删除成功!"}),S());case 4:case"end":return t.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return S(),function(t,e){var r=y,o=v,h=B,d=E,x=g,k=w,j=b,S=m;return a(),i("div",null,[u(_,{href:"https://www.bilibili.com/video/BV1kv4y1g7nT?p=3",title:"此功能为开发环境使用,不建议发布到生产,具体使用效果请看视频https://www.bilibili.com/video/BV1kv4y1g7nT?p=3"}),l("div",n,[l("div",A,[u(r,{type:"primary",icon:"plus",onClick:e[0]||(e[0]=function(t){N.value=!0})},{default:c((function(){return e[6]||(e[6]=[s("新增")])})),_:1}),u(o,{class:"cursor-pointer",onClick:e[1]||(e[1]=function(t){return f(C)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=3&vd_source=f2640257c21e3b547a790461ed94875e")})},{default:c((function(){return[u(f(p))]})),_:1})]),u(d,{data:G.value},{default:c((function(){return[u(h,{align:"left",label:"id",width:"60",prop:"ID"}),u(h,{align:"left",label:"包名",width:"150",prop:"packageName"}),u(h,{align:"left",label:"展示名",width:"150",prop:"label"}),u(h,{align:"left",label:"描述","min-width":"150",prop:"desc"}),u(h,{align:"left",label:"操作",width:"200"},{default:c((function(t){return[u(r,{icon:"delete",type:"primary",link:"",onClick:function(e){return F(t.row)}},{default:c((function(){return e[7]||(e[7]=[s("删除")])})),_:2},1032,["onClick"])]})),_:1})]})),_:1},8,["data"])]),u(S,{modelValue:N.value,"onUpdate:modelValue":e[5]||(e[5]=function(t){return N.value=t}),"before-close":V,title:"创建Package"},{footer:c((function(){return[l("div",L,[u(r,{onClick:V},{default:c((function(){return e[8]||(e[8]=[s("取 消")])})),_:1}),u(r,{type:"primary",onClick:T},{default:c((function(){return e[9]||(e[9]=[s("确 定")])})),_:1})])]})),default:c((function(){return[u(_,{title:"新增Pkg用于自动化代码使用"}),u(j,{ref_key:"pkgForm",ref:P,model:D.value,rules:O.value,"label-width":"80px"},{default:c((function(){return[u(k,{label:"包名",prop:"packageName"},{default:c((function(){return[u(x,{modelValue:D.value.packageName,"onUpdate:modelValue":e[2]||(e[2]=function(t){return D.value.packageName=t}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),u(k,{label:"展示名",prop:"label"},{default:c((function(){return[u(x,{modelValue:D.value.label,"onUpdate:modelValue":e[3]||(e[3]=function(t){return D.value.label=t}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),u(k,{label:"描述",prop:"desc"},{default:c((function(){return[u(x,{modelValue:D.value.desc,"onUpdate:modelValue":e[4]||(e[4]=function(t){return D.value.desc=t}),autocomplete:"off"},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])]})),_:1},8,["modelValue"])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPkg.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPkg.js new file mode 100644 index 000000000..c470ebbe5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPkg.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,o as a,c as l,e as t,b as o,w as s,g as i,D as r,aX as p,j as d,T as m,E as u,H as c,k as n}from"./087AC4D233B64EB0index.js";import{E as B}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import{a as f,E as g}from"./087AC4D233B64EB0form-item.js";/* empty css */import{E as b,a as v}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css *//* empty css */import"./087AC4D233B64EB0scrollbar.js";import"./087AC4D233B64EB0tag.js";/* empty css */import{i as C,d as E,j}from"./087AC4D233B64EB0autoCode.js";import{_ as k}from"./087AC4D233B64EB0warningBar.js";import{t as A}from"./087AC4D233B64EB0doc.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0debounce.js";const D={class:"gva-table-box"},w={class:"gva-btn-list gap-3 flex items-center"},y={class:"dialog-footer"},_=Object.assign({name:"AutoPkg"},{__name:"autoPkg",setup(_){const V=e({packageName:"",label:"",desc:""}),h=e({packageName:[{required:!0,message:"请输入包名",trigger:"blur"},{validator:(e,a,l)=>{/^\d+$/.test(a[0])?l(new Error("不能够以数字开头")):l()},trigger:"blur"}]}),x=e(!1),N=()=>{x.value=!1,V.value={packageName:"",label:"",desc:""}},T=e(null),U=async()=>{T.value.validate((async e=>{if(e){0===(await C(V.value)).code&&d({type:"success",message:"添加成功",showClose:!0}),q(),N()}}))},P=e([]),q=async()=>{const e=await E();0===e.code&&(P.value=e.data.pkgs)};return q(),(e,C)=>{const E=u,_=c,O=b,F=v,H=n,I=f,X=g,$=B;return a(),l("div",null,[t(k,{href:"https://www.bilibili.com/video/BV1kv4y1g7nT?p=3",title:"此功能为开发环境使用,不建议发布到生产,具体使用效果请看视频https://www.bilibili.com/video/BV1kv4y1g7nT?p=3"}),o("div",D,[o("div",w,[t(E,{type:"primary",icon:"plus",onClick:C[0]||(C[0]=e=>{x.value=!0})},{default:s((()=>C[6]||(C[6]=[i("新增")]))),_:1}),t(_,{class:"cursor-pointer",onClick:C[1]||(C[1]=e=>r(A)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=3&vd_source=f2640257c21e3b547a790461ed94875e"))},{default:s((()=>[t(r(p))])),_:1})]),t(F,{data:P.value},{default:s((()=>[t(O,{align:"left",label:"id",width:"60",prop:"ID"}),t(O,{align:"left",label:"包名",width:"150",prop:"packageName"}),t(O,{align:"left",label:"展示名",width:"150",prop:"label"}),t(O,{align:"left",label:"描述","min-width":"150",prop:"desc"}),t(O,{align:"left",label:"操作",width:"200"},{default:s((e=>[t(E,{icon:"delete",type:"primary",link:"",onClick:a=>(async e=>{m.confirm("此操作仅删除数据库中的pkg存储,后端相应目录结构请自行删除与数据库保持一致!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{0===(await j(e)).code&&(d({type:"success",message:"删除成功!"}),q())}))})(e.row)},{default:s((()=>C[7]||(C[7]=[i("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"])]),t($,{modelValue:x.value,"onUpdate:modelValue":C[5]||(C[5]=e=>x.value=e),"before-close":N,title:"创建Package"},{footer:s((()=>[o("div",y,[t(E,{onClick:N},{default:s((()=>C[8]||(C[8]=[i("取 消")]))),_:1}),t(E,{type:"primary",onClick:U},{default:s((()=>C[9]||(C[9]=[i("确 定")]))),_:1})])])),default:s((()=>[t(k,{title:"新增Pkg用于自动化代码使用"}),t(X,{ref_key:"pkgForm",ref:T,model:V.value,rules:h.value,"label-width":"80px"},{default:s((()=>[t(I,{label:"包名",prop:"packageName"},{default:s((()=>[t(H,{modelValue:V.value.packageName,"onUpdate:modelValue":C[2]||(C[2]=e=>V.value.packageName=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),t(I,{label:"展示名",prop:"label"},{default:s((()=>[t(H,{modelValue:V.value.label,"onUpdate:modelValue":C[3]||(C[3]=e=>V.value.label=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),t(I,{label:"描述",prop:"desc"},{default:s((()=>[t(H,{modelValue:V.value.desc,"onUpdate:modelValue":C[4]||(C[4]=e=>V.value.desc=e),autocomplete:"off"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1},8,["modelValue"])])}}});export{_ as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug-legacy.js new file mode 100644 index 000000000..9f32443f0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var t,n={},r=Object.prototype,o=r.hasOwnProperty,l=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),u=new D(r||[]);return l(a,"_invoke",{value:C(e,n,u)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",m="completed",g={};function v(){}function b(){}function w(){}var k={};s(k,u,(function(){return this}));var E=Object.getPrototypeOf,V=E&&E(E(U([])));V&&V!==r&&o.call(V,u)&&(k=V);var B=w.prototype=v.prototype=Object.create(k);function x(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(r,l,a,u){var i=p(e[r],e,l);if("throw"!==i.type){var c=i.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(s).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(i.arg)}var r;l(this,"_invoke",{value:function(e,o){function l(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(l,l):l()}})}function C(e,n,r){var o=d;return function(l,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===l)throw a;return{value:t,done:!0}}for(r.method=l,r.arg=a;;){var u=r.delegate;if(u){var i=j(u,r);if(i){if(i===g)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var c=p(e,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function j(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,j(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var l=p(o,e.iterator,n.arg);if("throw"===l.type)return n.method="throw",n.arg=l.arg,n.delegate=null,g;var a=l.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function U(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,l=function n(){for(;++r=0;--l){var a=this.tryEntries[l],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(i&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:U(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},n}function t(e,t,n,r,o,l,a){try{var u=e[l](a),i=u.value}catch(e){return void n(e)}u.done?t(i):Promise.resolve(i).then(r,o)}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0stringFun-legacy.js","./087AC4D233B64EB0autoCode-legacy.js","./087AC4D233B64EB0doc-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0debounce-legacy.js"],(function(n,r){"use strict";var o,l,a,u,i,c,s,f,p,d,h,y,m,g,v,b,w,k,E,V,B,x,_,C,j,L,A,D,U;return{setters:[function(e){o=e.r,l=e.o,a=e.c,u=e.b,i=e.e,c=e.w,s=e.h,f=e.K,p=e.L,d=e.D,h=e.aV,y=e.cO,m=e.f,g=e.g,v=e.aX,b=e.j,w=e.T,k=e.k,E=e.E,V=e.H},function(e){B=e.a,x=e.E},null,null,function(e){_=e.E,C=e.a},null,null,function(e){j=e.E},null,function(e){L=e.b},function(e){A=e.k},function(e){D=e.t},function(e){U=e._},null,null,null,null,null,null,null,null,null,null,null],execute:function(){var r=document.createElement("style");r.textContent=".plug-row[data-v-6e693785]{display:flex;width:100%;align-items:center}.plug-row+.plug-row[data-v-6e693785]{margin-top:.75rem}.plug-row>span[data-v-6e693785]{margin-left:.5rem}\n",document.head.appendChild(r);var G={class:"gva-table-box"},O={__name:"autoPlug",setup:function(n){var r=o({plugName:"",routerGroup:"",hasGlobal:!0,hasRequest:!0,hasResponse:!0,global:[{key:"",type:"",desc:""}],request:[{key:"",type:"",desc:""}],response:[{key:"",type:"",desc:""}]}),U=function(){r.plugName=L(r.plugName)},O=function(){var n,o=(n=e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.plugName&&r.routerGroup){e.next=3;break}return b.error("插件名称和插件路由组为必填项"),e.abrupt("return");case 3:if(!r.hasGlobal){e.next=8;break}if(!r.global.some((function(e){if(!e.key||!e.type)return!0}))){e.next=8;break}return b.error("全局属性的key和type为必填项"),e.abrupt("return");case 8:if(!r.hasRequest){e.next=13;break}if(!r.request.some((function(e){if(!e.key||!e.type)return!0}))){e.next=13;break}return b.error("请求属性的key和type为必填项"),e.abrupt("return");case 13:if(!r.hasResponse){e.next=18;break}if(!r.response.some((function(e){if(!e.key||!e.type)return!0}))){e.next=18;break}return b.error("响应属性的key和type为必填项"),e.abrupt("return");case 18:return e.next=20,A(r);case 20:0===e.sent.code&&w("创建成功,插件已自动写入后端plugin目录下,请按照自己的逻辑进行创造");case 22:case"end":return e.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(o,l){var a=n.apply(e,r);function u(e){t(a,o,l,u,i,"next",e)}function i(e){t(a,o,l,u,i,"throw",e)}u(void 0)}))});return function(){return o.apply(this,arguments)}}(),N=function(e){e.push({key:"",value:""})},R=function(e,t){1!==e.length?e.splice(t,1):b.warning("至少有一个全局属性")};return function(e,t){var n=k,o=B,b=j,w=_,L=C,A=E,q=V,P=x;return l(),a("div",null,[u("div",G,[i(P,{"label-width":"140px",class:"w-[680px]"},{default:c((function(){return[i(o,{label:"插件名"},{default:c((function(){return[i(n,{modelValue:r.plugName,"onUpdate:modelValue":t[0]||(t[0]=function(e){return r.plugName=e}),placeholder:"必填(英文大写字母开头)",onBlur:U},null,8,["modelValue"])]})),_:1}),i(o,{label:"路由组"},{default:c((function(){return[i(n,{modelValue:r.routerGroup,"onUpdate:modelValue":t[1]||(t[1]=function(e){return r.routerGroup=e}),placeholder:"将会作为插件路由组使用"},null,8,["modelValue"])]})),_:1}),i(o,{label:"使用全局属性"},{default:c((function(){return[i(b,{modelValue:r.hasGlobal,"onUpdate:modelValue":t[2]||(t[2]=function(e){return r.hasGlobal=e})},null,8,["modelValue"])]})),_:1}),r.hasGlobal?(l(),s(o,{key:0,label:"全局属性"},{default:c((function(){return[(l(!0),a(f,null,p(r.global,(function(e,o){return l(),a("div",{key:o,class:"plug-row"},[u("span",null,[i(n,{modelValue:e.key,"onUpdate:modelValue":function(t){return e.key=t},placeholder:"key 必填"},null,8,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(L,{modelValue:e.type,"onUpdate:modelValue":function(t){return e.type=t},placeholder:"type 必填"},{default:c((function(){return[i(w,{label:"string",value:"string"}),i(w,{label:"int",value:"int"}),i(w,{label:"float32",value:"float32"}),i(w,{label:"float64",value:"float64"}),i(w,{label:"bool",value:"bool"})]})),_:2},1032,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(n,{modelValue:e.desc,"onUpdate:modelValue":function(t){return e.desc=t},placeholder:"备注 必填"},null,8,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(A,{icon:d(h),circle:"",onClick:t[3]||(t[3]=function(e){return N(r.global)})},null,8,["icon"])]),u("span",null,[i(A,{icon:d(y),circle:"",onClick:function(e){return R(r.global,o)}},null,8,["icon","onClick"])])])})),128))]})),_:1})):m("",!0),i(o,{label:"使用Request"},{default:c((function(){return[i(b,{modelValue:r.hasRequest,"onUpdate:modelValue":t[4]||(t[4]=function(e){return r.hasRequest=e})},null,8,["modelValue"])]})),_:1}),r.hasRequest?(l(),s(o,{key:1,label:"Request"},{default:c((function(){return[(l(!0),a(f,null,p(r.request,(function(e,o){return l(),a("div",{key:o,class:"plug-row"},[u("span",null,[i(n,{modelValue:e.key,"onUpdate:modelValue":function(t){return e.key=t},placeholder:"key 必填"},null,8,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(L,{modelValue:e.type,"onUpdate:modelValue":function(t){return e.type=t},placeholder:"type 必填"},{default:c((function(){return[i(w,{label:"string",value:"string"}),i(w,{label:"int",value:"int"}),i(w,{label:"float32",value:"float32"}),i(w,{label:"float64",value:"float64"}),i(w,{label:"bool",value:"bool"})]})),_:2},1032,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(n,{modelValue:e.desc,"onUpdate:modelValue":function(t){return e.desc=t},placeholder:"备注 必填"},null,8,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(A,{icon:d(h),circle:"",onClick:t[5]||(t[5]=function(e){return N(r.request)})},null,8,["icon"])]),u("span",null,[i(A,{icon:d(y),circle:"",onClick:function(e){return R(r.request,o)}},null,8,["icon","onClick"])])])})),128))]})),_:1})):m("",!0),i(o,{label:"使用Response"},{default:c((function(){return[i(b,{modelValue:r.hasResponse,"onUpdate:modelValue":t[6]||(t[6]=function(e){return r.hasResponse=e})},null,8,["modelValue"])]})),_:1}),r.hasResponse?(l(),s(o,{key:2,label:"Response"},{default:c((function(){return[(l(!0),a(f,null,p(r.response,(function(e,o){return l(),a("div",{key:o,class:"plug-row"},[u("span",null,[i(n,{modelValue:e.key,"onUpdate:modelValue":function(t){return e.key=t},placeholder:"key 必填"},null,8,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(L,{modelValue:e.type,"onUpdate:modelValue":function(t){return e.type=t},placeholder:"type 必填"},{default:c((function(){return[i(w,{label:"string",value:"string"}),i(w,{label:"int",value:"int"}),i(w,{label:"float32",value:"float32"}),i(w,{label:"float64",value:"float64"}),i(w,{label:"bool",value:"bool"})]})),_:2},1032,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(n,{modelValue:e.desc,"onUpdate:modelValue":function(t){return e.desc=t},placeholder:"备注 必填"},null,8,["modelValue","onUpdate:modelValue"])]),u("span",null,[i(A,{icon:d(h),circle:"",onClick:t[7]||(t[7]=function(e){return N(r.response)})},null,8,["icon"])]),u("span",null,[i(A,{icon:d(y),circle:"",onClick:function(e){return R(r.response,o)}},null,8,["icon","onClick"])])])})),128))]})),_:1})):m("",!0),i(o,null,{default:c((function(){return[i(A,{type:"primary",onClick:O},{default:c((function(){return t[9]||(t[9]=[g("创建")])})),_:1}),i(q,{class:"cursor-pointer ml-3",onClick:t[8]||(t[8]=function(e){return d(D)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=13&vd_source=f2640257c21e3b547a790461ed94875e")})},{default:c((function(){return[i(d(v))]})),_:1})]})),_:1})]})),_:1})])])}}};n("default",U(O,[["__scopeId","data-v-6e693785"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug.css new file mode 100644 index 000000000..a2f572ddf --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.plug-row[data-v-6e693785]{display:flex;width:100%;align-items:center}.plug-row+.plug-row[data-v-6e693785]{margin-top:.75rem}.plug-row>span[data-v-6e693785]{margin-left:.5rem} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug.js new file mode 100644 index 000000000..38b135a72 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0autoPlug.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{r as e,o as l,c as a,b as o,e as u,w as s,h as t,K as n,L as p,D as d,aV as r,cO as i,f as m,g as c,aX as b,j as V,T as B,k as f,E as y,H as k}from"./087AC4D233B64EB0index.js";import{a as C,E as h}from"./087AC4D233B64EB0form-item.js";/* empty css */import"./087AC4D233B64EB0tag.js";import{E as g,a as v}from"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E}from"./087AC4D233B64EB0checkbox.js";/* empty css */import{b as j}from"./087AC4D233B64EB0stringFun.js";import{k as A}from"./087AC4D233B64EB0autoCode.js";import{t as _}from"./087AC4D233B64EB0doc.js";import{_ as D}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0debounce.js";const U={class:"gva-table-box"},R=D({__name:"autoPlug",setup(D){const R=e({plugName:"",routerGroup:"",hasGlobal:!0,hasRequest:!0,hasResponse:!0,global:[{key:"",type:"",desc:""}],request:[{key:"",type:"",desc:""}],response:[{key:"",type:"",desc:""}]}),q=()=>{R.plugName=j(R.plugName)},w=async()=>{if(!R.plugName||!R.routerGroup)return void V.error("插件名称和插件路由组为必填项");if(R.hasGlobal){if(R.global.some((e=>{if(!e.key||!e.type)return!0})))return void V.error("全局属性的key和type为必填项")}if(R.hasRequest){if(R.request.some((e=>{if(!e.key||!e.type)return!0})))return void V.error("请求属性的key和type为必填项")}if(R.hasResponse){if(R.response.some((e=>{if(!e.key||!e.type)return!0})))return void V.error("响应属性的key和type为必填项")}0===(await A(R)).code&&B("创建成功,插件已自动写入后端plugin目录下,请按照自己的逻辑进行创造")},x=e=>{e.push({key:"",value:""})},G=(e,l)=>{1!==e.length?e.splice(l,1):V.warning("至少有一个全局属性")};return(e,V)=>{const B=f,j=C,A=E,D=g,N=v,O=y,T=k,F=h;return l(),a("div",null,[o("div",U,[u(F,{"label-width":"140px",class:"w-[680px]"},{default:s((()=>[u(j,{label:"插件名"},{default:s((()=>[u(B,{modelValue:R.plugName,"onUpdate:modelValue":V[0]||(V[0]=e=>R.plugName=e),placeholder:"必填(英文大写字母开头)",onBlur:q},null,8,["modelValue"])])),_:1}),u(j,{label:"路由组"},{default:s((()=>[u(B,{modelValue:R.routerGroup,"onUpdate:modelValue":V[1]||(V[1]=e=>R.routerGroup=e),placeholder:"将会作为插件路由组使用"},null,8,["modelValue"])])),_:1}),u(j,{label:"使用全局属性"},{default:s((()=>[u(A,{modelValue:R.hasGlobal,"onUpdate:modelValue":V[2]||(V[2]=e=>R.hasGlobal=e)},null,8,["modelValue"])])),_:1}),R.hasGlobal?(l(),t(j,{key:0,label:"全局属性"},{default:s((()=>[(l(!0),a(n,null,p(R.global,((e,t)=>(l(),a("div",{key:t,class:"plug-row"},[o("span",null,[u(B,{modelValue:e.key,"onUpdate:modelValue":l=>e.key=l,placeholder:"key 必填"},null,8,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(N,{modelValue:e.type,"onUpdate:modelValue":l=>e.type=l,placeholder:"type 必填"},{default:s((()=>[u(D,{label:"string",value:"string"}),u(D,{label:"int",value:"int"}),u(D,{label:"float32",value:"float32"}),u(D,{label:"float64",value:"float64"}),u(D,{label:"bool",value:"bool"})])),_:2},1032,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(B,{modelValue:e.desc,"onUpdate:modelValue":l=>e.desc=l,placeholder:"备注 必填"},null,8,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(O,{icon:d(r),circle:"",onClick:V[3]||(V[3]=e=>x(R.global))},null,8,["icon"])]),o("span",null,[u(O,{icon:d(i),circle:"",onClick:e=>G(R.global,t)},null,8,["icon","onClick"])])])))),128))])),_:1})):m("",!0),u(j,{label:"使用Request"},{default:s((()=>[u(A,{modelValue:R.hasRequest,"onUpdate:modelValue":V[4]||(V[4]=e=>R.hasRequest=e)},null,8,["modelValue"])])),_:1}),R.hasRequest?(l(),t(j,{key:1,label:"Request"},{default:s((()=>[(l(!0),a(n,null,p(R.request,((e,t)=>(l(),a("div",{key:t,class:"plug-row"},[o("span",null,[u(B,{modelValue:e.key,"onUpdate:modelValue":l=>e.key=l,placeholder:"key 必填"},null,8,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(N,{modelValue:e.type,"onUpdate:modelValue":l=>e.type=l,placeholder:"type 必填"},{default:s((()=>[u(D,{label:"string",value:"string"}),u(D,{label:"int",value:"int"}),u(D,{label:"float32",value:"float32"}),u(D,{label:"float64",value:"float64"}),u(D,{label:"bool",value:"bool"})])),_:2},1032,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(B,{modelValue:e.desc,"onUpdate:modelValue":l=>e.desc=l,placeholder:"备注 必填"},null,8,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(O,{icon:d(r),circle:"",onClick:V[5]||(V[5]=e=>x(R.request))},null,8,["icon"])]),o("span",null,[u(O,{icon:d(i),circle:"",onClick:e=>G(R.request,t)},null,8,["icon","onClick"])])])))),128))])),_:1})):m("",!0),u(j,{label:"使用Response"},{default:s((()=>[u(A,{modelValue:R.hasResponse,"onUpdate:modelValue":V[6]||(V[6]=e=>R.hasResponse=e)},null,8,["modelValue"])])),_:1}),R.hasResponse?(l(),t(j,{key:2,label:"Response"},{default:s((()=>[(l(!0),a(n,null,p(R.response,((e,t)=>(l(),a("div",{key:t,class:"plug-row"},[o("span",null,[u(B,{modelValue:e.key,"onUpdate:modelValue":l=>e.key=l,placeholder:"key 必填"},null,8,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(N,{modelValue:e.type,"onUpdate:modelValue":l=>e.type=l,placeholder:"type 必填"},{default:s((()=>[u(D,{label:"string",value:"string"}),u(D,{label:"int",value:"int"}),u(D,{label:"float32",value:"float32"}),u(D,{label:"float64",value:"float64"}),u(D,{label:"bool",value:"bool"})])),_:2},1032,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(B,{modelValue:e.desc,"onUpdate:modelValue":l=>e.desc=l,placeholder:"备注 必填"},null,8,["modelValue","onUpdate:modelValue"])]),o("span",null,[u(O,{icon:d(r),circle:"",onClick:V[7]||(V[7]=e=>x(R.response))},null,8,["icon"])]),o("span",null,[u(O,{icon:d(i),circle:"",onClick:e=>G(R.response,t)},null,8,["icon","onClick"])])])))),128))])),_:1})):m("",!0),u(j,null,{default:s((()=>[u(O,{type:"primary",onClick:w},{default:s((()=>V[9]||(V[9]=[c("创建")]))),_:1}),u(T,{class:"cursor-pointer ml-3",onClick:V[8]||(V[8]=e=>d(_)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=13&vd_source=f2640257c21e3b547a790461ed94875e"))},{default:s((()=>[u(d(b))])),_:1})])),_:1})])),_:1})])])}}},[["__scopeId","data-v-6e693785"]]);export{R as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0bottomInfo-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0bottomInfo-legacy.js new file mode 100644 index 000000000..f57960482 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0bottomInfo-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,e){"use strict";var n,r,o,a;return{setters:[function(t){n=t.o,r=t.c,o=t.b,a=t.z}],execute:function(){var e={class:"flex gap-4 items-center text-sm text-gray-500 justify-center mb-4"};t("default",Object.assign({name:"BottomInfo"},{__name:"bottomInfo",setup:function(t){return console.log("%c powered by %c flipped-aurorae %c","background:#0081ff; padding: 1px; border-radius: 3px 0 0 3px; color: #fff","background:#354855; padding: 1px 5px; border-radius: 0 3px 3px 0; color: #fff; font-weight: bold;","background:transparent"),function(t,s){return n(),r("div",e,[s[0]||(s[0]=o("span",null,"Powered by",-1)),s[1]||(s[1]=o("span",null,[o("a",{class:"text-gray-800 font-bold",href:"https://github.com/flipped-aurora/gin-vue-admin"},"AI4C")],-1)),a(t.$slots,"default"),s[2]||(s[2]=o("span",null,"Copyright",-1)),s[3]||(s[3]=o("span",null,[o("a",{class:"text-gray-800 font-bold",href:"https://github.com/flipped-aurora"},"啊对对队")],-1))])}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0bottomInfo.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0bottomInfo.js new file mode 100644 index 000000000..7e5b64017 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0bottomInfo.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{o as a,c as o,b as t,z as e}from"./087AC4D233B64EB0index.js";const r={class:"flex gap-4 items-center text-sm text-gray-500 justify-center mb-4"},s=Object.assign({name:"BottomInfo"},{__name:"bottomInfo",setup:s=>(console.log("%c powered by %c flipped-aurorae %c","background:#0081ff; padding: 1px; border-radius: 3px 0 0 3px; color: #fff","background:#354855; padding: 1px 5px; border-radius: 0 3px 3px 0; color: #fff; font-weight: bold;","background:transparent"),(s,n)=>(a(),o("div",r,[n[0]||(n[0]=t("span",null,"Powered by",-1)),n[1]||(n[1]=t("span",null,[t("a",{class:"text-gray-800 font-bold",href:"https://github.com/flipped-aurora/gin-vue-admin"},"AI4C")],-1)),e(s.$slots,"default"),n[2]||(n[2]=t("span",null,"Copyright",-1)),n[3]||(n[3]=t("span",null,[t("a",{class:"text-gray-800 font-bold",href:"https://github.com/flipped-aurora"},"啊对对队")],-1))])))});export{s as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0breakpoint-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0breakpoint-legacy.js new file mode 100644 index 000000000..fc52248dd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0breakpoint-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",f=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),u=new U(n||[]);return o(i,"_invoke",{value:L(t,r,u)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=c;var p="suspendedStart",d="suspendedYield",v="executing",y="completed",g={};function m(){}function b(){}function w(){}var x={};s(x,u,(function(){return this}));var _=Object.getPrototypeOf,A=_&&_(_(N([])));A&&A!==n&&a.call(A,u)&&(x=A);var k=w.prototype=m.prototype=Object.create(x);function B(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(n,o,i,u){var l=h(t[n],t,o);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==typeof s&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,u)}),(function(t){r("throw",t,i,u)})):e.resolve(s).then((function(t){f.value=t,i(f)}),(function(t){return r("throw",t,i,u)}))}u(l.arg)}var n;o(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,n){r(t,a,e,n)}))}return n=n?n.then(o,o):o()}})}function L(t,r,n){var a=p;return function(o,i){if(a===v)throw Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var l=C(u,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var f=h(t,r,n);if("normal"===f.type){if(a=n.done?y:d,f.arg===g)continue;return{value:f.arg,done:n.done}}"throw"===f.type&&(a=y,n.method="throw",n.arg=f.arg)}}}function C(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=h(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function U(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),f=a.call(i,"finallyLoc");if(l&&f){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;S(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t,e,r,n,a,o,i){try{var u=t[o](i),l=u.value}catch(t){return void r(t)}u.done?e(l):Promise.resolve(l).then(n,a)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(a,o){var i=t.apply(r,n);function u(t){e(i,a,o,u,l,"next",t)}function l(t){e(i,a,o,u,l,"throw",t)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0progress-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0divider-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy27.js"],(function(e,n){"use strict";var a,o,i,u,l,f,s,c,h,p,d,v,y,g,m,b,w,x,_,A,k,B;return{setters:[function(t){a=t.W,o=t.s,i=t.a,u=t.X,l=t.N,f=t.o,s=t.c,c=t.b,h=t.e,p=t.w,d=t.g,v=t.S,y=t.Y,g=t.t,m=t.f,b=t.Z,w=t.j,x=t.E,_=t.H},null,null,function(t){A=t.E},function(t){k=t._},function(t){B=t.E}],execute:function(){var n=document.createElement("style");n.textContent="h3[data-v-3ceeadb3]{margin:40px 0 0}ul[data-v-3ceeadb3]{list-style-type:none;padding:0}li[data-v-3ceeadb3]{display:inline-block;margin:0 10px}a[data-v-3ceeadb3]{color:#42b983}#fromCont[data-v-3ceeadb3]{display:inline-block}.fileUpload[data-v-3ceeadb3]{padding:3px 10px;font-size:12px;height:20px;line-height:20px;position:relative;cursor:pointer;color:#000;border:1px solid #c1c1c1;border-radius:4px;overflow:hidden;display:inline-block}.fileUpload input[data-v-3ceeadb3]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.fileName[data-v-3ceeadb3]{display:inline-block;vertical-align:top;margin:6px 15px 0}.uploadBtn[data-v-3ceeadb3]{position:relative;top:-10px;margin-left:15px}.tips[data-v-3ceeadb3]{margin-top:30px;font-size:14px;font-weight:400;color:#606266}.el-divider[data-v-3ceeadb3]{margin:0 0 30px}.list[data-v-3ceeadb3]{margin-top:15px}.list-item[data-v-3ceeadb3]{display:block;margin-right:10px;color:#606266;line-height:25px;margin-bottom:5px;width:40%}.list-item .percentage[data-v-3ceeadb3]{float:right}.list-enter-active[data-v-3ceeadb3],.list-leave-active[data-v-3ceeadb3]{transition:all 1s}.list-enter[data-v-3ceeadb3],.list-leave-to[data-v-3ceeadb3]{opacity:0;transform:translateY(-30px)}\n",document.head.appendChild(n);var E={exports:{}};!function(t){t.exports=function(t){var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(t,e){var r=t[0],n=t[1],a=t[2],o=t[3];n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&a|~n&o)+e[0]-680876936|0)<<7|r>>>25)+n|0)&n|~r&a)+e[1]-389564586|0)<<12|o>>>20)+r|0)&r|~o&n)+e[2]+606105819|0)<<17|a>>>15)+o|0)&o|~a&r)+e[3]-1044525330|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&a|~n&o)+e[4]-176418897|0)<<7|r>>>25)+n|0)&n|~r&a)+e[5]+1200080426|0)<<12|o>>>20)+r|0)&r|~o&n)+e[6]-1473231341|0)<<17|a>>>15)+o|0)&o|~a&r)+e[7]-45705983|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&a|~n&o)+e[8]+1770035416|0)<<7|r>>>25)+n|0)&n|~r&a)+e[9]-1958414417|0)<<12|o>>>20)+r|0)&r|~o&n)+e[10]-42063|0)<<17|a>>>15)+o|0)&o|~a&r)+e[11]-1990404162|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&a|~n&o)+e[12]+1804603682|0)<<7|r>>>25)+n|0)&n|~r&a)+e[13]-40341101|0)<<12|o>>>20)+r|0)&r|~o&n)+e[14]-1502002290|0)<<17|a>>>15)+o|0)&o|~a&r)+e[15]+1236535329|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&o|a&~o)+e[1]-165796510|0)<<5|r>>>27)+n|0)&a|n&~a)+e[6]-1069501632|0)<<9|o>>>23)+r|0)&n|r&~n)+e[11]+643717713|0)<<14|a>>>18)+o|0)&r|o&~r)+e[0]-373897302|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&o|a&~o)+e[5]-701558691|0)<<5|r>>>27)+n|0)&a|n&~a)+e[10]+38016083|0)<<9|o>>>23)+r|0)&n|r&~n)+e[15]-660478335|0)<<14|a>>>18)+o|0)&r|o&~r)+e[4]-405537848|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&o|a&~o)+e[9]+568446438|0)<<5|r>>>27)+n|0)&a|n&~a)+e[14]-1019803690|0)<<9|o>>>23)+r|0)&n|r&~n)+e[3]-187363961|0)<<14|a>>>18)+o|0)&r|o&~r)+e[8]+1163531501|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&o|a&~o)+e[13]-1444681467|0)<<5|r>>>27)+n|0)&a|n&~a)+e[2]-51403784|0)<<9|o>>>23)+r|0)&n|r&~n)+e[7]+1735328473|0)<<14|a>>>18)+o|0)&r|o&~r)+e[12]-1926607734|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n^a^o)+e[5]-378558|0)<<4|r>>>28)+n|0)^n^a)+e[8]-2022574463|0)<<11|o>>>21)+r|0)^r^n)+e[11]+1839030562|0)<<16|a>>>16)+o|0)^o^r)+e[14]-35309556|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n^a^o)+e[1]-1530992060|0)<<4|r>>>28)+n|0)^n^a)+e[4]+1272893353|0)<<11|o>>>21)+r|0)^r^n)+e[7]-155497632|0)<<16|a>>>16)+o|0)^o^r)+e[10]-1094730640|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n^a^o)+e[13]+681279174|0)<<4|r>>>28)+n|0)^n^a)+e[0]-358537222|0)<<11|o>>>21)+r|0)^r^n)+e[3]-722521979|0)<<16|a>>>16)+o|0)^o^r)+e[6]+76029189|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n^a^o)+e[9]-640364487|0)<<4|r>>>28)+n|0)^n^a)+e[12]-421815835|0)<<11|o>>>21)+r|0)^r^n)+e[15]+530742520|0)<<16|a>>>16)+o|0)^o^r)+e[2]-995338651|0)<<23|n>>>9)+a|0,n=((n+=((o=((o+=(n^((r=((r+=(a^(n|~o))+e[0]-198630844|0)<<6|r>>>26)+n|0)|~a))+e[7]+1126891415|0)<<10|o>>>22)+r|0)^((a=((a+=(r^(o|~n))+e[14]-1416354905|0)<<15|a>>>17)+o|0)|~r))+e[5]-57434055|0)<<21|n>>>11)+a|0,n=((n+=((o=((o+=(n^((r=((r+=(a^(n|~o))+e[12]+1700485571|0)<<6|r>>>26)+n|0)|~a))+e[3]-1894986606|0)<<10|o>>>22)+r|0)^((a=((a+=(r^(o|~n))+e[10]-1051523|0)<<15|a>>>17)+o|0)|~r))+e[1]-2054922799|0)<<21|n>>>11)+a|0,n=((n+=((o=((o+=(n^((r=((r+=(a^(n|~o))+e[8]+1873313359|0)<<6|r>>>26)+n|0)|~a))+e[15]-30611744|0)<<10|o>>>22)+r|0)^((a=((a+=(r^(o|~n))+e[6]-1560198380|0)<<15|a>>>17)+o|0)|~r))+e[13]+1309151649|0)<<21|n>>>11)+a|0,n=((n+=((o=((o+=(n^((r=((r+=(a^(n|~o))+e[4]-145523070|0)<<6|r>>>26)+n|0)|~a))+e[11]-1120210379|0)<<10|o>>>22)+r|0)^((a=((a+=(r^(o|~n))+e[2]+718787259|0)<<15|a>>>17)+o|0)|~r))+e[9]-343485551|0)<<21|n>>>11)+a|0,t[0]=r+t[0]|0,t[1]=n+t[1]|0,t[2]=a+t[2]|0,t[3]=o+t[3]|0}function n(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}function a(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t[e]+(t[e+1]<<8)+(t[e+2]<<16)+(t[e+3]<<24);return r}function o(t){var e,a,o,i,u,l,f=t.length,s=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=f;e+=64)r(s,n(t.substring(e-64,e)));for(a=(t=t.substring(e-64)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e>2]|=t.charCodeAt(e)<<(e%4<<3);if(o[e>>2]|=128<<(e%4<<3),e>55)for(r(s,o),e=0;e<16;e+=1)o[e]=0;return i=(i=8*f).toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(i[2],16),l=parseInt(i[1],16)||0,o[14]=u,o[15]=l,r(s,o),s}function i(t){var e,n,o,i,u,l,f=t.length,s=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=f;e+=64)r(s,a(t.subarray(e-64,e)));for(n=(t=e-64>2]|=t[e]<<(e%4<<3);if(o[e>>2]|=128<<(e%4<<3),e>55)for(r(s,o),e=0;e<16;e+=1)o[e]=0;return i=(i=8*f).toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(i[2],16),l=parseInt(i[1],16)||0,o[14]=u,o[15]=l,r(s,o),s}function u(t){var r,n="";for(r=0;r<4;r+=1)n+=e[t>>8*r+4&15]+e[t>>8*r&15];return n}function l(t){var e;for(e=0;es?new ArrayBuffer(0):(a=s-f,o=new ArrayBuffer(a),i=new Uint8Array(o),u=new Uint8Array(this,f,a),i.set(u),o)}}(),d.prototype.append=function(t){return this.appendBinary(f(t)),this},d.prototype.appendBinary=function(t){this._buff+=t,this._length+=t.length;var e,a=this._buff.length;for(e=64;e<=a;e+=64)r(this._hash,n(this._buff.substring(e-64,e)));return this._buff=this._buff.substring(e-64),this},d.prototype.end=function(t){var e,r,n=this._buff,a=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e>2]|=n.charCodeAt(e)<<(e%4<<3);return this._finish(o,a),r=l(this._hash),t&&(r=p(r)),this.reset(),r},d.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},d.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},d.prototype.setState=function(t){return this._buff=t.buff,this._length=t.length,this._hash=t.hash,this},d.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},d.prototype._finish=function(t,e){var n,a,o,i=e;if(t[i>>2]|=128<<(i%4<<3),i>55)for(r(this._hash,t),i=0;i<16;i+=1)t[i]=0;n=(n=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),a=parseInt(n[2],16),o=parseInt(n[1],16)||0,t[14]=a,t[15]=o,r(this._hash,t)},d.hash=function(t,e){return d.hashBinary(f(t),e)},d.hashBinary=function(t,e){var r=l(o(t));return e?p(r):r},d.ArrayBuffer=function(){this.reset()},d.ArrayBuffer.prototype.append=function(t){var e,n=h(this._buff.buffer,t,!0),o=n.length;for(this._length+=t.byteLength,e=64;e<=o;e+=64)r(this._hash,a(n.subarray(e-64,e)));return this._buff=e-64>2]|=n[e]<<(e%4<<3);return this._finish(o,a),r=l(this._hash),t&&(r=p(r)),this.reset(),r},d.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},d.ArrayBuffer.prototype.getState=function(){var t=d.prototype.getState.call(this);return t.buff=c(t.buff),t},d.ArrayBuffer.prototype.setState=function(t){return t.buff=s(t.buff,!0),d.prototype.setState.call(this,t)},d.ArrayBuffer.prototype.destroy=d.prototype.destroy,d.ArrayBuffer.prototype._finish=d.prototype._finish,d.ArrayBuffer.hash=function(t,e){var r=l(i(new Uint8Array(t)));return e?p(r):r},d}()}(E);var L=a(E.exports),C=function(t){return o({url:"/fileUploadAndDownload/findFile",method:"get",params:t})},j=function(t){return o({url:"/fileUploadAndDownload/breakpointContinueFinish",method:"post",params:t})},S=function(t,e){return o({url:"/fileUploadAndDownload/removeChunk",method:"post",data:t,params:e})},U={class:"break-point"},N={class:"gva-table-box"},D={id:"fromCont",method:"post"},F={class:"list"},O={key:0,class:"list-item"},I={class:"percentage"},P=Object.assign({name:"BreakPoint"},{__name:"breakpoint",setup:function(e){var n=i(null),a=i(""),k=i([]),E=i([]),P=i(NaN),M=i(!1),T=i(0),G=i(!0),z=function(){var e=r(t().mark((function e(o){var i,u;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=new FileReader,u=o.target.files[0],n.value=u,T.value=0,n.value.size<5242880?(i.readAsArrayBuffer(n.value),i.onload=function(){var e=r(t().mark((function e(r){var o,i,u,l,f,s,c,h,p,d,v;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(o=r.target.result,(i=new L.ArrayBuffer).append(o),a.value=i.end(),u=1048576,l=0,f=0,s=0,k.value=[];f>>25)+a|0)&a|~r&n)+t[1]-389564586|0)<<12|s>>>20)+r|0)&r|~s&a)+t[2]+606105819|0)<<17|n>>>15)+s|0)&s|~n&r)+t[3]-1044525330|0)<<22|a>>>10)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a&n|~a&s)+t[4]-176418897|0)<<7|r>>>25)+a|0)&a|~r&n)+t[5]+1200080426|0)<<12|s>>>20)+r|0)&r|~s&a)+t[6]-1473231341|0)<<17|n>>>15)+s|0)&s|~n&r)+t[7]-45705983|0)<<22|a>>>10)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a&n|~a&s)+t[8]+1770035416|0)<<7|r>>>25)+a|0)&a|~r&n)+t[9]-1958414417|0)<<12|s>>>20)+r|0)&r|~s&a)+t[10]-42063|0)<<17|n>>>15)+s|0)&s|~n&r)+t[11]-1990404162|0)<<22|a>>>10)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a&n|~a&s)+t[12]+1804603682|0)<<7|r>>>25)+a|0)&a|~r&n)+t[13]-40341101|0)<<12|s>>>20)+r|0)&r|~s&a)+t[14]-1502002290|0)<<17|n>>>15)+s|0)&s|~n&r)+t[15]+1236535329|0)<<22|a>>>10)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a&s|n&~s)+t[1]-165796510|0)<<5|r>>>27)+a|0)&n|a&~n)+t[6]-1069501632|0)<<9|s>>>23)+r|0)&a|r&~a)+t[11]+643717713|0)<<14|n>>>18)+s|0)&r|s&~r)+t[0]-373897302|0)<<20|a>>>12)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a&s|n&~s)+t[5]-701558691|0)<<5|r>>>27)+a|0)&n|a&~n)+t[10]+38016083|0)<<9|s>>>23)+r|0)&a|r&~a)+t[15]-660478335|0)<<14|n>>>18)+s|0)&r|s&~r)+t[4]-405537848|0)<<20|a>>>12)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a&s|n&~s)+t[9]+568446438|0)<<5|r>>>27)+a|0)&n|a&~n)+t[14]-1019803690|0)<<9|s>>>23)+r|0)&a|r&~a)+t[3]-187363961|0)<<14|n>>>18)+s|0)&r|s&~r)+t[8]+1163531501|0)<<20|a>>>12)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a&s|n&~s)+t[13]-1444681467|0)<<5|r>>>27)+a|0)&n|a&~n)+t[2]-51403784|0)<<9|s>>>23)+r|0)&a|r&~a)+t[7]+1735328473|0)<<14|n>>>18)+s|0)&r|s&~r)+t[12]-1926607734|0)<<20|a>>>12)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a^n^s)+t[5]-378558|0)<<4|r>>>28)+a|0)^a^n)+t[8]-2022574463|0)<<11|s>>>21)+r|0)^r^a)+t[11]+1839030562|0)<<16|n>>>16)+s|0)^s^r)+t[14]-35309556|0)<<23|a>>>9)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a^n^s)+t[1]-1530992060|0)<<4|r>>>28)+a|0)^a^n)+t[4]+1272893353|0)<<11|s>>>21)+r|0)^r^a)+t[7]-155497632|0)<<16|n>>>16)+s|0)^s^r)+t[10]-1094730640|0)<<23|a>>>9)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a^n^s)+t[13]+681279174|0)<<4|r>>>28)+a|0)^a^n)+t[0]-358537222|0)<<11|s>>>21)+r|0)^r^a)+t[3]-722521979|0)<<16|n>>>16)+s|0)^s^r)+t[6]+76029189|0)<<23|a>>>9)+n|0,a=((a+=((n=((n+=((s=((s+=((r=((r+=(a^n^s)+t[9]-640364487|0)<<4|r>>>28)+a|0)^a^n)+t[12]-421815835|0)<<11|s>>>21)+r|0)^r^a)+t[15]+530742520|0)<<16|n>>>16)+s|0)^s^r)+t[2]-995338651|0)<<23|a>>>9)+n|0,a=((a+=((s=((s+=(a^((r=((r+=(n^(a|~s))+t[0]-198630844|0)<<6|r>>>26)+a|0)|~n))+t[7]+1126891415|0)<<10|s>>>22)+r|0)^((n=((n+=(r^(s|~a))+t[14]-1416354905|0)<<15|n>>>17)+s|0)|~r))+t[5]-57434055|0)<<21|a>>>11)+n|0,a=((a+=((s=((s+=(a^((r=((r+=(n^(a|~s))+t[12]+1700485571|0)<<6|r>>>26)+a|0)|~n))+t[3]-1894986606|0)<<10|s>>>22)+r|0)^((n=((n+=(r^(s|~a))+t[10]-1051523|0)<<15|n>>>17)+s|0)|~r))+t[1]-2054922799|0)<<21|a>>>11)+n|0,a=((a+=((s=((s+=(a^((r=((r+=(n^(a|~s))+t[8]+1873313359|0)<<6|r>>>26)+a|0)|~n))+t[15]-30611744|0)<<10|s>>>22)+r|0)^((n=((n+=(r^(s|~a))+t[6]-1560198380|0)<<15|n>>>17)+s|0)|~r))+t[13]+1309151649|0)<<21|a>>>11)+n|0,a=((a+=((s=((s+=(a^((r=((r+=(n^(a|~s))+t[4]-145523070|0)<<6|r>>>26)+a|0)|~n))+t[11]-1120210379|0)<<10|s>>>22)+r|0)^((n=((n+=(r^(s|~a))+t[2]+718787259|0)<<15|n>>>17)+s|0)|~r))+t[9]-343485551|0)<<21|a>>>11)+n|0,e[0]=r+e[0]|0,e[1]=a+e[1]|0,e[2]=n+e[2]|0,e[3]=s+e[3]|0}function a(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}function n(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r}function s(e){var t,n,s,i,o,u,f=e.length,l=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=f;t+=64)r(l,a(e.substring(t-64,t)));for(n=(e=e.substring(t-64)).length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(s[t>>2]|=128<<(t%4<<3),t>55)for(r(l,s),t=0;t<16;t+=1)s[t]=0;return i=(i=8*f).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(i[2],16),u=parseInt(i[1],16)||0,s[14]=o,s[15]=u,r(l,s),l}function i(e){var t,a,s,i,o,u,f=e.length,l=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=f;t+=64)r(l,n(e.subarray(t-64,t)));for(a=(e=t-64>2]|=e[t]<<(t%4<<3);if(s[t>>2]|=128<<(t%4<<3),t>55)for(r(l,s),t=0;t<16;t+=1)s[t]=0;return i=(i=8*f).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(i[2],16),u=parseInt(i[1],16)||0,s[14]=o,s[15]=u,r(l,s),l}function o(e){var r,a="";for(r=0;r<4;r+=1)a+=t[e>>8*r+4&15]+t[e>>8*r&15];return a}function u(e){var t;for(t=0;tl?new ArrayBuffer(0):(n=l-f,s=new ArrayBuffer(n),i=new Uint8Array(s),o=new Uint8Array(this,f,n),i.set(o),s)}}(),c.prototype.append=function(e){return this.appendBinary(f(e)),this},c.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,n=this._buff.length;for(t=64;t<=n;t+=64)r(this._hash,a(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},c.prototype.end=function(e){var t,r,a=this._buff,n=a.length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=a.charCodeAt(t)<<(t%4<<3);return this._finish(s,n),r=u(this._hash),e&&(r=d(r)),this.reset(),r},c.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},c.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},c.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},c.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},c.prototype._finish=function(e,t){var a,n,s,i=t;if(e[i>>2]|=128<<(i%4<<3),i>55)for(r(this._hash,e),i=0;i<16;i+=1)e[i]=0;a=(a=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),n=parseInt(a[2],16),s=parseInt(a[1],16)||0,e[14]=n,e[15]=s,r(this._hash,e)},c.hash=function(e,t){return c.hashBinary(f(e),t)},c.hashBinary=function(e,t){var r=u(s(e));return t?d(r):r},c.ArrayBuffer=function(){this.reset()},c.ArrayBuffer.prototype.append=function(e){var t,a=p(this._buff.buffer,e,!0),s=a.length;for(this._length+=e.byteLength,t=64;t<=s;t+=64)r(this._hash,n(a.subarray(t-64,t)));return this._buff=t-64>2]|=a[t]<<(t%4<<3);return this._finish(s,n),r=u(this._hash),e&&(r=d(r)),this.reset(),r},c.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},c.ArrayBuffer.prototype.getState=function(){var e=c.prototype.getState.call(this);return e.buff=h(e.buff),e},c.ArrayBuffer.prototype.setState=function(e){return e.buff=l(e.buff,!0),c.prototype.setState.call(this,e)},c.ArrayBuffer.prototype.destroy=c.prototype.destroy,c.ArrayBuffer.prototype._finish=c.prototype._finish,c.ArrayBuffer.hash=function(e,t){var r=u(i(new Uint8Array(e)));return t?d(r):r},c}()),C={class:"break-point"},k={class:"gva-table-box"},D={id:"fromCont",method:"post"},U={class:"list"},S={key:0,class:"list-item"},E={class:"percentage"},F=_(Object.assign({name:"BreakPoint"},{__name:"breakpoint",setup(e){const _=r(null),B=r(""),F=r([]),M=r([]),x=r(NaN),I=r(!1),N=r(0),j=r(!0),L=async e=>{const r=new FileReader,a=e.target.files[0];_.value=a,N.value=0,_.value.size<5242880?(r.readAsArrayBuffer(_.value),r.onload=async e=>{const r=e.target.result,a=new w.ArrayBuffer;a.append(r),B.value=a.end();const n=1048576;let s=0,i=0,o=0;for(F.value=[];i<_.value.size;){s=o*n,i=(o+1)*n;var u=_.value.slice(s,i);const e=new window.FormData;e.append("fileMd5",B.value),e.append("file",u),e.append("chunkNumber",o),e.append("fileName",_.value.name),F.value.push({key:o,formData:e}),o++}const f={fileName:_.value.name,fileMd5:B.value,chunkTotal:F.value.length},l=await(e=>t({url:"/fileUploadAndDownload/findFile",method:"get",params:e}))(f),h=l.data.file.ExaFileChunk;l.data.file.IsFinish?(M.value=[],y.success("文件已秒传")):M.value=F.value.filter((e=>!(h&&h.some((t=>t.FileChunkNumber===e.key))))),x.value=M.value.length,console.log(x.value)}):(I.value=!0,y("请上传小于5M文件"))},P=()=>{null!==_.value?(100===N.value&&(j.value=!1),R()):y("请先上传文件")},R=()=>{M.value&&M.value.forEach((e=>{e.formData.append("chunkTotal",F.value.length);const t=new FileReader,r=e.formData.get("file");t.readAsArrayBuffer(r),t.onload=t=>{const r=new w.ArrayBuffer;r.append(t.target.result),e.formData.append("chunkMd5",r.end()),T(e)}}))};a((()=>x.value),(()=>{N.value=Math.floor((F.value.length-x.value)/F.value.length*100)}));const T=async e=>{var r;if(0===(await(r=e.formData,t({url:"/fileUploadAndDownload/breakpointContinue",method:"post",donNotShowLoading:!0,headers:{"Content-Type":"multipart/form-data"},data:r}))).code&&(x.value--,0===x.value)){const e={fileName:_.value.name,fileMd5:B.value},r=await(e=>t({url:"/fileUploadAndDownload/breakpointContinueFinish",method:"post",params:e}))(e);if(0===r.code){const e={fileName:_.value.name,fileMd5:B.value,filePath:r.data.filePath};y.success("上传成功"),await((e,r)=>t({url:"/fileUploadAndDownload/removeChunk",method:"post",data:e,params:r}))(e)}}},$=r(null),z=()=>{$.value.dispatchEvent(new MouseEvent("click"))};return(e,t)=>{const r=b,a=g,y=n("document"),B=m,w=A;return s(),i("div",C,[o("div",k,[u(r,{"content-position":"left"},{default:f((()=>t[0]||(t[0]=[l("大文件上传")]))),_:1}),o("form",D,[o("div",{class:"fileUpload",onClick:z},[t[1]||(t[1]=l(" 选择文件 ")),h(o("input",{id:"file",ref_key:"FileInput",ref:$,multiple:"multiple",type:"file",onChange:L},null,544),[[p,!1]])])]),u(a,{disabled:I.value,type:"primary",class:"uploadBtn",onClick:P},{default:f((()=>t[2]||(t[2]=[l("上传文件")]))),_:1},8,["disabled"]),t[3]||(t[3]=o("div",{class:"el-upload__tip"},"请上传不超过5MB的文件",-1)),o("div",U,[u(v,{name:"list",tag:"p"},{default:f((()=>[_.value?(s(),i("div",S,[u(B,null,{default:f((()=>[u(y)])),_:1}),o("span",null,d(_.value.name),1),o("span",E,d(N.value)+"%",1),u(w,{"show-text":!1,"text-inside":!1,"stroke-width":2,percentage:N.value},null,8,["percentage"])])):c("",!0)])),_:1})]),t[4]||(t[4]=o("div",{class:"tips"},"此版本为先行体验功能测试版,样式美化和性能优化正在进行中,上传切片文件和合成的完整文件分别再QMPlusserver目录的breakpointDir文件夹和fileDir文件夹",-1))])])}}}),[["__scopeId","data-v-3ceeadb3"]]);export{F as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0button-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0button-legacy.js new file mode 100644 index 000000000..23ada22f0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0button-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(o,l){"use strict";return{execute:function(){var o=document.createElement("style");o.textContent='.el-button{--el-button-font-weight: var(--el-font-weight-primary);--el-button-border-color: var(--el-border-color);--el-button-bg-color: var(--el-fill-color-blank);--el-button-text-color: var(--el-text-color-regular);--el-button-disabled-text-color: var(--el-disabled-text-color);--el-button-disabled-bg-color: var(--el-fill-color-blank);--el-button-disabled-border-color: var(--el-border-color-light);--el-button-divide-border-color: rgba(255, 255, 255, .5);--el-button-hover-text-color: var(--el-color-primary);--el-button-hover-bg-color: var(--el-color-primary-light-9);--el-button-hover-border-color: var(--el-color-primary-light-7);--el-button-active-text-color: var(--el-button-hover-text-color);--el-button-active-border-color: var(--el-color-primary);--el-button-active-bg-color: var(--el-button-hover-bg-color);--el-button-outline-color: var(--el-color-primary-light-5);--el-button-hover-link-text-color: var(--el-color-info);--el-button-active-color: var(--el-text-color-primary);display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color)}.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:none}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button{padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color: var(--el-color-primary);--el-button-hover-bg-color: var(--el-fill-color-blank);--el-button-hover-border-color: var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{width:32px;border-radius:50%;padding:8px}.el-button.is-text{color:var(--el-button-text-color);border:0 solid transparent;background-color:transparent}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{border-color:transparent;color:var(--el-button-text-color);background:transparent;padding:2px;height:auto}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button.is-link:not(.is-disabled):hover{border-color:transparent;background-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color);border-color:transparent;background-color:transparent}.el-button--text{border-color:transparent;background:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button--text:not(.is-disabled):hover{color:var(--el-color-primary-light-3);border-color:transparent;background-color:transparent}.el-button--text:not(.is-disabled):active{color:var(--el-color-primary-dark-2);border-color:transparent;background-color:transparent}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-primary);--el-button-border-color: var(--el-color-primary);--el-button-outline-color: var(--el-color-primary-light-5);--el-button-active-color: var(--el-color-primary-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-primary-light-5);--el-button-hover-bg-color: var(--el-color-primary-light-3);--el-button-hover-border-color: var(--el-color-primary-light-3);--el-button-active-bg-color: var(--el-color-primary-dark-2);--el-button-active-border-color: var(--el-color-primary-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-primary-light-5);--el-button-disabled-border-color: var(--el-color-primary-light-5)}.el-button--primary.is-plain,.el-button--primary.is-text,.el-button--primary.is-link{--el-button-text-color: var(--el-color-primary);--el-button-bg-color: var(--el-color-primary-light-9);--el-button-border-color: var(--el-color-primary-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-primary);--el-button-hover-border-color: var(--el-color-primary);--el-button-active-text-color: var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:hover,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:active{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-success);--el-button-border-color: var(--el-color-success);--el-button-outline-color: var(--el-color-success-light-5);--el-button-active-color: var(--el-color-success-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-success-light-5);--el-button-hover-bg-color: var(--el-color-success-light-3);--el-button-hover-border-color: var(--el-color-success-light-3);--el-button-active-bg-color: var(--el-color-success-dark-2);--el-button-active-border-color: var(--el-color-success-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-success-light-5);--el-button-disabled-border-color: var(--el-color-success-light-5)}.el-button--success.is-plain,.el-button--success.is-text,.el-button--success.is-link{--el-button-text-color: var(--el-color-success);--el-button-bg-color: var(--el-color-success-light-9);--el-button-border-color: var(--el-color-success-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-success);--el-button-hover-border-color: var(--el-color-success);--el-button-active-text-color: var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:hover,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:active,.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:active{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-warning);--el-button-border-color: var(--el-color-warning);--el-button-outline-color: var(--el-color-warning-light-5);--el-button-active-color: var(--el-color-warning-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-warning-light-5);--el-button-hover-bg-color: var(--el-color-warning-light-3);--el-button-hover-border-color: var(--el-color-warning-light-3);--el-button-active-bg-color: var(--el-color-warning-dark-2);--el-button-active-border-color: var(--el-color-warning-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-warning-light-5);--el-button-disabled-border-color: var(--el-color-warning-light-5)}.el-button--warning.is-plain,.el-button--warning.is-text,.el-button--warning.is-link{--el-button-text-color: var(--el-color-warning);--el-button-bg-color: var(--el-color-warning-light-9);--el-button-border-color: var(--el-color-warning-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-warning);--el-button-hover-border-color: var(--el-color-warning);--el-button-active-text-color: var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:hover,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:active{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-danger);--el-button-border-color: var(--el-color-danger);--el-button-outline-color: var(--el-color-danger-light-5);--el-button-active-color: var(--el-color-danger-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-danger-light-5);--el-button-hover-bg-color: var(--el-color-danger-light-3);--el-button-hover-border-color: var(--el-color-danger-light-3);--el-button-active-bg-color: var(--el-color-danger-dark-2);--el-button-active-border-color: var(--el-color-danger-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-danger-light-5);--el-button-disabled-border-color: var(--el-color-danger-light-5)}.el-button--danger.is-plain,.el-button--danger.is-text,.el-button--danger.is-link{--el-button-text-color: var(--el-color-danger);--el-button-bg-color: var(--el-color-danger-light-9);--el-button-border-color: var(--el-color-danger-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-danger);--el-button-hover-border-color: var(--el-color-danger);--el-button-active-text-color: var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:hover,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:active{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-info);--el-button-border-color: var(--el-color-info);--el-button-outline-color: var(--el-color-info-light-5);--el-button-active-color: var(--el-color-info-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-info-light-5);--el-button-hover-bg-color: var(--el-color-info-light-3);--el-button-hover-border-color: var(--el-color-info-light-3);--el-button-active-bg-color: var(--el-color-info-dark-2);--el-button-active-border-color: var(--el-color-info-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-info-light-5);--el-button-disabled-border-color: var(--el-color-info-light-5)}.el-button--info.is-plain,.el-button--info.is-text,.el-button--info.is-link{--el-button-text-color: var(--el-color-info);--el-button-bg-color: var(--el-color-info-light-9);--el-button-border-color: var(--el-color-info-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-info);--el-button-hover-border-color: var(--el-color-info);--el-button-active-text-color: var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:hover,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:active,.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:active{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size: 40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size: 24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}\n',document.head.appendChild(o)}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0button.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0button.css new file mode 100644 index 000000000..c2aaeae06 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0button.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-button{--el-button-font-weight: var(--el-font-weight-primary);--el-button-border-color: var(--el-border-color);--el-button-bg-color: var(--el-fill-color-blank);--el-button-text-color: var(--el-text-color-regular);--el-button-disabled-text-color: var(--el-disabled-text-color);--el-button-disabled-bg-color: var(--el-fill-color-blank);--el-button-disabled-border-color: var(--el-border-color-light);--el-button-divide-border-color: rgba(255, 255, 255, .5);--el-button-hover-text-color: var(--el-color-primary);--el-button-hover-bg-color: var(--el-color-primary-light-9);--el-button-hover-border-color: var(--el-color-primary-light-7);--el-button-active-text-color: var(--el-button-hover-text-color);--el-button-active-border-color: var(--el-color-primary);--el-button-active-bg-color: var(--el-button-hover-bg-color);--el-button-outline-color: var(--el-color-primary-light-5);--el-button-hover-link-text-color: var(--el-color-info);--el-button-active-color: var(--el-text-color-primary);display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color)}.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:none}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button{padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color: var(--el-color-primary);--el-button-hover-bg-color: var(--el-fill-color-blank);--el-button-hover-border-color: var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{width:32px;border-radius:50%;padding:8px}.el-button.is-text{color:var(--el-button-text-color);border:0 solid transparent;background-color:transparent}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{border-color:transparent;color:var(--el-button-text-color);background:transparent;padding:2px;height:auto}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button.is-link:not(.is-disabled):hover{border-color:transparent;background-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color);border-color:transparent;background-color:transparent}.el-button--text{border-color:transparent;background:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button--text:not(.is-disabled):hover{color:var(--el-color-primary-light-3);border-color:transparent;background-color:transparent}.el-button--text:not(.is-disabled):active{color:var(--el-color-primary-dark-2);border-color:transparent;background-color:transparent}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-primary);--el-button-border-color: var(--el-color-primary);--el-button-outline-color: var(--el-color-primary-light-5);--el-button-active-color: var(--el-color-primary-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-primary-light-5);--el-button-hover-bg-color: var(--el-color-primary-light-3);--el-button-hover-border-color: var(--el-color-primary-light-3);--el-button-active-bg-color: var(--el-color-primary-dark-2);--el-button-active-border-color: var(--el-color-primary-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-primary-light-5);--el-button-disabled-border-color: var(--el-color-primary-light-5)}.el-button--primary.is-plain,.el-button--primary.is-text,.el-button--primary.is-link{--el-button-text-color: var(--el-color-primary);--el-button-bg-color: var(--el-color-primary-light-9);--el-button-border-color: var(--el-color-primary-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-primary);--el-button-hover-border-color: var(--el-color-primary);--el-button-active-text-color: var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:hover,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:active{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-success);--el-button-border-color: var(--el-color-success);--el-button-outline-color: var(--el-color-success-light-5);--el-button-active-color: var(--el-color-success-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-success-light-5);--el-button-hover-bg-color: var(--el-color-success-light-3);--el-button-hover-border-color: var(--el-color-success-light-3);--el-button-active-bg-color: var(--el-color-success-dark-2);--el-button-active-border-color: var(--el-color-success-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-success-light-5);--el-button-disabled-border-color: var(--el-color-success-light-5)}.el-button--success.is-plain,.el-button--success.is-text,.el-button--success.is-link{--el-button-text-color: var(--el-color-success);--el-button-bg-color: var(--el-color-success-light-9);--el-button-border-color: var(--el-color-success-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-success);--el-button-hover-border-color: var(--el-color-success);--el-button-active-text-color: var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:hover,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:active,.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:active{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-warning);--el-button-border-color: var(--el-color-warning);--el-button-outline-color: var(--el-color-warning-light-5);--el-button-active-color: var(--el-color-warning-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-warning-light-5);--el-button-hover-bg-color: var(--el-color-warning-light-3);--el-button-hover-border-color: var(--el-color-warning-light-3);--el-button-active-bg-color: var(--el-color-warning-dark-2);--el-button-active-border-color: var(--el-color-warning-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-warning-light-5);--el-button-disabled-border-color: var(--el-color-warning-light-5)}.el-button--warning.is-plain,.el-button--warning.is-text,.el-button--warning.is-link{--el-button-text-color: var(--el-color-warning);--el-button-bg-color: var(--el-color-warning-light-9);--el-button-border-color: var(--el-color-warning-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-warning);--el-button-hover-border-color: var(--el-color-warning);--el-button-active-text-color: var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:hover,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:active{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-danger);--el-button-border-color: var(--el-color-danger);--el-button-outline-color: var(--el-color-danger-light-5);--el-button-active-color: var(--el-color-danger-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-danger-light-5);--el-button-hover-bg-color: var(--el-color-danger-light-3);--el-button-hover-border-color: var(--el-color-danger-light-3);--el-button-active-bg-color: var(--el-color-danger-dark-2);--el-button-active-border-color: var(--el-color-danger-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-danger-light-5);--el-button-disabled-border-color: var(--el-color-danger-light-5)}.el-button--danger.is-plain,.el-button--danger.is-text,.el-button--danger.is-link{--el-button-text-color: var(--el-color-danger);--el-button-bg-color: var(--el-color-danger-light-9);--el-button-border-color: var(--el-color-danger-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-danger);--el-button-hover-border-color: var(--el-color-danger);--el-button-active-text-color: var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:hover,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:active{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-info);--el-button-border-color: var(--el-color-info);--el-button-outline-color: var(--el-color-info-light-5);--el-button-active-color: var(--el-color-info-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-info-light-5);--el-button-hover-bg-color: var(--el-color-info-light-3);--el-button-hover-border-color: var(--el-color-info-light-3);--el-button-active-bg-color: var(--el-color-info-dark-2);--el-button-active-border-color: var(--el-color-info-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-info-light-5);--el-button-disabled-border-color: var(--el-color-info-light-5)}.el-button--info.is-plain,.el-button--info.is-text,.el-button--info.is-link{--el-button-text-color: var(--el-color-info);--el-button-bg-color: var(--el-color-info-light-9);--el-button-border-color: var(--el-color-info-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-info);--el-button-hover-border-color: var(--el-color-info);--el-button-active-text-color: var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:hover,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:active,.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:active{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size: 40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size: 24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0card-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0card-legacy.js new file mode 100644 index 000000000..15215863d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0card-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function r(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.push.apply(o,t)}return o}function e(e){for(var t=1;t(o(),r("div",{class:d([l(a).b(),l(a).is("".concat(s.shadow,"-shadow"))])},[s.$slots.header||s.header?(o(),r("div",{key:0,class:d(l(a).e("header"))},[y(s.$slots,"header",{},(()=>[f(i(s.header),1)]))],2)):n("v-if",!0),c("div",{class:d([l(a).e("body"),s.bodyClass]),style:v(s.bodyStyle)},[y(s.$slots,"default")],6),s.$slots.footer||s.footer?(o(),r("div",{key:1,class:d(l(a).e("footer"))},[y(s.$slots,"footer",{},(()=>[f(i(s.footer),1)]))],2)):n("v-if",!0)],2))}}),[["__file","card.vue"]]));export{S as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0castArray-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0castArray-legacy.js new file mode 100644 index 000000000..663ed89ce --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0castArray-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var n;return{setters:[function(e){n=e.bc}],execute:function(){e("c",(function(){if(!arguments.length)return[];var e=arguments[0];return n(e)?e:[e]}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0castArray.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0castArray.js new file mode 100644 index 000000000..3af3d72ac --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0castArray.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{bc as r}from"./087AC4D233B64EB0index.js";function n(){if(!arguments.length)return[];var n=arguments[0];return r(n)?n:[n]}export{n as c}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable-legacy.js new file mode 100644 index 000000000..b90d7fc2c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var e,n={},r=Object.prototype,a=r.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),u=new G(r||[]);return o(i,"_invoke",{value:C(t,n,u)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var h="suspendedStart",d="suspendedYield",y="executing",v="completed",g={};function m(){}function b(){}function w(){}var x={};s(x,u,(function(){return this}));var E=Object.getPrototypeOf,B=E&&E(E(O([])));B&&B!==r&&a.call(B,u)&&(x=B);var j=w.prototype=m.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(r,o,i,u){var l=p(t[r],t,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,i,u)}),(function(t){n("throw",t,i,u)})):e.resolve(s).then((function(t){c.value=t,i(c)}),(function(t){return n("throw",t,i,u)}))}u(l.arg)}var r;o(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,r){n(t,a,e,r)}))}return r=r?r.then(o,o):o()}})}function C(t,n,r){var a=h;return function(o,i){if(a===y)throw Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var l=A(u,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=y;var c=p(t,n,r);if("normal"===c.type){if(a=r.done?v:d,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=v,r.method="throw",r.arg=c.arg)}}}function A(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=p(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function O(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),D(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;D(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}function e(t,e,n,r,a,o,i){try{var u=t[o](i),l=u.value}catch(t){return void n(t)}u.done?e(l):Promise.resolve(l).then(r,a)}function n(t){return function(){var n=this,r=arguments;return new Promise((function(a,o){var i=t.apply(n,r);function u(t){e(i,a,o,u,l,"next",t)}function l(t){e(i,a,o,u,l,"throw",t)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0popover-legacy.js","./087AC4D233B64EB0empty-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0autoCode-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0dropdown-legacy.js"],(function(e,r){"use strict";var a,o,i,u,l,c,s,f,p,h,d,y,v,g,m,b,w,x,E,B,j,k,_,C,A;return{setters:[function(t){a=t.s,o=t.a,i=t.r,u=t.o,l=t.c,c=t.e,s=t.w,f=t.g,p=t.b,h=t.K,d=t.L,y=t.h,v=t.k,g=t.E},function(t){m=t.E,b=t.a},null,null,null,null,null,function(t){w=t.a,x=t.E},function(t){E=t.E,B=t.a},function(t){j=t.E},function(t){k=t.E},null,null,function(t){_=t._},function(t){C=t.g},function(t){A=t._},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var r=document.createElement("style");r.textContent=".secret[data-v-566bb723]{padding:30px;margin-top:20px;background:#F5F5F5}.secret p[data-v-566bb723]{line-height:30px}.query-ipt[data-v-566bb723]{width:300px;margin-right:30px}.content[data-v-566bb723]{padding:10px;width:100%;background:#F5F5F5;margin-top:30px}.content p[data-v-566bb723]{font-size:16px;line-height:20px}.tables[data-v-566bb723]{width:100%;margin-top:30px}.tables .text[data-v-566bb723]{font-size:18px;color:#6b7687;text-align:center}\n",document.head.appendChild(r);var L={class:"gva-table-box"},D={key:0},G={class:"secret"},O={key:1},P={style:{"text-align":"right","margin-top":"8px"}},S={class:"tables"},T={key:1,class:"text"},V={__name:"chatTable",setup:function(e){var r=o(null),A=i({sk:""}),V=o(""),F=function(){var e=n(t().mark((function e(){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a({url:"/chatGpt/getSK",method:"get"});case 2:n=t.sent,r.value=n.data.ok;case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=n(t().mark((function e(){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,C();case 2:0===(n=t.sent).code&&(U.value=n.data.dbs);case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();F(),N();var q=function(){var e=n(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a({url:"/chatGpt/createSK",method:"post",data:A});case 2:if(0!==t.sent.code){t.next=6;break}return t.next=6,F();case 6:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),I=function(){var e=n(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a({url:"/chatGpt/deleteSK",method:"delete"});case 2:if(0!==t.sent.code){t.next=6;break}return t.next=6,F();case 6:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),K=o({dbname:"",chat:""}),U=o([]),z=o([]),R=function(){var e=n(t().mark((function e(){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e=K.value,a({url:"/chatGpt/getTable",method:"post",data:e});case 2:0===(n=t.sent).code&&(z.value=n.data.results||[]),V.value=n.data.sql;case 5:case"end":return t.stop()}var e}),e)})));return function(){return e.apply(this,arguments)}}();return function(t,e){var n=v,a=g,o=k,i=j,C=w,F=E,N=B,Y=x,Q=m,H=b;return u(),l("div",L,[c(_,{title:"使用GPT-3.5模型,存在一定不稳定性,成功率为50%左右,使用GPT-4可以极大提升成功率,但是费用较高。"}),r.value?(u(),l("div",O,[c(Y,{model:K.value,"label-width":"120px"},{default:s((function(){return[c(C,{label:"删除当前sk:"},{default:s((function(){return[c(i,{placement:"top",width:"160"},{reference:s((function(){return[c(a,{type:"primary",link:"",icon:"delete"},{default:s((function(){return e[6]||(e[6]=[f("删除")])})),_:1})]})),default:s((function(){return[e[7]||(e[7]=p("p",null,"确定要删除并返回吗?",-1)),p("div",P,[c(a,{type:"primary",onClick:I},{default:s((function(){return e[5]||(e[5]=[f("确定")])})),_:1})])]})),_:1})]})),_:1}),c(C,{label:"查询db名称:"},{default:s((function(){return[c(N,{modelValue:K.value.dbname,"onUpdate:modelValue":e[1]||(e[1]=function(t){return K.value.dbname=t}),placeholder:"请选择库",style:{width:"115px"}},{default:s((function(){return[(u(!0),l(h,null,d(U.value,(function(t,e){return u(),y(F,{key:e,label:t.database,value:t.database},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),c(C,{label:"查询db描述:"},{default:s((function(){return[c(n,{modelValue:K.value.chat,"onUpdate:modelValue":e[2]||(e[2]=function(t){return K.value.chat=t}),autosize:{minRows:2,maxRows:4},type:"textarea",clearable:"",placeholder:"请输入对话"},null,8,["modelValue"])]})),_:1}),c(C,{label:"GPT生成SQL:"},{default:s((function(){return[c(n,{modelValue:V.value,"onUpdate:modelValue":e[3]||(e[3]=function(t){return V.value=t}),autosize:{minRows:2,maxRows:4},type:"textarea",disabled:"",placeholder:"此处展示自动生成的sql"},null,8,["modelValue"])]})),_:1}),c(a,{type:"primary",onClick:R},{default:s((function(){return e[8]||(e[8]=[f("查询")])})),_:1})]})),_:1},8,["model"]),p("div",S,[z.value.length?(u(),y(H,{key:0,ref:"multipleTable",data:z.value,style:{width:"100%"},"tooltip-effect":"dark",height:"400px"},{default:s((function(){return[(u(!0),l(h,null,d(z.value[0],(function(t,e){return u(),y(Q,{key:e,prop:e,label:e,"min-width":"200","show-overflow-tooltip":""},null,8,["prop","label"])})),128))]})),_:1},8,["data"])):(u(),l("p",T,"请在对话框输入你需要AI帮你查询的内容:)"))])])):(u(),l("div",D,[c(n,{modelValue:A.sk,"onUpdate:modelValue":e[0]||(e[0]=function(t){return A.sk=t}),class:"query-ipt",placeholder:"请输入您的ChatGpt SK",clearable:""},null,8,["modelValue"]),c(a,{type:"primary",onClick:q},{default:s((function(){return e[4]||(e[4]=[f("保存")])})),_:1}),p("div",G,[c(o,{description:"请到gpt网站获取您的sk:https://platform.openai.com/account/api-keys"})])]))])}}};e("default",A(V,[["__scopeId","data-v-566bb723"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable.css new file mode 100644 index 000000000..dfea03312 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.secret[data-v-566bb723]{padding:30px;margin-top:20px;background:#F5F5F5}.secret p[data-v-566bb723]{line-height:30px}.query-ipt[data-v-566bb723]{width:300px;margin-right:30px}.content[data-v-566bb723]{padding:10px;width:100%;background:#F5F5F5;margin-top:30px}.content p[data-v-566bb723]{font-size:16px;line-height:20px}.tables[data-v-566bb723]{width:100%;margin-top:30px}.tables .text[data-v-566bb723]{font-size:18px;color:#6b7687;text-align:center} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable.js new file mode 100644 index 000000000..bb845b027 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0chatTable.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as a,a as e,r as t,o as l,c as o,e as s,w as r,g as p,b as i,K as d,L as m,h as u,k as n,E as c}from"./087AC4D233B64EB0index.js";import{E as B,a as b}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css *//* empty css */import"./087AC4D233B64EB0scrollbar.js";import"./087AC4D233B64EB0tag.js";import{a as C,E}from"./087AC4D233B64EB0form-item.js";import{E as v,a as h}from"./087AC4D233B64EB0select.js";import{E as A}from"./087AC4D233B64EB0popover.js";import{E as f}from"./087AC4D233B64EB0empty.js";/* empty css *//* empty css */import{_ as j}from"./087AC4D233B64EB0warningBar.js";import{g as y}from"./087AC4D233B64EB0autoCode.js";import{_ as D}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0dropdown.js";const _={class:"gva-table-box"},k={key:0},w={class:"secret"},x={key:1},g={style:{"text-align":"right","margin-top":"8px"}},V={class:"tables"},G={key:1,class:"text"},T=D({__name:"chatTable",setup(D){const T=e(null),K=t({sk:""}),S=e(""),U=async()=>{const e=await a({url:"/chatGpt/getSK",method:"get"});T.value=e.data.ok};U(),(async()=>{const a=await y();0===a.code&&(z.value=a.data.dbs)})();const q=async()=>{var e;0===(await(e=K,a({url:"/chatGpt/createSK",method:"post",data:e}))).code&&await U()},R=async()=>{0===(await a({url:"/chatGpt/deleteSK",method:"delete"})).code&&await U()},P=e({dbname:"",chat:""}),z=e([]),I=e([]),L=async()=>{const e=await(t=P.value,a({url:"/chatGpt/getTable",method:"post",data:t}));var t;0===e.code&&(I.value=e.data.results||[]),S.value=e.data.sql};return(a,e)=>{const t=n,y=c,D=f,U=A,O=C,Q=v,F=h,H=E,J=B,M=b;return l(),o("div",_,[s(j,{title:"使用GPT-3.5模型,存在一定不稳定性,成功率为50%左右,使用GPT-4可以极大提升成功率,但是费用较高。"}),T.value?(l(),o("div",x,[s(H,{model:P.value,"label-width":"120px"},{default:r((()=>[s(O,{label:"删除当前sk:"},{default:r((()=>[s(U,{placement:"top",width:"160"},{reference:r((()=>[s(y,{type:"primary",link:"",icon:"delete"},{default:r((()=>e[6]||(e[6]=[p("删除")]))),_:1})])),default:r((()=>[e[7]||(e[7]=i("p",null,"确定要删除并返回吗?",-1)),i("div",g,[s(y,{type:"primary",onClick:R},{default:r((()=>e[5]||(e[5]=[p("确定")]))),_:1})])])),_:1})])),_:1}),s(O,{label:"查询db名称:"},{default:r((()=>[s(F,{modelValue:P.value.dbname,"onUpdate:modelValue":e[1]||(e[1]=a=>P.value.dbname=a),placeholder:"请选择库",style:{width:"115px"}},{default:r((()=>[(l(!0),o(d,null,m(z.value,((a,e)=>(l(),u(Q,{key:e,label:a.database,value:a.database},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),s(O,{label:"查询db描述:"},{default:r((()=>[s(t,{modelValue:P.value.chat,"onUpdate:modelValue":e[2]||(e[2]=a=>P.value.chat=a),autosize:{minRows:2,maxRows:4},type:"textarea",clearable:"",placeholder:"请输入对话"},null,8,["modelValue"])])),_:1}),s(O,{label:"GPT生成SQL:"},{default:r((()=>[s(t,{modelValue:S.value,"onUpdate:modelValue":e[3]||(e[3]=a=>S.value=a),autosize:{minRows:2,maxRows:4},type:"textarea",disabled:"",placeholder:"此处展示自动生成的sql"},null,8,["modelValue"])])),_:1}),s(y,{type:"primary",onClick:L},{default:r((()=>e[8]||(e[8]=[p("查询")]))),_:1})])),_:1},8,["model"]),i("div",V,[I.value.length?(l(),u(M,{key:0,ref:"multipleTable",data:I.value,style:{width:"100%"},"tooltip-effect":"dark",height:"400px"},{default:r((()=>[(l(!0),o(d,null,m(I.value[0],((a,e)=>(l(),u(J,{key:e,prop:e,label:e,"min-width":"200","show-overflow-tooltip":""},null,8,["prop","label"])))),128))])),_:1},8,["data"])):(l(),o("p",G,"请在对话框输入你需要AI帮你查询的内容:)"))])])):(l(),o("div",k,[s(t,{modelValue:K.sk,"onUpdate:modelValue":e[0]||(e[0]=a=>K.sk=a),class:"query-ipt",placeholder:"请输入您的ChatGpt SK",clearable:""},null,8,["modelValue"]),s(y,{type:"primary",onClick:q},{default:r((()=>e[4]||(e[4]=[p("保存")]))),_:1}),i("div",w,[s(D,{description:"请到gpt网站获取您的sk:https://platform.openai.com/account/api-keys"})])]))])}}},[["__scopeId","data-v-566bb723"]]);export{T as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox-legacy.js new file mode 100644 index 000000000..bfc98e2a3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var r,t={},o=Object.prototype,n=o.hasOwnProperty,l=Object.defineProperty||function(e,r,t){e[r]=t.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function d(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{d({},"")}catch(r){d=function(e,r,t){return e[r]=t}}function s(e,r,t,o){var n=r&&r.prototype instanceof k?r:k,i=Object.create(n.prototype),a=new j(o||[]);return l(i,"_invoke",{value:O(e,t,a)}),i}function b(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var h="suspendedStart",f="suspendedYield",v="executing",p="completed",x={};function k(){}function m(){}function g(){}var y={};d(y,a,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(z([])));w&&w!==o&&n.call(w,a)&&(y=w);var L=g.prototype=k.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(r){d(e,r,(function(e){return this._invoke(r,e)}))}))}function E(e,r){function t(o,l,i,a){var c=b(e[o],e,l);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?r.resolve(d.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):r.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return t("throw",e,i,a)}))}a(c.arg)}var o;l(this,"_invoke",{value:function(e,n){function l(){return new r((function(r,o){t(e,n,r,o)}))}return o=o?o.then(l,l):l()}})}function O(e,t,o){var n=h;return function(l,i){if(n===v)throw Error("Generator is already running");if(n===p){if("throw"===l)throw i;return{value:r,done:!0}}for(o.method=l,o.arg=i;;){var a=o.delegate;if(a){var c=S(a,o);if(c){if(c===x)continue;return c}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(n===h)throw n=p,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);n=v;var u=b(e,t,o);if("normal"===u.type){if(n=o.done?p:f,u.arg===x)continue;return{value:u.arg,done:o.done}}"throw"===u.type&&(n=p,o.method="throw",o.arg=u.arg)}}}function S(e,t){var o=t.method,n=e.iterator[o];if(n===r)return t.delegate=null,"throw"===o&&e.iterator.return&&(t.method="return",t.arg=r,S(e,t),"throw"===t.method)||"return"!==o&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),x;var l=b(n,e.iterator,t.arg);if("throw"===l.type)return t.method="throw",t.arg=l.arg,t.delegate=null,x;var i=l.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,x):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,x)}function V(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function B(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(V,this),this.reset(!0)}function z(e){if(e||""===e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,l=function t(){for(;++o=0;--l){var i=this.tryEntries[l],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--t){var o=this.tryEntries[t];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),B(t),x}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var o=t.completion;if("throw"===o.type){var n=o.arg;B(t)}return n}}throw Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:z(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=r),x}},t}function r(e,r,t,o,n,l,i){try{var a=e[l](i),c=a.value}catch(e){return void t(e)}a.done?r(c):Promise.resolve(c).then(o,n)}function t(e){return function(){var t=this,o=arguments;return new Promise((function(n,l){var i=e.apply(t,o);function a(e){r(i,n,l,a,c,"next",e)}function c(e){r(i,n,l,a,c,"throw",e)}a(void 0)}))}}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function n(e){for(var r=1;r(null==o?void 0:o.max.value)&&e.length>i.value.length,!1===l.value&&(null==(u=null==o?void 0:o.changeEvent)||u.call(o,e))):(t(c,e),r.value=e)}});return{model:i,isGroup:n,isLimitExceeded:l}}(r),u=a.model,d=a.isGroup,V=a.isLimitExceeded,B=function(e,r,t){var o=t.model,n=b(ae,void 0),l=y(!1),i=h((function(){return w(e.value)?e.label:e.value})),a=h((function(){var r=o.value;return s(r)?r:_(r)?L(i.value)?r.map(C).some((function(e){return ne(e,i.value)})):r.map(C).includes(i.value):null!=r?r===e.trueValue||r===e.trueLabel:!!r}));return{checkboxButtonSize:E(h((function(){var e;return null==(e=null==n?void 0:n.size)?void 0:e.value})),{prop:!0}),isChecked:a,isFocused:l,checkboxSize:E(h((function(){var e;return null==(e=null==n?void 0:n.size)?void 0:e.value}))),hasOwnLabel:h((function(){return!!r.default||!w(i.value)})),actualValue:i}}(r,o,{model:u}),j=B.isFocused,z=B.isChecked,F=B.checkboxButtonSize,I=B.checkboxSize,P=B.hasOwnLabel,N=B.actualValue,D=function(e){var r=e.model,t=e.isChecked,o=b(ae,void 0),n=h((function(){var e,n,l=null==(e=null==o?void 0:o.max)?void 0:e.value,i=null==(n=null==o?void 0:o.min)?void 0:n.value;return!f(l)&&r.value.length>=l&&!t.value||!f(i)&&r.value.length<=i&&t.value}));return{isDisabled:v(h((function(){return(null==o?void 0:o.disabled.value)||n.value}))),isLimitDisabled:n}}({model:u,isChecked:z}),G=D.isDisabled,U=O(r,{formItemContext:i,disableIdGeneration:P,disableIdManagement:d}),A=U.inputId,T=U.isLabeledByFormItem,$=function(r,o){var n=o.model,l=o.isLimitExceeded,i=o.hasOwnLabel,a=o.isDisabled,c=o.isLabeledByFormItem,u=b(ae,void 0),d=p().formItem,s=g().emit;function f(e){var t,o,n,l;return[!0,r.trueValue,r.trueLabel].includes(e)?null==(o=null!=(t=r.trueValue)?t:r.trueLabel)||o:null!=(l=null!=(n=r.falseValue)?n:r.falseLabel)&&l}function v(e,r){s("change",f(e),r)}function y(){return(y=t(e().mark((function t(o){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l.value){e.next=2;break}return e.abrupt("return");case 2:if(i.value||a.value||!c.value){e.next=10;break}if(o.composedPath().some((function(e){return"LABEL"===e.tagName}))){e.next=10;break}return n.value=f([!1,r.falseValue,r.falseLabel].includes(n.value)),e.next=9,m();case 9:v(n.value,o);case 10:case"end":return e.stop()}}),t)})))).apply(this,arguments)}var _=h((function(){return(null==u?void 0:u.validateEvent)||r.validateEvent}));return x((function(){return r.modelValue}),(function(){_.value&&(null==d||d.validate("change").catch((function(e){return k()})))})),{handleChange:function(e){if(!l.value){var r=e.target;s("change",f(r.checked),e)}},onClickRoot:function(e){return y.apply(this,arguments)}}}(r,{model:u,isLimitExceeded:V,hasOwnLabel:P,isDisabled:G,isLabeledByFormItem:T}),R=$.handleChange,Y=$.onClickRoot;return r.checked&&(_(u.value)&&!u.value.includes(N.value)?u.value.push(N.value):u.value=null==(l=null!=(n=r.trueValue)?n:r.trueLabel)||l),S({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},h((function(){return d.value&&w(r.value)}))),S({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},h((function(){return!!r.trueLabel}))),S({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},h((function(){return!!r.falseLabel}))),{inputId:A,isLabeledByFormItem:T,isChecked:z,isDisabled:G,isFocused:j,checkboxButtonSize:F,checkboxSize:I,hasOwnLabel:P,model:u,actualValue:N,handleChange:R,onClickRoot:Y}},ue=V({name:"ElCheckbox"}),de=V(n(n({},ue),{},{props:le,emits:ie,setup:function(e){var r=e,t=B(),o=ce(r,t),n=o.inputId,l=o.isLabeledByFormItem,i=o.isChecked,a=o.isDisabled,c=o.isFocused,u=o.checkboxSize,d=o.hasOwnLabel,s=o.model,b=o.actualValue,f=o.handleChange,v=o.onClickRoot,p=j("checkbox"),x=h((function(){return[p.b(),p.m(u.value),p.is("disabled",a.value),p.is("bordered",r.border),p.is("checked",i.value)]})),k=h((function(){return[p.e("input"),p.is("disabled",a.value),p.is("checked",i.value),p.is("indeterminate",r.indeterminate),p.is("focus",c.value)]}));return function(e,r){return z(),F(J(!D(d)&&D(l)?"span":"label"),{class:N(D(x)),"aria-controls":e.indeterminate?e.ariaControls:null,onClick:D(v)},{default:I((function(){var r,t,o,l;return[P("span",{class:N(D(k))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?G((z(),U("input",{key:0,id:D(n),"onUpdate:modelValue":function(e){return A(s)?s.value=e:null},class:N(D(p).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:D(a),"true-value":null==(t=null!=(r=e.trueValue)?r:e.trueLabel)||t,"false-value":null!=(l=null!=(o=e.falseValue)?o:e.falseLabel)&&l,onChange:D(f),onFocus:function(e){return c.value=!0},onBlur:function(e){return c.value=!1},onClick:T((function(){}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[$,D(s)]]):G((z(),U("input",{key:1,id:D(n),"onUpdate:modelValue":function(e){return A(s)?s.value=e:null},class:N(D(p).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:D(a),value:D(b),name:e.name,tabindex:e.tabindex,onChange:D(f),onFocus:function(e){return c.value=!0},onBlur:function(e){return c.value=!1},onClick:T((function(){}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[$,D(s)]]),P("span",{class:N(D(p).e("inner"))},null,2)],2),D(d)?(z(),U("span",{key:0,class:N(D(p).e("label"))},[R(e.$slots,"default"),e.$slots.default?Q("v-if",!0):(z(),U(Y,{key:0},[q(K(e.label),1)],64))],2)):Q("v-if",!0)]})),_:3},8,["class","aria-controls","onClick"])}}})),se=M(de,[["__file","checkbox.vue"]]),be=V({name:"ElCheckboxButton"}),he=V(n(n({},be),{},{props:le,emits:ie,setup:function(e){var r=e,t=B(),o=ce(r,t),n=o.isFocused,l=o.isChecked,i=o.isDisabled,a=o.checkboxButtonSize,c=o.model,u=o.actualValue,d=o.handleChange,s=b(ae,void 0),f=j("checkbox"),v=h((function(){var e,r,t,o,n=null!=(r=null==(e=null==s?void 0:s.fill)?void 0:e.value)?r:"";return{backgroundColor:n,borderColor:n,color:null!=(o=null==(t=null==s?void 0:s.textColor)?void 0:t.value)?o:"",boxShadow:n?"-1px 0 0 0 ".concat(n):void 0}})),p=h((function(){return[f.b("button"),f.bm("button",a.value),f.is("disabled",i.value),f.is("checked",l.value),f.is("focus",n.value)]}));return function(e,r){var t,o,a,s;return z(),U("label",{class:N(D(p))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?G((z(),U("input",{key:0,"onUpdate:modelValue":function(e){return A(c)?c.value=e:null},class:N(D(f).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:D(i),"true-value":null==(o=null!=(t=e.trueValue)?t:e.trueLabel)||o,"false-value":null!=(s=null!=(a=e.falseValue)?a:e.falseLabel)&&s,onChange:D(d),onFocus:function(e){return n.value=!0},onBlur:function(e){return n.value=!1},onClick:T((function(){}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[$,D(c)]]):G((z(),U("input",{key:1,"onUpdate:modelValue":function(e){return A(c)?c.value=e:null},class:N(D(f).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:D(i),value:D(u),onChange:D(d),onFocus:function(e){return n.value=!0},onBlur:function(e){return n.value=!1},onClick:T((function(){}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[$,D(c)]]),e.$slots.default||e.label?(z(),U("span",{key:2,class:N(D(f).be("button","inner")),style:X(D(l)?D(v):void 0)},[R(e.$slots,"default",{},(function(){return[q(K(e.label),1)]}))],6)):Q("v-if",!0)],2)}}})),fe=M(he,[["__file","checkbox-button.vue"]]),ve=Z(n({modelValue:{type:H(Array),default:function(){return[]}},disabled:Boolean,min:Number,max:Number,size:i,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}},a(["ariaLabel"]))),pe=l(l({},c,(function(e){return _(e)})),"change",(function(e){return _(e)})),xe=V({name:"ElCheckboxGroup"}),ke=V(n(n({},xe),{},{props:ve,emits:pe,setup:function(r,o){var l=o.emit,i=r,a=j("checkbox"),u=p().formItem,d=O(i,{formItemContext:u}),s=d.inputId,b=d.isLabeledByFormItem,f=function(){var r=t(e().mark((function r(t){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l(c,t),e.next=3,m();case 3:l("change",t);case 4:case"end":return e.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}(),v=h({get:function(){return i.modelValue},set:function(e){f(e)}});return W(ae,n(n({},ee(re(i),["size","min","max","disabled","validateEvent","fill","textColor"])),{},{modelValue:v,changeEvent:f})),x((function(){return i.modelValue}),(function(){i.validateEvent&&(null==u||u.validate("change").catch((function(e){return k()})))})),function(e,r){var t;return z(),F(J(e.tag),{id:D(s),class:N(D(a).b("group")),role:"group","aria-label":D(b)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":D(b)?null==(t=D(u))?void 0:t.labelId:void 0},{default:I((function(){return[R(e.$slots,"default")]})),_:3},8,["id","class","aria-label","aria-labelledby"])}}})),me=M(ke,[["__file","checkbox-group.vue"]]);r("E",te(se,{CheckboxButton:fe,CheckboxGroup:me}));oe(fe);r("a",oe(me))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox.css new file mode 100644 index 000000000..fd41d9c6e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-checkbox{--el-checkbox-font-size: 14px;--el-checkbox-font-weight: var(--el-font-weight-primary);--el-checkbox-text-color: var(--el-text-color-regular);--el-checkbox-input-height: 14px;--el-checkbox-input-width: 14px;--el-checkbox-border-radius: var(--el-border-radius-small);--el-checkbox-bg-color: var(--el-fill-color-blank);--el-checkbox-input-border: var(--el-border);--el-checkbox-disabled-border-color: var(--el-border-color);--el-checkbox-disabled-input-fill: var(--el-fill-color-light);--el-checkbox-disabled-icon-color: var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill: var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color: var(--el-border-color);--el-checkbox-disabled-checked-icon-color: var(--el-text-color-placeholder);--el-checkbox-checked-text-color: var(--el-color-primary);--el-checkbox-checked-input-border-color: var(--el-color-primary);--el-checkbox-checked-bg-color: var(--el-color-primary);--el-checkbox-checked-icon-color: var(--el-color-white);--el-checkbox-input-border-color-hover: var(--el-color-primary);color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none;margin-right:30px;height:var(--el-checkbox-height, 32px)}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px;border-radius:var(--el-checkbox-border-radius)}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1);border-color:var(--el-checkbox-checked-icon-color)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid transparent;border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in .05s;transform-origin:center}.el-checkbox__original{opacity:0;outline:none;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox.js new file mode 100644 index 000000000..764c10177 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0checkbox.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a2 as e,a3 as a,a4 as l,ag as n,a7 as u,aZ as o,ab as t,C as i,bi as s,cc as d,aa as r,X as c,ae as v,Q as b,ap as m,a as h,a8 as p,cd as f,aQ as k,bd as x,aj as g,ai as C,ce as L,q as y,aq as V,v as B,o as S,h as E,w as F,b as I,n as z,D,S as N,c as U,c9 as w,ak as _,cf as O,z as G,K as $,g as j,t as A,f as R,G as q,_ as K,F as Q,A as J,$ as M,x as P,cg as X,af as Z,I as H,J as T}from"./087AC4D233B64EB0index.js";import{i as W}from"./087AC4D233B64EB0isEqual.js";const Y={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:e,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...a(["ariaControls"])},ee={[l]:e=>n(e)||u(e)||o(e),change:e=>n(e)||u(e)||o(e)},ae=Symbol("checkboxGroupContextKey"),le=(e,{model:a,isLimitExceeded:l,hasOwnLabel:n,isDisabled:u,isLabeledByFormItem:o})=>{const s=t(ae,void 0),{formItem:d}=r(),{emit:h}=m();function p(a){var l,n,u,o;return[!0,e.trueValue,e.trueLabel].includes(a)?null==(n=null!=(l=e.trueValue)?l:e.trueLabel)||n:null!=(o=null!=(u=e.falseValue)?u:e.falseLabel)&&o}const f=i((()=>(null==s?void 0:s.validateEvent)||e.validateEvent));return c((()=>e.modelValue),(()=>{f.value&&(null==d||d.validate("change").catch((e=>v())))})),{handleChange:function(e){if(l.value)return;const a=e.target;h("change",p(a.checked),e)},onClickRoot:async function(t){if(!l.value&&!n.value&&!u.value&&o.value){t.composedPath().some((e=>"LABEL"===e.tagName))||(a.value=p([!1,e.falseValue,e.falseLabel].includes(a.value)),await b(),function(e,a){h("change",p(e),a)}(a.value,t))}}}},ne=(e,a)=>{const{formItem:n}=r(),{model:u,isGroup:c,isLimitExceeded:v}=(e=>{const a=h(!1),{emit:n}=m(),u=t(ae,void 0),o=i((()=>!1===s(u))),d=h(!1),r=i({get(){var l,n;return o.value?null==(l=null==u?void 0:u.modelValue)?void 0:l.value:null!=(n=e.modelValue)?n:a.value},set(e){var t,i;o.value&&p(e)?(d.value=void 0!==(null==(t=null==u?void 0:u.max)?void 0:t.value)&&e.length>(null==u?void 0:u.max.value)&&e.length>r.value.length,!1===d.value&&(null==(i=null==u?void 0:u.changeEvent)||i.call(u,e))):(n(l,e),a.value=e)}});return{model:r,isGroup:o,isLimitExceeded:d}})(e),{isFocused:b,isChecked:y,checkboxButtonSize:V,checkboxSize:B,hasOwnLabel:S,actualValue:E}=((e,a,{model:l})=>{const n=t(ae,void 0),u=h(!1),s=i((()=>f(e.value)?e.label:e.value)),d=i((()=>{const a=l.value;return o(a)?a:p(a)?k(s.value)?a.map(x).some((e=>W(e,s.value))):a.map(x).includes(s.value):null!=a?a===e.trueValue||a===e.trueLabel:!!a}));return{checkboxButtonSize:g(i((()=>{var e;return null==(e=null==n?void 0:n.size)?void 0:e.value})),{prop:!0}),isChecked:d,isFocused:u,checkboxSize:g(i((()=>{var e;return null==(e=null==n?void 0:n.size)?void 0:e.value}))),hasOwnLabel:i((()=>!!a.default||!f(s.value))),actualValue:s}})(e,a,{model:u}),{isDisabled:F}=(({model:e,isChecked:a})=>{const l=t(ae,void 0),n=i((()=>{var n,u;const o=null==(n=null==l?void 0:l.max)?void 0:n.value,t=null==(u=null==l?void 0:l.min)?void 0:u.value;return!s(o)&&e.value.length>=o&&!a.value||!s(t)&&e.value.length<=t&&a.value}));return{isDisabled:d(i((()=>(null==l?void 0:l.disabled.value)||n.value))),isLimitDisabled:n}})({model:u,isChecked:y}),{inputId:I,isLabeledByFormItem:z}=C(e,{formItemContext:n,disableIdGeneration:S,disableIdManagement:c}),{handleChange:D,onClickRoot:N}=le(e,{model:u,isLimitExceeded:v,hasOwnLabel:S,isDisabled:F,isLabeledByFormItem:z});var U,w;return e.checked&&(p(u.value)&&!u.value.includes(E.value)?u.value.push(E.value):u.value=null==(w=null!=(U=e.trueValue)?U:e.trueLabel)||w),L({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},i((()=>c.value&&f(e.value)))),L({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},i((()=>!!e.trueLabel))),L({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},i((()=>!!e.falseLabel))),{inputId:I,isLabeledByFormItem:z,isChecked:y,isDisabled:F,isFocused:b,checkboxButtonSize:V,checkboxSize:B,hasOwnLabel:S,model:u,actualValue:E,handleChange:D,onClickRoot:N}},ue=y({name:"ElCheckbox"});var oe=K(y({...ue,props:Y,emits:ee,setup(e){const a=e,l=V(),{inputId:n,isLabeledByFormItem:u,isChecked:o,isDisabled:t,isFocused:s,checkboxSize:d,hasOwnLabel:r,model:c,actualValue:v,handleChange:b,onClickRoot:m}=ne(a,l),h=B("checkbox"),p=i((()=>[h.b(),h.m(d.value),h.is("disabled",t.value),h.is("bordered",a.border),h.is("checked",o.value)])),f=i((()=>[h.e("input"),h.is("disabled",t.value),h.is("checked",o.value),h.is("indeterminate",a.indeterminate),h.is("focus",s.value)]));return(e,a)=>(S(),E(q(!D(r)&&D(u)?"span":"label"),{class:z(D(p)),"aria-controls":e.indeterminate?e.ariaControls:null,onClick:D(m)},{default:F((()=>{var a,l,u,o;return[I("span",{class:z(D(f))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?N((S(),U("input",{key:0,id:D(n),"onUpdate:modelValue":e=>w(c)?c.value=e:null,class:z(D(h).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:D(t),"true-value":null==(l=null!=(a=e.trueValue)?a:e.trueLabel)||l,"false-value":null!=(o=null!=(u=e.falseValue)?u:e.falseLabel)&&o,onChange:D(b),onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onClick:_((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[O,D(c)]]):N((S(),U("input",{key:1,id:D(n),"onUpdate:modelValue":e=>w(c)?c.value=e:null,class:z(D(h).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:D(t),value:D(v),name:e.name,tabindex:e.tabindex,onChange:D(b),onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onClick:_((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[O,D(c)]]),I("span",{class:z(D(h).e("inner"))},null,2)],2),D(r)?(S(),U("span",{key:0,class:z(D(h).e("label"))},[G(e.$slots,"default"),e.$slots.default?R("v-if",!0):(S(),U($,{key:0},[j(A(e.label),1)],64))],2)):R("v-if",!0)]})),_:3},8,["class","aria-controls","onClick"]))}}),[["__file","checkbox.vue"]]);const te=y({name:"ElCheckboxButton"});var ie=K(y({...te,props:Y,emits:ee,setup(e){const a=e,l=V(),{isFocused:n,isChecked:u,isDisabled:o,checkboxButtonSize:s,model:d,actualValue:r,handleChange:c}=ne(a,l),v=t(ae,void 0),b=B("checkbox"),m=i((()=>{var e,a,l,n;const u=null!=(a=null==(e=null==v?void 0:v.fill)?void 0:e.value)?a:"";return{backgroundColor:u,borderColor:u,color:null!=(n=null==(l=null==v?void 0:v.textColor)?void 0:l.value)?n:"",boxShadow:u?"-1px 0 0 0 ".concat(u):void 0}})),h=i((()=>[b.b("button"),b.bm("button",s.value),b.is("disabled",o.value),b.is("checked",u.value),b.is("focus",n.value)]));return(e,a)=>{var l,t,i,s;return S(),U("label",{class:z(D(h))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?N((S(),U("input",{key:0,"onUpdate:modelValue":e=>w(d)?d.value=e:null,class:z(D(b).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:D(o),"true-value":null==(t=null!=(l=e.trueValue)?l:e.trueLabel)||t,"false-value":null!=(s=null!=(i=e.falseValue)?i:e.falseLabel)&&s,onChange:D(c),onFocus:e=>n.value=!0,onBlur:e=>n.value=!1,onClick:_((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[O,D(d)]]):N((S(),U("input",{key:1,"onUpdate:modelValue":e=>w(d)?d.value=e:null,class:z(D(b).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:D(o),value:D(r),onChange:D(c),onFocus:e=>n.value=!0,onBlur:e=>n.value=!1,onClick:_((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[O,D(d)]]),e.$slots.default||e.label?(S(),U("span",{key:2,class:z(D(b).be("button","inner")),style:Q(D(u)?D(m):void 0)},[G(e.$slots,"default",{},(()=>[j(A(e.label),1)]))],6)):R("v-if",!0)],2)}}}),[["__file","checkbox-button.vue"]]);const se=J({modelValue:{type:M(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:e,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...a(["ariaLabel"])}),de={[l]:e=>p(e),change:e=>p(e)},re=y({name:"ElCheckboxGroup"});var ce=K(y({...re,props:se,emits:de,setup(e,{emit:a}){const n=e,u=B("checkbox"),{formItem:o}=r(),{inputId:t,isLabeledByFormItem:s}=C(n,{formItemContext:o}),d=async e=>{a(l,e),await b(),a("change",e)},m=i({get:()=>n.modelValue,set(e){d(e)}});return P(ae,{...X(Z(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:m,changeEvent:d}),c((()=>n.modelValue),(()=>{n.validateEvent&&(null==o||o.validate("change").catch((e=>v())))})),(e,a)=>{var l;return S(),E(q(e.tag),{id:D(t),class:z(D(u).b("group")),role:"group","aria-label":D(s)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":D(s)?null==(l=D(o))?void 0:l.labelId:void 0},{default:F((()=>[G(e.$slots,"default")])),_:3},8,["id","class","aria-label","aria-labelledby"])}}}),[["__file","checkbox-group.vue"]]);const ve=H(oe,{CheckboxButton:ie,CheckboxGroup:ce});T(ie);const be=T(ce);export{ve as E,be as a}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0cloneDeep-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0cloneDeep-legacy.js new file mode 100644 index 000000000..0eafaa49e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0cloneDeep-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0_baseClone-legacy.js"],(function(e,t){"use strict";var n;return{setters:[function(e){n=e.b}],execute:function(){e("c",(function(e){return n(e,t|r)}));var t=1,r=4}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0cloneDeep.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0cloneDeep.js new file mode 100644 index 000000000..e04176664 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0cloneDeep.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{b as o}from"./087AC4D233B64EB0_baseClone.js";function r(r){return o(r,5)}export{r as c}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col-legacy.js new file mode 100644 index 000000000..f9b7ca47d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function l(l,t){return function(l){if(Array.isArray(l))return l}(l)||function(l,e){var t=null==l?null:"undefined"!=typeof Symbol&&l[Symbol.iterator]||l["@@iterator"];if(null!=t){var i,o,s,c,a=[],r=!0,p=!1;try{if(s=(t=t.call(l)).next,0===e){if(Object(t)!==t)return;r=!1}else for(;!(r=(i=s.call(t)).done)&&(a.push(i.value),a.length!==e);r=!0);}catch(l){p=!0,o=l}finally{try{if(!r&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(p)throw o}}return a}}(l,t)||function(l,t){if(l){if("string"==typeof l)return e(l,t);var i={}.toString.call(l).slice(8,-1);return"Object"===i&&l.constructor&&(i=l.constructor.name),"Map"===i||"Set"===i?Array.from(l):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?e(l,t):void 0}}(l,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(l,e){(null==e||e>l.length)&&(e=l.length);for(var t=0,i=Array(e);t0&&e.push(o.b("".concat(l,"-").concat(t[l]))))}));return["xs","sm","md","lg","xl"].forEach((function(i){w(t[i])?e.push(o.b("".concat(i,"-").concat(t[i]))):j(t[i])&&Object.entries(t[i]).forEach((function(t){var s=l(t,2),c=s[0],a=s[1];e.push("span"!==c?o.b("".concat(i,"-").concat(c,"-").concat(a)):o.b("".concat(i,"-").concat(a)))}))})),i.value&&e.push(o.is("guttered")),[o.b(),e]}));return function(l,e){return p(),f(x(l.tag),{class:g(u(r)),style:m(u(s))},{default:d((function(){return[n(l.$slots,"default")]})),_:3},8,["class","style"])}}}));e("E",y(h(C,[["__file","col.vue"]])))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col.css new file mode 100644 index 000000000..bdfea7663 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-row{display:flex;flex-wrap:wrap;position:relative;box-sizing:border-box}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{display:none;max-width:0%;flex:0 0 0%}.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0%}.el-col-pull-0{position:relative;right:0%}.el-col-push-0{position:relative;left:0%}.el-col-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{position:relative;left:4.1666666667%}.el-col-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{position:relative;left:8.3333333333%}.el-col-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{position:relative;left:16.6666666667%}.el-col-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{position:relative;left:20.8333333333%}.el-col-6{display:block;max-width:25%;flex:0 0 25%}.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{position:relative;left:29.1666666667%}.el-col-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{position:relative;left:33.3333333333%}.el-col-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{position:relative;left:41.6666666667%}.el-col-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{position:relative;left:45.8333333333%}.el-col-12{display:block;max-width:50%;flex:0 0 50%}.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{position:relative;left:54.1666666667%}.el-col-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{position:relative;left:58.3333333333%}.el-col-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{position:relative;left:66.6666666667%}.el-col-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{position:relative;left:70.8333333333%}.el-col-18{display:block;max-width:75%;flex:0 0 75%}.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{position:relative;left:79.1666666667%}.el-col-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{position:relative;left:83.3333333333%}.el-col-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{position:relative;left:91.6666666667%}.el-col-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{position:relative;left:95.8333333333%}.el-col-24{display:block;max-width:100%;flex:0 0 100%}.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width: 767px){.el-col-xs-0{display:none;max-width:0%;flex:0 0 0%}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0%}.el-col-xs-pull-0{position:relative;right:0%}.el-col-xs-push-0{position:relative;left:0%}.el-col-xs-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{position:relative;left:4.1666666667%}.el-col-xs-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{position:relative;left:8.3333333333%}.el-col-xs-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{position:relative;left:16.6666666667%}.el-col-xs-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{position:relative;left:20.8333333333%}.el-col-xs-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{position:relative;left:29.1666666667%}.el-col-xs-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{position:relative;left:33.3333333333%}.el-col-xs-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{position:relative;left:41.6666666667%}.el-col-xs-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{position:relative;left:45.8333333333%}.el-col-xs-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{position:relative;left:54.1666666667%}.el-col-xs-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{position:relative;left:58.3333333333%}.el-col-xs-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{position:relative;left:66.6666666667%}.el-col-xs-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{position:relative;left:70.8333333333%}.el-col-xs-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{position:relative;left:79.1666666667%}.el-col-xs-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{position:relative;left:83.3333333333%}.el-col-xs-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{position:relative;left:91.6666666667%}.el-col-xs-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{position:relative;left:95.8333333333%}.el-col-xs-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width: 768px){.el-col-sm-0{display:none;max-width:0%;flex:0 0 0%}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0%}.el-col-sm-pull-0{position:relative;right:0%}.el-col-sm-push-0{position:relative;left:0%}.el-col-sm-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{position:relative;left:4.1666666667%}.el-col-sm-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{position:relative;left:8.3333333333%}.el-col-sm-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{position:relative;left:16.6666666667%}.el-col-sm-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{position:relative;left:20.8333333333%}.el-col-sm-6{display:block;max-width:25%;flex:0 0 25%}.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{position:relative;left:29.1666666667%}.el-col-sm-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{position:relative;left:33.3333333333%}.el-col-sm-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{position:relative;left:41.6666666667%}.el-col-sm-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{position:relative;left:45.8333333333%}.el-col-sm-12{display:block;max-width:50%;flex:0 0 50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{position:relative;left:54.1666666667%}.el-col-sm-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{position:relative;left:58.3333333333%}.el-col-sm-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{position:relative;left:66.6666666667%}.el-col-sm-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{position:relative;left:70.8333333333%}.el-col-sm-18{display:block;max-width:75%;flex:0 0 75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{position:relative;left:79.1666666667%}.el-col-sm-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{position:relative;left:83.3333333333%}.el-col-sm-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{position:relative;left:91.6666666667%}.el-col-sm-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{position:relative;left:95.8333333333%}.el-col-sm-24{display:block;max-width:100%;flex:0 0 100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width: 992px){.el-col-md-0{display:none;max-width:0%;flex:0 0 0%}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0%}.el-col-md-pull-0{position:relative;right:0%}.el-col-md-push-0{position:relative;left:0%}.el-col-md-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{position:relative;left:4.1666666667%}.el-col-md-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{position:relative;left:8.3333333333%}.el-col-md-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{position:relative;left:16.6666666667%}.el-col-md-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{position:relative;left:20.8333333333%}.el-col-md-6{display:block;max-width:25%;flex:0 0 25%}.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{position:relative;left:29.1666666667%}.el-col-md-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{position:relative;left:33.3333333333%}.el-col-md-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{position:relative;left:41.6666666667%}.el-col-md-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{position:relative;left:45.8333333333%}.el-col-md-12{display:block;max-width:50%;flex:0 0 50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{position:relative;left:54.1666666667%}.el-col-md-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{position:relative;left:58.3333333333%}.el-col-md-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{position:relative;left:66.6666666667%}.el-col-md-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{position:relative;left:70.8333333333%}.el-col-md-18{display:block;max-width:75%;flex:0 0 75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{position:relative;left:79.1666666667%}.el-col-md-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{position:relative;left:83.3333333333%}.el-col-md-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{position:relative;left:91.6666666667%}.el-col-md-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{position:relative;left:95.8333333333%}.el-col-md-24{display:block;max-width:100%;flex:0 0 100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width: 1200px){.el-col-lg-0{display:none;max-width:0%;flex:0 0 0%}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0%}.el-col-lg-pull-0{position:relative;right:0%}.el-col-lg-push-0{position:relative;left:0%}.el-col-lg-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{position:relative;left:4.1666666667%}.el-col-lg-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{position:relative;left:8.3333333333%}.el-col-lg-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{position:relative;left:16.6666666667%}.el-col-lg-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{position:relative;left:20.8333333333%}.el-col-lg-6{display:block;max-width:25%;flex:0 0 25%}.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{position:relative;left:29.1666666667%}.el-col-lg-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{position:relative;left:33.3333333333%}.el-col-lg-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{position:relative;left:41.6666666667%}.el-col-lg-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{position:relative;left:45.8333333333%}.el-col-lg-12{display:block;max-width:50%;flex:0 0 50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{position:relative;left:54.1666666667%}.el-col-lg-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{position:relative;left:58.3333333333%}.el-col-lg-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{position:relative;left:66.6666666667%}.el-col-lg-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{position:relative;left:70.8333333333%}.el-col-lg-18{display:block;max-width:75%;flex:0 0 75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{position:relative;left:79.1666666667%}.el-col-lg-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{position:relative;left:83.3333333333%}.el-col-lg-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{position:relative;left:91.6666666667%}.el-col-lg-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{position:relative;left:95.8333333333%}.el-col-lg-24{display:block;max-width:100%;flex:0 0 100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width: 1920px){.el-col-xl-0{display:none;max-width:0%;flex:0 0 0%}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0%}.el-col-xl-pull-0{position:relative;right:0%}.el-col-xl-push-0{position:relative;left:0%}.el-col-xl-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{position:relative;left:4.1666666667%}.el-col-xl-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{position:relative;left:8.3333333333%}.el-col-xl-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{position:relative;left:16.6666666667%}.el-col-xl-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{position:relative;left:20.8333333333%}.el-col-xl-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{position:relative;left:29.1666666667%}.el-col-xl-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{position:relative;left:33.3333333333%}.el-col-xl-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{position:relative;left:41.6666666667%}.el-col-xl-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{position:relative;left:45.8333333333%}.el-col-xl-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{position:relative;left:54.1666666667%}.el-col-xl-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{position:relative;left:58.3333333333%}.el-col-xl-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{position:relative;left:66.6666666667%}.el-col-xl-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{position:relative;left:70.8333333333%}.el-col-xl-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{position:relative;left:79.1666666667%}.el-col-xl-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{position:relative;left:83.3333333333%}.el-col-xl-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{position:relative;left:91.6666666667%}.el-col-xl-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{position:relative;left:95.8333333333%}.el-col-xl-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col.js new file mode 100644 index 000000000..3cfaa2f71 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0col.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as t,q as e,v as a,C as s,x as u,o as c,h as n,w as l,z as r,n as o,D as p,F as f,G as d,_ as i,I as g,$ as b,aL as y,ab as m,a7 as h,aQ as j}from"./087AC4D233B64EB0index.js";const v=Symbol("rowContextKey"),x=t({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:["start","center","end","space-around","space-between","space-evenly"],default:"start"},align:{type:String,values:["top","middle","bottom"]}}),N=e({name:"ElRow"});const E=g(i(e({...N,props:x,setup(t){const e=t,i=a("row"),g=s((()=>e.gutter));u(v,{gutter:g});const b=s((()=>{const t={};return e.gutter?(t.marginRight=t.marginLeft="-".concat(e.gutter/2,"px"),t):t})),y=s((()=>[i.b(),i.is("justify-".concat(e.justify),"start"!==e.justify),i.is("align-".concat(e.align),!!e.align)]));return(t,e)=>(c(),n(d(t.tag),{class:o(p(y)),style:f(p(b))},{default:l((()=>[r(t.$slots,"default")])),_:3},8,["class","style"]))}}),[["__file","row.vue"]])),_=t({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:b([Number,Object]),default:()=>y({})},sm:{type:b([Number,Object]),default:()=>y({})},md:{type:b([Number,Object]),default:()=>y({})},lg:{type:b([Number,Object]),default:()=>y({})},xl:{type:b([Number,Object]),default:()=>y({})}}),w=e({name:"ElCol"});const O=g(i(e({...w,props:_,setup(t){const e=t,{gutter:u}=m(v,{gutter:s((()=>0))}),i=a("col"),g=s((()=>{const t={};return u.value&&(t.paddingLeft=t.paddingRight="".concat(u.value/2,"px")),t})),b=s((()=>{const t=[];["span","offset","pull","push"].forEach((a=>{const s=e[a];h(s)&&("span"===a?t.push(i.b("".concat(e[a]))):s>0&&t.push(i.b("".concat(a,"-").concat(e[a]))))}));return["xs","sm","md","lg","xl"].forEach((a=>{h(e[a])?t.push(i.b("".concat(a,"-").concat(e[a]))):j(e[a])&&Object.entries(e[a]).forEach((([e,s])=>{t.push("span"!==e?i.b("".concat(a,"-").concat(e,"-").concat(s)):i.b("".concat(a,"-").concat(s)))}))})),u.value&&t.push(i.is("guttered")),[i.b(),t]}));return(t,e)=>(c(),n(d(t.tag),{class:o(p(b)),style:f(p(g))},{default:l((()=>[r(t.$slots,"default")])),_:3},8,["class","style"]))}}),[["__file","col.vue"]]));export{O as E,E as a}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item-legacy.js new file mode 100644 index 000000000..64dea6dde --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function t(t){for(var o=1;oe.length)&&(t=e.length);for(var o=0,n=Array(t);o-1?a.splice(i,1):a.push(t),r(a)}}}),{activeNames:n,setActiveNames:r}}(e,t.emit),i=a.activeNames,l=a.setActiveNames,u=(n=b("collapse"),{rootKls:h((function(){return n.b()}))}).rootKls;return r({activeNames:i,setActiveNames:l}),function(e,t){return y(),x("div",{class:w(C(u))},[z(e.$slots,"default")],2)}}})),Q=_(U,[["__file","collapse.vue"]]),R=a({title:{type:String,default:""},name:{type:i([String,Number]),default:void 0},icon:{type:A,default:O},disabled:Boolean}),Z=g({name:"ElCollapseItem"}),ee=g(t(t({},Z),{},{props:R,setup:function(e,t){var o=t.expose,n=e,r=function(e){var t=j(L),o=b("collapse").namespace,n=v(!1),r=v(!1),a=k(),i=h((function(){return a.current++})),l=h((function(){var t;return null!=(t=e.name)?t:"".concat(o.value,"-id-").concat(a.prefix,"-").concat(C(i))})),c=h((function(){return null==t?void 0:t.activeNames.value.includes(C(l))}));return{focusing:n,id:i,isActive:c,handleFocus:function(){setTimeout((function(){r.value?r.value=!1:n.value=!0}),50)},handleHeaderClick:function(){e.disabled||(null==t||t.handleItemClick(C(l)),n.value=!1,r.value=!0)},handleEnterClick:function(){null==t||t.handleItemClick(C(l))}}}(n),a=r.focusing,i=r.id,l=r.isActive,c=r.handleFocus,s=r.handleHeaderClick,u=r.handleEnterClick,d=function(e,t){var o=t.focusing,n=t.isActive,r=t.id,a=b("collapse"),i=h((function(){return[a.b("item"),a.is("active",C(n)),a.is("disabled",e.disabled)]})),l=h((function(){return[a.be("item","header"),a.is("active",C(n)),{focusing:C(o)&&!e.disabled}]}));return{arrowKls:h((function(){return[a.be("item","arrow"),a.is("active",C(n))]})),headKls:l,rootKls:i,itemWrapperKls:h((function(){return a.be("item","wrap")})),itemContentKls:h((function(){return a.be("item","content")})),scopedContentId:h((function(){return a.b("content-".concat(C(r)))})),scopedHeadId:h((function(){return a.b("head-".concat(C(r)))}))}}(n,{focusing:a,isActive:l,id:i}),p=d.arrowKls,f=d.headKls,m=d.rootKls,g=d.itemWrapperKls,_=d.itemContentKls,A=d.scopedContentId,O=d.scopedHeadId;return o({isActive:l}),function(e,t){return y(),x("div",{class:w(C(m))},[K("button",{id:C(O),class:w(C(f)),"aria-expanded":C(l),"aria-controls":C(A),"aria-describedby":C(A),tabindex:e.disabled?-1:0,type:"button",onClick:C(s),onKeydown:Y($(C(u),["stop","prevent"]),["space","enter"]),onFocus:C(c),onBlur:function(e){return a.value=!1}},[z(e.$slots,"title",{},(function(){return[S(E(e.title),1)]})),z(e.$slots,"icon",{isActive:C(l)},(function(){return[I(C(D),{class:w(C(p))},{default:B((function(){return[(y(),N(P(e.icon)))]})),_:1},8,["class"])]}))],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),I(C(W),null,{default:B((function(){return[H(K("div",{id:C(A),role:"region",class:w(C(g)),"aria-hidden":!C(l),"aria-labelledby":C(O)},[K("div",{class:w(C(_))},[z(e.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[F,C(l)]])]})),_:3})],2)}}})),te=_(ee,[["__file","collapse-item.vue"]]);e("a",V(Q,{CollapseItem:te})),e("E",T(te))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item.css new file mode 100644 index 000000000..af097a5c7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-collapse{--el-collapse-border-color: var(--el-border-color-lighter);--el-collapse-header-height: 48px;--el-collapse-header-bg-color: var(--el-fill-color-blank);--el-collapse-header-text-color: var(--el-text-color-primary);--el-collapse-header-font-size: 13px;--el-collapse-content-bg-color: var(--el-fill-color-blank);--el-collapse-content-font-size: 13px;--el-collapse-content-text-color: var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{width:100%;padding:0;border:none;display:flex;align-items:center;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);font-weight:500;transition:border-bottom-color var(--el-transition-duration);outline:none}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);overflow:hidden;box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item__content{padding-bottom:25px;font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item.js new file mode 100644 index 000000000..083918b7a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0collapse-item.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,$ as a,aL as s,a4 as l,a6 as t,a7 as i,ag as o,a8 as n,a as c,X as d,x as r,v as u,C as m,q as p,o as v,c as b,z as f,n as C,D as h,_ as y,B as A,aJ as K,ab as x,by as g,b as B,g as k,t as I,e as N,w as E,h as w,G as _,H,m as S,ak as $,S as D,Y as F,I as V,J as j}from"./087AC4D233B64EB0index.js";import{c as J}from"./087AC4D233B64EB0castArray.js";import{E as W}from"./087AC4D233B64EB0index30.js";const q=e=>i(e)||o(e)||n(e),z=e({accordion:Boolean,modelValue:{type:a([Array,String,Number]),default:()=>s([])}}),G={[l]:q,[t]:q},L=Symbol("collapseContextKey"),O=p({name:"ElCollapse"});var T=y(p({...O,props:z,emits:G,setup(e,{expose:a,emit:s}){const i=e,{activeNames:o,setActiveNames:n}=((e,a)=>{const s=c(J(e.modelValue)),i=i=>{s.value=i;const o=e.accordion?s.value[0]:s.value;a(l,o),a(t,o)};return d((()=>e.modelValue),(()=>s.value=J(e.modelValue)),{deep:!0}),r(L,{activeNames:s,handleItemClick:a=>{if(e.accordion)i([s.value[0]===a?"":a]);else{const e=[...s.value],l=e.indexOf(a);l>-1?e.splice(l,1):e.push(a),i(e)}}}),{activeNames:s,setActiveNames:i}})(i,s),{rootKls:p}=(()=>{const e=u("collapse");return{rootKls:m((()=>e.b()))}})();return a({activeNames:o,setActiveNames:n}),(e,a)=>(v(),b("div",{class:C(h(p))},[f(e.$slots,"default")],2))}}),[["__file","collapse.vue"]]);const X=e({title:{type:String,default:""},name:{type:a([String,Number]),default:void 0},icon:{type:A,default:K},disabled:Boolean}),Y=p({name:"ElCollapseItem"});var M=y(p({...Y,props:X,setup(e,{expose:a}){const s=e,{focusing:l,id:t,isActive:i,handleFocus:o,handleHeaderClick:n,handleEnterClick:d}=(e=>{const a=x(L),{namespace:s}=u("collapse"),l=c(!1),t=c(!1),i=g(),o=m((()=>i.current++)),n=m((()=>{var a;return null!=(a=e.name)?a:"".concat(s.value,"-id-").concat(i.prefix,"-").concat(h(o))})),d=m((()=>null==a?void 0:a.activeNames.value.includes(h(n))));return{focusing:l,id:o,isActive:d,handleFocus:()=>{setTimeout((()=>{t.value?t.value=!1:l.value=!0}),50)},handleHeaderClick:()=>{e.disabled||(null==a||a.handleItemClick(h(n)),l.value=!1,t.value=!0)},handleEnterClick:()=>{null==a||a.handleItemClick(h(n))}}})(s),{arrowKls:r,headKls:p,rootKls:y,itemWrapperKls:A,itemContentKls:K,scopedContentId:V,scopedHeadId:j}=((e,{focusing:a,isActive:s,id:l})=>{const t=u("collapse"),i=m((()=>[t.b("item"),t.is("active",h(s)),t.is("disabled",e.disabled)])),o=m((()=>[t.be("item","header"),t.is("active",h(s)),{focusing:h(a)&&!e.disabled}]));return{arrowKls:m((()=>[t.be("item","arrow"),t.is("active",h(s))])),headKls:o,rootKls:i,itemWrapperKls:m((()=>t.be("item","wrap"))),itemContentKls:m((()=>t.be("item","content"))),scopedContentId:m((()=>t.b("content-".concat(h(l))))),scopedHeadId:m((()=>t.b("head-".concat(h(l)))))}})(s,{focusing:l,isActive:i,id:t});return a({isActive:i}),(e,a)=>(v(),b("div",{class:C(h(y))},[B("button",{id:h(j),class:C(h(p)),"aria-expanded":h(i),"aria-controls":h(V),"aria-describedby":h(V),tabindex:e.disabled?-1:0,type:"button",onClick:h(n),onKeydown:S($(h(d),["stop","prevent"]),["space","enter"]),onFocus:h(o),onBlur:e=>l.value=!1},[f(e.$slots,"title",{},(()=>[k(I(e.title),1)])),f(e.$slots,"icon",{isActive:h(i)},(()=>[N(h(H),{class:C(h(r))},{default:E((()=>[(v(),w(_(e.icon)))])),_:1},8,["class"])]))],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),N(h(W),null,{default:E((()=>[D(B("div",{id:h(V),role:"region",class:C(h(A)),"aria-hidden":!h(i),"aria-labelledby":h(j)},[B("div",{class:C(h(K))},[f(e.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[F,h(i)]])])),_:3})],2))}}),[["__file","collapse-item.vue"]]);const P=V(T,{CollapseItem:M}),Q=j(M);export{Q as E,P as a}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0common-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0common-legacy.js new file mode 100644 index 000000000..3bf6fd30a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0common-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0upload-legacy2.js","./087AC4D233B64EB0progress-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0image-legacy.js","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy26.js"],(function(e,n){"use strict";var t,a,r,u,o,l,i,s,c,p,f,d,g,m,v;return{setters:[function(e){t=e.a,a=e.l,r=e.o,u=e.c,o=e.e,l=e.w,i=e.g,s=e.D,c=e.j,p=e.E},null,null,null,function(e){f=e.I,d=e.i,g=e.a},null,function(e){m=e._},function(e){v=e.E}],execute:function(){e("U",m(Object.assign({name:"UploadImage"},{__name:"image",props:{imageUrl:{type:String,default:""},fileSize:{type:Number,default:2048},maxWH:{type:Number,default:1920}},emits:["on-success"],setup:function(e,n){var d=n.emit,g=e,m=t("/api"),y=a(),_=function(e){var n="image/jpeg"===e.type,t="image/png"===e.type;if(!n&&!t)return c.error("上传头像图片只能是 jpg或png 格式!"),!1;var a=e.size/1024{const s="image/jpeg"===e.type,a="image/png"===e.type;if(!s&&!a)return i.error("上传头像图片只能是 jpg或png 格式!"),!1;const o=e.size/1024{const{data:s}=e;s.file&&d("on-success",s.file.url)};return(e,s)=>{const i=p,u=f;return a(),o("div",null,[t(u,{action:"".concat(_.value,"/fileUploadAndDownload/upload"),headers:{"x-token":l(B).token},"show-file-list":!1,"on-success":v,"before-upload":j,multiple:!1},{default:r((()=>[t(i,{type:"primary"},{default:r((()=>s[0]||(s[0]=[n("压缩上传")]))),_:1})])),_:1},8,["action","headers"])])}}}),[["__scopeId","data-v-4d6462c8"]]),_=Object.assign({name:"UploadCommon"},{__name:"common",emits:["on-success"],setup(u,{emit:d}){const g=d,_=e("/api"),B=s(),j=e(!1),v=e=>{j.value=!0;const s=e.size/1024/1024<.5,a=e.size/1024/1024<5,o=c(e.type),t=m(e.type);let r=!0;return o||t||(i.error("上传图片只能是 jpg,png,svg,webp 格式, 上传视频只能是 mp4,webm 格式!"),j.value=!1,r=!1),!a&&o&&(i.error("上传视频大小不能超过 5MB"),j.value=!1,r=!1),!s&&t&&(i.error("未压缩的上传图片大小不能超过 500KB,请使用压缩上传"),j.value=!1,r=!1),console.log("upload file check result: ",r),r},y=e=>{const{data:s}=e;s.file&&g("on-success",s.file.url)},D=()=>{i({type:"error",message:"上传失败"}),j.value=!1};return(e,s)=>{const i=p,u=f;return a(),o("div",null,[t(u,{action:"".concat(_.value,"/fileUploadAndDownload/upload"),"before-upload":v,headers:{"x-token":l(B).token},"on-error":D,"on-success":y,"show-file-list":!1,class:"upload-btn"},{default:r((()=>[t(i,{type:"primary"},{default:r((()=>s[0]||(s[0]=[n("普通上传")]))),_:1})])),_:1},8,["action","headers"])])}}});export{g as U,_}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0customer-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0customer-legacy.js new file mode 100644 index 000000000..8310628a1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0customer-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},u="function"==typeof Symbol?Symbol:{},i=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,u=Object.create(o.prototype),i=new O(n||[]);return a(u,"_invoke",{value:A(t,r,i)}),u}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var h="suspendedStart",d="suspendedYield",v="executing",y="completed",g={};function m(){}function w(){}function B(){}var E={};s(E,i,(function(){return this}));var b=Object.getPrototypeOf,C=b&&b(b(P([])));C&&C!==n&&o.call(C,i)&&(E=C);var j=B.prototype=m.prototype=Object.create(E);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function r(n,a,u,i){var l=p(t[n],t,a);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,u,i)}),(function(t){r("throw",t,u,i)})):e.resolve(s).then((function(t){c.value=t,u(c)}),(function(t){return r("throw",t,u,i)}))}i(l.arg)}var n;a(this,"_invoke",{value:function(t,o){function a(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(a,a):a()}})}function A(t,r,n){var o=h;return function(a,u){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===a)throw u;return{value:e,done:!0}}for(n.method=a,n.arg=u;;){var i=n.delegate;if(i){var l=_(i,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function _(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=p(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var u=a.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){for(;++n=0;--a){var u=this.tryEntries[a],i=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var l=o.call(u,"catchLoc"),c=o.call(u,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t,e,r,n,o,a,u){try{var i=t[a](u),l=i.value}catch(t){return void r(t)}i.done?e(l):Promise.resolve(l).then(n,o)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(o,a){var u=t.apply(r,n);function i(t){e(u,o,a,i,l,"next",t)}function l(t){e(u,o,a,i,l,"throw",t)}i(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0dialog-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popover-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0format-legacy.js","./087AC4D233B64EB0index-legacy25.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0dropdown-legacy.js","./087AC4D233B64EB0date-legacy.js"],(function(e,n){"use strict";var o,a,u,i,l,c,s,f,p,h,d,v,y,g,m,w,B,E,b,C,j,x;return{setters:[function(t){o=t.s,a=t.a,u=t.o,i=t.c,l=t.e,c=t.b,s=t.w,f=t.g,p=t.t,h=t.D,d=t.j,v=t.E,y=t.k},function(t){g=t.E},null,function(t){m=t.a,w=t.E},null,null,null,null,null,null,function(t){B=t.E,E=t.a},null,null,function(t){b=t.E},null,function(t){C=t._},function(t){j=t.f},function(t){x=t.E},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n=function(t){return o({url:"/customer/customer",method:"post",data:t})},D={class:"gva-table-box"},A={class:"gva-btn-list"},_={style:{"text-align":"right","margin-top":"8px"}},k={class:"gva-pagination"},L={class:"dialog-footer"};e("default",Object.assign({name:"Customer"},{__name:"customer",setup:function(e){var O=a({customerName:"",customerPhoneData:""}),P=a(1),N=a(0),V=a(10),I=a([]),S=function(t){V.value=t,z()},G=function(t){P.value=t,z()},z=function(){var e=r(t().mark((function e(){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e={page:P.value,pageSize:V.value},o({url:"/customer/customerList",method:"get",params:e});case 2:0===(r=t.sent).code&&(I.value=r.data.list,N.value=r.data.total,P.value=r.data.page,V.value=r.data.pageSize);case 4:case"end":return t.stop()}var e}),e)})));return function(){return e.apply(this,arguments)}}();z();var T=a(!1),U=a(""),F=function(){var e=r(t().mark((function e(r){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e={ID:r.ID},o({url:"/customer/customer",method:"get",params:e});case 2:n=t.sent,U.value="update",0===n.code&&(O.value=n.data.customer,T.value=!0);case 5:case"end":return t.stop()}var e}),e)})));return function(t){return e.apply(this,arguments)}}(),Y=function(){T.value=!1,O.value={customerName:"",customerPhoneData:""}},q=function(){var e=r(t().mark((function e(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.visible=!1,t.next=3,e={ID:r.ID},o({url:"/customer/customer",method:"delete",data:e});case 3:0===t.sent.code&&(d({type:"success",message:"删除成功"}),1===I.value.length&&P.value>1&&P.value--,z());case 5:case"end":return t.stop()}var e}),e)})));return function(t){return e.apply(this,arguments)}}(),H=function(){var e=r(t().mark((function e(){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=U.value,t.next="create"===t.t0?3:"update"===t.t0?7:11;break;case 3:return t.next=5,n(O.value);case 5:return r=t.sent,t.abrupt("break",15);case 7:return t.next=9,e=O.value,o({url:"/customer/customer",method:"put",data:e});case 9:return r=t.sent,t.abrupt("break",15);case 11:return t.next=13,n(O.value);case 13:return r=t.sent,t.abrupt("break",15);case 15:0===r.code&&(Y(),z());case 16:case"end":return t.stop()}var e}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(){U.value="create",T.value=!0};return function(t,e){var r=v,n=B,o=b,a=E,d=x,z=y,U=m,K=w,M=g;return u(),i("div",null,[l(C,{title:"在资源权限中将此角色的资源权限清空 或者不包含创建者的角色 即可屏蔽此客户资源的显示"}),c("div",D,[c("div",A,[l(r,{type:"primary",icon:"plus",onClick:J},{default:s((function(){return e[3]||(e[3]=[f("新增")])})),_:1})]),l(a,{ref:"multipleTable",data:I.value,style:{width:"100%"},"tooltip-effect":"dark","row-key":"ID"},{default:s((function(){return[l(n,{type:"selection",width:"55"}),l(n,{align:"left",label:"接入日期",width:"180"},{default:s((function(t){return[c("span",null,p(h(j)(t.row.CreatedAt)),1)]})),_:1}),l(n,{align:"left",label:"姓名",prop:"customerName",width:"120"}),l(n,{align:"left",label:"电话",prop:"customerPhoneData",width:"120"}),l(n,{align:"left",label:"接入人ID",prop:"sysUserId",width:"120"}),l(n,{align:"left",label:"操作","min-width":"160"},{default:s((function(t){return[l(r,{type:"primary",link:"",icon:"edit",onClick:function(e){return F(t.row)}},{default:s((function(){return e[4]||(e[4]=[f("变更")])})),_:2},1032,["onClick"]),l(o,{modelValue:t.row.visible,"onUpdate:modelValue":function(e){return t.row.visible=e},placement:"top",width:"160"},{reference:s((function(){return[l(r,{type:"primary",link:"",icon:"delete",onClick:function(e){return t.row.visible=!0}},{default:s((function(){return e[7]||(e[7]=[f("删除")])})),_:2},1032,["onClick"])]})),default:s((function(){return[e[8]||(e[8]=c("p",null,"确定要删除吗?",-1)),c("div",_,[l(r,{type:"primary",link:"",onClick:function(e){return t.row.visible=!1}},{default:s((function(){return e[5]||(e[5]=[f("取消")])})),_:2},1032,["onClick"]),l(r,{type:"primary",onClick:function(e){return q(t.row)}},{default:s((function(){return e[6]||(e[6]=[f("确定")])})),_:2},1032,["onClick"])])]})),_:2},1032,["modelValue","onUpdate:modelValue"])]})),_:1})]})),_:1},8,["data"]),c("div",k,[l(d,{"current-page":P.value,"page-size":V.value,"page-sizes":[10,30,50,100],total:N.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:G,onSizeChange:S},null,8,["current-page","page-size","total"])])]),l(M,{modelValue:T.value,"onUpdate:modelValue":e[2]||(e[2]=function(t){return T.value=t}),"before-close":Y,title:"客户"},{footer:s((function(){return[c("div",L,[l(r,{onClick:Y},{default:s((function(){return e[9]||(e[9]=[f("取 消")])})),_:1}),l(r,{type:"primary",onClick:H},{default:s((function(){return e[10]||(e[10]=[f("确 定")])})),_:1})])]})),default:s((function(){return[l(K,{inline:!0,model:O.value,"label-width":"80px"},{default:s((function(){return[l(U,{label:"客户名"},{default:s((function(){return[l(z,{modelValue:O.value.customerName,"onUpdate:modelValue":e[0]||(e[0]=function(t){return O.value.customerName=t}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),l(U,{label:"客户电话"},{default:s((function(){return[l(z,{modelValue:O.value.customerPhoneData,"onUpdate:modelValue":e[1]||(e[1]=function(t){return O.value.customerPhoneData=t}),autocomplete:"off"},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model"])]})),_:1},8,["modelValue"])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0customer.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0customer.js new file mode 100644 index 000000000..6e8a804df --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0customer.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as e,a,o as t,c as l,e as o,b as s,w as r,g as i,t as u,D as m,j as p,E as n,k as d}from"./087AC4D233B64EB0index.js";import{E as c}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import{a as B,E as v}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as C,a as f}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css */import{E as D}from"./087AC4D233B64EB0popover.js";/* empty css */import{_ as E}from"./087AC4D233B64EB0warningBar.js";import{f as g}from"./087AC4D233B64EB0format.js";import{E as j}from"./087AC4D233B64EB0index25.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0dropdown.js";import"./087AC4D233B64EB0date.js";const A=a=>e({url:"/customer/customer",method:"post",data:a}),b={class:"gva-table-box"},w={class:"gva-btn-list"},y={style:{"text-align":"right","margin-top":"8px"}},h={class:"gva-pagination"},_={class:"dialog-footer"},k=Object.assign({name:"Customer"},{__name:"customer",setup(k){const V=a({customerName:"",customerPhoneData:""}),x=a(1),z=a(0),I=a(10),U=a([]),N=e=>{I.value=e,S()},P=e=>{x.value=e,S()},S=async()=>{const a=await(t={page:x.value,pageSize:I.value},e({url:"/customer/customerList",method:"get",params:t}));var t;0===a.code&&(U.value=a.data.list,z.value=a.data.total,x.value=a.data.page,I.value=a.data.pageSize)};S();const O=a(!1),q=a(""),L=async a=>{const t=await(l={ID:a.ID},e({url:"/customer/customer",method:"get",params:l}));var l;q.value="update",0===t.code&&(V.value=t.data.customer,O.value=!0)},T=()=>{O.value=!1,V.value={customerName:"",customerPhoneData:""}},F=async a=>{a.visible=!1;var t;0===(await(t={ID:a.ID},e({url:"/customer/customer",method:"delete",data:t}))).code&&(p({type:"success",message:"删除成功"}),1===U.value.length&&x.value>1&&x.value--,S())},G=async()=>{let a;switch(q.value){case"create":default:a=await A(V.value);break;case"update":a=await(t=V.value,e({url:"/customer/customer",method:"put",data:t}))}var t;0===a.code&&(T(),S())},H=()=>{q.value="create",O.value=!0};return(e,a)=>{const p=n,A=C,k=D,S=f,q=j,J=d,K=B,M=v,Q=c;return t(),l("div",null,[o(E,{title:"在资源权限中将此角色的资源权限清空 或者不包含创建者的角色 即可屏蔽此客户资源的显示"}),s("div",b,[s("div",w,[o(p,{type:"primary",icon:"plus",onClick:H},{default:r((()=>a[3]||(a[3]=[i("新增")]))),_:1})]),o(S,{ref:"multipleTable",data:U.value,style:{width:"100%"},"tooltip-effect":"dark","row-key":"ID"},{default:r((()=>[o(A,{type:"selection",width:"55"}),o(A,{align:"left",label:"接入日期",width:"180"},{default:r((e=>[s("span",null,u(m(g)(e.row.CreatedAt)),1)])),_:1}),o(A,{align:"left",label:"姓名",prop:"customerName",width:"120"}),o(A,{align:"left",label:"电话",prop:"customerPhoneData",width:"120"}),o(A,{align:"left",label:"接入人ID",prop:"sysUserId",width:"120"}),o(A,{align:"left",label:"操作","min-width":"160"},{default:r((e=>[o(p,{type:"primary",link:"",icon:"edit",onClick:a=>L(e.row)},{default:r((()=>a[4]||(a[4]=[i("变更")]))),_:2},1032,["onClick"]),o(k,{modelValue:e.row.visible,"onUpdate:modelValue":a=>e.row.visible=a,placement:"top",width:"160"},{reference:r((()=>[o(p,{type:"primary",link:"",icon:"delete",onClick:a=>e.row.visible=!0},{default:r((()=>a[7]||(a[7]=[i("删除")]))),_:2},1032,["onClick"])])),default:r((()=>[a[8]||(a[8]=s("p",null,"确定要删除吗?",-1)),s("div",y,[o(p,{type:"primary",link:"",onClick:a=>e.row.visible=!1},{default:r((()=>a[5]||(a[5]=[i("取消")]))),_:2},1032,["onClick"]),o(p,{type:"primary",onClick:a=>F(e.row)},{default:r((()=>a[6]||(a[6]=[i("确定")]))),_:2},1032,["onClick"])])])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:1})])),_:1},8,["data"]),s("div",h,[o(q,{"current-page":x.value,"page-size":I.value,"page-sizes":[10,30,50,100],total:z.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:P,onSizeChange:N},null,8,["current-page","page-size","total"])])]),o(Q,{modelValue:O.value,"onUpdate:modelValue":a[2]||(a[2]=e=>O.value=e),"before-close":T,title:"客户"},{footer:r((()=>[s("div",_,[o(p,{onClick:T},{default:r((()=>a[9]||(a[9]=[i("取 消")]))),_:1}),o(p,{type:"primary",onClick:G},{default:r((()=>a[10]||(a[10]=[i("确 定")]))),_:1})])])),default:r((()=>[o(M,{inline:!0,model:V.value,"label-width":"80px"},{default:r((()=>[o(K,{label:"客户名"},{default:r((()=>[o(J,{modelValue:V.value.customerName,"onUpdate:modelValue":a[0]||(a[0]=e=>V.value.customerName=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),o(K,{label:"客户电话"},{default:r((()=>[o(J,{modelValue:V.value.customerPhoneData,"onUpdate:modelValue":a[1]||(a[1]=e=>V.value.customerPhoneData=e),autocomplete:"off"},null,8,["modelValue"])])),_:1})])),_:1},8,["model"])])),_:1},8,["modelValue"])])}}});export{k as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboard.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboard.png new file mode 100644 index 000000000..64981d0d0 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboard.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable-legacy.js new file mode 100644 index 000000000..5cc9d10f3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0github-legacy.js","./087AC4D233B64EB0date-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var a,l,o,i,c,m,n,f,d,s,r;return{setters:[function(e){a=e.C},function(e){l=e.f},function(e){o=e._},function(e){i=e.a,c=e.o,m=e.c,n=e.b,f=e.K,d=e.L,s=e.n,r=e.t}],execute:function(){var t=document.createElement("style");t.textContent=".commit-table[data-v-c1fd859a]{background-color:#fff;height:400px}.commit-table-title[data-v-c1fd859a]{font-weight:600;margin-bottom:12px}.commit-table .log-item[data-v-c1fd859a]{display:flex;justify-content:space-between;margin-top:14px}.commit-table .log-item .key-box[data-v-c1fd859a]{justify-content:center}.commit-table .log-item .key[data-v-c1fd859a]{display:inline-flex;justify-content:center;align-items:center;width:20px;height:20px;border-radius:50%;background:#F0F2F5;text-align:center;color:rgba(0,0,0,.65)}.commit-table .log-item .key.top[data-v-c1fd859a]{background:#314659;color:#fff}.commit-table .log-item .message[data-v-c1fd859a]{color:rgba(0,0,0,.65)}.commit-table .log-item .form[data-v-c1fd859a]{color:rgba(0,0,0,.65);margin-left:12px}.commit-table .log-item .flex[data-v-c1fd859a]{line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commit-table .log-item .flex-1[data-v-c1fd859a]{flex:1}.commit-table .log-item .flex-2[data-v-c1fd859a]{flex:2}.commit-table .log-item .flex-3[data-v-c1fd859a]{flex:3}.commit-table .log-item .flex-4[data-v-c1fd859a]{flex:4}.commit-table .log-item .flex-5[data-v-c1fd859a]{flex:5}\n",document.head.appendChild(t);var g={class:"commit-table"},u={class:"log"},b={class:"flex-1 flex key-box"},x={class:"flex-5 flex message"},v={class:"flex-3 flex form"};e("default",o(Object.assign({name:"DashboardTable"},{__name:"dashboardTable",setup:function(e){var t=i(!0),o=i([]);return a(0).then((function(e){var a=e.data;t.value=!1,a.forEach((function(e,t){e.commit.message&&t<10&&o.value.push({from:l(e.commit.author.date,"yyyy-MM-dd"),title:e.commit.author.name,showDayAndMonth:!0,message:e.commit.message})}))})),function(e,t){return c(),m("div",g,[t[0]||(t[0]=n("div",{class:"commit-table-title"}," 更新日志 ",-1)),n("div",u,[(c(!0),m(f,null,d(o.value,(function(e,t){return c(),m("div",{key:t,class:"log-item"},[n("div",b,[n("span",{class:s(["key",t<3&&"top"])},r(t+1),3)]),n("div",x,r(e.message),1),n("div",v,r(e.from),1)])})),128))])])}}}),[["__scopeId","data-v-c1fd859a"]]))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable.css new file mode 100644 index 000000000..74d300c6c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.commit-table[data-v-c1fd859a]{background-color:#fff;height:400px}.commit-table-title[data-v-c1fd859a]{font-weight:600;margin-bottom:12px}.commit-table .log-item[data-v-c1fd859a]{display:flex;justify-content:space-between;margin-top:14px}.commit-table .log-item .key-box[data-v-c1fd859a]{justify-content:center}.commit-table .log-item .key[data-v-c1fd859a]{display:inline-flex;justify-content:center;align-items:center;width:20px;height:20px;border-radius:50%;background:#F0F2F5;text-align:center;color:rgba(0,0,0,.65)}.commit-table .log-item .key.top[data-v-c1fd859a]{background:#314659;color:#fff}.commit-table .log-item .message[data-v-c1fd859a]{color:rgba(0,0,0,.65)}.commit-table .log-item .form[data-v-c1fd859a]{color:rgba(0,0,0,.65);margin-left:12px}.commit-table .log-item .flex[data-v-c1fd859a]{line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commit-table .log-item .flex-1[data-v-c1fd859a]{flex:1}.commit-table .log-item .flex-2[data-v-c1fd859a]{flex:2}.commit-table .log-item .flex-3[data-v-c1fd859a]{flex:3}.commit-table .log-item .flex-4[data-v-c1fd859a]{flex:4}.commit-table .log-item .flex-5[data-v-c1fd859a]{flex:5} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable.js new file mode 100644 index 000000000..cc9b51d80 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dashboardTable.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{C as a}from"./087AC4D233B64EB0github.js";import{f as s}from"./087AC4D233B64EB0date.js";import{_ as e}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{a as t,o,c as m,b as l,K as i,L as c,n as d,t as r}from"./087AC4D233B64EB0index.js";const f={class:"commit-table"},n={class:"log"},p={class:"flex-1 flex key-box"},u={class:"flex-5 flex message"},v={class:"flex-3 flex form"},h=e(Object.assign({name:"DashboardTable"},{__name:"dashboardTable",setup(e){const h=t(!0),b=t([]);return a(0).then((({data:a})=>{h.value=!1,a.forEach(((a,e)=>{a.commit.message&&e<10&&b.value.push({from:s(a.commit.author.date,"yyyy-MM-dd"),title:a.commit.author.name,showDayAndMonth:!0,message:a.commit.message})}))})),(a,s)=>(o(),m("div",f,[s[0]||(s[0]=l("div",{class:"commit-table-title"}," 更新日志 ",-1)),l("div",n,[(o(!0),m(i,null,c(b.value,((a,s)=>(o(),m("div",{key:s,class:"log-item"},[l("div",p,[l("span",{class:d(["key",s<3&&"top"])},r(s+1),3)]),l("div",u,r(a.message),1),l("div",v,r(a.from),1)])))),128))])]))}}),[["__scopeId","data-v-c1fd859a"]]);export{h as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas-legacy.js new file mode 100644 index 000000000..2aa9e6171 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return e};var r,e={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,r,e){t[r]=e.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{f({},"")}catch(r){f=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var o=r&&r.prototype instanceof m?r:m,i=Object.create(o.prototype),u=new B(n||[]);return a(i,"_invoke",{value:I(t,e,u)}),i}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var y="suspendedStart",p="suspendedYield",d="executing",v="completed",g={};function m(){}function w(){}function b(){}var E={};f(E,u,(function(){return this}));var x=Object.getPrototypeOf,L=x&&x(x(N([])));L&&L!==n&&o.call(L,u)&&(E=L);var j=b.prototype=m.prototype=Object.create(E);function A(t){["next","throw","return"].forEach((function(r){f(t,r,(function(t){return this._invoke(r,t)}))}))}function _(t,r){function e(n,a,i,u){var c=s(t[n],t,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&o.call(f,"__await")?r.resolve(f.__await).then((function(t){e("next",t,i,u)}),(function(t){e("throw",t,i,u)})):r.resolve(f).then((function(t){l.value=t,i(l)}),(function(t){return e("throw",t,i,u)}))}u(c.arg)}var n;a(this,"_invoke",{value:function(t,o){function a(){return new r((function(r,n){e(t,o,r,n)}))}return n=n?n.then(a,a):a()}})}function I(t,e,n){var o=y;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===v){if("throw"===a)throw i;return{value:r,done:!0}}for(n.method=a,n.arg=i;;){var u=n.delegate;if(u){var c=O(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=s(t,e,n);if("normal"===l.type){if(o=n.done?v:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function O(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,O(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=s(o,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,g;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,g):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function k(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function C(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function B(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function N(t){if(t||""===t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),C(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;C(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),g}},e}function r(t,r,e,n,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void e(t)}u.done?r(c):Promise.resolve(c).then(n,o)}function e(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return n(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,r):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e-1})),B("changeRow","dataAuthorityId",C.value),O.value=!0},D=function(t,r){r.push(t.authorityId),t.children&&t.children.forEach((function(t){D(t,r)}))},G=function(){var e,n=(e=t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b(_.row);case 2:0===t.sent.code&&v({type:"success",message:"资源设置成功"});case 4:case"end":return t.stop()}}),r)})),function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function u(t){r(i,o,a,u,c,"next",t)}function c(t){r(i,o,a,u,c,"throw",t)}u(void 0)}))});return function(){return n.apply(this,arguments)}}(),T=function(){B("changeRow","dataAuthorityId",C.value),O.value=!0};return j({enterAndNext:function(){G()},needConfirm:O}),function(t,r){var e=g,n=m,o=w;return i(),u("div",null,[c(E,{title:"此功能仅用于创建角色和角色的many2many关系表,具体使用还须自己结合表实现业务,详情参考示例代码(客户示例)。此功能不建议使用,建议使用插件市场【组织管理功能(点击前往)】来管理资源权限。",href:"https://plugin.gin-vue-admin.com/#/layout/newPluginInfo?id=36"}),l("div",x,[c(e,{class:"float-left",type:"primary",onClick:N},{default:f((function(){return r[1]||(r[1]=[h("全选")])})),_:1}),c(e,{class:"float-left",type:"primary",onClick:S},{default:f((function(){return r[2]||(r[2]=[h("本角色")])})),_:1}),c(e,{class:"float-left",type:"primary",onClick:P},{default:f((function(){return r[3]||(r[3]=[h("本角色及子角色")])})),_:1}),c(e,{class:"float-right",type:"primary",onClick:G},{default:f((function(){return r[4]||(r[4]=[h("确 定")])})),_:1})]),l("div",L,[c(o,{modelValue:C.value,"onUpdate:modelValue":r[0]||(r[0]=function(t){return C.value=t}),onChange:T},{default:f((function(){return[(i(!0),u(s,null,y(I.value,(function(t,r){return i(),p(n,{key:r,label:t},{default:f((function(){return[h(d(t.authorityName),1)]})),_:2},1032,["label"])})),128))]})),_:1},8,["modelValue"])])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas.css new file mode 100644 index 000000000..1010c4857 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-checkbox-group{font-size:0;line-height:0} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas.js new file mode 100644 index 000000000..0dcbba093 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datas.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a,o as t,c as e,e as o,b as r,w as l,g as u,K as i,L as s,h as n,t as d,j as h,E as c}from"./087AC4D233B64EB0index.js";import{E as y,a as f}from"./087AC4D233B64EB0checkbox.js";/* empty css */import{s as m}from"./087AC4D233B64EB0authority2.js";import{_ as p}from"./087AC4D233B64EB0warningBar.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0_Uint8Array.js";const v={class:"sticky top-0.5 z-10 bg-white my-4"},I={class:"clear-both pt-4"},g=Object.assign({name:"Datas"},{__name:"datas",props:{row:{default:function(){return{}},type:Object},authority:{default:function(){return[]},type:Array}},emits:["changeRow"],setup(g,{expose:w,emit:A}){const B=g,C=a([]),E=a(!1),j=a=>{a&&a.forEach((a=>{const t={};t.authorityId=a.authorityId,t.authorityName=a.authorityName,C.value.push(t),a.children&&a.children.length&&j(a.children)}))},_=a([]);j(B.authority),B.row.dataAuthorityId&&B.row.dataAuthorityId.forEach((a=>{const t=C.value&&C.value.filter((t=>t.authorityId===a.authorityId))&&C.value.filter((t=>t.authorityId===a.authorityId))[0];_.value.push(t)}));const b=A,D=()=>{_.value=[...C.value],b("changeRow","dataAuthorityId",_.value),E.value=!0},k=()=>{_.value=C.value.filter((a=>a.authorityId===B.row.authorityId)),b("changeRow","dataAuthorityId",_.value),E.value=!0},x=()=>{const a=[];R(B.row,a),_.value=C.value.filter((t=>a.indexOf(t.authorityId)>-1)),b("changeRow","dataAuthorityId",_.value),E.value=!0},R=(a,t)=>{t.push(a.authorityId),a.children&&a.children.forEach((a=>{R(a,t)}))},N=async()=>{0===(await m(B.row)).code&&h({type:"success",message:"资源设置成功"})},O=()=>{b("changeRow","dataAuthorityId",_.value),E.value=!0};return w({enterAndNext:()=>{N()},needConfirm:E}),(a,h)=>{const m=c,g=y,w=f;return t(),e("div",null,[o(p,{title:"此功能仅用于创建角色和角色的many2many关系表,具体使用还须自己结合表实现业务,详情参考示例代码(客户示例)。此功能不建议使用,建议使用插件市场【组织管理功能(点击前往)】来管理资源权限。",href:"https://plugin.gin-vue-admin.com/#/layout/newPluginInfo?id=36"}),r("div",v,[o(m,{class:"float-left",type:"primary",onClick:D},{default:l((()=>h[1]||(h[1]=[u("全选")]))),_:1}),o(m,{class:"float-left",type:"primary",onClick:k},{default:l((()=>h[2]||(h[2]=[u("本角色")]))),_:1}),o(m,{class:"float-left",type:"primary",onClick:x},{default:l((()=>h[3]||(h[3]=[u("本角色及子角色")]))),_:1}),o(m,{class:"float-right",type:"primary",onClick:N},{default:l((()=>h[4]||(h[4]=[u("确 定")]))),_:1})]),r("div",I,[o(w,{modelValue:_.value,"onUpdate:modelValue":h[0]||(h[0]=a=>_.value=a),onChange:O},{default:l((()=>[(t(!0),e(i,null,s(C.value,((a,e)=>(t(),n(g,{key:e,label:a},{default:l((()=>[u(d(a.authorityName),1)])),_:2},1032,["label"])))),128))])),_:1},8,["modelValue"])])])}}});export{g as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datasearch-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datasearch-legacy.js new file mode 100644 index 000000000..d51fa75a5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0datasearch-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var t,n={},r=Object.prototype,a=r.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},i=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var a=t&&t.prototype instanceof m?t:m,u=Object.create(a.prototype),i=new L(r||[]);return o(u,"_invoke",{value:A(e,n,i)}),u}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=f;var d="suspendedStart",v="suspendedYield",h="executing",y="completed",g={};function m(){}function w(){}function b(){}var _={};s(_,i,(function(){return this}));var B=Object.getPrototypeOf,E=B&&B(B(P([])));E&&E!==r&&a.call(E,i)&&(_=E);var j=b.prototype=m.prototype=Object.create(_);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(r,o,u,i){var l=p(e[r],e,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&a.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,u,i)}),(function(e){n("throw",e,u,i)})):t.resolve(s).then((function(e){c.value=e,u(c)}),(function(e){return n("throw",e,u,i)}))}i(l.arg)}var r;o(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,r){n(e,a,t,r)}))}return r=r?r.then(o,o):o()}})}function A(e,n,r){var a=d;return function(o,u){if(a===h)throw Error("Generator is already running");if(a===y){if("throw"===o)throw u;return{value:t,done:!0}}for(r.method=o,r.arg=u;;){var i=r.delegate;if(i){var l=k(i,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=h;var c=p(e,n,r);if("normal"===c.type){if(a=r.done?y:v,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=y,r.method="throw",r.arg=c.arg)}}}function k(e,n){var r=n.method,a=e.iterator[r];if(a===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=p(a,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var u=o.arg;return u?u.done?(n[e.resultName]=u.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function P(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r=0;--o){var u=this.tryEntries[o],i=u.completion;if("root"===u.tryLoc)return r("end");if(u.tryLoc<=this.prev){var l=a.call(u,"catchLoc"),c=a.call(u,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;O(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},n}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n{P.value=e,$()},Z=e=>{L.value=e,$()},$=async()=>{console.log(W);const e=await j({page:L.value,pageSize:P.value,...W.value});0===e.code&&(F.value=e.data.list,M.value=e.data.total,L.value=e.data.page,P.value=e.data.pageSize)};$();const ee=e=>{console.log(e),R.value=e},ae=()=>{Q.value=!1,m({type:"warning",message:"交易取消!",duration:1e3})},le=async()=>{const e=await(async e=>{Q.value=!0;const a={Buyer:H.userInfo.nickName,Seller:e.owner,Work:e.url,Goods:e.price};return(await h(a)).code})(X._rawValue);console.log(X),0===e?(m({type:"success",message:"交易成功!!",duration:1e3}),Q.value=!1):(m({type:"error",message:"交易失败!!",duration:1e3}),Q.value=!1)},te=()=>{var e=[];let a=R._rawValue.length;var l="";for(let o=0;o{const v=B,j=g,h=A,x=z,H=E,oe=l("goods"),ie=f,re=U,se=w,ne=y,ue=C,de=_;return t((o(),i("div",null,[r("div",S,[r("div",I,[s(v,{modelValue:W.value.keyword,"onUpdate:modelValue":a[0]||(a[0]=e=>W.value.keyword=e),class:"keyword",placeholder:"请输入待查询关键词"},null,8,["modelValue"]),s(j,{type:"primary",icon:"search",onClick:$},{default:n((()=>a[4]||(a[4]=[u("查询")]))),_:1})]),s(H,{data:F.value,onSelectionChange:ee},{default:n((()=>[s(h,{align:"center",label:"预览",width:"150"},{default:n((e=>[s(k,{"pic-type":"file","pic-src":e.row.faker,preview:""},null,8,["pic-src"])])),_:1}),s(h,{align:"center",label:"日期",prop:"CreatedBy",width:"200"},{default:n((e=>[r("div",null,d(p(V)(e.row.CreatedAt)),1)])),_:1}),s(h,{align:"center",label:"语义信息",prop:"name",width:"200"},{default:n((e=>[r("div",{class:"name",onClick:a=>(async e=>{c.prompt("请输入文件名或者备注","编辑",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"不能为空",inputValue:e.name}).then((async({value:a})=>{e.name=a,0===(await b(e)).code&&(m({type:"success",message:"编辑成功!"}),$())})).catch((()=>{m({type:"info",message:"取消修改"})}))})(e.row)},d(e.row.keywords),9,q)])),_:1}),s(h,{align:"center",label:"标签",prop:"tag",width:"200"},{default:n((e=>[s(x,{type:"jpg"===e.row.tag?"primary":"success","disable-transitions":""},{default:n((()=>[u(d(e.row.tag),1)])),_:2},1032,["type"])])),_:1}),s(h,{align:"center",label:"详情","min-width":"120"},{default:n((e=>[s(j,{type:"primary",icon:"view",onClick:a=>(async e=>{const a=await D(e);0===a.code&&(J.value=a.data.filedetail,K.value=!0)})(e.row.url)},{default:n((()=>a[5]||(a[5]=[u("查看详情")]))),_:2},1032,["onClick"])])),_:1}),s(h,{align:"center",label:"操作",width:"160"},{default:n((e=>[s(j,{icon:"download",type:"primary",link:"",onClick:a=>(async e=>{const a=await D(e.url);0===a.code&&(J.value=a.data.filedetail),Q.value=!0,X.value=e,console.log(X.value)})(e.row)},{default:n((()=>a[6]||(a[6]=[u("购买")]))),_:2},1032,["onClick"])])),_:1}),s(h,{type:"selection"})])),_:1},8,["data"]),r("div",T,[r("div",G,[s(j,{type:"primary",onClick:te},{default:n((()=>[a[7]||(a[7]=u(" AIGC创作     ")),s(ie,null,{default:n((()=>[s(oe)])),_:1}),u(" "+d(R.value.length),1)])),_:1})]),s(re,{"current-page":L.value,"page-size":P.value,"page-sizes":[10,30,50,100],style:{float:"right",padding:"20px"},total:M.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:Z,onSizeChange:Y},null,8,["current-page","page-size","total"])])]),s(ue,{modelValue:K.value,"onUpdate:modelValue":a[2]||(a[2]=e=>K.value=e),title:"文化数据版权详情",width:"720px"},{footer:n((()=>[r("div",N,[s(j,{type:"primary",onClick:a[1]||(a[1]=e=>K.value=!1)},{default:n((()=>a[8]||(a[8]=[u("确 定")]))),_:1})])])),default:n((()=>[s(ne,{align:"left","label-width":"80px"},{default:n((()=>[s(se,{label:"创建时间:"},{default:n((()=>[r("div",null,d(J.value.CreatedAt),1)])),_:1}),s(se,{label:"更新时间:"},{default:n((()=>[r("div",null,d(J.value.UpdatedAt),1)])),_:1}),s(se,{label:"所有者:"},{default:n((()=>[r("div",null,d(J.value.owner),1)])),_:1}),s(se,{label:"存证机构:"},{default:n((()=>[r("div",null,d(J.value.certi_organization),1)])),_:1}),s(se,{label:"语义信息:"},{default:n((()=>[r("div",null,d(J.value.keywords),1)])),_:1}),s(se,{label:"版权标识:"},{default:n((()=>[r("div",null,d(J.value.biaoshi),1)])),_:1}),s(se,{label:"版权价值:"},{default:n((()=>[r("div",null,d(J.value.price),1)])),_:1})])),_:1})])),_:1},8,["modelValue"]),s(ue,{modelValue:Q.value,"onUpdate:modelValue":a[3]||(a[3]=e=>Q.value=e),title:"是否确认购买",color:"red",align:"center",width:"720px"},{default:n((()=>[s(ne,{align:"left","label-width":"80px"},{default:n((()=>[s(se,{label:"创建时间:"},{default:n((()=>[r("div",null,d(J.value.CreatedAt),1)])),_:1}),s(se,{label:"更新时间:"},{default:n((()=>[r("div",null,d(J.value.UpdatedAt),1)])),_:1}),s(se,{label:"所有者:"},{default:n((()=>[r("div",null,d(J.value.owner),1)])),_:1}),s(se,{label:"存证机构:"},{default:n((()=>[r("div",null,d(J.value.certi_organization),1)])),_:1}),s(se,{label:"语义信息:"},{default:n((()=>[r("div",null,d(J.value.keywords),1)])),_:1}),s(se,{label:"版权标识:"},{default:n((()=>[r("div",null,d(J.value.biaoshi),1)])),_:1}),s(se,{label:"版权价值:"},{default:n((()=>[r("div",null,d(J.value.price),1)])),_:1})])),_:1}),r("div",O,[s(j,{onClick:ae},{default:n((()=>a[9]||(a[9]=[u("取 消")]))),_:1}),s(j,{type:"primary",onClick:le},{default:n((()=>a[10]||(a[10]=[u("确 定")]))),_:1})])])),_:1},8,["modelValue"])])),[[de,e.fullscreenLoading,void 0,{fullscreen:!0,lock:!0}]])}}}),[["__scopeId","data-v-eab98835"]]);export{H as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload-legacy.js new file mode 100644 index 000000000..f7a3132bd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0upload-legacy2.js","./087AC4D233B64EB0progress-legacy.js","./087AC4D233B64EB0image-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy26.js","./087AC4D233B64EB0index-legacy27.js","./087AC4D233B64EB0cloneDeep-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0isEqual-legacy.js"],(function(e,n){"use strict";var t,l,a,o,c,i,r,s,u,d,p,f,g,v,B,y;return{setters:[function(e){t=e.a,l=e.l,a=e.N,o=e.o,c=e.c,i=e.e,r=e.w,s=e.b,u=e.g,d=e.D,p=e.j,f=e.H},null,null,function(e){g=e.i,v=e.a},function(e){B=e._},function(e){y=e.E},null,null,null,null,null,null],execute:function(){var n=document.createElement("style");n.textContent='.name[data-v-3f4f9618]{cursor:pointer}.el-icon-upload[data-v-3f4f9618]:before{content:""}.el-icon-upload[data-v-3f4f9618]{font-size:50px;margin:4px 0 2px}[data-v-3f4f9618] .el-upload .el-upload-dragger{height:500px;width:1000px}.center-container[data-v-3f4f9618]{display:flex;justify-content:center;align-items:center;height:100vh}.center-content[data-v-3f4f9618]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}\n',document.head.appendChild(n);var m={class:"center-container"},j={class:"center-content"};e("default",B(Object.assign({name:"UploadCommon"},{__name:"dataupload",emits:["on-success"],setup:function(e,n){var B=n.emit,x=t("/api"),C=l(),h=t(!1),_=function(e){h.value=!0;var n=e.size/1024/1024<.5,t=e.size/1024/1024<5,l=g(e.type),a=v(e.type),o=!0;return l||a||(p.error("上传图片只能是 jpg,png,svg,webp 格式, 上传视频只能是 mp4,webm 格式!"),h.value=!1,o=!1),!t&&l&&(p.error("上传视频大小不能超过 5MB"),h.value=!1,o=!1),!n&&a&&(p.error("未压缩的上传图片大小不能超过 500KB,请使用压缩上传"),h.value=!1,o=!1),console.log("upload file check result: ",o),o},D=function(e){var n=e.data;n.file&&B("on-success",n.file.url)},E=function(){p({type:"error",message:"上传失败"}),h.value=!1};return function(e,n){var t=a("upload-filled"),l=f,p=y;return o(),c("div",m,[i(p,{class:"upload-demo",action:"".concat(x.value,"/fileUploadAndDownload/upload"),headers:{"x-token":d(C).token},"on-success":D,"before-upload":_,"on-error":E,drag:"",multiple:!1},{tip:r((function(){return n[1]||(n[1]=[s("div",{class:"el-upload__tip",style:{"text-align":"center"}}," jpg/png files with a size less than 500kb ",-1)])})),default:r((function(){return[s("div",j,[i(l,{class:"el-icon--upload"},{default:r((function(){return[i(t)]})),_:1}),n[0]||(n[0]=s("div",{class:"el-upload__text"},[u(" 拖动文件到此处 或 "),s("em",null,"点击此处")],-1))])]})),_:1},8,["action","headers"])])}}}),[["__scopeId","data-v-3f4f9618"]]))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload.css new file mode 100644 index 000000000..ead184b03 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.name[data-v-3f4f9618]{cursor:pointer}.el-icon-upload[data-v-3f4f9618]:before{content:""}.el-icon-upload[data-v-3f4f9618]{font-size:50px;margin:4px 0 2px}[data-v-3f4f9618] .el-upload .el-upload-dragger{height:500px;width:1000px}.center-container[data-v-3f4f9618]{display:flex;justify-content:center;align-items:center;height:100vh}.center-content[data-v-3f4f9618]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload.js new file mode 100644 index 000000000..11ad317de --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dataupload.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,l as s,N as a,o,c as t,e as l,w as r,b as i,g as n,D as p,j as c,H as d}from"./087AC4D233B64EB0index.js";/* empty css *//* empty css */import{i as u,a as m}from"./087AC4D233B64EB0image.js";import{_ as B}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{E as j}from"./087AC4D233B64EB0index26.js";import"./087AC4D233B64EB0index27.js";import"./087AC4D233B64EB0cloneDeep.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0isEqual.js";const f={class:"center-container"},_={class:"center-content"},C=B(Object.assign({name:"UploadCommon"},{__name:"dataupload",emits:["on-success"],setup(B,{emit:C}){const D=C,g=e("/api"),A=s(),E=e(!1),v=e=>{E.value=!0;const s=e.size/1024/1024<.5,a=e.size/1024/1024<5,o=u(e.type),t=m(e.type);let l=!0;return o||t||(c.error("上传图片只能是 jpg,png,svg,webp 格式, 上传视频只能是 mp4,webm 格式!"),E.value=!1,l=!1),!a&&o&&(c.error("上传视频大小不能超过 5MB"),E.value=!1,l=!1),!s&&t&&(c.error("未压缩的上传图片大小不能超过 500KB,请使用压缩上传"),E.value=!1,l=!1),console.log("upload file check result: ",l),l},b=e=>{const{data:s}=e;s.file&&D("on-success",s.file.url)},x=()=>{c({type:"error",message:"上传失败"}),E.value=!1};return(e,s)=>{const c=a("upload-filled"),u=d,m=j;return o(),t("div",f,[l(m,{class:"upload-demo",action:"".concat(g.value,"/fileUploadAndDownload/upload"),headers:{"x-token":p(A).token},"on-success":b,"before-upload":v,"on-error":x,drag:"",multiple:!1},{tip:r((()=>s[1]||(s[1]=[i("div",{class:"el-upload__tip",style:{"text-align":"center"}}," jpg/png files with a size less than 500kb ",-1)]))),default:r((()=>[i("div",_,[l(u,{class:"el-icon--upload"},{default:r((()=>[l(c)])),_:1}),s[0]||(s[0]=i("div",{class:"el-upload__text"},[n(" 拖动文件到此处 或 "),i("em",null,"点击此处")],-1))])])),_:1},8,["action","headers"])])}}}),[["__scopeId","data-v-3f4f9618"]]);export{C as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-legacy.js new file mode 100644 index 000000000..b59f41265 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(t,e){"use strict";return{execute:function(){t("f",(function(t,e){var s=new Date(t).Format("yyyy-MM-dd hh:mm:ss");return e&&(s=new Date(t).Format(e)),s.toLocaleString()})),Date.prototype.Format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var s in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),e)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?e[s]:("00"+e[s]).substr((""+e[s]).length)));return t}}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-picker-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-picker-legacy.js new file mode 100644 index 000000000..4f67a201c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-picker-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return a};var t,a={},n=Object.prototype,r=n.hasOwnProperty,l=Object.defineProperty||function(e,t,a){e[t]=a.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,a){return e[t]=a}}function d(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),i=new Y(n||[]);return l(o,"_invoke",{value:C(e,a,i)}),o}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}a.wrap=d;var f="suspendedStart",v="suspendedYield",h="executing",m="completed",b={};function g(){}function y(){}function k(){}var x={};s(x,i,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(z([])));w&&w!==n&&r.call(w,i)&&(x=w);var D=k.prototype=g.prototype=Object.create(x);function S(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function a(n,l,o,i){var u=p(e[n],e,l);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){a("next",e,o,i)}),(function(e){a("throw",e,o,i)})):t.resolve(s).then((function(e){c.value=e,o(c)}),(function(e){return a("throw",e,o,i)}))}i(u.arg)}var n;l(this,"_invoke",{value:function(e,r){function l(){return new t((function(t,n){a(e,r,t,n)}))}return n=n?n.then(l,l):l()}})}function C(e,a,n){var r=f;return function(l,o){if(r===h)throw Error("Generator is already running");if(r===m){if("throw"===l)throw o;return{value:t,done:!0}}for(n.method=l,n.arg=o;;){var i=n.delegate;if(i){var u=$(i,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=p(e,a,n);if("normal"===c.type){if(r=n.done?m:v,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=m,n.method="throw",n.arg=c.arg)}}}function $(e,a){var n=a.method,r=e.iterator[n];if(r===t)return a.delegate=null,"throw"===n&&e.iterator.return&&(a.method="return",a.arg=t,$(e,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var l=p(r,e.iterator,a.arg);if("throw"===l.type)return a.method="throw",a.arg=l.arg,a.delegate=null,b;var o=l.arg;return o?o.done?(a[e.resultName]=o.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,b):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,b)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Y(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function z(e){if(e||""===e){var a=e[i];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,l=function a(){for(;++n=0;--l){var o=this.tryEntries[l],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(u&&c){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),P(a),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;P(a)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,a,n){return this.delegate={iterator:z(e),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=t),b}},a}function t(e,t,a,n,r,l,o){try{var i=e[l](o),u=i.value}catch(e){return void a(e)}i.done?t(u):Promise.resolve(u).then(n,r)}function a(e){return function(){var a=this,n=arguments;return new Promise((function(r,l){var o=e.apply(a,n);function i(e){t(o,r,l,i,u,"next",e)}function u(e){t(o,r,l,i,u,"throw",e)}i(void 0)}))}}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,l,o,i=[],u=!0,c=!1;try{if(l=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;u=!1}else for(;!(u=(n=l.call(a)).done)&&(i.push(n.value),i.length!==t);u=!0);}catch(e){c=!0,r=e}finally{try{if(!u&&null!=a.return&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?r(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#ffffff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color, var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:none;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color, var(--el-color-primary))}\n',document.head.appendChild(r);var Be={exports:{}};!function(e){e.exports=function(){var e=1e3,t=6e4,a=36e5,n="millisecond",r="second",l="minute",o="hour",i="day",u="week",c="month",s="quarter",d="year",p="date",f="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}},b=function(e,t,a){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(a)+e},g={s:b,z:function(e){var t=-e.utcOffset(),a=Math.abs(t),n=Math.floor(a/60),r=a%60;return(t<=0?"+":"-")+b(n,2,"0")+":"+b(r,2,"0")},m:function e(t,a){if(t.date()1)return e(o[0])}else{var i=t.name;k[i]=t,r=i}return!n&&r&&(y=r),r||!n&&y},D=function(e,t){if(_(e))return e.clone();var a="object"==typeof t?t:{};return a.date=e,a.args=arguments,new M(a)},S=g;S.l=w,S.i=_,S.w=function(e,t){return D(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var M=function(){function m(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var b=m.prototype;return b.parse=function(e){this.$d=function(e){var t=e.date,a=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(v);if(n){var r=n[2]-1||0,l=(n[7]||"0").substring(0,3);return a?new Date(Date.UTC(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,l)):new Date(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,l)}}return new Date(t)}(e),this.init()},b.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},b.$utils=function(){return S},b.isValid=function(){return!(this.$d.toString()===f)},b.isSame=function(e,t){var a=D(e);return this.startOf(t)<=a&&a<=this.endOf(t)},b.isAfter=function(e,t){return D(e)68?1900:2e3)},u=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),a=60*t[1]+(+t[2]||0);return 0===a?0:"+"===t[0]?-a:a}(e)}],s=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var a,n=o.meridiem;if(n){for(var r=1;r<=24;r+=1)if(e.indexOf(n(r,0,t))>-1){a=r>12;break}}else a=e===(t?"pm":"PM");return a},p={A:[l,function(e){this.afternoon=d(e,!1)}],a:[l,function(e){this.afternoon=d(e,!0)}],Q:[a,function(e){this.month=3*(e-1)+1}],S:[a,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[n,u("day")],Do:[l,function(e){var t=o.ordinal,a=e.match(/\d+/);if(this.day=a[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],w:[r,u("week")],ww:[n,u("week")],M:[r,u("month")],MM:[n,u("month")],MMM:[l,function(e){var t=s("months"),a=(s("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(a<1)throw new Error;this.month=a%12||a}],MMMM:[l,function(e){var t=s("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,u("year")],YY:[n,function(e){this.year=i(e)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function f(a){var n,r;n=a,r=o&&o.formats;for(var l=(a=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,a,n){var l=n&&n.toUpperCase();return a||r[n]||e[n]||r[l].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,a){return t||a.slice(1)}))}))).match(t),i=l.length,u=0;u-1)return new Date(("X"===t?1e3:1)*e);var r=f(t)(e),l=r.year,o=r.month,i=r.day,u=r.hours,c=r.minutes,s=r.seconds,d=r.milliseconds,p=r.zone,v=r.week,h=new Date,m=i||(l||o?1:h.getDate()),b=l||h.getFullYear(),g=0;l&&!o||(g=o>0?o-1:h.getMonth());var y,k=u||0,x=c||0,_=s||0,w=d||0;return p?new Date(Date.UTC(b,g,m,k,x,_,w+60*p.offset*1e3)):a?new Date(Date.UTC(b,g,m,k,x,_,w)):(y=new Date(b,g,m,k,x,_,w),v&&(y=n(y).week(v).toDate()),y)}catch(e){return new Date("")}}(t,i,n,a),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),s&&t!=this.format(i)&&(this.$d=new Date("")),o={}}else if(i instanceof Array)for(var p=i.length,v=1;v<=p;v+=1){l[1]=i[v-1];var h=a.apply(this,l);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}v===p&&(this.$d=new Date(""))}else r.call(this,e)}}}()}(Re);var Fe=l(Re.exports),We=["hours","minutes","seconds"],He="HH:mm:ss",Ke="YYYY-MM-DD",Ue={date:Ke,dates:Ke,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:"".concat(Ke," ").concat(He),monthrange:"YYYY-MM",yearrange:"YYYY",daterange:Ke,datetimerange:"".concat(Ke," ").concat(He)},Ge=function(e,t){return[e>0?e-1:void 0,e,e0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a||(le=!0),te.value=a,e=s(t)?t.map((function(e){return e.toDate()})):t?t.toDate():t,We.value=null,ce(e)},fe=function(){ae.value=!0},ve=function(){o("visible-change",!0)},he=function(e){(null==e?void 0:e.key)===Q.esc&&be(!0,!0)},me=function(){ae.value=!1,te.value=!1,le=!1,o("visible-change",!1)},be=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];le=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var t=n(z(se),2),a=t[0],r=t[1],l=a;!e&&Ne.value&&(l=r),l&&l.focus()},ge=function(e){i.readonly||xe.value||te.value||le||(te.value=!0,o("focus",e))},ye=void 0,ke=function(t){var n=function(){var r=a(e().mark((function a(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:setTimeout((function(){var e;ye===n&&((null==(e=X.value)?void 0:e.isFocusInsideContent())&&!re||0!==se.value.filter((function(e){return e.contains(document.activeElement)})).length||(He(),te.value=!1,o("blur",t),i.validateEvent&&(null==m||m.validate("blur").catch((function(e){return $()})))),re=!1)}),0);case 1:case"end":return e.stop()}}),a)})));return function(){return r.apply(this,arguments)}}();ye=n,n()},xe=S((function(){return i.disabled||(null==h?void 0:h.disabled)})),_e=S((function(){var e;if(Ve.value?rt.value.getDefaultValue&&(e=rt.value.getDefaultValue()):e=s(i.modelValue)?i.modelValue.map((function(e){return et(e,i.valueFormat,c.value)})):et(i.modelValue,i.valueFormat,c.value),rt.value.getRangeAvailableTime){var t=rt.value.getRangeAvailableTime(e);je(t,e)||(e=t,Ve.value||ce(s(e)?e.map((function(e){return e.toDate()})):e.toDate()))}return s(e)&&e.some((function(e){return!e}))&&(e=[]),e})),we=S((function(){if(!rt.value.panelReady)return"";var e=Ue(_e.value);return s(We.value)?[We.value[0]||e&&e[0]||"",We.value[1]||e&&e[1]||""]:null!==We.value?We.value:!Se.value&&Ve.value||!te.value&&Ve.value?"":e?Me.value||Ce.value||$e.value?e.join(", "):e:""})),De=S((function(){return i.type.includes("time")})),Se=S((function(){return i.type.startsWith("time")})),Me=S((function(){return"dates"===i.type})),Ce=S((function(){return"months"===i.type})),$e=S((function(){return"years"===i.type})),Oe=S((function(){return i.prefixIcon||(De.value?O:P)})),Pe=D(!1),Ye=function(e){i.readonly||xe.value||(Pe.value&&(e.stopPropagation(),be(!0,!0),C((function(){le=!1})),rt.value.handleClear?rt.value.handleClear():ce(J.value),ue(J.value,!0),Pe.value=!1,me()),o("clear"))},Ve=S((function(){var e=i.modelValue;return!e||s(e)&&!e.filter(Boolean).length})),Ae=function(){var t=a(e().mark((function t(a){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i.readonly&&!xe.value){e.next=2;break}return e.abrupt("return");case 2:("INPUT"!==(null==(n=a.target)?void 0:n.tagName)||se.value.includes(document.activeElement))&&(te.value=!0);case 3:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ie=function(){i.readonly||xe.value||!Ve.value&&i.clearable&&(Pe.value=!0)},Ee=function(){Pe.value=!1},Le=function(e){var t;i.readonly||xe.value||("INPUT"!==(null==(t=e.touches[0].target)?void 0:t.tagName)||se.value.includes(document.activeElement))&&(te.value=!0)},Ne=S((function(){return i.type.includes("range")})),Be=Y(),Te=S((function(){var e,t;return null==(t=null==(e=z(X))?void 0:e.popperRef)?void 0:t.contentRef})),Re=S((function(){var e;return z(Ne)?z(ee):null==(e=z(ee))?void 0:e.$el})),Fe=V(Re,(function(e){var t=z(Te),a=z(Re);t&&(e.target===t||e.composedPath().includes(t))||e.target===a||e.composedPath().includes(a)||(te.value=!1)}));A((function(){null==Fe||Fe()}));var We=D(null),He=function(){if(We.value){var e=Ke(we.value);e&&Ge(e)&&(ce(s(e)?e.map((function(e){return e.toDate()})):e.toDate()),We.value=null)}""===We.value&&(ce(J.value),ue(J.value),We.value=null)},Ke=function(e){return e?rt.value.parseUserInput(e):null},Ue=function(e){return e?rt.value.formatToString(e):null},Ge=function(e){return rt.value.isValidValue(e)},Ze=function(){var t=a(e().mark((function t(a){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i.readonly&&!xe.value){e.next=2;break}return e.abrupt("return");case 2:if(n=a.code,o("keydown",a),n!==Q.esc){e.next=7;break}return!0===te.value&&(te.value=!1,a.preventDefault(),a.stopPropagation()),e.abrupt("return");case 7:if(n!==Q.down){e.next=16;break}if(rt.value.handleFocusPicker&&(a.preventDefault(),a.stopPropagation()),!1!==te.value){e.next=13;break}return te.value=!0,e.next=13,C();case 13:if(!rt.value.handleFocusPicker){e.next=16;break}return rt.value.handleFocusPicker(),e.abrupt("return");case 16:if(n!==Q.tab){e.next=19;break}return re=!0,e.abrupt("return");case 19:if(n!==Q.enter&&n!==Q.numpadEnter){e.next=23;break}return(null===We.value||""===We.value||Ge(Ke(we.value)))&&(He(),te.value=!1),a.stopPropagation(),e.abrupt("return");case 23:if(!We.value){e.next=26;break}return a.stopPropagation(),e.abrupt("return");case 26:rt.value.handleKeydownInput&&rt.value.handleKeydownInput(a);case 27:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),qe=function(e){We.value=e,te.value||(te.value=!0)},Je=function(e){var t=e.target;We.value?We.value=[t.value,We.value[1]]:We.value=[t.value,null]},Qe=function(e){var t=e.target;We.value?We.value=[We.value[0],t.value]:We.value=[null,t.value]},at=function(){var e,t=We.value,a=Ke(t&&t[0]),n=z(_e);if(a&&a.isValid()){We.value=[Ue(a),(null==(e=we.value)?void 0:e[1])||null];var r=[a,n&&(n[1]||null)];Ge(r)&&(ce(r),We.value=null)}},nt=function(){var e,t=z(We),a=Ke(t&&t[1]),n=z(_e);if(a&&a.isValid()){We.value=[(null==(e=z(we))?void 0:e[0])||null,Ue(a)];var r=[n&&n[0],a];Ge(r)&&(ce(r),We.value=null)}},rt=D({}),lt=function(e){rt.value[e[0]]=e[1],rt.value.panelReady=!0},ot=function(e){o("calendar-change",e)},it=function(e,t,a){o("panel-change",e,t,a)};return I("EP_PICKER_BASE",{props:i}),l({focus:be,handleFocusInput:ge,handleBlurInput:ke,handleOpen:function(){te.value=!0},handleClose:function(){te.value=!1},onPick:pe}),function(e,t){return E(),L(z(ze),q({ref_key:"refPopper",ref:X,visible:te.value,effect:"light",pure:"",trigger:"click"},e.$attrs,{role:"dialog",teleported:"",transition:"".concat(z(d).namespace.value,"-zoom-in-top"),"popper-class":["".concat(z(d).namespace.value,"-picker__popper"),e.popperClass],"popper-options":z(b),"fallback-placements":e.fallbackPlacements,"gpu-acceleration":!1,placement:e.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:fe,onShow:ve,onHide:me}),{default:N((function(){return[z(Ne)?(E(),K("div",{key:1,ref_key:"inputRef",ref:ee,class:B(z(oe)),style:T(e.$attrs.style),onClick:ge,onMouseenter:Ie,onMouseleave:Ee,onTouchstartPassive:Le,onKeydown:Ze},[z(Oe)?(E(),L(z(F),{key:0,class:B([z(p).e("icon"),z(f).e("icon")]),onMousedown:R(Ae,["prevent"]),onTouchstartPassive:Le},{default:N((function(){return[(E(),L(W(z(Oe))))]})),_:1},8,["class","onMousedown"])):H("v-if",!0),U("input",{id:e.id&&e.id[0],autocomplete:"off",name:e.name&&e.name[0],placeholder:e.startPlaceholder,value:z(we)&&z(we)[0],disabled:z(xe),readonly:!e.editable||e.readonly,class:B(z(f).b("input")),onMousedown:Ae,onInput:Je,onChange:at,onFocus:ge,onBlur:ke},null,42,["id","name","placeholder","value","disabled","readonly"]),G(e.$slots,"range-separator",{},(function(){return[U("span",{class:B(z(f).b("separator"))},Z(e.rangeSeparator),3)]})),U("input",{id:e.id&&e.id[1],autocomplete:"off",name:e.name&&e.name[1],placeholder:e.endPlaceholder,value:z(we)&&z(we)[1],disabled:z(xe),readonly:!e.editable||e.readonly,class:B(z(f).b("input")),onMousedown:Ae,onFocus:ge,onBlur:ke,onInput:Qe,onChange:nt},null,42,["id","name","placeholder","value","disabled","readonly"]),e.clearIcon?(E(),L(z(F),{key:1,class:B(z(ie)),onClick:Ye},{default:N((function(){return[(E(),L(W(e.clearIcon)))]})),_:1},8,["class"])):H("v-if",!0)],38)):(E(),L(z(j),{key:0,id:e.id,ref_key:"inputRef",ref:ee,"container-role":"combobox","model-value":z(we),name:e.name,size:z(Be),disabled:z(xe),placeholder:e.placeholder,class:B([z(d).b("editor"),z(d).bm("editor",e.type),e.$attrs.class]),style:T(e.$attrs.style),readonly:!e.editable||e.readonly||z(Me)||z(Ce)||z($e)||"week"===e.type,"aria-label":e.ariaLabel,tabindex:e.tabindex,"validate-event":!1,onInput:qe,onFocus:ge,onBlur:ke,onKeydown:Ze,onChange:He,onMousedown:Ae,onMouseenter:Ie,onMouseleave:Ee,onTouchstartPassive:Le,onClick:R((function(){}),["stop"])},{prefix:N((function(){return[z(Oe)?(E(),L(z(F),{key:0,class:B(z(p).e("icon")),onMousedown:R(Ae,["prevent"]),onTouchstartPassive:Le},{default:N((function(){return[(E(),L(W(z(Oe))))]})),_:1},8,["class","onMousedown"])):H("v-if",!0)]})),suffix:N((function(){return[Pe.value&&e.clearIcon?(E(),L(z(F),{key:0,class:B("".concat(z(p).e("icon")," clear-icon")),onClick:R(Ye,["stop"])},{default:N((function(){return[(E(),L(W(e.clearIcon)))]})),_:1},8,["class","onClick"])):H("v-if",!0)]})),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onKeydown","onClick"]))]})),content:N((function(){return[G(e.$slots,"default",{visible:te.value,actualVisible:ae.value,parsedValue:z(_e),format:e.format,dateFormat:e.dateFormat,timeFormat:e.timeFormat,unlinkPanels:e.unlinkPanels,type:e.type,defaultValue:e.defaultValue,onPick:pe,onSelectRange:de,onSetPickerOption:lt,onCalendarChange:ot,onPanelChange:it,onKeydown:he,onMousedown:R((function(){}),["stop"])})]})),_:3},16,["visible","transition","popper-class","popper-options","fallback-placements","placement"])}}})),ut=J(it,[["__file","picker.vue"]]),ct=d(o(o({},rt),{},{datetimeRole:String,parsedValue:{type:p(Object)}})),st=function(e){return e.map((function(e,t){return e||t})).filter((function(e){return!0!==e}))},dt=function(e,t,a){return{getHoursList:function(t,a){return at(24,e&&function(){return null==e?void 0:e(t,a)})},getMinutesList:function(e,a,n){return at(60,t&&function(){return null==t?void 0:t(e,a,n)})},getSecondsList:function(e,t,n,r){return at(60,a&&function(){return null==a?void 0:a(e,t,n,r)})}}},pt=d(o({role:{type:String,required:!0},spinnerDate:{type:p(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:p(String),default:""}},nt)),ft=J(b({__name:"basic-time-spinner",props:pt,emits:["change","select-range","set-option"],setup:function(e,t){var a=t.emit,r=e,l=k("time"),o=dt(r.disabledHours,r.disabledMinutes,r.disabledSeconds),i=o.getHoursList,u=o.getMinutesList,c=o.getSecondsList,s=!1,d=D(),p={hours:D(),minutes:D(),seconds:D()},f=S((function(){return r.showSeconds?We:We.slice(0,2)})),v=S((function(){var e=r.spinnerDate;return{hours:e.hour(),minutes:e.minute(),seconds:e.second()}})),h=S((function(){var e=z(v),t=e.hours,a=e.minutes;return{hours:i(r.role),minutes:u(t,r.role),seconds:c(t,a,r.role)}})),m=S((function(){var e=z(v),t=e.hours,a=e.minutes,n=e.seconds;return{hours:Ge(t,23),minutes:Ge(a,59),seconds:Ge(n,59)}})),b=Ne((function(e){s=!1,x(e)}),200),g=function(e){if(!!!r.amPmMode)return"";var t=e<12?" am":" pm";return"A"===r.amPmMode&&(t=t.toUpperCase()),t},y=function(e){var t;switch(e){case"hours":t=[0,2];break;case"minutes":t=[3,5];break;case"seconds":t=[6,8]}var r=n(t,2),l=r[0],o=r[1];a("select-range",l,o),d.value=e},x=function(e){$(e,z(v)[e])},_=function(){x("hours"),x("minutes"),x("seconds")},w=function(e){return e.querySelector(".".concat(l.namespace.value,"-scrollbar__wrap"))},$=function(e,t){if(!r.arrowControl){var a=z(p[e]);a&&a.$el&&(w(a.$el).scrollTop=Math.max(0,t*O(e)))}},O=function(e){var t=z(p[e]),a=null==t?void 0:t.$el.querySelector("li");return a&&Number.parseFloat(X(a,"height"))||0},P=function(){V(1)},Y=function(){V(-1)},V=function(e){d.value||y("hours");var t=d.value,a=z(v)[t],n="hours"===d.value?24:60,r=A(t,a,e,n);I(t,r),$(t,r),C((function(){return y(t)}))},A=function(e,t,a,n){for(var r=(t+a+n)%n,l=z(h)[e];l[r]&&r!==t;)r=(r+a+n)%n;return r},I=function(e,t){if(!z(h)[e][t]){var n,l=z(v),o=l.hours,i=l.minutes,u=l.seconds;switch(e){case"hours":n=r.spinnerDate.hour(t).minute(i).second(u);break;case"minutes":n=r.spinnerDate.hour(o).minute(t).second(u);break;case"seconds":n=r.spinnerDate.hour(o).minute(i).second(t)}a("change",n)}},j=function(e){return z(p[e]).$el.offsetHeight},T=function(){var e=function(e){var t=z(p[e]);t&&t.$el&&(w(t.$el).onscroll=function(){!function(e){s=!0,b(e);var t=Math.min(Math.round((w(z(p[e]).$el).scrollTop-(.5*j(e)-10)/O(e)+3)/O(e)),"hours"===e?23:59);I(e,t)}(e)})};e("hours"),e("minutes"),e("seconds")};ee((function(){C((function(){!r.arrowControl&&T(),_(),"start"===r.role&&y("hours")}))}));return a("set-option",["".concat(r.role,"_scrollDown"),V]),a("set-option",["".concat(r.role,"_emitSelectRange"),y]),M((function(){return r.spinnerDate}),(function(){s||_()})),function(e,t){return E(),K("div",{class:B([z(l).b("spinner"),{"has-seconds":e.showSeconds}])},[e.arrowControl?H("v-if",!0):(E(!0),K(te,{key:0},ae(z(f),(function(t){return E(),L(z(Ee),{key:t,ref_for:!0,ref:function(e){return function(e,t){p[t].value=e}(e,t)},class:B(z(l).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":z(l).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:function(e){return y(t)},onMousemove:function(e){return x(t)}},{default:N((function(){return[(E(!0),K(te,null,ae(z(h)[t],(function(a,n){return E(),K("li",{key:n,class:B([z(l).be("spinner","item"),z(l).is("active",n===z(v)[t]),z(l).is("disabled",a)]),onClick:function(e){return r=t,o=(l={value:n,disabled:a}).value,void(l.disabled||(I(r,o),y(r),$(r,o)));var r,l,o}},["hours"===t?(E(),K(te,{key:0},[ne(Z(("0"+(e.amPmMode?n%12||12:n)).slice(-2))+Z(g(n)),1)],64)):(E(),K(te,{key:1},[ne(Z(("0"+n).slice(-2)),1)],64))],10,["onClick"])})),128))]})),_:2},1032,["class","view-class","onMouseenter","onMousemove"])})),128)),e.arrowControl?(E(!0),K(te,{key:1},ae(z(f),(function(t){return E(),K("div",{key:t,class:B([z(l).be("spinner","wrapper"),z(l).is("arrow")]),onMouseenter:function(e){return y(t)}},[re((E(),L(z(F),{class:B(["arrow-up",z(l).be("spinner","arrow")])},{default:N((function(){return[le(z(oe))]})),_:1},8,["class"])),[[z(Le),Y]]),re((E(),L(z(F),{class:B(["arrow-down",z(l).be("spinner","arrow")])},{default:N((function(){return[le(z(ie))]})),_:1},8,["class"])),[[z(Le),P]]),U("ul",{class:B(z(l).be("spinner","list"))},[(E(!0),K(te,null,ae(z(m)[t],(function(a,n){return E(),K("li",{key:n,class:B([z(l).be("spinner","item"),z(l).is("active",a===z(v)[t]),z(l).is("disabled",z(h)[t][a])])},["number"==typeof a?(E(),K(te,{key:0},["hours"===t?(E(),K(te,{key:0},[ne(Z(("0"+(e.amPmMode?a%12||12:a)).slice(-2))+Z(g(a)),1)],64)):(E(),K(te,{key:1},[ne(Z(("0"+a).slice(-2)),1)],64))],64)):H("v-if",!0)],2)})),128))],2)],42,["onMouseenter"])})),128)):H("v-if",!0)],2)}}}),[["__file","basic-time-spinner.vue"]]),vt=b({__name:"panel-time-pick",props:ct,emits:["pick","select-range","set-picker-option"],setup:function(e,t){var a=t.emit,r=e,l=_("EP_PICKER_BASE").props,o=l.arrowControl,i=l.disabledHours,u=l.disabledMinutes,c=l.disabledSeconds,s=l.defaultValue,d=function(e,t,a){var n=dt(e,t,a),r=n.getHoursList,l=n.getMinutesList,o=n.getSecondsList;return{getAvailableHours:function(e,t){return st(r(e,t))},getAvailableMinutes:function(e,t,a){return st(l(e,t,a))},getAvailableSeconds:function(e,t,a,n){return st(o(e,t,a,n))}}}(i,u,c),p=d.getAvailableHours,f=d.getAvailableMinutes,v=d.getAvailableSeconds,h=k("time"),m=y(),b=m.t,g=m.lang,x=D([0,2]),w=function(e){var t=D(e.parsedValue);return M((function(){return e.visible}),(function(a){a||(t.value=e.parsedValue)})),t}(r),C=S((function(){return ue(r.actualVisible)?"".concat(h.namespace.value,"-zoom-in-top"):""})),$=S((function(){return r.format.includes("ss")})),O=S((function(){return r.format.includes("A")?"A":r.format.includes("a")?"a":""})),P=function(){a("pick",w.value,!1)},Y=function(e){if(r.visible){var t=R(e).millisecond(0);a("pick",t,!0)}},V=function(e,t){a("select-range",e,t),x.value=[e,t]},A=function(e){var t=e.getAvailableHours,a=e.getAvailableMinutes,r=e.getAvailableSeconds,l={};return{timePickerOptions:l,getAvailableTime:function(e,n,l,o){var i={hour:t,minute:a,second:r},u=e;return["hour","minute","second"].forEach((function(e){if(i[e]){var t,a=i[e];switch(e){case"minute":t=a(u.hour(),n,o);break;case"second":t=a(u.hour(),u.minute(),n,o);break;default:t=a(n,o)}if((null==t?void 0:t.length)&&!t.includes(u[e]())){var r=l?0:t.length-1;u=u[e](t[r])}}})),u},onSetOption:function(e){var t=n(e,2),a=t[0],r=t[1];l[a]=r}}}({getAvailableHours:p,getAvailableMinutes:f,getAvailableSeconds:v}),I=A.timePickerOptions,j=A.onSetOption,T=A.getAvailableTime,R=function(e){return T(e,r.datetimeRole||"",!0)};return a("set-picker-option",["isValidValue",function(e){var t=Te(e).locale(g.value),a=R(t);return t.isSame(a)}]),a("set-picker-option",["formatToString",function(e){return e?e.format(r.format):null}]),a("set-picker-option",["parseUserInput",function(e){return e?Te(e,r.format).locale(g.value):null}]),a("set-picker-option",["handleKeydownInput",function(e){var t=e.code,a=Q,n=a.left,r=a.right,l=a.up,o=a.down;if([n,r].includes(t))return function(e){var t=[0,3].concat($.value?[6]:[]),a=["hours","minutes"].concat($.value?["seconds"]:[]),n=(t.indexOf(x.value[0])+e+t.length)%t.length;I.start_emitSelectRange(a[n])}(t===n?-1:1),void e.preventDefault();if([l,o].includes(t)){var i=t===l?-1:1;return I.start_scrollDown(i),void e.preventDefault()}}]),a("set-picker-option",["getRangeAvailableTime",R]),a("set-picker-option",["getDefaultValue",function(){return Te(s).locale(g.value)}]),function(e,t){return E(),L(ce,{name:z(C)},{default:N((function(){return[e.actualVisible||e.visible?(E(),K("div",{key:0,class:B(z(h).b("panel"))},[U("div",{class:B([z(h).be("panel","content"),{"has-seconds":z($)}])},[le(ft,{ref:"spinner",role:e.datetimeRole||"start","arrow-control":z(o),"show-seconds":z($),"am-pm-mode":z(O),"spinner-date":e.parsedValue,"disabled-hours":z(i),"disabled-minutes":z(u),"disabled-seconds":z(c),onChange:Y,onSetOption:z(j),onSelectRange:V},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),U("div",{class:B(z(h).be("panel","footer"))},[U("button",{type:"button",class:B([z(h).be("panel","btn"),"cancel"]),onClick:P},Z(z(b)("el.datepicker.cancel")),3),U("button",{type:"button",class:B([z(h).be("panel","btn"),"confirm"]),onClick:function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];arguments.length>1&&void 0!==arguments[1]&&arguments[1]||a("pick",r.parsedValue,e)}()}},Z(z(b)("el.datepicker.confirm")),11,["onClick"])],2)],2)):H("v-if",!0)]})),_:1},8,["name"])}}}),ht=J(vt,[["__file","panel-time-pick.vue"]]),mt={exports:{}};!function(e){e.exports=function(e,t,a){var n=t.prototype,r=function(e){return e&&(e.indexOf?e:e.s)},l=function(e,t,a,n,l){var o=e.name?e:e.$locale(),i=r(o[t]),u=r(o[a]),c=i||u.map((function(e){return e.slice(0,n)}));if(!l)return c;var s=o.weekStart;return c.map((function(e,t){return c[(t+(s||0))%7]}))},o=function(){return a.Ls[a.locale()]},i=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,a){return t||a.slice(1)}))}(e.formats[t.toUpperCase()])},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):l(e,"months")},monthsShort:function(t){return t?t.format("MMM"):l(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):l(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):l(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):l(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return i(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return u.bind(this)()},a.localeData=function(){var e=o();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(t){return i(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},a.months=function(){return l(o(),"months")},a.monthsShort=function(){return l(o(),"monthsShort","months",3)},a.weekdays=function(e){return l(o(),"weekdays",null,null,e)},a.weekdaysShort=function(e){return l(o(),"weekdaysShort","weekdays",3,e)},a.weekdaysMin=function(e){return l(o(),"weekdaysMin","weekdays",2,e)}}}(mt);var bt=l(mt.exports),gt={exports:{}};!function(e){e.exports=function(e,t){var a=t.prototype,n=a.format;a.format=function(e){var t=this,a=this.$locale();if(!this.isValid())return n.bind(this)(e);var r=this.$utils(),l=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return a.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return a.ordinal(t.week(),"W");case"w":case"ww":return r.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return r.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return r.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return n.bind(this)(l)}}}(gt);var yt=l(gt.exports),kt={exports:{}};!function(e){var t,a;e.exports=(t="week",a="year",function(e,n,r){var l=n.prototype;l.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var l=r(this).startOf(a).add(1,a).date(n),o=r(this).endOf(t);if(l.isBefore(o))return 1}var i=r(this).startOf(a).date(n).startOf(t).subtract(1,"millisecond"),u=this.diff(i,t,!0);return u<0?r(this).startOf("week").week():Math.ceil(u)},l.weeks=function(e){return void 0===e&&(e=null),this.week(e)}})}(kt);var xt=l(kt.exports),_t={exports:{}};!function(e){e.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),a=this.year();return 1===t&&11===e?a+1:0===e&&t>=52?a-1:a}}}(_t);var wt=l(_t.exports),Dt={exports:{}};!function(e){e.exports=function(e,t,a){t.prototype.dayOfYear=function(e){var t=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}}(Dt);var St=l(Dt.exports),Mt={exports:{}};!function(e){e.exports=function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}(Mt);var Ct=l(Mt.exports),$t={exports:{}};!function(e){e.exports=function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}($t);var Ot=l($t.exports),Pt=Symbol(),Yt=d(o(o({},lt),{},{type:{type:p(String),default:"date"}})),zt=["date","dates","year","years","month","months","week","range"],Vt=d({disabledDate:{type:p(Function)},date:{type:p(Object),required:!0},minDate:{type:p(Object)},maxDate:{type:p(Object)},parsedValue:{type:p([Object,Array])},rangeState:{type:p(Object),default:function(){return{endDate:null,selecting:!1}}}}),At=d({type:{type:p(String),required:!0,values:["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"]},dateFormat:String,timeFormat:String}),It=d({unlinkPanels:Boolean,parsedValue:{type:p(Array)}}),Et=function(e){return{type:String,values:zt,default:e}},Lt=d(o(o({},At),{},{parsedValue:{type:p([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}})),Nt=function(e){if(!s(e))return!1;var t=n(e,2),a=t[0],r=t[1];return Te.isDayjs(a)&&Te.isDayjs(r)&&a.isSameOrBefore(r)},jt=function(e,t){var a,r=t.lang,l=t.unit,o=t.unlinkPanels;if(s(e)){var i=n(e.map((function(e){return Te(e).locale(r)})),2),u=i[0],c=i[1];return o||(c=u.add(1,l)),[u,c]}return[a=(a=e?Te(e):Te()).locale(r),a.add(1,l)]},Bt=function(e,t,a){var n=Te().locale(a).startOf("month").month(t).year(e),r=n.daysInMonth();return Ze(r).map((function(e){return n.add(e,"day").toDate()}))},Tt=function(e,t,a,n){var r=Te().year(e).month(t).startOf("month"),l=Bt(e,t,a).find((function(e){return!(null==n?void 0:n(e))}));return l?Te(l).locale(a):r.locale(a)},Rt=function(e,t,a){var n=e.year();if(!(null==a?void 0:a(e.toDate())))return e.locale(t);var r=e.month();if(!Bt(n,r,t).every(a))return Tt(n,r,t,a);for(var l=0;l<12;l++)if(!Bt(n,l,t).every(a))return Tt(n,l,t,a);return e},Ft=d(o(o({},Vt),{},{cellClassName:{type:p(Function)},showWeekNumber:Boolean,selectionMode:Et("date")})),Wt=function(){return["normal","today"].includes(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")},Ht=function(t,r){var l=y().lang,o=D(),i=D(),u=D(),c=D(),s=D([[],[],[],[],[],[]]),d=!1,p=t.date.$locale().weekStart||7,f=t.date.locale("en").localeData().weekdaysShort().map((function(e){return e.toLowerCase()})),v=S((function(){return p>3?7-p:-p})),h=S((function(){var e=t.date.startOf("month");return e.subtract(e.day()||7,"day")})),m=S((function(){return f.concat(f).slice(p,p+7)})),b=S((function(){return se(z(w)).some((function(e){return e.isCurrent}))})),g=S((function(){var e=t.date.startOf("month");return{startOfMonthDay:e.day()||7,dateCountOfMonth:e.daysInMonth(),dateCountOfLastMonth:e.subtract(1,"month").daysInMonth()}})),k=S((function(){return"dates"===t.selectionMode?Ie(t.parsedValue):[]})),x=function(e,a,n){var r=a.columnIndex,l=a.rowIndex,o=t.disabledDate,i=t.cellClassName,u=z(k),c=function(e,t){var a=t.count,n=t.rowIndex,r=t.columnIndex,l=z(g),o=l.startOfMonthDay,i=l.dateCountOfMonth,u=l.dateCountOfLastMonth,c=z(v);if(!(n>=0&&n<=1))return a<=i?e.text=a:(e.text=a-i,e.type="next-month"),!0;var s=o+c<0?7+o+c:o+c;return r+7*n>=s?(e.text=a,!0):(e.text=u-(s-r%7)+1+7*n,e.type="prev-month",!1)}(e,{count:n,rowIndex:l,columnIndex:r}),s=e.dayjs.toDate();return e.selected=u.find((function(t){return t.isSame(e.dayjs,"day")})),e.isSelected=!!e.selected,e.isCurrent=O(e),e.disabled=null==o?void 0:o(s),e.customClass=null==i?void 0:i(s),c},_=function(e){if("week"===t.selectionMode){var a=n(t.showWeekNumber?[1,7]:[0,6],2),r=a[0],l=a[1],o=A(e[r+1]);e[r].inRange=o,e[r].start=o,e[l].inRange=o,e[l].end=o}},w=S((function(){var e=t.minDate,a=t.maxDate,n=t.rangeState,r=t.showWeekNumber,o=z(v),i=z(s),u="day",c=1;if(r)for(var d=0;d<6;d++)i[d][0]||(i[d][0]={type:"week",text:z(h).add(7*d+1,u).week()});return function(e,t,a){for(var n=a.columnIndexOffset,r=a.startDate,l=a.nextEndDate,o=a.now,i=a.unit,u=a.relativeDateGetter,c=a.setCellMetadata,s=a.setRowMetadata,d=0;d1&&void 0!==arguments[1]&&arguments[1],n=e.target.closest("td");if(n){var l=n.parentNode.rowIndex-1,o=n.cellIndex,i=z(w)[l][o];if(!i.disabled&&"week"!==i.type){var u=Y(l,o);switch(t.selectionMode){case"range":!function(e){t.rangeState.selecting&&t.minDate?(e>=t.minDate?r("pick",{minDate:t.minDate,maxDate:e}):r("pick",{minDate:e,maxDate:t.minDate}),r("select",!1)):(r("pick",{minDate:e,maxDate:null}),r("select",!0))}(u);break;case"date":r("pick",u,a);break;case"week":!function(e){var t=e.week(),a="".concat(e.year(),"w").concat(t);r("pick",{year:e.year(),week:t,value:a,date:e.startOf("week")})}(u);break;case"dates":!function(e,a){var n=a?Ie(t.parsedValue).filter((function(t){return(null==t?void 0:t.valueOf())!==e.valueOf()})):Ie(t.parsedValue).concat([e]);r("pick",n)}(u,!!i.selected)}}}},A=function(e){if("week"!==t.selectionMode)return!1;var a=t.date.startOf("day");if("prev-month"===e.type&&(a=a.subtract(1,"month")),"next-month"===e.type&&(a=a.add(1,"month")),a=a.date(Number.parseInt(e.text,10)),t.parsedValue&&!Array.isArray(t.parsedValue)){var n=(t.parsedValue.day()-p+7)%7-1;return t.parsedValue.subtract(n,"day").isSame(a,"day")}return!1};return{WEEKS:m,rows:w,tbodyRef:o,currentCellRef:i,focus:$,isCurrent:O,isWeekActive:A,isSelectedCell:function(e){return!z(b)&&1===(null==e?void 0:e.text)&&"normal"===e.type||e.isCurrent},handlePickDate:V,handleMouseUp:function(e){e.target.closest("td")&&(d=!1)},handleMouseDown:function(e){e.target.closest("td")&&(d=!0)},handleMouseMove:function(e){var a;if(t.rangeState.selecting){var n=e.target;if("SPAN"===n.tagName&&(n=null==(a=n.parentNode)?void 0:a.parentNode),"DIV"===n.tagName&&(n=n.parentNode),"TD"===n.tagName){var l=n.parentNode.rowIndex-1,o=n.cellIndex;z(w)[l][o].disabled||l===z(u)&&o===z(c)||(u.value=l,c.value=o,r("changerange",{selecting:!0,endDate:Y(l,o)}))}}},handleFocus:function(e){d||z(b)||"date"!==t.selectionMode||V(e,!0)}}},Kt=d({cell:{type:p(Object)}}),Ut=b({name:"ElDatePickerCell",props:Kt,setup:function(e){var t=k("date-table-cell"),a=_(Pt).slots;return function(){var n=e.cell;return G(a,"default",o({},n),(function(){var e;return[le("div",{class:t.b()},[le("span",{class:t.e("text")},[null!=(e=null==n?void 0:n.renderText)?e:null==n?void 0:n.text])])]}))}}}),Gt=J(b({__name:"basic-date-table",props:Ft,emits:["changerange","pick","select"],setup:function(e,t){var a=t.expose,n=t.emit,r=e,l=Ht(r,n),o=l.WEEKS,i=l.rows,u=l.tbodyRef,c=l.currentCellRef,s=l.focus,d=l.isCurrent,p=l.isWeekActive,f=l.isSelectedCell,v=l.handlePickDate,h=l.handleMouseUp,m=l.handleMouseDown,b=l.handleMouseMove,g=l.handleFocus,x=function(e,t){var a=t.isCurrent,n=t.isWeekActive,r=k("date-table"),l=y().t;return{tableKls:S((function(){return[r.b(),{"is-week-mode":"week"===e.selectionMode}]})),tableLabel:S((function(){return l("el.datepicker.dateTablePrompt")})),weekLabel:S((function(){return l("el.datepicker.week")})),getCellClasses:function(t){var n=[];return Wt(t.type)&&!t.disabled?(n.push("available"),"today"===t.type&&n.push("today")):n.push(t.type),a(t)&&n.push("current"),t.inRange&&(Wt(t.type)||"week"===e.selectionMode)&&(n.push("in-range"),t.start&&n.push("start-date"),t.end&&n.push("end-date")),t.disabled&&n.push("disabled"),t.selected&&n.push("selected"),t.customClass&&n.push(t.customClass),n.join(" ")},getRowKls:function(e){return[r.e("row"),{current:n(e)}]},t:l}}(r,{isCurrent:d,isWeekActive:p}),_=x.tableLabel,w=x.tableKls,D=x.weekLabel,M=x.getCellClasses,C=x.getRowKls,$=x.t;return a({focus:s}),function(e,t){return E(),K("table",{"aria-label":z(_),class:B(z(w)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:z(v),onMousemove:z(b),onMousedown:R(z(m),["prevent"]),onMouseup:z(h)},[U("tbody",{ref_key:"tbodyRef",ref:u},[U("tr",null,[e.showWeekNumber?(E(),K("th",{key:0,scope:"col"},Z(z(D)),1)):H("v-if",!0),(E(!0),K(te,null,ae(z(o),(function(e,t){return E(),K("th",{key:t,"aria-label":z($)("el.datepicker.weeksFull."+e),scope:"col"},Z(z($)("el.datepicker.weeks."+e)),9,["aria-label"])})),128))]),(E(!0),K(te,null,ae(z(i),(function(e,t){return E(),K("tr",{key:t,class:B(z(C)(e[1]))},[(E(!0),K(te,null,ae(e,(function(e,a){return E(),K("td",{key:"".concat(t,".").concat(a),ref_for:!0,ref:function(t){return z(f)(e)&&(c.value=t)},class:B(z(M)(e)),"aria-current":e.isCurrent?"date":void 0,"aria-selected":e.isCurrent,tabindex:z(f)(e)?0:-1,onFocus:z(g)},[le(z(Ut),{cell:e},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"])})),128))],2)})),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"])}}}),[["__file","basic-date-table.vue"]]),Zt=d(o(o({},Vt),{},{selectionMode:Et("month")})),qt=J(b({__name:"basic-month-table",props:Zt,emits:["changerange","pick","select"],setup:function(t,n){var r=n.expose,l=n.emit,i=t,u=k("month-table"),c=y(),s=c.t,d=c.lang,p=D(),f=D(),v=D(i.date.locale("en").localeData().monthsShort().map((function(e){return e.toLowerCase()}))),h=D([[],[],[]]),m=D(),b=D(),g=S((function(){for(var e,t,a=h.value,n=Te().locale(d.value).startOf("month"),r=0;r<3;r++)for(var l=a[r],o=0;o<4;o++){var u=l[o]||(l[o]={row:r,column:o,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});u.type="normal";var c=4*r+o,s=i.date.startOf("year").month(c),p=i.rangeState.endDate||i.maxDate||i.rangeState.selecting&&i.minDate||null;u.inRange=!!(i.minDate&&s.isSameOrAfter(i.minDate,"month")&&p&&s.isSameOrBefore(p,"month"))||!!(i.minDate&&s.isSameOrBefore(i.minDate,"month")&&p&&s.isSameOrAfter(p,"month")),(null==(e=i.minDate)?void 0:e.isSameOrAfter(p))?(u.start=!(!p||!s.isSame(p,"month")),u.end=i.minDate&&s.isSame(i.minDate,"month")):(u.start=!(!i.minDate||!s.isSame(i.minDate,"month")),u.end=!(!p||!s.isSame(p,"month"))),n.isSame(s)&&(u.type="today"),u.text=c,u.disabled=(null==(t=i.disabledDate)?void 0:t.call(i,s.toDate()))||!1}return a})),x=function(e){var t={},a=i.date.year(),n=new Date,r=e.text;return t.disabled=!!i.disabledDate&&Bt(a,r,d.value).every(i.disabledDate),t.current=Ie(i.parsedValue).findIndex((function(e){return Te.isDayjs(e)&&e.year()===a&&e.month()===r}))>=0,t.today=n.getFullYear()===a&&n.getMonth()===r,e.inRange&&(t["in-range"]=!0,e.start&&(t["start-date"]=!0),e.end&&(t["end-date"]=!0)),t},_=function(e){var t=i.date.year(),a=e.text;return Ie(i.date).findIndex((function(e){return e.year()===t&&e.month()===a}))>=0},w=function(e){var t;if(i.rangeState.selecting){var a=e.target;if("SPAN"===a.tagName&&(a=null==(t=a.parentNode)?void 0:t.parentNode),"DIV"===a.tagName&&(a=a.parentNode),"TD"===a.tagName){var n=a.parentNode.rowIndex,r=a.cellIndex;g.value[n][r].disabled||n===m.value&&r===b.value||(m.value=n,b.value=r,l("changerange",{selecting:!0,endDate:i.date.startOf("year").month(4*n+r)}))}}},$=function(e){var t,a=null==(t=e.target)?void 0:t.closest("td");if("TD"===(null==a?void 0:a.tagName)&&!pe(a,"disabled")){var n=a.cellIndex,r=4*a.parentNode.rowIndex+n,o=i.date.startOf("year").month(r);if("months"===i.selectionMode){if("keydown"===e.type)return void l("pick",Ie(i.parsedValue),!1);var u=Tt(i.date.year(),r,d.value,i.disabledDate),c=pe(a,"current")?Ie(i.parsedValue).filter((function(e){return(null==e?void 0:e.month())!==u.month()})):Ie(i.parsedValue).concat([Te(u)]);l("pick",c)}else"range"===i.selectionMode?i.rangeState.selecting?(i.minDate&&o>=i.minDate?l("pick",{minDate:i.minDate,maxDate:o}):l("pick",{minDate:o,maxDate:i.minDate}),l("select",!1)):(l("pick",{minDate:o,maxDate:null}),l("select",!0)):l("pick",r)}};return M((function(){return i.date}),a(e().mark((function t(){var a,n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==(a=p.value)?void 0:a.contains(document.activeElement))){e.next=4;break}return e.next=3,C();case 3:null==(n=f.value)||n.focus();case 4:case"end":return e.stop()}}),t)})))),r({focus:function(){var e;null==(e=f.value)||e.focus()}}),function(e,t){return E(),K("table",{role:"grid","aria-label":z(s)("el.datepicker.monthTablePrompt"),class:B(z(u).b()),onClick:$,onMousemove:w},[U("tbody",{ref_key:"tbodyRef",ref:p},[(E(!0),K(te,null,ae(z(g),(function(e,t){return E(),K("tr",{key:t},[(E(!0),K(te,null,ae(e,(function(e,t){return E(),K("td",{key:t,ref_for:!0,ref:function(t){return _(e)&&(f.value=t)},class:B(x(e)),"aria-selected":"".concat(_(e)),"aria-label":z(s)("el.datepicker.month".concat(+e.text+1)),tabindex:_(e)?0:-1,onKeydown:[de(R($,["prevent","stop"]),["space"]),de(R($,["prevent","stop"]),["enter"])]},[le(z(Ut),{cell:o(o({},e),{},{renderText:z(s)("el.datepicker.months."+v.value[e.text])})},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"])})),128))])})),128))],512)],42,["aria-label"])}}}),[["__file","basic-month-table.vue"]]),Jt=d(o(o({},Vt),{},{selectionMode:Et("year")})),Qt=J(b({__name:"basic-year-table",props:Jt,emits:["changerange","pick","select"],setup:function(t,n){var r=n.expose,l=n.emit,o=t,i=k("year-table"),u=y(),c=u.t,s=u.lang,d=D(),p=D(),f=S((function(){return 10*Math.floor(o.date.year()/10)})),v=D([[],[],[]]),h=D(),m=D(),b=S((function(){for(var e,t=v.value,a=Te().locale(s.value).startOf("year"),n=0;n<3;n++)for(var r=t[n],l=0;l<4&&!(4*n+l>=10);l++){var i=r[l];i||(i={row:n,column:l,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1}),i.type="normal";var u=4*n+l+f.value,c=Te().year(u),d=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;i.inRange=!!(o.minDate&&c.isSameOrAfter(o.minDate,"year")&&d&&c.isSameOrBefore(d,"year"))||!!(o.minDate&&c.isSameOrBefore(o.minDate,"year")&&d&&c.isSameOrAfter(d,"year")),(null==(e=o.minDate)?void 0:e.isSameOrAfter(d))?(i.start=!(!d||!c.isSame(d,"year")),i.end=!(!o.minDate||!c.isSame(o.minDate,"year"))):(i.start=!(!o.minDate||!c.isSame(o.minDate,"year")),i.end=!(!d||!c.isSame(d,"year"))),a.isSame(c)&&(i.type="today"),i.text=u;var p=c.toDate();i.disabled=o.disabledDate&&o.disabledDate(p)||!1,r[l]=i}return t})),g=function(e){var t={},a=Te().locale(s.value),n=e.text;return t.disabled=!!o.disabledDate&&function(e,t){var a=Te(String(e)).locale(t).startOf("year"),n=a.endOf("year").dayOfYear();return Ze(n).map((function(e){return a.add(e,"day").toDate()}))}(n,s.value).every(o.disabledDate),t.today=a.year()===n,t.current=Ie(o.parsedValue).findIndex((function(e){return e.year()===n}))>=0,e.inRange&&(t["in-range"]=!0,e.start&&(t["start-date"]=!0),e.end&&(t["end-date"]=!0)),t},x=function(e){var t=e.text;return Ie(o.date).findIndex((function(e){return e.year()===t}))>=0},_=function(e){var t,a=null==(t=e.target)?void 0:t.closest("td");if(a&&a.textContent&&!pe(a,"disabled")){var n=a.cellIndex,r=4*a.parentNode.rowIndex+n+f.value,i=Te().year(r);if("range"===o.selectionMode)o.rangeState.selecting?(o.minDate&&i>=o.minDate?l("pick",{minDate:o.minDate,maxDate:i}):l("pick",{minDate:i,maxDate:o.minDate}),l("select",!1)):(l("pick",{minDate:i,maxDate:null}),l("select",!0));else if("years"===o.selectionMode){if("keydown"===e.type)return void l("pick",Ie(o.parsedValue),!1);var u=Rt(i.startOf("year"),s.value,o.disabledDate),c=pe(a,"current")?Ie(o.parsedValue).filter((function(e){return(null==e?void 0:e.year())!==r})):Ie(o.parsedValue).concat([u]);l("pick",c)}else l("pick",r)}},w=function(e){var t;if(o.rangeState.selecting){var a=null==(t=e.target)?void 0:t.closest("td");if(a){var n=a.parentNode.rowIndex,r=a.cellIndex;b.value[n][r].disabled||n===h.value&&r===m.value||(h.value=n,m.value=r,l("changerange",{selecting:!0,endDate:Te().year(f.value).add(4*n+r,"year")}))}}};return M((function(){return o.date}),a(e().mark((function t(){var a,n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==(a=d.value)?void 0:a.contains(document.activeElement))){e.next=4;break}return e.next=3,C();case 3:null==(n=p.value)||n.focus();case 4:case"end":return e.stop()}}),t)})))),r({focus:function(){var e;null==(e=p.value)||e.focus()}}),function(e,t){return E(),K("table",{role:"grid","aria-label":z(c)("el.datepicker.yearTablePrompt"),class:B(z(i).b()),onClick:_,onMousemove:w},[U("tbody",{ref_key:"tbodyRef",ref:d},[(E(!0),K(te,null,ae(z(b),(function(e,t){return E(),K("tr",{key:t},[(E(!0),K(te,null,ae(e,(function(e,a){return E(),K("td",{key:"".concat(t,"_").concat(a),ref_for:!0,ref:function(t){return x(e)&&(p.value=t)},class:B(["available",g(e)]),"aria-selected":x(e),"aria-label":String(e.text),tabindex:x(e)?0:-1,onKeydown:[de(R(_,["prevent","stop"]),["space"]),de(R(_,["prevent","stop"]),["enter"])]},[le(z(Ut),{cell:e},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"])})),128))])})),128))],512)],42,["aria-label"])}}}),[["__file","basic-year-table.vue"]]),Xt=b({__name:"panel-date-pick",props:Lt,emits:["pick","set-picker-option","panel-change"],setup:function(t,n){var r=n.emit,l=t,o=k("picker-panel"),u=k("date-picker"),c=g(),d=fe(),p=y(),f=p.t,v=p.lang,h=_("EP_PICKER_BASE"),m=_(Ve),b=h.props,x=b.shortcuts,w=b.disabledDate,$=b.cellClassName,O=b.defaultTime,P=ve(h.props,"defaultValue"),Y=D(),V=D(Te().locale(v.value)),A=D(!1),I=!1,T=S((function(){return Te(O).locale(v.value)})),R=S((function(){return V.value.month()})),W=S((function(){return V.value.year()})),q=D([]),J=D(null),X=D(null),ee=function(e){return!(q.value.length>0)||(q.value,l.format,!0)},oe=function(e){return!O||Be.value||A.value||I?Pe.value?e.millisecond(0):e.startOf("day"):T.value.year(e.year()).month(e.month()).date(e.date())},ie=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]&&arguments[0],t=z(m),a=z(b);Nt([t,a])&&u("pick",[t,a],e)},handleShortcutClick:h,onSelect:function(e){g.value.selecting=e,e||(g.value.endDate=null)},onReset:x,t:f}},ra="month",la=b({__name:"panel-date-range",props:ta,emits:["pick","set-picker-option","calendar-change","panel-change"],setup:function(e,t){var a=t.emit,n=e,r=_("EP_PICKER_BASE"),l=r.props,o=l.disabledDate,i=l.cellClassName,u=l.defaultTime,c=l.clearable,d=ve(r.props,"format"),p=ve(r.props,"shortcuts"),f=ve(r.props,"defaultValue"),v=y().lang,h=D(Te().locale(v.value)),m=D(Te().locale(v.value).add(1,ra)),b=na(n,{defaultValue:f,leftDate:h,rightDate:m,unit:ra,onParsedValueChanged:function(e,t){if(n.unlinkPanels&&t){var a=(null==e?void 0:e.year())||0,r=(null==e?void 0:e.month())||0,l=t.year(),o=t.month();m.value=a===l&&r===o?t.add(1,ra):t}else m.value=h.value.add(1,ra),t&&(m.value=m.value.hour(t.hour()).minute(t.minute()).second(t.second()))}}),g=b.minDate,k=b.maxDate,x=b.rangeState,w=b.ppNs,C=b.drpNs,$=b.handleChangeRange,O=b.handleRangeConfirm,P=b.handleShortcutClick,Y=b.onSelect,V=b.onReset,A=b.t;M((function(){return n.visible}),(function(e){!e&&x.value.selecting&&(V(n.parsedValue),Y(!1))}));var I=D({min:null,max:null}),T=D({min:null,max:null}),R=S((function(){return"".concat(h.value.year()," ").concat(A("el.datepicker.year")," ").concat(A("el.datepicker.month".concat(h.value.month()+1)))})),W=S((function(){return"".concat(m.value.year()," ").concat(A("el.datepicker.year")," ").concat(A("el.datepicker.month".concat(m.value.month()+1)))})),q=S((function(){return h.value.year()})),J=S((function(){return h.value.month()})),Q=S((function(){return m.value.year()})),X=S((function(){return m.value.month()})),ee=S((function(){return!!p.value.length})),oe=S((function(){return null!==I.value.min?I.value.min:g.value?g.value.format(de.value):""})),ie=S((function(){return null!==I.value.max?I.value.max:k.value||g.value?(k.value||g.value).format(de.value):""})),ue=S((function(){return null!==T.value.min?T.value.min:g.value?g.value.format(se.value):""})),ce=S((function(){return null!==T.value.max?T.value.max:k.value||g.value?(k.value||g.value).format(se.value):""})),se=S((function(){return n.timeFormat||Je(d.value)})),de=S((function(){return n.dateFormat||qe(d.value)})),pe=function(){h.value=h.value.subtract(1,"year"),n.unlinkPanels||(m.value=h.value.add(1,"month")),Me("year")},fe=function(){h.value=h.value.subtract(1,"month"),n.unlinkPanels||(m.value=h.value.add(1,"month")),Me("month")},he=function(){n.unlinkPanels?m.value=m.value.add(1,"year"):(h.value=h.value.add(1,"year"),m.value=h.value.add(1,"month")),Me("year")},xe=function(){n.unlinkPanels?m.value=m.value.add(1,"month"):(h.value=h.value.add(1,"month"),m.value=h.value.add(1,"month")),Me("month")},_e=function(){h.value=h.value.add(1,"year"),Me("year")},we=function(){h.value=h.value.add(1,"month"),Me("month")},De=function(){m.value=m.value.subtract(1,"year"),Me("year")},Se=function(){m.value=m.value.subtract(1,"month"),Me("month")},Me=function(e){a("panel-change",[h.value.toDate(),m.value.toDate()],e)},Ce=S((function(){var e=(J.value+1)%12,t=J.value+1>=12?1:0;return n.unlinkPanels&&new Date(q.value+t,e)=12})),Oe=S((function(){return!(g.value&&k.value&&!x.value.selecting&&Nt([g.value,k.value]))})),Pe=S((function(){return"datetime"===n.type||"datetimerange"===n.type})),Ye=function(e,t){if(e)return u?Te(u[t]||u).locale(v.value).year(e.year()).month(e.month()).date(e.date()):e},ze=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.minDate,r=e.maxDate,l=Ye(n,0),o=Ye(r,1);k.value===o&&g.value===l||(a("calendar-change",[n.toDate(),r&&r.toDate()]),k.value=o,g.value=l,t&&!Pe.value&&O())},Ve=D(!1),Ie=D(!1),Ee=function(){Ve.value=!1},Le=function(){Ie.value=!1},Ne=function(e,t){I.value[t]=e;var a=Te(e,de.value).locale(v.value);if(a.isValid()){if(o&&o(a.toDate()))return;"min"===t?(h.value=a,g.value=(g.value||h.value).year(a.year()).month(a.month()).date(a.date()),n.unlinkPanels||k.value&&!k.value.isBefore(g.value)||(m.value=a.add(1,"month"),k.value=g.value.add(1,"month"))):(m.value=a,k.value=(k.value||m.value).year(a.year()).month(a.month()).date(a.date()),n.unlinkPanels||g.value&&!g.value.isAfter(k.value)||(h.value=a.subtract(1,"month"),g.value=k.value.subtract(1,"month")))}},je=function(e,t){I.value[t]=null},Be=function(e,t){T.value[t]=e;var a=Te(e,se.value).locale(v.value);a.isValid()&&("min"===t?(Ve.value=!0,g.value=(g.value||h.value).hour(a.hour()).minute(a.minute()).second(a.second())):(Ie.value=!0,k.value=(k.value||m.value).hour(a.hour()).minute(a.minute()).second(a.second()),m.value=k.value))},Re=function(e,t){T.value[t]=null,"min"===t?(h.value=g.value,Ve.value=!1,k.value&&!k.value.isBefore(g.value)||(k.value=g.value)):(m.value=k.value,Ie.value=!1,k.value&&k.value.isBefore(g.value)&&(g.value=k.value))},Fe=function(e,t,a){T.value.min||(e&&(h.value=e,g.value=(g.value||h.value).hour(e.hour()).minute(e.minute()).second(e.second())),a||(Ve.value=t),k.value&&!k.value.isBefore(g.value)||(k.value=g.value,m.value=e))},We=function(e,t,a){T.value.max||(e&&(m.value=e,k.value=(k.value||m.value).hour(e.hour()).minute(e.minute()).second(e.second())),a||(Ie.value=t),k.value&&k.value.isBefore(g.value)&&(g.value=k.value))},He=function(){h.value=jt(z(f),{lang:z(v),unit:"month",unlinkPanels:n.unlinkPanels})[0],m.value=h.value.add(1,"month"),k.value=void 0,g.value=void 0,a("pick",null)};return a("set-picker-option",["isValidValue",function(e){return Nt(e)&&(!o||!o(e[0].toDate())&&!o(e[1].toDate()))}]),a("set-picker-option",["parseUserInput",function(e){return s(e)?e.map((function(e){return Te(e,d.value).locale(v.value)})):Te(e,d.value).locale(v.value)}]),a("set-picker-option",["formatToString",function(e){return s(e)?e.map((function(e){return e.format(d.value)})):e.format(d.value)}]),a("set-picker-option",["handleClear",He]),function(e,t){return E(),K("div",{class:B([z(w).b(),z(C).b(),{"has-sidebar":e.$slots.sidebar||z(ee),"has-time":z(Pe)}])},[U("div",{class:B(z(w).e("body-wrapper"))},[G(e.$slots,"sidebar",{class:B(z(w).e("sidebar"))}),z(ee)?(E(),K("div",{key:0,class:B(z(w).e("sidebar"))},[(E(!0),K(te,null,ae(z(p),(function(e,t){return E(),K("button",{key:t,type:"button",class:B(z(w).e("shortcut")),onClick:function(t){return z(P)(e)}},Z(e.text),11,["onClick"])})),128))],2)):H("v-if",!0),U("div",{class:B(z(w).e("body"))},[z(Pe)?(E(),K("div",{key:0,class:B(z(C).e("time-header"))},[U("span",{class:B(z(C).e("editors-wrap"))},[U("span",{class:B(z(C).e("time-picker-wrap"))},[le(z(j),{size:"small",disabled:z(x).selecting,placeholder:z(A)("el.datepicker.startDate"),class:B(z(C).e("editor")),"model-value":z(oe),"validate-event":!1,onInput:function(e){return Ne(e,"min")},onChange:function(e){return je(0,"min")}},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),re((E(),K("span",{class:B(z(C).e("time-picker-wrap"))},[le(z(j),{size:"small",class:B(z(C).e("editor")),disabled:z(x).selecting,placeholder:z(A)("el.datepicker.startTime"),"model-value":z(ue),"validate-event":!1,onFocus:function(e){return Ve.value=!0},onInput:function(e){return Be(e,"min")},onChange:function(e){return Re(0,"min")}},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),le(z(ht),{visible:Ve.value,format:z(se),"datetime-role":"start","parsed-value":h.value,onPick:Fe},null,8,["visible","format","parsed-value"])],2)),[[z(Ae),Ee]])],2),U("span",null,[le(z(F),null,{default:N((function(){return[le(z(ge))]})),_:1})]),U("span",{class:B([z(C).e("editors-wrap"),"is-right"])},[U("span",{class:B(z(C).e("time-picker-wrap"))},[le(z(j),{size:"small",class:B(z(C).e("editor")),disabled:z(x).selecting,placeholder:z(A)("el.datepicker.endDate"),"model-value":z(ie),readonly:!z(g),"validate-event":!1,onInput:function(e){return Ne(e,"max")},onChange:function(e){return je(0,"max")}},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),re((E(),K("span",{class:B(z(C).e("time-picker-wrap"))},[le(z(j),{size:"small",class:B(z(C).e("editor")),disabled:z(x).selecting,placeholder:z(A)("el.datepicker.endTime"),"model-value":z(ce),readonly:!z(g),"validate-event":!1,onFocus:function(e){return z(g)&&(Ie.value=!0)},onInput:function(e){return Be(e,"max")},onChange:function(e){return Re(0,"max")}},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),le(z(ht),{"datetime-role":"end",visible:Ie.value,format:z(se),"parsed-value":m.value,onPick:We},null,8,["visible","format","parsed-value"])],2)),[[z(Ae),Le]])],2)],2)):H("v-if",!0),U("div",{class:B([[z(w).e("content"),z(C).e("content")],"is-left"])},[U("div",{class:B(z(C).e("header"))},[U("button",{type:"button",class:B([z(w).e("icon-btn"),"d-arrow-left"]),"aria-label":z(A)("el.datepicker.prevYear"),onClick:pe},[G(e.$slots,"prev-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(me))]})),_:1})]}))],10,["aria-label"]),U("button",{type:"button",class:B([z(w).e("icon-btn"),"arrow-left"]),"aria-label":z(A)("el.datepicker.prevMonth"),onClick:fe},[G(e.$slots,"prev-month",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(be))]})),_:1})]}))],10,["aria-label"]),e.unlinkPanels?(E(),K("button",{key:0,type:"button",disabled:!z($e),class:B([[z(w).e("icon-btn"),{"is-disabled":!z($e)}],"d-arrow-right"]),"aria-label":z(A)("el.datepicker.nextYear"),onClick:_e},[G(e.$slots,"next-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(ye))]})),_:1})]}))],10,["disabled","aria-label"])):H("v-if",!0),e.unlinkPanels?(E(),K("button",{key:1,type:"button",disabled:!z(Ce),class:B([[z(w).e("icon-btn"),{"is-disabled":!z(Ce)}],"arrow-right"]),"aria-label":z(A)("el.datepicker.nextMonth"),onClick:we},[G(e.$slots,"next-month",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(ge))]})),_:1})]}))],10,["disabled","aria-label"])):H("v-if",!0),U("div",null,Z(z(R)),1)],2),le(Gt,{"selection-mode":"range",date:h.value,"min-date":z(g),"max-date":z(k),"range-state":z(x),"disabled-date":z(o),"cell-class-name":z(i),onChangerange:z($),onPick:ze,onSelect:z(Y)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),U("div",{class:B([[z(w).e("content"),z(C).e("content")],"is-right"])},[U("div",{class:B(z(C).e("header"))},[e.unlinkPanels?(E(),K("button",{key:0,type:"button",disabled:!z($e),class:B([[z(w).e("icon-btn"),{"is-disabled":!z($e)}],"d-arrow-left"]),"aria-label":z(A)("el.datepicker.prevYear"),onClick:De},[G(e.$slots,"prev-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(me))]})),_:1})]}))],10,["disabled","aria-label"])):H("v-if",!0),e.unlinkPanels?(E(),K("button",{key:1,type:"button",disabled:!z(Ce),class:B([[z(w).e("icon-btn"),{"is-disabled":!z(Ce)}],"arrow-left"]),"aria-label":z(A)("el.datepicker.prevMonth"),onClick:Se},[G(e.$slots,"prev-month",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(be))]})),_:1})]}))],10,["disabled","aria-label"])):H("v-if",!0),U("button",{type:"button","aria-label":z(A)("el.datepicker.nextYear"),class:B([z(w).e("icon-btn"),"d-arrow-right"]),onClick:he},[G(e.$slots,"next-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(ye))]})),_:1})]}))],10,["aria-label"]),U("button",{type:"button",class:B([z(w).e("icon-btn"),"arrow-right"]),"aria-label":z(A)("el.datepicker.nextMonth"),onClick:xe},[G(e.$slots,"next-month",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(ge))]})),_:1})]}))],10,["aria-label"]),U("div",null,Z(z(W)),1)],2),le(Gt,{"selection-mode":"range",date:m.value,"min-date":z(g),"max-date":z(k),"range-state":z(x),"disabled-date":z(o),"cell-class-name":z(i),onChangerange:z($),onPick:ze,onSelect:z(Y)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),z(Pe)?(E(),K("div",{key:0,class:B(z(w).e("footer"))},[z(c)?(E(),L(z(ke),{key:0,text:"",size:"small",class:B(z(w).e("link-btn")),onClick:He},{default:N((function(){return[ne(Z(z(A)("el.datepicker.clear")),1)]})),_:1},8,["class"])):H("v-if",!0),le(z(ke),{plain:"",size:"small",class:B(z(w).e("link-btn")),disabled:z(Oe),onClick:function(e){return z(O)(!1)}},{default:N((function(){return[ne(Z(z(A)("el.datepicker.confirm")),1)]})),_:1},8,["class","disabled","onClick"])],2)):H("v-if",!0)],2)}}}),oa=J(la,[["__file","panel-date-range.vue"]]),ia=d(o({},It)),ua="year",ca=b({name:"DatePickerMonthRange"}),sa=b(o(o({},ca),{},{props:ia,emits:["pick","set-picker-option","calendar-change"],setup:function(e,t){var a=t.emit,n=e,r=y().lang,l=_("EP_PICKER_BASE"),o=l.props,u=o.shortcuts,c=o.disabledDate,d=ve(l.props,"format"),p=ve(l.props,"defaultValue"),f=D(Te().locale(r.value)),v=D(Te().locale(r.value).add(1,ua)),h=na(n,{defaultValue:p,leftDate:f,rightDate:v,unit:ua,onParsedValueChanged:function(e,t){if(n.unlinkPanels&&t){var a=(null==e?void 0:e.year())||0,r=t.year();v.value=a===r?t.add(1,ua):t}else v.value=f.value.add(1,ua)}}),m=h.minDate,b=h.maxDate,g=h.rangeState,k=h.ppNs,x=h.drpNs,w=h.handleChangeRange,M=h.handleRangeConfirm,C=h.handleShortcutClick,$=h.onSelect,O=S((function(){return!!u.length})),P=function(e){var t=e.unlinkPanels,a=e.leftDate,n=e.rightDate,r=y().t;return{leftPrevYear:function(){a.value=a.value.subtract(1,"year"),t.value||(n.value=n.value.subtract(1,"year"))},rightNextYear:function(){t.value||(a.value=a.value.add(1,"year")),n.value=n.value.add(1,"year")},leftNextYear:function(){a.value=a.value.add(1,"year")},rightPrevYear:function(){n.value=n.value.subtract(1,"year")},leftLabel:S((function(){return"".concat(a.value.year()," ").concat(r("el.datepicker.year"))})),rightLabel:S((function(){return"".concat(n.value.year()," ").concat(r("el.datepicker.year"))})),leftYear:S((function(){return a.value.year()})),rightYear:S((function(){return n.value.year()===a.value.year()?a.value.year()+1:n.value.year()}))}}({unlinkPanels:ve(n,"unlinkPanels"),leftDate:f,rightDate:v}),Y=P.leftPrevYear,V=P.rightNextYear,A=P.leftNextYear,I=P.rightPrevYear,L=P.leftLabel,j=P.rightLabel,T=P.leftYear,R=P.rightYear,W=S((function(){return n.unlinkPanels&&R.value>T.value+1})),q=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.minDate,r=e.maxDate;b.value===r&&m.value===n||(a("calendar-change",[n.toDate(),r&&r.toDate()]),b.value=r,m.value=n,t&&M())};return a("set-picker-option",["isValidValue",Nt]),a("set-picker-option",["formatToString",function(e){return s(e)?e.map((function(e){return e.format(d.value)})):e.format(d.value)}]),a("set-picker-option",["parseUserInput",function(e){return s(e)?e.map((function(e){return Te(e,d.value).locale(r.value)})):Te(e,d.value).locale(r.value)}]),a("set-picker-option",["handleClear",function(){f.value=jt(z(p),{lang:z(r),unit:"year",unlinkPanels:n.unlinkPanels})[0],v.value=f.value.add(1,"year"),a("pick",null)}]),function(e,t){return E(),K("div",{class:B([z(k).b(),z(x).b(),{"has-sidebar":Boolean(e.$slots.sidebar)||z(O)}])},[U("div",{class:B(z(k).e("body-wrapper"))},[G(e.$slots,"sidebar",{class:B(z(k).e("sidebar"))}),z(O)?(E(),K("div",{key:0,class:B(z(k).e("sidebar"))},[(E(!0),K(te,null,ae(z(u),(function(e,t){return E(),K("button",{key:t,type:"button",class:B(z(k).e("shortcut")),onClick:function(t){return z(C)(e)}},Z(e.text),11,["onClick"])})),128))],2)):H("v-if",!0),U("div",{class:B(z(k).e("body"))},[U("div",{class:B([[z(k).e("content"),z(x).e("content")],"is-left"])},[U("div",{class:B(z(x).e("header"))},[U("button",{type:"button",class:B([z(k).e("icon-btn"),"d-arrow-left"]),onClick:z(Y)},[G(e.$slots,"prev-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(me))]})),_:1})]}))],10,["onClick"]),e.unlinkPanels?(E(),K("button",{key:0,type:"button",disabled:!z(W),class:B([[z(k).e("icon-btn"),i({},z(k).is("disabled"),!z(W))],"d-arrow-right"]),onClick:z(A)},[G(e.$slots,"next-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(ye))]})),_:1})]}))],10,["disabled","onClick"])):H("v-if",!0),U("div",null,Z(z(L)),1)],2),le(qt,{"selection-mode":"range",date:f.value,"min-date":z(m),"max-date":z(b),"range-state":z(g),"disabled-date":z(c),onChangerange:z(w),onPick:q,onSelect:z($)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),U("div",{class:B([[z(k).e("content"),z(x).e("content")],"is-right"])},[U("div",{class:B(z(x).e("header"))},[e.unlinkPanels?(E(),K("button",{key:0,type:"button",disabled:!z(W),class:B([[z(k).e("icon-btn"),{"is-disabled":!z(W)}],"d-arrow-left"]),onClick:z(I)},[G(e.$slots,"prev-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(me))]})),_:1})]}))],10,["disabled","onClick"])):H("v-if",!0),U("button",{type:"button",class:B([z(k).e("icon-btn"),"d-arrow-right"]),onClick:z(V)},[G(e.$slots,"next-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(ye))]})),_:1})]}))],10,["onClick"]),U("div",null,Z(z(j)),1)],2),le(qt,{"selection-mode":"range",date:v.value,"min-date":z(m),"max-date":z(b),"range-state":z(g),"disabled-date":z(c),onChangerange:z(w),onPick:q,onSelect:z($)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2)}}})),da=J(sa,[["__file","panel-month-range.vue"]]),pa=d(o({},It)),fa="year",va=b({name:"DatePickerYearRange"}),ha=b(o(o({},va),{},{props:pa,emits:["pick","set-picker-option","calendar-change"],setup:function(e,t){var a=t.emit,n=e,r=y().lang,l=D(Te().locale(r.value)),o=D(l.value.add(10,"year")),u=_(Pt).pickerNs,c=k("date-range-picker"),d=S((function(){return!!J.length})),p=S((function(){return[u.b(),c.b(),{"has-sidebar":Boolean(fe().sidebar)||d.value}]})),f=S((function(){return{content:[u.e("content"),c.e("content"),"is-left"],arrowLeftBtn:[u.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[u.e("icon-btn"),i({},u.is("disabled"),!Y.value),"d-arrow-right"]}})),v=S((function(){return{content:[u.e("content"),c.e("content"),"is-right"],arrowLeftBtn:[u.e("icon-btn"),{"is-disabled":!Y.value},"d-arrow-left"],arrowRightBtn:[u.e("icon-btn"),"d-arrow-right"]}})),h=aa(r),m=function(e){var t=e.unlinkPanels,a=e.leftDate,n=e.rightDate;return{leftPrevYear:function(){a.value=a.value.subtract(10,"year"),t.value||(n.value=n.value.subtract(10,"year"))},rightNextYear:function(){t.value||(a.value=a.value.add(10,"year")),n.value=n.value.add(10,"year")},leftNextYear:function(){a.value=a.value.add(10,"year")},rightPrevYear:function(){n.value=n.value.subtract(10,"year")},leftLabel:S((function(){var e=10*Math.floor(a.value.year()/10);return"".concat(e,"-").concat(e+9)})),rightLabel:S((function(){var e=10*Math.floor(n.value.year()/10);return"".concat(e,"-").concat(e+9)})),leftYear:S((function(){return 10*Math.floor(a.value.year()/10)+9})),rightYear:S((function(){return 10*Math.floor(n.value.year()/10)}))}}({unlinkPanels:ve(n,"unlinkPanels"),leftDate:l,rightDate:o}),b=m.leftPrevYear,g=m.rightNextYear,x=m.leftNextYear,w=m.rightPrevYear,C=m.leftLabel,$=m.rightLabel,O=m.leftYear,P=m.rightYear,Y=S((function(){return n.unlinkPanels&&P.value>O.value+1})),V=D(),A=D(),I=D({endDate:null,selecting:!1}),L=function(e){I.value=e},j=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.minDate,r=e.maxDate;A.value===r&&V.value===n||(a("calendar-change",[n.toDate(),r&&r.toDate()]),A.value=r,V.value=n,t&&T())},T=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Nt([V.value,A.value])&&a("pick",[V.value,A.value],e)},R=function(e){I.value.selecting=e,e||(I.value.endDate=null)},W=_("EP_PICKER_BASE"),q=W.props,J=q.shortcuts,Q=q.disabledDate,X=ve(W.props,"format"),ee=ve(W.props,"defaultValue"),ne=function(){var e;if(s(ee.value)){var t=Te(ee.value[0]),a=Te(ee.value[1]);return n.unlinkPanels||(a=t.add(10,fa)),[t,a]}return[e=(e=ee.value?Te(ee.value):Te()).locale(r.value),e.add(10,fa)]};M((function(){return ee.value}),(function(e){if(e){var t=ne();l.value=t[0],o.value=t[1]}}),{immediate:!0}),M((function(){return n.parsedValue}),(function(e){if(e&&2===e.length)if(V.value=e[0],A.value=e[1],l.value=V.value,n.unlinkPanels&&A.value){var t=V.value.year(),a=A.value.year();o.value=t===a?A.value.add(10,"year"):A.value}else o.value=l.value.add(10,"year");else{var r=ne();V.value=void 0,A.value=void 0,l.value=r[0],o.value=r[1]}}),{immediate:!0});return a("set-picker-option",["isValidValue",function(e){return Nt(e)&&(!Q||!Q(e[0].toDate())&&!Q(e[1].toDate()))}]),a("set-picker-option",["parseUserInput",function(e){return s(e)?e.map((function(e){return Te(e,X.value).locale(r.value)})):Te(e,X.value).locale(r.value)}]),a("set-picker-option",["formatToString",function(e){return s(e)?e.map((function(e){return e.format(X.value)})):e.format(X.value)}]),a("set-picker-option",["handleClear",function(){var e=ne();l.value=e[0],o.value=e[1],A.value=void 0,V.value=void 0,a("pick",null)}]),function(e,t){return E(),K("div",{class:B(z(p))},[U("div",{class:B(z(u).e("body-wrapper"))},[G(e.$slots,"sidebar",{class:B(z(u).e("sidebar"))}),z(d)?(E(),K("div",{key:0,class:B(z(u).e("sidebar"))},[(E(!0),K(te,null,ae(z(J),(function(e,t){return E(),K("button",{key:t,type:"button",class:B(z(u).e("shortcut")),onClick:function(t){return z(h)(e)}},Z(e.text),11,["onClick"])})),128))],2)):H("v-if",!0),U("div",{class:B(z(u).e("body"))},[U("div",{class:B(z(f).content)},[U("div",{class:B(z(c).e("header"))},[U("button",{type:"button",class:B(z(f).arrowLeftBtn),onClick:z(b)},[G(e.$slots,"prev-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(me))]})),_:1})]}))],10,["onClick"]),e.unlinkPanels?(E(),K("button",{key:0,type:"button",disabled:!z(Y),class:B(z(f).arrowRightBtn),onClick:z(x)},[G(e.$slots,"next-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(ye))]})),_:1})]}))],10,["disabled","onClick"])):H("v-if",!0),U("div",null,Z(z(C)),1)],2),le(Qt,{"selection-mode":"range",date:l.value,"min-date":V.value,"max-date":A.value,"range-state":I.value,"disabled-date":z(Q),onChangerange:L,onPick:j,onSelect:R},null,8,["date","min-date","max-date","range-state","disabled-date"])],2),U("div",{class:B(z(v).content)},[U("div",{class:B(z(c).e("header"))},[e.unlinkPanels?(E(),K("button",{key:0,type:"button",disabled:!z(Y),class:B(z(v).arrowLeftBtn),onClick:z(w)},[G(e.$slots,"prev-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(me))]})),_:1})]}))],10,["disabled","onClick"])):H("v-if",!0),U("button",{type:"button",class:B(z(v).arrowRightBtn),onClick:z(g)},[G(e.$slots,"next-year",{},(function(){return[le(z(F),null,{default:N((function(){return[le(z(ye))]})),_:1})]}))],10,["onClick"]),U("div",null,Z(z($)),1)],2),le(Qt,{"selection-mode":"range",date:o.value,"min-date":V.value,"max-date":A.value,"range-state":I.value,"disabled-date":z(Q),onChangerange:L,onPick:j,onSelect:R},null,8,["date","min-date","max-date","range-state","disabled-date"])],2)],2)],2)],2)}}})),ma=J(ha,[["__file","panel-year-range.vue"]]);Te.extend(bt),Te.extend(yt),Te.extend(Fe),Te.extend(xt),Te.extend(wt),Te.extend(St),Te.extend(Ct),Te.extend(Ot);var ba=b({name:"ElDatePicker",install:null,props:Yt,emits:["update:modelValue"],setup:function(e,t){var a=t.expose,n=t.emit,r=t.slots,l=k("picker-panel");I("ElPopperOptions",we(ve(e,"popperOptions"))),I(Pt,{slots:r,pickerNs:l});var o=D(),i={focus:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];null==(e=o.value)||e.focus(t)},handleOpen:function(){var e;null==(e=o.value)||e.handleOpen()},handleClose:function(){var e;null==(e=o.value)||e.handleClose()}};a(i);var u=function(e){n("update:modelValue",e)};return function(){var t,a=null!=(t=e.format)?t:Ue[e.type]||Ke,n=function(e){switch(e){case"daterange":case"datetimerange":return oa;case"monthrange":return da;case"yearrange":return ma;default:return ea}}(e.type);return le(ut,q(e,{format:a,type:e.type,ref:o,"onUpdate:modelValue":u}),{default:function(e){return le(n,e,{"prev-month":r["prev-month"],"next-month":r["next-month"],"prev-year":r["prev-year"],"next-year":r["next-year"]})},"range-separator":r["range-separator"]})}}}),ga=(t("E",De(ba)),Symbol("elDescriptions")),ya=b({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup:function(){return{descriptions:_(ga,{})}},render:function(){var e,t=this,a=Se(this.cell),n=((null==(e=this.cell)?void 0:e.dirs)||[]).map((function(e){var t=e.dir,a=e.arg,n=e.modifiers;return[t,e.value,a,n]})),r=this.descriptions,l=r.border,o="vertical"===r.direction,i=function(){var e,n,r;return(null==(r=null==(n=null==(e=t.cell)?void 0:e.children)?void 0:n.label)?void 0:r.call(n))||a.label},u=function(){var e,a,n;return null==(n=null==(a=null==(e=t.cell)?void 0:e.children)?void 0:a.default)?void 0:n.call(a)},c=a.span,s=a.rowspan,d=a.align?"is-".concat(a.align):"",p=a.labelAlign?"is-".concat(a.labelAlign):d,f=a.className,v=a.labelClassName,h={width:Me(a.width),minWidth:Me(a.minWidth)},m=k("descriptions");switch(this.type){case"label":return re(Ce(this.tag,{style:h,class:[m.e("cell"),m.e("label"),m.is("bordered-label",l),m.is("vertical-label",o),p,v],colSpan:o?c:1,rowspan:o?1:s},i()),n);case"content":return re(Ce(this.tag,{style:h,class:[m.e("cell"),m.e("content"),m.is("bordered-content",l),m.is("vertical-content",o),d,f],colSpan:o?c:2*c-1,rowspan:o?2*s-1:s},u()),n);default:var b=i();return re(Ce("td",{style:h,class:[m.e("cell"),d],colSpan:c,rowspan:s},[$e(b)?void 0:Ce("span",{class:[m.e("label"),v]},b),Ce("span",{class:[m.e("content"),f]},u())]),n)}}}),ka=d({row:{type:p(Array),default:function(){return[]}}}),xa=b({name:"ElDescriptionsRow"}),_a=b(o(o({},xa),{},{props:ka,setup:function(e){var t=_(ga,{});return function(e,a){return"vertical"===z(t).direction?(E(),K(te,{key:0},[U("tr",null,[(E(!0),K(te,null,ae(e.row,(function(e,t){return E(),L(z(ya),{key:"tr1-".concat(t),cell:e,tag:"th",type:"label"},null,8,["cell"])})),128))]),U("tr",null,[(E(!0),K(te,null,ae(e.row,(function(e,t){return E(),L(z(ya),{key:"tr2-".concat(t),cell:e,tag:"td",type:"content"},null,8,["cell"])})),128))])],64)):(E(),K("tr",{key:1},[(E(!0),K(te,null,ae(e.row,(function(e,a){return E(),K(te,{key:"tr3-".concat(a)},[z(t).border?(E(),K(te,{key:0},[le(z(ya),{cell:e,tag:"td",type:"label"},null,8,["cell"]),le(z(ya),{cell:e,tag:"td",type:"content"},null,8,["cell"])],64)):(E(),L(z(ya),{key:1,cell:e,tag:"td",type:"both"},null,8,["cell"]))],64)})),128))]))}}})),wa=J(_a,[["__file","descriptions-row.vue"]]),Da=d({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:v,title:{type:String,default:""},extra:{type:String,default:""}}),Sa=b({name:"ElDescriptions"}),Ma=b(o(o({},Sa),{},{props:Da,setup:function(e){var t=e,a=k("descriptions"),n=Y(),r=fe();I(ga,t);var l=S((function(){return[a.b(),a.m(n.value)]})),o=function(e,t,a){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e.props||(e.props={}),t>a&&(e.props.span=a),n&&(e.props.span=t),e},i=function(){if(!r.default)return[];var e=Oe(r.default()).filter((function(e){var t;return"ElDescriptionsItem"===(null==(t=null==e?void 0:e.type)?void 0:t.name)})),a=[],n=[],l=t.column,i=0,u=[];return e.forEach((function(r,c){var s,d,p,f=(null==(s=r.props)?void 0:s.span)||1,v=(null==(d=r.props)?void 0:d.rowspan)||1,h=a.length;if(u[h]||(u[h]=0),v>1)for(var m=1;m0&&(l-=u[h],u[h]=0),cl?l:f),c===e.length-1){var b=t.column-i%t.column;return n.push(o(r,b,l,!0)),void a.push(n)}f.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#ffffff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color, var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:none;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color, var(--el-color-primary))} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-picker.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-picker.js new file mode 100644 index 000000000..f0495650b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date-picker.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{dj as e,W as a,cV as t,dk as l,a8 as n,A as r,$ as s,bn as o,a2 as i,bo as u,a3 as d,q as c,cE as v,ah as p,v as m,aa as f,ab as h,bg as y,a as b,C as g,X as k,Q as w,ae as D,dl as S,dm as x,aj as M,D as C,bH as $,aw as P,x as _,o as Y,h as O,w as V,k as A,n as I,F as N,ak as B,H as R,G as E,f as L,c as T,b as F,z as W,t as H,ay as j,_ as z,ac as K,dn as U,P as Z,K as q,L as G,g as J,S as Q,e as X,ca as ee,av as ae,bi as te,Z as le,dp as ne,m as re,aH as se,aq as oe,as as ie,Y as ue,cq as de,ct as ce,aJ as ve,cs as pe,E as me,a$ as fe,ap as he,r as ye,I as be,dq as ge,am as ke,y as we,aR as De,aP as Se,J as xe}from"./087AC4D233B64EB0index.js";import{E as Me,a as Ce,T as $e,C as Pe}from"./087AC4D233B64EB0index20.js";import{c as _e}from"./087AC4D233B64EB0arrays.js";import{E as Ye}from"./087AC4D233B64EB0scrollbar.js";import{v as Oe}from"./087AC4D233B64EB0input-number.js";import{d as Ve}from"./087AC4D233B64EB0debounce.js";import{i as Ae}from"./087AC4D233B64EB0isEqual.js";var Ie={exports:{}};Ie.exports=function(){var e=1e3,a=6e4,t=36e5,l="millisecond",n="second",r="minute",s="hour",o="day",i="week",u="month",d="quarter",c="year",v="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"}},y=function(e,a,t){var l=String(e);return!l||l.length>=a?e:""+Array(a+1-l.length).join(t)+e},b={s:y,z:function(e){var a=-e.utcOffset(),t=Math.abs(a),l=Math.floor(t/60),n=t%60;return(a<=0?"+":"-")+y(l,2,"0")+":"+y(n,2,"0")},m:function e(a,t){if(a.date()1)return e(s[0])}else{var o=a.name;k[o]=a,n=o}return!l&&n&&(g=n),n||!l&&g},x=function(e,a){if(D(e))return e.clone();var t="object"==typeof a?a:{};return t.date=e,t.args=arguments,new C(t)},M=b;M.l=S,M.i=D,M.w=function(e,a){return x(e,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var C=function(){function h(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var y=h.prototype;return y.parse=function(e){this.$d=function(e){var a=e.date,t=e.utc;if(null===a)return new Date(NaN);if(M.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var l=a.match(m);if(l){var n=l[2]-1||0,r=(l[7]||"0").substring(0,3);return t?new Date(Date.UTC(l[1],n,l[3]||1,l[4]||0,l[5]||0,l[6]||0,r)):new Date(l[1],n,l[3]||1,l[4]||0,l[5]||0,l[6]||0,r)}}return new Date(a)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return M},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,a){var t=x(e);return this.startOf(a)<=t&&t<=this.endOf(a)},y.isAfter=function(e,a){return x(e)68?1900:2e3)},i=function(e){return function(a){this[e]=+a}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var a=e.match(/([+-]|\d\d)/g),t=60*a[1]+(+a[2]||0);return 0===t?0:"+"===a[0]?-t:t}(e)}],d=function(e){var a=s[e];return a&&(a.indexOf?a:a.s.concat(a.f))},c=function(e,a){var t,l=s.meridiem;if(l){for(var n=1;n<=24;n+=1)if(e.indexOf(l(n,0,a))>-1){t=n>12;break}}else t=e===(a?"pm":"PM");return t},v={A:[r,function(e){this.afternoon=c(e,!1)}],a:[r,function(e){this.afternoon=c(e,!0)}],Q:[t,function(e){this.month=3*(e-1)+1}],S:[t,function(e){this.milliseconds=100*+e}],SS:[l,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[n,i("seconds")],ss:[n,i("seconds")],m:[n,i("minutes")],mm:[n,i("minutes")],H:[n,i("hours")],h:[n,i("hours")],HH:[n,i("hours")],hh:[n,i("hours")],D:[n,i("day")],DD:[l,i("day")],Do:[r,function(e){var a=s.ordinal,t=e.match(/\d+/);if(this.day=t[0],a)for(var l=1;l<=31;l+=1)a(l).replace(/\[|\]/g,"")===e&&(this.day=l)}],w:[n,i("week")],ww:[l,i("week")],M:[n,i("month")],MM:[l,i("month")],MMM:[r,function(e){var a=d("months"),t=(d("monthsShort")||a.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],MMMM:[r,function(e){var a=d("months").indexOf(e)+1;if(a<1)throw new Error;this.month=a%12||a}],Y:[/[+-]?\d+/,i("year")],YY:[l,function(e){this.year=o(e)}],YYYY:[/\d{4}/,i("year")],Z:u,ZZ:u};function p(t){var l,n;l=t,n=s&&s.formats;for(var r=(t=l.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(a,t,l){var r=l&&l.toUpperCase();return t||n[l]||e[l]||n[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,a,t){return a||t.slice(1)}))}))).match(a),o=r.length,i=0;i-1)return new Date(("X"===a?1e3:1)*e);var n=p(a)(e),r=n.year,s=n.month,o=n.day,i=n.hours,u=n.minutes,d=n.seconds,c=n.milliseconds,v=n.zone,m=n.week,f=new Date,h=o||(r||s?1:f.getDate()),y=r||f.getFullYear(),b=0;r&&!s||(b=s>0?s-1:f.getMonth());var g,k=i||0,w=u||0,D=d||0,S=c||0;return v?new Date(Date.UTC(y,b,h,k,w,D,S+60*v.offset*1e3)):t?new Date(Date.UTC(y,b,h,k,w,D,S)):(g=new Date(y,b,h,k,w,D,S),m&&(g=l(g).week(m).toDate()),g)}catch(x){return new Date("")}}(a,o,l,t),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),d&&a!=this.format(o)&&(this.$d=new Date("")),s={}}else if(o instanceof Array)for(var v=o.length,m=1;m<=v;m+=1){r[1]=o[m-1];var f=t.apply(this,r);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}m===v&&(this.$d=new Date(""))}else n.call(this,e)}}}();const Re=a(Be.exports),Ee=["hours","minutes","seconds"],Le="HH:mm:ss",Te="YYYY-MM-DD",Fe={date:Te,dates:Te,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:"".concat(Te," ").concat(Le),monthrange:"YYYY-MM",yearrange:"YYYY",daterange:Te,datetimerange:"".concat(Te," ").concat(Le)},We=(e,a)=>[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),je=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),ze=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),Ke=function(e,a){const t=l(e),n=l(a);return t&&n?e.getTime()===a.getTime():!t&&!n&&e===a},Ue=function(e,a){const t=n(e),l=n(a);return t&&l?e.length===a.length&&e.every(((e,t)=>Ke(e,a[t]))):!t&&!l&&Ke(e,a)},Ze=function(e,a,l){const n=t(a)||"x"===a?Ne(e).locale(l):Ne(e,a).locale(l);return n.isValid()?n:void 0},qe=function(e,a,l){return t(a)?e:"x"===a?+e:Ne(e).locale(l).format(a)},Ge=(e,a)=>{var t;const l=[],n=null==a?void 0:a();for(let r=0;r({})},modelValue:{type:s([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:s([Date,Array])},defaultTime:{type:s([Date,Array])},isRange:Boolean,...Je,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:s([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:s(String),values:Me,default:"bottom"},fallbackPlacements:{type:s(Array),default:["bottom","top","right","left"]},...u,...d(["ariaLabel"])}),ea=c({name:"Picker"}),aa=c({...ea,props:Xe,emits:["update:modelValue","change","focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:a,emit:t}){const l=e,r=v(),{lang:s}=p(),o=m("date"),i=m("input"),u=m("range"),{form:d,formItem:c}=f(),z=h("ElPopperOptions",{}),{valueOnClear:U}=y(l,null),Z=b(),q=b(),G=b(!1),J=b(!1),Q=b(null);let X=!1,ee=!1;const ae=g((()=>[o.b("editor"),o.bm("editor",l.type),i.e("wrapper"),o.is("disabled",he.value),o.is("active",G.value),u.b("editor"),Ne?u.bm("editor",Ne.value):"",r.class])),te=g((()=>[i.e("icon"),u.e("close-icon"),Me.value?"":u.e("close-icon--hidden")]));k(G,(e=>{e?w((()=>{e&&(Q.value=l.modelValue)})):(Le.value=null,w((()=>{le(l.modelValue)})))}));const le=(e,a)=>{!a&&Ue(e,Q.value)||(t("change",e),l.validateEvent&&(null==c||c.validate("change").catch((e=>D()))))},ne=e=>{if(!Ue(l.modelValue,e)){let a;n(e)?a=e.map((e=>qe(e,l.valueFormat,s.value))):e&&(a=qe(e,l.valueFormat,s.value)),t("update:modelValue",e?a:e,s.value)}},re=g((()=>{if(q.value){const e=Ie.value?q.value:q.value.$el;return Array.from(e.querySelectorAll("input"))}return[]})),se=(e,a,t)=>{const l=re.value;l.length&&(t&&"min"!==t?"max"===t&&(l[1].setSelectionRange(e,a),l[1].focus()):(l[0].setSelectionRange(e,a),l[0].focus()))},oe=(e="",a=!1)=>{let t;a||(ee=!0),G.value=a,t=n(e)?e.map((e=>e.toDate())):e?e.toDate():e,Le.value=null,ne(t)},ie=()=>{J.value=!0},ue=()=>{t("visible-change",!0)},de=e=>{(null==e?void 0:e.key)===K.esc&&ve(!0,!0)},ce=()=>{J.value=!1,G.value=!1,ee=!1,t("visible-change",!1)},ve=(e=!0,a=!1)=>{ee=a;const[t,l]=C(re);let n=t;!e&&Ie.value&&(n=l),n&&n.focus()},pe=e=>{l.readonly||he.value||G.value||ee||(G.value=!0,t("focus",e))};let me;const fe=e=>{const a=async()=>{setTimeout((()=>{var n;me===a&&((null==(n=Z.value)?void 0:n.isFocusInsideContent())&&!X||0!==re.value.filter((e=>e.contains(document.activeElement))).length||(Te(),G.value=!1,t("blur",e),l.validateEvent&&(null==c||c.validate("blur").catch((e=>D())))),X=!1)}),0)};me=a,a()},he=g((()=>l.disabled||(null==d?void 0:d.disabled))),ye=g((()=>{let e;if(Pe.value?Xe.value.getDefaultValue&&(e=Xe.value.getDefaultValue()):e=n(l.modelValue)?l.modelValue.map((e=>Ze(e,l.valueFormat,s.value))):Ze(l.modelValue,l.valueFormat,s.value),Xe.value.getRangeAvailableTime){const a=Xe.value.getRangeAvailableTime(e);Ae(a,e)||(e=a,Pe.value||ne(n(e)?e.map((e=>e.toDate())):e.toDate()))}return n(e)&&e.some((e=>!e))&&(e=[]),e})),be=g((()=>{if(!Xe.value.panelReady)return"";const e=We(ye.value);return n(Le.value)?[Le.value[0]||e&&e[0]||"",Le.value[1]||e&&e[1]||""]:null!==Le.value?Le.value:!ke.value&&Pe.value||!G.value&&Pe.value?"":e?we.value||De.value||Se.value?e.join(", "):e:""})),ge=g((()=>l.type.includes("time"))),ke=g((()=>l.type.startsWith("time"))),we=g((()=>"dates"===l.type)),De=g((()=>"months"===l.type)),Se=g((()=>"years"===l.type)),xe=g((()=>l.prefixIcon||(ge.value?S:x))),Me=b(!1),$e=e=>{l.readonly||he.value||(Me.value&&(e.stopPropagation(),ve(!0,!0),w((()=>{ee=!1})),Xe.value.handleClear?Xe.value.handleClear():ne(U.value),le(U.value,!0),Me.value=!1,ce()),t("clear"))},Pe=g((()=>{const{modelValue:e}=l;return!e||n(e)&&!e.filter(Boolean).length})),_e=async e=>{var a;l.readonly||he.value||("INPUT"!==(null==(a=e.target)?void 0:a.tagName)||re.value.includes(document.activeElement))&&(G.value=!0)},Ye=()=>{l.readonly||he.value||!Pe.value&&l.clearable&&(Me.value=!0)},Oe=()=>{Me.value=!1},Ve=e=>{var a;l.readonly||he.value||("INPUT"!==(null==(a=e.touches[0].target)?void 0:a.tagName)||re.value.includes(document.activeElement))&&(G.value=!0)},Ie=g((()=>l.type.includes("range"))),Ne=M(),Be=g((()=>{var e,a;return null==(a=null==(e=C(Z))?void 0:e.popperRef)?void 0:a.contentRef})),Re=g((()=>{var e;return C(Ie)?C(q):null==(e=C(q))?void 0:e.$el})),Ee=$(Re,(e=>{const a=C(Be),t=C(Re);a&&(e.target===a||e.composedPath().includes(a))||e.target===t||e.composedPath().includes(t)||(G.value=!1)}));P((()=>{null==Ee||Ee()}));const Le=b(null),Te=()=>{if(Le.value){const e=Fe(be.value);e&&He(e)&&(ne(n(e)?e.map((e=>e.toDate())):e.toDate()),Le.value=null)}""===Le.value&&(ne(U.value),le(U.value),Le.value=null)},Fe=e=>e?Xe.value.parseUserInput(e):null,We=e=>e?Xe.value.formatToString(e):null,He=e=>Xe.value.isValidValue(e),je=async e=>{if(l.readonly||he.value)return;const{code:a}=e;if(t("keydown",e),a!==K.esc)if(a===K.down&&(Xe.value.handleFocusPicker&&(e.preventDefault(),e.stopPropagation()),!1===G.value&&(G.value=!0,await w()),Xe.value.handleFocusPicker))Xe.value.handleFocusPicker();else{if(a!==K.tab)return a===K.enter||a===K.numpadEnter?((null===Le.value||""===Le.value||He(Fe(be.value)))&&(Te(),G.value=!1),void e.stopPropagation()):void(Le.value?e.stopPropagation():Xe.value.handleKeydownInput&&Xe.value.handleKeydownInput(e));X=!0}else!0===G.value&&(G.value=!1,e.preventDefault(),e.stopPropagation())},ze=e=>{Le.value=e,G.value||(G.value=!0)},Ke=e=>{const a=e.target;Le.value?Le.value=[a.value,Le.value[1]]:Le.value=[a.value,null]},Ge=e=>{const a=e.target;Le.value?Le.value=[Le.value[0],a.value]:Le.value=[null,a.value]},Je=()=>{var e;const a=Le.value,t=Fe(a&&a[0]),l=C(ye);if(t&&t.isValid()){Le.value=[We(t),(null==(e=be.value)?void 0:e[1])||null];const a=[t,l&&(l[1]||null)];He(a)&&(ne(a),Le.value=null)}},Qe=()=>{var e;const a=C(Le),t=Fe(a&&a[1]),l=C(ye);if(t&&t.isValid()){Le.value=[(null==(e=C(be))?void 0:e[0])||null,We(t)];const a=[l&&l[0],t];He(a)&&(ne(a),Le.value=null)}},Xe=b({}),ea=e=>{Xe.value[e[0]]=e[1],Xe.value.panelReady=!0},aa=e=>{t("calendar-change",e)},ta=(e,a,l)=>{t("panel-change",e,a,l)};return _("EP_PICKER_BASE",{props:l}),a({focus:ve,handleFocusInput:pe,handleBlurInput:fe,handleOpen:()=>{G.value=!0},handleClose:()=>{G.value=!1},onPick:oe}),(e,a)=>(Y(),O(C(Ce),j({ref_key:"refPopper",ref:Z,visible:G.value,effect:"light",pure:"",trigger:"click"},e.$attrs,{role:"dialog",teleported:"",transition:"".concat(C(o).namespace.value,"-zoom-in-top"),"popper-class":["".concat(C(o).namespace.value,"-picker__popper"),e.popperClass],"popper-options":C(z),"fallback-placements":e.fallbackPlacements,"gpu-acceleration":!1,placement:e.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:ie,onShow:ue,onHide:ce}),{default:V((()=>[C(Ie)?(Y(),T("div",{key:1,ref_key:"inputRef",ref:q,class:I(C(ae)),style:N(e.$attrs.style),onClick:pe,onMouseenter:Ye,onMouseleave:Oe,onTouchstartPassive:Ve,onKeydown:je},[C(xe)?(Y(),O(C(R),{key:0,class:I([C(i).e("icon"),C(u).e("icon")]),onMousedown:B(_e,["prevent"]),onTouchstartPassive:Ve},{default:V((()=>[(Y(),O(E(C(xe))))])),_:1},8,["class","onMousedown"])):L("v-if",!0),F("input",{id:e.id&&e.id[0],autocomplete:"off",name:e.name&&e.name[0],placeholder:e.startPlaceholder,value:C(be)&&C(be)[0],disabled:C(he),readonly:!e.editable||e.readonly,class:I(C(u).b("input")),onMousedown:_e,onInput:Ke,onChange:Je,onFocus:pe,onBlur:fe},null,42,["id","name","placeholder","value","disabled","readonly"]),W(e.$slots,"range-separator",{},(()=>[F("span",{class:I(C(u).b("separator"))},H(e.rangeSeparator),3)])),F("input",{id:e.id&&e.id[1],autocomplete:"off",name:e.name&&e.name[1],placeholder:e.endPlaceholder,value:C(be)&&C(be)[1],disabled:C(he),readonly:!e.editable||e.readonly,class:I(C(u).b("input")),onMousedown:_e,onFocus:pe,onBlur:fe,onInput:Ge,onChange:Qe},null,42,["id","name","placeholder","value","disabled","readonly"]),e.clearIcon?(Y(),O(C(R),{key:1,class:I(C(te)),onClick:$e},{default:V((()=>[(Y(),O(E(e.clearIcon)))])),_:1},8,["class"])):L("v-if",!0)],38)):(Y(),O(C(A),{key:0,id:e.id,ref_key:"inputRef",ref:q,"container-role":"combobox","model-value":C(be),name:e.name,size:C(Ne),disabled:C(he),placeholder:e.placeholder,class:I([C(o).b("editor"),C(o).bm("editor",e.type),e.$attrs.class]),style:N(e.$attrs.style),readonly:!e.editable||e.readonly||C(we)||C(De)||C(Se)||"week"===e.type,"aria-label":e.ariaLabel,tabindex:e.tabindex,"validate-event":!1,onInput:ze,onFocus:pe,onBlur:fe,onKeydown:je,onChange:Te,onMousedown:_e,onMouseenter:Ye,onMouseleave:Oe,onTouchstartPassive:Ve,onClick:B((()=>{}),["stop"])},{prefix:V((()=>[C(xe)?(Y(),O(C(R),{key:0,class:I(C(i).e("icon")),onMousedown:B(_e,["prevent"]),onTouchstartPassive:Ve},{default:V((()=>[(Y(),O(E(C(xe))))])),_:1},8,["class","onMousedown"])):L("v-if",!0)])),suffix:V((()=>[Me.value&&e.clearIcon?(Y(),O(C(R),{key:0,class:I("".concat(C(i).e("icon")," clear-icon")),onClick:B($e,["stop"])},{default:V((()=>[(Y(),O(E(e.clearIcon)))])),_:1},8,["class","onClick"])):L("v-if",!0)])),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onKeydown","onClick"]))])),content:V((()=>[W(e.$slots,"default",{visible:G.value,actualVisible:J.value,parsedValue:C(ye),format:e.format,dateFormat:e.dateFormat,timeFormat:e.timeFormat,unlinkPanels:e.unlinkPanels,type:e.type,defaultValue:e.defaultValue,onPick:oe,onSelectRange:se,onSetPickerOption:ea,onCalendarChange:aa,onPanelChange:ta,onKeydown:de,onMousedown:B((()=>{}),["stop"])})])),_:3},16,["visible","transition","popper-class","popper-options","fallback-placements","placement"]))}});var ta=z(aa,[["__file","picker.vue"]]);const la=r({...Qe,datetimeRole:String,parsedValue:{type:s(Object)}}),na=e=>e.map(((e,a)=>e||a)).filter((e=>!0!==e)),ra=(e,a,t)=>({getHoursList:(a,t)=>Ge(24,e&&(()=>null==e?void 0:e(a,t))),getMinutesList:(e,t,l)=>Ge(60,a&&(()=>null==a?void 0:a(e,t,l))),getSecondsList:(e,a,l,n)=>Ge(60,t&&(()=>null==t?void 0:t(e,a,l,n)))});var sa=z(c({__name:"basic-time-spinner",props:r({role:{type:String,required:!0},spinnerDate:{type:s(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:s(String),default:""},...Je}),emits:["change","select-range","set-option"],setup(e,{emit:a}){const t=e,l=m("time"),{getHoursList:n,getMinutesList:r,getSecondsList:s}=ra(t.disabledHours,t.disabledMinutes,t.disabledSeconds);let o=!1;const i=b(),u={hours:b(),minutes:b(),seconds:b()},d=g((()=>t.showSeconds?Ee:Ee.slice(0,2))),c=g((()=>{const{spinnerDate:e}=t;return{hours:e.hour(),minutes:e.minute(),seconds:e.second()}})),v=g((()=>{const{hours:e,minutes:a}=C(c);return{hours:n(t.role),minutes:r(e,t.role),seconds:s(e,a,t.role)}})),p=g((()=>{const{hours:e,minutes:a,seconds:t}=C(c);return{hours:We(e,23),minutes:We(a,59),seconds:We(t,59)}})),f=Ve((e=>{o=!1,D(e)}),200),h=e=>{if(!!!t.amPmMode)return"";let a=e<12?" am":" pm";return"A"===t.amPmMode&&(a=a.toUpperCase()),a},y=e=>{let t;switch(e){case"hours":t=[0,2];break;case"minutes":t=[3,5];break;case"seconds":t=[6,8]}const[l,n]=t;a("select-range",l,n),i.value=e},D=e=>{M(e,C(c)[e])},S=()=>{D("hours"),D("minutes"),D("seconds")},x=e=>e.querySelector(".".concat(l.namespace.value,"-scrollbar__wrap")),M=(e,a)=>{if(t.arrowControl)return;const l=C(u[e]);l&&l.$el&&(x(l.$el).scrollTop=Math.max(0,a*$(e)))},$=e=>{const a=C(u[e]),t=null==a?void 0:a.$el.querySelector("li");return t&&Number.parseFloat(U(t,"height"))||0},P=()=>{A(1)},_=()=>{A(-1)},A=e=>{i.value||y("hours");const a=i.value,t=C(c)[a],l="hours"===i.value?24:60,n=N(a,t,e,l);B(a,n),M(a,n),w((()=>y(a)))},N=(e,a,t,l)=>{let n=(a+t+l)%l;const r=C(v)[e];for(;r[n]&&n!==a;)n=(n+t+l)%l;return n},B=(e,l)=>{if(C(v)[e][l])return;const{hours:n,minutes:r,seconds:s}=C(c);let o;switch(e){case"hours":o=t.spinnerDate.hour(l).minute(r).second(s);break;case"minutes":o=t.spinnerDate.hour(n).minute(l).second(s);break;case"seconds":o=t.spinnerDate.hour(n).minute(r).second(l)}a("change",o)},E=e=>C(u[e]).$el.offsetHeight,W=()=>{const e=e=>{const a=C(u[e]);a&&a.$el&&(x(a.$el).onscroll=()=>{(e=>{o=!0,f(e);const a=Math.min(Math.round((x(C(u[e]).$el).scrollTop-(.5*E(e)-10)/$(e)+3)/$(e)),"hours"===e?23:59);B(e,a)})(e)})};e("hours"),e("minutes"),e("seconds")};Z((()=>{w((()=>{!t.arrowControl&&W(),S(),"start"===t.role&&y("hours")}))}));return a("set-option",["".concat(t.role,"_scrollDown"),A]),a("set-option",["".concat(t.role,"_emitSelectRange"),y]),k((()=>t.spinnerDate),(()=>{o||S()})),(e,a)=>(Y(),T("div",{class:I([C(l).b("spinner"),{"has-seconds":e.showSeconds}])},[e.arrowControl?L("v-if",!0):(Y(!0),T(q,{key:0},G(C(d),(a=>(Y(),O(C(Ye),{key:a,ref_for:!0,ref:e=>((e,a)=>{u[a].value=e})(e,a),class:I(C(l).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":C(l).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:e=>y(a),onMousemove:e=>D(a)},{default:V((()=>[(Y(!0),T(q,null,G(C(v)[a],((t,n)=>(Y(),T("li",{key:n,class:I([C(l).be("spinner","item"),C(l).is("active",n===C(c)[a]),C(l).is("disabled",t)]),onClick:e=>((e,{value:a,disabled:t})=>{t||(B(e,a),y(e),M(e,a))})(a,{value:n,disabled:t})},["hours"===a?(Y(),T(q,{key:0},[J(H(("0"+(e.amPmMode?n%12||12:n)).slice(-2))+H(h(n)),1)],64)):(Y(),T(q,{key:1},[J(H(("0"+n).slice(-2)),1)],64))],10,["onClick"])))),128))])),_:2},1032,["class","view-class","onMouseenter","onMousemove"])))),128)),e.arrowControl?(Y(!0),T(q,{key:1},G(C(d),(a=>(Y(),T("div",{key:a,class:I([C(l).be("spinner","wrapper"),C(l).is("arrow")]),onMouseenter:e=>y(a)},[Q((Y(),O(C(R),{class:I(["arrow-up",C(l).be("spinner","arrow")])},{default:V((()=>[X(C(ee))])),_:1},8,["class"])),[[C(Oe),_]]),Q((Y(),O(C(R),{class:I(["arrow-down",C(l).be("spinner","arrow")])},{default:V((()=>[X(C(ae))])),_:1},8,["class"])),[[C(Oe),P]]),F("ul",{class:I(C(l).be("spinner","list"))},[(Y(!0),T(q,null,G(C(p)[a],((t,n)=>(Y(),T("li",{key:n,class:I([C(l).be("spinner","item"),C(l).is("active",t===C(c)[a]),C(l).is("disabled",C(v)[a][t])])},["number"==typeof t?(Y(),T(q,{key:0},["hours"===a?(Y(),T(q,{key:0},[J(H(("0"+(e.amPmMode?t%12||12:t)).slice(-2))+H(h(t)),1)],64)):(Y(),T(q,{key:1},[J(H(("0"+t).slice(-2)),1)],64))],64)):L("v-if",!0)],2)))),128))],2)],42,["onMouseenter"])))),128)):L("v-if",!0)],2))}}),[["__file","basic-time-spinner.vue"]]);const oa=c({__name:"panel-time-pick",props:la,emits:["pick","select-range","set-picker-option"],setup(e,{emit:a}){const t=e,l=h("EP_PICKER_BASE"),{arrowControl:n,disabledHours:r,disabledMinutes:s,disabledSeconds:o,defaultValue:i}=l.props,{getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:c}=((e,a,t)=>{const{getHoursList:l,getMinutesList:n,getSecondsList:r}=ra(e,a,t);return{getAvailableHours:(e,a)=>na(l(e,a)),getAvailableMinutes:(e,a,t)=>na(n(e,a,t)),getAvailableSeconds:(e,a,t,l)=>na(r(e,a,t,l))}})(r,s,o),v=m("time"),{t:f,lang:y}=p(),w=b([0,2]),D=(e=>{const a=b(e.parsedValue);return k((()=>e.visible),(t=>{t||(a.value=e.parsedValue)})),a})(t),S=g((()=>te(t.actualVisible)?"".concat(v.namespace.value,"-zoom-in-top"):"")),x=g((()=>t.format.includes("ss"))),M=g((()=>t.format.includes("A")?"A":t.format.includes("a")?"a":"")),$=()=>{a("pick",D.value,!1)},P=e=>{if(!t.visible)return;const l=R(e).millisecond(0);a("pick",l,!0)},_=(e,t)=>{a("select-range",e,t),w.value=[e,t]},{timePickerOptions:A,onSetOption:N,getAvailableTime:B}=(({getAvailableHours:e,getAvailableMinutes:a,getAvailableSeconds:t})=>{const l={};return{timePickerOptions:l,getAvailableTime:(l,n,r,s)=>{const o={hour:e,minute:a,second:t};let i=l;return["hour","minute","second"].forEach((e=>{if(o[e]){let a;const t=o[e];switch(e){case"minute":a=t(i.hour(),n,s);break;case"second":a=t(i.hour(),i.minute(),n,s);break;default:a=t(n,s)}if((null==a?void 0:a.length)&&!a.includes(i[e]())){const t=r?0:a.length-1;i=i[e](a[t])}}})),i},onSetOption:([e,a])=>{l[e]=a}}})({getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:c}),R=e=>B(e,t.datetimeRole||"",!0);return a("set-picker-option",["isValidValue",e=>{const a=Ne(e).locale(y.value),t=R(a);return a.isSame(t)}]),a("set-picker-option",["formatToString",e=>e?e.format(t.format):null]),a("set-picker-option",["parseUserInput",e=>e?Ne(e,t.format).locale(y.value):null]),a("set-picker-option",["handleKeydownInput",e=>{const a=e.code,{left:t,right:l,up:n,down:r}=K;if([t,l].includes(a)){return(e=>{const a=[0,3].concat(x.value?[6]:[]),t=["hours","minutes"].concat(x.value?["seconds"]:[]),l=(a.indexOf(w.value[0])+e+a.length)%a.length;A.start_emitSelectRange(t[l])})(a===t?-1:1),void e.preventDefault()}if([n,r].includes(a)){const t=a===n?-1:1;return A.start_scrollDown(t),void e.preventDefault()}}]),a("set-picker-option",["getRangeAvailableTime",R]),a("set-picker-option",["getDefaultValue",()=>Ne(i).locale(y.value)]),(e,l)=>(Y(),O(le,{name:C(S)},{default:V((()=>[e.actualVisible||e.visible?(Y(),T("div",{key:0,class:I(C(v).b("panel"))},[F("div",{class:I([C(v).be("panel","content"),{"has-seconds":C(x)}])},[X(sa,{ref:"spinner",role:e.datetimeRole||"start","arrow-control":C(n),"show-seconds":C(x),"am-pm-mode":C(M),"spinner-date":e.parsedValue,"disabled-hours":C(r),"disabled-minutes":C(s),"disabled-seconds":C(o),onChange:P,onSetOption:C(N),onSelectRange:_},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),F("div",{class:I(C(v).be("panel","footer"))},[F("button",{type:"button",class:I([C(v).be("panel","btn"),"cancel"]),onClick:$},H(C(f)("el.datepicker.cancel")),3),F("button",{type:"button",class:I([C(v).be("panel","btn"),"confirm"]),onClick:e=>((e=!1,l=!1)=>{l||a("pick",t.parsedValue,e)})()},H(C(f)("el.datepicker.confirm")),11,["onClick"])],2)],2)):L("v-if",!0)])),_:1},8,["name"]))}});var ia=z(oa,[["__file","panel-time-pick.vue"]]),ua={exports:{}};ua.exports=function(e,a,t){var l=a.prototype,n=function(e){return e&&(e.indexOf?e:e.s)},r=function(e,a,t,l,r){var s=e.name?e:e.$locale(),o=n(s[a]),i=n(s[t]),u=o||i.map((function(e){return e.slice(0,l)}));if(!r)return u;var d=s.weekStart;return u.map((function(e,a){return u[(a+(d||0))%7]}))},s=function(){return t.Ls[t.locale()]},o=function(e,a){return e.formats[a]||e.formats[a.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,a,t){return a||t.slice(1)}))},i=function(){var e=this;return{months:function(a){return a?a.format("MMMM"):r(e,"months")},monthsShort:function(a){return a?a.format("MMM"):r(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(a){return a?a.format("dddd"):r(e,"weekdays")},weekdaysMin:function(a){return a?a.format("dd"):r(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(a){return a?a.format("ddd"):r(e,"weekdaysShort","weekdays",3)},longDateFormat:function(a){return o(e.$locale(),a)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};l.localeData=function(){return i.bind(this)()},t.localeData=function(){var e=s();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(a){return o(e,a)},meridiem:e.meridiem,ordinal:e.ordinal}},t.months=function(){return r(s(),"months")},t.monthsShort=function(){return r(s(),"monthsShort","months",3)},t.weekdays=function(e){return r(s(),"weekdays",null,null,e)},t.weekdaysShort=function(e){return r(s(),"weekdaysShort","weekdays",3,e)},t.weekdaysMin=function(e){return r(s(),"weekdaysMin","weekdays",2,e)}};const da=a(ua.exports);var ca={exports:{}};ca.exports=function(e,a){var t=a.prototype,l=t.format;t.format=function(e){var a=this,t=this.$locale();if(!this.isValid())return l.bind(this)(e);var n=this.$utils(),r=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return t.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return t.ordinal(a.week(),"W");case"w":case"ww":return n.s(a.week(),"w"===e?1:2,"0");case"W":case"WW":return n.s(a.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return n.s(String(0===a.$H?24:a.$H),"k"===e?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return e}}));return l.bind(this)(r)}};const va=a(ca.exports);var pa,ma,fa={exports:{}};const ha=a(fa.exports=(pa="week",ma="year",function(e,a,t){var l=a.prototype;l.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var a=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var l=t(this).startOf(ma).add(1,ma).date(a),n=t(this).endOf(pa);if(l.isBefore(n))return 1}var r=t(this).startOf(ma).date(a).startOf(pa).subtract(1,"millisecond"),s=this.diff(r,pa,!0);return s<0?t(this).startOf("week").week():Math.ceil(s)},l.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}));var ya={exports:{}};ya.exports=function(e,a){a.prototype.weekYear=function(){var e=this.month(),a=this.week(),t=this.year();return 1===a&&11===e?t+1:0===e&&a>=52?t-1:t}};const ba=a(ya.exports);var ga={exports:{}};ga.exports=function(e,a,t){a.prototype.dayOfYear=function(e){var a=Math.round((t(this).startOf("day")-t(this).startOf("year"))/864e5)+1;return null==e?a:this.add(e-a,"day")}};const ka=a(ga.exports);var wa={exports:{}};wa.exports=function(e,a){a.prototype.isSameOrAfter=function(e,a){return this.isSame(e,a)||this.isAfter(e,a)}};const Da=a(wa.exports);var Sa={exports:{}};const xa=a(Sa.exports=function(e,a){a.prototype.isSameOrBefore=function(e,a){return this.isSame(e,a)||this.isBefore(e,a)}}),Ma=Symbol(),Ca=r({...Xe,type:{type:s(String),default:"date"}}),$a=["date","dates","year","years","month","months","week","range"],Pa=r({disabledDate:{type:s(Function)},date:{type:s(Object),required:!0},minDate:{type:s(Object)},maxDate:{type:s(Object)},parsedValue:{type:s([Object,Array])},rangeState:{type:s(Object),default:()=>({endDate:null,selecting:!1})}}),_a=r({type:{type:s(String),required:!0,values:["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"]},dateFormat:String,timeFormat:String}),Ya=r({unlinkPanels:Boolean,parsedValue:{type:s(Array)}}),Oa=e=>({type:String,values:$a,default:e}),Va=r({..._a,parsedValue:{type:s([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),Aa=e=>{if(!n(e))return!1;const[a,t]=e;return Ne.isDayjs(a)&&Ne.isDayjs(t)&&a.isSameOrBefore(t)},Ia=(e,{lang:a,unit:t,unlinkPanels:l})=>{let r;if(n(e)){let[n,r]=e.map((e=>Ne(e).locale(a)));return l||(r=n.add(1,t)),[n,r]}return r=e?Ne(e):Ne(),r=r.locale(a),[r,r.add(1,t)]},Na=(e,a,t)=>{const l=Ne().locale(t).startOf("month").month(a).year(e),n=l.daysInMonth();return He(n).map((e=>l.add(e,"day").toDate()))},Ba=(e,a,t,l)=>{const n=Ne().year(e).month(a).startOf("month"),r=Na(e,a,t).find((e=>!(null==l?void 0:l(e))));return r?Ne(r).locale(t):n.locale(t)},Ra=(e,a,t)=>{const l=e.year();if(!(null==t?void 0:t(e.toDate())))return e.locale(a);const n=e.month();if(!Na(l,n,a).every(t))return Ba(l,n,a,t);for(let r=0;r<12;r++)if(!Na(l,r,a).every(t))return Ba(l,r,a,t);return e},Ea=r({...Pa,cellClassName:{type:s(Function)},showWeekNumber:Boolean,selectionMode:Oa("date")}),La=(e="")=>["normal","today"].includes(e),Ta=(e,a)=>{const{lang:t}=p(),l=b(),n=b(),r=b(),s=b(),o=b([[],[],[],[],[],[]]);let i=!1;const u=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map((e=>e.toLowerCase())),c=g((()=>u>3?7-u:-u)),v=g((()=>{const a=e.date.startOf("month");return a.subtract(a.day()||7,"day")})),m=g((()=>d.concat(d).slice(u,u+7))),f=g((()=>ne(C(x)).some((e=>e.isCurrent)))),h=g((()=>{const a=e.date.startOf("month");return{startOfMonthDay:a.day()||7,dateCountOfMonth:a.daysInMonth(),dateCountOfLastMonth:a.subtract(1,"month").daysInMonth()}})),y=g((()=>"dates"===e.selectionMode?_e(e.parsedValue):[])),D=(a,{columnIndex:t,rowIndex:l},n)=>{const{disabledDate:r,cellClassName:s}=e,o=C(y),i=((e,{count:a,rowIndex:t,columnIndex:l})=>{const{startOfMonthDay:n,dateCountOfMonth:r,dateCountOfLastMonth:s}=C(h),o=C(c);if(!(t>=0&&t<=1))return a<=r?e.text=a:(e.text=a-r,e.type="next-month"),!0;{const r=n+o<0?7+n+o:n+o;if(l+7*t>=r)return e.text=a,!0;e.text=s-(r-l%7)+1+7*t,e.type="prev-month"}return!1})(a,{count:n,rowIndex:l,columnIndex:t}),u=a.dayjs.toDate();return a.selected=o.find((e=>e.isSame(a.dayjs,"day"))),a.isSelected=!!a.selected,a.isCurrent=$(a),a.disabled=null==r?void 0:r(u),a.customClass=null==s?void 0:s(u),i},S=a=>{if("week"===e.selectionMode){const[t,l]=e.showWeekNumber?[1,7]:[0,6],n=O(a[t+1]);a[t].inRange=n,a[t].start=n,a[l].inRange=n,a[l].end=n}},x=g((()=>{const{minDate:a,maxDate:l,rangeState:n,showWeekNumber:r}=e,s=C(c),i=C(o),u="day";let d=1;if(r)for(let e=0;e<6;e++)i[e][0]||(i[e][0]={type:"week",text:C(v).add(7*e+1,u).week()});return((e,a,{columnIndexOffset:t,startDate:l,nextEndDate:n,now:r,unit:s,relativeDateGetter:o,setCellMetadata:i,setRowMetadata:u})=>{for(let d=0;dC(v).add(e-s,u),setCellMetadata:(...e)=>{D(...e,d)&&(d+=1)},setRowMetadata:S}),i}));k((()=>e.date),(async()=>{var e;(null==(e=C(l))?void 0:e.contains(document.activeElement))&&(await w(),await M())}));const M=async()=>{var e;return null==(e=C(n))?void 0:e.focus()},$=a=>"date"===e.selectionMode&&La(a.type)&&P(a,e.parsedValue),P=(a,l)=>!!l&&Ne(l).locale(C(t)).isSame(e.date.date(Number(a.text)),"day"),_=(a,t)=>{const l=7*a+(t-(e.showWeekNumber?1:0))-C(c);return C(v).add(l,"day")},Y=(t,l=!1)=>{const n=t.target.closest("td");if(!n)return;const r=n.parentNode.rowIndex-1,s=n.cellIndex,o=C(x)[r][s];if(o.disabled||"week"===o.type)return;const i=_(r,s);switch(e.selectionMode){case"range":(t=>{e.rangeState.selecting&&e.minDate?(t>=e.minDate?a("pick",{minDate:e.minDate,maxDate:t}):a("pick",{minDate:t,maxDate:e.minDate}),a("select",!1)):(a("pick",{minDate:t,maxDate:null}),a("select",!0))})(i);break;case"date":a("pick",i,l);break;case"week":(e=>{const t=e.week(),l="".concat(e.year(),"w").concat(t);a("pick",{year:e.year(),week:t,value:l,date:e.startOf("week")})})(i);break;case"dates":((t,l)=>{const n=l?_e(e.parsedValue).filter((e=>(null==e?void 0:e.valueOf())!==t.valueOf())):_e(e.parsedValue).concat([t]);a("pick",n)})(i,!!o.selected)}},O=a=>{if("week"!==e.selectionMode)return!1;let t=e.date.startOf("day");if("prev-month"===a.type&&(t=t.subtract(1,"month")),"next-month"===a.type&&(t=t.add(1,"month")),t=t.date(Number.parseInt(a.text,10)),e.parsedValue&&!Array.isArray(e.parsedValue)){const a=(e.parsedValue.day()-u+7)%7-1;return e.parsedValue.subtract(a,"day").isSame(t,"day")}return!1};return{WEEKS:m,rows:x,tbodyRef:l,currentCellRef:n,focus:M,isCurrent:$,isWeekActive:O,isSelectedCell:e=>!C(f)&&1===(null==e?void 0:e.text)&&"normal"===e.type||e.isCurrent,handlePickDate:Y,handleMouseUp:e=>{e.target.closest("td")&&(i=!1)},handleMouseDown:e=>{e.target.closest("td")&&(i=!0)},handleMouseMove:t=>{var l;if(!e.rangeState.selecting)return;let n=t.target;if("SPAN"===n.tagName&&(n=null==(l=n.parentNode)?void 0:l.parentNode),"DIV"===n.tagName&&(n=n.parentNode),"TD"!==n.tagName)return;const o=n.parentNode.rowIndex-1,i=n.cellIndex;C(x)[o][i].disabled||o===C(r)&&i===C(s)||(r.value=o,s.value=i,a("changerange",{selecting:!0,endDate:_(o,i)}))},handleFocus:a=>{i||C(f)||"date"!==e.selectionMode||Y(a,!0)}}};var Fa=c({name:"ElDatePickerCell",props:r({cell:{type:s(Object)}}),setup(e){const a=m("date-table-cell"),{slots:t}=h(Ma);return()=>{const{cell:l}=e;return W(t,"default",{...l},(()=>{var e;return[X("div",{class:a.b()},[X("span",{class:a.e("text")},[null!=(e=null==l?void 0:l.renderText)?e:null==l?void 0:l.text])])]}))}}});const Wa=c({__name:"basic-date-table",props:Ea,emits:["changerange","pick","select"],setup(e,{expose:a,emit:t}){const l=e,{WEEKS:n,rows:r,tbodyRef:s,currentCellRef:o,focus:i,isCurrent:u,isWeekActive:d,isSelectedCell:c,handlePickDate:v,handleMouseUp:f,handleMouseDown:h,handleMouseMove:y,handleFocus:b}=Ta(l,t),{tableLabel:k,tableKls:w,weekLabel:D,getCellClasses:S,getRowKls:x,t:M}=((e,{isCurrent:a,isWeekActive:t})=>{const l=m("date-table"),{t:n}=p();return{tableKls:g((()=>[l.b(),{"is-week-mode":"week"===e.selectionMode}])),tableLabel:g((()=>n("el.datepicker.dateTablePrompt"))),weekLabel:g((()=>n("el.datepicker.week"))),getCellClasses:t=>{const l=[];return La(t.type)&&!t.disabled?(l.push("available"),"today"===t.type&&l.push("today")):l.push(t.type),a(t)&&l.push("current"),t.inRange&&(La(t.type)||"week"===e.selectionMode)&&(l.push("in-range"),t.start&&l.push("start-date"),t.end&&l.push("end-date")),t.disabled&&l.push("disabled"),t.selected&&l.push("selected"),t.customClass&&l.push(t.customClass),l.join(" ")},getRowKls:e=>[l.e("row"),{current:t(e)}],t:n}})(l,{isCurrent:u,isWeekActive:d});return a({focus:i}),(e,a)=>(Y(),T("table",{"aria-label":C(k),class:I(C(w)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:C(v),onMousemove:C(y),onMousedown:B(C(h),["prevent"]),onMouseup:C(f)},[F("tbody",{ref_key:"tbodyRef",ref:s},[F("tr",null,[e.showWeekNumber?(Y(),T("th",{key:0,scope:"col"},H(C(D)),1)):L("v-if",!0),(Y(!0),T(q,null,G(C(n),((e,a)=>(Y(),T("th",{key:a,"aria-label":C(M)("el.datepicker.weeksFull."+e),scope:"col"},H(C(M)("el.datepicker.weeks."+e)),9,["aria-label"])))),128))]),(Y(!0),T(q,null,G(C(r),((e,a)=>(Y(),T("tr",{key:a,class:I(C(x)(e[1]))},[(Y(!0),T(q,null,G(e,((e,t)=>(Y(),T("td",{key:"".concat(a,".").concat(t),ref_for:!0,ref:a=>C(c)(e)&&(o.value=a),class:I(C(S)(e)),"aria-current":e.isCurrent?"date":void 0,"aria-selected":e.isCurrent,tabindex:C(c)(e)?0:-1,onFocus:C(b)},[X(C(Fa),{cell:e},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"])))),128))],2)))),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"]))}});var Ha=z(Wa,[["__file","basic-date-table.vue"]]);const ja=c({__name:"basic-month-table",props:r({...Pa,selectionMode:Oa("month")}),emits:["changerange","pick","select"],setup(e,{expose:a,emit:t}){const l=e,n=m("month-table"),{t:r,lang:s}=p(),o=b(),i=b(),u=b(l.date.locale("en").localeData().monthsShort().map((e=>e.toLowerCase()))),d=b([[],[],[]]),c=b(),v=b(),f=g((()=>{var e,a;const t=d.value,n=Ne().locale(s.value).startOf("month");for(let r=0;r<3;r++){const s=t[r];for(let t=0;t<4;t++){const o=s[t]||(s[t]={row:r,column:t,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});o.type="normal";const i=4*r+t,u=l.date.startOf("year").month(i),d=l.rangeState.endDate||l.maxDate||l.rangeState.selecting&&l.minDate||null;o.inRange=!!(l.minDate&&u.isSameOrAfter(l.minDate,"month")&&d&&u.isSameOrBefore(d,"month"))||!!(l.minDate&&u.isSameOrBefore(l.minDate,"month")&&d&&u.isSameOrAfter(d,"month")),(null==(e=l.minDate)?void 0:e.isSameOrAfter(d))?(o.start=!(!d||!u.isSame(d,"month")),o.end=l.minDate&&u.isSame(l.minDate,"month")):(o.start=!(!l.minDate||!u.isSame(l.minDate,"month")),o.end=!(!d||!u.isSame(d,"month")));n.isSame(u)&&(o.type="today"),o.text=i,o.disabled=(null==(a=l.disabledDate)?void 0:a.call(l,u.toDate()))||!1}}return t})),h=e=>{const a={},t=l.date.year(),n=new Date,r=e.text;return a.disabled=!!l.disabledDate&&Na(t,r,s.value).every(l.disabledDate),a.current=_e(l.parsedValue).findIndex((e=>Ne.isDayjs(e)&&e.year()===t&&e.month()===r))>=0,a.today=n.getFullYear()===t&&n.getMonth()===r,e.inRange&&(a["in-range"]=!0,e.start&&(a["start-date"]=!0),e.end&&(a["end-date"]=!0)),a},y=e=>{const a=l.date.year(),t=e.text;return _e(l.date).findIndex((e=>e.year()===a&&e.month()===t))>=0},D=e=>{var a;if(!l.rangeState.selecting)return;let n=e.target;if("SPAN"===n.tagName&&(n=null==(a=n.parentNode)?void 0:a.parentNode),"DIV"===n.tagName&&(n=n.parentNode),"TD"!==n.tagName)return;const r=n.parentNode.rowIndex,s=n.cellIndex;f.value[r][s].disabled||r===c.value&&s===v.value||(c.value=r,v.value=s,t("changerange",{selecting:!0,endDate:l.date.startOf("year").month(4*r+s)}))},S=e=>{var a;const n=null==(a=e.target)?void 0:a.closest("td");if("TD"!==(null==n?void 0:n.tagName))return;if(se(n,"disabled"))return;const r=n.cellIndex,o=4*n.parentNode.rowIndex+r,i=l.date.startOf("year").month(o);if("months"===l.selectionMode){if("keydown"===e.type)return void t("pick",_e(l.parsedValue),!1);const a=Ba(l.date.year(),o,s.value,l.disabledDate),r=se(n,"current")?_e(l.parsedValue).filter((e=>(null==e?void 0:e.month())!==a.month())):_e(l.parsedValue).concat([Ne(a)]);t("pick",r)}else"range"===l.selectionMode?l.rangeState.selecting?(l.minDate&&i>=l.minDate?t("pick",{minDate:l.minDate,maxDate:i}):t("pick",{minDate:i,maxDate:l.minDate}),t("select",!1)):(t("pick",{minDate:i,maxDate:null}),t("select",!0)):t("pick",o)};return k((()=>l.date),(async()=>{var e,a;(null==(e=o.value)?void 0:e.contains(document.activeElement))&&(await w(),null==(a=i.value)||a.focus())})),a({focus:()=>{var e;null==(e=i.value)||e.focus()}}),(e,a)=>(Y(),T("table",{role:"grid","aria-label":C(r)("el.datepicker.monthTablePrompt"),class:I(C(n).b()),onClick:S,onMousemove:D},[F("tbody",{ref_key:"tbodyRef",ref:o},[(Y(!0),T(q,null,G(C(f),((e,a)=>(Y(),T("tr",{key:a},[(Y(!0),T(q,null,G(e,((e,a)=>(Y(),T("td",{key:a,ref_for:!0,ref:a=>y(e)&&(i.value=a),class:I(h(e)),"aria-selected":"".concat(y(e)),"aria-label":C(r)("el.datepicker.month".concat(+e.text+1)),tabindex:y(e)?0:-1,onKeydown:[re(B(S,["prevent","stop"]),["space"]),re(B(S,["prevent","stop"]),["enter"])]},[X(C(Fa),{cell:{...e,renderText:C(r)("el.datepicker.months."+u.value[e.text])}},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"])))),128))])))),128))],512)],42,["aria-label"]))}});var za=z(ja,[["__file","basic-month-table.vue"]]);const Ka=c({__name:"basic-year-table",props:r({...Pa,selectionMode:Oa("year")}),emits:["changerange","pick","select"],setup(e,{expose:a,emit:t}){const l=e,n=m("year-table"),{t:r,lang:s}=p(),o=b(),i=b(),u=g((()=>10*Math.floor(l.date.year()/10))),d=b([[],[],[]]),c=b(),v=b(),f=g((()=>{var e;const a=d.value,t=Ne().locale(s.value).startOf("year");for(let n=0;n<3;n++){const r=a[n];for(let a=0;a<4&&!(4*n+a>=10);a++){let s=r[a];s||(s={row:n,column:a,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1}),s.type="normal";const o=4*n+a+u.value,i=Ne().year(o),d=l.rangeState.endDate||l.maxDate||l.rangeState.selecting&&l.minDate||null;s.inRange=!!(l.minDate&&i.isSameOrAfter(l.minDate,"year")&&d&&i.isSameOrBefore(d,"year"))||!!(l.minDate&&i.isSameOrBefore(l.minDate,"year")&&d&&i.isSameOrAfter(d,"year")),(null==(e=l.minDate)?void 0:e.isSameOrAfter(d))?(s.start=!(!d||!i.isSame(d,"year")),s.end=!(!l.minDate||!i.isSame(l.minDate,"year"))):(s.start=!(!l.minDate||!i.isSame(l.minDate,"year")),s.end=!(!d||!i.isSame(d,"year")));t.isSame(i)&&(s.type="today"),s.text=o;const c=i.toDate();s.disabled=l.disabledDate&&l.disabledDate(c)||!1,r[a]=s}}return a})),h=e=>{const a={},t=Ne().locale(s.value),n=e.text;return a.disabled=!!l.disabledDate&&((e,a)=>{const t=Ne(String(e)).locale(a).startOf("year"),l=t.endOf("year").dayOfYear();return He(l).map((e=>t.add(e,"day").toDate()))})(n,s.value).every(l.disabledDate),a.today=t.year()===n,a.current=_e(l.parsedValue).findIndex((e=>e.year()===n))>=0,e.inRange&&(a["in-range"]=!0,e.start&&(a["start-date"]=!0),e.end&&(a["end-date"]=!0)),a},y=e=>{const a=e.text;return _e(l.date).findIndex((e=>e.year()===a))>=0},D=e=>{var a;const n=null==(a=e.target)?void 0:a.closest("td");if(!n||!n.textContent||se(n,"disabled"))return;const r=n.cellIndex,o=4*n.parentNode.rowIndex+r+u.value,i=Ne().year(o);if("range"===l.selectionMode)l.rangeState.selecting?(l.minDate&&i>=l.minDate?t("pick",{minDate:l.minDate,maxDate:i}):t("pick",{minDate:i,maxDate:l.minDate}),t("select",!1)):(t("pick",{minDate:i,maxDate:null}),t("select",!0));else if("years"===l.selectionMode){if("keydown"===e.type)return void t("pick",_e(l.parsedValue),!1);const a=Ra(i.startOf("year"),s.value,l.disabledDate),r=se(n,"current")?_e(l.parsedValue).filter((e=>(null==e?void 0:e.year())!==o)):_e(l.parsedValue).concat([a]);t("pick",r)}else t("pick",o)},S=e=>{var a;if(!l.rangeState.selecting)return;const n=null==(a=e.target)?void 0:a.closest("td");if(!n)return;const r=n.parentNode.rowIndex,s=n.cellIndex;f.value[r][s].disabled||r===c.value&&s===v.value||(c.value=r,v.value=s,t("changerange",{selecting:!0,endDate:Ne().year(u.value).add(4*r+s,"year")}))};return k((()=>l.date),(async()=>{var e,a;(null==(e=o.value)?void 0:e.contains(document.activeElement))&&(await w(),null==(a=i.value)||a.focus())})),a({focus:()=>{var e;null==(e=i.value)||e.focus()}}),(e,a)=>(Y(),T("table",{role:"grid","aria-label":C(r)("el.datepicker.yearTablePrompt"),class:I(C(n).b()),onClick:D,onMousemove:S},[F("tbody",{ref_key:"tbodyRef",ref:o},[(Y(!0),T(q,null,G(C(f),((e,a)=>(Y(),T("tr",{key:a},[(Y(!0),T(q,null,G(e,((e,t)=>(Y(),T("td",{key:"".concat(a,"_").concat(t),ref_for:!0,ref:a=>y(e)&&(i.value=a),class:I(["available",h(e)]),"aria-selected":y(e),"aria-label":String(e.text),tabindex:y(e)?0:-1,onKeydown:[re(B(D,["prevent","stop"]),["space"]),re(B(D,["prevent","stop"]),["enter"])]},[X(C(Fa),{cell:e},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"])))),128))])))),128))],512)],42,["aria-label"]))}});var Ua=z(Ka,[["__file","basic-year-table.vue"]]);const Za=c({__name:"panel-date-pick",props:Va,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:a}){const t=e,l=m("picker-panel"),r=m("date-picker"),s=v(),o=oe(),{t:i,lang:u}=p(),d=h("EP_PICKER_BASE"),c=h($e),{shortcuts:f,disabledDate:y,cellClassName:D,defaultTime:S}=d.props,x=ie(d.props,"defaultValue"),M=b(),$=b(Ne().locale(u.value)),P=b(!1);let _=!1;const N=g((()=>Ne(S).locale(u.value))),B=g((()=>$.value.month())),E=g((()=>$.value.year())),j=b([]),z=b(null),U=b(null),Z=e=>!(j.value.length>0)||(j.value,t.format,!0),ee=e=>!S||Ie.value||P.value||_?xe.value?e.millisecond(0):e.startOf("day"):N.value.year(e.year()).month(e.month()).date(e.date()),ae=(e,...t)=>{if(e)if(n(e)){const l=e.map(ee);a("pick",l,...t)}else a("pick",ee(e),...t);else a("pick",e,...t);z.value=null,U.value=null,P.value=!1,_=!1},te=async(e,a)=>{if("date"===ye.value){let l=t.parsedValue?t.parsedValue.year(e.year()).month(e.month()).date(e.date()):e;Z()||(l=j.value[0][0].year(e.year()).month(e.month()).date(e.date())),$.value=l,ae(l,xe.value||a),"datetime"===t.type&&(await w(),Ue())}else"week"===ye.value?ae(e.date):"dates"===ye.value&&ae(e,!0)},le=e=>{const a=e?"add":"subtract";$.value=$.value[a](1,"month"),Ge("month")},ne=e=>{const a=$.value,t=e?"add":"subtract";$.value="year"===se.value?a[t](10,"year"):a[t](1,"year"),Ge("year")},se=b("date"),he=g((()=>{const e=i("el.datepicker.year");if("year"===se.value){const a=10*Math.floor(E.value/10);return e?"".concat(a," ").concat(e," - ").concat(a+9," ").concat(e):"".concat(a," - ").concat(a+9)}return"".concat(E.value," ").concat(e)})),ye=g((()=>{const{type:e}=t;return["week","month","months","year","years","dates"].includes(e)?e:"date"})),be=g((()=>"dates"===ye.value||"months"===ye.value||"years"===ye.value)),ge=g((()=>"date"===ye.value?se.value:ye.value)),ke=g((()=>!!f.length)),we=async(e,a)=>{"month"===ye.value?($.value=Ba($.value.year(),e,u.value,y),ae($.value,!1)):"months"===ye.value?ae(e,null==a||a):($.value=Ba($.value.year(),e,u.value,y),se.value="date",["month","year","date","week"].includes(ye.value)&&(ae($.value,!0),await w(),Ue())),Ge("month")},De=async(e,a)=>{if("year"===ye.value){const a=$.value.startOf("year").year(e);$.value=Ra(a,u.value,y),ae($.value,!1)}else if("years"===ye.value)ae(e,null==a||a);else{const a=$.value.year(e);$.value=Ra(a,u.value,y),se.value="month",["month","year","date","week"].includes(ye.value)&&(ae($.value,!0),await w(),Ue())}Ge("year")},Se=async e=>{se.value=e,await w(),Ue()},xe=g((()=>"datetime"===t.type||"datetimerange"===t.type)),Me=g((()=>{const e=xe.value||"dates"===ye.value,a="years"===ye.value,t="months"===ye.value,l="date"===se.value,n="year"===se.value,r="month"===se.value;return e&&l||a&&n||t&&r})),Ce=g((()=>!!y&&(!t.parsedValue||(n(t.parsedValue)?y(t.parsedValue[0].toDate()):y(t.parsedValue.toDate()))))),_e=()=>{if(be.value)ae(t.parsedValue);else{let e=t.parsedValue;if(!e){const a=Ne(S).locale(u.value),t=Ke();e=a.year(t.year()).month(t.month()).date(t.date())}$.value=e,ae(e)}},Ye=g((()=>!!y&&y(Ne().locale(u.value).toDate()))),Oe=()=>{const e=Ne().locale(u.value).toDate();P.value=!0,y&&y(e)||!Z()||($.value=Ne().locale(u.value),ae($.value))},Ve=g((()=>t.timeFormat||ze(t.format))),Ae=g((()=>t.dateFormat||je(t.format))),Ie=g((()=>U.value?U.value:t.parsedValue||x.value?(t.parsedValue||$.value).format(Ve.value):void 0)),Be=g((()=>z.value?z.value:t.parsedValue||x.value?(t.parsedValue||$.value).format(Ae.value):void 0)),Re=b(!1),Ee=()=>{Re.value=!0},Le=()=>{Re.value=!1},Te=e=>({hour:e.hour(),minute:e.minute(),second:e.second(),year:e.year(),month:e.month(),date:e.date()}),Fe=(e,a,l)=>{const{hour:n,minute:r,second:s}=Te(e),o=t.parsedValue?t.parsedValue.hour(n).minute(r).second(s):e;$.value=o,ae($.value,!0),l||(Re.value=a)},We=e=>{const a=Ne(e,Ve.value).locale(u.value);if(a.isValid()&&Z()){const{year:e,month:t,date:l}=Te($.value);$.value=a.year(e).month(t).date(l),U.value=null,Re.value=!1,ae($.value,!0)}},He=e=>{const a=Ne(e,Ae.value).locale(u.value);if(a.isValid()){if(y&&y(a.toDate()))return;const{hour:e,minute:t,second:l}=Te($.value);$.value=a.hour(e).minute(t).second(l),z.value=null,ae($.value,!0)}},Ke=()=>{const e=Ne(x.value).locale(u.value);if(!x.value){const e=N.value;return Ne().hour(e.hour()).minute(e.minute()).second(e.second()).locale(u.value)}return e},Ue=async()=>{var e;["week","month","year","date"].includes(ye.value)&&(null==(e=M.value)||e.focus(),"week"===ye.value&&qe(K.down))},Ze=e=>{const{code:a}=e;[K.up,K.down,K.left,K.right,K.home,K.end,K.pageUp,K.pageDown].includes(a)&&(qe(a),e.stopPropagation(),e.preventDefault()),[K.enter,K.space,K.numpadEnter].includes(a)&&null===z.value&&null===U.value&&(e.preventDefault(),ae($.value,!1))},qe=e=>{var t;const{up:l,down:n,left:r,right:s,home:o,end:i,pageUp:d,pageDown:c}=K,v={year:{[l]:-4,[n]:4,[r]:-1,[s]:1,offset:(e,a)=>e.setFullYear(e.getFullYear()+a)},month:{[l]:-4,[n]:4,[r]:-1,[s]:1,offset:(e,a)=>e.setMonth(e.getMonth()+a)},week:{[l]:-1,[n]:1,[r]:-1,[s]:1,offset:(e,a)=>e.setDate(e.getDate()+7*a)},date:{[l]:-7,[n]:7,[r]:-1,[s]:1,[o]:e=>-e.getDay(),[i]:e=>6-e.getDay(),[d]:e=>-new Date(e.getFullYear(),e.getMonth(),0).getDate(),[c]:e=>new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),offset:(e,a)=>e.setDate(e.getDate()+a)}},p=$.value.toDate();for(;Math.abs($.value.diff(p,"year",!0))<1;){const l=v[ge.value];if(!l)return;if(l.offset(p,fe(l[e])?l[e](p):null!=(t=l[e])?t:0),y&&y(p))break;const n=Ne(p).locale(u.value);$.value=n,a("pick",n,!0);break}},Ge=e=>{a("panel-change",$.value.toDate(),e,se.value)};return k((()=>ye.value),(e=>{["month","year"].includes(e)?se.value=e:se.value="years"!==e?"months"!==e?"date":"month":"year"}),{immediate:!0}),k((()=>se.value),(()=>{null==c||c.updatePopper()})),k((()=>x.value),(e=>{e&&($.value=Ke())}),{immediate:!0}),k((()=>t.parsedValue),(e=>{if(e){if(be.value)return;if(Array.isArray(e))return;$.value=e}else $.value=Ke()}),{immediate:!0}),a("set-picker-option",["isValidValue",e=>Ne.isDayjs(e)&&e.isValid()&&(!y||!y(e.toDate()))]),a("set-picker-option",["formatToString",e=>n(e)?e.map((e=>e.format(t.format))):e.format(t.format)]),a("set-picker-option",["parseUserInput",e=>Ne(e,t.format).locale(u.value)]),a("set-picker-option",["handleFocusPicker",Ue]),(e,t)=>(Y(),T("div",{class:I([C(l).b(),C(r).b(),{"has-sidebar":e.$slots.sidebar||C(ke),"has-time":C(xe)}])},[F("div",{class:I(C(l).e("body-wrapper"))},[W(e.$slots,"sidebar",{class:I(C(l).e("sidebar"))}),C(ke)?(Y(),T("div",{key:0,class:I(C(l).e("sidebar"))},[(Y(!0),T(q,null,G(C(f),((e,t)=>(Y(),T("button",{key:t,type:"button",class:I(C(l).e("shortcut")),onClick:t=>(e=>{const t=fe(e.value)?e.value():e.value;if(t)return _=!0,void ae(Ne(t).locale(u.value));e.onClick&&e.onClick({attrs:s,slots:o,emit:a})})(e)},H(e.text),11,["onClick"])))),128))],2)):L("v-if",!0),F("div",{class:I(C(l).e("body"))},[C(xe)?(Y(),T("div",{key:0,class:I(C(r).e("time-header"))},[F("span",{class:I(C(r).e("editor-wrap"))},[X(C(A),{placeholder:C(i)("el.datepicker.selectDate"),"model-value":C(Be),size:"small","validate-event":!1,onInput:e=>z.value=e,onChange:He},null,8,["placeholder","model-value","onInput"])],2),Q((Y(),T("span",{class:I(C(r).e("editor-wrap"))},[X(C(A),{placeholder:C(i)("el.datepicker.selectTime"),"model-value":C(Ie),size:"small","validate-event":!1,onFocus:Ee,onInput:e=>U.value=e,onChange:We},null,8,["placeholder","model-value","onInput"]),X(C(ia),{visible:Re.value,format:C(Ve),"parsed-value":$.value,onPick:Fe},null,8,["visible","format","parsed-value"])],2)),[[C(Pe),Le]])],2)):L("v-if",!0),Q(F("div",{class:I([C(r).e("header"),("year"===se.value||"month"===se.value)&&C(r).e("header--bordered")])},[F("span",{class:I(C(r).e("prev-btn"))},[F("button",{type:"button","aria-label":C(i)("el.datepicker.prevYear"),class:I(["d-arrow-left",C(l).e("icon-btn")]),onClick:e=>ne(!1)},[W(e.$slots,"prev-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(de))])),_:1})]))],10,["aria-label","onClick"]),Q(F("button",{type:"button","aria-label":C(i)("el.datepicker.prevMonth"),class:I([C(l).e("icon-btn"),"arrow-left"]),onClick:e=>le(!1)},[W(e.$slots,"prev-month",{},(()=>[X(C(R),null,{default:V((()=>[X(C(ce))])),_:1})]))],10,["aria-label","onClick"]),[[ue,"date"===se.value]])],2),F("span",{role:"button",class:I(C(r).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:re((e=>Se("year")),["enter"]),onClick:e=>Se("year")},H(C(he)),43,["onKeydown","onClick"]),Q(F("span",{role:"button","aria-live":"polite",tabindex:"0",class:I([C(r).e("header-label"),{active:"month"===se.value}]),onKeydown:re((e=>Se("month")),["enter"]),onClick:e=>Se("month")},H(C(i)("el.datepicker.month".concat(C(B)+1))),43,["onKeydown","onClick"]),[[ue,"date"===se.value]]),F("span",{class:I(C(r).e("next-btn"))},[Q(F("button",{type:"button","aria-label":C(i)("el.datepicker.nextMonth"),class:I([C(l).e("icon-btn"),"arrow-right"]),onClick:e=>le(!0)},[W(e.$slots,"next-month",{},(()=>[X(C(R),null,{default:V((()=>[X(C(ve))])),_:1})]))],10,["aria-label","onClick"]),[[ue,"date"===se.value]]),F("button",{type:"button","aria-label":C(i)("el.datepicker.nextYear"),class:I([C(l).e("icon-btn"),"d-arrow-right"]),onClick:e=>ne(!0)},[W(e.$slots,"next-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(pe))])),_:1})]))],10,["aria-label","onClick"])],2)],2),[[ue,"time"!==se.value]]),F("div",{class:I(C(l).e("content")),onKeydown:Ze},["date"===se.value?(Y(),O(Ha,{key:0,ref_key:"currentViewRef",ref:M,"selection-mode":C(ye),date:$.value,"parsed-value":e.parsedValue,"disabled-date":C(y),"cell-class-name":C(D),onPick:te},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):L("v-if",!0),"year"===se.value?(Y(),O(Ua,{key:1,ref_key:"currentViewRef",ref:M,"selection-mode":C(ye),date:$.value,"disabled-date":C(y),"parsed-value":e.parsedValue,onPick:De},null,8,["selection-mode","date","disabled-date","parsed-value"])):L("v-if",!0),"month"===se.value?(Y(),O(za,{key:2,ref_key:"currentViewRef",ref:M,"selection-mode":C(ye),date:$.value,"parsed-value":e.parsedValue,"disabled-date":C(y),onPick:we},null,8,["selection-mode","date","parsed-value","disabled-date"])):L("v-if",!0)],34)],2)],2),Q(F("div",{class:I(C(l).e("footer"))},[Q(X(C(me),{text:"",size:"small",class:I(C(l).e("link-btn")),disabled:C(Ye),onClick:Oe},{default:V((()=>[J(H(C(i)("el.datepicker.now")),1)])),_:1},8,["class","disabled"]),[[ue,!C(be)]]),X(C(me),{plain:"",size:"small",class:I(C(l).e("link-btn")),disabled:C(Ce),onClick:_e},{default:V((()=>[J(H(C(i)("el.datepicker.confirm")),1)])),_:1},8,["class","disabled"])],2),[[ue,C(Me)]])],2))}});var qa=z(Za,[["__file","panel-date-pick.vue"]]);const Ga=r({..._a,...Ya,visible:Boolean}),Ja=e=>{const{emit:a}=he(),t=v(),l=oe();return n=>{const r=fe(n.value)?n.value():n.value;r?a("pick",[Ne(r[0]).locale(e.value),Ne(r[1]).locale(e.value)]):n.onClick&&n.onClick({attrs:t,slots:l,emit:a})}},Qa=(e,{defaultValue:a,leftDate:t,rightDate:l,unit:r,onParsedValueChanged:s})=>{const{emit:o}=he(),{pickerNs:i}=h(Ma),u=m("date-range-picker"),{t:d,lang:c}=p(),v=Ja(c),f=b(),y=b(),g=b({endDate:null,selecting:!1}),w=e=>{if(n(e)&&2===e.length){const[a,l]=e;f.value=a,t.value=a,y.value=l,s(C(f),C(y))}else D()},D=()=>{const[n,s]=Ia(C(a),{lang:C(c),unit:r,unlinkPanels:e.unlinkPanels});f.value=void 0,y.value=void 0,t.value=n,l.value=s};return k(a,(e=>{e&&D()}),{immediate:!0}),k((()=>e.parsedValue),w,{immediate:!0}),{minDate:f,maxDate:y,rangeState:g,lang:c,ppNs:i,drpNs:u,handleChangeRange:e=>{g.value=e},handleRangeConfirm:(e=!1)=>{const a=C(f),t=C(y);Aa([a,t])&&o("pick",[a,t],e)},handleShortcutClick:v,onSelect:e=>{g.value.selecting=e,e||(g.value.endDate=null)},onReset:w,t:d}},Xa="month",et=c({__name:"panel-date-range",props:Ga,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:a}){const t=e,l=h("EP_PICKER_BASE"),{disabledDate:r,cellClassName:s,defaultTime:o,clearable:i}=l.props,u=ie(l.props,"format"),d=ie(l.props,"shortcuts"),c=ie(l.props,"defaultValue"),{lang:v}=p(),m=b(Ne().locale(v.value)),f=b(Ne().locale(v.value).add(1,Xa)),{minDate:y,maxDate:w,rangeState:D,ppNs:S,drpNs:x,handleChangeRange:M,handleRangeConfirm:$,handleShortcutClick:P,onSelect:_,onReset:N,t:B}=Qa(t,{defaultValue:c,leftDate:m,rightDate:f,unit:Xa,onParsedValueChanged:function(e,a){if(t.unlinkPanels&&a){const t=(null==e?void 0:e.year())||0,l=(null==e?void 0:e.month())||0,n=a.year(),r=a.month();f.value=t===n&&l===r?a.add(1,Xa):a}else f.value=m.value.add(1,Xa),a&&(f.value=f.value.hour(a.hour()).minute(a.minute()).second(a.second()))}});k((()=>t.visible),(e=>{!e&&D.value.selecting&&(N(t.parsedValue),_(!1))}));const E=b({min:null,max:null}),j=b({min:null,max:null}),z=g((()=>"".concat(m.value.year()," ").concat(B("el.datepicker.year")," ").concat(B("el.datepicker.month".concat(m.value.month()+1))))),K=g((()=>"".concat(f.value.year()," ").concat(B("el.datepicker.year")," ").concat(B("el.datepicker.month".concat(f.value.month()+1))))),U=g((()=>m.value.year())),Z=g((()=>m.value.month())),ee=g((()=>f.value.year())),ae=g((()=>f.value.month())),te=g((()=>!!d.value.length)),le=g((()=>null!==E.value.min?E.value.min:y.value?y.value.format(ue.value):"")),ne=g((()=>null!==E.value.max?E.value.max:w.value||y.value?(w.value||y.value).format(ue.value):"")),re=g((()=>null!==j.value.min?j.value.min:y.value?y.value.format(oe.value):"")),se=g((()=>null!==j.value.max?j.value.max:w.value||y.value?(w.value||y.value).format(oe.value):"")),oe=g((()=>t.timeFormat||ze(u.value))),ue=g((()=>t.dateFormat||je(u.value))),fe=()=>{m.value=m.value.subtract(1,"year"),t.unlinkPanels||(f.value=m.value.add(1,"month")),Se("year")},he=()=>{m.value=m.value.subtract(1,"month"),t.unlinkPanels||(f.value=m.value.add(1,"month")),Se("month")},ye=()=>{t.unlinkPanels?f.value=f.value.add(1,"year"):(m.value=m.value.add(1,"year"),f.value=m.value.add(1,"month")),Se("year")},be=()=>{t.unlinkPanels?f.value=f.value.add(1,"month"):(m.value=m.value.add(1,"month"),f.value=m.value.add(1,"month")),Se("month")},ge=()=>{m.value=m.value.add(1,"year"),Se("year")},ke=()=>{m.value=m.value.add(1,"month"),Se("month")},we=()=>{f.value=f.value.subtract(1,"year"),Se("year")},De=()=>{f.value=f.value.subtract(1,"month"),Se("month")},Se=e=>{a("panel-change",[m.value.toDate(),f.value.toDate()],e)},xe=g((()=>{const e=(Z.value+1)%12,a=Z.value+1>=12?1:0;return t.unlinkPanels&&new Date(U.value+a,e)t.unlinkPanels&&12*ee.value+ae.value-(12*U.value+Z.value+1)>=12)),Ce=g((()=>!(y.value&&w.value&&!D.value.selecting&&Aa([y.value,w.value])))),$e=g((()=>"datetime"===t.type||"datetimerange"===t.type)),_e=(e,a)=>{if(e){if(o){return Ne(o[a]||o).locale(v.value).year(e.year()).month(e.month()).date(e.date())}return e}},Ye=(e,t=!0)=>{const l=e.minDate,n=e.maxDate,r=_e(l,0),s=_e(n,1);w.value===s&&y.value===r||(a("calendar-change",[l.toDate(),n&&n.toDate()]),w.value=s,y.value=r,t&&!$e.value&&$())},Oe=b(!1),Ve=b(!1),Ae=()=>{Oe.value=!1},Ie=()=>{Ve.value=!1},Be=(e,a)=>{E.value[a]=e;const l=Ne(e,ue.value).locale(v.value);if(l.isValid()){if(r&&r(l.toDate()))return;"min"===a?(m.value=l,y.value=(y.value||m.value).year(l.year()).month(l.month()).date(l.date()),t.unlinkPanels||w.value&&!w.value.isBefore(y.value)||(f.value=l.add(1,"month"),w.value=y.value.add(1,"month"))):(f.value=l,w.value=(w.value||f.value).year(l.year()).month(l.month()).date(l.date()),t.unlinkPanels||y.value&&!y.value.isAfter(w.value)||(m.value=l.subtract(1,"month"),y.value=w.value.subtract(1,"month")))}},Re=(e,a)=>{E.value[a]=null},Ee=(e,a)=>{j.value[a]=e;const t=Ne(e,oe.value).locale(v.value);t.isValid()&&("min"===a?(Oe.value=!0,y.value=(y.value||m.value).hour(t.hour()).minute(t.minute()).second(t.second())):(Ve.value=!0,w.value=(w.value||f.value).hour(t.hour()).minute(t.minute()).second(t.second()),f.value=w.value))},Le=(e,a)=>{j.value[a]=null,"min"===a?(m.value=y.value,Oe.value=!1,w.value&&!w.value.isBefore(y.value)||(w.value=y.value)):(f.value=w.value,Ve.value=!1,w.value&&w.value.isBefore(y.value)&&(y.value=w.value))},Te=(e,a,t)=>{j.value.min||(e&&(m.value=e,y.value=(y.value||m.value).hour(e.hour()).minute(e.minute()).second(e.second())),t||(Oe.value=a),w.value&&!w.value.isBefore(y.value)||(w.value=y.value,f.value=e))},Fe=(e,a,t)=>{j.value.max||(e&&(f.value=e,w.value=(w.value||f.value).hour(e.hour()).minute(e.minute()).second(e.second())),t||(Ve.value=a),w.value&&w.value.isBefore(y.value)&&(y.value=w.value))},We=()=>{m.value=Ia(C(c),{lang:C(v),unit:"month",unlinkPanels:t.unlinkPanels})[0],f.value=m.value.add(1,"month"),w.value=void 0,y.value=void 0,a("pick",null)};return a("set-picker-option",["isValidValue",e=>Aa(e)&&(!r||!r(e[0].toDate())&&!r(e[1].toDate()))]),a("set-picker-option",["parseUserInput",e=>n(e)?e.map((e=>Ne(e,u.value).locale(v.value))):Ne(e,u.value).locale(v.value)]),a("set-picker-option",["formatToString",e=>n(e)?e.map((e=>e.format(u.value))):e.format(u.value)]),a("set-picker-option",["handleClear",We]),(e,a)=>(Y(),T("div",{class:I([C(S).b(),C(x).b(),{"has-sidebar":e.$slots.sidebar||C(te),"has-time":C($e)}])},[F("div",{class:I(C(S).e("body-wrapper"))},[W(e.$slots,"sidebar",{class:I(C(S).e("sidebar"))}),C(te)?(Y(),T("div",{key:0,class:I(C(S).e("sidebar"))},[(Y(!0),T(q,null,G(C(d),((e,a)=>(Y(),T("button",{key:a,type:"button",class:I(C(S).e("shortcut")),onClick:a=>C(P)(e)},H(e.text),11,["onClick"])))),128))],2)):L("v-if",!0),F("div",{class:I(C(S).e("body"))},[C($e)?(Y(),T("div",{key:0,class:I(C(x).e("time-header"))},[F("span",{class:I(C(x).e("editors-wrap"))},[F("span",{class:I(C(x).e("time-picker-wrap"))},[X(C(A),{size:"small",disabled:C(D).selecting,placeholder:C(B)("el.datepicker.startDate"),class:I(C(x).e("editor")),"model-value":C(le),"validate-event":!1,onInput:e=>Be(e,"min"),onChange:e=>Re(0,"min")},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),Q((Y(),T("span",{class:I(C(x).e("time-picker-wrap"))},[X(C(A),{size:"small",class:I(C(x).e("editor")),disabled:C(D).selecting,placeholder:C(B)("el.datepicker.startTime"),"model-value":C(re),"validate-event":!1,onFocus:e=>Oe.value=!0,onInput:e=>Ee(e,"min"),onChange:e=>Le(0,"min")},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),X(C(ia),{visible:Oe.value,format:C(oe),"datetime-role":"start","parsed-value":m.value,onPick:Te},null,8,["visible","format","parsed-value"])],2)),[[C(Pe),Ae]])],2),F("span",null,[X(C(R),null,{default:V((()=>[X(C(ve))])),_:1})]),F("span",{class:I([C(x).e("editors-wrap"),"is-right"])},[F("span",{class:I(C(x).e("time-picker-wrap"))},[X(C(A),{size:"small",class:I(C(x).e("editor")),disabled:C(D).selecting,placeholder:C(B)("el.datepicker.endDate"),"model-value":C(ne),readonly:!C(y),"validate-event":!1,onInput:e=>Be(e,"max"),onChange:e=>Re(0,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),Q((Y(),T("span",{class:I(C(x).e("time-picker-wrap"))},[X(C(A),{size:"small",class:I(C(x).e("editor")),disabled:C(D).selecting,placeholder:C(B)("el.datepicker.endTime"),"model-value":C(se),readonly:!C(y),"validate-event":!1,onFocus:e=>C(y)&&(Ve.value=!0),onInput:e=>Ee(e,"max"),onChange:e=>Le(0,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),X(C(ia),{"datetime-role":"end",visible:Ve.value,format:C(oe),"parsed-value":f.value,onPick:Fe},null,8,["visible","format","parsed-value"])],2)),[[C(Pe),Ie]])],2)],2)):L("v-if",!0),F("div",{class:I([[C(S).e("content"),C(x).e("content")],"is-left"])},[F("div",{class:I(C(x).e("header"))},[F("button",{type:"button",class:I([C(S).e("icon-btn"),"d-arrow-left"]),"aria-label":C(B)("el.datepicker.prevYear"),onClick:fe},[W(e.$slots,"prev-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(de))])),_:1})]))],10,["aria-label"]),F("button",{type:"button",class:I([C(S).e("icon-btn"),"arrow-left"]),"aria-label":C(B)("el.datepicker.prevMonth"),onClick:he},[W(e.$slots,"prev-month",{},(()=>[X(C(R),null,{default:V((()=>[X(C(ce))])),_:1})]))],10,["aria-label"]),e.unlinkPanels?(Y(),T("button",{key:0,type:"button",disabled:!C(Me),class:I([[C(S).e("icon-btn"),{"is-disabled":!C(Me)}],"d-arrow-right"]),"aria-label":C(B)("el.datepicker.nextYear"),onClick:ge},[W(e.$slots,"next-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(pe))])),_:1})]))],10,["disabled","aria-label"])):L("v-if",!0),e.unlinkPanels?(Y(),T("button",{key:1,type:"button",disabled:!C(xe),class:I([[C(S).e("icon-btn"),{"is-disabled":!C(xe)}],"arrow-right"]),"aria-label":C(B)("el.datepicker.nextMonth"),onClick:ke},[W(e.$slots,"next-month",{},(()=>[X(C(R),null,{default:V((()=>[X(C(ve))])),_:1})]))],10,["disabled","aria-label"])):L("v-if",!0),F("div",null,H(C(z)),1)],2),X(Ha,{"selection-mode":"range",date:m.value,"min-date":C(y),"max-date":C(w),"range-state":C(D),"disabled-date":C(r),"cell-class-name":C(s),onChangerange:C(M),onPick:Ye,onSelect:C(_)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),F("div",{class:I([[C(S).e("content"),C(x).e("content")],"is-right"])},[F("div",{class:I(C(x).e("header"))},[e.unlinkPanels?(Y(),T("button",{key:0,type:"button",disabled:!C(Me),class:I([[C(S).e("icon-btn"),{"is-disabled":!C(Me)}],"d-arrow-left"]),"aria-label":C(B)("el.datepicker.prevYear"),onClick:we},[W(e.$slots,"prev-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(de))])),_:1})]))],10,["disabled","aria-label"])):L("v-if",!0),e.unlinkPanels?(Y(),T("button",{key:1,type:"button",disabled:!C(xe),class:I([[C(S).e("icon-btn"),{"is-disabled":!C(xe)}],"arrow-left"]),"aria-label":C(B)("el.datepicker.prevMonth"),onClick:De},[W(e.$slots,"prev-month",{},(()=>[X(C(R),null,{default:V((()=>[X(C(ce))])),_:1})]))],10,["disabled","aria-label"])):L("v-if",!0),F("button",{type:"button","aria-label":C(B)("el.datepicker.nextYear"),class:I([C(S).e("icon-btn"),"d-arrow-right"]),onClick:ye},[W(e.$slots,"next-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(pe))])),_:1})]))],10,["aria-label"]),F("button",{type:"button",class:I([C(S).e("icon-btn"),"arrow-right"]),"aria-label":C(B)("el.datepicker.nextMonth"),onClick:be},[W(e.$slots,"next-month",{},(()=>[X(C(R),null,{default:V((()=>[X(C(ve))])),_:1})]))],10,["aria-label"]),F("div",null,H(C(K)),1)],2),X(Ha,{"selection-mode":"range",date:f.value,"min-date":C(y),"max-date":C(w),"range-state":C(D),"disabled-date":C(r),"cell-class-name":C(s),onChangerange:C(M),onPick:Ye,onSelect:C(_)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),C($e)?(Y(),T("div",{key:0,class:I(C(S).e("footer"))},[C(i)?(Y(),O(C(me),{key:0,text:"",size:"small",class:I(C(S).e("link-btn")),onClick:We},{default:V((()=>[J(H(C(B)("el.datepicker.clear")),1)])),_:1},8,["class"])):L("v-if",!0),X(C(me),{plain:"",size:"small",class:I(C(S).e("link-btn")),disabled:C(Ce),onClick:e=>C($)(!1)},{default:V((()=>[J(H(C(B)("el.datepicker.confirm")),1)])),_:1},8,["class","disabled","onClick"])],2)):L("v-if",!0)],2))}});var at=z(et,[["__file","panel-date-range.vue"]]);const tt=r({...Ya}),lt="year",nt=c({name:"DatePickerMonthRange"}),rt=c({...nt,props:tt,emits:["pick","set-picker-option","calendar-change"],setup(e,{emit:a}){const t=e,{lang:l}=p(),r=h("EP_PICKER_BASE"),{shortcuts:s,disabledDate:o}=r.props,i=ie(r.props,"format"),u=ie(r.props,"defaultValue"),d=b(Ne().locale(l.value)),c=b(Ne().locale(l.value).add(1,lt)),{minDate:v,maxDate:m,rangeState:f,ppNs:y,drpNs:k,handleChangeRange:w,handleRangeConfirm:D,handleShortcutClick:S,onSelect:x}=Qa(t,{defaultValue:u,leftDate:d,rightDate:c,unit:lt,onParsedValueChanged:function(e,a){if(t.unlinkPanels&&a){const t=(null==e?void 0:e.year())||0,l=a.year();c.value=t===l?a.add(1,lt):a}else c.value=d.value.add(1,lt)}}),M=g((()=>!!s.length)),{leftPrevYear:$,rightNextYear:P,leftNextYear:_,rightPrevYear:O,leftLabel:A,rightLabel:N,leftYear:B,rightYear:E}=(({unlinkPanels:e,leftDate:a,rightDate:t})=>{const{t:l}=p();return{leftPrevYear:()=>{a.value=a.value.subtract(1,"year"),e.value||(t.value=t.value.subtract(1,"year"))},rightNextYear:()=>{e.value||(a.value=a.value.add(1,"year")),t.value=t.value.add(1,"year")},leftNextYear:()=>{a.value=a.value.add(1,"year")},rightPrevYear:()=>{t.value=t.value.subtract(1,"year")},leftLabel:g((()=>"".concat(a.value.year()," ").concat(l("el.datepicker.year")))),rightLabel:g((()=>"".concat(t.value.year()," ").concat(l("el.datepicker.year")))),leftYear:g((()=>a.value.year())),rightYear:g((()=>t.value.year()===a.value.year()?a.value.year()+1:t.value.year()))}})({unlinkPanels:ie(t,"unlinkPanels"),leftDate:d,rightDate:c}),j=g((()=>t.unlinkPanels&&E.value>B.value+1)),z=(e,t=!0)=>{const l=e.minDate,n=e.maxDate;m.value===n&&v.value===l||(a("calendar-change",[l.toDate(),n&&n.toDate()]),m.value=n,v.value=l,t&&D())};return a("set-picker-option",["isValidValue",Aa]),a("set-picker-option",["formatToString",e=>n(e)?e.map((e=>e.format(i.value))):e.format(i.value)]),a("set-picker-option",["parseUserInput",e=>n(e)?e.map((e=>Ne(e,i.value).locale(l.value))):Ne(e,i.value).locale(l.value)]),a("set-picker-option",["handleClear",()=>{d.value=Ia(C(u),{lang:C(l),unit:"year",unlinkPanels:t.unlinkPanels})[0],c.value=d.value.add(1,"year"),a("pick",null)}]),(e,a)=>(Y(),T("div",{class:I([C(y).b(),C(k).b(),{"has-sidebar":Boolean(e.$slots.sidebar)||C(M)}])},[F("div",{class:I(C(y).e("body-wrapper"))},[W(e.$slots,"sidebar",{class:I(C(y).e("sidebar"))}),C(M)?(Y(),T("div",{key:0,class:I(C(y).e("sidebar"))},[(Y(!0),T(q,null,G(C(s),((e,a)=>(Y(),T("button",{key:a,type:"button",class:I(C(y).e("shortcut")),onClick:a=>C(S)(e)},H(e.text),11,["onClick"])))),128))],2)):L("v-if",!0),F("div",{class:I(C(y).e("body"))},[F("div",{class:I([[C(y).e("content"),C(k).e("content")],"is-left"])},[F("div",{class:I(C(k).e("header"))},[F("button",{type:"button",class:I([C(y).e("icon-btn"),"d-arrow-left"]),onClick:C($)},[W(e.$slots,"prev-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(de))])),_:1})]))],10,["onClick"]),e.unlinkPanels?(Y(),T("button",{key:0,type:"button",disabled:!C(j),class:I([[C(y).e("icon-btn"),{[C(y).is("disabled")]:!C(j)}],"d-arrow-right"]),onClick:C(_)},[W(e.$slots,"next-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(pe))])),_:1})]))],10,["disabled","onClick"])):L("v-if",!0),F("div",null,H(C(A)),1)],2),X(za,{"selection-mode":"range",date:d.value,"min-date":C(v),"max-date":C(m),"range-state":C(f),"disabled-date":C(o),onChangerange:C(w),onPick:z,onSelect:C(x)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),F("div",{class:I([[C(y).e("content"),C(k).e("content")],"is-right"])},[F("div",{class:I(C(k).e("header"))},[e.unlinkPanels?(Y(),T("button",{key:0,type:"button",disabled:!C(j),class:I([[C(y).e("icon-btn"),{"is-disabled":!C(j)}],"d-arrow-left"]),onClick:C(O)},[W(e.$slots,"prev-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(de))])),_:1})]))],10,["disabled","onClick"])):L("v-if",!0),F("button",{type:"button",class:I([C(y).e("icon-btn"),"d-arrow-right"]),onClick:C(P)},[W(e.$slots,"next-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(pe))])),_:1})]))],10,["onClick"]),F("div",null,H(C(N)),1)],2),X(za,{"selection-mode":"range",date:c.value,"min-date":C(v),"max-date":C(m),"range-state":C(f),"disabled-date":C(o),onChangerange:C(w),onPick:z,onSelect:C(x)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var st=z(rt,[["__file","panel-month-range.vue"]]);const ot=r({...Ya}),it="year",ut=c({name:"DatePickerYearRange"});var dt=z(c({...ut,props:ot,emits:["pick","set-picker-option","calendar-change"],setup(e,{emit:a}){const t=e,{lang:l}=p(),r=b(Ne().locale(l.value)),s=b(r.value.add(10,"year")),{pickerNs:o}=h(Ma),i=m("date-range-picker"),u=g((()=>!!U.length)),d=g((()=>[o.b(),i.b(),{"has-sidebar":Boolean(oe().sidebar)||u.value}])),c=g((()=>({content:[o.e("content"),i.e("content"),"is-left"],arrowLeftBtn:[o.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[o.e("icon-btn"),{[o.is("disabled")]:!_.value},"d-arrow-right"]}))),v=g((()=>({content:[o.e("content"),i.e("content"),"is-right"],arrowLeftBtn:[o.e("icon-btn"),{"is-disabled":!_.value},"d-arrow-left"],arrowRightBtn:[o.e("icon-btn"),"d-arrow-right"]}))),f=Ja(l),{leftPrevYear:y,rightNextYear:w,leftNextYear:D,rightPrevYear:S,leftLabel:x,rightLabel:M,leftYear:$,rightYear:P}=(({unlinkPanels:e,leftDate:a,rightDate:t})=>({leftPrevYear:()=>{a.value=a.value.subtract(10,"year"),e.value||(t.value=t.value.subtract(10,"year"))},rightNextYear:()=>{e.value||(a.value=a.value.add(10,"year")),t.value=t.value.add(10,"year")},leftNextYear:()=>{a.value=a.value.add(10,"year")},rightPrevYear:()=>{t.value=t.value.subtract(10,"year")},leftLabel:g((()=>{const e=10*Math.floor(a.value.year()/10);return"".concat(e,"-").concat(e+9)})),rightLabel:g((()=>{const e=10*Math.floor(t.value.year()/10);return"".concat(e,"-").concat(e+9)})),leftYear:g((()=>10*Math.floor(a.value.year()/10)+9)),rightYear:g((()=>10*Math.floor(t.value.year()/10)))}))({unlinkPanels:ie(t,"unlinkPanels"),leftDate:r,rightDate:s}),_=g((()=>t.unlinkPanels&&P.value>$.value+1)),O=b(),A=b(),N=b({endDate:null,selecting:!1}),B=e=>{N.value=e},E=(e,t=!0)=>{const l=e.minDate,n=e.maxDate;A.value===n&&O.value===l||(a("calendar-change",[l.toDate(),n&&n.toDate()]),A.value=n,O.value=l,t&&j())},j=(e=!1)=>{Aa([O.value,A.value])&&a("pick",[O.value,A.value],e)},z=e=>{N.value.selecting=e,e||(N.value.endDate=null)},K=h("EP_PICKER_BASE"),{shortcuts:U,disabledDate:Z}=K.props,J=ie(K.props,"format"),Q=ie(K.props,"defaultValue"),ee=()=>{let e;if(n(Q.value)){const e=Ne(Q.value[0]);let a=Ne(Q.value[1]);return t.unlinkPanels||(a=e.add(10,it)),[e,a]}return e=Q.value?Ne(Q.value):Ne(),e=e.locale(l.value),[e,e.add(10,it)]};k((()=>Q.value),(e=>{if(e){const e=ee();r.value=e[0],s.value=e[1]}}),{immediate:!0}),k((()=>t.parsedValue),(e=>{if(e&&2===e.length)if(O.value=e[0],A.value=e[1],r.value=O.value,t.unlinkPanels&&A.value){const e=O.value.year(),a=A.value.year();s.value=e===a?A.value.add(10,"year"):A.value}else s.value=r.value.add(10,"year");else{const e=ee();O.value=void 0,A.value=void 0,r.value=e[0],s.value=e[1]}}),{immediate:!0});return a("set-picker-option",["isValidValue",e=>Aa(e)&&(!Z||!Z(e[0].toDate())&&!Z(e[1].toDate()))]),a("set-picker-option",["parseUserInput",e=>n(e)?e.map((e=>Ne(e,J.value).locale(l.value))):Ne(e,J.value).locale(l.value)]),a("set-picker-option",["formatToString",e=>n(e)?e.map((e=>e.format(J.value))):e.format(J.value)]),a("set-picker-option",["handleClear",()=>{const e=ee();r.value=e[0],s.value=e[1],A.value=void 0,O.value=void 0,a("pick",null)}]),(e,a)=>(Y(),T("div",{class:I(C(d))},[F("div",{class:I(C(o).e("body-wrapper"))},[W(e.$slots,"sidebar",{class:I(C(o).e("sidebar"))}),C(u)?(Y(),T("div",{key:0,class:I(C(o).e("sidebar"))},[(Y(!0),T(q,null,G(C(U),((e,a)=>(Y(),T("button",{key:a,type:"button",class:I(C(o).e("shortcut")),onClick:a=>C(f)(e)},H(e.text),11,["onClick"])))),128))],2)):L("v-if",!0),F("div",{class:I(C(o).e("body"))},[F("div",{class:I(C(c).content)},[F("div",{class:I(C(i).e("header"))},[F("button",{type:"button",class:I(C(c).arrowLeftBtn),onClick:C(y)},[W(e.$slots,"prev-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(de))])),_:1})]))],10,["onClick"]),e.unlinkPanels?(Y(),T("button",{key:0,type:"button",disabled:!C(_),class:I(C(c).arrowRightBtn),onClick:C(D)},[W(e.$slots,"next-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(pe))])),_:1})]))],10,["disabled","onClick"])):L("v-if",!0),F("div",null,H(C(x)),1)],2),X(Ua,{"selection-mode":"range",date:r.value,"min-date":O.value,"max-date":A.value,"range-state":N.value,"disabled-date":C(Z),onChangerange:B,onPick:E,onSelect:z},null,8,["date","min-date","max-date","range-state","disabled-date"])],2),F("div",{class:I(C(v).content)},[F("div",{class:I(C(i).e("header"))},[e.unlinkPanels?(Y(),T("button",{key:0,type:"button",disabled:!C(_),class:I(C(v).arrowLeftBtn),onClick:C(S)},[W(e.$slots,"prev-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(de))])),_:1})]))],10,["disabled","onClick"])):L("v-if",!0),F("button",{type:"button",class:I(C(v).arrowRightBtn),onClick:C(w)},[W(e.$slots,"next-year",{},(()=>[X(C(R),null,{default:V((()=>[X(C(pe))])),_:1})]))],10,["onClick"]),F("div",null,H(C(M)),1)],2),X(Ua,{"selection-mode":"range",date:s.value,"min-date":O.value,"max-date":A.value,"range-state":N.value,"disabled-date":C(Z),onChangerange:B,onPick:E,onSelect:z},null,8,["date","min-date","max-date","range-state","disabled-date"])],2)],2)],2)],2))}}),[["__file","panel-year-range.vue"]]);Ne.extend(da),Ne.extend(va),Ne.extend(Re),Ne.extend(ha),Ne.extend(ba),Ne.extend(ka),Ne.extend(Da),Ne.extend(xa);const ct=be(c({name:"ElDatePicker",install:null,props:Ca,emits:["update:modelValue"],setup(e,{expose:a,emit:t,slots:l}){const n=m("picker-panel");_("ElPopperOptions",ye(ie(e,"popperOptions"))),_(Ma,{slots:l,pickerNs:n});const r=b();a({focus:(e=!0)=>{var a;null==(a=r.value)||a.focus(e)},handleOpen:()=>{var e;null==(e=r.value)||e.handleOpen()},handleClose:()=>{var e;null==(e=r.value)||e.handleClose()}});const s=e=>{t("update:modelValue",e)};return()=>{var a;const t=null!=(a=e.format)?a:Fe[e.type]||Te,n=function(e){switch(e){case"daterange":case"datetimerange":return at;case"monthrange":return st;case"yearrange":return dt;default:return qa}}(e.type);return X(ta,j(e,{format:t,type:e.type,ref:r,"onUpdate:modelValue":s}),{default:e=>X(n,e,{"prev-month":l["prev-month"],"next-month":l["next-month"],"prev-year":l["prev-year"],"next-year":l["next-year"]}),"range-separator":l["range-separator"]})}}})),vt=Symbol("elDescriptions");var pt=c({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup:()=>({descriptions:h(vt,{})}),render(){var e;const a=ge(this.cell),t=((null==(e=this.cell)?void 0:e.dirs)||[]).map((e=>{const{dir:a,arg:t,modifiers:l,value:n}=e;return[a,n,t,l]})),{border:l,direction:n}=this.descriptions,r="vertical"===n,s=()=>{var e,t,l;return(null==(l=null==(t=null==(e=this.cell)?void 0:e.children)?void 0:t.label)?void 0:l.call(t))||a.label},o=()=>{var e,a,t;return null==(t=null==(a=null==(e=this.cell)?void 0:e.children)?void 0:a.default)?void 0:t.call(a)},i=a.span,u=a.rowspan,d=a.align?"is-".concat(a.align):"",c=a.labelAlign?"is-".concat(a.labelAlign):d,v=a.className,p=a.labelClassName,f={width:ke(a.width),minWidth:ke(a.minWidth)},h=m("descriptions");switch(this.type){case"label":return Q(we(this.tag,{style:f,class:[h.e("cell"),h.e("label"),h.is("bordered-label",l),h.is("vertical-label",r),c,p],colSpan:r?i:1,rowspan:r?1:u},s()),t);case"content":return Q(we(this.tag,{style:f,class:[h.e("cell"),h.e("content"),h.is("bordered-content",l),h.is("vertical-content",r),d,v],colSpan:r?i:2*i-1,rowspan:r?2*u-1:u},o()),t);default:{const e=s();return Q(we("td",{style:f,class:[h.e("cell"),d],colSpan:i,rowspan:u},[De(e)?void 0:we("span",{class:[h.e("label"),p]},e),we("span",{class:[h.e("content"),v]},o())]),t)}}}});const mt=r({row:{type:s(Array),default:()=>[]}}),ft=c({name:"ElDescriptionsRow"});var ht=z(c({...ft,props:mt,setup(e){const a=h(vt,{});return(e,t)=>"vertical"===C(a).direction?(Y(),T(q,{key:0},[F("tr",null,[(Y(!0),T(q,null,G(e.row,((e,a)=>(Y(),O(C(pt),{key:"tr1-".concat(a),cell:e,tag:"th",type:"label"},null,8,["cell"])))),128))]),F("tr",null,[(Y(!0),T(q,null,G(e.row,((e,a)=>(Y(),O(C(pt),{key:"tr2-".concat(a),cell:e,tag:"td",type:"content"},null,8,["cell"])))),128))])],64)):(Y(),T("tr",{key:1},[(Y(!0),T(q,null,G(e.row,((e,t)=>(Y(),T(q,{key:"tr3-".concat(t)},[C(a).border?(Y(),T(q,{key:0},[X(C(pt),{cell:e,tag:"td",type:"label"},null,8,["cell"]),X(C(pt),{cell:e,tag:"td",type:"content"},null,8,["cell"])],64)):(Y(),O(C(pt),{key:1,cell:e,tag:"td",type:"both"},null,8,["cell"]))],64)))),128))]))}}),[["__file","descriptions-row.vue"]]);const yt=r({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:i,title:{type:String,default:""},extra:{type:String,default:""}}),bt=c({name:"ElDescriptions"});var gt=z(c({...bt,props:yt,setup(e){const a=e,t=m("descriptions"),l=M(),n=oe();_(vt,a);const r=g((()=>[t.b(),t.m(l.value)])),s=(e,a,t,l=!1)=>(e.props||(e.props={}),a>t&&(e.props.span=t),l&&(e.props.span=a),e),o=()=>{if(!n.default)return[];const e=Se(n.default()).filter((e=>{var a;return"ElDescriptionsItem"===(null==(a=null==e?void 0:e.type)?void 0:a.name)})),t=[];let l=[],r=a.column,o=0;const i=[];return e.forEach(((n,u)=>{var d,c,v;const p=(null==(d=n.props)?void 0:d.span)||1,m=(null==(c=n.props)?void 0:c.rowspan)||1,f=t.length;if(i[f]||(i[f]=0),m>1)for(let e=1;e0&&(r-=i[f],i[f]=0),ur?r:p),u===e.length-1){const e=a.column-o%a.column;return l.push(s(n,e,r,!0)),void t.push(l)}p(Y(),T("div",{class:I(C(r))},[e.title||e.extra||e.$slots.title||e.$slots.extra?(Y(),T("div",{key:0,class:I(C(t).e("header"))},[F("div",{class:I(C(t).e("title"))},[W(e.$slots,"title",{},(()=>[J(H(e.title),1)]))],2),F("div",{class:I(C(t).e("extra"))},[W(e.$slots,"extra",{},(()=>[J(H(e.extra),1)]))],2)],2)):L("v-if",!0),F("div",{class:I(C(t).e("body"))},[F("table",{class:I([C(t).e("table"),C(t).is("bordered",e.border)])},[F("tbody",null,[(Y(!0),T(q,null,G(o(),((e,a)=>(Y(),O(ht,{key:a,row:e},null,8,["row"])))),128))])],2)],2)],2))}}),[["__file","description.vue"]]);const kt=c({name:"ElDescriptionsItem",props:r({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}})}),wt=be(gt,{DescriptionsItem:kt}),Dt=xe(kt);export{ct as E,Dt as a,wt as b}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date.js new file mode 100644 index 000000000..216efd578 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0date.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +function t(t,e){var s=new Date(t).Format("yyyy-MM-dd hh:mm:ss");return e&&(s=new Date(t).Format(e)),s.toLocaleString()}Date.prototype.Format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var s in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),e)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?e[s]:("00"+e[s]).substr((""+e[s]).length)));return t};export{t as f}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0debounce-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0debounce-legacy.js new file mode 100644 index 000000000..d3f1a5421 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0debounce-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,n){"use strict";var r,e,i;return{setters:[function(t){r=t.bQ,e=t.b5,i=t.bR}],execute:function(){t({d:function(t,n,r){var i,u,o,f,a,c,v=0,s=!1,g=!1,h=!0;if("function"!=typeof t)throw new TypeError(m);function x(n){var r=i,e=u;return i=u=void 0,v=n,f=t.apply(e,r)}function T(t){var r=t-c;return void 0===c||r>=n||r<0||g&&t-v>=o}function b(){var t=d();if(T(t))return w(t);a=setTimeout(b,function(t){var r=n-(t-c);return g?y(r,o-(t-v)):r}(t))}function w(t){return a=void 0,h&&i?x(t):(i=u=void 0,f)}function E(){var t=d(),r=T(t);if(i=arguments,u=this,c=t,r){if(void 0===a)return function(t){return v=t,a=setTimeout(b,n),s?x(t):f}(c);if(g)return clearTimeout(a),a=setTimeout(b,n),x(c)}return void 0===a&&(a=setTimeout(b,n)),f}return n=l(n)||0,e(r)&&(s=!!r.leading,o=(g="maxWait"in r)?p(l(r.maxWait)||0,n):o,h="trailing"in r?!!r.trailing:h),E.cancel=function(){void 0!==a&&clearTimeout(a),v=0,i=c=u=a=void 0},E.flush=function(){return void 0===a?f:w(d())},E},t:l});var n=/\s/,u=/^\s+/;function o(t){return t?t.slice(0,function(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}(t)+1).replace(u,""):t}var f=NaN,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,v=/^0o[0-7]+$/i,s=parseInt;function l(t){if("number"==typeof t)return t;if(r(t))return f;if(e(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=e(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=o(t);var i=c.test(t);return i||v.test(t)?s(t.slice(2),i?2:8):a.test(t)?f:+t}var d=function(){return i.Date.now()},m="Expected a function",p=Math.max,y=Math.min}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0debounce.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0debounce.js new file mode 100644 index 000000000..706289022 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0debounce.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{bQ as t,b5 as n,bR as r}from"./087AC4D233B64EB0index.js";var i=/\s/;var e=/^\s+/;function o(t){return t?t.slice(0,function(t){for(var n=t.length;n--&&i.test(t.charAt(n)););return n}(t)+1).replace(e,""):t}var u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt;function v(r){if("number"==typeof r)return r;if(t(r))return NaN;if(n(r)){var i="function"==typeof r.valueOf?r.valueOf():r;r=n(i)?i+"":i}if("string"!=typeof r)return 0===r?r:+r;r=o(r);var e=a.test(r);return e||f.test(r)?c(r.slice(2),e?2:8):u.test(r)?NaN:+r}const s=function(){return r.Date.now()};var l=Math.max,d=Math.min;function m(t,r,i){var e,o,u,a,f,c,m=0,p=!1,h=!1,x=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function T(n){var r=e,i=o;return e=o=void 0,m=n,a=t.apply(i,r)}function y(t){var n=t-c;return void 0===c||n>=r||n<0||h&&t-m>=u}function b(){var t=s();if(y(t))return g(t);f=setTimeout(b,function(t){var n=r-(t-c);return h?d(n,u-(t-m)):n}(t))}function g(t){return f=void 0,x&&e?T(t):(e=o=void 0,a)}function N(){var t=s(),n=y(t);if(e=arguments,o=this,c=t,n){if(void 0===f)return function(t){return m=t,f=setTimeout(b,r),p?T(t):a}(c);if(h)return clearTimeout(f),f=setTimeout(b,r),T(c)}return void 0===f&&(f=setTimeout(b,r)),a}return r=v(r)||0,n(i)&&(p=!!i.leading,u=(h="maxWait"in i)?l(v(i.maxWait)||0,r):u,x="trailing"in i?!!i.trailing:x),N.cancel=function(){void 0!==f&&clearTimeout(f),m=0,e=c=o=f=void 0},N.flush=function(){return void 0===f?a:g(s())},N}export{m as d,v as t}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dialog-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dialog-legacy.js new file mode 100644 index 000000000..bc7db6161 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dialog-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);o&&(a=a.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,a)}return t}function o(o){for(var a=1;aa=>{o.forEach((o=>{e(o)?o(a):o.value=a}))},O=Symbol("dialogInjectionKey"),U=o({name:"ElDialogContent"});var Y=k(o({...U,props:q,emits:z,setup(e,{expose:o}){const k=e,{t:R}=a(),{Close:w}=A,{dialogRef:$,headerRef:_,bodyId:x,ns:E,style:F}=s(O),{focusTrapRef:I}=s(l),B=t((()=>[E.b(),E.is("fullscreen",k.fullscreen),E.is("draggable",k.draggable),E.is("align-center",k.alignCenter),{[E.m("center")]:k.center}])),L=K(I,$),D=t((()=>k.draggable)),M=t((()=>k.overflow)),{resetPosition:P}=r($,_,D,M);return o({resetPosition:P}),(e,o)=>(n(),i("div",{ref:u(L),class:f(u(B)),style:C(u(F)),tabindex:"-1"},[d("header",{ref_key:"headerRef",ref:_,class:f([u(E).e("header"),{"show-close":e.showClose}])},[c(e.$slots,"header",{},(()=>[d("span",{role:"heading","aria-level":e.ariaLevel,class:f(u(E).e("title"))},v(e.title),11,["aria-level"])])),e.showClose?(n(),i("button",{key:0,"aria-label":u(R)("el.dialog.close"),class:f(u(E).e("headerbtn")),type:"button",onClick:o=>e.$emit("close")},[p(u(m),{class:f(u(E).e("close"))},{default:b((()=>[(n(),g(y(e.closeIcon||u(w))))])),_:1},8,["class"])],10,["aria-label","onClick"])):h("v-if",!0)],2),d("div",{id:u(x),class:f(u(E).e("body"))},[c(e.$slots,"default")],10,["id"]),e.$slots.footer?(n(),i("footer",{key:0,class:f(u(E).e("footer"))},[c(e.$slots,"footer")],2)):h("v-if",!0)],6))}}),[["__file","dialog-content.vue"]]);const Z=o({name:"ElDialog",inheritAttrs:!1});const J=T(k(o({...Z,props:S,emits:G,setup(e,{expose:o}){const a=e,s=R();w({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},t((()=>!!s.title)));const l=$("dialog"),r=_(),i=_(),v=_(),{visible:y,titleId:m,bodyId:k,style:A,overlayDialogStyle:T,rendered:q,zIndex:z,afterEnter:S,afterLeave:G,beforeLeave:K,handleClose:U,onModalClick:Z,onOpenAutoFocus:J,onCloseAutoFocus:N,onCloseRequested:Q,onFocusoutPrevented:V}=H(a,r);x(O,{dialogRef:r,headerRef:i,bodyId:k,ns:l,rendered:q,style:A});const W=P(Z),X=t((()=>a.draggable&&!a.fullscreen));return o({visible:y,dialogContentRef:v,resetPosition:()=>{var e;null==(e=v.value)||e.resetPosition()}}),(e,o)=>(n(),g(u(j),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:b((()=>[p(E,{name:"dialog-fade",onAfterEnter:u(S),onAfterLeave:u(G),onBeforeLeave:u(K),persisted:""},{default:b((()=>[F(p(u(I),{"custom-mask-event":"",mask:e.modal,"overlay-class":e.modalClass,"z-index":u(z)},{default:b((()=>[d("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:u(m),"aria-describedby":u(k),class:f("".concat(u(l).namespace.value,"-overlay-dialog")),style:C(u(T)),onClick:u(W).onClick,onMousedown:u(W).onMousedown,onMouseup:u(W).onMouseup},[p(u(B),{loop:"",trapped:u(y),"focus-start-el":"container",onFocusAfterTrapped:u(J),onFocusAfterReleased:u(N),onFocusoutPrevented:u(V),onReleaseRequested:u(Q)},{default:b((()=>[u(q)?(n(),g(Y,L({key:0,ref_key:"dialogContentRef",ref:v},e.$attrs,{center:e.center,"align-center":e.alignCenter,"close-icon":e.closeIcon,draggable:u(X),overflow:e.overflow,fullscreen:e.fullscreen,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:u(U)}),D({header:b((()=>[e.$slots.title?c(e.$slots,"title",{key:1}):c(e.$slots,"header",{key:0,close:u(U),titleId:u(m),titleClass:u(l).e("title")})])),default:b((()=>[c(e.$slots,"default")])),_:2},[e.$slots.footer?{name:"footer",fn:b((()=>[c(e.$slots,"footer")]))}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):h("v-if",!0)])),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["mask","overlay-class","z-index"]),[[M,u(y)]])])),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}}),[["__file","dialog.vue"]]));export{J as E,K as c}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0divider-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0divider-legacy.js new file mode 100644 index 000000000..bbd126cb9 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0divider-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function t(t){for(var i=1;is.cssVar({"border-style":t.borderStyle})));return(e,t)=>(r(),o("div",{class:l([n(s).b(),n(s).m(e.direction)]),style:v(n(f)),role:"separator"},[e.$slots.default&&"vertical"!==e.direction?(r(),o("div",{key:0,class:l([n(s).e("text"),n(s).is(e.contentPosition)])},[d(e.$slots,"default")],2)):c("v-if",!0)],6))}}),[["__file","divider.vue"]]));export{S as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0doc-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0doc-legacy.js new file mode 100644 index 000000000..66a6fe06f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0doc-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(n,t){"use strict";return{execute:function(){n("t",(function(n){window.open(n,"_blank")}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0doc.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0doc.js new file mode 100644 index 000000000..7f9ac9ee5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0doc.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +const n=n=>{window.open(n,"_blank")};export{n as t}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0docs.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0docs.png new file mode 100644 index 000000000..bb98d6e09 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0docs.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0drawer-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0drawer-legacy.js new file mode 100644 index 000000000..5d6a4287a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0drawer-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(e,r){"use strict";return{execute:function(){var e=document.createElement("style");e.textContent=".el-drawer{--el-drawer-bg-color: var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary: var(--el-dialog-padding-primary, 20px);position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:16px}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{display:inline-flex;border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.ttb,.el-drawer.btt{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-from,.el-drawer-fade-enter-active,.el-drawer-fade-enter-to,.el-drawer-fade-leave-from,.el-drawer-fade-leave-active,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:transparent!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}\n",document.head.appendChild(e)}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0drawer.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0drawer.css new file mode 100644 index 000000000..07b407cb0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0drawer.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-drawer{--el-drawer-bg-color: var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary: var(--el-dialog-padding-primary, 20px);position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:16px}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{display:inline-flex;border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.ttb,.el-drawer.btt{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-from,.el-drawer-fade-enter-active,.el-drawer-fade-enter-to,.el-drawer-fade-leave-from,.el-drawer-fade-leave-active,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:transparent!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dropdown-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dropdown-legacy.js new file mode 100644 index 000000000..6a989d29e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0dropdown-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{const t="El".concat(e,"Collection"),o="".concat(t,"Item"),c=Symbol(t),p=Symbol(o),u={...C,name:t,setup(){const e=a(null),t=new Map;n(c,{itemMap:t,getItems:()=>{const o=r(e);if(!o)return[];const a=Array.from(o.querySelectorAll("[".concat(y,"]")));return[...t.values()].sort(((e,t)=>a.indexOf(e.ref)-a.indexOf(t.ref)))},collectionRef:e})}},d={...E,name:o,setup(e,{attrs:t}){const o=a(null),u=l(c,void 0);n(p,{collectionItemRef:o}),i((()=>{const e=r(o);e&&u.itemMap.set(e,{ref:e,...t})})),s((()=>{const e=r(o);u.itemMap.delete(e)}))}};return{COLLECTION_INJECTION_KEY:c,COLLECTION_ITEM_INJECTION_KEY:p,ElCollection:u,ElCollectionItem:d}},I=c({trigger:f.trigger,effect:{...m.effect,default:"light"},type:{type:p(String)},placement:{type:p(String),default:"bottom"},popperOptions:{type:p(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:p([Number,String]),default:0},maxHeight:{type:p([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,default:"menu"},buttonProps:{type:p(Object)},teleported:m.teleported}),O=c({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:u}}),b=c({onKeydown:{type:p(Function)}}),N=[d.down,d.pageDown,d.home],_=[d.up,d.pageUp,d.end],S=[...N,..._],{ElCollection:B,ElCollectionItem:T,COLLECTION_INJECTION_KEY:x,COLLECTION_ITEM_INJECTION_KEY:L}=g("Dropdown");export{L as C,B as E,S as F,_ as L,O as a,y as b,g as c,I as d,T as e,b as f,x as g}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0echartsLine-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0echartsLine-legacy.js new file mode 100644 index 000000000..16a2b6f10 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0echartsLine-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),c=new N(n||[]);return i(a,"_invoke",{value:k(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var p="suspendedStart",d="suspendedYield",v="executing",y="completed",g={};function m(){}function w(){}function x(){}var b={};l(b,c,(function(){return this}));var L=Object.getPrototypeOf,E=L&&L(L(T([])));E&&E!==n&&o.call(E,c)&&(b=E);var _=x.prototype=m.prototype=Object.create(b);function j(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(n,i,a,c){var u=h(t[n],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var n;i(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(i,i):i()}})}function k(t,r,n){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=h(t,r,n);if("normal"===s.type){if(o=n.done?y:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function P(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=h(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),G(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;G(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function c(t){e(a,o,i,c,u,"next",t)}function u(t){e(a,o,i,c,u,"throw",t)}c(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy23.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy.js"],(function(e,n){"use strict";var o,i,a,c,u,s,l,f,h,p;return{setters:[function(t){o=t.i},function(t){i=t._},function(t){a=t.O,c=t.a,u=t.P,s=t.Q,l=t.R,f=t.o,h=t.c,p=t.b}],execute:function(){var n=document.createElement("style");n.textContent=".dashboard-line-box .dashboard-line[data-v-fae10162]{background-color:#fff;height:360px;width:100%}.dashboard-line-box .dashboard-line-title[data-v-fae10162]{font-weight:600;margin-bottom:12px}\n",document.head.appendChild(n);var d={class:"dashboard-line-box"};e("default",i({__name:"echartsLine",setup:function(e){for(var n=[],i=1;i<13;i++)n.push("".concat(i,"月"));var v=[220,182,191,234,290,330,310,123,442,321,90,149];for(i=0;i{x.value.setOption({grid:{left:"40",right:"20",top:"40",bottom:"20"},xAxis:{data:u,axisTick:{show:!1},axisLine:{show:!1},z:10},yAxis:{axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#999"}}},dataZoom:[{type:"inside"}],series:[{type:"bar",barWidth:"40%",itemStyle:{borderRadius:[5,5,0,0],color:"#188df0"},emphasis:{itemStyle:{color:"#188df0"}},data:h}]})};return t((async()=>{await o(),x.value=a(v.value),f()})),l((()=>{x.value&&(x.value.dispose(),x.value=null)})),(a,s)=>(r(),d("div",c,[s[0]||(s[0]=n("div",{class:"dashboard-line-title"}," 访问趋势 ",-1)),n("div",{ref_key:"echart",ref:v,class:"dashboard-line"},null,512)]))}},[["__scopeId","data-v-fae10162"]]);export{u as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0empty-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0empty-legacy.js new file mode 100644 index 000000000..3b78999f7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0empty-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,r)}return l}function t(t){for(var r=1;r(o(),s("svg",{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e("defs",null,[e("linearGradient",{id:"linearGradient-1-".concat(r(i)),x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[e("stop",{"stop-color":"var(".concat(r(n).cssVarBlockName("fill-color-1"),")"),offset:"0%"},null,8,["stop-color"]),e("stop",{"stop-color":"var(".concat(r(n).cssVarBlockName("fill-color-4"),")"),offset:"100%"},null,8,["stop-color"])],8,["id"]),e("linearGradient",{id:"linearGradient-2-".concat(r(i)),x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[e("stop",{"stop-color":"var(".concat(r(n).cssVarBlockName("fill-color-1"),")"),offset:"0%"},null,8,["stop-color"]),e("stop",{"stop-color":"var(".concat(r(n).cssVarBlockName("fill-color-6"),")"),offset:"100%"},null,8,["stop-color"])],8,["id"]),e("rect",{id:"path-3-".concat(r(i)),x:"0",y:"0",width:"17",height:"36"},null,8,["id"])]),e("g",{id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[e("g",{id:"B-type",transform:"translate(-1268.000000, -535.000000)"},[e("g",{id:"Group-2",transform:"translate(1268.000000, 535.000000)"},[e("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:"var(".concat(r(n).cssVarBlockName("fill-color-3"),")")},null,8,["fill"]),e("polygon",{id:"Rectangle-Copy-14",fill:"var(".concat(r(n).cssVarBlockName("fill-color-7"),")"),transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,["fill"]),e("g",{id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},[e("polygon",{id:"Rectangle-Copy-10",fill:"var(".concat(r(n).cssVarBlockName("fill-color-7"),")"),transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,["fill"]),e("polygon",{id:"Rectangle-Copy-11",fill:"var(".concat(r(n).cssVarBlockName("fill-color-5"),")"),points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,["fill"]),e("rect",{id:"Rectangle-Copy-12",fill:"url(#linearGradient-1-".concat(r(i),")"),transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,["fill"]),e("polygon",{id:"Rectangle-Copy-13",fill:"var(".concat(r(n).cssVarBlockName("fill-color-2"),")"),transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,["fill"])]),e("rect",{id:"Rectangle-Copy-15",fill:"url(#linearGradient-2-".concat(r(i),")"),x:"13",y:"45",width:"40",height:"36"},null,8,["fill"]),e("g",{id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},[e("use",{id:"Mask",fill:"var(".concat(r(n).cssVarBlockName("fill-color-8"),")"),transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":"#path-3-".concat(r(i))},null,8,["fill","xlink:href"]),e("polygon",{id:"Rectangle-Copy",fill:"var(".concat(r(n).cssVarBlockName("fill-color-9"),")"),mask:"url(#mask-4-".concat(r(i),")"),transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,["fill","mask"])]),e("polygon",{id:"Rectangle-Copy-18",fill:"var(".concat(r(n).cssVarBlockName("fill-color-2"),")"),transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,["fill"])])])])]))}}),[["__file","img-empty.vue"]]);const C=i({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),B=l({name:"ElEmpty"});const w=v(n(l({...B,props:C,setup(l){const t=l,{t:n}=c(),i=a("empty"),v=f((()=>t.description||n("el.table.emptyText"))),h=f((()=>({width:p(t.imageSize)})));return(l,a)=>(o(),s("div",{class:g(r(i).b())},[e("div",{class:g(r(i).e("image")),style:y(r(h))},[l.image?(o(),s("img",{key:0,src:l.image,ondragstart:"return false"},null,8,["src"])):m(l.$slots,"image",{key:1},(()=>[d(x)]))],6),e("div",{class:g(r(i).e("description"))},[l.$slots.description?m(l.$slots,"description",{key:0}):(o(),s("p",{key:1},u(r(v)),1))],2),l.$slots.default?(o(),s("div",{key:0,class:g(r(i).e("bottom"))},[m(l.$slots,"default")],2)):k("v-if",!0)],2))}}),[["__file","empty.vue"]]));export{w as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0favicon.ico b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0favicon.ico new file mode 100644 index 000000000..ee520ce4b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0favicon.ico differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0fieldDialog-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0fieldDialog-legacy.js new file mode 100644 index 000000000..77c0bae21 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0fieldDialog-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var t,n={},r=Object.prototype,l=r.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var l=t&&t.prototype instanceof g?t:g,o=Object.create(l.prototype),u=new C(r||[]);return a(o,"_invoke",{value:L(e,n,u)}),o}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var p="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function g(){}function b(){}function E(){}var w={};f(w,u,(function(){return this}));var B=Object.getPrototypeOf,_=B&&B(B(O([])));_&&_!==r&&l.call(_,u)&&(w=_);var j=E.prototype=g.prototype=Object.create(w);function V(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(r,a,o,u){var i=s(e[r],e,a);if("throw"!==i.type){var c=i.arg,f=c.value;return f&&"object"==typeof f&&l.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(f).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(i.arg)}var r;a(this,"_invoke",{value:function(e,l){function a(){return new t((function(t,r){n(e,l,t,r)}))}return r=r?r.then(a,a):a()}})}function L(e,n,r){var l=p;return function(a,o){if(l===y)throw Error("Generator is already running");if(l===v){if("throw"===a)throw o;return{value:t,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var i=D(u,r);if(i){if(i===m)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(l===p)throw l=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);l=y;var c=s(e,n,r);if("normal"===c.type){if(l=r.done?v:h,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(l=v,r.method="throw",r.arg=c.arg)}}}function D(e,n){var r=n.method,l=e.iterator[r];if(l===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,D(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var a=s(l,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function O(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var i=l.call(o,"catchLoc"),c=l.call(o,"finallyLoc");if(i&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var l=r.arg;A(n)}return l}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},n}function t(e,t,n,r,l,a,o){try{var u=e[a](o),i=u.value}catch(e){return void n(e)}u.done?t(i):Promise.resolve(i).then(r,l)}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0switch-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0stringFun-legacy.js","./087AC4D233B64EB0sysDictionary-legacy2.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0debounce-legacy.js"],(function(n,r){"use strict";var l,a,o,u,i,c,f,d,s,p,h,y,v,m,g,b,E,w,B,_;return{setters:[function(e){l=e.a,a=e.o,o=e.c,u=e.e,i=e.w,c=e.b,f=e.K,d=e.L,s=e.h,p=e.k,h=e.E},function(e){y=e.a,v=e.E},function(e){m=e.E},null,function(e){g=e.E,b=e.a},null,null,null,null,function(e){E=e.a,w=e.t},function(e){B=e.g},function(e){_=e._},null,null,null,null,null,null,null,null,null,null,null],execute:function(){n("default",Object.assign({name:"FieldDialog"},{__name:"fieldDialog",props:{dialogMiddle:{type:Object,default:function(){return{}}},typeOptions:{type:Array,default:function(){return[]}},typeSearchOptions:{type:Array,default:function(){return[]}}},setup:function(n,r){var j=r.expose,V=n,x=l({}),L=l([]),D=l({fieldName:[{required:!0,message:"请输入字段英文名",trigger:"blur"}],fieldDesc:[{required:!0,message:"请输入字段中文名",trigger:"blur"}],fieldJson:[{required:!0,message:"请输入字段格式化json",trigger:"blur"}],columnName:[{required:!0,message:"请输入数据库字段",trigger:"blur"}],fieldType:[{required:!0,message:"请选择字段类型",trigger:"blur"}]}),T=function(){var n,r=(n=e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x.value=V.dialogMiddle,e.next=3,B({page:1,pageSize:999999});case 3:n=e.sent,L.value=n.data;case 5:case"end":return e.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(l,a){var o=n.apply(e,r);function u(e){t(o,l,a,u,i,"next",e)}function i(e){t(o,l,a,u,i,"throw",e)}u(void 0)}))});return function(){return r.apply(this,arguments)}}();T();var A=function(){x.value.fieldJson=E(x.value.fieldName),x.value.columnName=w(x.value.fieldJson)},C=function(e){var t=x.value.fieldType;return"string"!==t&&"LIKE"===e||"int"!==t&&"time.Time"!==t&&"float64"!==t&&("BETWEEN"===e||"NOT BETWEEN"===e)},O=function(){x.value.fieldSearchType="",x.value.dictType=""},N=l(null);return j({fieldDialogFrom:N}),function(e,t){var r=p,l=h,E=y,w=g,B=b,j=m,V=v;return a(),o("div",null,[u(_,{title:"id , created_at , updated_at , deleted_at 会自动生成请勿重复创建。搜索时如果条件为LIKE只支持字符串"}),u(V,{ref_key:"fieldDialogFrom",ref:N,model:x.value,"label-width":"120px","label-position":"right",rules:D.value,class:"grid grid-cols-2"},{default:i((function(){return[u(E,{label:"字段名称",prop:"fieldName"},{default:i((function(){return[u(r,{modelValue:x.value.fieldName,"onUpdate:modelValue":t[0]||(t[0]=function(e){return x.value.fieldName=e}),autocomplete:"off",style:{width:"80%"}},null,8,["modelValue"]),u(l,{style:{width:"18%","margin-left":"2%"},onClick:A},{default:i((function(){return t[13]||(t[13]=[c("span",{style:{"font-size":"12px"}},"自动填充",-1)])})),_:1})]})),_:1}),u(E,{label:"字段中文名",prop:"fieldDesc"},{default:i((function(){return[u(r,{modelValue:x.value.fieldDesc,"onUpdate:modelValue":t[1]||(t[1]=function(e){return x.value.fieldDesc=e}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),u(E,{label:"字段JSON",prop:"fieldJson"},{default:i((function(){return[u(r,{modelValue:x.value.fieldJson,"onUpdate:modelValue":t[2]||(t[2]=function(e){return x.value.fieldJson=e}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),u(E,{label:"数据库字段名",prop:"columnName"},{default:i((function(){return[u(r,{modelValue:x.value.columnName,"onUpdate:modelValue":t[3]||(t[3]=function(e){return x.value.columnName=e}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),u(E,{label:"数据库字段描述",prop:"comment"},{default:i((function(){return[u(r,{modelValue:x.value.comment,"onUpdate:modelValue":t[4]||(t[4]=function(e){return x.value.comment=e}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),u(E,{label:"字段类型",prop:"fieldType"},{default:i((function(){return[u(B,{modelValue:x.value.fieldType,"onUpdate:modelValue":t[5]||(t[5]=function(e){return x.value.fieldType=e}),style:{width:"100%"},placeholder:"请选择字段类型",clearable:"",onChange:O},{default:i((function(){return[(a(!0),o(f,null,d(n.typeOptions,(function(e){return a(),s(w,{key:e.value,label:e.label,value:e.value,disabled:e.disabled},null,8,["label","value","disabled"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),u(E,{label:"enum"===x.value.fieldType?"枚举值":"类型长度",prop:"dataTypeLong"},{default:i((function(){return[u(r,{modelValue:x.value.dataTypeLong,"onUpdate:modelValue":t[6]||(t[6]=function(e){return x.value.dataTypeLong=e}),placeholder:"enum"===x.value.fieldType?"例:'北京','天津'":"数据库类型长度"},null,8,["modelValue","placeholder"])]})),_:1},8,["label"]),u(E,{label:"字段查询条件",prop:"fieldSearchType"},{default:i((function(){return[u(B,{modelValue:x.value.fieldSearchType,"onUpdate:modelValue":t[7]||(t[7]=function(e){return x.value.fieldSearchType=e}),style:{width:"100%"},placeholder:"请选择字段查询条件",clearable:""},{default:i((function(){return[(a(!0),o(f,null,d(n.typeSearchOptions,(function(e){return a(),s(w,{key:e.value,label:e.label,value:e.value,disabled:C(e.value)},null,8,["label","value","disabled"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),u(E,{label:"关联字典",prop:"dictType"},{default:i((function(){return[u(B,{modelValue:x.value.dictType,"onUpdate:modelValue":t[8]||(t[8]=function(e){return x.value.dictType=e}),style:{width:"100%"},disabled:"int"!==x.value.fieldType,placeholder:"请选择字典",clearable:""},{default:i((function(){return[(a(!0),o(f,null,d(L.value,(function(e){return a(),s(w,{key:e.type,label:"".concat(e.type,"(").concat(e.name,")"),value:e.type},null,8,["label","value"])})),128))]})),_:1},8,["modelValue","disabled"])]})),_:1}),u(E,{label:"是否排序"},{default:i((function(){return[u(j,{modelValue:x.value.sort,"onUpdate:modelValue":t[9]||(t[9]=function(e){return x.value.sort=e})},null,8,["modelValue"])]})),_:1}),u(E,{label:"是否必填"},{default:i((function(){return[u(j,{modelValue:x.value.require,"onUpdate:modelValue":t[10]||(t[10]=function(e){return x.value.require=e})},null,8,["modelValue"])]})),_:1}),u(E,{label:"是否可清空"},{default:i((function(){return[u(j,{modelValue:x.value.clearable,"onUpdate:modelValue":t[11]||(t[11]=function(e){return x.value.clearable=e})},null,8,["modelValue"])]})),_:1}),u(E,{label:"校验失败文案"},{default:i((function(){return[u(r,{modelValue:x.value.errorText,"onUpdate:modelValue":t[12]||(t[12]=function(e){return x.value.errorText=e})},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0fieldDialog.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0fieldDialog.js new file mode 100644 index 000000000..6d6d63fc6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0fieldDialog.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,o as l,c as a,e as o,w as u,b as t,K as d,L as r,h as i,k as s,E as m}from"./087AC4D233B64EB0index.js";import{a as p,E as n}from"./087AC4D233B64EB0form-item.js";import{E as f}from"./087AC4D233B64EB0switch.js";import"./087AC4D233B64EB0tag.js";import{E as c,a as v}from"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css *//* empty css *//* empty css */import{a as b,t as B}from"./087AC4D233B64EB0stringFun.js";import{g as y}from"./087AC4D233B64EB0sysDictionary2.js";import{_ as V}from"./087AC4D233B64EB0warningBar.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0debounce.js";const g=Object.assign({name:"FieldDialog"},{__name:"fieldDialog",props:{dialogMiddle:{type:Object,default:function(){return{}}},typeOptions:{type:Array,default:function(){return[]}},typeSearchOptions:{type:Array,default:function(){return[]}}},setup(g,{expose:E}){const D=g,_=e({}),j=e([]),A=e({fieldName:[{required:!0,message:"请输入字段英文名",trigger:"blur"}],fieldDesc:[{required:!0,message:"请输入字段中文名",trigger:"blur"}],fieldJson:[{required:!0,message:"请输入字段格式化json",trigger:"blur"}],columnName:[{required:!0,message:"请输入数据库字段",trigger:"blur"}],fieldType:[{required:!0,message:"请选择字段类型",trigger:"blur"}]});(async()=>{_.value=D.dialogMiddle;const e=await y({page:1,pageSize:999999});j.value=e.data})();const C=()=>{_.value.fieldJson=b(_.value.fieldName),_.value.columnName=B(_.value.fieldJson)},T=e=>{const l=_.value.fieldType;return"string"!==l&&"LIKE"===e||"int"!==l&&"time.Time"!==l&&"float64"!==l&&("BETWEEN"===e||"NOT BETWEEN"===e)},h=()=>{_.value.fieldSearchType="",_.value.dictType=""},N=e(null);return E({fieldDialogFrom:N}),(e,b)=>{const B=s,y=m,E=p,D=c,U=v,w=f,x=n;return l(),a("div",null,[o(V,{title:"id , created_at , updated_at , deleted_at 会自动生成请勿重复创建。搜索时如果条件为LIKE只支持字符串"}),o(x,{ref_key:"fieldDialogFrom",ref:N,model:_.value,"label-width":"120px","label-position":"right",rules:A.value,class:"grid grid-cols-2"},{default:u((()=>[o(E,{label:"字段名称",prop:"fieldName"},{default:u((()=>[o(B,{modelValue:_.value.fieldName,"onUpdate:modelValue":b[0]||(b[0]=e=>_.value.fieldName=e),autocomplete:"off",style:{width:"80%"}},null,8,["modelValue"]),o(y,{style:{width:"18%","margin-left":"2%"},onClick:C},{default:u((()=>b[13]||(b[13]=[t("span",{style:{"font-size":"12px"}},"自动填充",-1)]))),_:1})])),_:1}),o(E,{label:"字段中文名",prop:"fieldDesc"},{default:u((()=>[o(B,{modelValue:_.value.fieldDesc,"onUpdate:modelValue":b[1]||(b[1]=e=>_.value.fieldDesc=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),o(E,{label:"字段JSON",prop:"fieldJson"},{default:u((()=>[o(B,{modelValue:_.value.fieldJson,"onUpdate:modelValue":b[2]||(b[2]=e=>_.value.fieldJson=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),o(E,{label:"数据库字段名",prop:"columnName"},{default:u((()=>[o(B,{modelValue:_.value.columnName,"onUpdate:modelValue":b[3]||(b[3]=e=>_.value.columnName=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),o(E,{label:"数据库字段描述",prop:"comment"},{default:u((()=>[o(B,{modelValue:_.value.comment,"onUpdate:modelValue":b[4]||(b[4]=e=>_.value.comment=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),o(E,{label:"字段类型",prop:"fieldType"},{default:u((()=>[o(U,{modelValue:_.value.fieldType,"onUpdate:modelValue":b[5]||(b[5]=e=>_.value.fieldType=e),style:{width:"100%"},placeholder:"请选择字段类型",clearable:"",onChange:h},{default:u((()=>[(l(!0),a(d,null,r(g.typeOptions,(e=>(l(),i(D,{key:e.value,label:e.label,value:e.value,disabled:e.disabled},null,8,["label","value","disabled"])))),128))])),_:1},8,["modelValue"])])),_:1}),o(E,{label:"enum"===_.value.fieldType?"枚举值":"类型长度",prop:"dataTypeLong"},{default:u((()=>[o(B,{modelValue:_.value.dataTypeLong,"onUpdate:modelValue":b[6]||(b[6]=e=>_.value.dataTypeLong=e),placeholder:"enum"===_.value.fieldType?"例:'北京','天津'":"数据库类型长度"},null,8,["modelValue","placeholder"])])),_:1},8,["label"]),o(E,{label:"字段查询条件",prop:"fieldSearchType"},{default:u((()=>[o(U,{modelValue:_.value.fieldSearchType,"onUpdate:modelValue":b[7]||(b[7]=e=>_.value.fieldSearchType=e),style:{width:"100%"},placeholder:"请选择字段查询条件",clearable:""},{default:u((()=>[(l(!0),a(d,null,r(g.typeSearchOptions,(e=>(l(),i(D,{key:e.value,label:e.label,value:e.value,disabled:T(e.value)},null,8,["label","value","disabled"])))),128))])),_:1},8,["modelValue"])])),_:1}),o(E,{label:"关联字典",prop:"dictType"},{default:u((()=>[o(U,{modelValue:_.value.dictType,"onUpdate:modelValue":b[8]||(b[8]=e=>_.value.dictType=e),style:{width:"100%"},disabled:"int"!==_.value.fieldType,placeholder:"请选择字典",clearable:""},{default:u((()=>[(l(!0),a(d,null,r(j.value,(e=>(l(),i(D,{key:e.type,label:"".concat(e.type,"(").concat(e.name,")"),value:e.type},null,8,["label","value"])))),128))])),_:1},8,["modelValue","disabled"])])),_:1}),o(E,{label:"是否排序"},{default:u((()=>[o(w,{modelValue:_.value.sort,"onUpdate:modelValue":b[9]||(b[9]=e=>_.value.sort=e)},null,8,["modelValue"])])),_:1}),o(E,{label:"是否必填"},{default:u((()=>[o(w,{modelValue:_.value.require,"onUpdate:modelValue":b[10]||(b[10]=e=>_.value.require=e)},null,8,["modelValue"])])),_:1}),o(E,{label:"是否可清空"},{default:u((()=>[o(w,{modelValue:_.value.clearable,"onUpdate:modelValue":b[11]||(b[11]=e=>_.value.clearable=e)},null,8,["modelValue"])])),_:1}),o(E,{label:"校验失败文案"},{default:u((()=>[o(B,{modelValue:_.value.errorText,"onUpdate:modelValue":b[12]||(b[12]=e=>_.value.errorText=e)},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])}}});export{g as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0flipped-aurora.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0flipped-aurora.png new file mode 100644 index 000000000..c94033bd2 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0flipped-aurora.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0form-item-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0form-item-legacy.js new file mode 100644 index 000000000..5b02fe46b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0form-item-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){var e=["trigger"];function r(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,o,a,l=[],u=!0,s=!1;try{if(o=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=o.call(t)).done)&&(l.push(n.value),l.length!==r);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,r)||l(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=l(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return r};var e,r={},t=Object.prototype,i=t.hasOwnProperty,o=Object.defineProperty||function(e,r,t){e[r]=t.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{f({},"")}catch(e){f=function(e,r,t){return e[r]=t}}function c(e,r,t,n){var i=r&&r.prototype instanceof g?r:g,a=Object.create(i.prototype),l=new S(n||[]);return o(a,"_invoke",{value:E(e,t,l)}),a}function p(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}r.wrap=c;var d="suspendedStart",v="suspendedYield",m="executing",h="completed",y={};function g(){}function b(){}function w(){}var x={};f(x,l,(function(){return this}));var _=Object.getPrototypeOf,O=_&&_(_(L([])));O&&O!==t&&i.call(O,l)&&(x=O);var q=w.prototype=g.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(r){f(e,r,(function(e){return this._invoke(r,e)}))}))}function F(e,r){function t(n,o,a,l){var u=p(e[n],e,o);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&i.call(f,"__await")?r.resolve(f.__await).then((function(e){t("next",e,a,l)}),(function(e){t("throw",e,a,l)})):r.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return t("throw",e,a,l)}))}l(u.arg)}var n;o(this,"_invoke",{value:function(e,i){function o(){return new r((function(r,n){t(e,i,r,n)}))}return n=n?n.then(o,o):o()}})}function E(r,t,n){var i=d;return function(o,a){if(i===m)throw Error("Generator is already running");if(i===h){if("throw"===o)throw a;return{value:e,done:!0}}for(n.method=o,n.arg=a;;){var l=n.delegate;if(l){var u=k(l,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var s=p(r,t,n);if("normal"===s.type){if(i=n.done?h:v,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(i=h,n.method="throw",n.arg=s.arg)}}}function k(r,t){var n=t.method,i=r.iterator[n];if(i===e)return t.delegate=null,"throw"===n&&r.iterator.return&&(t.method="return",t.arg=e,k(r,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=p(i,r.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y;var a=o.arg;return a?a.done?(t[r.resultName]=a.value,t.next=r.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,y):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,y)}function P(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function A(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function L(r){if(r||""===r){var t=r[l];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var n=-1,o=function t(){for(;++n=0;--o){var a=this.tryEntries[o],l=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--t){var n=this.tryEntries[t];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),A(t),y}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var i=n.arg;A(t)}return i}}throw Error("illegal catch attempt")},delegateYield:function(r,t,n){return this.delegate={iterator:L(r),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=e),y}},r}function i(e,r,t,n,i,o,a){try{var l=e[o](a),u=l.value}catch(e){return void t(e)}l.done?r(u):Promise.resolve(u).then(n,i)}function o(e){return function(){var r=this,t=arguments;return new Promise((function(n,o){var a=e.apply(r,t);function l(e){i(a,n,o,l,u,"next",e)}function u(e){i(a,n,o,l,u,"throw",e)}l(void 0)}))}}function a(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,r){if(e){if("string"==typeof e)return u(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,r):void 0}}function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.el-form-item.is-error .el-input__wrapper,.el-form-item.is-error .el-input__wrapper:hover,.el-form-item.is-error .el-input__wrapper:focus,.el-form-item.is-error .el-input__wrapper.is-focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:hover,.el-form-item.is-error .el-textarea__inner:focus,.el-form-item.is-error .el-textarea__inner.is-focus,.el-form-item.is-error .el-select__wrapper,.el-form-item.is-error .el-select__wrapper:hover,.el-form-item.is-error .el-select__wrapper:focus,.el-form-item.is-error .el-select__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}\n',document.head.appendChild(l);function ue(e){return le(e,4)}var se=u({size:{type:String,values:s},disabled:Boolean}),fe=u(f(f({},se),{},{model:Object,rules:{type:p(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}})),ce={validate:function(e,r,t){return(d(e)||v(e))&&m(r)&&v(t)}};var pe=function(e,r){var t=ae(r);return t.length>0?e.filter((function(e){return e.prop&&t.includes(e.prop)})):e},de=g({name:"ElForm"}),ve=g(f(f({},de),{},{props:fe,emits:ce,setup:function(e,r){var i=r.expose,l=r.emit,u=e,s=[],p=b(),d=w("form"),v=y((function(){var e=u.labelPosition,r=u.inline;return[d.b(),d.m(p.value||"default"),c(c({},d.m("label-".concat(e)),e),d.m("inline"),r)]})),m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];u.model&&pe(s,e).forEach((function(e){return e.resetField()}))},g=function(){pe(s,arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(e){return e.clearValidate()}))},L=y((function(){return!!u.model})),z=function(e){if(0===s.length)return[];var r=pe(s,e);return r.length?r:[]},B=function(){var e=o(n().mark((function e(r){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",N(void 0,r));case 1:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}(),R=function(){var e=o(n().mark((function e(){var r,i,o,a,l,u,s=arguments;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=s.length>0&&void 0!==s[0]?s[0]:[],L.value){e.next=3;break}return e.abrupt("return",!1);case 3:if(0!==(i=z(r)).length){e.next=6;break}return e.abrupt("return",!0);case 6:o={},a=t(i),e.prev=8,a.s();case 10:if((l=a.n()).done){e.next=22;break}return u=l.value,e.prev=12,e.next=15,u.validate("");case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(12),o=f(f({},o),e.t0);case 20:e.next=10;break;case 22:e.next=27;break;case 24:e.prev=24,e.t1=e.catch(8),a.e(e.t1);case 27:return e.prev=27,a.f(),e.finish(27);case 30:if(0!==Object.keys(o).length){e.next=32;break}return e.abrupt("return",!0);case 32:return e.abrupt("return",Promise.reject(o));case 33:case"end":return e.stop()}}),e,null,[[8,24,27,30],[12,17]])})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=o(n().mark((function e(){var r,t,i,o,a,l=arguments;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>0&&void 0!==l[0]?l[0]:[],i=!I(t=l.length>1?l[1]:void 0),e.prev=3,e.next=6,R(r);case 6:if(!0!==(o=e.sent)){e.next=10;break}return e.next=10,null==t?void 0:t(o);case 10:return e.abrupt("return",o);case 13:if(e.prev=13,e.t0=e.catch(3),!(e.t0 instanceof Error)){e.next=17;break}throw e.t0;case 17:return a=e.t0,u.scrollToError&&T(Object.keys(a)[0]),e.next=21,null==t?void 0:t(!1,a);case 21:return e.abrupt("return",i&&Promise.reject(a));case 22:case"end":return e.stop()}}),e,null,[[3,13]])})));return function(){return e.apply(this,arguments)}}(),T=function(e){var r,t=pe(s,e)[0];t&&(null==(r=t.$el)||r.scrollIntoView(u.scrollIntoViewOptions))};return x((function(){return u.rules}),(function(){u.validateOnRuleChange&&B().catch((function(e){return _()}))}),{deep:!0}),O(F,q(f(f({},j(u)),{},{emit:l,resetFields:m,clearValidate:g,validateField:N,getField:function(e){return s.find((function(r){return r.prop===e}))},addField:function(e){s.push(e)},removeField:function(e){e.prop&&s.splice(s.indexOf(e),1)}},function(){var e=h([]),r=y((function(){if(!e.value.length)return"0";var r=Math.max.apply(Math,a(e.value));return r?"".concat(r,"px"):""}));function t(t){var n=e.value.indexOf(t);return-1===n&&r.value,n}return{autoLabelWidth:r,registerLabelWidth:function(r,n){if(r&&n){var i=t(n);e.value.splice(i,1,r)}else r&&e.value.push(r)},deregisterLabelWidth:function(r){var n=t(r);n>-1&&e.value.splice(n,1)}}}()))),i({validate:B,validateField:N,resetFields:m,clearValidate:g,scrollToField:T,fields:s}),function(e,r){return E(),k("form",{class:A(S(v))},[P(e.$slots,"default")],2)}}})),me=L(ve,[["__file","form.vue"]]);function he(){return he=Object.assign?Object.assign.bind():function(e){for(var r=1;r1?r-1:0),n=1;n=o)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(r){return"[Circular]"}break;default:return e}})):e}function je(e,r){return null==e||(!("array"!==r||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(r)||"string"!=typeof e||e))}function Fe(e,r,t){var n=0,i=e.length;!function o(a){if(a&&a.length)t(a);else{var l=n;n+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,ze=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,Be={integer:function(e){return Be.number(e)&&parseInt(e,10)===e},float:function(e){return Be.number(e)&&!Be.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(r){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!Be.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(Ie)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(Se)return Se;var e="[a-fA-F\\d:]",r=function(r){return r&&r.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},t="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",i=("\n(?:\n(?:"+n+":){7}(?:"+n+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+n+":){6}(?:"+t+"|:"+n+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+n+":){5}(?::"+t+"|(?::"+n+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+n+":){4}(?:(?::"+n+"){0,1}:"+t+"|(?::"+n+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+n+":){3}(?:(?::"+n+"){0,2}:"+t+"|(?::"+n+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+n+":){2}(?:(?::"+n+"){0,3}:"+t+"|(?::"+n+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+n+":){1}(?:(?::"+n+"){0,4}:"+t+"|(?::"+n+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+n+"){0,5}:"+t+"|(?::"+n+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+t+"$)|(?:^"+i+"$)"),a=new RegExp("^"+t+"$"),l=new RegExp("^"+i+"$"),u=function(e){return e&&e.exact?o:new RegExp("(?:"+r(e)+t+r(e)+")|(?:"+r(e)+i+r(e)+")","g")};u.v4=function(e){return e&&e.exact?a:new RegExp(""+r(e)+t+r(e),"g")},u.v6=function(e){return e&&e.exact?l:new RegExp(""+r(e)+i+r(e),"g")};var s=u.v4().source,f=u.v6().source;return Se=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+s+"|"+f+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(ze)}},Re="enum",Ne={required:Le,whitespace:function(e,r,t,n,i){(/^\s+$/.test(r)||""===r)&&n.push(qe(i.messages.whitespace,e.fullField))},type:function(e,r,t,n,i){if(e.required&&void 0===r)Le(e,r,t,n,i);else{var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?Be[o](r)||n.push(qe(i.messages.types[o],e.fullField,e.type)):o&&typeof r!==e.type&&n.push(qe(i.messages.types[o],e.fullField,e.type))}},range:function(e,r,t,n,i){var o="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,u=r,s=null,f="number"==typeof r,c="string"==typeof r,p=Array.isArray(r);if(f?s="number":c?s="string":p&&(s="array"),!s)return!1;p&&(u=r.length),c&&(u=r.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?u!==e.len&&n.push(qe(i.messages[s].len,e.fullField,e.len)):a&&!l&&ue.max?n.push(qe(i.messages[s].max,e.fullField,e.max)):a&&l&&(ue.max)&&n.push(qe(i.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,r,t,n,i){e[Re]=Array.isArray(e[Re])?e[Re]:[],-1===e[Re].indexOf(r)&&n.push(qe(i.messages[Re],e.fullField,e[Re].join(", ")))},pattern:function(e,r,t,n,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(r)||n.push(qe(i.messages.pattern.mismatch,e.fullField,r,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(r)||n.push(qe(i.messages.pattern.mismatch,e.fullField,r,e.pattern))}}},Te=function(e,r,t,n,i){var o=e.type,a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r,o)&&!e.required)return t();Ne.required(e,r,n,a,i,o),je(r,o)||Ne.type(e,r,n,a,i)}t(a)},Ce={string:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r,"string")&&!e.required)return t();Ne.required(e,r,n,o,i,"string"),je(r,"string")||(Ne.type(e,r,n,o,i),Ne.range(e,r,n,o,i),Ne.pattern(e,r,n,o,i),!0===e.whitespace&&Ne.whitespace(e,r,n,o,i))}t(o)},method:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r)&&!e.required)return t();Ne.required(e,r,n,o,i),void 0!==r&&Ne.type(e,r,n,o,i)}t(o)},number:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===r&&(r=void 0),je(r)&&!e.required)return t();Ne.required(e,r,n,o,i),void 0!==r&&(Ne.type(e,r,n,o,i),Ne.range(e,r,n,o,i))}t(o)},boolean:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r)&&!e.required)return t();Ne.required(e,r,n,o,i),void 0!==r&&Ne.type(e,r,n,o,i)}t(o)},regexp:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r)&&!e.required)return t();Ne.required(e,r,n,o,i),je(r)||Ne.type(e,r,n,o,i)}t(o)},integer:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r)&&!e.required)return t();Ne.required(e,r,n,o,i),void 0!==r&&(Ne.type(e,r,n,o,i),Ne.range(e,r,n,o,i))}t(o)},float:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r)&&!e.required)return t();Ne.required(e,r,n,o,i),void 0!==r&&(Ne.type(e,r,n,o,i),Ne.range(e,r,n,o,i))}t(o)},array:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(null==r&&!e.required)return t();Ne.required(e,r,n,o,i,"array"),null!=r&&(Ne.type(e,r,n,o,i),Ne.range(e,r,n,o,i))}t(o)},object:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r)&&!e.required)return t();Ne.required(e,r,n,o,i),void 0!==r&&Ne.type(e,r,n,o,i)}t(o)},enum:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r)&&!e.required)return t();Ne.required(e,r,n,o,i),void 0!==r&&Ne.enum(e,r,n,o,i)}t(o)},pattern:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r,"string")&&!e.required)return t();Ne.required(e,r,n,o,i),je(r,"string")||Ne.pattern(e,r,n,o,i)}t(o)},date:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r,"date")&&!e.required)return t();var a;if(Ne.required(e,r,n,o,i),!je(r,"date"))a=r instanceof Date?r:new Date(r),Ne.type(e,a,n,o,i),a&&Ne.range(e,a.getTime(),n,o,i)}t(o)},url:Te,hex:Te,email:Te,required:function(e,r,t,n,i){var o=[],a=Array.isArray(r)?"array":typeof r;Ne.required(e,r,n,o,i,a),t(o)},any:function(e,r,t,n,i){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(je(r)&&!e.required)return t();Ne.required(e,r,n,o,i)}t(o)}};function De(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Me=De(),We=function(){function e(e){this.rules=null,this._messages=Me,this.define(e)}var r=e.prototype;return r.define=function(e){var r=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(t){var n=e[t];r.rules[t]=Array.isArray(n)?n:[n]}))},r.messages=function(e){return e&&(this._messages=Ae(De(),e)),this._messages},r.validate=function(r,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n=function(){});var o=r,a=t,l=n;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,o),Promise.resolve(o);if(a.messages){var u=this.messages();u===Me&&(u=De()),Ae(u,a.messages),a.messages=u}else a.messages=this.messages();var s={};(a.keys||Object.keys(this.rules)).forEach((function(e){var t=i.rules[e],n=o[e];t.forEach((function(t){var a=t;"function"==typeof a.transform&&(o===r&&(o=he({},o)),n=o[e]=a.transform(n)),(a="function"==typeof a?{validator:a}:he({},a)).validator=i.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=i.getType(a),s[e]=s[e]||[],s[e].push({rule:a,value:n,source:o,field:e}))}))}));var f={};return ke(s,a,(function(r,t){var n,i=r.rule,l=!("object"!==i.type&&"array"!==i.type||"object"!=typeof i.fields&&"object"!=typeof i.defaultField);function u(e,r){return he({},r,{fullField:i.fullField+"."+e,fullFields:i.fullFields?[].concat(i.fullFields,[e]):[e]})}function s(n){void 0===n&&(n=[]);var s=Array.isArray(n)?n:[n];!a.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==i.message&&(s=[].concat(i.message));var c=s.map(Pe(i,o));if(a.first&&c.length)return f[i.field]=1,t(c);if(l){if(i.required&&!r.value)return void 0!==i.message?c=[].concat(i.message).map(Pe(i,o)):a.error&&(c=[a.error(i,qe(a.messages.required,i.field))]),t(c);var p={};i.defaultField&&Object.keys(r.value).map((function(e){p[e]=i.defaultField})),p=he({},p,r.rule.fields);var d={};Object.keys(p).forEach((function(e){var r=p[e],t=Array.isArray(r)?r:[r];d[e]=t.map(u.bind(null,e))}));var v=new e(d);v.messages(a.messages),r.rule.options&&(r.rule.options.messages=a.messages,r.rule.options.error=a.error),v.validate(r.value,r.rule.options||a,(function(e){var r=[];c&&c.length&&r.push.apply(r,c),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(c)}if(l=l&&(i.required||!i.required&&r.value),i.field=r.field,i.asyncValidator)n=i.asyncValidator(i,r.value,s,r.source,a);else if(i.validator){try{n=i.validator(i,r.value,s,r.source,a)}catch(c){null==console.error||console.error(c),a.suppressValidatorError||setTimeout((function(){throw c}),0),s(c.message)}!0===n?s():!1===n?s("function"==typeof i.message?i.message(i.fullField||i.field):i.message||(i.fullField||i.field)+" fails"):n instanceof Array?s(n):n instanceof Error&&s(n.message)}n&&n.then&&n.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){!function(e){for(var r,t,n=[],i={},a=0;a");var o=w("form"),a=h(),l=h(0),u=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";$((function(){t.default&&e.isAutoWidth&&("update"===r?l.value=function(){var e;if(null==(e=a.value)?void 0:e.firstElementChild){var r=window.getComputedStyle(a.value.firstElementChild).width;return Math.ceil(Number.parseFloat(r))}return 0}():"remove"===r&&(null==n||n.deregisterLabelWidth(l.value)))}))},s=function(){return u("update")};return N((function(){s()})),T((function(){u("remove")})),C((function(){return s()})),x(l,(function(r,t){e.updateAll&&(null==n||n.registerLabelWidth(r,t))})),D(y((function(){var e,r;return null!=(r=null==(e=a.value)?void 0:e.firstElementChild)?r:null})),s),function(){var r,u;if(!t)return null;if(e.isAutoWidth){var s=null==n?void 0:n.autoLabelWidth,f={};if((null==i?void 0:i.hasLabel)&&s&&"auto"!==s){var c=Math.max(0,Number.parseInt(s,10)-l.value),p=i.labelPosition||n.labelPosition;c&&(f["left"===p?"marginRight":"marginLeft"]="".concat(c,"px"))}return M("div",{ref:a,class:[o.be("item","label-wrap")],style:f},[null==(r=t.default)?void 0:r.call(t)])}return M(W,{ref:a},[null==(u=t.default)?void 0:u.call(t)])}}}),Je=g({name:"ElFormItem"}),Ye=g(f(f({},Je),{},{props:$e,setup:function(i,l){var u=l.expose,s=i,p=V(),d=z(F,void 0),g=z(B,void 0),_=b(void 0,{formItem:!1}),L=w("form-item"),R=G().value,C=h([]),D=h(""),W=J(D,100),ie=h(""),oe=h(),le=void 0,se=!1,fe=y((function(){return s.labelPosition||(null==d?void 0:d.labelPosition)})),ce=y((function(){if("top"===fe.value)return{};var e=Y(s.labelWidth||(null==d?void 0:d.labelWidth)||"");return e?{width:e}:{}})),pe=y((function(){if("top"===fe.value||(null==d?void 0:d.inline))return{};if(!s.label&&!s.labelWidth&&we)return{};var e=Y(s.labelWidth||(null==d?void 0:d.labelWidth)||"");return s.label||p.label?{}:{marginLeft:e}})),de=y((function(){return[L.b(),L.m(_.value),L.is("error","error"===D.value),L.is("validating","validating"===D.value),L.is("success","success"===D.value),L.is("required",je.value||s.required),L.is("no-asterisk",null==d?void 0:d.hideRequiredAsterisk),"right"===(null==d?void 0:d.requireAsteriskPosition)?"asterisk-right":"asterisk-left",c(c({},L.m("feedback"),null==d?void 0:d.statusIcon),L.m("label-".concat(fe.value)),fe.value)]})),ve=y((function(){return m(s.inlineMessage)?s.inlineMessage:(null==d?void 0:d.inlineMessage)||!1})),me=y((function(){return[L.e("error"),c({},L.em("error","inline"),ve.value)]})),he=y((function(){return s.prop?v(s.prop)?s.prop:s.prop.join("."):""})),ye=y((function(){return!(!s.label&&!p.label)})),ge=y((function(){return s.for||(1===C.value.length?C.value[0]:void 0)})),be=y((function(){return!ge.value&&ye.value})),we=!!g,xe=y((function(){var e=null==d?void 0:d.model;if(e&&s.prop)return Z(e,s.prop).value})),_e=y((function(){var e=s.required,n=[];s.rules&&n.push.apply(n,a(ae(s.rules)));var i=null==d?void 0:d.rules;if(i&&s.prop){var o=Z(i,s.prop).value;o&&n.push.apply(n,a(ae(o)))}if(void 0!==e){var l=n.map((function(e,r){return[e,r]})).filter((function(e){var t=r(e,1)[0];return Object.keys(t).includes("required")}));if(l.length>0){var u,c=t(l);try{for(c.s();!(u=c.n()).done;){var p=r(u.value,2),v=p[0],m=p[1];v.required!==e&&(n[m]=f(f({},v),{},{required:e}))}}catch(h){c.e(h)}finally{c.f()}}else n.push({required:e})}return n})),Oe=y((function(){return _e.value.length>0})),qe=function(r){return _e.value.filter((function(e){return!e.trigger||!r||(Array.isArray(e.trigger)?e.trigger.includes(r):e.trigger===r)})).map((function(r){r.trigger;return function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.includes(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.el-form-item.is-error .el-input__wrapper,.el-form-item.is-error .el-input__wrapper:hover,.el-form-item.is-error .el-input__wrapper:focus,.el-form-item.is-error .el-input__wrapper.is-focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:hover,.el-form-item.is-error .el-textarea__inner:focus,.el-form-item.is-error .el-textarea__inner.is-focus,.el-form-item.is-error .el-select__wrapper,.el-form-item.is-error .el-select__wrapper:hover,.el-form-item.is-error .el-select__wrapper:focus,.el-form-item.is-error .el-select__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0form-item.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0form-item.js new file mode 100644 index 000000000..a348c4d37 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0form-item.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,aY as r,$ as t,a8 as n,ag as a,aZ as i,a as l,C as s,q as u,aj as o,v as f,X as d,ae as c,x as p,r as v,af as g,a_ as h,o as y,c as m,z as b,n as w,D as q,_ as F,a$ as O,ab as x,b0 as j,ad as A,P as E,aw as P,b1 as S,aO as k,e as B,K as R,Q as _,aq as I,al as W,b2 as M,am as V,b3 as $,w as C,h as D,G as z,F as N,g as L,t as T,f as J,b as Z,b4 as G,I as Y,J as K}from"./087AC4D233B64EB0index.js";import{c as Q}from"./087AC4D233B64EB0castArray.js";import{b as U}from"./087AC4D233B64EB0_baseClone.js";function X(e){return U(e,4)}const H=e({size:{type:String,values:r},disabled:Boolean}),ee=e({...H,model:Object,rules:{type:t(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),re={validate:(e,r,t)=>(n(e)||a(e))&&i(r)&&a(t)};function te(){const e=l([]),r=s((()=>{if(!e.value.length)return"0";const r=Math.max(...e.value);return r?"".concat(r,"px"):""}));function t(t){const n=e.value.indexOf(t);return-1===n&&r.value,n}return{autoLabelWidth:r,registerLabelWidth:function(r,n){if(r&&n){const a=t(n);e.value.splice(a,1,r)}else r&&e.value.push(r)},deregisterLabelWidth:function(r){const n=t(r);n>-1&&e.value.splice(n,1)}}}const ne=(e,r)=>{const t=Q(r);return t.length>0?e.filter((e=>e.prop&&t.includes(e.prop))):e},ae=u({name:"ElForm"});var ie=F(u({...ae,props:ee,emits:re,setup(e,{expose:r,emit:t}){const n=e,a=[],i=o(),l=f("form"),u=s((()=>{const{labelPosition:e,inline:r}=n;return[l.b(),l.m(i.value||"default"),{[l.m("label-".concat(e))]:e,[l.m("inline")]:r}]})),F=(e=[])=>{n.model&&ne(a,e).forEach((e=>e.resetField()))},x=(e=[])=>{ne(a,e).forEach((e=>e.clearValidate()))},j=s((()=>!!n.model)),A=async e=>P(void 0,e),E=async(e=[])=>{if(!j.value)return!1;const r=(e=>{if(0===a.length)return[];const r=ne(a,e);return r.length?r:[]})(e);if(0===r.length)return!0;let t={};for(const a of r)try{await a.validate("")}catch(n){t={...t,...n}}return 0===Object.keys(t).length||Promise.reject(t)},P=async(e=[],r)=>{const t=!O(r);try{const t=await E(e);return!0===t&&await(null==r?void 0:r(t)),t}catch(a){if(a instanceof Error)throw a;const e=a;return n.scrollToError&&S(Object.keys(e)[0]),await(null==r?void 0:r(!1,e)),t&&Promise.reject(e)}},S=e=>{var r;const t=ne(a,e)[0];t&&(null==(r=t.$el)||r.scrollIntoView(n.scrollIntoViewOptions))};return d((()=>n.rules),(()=>{n.validateOnRuleChange&&A().catch((e=>c()))}),{deep:!0}),p(h,v({...g(n),emit:t,resetFields:F,clearValidate:x,validateField:P,getField:e=>a.find((r=>r.prop===e)),addField:e=>{a.push(e)},removeField:e=>{e.prop&&a.splice(a.indexOf(e),1)},...te()})),r({validate:A,validateField:P,resetFields:F,clearValidate:x,scrollToField:S,fields:a}),(e,r)=>(y(),m("form",{class:w(q(u))},[b(e.$slots,"default")],2))}}),[["__file","form.vue"]]);function le(){return le=Object.assign?Object.assign.bind():function(e){for(var r=1;r1?r-1:0),n=1;n=i)return e;switch(e){case"%s":return String(t[a++]);case"%d":return Number(t[a++]);case"%j":try{return JSON.stringify(t[a++])}catch(r){return"[Circular]"}break;default:return e}})):e}function ge(e,r){return null==e||(!("array"!==r||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(r)||"string"!=typeof e||e))}function he(e,r,t){var n=0,a=e.length;!function i(l){if(l&&l.length)t(l);else{var s=n;n+=1,s()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,xe=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,je={integer:function(e){return je.number(e)&&parseInt(e,10)===e},float:function(e){return je.number(e)&&!je.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(r){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!je.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(Oe)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(qe)return qe;var e="[a-fA-F\\d:]",r=function(r){return r&&r.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},t="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",a=("\n(?:\n(?:"+n+":){7}(?:"+n+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+n+":){6}(?:"+t+"|:"+n+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+n+":){5}(?::"+t+"|(?::"+n+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+n+":){4}(?:(?::"+n+"){0,1}:"+t+"|(?::"+n+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+n+":){3}(?:(?::"+n+"){0,2}:"+t+"|(?::"+n+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+n+":){2}(?:(?::"+n+"){0,3}:"+t+"|(?::"+n+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+n+":){1}(?:(?::"+n+"){0,4}:"+t+"|(?::"+n+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+n+"){0,5}:"+t+"|(?::"+n+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+t+"$)|(?:^"+a+"$)"),l=new RegExp("^"+t+"$"),s=new RegExp("^"+a+"$"),u=function(e){return e&&e.exact?i:new RegExp("(?:"+r(e)+t+r(e)+")|(?:"+r(e)+a+r(e)+")","g")};u.v4=function(e){return e&&e.exact?l:new RegExp(""+r(e)+t+r(e),"g")},u.v6=function(e){return e&&e.exact?s:new RegExp(""+r(e)+a+r(e),"g")};var o=u.v4().source,f=u.v6().source;return qe=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+o+"|"+f+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(xe)}},Ae="enum",Ee={required:Fe,whitespace:function(e,r,t,n,a){(/^\s+$/.test(r)||""===r)&&n.push(ve(a.messages.whitespace,e.fullField))},type:function(e,r,t,n,a){if(e.required&&void 0===r)Fe(e,r,t,n,a);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?je[i](r)||n.push(ve(a.messages.types[i],e.fullField,e.type)):i&&typeof r!==e.type&&n.push(ve(a.messages.types[i],e.fullField,e.type))}},range:function(e,r,t,n,a){var i="number"==typeof e.len,l="number"==typeof e.min,s="number"==typeof e.max,u=r,o=null,f="number"==typeof r,d="string"==typeof r,c=Array.isArray(r);if(f?o="number":d?o="string":c&&(o="array"),!o)return!1;c&&(u=r.length),d&&(u=r.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?u!==e.len&&n.push(ve(a.messages[o].len,e.fullField,e.len)):l&&!s&&ue.max?n.push(ve(a.messages[o].max,e.fullField,e.max)):l&&s&&(ue.max)&&n.push(ve(a.messages[o].range,e.fullField,e.min,e.max))},enum:function(e,r,t,n,a){e[Ae]=Array.isArray(e[Ae])?e[Ae]:[],-1===e[Ae].indexOf(r)&&n.push(ve(a.messages[Ae],e.fullField,e[Ae].join(", ")))},pattern:function(e,r,t,n,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(r)||n.push(ve(a.messages.pattern.mismatch,e.fullField,r,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(r)||n.push(ve(a.messages.pattern.mismatch,e.fullField,r,e.pattern))}}},Pe=function(e,r,t,n,a){var i=e.type,l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r,i)&&!e.required)return t();Ee.required(e,r,n,l,a,i),ge(r,i)||Ee.type(e,r,n,l,a)}t(l)},Se={string:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r,"string")&&!e.required)return t();Ee.required(e,r,n,i,a,"string"),ge(r,"string")||(Ee.type(e,r,n,i,a),Ee.range(e,r,n,i,a),Ee.pattern(e,r,n,i,a),!0===e.whitespace&&Ee.whitespace(e,r,n,i,a))}t(i)},method:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a),void 0!==r&&Ee.type(e,r,n,i,a)}t(i)},number:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===r&&(r=void 0),ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a),void 0!==r&&(Ee.type(e,r,n,i,a),Ee.range(e,r,n,i,a))}t(i)},boolean:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a),void 0!==r&&Ee.type(e,r,n,i,a)}t(i)},regexp:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a),ge(r)||Ee.type(e,r,n,i,a)}t(i)},integer:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a),void 0!==r&&(Ee.type(e,r,n,i,a),Ee.range(e,r,n,i,a))}t(i)},float:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a),void 0!==r&&(Ee.type(e,r,n,i,a),Ee.range(e,r,n,i,a))}t(i)},array:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(null==r&&!e.required)return t();Ee.required(e,r,n,i,a,"array"),null!=r&&(Ee.type(e,r,n,i,a),Ee.range(e,r,n,i,a))}t(i)},object:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a),void 0!==r&&Ee.type(e,r,n,i,a)}t(i)},enum:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a),void 0!==r&&Ee.enum(e,r,n,i,a)}t(i)},pattern:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r,"string")&&!e.required)return t();Ee.required(e,r,n,i,a),ge(r,"string")||Ee.pattern(e,r,n,i,a)}t(i)},date:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r,"date")&&!e.required)return t();var l;if(Ee.required(e,r,n,i,a),!ge(r,"date"))l=r instanceof Date?r:new Date(r),Ee.type(e,l,n,i,a),l&&Ee.range(e,l.getTime(),n,i,a)}t(i)},url:Pe,hex:Pe,email:Pe,required:function(e,r,t,n,a){var i=[],l=Array.isArray(r)?"array":typeof r;Ee.required(e,r,n,i,a,l),t(i)},any:function(e,r,t,n,a){var i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ge(r)&&!e.required)return t();Ee.required(e,r,n,i,a)}t(i)}};function ke(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Be=ke(),Re=function(){function e(e){this.rules=null,this._messages=Be,this.define(e)}var r=e.prototype;return r.define=function(e){var r=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(t){var n=e[t];r.rules[t]=Array.isArray(n)?n:[n]}))},r.messages=function(e){return e&&(this._messages=we(ke(),e)),this._messages},r.validate=function(r,t,n){var a=this;void 0===t&&(t={}),void 0===n&&(n=function(){});var i=r,l=t,s=n;if("function"==typeof l&&(s=l,l={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,i),Promise.resolve(i);if(l.messages){var u=this.messages();u===Be&&(u=ke()),we(u,l.messages),l.messages=u}else l.messages=this.messages();var o={};(l.keys||Object.keys(this.rules)).forEach((function(e){var t=a.rules[e],n=i[e];t.forEach((function(t){var l=t;"function"==typeof l.transform&&(i===r&&(i=le({},i)),n=i[e]=l.transform(n)),(l="function"==typeof l?{validator:l}:le({},l)).validator=a.getValidationMethod(l),l.validator&&(l.field=e,l.fullField=l.fullField||e,l.type=a.getType(l),o[e]=o[e]||[],o[e].push({rule:l,value:n,source:i,field:e}))}))}));var f={};return me(o,l,(function(r,t){var n,a=r.rule,s=!("object"!==a.type&&"array"!==a.type||"object"!=typeof a.fields&&"object"!=typeof a.defaultField);function u(e,r){return le({},r,{fullField:a.fullField+"."+e,fullFields:a.fullFields?[].concat(a.fullFields,[e]):[e]})}function o(n){void 0===n&&(n=[]);var o=Array.isArray(n)?n:[n];!l.suppressWarning&&o.length&&e.warning("async-validator:",o),o.length&&void 0!==a.message&&(o=[].concat(a.message));var d=o.map(be(a,i));if(l.first&&d.length)return f[a.field]=1,t(d);if(s){if(a.required&&!r.value)return void 0!==a.message?d=[].concat(a.message).map(be(a,i)):l.error&&(d=[l.error(a,ve(l.messages.required,a.field))]),t(d);var c={};a.defaultField&&Object.keys(r.value).map((function(e){c[e]=a.defaultField})),c=le({},c,r.rule.fields);var p={};Object.keys(c).forEach((function(e){var r=c[e],t=Array.isArray(r)?r:[r];p[e]=t.map(u.bind(null,e))}));var v=new e(p);v.messages(l.messages),r.rule.options&&(r.rule.options.messages=l.messages,r.rule.options.error=l.error),v.validate(r.value,r.rule.options||l,(function(e){var r=[];d&&d.length&&r.push.apply(r,d),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(d)}if(s=s&&(a.required||!a.required&&r.value),a.field=r.field,a.asyncValidator)n=a.asyncValidator(a,r.value,o,r.source,l);else if(a.validator){try{n=a.validator(a,r.value,o,r.source,l)}catch(d){null==console.error||console.error(d),l.suppressValidatorError||setTimeout((function(){throw d}),0),o(d.message)}!0===n?o():!1===n?o("function"==typeof a.message?a.message(a.fullField||a.field):a.message||(a.fullField||a.field)+" fails"):n instanceof Array?o(n):n instanceof Error&&o(n.message)}n&&n.then&&n.then((function(){return o()}),(function(e){return o(e)}))}),(function(e){!function(e){for(var r,t,n=[],a={},l=0;l");const a=f("form"),i=l(),u=l(0),o=(n="update")=>{_((()=>{r.default&&e.isAutoWidth&&("update"===n?u.value=(()=>{var e;if(null==(e=i.value)?void 0:e.firstElementChild){const e=window.getComputedStyle(i.value.firstElementChild).width;return Math.ceil(Number.parseFloat(e))}return 0})():"remove"===n&&(null==t||t.deregisterLabelWidth(u.value)))}))},c=()=>o("update");return E((()=>{c()})),P((()=>{o("remove")})),S((()=>c())),d(u,((r,n)=>{e.updateAll&&(null==t||t.registerLabelWidth(r,n))})),k(s((()=>{var e,r;return null!=(r=null==(e=i.value)?void 0:e.firstElementChild)?r:null})),c),()=>{var l,s;if(!r)return null;const{isAutoWidth:o}=e;if(o){const e=null==t?void 0:t.autoLabelWidth,s={};if((null==n?void 0:n.hasLabel)&&e&&"auto"!==e){const r=Math.max(0,Number.parseInt(e,10)-u.value),a=n.labelPosition||t.labelPosition;r&&(s["left"===a?"marginRight":"marginLeft"]="".concat(r,"px"))}return B("div",{ref:i,class:[a.be("item","label-wrap")],style:s},[null==(l=r.default)?void 0:l.call(r)])}return B(R,{ref:i},[null==(s=r.default)?void 0:s.call(r)])}}});const Me=u({name:"ElFormItem"});var Ve=F(u({...Me,props:_e,setup(e,{expose:r}){const t=e,n=I(),u=x(h,void 0),c=x(j,void 0),F=o(void 0,{formItem:!1}),A=f("form-item"),S=W().value,k=l([]),R=l(""),Y=M(R,100),K=l(""),U=l();let H,ee=!1;const re=s((()=>t.labelPosition||(null==u?void 0:u.labelPosition))),te=s((()=>{if("top"===re.value)return{};const e=V(t.labelWidth||(null==u?void 0:u.labelWidth)||"");return e?{width:e}:{}})),ne=s((()=>{if("top"===re.value||(null==u?void 0:u.inline))return{};if(!t.label&&!t.labelWidth&&de)return{};const e=V(t.labelWidth||(null==u?void 0:u.labelWidth)||"");return t.label||n.label?{}:{marginLeft:e}})),ae=s((()=>[A.b(),A.m(F.value),A.is("error","error"===R.value),A.is("validating","validating"===R.value),A.is("success","success"===R.value),A.is("required",ge.value||t.required),A.is("no-asterisk",null==u?void 0:u.hideRequiredAsterisk),"right"===(null==u?void 0:u.requireAsteriskPosition)?"asterisk-right":"asterisk-left",{[A.m("feedback")]:null==u?void 0:u.statusIcon,[A.m("label-".concat(re.value))]:re.value}])),ie=s((()=>i(t.inlineMessage)?t.inlineMessage:(null==u?void 0:u.inlineMessage)||!1)),le=s((()=>[A.e("error"),{[A.em("error","inline")]:ie.value}])),se=s((()=>t.prop?a(t.prop)?t.prop:t.prop.join("."):"")),ue=s((()=>!(!t.label&&!n.label))),oe=s((()=>t.for||(1===k.value.length?k.value[0]:void 0))),fe=s((()=>!oe.value&&ue.value)),de=!!c,ce=s((()=>{const e=null==u?void 0:u.model;if(e&&t.prop)return $(e,t.prop).value})),pe=s((()=>{const{required:e}=t,r=[];t.rules&&r.push(...Q(t.rules));const n=null==u?void 0:u.rules;if(n&&t.prop){const e=$(n,t.prop).value;e&&r.push(...Q(e))}if(void 0!==e){const t=r.map(((e,r)=>[e,r])).filter((([e])=>Object.keys(e).includes("required")));if(t.length>0)for(const[n,a]of t)n.required!==e&&(r[a]={...n,required:e});else r.push({required:e})}return r})),ve=s((()=>pe.value.length>0)),ge=s((()=>pe.value.some((e=>e.required)))),he=s((()=>{var e;return"error"===Y.value&&t.showMessage&&(null==(e=null==u?void 0:u.showMessage)||e)})),ye=s((()=>"".concat(t.label||"").concat((null==u?void 0:u.labelSuffix)||""))),me=e=>{R.value=e},be=async e=>{const r=se.value;return new Re({[r]:e}).validate({[r]:ce.value},{firstFields:!0}).then((()=>(me("success"),null==u||u.emit("validate",t.prop,!0,""),!0))).catch((e=>((e=>{var r,n;const{errors:a,fields:i}=e;a&&i||console.error(e),me("error"),K.value=a?null!=(n=null==(r=null==a?void 0:a[0])?void 0:r.message)?n:"".concat(t.prop," is required"):"",null==u||u.emit("validate",t.prop,!1,K.value)})(e),Promise.reject(e))))},we=async(e,r)=>{if(ee||!t.prop)return!1;const n=O(r);if(!ve.value)return null==r||r(!1),!1;const a=(e=>pe.value.filter((r=>!r.trigger||!e||(Array.isArray(r.trigger)?r.trigger.includes(e):r.trigger===e))).map((({trigger:e,...r})=>r)))(e);return 0===a.length?(null==r||r(!0),!0):(me("validating"),be(a).then((()=>(null==r||r(!0),!0))).catch((e=>{const{fields:t}=e;return null==r||r(!1,t),!n&&Promise.reject(t)})))},qe=()=>{me(""),K.value="",ee=!1},Fe=async()=>{const e=null==u?void 0:u.model;if(!e||!t.prop)return;const r=$(e,t.prop);ee=!0,r.value=X(H),await _(),qe(),ee=!1};d((()=>t.error),(e=>{K.value=e||"",me(e?"error":"")}),{immediate:!0}),d((()=>t.validateStatus),(e=>me(e||"")));const Oe=v({...g(t),$el:U,size:F,validateState:R,labelId:S,inputIds:k,isGroup:fe,hasLabel:ue,fieldValue:ce,addInputId:e=>{k.value.includes(e)||k.value.push(e)},removeInputId:e=>{k.value=k.value.filter((r=>r!==e))},resetField:Fe,clearValidate:qe,validate:we});return p(j,Oe),E((()=>{t.prop&&(null==u||u.addField(Oe),H=X(ce.value))})),P((()=>{null==u||u.removeField(Oe)})),r({size:F,validateMessage:K,validateState:R,validate:we,clearValidate:qe,resetField:Fe}),(e,r)=>{var t;return y(),m("div",{ref_key:"formItemRef",ref:U,class:w(q(ae)),role:q(fe)?"group":void 0,"aria-labelledby":q(fe)?q(S):void 0},[B(q(We),{"is-auto-width":"auto"===q(te).width,"update-all":"auto"===(null==(t=q(u))?void 0:t.labelWidth)},{default:C((()=>[q(ue)?(y(),D(z(q(oe)?"label":"div"),{key:0,id:q(S),for:q(oe),class:w(q(A).e("label")),style:N(q(te))},{default:C((()=>[b(e.$slots,"label",{label:q(ye)},(()=>[L(T(q(ye)),1)]))])),_:3},8,["id","for","class","style"])):J("v-if",!0)])),_:3},8,["is-auto-width","update-all"]),Z("div",{class:w(q(A).e("content")),style:N(q(ne))},[b(e.$slots,"default"),B(G,{name:"".concat(q(A).namespace.value,"-zoom-in-top")},{default:C((()=>[q(he)?b(e.$slots,"error",{key:0,error:K.value},(()=>[Z("div",{class:w(q(le))},T(K.value),3)])):J("v-if",!0)])),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}}),[["__file","form-item.vue"]]);const $e=Y(ie,{FormItem:Ve}),Ce=K(Ve);export{$e as E,Ce as a}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0format-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0format-legacy.js new file mode 100644 index 000000000..8d589d6bd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0format-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0date-legacy.js","./087AC4D233B64EB0index-legacy.js"],(function(e,n){"use strict";var t;return{setters:[function(e){t=e.f},null],execute:function(){e("a",(function(e){return null!==e?e?"是":"否":""})),e("f",(function(e){if(null!==e&&""!==e){var n=new Date(e);return t(n,"yyyy-MM-dd hh:mm:ss")}return""}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0format.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0format.js new file mode 100644 index 000000000..f28ae0301 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0format.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{f as r}from"./087AC4D233B64EB0date.js";import"./087AC4D233B64EB0index.js";const s=r=>null!==r?r?"是":"否":"",t=s=>{if(null!==s&&""!==s){var t=new Date(s);return r(t,"yyyy-MM-dd hh:mm:ss")}return""};export{s as a,t as f}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github-legacy.js new file mode 100644 index 000000000..a25608d04 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,e){"use strict";var r;return{setters:[function(t){r=t.M}],execute:function(){t({C:function(t){return e({url:"https://api.github.com/repos/flipped-aurora/gin-vue-admin/commits?page="+t,method:"get"})},M:function(){return e({url:"https://api.github.com/orgs/FLIPPED-AURORA/members",method:"get"})}});var e=r.create()}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github.js new file mode 100644 index 000000000..febbbf659 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{M as t}from"./087AC4D233B64EB0index.js";const e=t.create();function r(t){return e({url:"https://api.github.com/repos/flipped-aurora/gin-vue-admin/commits?page="+t,method:"get"})}function o(){return e({url:"https://api.github.com/orgs/FLIPPED-AURORA/members",method:"get"})}export{r as C,o as M}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github.png new file mode 100644 index 000000000..d1d200ed1 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0github.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph-legacy.js new file mode 100644 index 000000000..997adcd8d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){var t=["children"],e=["children"];function r(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var a=0,i=function(){};return{s:i,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){s=!0,o=t},f:function(){try{c||null==r.return||r.return()}finally{if(s)throw o}}}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--i){var o=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),z(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;z(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,r,n,a,i,o){try{var c=t[i](o),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,a)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(n,a){var o=t.apply(e,r);function c(t){i(o,n,a,c,s,"next",t)}function s(t){i(o,n,a,c,s,"throw",t)}c(void 0)}))}}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e=0}));a&&a.length>0&&(n=a||[]),n.length>0?e(n):r()}))},E=function(e){return new Promise((function(r,n){var a=[];C.forEach((function(t){O(a,t,0)}));for(var i=[],o=0,c=a;o0?r(i):n(new Error("节点展开失败"))}))};function O(t,r,n){var a=r.children,i=h(r,e);t.push(s(s({},i),{},{parentId:n})),a&&a.length>0&&a.forEach((function(e){O(t,e,r.id)}))}var S={name:"Charts",components:{},mixins:[],props:{chartList:{type:Array,required:!0}},watch:{chartList:{handler:function(t){this.formatData(t||[],!0)}}},data:function(){return{myChart:"",seriesData:[],seriesLinks:[],lastClickId:""}},computed:{},methods:{nodeClick:function(t){var e=this;return o(a().mark((function r(){var n,i,o;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.seriesData.findIndex((function(e){return e.id===t.data.id})),!(i=e.seriesData[n]).isRoot){r.next=4;break}return r.abrupt("return");case 4:if(i.isClicked){r.next=14;break}return e.lastClickId=i.id,i.isClicked=!0,e.seriesData.splice(n,1,i),r.next=10,E(i.id);case 10:o=r.sent,e.formatData(o),r.next=17;break;case 14:i.isClicked=!1,e.seriesData.splice(n,1,i),e.removeChilds(i.id);case 17:case"end":return r.stop()}}),r)})))()},initCharts:function(){var t=this;this.myChart||(this.myChart=c(document.getElementById("chart")),this.myChart.on("click",(function(e){"node"===e.dataType&&(t.nodeClick(e),console.log("params",e))})));var e={animationDurationUpdate:1500,animationEasingUpdate:"quinticInOut",tooltip:{show:!1},series:[{type:"graph",layout:"force",legendHoverLink:!0,hoverAnimation:!0,edgeLabel:{position:"middle",normal:{formatter:"{c}",show:!0}},edgeSymbol:["arrow",""],force:{gravity:.1,edgeLength:[100,300],repulsion:350},roam:!0,draggable:!0,itemStyle:{normal:{color:"#00FAE1",cursor:"pointer",label:{show:!0,position:[-10,-15],textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:12}},nodeStyle:{brushType:"both",borderColor:"rgba(255,215,0,0.4)",borderWidth:1}},emphasis:{shadowColor:"#00FAE1",shadowOffsetX:0,shadowOffsetY:0,shadowBlur:40,focus:"adjacency"}},lineStyle:{width:2,color:"source",curveness:.05},label:{color:"#00FAE1",fontSize:18},symbolSize:14,links:this.seriesLinks,data:this.seriesData,cursor:"pointer"}]};console.log("option",e),this.myChart.setOption(e)},formatData:function(t){var e,r,n=[],a=[],i=[],o="";if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){this.seriesData=[],this.seriesLinks=[],n=[].concat(t[0].children);var c={id:o=t[0].id+"",name:t[0].name,category:t[0].categary,isClicked:!0,isRoot:!0,symbolSize:30};a.push(c)}else n=[].concat(t),o=this.lastClickId;n.forEach((function(t,e){var r=t.id+"",n={id:r,parentId:o,category:t.categary,name:t.name,isClicked:!1};a.push(n),o!=t.id&&i.push({value:t.categary,target:o,source:r})})),(e=this.seriesData).push.apply(e,a),(r=this.seriesLinks).push.apply(r,i),this.initCharts()},removeChilds:function(t){var e=[],r=[],n=[];this.getDeleteParentIds(n,[t]),this.seriesData.map((function(t){n.includes(t.id)||e.push(t)})),this.seriesLinks.map((function(t){n.includes(t.source)||n.includes(t.target)||r.push(t)})),this.seriesData=[].concat(e),this.seriesLinks=[].concat(r),this.initCharts()},getDeleteParentIds:function(t,e){var r=[];this.seriesData.map((function(t){e.includes(t.parentId)&&r.push(t.id)})),r.length>0&&(t.push.apply(t,r),this.getDeleteParentIds(t,r))}},created:function(){},mounted:function(){},beforeDestroy:function(){}},D={id:"chart",class:"chart"};var I=u(S,[["render",function(t,e,r,n,a,i){return l(),d("div",D)}],["__scopeId","data-v-af289616"]]),z={class:"container"},j=["onClick"],P=["x","y","font-size","fill-opacity","fill"];var A=u({name:"Keywords",components:{},mixins:[],props:{},data:function(){return{tags:[],RADIUS:200,ZRADIUS:200,CX:600,CY:300,speedX:Math.PI/360,speedY:Math.PI/360}},computed:{},methods:{nodeClick:function(t){this.$emit("searchData",t.text)},initTags:function(){for(var t=[].concat(k),e=[],r=t.length,n=0;n0?Math.min(2e-5*this.RADIUS,1e-4*e):Math.max(2e-5*-this.RADIUS,1e-4*e),this.speedY=1e-4*r>0?Math.min(2e-5*this.RADIUS,1e-4*r):Math.max(2e-5*-this.RADIUS,1e-4*r)},resizeWindow:function(){var t=document.body.clientHeight,e=document.body.clientWidth;(e*=.85)>1200&&(this.CX=e/2),t-=150,this.CY=t/2;var r=Math.min(this.CY,this.CX)/2;r>200&&(this.RADIUS=r),this.initTags(),this.$emit("windowResize")}},created:function(){},mounted:function(){var t=this;this.resizeWindow(),window.addEventListener("resize",this.resizeWindow),this.initTags(),setInterval((function(){t.rotateX(t.speedX),t.rotateY(t.speedY)}),17)},beforeDestroy:function(){interval.value&&clearInterval(interval.value),window.removeEventListener("resize",this.resizeWindow)}},[["render",function(t,e,r,n,a,i){return l(),d("div",z,[(l(),d("svg",{class:"keywords",onMousemove:e[0]||(e[0]=function(t){return i.listener(t)})},[(l(!0),d(f,null,p(a.tags,(function(t,e){return l(),d("a",{href:"javascript:void(0)",key:e,onClick:function(e){return i.nodeClick(t)}},[y("text",{class:"text",x:t.x,y:t.y,"font-size":600/(600-t.z)*20,"fill-opacity":(400+t.z)/600,fill:t.color},m(t.text),9,P)],8,j)})),128))],32))])}],["__scopeId","data-v-1cfd4d7a"]]),_={class:"container"},M={class:"center"},R={class:"header"},Y={class:"canvas"};var X=u({name:"KnowledgeGraph",components:{Keywords:A,Charts:I},mixins:[],props:{},data:function(){return{searchContent:"",type:1,searchList:[]}},computed:{},methods:{checkList:function(t){var e=this;return o(a().mark((function r(){var n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t||(t=e.searchContent),t){r.next=4;break}return e.type=1,r.abrupt("return");case 4:return r.prev=4,r.next=7,L(t);case 7:return n=r.sent,e.type=2,e.searchList=[].concat(n),r.next=12,e.windowResize();case 12:r.next=17;break;case 14:r.prev=14,r.t0=r.catch(4),alert("未查询到数据,请更改查询条件");case 17:e.windowResize();case 18:case"end":return r.stop()}}),r,null,[[4,14]])})))()},windowResize:function(){var t=this;return o(a().mark((function e(){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(r=t.$refs.charts)&&r.myChart&&r.myChart.resize();case 2:case"end":return e.stop()}}),e)})))()}},created:function(){},mounted:function(){this.type=1,this.$count.value=this.$count.value+1,1===this.$count.value&&(console.log("向数据、分类中添加"),k.push("红色经典"))},beforeDestroy:function(){}},[["render",function(t,e,r,n,a,i){var o=A,c=I;return l(),d("div",_,[y("div",M,[y("div",R,[g(y("input",{type:"text",class:"ipt","onUpdate:modelValue":e[0]||(e[0]=function(t){return a.searchContent=t}),onKeydown:e[1]||(e[1]=b((function(t){return i.checkList()}),["enter"])),placeholder:"搜索:文物试试"},null,544),[[v,a.searchContent]]),e[2]||(e[2]=y("p",{class:"tips"},[y("span",null,"搜索示例:文物")],-1))]),y("div",Y,[g(x(o,{onSearchData:i.checkList,onWindowResize:i.windowResize},null,8,["onSearchData","onWindowResize"]),[[w,1===a.type]]),g(x(c,{ref:"charts",chartList:a.searchList},null,8,["chartList"]),[[w,2===a.type]])])])])}],["__scopeId","data-v-bf10b303"]]),U={id:"graph"};n("default",{__name:"graph",setup:function(t){return function(t,e){return l(),d("div",U,[x(X)])}}})}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph.css new file mode 100644 index 000000000..7517c2f1b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.chart[data-v-af289616]{height:100%}.container[data-v-1cfd4d7a],.keywords[data-v-1cfd4d7a]{width:100%;height:100%}.keywords .text[data-v-1cfd4d7a]:hover{font-size:200%}.container[data-v-bf10b303]{min-width:100%;overflow:hidden;position:relative;min-height:100vh}.canvas[data-v-bf10b303]{margin-top:10px;height:calc(100vh - 110px)}.center[data-v-bf10b303]{position:relative;min-width:1200px;margin:0 auto;width:100%}.header[data-v-bf10b303]{padding-top:30px}.ipt[data-v-bf10b303]{border:1px solid #9093c7;border-radius:20px;width:374px;height:44px;line-height:44px;box-sizing:border-box;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc}.tips[data-v-bf10b303]{font-size:14px;color:#ccc;line-height:17px;margin-top:5px}#graph{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;background-color:#0b2838}body,html{margin:0;padding:0}input{outline:none;padding-left:24px;padding-right:41px}input::-webkit-input-placeholder{color:#ccc;font-size:14px}input::-moz-placeholder{color:#ccc;font-size:14px}input:-ms-input-placeholder{color:#ccc;font-size:14px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph.js new file mode 100644 index 000000000..10e410f1d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0graph.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{i as e}from"./087AC4D233B64EB0index23.js";import{_ as t}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{o as a,c as i,K as s,L as n,b as r,t as c,S as o,ao as d,m as h,Y as l,e as m}from"./087AC4D233B64EB0index.js";const y=[{id:1e4,name:"文物",categary:"",children:[{id:2,name:"三星堆",categary:""},{id:3,name:"古器物",categary:"",children:[{id:30101,name:"瓷器",categary:"",children:[{id:3010101,name:"青花瓷",categary:""},{id:3010102,name:"白瓷",categary:""},{id:3010103,name:"黑瓷",categary:""},{id:3010104,name:"珐琅彩",categary:""}]},{id:30102,name:"陶器",categary:""},{id:30103,name:"石器",categary:""},{id:30104,name:"骨器",categary:""}]},{id:4,name:"书卷",categary:"",children:[{id:30401,name:"四大名著",categary:""},{id:30402,name:"永乐大典",categary:""},{id:30403,name:"多宝塔碑",categary:""},{id:30404,name:"兰亭集序",categary:""}]}]},{id:2e4,name:"动物形象",categary:"",children:[{id:1599811251651,name:"龙",categary:""},{id:1599811251652,name:"凤凰",categary:""},{id:1599811251653,name:"牛",categary:""},{id:1599811251654,name:"马",categary:""},{id:1599811251655,name:"羊",categary:""},{id:1599811251656,name:"鹤",categary:""}]},{id:3e4,name:"文艺经典",categary:"",children:[{id:1599811494936,name:"小说",categary:""},{id:1599811494937,name:"戏剧",categary:""},{id:1599811494938,name:"唐诗",categary:""},{id:1599811494939,name:"宋词",categary:""},{id:1599811494930,name:"元曲",categary:""},{id:1599811494931,name:"绘画",categary:""}]},{id:9e4,name:"机器人",categary:"",children:[{id:1599814026913,name:"Robot",categary:""},{id:1599814026914,name:"自动执行工作的机器装置",categary:""},{id:1599814026915,name:"人工智能技术",categary:""},{id:1599814026916,name:"微型计算机",categary:""},{id:1599814026917,name:"电能",categary:""}]},{id:90010,name:"景点",categary:"",children:[{id:1599814026922,name:"北京",categary:""},{id:1599814026923,name:"江苏",categary:""},{id:1599814026924,name:"上海",categary:""},{id:1599814026925,name:"山东",categary:""},{id:1599814026926,name:"山西",categary:""}]},{id:90020,name:"电影",categary:"",children:[{id:1599814026931,name:"动作电影",categary:""},{id:1599814026932,name:"推理电影",categary:""},{id:1599814026933,name:"悬疑电影",categary:""},{id:1599814026934,name:"恐怖电影",categary:""},{id:1599814026935,name:"喜剧电影",categary:""}]},{id:90020,name:"流行元素",categary:"",children:[{id:1599814026941,name:"爆炸",categary:""},{id:1599814026942,name:"涂鸦",categary:""},{id:1599814026943,name:"气球",categary:""},{id:1599814026944,name:"羽毛",categary:""},{id:1599814026945,name:"闪光",categary:""}]},{id:90020,name:"歌曲",categary:"",children:[{id:1599814026951,name:"流行",categary:""},{id:1599814026952,name:"摇滚",categary:""},{id:1599814026953,name:"爵士",categary:""},{id:1599814026954,name:"古典",categary:""},{id:1599814026955,name:"弦乐",categary:""}]}],g=["文物","动物形象","文艺经典","机器人","景点","电影","流行元素","歌曲"];const p=e=>new Promise(((t,a)=>{let i=[];y.forEach((e=>{u(i,e,0)}));let s=[];for(let n of i)if(n.parentId.toString()===e){const{children:e,...t}=n;s.push({...t})}s.length>0?t(s):a(new Error("节点展开失败"))}));function u(e,t,a){const{children:i,...s}=t;e.push({...s,parentId:a}),i&&i.length>0&&i.forEach((a=>{u(e,a,t.id)}))}const f={id:"chart",class:"chart"};const C=t({name:"Charts",components:{},mixins:[],props:{chartList:{type:Array,required:!0}},watch:{chartList:{handler(e){this.formatData(e||[],!0)}}},data:()=>({myChart:"",seriesData:[],seriesLinks:[],lastClickId:""}),computed:{},methods:{async nodeClick(e){const t=this.seriesData.findIndex((t=>t.id===e.data.id)),a=this.seriesData[t];if(!a.isRoot)if(a.isClicked)a.isClicked=!1,this.seriesData.splice(t,1,a),this.removeChilds(a.id);else{this.lastClickId=a.id,a.isClicked=!0,this.seriesData.splice(t,1,a);let e=await p(a.id);this.formatData(e)}},initCharts(){this.myChart||(this.myChart=e(document.getElementById("chart")),this.myChart.on("click",(e=>{"node"===e.dataType&&(this.nodeClick(e),console.log("params",e))})));let t={animationDurationUpdate:1500,animationEasingUpdate:"quinticInOut",tooltip:{show:!1},series:[{type:"graph",layout:"force",legendHoverLink:!0,hoverAnimation:!0,edgeLabel:{position:"middle",normal:{formatter:"{c}",show:!0}},edgeSymbol:["arrow",""],force:{gravity:.1,edgeLength:[100,300],repulsion:350},roam:!0,draggable:!0,itemStyle:{normal:{color:"#00FAE1",cursor:"pointer",label:{show:!0,position:[-10,-15],textStyle:{color:"#fff",fontStyle:"normal",fontWeight:"bolder",fontFamily:"sans-serif",fontSize:12}},nodeStyle:{brushType:"both",borderColor:"rgba(255,215,0,0.4)",borderWidth:1}},emphasis:{shadowColor:"#00FAE1",shadowOffsetX:0,shadowOffsetY:0,shadowBlur:40,focus:"adjacency"}},lineStyle:{width:2,color:"source",curveness:.05},label:{color:"#00FAE1",fontSize:18},symbolSize:14,links:this.seriesLinks,data:this.seriesData,cursor:"pointer"}]};console.log("option",t),this.myChart.setOption(t)},formatData(e,t=!1){let a=[];const i=[],s=[];let n="";if(t){this.seriesData=[],this.seriesLinks=[],a=[].concat(e[0].children),n=e[0].id+"";const t={id:n,name:e[0].name,category:e[0].categary,isClicked:!0,isRoot:!0,symbolSize:30};i.push(t)}else a=[].concat(e),n=this.lastClickId;a.forEach(((e,t)=>{const a=e.id+"",r={id:a,parentId:n,category:e.categary,name:e.name,isClicked:!1};i.push(r),n!=e.id&&s.push({value:e.categary,target:n,source:a})})),this.seriesData.push(...i),this.seriesLinks.push(...s),this.initCharts()},removeChilds(e){let t=[],a=[],i=[];this.getDeleteParentIds(i,[e]),this.seriesData.map((e=>{i.includes(e.id)||t.push(e)})),this.seriesLinks.map((e=>{i.includes(e.source)||i.includes(e.target)||a.push(e)})),this.seriesData=[].concat(t),this.seriesLinks=[].concat(a),this.initCharts()},getDeleteParentIds(e,t){let a=[];this.seriesData.map((e=>{t.includes(e.parentId)&&a.push(e.id)})),a.length>0&&(e.push(...a),this.getDeleteParentIds(e,a))}},created(){},mounted(){},beforeDestroy(){}},[["render",function(e,t,s,n,r,c){return a(),i("div",f)}],["__scopeId","data-v-af289616"]]),v={class:"container"},w=["onClick"],D=["x","y","font-size","fill-opacity","fill"];const I=t({name:"Keywords",components:{},mixins:[],props:{},data:()=>({tags:[],RADIUS:200,ZRADIUS:200,CX:600,CY:300,speedX:Math.PI/360,speedY:Math.PI/360}),computed:{},methods:{nodeClick(e){this.$emit("searchData",e.text)},initTags(){const e=[...g];let t=[];const a=e.length;for(let i=0;i0?Math.min(2e-5*this.RADIUS,1e-4*t):Math.max(2e-5*-this.RADIUS,1e-4*t),this.speedY=1e-4*a>0?Math.min(2e-5*this.RADIUS,1e-4*a):Math.max(2e-5*-this.RADIUS,1e-4*a)},resizeWindow(){let e=document.body.clientHeight,t=document.body.clientWidth;t*=.85,t>1200&&(this.CX=t/2),e-=150,this.CY=e/2;let a=Math.min(this.CY,this.CX)/2;a>200&&(this.RADIUS=a),this.initTags(),this.$emit("windowResize")}},created(){},mounted(){this.resizeWindow(),window.addEventListener("resize",this.resizeWindow),this.initTags(),setInterval((()=>{this.rotateX(this.speedX),this.rotateY(this.speedY)}),17)},beforeDestroy(){interval.value&&clearInterval(interval.value),window.removeEventListener("resize",this.resizeWindow)}},[["render",function(e,t,o,d,h,l){return a(),i("div",v,[(a(),i("svg",{class:"keywords",onMousemove:t[0]||(t[0]=e=>l.listener(e))},[(a(!0),i(s,null,n(h.tags,((e,t)=>(a(),i("a",{href:"javascript:void(0)",key:t,onClick:t=>l.nodeClick(e)},[r("text",{class:"text",x:e.x,y:e.y,"font-size":600/(600-e.z)*20,"fill-opacity":(400+e.z)/600,fill:e.color},c(e.text),9,D)],8,w)))),128))],32))])}],["__scopeId","data-v-1cfd4d7a"]]),z={class:"container"},k={class:"center"},x={class:"header"},S={class:"canvas"};const b=t({name:"KnowledgeGraph",components:{Keywords:I,Charts:C},mixins:[],props:{},data:()=>({searchContent:"",type:1,searchList:[]}),computed:{},methods:{async checkList(e){if(e||(e=this.searchContent),e){try{let a=await(t=e,new Promise(((e,a)=>{let i=[],s=y.filter((e=>e.name.indexOf(t)>=0));s&&s.length>0&&(i=s||[]),i.length>0?e(i):a()})));this.type=2,this.searchList=[].concat(a),await this.windowResize()}catch(a){alert("未查询到数据,请更改查询条件")}var t;this.windowResize()}else this.type=1},async windowResize(){const e=this.$refs.charts;e&&e.myChart&&e.myChart.resize()}},created(){},mounted(){this.type=1,this.$count.value=this.$count.value+1,1===this.$count.value&&(console.log("向数据、分类中添加"),g.push("红色经典"))},beforeDestroy(){}},[["render",function(e,t,s,n,c,y){const g=I,p=C;return a(),i("div",z,[r("div",k,[r("div",x,[o(r("input",{type:"text",class:"ipt","onUpdate:modelValue":t[0]||(t[0]=e=>c.searchContent=e),onKeydown:t[1]||(t[1]=h((e=>y.checkList()),["enter"])),placeholder:"搜索:文物试试"},null,544),[[d,c.searchContent]]),t[2]||(t[2]=r("p",{class:"tips"},[r("span",null,"搜索示例:文物")],-1))]),r("div",S,[o(m(g,{onSearchData:y.checkList,onWindowResize:y.windowResize},null,8,["onSearchData","onWindowResize"]),[[l,1===c.type]]),o(m(p,{ref:"charts",chartList:c.searchList},null,8,["chartList"]),[[l,2===c.type]])])])])}],["__scopeId","data-v-bf10b303"]]),M={id:"graph"},L={__name:"graph",setup:e=>(e,t)=>(a(),i("div",M,[m(b)]))};export{L as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0history-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0history-legacy.js new file mode 100644 index 000000000..4c30e25e9 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0history-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function t(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0tab-pane-legacy.js","./087AC4D233B64EB0strings-legacy.js"],(function(n,a){"use strict";var r,u,o,i,l,s,c,v,f,m,p,d,y,g,b,h,O,S,x,w,j,k,I,C,q,P;return{setters:[function(e){r=e.an,u=e.u,o=e.a,i=e.l,l=e.C,s=e.X,c=e.aA,v=e.R,f=e.o,m=e.c,p=e.e,d=e.w,y=e.K,g=e.L,b=e.h,h=e.b,O=e.F,S=e.D,x=e.g,w=e.t,j=e.aB,k=e.ak,I=e.S,C=e.Y},function(e){q=e.E,P=e.a},null],execute:function(){var a=document.createElement("style");a.textContent='.contextmenu{width:100px;margin:0;border:1px solid #ccc;background:#fff;z-index:3000;position:absolute;list-style-type:none;padding:5px 0;border-radius:4px;font-size:14px;color:#333;box-shadow:2px 2px 3px rgba(0,0,0,.2)}.el-tabs__item .el-icon-close{color:initial!important}.el-tabs__item .dot{content:"";width:9px;height:9px;margin-right:8px;display:inline-block;border-radius:50%;transition:background-color .2s}.contextmenu li{margin:0;padding:7px 16px}.contextmenu li:hover{background:#f2f2f2;cursor:pointer}\n',document.head.appendChild(a);var E={class:"router-history"},N=["tab"];n("default",Object.assign({name:"HistoryComponent"},{__name:"history",setup:function(n){var a=r(),J=u(),A=function(e){return e.name+JSON.stringify(e.query)+JSON.stringify(e.params)},D=o([]),_=o(""),B=o(!1),V=i(),T=function(e){return e.name+JSON.stringify(e.query)+JSON.stringify(e.params)},L=o(0),R=o(0),z=o(!1),K=o(!1),X=o(""),Y=l((function(){return V.userInfo.authority.defaultRouter})),F=function(){D.value=[{name:Y.value,meta:{title:"首页"},query:{},params:{}}],J.push({name:Y.value}),B.value=!1,sessionStorage.setItem("historys",JSON.stringify(D.value))},H=function(){var e,t=D.value.findIndex((function(t){return A(t)===X.value&&(e=t),A(t)===X.value})),n=D.value.findIndex((function(e){return A(e)===_.value}));D.value.splice(0,t),t>n&&J.push(e),sessionStorage.setItem("historys",JSON.stringify(D.value))},U=function(){var e,t=D.value.findIndex((function(t){return A(t)===X.value&&(e=t),A(t)===X.value})),n=D.value.findIndex((function(e){return A(e)===_.value}));D.value.splice(t+1,D.value.length),te.name+JSON.stringify(e.query)+JSON.stringify(e.params),j=s([]),B=s(""),V=s(!1),D=l(),L=e=>e.name+JSON.stringify(e.query)+JSON.stringify(e.params),P=s(0),R=s(0),T=s(!1),_=s(!1),K=s(""),X=t((()=>D.userInfo.authority.defaultRouter)),Y=()=>{j.value=[{name:X.value,meta:{title:"首页"},query:{},params:{}}],E.push({name:X.value}),V.value=!1,sessionStorage.setItem("historys",JSON.stringify(j.value))},F=()=>{let e;const a=j.value.findIndex((a=>(A(a)===K.value&&(e=a),A(a)===K.value))),s=j.value.findIndex((e=>A(e)===B.value));j.value.splice(0,a),a>s&&E.push(e),sessionStorage.setItem("historys",JSON.stringify(j.value))},H=()=>{let e;const a=j.value.findIndex((a=>(A(a)===K.value&&(e=a),A(a)===K.value))),s=j.value.findIndex((e=>A(e)===B.value));j.value.splice(a+1,j.value.length),a{let e;j.value=j.value.filter((a=>(A(a)===K.value&&(e=a),A(a)===K.value))),E.push(e),sessionStorage.setItem("historys",JSON.stringify(j.value))},$=e=>{if(!j.value.some((a=>((e,a)=>{if(e.name!==a.name)return!1;if(Object.keys(e.query).length!==Object.keys(a.query).length||Object.keys(e.params).length!==Object.keys(a.params).length)return!1;for(const s in e.query)if(e.query[s]!==a.query[s])return!1;for(const s in e.params)if(e.params[s]!==a.params[s])return!1;return!0})(a,e)))){const a={};a.name=e.name,a.meta={...e.meta},delete a.meta.matched,a.query=e.query,a.params=e.params,j.value.push(a)}window.sessionStorage.setItem("activeValue",A(e))},z=s({}),G=e=>{var a;const s=null==(a=null==e?void 0:e.props)?void 0:a.name;if(!s)return;const l=z.value[s];E.push({name:l.name,query:l.query,params:l.params})},M=e=>{const a=j.value.findIndex((a=>A(a)===e));A(J)===e&&(1===j.value.length?E.push({name:X.value}):aV.value),(()=>{V.value?document.body.addEventListener("click",(()=>{V.value=!1})):document.body.removeEventListener("click",(()=>{V.value=!1}))})),n((()=>J),((e,a)=>{"Login"!==e.name&&"Reload"!==e.name&&(j.value=j.value.filter((e=>!e.meta.closeTab)),$(e),sessionStorage.setItem("historys",JSON.stringify(j.value)),B.value=window.sessionStorage.getItem("activeValue"))}),{deep:!0}),n((()=>j.value),(()=>{sessionStorage.setItem("historys",JSON.stringify(j.value)),z.value={},j.value.forEach((e=>{z.value[A(e)]=e})),u.emit("setKeepAlive",j.value)}),{deep:!0});return(()=>{u.on("closeThisPage",(()=>{M(L(J))})),u.on("closeAllPage",(()=>{Y()})),u.on("mobile",(e=>{_.value=e})),u.on("collapse",(e=>{T.value=e}));const e=[{name:X.value,meta:{title:"首页"},query:{},params:{}}];j.value=JSON.parse(sessionStorage.getItem("historys"))||e,window.sessionStorage.getItem("activeValue")?B.value=window.sessionStorage.getItem("activeValue"):B.value=A(J),$(J),"true"===window.sessionStorage.getItem("needCloseAll")&&(Y(),window.sessionStorage.removeItem("needCloseAll"))})(),o((()=>{u.off("collapse"),u.off("mobile")})),(e,a)=>{const s=O,l=k;return r(),i("div",w,[v(l,{modelValue:B.value,"onUpdate:modelValue":a[0]||(a[0]=e=>B.value=e),closable:!(1===j.value.length&&e.$route.name===X.value),type:"card",onContextmenu:a[1]||(a[1]=I((e=>(e=>{if(1===j.value.length&&J.name===X.value)return!1;let a="";if(a="SPAN"===e.srcElement.nodeName?e.srcElement.offsetParent.id:e.srcElement.id,a){let s;V.value=!0,s=T.value?54:220,_.value&&(s=0),P.value=e.clientX-s,R.value=e.clientY+10,K.value=a.substring(4)}})(e)),["prevent"])),onTabClick:G,onTabRemove:M},{default:m((()=>[(r(!0),i(c,null,p(j.value,(e=>(r(),d(s,{key:L(e),label:e.meta.title,name:L(e),tab:e,class:"gva-tab"},{label:m((()=>[y("span",{tab:e,style:g({color:B.value===L(e)?f(D).activeColor:"#333"})},[y("i",{class:"dot",style:g({backgroundColor:B.value===L(e)?f(D).activeColor:"#ddd"})},null,4),h(" "+b(f(S)(e.meta.title,e)),1)],12,N)])),_:2},1032,["label","name","tab"])))),128))])),_:1},8,["modelValue","closable"]),q(y("ul",{style:g({left:P.value+"px",top:R.value+"px"}),class:"contextmenu"},[y("li",{onClick:Y},"关闭所有"),y("li",{onClick:F},"关闭左侧"),y("li",{onClick:H},"关闭右侧"),y("li",{onClick:U},"关闭其他")],4),[[C,V.value]])])}}});export{x as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon-legacy.js new file mode 100644 index 000000000..0b078f009 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0debounce-legacy.js"],(function(e,l){"use strict";var a,o,t,i,r,b,k,y,c,n,d,s,u,p,f,m;return{setters:[function(e){a=e.r,o=e.a,t=e.o,i=e.c,r=e.b,b=e.e,k=e.w,y=e.h,c=e.G,n=e.K,d=e.L,s=e.n,u=e.t,p=e.H},null,function(e){f=e.E,m=e.a},null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l=document.createElement("style");l.textContent=".gva-icon{color:#8492a6;font-size:14px;margin-right:10px}.gva-select .el-input__inner{padding:0 30px!important}.select__option_item{display:flex;align-items:center;justify-content:flex-start}\n",document.head.appendChild(l);var g={class:"gva-icon",style:{position:"absolute","z-index":"9999",padding:"3px 10px 0"}},h={style:{"text-align":"left"}};e("default",Object.assign({name:"Icon"},{__name:"icon",props:{meta:{default:function(){return{}},type:Object}},setup:function(e){var l=e,w=a([{key:"aim",label:"aim"},{key:"add-location",label:"add-location"},{key:"apple",label:"apple"},{key:"alarm-clock",label:"alarm-clock"},{key:"arrow-down",label:"arrow-down"},{key:"arrow-down-bold",label:"arrow-down-bold"},{key:"arrow-left",label:"arrow-left"},{key:"arrow-left-bold",label:"arrow-left-bold"},{key:"arrow-right-bold",label:"arrow-right-bold"},{key:"arrow-up",label:"arrow-up"},{key:"back",label:"back"},{key:"bell",label:"bell"},{key:"baseball",label:"baseball"},{key:"bicycle",label:"bicycle"},{key:"bell-filled",label:"bell-filled"},{key:"basketball",label:"basketball"},{key:"bottom",label:"bottom"},{key:"box",label:"box"},{key:"briefcase",label:"briefcase"},{key:"brush-filled",label:"brush-filled"},{key:"bowl",label:"bowl"},{key:"avatar",label:"avatar"},{key:"brush",label:"brush"},{key:"burger",label:"burger"},{key:"camera",label:"camera"},{key:"bottom-left",label:"bottom-left"},{key:"calendar",label:"calendar"},{key:"caret-bottom",label:"caret-bottom"},{key:"caret-left",label:"caret-left"},{key:"caret-right",label:"caret-right"},{key:"caret-top",label:"caret-top"},{key:"chat-dot-square",label:"chat-dot-square"},{key:"cellphone",label:"cellphone"},{key:"chat-dot-round",label:"chat-dot-round"},{key:"chat-line-square",label:"chat-line-square"},{key:"chat-line-round",label:"chat-line-round"},{key:"chat-round",label:"chat-round"},{key:"check",label:"check"},{key:"chat-square",label:"chat-square"},{key:"cherry",label:"cherry"},{key:"chicken",label:"chicken"},{key:"circle-check-filled",label:"circle-check-filled"},{key:"circle-check",label:"circle-check"},{key:"checked",label:"checked"},{key:"circle-close-filled",label:"circle-close-filled"},{key:"circle-close",label:"circle-close"},{key:"arrow-right",label:"arrow-right"},{key:"circle-plus",label:"circle-plus"},{key:"clock",label:"clock"},{key:"close-bold",label:"close-bold"},{key:"close",label:"close"},{key:"cloudy",label:"cloudy"},{key:"circle-plus-filled",label:"circle-plus-filled"},{key:"coffee-cup",label:"coffee-cup"},{key:"cold-drink",label:"cold-drink"},{key:"coin",label:"coin"},{key:"arrow-up-bold",label:"arrow-up-bold"},{key:"collection-tag",label:"collection-tag"},{key:"bottom-right",label:"bottom-right"},{key:"coffee",label:"coffee"},{key:"camera-filled",label:"camera-filled"},{key:"collection",label:"collection"},{key:"cpu",label:"cpu"},{key:"crop",label:"crop"},{key:"coordinate",label:"coordinate"},{key:"d-arrow-left",label:"d-arrow-left"},{key:"compass",label:"compass"},{key:"connection",label:"connection"},{key:"credit-card",label:"credit-card"},{key:"data-board",label:"data-board"},{key:"d-arrow-right",label:"d-arrow-right"},{key:"dessert",label:"dessert"},{key:"delete-location",label:"delete-location"},{key:"d-caret",label:"d-caret"},{key:"delete",label:"delete"},{key:"dish",label:"dish"},{key:"dish-dot",label:"dish-dot"},{key:"document-copy",label:"document-copy"},{key:"discount",label:"discount"},{key:"document-checked",label:"document-checked"},{key:"document-add",label:"document-add"},{key:"document-remove",label:"document-remove"},{key:"data-analysis",label:"data-analysis"},{key:"delete-filled",label:"delete-filled"},{key:"download",label:"download"},{key:"drizzling",label:"drizzling"},{key:"eleme",label:"eleme"},{key:"eleme-filled",label:"eleme-filled"},{key:"edit",label:"edit"},{key:"failed",label:"failed"},{key:"expand",label:"expand"},{key:"female",label:"female"},{key:"document",label:"document"},{key:"film",label:"film"},{key:"finished",label:"finished"},{key:"data-line",label:"data-line"},{key:"filter",label:"filter"},{key:"flag",label:"flag"},{key:"folder-checked",label:"folder-checked"},{key:"first-aid-kit",label:"first-aid-kit"},{key:"folder-add",label:"folder-add"},{key:"fold",label:"fold"},{key:"folder-delete",label:"folder-delete"},{key:"document-delete",label:"document-delete"},{key:"folder",label:"folder"},{key:"food",label:"food"},{key:"folder-opened",label:"folder-opened"},{key:"football",label:"football"},{key:"folder-remove",label:"folder-remove"},{key:"fries",label:"fries"},{key:"full-screen",label:"full-screen"},{key:"fork-spoon",label:"fork-spoon"},{key:"goblet",label:"goblet"},{key:"goblet-full",label:"goblet-full"},{key:"goods",label:"goods"},{key:"goblet-square-full",label:"goblet-square-full"},{key:"goods-filled",label:"goods-filled"},{key:"grid",label:"grid"},{key:"grape",label:"grape"},{key:"goblet-square",label:"goblet-square"},{key:"headset",label:"headset"},{key:"comment",label:"comment"},{key:"help-filled",label:"help-filled"},{key:"histogram",label:"histogram"},{key:"home-filled",label:"home-filled"},{key:"help",label:"help"},{key:"house",label:"house"},{key:"ice-cream-round",label:"ice-cream-round"},{key:"hot-water",label:"hot-water"},{key:"ice-cream",label:"ice-cream"},{key:"files",label:"files"},{key:"ice-cream-square",label:"ice-cream-square"},{key:"key",label:"key"},{key:"ice-tea",label:"ice-tea"},{key:"knife-fork",label:"knife-fork"},{key:"iphone",label:"iphone"},{key:"info-filled",label:"info-filled"},{key:"link",label:"link"},{key:"ice-drink",label:"ice-drink"},{key:"lightning",label:"lightning"},{key:"loading",label:"loading"},{key:"lollipop",label:"lollipop"},{key:"location-information",label:"location-information"},{key:"lock",label:"lock"},{key:"location-filled",label:"location-filled"},{key:"magnet",label:"magnet"},{key:"male",label:"male"},{key:"location",label:"location"},{key:"menu",label:"menu"},{key:"magic-stick",label:"magic-stick"},{key:"message-box",label:"message-box"},{key:"map-location",label:"map-location"},{key:"mic",label:"mic"},{key:"message",label:"message"},{key:"medal",label:"medal"},{key:"milk-tea",label:"milk-tea"},{key:"microphone",label:"microphone"},{key:"minus",label:"minus"},{key:"money",label:"money"},{key:"moon-night",label:"moon-night"},{key:"monitor",label:"monitor"},{key:"moon",label:"moon"},{key:"more",label:"more"},{key:"mostly-cloudy",label:"mostly-cloudy"},{key:"more-filled",label:"more-filled"},{key:"mouse",label:"mouse"},{key:"mug",label:"mug"},{key:"mute",label:"mute"},{key:"no-smoking",label:"no-smoking"},{key:"mute-notification",label:"mute-notification"},{key:"notification",label:"notification"},{key:"notebook",label:"notebook"},{key:"odometer",label:"odometer"},{key:"office-building",label:"office-building"},{key:"operation",label:"operation"},{key:"opportunity",label:"opportunity"},{key:"orange",label:"orange"},{key:"open",label:"open"},{key:"paperclip",label:"paperclip"},{key:"pear",label:"pear"},{key:"partly-cloudy",label:"partly-cloudy"},{key:"phone",label:"phone"},{key:"picture-filled",label:"picture-filled"},{key:"phone-filled",label:"phone-filled"},{key:"picture-rounded",label:"picture-rounded"},{key:"guide",label:"guide"},{key:"place",label:"place"},{key:"platform",label:"platform"},{key:"pie-chart",label:"pie-chart"},{key:"pointer",label:"pointer"},{key:"plus",label:"plus"},{key:"position",label:"position"},{key:"postcard",label:"postcard"},{key:"present",label:"present"},{key:"price-tag",label:"price-tag"},{key:"promotion",label:"promotion"},{key:"pouring",label:"pouring"},{key:"reading-lamp",label:"reading-lamp"},{key:"question-filled",label:"question-filled"},{key:"printer",label:"printer"},{key:"picture",label:"picture"},{key:"refresh-right",label:"refresh-right"},{key:"reading",label:"reading"},{key:"refresh-left",label:"refresh-left"},{key:"refresh",label:"refresh"},{key:"refrigerator",label:"refrigerator"},{key:"remove-filled",label:"remove-filled"},{key:"right",label:"right"},{key:"scale-to-original",label:"scale-to-original"},{key:"school",label:"school"},{key:"remove",label:"remove"},{key:"scissor",label:"scissor"},{key:"select",label:"select"},{key:"management",label:"management"},{key:"search",label:"search"},{key:"sell",label:"sell"},{key:"semi-select",label:"semi-select"},{key:"share",label:"share"},{key:"setting",label:"setting"},{key:"service",label:"service"},{key:"ship",label:"ship"},{key:"set-up",label:"set-up"},{key:"shopping-bag",label:"shopping-bag"},{key:"shop",label:"shop"},{key:"shopping-cart",label:"shopping-cart"},{key:"shopping-cart-full",label:"shopping-cart-full"},{key:"soccer",label:"soccer"},{key:"sold-out",label:"sold-out"},{key:"smoking",label:"smoking"},{key:"sort-down",label:"sort-down"},{key:"sort",label:"sort"},{key:"sort-up",label:"sort-up"},{key:"star",label:"star"},{key:"stamp",label:"stamp"},{key:"star-filled",label:"star-filled"},{key:"stopwatch",label:"stopwatch"},{key:"success-filled",label:"success-filled"},{key:"suitcase",label:"suitcase"},{key:"sugar",label:"sugar"},{key:"sunny",label:"sunny"},{key:"sunrise",label:"sunrise"},{key:"switch",label:"switch"},{key:"ticket",label:"ticket"},{key:"sunset",label:"sunset"},{key:"tickets",label:"tickets"},{key:"switch-button",label:"switch-button"},{key:"takeaway-box",label:"takeaway-box"},{key:"toilet-paper",label:"toilet-paper"},{key:"timer",label:"timer"},{key:"tools",label:"tools"},{key:"top-left",label:"top-left"},{key:"top",label:"top"},{key:"top-right",label:"top-right"},{key:"trend-charts",label:"trend-charts"},{key:"turn-off",label:"turn-off"},{key:"unlock",label:"unlock"},{key:"trophy",label:"trophy"},{key:"umbrella",label:"umbrella"},{key:"upload-filled",label:"upload-filled"},{key:"user-filled",label:"user-filled"},{key:"upload",label:"upload"},{key:"user",label:"user"},{key:"van",label:"van"},{key:"copy-document",label:"copy-document"},{key:"video-pause",label:"video-pause"},{key:"video-camera-filled",label:"video-camera-filled"},{key:"view",label:"view"},{key:"wallet",label:"wallet"},{key:"warning-filled",label:"warning-filled"},{key:"watch",label:"watch"},{key:"video-play",label:"video-play"},{key:"watermelon",label:"watermelon"},{key:"video-camera",label:"video-camera"},{key:"wallet-filled",label:"wallet-filled"},{key:"warning",label:"warning"},{key:"list",label:"list"},{key:"zoom-in",label:"zoom-in"},{key:"zoom-out",label:"zoom-out"},{key:"rank",label:"rank"},{key:"wind-power",label:"wind-power"}]),v=o(l.meta);return v.value.icon||(v.value.icon=w[0].label),function(e,l){var a=p,o=f,B=m;return t(),i("div",null,[r("span",g,[b(a,null,{default:k((function(){return[(t(),y(c(v.value.icon)))]})),_:1})]),b(B,{modelValue:v.value.icon,"onUpdate:modelValue":l[0]||(l[0]=function(e){return v.value.icon=e}),style:{width:"100%"},clearable:"",filterable:"",class:"gva-select",placeholder:"请选择"},{default:k((function(){return[(t(!0),i(n,null,d(w,(function(e){return t(),y(o,{key:e.key,class:"select__option_item",label:e.key,value:e.key},{default:k((function(){return[r("span",{class:s(["gva-icon",e.label]),style:{padding:"3px 0 0"}},[b(a,null,{default:k((function(){return[(t(),y(c(e.label)))]})),_:2},1024)],2),r("span",h,u(e.key),1)]})),_:2},1032,["label","value"])})),128))]})),_:1},8,["modelValue"])])}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon.css new file mode 100644 index 000000000..0426d8ebf --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.gva-icon{color:#8492a6;font-size:14px;margin-right:10px}.gva-select .el-input__inner{padding:0 30px!important}.select__option_item{display:flex;align-items:center;justify-content:flex-start} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon.js new file mode 100644 index 000000000..98f7ed1c4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0icon.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{r as e,a as l,o as a,c as o,b as t,e as b,w as i,h as r,G as k,K as y,L as c,n as s,t as d,H as n}from"./087AC4D233B64EB0index.js";import"./087AC4D233B64EB0tag.js";import{E as p,a as m}from"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0debounce.js";const u={class:"gva-icon",style:{position:"absolute","z-index":"9999",padding:"3px 10px 0"}},f={style:{"text-align":"left"}},h=Object.assign({name:"Icon"},{__name:"icon",props:{meta:{default:function(){return{}},type:Object}},setup(h){const g=h,w=e([{key:"aim",label:"aim"},{key:"add-location",label:"add-location"},{key:"apple",label:"apple"},{key:"alarm-clock",label:"alarm-clock"},{key:"arrow-down",label:"arrow-down"},{key:"arrow-down-bold",label:"arrow-down-bold"},{key:"arrow-left",label:"arrow-left"},{key:"arrow-left-bold",label:"arrow-left-bold"},{key:"arrow-right-bold",label:"arrow-right-bold"},{key:"arrow-up",label:"arrow-up"},{key:"back",label:"back"},{key:"bell",label:"bell"},{key:"baseball",label:"baseball"},{key:"bicycle",label:"bicycle"},{key:"bell-filled",label:"bell-filled"},{key:"basketball",label:"basketball"},{key:"bottom",label:"bottom"},{key:"box",label:"box"},{key:"briefcase",label:"briefcase"},{key:"brush-filled",label:"brush-filled"},{key:"bowl",label:"bowl"},{key:"avatar",label:"avatar"},{key:"brush",label:"brush"},{key:"burger",label:"burger"},{key:"camera",label:"camera"},{key:"bottom-left",label:"bottom-left"},{key:"calendar",label:"calendar"},{key:"caret-bottom",label:"caret-bottom"},{key:"caret-left",label:"caret-left"},{key:"caret-right",label:"caret-right"},{key:"caret-top",label:"caret-top"},{key:"chat-dot-square",label:"chat-dot-square"},{key:"cellphone",label:"cellphone"},{key:"chat-dot-round",label:"chat-dot-round"},{key:"chat-line-square",label:"chat-line-square"},{key:"chat-line-round",label:"chat-line-round"},{key:"chat-round",label:"chat-round"},{key:"check",label:"check"},{key:"chat-square",label:"chat-square"},{key:"cherry",label:"cherry"},{key:"chicken",label:"chicken"},{key:"circle-check-filled",label:"circle-check-filled"},{key:"circle-check",label:"circle-check"},{key:"checked",label:"checked"},{key:"circle-close-filled",label:"circle-close-filled"},{key:"circle-close",label:"circle-close"},{key:"arrow-right",label:"arrow-right"},{key:"circle-plus",label:"circle-plus"},{key:"clock",label:"clock"},{key:"close-bold",label:"close-bold"},{key:"close",label:"close"},{key:"cloudy",label:"cloudy"},{key:"circle-plus-filled",label:"circle-plus-filled"},{key:"coffee-cup",label:"coffee-cup"},{key:"cold-drink",label:"cold-drink"},{key:"coin",label:"coin"},{key:"arrow-up-bold",label:"arrow-up-bold"},{key:"collection-tag",label:"collection-tag"},{key:"bottom-right",label:"bottom-right"},{key:"coffee",label:"coffee"},{key:"camera-filled",label:"camera-filled"},{key:"collection",label:"collection"},{key:"cpu",label:"cpu"},{key:"crop",label:"crop"},{key:"coordinate",label:"coordinate"},{key:"d-arrow-left",label:"d-arrow-left"},{key:"compass",label:"compass"},{key:"connection",label:"connection"},{key:"credit-card",label:"credit-card"},{key:"data-board",label:"data-board"},{key:"d-arrow-right",label:"d-arrow-right"},{key:"dessert",label:"dessert"},{key:"delete-location",label:"delete-location"},{key:"d-caret",label:"d-caret"},{key:"delete",label:"delete"},{key:"dish",label:"dish"},{key:"dish-dot",label:"dish-dot"},{key:"document-copy",label:"document-copy"},{key:"discount",label:"discount"},{key:"document-checked",label:"document-checked"},{key:"document-add",label:"document-add"},{key:"document-remove",label:"document-remove"},{key:"data-analysis",label:"data-analysis"},{key:"delete-filled",label:"delete-filled"},{key:"download",label:"download"},{key:"drizzling",label:"drizzling"},{key:"eleme",label:"eleme"},{key:"eleme-filled",label:"eleme-filled"},{key:"edit",label:"edit"},{key:"failed",label:"failed"},{key:"expand",label:"expand"},{key:"female",label:"female"},{key:"document",label:"document"},{key:"film",label:"film"},{key:"finished",label:"finished"},{key:"data-line",label:"data-line"},{key:"filter",label:"filter"},{key:"flag",label:"flag"},{key:"folder-checked",label:"folder-checked"},{key:"first-aid-kit",label:"first-aid-kit"},{key:"folder-add",label:"folder-add"},{key:"fold",label:"fold"},{key:"folder-delete",label:"folder-delete"},{key:"document-delete",label:"document-delete"},{key:"folder",label:"folder"},{key:"food",label:"food"},{key:"folder-opened",label:"folder-opened"},{key:"football",label:"football"},{key:"folder-remove",label:"folder-remove"},{key:"fries",label:"fries"},{key:"full-screen",label:"full-screen"},{key:"fork-spoon",label:"fork-spoon"},{key:"goblet",label:"goblet"},{key:"goblet-full",label:"goblet-full"},{key:"goods",label:"goods"},{key:"goblet-square-full",label:"goblet-square-full"},{key:"goods-filled",label:"goods-filled"},{key:"grid",label:"grid"},{key:"grape",label:"grape"},{key:"goblet-square",label:"goblet-square"},{key:"headset",label:"headset"},{key:"comment",label:"comment"},{key:"help-filled",label:"help-filled"},{key:"histogram",label:"histogram"},{key:"home-filled",label:"home-filled"},{key:"help",label:"help"},{key:"house",label:"house"},{key:"ice-cream-round",label:"ice-cream-round"},{key:"hot-water",label:"hot-water"},{key:"ice-cream",label:"ice-cream"},{key:"files",label:"files"},{key:"ice-cream-square",label:"ice-cream-square"},{key:"key",label:"key"},{key:"ice-tea",label:"ice-tea"},{key:"knife-fork",label:"knife-fork"},{key:"iphone",label:"iphone"},{key:"info-filled",label:"info-filled"},{key:"link",label:"link"},{key:"ice-drink",label:"ice-drink"},{key:"lightning",label:"lightning"},{key:"loading",label:"loading"},{key:"lollipop",label:"lollipop"},{key:"location-information",label:"location-information"},{key:"lock",label:"lock"},{key:"location-filled",label:"location-filled"},{key:"magnet",label:"magnet"},{key:"male",label:"male"},{key:"location",label:"location"},{key:"menu",label:"menu"},{key:"magic-stick",label:"magic-stick"},{key:"message-box",label:"message-box"},{key:"map-location",label:"map-location"},{key:"mic",label:"mic"},{key:"message",label:"message"},{key:"medal",label:"medal"},{key:"milk-tea",label:"milk-tea"},{key:"microphone",label:"microphone"},{key:"minus",label:"minus"},{key:"money",label:"money"},{key:"moon-night",label:"moon-night"},{key:"monitor",label:"monitor"},{key:"moon",label:"moon"},{key:"more",label:"more"},{key:"mostly-cloudy",label:"mostly-cloudy"},{key:"more-filled",label:"more-filled"},{key:"mouse",label:"mouse"},{key:"mug",label:"mug"},{key:"mute",label:"mute"},{key:"no-smoking",label:"no-smoking"},{key:"mute-notification",label:"mute-notification"},{key:"notification",label:"notification"},{key:"notebook",label:"notebook"},{key:"odometer",label:"odometer"},{key:"office-building",label:"office-building"},{key:"operation",label:"operation"},{key:"opportunity",label:"opportunity"},{key:"orange",label:"orange"},{key:"open",label:"open"},{key:"paperclip",label:"paperclip"},{key:"pear",label:"pear"},{key:"partly-cloudy",label:"partly-cloudy"},{key:"phone",label:"phone"},{key:"picture-filled",label:"picture-filled"},{key:"phone-filled",label:"phone-filled"},{key:"picture-rounded",label:"picture-rounded"},{key:"guide",label:"guide"},{key:"place",label:"place"},{key:"platform",label:"platform"},{key:"pie-chart",label:"pie-chart"},{key:"pointer",label:"pointer"},{key:"plus",label:"plus"},{key:"position",label:"position"},{key:"postcard",label:"postcard"},{key:"present",label:"present"},{key:"price-tag",label:"price-tag"},{key:"promotion",label:"promotion"},{key:"pouring",label:"pouring"},{key:"reading-lamp",label:"reading-lamp"},{key:"question-filled",label:"question-filled"},{key:"printer",label:"printer"},{key:"picture",label:"picture"},{key:"refresh-right",label:"refresh-right"},{key:"reading",label:"reading"},{key:"refresh-left",label:"refresh-left"},{key:"refresh",label:"refresh"},{key:"refrigerator",label:"refrigerator"},{key:"remove-filled",label:"remove-filled"},{key:"right",label:"right"},{key:"scale-to-original",label:"scale-to-original"},{key:"school",label:"school"},{key:"remove",label:"remove"},{key:"scissor",label:"scissor"},{key:"select",label:"select"},{key:"management",label:"management"},{key:"search",label:"search"},{key:"sell",label:"sell"},{key:"semi-select",label:"semi-select"},{key:"share",label:"share"},{key:"setting",label:"setting"},{key:"service",label:"service"},{key:"ship",label:"ship"},{key:"set-up",label:"set-up"},{key:"shopping-bag",label:"shopping-bag"},{key:"shop",label:"shop"},{key:"shopping-cart",label:"shopping-cart"},{key:"shopping-cart-full",label:"shopping-cart-full"},{key:"soccer",label:"soccer"},{key:"sold-out",label:"sold-out"},{key:"smoking",label:"smoking"},{key:"sort-down",label:"sort-down"},{key:"sort",label:"sort"},{key:"sort-up",label:"sort-up"},{key:"star",label:"star"},{key:"stamp",label:"stamp"},{key:"star-filled",label:"star-filled"},{key:"stopwatch",label:"stopwatch"},{key:"success-filled",label:"success-filled"},{key:"suitcase",label:"suitcase"},{key:"sugar",label:"sugar"},{key:"sunny",label:"sunny"},{key:"sunrise",label:"sunrise"},{key:"switch",label:"switch"},{key:"ticket",label:"ticket"},{key:"sunset",label:"sunset"},{key:"tickets",label:"tickets"},{key:"switch-button",label:"switch-button"},{key:"takeaway-box",label:"takeaway-box"},{key:"toilet-paper",label:"toilet-paper"},{key:"timer",label:"timer"},{key:"tools",label:"tools"},{key:"top-left",label:"top-left"},{key:"top",label:"top"},{key:"top-right",label:"top-right"},{key:"trend-charts",label:"trend-charts"},{key:"turn-off",label:"turn-off"},{key:"unlock",label:"unlock"},{key:"trophy",label:"trophy"},{key:"umbrella",label:"umbrella"},{key:"upload-filled",label:"upload-filled"},{key:"user-filled",label:"user-filled"},{key:"upload",label:"upload"},{key:"user",label:"user"},{key:"van",label:"van"},{key:"copy-document",label:"copy-document"},{key:"video-pause",label:"video-pause"},{key:"video-camera-filled",label:"video-camera-filled"},{key:"view",label:"view"},{key:"wallet",label:"wallet"},{key:"warning-filled",label:"warning-filled"},{key:"watch",label:"watch"},{key:"video-play",label:"video-play"},{key:"watermelon",label:"watermelon"},{key:"video-camera",label:"video-camera"},{key:"wallet-filled",label:"wallet-filled"},{key:"warning",label:"warning"},{key:"list",label:"list"},{key:"zoom-in",label:"zoom-in"},{key:"zoom-out",label:"zoom-out"},{key:"rank",label:"rank"},{key:"wind-power",label:"wind-power"}]),v=l(g.meta);return v.value.icon||(v.value.icon=w[0].label),(e,l)=>{const h=n,g=p,B=m;return a(),o("div",null,[t("span",u,[b(h,null,{default:i((()=>[(a(),r(k(v.value.icon)))])),_:1})]),b(B,{modelValue:v.value.icon,"onUpdate:modelValue":l[0]||(l[0]=e=>v.value.icon=e),style:{width:"100%"},clearable:"",filterable:"",class:"gva-select",placeholder:"请选择"},{default:i((()=>[(a(!0),o(y,null,c(w,(e=>(a(),r(g,{key:e.key,class:"select__option_item",label:e.key,value:e.key},{default:i((()=>[t("span",{class:s(["gva-icon",e.label]),style:{padding:"3px 0 0"}},[b(h,null,{default:i((()=>[(a(),r(k(e.label)))])),_:2},1024)],2),t("span",f,d(e.key),1)])),_:2},1032,["label","value"])))),128))])),_:1},8,["modelValue"])])}}});export{h as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-legacy.js new file mode 100644 index 000000000..89df0c559 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,i){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:1920;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.file=t,this.fileSize=i,this.maxWH=n},(i=[{key:"compress",value:function(){var e=this,t=this.file.type,i=this.file.size/1024;return new Promise((function(n){var r=new FileReader;r.readAsDataURL(e.file),r.onload=function(){var a=document.createElement("canvas"),o=document.createElement("img");o.src=r.result,o.onload=function(){var r=a.getContext("2d"),u=e.dWH(o.width,o.height,e.maxWH);a.width=u.width,a.height=u.height,r.clearRect(0,0,a.width,a.height),r.drawImage(o,0,0,a.width,a.height);var l=a.toDataURL(t,.9),h=e.fileSizeKB(l);h>e.fileSize&&console.log("图片尺寸太大!"+i+" >> "+h);var f=e.dataURLtoBlob(l,t),c=new File([f],e.file.name);n(c)}}}))}},{key:"dWH",value:function(e,t,i){var n={width:e,height:t};return Math.max(e,t)>i?e>t?(n.width=i,n.height=Math.round(t*(i/e)),n):(n.height=i,n.width=Math.round(e*(i/t)),n):n}},{key:"fileSizeKB",value:function(e){return Math.round(3*e.split(",")[1].length/4/1024)}},{key:"dataURLtoBlob",value:function(e,t){for(var i=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(i.length),a=new Uint8Array(r),o=0;o=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:N(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},n}function t(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};if(!ne.value){var n=a.minScale,r=a.maxScale,l=i({zoomRate:a.zoomRate,rotateDeg:90,enableTransition:!0},t),c=l.zoomRate,u=l.rotateDeg,s=l.enableTransition;switch(e){case"zoomOut":ie.value.scale>n&&(ie.value.scale=Number.parseFloat((ie.value.scale/c).toFixed(3)));break;case"zoomIn":ie.value.scale0})),M=_((function(){var e=u.previewSrcList,t=u.initialIndex,n=t;return t>e.length-1&&(n=0),n})),X=_((function(){return"eager"!==u.loading&&(!T&&"lazy"===u.loading||u.lazy)})),$=function(){a&&(x.value=!0,w.value=!1,y.value=u.src)};function H(e){x.value=!1,w.value=!1,c("load",e)}function Z(e){x.value=!1,w.value=!0,c("error",e)}function W(){(function(e,t){if(!a||!e||!t)return!1;var n,r=e.getBoundingClientRect();return n=t instanceof Element?t.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},r.topn.top&&r.right>n.left&&r.left0?(e.preventDefault(),!1):void 0}function te(){G.value&&(l=U("wheel",ee,{passive:!1}),s=document.body.style.overflow,document.body.style.overflow="hidden",S.value=!0,c("show"))}function ne(){null==l||l(),document.body.style.overflow=s,S.value=!1,c("close")}function de(e){c("switch",e)}return k((function(){return u.src}),(function(){X.value?(x.value=!0,w.value=!1,Q(),q()):$()})),E((function(){X.value?q():$()})),function(e,t){return L(),F("div",le({ref_key:"container",ref:C},A(p),{class:[A(d).b(),e.$attrs.class]}),[w.value?V(e.$slots,"error",{key:0},(function(){return[I("div",{class:N(A(d).e("error"))},ae(A(f)("el.image.error")),3)]})):(L(),F(R,{key:1},[void 0!==y.value?(L(),F("img",le({key:0},A(h),{src:y.value,loading:e.loading,style:A(D),class:A(Y),crossorigin:e.crossorigin,onClick:te,onLoad:H,onError:Z}),null,16,["src","loading","crossorigin"])):B("v-if",!0),x.value?(L(),F("div",{key:1,class:N(A(d).e("wrapper"))},[V(e.$slots,"placeholder",{},(function(){return[I("div",{class:N(A(d).e("placeholder"))},null,2)]}))],2)):B("v-if",!0)],64)),A(G)?(L(),F(R,{key:2},[S.value?(L(),j(A(be),{key:0,"z-index":e.zIndex,"initial-index":A(M),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"url-list":e.previewSrcList,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:ne,onSwitch:de},{default:z((function(){return[e.$slots.viewer?(L(),F("div",{key:0},[V(e.$slots,"viewer")])):B("v-if",!0)]})),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):B("v-if",!0)],64)):B("v-if",!0)],16)}}}));r("E",ne(Q(ke,[["__file","image.vue"]])))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-viewer.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-viewer.css new file mode 100644 index 000000000..4c02a15c2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-viewer.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-image__error,.el-image__placeholder,.el-image__wrapper,.el-image__inner{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top;opacity:1}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{position:absolute;top:0;left:0}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{display:flex;justify-content:center;align-items:center;font-size:14px;background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle}.el-image__preview{cursor:pointer}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none}.el-image-viewer__btn .el-icon{font-size:inherit;cursor:pointer}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:40px}.el-image-viewer__canvas{position:static;width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.el-image-viewer__actions{left:50%;bottom:30px;transform:translate(-50%);width:282px;height:44px;padding:0 23px;background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;cursor:default;font-size:23px;color:#fff;display:flex;align-items:center;justify-content:space-around}.el-image-viewer__prev{top:50%;transform:translateY(-50%);left:40px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__next{top:50%;transform:translateY(-50%);right:40px;text-indent:2px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__close{width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-viewer.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-viewer.js new file mode 100644 index 000000000..29c1cf6a5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image-viewer.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{bk as e,b5 as a,A as t,$ as n,aL as l,a7 as o,q as i,cv as s,cw as r,cx as c,ah as u,v as d,bF as v,a as f,cy as m,O as p,C as g,X as y,Q as b,P as k,o as w,h,w as x,e as C,Z as z,b as I,n as _,D as O,F as S,ak as E,f as N,H as A,bJ as B,c as L,K as T,ct as R,aJ as Y,cz as D,cA as M,G as X,cB as j,cC as F,L as $,S as P,Y as H,z as W,_ as G,a9 as K,ac as Z,cD as q,I as J,cE as V,bu as Q,cF as U,t as ee,ay as ae,bE as te,ag as ne,cG as le,cH as oe}from"./087AC4D233B64EB0index.js";import{E as ie}from"./087AC4D233B64EB0index21.js";import{d as se}from"./087AC4D233B64EB0debounce.js";function re(e,t,n){var l=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return a(n)&&(l="leading"in n?!!n.leading:l,o="trailing"in n?!!n.trailing:o),se(e,t,{leading:l,maxWait:t,trailing:o})}const ce=t({urlList:{type:n(Array),default:()=>l([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:n(String)}}),ue={close:()=>!0,switch:e=>o(e),rotate:e=>o(e)},de=i({name:"ElImageViewer"});const ve=J(G(i({...de,props:ce,emits:ue,setup(e,{expose:a,emit:t}){var n;const l=e,o={CONTAIN:{name:"contain",icon:s(r)},ORIGINAL:{name:"original",icon:s(c)}},{t:i}=u(),G=d("image-viewer"),{nextZIndex:J}=v(),V=f(),Q=f([]),U=m(),ee=f(!0),ae=f(l.initialIndex),te=p(o.CONTAIN),ne=f({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),le=f(null!=(n=l.zIndex)?n:J()),oe=g((()=>{const{urlList:e}=l;return e.length<=1})),se=g((()=>0===ae.value)),ce=g((()=>ae.value===l.urlList.length-1)),ue=g((()=>l.urlList[ae.value])),de=g((()=>[G.e("btn"),G.e("prev"),G.is("disabled",!l.infinite&&se.value)])),ve=g((()=>[G.e("btn"),G.e("next"),G.is("disabled",!l.infinite&&ce.value)])),fe=g((()=>{const{scale:e,deg:a,offsetX:t,offsetY:n,enableTransition:l}=ne.value;let i=t/e,s=n/e;const r=a*Math.PI/180,c=Math.cos(r),u=Math.sin(r);i=i*c+s*u,s=s*c-t/e*u;const d={transform:"scale(".concat(e,") rotate(").concat(a,"deg) translate(").concat(i,"px, ").concat(s,"px)"),transition:l?"transform .3s":""};return te.value.name===o.CONTAIN.name&&(d.maxWidth=d.maxHeight="100%"),d}));function me(){U.stop(),t("close")}function pe(){ee.value=!1}function ge(e){ee.value=!1,e.target.alt=i("el.image.error")}function ye(e){if(ee.value||0!==e.button||!V.value)return;ne.value.enableTransition=!1;const{offsetX:a,offsetY:t}=ne.value,n=e.pageX,l=e.pageY,o=re((e=>{ne.value={...ne.value,offsetX:a+e.pageX-n,offsetY:t+e.pageY-l}})),i=K(document,"mousemove",o);K(document,"mouseup",(()=>{i()})),e.preventDefault()}function be(){ne.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function ke(){if(ee.value)return;const e=q(o),a=Object.values(o),t=te.value.name,n=(a.findIndex((e=>e.name===t))+1)%e.length;te.value=o[e[n]],be()}function we(e){const a=l.urlList.length;ae.value=(e+a)%a}function he(){se.value&&!l.infinite||we(ae.value-1)}function xe(){ce.value&&!l.infinite||we(ae.value+1)}function Ce(e,a={}){if(ee.value)return;const{minScale:n,maxScale:o}=l,{zoomRate:i,rotateDeg:s,enableTransition:r}={zoomRate:l.zoomRate,rotateDeg:90,enableTransition:!0,...a};switch(e){case"zoomOut":ne.value.scale>n&&(ne.value.scale=Number.parseFloat((ne.value.scale/i).toFixed(3)));break;case"zoomIn":ne.value.scale{b((()=>{const e=Q.value[0];(null==e?void 0:e.complete)||(ee.value=!0)}))})),y(ae,(e=>{be(),t("switch",e)})),k((()=>{var e,a;!function(){const e=re((e=>{switch(e.code){case Z.esc:l.closeOnPressEscape&&me();break;case Z.space:ke();break;case Z.left:he();break;case Z.up:Ce("zoomIn");break;case Z.right:xe();break;case Z.down:Ce("zoomOut")}})),a=re((e=>{Ce((e.deltaY||e.deltaX)<0?"zoomIn":"zoomOut",{zoomRate:l.zoomRate,enableTransition:!1})}));U.run((()=>{K(document,"keydown",e),K(document,"wheel",a)}))}(),null==(a=null==(e=V.value)?void 0:e.focus)||a.call(e)})),a({setActiveItem:we}),(e,a)=>(w(),h(O(ie),{to:"body",disabled:!e.teleported},{default:x((()=>[C(z,{name:"viewer-fade",appear:""},{default:x((()=>[I("div",{ref_key:"wrapper",ref:V,tabindex:-1,class:_(O(G).e("wrapper")),style:S({zIndex:le.value})},[I("div",{class:_(O(G).e("mask")),onClick:E((a=>e.hideOnClickModal&&me()),["self"])},null,10,["onClick"]),N(" CLOSE "),I("span",{class:_([O(G).e("btn"),O(G).e("close")]),onClick:me},[C(O(A),null,{default:x((()=>[C(O(B))])),_:1})],2),N(" ARROW "),O(oe)?N("v-if",!0):(w(),L(T,{key:0},[I("span",{class:_(O(de)),onClick:he},[C(O(A),null,{default:x((()=>[C(O(R))])),_:1})],2),I("span",{class:_(O(ve)),onClick:xe},[C(O(A),null,{default:x((()=>[C(O(Y))])),_:1})],2)],64)),N(" ACTIONS "),I("div",{class:_([O(G).e("btn"),O(G).e("actions")])},[I("div",{class:_(O(G).e("actions__inner"))},[C(O(A),{onClick:e=>Ce("zoomOut")},{default:x((()=>[C(O(D))])),_:1},8,["onClick"]),C(O(A),{onClick:e=>Ce("zoomIn")},{default:x((()=>[C(O(M))])),_:1},8,["onClick"]),I("i",{class:_(O(G).e("actions__divider"))},null,2),C(O(A),{onClick:ke},{default:x((()=>[(w(),h(X(O(te).icon)))])),_:1}),I("i",{class:_(O(G).e("actions__divider"))},null,2),C(O(A),{onClick:e=>Ce("anticlockwise")},{default:x((()=>[C(O(j))])),_:1},8,["onClick"]),C(O(A),{onClick:e=>Ce("clockwise")},{default:x((()=>[C(O(F))])),_:1},8,["onClick"])],2)],2),N(" CANVAS "),I("div",{class:_(O(G).e("canvas"))},[(w(!0),L(T,null,$(e.urlList,((a,t)=>P((w(),L("img",{ref_for:!0,ref:e=>Q.value[t]=e,key:a,src:a,style:S(O(fe)),class:_(O(G).e("img")),crossorigin:e.crossorigin,onLoad:pe,onError:ge,onMousedown:ye},null,46,["src","crossorigin"])),[[H,t===ae.value]]))),128))],2),W(e.$slots,"default")],6)])),_:3})])),_:3},8,["disabled"]))}}),[["__file","image-viewer.vue"]])),fe=t({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:n([String,Object])},previewSrcList:{type:n(Array),default:()=>l([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:n(String)}}),me={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>o(e),close:()=>!0,show:()=>!0},pe=i({name:"ElImage",inheritAttrs:!1});const ge=J(G(i({...pe,props:fe,emits:me,setup(a,{emit:t}){const n=a;let l="";const{t:o}=u(),i=d("image"),s=V(),r=g((()=>Q(Object.entries(s).filter((([e])=>/^(data-|on[A-Z])/i.test(e)||["id","style"].includes(e)))))),c=U({excludeListeners:!0,excludeKeys:g((()=>Object.keys(r.value)))}),v=f(),m=f(!1),p=f(!0),C=f(!1),z=f(),S=f(),E=e&&"loading"in HTMLImageElement.prototype;let A,B;const R=g((()=>[i.e("inner"),D.value&&i.e("preview"),p.value&&i.is("loading")])),Y=g((()=>{const{fit:a}=n;return e&&a?{objectFit:a}:{}})),D=g((()=>{const{previewSrcList:e}=n;return Array.isArray(e)&&e.length>0})),M=g((()=>{const{previewSrcList:e,initialIndex:a}=n;let t=a;return a>e.length-1&&(t=0),t})),X=g((()=>"eager"!==n.loading&&(!E&&"lazy"===n.loading||n.lazy))),j=()=>{e&&(p.value=!0,m.value=!1,v.value=n.src)};function F(e){p.value=!1,m.value=!1,t("load",e)}function $(e){p.value=!1,m.value=!0,t("error",e)}function P(){((a,t)=>{if(!e||!a||!t)return!1;const n=a.getBoundingClientRect();let l;return l=t instanceof Element?t.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.topl.top&&n.right>l.left&&n.leftP()),100))}function Z(){e&&S.value&&H&&(null==A||A(),S.value=void 0)}function q(e){if(e.ctrlKey)return e.deltaY<0||e.deltaY>0?(e.preventDefault(),!1):void 0}function J(){D.value&&(B=K("wheel",q,{passive:!1}),l=document.body.style.overflow,document.body.style.overflow="hidden",C.value=!0,t("show"))}function ie(){null==B||B(),document.body.style.overflow=l,C.value=!1,t("close")}function se(e){t("switch",e)}return y((()=>n.src),(()=>{X.value?(p.value=!0,m.value=!1,Z(),G()):j()})),k((()=>{X.value?G():j()})),(e,a)=>(w(),L("div",ae({ref_key:"container",ref:z},O(r),{class:[O(i).b(),e.$attrs.class]}),[m.value?W(e.$slots,"error",{key:0},(()=>[I("div",{class:_(O(i).e("error"))},ee(O(o)("el.image.error")),3)])):(w(),L(T,{key:1},[void 0!==v.value?(w(),L("img",ae({key:0},O(c),{src:v.value,loading:e.loading,style:O(Y),class:O(R),crossorigin:e.crossorigin,onClick:J,onLoad:F,onError:$}),null,16,["src","loading","crossorigin"])):N("v-if",!0),p.value?(w(),L("div",{key:1,class:_(O(i).e("wrapper"))},[W(e.$slots,"placeholder",{},(()=>[I("div",{class:_(O(i).e("placeholder"))},null,2)]))],2)):N("v-if",!0)],64)),O(D)?(w(),L(T,{key:2},[C.value?(w(),h(O(ve),{key:0,"z-index":e.zIndex,"initial-index":O(M),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"url-list":e.previewSrcList,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:ie,onSwitch:se},{default:x((()=>[e.$slots.viewer?(w(),L("div",{key:0},[W(e.$slots,"viewer")])):N("v-if",!0)])),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):N("v-if",!0)],64)):N("v-if",!0)],16))}}),[["__file","image.vue"]]));export{ge as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.css new file mode 100644 index 000000000..55c7b0235 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.image-uploader[data-v-4d6462c8]{border:1px dashed #d9d9d9;width:180px;border-radius:6px;cursor:pointer;position:relative;overflow:hidden;border-color:#409eff}.image-uploader-icon[data-v-4d6462c8]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.image[data-v-4d6462c8]{width:178px;height:178px;display:block} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.js new file mode 100644 index 000000000..b891baf2e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +class t{constructor(t,e,i=1920){this.file=t,this.fileSize=e,this.maxWH=i}compress(){const t=this.file.type,e=this.file.size/1024;return new Promise((i=>{const s=new FileReader;s.readAsDataURL(this.file),s.onload=()=>{const h=document.createElement("canvas"),a=document.createElement("img");a.src=s.result,a.onload=()=>{const s=h.getContext("2d"),n=this.dWH(a.width,a.height,this.maxWH);h.width=n.width,h.height=n.height,s.clearRect(0,0,h.width,h.height),s.drawImage(a,0,0,h.width,h.height);const o=h.toDataURL(t,.9),l=this.fileSizeKB(o);l>this.fileSize&&console.log("图片尺寸太大!"+e+" >> "+l);const d=this.dataURLtoBlob(o,t),r=new File([d],this.file.name);i(r)}}}))}dWH(t,e,i){const s={width:t,height:e};return Math.max(t,e)>i?t>e?(s.width=i,s.height=Math.round(e*(i/t)),s):(s.height=i,s.width=Math.round(t*(i/e)),s):s}fileSizeKB(t){let e=0;return e=Math.round(3*t.split(",")[1].length/4/1024),e}dataURLtoBlob(t,e){const i=atob(t.split(",")[1]);let s=t.split(",")[0].split(":")[1].split(";")[0];const h=new ArrayBuffer(i.length),a=new Uint8Array(h);for(let n=0;nt&&"http"!==t.slice(0,4)?"/api/"+t:t,i=t=>t.endsWith(".mp4")||t.endsWith(".mov")||t.endsWith(".webm")||t.endsWith(".ogg"),s=t=>"video/mp4"==t||"video/webm"==t||"video/ogg"==t,h=t=>"image/jpeg"==t||"image/png"==t||"image/webp"==t||"image/svg+xml"==t;export{t as I,h as a,i as b,e as g,s as i}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang-legacy.js new file mode 100644 index 000000000..b76a6428f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var d;return{setters:[function(e){d=e.s}],execute:function(){var t=document.createElement("style");t.textContent=".image-uploader[data-v-4d6462c8]{border:1px dashed #d9d9d9;width:180px;border-radius:6px;cursor:pointer;position:relative;overflow:hidden;border-color:#409eff}.image-uploader-icon[data-v-4d6462c8]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.image[data-v-4d6462c8]{width:178px;height:178px;display:block}\n",document.head.appendChild(t),e("g",(function(e){return d({url:"/fileUploadAndDownload/getFileList",method:"post",data:e})})),e("b",(function(e){return d({url:"/fileUploadAndDownload/deleteFile",method:"post",data:e})})),e("e",(function(e){return d({url:"/fileUploadAndDownload/editFileName",method:"post",data:e})})),e("S",(function(e){return d({url:"/fileUploadAndDownload/getFileListofUser",method:"post",data:e})})),e("a",(function(e){return d({url:"/fileUploadAndDownload/findDetail?Url="+e,method:"get"})})),e("d",(function(e){return d({url:"/fileUploadAndDownload/transfer",method:"post",data:e})}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js new file mode 100644 index 000000000..a913c52bd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as d}from"./087AC4D233B64EB0index.js";const o=o=>d({url:"/fileUploadAndDownload/getFileList",method:"post",data:o}),a=o=>d({url:"/fileUploadAndDownload/deleteFile",method:"post",data:o}),l=o=>d({url:"/fileUploadAndDownload/editFileName",method:"post",data:o}),e=o=>d({url:"/fileUploadAndDownload/getFileListofUser",method:"post",data:o}),t=o=>d({url:"/fileUploadAndDownload/findDetail?Url="+o,method:"get"}),s=o=>d({url:"/fileUploadAndDownload/transfer",method:"post",data:o});export{e as S,t as a,a as b,s as d,l as e,o as g}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img-legacy.js new file mode 100644 index 000000000..894b0a9e6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(t){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),l=new F(n||[]);return o(i,"_invoke",{value:C(e,r,l)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var p="suspendedStart",m="suspendedYield",v="executing",g="completed",h={};function y(){}function b(){}function w(){}var _={};c(_,l,(function(){return this}));var x=Object.getPrototypeOf,V=x&&x(x(D([])));V&&V!==n&&a.call(V,l)&&(_=V);var k=w.prototype=y.prototype=Object.create(_);function B(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(n,o,i,l){var u=f(e[n],e,o);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==typeof c&&a.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(c).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(u.arg)}var n;o(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,n){r(e,a,t,n)}))}return n=n?n.then(o,o):o()}})}function C(e,r,n){var a=p;return function(o,i){if(a===v)throw Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var l=n.delegate;if(l){var u=S(l,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var s=f(e,r,n);if("normal"===s.type){if(a=n.done?g:m,s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=g,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function r(){for(;++n=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;A(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},r}function t(e,t,r,n,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void r(e)}l.done?t(u):Promise.resolve(u).then(n,a)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(a,o){var i=e.apply(r,n);function l(e){t(i,a,o,l,u,"next",e)}function u(e){t(i,a,o,l,u,"throw",e)}l(void 0)}))}}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;tn.secondValue?"firstButton":"secondButton",m[r]):s}(e);return r.value.setPosition(e),r},j=function(e){a(c,e),a(d,e)},A=function(){var n=r(e().mark((function r(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y();case 2:a(f,t.range?[h.value,x.value]:t.modelValue);case 3:case"end":return e.stop()}}),r)})));return function(){return n.apply(this,arguments)}}(),F=function(e){var r,a,o,i,l,s;if(!g.value&&!n.dragging){C();var c=0;if(t.vertical){var d=null!=(o=null==(a=null==(r=e.touches)?void 0:r.item(0))?void 0:a.clientY)?o:e.clientY;c=(u.value.getBoundingClientRect().bottom-d)/n.sliderSize*100}else{c=((null!=(s=null==(l=null==(i=e.touches)?void 0:i.item(0))?void 0:l.clientX)?s:e.clientX)-u.value.getBoundingClientRect().left)/n.sliderSize*100}if(!(c<0||c>100))return S(c)}},D=function(){var t=r(e().mark((function t(r){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=F(r))){e.next=5;break}return e.next=4,y();case 4:n.value.onButtonDown(r);case 5:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return{elFormItem:l,slider:u,firstButton:s,secondButton:p,sliderDisabled:g,minValue:h,maxValue:x,runwayStyle:B,barStyle:E,resetSize:C,setPosition:S,emitChange:A,onSliderWrapperPrevent:function(e){var t,r;((null==(t=m.firstButton.value)?void 0:t.dragging)||(null==(r=m.secondButton.value)?void 0:r.dragging))&&e.preventDefault()},onSliderClick:function(e){F(e)&&A()},onSliderDown:D,onSliderMarkerDown:function(e){g.value||n.dragging||S(e)},setFirstValue:function(e){n.firstValue=null!=e?e:t.min,j(t.range?[h.value,x.value]:null!=e?e:t.min)},setSecondValue:function(e){n.secondValue=e,t.range&&j([h.value,x.value])}}},Ee=k,Ce=Ee.left,Se=Ee.down,je=Ee.right,Ae=Ee.up,Fe=Ee.home,De=Ee.end,Le=Ee.pageUp,Pe=Ee.pageDown,Oe=function(t,n,a){var o=x(_e),i=o.disabled,l=o.min,u=o.max,s=o.step,d=o.showTooltip,f=o.precision,p=o.sliderSize,m=o.formatTooltip,g=o.emitChange,w=o.resetSize,_=o.updateDragging,k=function(e,t,r){var n=v(),a=v(!1),o=b((function(){return t.value instanceof Function})),i=b((function(){return o.value&&t.value(e.modelValue)||e.modelValue})),l=we((function(){r.value&&(a.value=!0)}),50),u=we((function(){r.value&&(a.value=!1)}),50);return{tooltip:n,tooltipVisible:a,formatValue:i,displayTooltip:l,hideTooltip:u}}(t,m,d),B=k.tooltip,E=k.tooltipVisible,C=k.formatValue,S=k.displayTooltip,j=k.hideTooltip,A=v(),F=b((function(){return"".concat((t.modelValue-l.value)/(u.value-l.value)*100,"%")})),D=b((function(){return t.vertical?{bottom:F.value}:{left:F.value}})),L=function(e){i.value||(e.preventDefault(),z(e),window.addEventListener("mousemove",N),window.addEventListener("touchmove",N),window.addEventListener("mouseup",T),window.addEventListener("touchend",T),window.addEventListener("contextmenu",T),A.value.focus())},P=function(e){i.value||(n.newPosition=Number.parseFloat(F.value)+e/(u.value-l.value)*100,M(n.newPosition),g())},O=function(e){var t,r;return e.type.startsWith("touch")?(r=e.touches[0].clientY,t=e.touches[0].clientX):(r=e.clientY,t=e.clientX),{clientX:t,clientY:r}},z=function(e){n.dragging=!0,n.isClick=!0;var r=O(e),a=r.clientX,o=r.clientY;t.vertical?n.startY=o:n.startX=a,n.startPosition=Number.parseFloat(F.value),n.newPosition=n.startPosition},N=function(e){if(n.dragging){var r;n.isClick=!1,S(),w();var a=O(e),o=a.clientX,i=a.clientY;t.vertical?(n.currentY=i,r=(n.startY-n.currentY)/p.value*100):(n.currentX=o,r=(n.currentX-n.startX)/p.value*100),n.newPosition=n.startPosition+r,M(n.newPosition)}},T=function(){n.dragging&&(setTimeout((function(){n.dragging=!1,n.hovering||j(),n.isClick||M(n.newPosition),g()}),0),window.removeEventListener("mousemove",N),window.removeEventListener("touchmove",N),window.removeEventListener("mouseup",T),window.removeEventListener("touchend",T),window.removeEventListener("contextmenu",T))},M=function(){var o=r(e().mark((function r(o){var i,d,p;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==o&&!Number.isNaN(+o)){e.next=2;break}return e.abrupt("return");case 2:return o<0?o=0:o>100&&(o=100),i=100/((u.value-l.value)/s.value),d=Math.round(o/i),p=d*i*(u.value-l.value)*.01+l.value,(p=Number.parseFloat(p.toFixed(f.value)))!==t.modelValue&&a(c,p),n.dragging||t.modelValue===n.oldValue||(n.oldValue=t.modelValue),e.next=11,y();case 11:n.dragging&&S(),B.value.updatePopper();case 13:case"end":return e.stop()}}),r)})));return function(e){return o.apply(this,arguments)}}();return V((function(){return n.dragging}),(function(e){_(e)})),h(A,"touchstart",L,{passive:!1}),{disabled:i,button:A,tooltip:B,tooltipVisible:E,showTooltip:d,wrapperStyle:D,formatValue:C,handleMouseEnter:function(){n.hovering=!0,S()},handleMouseLeave:function(){n.hovering=!1,n.dragging||j()},onButtonDown:L,onKeyDown:function(e){var t=!0;[Ce,Se].includes(e.key)?P(-s.value):[je,Ae].includes(e.key)?P(s.value):e.key===Fe?i.value||(M(0),g()):e.key===De?i.value||(M(100),g()):e.key===Pe?P(4*-s.value):e.key===Le?P(4*s.value):t=!1,t&&e.preventDefault()},setPosition:M}},ze=i({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:ye,default:"top"}}),Ne=o({},c,(function(e){return p(e)})),Te=C({name:"ElSliderButton"}),Me=C(a(a({},Te),{},{props:ze,emits:Ne,setup:function(e,t){var r=t.expose,n=t.emit,a=e,o=S("slider"),i=j({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:a.modelValue}),l=Oe(a,i,n),u=l.disabled,s=l.button,c=l.tooltip,d=l.showTooltip,f=l.tooltipVisible,p=l.wrapperStyle,m=l.formatValue,v=l.handleMouseEnter,g=l.handleMouseLeave,h=l.onButtonDown,y=l.onKeyDown,b=l.setPosition,w=A(i),_=w.hovering,x=w.dragging;return r({onButtonDown:h,onKeyDown:y,setPosition:b,hovering:_,dragging:x}),function(e,t){return F(),D("div",{ref_key:"button",ref:s,class:T([N(o).e("button-wrapper"),{hover:N(_),dragging:N(x)}]),style:M(N(p)),tabindex:N(u)?-1:0,onMouseenter:N(v),onMouseleave:N(g),onMousedown:N(h),onFocus:N(v),onBlur:N(g),onKeydown:N(y)},[L(N(be),{ref_key:"tooltip",ref:c,visible:N(f),placement:e.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":e.tooltipClass,disabled:!N(d),persistent:""},{content:P((function(){return[O("span",null,z(N(m)),1)]})),default:P((function(){return[O("div",{class:T([N(o).e("button"),{hover:N(_),dragging:N(x)}])},null,2)]})),_:1},8,["visible","placement","popper-class","disabled"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"])}}})),Ie=I(Me,[["__file","button.vue"]]),Ue=i({mark:{type:l([String,Object]),default:void 0}}),Ye=C({name:"ElSliderMarker",props:Ue,setup:function(e){var t=S("slider"),r=b((function(){return U(e.mark)?e.mark:e.mark.label})),n=b((function(){return U(e.mark)?void 0:e.mark.style}));return function(){return Y("div",{class:t.e("marks-text"),style:n.value},r.value)}}}),qe=C({name:"ElSlider"}),Xe=C(a(a({},qe),{},{props:xe,emits:ke,setup:function(t,n){var i=n.expose,l=n.emit,u=t,s=S("slider"),f=q().t,p=j({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),m=Be(u,p,l),w=m.elFormItem,_=m.slider,x=m.firstButton,k=m.secondButton,C=m.sliderDisabled,P=m.minValue,z=m.maxValue,I=m.runwayStyle,U=m.barStyle,Y=m.resetSize,J=m.emitChange,Z=m.onSliderWrapperPrevent,ee=m.onSliderClick,te=m.onSliderDown,re=m.onSliderMarkerDown,ne=m.setFirstValue,ae=m.setSecondValue,oe=function(e,t,r,n){return{stops:b((function(){if(!e.showStops||e.min>e.max)return[];if(0===e.step)return[];var a=(e.max-e.min)/e.step,o=100*e.step/(e.max-e.min),i=Array.from({length:a-1}).map((function(e,t){return(t+1)*o}));return e.range?i.filter((function(t){return t<100*(r.value-e.min)/(e.max-e.min)||t>100*(n.value-e.min)/(e.max-e.min)})):i.filter((function(r){return r>100*(t.firstValue-e.min)/(e.max-e.min)}))})),getStopStyle:function(t){return e.vertical?{bottom:"".concat(t,"%")}:{left:"".concat(t,"%")}}}}(u,p,P,z),ie=oe.stops,le=oe.getStopStyle,ue=X(u,{formItemContext:w}),se=ue.inputId,ce=ue.isLabeledByFormItem,de=G(),pe=b((function(){return u.inputSize||de.value})),me=b((function(){return u.ariaLabel||f("el.slider.defaultLabel",{min:u.min,max:u.max})})),ve=b((function(){return u.range?u.rangeStartLabel||f("el.slider.defaultRangeStartLabel"):me.value})),ge=b((function(){return u.formatValueText?u.formatValueText(Ce.value):"".concat(Ce.value)})),he=b((function(){return u.rangeEndLabel||f("el.slider.defaultRangeEndLabel")})),ye=b((function(){return u.formatValueText?u.formatValueText(Se.value):"".concat(Se.value)})),be=b((function(){return[s.b(),s.m(de.value),s.is("vertical",u.vertical),o({},s.m("with-input"),u.showInput)]})),we=function(e){return b((function(){return e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((function(e,t){return e-t})).filter((function(t){return t<=e.max&&t>=e.min})).map((function(t){return{point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]}})):[]}))}(u);!function(e,t,r,n,a,o){var i=function(e){a(c,e),a(d,e)},l=function(){return e.range?![r.value,n.value].every((function(e,r){return e===t.oldValue[r]})):e.modelValue!==t.oldValue},u=function(){var r,n;e.min>e.max&&B("Slider","min should not be greater than max.");var a=e.modelValue;e.range&&Array.isArray(a)?a[1]e.max?i([e.max,e.max]):a[0]e.max?i([a[0],e.max]):(t.firstValue=a[0],t.secondValue=a[1],l()&&(e.validateEvent&&(null==(r=null==o?void 0:o.validate)||r.call(o,"change").catch((function(e){return E()}))),t.oldValue=a.slice())):e.range||"number"!=typeof a||Number.isNaN(a)||(ae.max?i(e.max):(t.firstValue=a,l()&&(e.validateEvent&&(null==(n=null==o?void 0:o.validate)||n.call(o,"change").catch((function(e){return E()}))),t.oldValue=a)))};u(),V((function(){return t.dragging}),(function(e){e||u()})),V((function(){return e.modelValue}),(function(e,r){t.dragging||Array.isArray(e)&&Array.isArray(r)&&e.every((function(e,t){return e===r[t]}))&&t.firstValue===e[0]&&t.secondValue===e[1]||u()}),{deep:!0}),V((function(){return[e.min,e.max]}),(function(){u()}))}(u,p,P,z,l,w);var xe=b((function(){var e=[u.min,u.max,u.step].map((function(e){var t="".concat(e).split(".")[1];return t?t.length:0}));return Math.max.apply(null,e)})),Ve=function(t,n,a){var o=v();return g(r(e().mark((function r(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.range?(Array.isArray(t.modelValue)?(n.firstValue=Math.max(t.min,t.modelValue[0]),n.secondValue=Math.min(t.max,t.modelValue[1])):(n.firstValue=t.min,n.secondValue=t.max),n.oldValue=[n.firstValue,n.secondValue]):("number"!=typeof t.modelValue||Number.isNaN(t.modelValue)?n.firstValue=t.min:n.firstValue=Math.min(t.max,Math.max(t.min,t.modelValue)),n.oldValue=n.firstValue),h(window,"resize",a),e.next=4,y();case 4:a();case 5:case"end":return e.stop()}}),r)})))),{sliderWrapper:o}}(u,p,Y),ke=Ve.sliderWrapper,Ee=A(p),Ce=Ee.firstValue,Se=Ee.secondValue,je=Ee.sliderSize;return h(ke,"touchstart",Z,{passive:!1}),h(ke,"touchmove",Z,{passive:!1}),K(_e,a(a({},A(u)),{},{sliderSize:je,disabled:C,precision:xe,emitChange:J,resetSize:Y,updateDragging:function(e){p.dragging=e}})),i({onSliderClick:ee}),function(e,t){var r,n;return F(),D("div",{id:e.range?N(se):void 0,ref_key:"sliderWrapper",ref:ke,class:T(N(be)),role:e.range?"group":void 0,"aria-label":e.range&&!N(ce)?N(me):void 0,"aria-labelledby":e.range&&N(ce)?null==(r=N(w))?void 0:r.labelId:void 0},[O("div",{ref_key:"slider",ref:_,class:T([N(s).e("runway"),{"show-input":e.showInput&&!e.range},N(s).is("disabled",N(C))]),style:M(N(I)),onMousedown:N(te),onTouchstartPassive:N(te)},[O("div",{class:T(N(s).e("bar")),style:M(N(U))},null,6),L(Ie,{id:e.range?void 0:N(se),ref_key:"firstButton",ref:x,"model-value":N(Ce),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":e.range||!N(ce)?N(ve):void 0,"aria-labelledby":!e.range&&N(ce)?null==(n=N(w))?void 0:n.labelId:void 0,"aria-valuemin":e.min,"aria-valuemax":e.range?N(Se):e.max,"aria-valuenow":N(Ce),"aria-valuetext":N(ge),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":N(C),"onUpdate:modelValue":N(ne)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),e.range?(F(),W(Ie,{key:0,ref_key:"secondButton",ref:k,"model-value":N(Se),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":N(he),"aria-valuemin":N(Ce),"aria-valuemax":e.max,"aria-valuenow":N(Se),"aria-valuetext":N(ye),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":N(C),"onUpdate:modelValue":N(ae)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):H("v-if",!0),e.showStops?(F(),D("div",{key:1},[(F(!0),D(R,null,Q(N(ie),(function(e,t){return F(),D("div",{key:t,class:T(N(s).e("stop")),style:M(N(le)(e))},null,6)})),128))])):H("v-if",!0),N(we).length>0?(F(),D(R,{key:2},[O("div",null,[(F(!0),D(R,null,Q(N(we),(function(e,t){return F(),D("div",{key:t,style:M(N(le)(e.position)),class:T([N(s).e("stop"),N(s).e("marks-stop")])},null,6)})),128))]),O("div",{class:T(N(s).e("marks"))},[(F(!0),D(R,null,Q(N(we),(function(e,t){return F(),W(N(Ye),{key:t,mark:e.mark,style:M(N(le)(e.position)),onMousedown:$((function(t){return N(re)(e.position)}),["stop"])},null,8,["mark","style","onMousedown"])})),128))],2)],64)):H("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),e.showInput&&!e.range?(F(),W(N(fe),{key:0,ref:"input","model-value":N(Ce),class:T(N(s).e("input")),step:e.step,disabled:N(C),controls:e.showInputControls,min:e.min,max:e.max,precision:N(xe),debounce:e.debounce,size:N(pe),"onUpdate:modelValue":N(ne),onChange:N(J)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):H("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}})),Ge=J(I(Xe,[["__file","slider.vue"]])),Ke={class:"gva-search-box"},We={style:{display:"block","border-right":"none"}},He={style:{display:"block",color:"#8492a6","font-size":"14px","margin-bottom":"20px"}},Re={class:"gva-search-box"},Qe={key:0,style:{display:"block","border-right":"none"}},$e={key:1,class:"block"},Je={class:"dialog-footer"},Ze={data:function(){return{fits:["fill","contain","cover","none","scale-down"],out_show:!1,isBuy:!1,keywords:"",pics:[],out_pics:[],formInline:{user:"",region:""},ruleForm:o({name:"",desc:"",rdesc:"",number:1,height:960,weight:960,seed:2,steps:2,cfg_scale:2,delivery:!1,type:[],resource:""},"desc",""),rules:{name:[{required:!0,message:"请输入活动名称",trigger:"blur"},{min:3,max:5,message:"长度在 3 到 5 个字符",trigger:"blur"}],region:[{required:!0,message:"请选择活动区域",trigger:"change"}],number:[{required:!0,message:"请选择生成数量",min:1,max:10}],steps:[{required:!0,message:"请选择生成步数",min:1,max:10}],cfg_scale:[{required:!0,message:"请选择文本引导强度",min:1,max:10}],weight:[{required:!0,message:"请选择宽度",min:960,max:2048}],height:[{required:!0,message:"请选择高度",min:960,max:2048}],type:[{type:"array",required:!0,message:"请至少选择一个活动性质",trigger:"change"}],resource:[{required:!0,message:"请选择活动资源",trigger:"change"}],desc:[{required:!0,message:"请填写活动形式",trigger:"blur"}]}}},mounted:function(){console.log(this.$route.query);var e=history.state.req;this.pics=e.data,this.keywords=e.keywords,console.log(this.pics)},methods:{submitForm:function(e){this.$refs[e].validate((function(e){if(!e)return console.log("error submit!!"),!1;alert("submit!")}))},BuyAigc:function(e){ne({type:"success",message:"交易成功!!",duration:1e3}),this.$refs[e].resetFields()},txt2imgFunc:function(){console.log(this.out_show);var e=this;console.log(e.out_show),ae.defaults.baseURL="/sdapi";var t=[],r=e.number;ae.post("/v1/txt2img",{prompt:this.keywords+this.ruleForm.desc,negative_prompt:this.ruleForm.rdesc,seed:this.ruleForm.seed,batch_size:this.ruleForm.number,n_iter:1,steps:this.ruleForm.steps,cfg_scale:this.ruleForm.cfg_scale,width:this.ruleForm.weight,height:this.ruleForm.height}).then((function(n){console.log(n.data.images),r=n.data.images.length;for(var a=0;ad.value.endCreatedAt.getTime())?r(new Error("开始日期应当早于结束日期")):r()},trigger:"change"}]});v();var i=v(),l=v(),u=v(0),s=v(10),c=v([]),d=v({}),f=function(){var t;null===(t=i.value)||void 0===t||t.validate(function(){var t=r(e().mark((function t(r){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=2;break}return e.abrupt("return");case 2:l.value=1,s.value=10,p();case 5:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},p=function(){var t=r(e().mark((function t(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ge(a({page:l.value,pageSize:s.value},d.value));case 2:0===(r=e.sent).code&&(c.value=r.data.list,u.value=r.data.total,l.value=r.data.page,s.value=r.data.pageSize);case 4:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();p();var m=function(){var t=r(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();m(),v([]),v(!1),v(""),v(!1),v(!1);var g=function(){isBuy=!1,ne({type:"warning",message:"交易取消!",duration:1e3})},h=function(){var t=r(e().mark((function t(r){var a,o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return isBuy=!0,a={Buyer:n.userInfo.nickName,Seller:pics.owner,Work:pics.url,Goods:pics.price},e.next=4,he(a);case 4:return o=e.sent,e.abrupt("return",o.code);case 6:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=r(e().mark((function t(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h(pics);case 2:r=e.sent,console.log(tmp),0===r?(ne({type:"success",message:"交易成功!!",duration:1e3}),isBuy=!1):(ne({type:"error",message:"交易失败!!",duration:1e3}),isBuy=!1);case 5:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return function(e,t){var r=ee("QuestionFilled"),n=oe,a=be,l=me,u=ve,s=pe,c=ie,p=Ge,m=ce,v=de,h=se,b=le,w=ue;return F(),D("div",null,[O("div",Ke,[L(u,{ref_key:"elSearchFormRef",ref:i,inline:!0,model:d.value,class:"demo-form-inline",rules:o,onKeyup:re(f,["enter"])},{default:P((function(){return[L(l,{label:"创建日期",prop:"createdAt"},{label:P((function(){return[O("span",null,[t[13]||(t[13]=te(" 参考图片 ")),L(a,{content:"用于辅助AIGC作品风格确定"},{default:P((function(){return[L(n,null,{default:P((function(){return[L(r)]})),_:1})]})),_:1})]),t[14]||(t[14]=O("div",{class:"demo-image__placeholder"},[O("div",{class:"block"},[O("span",{class:"demonstration"},"检索导入")])],-1))]})),_:1})]})),_:1},8,["model","rules"]),O("div",We,[(F(!0),D(R,null,Q(e.pics,(function(t){return F(),D("div",{style:{padding:"30px 0","text-align":"center","border-right":"1px solid #eff2f6",display:"inline-block",width:"20%","box-sizing":"border-box","vertical-align":"top"},key:e.fit},[O("span",He,z(t.name),1),L(s,{style:{width:"100px",height:"100px"},src:t.url,fit:e.contain},null,8,["src","fit"])])})),128))])]),O("div",Re,[t[20]||(t[20]=O("div",null," 图片生成 ",-1)),L(u,{model:e.ruleForm,rules:e.rules,ref:"ruleForm","label-width":"100px",class:"demo-ruleForm"},{default:P((function(){return[L(l,{label:"作品名称",prop:"name"},{default:P((function(){return[L(c,{modelValue:e.ruleForm.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.ruleForm.name=t})},null,8,["modelValue"])]})),_:1}),L(l,{label:"描述词",prop:"desc"},{default:P((function(){return[L(c,{modelValue:e.ruleForm.desc,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.ruleForm.desc=t})},null,8,["modelValue"])]})),_:1}),L(l,{label:"反向描述词",prop:"rdesc"},{default:P((function(){return[L(c,{modelValue:e.ruleForm.rdesc,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.ruleForm.rdesc=t})},null,8,["modelValue"])]})),_:1}),L(l,{label:"生成数量",required:""},{default:P((function(){return[L(p,{modelValue:e.ruleForm.number,"onUpdate:modelValue":t[3]||(t[3]=function(t){return e.ruleForm.number=t}),min:1,max:10,"show-input":""},null,8,["modelValue"])]})),_:1}),L(l,{label:"输出分辨率",required:""},{default:P((function(){return[t[15]||(t[15]=te(" 宽度: ")),L(p,{modelValue:e.ruleForm.weight,"onUpdate:modelValue":t[4]||(t[4]=function(t){return e.ruleForm.weight=t}),min:960,max:2048,"show-input":""},null,8,["modelValue"]),t[16]||(t[16]=te(" 高度: ")),L(p,{modelValue:e.ruleForm.height,"onUpdate:modelValue":t[5]||(t[5]=function(t){return e.ruleForm.height=t}),min:960,max:2048,"show-input":""},null,8,["modelValue"])]})),_:1}),t[19]||(t[19]=te(" 生成式模型: ")),L(l,{label:"",prop:"region"},{default:P((function(){return[L(v,{modelValue:e.ruleForm.region,"onUpdate:modelValue":t[6]||(t[6]=function(t){return e.ruleForm.region=t}),placeholder:"请选择生成模型",style:{width:"300px"}},{default:P((function(){return[L(m,{label:"realcartoon3d_ v11.safetensors [408a4d0253]",value:"realcartoon3d_ v11.safetensors [408a4d0253]"}),L(m,{label:"realismFromHades_v81HQ.safetensors [fb4cdf649b]",value:"realismFromHades_v81HQ.safetensors [fb4cdf649b]"}),L(m,{label:"v1-5-pruned-emaonly.ckpt[cc6cb27103]",value:"v1-5-pruned-emaonly.ckpt[cc6cb27103]"})]})),_:1},8,["modelValue"])]})),_:1}),L(l,{label:"种子",prop:"seed"},{default:P((function(){return[L(c,{modelValue:e.ruleForm.seed,"onUpdate:modelValue":t[7]||(t[7]=function(t){return e.ruleForm.seed=t})},null,8,["modelValue"])]})),_:1}),L(l,{label:"步数",prop:"steps"},{default:P((function(){return[L(p,{modelValue:e.ruleForm.steps,"onUpdate:modelValue":t[8]||(t[8]=function(t){return e.ruleForm.steps=t}),min:1,max:100,"show-input":""},null,8,["modelValue"])]})),_:1}),L(l,{label:"文本引导强度",prop:"cfg_scale"},{default:P((function(){return[L(p,{modelValue:e.ruleForm.cfg_scale,"onUpdate:modelValue":t[9]||(t[9]=function(t){return e.ruleForm.cfg_scale=t}),min:1,max:10,"show-input":""},null,8,["modelValue"])]})),_:1}),e.out_show?(F(),D("div",Qe,[(F(!0),D(R,null,Q(e.out_pics,(function(t){return F(),W(s,{key:e.url,src:t,lazy:""},null,8,["src"])})),128))])):(F(),D("div",$e,[L(h,{"image-size":100})])),L(l,null,{default:P((function(){return[L(b,{type:"primary",onClick:t[10]||(t[10]=function(t){return e.txt2imgFunc()})},{default:P((function(){return t[17]||(t[17]=[te("开始生成")])})),_:1}),L(b,{onClick:t[11]||(t[11]=function(t){return e.BuyAigc()})},{default:P((function(){return t[18]||(t[18]=[te("购买")])})),_:1})]})),_:1})]})),_:1},8,["model","rules"])]),L(w,{modelValue:e.isBuy,"onUpdate:modelValue":t[12]||(t[12]=function(t){return e.isBuy=t}),title:"是否确认购买",color:"red",align:"center",width:"720px"},{default:P((function(){return[O("div",Je,[L(b,{onClick:g},{default:P((function(){return t[21]||(t[21]=[te("取 消")])})),_:1}),L(b,{type:"primary",onClick:y},{default:P((function(){return t[22]||(t[22]=[te("确 定")])})),_:1})])]})),_:1},8,["modelValue"])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img-legacy2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img-legacy2.js new file mode 100644 index 000000000..26b332367 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img-legacy2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}System.register(["./087AC4D233B64EB0index-legacy.js"],(function(r,n){"use strict";var i,o,u;return{setters:[function(e){i=e.M,o=e.j,u=e.s}],execute:function(){var n=i.create({baseURL:"/aaaa",timeout:1e3});n.interceptors.request.use((function(r){return r.headers=function(r){for(var n=1;ns(e)||n(e)&&e.every(s),be={[o]:he,[r]:he,[i]:he},ye=(e,a,l)=>{const{form:t,formItem:s}=v(),n=g(),d=u(),m=u(),f={firstButton:d,secondButton:m},h=p((()=>e.disabled||(null==t?void 0:t.disabled)||!1)),b=p((()=>Math.min(a.firstValue,a.secondValue))),y=p((()=>Math.max(a.firstValue,a.secondValue))),V=p((()=>e.range?"".concat(100*(y.value-b.value)/(e.max-e.min),"%"):"".concat(100*(a.firstValue-e.min)/(e.max-e.min),"%"))),w=p((()=>e.range?"".concat(100*(b.value-e.min)/(e.max-e.min),"%"):"0%")),B=p((()=>e.vertical?{height:e.height}:{})),x=p((()=>e.vertical?{height:V.value,bottom:w.value}:{width:V.value,left:w.value})),_=()=>{n.value&&(a.sliderSize=n.value["client".concat(e.vertical?"Height":"Width")])},C=l=>{const t=(l=>{const t=e.min+l*(e.max-e.min)/100;if(!e.range)return d;let o;return o=Math.abs(b.value-t)a.secondValue?"firstButton":"secondButton",f[o]})(l);return t.value.setPosition(l),t},k=e=>{l(o,e),l(r,e)},E=async()=>{await c(),l(i,e.range?[b.value,y.value]:e.modelValue)},A=l=>{var t,o,r,i,s,u;if(h.value||a.dragging)return;_();let d=0;if(e.vertical){const e=null!=(r=null==(o=null==(t=l.touches)?void 0:t.item(0))?void 0:o.clientY)?r:l.clientY;d=(n.value.getBoundingClientRect().bottom-e)/a.sliderSize*100}else{d=((null!=(u=null==(s=null==(i=l.touches)?void 0:i.item(0))?void 0:s.clientX)?u:l.clientX)-n.value.getBoundingClientRect().left)/a.sliderSize*100}return d<0||d>100?void 0:C(d)};return{elFormItem:s,slider:n,firstButton:d,secondButton:m,sliderDisabled:h,minValue:b,maxValue:y,runwayStyle:B,barStyle:x,resetSize:_,setPosition:C,emitChange:E,onSliderWrapperPrevent:e=>{var a,l;((null==(a=f.firstButton.value)?void 0:a.dragging)||(null==(l=f.secondButton.value)?void 0:l.dragging))&&e.preventDefault()},onSliderClick:e=>{A(e)&&E()},onSliderDown:async e=>{const a=A(e);a&&(await c(),a.value.onButtonDown(e))},onSliderMarkerDown:e=>{h.value||a.dragging||C(e)},setFirstValue:l=>{a.firstValue=null!=l?l:e.min,k(e.range?[b.value,y.value]:null!=l?l:e.min)},setSecondValue:l=>{a.secondValue=l,e.range&&k([b.value,y.value])}}},{left:Ve,down:we,right:Be,up:xe,home:_e,end:Ce,pageUp:ke,pageDown:Ee}=b,Ae=(e,a,l)=>{const{disabled:t,min:r,max:i,step:s,showTooltip:n,precision:d,sliderSize:v,formatTooltip:g,emitChange:b,resetSize:y,updateDragging:V}=f(ge),{tooltip:w,tooltipVisible:B,formatValue:x,displayTooltip:_,hideTooltip:C}=((e,a,l)=>{const t=u(),o=u(!1),r=p((()=>a.value instanceof Function)),i=p((()=>r.value&&a.value(e.modelValue)||e.modelValue)),s=ve((()=>{l.value&&(o.value=!0)}),50),n=ve((()=>{l.value&&(o.value=!1)}),50);return{tooltip:t,tooltipVisible:o,formatValue:i,displayTooltip:s,hideTooltip:n}})(e,g,n),k=u(),E=p((()=>"".concat((e.modelValue-r.value)/(i.value-r.value)*100,"%"))),A=p((()=>e.vertical?{bottom:E.value}:{left:E.value})),S=e=>{t.value||(e.preventDefault(),j(e),window.addEventListener("mousemove",M),window.addEventListener("touchmove",M),window.addEventListener("mouseup",z),window.addEventListener("touchend",z),window.addEventListener("contextmenu",z),k.value.focus())},F=e=>{t.value||(a.newPosition=Number.parseFloat(E.value)+e/(i.value-r.value)*100,L(a.newPosition),b())},D=e=>{let a,l;return e.type.startsWith("touch")?(l=e.touches[0].clientY,a=e.touches[0].clientX):(l=e.clientY,a=e.clientX),{clientX:a,clientY:l}},j=l=>{a.dragging=!0,a.isClick=!0;const{clientX:t,clientY:o}=D(l);e.vertical?a.startY=o:a.startX=t,a.startPosition=Number.parseFloat(E.value),a.newPosition=a.startPosition},M=l=>{if(a.dragging){let t;a.isClick=!1,_(),y();const{clientX:o,clientY:r}=D(l);e.vertical?(a.currentY=r,t=(a.startY-a.currentY)/v.value*100):(a.currentX=o,t=(a.currentX-a.startX)/v.value*100),a.newPosition=a.startPosition+t,L(a.newPosition)}},z=()=>{a.dragging&&(setTimeout((()=>{a.dragging=!1,a.hovering||C(),a.isClick||L(a.newPosition),b()}),0),window.removeEventListener("mousemove",M),window.removeEventListener("touchmove",M),window.removeEventListener("mouseup",z),window.removeEventListener("touchend",z),window.removeEventListener("contextmenu",z))},L=async t=>{if(null===t||Number.isNaN(+t))return;t<0?t=0:t>100&&(t=100);const n=100/((i.value-r.value)/s.value);let u=Math.round(t/n)*n*(i.value-r.value)*.01+r.value;u=Number.parseFloat(u.toFixed(d.value)),u!==e.modelValue&&l(o,u),a.dragging||e.modelValue===a.oldValue||(a.oldValue=e.modelValue),await c(),a.dragging&&_(),w.value.updatePopper()};return h((()=>a.dragging),(e=>{V(e)})),m(k,"touchstart",S,{passive:!1}),{disabled:t,button:k,tooltip:w,tooltipVisible:B,showTooltip:n,wrapperStyle:A,formatValue:x,handleMouseEnter:()=>{a.hovering=!0,_()},handleMouseLeave:()=>{a.hovering=!1,a.dragging||C()},onButtonDown:S,onKeyDown:e=>{let a=!0;[Ve,we].includes(e.key)?F(-s.value):[Be,xe].includes(e.key)?F(s.value):e.key===_e?t.value||(L(0),b()):e.key===Ce?t.value||(L(100),b()):e.key===Ee?F(4*-s.value):e.key===ke?F(4*s.value):a=!1,a&&e.preventDefault()},setPosition:L}},Se=e({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:ce,default:"top"}}),Fe={[o]:e=>s(e)},De=w({name:"ElSliderButton"});var je=z(w({...De,props:Se,emits:Fe,setup(e,{expose:a,emit:l}){const t=e,o=B("slider"),r=x({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:t.modelValue}),{disabled:i,button:s,tooltip:n,showTooltip:u,tooltipVisible:d,wrapperStyle:m,formatValue:c,handleMouseEnter:p,handleMouseLeave:v,onButtonDown:g,onKeyDown:f,setPosition:h}=Ae(t,r,l),{hovering:b,dragging:y}=_(r);return a({onButtonDown:g,onKeyDown:f,setPosition:h,hovering:b,dragging:y}),(e,a)=>(C(),k("div",{ref_key:"button",ref:s,class:j([D(o).e("button-wrapper"),{hover:D(b),dragging:D(y)}]),style:M(D(m)),tabindex:D(i)?-1:0,onMouseenter:D(p),onMouseleave:D(v),onMousedown:D(g),onFocus:D(p),onBlur:D(v),onKeydown:D(f)},[E(D(pe),{ref_key:"tooltip",ref:n,visible:D(d),placement:e.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":e.tooltipClass,disabled:!D(u),persistent:""},{content:A((()=>[S("span",null,F(D(c)),1)])),default:A((()=>[S("div",{class:j([D(o).e("button"),{hover:D(b),dragging:D(y)}])},null,2)])),_:1},8,["visible","placement","popper-class","disabled"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}}),[["__file","button.vue"]]);var Me=w({name:"ElSliderMarker",props:e({mark:{type:a([String,Object]),default:void 0}}),setup(e){const a=B("slider"),l=p((()=>L(e.mark)?e.mark:e.mark.label)),t=p((()=>L(e.mark)?void 0:e.mark.style));return()=>P("div",{class:a.e("marks-text"),style:t.value},l.value)}});const ze=w({name:"ElSlider"});const Le=H(z(w({...ze,props:fe,emits:be,setup(e,{expose:a,emit:l}){const t=e,i=B("slider"),{t:s}=T(),n=x({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:v,slider:g,firstButton:f,secondButton:b,sliderDisabled:w,minValue:A,maxValue:F,runwayStyle:z,barStyle:L,resetSize:P,emitChange:H,onSliderWrapperPrevent:O,onSliderClick:R,onSliderDown:Q,onSliderMarkerDown:$,setFirstValue:G,setSecondValue:J}=ye(t,n,l),{stops:Z,getStopStyle:ee}=((e,a,l,t)=>({stops:p((()=>{if(!e.showStops||e.min>e.max)return[];if(0===e.step)return[];const o=(e.max-e.min)/e.step,r=100*e.step/(e.max-e.min),i=Array.from({length:o-1}).map(((e,a)=>(a+1)*r));return e.range?i.filter((a=>a<100*(l.value-e.min)/(e.max-e.min)||a>100*(t.value-e.min)/(e.max-e.min))):i.filter((l=>l>100*(a.firstValue-e.min)/(e.max-e.min)))})),getStopStyle:a=>e.vertical?{bottom:"".concat(a,"%")}:{left:"".concat(a,"%")}}))(t,n,A,F),{inputId:ae,isLabeledByFormItem:le}=N(t,{formItemContext:v}),te=I(),oe=p((()=>t.inputSize||te.value)),re=p((()=>t.ariaLabel||s("el.slider.defaultLabel",{min:t.min,max:t.max}))),se=p((()=>t.range?t.rangeStartLabel||s("el.slider.defaultRangeStartLabel"):re.value)),ne=p((()=>t.formatValueText?t.formatValueText(fe.value):"".concat(fe.value))),ue=p((()=>t.rangeEndLabel||s("el.slider.defaultRangeEndLabel"))),de=p((()=>t.formatValueText?t.formatValueText(he.value):"".concat(he.value))),me=p((()=>[i.b(),i.m(te.value),i.is("vertical",t.vertical),{[i.m("with-input")]:t.showInput}])),ce=(e=>p((()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort(((e,a)=>e-a)).filter((a=>a<=e.max&&a>=e.min)).map((a=>({point:a,position:100*(a-e.min)/(e.max-e.min),mark:e.marks[a]}))):[])))(t);((e,a,l,t,i,s)=>{const n=e=>{i(o,e),i(r,e)},u=()=>e.range?![l.value,t.value].every(((e,l)=>e===a.oldValue[l])):e.modelValue!==a.oldValue,d=()=>{var l,t;e.min>e.max&&y("Slider","min should not be greater than max.");const o=e.modelValue;e.range&&Array.isArray(o)?o[1]e.max?n([e.max,e.max]):o[0]e.max?n([o[0],e.max]):(a.firstValue=o[0],a.secondValue=o[1],u()&&(e.validateEvent&&(null==(l=null==s?void 0:s.validate)||l.call(s,"change").catch((e=>V()))),a.oldValue=o.slice())):e.range||"number"!=typeof o||Number.isNaN(o)||(oe.max?n(e.max):(a.firstValue=o,u()&&(e.validateEvent&&(null==(t=null==s?void 0:s.validate)||t.call(s,"change").catch((e=>V()))),a.oldValue=o)))};d(),h((()=>a.dragging),(e=>{e||d()})),h((()=>e.modelValue),((e,l)=>{a.dragging||Array.isArray(e)&&Array.isArray(l)&&e.every(((e,a)=>e===l[a]))&&a.firstValue===e[0]&&a.secondValue===e[1]||d()}),{deep:!0}),h((()=>[e.min,e.max]),(()=>{d()}))})(t,n,A,F,l,v);const pe=p((()=>{const e=[t.min,t.max,t.step].map((e=>{const a="".concat(e).split(".")[1];return a?a.length:0}));return Math.max.apply(null,e)})),{sliderWrapper:ve}=((e,a,l)=>{const t=u();return d((async()=>{e.range?(Array.isArray(e.modelValue)?(a.firstValue=Math.max(e.min,e.modelValue[0]),a.secondValue=Math.min(e.max,e.modelValue[1])):(a.firstValue=e.min,a.secondValue=e.max),a.oldValue=[a.firstValue,a.secondValue]):("number"!=typeof e.modelValue||Number.isNaN(e.modelValue)?a.firstValue=e.min:a.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),a.oldValue=a.firstValue),m(window,"resize",l),await c(),l()})),{sliderWrapper:t}})(t,n,P),{firstValue:fe,secondValue:he,sliderSize:be}=_(n);return m(ve,"touchstart",O,{passive:!1}),m(ve,"touchmove",O,{passive:!1}),U(ge,{..._(t),sliderSize:be,disabled:w,precision:pe,emitChange:H,resetSize:P,updateDragging:e=>{n.dragging=e}}),a({onSliderClick:R}),(e,a)=>{var l,t;return C(),k("div",{id:e.range?D(ae):void 0,ref_key:"sliderWrapper",ref:ve,class:j(D(me)),role:e.range?"group":void 0,"aria-label":e.range&&!D(le)?D(re):void 0,"aria-labelledby":e.range&&D(le)?null==(l=D(v))?void 0:l.labelId:void 0},[S("div",{ref_key:"slider",ref:g,class:j([D(i).e("runway"),{"show-input":e.showInput&&!e.range},D(i).is("disabled",D(w))]),style:M(D(z)),onMousedown:D(Q),onTouchstartPassive:D(Q)},[S("div",{class:j(D(i).e("bar")),style:M(D(L))},null,6),E(je,{id:e.range?void 0:D(ae),ref_key:"firstButton",ref:f,"model-value":D(fe),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":e.range||!D(le)?D(se):void 0,"aria-labelledby":!e.range&&D(le)?null==(t=D(v))?void 0:t.labelId:void 0,"aria-valuemin":e.min,"aria-valuemax":e.range?D(he):e.max,"aria-valuenow":D(fe),"aria-valuetext":D(ne),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":D(w),"onUpdate:modelValue":D(G)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),e.range?(C(),q(je,{key:0,ref_key:"secondButton",ref:b,"model-value":D(he),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":D(ue),"aria-valuemin":D(fe),"aria-valuemax":e.max,"aria-valuenow":D(he),"aria-valuetext":D(de),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":D(w),"onUpdate:modelValue":D(J)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):X("v-if",!0),e.showStops?(C(),k("div",{key:1},[(C(!0),k(Y,null,K(D(Z),((e,a)=>(C(),k("div",{key:a,class:j(D(i).e("stop")),style:M(D(ee)(e))},null,6)))),128))])):X("v-if",!0),D(ce).length>0?(C(),k(Y,{key:2},[S("div",null,[(C(!0),k(Y,null,K(D(ce),((e,a)=>(C(),k("div",{key:a,style:M(D(ee)(e.position)),class:j([D(i).e("stop"),D(i).e("marks-stop")])},null,6)))),128))]),S("div",{class:j(D(i).e("marks"))},[(C(!0),k(Y,null,K(D(ce),((e,a)=>(C(),q(D(Me),{key:a,mark:e.mark,style:M(D(ee)(e.position)),onMousedown:W((a=>D($)(e.position)),["stop"])},null,8,["mark","style","onMousedown"])))),128))],2)],64)):X("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),e.showInput&&!e.range?(C(),q(D(ie),{key:0,ref:"input","model-value":D(fe),class:j(D(i).e("input")),step:e.step,disabled:D(w),controls:e.showInputControls,min:e.min,max:e.max,precision:D(pe),debounce:e.debounce,size:D(oe),"onUpdate:modelValue":D(G),onChange:D(H)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):X("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}}),[["__file","slider.vue"]])),Pe={class:"gva-search-box"},Te={style:{display:"block","border-right":"none"}},Ne={style:{display:"block",color:"#8492a6","font-size":"14px","margin-bottom":"20px"}},Ie={class:"gva-search-box"},Ue={key:0,style:{display:"block","border-right":"none"}},qe={key:1,class:"block"},Xe={class:"dialog-footer"},Ye={data:()=>({fits:["fill","contain","cover","none","scale-down"],out_show:!1,isBuy:!1,keywords:"",pics:[],out_pics:[],formInline:{user:"",region:""},ruleForm:{name:"",desc:"",rdesc:"",number:1,height:960,weight:960,seed:2,steps:2,cfg_scale:2,delivery:!1,type:[],resource:"",desc:""},rules:{name:[{required:!0,message:"请输入活动名称",trigger:"blur"},{min:3,max:5,message:"长度在 3 到 5 个字符",trigger:"blur"}],region:[{required:!0,message:"请选择活动区域",trigger:"change"}],number:[{required:!0,message:"请选择生成数量",min:1,max:10}],steps:[{required:!0,message:"请选择生成步数",min:1,max:10}],cfg_scale:[{required:!0,message:"请选择文本引导强度",min:1,max:10}],weight:[{required:!0,message:"请选择宽度",min:960,max:2048}],height:[{required:!0,message:"请选择高度",min:960,max:2048}],type:[{type:"array",required:!0,message:"请至少选择一个活动性质",trigger:"change"}],resource:[{required:!0,message:"请选择活动资源",trigger:"change"}],desc:[{required:!0,message:"请填写活动形式",trigger:"blur"}]}}),mounted(){console.log(this.$route.query);const e=history.state.req;this.pics=e.data,this.keywords=e.keywords,console.log(this.pics)},methods:{submitForm(e){this.$refs[e].validate((e=>{if(!e)return console.log("error submit!!"),!1;alert("submit!")}))},BuyAigc(e){G({type:"success",message:"交易成功!!",duration:1e3}),this.$refs[e].resetFields()},txt2imgFunc(){console.log(this.out_show);let e=this;console.log(e.out_show),J.defaults.baseURL="/sdapi";let a=[],l=e.number;J.post("/v1/txt2img",{prompt:this.keywords+this.ruleForm.desc,negative_prompt:this.ruleForm.rdesc,seed:this.ruleForm.seed,batch_size:this.ruleForm.number,n_iter:1,steps:this.ruleForm.steps,cfg_scale:this.ruleForm.cfg_scale,width:this.ruleForm.weight,height:this.ruleForm.height}).then((function(t){console.log(t.data.images),l=t.data.images.length;for(let e=0;e{n.value.startCreatedAt&&!n.value.endCreatedAt?l(new Error("请填写结束日期")):!n.value.startCreatedAt&&n.value.endCreatedAt?l(new Error("请填写开始日期")):n.value.startCreatedAt&&n.value.endCreatedAt&&(n.value.startCreatedAt.getTime()===n.value.endCreatedAt.getTime()||n.value.startCreatedAt.getTime()>n.value.endCreatedAt.getTime())?l(new Error("开始日期应当早于结束日期")):l()},trigger:"change"}]});u();const t=u(),o=u(),r=u(0),i=u(10),s=u([]),n=u({}),d=()=>{var e;null==(e=t.value)||e.validate((async e=>{e&&(o.value=1,i.value=10,m())}))},m=async()=>{const e=await de({page:o.value,pageSize:i.value,...n.value});0===e.code&&(s.value=e.data.list,r.value=e.data.total,o.value=e.data.page,i.value=e.data.pageSize)};m();(async()=>{})(),u([]),u(!1),u(""),u(!1),u(!1);const c=()=>{isBuy=!1,G({type:"warning",message:"交易取消!",duration:1e3})},p=async()=>{const e=await(async()=>{isBuy=!0;const e={Buyer:a.userInfo.nickName,Seller:pics.owner,Work:pics.url,Goods:pics.price};return(await me(e)).code})(pics);console.log(tmp),0===e?(G({type:"success",message:"交易成功!!",duration:1e3}),isBuy=!1):(G({type:"error",message:"交易失败!!",duration:1e3}),isBuy=!1)};return(e,a)=>{const o=R("QuestionFilled"),r=Z,i=pe,s=ne,u=ue,m=se,v=ee,g=Le,f=oe,h=re,b=te,y=ae,V=le;return C(),k("div",null,[S("div",Pe,[E(u,{ref_key:"elSearchFormRef",ref:t,inline:!0,model:n.value,class:"demo-form-inline",rules:l,onKeyup:$(d,["enter"])},{default:A((()=>[E(s,{label:"创建日期",prop:"createdAt"},{label:A((()=>[S("span",null,[a[13]||(a[13]=Q(" 参考图片 ")),E(i,{content:"用于辅助AIGC作品风格确定"},{default:A((()=>[E(r,null,{default:A((()=>[E(o)])),_:1})])),_:1})]),a[14]||(a[14]=S("div",{class:"demo-image__placeholder"},[S("div",{class:"block"},[S("span",{class:"demonstration"},"检索导入")])],-1))])),_:1})])),_:1},8,["model","rules"]),S("div",Te,[(C(!0),k(Y,null,K(e.pics,(a=>(C(),k("div",{style:{padding:"30px 0","text-align":"center","border-right":"1px solid #eff2f6",display:"inline-block",width:"20%","box-sizing":"border-box","vertical-align":"top"},key:e.fit},[S("span",Ne,F(a.name),1),E(m,{style:{width:"100px",height:"100px"},src:a.url,fit:e.contain},null,8,["src","fit"])])))),128))])]),S("div",Ie,[a[20]||(a[20]=S("div",null," 图片生成 ",-1)),E(u,{model:e.ruleForm,rules:e.rules,ref:"ruleForm","label-width":"100px",class:"demo-ruleForm"},{default:A((()=>[E(s,{label:"作品名称",prop:"name"},{default:A((()=>[E(v,{modelValue:e.ruleForm.name,"onUpdate:modelValue":a[0]||(a[0]=a=>e.ruleForm.name=a)},null,8,["modelValue"])])),_:1}),E(s,{label:"描述词",prop:"desc"},{default:A((()=>[E(v,{modelValue:e.ruleForm.desc,"onUpdate:modelValue":a[1]||(a[1]=a=>e.ruleForm.desc=a)},null,8,["modelValue"])])),_:1}),E(s,{label:"反向描述词",prop:"rdesc"},{default:A((()=>[E(v,{modelValue:e.ruleForm.rdesc,"onUpdate:modelValue":a[2]||(a[2]=a=>e.ruleForm.rdesc=a)},null,8,["modelValue"])])),_:1}),E(s,{label:"生成数量",required:""},{default:A((()=>[E(g,{modelValue:e.ruleForm.number,"onUpdate:modelValue":a[3]||(a[3]=a=>e.ruleForm.number=a),min:1,max:10,"show-input":""},null,8,["modelValue"])])),_:1}),E(s,{label:"输出分辨率",required:""},{default:A((()=>[a[15]||(a[15]=Q(" 宽度: ")),E(g,{modelValue:e.ruleForm.weight,"onUpdate:modelValue":a[4]||(a[4]=a=>e.ruleForm.weight=a),min:960,max:2048,"show-input":""},null,8,["modelValue"]),a[16]||(a[16]=Q(" 高度: ")),E(g,{modelValue:e.ruleForm.height,"onUpdate:modelValue":a[5]||(a[5]=a=>e.ruleForm.height=a),min:960,max:2048,"show-input":""},null,8,["modelValue"])])),_:1}),a[19]||(a[19]=Q(" 生成式模型: ")),E(s,{label:"",prop:"region"},{default:A((()=>[E(h,{modelValue:e.ruleForm.region,"onUpdate:modelValue":a[6]||(a[6]=a=>e.ruleForm.region=a),placeholder:"请选择生成模型",style:{width:"300px"}},{default:A((()=>[E(f,{label:"realcartoon3d_ v11.safetensors [408a4d0253]",value:"realcartoon3d_ v11.safetensors [408a4d0253]"}),E(f,{label:"realismFromHades_v81HQ.safetensors [fb4cdf649b]",value:"realismFromHades_v81HQ.safetensors [fb4cdf649b]"}),E(f,{label:"v1-5-pruned-emaonly.ckpt[cc6cb27103]",value:"v1-5-pruned-emaonly.ckpt[cc6cb27103]"})])),_:1},8,["modelValue"])])),_:1}),E(s,{label:"种子",prop:"seed"},{default:A((()=>[E(v,{modelValue:e.ruleForm.seed,"onUpdate:modelValue":a[7]||(a[7]=a=>e.ruleForm.seed=a)},null,8,["modelValue"])])),_:1}),E(s,{label:"步数",prop:"steps"},{default:A((()=>[E(g,{modelValue:e.ruleForm.steps,"onUpdate:modelValue":a[8]||(a[8]=a=>e.ruleForm.steps=a),min:1,max:100,"show-input":""},null,8,["modelValue"])])),_:1}),E(s,{label:"文本引导强度",prop:"cfg_scale"},{default:A((()=>[E(g,{modelValue:e.ruleForm.cfg_scale,"onUpdate:modelValue":a[9]||(a[9]=a=>e.ruleForm.cfg_scale=a),min:1,max:10,"show-input":""},null,8,["modelValue"])])),_:1}),e.out_show?(C(),k("div",Ue,[(C(!0),k(Y,null,K(e.out_pics,(a=>(C(),q(m,{key:e.url,src:a,lazy:""},null,8,["src"])))),128))])):(C(),k("div",qe,[E(b,{"image-size":100})])),E(s,null,{default:A((()=>[E(y,{type:"primary",onClick:a[10]||(a[10]=a=>e.txt2imgFunc())},{default:A((()=>a[17]||(a[17]=[Q("开始生成")]))),_:1}),E(y,{onClick:a[11]||(a[11]=a=>e.BuyAigc())},{default:A((()=>a[18]||(a[18]=[Q("购买")]))),_:1})])),_:1})])),_:1},8,["model","rules"])]),E(V,{modelValue:e.isBuy,"onUpdate:modelValue":a[12]||(a[12]=a=>e.isBuy=a),title:"是否确认购买",color:"red",align:"center",width:"720px"},{default:A((()=>[S("div",Xe,[E(y,{onClick:c},{default:A((()=>a[21]||(a[21]=[Q("取 消")]))),_:1}),E(y,{type:"primary",onClick:p},{default:A((()=>a[22]||(a[22]=[Q("确 定")]))),_:1})])])),_:1},8,["modelValue"])])}}});export{Ke as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img2.js new file mode 100644 index 000000000..bc496fd2f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2img2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{M as e,j as t,s as a}from"./087AC4D233B64EB0index.js";const s=e.create({baseURL:"/aaaa",timeout:1e3});s.interceptors.request.use((e=>(e.headers={"Content-Type":"application/json",...e.headers},e)),(e=>(t({showClose:!0,message:e,type:"error"}),e))),s.interceptors.response.use((e=>e.data),(e=>{}));const m=e=>a({url:"/img2img/createImg2img",method:"post",data:e}),r=e=>a({url:"/img2img/updateImg2img",method:"put",data:e}),g=e=>a({url:"/img2img/findImg2img",method:"get",params:e}),i=e=>a({url:"/img2img/getImg2imgList",method:"get",params:e});export{m as c,g as f,i as g,r as u}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2imgForm-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2imgForm-legacy.js new file mode 100644 index 000000000..6450a18cc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2imgForm-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,l=n.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var l=t&&t.prototype instanceof m?t:m,o=Object.create(l.prototype),u=new k(n||[]);return a(o,"_invoke",{value:C(e,r,u)}),o}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",g={};function m(){}function B(){}function b(){}var E={};s(E,u,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(O([])));_&&_!==n&&l.call(_,u)&&(E=_);var j=b.prototype=m.prototype=Object.create(E);function x(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(n,a,o,u){var i=p(e[n],e,a);if("throw"!==i.type){var c=i.arg,s=c.value;return s&&"object"==typeof s&&l.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,o,u)}),(function(e){r("throw",e,o,u)})):t.resolve(s).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,u)}))}u(i.arg)}var n;a(this,"_invoke",{value:function(e,l){function a(){return new t((function(t,n){r(e,l,t,n)}))}return n=n?n.then(a,a):a()}})}function C(e,r,n){var l=d;return function(a,o){if(l===y)throw Error("Generator is already running");if(l===v){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var u=n.delegate;if(u){var i=D(u,n);if(i){if(i===g)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(l===d)throw l=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);l=y;var c=p(e,r,n);if("normal"===c.type){if(l=n.done?v:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(l=v,n.method="throw",n.arg=c.arg)}}}function D(e,r){var n=r.method,l=e.iterator[n];if(l===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,D(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=p(l,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function V(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(V,this),this.reset(!0)}function O(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function r(){for(;++n=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var i=l.call(o,"catchLoc"),c=l.call(o,"finallyLoc");if(i&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&l.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var l=n.arg;L(r)}return l}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:O(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},r}function t(e,t,r,n,l,a,o){try{var u=e[a](o),i=u.value}catch(e){return void r(e)}u.done?t(i):Promise.resolve(i).then(n,l)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(l,a){var o=e.apply(r,n);function u(e){t(o,l,a,u,i,"next",e)}function i(e){t(o,l,a,u,i,"throw",e)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0img2img-legacy2.js","./087AC4D233B64EB0date-legacy.js","./087AC4D233B64EB0selectImage-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0drawer-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0image-viewer-legacy.js","./087AC4D233B64EB0image-legacy.js","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang-legacy.js","./087AC4D233B64EB0common-legacy.js","./087AC4D233B64EB0upload-legacy2.js","./087AC4D233B64EB0progress-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy26.js","./087AC4D233B64EB0index-legacy27.js","./087AC4D233B64EB0cloneDeep-legacy.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0selectImage.vue_vue_type_style_index_0_scoped_02c66713_lang-legacy.js","./087AC4D233B64EB0index-legacy25.js","./087AC4D233B64EB0index-legacy28.js"],(function(t,n){"use strict";var l,a,o,u,i,c,s,f,p,d,h,y,v,g,m,B,b,E,w;return{setters:[function(e){l=e.an,a=e.u,o=e.a,u=e.r,i=e.o,c=e.c,s=e.b,f=e.e,p=e.w,d=e.g,h=e.j,y=e.k,v=e.E},function(e){g=e.a,m=e.E},null,null,function(e){B=e.f,b=e.c,E=e.u},null,function(e){w=e.S},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n={class:"gva-form-box"};t("default",Object.assign({name:"Img2imgForm"},{__name:"img2imgForm",setup:function(t){var _=l(),j=a(),x=o(""),A=o({desc:"",rdesc:"",number:"",height:"",width:"",seed:"",steps:"",cfg_scale:"",pic:"",output:"",picurl:"",outputurl:""}),C=u({}),D=o(),V=function(){var t=r(e().mark((function t(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_.query.id){e.next=7;break}return e.next=3,B({ID:_.query.id});case 3:0===(r=e.sent).code&&(A.value=r.data.reimg2img,x.value="update"),e.next=8;break;case 7:x.value="create";case 8:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();V();var L=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:null===(n=D.value)||void 0===n||n.validate(function(){var t=r(e().mark((function t(r){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=2;break}return e.abrupt("return");case 2:e.t0=x.value,e.next="create"===e.t0?5:"update"===e.t0?9:13;break;case 5:return e.next=7,b(A.value);case 7:return n=e.sent,e.abrupt("break",17);case 9:return e.next=11,E(A.value);case 11:return n=e.sent,e.abrupt("break",17);case 13:return e.next=15,b(A.value);case 15:return n=e.sent,e.abrupt("break",17);case 17:0===n.code&&h({type:"success",message:"创建/更改成功"});case 18:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),k=function(){j.go(-1)};return function(e,t){var r=y,l=g,a=v,o=m;return i(),c("div",null,[s("div",n,[f(o,{model:A.value,ref_key:"elFormRef",ref:D,"label-position":"right",rules:C,"label-width":"80px"},{default:p((function(){return[f(l,{label:"描述词:",prop:"desc"},{default:p((function(){return[f(r,{modelValue:A.value.desc,"onUpdate:modelValue":t[0]||(t[0]=function(e){return A.value.desc=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"反向描述词:",prop:"rdesc"},{default:p((function(){return[f(r,{modelValue:A.value.rdesc,"onUpdate:modelValue":t[1]||(t[1]=function(e){return A.value.rdesc=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"生成数量:",prop:"number"},{default:p((function(){return[f(r,{modelValue:A.value.number,"onUpdate:modelValue":t[2]||(t[2]=function(e){return A.value.number=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"高度:",prop:"height"},{default:p((function(){return[f(r,{modelValue:A.value.height,"onUpdate:modelValue":t[3]||(t[3]=function(e){return A.value.height=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"宽度:",prop:"width"},{default:p((function(){return[f(r,{modelValue:A.value.width,"onUpdate:modelValue":t[4]||(t[4]=function(e){return A.value.width=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"种子:",prop:"seed"},{default:p((function(){return[f(r,{modelValue:A.value.seed,"onUpdate:modelValue":t[5]||(t[5]=function(e){return A.value.seed=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"步数:",prop:"steps"},{default:p((function(){return[f(r,{modelValue:A.value.steps,"onUpdate:modelValue":t[6]||(t[6]=function(e){return A.value.steps=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"文本引导强度:",prop:"cfg_scale"},{default:p((function(){return[f(r,{modelValue:A.value.cfg_scale,"onUpdate:modelValue":t[7]||(t[7]=function(e){return A.value.cfg_scale=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"参考图片:",prop:"pic"},{default:p((function(){return[f(w,{modelValue:A.value.pic,"onUpdate:modelValue":t[8]||(t[8]=function(e){return A.value.pic=e}),"file-type":"image"},null,8,["modelValue"])]})),_:1}),f(l,{label:"输出:",prop:"output"},{default:p((function(){return[f(w,{modelValue:A.value.output,"onUpdate:modelValue":t[9]||(t[9]=function(e){return A.value.output=e}),"file-type":"image"},null,8,["modelValue"])]})),_:1}),f(l,{label:"参考图片地址:",prop:"picurl"},{default:p((function(){return[f(r,{modelValue:A.value.picurl,"onUpdate:modelValue":t[10]||(t[10]=function(e){return A.value.picurl=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,{label:"输出地址:",prop:"outputurl"},{default:p((function(){return[f(r,{modelValue:A.value.outputurl,"onUpdate:modelValue":t[11]||(t[11]=function(e){return A.value.outputurl=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(l,null,{default:p((function(){return[f(a,{type:"primary",onClick:L},{default:p((function(){return t[12]||(t[12]=[d("保存")])})),_:1}),f(a,{type:"primary",onClick:k},{default:p((function(){return t[13]||(t[13]=[d("返回")])})),_:1})]})),_:1})]})),_:1},8,["model","rules"])])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2imgForm.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2imgForm.js new file mode 100644 index 000000000..dbd94ed10 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0img2imgForm.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{an as e,u as l,a,r as o,o as u,c as t,b as r,e as p,w as s,g as d,j as m,k as i,E as c}from"./087AC4D233B64EB0index.js";import{a as B,E as n}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{f as v,c as _,u as C}from"./087AC4D233B64EB0img2img2.js";import"./087AC4D233B64EB0date.js";import{S as j}from"./087AC4D233B64EB0selectImage.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";/* empty css */import"./087AC4D233B64EB0overlay.js";import"./087AC4D233B64EB0index21.js";/* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0scrollbar.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0debounce.js";/* empty css */import"./087AC4D233B64EB0image-viewer.js";import"./087AC4D233B64EB0image.js";import"./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js";import"./087AC4D233B64EB0common.js";/* empty css *//* empty css */import"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0index26.js";import"./087AC4D233B64EB0index27.js";import"./087AC4D233B64EB0cloneDeep.js";import"./087AC4D233B64EB0warningBar.js";/* empty css */import"./087AC4D233B64EB0index25.js";import"./087AC4D233B64EB0index28.js";const E={class:"gva-form-box"},A=Object.assign({name:"Img2imgForm"},{__name:"img2imgForm",setup(A){const D=e(),b=l(),g=a(""),f=a({desc:"",rdesc:"",number:"",height:"",width:"",seed:"",steps:"",cfg_scale:"",pic:"",output:"",picurl:"",outputurl:""}),V=o({}),h=a();(async()=>{if(D.query.id){const e=await v({ID:D.query.id});0===e.code&&(f.value=e.data.reimg2img,g.value="update")}else g.value="create"})();const y=async()=>{var e;null==(e=h.value)||e.validate((async e=>{if(!e)return;let l;switch(g.value){case"create":default:l=await _(f.value);break;case"update":l=await C(f.value)}0===l.code&&m({type:"success",message:"创建/更改成功"})}))},x=()=>{b.go(-1)};return(e,l)=>{const a=i,o=B,m=c,v=n;return u(),t("div",null,[r("div",E,[p(v,{model:f.value,ref_key:"elFormRef",ref:h,"label-position":"right",rules:V,"label-width":"80px"},{default:s((()=>[p(o,{label:"描述词:",prop:"desc"},{default:s((()=>[p(a,{modelValue:f.value.desc,"onUpdate:modelValue":l[0]||(l[0]=e=>f.value.desc=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"反向描述词:",prop:"rdesc"},{default:s((()=>[p(a,{modelValue:f.value.rdesc,"onUpdate:modelValue":l[1]||(l[1]=e=>f.value.rdesc=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"生成数量:",prop:"number"},{default:s((()=>[p(a,{modelValue:f.value.number,"onUpdate:modelValue":l[2]||(l[2]=e=>f.value.number=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"高度:",prop:"height"},{default:s((()=>[p(a,{modelValue:f.value.height,"onUpdate:modelValue":l[3]||(l[3]=e=>f.value.height=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"宽度:",prop:"width"},{default:s((()=>[p(a,{modelValue:f.value.width,"onUpdate:modelValue":l[4]||(l[4]=e=>f.value.width=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"种子:",prop:"seed"},{default:s((()=>[p(a,{modelValue:f.value.seed,"onUpdate:modelValue":l[5]||(l[5]=e=>f.value.seed=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"步数:",prop:"steps"},{default:s((()=>[p(a,{modelValue:f.value.steps,"onUpdate:modelValue":l[6]||(l[6]=e=>f.value.steps=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"文本引导强度:",prop:"cfg_scale"},{default:s((()=>[p(a,{modelValue:f.value.cfg_scale,"onUpdate:modelValue":l[7]||(l[7]=e=>f.value.cfg_scale=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"参考图片:",prop:"pic"},{default:s((()=>[p(j,{modelValue:f.value.pic,"onUpdate:modelValue":l[8]||(l[8]=e=>f.value.pic=e),"file-type":"image"},null,8,["modelValue"])])),_:1}),p(o,{label:"输出:",prop:"output"},{default:s((()=>[p(j,{modelValue:f.value.output,"onUpdate:modelValue":l[9]||(l[9]=e=>f.value.output=e),"file-type":"image"},null,8,["modelValue"])])),_:1}),p(o,{label:"参考图片地址:",prop:"picurl"},{default:s((()=>[p(a,{modelValue:f.value.picurl,"onUpdate:modelValue":l[10]||(l[10]=e=>f.value.picurl=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,{label:"输出地址:",prop:"outputurl"},{default:s((()=>[p(a,{modelValue:f.value.outputurl,"onUpdate:modelValue":l[11]||(l[11]=e=>f.value.outputurl=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),p(o,null,{default:s((()=>[p(m,{type:"primary",onClick:y},{default:s((()=>l[12]||(l[12]=[d("保存")]))),_:1}),p(m,{type:"primary",onClick:x},{default:s((()=>l[13]||(l[13]=[d("返回")]))),_:1})])),_:1})])),_:1},8,["model","rules"])])])}}});export{A as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy.js new file mode 100644 index 000000000..1eff65e82 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy.js @@ -0,0 +1,18 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){var e=["appendTo"];function t(e){var n="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return function(e,t,n){if(u())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&f(o,n.prototype),o}(e,arguments,c(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),f(t,e)},t(e)}function n(e,t,n,r,o,a,i){try{var l=e[a](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function l(e){n(i,o,a,l,u,"next",e)}function u(e){n(i,o,a,l,u,"throw",e)}l(void 0)}))}}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),l=new H(r||[]);return a(i,"_invoke",{value:M(e,n,l)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",v="suspendedYield",h="executing",m="completed",g={};function b(){}function w(){}function y(){}var x={};s(x,l,(function(){return this}));var A=Object.getPrototypeOf,_=A&&A(A(L([])));_&&_!==n&&r.call(_,l)&&(x=_);var C=y.prototype=b.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function z(e,t){function n(o,a,i,l){var u=p(e[o],e,a);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(s).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}})}function M(t,n,r){var o=d;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:e,done:!0}}for(r.method=a,r.arg=i;;){var l=r.delegate;if(l){var u=B(l,r);if(u){if(u===g)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?m:v,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function B(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,B(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=p(o,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var i=a.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function H(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function _(e,t){if(e){if("string"==typeof e)return C(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ninput,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-color-info);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}@font-face{font-family:gvaIcon;src:url(data:font/ttf;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTZJUyU8AAA14AAAAHEdERUYAKQARAAANWAAAAB5PUy8yPJpJTAAAAVgAAABgY21hcM0T0L4AAAHYAAABWmdhc3D//wADAAANUAAAAAhnbHlmRk3UvwAAA0wAAAbYaGVhZB/a5jgAAADcAAAANmhoZWEHngOFAAABFAAAACRobXR4DaoBrAAAAbgAAAAebG9jYQbMCGgAAAM0AAAAGG1heHABGgB+AAABOAAAACBuYW1lXoIBAgAACiQAAAKCcG9zdN15OnUAAAyoAAAAqAABAAAAAQAA+a916l8PPPUACwQAAAAAAN5YUSMAAAAA3lhRIwBL/8ADwAM1AAAACAACAAAAAAAAAAEAAAOA/4AAXAQAAAAAAAPAAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAALAHIABQAAAAAAAgAAAAoACgAAAP8AAAAAAAAABAQAAZAABQAAAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZADA5mXmfQOA/4AAAAPcAIAAAAABAAAAAAAAAAAAAAAgAAEEAAAAAAAAAAQAAAAEAACLAIoAYAB1AHYASwBLAGAAAAAAAAMAAAADAAAAHAABAAAAAABUAAMAAQAAABwABAA4AAAACgAIAAIAAuZm5mrmduZ9//8AAOZl5mrmdeZ7//8ZnhmbGZEZjQABAAAAAAAAAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEYAigEcAbgCUAK6AxoDbAACAIsAIANsAswAEQAjAAAlIicBJjQ3ATYeAQYHCQEeAQYhIicBJjQ3ATYeAQYHCQEeAQYDSw0J/qsLCwFVChsSAgr+xAE8CgIV/qkNCP6qCgoBVgkbEgIK/sUBOwoCFCAJATULGQsBNQoCExwI/uL+4ggbFAkBNQsZCwE1CgITHAj+4v7iCRoUAAAAAAIAigAgA2sCzAARACIAAAE0JwEmDgEWFwkBDgEWMjcBNiUBJg4BFhcJAQ4BFjI3ATY0AiAL/qsJHBECCQE8/sQJAhQZCQFVCwFA/qsKGxICCgE8/sQKAhUZCQFVCwF1DQsBNQoCExwI/uL+4gkaFAkBNQskATUKAhMcCP7i/uIJGhQJATULGQADAGD/wAOgAzUATABcAGwAAAE1NCcmJyYiBwYHBh0BDgEdARQWOwEyNj0BNCYrATU0NzY3NjIXFhcWHQEjIgYdARQWOwEGBwYHLgEjIgYUFjMyNjc2NzY3PgE9ATQmBRUUBisBIiY9ATQ2OwEyFgUUBisBIiY9ATQ2OwEyFhUDYDAvT1O+U08vMBslLB9VHi0tHiAoJkFDnENBJiggHi0tHhUPJC5SChwRHCQkHBEeCHJAMxAfKiX9kAYFVQUGBgVVBQYCVQYFVQUGBgVVBQYByQxgUlAuMDAuUFJgDAQqG6seLCweqx4tCk5DQScnJydBQ04KLR6rHiwrGiAGDxElNiUSEAc1KkUBKx6rGyhFqwQGBgSrBQYGsAQGBgSrBQYGBQAABAB1//UDjQMLABsANwBSAHEAABMyNj0BFxYyNjQvATMyNjQmKwEiBwYHBh0BFBYFIgYdAScmIgYUHwEjIgYUFjsBMjc2NzY9ATYmJQc1NCYiBh0BFBcWFxY7ATI2NCYrATc2NCYGATQ1FSYnJisBIgYUFjsBBwYUFjI/ARUUFjI2PQEnJpUNE7wJHRMKvIcMFBQM1ggCDAgCFALiDRPJCRoTCcmJDBQUDNYIAg8CAwES/gbJExkUAggKBAbWDBQUDInJCRMXAgEHCwQG2AwUFAyJvAkSHgi8ExoTAgEB9RQMibwIEhkKvBMZFAIGDAQI1gwU6hQMickJExoJyRMZFAIICgQG2AwUIsmHDBQUDNYIAg8CAxQZE8kKGRMBAcABAQIOAwMUGRO8ChkTCbyHDBQUDNYFBAAABAB2//cDjgMMABoANQBRAG0AAAEjIgYUFjsBMjc2NzY9ATQmIgYdAScmIgYUFwEzMjY0JisBIgcGBwYdARQWMjY9ARcWMjY0JyUmJyYrASIGFBY7AQcGFBYyPwEVFBYyNj0BLgE3FhcWOwEyNjQmKwE3NjQmIg8BNTQmIgYdAR4BATqJDRMTDdUJAg8CAhMaE7cKGRQKAjeJDRMTDdUJAg8CAhMaE8gJHhIK/i8HCgQH1w0TEw2JyQoTHQnIFBkTAQKoBwoEBtYNExMNibwKFBkKvBMZFAICAhoUGRMCBwoEBtYNExMNib4KExoK/iAUGRMCBwoEB9UNExMNickIEhkK8w8CAhMZFMgKGRMJyYkNExMN1QIJzQ8CAhMZFLsKGhMKvIkNExMN1QMIAAAAAAUAS//LA7UDNQAUACkAKgA3AEQAAAEiBwYHBhQXFhcWMjc2NzY0JyYnJgMiJyYnJjQ3Njc2MhcWFxYUBwYHBgMjFB4BMj4BNC4BIg4BFyIGHQEUFjI2PQE0JgIAd2ZiOzs7O2Jm7mZiOzs7O2Jmd2VXVDIzMzJUV8pXVDIzMzJUV2UrDBQWFAwMFBYUDCsNExMaExMDNTs7YmbuZmI7Ozs7YmbuZmI7O/zWMzJUV8pXVDIzMzJUV8pXVDIzAjULFAwMFBYUDAwUgBQM6w0TEw3rDBQAAQBL/+ADwAMgAD0AAAEmBg8BLgEjIgcGBwYUFxYXFjMyPgE3Ni4BBgcOAiMiJyYnJjQ3Njc2MzIeARcnJg4BFh8BMj8BNj8BNCYDpgwXAxc5yXZyY184Ojo4X2NyWaB4HgULGhcFGWaJS2FUUTAwMTBRU2FIhGQbgA0WBw4NwgUIBAwDMQ0CsQMODFhmeDk3XmHiYV43OUV9UQ0XCQsMRWo6MC9PUr9TTy8wNmNBJQMOGhYDMwMBCAu6DRYAAAAAAgBg/8YDugMiAB4AMwAABSc+ATU0JyYnJiIHBgcGFBcWFxYzMjc2NxcWMjc2JiUiJyYnJjQ3Njc2MhcWFxYUBwYHBgOxviouNDFVV8lXVTIzMzJVV2RDPzwzvgkeCAcB/hxUSEYpKiopRkioSEYpKyspRkgCvjB9RGRYVDIzNDJVWMlXVTE0GBYqvgkJChuBKylGSKhIRikqKilGSKhIRikrAAAAABIA3gABAAAAAAAAABMAKAABAAAAAAABAAgATgABAAAAAAACAAcAZwABAAAAAAADAAgAgQABAAAAAAAEAAgAnAABAAAAAAAFAAsAvQABAAAAAAAGAAgA2wABAAAAAAAKACsBPAABAAAAAAALABMBkAADAAEECQAAACYAAAADAAEECQABABAAPAADAAEECQACAA4AVwADAAEECQADABAAbwADAAEECQAEABAAigADAAEECQAFABYApQADAAEECQAGABAAyQADAAEECQAKAFYA5AADAAEECQALACYBaABDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AABDcmVhdGVkIGJ5IGljb25mb250AABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAABHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuAABoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAABodHRwOi8vZm9udGVsbG8uY29tAAAAAAIAAAAAAAAACgAAAAAAAQAAAAAAAAAAAAAAAAAAAAAACwAAAAEAAgECAQMBBAEFAQYBBwEIAQkRYXJyb3ctZG91YmxlLWxlZnQSYXJyb3ctZG91YmxlLXJpZ2h0EGN1c3RvbWVyLXNlcnZpY2URZnVsbHNjcmVlbi1leHBhbmQRZnVsbHNjcmVlbi1zaHJpbmsGcHJvbXB0B3JlZnJlc2gGc2VhcmNoAAAAAf//AAIAAQAAAAwAAAAWAAAAAgABAAMACgABAAQAAAACAAAAAAAAAAEAAAAA1aQnCAAAAADeWFEjAAAAAN5YUSM=) format("truetype");font-weight:600;font-style:normal;font-display:swap}.gvaIcon{font-family:gvaIcon!important;font-size:16px;font-style:normal;font-weight:800;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gvaIcon-arrow-double-left:before{content:""}.gvaIcon-arrow-double-right:before{content:""}.gvaIcon-fullscreen-shrink:before{content:""}.gvaIcon-customer-service:before{content:""}.gvaIcon-fullscreen-expand:before{content:""}.gvaIcon-prompt:before{content:""}.gvaIcon-refresh:before{content:""}.gvaIcon-search:before{content:""}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}HTML,body,div,ul,ol,dl,li,dt,dd,p,blockquote,pre,form,fieldset,table,th,td{border:none;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;font-size:14px;margin:0;padding:0}html,body{height:100%;width:100%}address,caption,cite,code,th,var{font-style:normal;font-weight:400}a{text-decoration:none}input::-ms-clear{display:none}input::-ms-reveal{display:none}input{-webkit-appearance:none;margin:0;outline:none;padding:0}input::-webkit-input-placeholder{color:#ccc}input::-ms-input-placeholder{color:#ccc}input::-moz-placeholder{color:#ccc}input[type=submit],input[type=button]{cursor:pointer}button[disabled],input[disabled]{cursor:default}img{border:none}ul,ol,li{list-style-type:none}#app .el-container{position:relative;height:100%;width:100%}#app .el-container.mobile.openside{position:fixed;top:0}#app .gva-aside{position:fixed;top:0;left:0;z-index:1001;overflow:hidden}#app .gva-aside .el-menu{border-right-width:0px}#app .aside .el-menu--collapse>.el-menu-item{display:flex;justify-content:center}#app .aside .el-sub-menu .el-menu .is-active ul,#app .aside .el-sub-menu .el-menu .is-active.is-opened ul{border:none}#app .hideside .aside,#app .mobile .gva-aside{width:54px}#app .hideside .main-cont.el-main{margin-left:54px}#app .mobile .main-cont.el-main{margin-left:0}.admin-box{margin:7rem .25rem 1rem;min-height:calc(100vh - 200px);padding:1rem .75rem}.admin-box .el-table th{padding-left:0;padding-right:0;padding-top:.5rem;padding-bottom:.5rem}.admin-box .el-table th .cell{line-height:40px;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.admin-box .el-table td{padding-left:0;padding-right:0;padding-top:.5rem;padding-bottom:.5rem}.admin-box .el-table td .cell{line-height:40px;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.admin-box .el-table .is-leaf{border-bottom-width:1px;border-top-width:0px;border-left-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity));border-right:var(--el-table-border);background:#F7FBFF!important}.el-pagination{margin-top:2rem}.el-pagination .btn-prev,.el-pagination .btn-next{border-radius:.25rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.el-pagination .el-pager li{margin-left:.25rem;margin-right:.25rem;border-radius:.25rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.el-container.layout-cont .header-cont{height:4rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-left:1rem;padding-right:1rem}.el-container.layout-cont .main-cont{height:100vh;overflow:visible}.el-container.layout-cont .main-cont.el-main{margin-left:220px;min-height:100%;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity));padding:0}.el-container.layout-cont .main-cont .breadcrumb{margin-left:3rem;display:flex;height:4rem;align-items:center;padding:0;font-size:1.125rem;line-height:1.75rem}.el-container.layout-cont .main-cont .breadcrumb .el-breadcrumb__item .el-breadcrumb__inner{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.el-container.layout-cont .main-cont .breadcrumb .el-breadcrumb__item:nth-last-child(1) .el-breadcrumb__inner{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.el-container.layout-cont .main-cont .router-history{border-top-width:1px;border-left-width:0px;border-right-width:0px;border-bottom-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:0}.el-container.layout-cont .main-cont .router-history .el-tabs__header{margin:0}.el-container.layout-cont .main-cont .router-history .el-tabs__header .el-tabs__item{border-right-width:1px;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.el-container.layout-cont .main-cont .router-history .el-tabs__header .el-tabs__item.is-active{background-color:rgb(59 130 246 / var(--tw-bg-opacity));--tw-bg-opacity: .05}.el-container.layout-cont .main-cont .router-history .el-tabs__header .el-tabs__nav{border-width:0px}.el-container.layout-cont .main-cont .aside{overflow:auto}.el-container.layout-cont .main-cont .el-menu-vertical{height:calc(100vh - 60px)}.el-container.layout-cont .main-cont .el-menu-vertical:not(.el-menu--collapse){width:220px}.el-container.layout-cont .main-cont .el-menu--collapse{width:54px}.el-container.layout-cont .main-cont .el-menu--collapse li .el-tooltip,.el-container.layout-cont .main-cont .el-menu--collapse li .el-sub-menu__title{padding-left:1rem;padding-right:1rem}.el-dropdown{overflow:hidden}.gva-table-box{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem}.gva-btn-list{margin-bottom:.75rem;display:flex;align-items:center;gap:.75rem}#nprogress .bar{background:#29d!important}#app .el-button{font-weight:400;border-radius:2px}::-webkit-scrollbar{display:none}.gva-search-box{margin-bottom:.75rem;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem 1.5rem .125rem}.gva-form-box{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem}.gva-pagination{display:flex;justify-content:flex-end}.gva-pagination .el-pagination__editor .el-input__inner{height:2rem}.gva-pagination .is-active{border-radius:.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));background:var(--el-color-primary);color:#fff!important}:root{--el-color-white: #ffffff;--el-color-black: #000000;--el-color-primary-rgb: 77, 112, 255;--el-color-success-rgb: 103, 194, 58;--el-color-warning-rgb: 230, 162, 60;--el-color-danger-rgb: 245, 108, 108;--el-color-error-rgb: 245, 108, 108;--el-color-info-rgb: 144, 147, 153;--el-font-size-extra-large: 20px;--el-font-size-large: 18px;--el-font-size-medium: 16px;--el-font-size-base: 14px;--el-font-size-small: 13px;--el-font-size-extra-small: 12px;--el-font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;--el-font-weight-primary: 500;--el-font-line-height-primary: 24px;--el-index-normal: 1;--el-index-top: 1000;--el-index-popper: 2000;--el-border-radius-base: 4px;--el-border-radius-small: 2px;--el-border-radius-round: 20px;--el-border-radius-circle: 100%;--el-transition-duration: .3s;--el-transition-duration-fast: .2s;--el-transition-function-ease-in-out-bezier: cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier: cubic-bezier(.23, 1, .32, 1);--el-transition-all: all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade: opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade: transform var(--el-transition-duration) var(--el-transition-function-fast-bezier), opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear: opacity var(--el-transition-duration-fast) linear;--el-transition-border: border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow: box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color: color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large: 40px;--el-component-size: 32px;--el-component-size-small: 24px;color-scheme:light;--el-color-primary: #4d70ff;--el-color-primary-light-3: rgb(130.4, 154.9, 255);--el-color-primary-light-5: rgb(166, 183.5, 255);--el-color-primary-light-7: rgb(201.6, 212.1, 255);--el-color-primary-light-8: rgb(219.4, 226.4, 255);--el-color-primary-light-9: rgb(237.2, 240.7, 255);--el-color-primary-dark-2: rgb(61.6, 89.6, 204);--el-color-success: #67c23a;--el-color-success-light-3: rgb(148.6, 212.3, 117.1);--el-color-success-light-5: rgb(179, 224.5, 156.5);--el-color-success-light-7: rgb(209.4, 236.7, 195.9);--el-color-success-light-8: rgb(224.6, 242.8, 215.6);--el-color-success-light-9: rgb(239.8, 248.9, 235.3);--el-color-success-dark-2: rgb(82.4, 155.2, 46.4);--el-color-warning: #e6a23c;--el-color-warning-light-3: rgb(237.5, 189.9, 118.5);--el-color-warning-light-5: rgb(242.5, 208.5, 157.5);--el-color-warning-light-7: rgb(247.5, 227.1, 196.5);--el-color-warning-light-8: rgb(250, 236.4, 216);--el-color-warning-light-9: rgb(252.5, 245.7, 235.5);--el-color-warning-dark-2: rgb(184, 129.6, 48);--el-color-danger: #f56c6c;--el-color-danger-light-3: rgb(248, 152.1, 152.1);--el-color-danger-light-5: rgb(250, 181.5, 181.5);--el-color-danger-light-7: rgb(252, 210.9, 210.9);--el-color-danger-light-8: rgb(253, 225.6, 225.6);--el-color-danger-light-9: rgb(254, 240.3, 240.3);--el-color-danger-dark-2: rgb(196, 86.4, 86.4);--el-color-error: #f56c6c;--el-color-error-light-3: rgb(248, 152.1, 152.1);--el-color-error-light-5: rgb(250, 181.5, 181.5);--el-color-error-light-7: rgb(252, 210.9, 210.9);--el-color-error-light-8: rgb(253, 225.6, 225.6);--el-color-error-light-9: rgb(254, 240.3, 240.3);--el-color-error-dark-2: rgb(196, 86.4, 86.4);--el-color-info: #909399;--el-color-info-light-3: rgb(177.3, 179.4, 183.6);--el-color-info-light-5: rgb(199.5, 201, 204);--el-color-info-light-7: rgb(221.7, 222.6, 224.4);--el-color-info-light-8: rgb(232.8, 233.4, 234.6);--el-color-info-light-9: rgb(243.9, 244.2, 244.8);--el-color-info-dark-2: rgb(115.2, 117.6, 122.4);--el-bg-color: #ffffff;--el-bg-color-page: #f2f3f5;--el-bg-color-overlay: #ffffff;--el-text-color-primary: #303133;--el-text-color-regular: #606266;--el-text-color-secondary: #909399;--el-text-color-placeholder: #a8abb2;--el-text-color-disabled: #c0c4cc;--el-border-color: #dcdfe6;--el-border-color-light: #e4e7ed;--el-border-color-lighter: #ebeef5;--el-border-color-extra-light: #f2f6fc;--el-border-color-dark: #d4d7de;--el-border-color-darker: #cdd0d6;--el-fill-color: #f0f2f5;--el-fill-color-light: #f5f7fa;--el-fill-color-lighter: #fafafa;--el-fill-color-extra-light: #fafcff;--el-fill-color-dark: #ebedf0;--el-fill-color-darker: #e6e8eb;--el-fill-color-blank: #ffffff;--el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .08), 0px 12px 32px rgba(0, 0, 0, .12), 0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color: var(--el-fill-color-light);--el-disabled-text-color: var(--el-text-color-placeholder);--el-disabled-border-color: var(--el-border-color-light);--el-overlay-color: rgba(0, 0, 0, .8);--el-overlay-color-light: rgba(0, 0, 0, .7);--el-overlay-color-lighter: rgba(0, 0, 0, .5);--el-mask-color: rgba(255, 255, 255, .9);--el-mask-color-extra-light: rgba(255, 255, 255, .3);--el-border-width: 1px;--el-border-style: solid;--el-border-color-hover: var(--el-text-color-disabled);--el-border: var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey: var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color: inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}*,: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: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible!important}.collapse{visibility:collapse!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.bottom-3{bottom:.75rem!important}.left-0{left:0!important}.right-0{right:0!important}.top-0{top:0!important}.top-0\\.5{top:.125rem!important}.z-10{z-index:10!important}.z-20{z-index:20!important}.z-50{z-index:50!important}.z-\\[1001\\]{z-index:1001!important}.z-\\[999\\]{z-index:999!important}.col-span-3{grid-column:span 3 / span 3!important}.col-span-9{grid-column:span 9 / span 9!important}.float-right{float:right!important}.float-left{float:left!important}.clear-both{clear:both!important}.mx-0{margin-left:0!important;margin-right:0!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-2\\.5{margin-top:.625rem!important;margin-bottom:.625rem!important}.my-4{margin-top:1rem!important;margin-bottom:1rem!important}.my-8{margin-top:2rem!important;margin-bottom:2rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.-ml-52{margin-left:-13rem!important}.-ml-80{margin-left:-20rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:.75rem!important}.mb-4{margin-bottom:1rem!important}.mb-6{margin-bottom:1.5rem!important}.mb-9{margin-bottom:2.25rem!important}.ml-2{margin-left:.5rem!important}.ml-3{margin-left:.75rem!important}.mr-1\\.5{margin-right:.375rem!important}.mr-2{margin-right:.5rem!important}.mr-5{margin-right:1.25rem!important}.mt-0\\.5{margin-top:.125rem!important}.mt-2{margin-top:.5rem!important}.mt-2\\.5{margin-top:.625rem!important}.mt-20{margin-top:5rem!important}.mt-3{margin-top:.75rem!important}.mt-4{margin-top:1rem!important}.mt-8{margin-top:2rem!important}.box-border{box-sizing:border-box!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.grid{display:grid!important}.list-item{display:list-item!important}.hidden{display:none!important}.h-11{height:2.75rem!important}.h-16{height:4rem!important}.h-52{height:13rem!important}.h-72{height:18rem!important}.h-8{height:2rem!important}.h-80{height:20rem!important}.h-9{height:2.25rem!important}.h-\\[130\\%\\]{height:130%!important}.h-\\[50vh\\]{height:50vh!important}.h-auto{height:auto!important}.h-full{height:100%!important}.h-screen{height:100vh!important}.min-h-\\[60px\\]{min-height:60px!important}.w-1\\/2{width:50%!important}.w-1\\/3{width:33.333333%!important}.w-10\\/12{width:83.333333%!important}.w-16{width:4rem!important}.w-24{width:6rem!important}.w-3\\/5{width:60%!important}.w-52{width:13rem!important}.w-64{width:16rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-96{width:24rem!important}.w-\\[500px\\]{width:500px!important}.w-\\[680px\\]{width:680px!important}.w-full{width:100%!important}.max-w-\\[160px\\]{max-width:160px!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.-rotate-12{--tw-rotate: -12deg !important;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))!important}.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))!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-center{align-items:center!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.justify-evenly{justify-content:space-evenly!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-4{gap:1rem!important}.gap-5{gap:1.25rem!important}.overflow-hidden{overflow:hidden!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-scroll{overflow-y:scroll!important}.truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded{border-radius:.25rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-xl{border-radius:.75rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-b-2{border-bottom-width:2px!important}.border-l-0{border-left-width:0px!important}.border-r-0{border-right-width:0px!important}.border-t-0{border-top-width:0px!important}.border-solid{border-style:solid!important}.border-gray-100{--tw-border-opacity: 1 !important;border-color:rgb(243 244 246 / var(--tw-border-opacity))!important}.border-gray-200{--tw-border-opacity: 1 !important;border-color:rgb(229 231 235 / var(--tw-border-opacity))!important}.border-gray-300{--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.bg-\\[\\#194bfb\\]{--tw-bg-opacity: 1 !important;background-color:rgb(25 75 251 / var(--tw-bg-opacity))!important}.bg-\\[\\#c3d4f2\\]{--tw-bg-opacity: 1 !important;background-color:rgb(195 212 242 / var(--tw-bg-opacity))!important}.bg-amber-50{--tw-bg-opacity: 1 !important;background-color:rgb(255 251 235 / var(--tw-bg-opacity))!important}.bg-black{--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.bg-gray-50{--tw-bg-opacity: 1 !important;background-color:rgb(249 250 251 / var(--tw-bg-opacity))!important}.bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2\\.5{padding:.625rem!important}.p-4{padding:1rem!important}.p-5{padding:1.25rem!important}.p-9{padding:2.25rem!important}.px-1\\.5{padding-left:.375rem!important;padding-right:.375rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-1\\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.py-4{padding-top:1rem!important;padding-bottom:1rem!important}.py-6{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-8{padding-top:2rem!important;padding-bottom:2rem!important}.pb-10{padding-bottom:2.5rem!important}.pb-2\\.5{padding-bottom:.625rem!important}.pb-5{padding-bottom:1.25rem!important}.pl-3{padding-left:.75rem!important}.pt-12{padding-top:3rem!important}.pt-2\\.5{padding-top:.625rem!important}.pt-4{padding-top:1rem!important}.text-left{text-align:left!important}.text-center{text-align:center!important}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-bold{font-weight:700!important}.font-normal{font-weight:400!important}.italic{font-style:italic!important}.leading-5{line-height:1.25rem!important}.text-amber-500{--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}.text-black{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.text-blue-400{--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}.text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.text-blue-600{--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}.text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.text-gray-500{--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}.text-gray-600{--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}.text-gray-700{--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}.text-gray-800{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.text-red-600{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.antialiased{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}.opacity-30{opacity:.3!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-blue-600{--tw-shadow-color: #2563eb !important;--tw-shadow: var(--tw-shadow-colored) !important}.outline{outline-style:solid!important}.blur{--tw-blur: blur(8px) !important;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)!important}.grayscale{--tw-grayscale: grayscale(100%) !important;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)!important}.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)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-100{transition-duration:.1s!important}.duration-300{transition-duration:.3s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}#app{background:#eee;height:100vh;overflow:hidden;font-weight:400!important}.el-button{font-weight:400!important}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1 !important;background-color:rgb(239 246 255 / var(--tw-bg-opacity))!important}.hover\\:text-gray-800:hover{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.group:hover .group-hover\\:text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.group:hover .group-hover\\:text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}@media (min-width: 768px){.md\\:block{display:block!important}.md\\:flex{display:flex!important}.md\\:h-screen{height:100vh!important}.md\\:w-3\\/5{width:60%!important}.md\\:w-96{width:24rem!important}.md\\:w-screen{width:100vw!important}.md\\:bg-\\[\\#194bfb\\]{--tw-bg-opacity: 1 !important;background-color:rgb(25 75 251 / var(--tw-bg-opacity))!important}}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n',document.head.appendChild(f),n({D:Xt,F:fe,G:Fr,L:function(e,t,n,r){var o,a=n&&n[r],i=R(e);if(i||U(e)){var l=!1;i&&Pt(e)&&(l=!Nt(e),e=lt(e)),o=new Array(e.length);for(var u=0,c=e.length;u0&&void 0!==arguments[0]?arguments[0]:e(t.proxy);Array.from(document.querySelectorAll('[data-v-owner="'.concat(t.uid,'"]'))).forEach((function(e){return _i(e,n)}))},r=function(){var r=e(t.proxy);t.ce?_i(t.ce,r):Ai(t.subTree,r),n(r)};Ar((function(){Ro(r,null,{flush:"post"})})),_r((function(){var e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Mr((function(){return e.disconnect()}))}))},aK:Ny,aN:Fo,aO:tx,aR:u_,ab:po,ad:y_,ae:x_,af:nn,am:M_,an:function(e){return po(Dg)},aq:Qr,ar:Rt,as:an,at:function(e){if(!e)return null;var t=e.class,n=e.style;t&&!U(t)&&(e.class=me(t));n&&(e.style=fe(n));return e},au:va,ax:function(e,t){for(var n=function(){var n=t[r];if(R(n))for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Kt(e.value),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Py(function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=jy,a=function(e){clearTimeout(e),o(),o=jy},i=function(i){var l=Dy(e),u=Dy(r.maxWait);return t&&a(t),l<=0||void 0!==u&&u<=0?(n&&(a(n),n=null),Promise.resolve(i())):new Promise((function(e,c){o=r.rejectOnCancel?c:e,u&&!n&&(n=setTimeout((function(){t&&a(t),n=null,e(i())}),u)),t=setTimeout((function(){n&&a(n),n=null,e(i())}),l)}))};return i}(t,n),e)}((function(){r.value=e.value}),t,n);return jo(e,(function(){return o()})),r},b5:Dx,b6:LA,b7:JA,b8:XA,b9:i_,bA:ha,bD:Uy,bH:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.window,o=void 0===r?qy:r,a=n.ignore,i=void 0===a?[]:a,l=n.capture,u=void 0===l||l,c=n.detectIframe,s=void 0!==c&&c;if(!o)return;Ry&&!Yy&&(Yy=!0,Array.from(o.document.body.children).forEach((function(e){return e.addEventListener("click",jy)})));var f=!0,p=function(e){return i.some((function(t){if("string"==typeof t)return Array.from(o.document.querySelectorAll(t)).some((function(t){return t===e.target||e.composedPath().includes(t)}));var n=Uy(t);return n&&(e.target===n||e.composedPath().includes(n))}))},d=[Gy(o,"click",(function(n){var r=Uy(e);r&&r!==n.target&&!n.composedPath().includes(r)&&(0===n.detail&&(f=!p(n)),f?t(n):f=!0)}),{passive:!0,capture:u}),Gy(o,"pointerdown",(function(t){var n=Uy(e);n&&(f=!t.composedPath().includes(n)&&!p(t))}),{passive:!0}),s&&Gy(o,"blur",(function(n){var r,a=Uy(e);"IFRAME"!==(null==(r=o.document.activeElement)?void 0:r.tagName)||(null==a?void 0:a.contains(o.document.activeElement))||t(n)}))].filter(Boolean);return function(){return d.forEach((function(e){return e()}))}},bI:hr,bK:e_,bM:Sx,bN:wA,bO:UA,bP:gA,bQ:Hx,bT:rA,bU:_A,bV:Qx,bW:Bx,bZ:hA,b_:DA,ba:ZA,bb:Px,bd:qt,be:BC,bf:MC,bm:function(e,t){if(!Vy)return;if(!t)return void(e.scrollTop=0);var n=[],r=t.offsetParent;for(;null!==r&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;var o=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),a=o+t.offsetHeight,i=e.scrollTop,l=i+e.clientHeight;ol&&(e.scrollTop=a-e.clientHeight)},bp:function(e){return jr(Vr,e)},br:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r,a=o.window,i=void 0===a?qy:a,l=lx(o,["window"]),u=Wy((function(){return i&&"MutationObserver"in i})),c=function(){n&&(n.disconnect(),n=void 0)},s=jo((function(){return Uy(e)}),(function(e){c(),u.value&&i&&e&&(n=new MutationObserver(t)).observe(e,l)}),{immediate:!0}),f=function(){c(),s()};return Iy(f),{isSupported:u,stop:f}},bs:vr,bu:l_,bv:Iy,c:ia,c$:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.window,o=void 0===r?qy:r,a=n.initialValue,i=void 0===a?"":a,l=Kt(i),u=Na((function(){var e;return Uy(t)||(null==(e=null==o?void 0:o.document)?void 0:e.documentElement)}));return jo([u,function(){return Dy(e)}],(function(e){var t,n=g(e,2),r=n[0],a=n[1];if(r&&o){var u=null==(t=o.getComputedStyle(r).getPropertyValue(a))?void 0:t.trim();l.value=u||i}}),{immediate:!0}),jo(l,(function(t){var n;(null==(n=u.value)?void 0:n.style)&&u.value.style.setProperty(Dy(e),t)})),l},c0:Kx,c1:mA,c4:xA,c5:Lx,c6:r_,c9:Wt,cE:Gr,cH:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return Py(function(e){var t,n,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=0,l=!0,u=jy,c=function(){t&&(clearTimeout(t),t=void 0,u(),u=jy)},s=function(s){var f=Dy(e),p=Date.now()-i,d=function(){return n=s()};return c(),f<=0?(i=Date.now(),d()):(p>f&&(o||!l)?(i=Date.now(),d()):r&&(n=new Promise((function(e,n){u=a?n:e,t=setTimeout((function(){i=Date.now(),l=!0,e(d()),c()}),Math.max(0,f-p))}))),o||t||(t=setTimeout((function(){return l=!0}),f)),l=!1,n)};return s}(t,n,r,o),e)},cN:function(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=i.clone,u=void 0!==l&&l,c=i.passive,s=void 0!==c&&c,f=i.eventName,p=i.deep,d=void 0!==p&&p,v=i.defaultValue,h=Ba(),m=n||(null==h?void 0:h.emit)||(null==(r=null==h?void 0:h.$emit)?void 0:r.bind(h))||(null==(a=null==(o=null==h?void 0:h.proxy)?void 0:o.$emit)?void 0:a.bind(null==h?void 0:h.proxy)),g=f;t||(t="modelValue");g=f||g||"update:".concat(t.toString());var b=function(e){return u?Ty(u)?u(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},w=function(){return Oy(e[t])?b(e[t]):v};if(s){var y=Kt(w());return jo((function(){return e[t]}),(function(e){return y.value=b(e)})),jo(y,(function(n){(n!==e[t]||d)&&m(g,n)}),{deep:d}),y}return Na({get:function(){return w()},set:function(e){m(g,e)}})},cP:function(e,t){var n={};for(var r in e)n[t&&/[A-Z]/.test(r)?"on:".concat(r):ae(r)]=e[r];return n},cQ:ua,cR:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.document,n=void 0===t?Qy:t;if(!n)return Kt("visible");var r=Kt(n.visibilityState);return Gy(n,"visibilitychange",(function(){r.value=n.visibilityState})),r},cS:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.window,n=void 0===t?qy:t;if(!n)return Kt(!1);var r=Kt(n.document.hasFocus());return Gy(n,"blur",(function(){r.value=!1})),Gy(n,"focus",(function(){r.value=!0})),r},cT:function(e,t){var n,r=$t();return Fo((function(){r.value=e()}),Ly(Hy({},t),{flush:null!=(n=null==t?void 0:t.flush)?n:"sync"})),Rt(r)},cn:FC,cv:Qt,cy:Be,d:function(e,t){var n=da(Xo,null,e);return n.staticCount=t,n},di:CM,dp:o_,f:ga,g:ma,h:la,n:me,o:na,q:lr,r:Ft,u:function(){return po(Rg)},w:On,x:fo,y:Ua,z:Dr}); +/** + * @vue/shared v3.5.12 + * (c) 2018-present Yuxi (Evan) You and Vue contributors + * @license MIT + **/ +/*! #__NO_SIDE_EFFECTS__ */ +function d(e){var t,n=Object.create(null),r=A(e.split(","));try{for(r.s();!(t=r.n()).done;){var o=t.value;n[o]=1}}catch(a){r.e(a)}finally{r.f()}return function(e){return e in n}}var m,C={},z=[],S=n("bz",(function(){})),H=function(){return!1},L=function(e){return 111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)},V=function(e){return e.startsWith("onUpdate:")},O=Object.assign,T=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},F=Object.prototype.hasOwnProperty,j=n("c7",(function(e,t){return F.call(e,t)})),R=n("a8",Array.isArray),D=function(e){return"[object Map]"===W(e)},P=function(e){return"[object Set]"===W(e)},I=n("dk",(function(e){return"[object Date]"===W(e)})),N=n("a$",(function(e){return"function"==typeof e})),U=n("ag",(function(e){return"string"==typeof e})),q=function(e){return"symbol"==typeof e},Q=n("aQ",(function(e){return null!==e&&"object"==typeof e})),G=n("c_",(function(e){return(Q(e)||N(e))&&N(e.then)&&N(e.catch)})),Y=Object.prototype.toString,W=function(e){return Y.call(e)},K=n("bl",(function(e){return W(e).slice(8,-1)})),$=n("cL",(function(e){return"[object Object]"===W(e)})),J=function(e){return U(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},Z=d(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),X=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},ee=/-(\w)/g,te=X((function(e){return e.replace(ee,(function(e,t){return t?t.toUpperCase():""}))})),ne=/\B([A-Z])/g,re=X((function(e){return e.replace(ne,"-$1").toLowerCase()})),oe=n("bS",X((function(e){return e.charAt(0).toUpperCase()+e.slice(1)}))),ae=n("bq",X((function(e){return e?"on".concat(oe(e)):""}))),ie=function(e,t){return!Object.is(e,t)},le=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r3&&void 0!==arguments[3]&&arguments[3];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ce=function(e){var t=parseFloat(e);return isNaN(t)?e:t},se=function(){return m||(m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})};function fe(e){if(R(e)){for(var t={},n=0;n1&&(t[n[0].trim()]=n[1].trim())}})),t}function me(e){var t="";if(U(e))t=e;else if(R(e))for(var n=0;n"]=a,e}),{})):P(t)?h({},"Set(".concat(t.size,")"),y(t.values()).map((function(e){return ze(e)}))):q(t)?ze(t):!Q(t)||R(t)||$(t)?t:String(t)},ze=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return q(e)?"Symbol(".concat(null!=(t=e.description)?t:n,")"):e},Me=function(){return v((function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];p(this,e),this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=xe,!t&&xe&&(this.index=(xe.scopes||(xe.scopes=[])).push(this)-1)}),[{key:"active",get:function(){return this._active}},{key:"pause",value:function(){if(this._active){var e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e1&&void 0!==arguments[1]&&arguments[1];if(e.flags|=8,t)return e.next=Le,void(Le=e);e.next=He,He=e}function je(){Te++}function Re(){if(!(--Te>0)){if(Le){var e=Le;for(Le=void 0;e;){var t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(var n;He;){var r=He;for(He=void 0;r;){var o=r.next;if(r.next=void 0,r.flags&=-9,1&r.flags)try{r.trigger()}catch(a){n||(n=a)}r=o}}if(n)throw n}}function De(e){for(var t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Pe(e){for(var t,n=e.depsTail,r=n;r;){var o=r.prevDep;-1===r.version?(r===n&&(n=o),Ue(r),qe(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Ie(e){for(var t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ne(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ne(e){if((!(4&e.flags)||16&e.flags)&&(e.flags&=-17,e.globalVersion!==$e)){e.globalVersion=$e;var t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ie(e))e.flags&=-3;else{var n=Ae,r=Qe;Ae=e,Qe=!0;try{De(e);var o=e.fn(e._value);(0===t.version||ie(o,e._value))&&(e._value=o,t.version++)}catch(a){throw t.version++,a}finally{Ae=n,Qe=r,Pe(e),e.flags&=-3}}}}function Ue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.dep,r=e.prevSub,o=e.nextSub;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(var a=n.computed.deps;a;a=a.nextDep)Ue(a,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function qe(e){var t=e.prevDep,n=e.nextDep;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Qe=!0,Ge=[];function Ye(){Ge.push(Qe),Qe=!1}function We(){var e=Ge.pop();Qe=void 0===e||e}function Ke(e){var t=e.cleanup;if(e.cleanup=void 0,t){var n=Ae;Ae=void 0;try{t()}finally{Ae=n}}}var $e=0,Je=v((function e(t,n){p(this,e),this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0})),Ze=function(){return v((function e(t){p(this,e),this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}),[{key:"track",value:function(e){if(Ae&&Qe&&Ae!==this.computed){var t=this.activeLink;if(void 0===t||t.sub!==Ae)t=this.activeLink=new Je(Ae,this),Ae.deps?(t.prevDep=Ae.depsTail,Ae.depsTail.nextDep=t,Ae.depsTail=t):Ae.deps=Ae.depsTail=t,Xe(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){var n=t.nextDep;n.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=n),t.prevDep=Ae.depsTail,t.nextDep=void 0,Ae.depsTail.nextDep=t,Ae.depsTail=t,Ae.deps===t&&(Ae.deps=n)}return t}}},{key:"trigger",value:function(e){this.version++,$e++,this.notify(e)}},{key:"notify",value:function(e){je();try{0;for(var t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{Re()}}}])}();function Xe(e){if(e.dep.sc++,4&e.sub.flags){var t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(var n=t.deps;n;n=n.nextDep)Xe(n)}var r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}var et=new WeakMap,tt=Symbol(""),nt=Symbol(""),rt=Symbol("");function ot(e,t,n){if(Qe&&Ae){var r=et.get(e);r||et.set(e,r=new Map);var o=r.get(n);o||(r.set(n,o=new Ze),o.map=r,o.key=n),o.track()}}function at(e,t,n,r,o,a){var i=et.get(e);if(i){var l=function(e){e&&e.trigger()};if(je(),"clear"===t)i.forEach(l);else{var u=R(e),c=u&&J(n);if(u&&"length"===n){var s=Number(r);i.forEach((function(e,t){("length"===t||t===rt||!q(t)&&t>=s)&&l(e)}))}else switch((void 0!==n||i.has(void 0))&&l(i.get(n)),c&&l(i.get(rt)),t){case"add":u?c&&l(i.get("length")):(l(i.get(tt)),D(e)&&l(i.get(nt)));break;case"delete":u||(l(i.get(tt)),D(e)&&l(i.get(nt)));break;case"set":D(e)&&l(i.get(tt))}}Re()}else $e++}function it(e){var t=qt(e);return t===e?t:(ot(t,0,rt),Nt(e)?t:t.map(Gt))}function lt(e){return ot(e=qt(e),0,rt),e}var ut=(h(h(h(h(h(h(h(h(h(h(u={__proto__:null},Symbol.iterator,(function(){return ct(this,Symbol.iterator,Gt)})),"concat",(function(){for(var e,t=arguments.length,n=new Array(t),r=0;r1?t-1:0),r=1;r1?t-1:0),r=1;r2&&(s=function(t,r){return n.call(this,t,r,e)}));var f=u.call(i,s,r);return l&&o?o(f):f}function pt(e,t,n,r){var o=lt(e),a=n;return o!==e&&(Nt(e)?n.length>3&&(a=function(t,r,o){return n.call(this,t,r,o,e)}):a=function(t,r,o){return n.call(this,t,Gt(r),o,e)}),o[t].apply(o,[a].concat(y(r)))}function dt(e,t,n){var r=qt(e);ot(r,0,rt);var o=r[t].apply(r,y(n));return-1!==o&&!1!==o||!Ut(n[0])?o:(n[0]=qt(n[0]),r[t].apply(r,y(n)))}function vt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Ye(),je();var r=qt(e)[t].apply(e,n);return Re(),We(),r}var ht=d("__proto__,__v_isRef,__isVue"),mt=new Set(Object.getOwnPropertyNames(Symbol).filter((function(e){return"arguments"!==e&&"caller"!==e})).map((function(e){return Symbol[e]})).filter(q));function gt(e){q(e)||(e=String(e));var t=qt(this);return ot(t,0,e),t.hasOwnProperty(e)}var bt=function(){return v((function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];p(this,e),this._isReadonly=t,this._isShallow=n}),[{key:"get",value:function(e,t,n){var r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Tt:Ot:o?Vt:Lt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;var a=R(e);if(!r){var i;if(a&&(i=ut[t]))return i;if("hasOwnProperty"===t)return gt}var l=Reflect.get(e,t,Wt(e)?e:n);return(q(t)?mt.has(t):ht(t))?l:(r||ot(e,0,t),o?l:Wt(l)?a&&J(t)?l:l.value:Q(l)?r?Rt(l):Ft(l):l)}}])}(),wt=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return p(this,t),l(this,t,[!1,e])}return s(t,e),v(t,[{key:"set",value:function(e,t,n,r){var o=e[t];if(!this._isShallow){var a=It(o);if(Nt(n)||It(n)||(o=qt(o),n=qt(n)),!R(e)&&Wt(o)&&!Wt(n))return!a&&(o.value=n,!0)}var i=R(e)&&J(t)?Number(t)0&&void 0!==arguments[0]&&arguments[0];return p(this,t),l(this,t,[!0,e])}return s(t,e),v(t,[{key:"set",value:function(e,t){return!0}},{key:"deleteProperty",value:function(e,t){return!0}}])}(bt),xt=new wt,At=new yt,_t=new wt(!0),Ct=function(e){return e},kt=function(e){return Reflect.getPrototypeOf(e)};function zt(e){return function(){return"delete"!==e&&("clear"===e?void 0:this)}}function Mt(e,t){var n={get:function(n){var r=this.__v_raw,o=qt(r),a=qt(n);e||(ie(n,a)&&ot(o,0,n),ot(o,0,a));var i=kt(o).has,l=t?Ct:e?Yt:Gt;return i.call(o,n)?l(r.get(n)):i.call(o,a)?l(r.get(a)):void(r!==o&&r.get(n))},get size(){var t=this.__v_raw;return!e&&ot(qt(t),0,tt),Reflect.get(t,"size",t)},has:function(t){var n=this.__v_raw,r=qt(n),o=qt(t);return e||(ie(t,o)&&ot(r,0,t),ot(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach:function(n,r){var o=this,a=o.__v_raw,i=qt(a),l=t?Ct:e?Yt:Gt;return!e&&ot(i,0,tt),a.forEach((function(e,t){return n.call(r,l(e),l(t),o)}))}};return O(n,e?{add:zt("add"),set:zt("set"),delete:zt("delete"),clear:zt("clear")}:{add:function(e){t||Nt(e)||It(e)||(e=qt(e));var n=qt(this);return kt(n).has.call(n,e)||(n.add(e),at(n,"add",e,e)),this},set:function(e,n){t||Nt(n)||It(n)||(n=qt(n));var r=qt(this),o=kt(r),a=o.has,i=o.get,l=a.call(r,e);l||(e=qt(e),l=a.call(r,e));var u=i.call(r,e);return r.set(e,n),l?ie(n,u)&&at(r,"set",e,n):at(r,"add",e,n),this},delete:function(e){var t=qt(this),n=kt(t),r=n.has,o=n.get,a=r.call(t,e);a||(e=qt(e),a=r.call(t,e)),o&&o.call(t,e);var i=t.delete(e);return a&&at(t,"delete",e,void 0),i},clear:function(){var e=qt(this),t=0!==e.size,n=e.clear();return t&&at(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach((function(r){n[r]=function(e,t,n){return function(){var r=this.__v_raw,o=qt(r),a=D(o),i="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,u=r[e].apply(r,arguments),c=n?Ct:t?Yt:Gt;return!t&&ot(o,0,l?nt:tt),h({next:function(){var e=u.next(),t=e.value,n=e.done;return n?{value:t,done:n}:{value:i?[c(t[0]),c(t[1])]:c(t),done:n}}},Symbol.iterator,(function(){return this}))}}(r,e,t)})),n}function Bt(e,t){var n=Mt(e,t);return function(t,r,o){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(j(n,r)&&r in t?n:t,r,o)}}var St={get:Bt(!1,!1)},Et={get:Bt(!1,!0)},Ht={get:Bt(!0,!1)},Lt=new WeakMap,Vt=new WeakMap,Ot=new WeakMap,Tt=new WeakMap;function Ft(e){return It(e)?e:Dt(e,!1,xt,St,Lt)}function jt(e){return Dt(e,!1,_t,Et,Vt)}function Rt(e){return Dt(e,!0,At,Ht,Ot)}function Dt(e,t,n,r,o){if(!Q(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var a=o.get(e);if(a)return a;var i,l=(i=e).__v_skip||!Object.isExtensible(i)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(K(i));if(0===l)return e;var u=new Proxy(e,2===l?r:n);return o.set(e,u),u}function Pt(e){return It(e)?Pt(e.__v_raw):!(!e||!e.__v_isReactive)}function It(e){return!(!e||!e.__v_isReadonly)}function Nt(e){return!(!e||!e.__v_isShallow)}function Ut(e){return!!e&&!!e.__v_raw}function qt(e){var t=e&&e.__v_raw;return t?qt(t):e}function Qt(e){return!j(e,"__v_skip")&&Object.isExtensible(e)&&ue(e,"__v_skip",!0),e}var Gt=function(e){return Q(e)?Ft(e):e},Yt=function(e){return Q(e)?Rt(e):e};function Wt(e){return!!e&&!0===e.__v_isRef}function Kt(e){return Jt(e,!1)}function $t(e){return Jt(e,!0)}function Jt(e,t){return Wt(e)?e:new Zt(e,t)}var Zt=function(){return v((function e(t,n){p(this,e),this.dep=new Ze,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:qt(t),this._value=n?t:Gt(t),this.__v_isShallow=n}),[{key:"value",get:function(){return this.dep.track(),this._value},set:function(e){var t=this._rawValue,n=this.__v_isShallow||Nt(e)||It(e);e=n?e:qt(e),ie(e,t)&&(this._rawValue=e,this._value=n?e:Gt(e),this.dep.trigger())}}])}();function Xt(e){return Wt(e)?e.value:e}var en={get:function(e,t,n){return"__v_raw"===t?e:Xt(Reflect.get(e,t,n))},set:function(e,t,n,r){var o=e[t];return Wt(o)&&!Wt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function tn(e){return Pt(e)?e:new Proxy(e,en)}function nn(e){var t=R(e)?new Array(e.length):{};for(var n in e)t[n]=ln(e,n);return t}var rn=function(){return v((function e(t,n,r){p(this,e),this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}),[{key:"value",get:function(){var e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}},{key:"dep",get:function(){return e=qt(this._object),t=this._key,(n=et.get(e))&&n.get(t);var e,t,n}}])}(),on=function(){return v((function e(t){p(this,e),this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}),[{key:"value",get:function(){return this._value=this._getter()}}])}();function an(e,t,n){return Wt(e)?e:N(e)?new on(e):Q(e)&&arguments.length>1?ln(e,t,n):Kt(e)}function ln(e,t,n){var r=e[t];return Wt(r)?r:new rn(e,t,n)}var un=function(){return v((function e(t,n,r){p(this,e),this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ze(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$e-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}),[{key:"notify",value:function(){if(this.flags|=16,!(8&this.flags)&&Ae!==this)return Fe(this,!0),!0}},{key:"value",get:function(){var e=this.dep.track();return Ne(this),e&&(e.version=this.dep.version),this._value},set:function(e){this.setter&&this.setter(e)}}])}();var cn={},sn=new WeakMap,fn=void 0;function pn(e,t){var n,r,o,a,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,l=i.immediate,u=i.deep,c=i.once,s=i.scheduler,f=i.augmentJob,p=i.call,d=function(e){return u?e:Nt(e)||!1===u||0===u?dn(e,1):dn(e)},v=!1,h=!1;if(Wt(e)?(r=function(){return e.value},v=Nt(e)):Pt(e)?(r=function(){return d(e)},v=!0):R(e)?(h=!0,v=e.some((function(e){return Pt(e)||Nt(e)})),r=function(){return e.map((function(e){return Wt(e)?e.value:Pt(e)?d(e):N(e)?p?p(e,2):e():void 0}))}):r=N(e)?t?p?function(){return p(e,2)}:e:function(){if(o){Ye();try{o()}finally{We()}}var t=fn;fn=n;try{return p?p(e,3,[a]):e(a)}finally{fn=t}}:S,t&&u){var m=r,g=!0===u?1/0:u;r=function(){return dn(m(),g)}}var b=Se(),w=function(){n.stop(),b&&T(b.effects,n)};if(c&&t){var y=t;t=function(){y.apply(void 0,arguments),w()}}var x=h?new Array(e.length).fill(cn):cn,_=function(e){if(1&n.flags&&(n.dirty||e))if(t){var r=n.run();if(u||v||(h?r.some((function(e,t){return ie(e,x[t])})):ie(r,x))){o&&o();var i=fn;fn=n;try{var l=[r,x===cn?void 0:h&&x[0]===cn?[]:x,a];p?p(t,3,l):t.apply(void 0,l),x=r}finally{fn=i}}}else n.run()};return f&&f(_),(n=new Oe(r)).scheduler=s?function(){return s(_,!1)}:_,a=function(e){return function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fn;if(t){var n=sn.get(t);n||sn.set(t,n=[]),n.push(e)}}(e,!1,n)},o=n.onStop=function(){var e=sn.get(n);if(e){if(p)p(e,4);else{var t,r=A(e);try{for(r.s();!(t=r.n()).done;){(0,t.value)()}}catch(o){r.e(o)}finally{r.f()}}sn.delete(n)}},t?l?_(!0):x=n.run():s?s(_.bind(null,!0),!0):n.run(),w.pause=n.pause.bind(n),w.resume=n.resume.bind(n),w.stop=w,w}function dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2?arguments[2]:void 0;if(t<=0||!Q(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Wt(e))dn(e.value,t,n);else if(R(e))for(var r=0;r3&&void 0!==arguments[3])||arguments[3],o=t?t.vnode:null,a=t&&t.appContext.config||C,i=a.errorHandler,l=a.throwUnhandledErrorInProduction;if(t){for(var u=t.parent,c=t.proxy,s="https://vuejs.org/error-reference/#runtime-".concat(n);u;){var f=u.ec;if(f)for(var p=0;p4&&void 0!==arguments[4]&&arguments[4];if(r)throw e;console.error(e)}(e,n,o,r,l)}var gn=[],bn=-1,wn=[],yn=null,xn=0,An=Promise.resolve(),_n=null;function Cn(e){var t=_n||An;return e?t.then(this?e.bind(this):e):t}function kn(e){if(!(1&e.flags)){var t=Sn(e),n=gn[gn.length-1];!n||!(2&e.flags)&&t>=Sn(n)?gn.push(e):gn.splice(function(e){for(var t=bn+1,n=gn.length;t>>1,o=gn[r],a=Sn(o);a2&&void 0!==arguments[2]?arguments[2]:bn+1;n1&&void 0!==arguments[1]?arguments[1]:Hn;if(!t)return e;if(e._n)return e;var n=function(){n._d&&oa(-1);var r,o=Vn(t);try{r=e.apply(void 0,arguments)}finally{Vn(o),n._d&&oa(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Tn(e,t){if(null===Hn)return e;for(var n=Pa(Hn),r=e.dirs||(e.dirs=[]),o=0;o4&&void 0!==arguments[4]?arguments[4]:2;0===i&&o(e.targetAnchor,t,n);var l=e.el,u=e.anchor,c=e.shapeFlag,s=e.children,f=e.props,p=2===i;if(p&&o(l,t,n),(!p||Dn(f))&&16&c)for(var d=0;d1){var n,r=A(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.type!==Zo){t=o;break}}}catch(a){r.e(a)}finally{r.f()}}return t}var er=Zn;function tr(e,t){var n=e.leavingVNodes,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function nr(e,t,n,r,o){var a=t.appear,i=t.mode,l=t.persisted,u=void 0!==l&&l,c=t.onBeforeEnter,s=t.onEnter,f=t.onAfterEnter,p=t.onEnterCancelled,d=t.onBeforeLeave,v=t.onLeave,h=t.onAfterLeave,m=t.onLeaveCancelled,g=t.onBeforeAppear,b=t.onAppear,w=t.onAfterAppear,y=t.onAppearCancelled,x=String(e.key),A=tr(n,e),_=function(e,t){e&&hn(e,r,9,t)},C=function(e,t){var n=t[1];_(e,t),R(e)?e.every((function(e){return e.length<=1}))&&n():e.length<=1&&n()},k={mode:i,persisted:u,beforeEnter:function(t){var r=c;if(!n.isMounted){if(!a)return;r=g||c}t[Gn]&&t[Gn](!0);var o=A[x];o&&ca(e,o)&&o.el[Gn]&&o.el[Gn](),_(r,[t])},enter:function(e){var t=s,r=f,o=p;if(!n.isMounted){if(!a)return;t=b||s,r=w||f,o=y||p}var i=!1,l=e[Yn]=function(t){i||(i=!0,_(t?o:r,[e]),k.delayedLeave&&k.delayedLeave(),e[Yn]=void 0)};t?C(t,[e,l]):l()},leave:function(t,r){var o=String(e.key);if(t[Yn]&&t[Yn](!0),n.isUnmounting)return r();_(d,[t]);var a=!1,i=t[Gn]=function(n){a||(a=!0,r(),_(n?m:h,[t]),t[Gn]=void 0,A[o]===e&&delete A[o])};A[o]=e,v?C(v,[t,i]):i()},clone:function(e){var a=nr(e,t,n,r,o);return o&&o(a),a}};return k}function rr(e){if(fr(e))return(e=ha(e)).children=null,e}function or(e){if(!fr(e))return Rn(e.type)&&e.children?Xn(e.children):e;var t=e.shapeFlag,n=e.children;if(n){if(16&t)return n[0];if(32&t&&N(n.default))return n.default()}}function ar(e,t){6&e.shapeFlag&&e.component?(e.transition=t,ar(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ir(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=[],o=0,a=0;a1)for(var u=0;u4&&void 0!==arguments[4]&&arguments[4];if(R(e))e.forEach((function(e,a){return cr(e,t&&(R(t)?t[a]:t),n,r,o)}));else if(!sr(r)||o){var a=4&r.shapeFlag?Pa(r.component):r.el,i=o?null:a,l=e.i,u=e.r,c=t&&t.r,s=l.refs===C?l.refs={}:l.refs,f=l.setupState,p=qt(f),d=f===C?function(){return!1}:function(e){return j(p,e)};if(null!=c&&c!==u&&(U(c)?(s[c]=null,d(c)&&(f[c]=null)):Wt(c)&&(c.value=null)),N(u))vn(u,l,12,[i,s]);else{var v=U(u),h=Wt(u);if(v||h){var m=function(){if(e.f){var t=v?d(u)?f[u]:s[u]:u.value;o?R(t)&&T(t,a):R(t)?t.includes(a)||t.push(a):v?(s[u]=[a],d(u)&&(f[u]=s[u])):(u.value=[a],e.k&&(s[e.k]=u.value))}else v?(s[u]=i,d(u)&&(f[u]=i)):h&&(u.value=i,e.k&&(s[e.k]=i))};i?(m.id=-1,Mo(m,n)):m()}}}}se().requestIdleCallback,se().cancelIdleCallback;var sr=function(e){return!!e.type.__asyncLoader},fr=function(e){return e.type.__isKeepAlive},pr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup:function(e,t){var n=t.slots,r=Ba(),o=r.ctx;if(!o.renderer)return function(){var e=n.default&&n.default();return e&&1===e.length?e[0]:e};var a=new Map,i=new Set,l=null,u=r.suspense,c=o.renderer,s=c.p,f=c.m,p=c.um,d=(0,c.o.createElement)("div");function v(e){br(e),p(e,r,u,!0)}function h(e){a.forEach((function(t,n){var r=Ia(t.type);r&&!e(r)&&m(n)}))}function m(e){var t=a.get(e);!t||l&&ca(t,l)?l&&br(l):v(t),a.delete(e),i.delete(e)}o.activate=function(e,t,n,r,o){var a=e.component;f(e,t,n,0,u),s(a.vnode,e,t,n,a,u,r,e.slotScopeIds,o),Mo((function(){a.isDeactivated=!1,a.a&&le(a.a);var t=e.props&&e.props.onVnodeMounted;t&&Aa(t,a.parent,e)}),u)},o.deactivate=function(e){var t=e.component;Vo(t.m),Vo(t.a),f(e,d,null,1,u),Mo((function(){t.da&&le(t.da);var n=e.props&&e.props.onVnodeUnmounted;n&&Aa(n,t.parent,e),t.isDeactivated=!0}),u)},jo((function(){return[e.include,e.exclude]}),(function(e){var t=g(e,2),n=t[0],r=t[1];n&&h((function(e){return dr(n,e)})),r&&h((function(e){return!dr(r,e)}))}),{flush:"post",deep:!0});var b=null,w=function(){null!=b&&(Ko(r.subTree.type)?Mo((function(){a.set(b,wr(r.subTree))}),r.subTree.suspense):a.set(b,wr(r.subTree)))};return _r(w),kr(w),zr((function(){a.forEach((function(e){var t=r.subTree,n=r.suspense,o=wr(t);if(e.type!==o.type||e.key!==o.key)v(e);else{br(o);var a=o.component.da;a&&Mo(a,n)}}))})),function(){if(b=null,!n.default)return l=null;var t=n.default(),r=t[0];if(t.length>1)return l=null,t;if(!(ua(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return l=null,r;var o=wr(r);if(o.type===Zo)return l=null,o;var u=o.type,c=Ia(sr(o)?o.type.__asyncResolved||{}:u),s=e.include,f=e.exclude,p=e.max;if(s&&(!c||!dr(s,c))||f&&c&&dr(f,c))return o.shapeFlag&=-257,l=o,r;var d=null==o.key?u:o.key,v=a.get(d);return o.el&&(o=ha(o),128&r.shapeFlag&&(r.ssContent=o)),b=d,v?(o.el=v.el,o.component=v.component,o.transition&&ar(o,o.transition),o.shapeFlag|=512,i.delete(d),i.add(d)):(i.add(d),p&&i.size>parseInt(p,10)&&m(i.values().next().value)),o.shapeFlag|=256,l=o,Ko(r.type)?r:o}}};n("a1",pr);function dr(e,t){return R(e)?e.some((function(e){return dr(e,t)})):U(e)?e.split(",").includes(t):"[object RegExp]"===W(e)&&(e.lastIndex=0,e.test(t))}function vr(e,t){mr(e,"a",t)}function hr(e,t){mr(e,"da",t)}function mr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ma,r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(yr(t,r,n),n)for(var o=n.parent;o&&o.parent;)fr(o.parent.vnode)&&gr(r,t,n,o),o=o.parent}function gr(e,t,n,r){var o=yr(t,e,r,!0);Mr((function(){T(r[t],o)}),n)}function br(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function wr(e){return 128&e.shapeFlag?e.ssContent:e}function yr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ma,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=function(){Ye();for(var r=Ha(n),o=arguments.length,a=new Array(o),i=0;i1&&void 0!==arguments[1]?arguments[1]:Ma)}},Ar=n("bw",xr("bm")),_r=n("P",xr("m")),Cr=n("cX",xr("bu")),kr=n("b1",xr("u")),zr=n("aw",xr("bum")),Mr=n("R",xr("um")),Br=xr("sp"),Sr=xr("rtg"),Er=xr("rtc");function Hr(e){yr("ec",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ma)}var Lr="components",Vr="directives";function Or(e,t){return jr(Lr,e,!0,t)||e}var Tr=Symbol.for("v-ndc");function Fr(e){return U(e)?jr(Lr,e,!1)||e:e||Tr}function jr(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=Hn||Ma;if(r){var o=r.type;if(e===Lr){var a=Ia(o,!1);if(a&&(a===t||a===te(t)||a===oe(te(t))))return o}var i=Rr(r[e]||o[e],t)||Rr(r.appContext[e],t);return!i&&n?o:i}}function Rr(e,t){return e&&(e[t]||e[te(t)]||e[oe(te(t))])}function Dr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(Hn.ce||Hn.parent&&sr(Hn.parent)&&Hn.parent.ce)return"default"!==t&&(n.name=t),na(),la($o,null,[da("slot",n,r&&r())],64);var a=e[t];a&&a._c&&(a._d=!1),na();var i=a&&Pr(a(n)),l=n.key||i&&i.key,u=la($o,{key:(l&&!q(l)?l:"_".concat(t))+(!i&&r?"_fb":"")},i||(r?r():[]),i&&1===e._?64:-2);return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),a&&a._c&&(a._d=!0),u}function Pr(e){return e.some((function(e){return!ua(e)||e.type!==Zo&&!(e.type===$o&&!Pr(e.children))}))?e:null}var Ir=function(e){return e?Va(e)?Pa(e):Ir(e.parent):null},Nr=O(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return Ir(e.parent)},$root:function(e){return Ir(e.root)},$host:function(e){return e.ce},$emit:function(e){return e.emit},$options:function(e){return Xr(e)},$forceUpdate:function(e){return e.f||(e.f=function(){kn(e.update)})},$nextTick:function(e){return e.n||(e.n=Cn.bind(e.proxy))},$watch:function(e){return Do.bind(e)}}),Ur=function(e,t){return e!==C&&!e.__isScriptSetup&&j(e,t)},qr={get:function(e,t){var n=e._;if("__v_skip"===t)return!0;var r,o=n.ctx,a=n.setupState,i=n.data,l=n.props,u=n.accessCache,c=n.type,s=n.appContext;if("$"!==t[0]){var f=u[t];if(void 0!==f)switch(f){case 1:return a[t];case 2:return i[t];case 4:return o[t];case 3:return l[t]}else{if(Ur(a,t))return u[t]=1,a[t];if(i!==C&&j(i,t))return u[t]=2,i[t];if((r=n.propsOptions[0])&&j(r,t))return u[t]=3,l[t];if(o!==C&&j(o,t))return u[t]=4,o[t];Kr&&(u[t]=0)}}var p,d,v=Nr[t];return v?("$attrs"===t&&ot(n.attrs,0,""),v(n)):(p=c.__cssModules)&&(p=p[t])?p:o!==C&&j(o,t)?(u[t]=4,o[t]):(d=s.config.globalProperties,j(d,t)?d[t]:void 0)},set:function(e,t,n){var r=e._,o=r.data,a=r.setupState,i=r.ctx;return Ur(a,t)?(a[t]=n,!0):o!==C&&j(o,t)?(o[t]=n,!0):!j(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(i[t]=n,!0))},has:function(e,t){var n,r=e._,o=r.data,a=r.setupState,i=r.accessCache,l=r.ctx,u=r.appContext,c=r.propsOptions;return!!i[t]||o!==C&&j(o,t)||Ur(a,t)||(n=c[0])&&j(n,t)||j(l,t)||j(Nr,t)||j(u.config.globalProperties,t)},defineProperty:function(e,t,n){return null!=n.get?e._.accessCache[t]=0:j(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Qr(){return Yr().slots}function Gr(){return Yr().attrs}function Yr(){var e=Ba();return e.setupContext||(e.setupContext=Da(e))}function Wr(e){return R(e)?e.reduce((function(e,t){return e[t]=null,e}),{}):e}var Kr=!0;function $r(e){var t=Xr(e),n=e.proxy,r=e.ctx;Kr=!1,t.beforeCreate&&Jr(t.beforeCreate,e,"bc");var o=t.data,a=t.computed,i=t.methods,l=t.watch,u=t.provide,c=t.inject,s=t.created,f=t.beforeMount,p=t.mounted,d=t.beforeUpdate,v=t.updated,h=t.activated,m=t.deactivated,g=(t.beforeDestroy,t.beforeUnmount),b=(t.destroyed,t.unmounted),w=t.render,y=t.renderTracked,x=t.renderTriggered,A=t.errorCaptured,_=t.serverPrefetch,C=t.expose,k=t.inheritAttrs,z=t.components,M=t.directives;t.filters;if(c&&function(e,t){R(e)&&(e=ro(e));var n=function(){var n,o=e[r];Wt(n=Q(o)?"default"in o?po(o.from||r,o.default,!0):po(o.from||r):po(o))?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){return n.value},set:function(e){return n.value=e}}):t[r]=n};for(var r in e)n()}(c,r,null),i)for(var B in i){var E=i[B];N(E)&&(r[B]=E.bind(n))}if(o){var H=o.call(n,n);Q(H)&&(e.data=Ft(H))}if(Kr=!0,a){var L=function(){var e=a[V],t=N(e)?e.bind(n,n):N(e.get)?e.get.bind(n,n):S,o=!N(e)&&N(e.set)?e.set.bind(n):S,i=Na({get:t,set:o});Object.defineProperty(r,V,{enumerable:!0,configurable:!0,get:function(){return i.value},set:function(e){return i.value=e}})};for(var V in a)L()}if(l)for(var O in l)Zr(l[O],r,n,O);if(u){var T=N(u)?u.call(n):u;Reflect.ownKeys(T).forEach((function(e){fo(e,T[e])}))}function F(e,t){R(t)?t.forEach((function(t){return e(t.bind(n))})):t&&e(t.bind(n))}if(s&&Jr(s,e,"c"),F(Ar,f),F(_r,p),F(Cr,d),F(kr,v),F(vr,h),F(hr,m),F(Hr,A),F(Er,y),F(Sr,x),F(zr,g),F(Mr,b),F(Br,_),R(C))if(C.length){var j=e.exposed||(e.exposed={});C.forEach((function(e){Object.defineProperty(j,e,{get:function(){return n[e]},set:function(t){return n[e]=t}})}))}else e.exposed||(e.exposed={});w&&e.render===S&&(e.render=w),null!=k&&(e.inheritAttrs=k),z&&(e.components=z),M&&(e.directives=M),_&&ur(e)}function Jr(e,t,n){hn(R(e)?e.map((function(e){return e.bind(t.proxy)})):e.bind(t.proxy),t,n)}function Zr(e,t,n,r){var o=r.includes(".")?Po(n,r):function(){return n[r]};if(U(e)){var a=t[e];N(a)&&jo(o,a)}else if(N(e))jo(o,e.bind(n));else if(Q(e))if(R(e))e.forEach((function(e){return Zr(e,t,n,r)}));else{var i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&jo(o,i,e)}}function Xr(e){var t,n=e.type,r=n.mixins,o=n.extends,a=e.appContext,i=a.mixins,l=a.optionsCache,u=a.config.optionMergeStrategies,c=l.get(n);return c?t=c:i.length||r||o?(t={},i.length&&i.forEach((function(e){return eo(t,e,u,!0)})),eo(t,n,u)):t=n,Q(n)&&l.set(n,t),t}function eo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t.mixins,a=t.extends;for(var i in a&&eo(e,a,n,!0),o&&o.forEach((function(t){return eo(e,t,n,!0)})),t)if(r&&"expose"===i);else{var l=to[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}var to={data:no,props:io,emits:io,methods:ao,computed:ao,beforeCreate:oo,created:oo,beforeMount:oo,mounted:oo,beforeUpdate:oo,updated:oo,beforeDestroy:oo,beforeUnmount:oo,destroyed:oo,unmounted:oo,activated:oo,deactivated:oo,errorCaptured:oo,serverPrefetch:oo,components:ao,directives:ao,watch:function(e,t){if(!e)return t;if(!t)return e;var n=O(Object.create(null),e);for(var r in t)n[r]=oo(e[r],t[r]);return n},provide:no,inject:function(e,t){return ao(ro(e),ro(t))}};function no(e,t){return t?e?function(){return O(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function ro(e){if(R(e)){for(var t={},n=0;n1&&void 0!==arguments[1]?arguments[1]:null;N(n)||(n=O({},n)),null==r||Q(r)||(r=null);var o=lo(),a=new WeakSet,i=[],l=!1,u=o.app={_uid:uo++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:qa,get config(){return o.config},set config(e){},use:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]&&arguments[2],r=Ma||Hn;if(r||so){var o=so?so._context.provides:r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&N(t)?t.call(r&&r.proxy):t}}var vo={},ho=function(){return Object.create(vo)},mo=function(e){return Object.getPrototypeOf(e)===vo};function go(e,t,n,r){var o,a=g(e.propsOptions,2),i=a[0],l=a[1],u=!1;if(t)for(var c in t)if(!Z(c)){var s=t[c],f=void 0;i&&j(i,f=te(c))?l&&l.includes(f)?(o||(o={}))[f]=s:n[f]=s:qo(e.emitsOptions,c)||c in r&&s===r[c]||(r[c]=s,u=!0)}if(l)for(var p=qt(n),d=o||C,v=0;v2&&void 0!==arguments[2]&&arguments[2],r=n?wo:t.propsCache,o=r.get(e);if(o)return o;var a=e.props,i={},l=[],u=!1;if(!N(e)){var c=function(e){u=!0;var n=g(yo(e,t,!0),2),r=n[0],o=n[1];O(i,r),o&&l.push.apply(l,y(o))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!u)return Q(e)&&r.set(e,z),z;if(R(a))for(var s=0;s3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:void 0,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!ca(e,t)&&(r=J(e),Q(e,o,a,!0),e=null),-2===t.patchFlag&&(u=!1,t.dynamicChildren=null);var c=t.type,s=t.ref,f=t.shapeFlag;switch(c){case Jo:w(e,t,n,r);break;case Zo:y(e,t,n,r);break;case Xo:null==e&&x(t,n,r,i);break;case $o:O(e,t,n,r,o,a,i,l,u);break;default:1&f?k(e,t,n,r,o,a,i,l,u):6&f?T(e,t,n,r,o,a,i,l,u):(64&f||128&f)&&c.process(e,t,n,r,o,a,i,l,u,ne)}null!=s&&o&&cr(s,e&&e.ref,a,t||e,!t)}},w=function(e,t,n,r){if(null==e)o(t.el=u(t.children),n,r);else{var a=t.el=e.el;t.children!==e.children&&s(a,t.children)}},y=function(e,t,n,r){null==e?o(t.el=c(t.children||""),n,r):t.el=e.el},x=function(e,t,n,r){var o=g(m(e.children,t,n,r,e.el,e.anchor),2);e.el=o[0],e.anchor=o[1]},A=function(e,t,n){for(var r,a=e.el,i=e.anchor;a&&a!==i;)r=d(a),o(a,t,n),a=r;o(i,t,n)},_=function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=d(n),a(n),n=t;a(r)},k=function(e,t,n,r,o,a,i,l,u){"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?M(t,n,r,o,a,i,l,u):H(e,t,o,a,i,l,u)},M=function(e,t,n,r,a,u,c,s){var p,d,v=e.props,h=e.shapeFlag,m=e.transition,g=e.dirs;if(p=e.el=l(e.type,u,v&&v.is,v),8&h?f(p,e.children):16&h&&E(e.children,p,null,r,a,So(e,u),c,s),g&&Fn(e,null,r,"created"),B(p,e,e.scopeId,c,r),v){for(var b in v)"value"===b||Z(b)||i(p,b,null,v[b],u,r);"value"in v&&i(p,"value",null,v.value,u),(d=v.onVnodeBeforeMount)&&Aa(d,r,e)}g&&Fn(e,null,r,"beforeMount");var w=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(a,m);w&&m.beforeEnter(p),o(p,t,n),((d=v&&v.onVnodeMounted)||w||g)&&Mo((function(){d&&Aa(d,r,e),w&&m.enter(p),g&&Fn(e,null,r,"mounted")}),a)},B=function(e,t,n,r,o){if(n&&h(e,n),r)for(var a=0;a8&&void 0!==arguments[8]?arguments[8]:0;u0){if(16&c)V(u,v,h,n,o);else if(2&c&&v.class!==h.class&&i(u,"class",null,h.class,o),4&c&&i(u,"style",v.style,h.style,o),8&c)for(var m=t.dynamicProps,g=0;g0&&64&d&&v&&e.dynamicChildren?(L(e.dynamicChildren,v,n,a,i,l,c),(null!=t.key||a&&t===a.subTree)&&Ho(e,t,!0)):I(e,t,n,p,a,i,l,c,s)},T=function(e,t,n,r,o,a,i,l,u){t.slotScopeIds=l,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,u):F(t,n,r,o,a,i,u):R(e,t,u)},F=function(e,t,n,r,o,a,i){var l=e.component=function(e,t,n){var r=e.type,o=(t?t.appContext:e.appContext)||_a,a={uid:Ca++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Me(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:yo(r,o),emitsOptions:Uo(r,o),emit:null,emitted:null,propsDefaults:C,inheritAttrs:r.inheritAttrs,ctx:C,data:C,props:C,attrs:C,slots:C,refs:C,setupState:C,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=No.bind(null,a),e.ce&&e.ce(a);return a}(e,r,o);if(fr(e)&&(l.ctx.renderer=ne),function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t&&za(t);var r=e.vnode,o=r.props,a=r.children,i=Va(e);(function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o={},a=ho();for(var i in e.propsDefaults=Object.create(null),go(e,t,o,a),e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:jt(o):e.type.props?e.props=o:e.props=a,e.attrs=a})(e,o,i,t),function(e,t,n){var r=e.slots=ho();if(32&e.vnode.shapeFlag){var o=t._;o?(zo(r,t,n),n&&ue(r,"_",o,!0)):Co(t,r)}else t&&ko(e,t)}(e,a,n);var l=i?function(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qr);var r=n.setup;if(r){Ye();var o=e.setupContext=r.length>1?Da(e):null,a=Ha(e),i=vn(r,e,0,[e.props,o]),l=G(i);if(We(),a(),!l&&!e.sp||sr(e)||ur(e),l){if(i.then(La,La),t)return i.then((function(n){Fa(e,n,t)})).catch((function(t){mn(t,e,0)}));e.asyncDep=i}else Fa(e,i,t)}else ja(e,t)}(e,t):void 0;t&&za(!1)}(l,!1,i),l.asyncDep){if(o&&o.registerDep(l,D,i),!e.el){var u=l.subTree=da(Zo);y(null,u,t,n)}}else D(l,e,t,n,o,a,i)},R=function(e,t,n){var r=t.component=e.component;if(function(e,t,n){var r=e.props,o=e.children,a=e.component,i=t.props,l=t.children,u=t.patchFlag,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&u>=0))return!(!o&&!l||l&&l.$stable)||r!==i&&(r?!i||Wo(r,i,c):!!i);if(1024&u)return!0;if(16&u)return r?Wo(r,i,c):!!i;if(8&u)for(var s=t.dynamicProps,f=0;f0)||16&i){var s;for(var f in go(e,t,o,a)&&(c=!0),l)t&&(j(t,f)||(s=re(f))!==f&&j(t,s))||(u?!n||void 0===n[f]&&void 0===n[s]||(o[f]=bo(u,l,f,void 0,e,!0)):delete o[f]);if(a!==l)for(var p in a)t&&j(t,p)||(delete a[p],c=!0)}else if(8&i)for(var d=e.vnode.dynamicProps,v=0;v8&&void 0!==arguments[8]&&arguments[8],c=e&&e.children,s=e?e.shapeFlag:0,p=t.children,d=t.patchFlag,v=t.shapeFlag;if(d>0){if(128&d)return void U(c,p,n,r,o,a,i,l,u);if(256&d)return void N(c,p,n,r,o,a,i,l,u)}8&v?(16&s&&$(c,o,a),p!==c&&f(n,p)):16&s?16&v?U(c,p,n,r,o,a,i,l,u):$(c,o,a,!0):(8&s&&f(n,""),16&v&&E(p,n,r,o,a,i,l,u))},N=function(e,t,n,r,o,a,i,l,u){t=t||z;var c,s=(e=e||z).length,f=t.length,p=Math.min(s,f);for(c=0;cf?$(e,o,a,!0,!1,p):E(t,n,r,o,a,i,l,u,p)},U=function(e,t,n,r,o,a,i,l,u){for(var c=0,s=t.length,f=e.length-1,p=s-1;c<=f&&c<=p;){var d=e[c],v=t[c]=u?wa(t[c]):ba(t[c]);if(!ca(d,v))break;b(d,v,n,null,o,a,i,l,u),c++}for(;c<=f&&c<=p;){var h=e[f],m=t[p]=u?wa(t[p]):ba(t[p]);if(!ca(h,m))break;b(h,m,n,null,o,a,i,l,u),f--,p--}if(c>f){if(c<=p)for(var g=p+1,w=gp)for(;c<=f;)Q(e[c],o,a,!0),c++;else{var y,x=c,A=c,_=new Map;for(c=A;c<=p;c++){var C=t[c]=u?wa(t[c]):ba(t[c]);null!=C.key&&_.set(C.key,c)}var k=0,M=p-A+1,B=!1,S=0,E=new Array(M);for(c=0;c=M)Q(H,o,a,!0);else{var L=void 0;if(null!=H.key)L=_.get(H.key);else for(y=A;y<=p;y++)if(0===E[y-A]&&ca(H,t[y])){L=y;break}void 0===L?Q(H,o,a,!0):(E[L-A]=c+1,L>=S?S=L:B=!0,b(H,t[L],n,null,o,a,i,l,u),k++)}}var V=B?function(e){var t,n,r,o,a,i=e.slice(),l=[0],u=e.length;for(t=0;t>1]]0&&(i[t]=l[r-1]),l[r]=t)}}r=l.length,o=l[r-1];for(;r-- >0;)l[r]=o,o=i[o];return l}(E):z;for(y=V.length-1,c=M-1;c>=0;c--){var O=A+c,T=t[O],F=O+14&&void 0!==arguments[4]?arguments[4]:null,i=e.el,l=e.type,u=e.transition,c=e.children,s=e.shapeFlag;if(6&s)q(e.component.subTree,t,n,r);else if(128&s)e.suspense.move(t,n,r);else if(64&s)l.move(e,t,n,ne);else if(l!==$o){if(l!==Xo)if(2!==r&&1&s&&u)if(0===r)u.beforeEnter(i),o(i,t,n),Mo((function(){return u.enter(i)}),a);else{var f=u.leave,p=u.delayLeave,d=u.afterLeave,v=function(){return o(i,t,n)},h=function(){f(i,(function(){v(),d&&d()}))};p?p(i,v,h):h()}else o(i,t,n);else A(e,t,n)}else{o(i,t,n);for(var m=0;m3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=e.type,i=e.props,l=e.ref,u=e.children,c=e.dynamicChildren,s=e.shapeFlag,f=e.patchFlag,p=e.dirs,d=e.cacheIndex;if(-2===f&&(o=!1),null!=l&&cr(l,null,n,e,!0),null!=d&&(t.renderCache[d]=void 0),256&s)t.ctx.deactivate(e);else{var v,h=1&s&&p,m=!sr(e);if(m&&(v=i&&i.onVnodeBeforeUnmount)&&Aa(v,t,e),6&s)K(e.component,n,r);else{if(128&s)return void e.suspense.unmount(n,r);h&&Fn(e,null,t,"beforeUnmount"),64&s?e.type.remove(e,t,n,ne,r):c&&!c.hasOnce&&(a!==$o||f>0&&64&f)?$(c,t,n,!1,!0):(a===$o&&384&f||!o&&16&s)&&$(u,t,n),r&&Y(e)}(m&&(v=i&&i.onVnodeUnmounted)||h)&&Mo((function(){v&&Aa(v,t,e),h&&Fn(e,null,t,"unmounted")}),n)}},Y=function(e){var t=e.type,n=e.el,r=e.anchor,o=e.transition;if(t!==$o)if(t!==Xo){var i=function(){a(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){var l=o.leave,u=o.delayLeave,c=function(){return l(n,i)};u?u(e.el,i,c):c()}else i()}else _(e);else W(n,r)},W=function(e,t){for(var n;e!==t;)n=d(e),a(e),e=n;a(t)},K=function(e,t,n){var r=e.bum,o=e.scope,a=e.job,i=e.subTree,l=e.um,u=e.m,c=e.a;Vo(u),Vo(c),r&&le(r),o.stop(),a&&(a.flags|=8,Q(i,e,t,n)),l&&Mo(l,t),Mo((function(){e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},$=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;a2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=t.children;if(R(r)&&R(o))for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:C,o=r.immediate,a=(r.deep,r.flush),i=(r.once,O({},r)),l=t&&o||!t&&"post"!==a;if(Ta)if("sync"===a){var u=To();n=u.__watcherHandles||(u.__watcherHandles=[])}else if(!l){var c=function(){};return c.stop=S,c.resume=S,c.pause=S,c}var s=Ma;i.call=function(e,t,n){return hn(e,s,t,n)};var f=!1;"post"===a?i.scheduler=function(e){Mo(e,s&&s.suspense)}:"sync"!==a&&(f=!0,i.scheduler=function(e,t){t?e():kn(e)}),i.augmentJob=function(e){t&&(e.flags|=4),f&&(e.flags|=2,s&&(e.id=s.uid,e.i=s))};var p=pn(e,t,i);return Ta&&(n?n.push(p):l&&p()),p}function Do(e,t,n){var r,o=this.proxy,a=U(e)?e.includes(".")?Po(o,e):function(){return o[e]}:e.bind(o,o);N(t)?r=t:(r=t.handler,n=t);var i=Ha(this),l=Ro(a,r.bind(o),n);return i(),l}function Po(e,t){var n=t.split(".");return function(){for(var t=e,r=0;r2?r-2:0),a=2;a2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;var a=e.emits,i={},l=!1;if(!N(e)){var u=function(e){var n=Uo(e,t,!0);n&&(l=!0,O(i,n))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return a||l?(R(a)?a.forEach((function(e){return i[e]=null})):O(i,a),Q(e)&&r.set(e,i),i):(Q(e)&&r.set(e,null),null)}function qo(e,t){return!(!e||!L(t))&&(t=t.slice(2).replace(/Once$/,""),j(e,t[0].toLowerCase()+t.slice(1))||j(e,re(t))||j(e,t))}function Qo(e){var t,n,r=e.type,o=e.vnode,a=e.proxy,i=e.withProxy,l=g(e.propsOptions,1)[0],u=e.slots,c=e.attrs,s=e.emit,f=e.render,p=e.renderCache,d=e.props,v=e.data,h=e.setupState,m=e.ctx,b=e.inheritAttrs,w=Vn(e);try{if(4&o.shapeFlag){var y=i||a,x=y;t=ba(f.call(x,y,p,d,h,v,m)),n=c}else{var A=r;0,t=ba(A.length>1?A(d,{attrs:c,slots:u,emit:s}):A(d,null)),n=r.props?c:Go(c)}}catch(z){ea.length=0,mn(z,e,1),t=da(Zo)}var _=t;if(n&&!1!==b){var C=Object.keys(n),k=_.shapeFlag;C.length&&7&k&&(l&&C.some(V)&&(n=Yo(n,l)),_=ha(_,n,!1,!0))}return o.dirs&&((_=ha(_,null,!1,!0)).dirs=_.dirs?_.dirs.concat(o.dirs):o.dirs),o.transition&&ar(_,o.transition),t=_,Vn(w),t}var Go=function(e){var t;for(var n in e)("class"===n||"style"===n||L(n))&&((t||(t={}))[n]=e[n]);return t},Yo=function(e,t){var n={};for(var r in e)V(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Wo(e,t,n){var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ea.push(ta=e?null:[])}var ra=1;function oa(e){ra+=e,e<0&&ta&&(ta.hasOnce=!0)}function aa(e){return e.dynamicChildren=ra>0?ta||z:null,ea.pop(),ta=ea[ea.length-1]||null,ra>0&&ta&&ta.push(e),e}function ia(e,t,n,r,o,a){return aa(pa(e,t,n,r,o,a,!0))}function la(e,t,n,r,o){return aa(da(e,t,n,r,o,!0))}function ua(e){return!!e&&!0===e.__v_isVNode}function ca(e,t){return e.type===t.type&&e.key===t.key}var sa=function(e){var t=e.key;return null!=t?t:null},fa=function(e){var t=e.ref,n=e.ref_key,r=e.ref_for;return"number"==typeof t&&(t=""+t),null!=t?U(t)||Wt(t)||N(t)?{i:Hn,r:t,k:n,f:!!r}:t:null};function pa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===$o?0:1,i=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sa(t),ref:t&&fa(t),scopeId:Ln,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Hn};return l?(ya(u,n),128&a&&e.normalize(u)):n&&(u.shapeFlag|=U(n)?8:16),ra>0&&!i&&ta&&(u.patchFlag>0||6&a)&&32!==u.patchFlag&&ta.push(u),u}var da=n("e",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];e&&e!==Tr||(e=Zo);if(ua(e)){var i=ha(e,t,!0);return n&&ya(i,n),ra>0&&!a&&ta&&(6&i.shapeFlag?ta[ta.indexOf(e)]=i:ta.push(i)),i.patchFlag=-2,i}l=e,N(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){var u=t=va(t),c=u.class,s=u.style;c&&!U(c)&&(t.class=me(c)),Q(s)&&(Ut(s)&&!R(s)&&(s=O({},s)),t.style=fe(s))}var f=U(e)?1:Ko(e)?128:Rn(e)?64:Q(e)?4:N(e)?2:0;return pa(e,t,n,r,o,f,a,!0)}));function va(e){return e?Ut(e)||mo(e)?O({},e):e:null}function ha(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.props,a=e.ref,i=e.patchFlag,l=e.children,u=e.transition,c=t?xa(o||{},t):o,s={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&sa(c),ref:t&&t.ref?n&&a?R(a)?a.concat(fa(t)):[a,fa(t)]:fa(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$o?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ha(e.ssContent),ssFallback:e.ssFallback&&ha(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&ar(s,u.clone(s)),s}function ma(){return da(Jo,null,arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)}function ga(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(na(),la(Zo,null,e)):da(Zo,null,e)}function ba(e){return null==e||"boolean"==typeof e?da(Zo):R(e)?da($o,null,e.slice()):ua(e)?wa(e):da(Jo,null,String(e))}function wa(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ha(e)}function ya(e,t){var n=0,r=e.shapeFlag;if(null==t)t=null;else if(R(t))n=16;else if("object"==typeof t){if(65&r){var o=t.default;return void(o&&(o._c&&(o._d=!1),ya(e,o()),o._c&&(o._d=!0)))}n=32;var a=t._;a||mo(t)?3===a&&Hn&&(1===Hn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Hn}else N(t)?(t={default:t,_ctx:Hn},n=32):(t=String(t),64&r?(n=16,t=[ma(t)]):n=8);e.children=t,e.shapeFlag|=n}function xa(){for(var e={},t=0;t3&&void 0!==arguments[3]?arguments[3]:null])}var _a=lo(),Ca=0;var ka,za,Ma=null,Ba=n("ap",(function(){return Ma||Hn})),Sa=se(),Ea=function(e,t){var n;return(n=Sa[e])||(n=Sa[e]=[]),n.push(t),function(e){n.length>1?n.forEach((function(t){return t(e)})):n[0](e)}};ka=Ea("__VUE_INSTANCE_SETTERS__",(function(e){return Ma=e})),za=Ea("__VUE_SSR_SETTERS__",(function(e){return Ta=e}));var Ha=function(e){var t=Ma;return ka(e),e.scope.on(),function(){e.scope.off(),ka(t)}},La=function(){Ma&&Ma.scope.off(),ka(null)};function Va(e){return 4&e.vnode.shapeFlag}var Oa,Ta=!1;function Fa(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Q(t)&&(e.setupState=tn(t)),ja(e,n)}function ja(e,t,n){var r=e.type;if(!e.render){if(!t&&Oa&&!r.render){var o=r.template||Xr(e).template;if(o){var a=e.appContext.config,i=a.isCustomElement,l=a.compilerOptions,u=r.delimiters,c=r.compilerOptions,s=O(O({isCustomElement:i,delimiters:u},l),c);r.render=Oa(o,s)}}e.render=r.render||S}var f=Ha(e);Ye();try{$r(e)}finally{We(),f()}}var Ra={get:function(e,t){return ot(e,0,""),e[t]}};function Da(e){return{attrs:new Proxy(e.attrs,Ra),slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function Pa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tn(Qt(e.exposed)),{get:function(t,n){return n in t?t[n]:n in Nr?Nr[n](e):void 0},has:function(e,t){return t in e||t in Nr}})):e.proxy}function Ia(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return N(e)?e.displayName||e.name:e.name||t&&e.__name}var Na=n("C",(function(e,t){var n=function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return N(e)?n=e:(n=e.get,r=e.set),new un(n,r,o)}(e,t,Ta);return n}));function Ua(e,t,n){var r=arguments.length;return 2===r?Q(t)&&!R(t)?ua(t)?da(e,null,[t]):da(e,t):da(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&ua(n)&&(n=[n]),da(e,t,n))}var qa="3.5.12",Qa=S,Ga=void 0,Ya="undefined"!=typeof window&&window.trustedTypes;if(Ya)try{Ga=Ya.createPolicy("vue",{createHTML:function(e){return e}})}catch(tB){}var Wa=Ga?function(e){return Ga.createHTML(e)}:function(e){return e},Ka="undefined"!=typeof document?document:null,$a=Ka&&Ka.createElement("template"),Ja={insert:function(e,t,n){t.insertBefore(e,n||null)},remove:function(e){var t=e.parentNode;t&&t.removeChild(e)},createElement:function(e,t,n,r){var o="svg"===t?Ka.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ka.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ka.createElement(e,{is:n}):Ka.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:function(e){return Ka.createTextNode(e)},createComment:function(e){return Ka.createComment(e)},setText:function(e,t){e.nodeValue=t},setElementText:function(e,t){e.textContent=t},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},querySelector:function(e){return Ka.querySelector(e)},setScopeId:function(e,t){e.setAttribute(t,"")},insertStaticContent:function(e,t,n,r,o,a){var i=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==a&&(o=o.nextSibling););else{$a.innerHTML=Wa("svg"===r?"".concat(e,""):"mathml"===r?"".concat(e,""):e);var l=$a.content;if("svg"===r||"mathml"===r){for(var u=l.firstChild;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Za="transition",Xa="animation",ei=Symbol("_vtc"),ti={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ni=O({},$n,ti),ri=n("Z",function(e){return e.displayName="Transition",e.props=ni,e}((function(e,t){var n=t.slots;return Ua(er,ii(e),n)}))),oi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];R(e)?e.forEach((function(e){return e.apply(void 0,y(t))})):e&&e.apply(void 0,y(t))},ai=function(e){return!!e&&(R(e)?e.some((function(e){return e.length>1})):e.length>1)};function ii(e){var t={};for(var n in e)n in ti||(t[n]=e[n]);if(!1===e.css)return t;var r=e.name,o=void 0===r?"v":r,a=e.type,i=e.duration,l=e.enterFromClass,u=void 0===l?"".concat(o,"-enter-from"):l,c=e.enterActiveClass,s=void 0===c?"".concat(o,"-enter-active"):c,f=e.enterToClass,p=void 0===f?"".concat(o,"-enter-to"):f,d=e.appearFromClass,v=void 0===d?u:d,h=e.appearActiveClass,m=void 0===h?s:h,g=e.appearToClass,b=void 0===g?p:g,w=e.leaveFromClass,y=void 0===w?"".concat(o,"-leave-from"):w,x=e.leaveActiveClass,A=void 0===x?"".concat(o,"-leave-active"):x,_=e.leaveToClass,C=void 0===_?"".concat(o,"-leave-to"):_,k=function(e){if(null==e)return null;if(Q(e))return[li(e.enter),li(e.leave)];var t=li(e);return[t,t]}(i),z=k&&k[0],M=k&&k[1],B=t.onBeforeEnter,S=t.onEnter,E=t.onEnterCancelled,H=t.onLeave,L=t.onLeaveCancelled,V=t.onBeforeAppear,T=void 0===V?B:V,F=t.onAppear,j=void 0===F?S:F,R=t.onAppearCancelled,D=void 0===R?E:R,P=function(e,t,n){ci(e,t?b:p),ci(e,t?m:s),n&&n()},I=function(e,t){e._isLeaving=!1,ci(e,y),ci(e,C),ci(e,A),t&&t()},N=function(e){return function(t,n){var r=e?j:S,o=function(){return P(t,e,n)};oi(r,[t,o]),si((function(){ci(t,e?v:u),ui(t,e?b:p),ai(r)||pi(t,a,z,o)}))}};return O(t,{onBeforeEnter:function(e){oi(B,[e]),ui(e,u),ui(e,s)},onBeforeAppear:function(e){oi(T,[e]),ui(e,v),ui(e,m)},onEnter:N(!1),onAppear:N(!0),onLeave:function(e,t){e._isLeaving=!0;var n=function(){return I(e,t)};ui(e,y),ui(e,A),mi(),si((function(){e._isLeaving&&(ci(e,y),ui(e,C),ai(H)||pi(e,a,M,n))})),oi(H,[e,n])},onEnterCancelled:function(e){P(e,!1),oi(E,[e])},onAppearCancelled:function(e){P(e,!0),oi(D,[e])},onLeaveCancelled:function(e){I(e),oi(L,[e])}})}function li(e){var t=function(e){var t=U(e)?Number(e):NaN;return isNaN(t)?e:t}(e);return t}function ui(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.add(t)})),(e[ei]||(e[ei]=new Set)).add(t)}function ci(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.remove(t)}));var n=e[ei];n&&(n.delete(t),n.size||(e[ei]=void 0))}function si(e){requestAnimationFrame((function(){requestAnimationFrame(e)}))}var fi=0;function pi(e,t,n,r){var o=e._endId=++fi,a=function(){o===e._endId&&r()};if(null!=n)return setTimeout(a,n);var i=di(e,t),l=i.type,u=i.timeout,c=i.propCount;if(!l)return r();var s=l+"end",f=0,p=function(){e.removeEventListener(s,d),a()},d=function(t){t.target===e&&++f>=c&&p()};setTimeout((function(){f0&&(s=Za,f=i,p=a.length):t===Xa?c>0&&(s=Xa,f=c,p=u.length):p=(s=(f=Math.max(i,c))>0?i>c?Za:Xa:null)?s===Za?a.length:u.length:0,{type:s,timeout:f,propCount:p,hasTransform:s===Za&&/\b(transform|all)(,|$)/.test(r("".concat(Za,"Property")).toString())}}function vi(e,t){for(;e.length5&&void 0!==arguments[5]?arguments[5]:ge(t);r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Si,t.slice(6,t.length)):e.setAttributeNS(Si,t,n):null==n||a&&!be(n)?e.removeAttribute(t):e.setAttribute(t,a?"":q(n)?String(n):n)}function Hi(e,t,n,r,o){if("innerHTML"!==t&&"textContent"!==t){var a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){var i="OPTION"===a?e.getAttribute("value")||"":e.value,l=null==n?"checkbox"===e.type?"on":"":String(n);return i===l&&"_value"in e||(e.value=l),null==n&&e.removeAttribute(t),void(e._value=n)}var u=!1;if(""===n||null==n){var c=typeof e[t];"boolean"===c?n=be(n):null==n&&"string"===c?(n="",u=!0):"number"===c&&(n=0,u=!0)}try{e[t]=n}catch(tB){}u&&e.removeAttribute(o||t)}else null!=n&&(e[t]="innerHTML"===t?Wa(n):n)}function Li(e,t,n,r){e.addEventListener(t,n,r)}var Vi=Symbol("_vei");function Oi(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=e[Vi]||(e[Vi]={}),i=a[t];if(r&&i)i.value=r;else{var l=function(e){var t;if(Ti.test(e)){var n;for(t={};n=e.match(Ti);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}var r=":"===e[2]?e.slice(3):re(e.slice(2));return[r,t]}(t),u=g(l,2),c=u[0],s=u[1];if(r){var f=a[t]=function(e,t){var n=function(e){if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();hn(function(e,t){if(R(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){n.call(e),e._stopped=!0},t.map((function(e){return function(t){return!t._stopped&&e&&e(t)}}))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Ri(),n}(r,o);Li(e,c,f,s)}else i&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,c,i,s),a[t]=void 0)}}var Ti=/(?:Once|Passive|Capture)$/;var Fi=0,ji=Promise.resolve(),Ri=function(){return Fi||(ji.then((function(){return Fi=0})),Fi=Date.now())};var Di=function(e){return 111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123};var Pi=new WeakMap,Ii=new WeakMap,Ni=Symbol("_moveCb"),Ui=Symbol("_enterCb"),qi=function(e){return delete e.props.mode,e}({name:"TransitionGroup",props:O({},ni,{tag:String,moveClass:String}),setup:function(e,t){var n,r,o=t.slots,a=Ba(),i=Wn();return kr((function(){if(n.length){var t=e.moveClass||"".concat(e.name||"v","-move");if(function(e,t,n){var r=e.cloneNode(),o=e[ei];o&&o.forEach((function(e){e.split(/\s+/).forEach((function(e){return e&&r.classList.remove(e)}))}));n.split(/\s+/).forEach((function(e){return e&&r.classList.add(e)})),r.style.display="none";var a=1===t.nodeType?t:t.parentNode;a.appendChild(r);var i=di(r).hasTransform;return a.removeChild(r),i}(n[0].el,a.vnode.el,t)){n.forEach(Qi),n.forEach(Gi);var r=n.filter(Yi);mi(),r.forEach((function(e){var n=e.el,r=n.style;ui(n,t),r.transform=r.webkitTransform=r.transitionDuration="";var o=n[Ni]=function(e){e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[Ni]=null,ci(n,t))};n.addEventListener("transitionend",o)}))}}})),function(){var t=qt(e),l=ii(t),u=t.tag||$o;if(n=[],r)for(var c=0;c-1;else if(P(o))r=o.has(n.props.value);else{if(o===a)return;r=we(o,el(e,!0))}e.checked!==r&&(e.checked=r)}n("cU",{created:function(e,t,n){var r=t.value;e.checked=we(r,n.props.value),e[Ji]=Wi(n),Li(e,"change",(function(){e[Ji](Xi(e))}))},beforeUpdate:function(e,t,n){var r=t.value,o=t.oldValue;e[Ji]=Wi(n),r!==o&&(e.checked=we(r,n.props.value))}});function Xi(e){return"_value"in e?e._value:e.value}function el(e,t){var n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}var tl,nl=["ctrl","shift","alt","meta"],rl={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,t){return nl.some((function(n){return e["".concat(n,"Key")]&&!t.includes(n)}))}},ol=n("ak",(function(e,t){var n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=function(n){for(var r=0;r1?a-1:0),l=1;l2&&void 0!==arguments[2]?arguments[2]:"/",o={},a="",i="",l=t.indexOf("#"),u=t.indexOf("?");return l=0&&(u=-1),u>-1&&(n=t.slice(0,u),o=e(a=t.slice(u+1,l>-1?l:t.length))),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),{fullPath:(n=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;var n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");var a,i,l=n.length-1;for(a=0;a1&&l--}return n.slice(0,l).join("/")+"/"+r.slice(a).join("/")}(null!=n?n:t,r))+(a&&"?")+a+i,path:n,query:o,hash:Um(i)}}function Gm(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Ym(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Wm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Km(e[n],t[n]))return!1;return!0}function Km(e,t){return km(e)?$m(e,t):km(t)?$m(t,e):e===t}function $m(e,t){return km(t)?e.length===t.length&&e.every((function(e,n){return e===t[n]})):1===e.length&&e[0]===t}var Jm,Zm,Xm={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function eg(e){if(!e)if(ym){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(qm,"")}!function(e){e.pop="pop",e.push="push"}(Jm||(Jm={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(Zm||(Zm={}));var tg=/^[^#]+#/;function ng(e,t){return e.replace(tg,"#")+t}var rg=function(){return{left:window.scrollX,top:window.scrollY}};function og(e){var t;if("el"in e){var n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){var n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function ag(e,t){return(history.state?history.state.position-t:-1)+e}var ig=new Map;var lg=function(){return location.protocol+"//"+location.host};function ug(e,t){var n=t.pathname,r=t.search,o=t.hash,a=e.indexOf("#");if(a>-1){var i=o.includes(e.slice(a))?e.slice(a).length:1,l=o.slice(i);return"/"!==l[0]&&(l="/"+l),Gm(l,"")}return Gm(n,e)+r+o}function cg(e,t,n){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{back:e,current:t,forward:n,replaced:arguments.length>3&&void 0!==arguments[3]&&arguments[3],position:window.history.length,scroll:r?rg():null}}function sg(e){var t=function(e){var t=window,n=t.history,r=t.location,o={value:ug(e,r)},a={value:n.state};function i(t,o,i){var l=e.indexOf("#"),u=l>-1?(r.host&&document.querySelector("base")?e:e.slice(l))+t:lg()+e+t;try{n[i?"replaceState":"pushState"](o,"",u),a.value=o}catch(c){console.error(c),r[i?"replace":"assign"](u)}}return a.value||i(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:o,state:a,push:function(e,t){var r=Am({},a.value,n.state,{forward:e,scroll:rg()});i(r.current,r,!0),i(e,Am({},cg(o.value,e,null),{position:r.position+1},t),!1),o.value=e},replace:function(e,t){i(e,Am({},n.state,cg(a.value.back,e,a.value.forward,!0),t,{position:a.value.position}),!0),o.value=e}}}(e=eg(e)),n=function(e,t,n,r){var o=[],a=[],i=null,l=function(a){var l=a.state,u=ug(e,location),c=n.value,s=t.value,f=0;if(l){if(n.value=u,t.value=l,i&&i===c)return void(i=null);f=s?l.position-s.position:0}else r(u);o.forEach((function(e){e(n.value,c,{delta:f,type:Jm.pop,direction:f?f>0?Zm.forward:Zm.back:Zm.unknown})}))};function u(){var e=window.history;e.state&&e.replaceState(Am({},e.state,{scroll:rg()}),"")}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:function(){i=n.value},listen:function(e){o.push(e);var t=function(){var t=o.indexOf(e);t>-1&&o.splice(t,1)};return a.push(t),t},destroy:function(){var e,t=A(a);try{for(t.s();!(e=t.n()).done;)(0,e.value)()}catch(n){t.e(n)}finally{t.f()}a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}}}(e,t.state,t.location,t.replace);var r=Am({location:"",base:e,go:function(e){!(arguments.length>1&&void 0!==arguments[1])||arguments[1]||n.pauseListeners(),history.go(e)},createHref:ng.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:function(){return t.location.value}}),Object.defineProperty(r,"state",{enumerable:!0,get:function(){return t.state.value}}),r}function fg(e){return"string"==typeof e||"symbol"==typeof e}var pg,dg=Symbol("");function vg(e,t){return Am(new Error,h({type:e},dg,!0),t)}function hg(e,t){return e instanceof Error&&dg in e&&(null==t||!!(e.type&t))}!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(pg||(pg={}));var mg="[^/]+?",gg={sensitive:!1,strict:!1,start:!0,end:!0},bg=/[.+*?^${}()[\]/\\]/g;function wg(e,t){for(var n=0;nt.length?1===t.length&&80===t[0]?1:-1:0}function yg(e,t){for(var n=0,r=e.score,o=t.score;n0&&t[t.length-1]<0}var Ag={type:0,value:""},_g=/[a-zA-Z0-9_]/;function Cg(e,t,n){var r=function(e,t){var n,r=Am({},gg,t),o=[],a=r.start?"^":"",i=[],l=A(e);try{for(l.s();!(n=l.n()).done;){var u=n.value,c=u.length?[]:[90];r.strict&&!u.length&&(a+="/");for(var s=0;s1&&("*"===l||"+"===l)&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),n.push({type:1,value:c,regexp:s,repeatable:"*"===l||"+"===l,optional:"*"===l||"?"===l})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;u-1&&(n.splice(o,1),e.record.name&&r.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function i(e){var t=function(e,t){var n=0,r=t.length;for(;n!==r;){var o=n+r>>1;yg(e,t[o])<0?r=o:n=o+1}var a=function(e){var t=e;for(;t=t.parent;)if(Lg(t)&&0===yg(e,t))return t;return}(e);a&&(r=t.lastIndexOf(a,r-1));return r}(e,n);n.splice(t,0,e),e.record.name&&!Sg(e)&&r.set(e.record.name,e)}return t=Hg({strict:!1,end:!0,sensitive:!1},t),e.forEach((function(e){return o(e)})),{addRoute:o,resolve:function(e,t){var o,a,i,l={};if("name"in e&&e.name){if(!(o=r.get(e.name)))throw vg(1,{location:e});i=o.record.name,l=Am(zg(t.params,o.keys.filter((function(e){return!e.optional})).concat(o.parent?o.parent.keys.filter((function(e){return e.optional})):[]).map((function(e){return e.name}))),e.params&&zg(e.params,o.keys.map((function(e){return e.name})))),a=o.stringify(l)}else if(null!=e.path)a=e.path,(o=n.find((function(e){return e.re.test(a)})))&&(l=o.parse(a),i=o.record.name);else{if(!(o=t.name?r.get(t.name):n.find((function(e){return e.re.test(t.path)}))))throw vg(1,{location:e,currentLocation:t});i=o.record.name,l=Am({},t.params,e.params),a=o.stringify(l)}for(var u=[],c=o;c;)u.unshift(c.record),c=c.parent;return{name:i,path:a,params:l,matched:u,meta:Eg(u)}},removeRoute:a,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function zg(e,t){var n,r={},o=A(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;a in e&&(r[a]=e[a])}}catch(i){o.e(i)}finally{o.f()}return r}function Mg(e){var t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Bg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Bg(e){var t={},n=e.props||!1;if("component"in e)t.default=n;else for(var r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function Sg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Eg(e){return e.reduce((function(e,t){return Am(e,t.meta)}),{})}function Hg(e,t){var n={};for(var r in e)n[r]=r in t?t[r]:e[r];return n}function Lg(e){var t=e.record;return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Vg(e){var t={};if(""===e||"?"===e)return t;for(var n=("?"===e[0]?e.slice(1):e).split("&"),r=0;r-1&&e.splice(n,1)}},list:function(){return e.slice()},reset:function(){e=[]}}}function Ng(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:function(e){return e()},i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return function(){return new Promise((function(l,u){var c=function(e){var a;!1===e?u(vg(4,{from:n,to:t})):e instanceof Error?u(e):"string"==typeof(a=e)||a&&"object"==typeof a?u(vg(2,{from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"==typeof e&&i.push(e),l())},s=a((function(){return e.call(r&&r.instances[o],t,n,c)})),f=Promise.resolve(s);e.length<3&&(f=f.then(c)),f.catch((function(e){return u(e)}))}))}}function Ug(e,t,n,r){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e){return e()},i=[],l=A(e);try{var u=function(){var e=o.value,l=function(o){var l=e.components[o];if("beforeRouteEnter"!==t&&!e.instances[o])return 1;if(xm(l)){var u=(l.__vccOpts||l)[t];u&&i.push(Ng(u,n,r,e,o,a))}else{var c=l();i.push((function(){return c.then((function(i){if(!i)throw new Error("Couldn't resolve component \"".concat(o,'" at "').concat(e.path,'"'));var l,u=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&xm(l.default)?i.default:i;e.mods[o]=i,e.components[o]=u;var c=(u.__vccOpts||u)[t];return c&&Ng(c,n,r,e,o,a)()}))}))}};for(var u in e.components)l(u)};for(l.s();!(o=l.n()).done;)u()}catch(c){l.e(c)}finally{l.f()}return i}function qg(e){var t=po(Rg),n=po(Dg),r=Na((function(){var n=Xt(e.to);return t.resolve(n)})),o=Na((function(){var e=r.value.matched,t=e.length,o=e[t-1],a=n.matched;if(!o||!a.length)return-1;var i=a.findIndex(Ym.bind(null,o));if(i>-1)return i;var l=Gg(e[t-2]);return t>1&&Gg(o)===l&&a[a.length-1].path!==l?a.findIndex(Ym.bind(null,e[t-2])):i})),a=Na((function(){return o.value>-1&&function(e,t){var n,r=function(){var n=t[o],r=e[o];if("string"==typeof n){if(n!==r)return{v:!1}}else if(!km(r)||r.length!==n.length||n.some((function(e,t){return e!==r[t]})))return{v:!1}};for(var o in t)if(n=r())return n.v;return!0}(n.params,r.value.params)})),i=Na((function(){return o.value>-1&&o.value===n.matched.length-1&&Wm(n.params,r.value.params)}));return{route:r,href:Na((function(){return r.value.href})),isActive:a,isExactActive:i,navigate:function(){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})?t[Xt(e.replace)?"replace":"push"](Xt(e.to)).catch(Cm):Promise.resolve()}}}var Qg=lr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:qg,setup:function(e,t){var n=t.slots,r=Ft(qg(e)),o=po(Rg).options,a=Na((function(){return h(h({},Yg(e.activeClass,o.linkActiveClass,"router-link-active"),r.isActive),Yg(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active"),r.isExactActive)}));return function(){var t=n.default&&n.default(r);return e.custom?t:Ua("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},t)}}});function Gg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}var Yg=function(e,t,n){return null!=e?e:null!=t?t:n},Wg=lr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup:function(e,t){var n=t.attrs,r=t.slots,o=po(Pg),a=Na((function(){return e.route||o.value})),i=po(jg,0),l=Na((function(){for(var e,t=Xt(i),n=a.value.matched;(e=n[t])&&!e.components;)t++;return t})),u=Na((function(){return a.value.matched[l.value]}));fo(jg,Na((function(){return l.value+1}))),fo(Fg,u),fo(Pg,a);var c=Kt();return jo((function(){return[c.value,u.value,e.name]}),(function(e,t){var n=g(e,3),r=n[0],o=n[1],a=n[2],i=g(t,3),l=i[0],u=i[1];i[2];o&&(o.instances[a]=r,u&&u!==o&&r&&r===l&&(o.leaveGuards.size||(o.leaveGuards=u.leaveGuards),o.updateGuards.size||(o.updateGuards=u.updateGuards))),!r||!o||u&&Ym(o,u)&&l||(o.enterCallbacks[a]||[]).forEach((function(e){return e(r)}))}),{flush:"post"}),function(){var t=a.value,o=e.name,i=u.value,l=i&&i.components[o];if(!l)return Kg(r.default,{Component:l,route:t});var s=i.props[o],f=s?!0===s?t.params:"function"==typeof s?s(t):s:null,p=Ua(l,Am({},f,n,{onVnodeUnmounted:function(e){e.component.isUnmounted&&(i.instances[o]=null)},ref:c}));return Kg(r.default,{Component:p,route:t})||p}}});function Kg(e,t){if(!e)return null;var n=e(t);return 1===n.length?n[0]:n}var $g=Wg;var Jg=[{path:"/",redirect:"/login"},{path:"/init",name:"Init",component:function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy2.js")}),0,a.meta.url)}},{path:"/login",name:"Login",component:function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy3.js")}),0,a.meta.url)}},{path:"/:catchAll(.*)",meta:{closeTab:!0},component:function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy4.js")}),0,a.meta.url)}}],Zg=n("U",function(e){var t=kg(e.routes,e),n=e.parseQuery||Vg,r=e.stringifyQuery||Og,o=e.history,a=Ig(),i=Ig(),l=Ig(),u=$t(Xm),c=Xm;ym&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var s,f=_m.bind(null,(function(e){return""+e})),p=_m.bind(null,Nm),d=_m.bind(null,Um);function v(e,a){if(a=Am({},a||u.value),"string"==typeof e){var i=Qm(n,e,a.path),l=t.resolve({path:i.path},a),c=o.createHref(i.fullPath);return Am(i,l,{params:d(l.params),hash:Um(i.hash),redirectedFrom:void 0,href:c})}var s;if(null!=e.path)s=Am({},e,{path:Qm(n,e.path,a.path).path});else{var v=Am({},e.params);for(var h in v)null==v[h]&&delete v[h];s=Am({},e,{params:p(v)}),a.params=p(a.params)}var m=t.resolve(s,a),g=e.hash||"";m.params=f(d(m.params));var b,w=function(e,t){var n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,Am({},e,{hash:(b=g,Pm(b).replace(Fm,"{").replace(Rm,"}").replace(Om,"^")),path:m.path})),y=o.createHref(w);return Am({fullPath:w,hash:g,query:r===Og?Tg(e.query):e.query||{}},m,{redirectedFrom:void 0,href:y})}function h(e){return"string"==typeof e?Qm(n,e,u.value.path):Am({},e)}function m(e,t){if(c!==e)return vg(8,{from:t,to:e})}function b(e){return y(e)}function w(e){var t=e.matched[e.matched.length-1];if(t&&t.redirect){var n=t.redirect,r="function"==typeof n?n(e):n;return"string"==typeof r&&((r=r.includes("?")||r.includes("#")?r=h(r):{path:r}).params={}),Am({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function y(e,t){var n=c=v(e),o=u.value,a=e.state,i=e.force,l=!0===e.replace,s=w(n);if(s)return y(Am(h(s),{state:"object"==typeof s?Am({},a,s.state):a,force:i,replace:l}),t||n);var f,p=n;return p.redirectedFrom=t,!i&&function(e,t,n){var r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ym(t.matched[r],n.matched[o])&&Wm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(f=vg(16,{to:p,from:o}),V(o,o,!0,!1)),(f?Promise.resolve(f):C(p,o)).catch((function(e){return hg(e)?hg(e,2)?e:L(e):H(e,p,o)})).then((function(e){if(e){if(hg(e,2))return y(Am({replace:l},h(e.to),{state:"object"==typeof e.to?Am({},a,e.to.state):a,force:i}),t||p)}else e=z(p,o,!0,l,a);return k(p,o,e),e}))}function x(e,t){var n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){var t=F.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function C(e,t){var n,r=function(e,t){for(var n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length),i=function(){var a=t.matched[l];a&&(e.matched.find((function(e){return Ym(e,a)}))?r.push(a):n.push(a));var i=e.matched[l];i&&(t.matched.find((function(e){return Ym(e,i)}))||o.push(i))},l=0;l2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,a=void 0!==o&&o;if(null!=e)if("object"!=typeof e&&(e=[e]),ib(e))for(n=0,r=e.length;n0;)if(t===(n=r[o]).toLowerCase())return n;return null}var zb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Mb=function(e){return!lb(e)&&e!==zb};var Bb,Sb=(Bb="undefined"!=typeof Uint8Array&&nb(Uint8Array),function(e){return Bb&&e instanceof Bb}),Eb=ob("HTMLFormElement"),Hb=function(){var e=Object.prototype.hasOwnProperty;return function(t,n){return e.call(t,n)}}(),Lb=ob("RegExp"),Vb=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};Cb(n,(function(n,o){var a;!1!==(a=t(n,o,e))&&(r[o]=a||n)})),Object.defineProperties(e,r)},Ob="abcdefghijklmnopqrstuvwxyz",Tb="0123456789",Fb={DIGIT:Tb,ALPHA:Ob,ALPHA_DIGIT:Ob+Ob.toUpperCase()+Tb};var jb,Rb,Db,Pb,Ib=ob("AsyncFunction"),Nb=(jb="function"==typeof setImmediate,Rb=sb(zb.postMessage),jb?setImmediate:Rb?(Db="axios@".concat(Math.random()),Pb=[],zb.addEventListener("message",(function(e){var t=e.source,n=e.data;t===zb&&n===Db&&Pb.length&&Pb.shift()()}),!1),function(e){Pb.push(e),zb.postMessage(Db,"*")}):function(e){return setTimeout(e)}),Ub="undefined"!=typeof queueMicrotask?queueMicrotask.bind(zb):"undefined"!=typeof process&&process.nextTick||Nb,qb={isArray:ib,isArrayBuffer:ub,isBuffer:function(e){return null!==e&&!lb(e)&&null!==e.constructor&&!lb(e.constructor)&&sb(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||sb(e.append)&&("formdata"===(t=rb(e))||"object"===t&&sb(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ub(e.buffer)},isString:cb,isNumber:fb,isBoolean:function(e){return!0===e||!1===e},isObject:pb,isPlainObject:db,isReadableStream:yb,isRequest:xb,isResponse:Ab,isHeaders:_b,isUndefined:lb,isDate:vb,isFile:hb,isBlob:mb,isRegExp:Lb,isFunction:sb,isStream:function(e){return pb(e)&&sb(e.pipe)},isURLSearchParams:bb,isTypedArray:Sb,isFileList:gb,forEach:Cb,merge:function e(){for(var t=(Mb(this)&&this||{}).caseless,n={},r=function(r,o){var a=t&&kb(n,o)||o;db(n[a])&&db(r)?n[a]=e(n[a],r):db(r)?n[a]=e({},r):ib(r)?n[a]=r.slice():n[a]=r},o=0,a=arguments.length;o3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,a,i,l={};if(t=t||{},null==e)return t;do{for(a=(o=Object.getOwnPropertyNames(e)).length;a-- >0;)i=o[a],r&&!r(i,e,t)||l[i]||(t[i]=e[i],l[i]=!0);e=!1!==n&&nb(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:rb,kindOfTest:ob,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(ib(e))return e;var t=e.length;if(!fb(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Eb,hasOwnProperty:Hb,hasOwnProp:Hb,reduceDescriptors:Vb,freezeMethods:function(e){Vb(e,(function(t,n){if(sb(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];sb(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return ib(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return null!=e&&Number.isFinite(e=+e)?e:t},findKey:kb,global:zb,isContextDefined:Mb,ALPHABET:Fb,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fb.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&sb(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10),n=function(e,r){if(pb(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;var o=ib(e)?[]:{};return Cb(e,(function(e,t){var a=n(e,r+1);!lb(a)&&(o[t]=a)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Ib,isThenable:function(e){return e&&(pb(e)||sb(e))&&sb(e.then)&&sb(e.catch)},setImmediate:Nb,asap:Ub};function Qb(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}qb.inherits(Qb,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:qb.toJSONObject(this.config),code:this.code,status:this.status}}});var Gb=Qb.prototype,Yb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){Yb[e]={value:e}})),Object.defineProperties(Qb,Yb),Object.defineProperty(Gb,"isAxiosError",{value:!0}),Qb.from=function(e,t,n,r,o,a){var i=Object.create(Gb);return qb.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),Qb.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};function Wb(e){return qb.isPlainObject(e)||qb.isArray(e)}function Kb(e){return qb.endsWith(e,"[]")?e.slice(0,-2):e}function $b(e,t,n){return e?e.concat(t).map((function(e,t){return e=Kb(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var Jb=qb.toFlatObject(qb,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Zb(e,t,n){if(!qb.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=qb.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!qb.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,a=n.dots,i=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&qb.isSpecCompliantForm(t);if(!qb.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(qb.isDate(e))return e.toISOString();if(!l&&qb.isBlob(e))throw new Qb("Blob is not supported. Use a Buffer instead.");return qb.isArrayBuffer(e)||qb.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){var l=e;if(e&&!o&&"object"==typeof e)if(qb.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(qb.isArray(e)&&function(e){return qb.isArray(e)&&!e.some(Wb)}(e)||(qb.isFileList(e)||qb.endsWith(n,"[]"))&&(l=qb.toArray(e)))return n=Kb(n),l.forEach((function(e,r){!qb.isUndefined(e)&&null!==e&&t.append(!0===i?$b([n],r,a):null===i?n:n+"[]",u(e))})),!1;return!!Wb(e)||(t.append($b(o,n,a),u(e)),!1)}var s=[],f=Object.assign(Jb,{defaultVisitor:c,convertValue:u,isVisitable:Wb});if(!qb.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!qb.isUndefined(n)){if(-1!==s.indexOf(n))throw Error("Circular reference detected in "+r.join("."));s.push(n),qb.forEach(n,(function(n,a){!0===(!(qb.isUndefined(n)||null===n)&&o.call(t,n,qb.isString(a)?a.trim():a,r,f))&&e(n,r?r.concat(a):[a])})),s.pop()}}(e),t}function Xb(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ew(e,t){this._pairs=[],e&&Zb(e,this,t)}var tw=ew.prototype;function nw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function rw(e,t,n){if(!t)return e;var r,o=n&&n.encode||nw,a=n&&n.serialize;if(r=a?a(t,n):qb.isURLSearchParams(t)?t.toString():new ew(t,n).toString(o)){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}tw.append=function(e,t){this._pairs.push([e,t])},tw.toString=function(e){var t=e?function(t){return e.call(this,t,Xb)}:Xb;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ow=function(){return v((function e(){p(this,e),this.handlers=[]}),[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){qb.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}])}(),aw=ow,iw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lw={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ew,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},uw="undefined"!=typeof window&&"undefined"!=typeof document,cw="object"==typeof navigator&&navigator||void 0,sw=uw&&(!cw||["ReactNative","NativeScript","NS"].indexOf(cw.product)<0),fw="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,pw=uw&&window.location.href||"http://localhost",dw=i(i({},Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:uw,hasStandardBrowserEnv:sw,hasStandardBrowserWebWorkerEnv:fw,navigator:cw,origin:pw},Symbol.toStringTag,{value:"Module"}))),lw);function vw(e){function t(e,n,r,o){var a=e[o++];if("__proto__"===a)return!0;var i=Number.isFinite(+a),l=o>=e.length;return a=!a&&qb.isArray(r)?r.length:a,l?(qb.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!i):(r[a]&&qb.isObject(r[a])||(r[a]=[]),t(e,n,r[a],o)&&qb.isArray(r[a])&&(r[a]=function(e){var t,n,r={},o=Object.keys(e),a=o.length;for(t=0;t-1,a=qb.isObject(e);if(a&&qb.isHTMLForm(e)&&(e=new FormData(e)),qb.isFormData(e))return o?JSON.stringify(vw(e)):e;if(qb.isArrayBuffer(e)||qb.isBuffer(e)||qb.isStream(e)||qb.isFile(e)||qb.isBlob(e)||qb.isReadableStream(e))return e;if(qb.isArrayBufferView(e))return e.buffer;if(qb.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Zb(e,new dw.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return dw.isNode&&qb.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=qb.isFileList(e))||r.indexOf("multipart/form-data")>-1){var i=this.env&&this.env.FormData;return Zb(n?{"files[]":e}:e,i&&new i,this.formSerializer)}}return a||o?(t.setContentType("application/json",!1),function(e,t,n){if(qb.isString(e))try{return(t||JSON.parse)(e),qb.trim(e)}catch(tB){if("SyntaxError"!==tB.name)throw tB}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||hw.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(qb.isResponse(e)||qb.isReadableStream(e))return e;if(e&&qb.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(tB){if(o){if("SyntaxError"===tB.name)throw Qb.from(tB,Qb.ERR_BAD_RESPONSE,this,null,this.response);throw tB}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dw.classes.FormData,Blob:dw.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qb.forEach(["delete","get","head","post","put","patch"],(function(e){hw.headers[e]={}}));var mw=hw,gw=qb.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),bw=Symbol("internals");function ww(e){return e&&String(e).trim().toLowerCase()}function yw(e){return!1===e||null==e?e:qb.isArray(e)?e.map(yw):String(e)}function xw(e,t,n,r,o){return qb.isFunction(r)?r.call(this,t,n):(o&&(t=n),qb.isString(t)?qb.isString(r)?-1!==t.indexOf(r):qb.isRegExp(r)?r.test(t):void 0:void 0)}var Aw=function(){return v((function e(t){p(this,e),t&&this.set(t)}),[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=ww(t);if(!o)throw new Error("header name must be a non-empty string");var a=qb.findKey(r,o);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=yw(e))}var a=function(e,t){return qb.forEach(e,(function(e,n){return o(e,n,t)}))};if(qb.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(qb.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a(function(e){var t,n,r,o={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&gw[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)})),o}(e),t);else if(qb.isHeaders(e)){var i,l=A(e.entries());try{for(l.s();!(i=l.n()).done;){var u=g(i.value,2),c=u[0];o(u[1],c,n)}}catch(s){l.e(s)}finally{l.f()}}else null!=e&&o(t,e,n);return this}},{key:"get",value:function(e,t){if(e=ww(e)){var n=qb.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(qb.isFunction(t))return t.call(this,r,n);if(qb.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=ww(e)){var n=qb.findKey(this,e);return!(!n||void 0===this[n]||t&&!xw(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=ww(e)){var o=qb.findKey(n,e);!o||t&&!xw(0,n[o],o,t)||(delete n[o],r=!0)}}return qb.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!xw(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return qb.forEach(this,(function(r,o){var a=qb.findKey(n,o);if(a)return t[a]=yw(r),void delete t[o];var i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();i!==o&&delete t[o],t[i]=yw(r),n[i]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r1?n-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:3,r=0,o=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),a=0,i=0;return t=void 0!==t?t:1e3,function(l){var u=Date.now(),c=o[i];n||(n=u),r[a]=l,o[a]=u;for(var s=i,f=0;s!==a;)f+=r[s++],s%=e;if((a=(a+1)%e)===i&&(i=(i+1)%e),!(u-n1&&void 0!==arguments[1]?arguments[1]:Date.now();o=a,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[function(){for(var e=Date.now(),t=e-o,l=arguments.length,u=new Array(l),c=0;c=a?i(u,e):(n=u,r||(r=setTimeout((function(){r=null,i(n)}),a-t)))},function(){return n&&i(n)}]}((function(n){var a=n.loaded,i=n.lengthComputable?n.total:void 0,l=a-r,u=o(l);r=a;var c=h({loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:u||void 0,estimated:u&&i&&a<=i?(i-a)/u:void 0,event:n,lengthComputable:null!=i},t?"download":"upload",!0);e(c)}),n)},Sw=function(e,t){var n=null!=e;return[function(r){return t[0]({lengthComputable:n,total:e,loaded:r})},t[1]]},Ew=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r1?t-1:0),r=1;r1?"since :\n"+l.map(ny).join("\n"):" "+ny(l[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function ay(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zw(null,e)}function iy(e){return ay(e),e.headers=_w.from(e.headers),e.data=Cw.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),oy(e.adapter||mw.adapter)(e).then((function(t){return ay(e),t.data=Cw.call(e,e.transformResponse,t),t.headers=_w.from(t.headers),t}),(function(t){return kw(t)||(ay(e),t&&t.response&&(t.response.data=Cw.call(e,e.transformResponse,t.response),t.response.headers=_w.from(t.response.headers))),Promise.reject(t)}))}var ly="1.7.7",uy={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){uy[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var cy={};uy.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,a){if(!1===e)throw new Qb(r(o," has been removed"+(t?" in "+t:"")),Qb.ERR_DEPRECATED);return t&&!cy[o]&&(cy[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,a)}};var sy={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Qb("options must be an object",Qb.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],i=t[a];if(i){var l=e[a],u=void 0===l||i(l,a,e);if(!0!==u)throw new Qb("option "+a+" must be "+u,Qb.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Qb("Unknown option "+a,Qb.ERR_BAD_OPTION)}},validators:uy},fy=sy.validators,py=function(){return v((function e(t){p(this,e),this.defaults=t,this.interceptors={request:new aw,response:new aw}}),[{key:"request",value:(e=r(o().mark((function e(t,n){var r,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._request(t,n);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),e.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error,a=r.stack?r.stack.replace(/^.+\n/,""):"";try{e.t0.stack?a&&!String(e.t0.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(e.t0.stack+="\n"+a):e.t0.stack=a}catch(tB){}}throw e.t0;case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(t,n){return e.apply(this,arguments)})},{key:"_request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var n=t=Tw(this.defaults,t),r=n.transitional,o=n.paramsSerializer,a=n.headers;void 0!==r&&sy.assertOptions(r,{silentJSONParsing:fy.transitional(fy.boolean),forcedJSONParsing:fy.transitional(fy.boolean),clarifyTimeoutError:fy.transitional(fy.boolean)},!1),null!=o&&(qb.isFunction(o)?t.paramsSerializer={serialize:o}:sy.assertOptions(o,{encode:fy.function,serialize:fy.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var i=a&&qb.merge(a.common,a[t.method]);a&&qb.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete a[e]})),t.headers=_w.concat(i,a);var l=[],u=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));var c,s=[];this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));var f,p=0;if(!u){var d=[iy.bind(this),void 0];for(d.unshift.apply(d,l),d.push.apply(d,s),f=d.length,c=Promise.resolve(t);p0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,o){r.reason||(r.reason=new zw(e,t,o),n(r.reason))}))}return v(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"toAbortSignal",value:function(){var e=this,t=new AbortController,n=function(e){t.abort(e)};return this.subscribe(n),t.signal.unsubscribe=function(){return e.unsubscribe(n)},t.signal}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}])}(),hy=vy;var my={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(my).forEach((function(e){var t=g(e,2),n=t[0],r=t[1];my[r]=n}));var gy=my;var by=function e(t){var n=new dy(t),r=Xg(dy.prototype.request,n);return qb.extend(r,dy.prototype,n,{allOwnKeys:!0}),qb.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Tw(t,n))},r}(mw);by.Axios=dy,by.CanceledError=zw,by.CancelToken=hy,by.isCancel=kw,by.VERSION=ly,by.toFormData=Zb,by.AxiosError=Qb,by.Cancel=by.CanceledError,by.all=function(e){return Promise.all(e)},by.spread=function(e){return function(t){return e.apply(null,t)}},by.isAxiosError=function(e){return qb.isObject(e)&&!0===e.isAxiosError},by.mergeConfig=Tw,by.AxiosHeaders=_w,by.formToJSON=function(e){return vw(qb.isHTMLForm(e)?new FormData(e):e)},by.getAdapter=oy,by.HttpStatusCode=gy,by.default=by;var wy,yy=n("M",by),xy=function(e){return Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter((function(e){return Ay(e)&&function(e){return"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent}(e)}))},Ay=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},_y=(n("aE",(function(e,t){var n;n=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";for(var r=document.createEvent(n),o=arguments.length,a=new Array(o>2?o-2:0),i=2;i2&&void 0!==arguments[2]?arguments[2]:{}).immediate,r=void 0===n||n,o=Kt(!1),a=null;function i(){a&&(clearTimeout(a),a=null)}function l(){o.value=!1,i()}function u(){for(var n=arguments.length,r=new Array(n),l=0;l1&&void 0!==arguments[1]&&arguments[1],n=Kt(),r=function(){return n.value=Boolean(e())};return r(),function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Ba()?_r(e):t?e():Cn(e)}(r,t),n}var Ky="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},$y="__vueuse_ssr_handlers__";Ky[$y]=Ky[$y]||{};var Jy=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,Xy=Object.prototype.propertyIsEnumerable,ex=function(e,t){var n={};for(var r in e)Zy.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Jy){var o,a=A(Jy(e));try{for(a.s();!(o=a.n()).done;){r=o.value;t.indexOf(r)<0&&Xy.call(e,r)&&(n[r]=e[r])}}catch(i){a.e(i)}finally{a.f()}}return n};function tx(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.window,a=void 0===o?qy:o,i=ex(r,["window"]),l=Wy((function(){return a&&"ResizeObserver"in a})),u=function(){n&&(n.disconnect(),n=void 0)},c=jo((function(){return Uy(e)}),(function(e){u(),l.value&&a&&e&&(n=new ResizeObserver(t)).observe(e,i)}),{immediate:!0,flush:"post"}),s=function(){u(),c()};return Iy(s),{isSupported:l,stop:s}}var nx,rx,ox=Object.getOwnPropertySymbols,ax=Object.prototype.hasOwnProperty,ix=Object.prototype.propertyIsEnumerable,lx=function(e,t){var n={};for(var r in e)ax.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&ox){var o,a=A(ox(e));try{for(a.s();!(o=a.n()).done;){r=o.value;t.indexOf(r)<0&&ix.call(e,r)&&(n[r]=e[r])}}catch(i){a.e(i)}finally{a.f()}}return n};(rx=nx||(nx={})).UP="UP",rx.RIGHT="RIGHT",rx.DOWN="DOWN",rx.LEFT="LEFT",rx.NONE="NONE";var ux=Object.defineProperty,cx=Object.getOwnPropertySymbols,sx=Object.prototype.hasOwnProperty,fx=Object.prototype.propertyIsEnumerable,px=function(e,t,n){return t in e?ux(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n};!function(e,t){for(var n in t||(t={}))sx.call(t,n)&&px(e,n,t[n]);if(cx){var r,o=A(cx(t));try{for(o.s();!(r=o.n()).done;){n=r.value;fx.call(t,n)&&px(e,n,t[n])}}catch(a){o.e(a)}finally{o.f()}}}({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});var dx="object"==typeof global&&global&&global.Object===Object&&global,vx=n("bX",dx),hx="object"==typeof self&&self&&self.Object===Object&&self,mx=vx||hx||Function("return this")(),gx=n("bR",mx),bx=gx.Symbol,wx=n("bL",bx),yx=Object.prototype,xx=yx.hasOwnProperty,Ax=yx.toString,_x=wx?wx.toStringTag:void 0;var Cx=Object.prototype.toString;var kx="[object Null]",zx="[object Undefined]",Mx=wx?wx.toStringTag:void 0;function Bx(e){return null==e?void 0===e?zx:kx:Mx&&Mx in Object(e)?function(e){var t=xx.call(e,_x),n=e[_x];try{e[_x]=void 0;var r=!0}catch(tB){}var o=Ax.call(e);return r&&(t?e[_x]=n:delete e[_x]),o}(e):function(e){return Cx.call(e)}(e)}function Sx(e){return null!=e&&"object"==typeof e}var Ex="[object Symbol]";function Hx(e){return"symbol"==typeof e||Sx(e)&&Bx(e)==Ex}function Lx(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n0){if(++iA>=800)return arguments[0]}else iA=0;return aA.apply(void 0,arguments)}),pA=n("c3",fA),dA=9007199254740991,vA=/^(?:0|[1-9]\d*)$/;function hA(e,t){var n=typeof e;return!!(t=null==t?dA:t)&&("number"==n||"symbol"!=n&&vA.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=AA}function CA(e){return Sx(e)&&"[object Arguments]"==Bx(e)}var kA=Object.prototype,zA=kA.hasOwnProperty,MA=kA.propertyIsEnumerable,BA=CA(function(){return arguments}())?CA:function(e){return Sx(e)&&zA.call(e,"callee")&&!MA.call(e,"callee")},SA=n("bY",BA),EA=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,HA=/^\w*$/;function LA(e,t){if(Ox(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Hx(e))||(HA.test(e)||!EA.test(e)||null!=t&&e in Object(t))}var VA=rA(Object,"create");var OA=Object.prototype.hasOwnProperty;var TA=Object.prototype.hasOwnProperty;function FA(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},DA.prototype.set=function(e,t){var n=this.__data__,r=jA(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var PA=rA(gx,"Map"),IA=n("b$",PA);function NA(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function UA(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&n(l)?t>1?r_(l,t-1,n,r,o):e_(o,l):r||(o[o.length]=l)}return o}function o_(e){return(null==e?0:e.length)?r_(e,1):[]}function a_(e,t){return null!=e&&t in Object(e)}function i_(e,t){return null!=e&&function(e,t,n){for(var r=-1,o=(t=KA(t,e)).length,a=!1;++r0&&void 0!==arguments[0]?arguments[0]:"").split(" ").filter((function(e){return!!e.trim()}))},__=n("aH",(function(e,t){if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)})),C_=n("aF",(function(e,t){var n;e&&t.trim()&&(n=e.classList).add.apply(n,y(A_(t)))})),k_=n("aG",(function(e,t){var n;e&&t.trim()&&(n=e.classList).remove.apply(n,y(A_(t)))})),z_=n("dn",(function(e,t){var n;if(!Vy||!e||!t)return"";var r=te(t);"float"===r&&(r="cssFloat");try{var o=e.style[r];if(o)return o;var a=null==(n=document.defaultView)?void 0:n.getComputedStyle(e,"");return a?a[r]:""}catch(tB){return e.style[r]}}));function M_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return e?h_(e)||g_(e)?"".concat(e).concat(t):U(e)?e:void 0:""}var B_,S_=function(e,t){if(!Vy)return!1;var n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=z_(e,n);return["scroll","auto","overlay"].some((function(e){return r.includes(e)}))},E_=(n("cG",(function(e,t){if(Vy){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(S_(n,t))return n;n=n.parentNode}return n}})),function(e){var t;if(!Vy)return 0;if(void 0!==B_)return B_;var n=document.createElement("div");n.className="".concat(e,"-scrollbar__wrap"),n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);var r=n.offsetWidth;n.style.overflow="scroll";var o=document.createElement("div");o.style.width="100%",n.appendChild(o);var a=o.offsetWidth;return null==(t=n.parentNode)||t.removeChild(n),B_=r-a});var H_="__epPropKey",L_=n("$",(function(e){return e})),V_=n("bt",(function(e,t){if(!Q(e)||Q(n=e)&&n[H_])return e;var n,r=e.values,o=e.required,a=e.default,i=e.type,l=e.validator,u=r||l?function(n){var o=!1,i=[];if(r&&(i=Array.from(r),j(e,"default")&&i.push(a),o||(o=i.includes(n))),l&&(o||(o=l(n))),!o&&i.length>0){var u=y(new Set(i)).map((function(e){return JSON.stringify(e)})).join(", ");Qa("Invalid prop: validation failed".concat(t?' for prop "'.concat(t,'"'):"",". Expected one of [").concat(u,"], got value ").concat(JSON.stringify(n),"."))}return o}:void 0,c=h({type:i,required:!!o,validator:u},H_,!0);return j(e,"default")&&(c.default=a),c})),O_=n("A",(function(e){return l_(Object.entries(e).map((function(e){var t=g(e,2),n=t[0],r=t[1];return[n,V_(r,n)]})))})),T_=n("B",L_([String,Object,Function])),F_=(n("ck",{Close:hc}),{Close:hc,SuccessFilled:zh,InfoFilled:Bp,WarningFilled:sm,CircleCloseFilled:rc}),j_={success:zh,warning:sm,error:rc,info:Bp},R_=n("bh",{validating:Np,success:tc,error:ac}),D_=n("I",(function(e,t){if(e.install=function(n){for(var r=0,o=[e].concat(y(Object.values(null!=t?t:{})));r0&&void 0!==arguments[0]?arguments[0]:{},t=e.excludeListeners,n=void 0!==t&&t,r=e.excludeKeys,o=Na((function(){return((null==r?void 0:r.value)||[]).concat(K_)})),a=Ba();return Na(a?function(){var e;return l_(Object.entries(null==(e=a.proxy)?void 0:e.$attrs).filter((function(e){var t=g(e,1)[0];return!(o.value.includes(t)||n&&$_.test(t))})))}:function(){return{}})})),Z_=n("ce",(function(e,t){e.from,e.replacement,e.scope,e.version,e.ref,e.type;jo((function(){return Xt(t)}),(function(e){}),{immediate:!0})})),X_=n("cj",(function(e,t,n,r){var o={offsetX:0,offsetY:0},a=function(t){var n=t.clientX,a=t.clientY,i=o,l=i.offsetX,u=i.offsetY,c=e.value.getBoundingClientRect(),s=c.left,f=c.top,p=c.width,d=c.height,v=document.documentElement.clientWidth,h=document.documentElement.clientHeight,m=-s+l,g=-f+u,b=v-s-p+l,w=h-f-d+u,y=function(t){var i=l+t.clientX-n,c=u+t.clientY-a;(null==r?void 0:r.value)||(i=Math.min(Math.max(i,m),b),c=Math.min(Math.max(c,g),w)),o={offsetX:i,offsetY:c},e.value&&(e.value.style.transform="translate(".concat(M_(i),", ").concat(M_(c),")"))},x=function(){document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",x)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",x)},i=function(){t.value&&e.value&&t.value.removeEventListener("mousedown",a)};return _r((function(){Fo((function(){n.value?t.value&&e.value&&t.value.addEventListener("mousedown",a):i()}))})),zr((function(){i()})),{resetPosition:function(){o={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")}}})),eC={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}},tC=function(e){return function(t,n){return nC(t,n,Xt(e))}},nC=function(e,t,n){return XA(n,e,e).replace(/\{(\w+)\}/g,(function(e,n){var r;return"".concat(null!=(r=null==t?void 0:t[n])?r:"{".concat(n,"}"))}))},rC=Symbol("localeContextKey"),oC=n("ah",(function(e){var t=e||po(rC,Kt());return function(e){return{lang:Na((function(){return Xt(e).name})),locale:Wt(e)?e:Kt(e),t:tC(e)}}(Na((function(){return t.value||eC})))})),aC=n("co","el"),iC=function(e,t,n,r,o){var a="".concat(e,"-").concat(t);return n&&(a+="-".concat(n)),r&&(a+="__".concat(r)),o&&(a+="--".concat(o)),a},lC=Symbol("namespaceContextKey"),uC=n("bx",(function(e){var t=e||(Ba()?po(lC,Kt(aC)):Kt(aC));return Na((function(){return Xt(t)||aC}))})),cC=n("v",(function(e,t){var n=uC(t);return{namespace:n,b:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return iC(n.value,e,t,"","")},e:function(t){return t?iC(n.value,e,"",t,""):""},m:function(t){return t?iC(n.value,e,"","",t):""},be:function(t,r){return t&&r?iC(n.value,e,t,r,""):""},em:function(t,r){return t&&r?iC(n.value,e,"",t,r):""},bm:function(t,r){return t&&r?iC(n.value,e,t,"",r):""},bem:function(t,r,o){return t&&r&&o?iC(n.value,e,t,r,o):""},is:function(e){return e&&(!((arguments.length<=1?0:arguments.length-1)>=1)||(arguments.length<=1?void 0:arguments[1]))?"".concat("is-").concat(e):""},cssVar:function(e){var t={};for(var r in e)e[r]&&(t["--".concat(n.value,"-").concat(r)]=e[r]);return t},cssVarName:function(e){return"--".concat(n.value,"-").concat(e)},cssVarBlock:function(t){var r={};for(var o in t)t[o]&&(r["--".concat(n.value,"-").concat(e,"-").concat(o)]=t[o]);return r},cssVarBlockName:function(t){return"--".concat(n.value,"-").concat(e,"-").concat(t)}}})),sC=n("cp",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Wt(e)||y_("[useLockscreen]","You need to pass a ref param to this function");var n=t.ns||cC("popup"),r=Na((function(){return n.bm("parent","hidden")}));if(Vy&&!__(document.body,r.value)){var o=0,a=!1,i="0",l=function(){setTimeout((function(){"undefined"!=typeof document&&(k_(null==document?void 0:document.body,r.value),a&&document&&(document.body.style.width=i))}),200)};jo(e,(function(e){if(e){(a=!__(document.body,r.value))&&(i=document.body.style.width),o=E_(n.namespace.value);var t=document.documentElement.clientHeight0&&(t||"scroll"===u)&&a&&(document.body.style.width="calc(100% - ".concat(o,"px)")),C_(document.body,r.value)}else l()})),Ee((function(){return l()}))}})),fC=function(e){var t=Ba();return Na((function(){var n,r;return null==(r=null==(n=null==t?void 0:t.proxy)?void 0:n.$props)?void 0:r[e]}))},pC=n("cm",(function(e){if(!e)return{onClick:S,onMousedown:S,onMouseup:S};var t=!1,n=!1;return{onClick:function(r){t&&n&&e(r),t=n=!1},onMousedown:function(e){t=e.target===e.currentTarget},onMouseup:function(e){n=e.target===e.currentTarget}}})),dC={prefix:Math.floor(1e4*Math.random()),current:0},vC=Symbol("elIdInjection"),hC=n("by",(function(){return Ba()?po(vC,dC):dC})),mC=n("al",(function(e){var t=hC(),n=uC();return Na((function(){return Xt(e)||"".concat(n.value,"-id-").concat(t.prefix,"-").concat(t.current++)}))})),gC=[],bC=function(e){var t=e;t.key===I_.esc&&gC.forEach((function(e){return e(t)}))},wC={current:0},yC=Kt(0),xC=Symbol("elZIndexContextKey"),AC=Symbol("zIndexContextKey"),_C=n("bF",(function(e){var t=Ba()?po(xC,wC):wC,n=e||(Ba()?po(AC,void 0):void 0),r=Na((function(){var e=Xt(n);return h_(e)?e:2e3})),o=Na((function(){return r.value+yC.value}));return!Vy&&po(xC),{initialZIndex:r,currentZIndex:o,nextZIndex:function(){return t.current++,yC.value=t.current,o.value}}}));var CC=n("a2",V_({type:String,values:U_,required:!1})),kC=Symbol("size"),zC=n("cu",(function(){var e=po(kC,{});return Na((function(){return Xt(e.size)||""}))}));function MC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.beforeFocus,r=t.afterFocus,o=t.beforeBlur,a=t.afterBlur,i=Ba().emit,l=$t(),u=Kt(!1),c=function(e){!!N(n)&&n(e)||u.value||(u.value=!0,i("focus",e),null==r||r())},s=function(e){var t;!!N(o)&&o(e)||e.relatedTarget&&(null==(t=l.value)?void 0:t.contains(e.relatedTarget))||(u.value=!1,i("blur",e),null==a||a())};return jo(l,(function(e){e&&e.setAttribute("tabindex","-1")})),Gy(l,"focus",c,!0),Gy(l,"blur",s,!0),Gy(l,"click",(function(){var t,n;(null==(t=l.value)?void 0:t.contains(document.activeElement))&&l.value!==document.activeElement||null==(n=e.value)||n.focus()}),!0),{isFocused:u,wrapperRef:l,handleFocus:c,handleBlur:s}}function BC(e){var t=e.afterComposition,n=e.emit,r=Kt(!1),o=function(e){var t;null==n||n("compositionupdate",e);var o=null==(t=e.target)?void 0:t.value,a=o[o.length-1]||"";r.value=!Y_(a)},a=function(e){null==n||n("compositionend",e),r.value&&(r.value=!1,Cn((function(){return t(e)})))};return{isComposing:r,handleComposition:function(e){"compositionend"===e.type?a(e):o(e)},handleCompositionStart:function(e){null==n||n("compositionstart",e),r.value=!0},handleCompositionUpdate:o,handleCompositionEnd:a}}var SC=Symbol("emptyValuesContextKey"),EC=["",void 0,null],HC=n("bo",O_({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:function(e){return N(e)?!e():!e}}})),LC=(n("bg",(function(e,t){var n=Ba()?po(SC,Kt({})):Kt({}),r=Na((function(){return e.emptyValues||n.value.emptyValues||EC})),o=Na((function(){return N(e.valueOnClear)?e.valueOnClear():void 0!==e.valueOnClear?e.valueOnClear:N(n.value.valueOnClear)?n.value.valueOnClear():void 0!==n.value.valueOnClear?n.value.valueOnClear:void 0!==t?t:undefined}));return r.value.includes(o.value),{emptyValues:r,valueOnClear:o,isEmptyValue:function(e){return r.value.includes(e)}}})),O_({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String})),VC=n("a3",(function(e){return p_(LC,e)})),OC=Symbol(),TC=Kt();function FC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=Ba()?po(OC,TC):TC;return e?Na((function(){var r,o;return null!=(o=null==(r=n.value)?void 0:r[e])?o:t})):n}function jC(e,t){var n=FC(),r=cC(e,Na((function(){var e;return(null==(e=n.value)?void 0:e.namespace)||aC}))),o=oC(Na((function(){var e;return null==(e=n.value)?void 0:e.locale}))),a=_C(Na((function(){var e;return(null==(e=n.value)?void 0:e.zIndex)||2e3}))),i=Na((function(){var e;return Xt(t)||(null==(e=n.value)?void 0:e.size)||""}));return RC(Na((function(){return Xt(n)||{}}))),{ns:r,locale:o,zIndex:a,size:i}}var RC=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=!!Ba(),a=o?FC():void 0,i=null!=(n=null==t?void 0:t.provide)?n:o?fo:void 0;if(i){var l=Na((function(){var t=Xt(e);return(null==a?void 0:a.value)?DC(a.value,t):t}));return i(OC,l),i(rC,Na((function(){return l.value.locale}))),i(lC,Na((function(){return l.value.namespace}))),i(AC,Na((function(){return l.value.zIndex}))),i(kC,{size:Na((function(){return l.value.size||""}))}),i(SC,Na((function(){return{emptyValues:l.value.emptyValues,valueOnClear:l.value.valueOnClear}}))),!r&&TC.value||(TC.value=l.value),l}},DC=function(e,t){var n,r={},o=A(y(new Set([].concat(y(b_(e)),y(b_(t))))));try{for(o.s();!(n=o.n()).done;){var a=n.value;r[a]=void 0!==t[a]?t[a]:e[a]}}catch(i){o.e(i)}finally{o.f()}return r},PC=O_(i({a11y:{type:Boolean,default:!0},locale:{type:L_(Object)},size:CC,button:{type:L_(Object)},experimentalFeatures:{type:L_(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:L_(Object)},zIndex:Number,namespace:{type:String,default:"el"}},HC)),IC={},NC=lr({name:"ElConfigProvider",props:PC,setup:function(e,t){var n=t.slots;jo((function(){return e.message}),(function(e){Object.assign(IC,null!=e?e:{})}),{immediate:!0,deep:!0});var r=RC(e);return function(){return Dr(n,"default",{config:null==r?void 0:r.value})}}}),UC=D_(NC),qC=n("_",(function(e,t){var n,r=e.__vccOpts||e,o=A(t);try{for(o.s();!(n=o.n()).done;){var a=g(n.value,2),i=a[0],l=a[1];r[i]=l}}catch(u){o.e(u)}finally{o.f()}return r})),QC=O_({size:{type:L_([Number,String])},color:{type:String}}),GC=lr({name:"ElIcon",inheritAttrs:!1}),YC=lr(i(i({},GC),{},{props:QC,setup:function(e){var t=e,n=cC("icon"),r=Na((function(){var e=t.size,n=t.color;return e||n?{fontSize:d_(e)?void 0:M_(e),"--color":n}:{}}));return function(e,t){return na(),ia("i",xa({class:Xt(n).b(),style:Xt(r)},e.$attrs),[Dr(e.$slots,"default")],16)}}})),WC=n("H",D_(qC(YC,[["__file","icon.vue"]]))),KC=n("a_",Symbol("formContextKey")),$C=n("b0",Symbol("formItemContextKey")),JC=n("aj",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Kt(void 0),r=t.prop?n:fC("size"),o=t.global?n:zC(),a=t.form?{size:void 0}:po(KC,void 0),i=t.formItem?{size:void 0}:po($C,void 0);return Na((function(){return r.value||Xt(e)||(null==i?void 0:i.size)||(null==a?void 0:a.size)||o.value||""}))})),ZC=n("cc",(function(e){var t=fC("disabled"),n=po(KC,void 0);return Na((function(){return t.value||Xt(e)||(null==n?void 0:n.disabled)||!1}))})),XC=n("aa",(function(){return{form:po(KC,void 0),formItem:po($C,void 0)}})),ek=n("ai",(function(e,t){var n=t.formItemContext,r=t.disableIdGeneration,o=t.disableIdManagement;r||(r=Kt(!1)),o||(o=Kt(!1));var a=Kt(),i=void 0,l=Na((function(){var t;return!!(!e.label&&!e.ariaLabel&&n&&n.inputIds&&(null==(t=n.inputIds)?void 0:t.length)<=1)}));return _r((function(){i=jo([an(e,"id"),r],(function(e){var t=g(e,2),r=t[0],i=t[1],l=null!=r?r:i?void 0:mC().value;l!==a.value&&((null==n?void 0:n.removeInputId)&&(a.value&&n.removeInputId(a.value),(null==o?void 0:o.value)||i||!l||n.addInputId(l)),a.value=l)}),{immediate:!0})})),Mr((function(){i&&i(),(null==n?void 0:n.removeInputId)&&a.value&&n.removeInputId(a.value)})),{isLabeledByFormItem:l,inputId:a}})),tk=void 0,nk="\n height:0 !important;\n visibility:hidden !important;\n ".concat(Vy&&/firefox/i.test(window.navigator.userAgent)?"":"overflow:hidden !important;","\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n"),rk=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function ok(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0;tk||(tk=document.createElement("textarea"),document.body.appendChild(tk));var o=function(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:rk.map((function(e){return"".concat(e,":").concat(t.getPropertyValue(e))})).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}(e),a=o.paddingSize,i=o.borderSize,l=o.boxSizing,u=o.contextStyle;tk.setAttribute("style","".concat(u,";").concat(nk)),tk.value=e.value||e.placeholder||"";var c=tk.scrollHeight,s={};"border-box"===l?c+=i:"content-box"===l&&(c-=a),tk.value="";var f=tk.scrollHeight-a;if(h_(n)){var p=f*n;"border-box"===l&&(p=p+a+i),c=Math.max(p,c),s.minHeight="".concat(p,"px")}if(h_(r)){var d=f*r;"border-box"===l&&(d=d+a+i),c=Math.min(d,c)}return s.height="".concat(c,"px"),null==(t=tk.parentNode)||t.removeChild(tk),tk=void 0,s}var ak=O_(i({id:{type:String,default:void 0},size:CC,disabled:Boolean,modelValue:{type:L_([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:L_([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:T_},prefixIcon:{type:T_},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:L_([Object,Array,String]),default:function(){return W_({})}},autofocus:Boolean,rows:{type:Number,default:2}},VC(["ariaLabel"]))),ik=(h(h(h(h(h(h(h(h(h(h(c={},N_,(function(e){return U(e)})),"input",(function(e){return U(e)})),"change",(function(e){return U(e)})),"focus",(function(e){return e instanceof FocusEvent})),"blur",(function(e){return e instanceof FocusEvent})),"clear",(function(){return!0})),"mouseleave",(function(e){return e instanceof MouseEvent})),"mouseenter",(function(e){return e instanceof MouseEvent})),"keydown",(function(e){return e instanceof Event})),"compositionstart",(function(e){return e instanceof CompositionEvent})),h(h(c,"compositionupdate",(function(e){return e instanceof CompositionEvent})),"compositionend",(function(e){return e instanceof CompositionEvent}))),lk=lr({name:"ElInput",inheritAttrs:!1}),uk=lr(i(i({},lk),{},{props:ak,emits:ik,setup:function(e,t){var n=t.expose,a=t.emit,l=e,u=Gr(),c=Qr(),s=Na((function(){var e={};return"combobox"===l.containerRole&&(e["aria-haspopup"]=u["aria-haspopup"],e["aria-owns"]=u["aria-owns"],e["aria-expanded"]=u["aria-expanded"]),e})),f=Na((function(){return["textarea"===l.type?_.b():A.b(),A.m(y.value),A.is("disabled",x.value),A.is("exceed",K.value),h(h(h(h(h({},A.b("group"),c.prepend||c.append),A.m("prefix"),c.prefix||l.prefixIcon),A.m("suffix"),c.suffix||l.suffixIcon||l.clearable||l.showPassword),A.bm("suffix","password-clear"),q.value&&G.value),A.b("hidden"),"hidden"===l.type),u.class]})),p=Na((function(){return[A.e("wrapper"),A.is("focus",O.value)]})),d=J_({excludeKeys:Na((function(){return Object.keys(s.value)}))}),v=XC(),m=v.form,b=v.formItem,w=ek(l,{formItemContext:b}).inputId,y=JC(),x=ZC(),A=cC("input"),_=cC("textarea"),C=$t(),k=$t(),z=Kt(!1),M=Kt(!1),B=Kt(),E=$t(l.inputStyle),H=Na((function(){return C.value||k.value})),L=MC(H,{beforeFocus:function(){return x.value},afterBlur:function(){var e;l.validateEvent&&(null==(e=null==b?void 0:b.validate)||e.call(b,"blur").catch((function(e){})))}}),V=L.wrapperRef,O=L.isFocused,T=L.handleFocus,F=L.handleBlur,j=Na((function(){var e;return null!=(e=null==m?void 0:m.statusIcon)&&e})),R=Na((function(){return(null==b?void 0:b.validateState)||""})),D=Na((function(){return R.value&&R_[R.value]})),P=Na((function(){return M.value?im:up})),I=Na((function(){return[u.style]})),N=Na((function(){return[l.inputStyle,E.value,{resize:l.resize}]})),U=Na((function(){return u_(l.modelValue)?"":String(l.modelValue)})),q=Na((function(){return l.clearable&&!x.value&&!l.readonly&&!!U.value&&(O.value||z.value)})),G=Na((function(){return l.showPassword&&!x.value&&!!U.value&&(!!U.value||O.value)})),Y=Na((function(){return l.showWordLimit&&!!l.maxlength&&("text"===l.type||"textarea"===l.type)&&!x.value&&!l.readonly&&!l.showPassword})),W=Na((function(){return U.value.length})),K=Na((function(){return!!Y.value&&W.value>Number(l.maxlength)})),$=Na((function(){return!!c.suffix||!!l.suffixIcon||q.value||l.showPassword||Y.value||!!R.value&&j.value})),J=function(e){var t;return[function(){if(null!=e.value){var n=e.value,r=n.selectionStart,o=n.selectionEnd,a=n.value;if(null!=r&&null!=o){var i=a.slice(0,Math.max(0,r)),l=a.slice(Math.max(0,o));t={selectionStart:r,selectionEnd:o,value:a,beforeTxt:i,afterTxt:l}}}},function(){if(null!=e.value&&null!=t){var n=e.value.value,r=t,o=r.beforeTxt,a=r.afterTxt,i=r.selectionStart;if(null!=o&&null!=a&&null!=i){var l=n.length;if(n.endsWith(a))l=n.length-a.length;else if(n.startsWith(o))l=o.length;else{var u=o[i-1],c=n.indexOf(u,i-1);-1!==c&&(l=c+1)}e.value.setSelectionRange(l,l)}}}]}(C),Z=g(J,2),X=Z[0],ee=Z[1];tx(k,(function(e){if(oe(),Y.value&&"both"===l.resize){var t=e[0].contentRect.width;B.value={right:"calc(100% - ".concat(t+15+6,"px)")}}}));var te,ne,re=function(){var e=l.type,t=l.autosize;if(Vy&&"textarea"===e&&k.value)if(t){var n=Q(t)?t.minRows:void 0,r=Q(t)?t.maxRows:void 0,o=ok(k.value,n,r);E.value=i({overflowY:"hidden"},o),Cn((function(){k.value.offsetHeight,E.value=o}))}else E.value={minHeight:ok(k.value).minHeight}},oe=(te=re,ne=!1,function(){var e;!ne&&l.autosize&&(null===(null==(e=k.value)?void 0:e.offsetParent)||(te(),ne=!0))}),ae=function(){var e=H.value,t=l.formatter?l.formatter(U.value):U.value;e&&e.value!==t&&(e.value=t)},ie=function(){var e=r(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(X(),n=t.target.value,l.formatter&&(n=l.parser?l.parser(n):n),!ce.value){e.next=5;break}return e.abrupt("return");case 5:if(n!==U.value){e.next=8;break}return ae(),e.abrupt("return");case 8:return a(N_,n),a("input",n),e.next=12,Cn();case 12:ae(),ee();case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),le=function(e){a("change",e.target.value)},ue=BC({emit:a,afterComposition:ie}),ce=ue.isComposing,se=ue.handleCompositionStart,pe=ue.handleCompositionUpdate,de=ue.handleCompositionEnd,ve=function(){M.value=!M.value,he()},he=function(){var e=r(o().mark((function e(){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Cn();case 2:null==(t=H.value)||t.focus();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ge=function(e){z.value=!1,a("mouseleave",e)},be=function(e){z.value=!0,a("mouseenter",e)},we=function(e){a("keydown",e)},ye=function(){a(N_,""),a("change",""),a("clear"),a("input","")};return jo((function(){return l.modelValue}),(function(){var e;Cn((function(){return re()})),l.validateEvent&&(null==(e=null==b?void 0:b.validate)||e.call(b,"change").catch((function(e){})))})),jo(U,(function(){return ae()})),jo((function(){return l.type}),r(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Cn();case 2:ae(),re();case 4:case"end":return e.stop()}}),e)})))),_r((function(){!l.formatter&&l.parser,ae(),Cn(re)})),n({input:C,textarea:k,ref:H,textareaStyle:N,autosize:an(l,"autosize"),isComposing:ce,focus:he,blur:function(){var e;return null==(e=H.value)?void 0:e.blur()},select:function(){var e;null==(e=H.value)||e.select()},clear:ye,resizeTextarea:re}),function(e,t){return na(),ia("div",xa(Xt(s),{class:[Xt(f),h(h({},Xt(A).bm("group","append"),e.$slots.append),Xt(A).bm("group","prepend"),e.$slots.prepend)],style:Xt(I),role:e.containerRole,onMouseenter:be,onMouseleave:ge}),[ga(" input "),"textarea"!==e.type?(na(),ia($o,{key:0},[ga(" prepend slot "),e.$slots.prepend?(na(),ia("div",{key:0,class:me(Xt(A).be("group","prepend"))},[Dr(e.$slots,"prepend")],2)):ga("v-if",!0),pa("div",{ref_key:"wrapperRef",ref:V,class:me(Xt(p))},[ga(" prefix slot "),e.$slots.prefix||e.prefixIcon?(na(),ia("span",{key:0,class:me(Xt(A).e("prefix"))},[pa("span",{class:me(Xt(A).e("prefix-inner"))},[Dr(e.$slots,"prefix"),e.prefixIcon?(na(),la(Xt(WC),{key:0,class:me(Xt(A).e("icon"))},{default:On((function(){return[(na(),la(Fr(e.prefixIcon)))]})),_:1},8,["class"])):ga("v-if",!0)],2)],2)):ga("v-if",!0),pa("input",xa({id:Xt(w),ref_key:"input",ref:C,class:Xt(A).e("inner")},Xt(d),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?M.value?"text":"password":e.type,disabled:Xt(x),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,onCompositionstart:Xt(se),onCompositionupdate:Xt(pe),onCompositionend:Xt(de),onInput:ie,onChange:le,onKeydown:we}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","onCompositionstart","onCompositionupdate","onCompositionend"]),ga(" suffix slot "),Xt($)?(na(),ia("span",{key:1,class:me(Xt(A).e("suffix"))},[pa("span",{class:me(Xt(A).e("suffix-inner"))},[Xt(q)&&Xt(G)&&Xt(Y)?ga("v-if",!0):(na(),ia($o,{key:0},[Dr(e.$slots,"suffix"),e.suffixIcon?(na(),la(Xt(WC),{key:0,class:me(Xt(A).e("icon"))},{default:On((function(){return[(na(),la(Fr(e.suffixIcon)))]})),_:1},8,["class"])):ga("v-if",!0)],64)),Xt(q)?(na(),la(Xt(WC),{key:1,class:me([Xt(A).e("icon"),Xt(A).e("clear")]),onMousedown:ol(Xt(S),["prevent"]),onClick:ye},{default:On((function(){return[da(Xt(ac))]})),_:1},8,["class","onMousedown"])):ga("v-if",!0),Xt(G)?(na(),la(Xt(WC),{key:2,class:me([Xt(A).e("icon"),Xt(A).e("password")]),onClick:ve},{default:On((function(){return[(na(),la(Fr(Xt(P))))]})),_:1},8,["class"])):ga("v-if",!0),Xt(Y)?(na(),ia("span",{key:3,class:me(Xt(A).e("count"))},[pa("span",{class:me(Xt(A).e("count-inner"))},Ce(Xt(W))+" / "+Ce(e.maxlength),3)],2)):ga("v-if",!0),Xt(R)&&Xt(D)&&Xt(j)?(na(),la(Xt(WC),{key:4,class:me([Xt(A).e("icon"),Xt(A).e("validateIcon"),Xt(A).is("loading","validating"===Xt(R))])},{default:On((function(){return[(na(),la(Fr(Xt(D))))]})),_:1},8,["class"])):ga("v-if",!0)],2)],2)):ga("v-if",!0)],2),ga(" append slot "),e.$slots.append?(na(),ia("div",{key:1,class:me(Xt(A).be("group","append"))},[Dr(e.$slots,"append")],2)):ga("v-if",!0)],64)):(na(),ia($o,{key:1},[ga(" textarea "),pa("textarea",xa({id:Xt(w),ref_key:"textarea",ref:k,class:[Xt(_).e("inner"),Xt(A).is("focus",Xt(O))]},Xt(d),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:Xt(x),readonly:e.readonly,autocomplete:e.autocomplete,style:Xt(N),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,onCompositionstart:Xt(se),onCompositionupdate:Xt(pe),onCompositionend:Xt(de),onInput:ie,onFocus:Xt(T),onBlur:Xt(F),onChange:le,onKeydown:we}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),Xt(Y)?(na(),ia("span",{key:0,style:fe(B.value),class:me(Xt(A).e("count"))},Ce(Xt(W))+" / "+Ce(e.maxlength),7)):ga("v-if",!0)],64))],16,["role"])}}})),ck=n("k",D_(qC(uk,[["__file","input.vue"]]))),sk="focus-trap.focus-after-trapped",fk="focus-trap.focus-after-released",pk={cancelable:!0,bubbles:!1},dk={cancelable:!0,bubbles:!1},vk="focusAfterTrapped",hk="focusAfterReleased",mk=n("az",Symbol("elFocusTrap")),gk=Kt(),bk=Kt(0),wk=Kt(0),yk=0,xk=function(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t},Ak=function(e,t){var n,r=A(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!_k(o,t))return o}}catch(a){r.e(a)}finally{r.f()}},_k=function(e,t){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},Ck=function(e,t){if(e&&e.focus){var n=document.activeElement;e.focus({preventScroll:!0}),wk.value=window.performance.now(),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}};function kk(e,t){var n=y(e),r=e.indexOf(t);return-1!==r&&n.splice(r,1),n}var zk=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement,o=A(e);try{for(o.s();!(t=o.n()).done;){var a=t.value;if(Ck(a,n),document.activeElement!==r)return}}catch(i){o.e(i)}finally{o.f()}},Mk=function(){var e=[];return{push:function(t){var n=e[0];n&&t!==n&&n.pause(),(e=kk(e,t)).unshift(t)},remove:function(t){var n,r;null==(r=null==(n=(e=kk(e,t))[0])?void 0:n.resume)||r.call(n)}}}(),Bk=function(){gk.value="pointer",bk.value=window.performance.now()},Sk=function(){gk.value="keyboard",bk.value=window.performance.now()},Ek=function(){return _r((function(){0===yk&&(document.addEventListener("mousedown",Bk),document.addEventListener("touchstart",Bk),document.addEventListener("keydown",Sk)),yk++})),zr((function(){--yk<=0&&(document.removeEventListener("mousedown",Bk),document.removeEventListener("touchstart",Bk),document.removeEventListener("keydown",Sk))})),{focusReason:gk,lastUserFocusTimestamp:bk,lastAutomatedFocusTimestamp:wk}},Hk=function(e){return new CustomEvent("focus-trap.focusout-prevented",i(i({},dk),{},{detail:e}))},Lk=lr({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[vk,hk,"focusin","focusout","focusout-prevented","release-requested"],setup:function(e,t){var n,a,l,u=t.emit,c=Kt(),s=Ek().focusReason;l=function(t){e.trapped&&!f.paused&&u("release-requested",t)},_r((function(){0===gC.length&&document.addEventListener("keydown",bC),Vy&&gC.push(l)})),zr((function(){0===(gC=gC.filter((function(e){return e!==l}))).length&&Vy&&document.removeEventListener("keydown",bC)}));var f={paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}},p=function(t){if((e.loop||e.trapped)&&!f.paused){var n=t.key,r=t.altKey,o=t.ctrlKey,a=t.metaKey,i=t.currentTarget,l=t.shiftKey,c=e.loop,p=n===I_.tab&&!r&&!o&&!a,d=document.activeElement;if(p&&d){var v=i,h=function(e){var t=xk(e);return[Ak(t,e),Ak(t.reverse(),e)]}(v),m=g(h,2),b=m[0],w=m[1];if(b&&w)if(l||d!==w){if(l&&[b,v].includes(d)){var y=Hk({focusReason:s.value});u("focusout-prevented",y),y.defaultPrevented||(t.preventDefault(),c&&Ck(w,!0))}}else{var x=Hk({focusReason:s.value});u("focusout-prevented",x),x.defaultPrevented||(t.preventDefault(),c&&Ck(b,!0))}else if(d===v){var A=Hk({focusReason:s.value});u("focusout-prevented",A),A.defaultPrevented||t.preventDefault()}}}};fo(mk,{focusTrapRef:c,onKeydown:p}),jo((function(){return e.focusTrapEl}),(function(e){e&&(c.value=e)}),{immediate:!0}),jo([c],(function(e,t){var n=g(e,1)[0],r=g(t,1)[0];n&&(n.addEventListener("keydown",p),n.addEventListener("focusin",h),n.addEventListener("focusout",m)),r&&(r.removeEventListener("keydown",p),r.removeEventListener("focusin",h),r.removeEventListener("focusout",m))}));var d=function(e){u(vk,e)},v=function(e){return u(hk,e)},h=function(t){var r=Xt(c);if(r){var o=t.target,i=t.relatedTarget,l=o&&r.contains(o);if(!e.trapped)i&&r.contains(i)||(n=i);l&&u("focusin",t),f.paused||e.trapped&&(l?a=o:Ck(a,!0))}},m=function(t){var n=Xt(c);if(!f.paused&&n)if(e.trapped){var r=t.relatedTarget;u_(r)||n.contains(r)||setTimeout((function(){if(!f.paused&&e.trapped){var t=Hk({focusReason:s.value});u("focusout-prevented",t),t.defaultPrevented||Ck(a,!0)}}),0)}else{var o=t.target;o&&n.contains(o)||u("focusout",t)}};function b(){return w.apply(this,arguments)}function w(){return(w=r(o().mark((function t(){var r,a,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Cn();case 2:(r=Xt(c))&&(Mk.push(f),a=r.contains(document.activeElement)?n:document.activeElement,n=a,r.contains(a)||(i=new Event(sk,pk),r.addEventListener(sk,d),r.dispatchEvent(i),i.defaultPrevented||Cn((function(){var t=e.focusStartEl;U(t)||(Ck(t),document.activeElement!==t&&(t="first")),"first"===t&&zk(xk(r),!0),document.activeElement!==a&&"container"!==t||Ck(r)}))));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function y(){var e=Xt(c);if(e){e.removeEventListener(sk,d);var t=new CustomEvent(fk,i(i({},pk),{},{detail:{focusReason:s.value}}));e.addEventListener(fk,v),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=s.value&&bk.value>wk.value&&!e.contains(document.activeElement)||Ck(null!=n?n:document.body),e.removeEventListener(fk,v),Mk.remove(f)}}return _r((function(){e.trapped&&b(),jo((function(){return e.trapped}),(function(e){e?b():y()}))})),zr((function(){e.trapped&&y(),c.value&&(c.value.removeEventListener("keydown",p),c.value.removeEventListener("focusin",h),c.value.removeEventListener("focusout",m),c.value=void 0)})),{onKeydown:p}}});var Vk=n("bG",qC(Lk,[["render",function(e,t,n,r,o,a){return Dr(e.$slots,"default",{handleKeydown:e.onKeydown})}],["__file","focus-trap.vue"]])),Ok=O_({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:L_([String,Object,Array])},offset:{type:L_(Array),default:[0,0]},badgeClass:{type:String}}),Tk=lr({name:"ElBadge"}),Fk=lr(i(i({},Tk),{},{props:Ok,setup:function(e,t){var n=t.expose,r=e,o=cC("badge"),a=Na((function(){return r.isDot?"":h_(r.value)&&h_(r.max)&&r.max1)&&(e=1),e}function qk(e){return e<=1?"".concat(100*Number(e),"%"):e}function Qk(e){return 1===e.length?"0"+e:String(e)}function Gk(e,t,n){e=Ik(e,255),t=Ik(t,255),n=Ik(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,l=(r+o)/2;if(r===o)i=0,a=0;else{var u=r-o;switch(i=l>.5?u/(2-r-o):u/(r+o),r){case e:a=(t-n)/u+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Wk(e,t,n){e=Ik(e,255),t=Ik(t,255),n=Ik(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,l=r-o,u=0===r?0:l/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var o=Xk(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=Uk(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=Wk(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=Wk(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=Gk(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=Gk(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),Kk(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,o){var a,i=[Qk(Math.round(e).toString(16)),Qk(Math.round(t).toString(16)),Qk(Math.round(n).toString(16)),Qk((a=r,Math.round(255*parseFloat(a)).toString(16)))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*Ik(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*Ik(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+Kk(this.r,this.g,this.b,!1),t=0,n=Object.entries(Zk);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Nk(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Nk(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Nk(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Nk(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100;return new e({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],l=1/t;t--;)i.push(new e({h:r,s:o,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i1&&void 0!==arguments[1]?arguments[1]:20;return e.mix("#141414",t).toString()}var lz=lr({name:"ElButton"}),uz=lr(i(i({},lz),{},{props:Dk,emits:Pk,setup:function(e,t){var n=t.expose,r=t.emit,o=e,a=function(e){var t=ZC(),n=cC("button");return Na((function(){var r={},o=e.color;if(o){var a=o.match(/var\((.*?)\)/);a&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));var i=new az(o),l=e.dark?i.tint(20).toString():iz(i,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?iz(i,90):i.tint(90).toString(),"text-color":o,"border-color":e.dark?iz(i,50):i.tint(50).toString(),"hover-text-color":"var(".concat(n.cssVarName("color-white"),")"),"hover-bg-color":o,"hover-border-color":o,"active-bg-color":l,"active-text-color":"var(".concat(n.cssVarName("color-white"),")"),"active-border-color":l}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?iz(i,90):i.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?iz(i,50):i.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?iz(i,80):i.tint(80).toString());else{var u=e.dark?iz(i,30):i.tint(30).toString(),c=i.isDark()?"var(".concat(n.cssVarName("color-white"),")"):"var(".concat(n.cssVarName("color-black"),")");if(r=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":l,"active-border-color":l}),t.value){var s=e.dark?iz(i,50):i.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=s,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":"var(".concat(n.cssVarName("color-white"),")"),r[n.cssVarBlockName("disabled-border-color")]=s}}}return r}))}(o),i=cC("button"),l=function(e,t){Z_({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},Na((function(){return"text"===e.type})));var n=po(Rk,void 0),r=FC("button"),o=XC().form,a=JC(Na((function(){return null==n?void 0:n.size}))),i=ZC(),l=Kt(),u=Qr(),c=Na((function(){return e.type||(null==n?void 0:n.type)||""})),s=Na((function(){var t,n,o;return null!=(o=null!=(n=e.autoInsertSpace)?n:null==(t=r.value)?void 0:t.autoInsertSpace)&&o})),f=Na((function(){return"button"===e.tag?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}})),p=Na((function(){var e,t=null==(e=u.default)?void 0:e.call(u);if(s.value&&1===(null==t?void 0:t.length)){var n=t[0];if((null==n?void 0:n.type)===Jo){var r=n.children;return/^(?:[\u3400-\u4DBF\u4E00-\u9FFF\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]){2}$/.test(r.trim())}}return!1}));return{_disabled:i,_size:a,_type:c,_ref:l,_props:f,shouldAddSpace:p,handleClick:function(n){i.value||e.loading?n.stopPropagation():("reset"===e.nativeType&&(null==o||o.resetFields()),t("click",n))}}}(o,r),u=l._ref,c=l._size,s=l._type,f=l._disabled,p=l._props,d=l.shouldAddSpace,v=l.handleClick,m=Na((function(){return[i.b(),i.m(s.value),i.m(c.value),i.is("disabled",f.value),i.is("loading",o.loading),i.is("plain",o.plain),i.is("round",o.round),i.is("circle",o.circle),i.is("text",o.text),i.is("link",o.link),i.is("has-bg",o.bg)]}));return n({ref:u,size:c,type:s,disabled:f,shouldAddSpace:d}),function(e,t){return na(),la(Fr(e.tag),xa({ref_key:"_ref",ref:u},Xt(p),{class:Xt(m),style:Xt(a),onClick:Xt(v)}),{default:On((function(){return[e.loading?(na(),ia($o,{key:0},[e.$slots.loading?Dr(e.$slots,"loading",{key:0}):(na(),la(Xt(WC),{key:1,class:me(Xt(i).is("loading"))},{default:On((function(){return[(na(),la(Fr(e.loadingIcon)))]})),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?(na(),la(Xt(WC),{key:1},{default:On((function(){return[e.icon?(na(),la(Fr(e.icon),{key:0})):Dr(e.$slots,"icon",{key:1})]})),_:3})):ga("v-if",!0),e.$slots.default?(na(),ia("span",{key:2,class:me(h({},Xt(i).em("text","expand"),Xt(d)))},[Dr(e.$slots,"default")],2)):ga("v-if",!0)]})),_:3},16,["class","style","onClick"])}}})),cz=qC(uz,[["__file","button.vue"]]),sz={size:Dk.size,type:Dk.type},fz=lr({name:"ElButtonGroup"}),pz=qC(lr(i(i({},fz),{},{props:sz,setup:function(e){var t=e;fo(Rk,Ft({size:an(t,"size"),type:an(t,"type")}));var n=cC("button");return function(e,t){return na(),ia("div",{class:me(Xt(n).b("group"))},[Dr(e.$slots,"default")],2)}}})),[["__file","button-group.vue"]]),dz=n("E",D_(cz,{ButtonGroup:pz}));P_(pz);n("dj","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function vz(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hz="_trap-focus-children",mz=[],gz=function(e){if(0!==mz.length){var t=mz[mz.length-1][hz];if(t.length>0&&e.code===I_.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());var n=e.shiftKey,r=e.target===t[0],o=e.target===t[t.length-1];r&&n&&(e.preventDefault(),t[t.length-1].focus()),o&&!n&&(e.preventDefault(),t[0].focus())}}},bz={beforeMount:function(e){e[hz]=xy(e),mz.push(e),mz.length<=1&&document.addEventListener("keydown",gz)},updated:function(e){Cn((function(){e[hz]=xy(e)}))},unmounted:function(){mz.shift(),0===mz.length&&document.removeEventListener("keydown",gz)}},wz=O_({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:L_([String,Array,Object])},zIndex:{type:L_([String,Number])}}),yz=lr({name:"ElOverlay",props:wz,emits:{click:function(e){return e instanceof MouseEvent}},setup:function(e,t){var n=t.slots,r=t.emit,o=cC("overlay"),a=pC(e.customMaskEvent?void 0:function(e){r("click",e)}),i=a.onClick,l=a.onMousedown,u=a.onMouseup;return function(){return e.mask?da("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:l,onMouseup:u},[Dr(n,"default")],Q_.STYLE|Q_.CLASS|Q_.PROPS,["onClick","onMouseup","onMousedown"]):Ua("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[Dr(n,"default")])}}}),xz=n("cl",yz);function Az(e){var t,n=Kt(!1),r=Ft(i(i({},e),{},{originalPosition:"",originalOverflow:"",visible:!1}));function o(){var e,t;null==(t=null==(e=c.$el)?void 0:e.parentNode)||t.removeChild(c.$el)}function a(){if(n.value){var e=r.parent;n.value=!1,e.vLoadingAddClassList=void 0,function(){var e=r.parent,t=c.ns;if(!e.vLoadingAddClassList){var n=e.getAttribute("loading-number");(n=Number.parseInt(n)-1)?e.setAttribute("loading-number",n.toString()):(k_(e,t.bm("parent","relative")),e.removeAttribute("loading-number")),k_(e,t.bm("parent","hidden"))}o(),u.unmount()}()}}var l=lr({name:"ElLoading",setup:function(e,t){var n=t.expose,o=jC("loading"),l=o.ns,u=o.zIndex;return n({ns:l,zIndex:u}),function(){var e=r.spinner||r.svg,t=Ua("svg",i({class:"circular",viewBox:r.svgViewBox?r.svgViewBox:"0 0 50 50"},e?{innerHTML:e}:{}),[Ua("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),n=r.text?Ua("p",{class:l.b("text")},[r.text]):void 0;return Ua(ri,{name:l.b("fade"),onAfterLeave:a},{default:On((function(){return[Tn(da("div",{style:{backgroundColor:r.background||""},class:[l.b("mask"),r.customClass,r.fullscreen?"is-fullscreen":""]},[Ua("div",{class:l.b("spinner")},[t,n])]),[[wi,r.visible]])]}))})}}}),u=sl(l),c=u.mount(document.createElement("div"));return i(i({},nn(r)),{},{setText:function(e){r.text=e},removeElLoadingChild:o,close:function(){var o;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=setTimeout(a,400),r.visible=!1,null==(o=e.closed)||o.call(e))},handleAfterLeave:a,vm:c,get $el(){return c.$el}})}var _z=void 0,Cz=function(){if(Vy){var e=kz(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});if(e.fullscreen&&_z)return _z;var t=Az(i(i({},e),{},{closed:function(){var t;null==(t=e.closed)||t.call(e),e.fullscreen&&(_z=void 0)}}));zz(e,e.parent,t),Mz(e,e.parent,t),e.parent.vLoadingAddClassList=function(){return Mz(e,e.parent,t)};var n=e.parent.getAttribute("loading-number");return n=n?"".concat(Number.parseInt(n)+1):"1",e.parent.setAttribute("loading-number",n),e.parent.appendChild(t.$el),Cn((function(){return t.visible.value=e.visible})),e.fullscreen&&(_z=t),t}},kz=function(e){var t,n,r,o,a;return{parent:(a=U(e.target)?null!=(t=document.querySelector(e.target))?t:document.body:e.target||document.body)===document.body||e.body?document.body:a,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:a===document.body&&(null==(n=e.fullscreen)||n),lock:null!=(r=e.lock)&&r,customClass:e.customClass||"",visible:null==(o=e.visible)||o,beforeClose:e.beforeClose,closed:e.closed,target:a}},zz=function(){var e=r(o().mark((function e(t,n,r){var a,i,l,u,c,s,f,p,d,v,h,m,b,w,y;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=r.vm.zIndex||r.vm._.exposed.zIndex,i=a.nextZIndex,l={},!t.fullscreen){e.next=8;break}r.originalPosition.value=z_(document.body,"position"),r.originalOverflow.value=z_(document.body,"overflow"),l.zIndex=i(),e.next=17;break;case 8:if(t.parent!==document.body){e.next=16;break}return r.originalPosition.value=z_(document.body,"position"),e.next=12,Cn();case 12:for(u=0,c=["top","left"];u0&&(t=Tz[n-1]),{current:r,prev:t}}(e),n=t.prev;return n?n.vm.exposed.bottom.value:0},jz=lr({name:"ElMessage"}),Rz=lr(i(i({},jz),{},{props:Oz,emits:{destroy:function(){return!0}},setup:function(e,t){var n=t.expose,r=e,o=F_.Close,a=jC("message"),i=a.ns,l=a.zIndex,u=l.currentZIndex,c=l.nextZIndex,s=Kt(),f=Kt(!1),p=Kt(0),d=void 0,v=Na((function(){return r.type?"error"===r.type?"danger":r.type:"info"})),m=Na((function(){var e=r.type;return h({},i.bm("icon",e),e&&j_[e])})),g=Na((function(){return r.icon||j_[r.type]||""})),b=Na((function(){return Fz(r.id)})),w=Na((function(){return function(e,t){return Tz.findIndex((function(t){return t.id===e}))>0?16:t}(r.id,r.offset)+b.value})),y=Na((function(){return p.value+w.value})),x=Na((function(){return{top:"".concat(w.value,"px"),zIndex:u.value}}));function A(){if(0!==r.duration){var e=Ny((function(){C()}),r.duration);d=e.stop}}function _(){null==d||d()}function C(){f.value=!1}return _r((function(){A(),c(),f.value=!0})),jo((function(){return r.repeatNum}),(function(){_(),A()})),Gy(document,"keydown",(function(e){e.code===I_.esc&&C()})),tx(s,(function(){p.value=s.value.getBoundingClientRect().height})),n({visible:f,bottom:y,close:C}),function(e,t){return na(),la(ri,{name:Xt(i).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:function(t){return e.$emit("destroy")},persisted:""},{default:On((function(){return[Tn(pa("div",{id:e.id,ref_key:"messageRef",ref:s,class:me([Xt(i).b(),h({},Xt(i).m(e.type),e.type),Xt(i).is("center",e.center),Xt(i).is("closable",e.showClose),Xt(i).is("plain",e.plain),e.customClass]),style:fe(Xt(x)),role:"alert",onMouseenter:_,onMouseleave:A},[e.repeatNum>1?(na(),la(Xt(jk),{key:0,value:e.repeatNum,type:Xt(v),class:me(Xt(i).e("badge"))},null,8,["value","type","class"])):ga("v-if",!0),Xt(g)?(na(),la(Xt(WC),{key:1,class:me([Xt(i).e("icon"),Xt(m)])},{default:On((function(){return[(na(),la(Fr(Xt(g))))]})),_:1},8,["class"])):ga("v-if",!0),Dr(e.$slots,"default",{},(function(){return[e.dangerouslyUseHTMLString?(na(),ia($o,{key:1},[ga(" Caution here, message could've been compromised, never use user's input as message "),pa("p",{class:me(Xt(i).e("content")),innerHTML:e.message},null,10,["innerHTML"])],2112)):(na(),ia("p",{key:0,class:me(Xt(i).e("content"))},Ce(e.message),3))]})),e.showClose?(na(),la(Xt(WC),{key:2,class:me(Xt(i).e("closeBtn")),onClick:ol(C,["stop"])},{default:On((function(){return[da(Xt(o))]})),_:1},8,["class","onClick"])):ga("v-if",!0)],46,["id"]),[[wi,f.value]])]})),_:3},8,["name","onBeforeLeave","onAfterLeave"])}}})),Dz=qC(Rz,[["__file","message.vue"]]),Pz=1,Iz=function(e){var t=!e||U(e)||ua(e)||N(e)?{message:e}:e,n=i(i({},Vz),t);if(n.appendTo){if(U(n.appendTo)){var r=document.querySelector(n.appendTo);m_(r)||(r=document.body),n.appendTo=r}}else n.appendTo=document.body;return v_(IC.grouping)&&!n.grouping&&(n.grouping=IC.grouping),h_(IC.duration)&&3e3===n.duration&&(n.duration=IC.duration),h_(IC.offset)&&16===n.offset&&(n.offset=IC.offset),v_(IC.showClose)&&!n.showClose&&(n.showClose=IC.showClose),n},Nz=function(t,n){var r=t.appendTo,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r1?arguments[1]:void 0;if(!Vy)return{close:function(){}};var t=Iz(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});if(t.grouping&&Tz.length){var n=Tz.find((function(e){var n;return(null==(n=e.vnode.props)?void 0:n.message)===t.message}));if(n)return n.props.repeatNum+=1,n.props.type=t.type,n.handler}if(h_(IC.max)&&Tz.length>=IC.max)return{close:function(){}};var r=Nz(t,e);return Tz.push(r),r.handler};Lz.forEach((function(e){Uz[e]=function(){var t=arguments.length>1?arguments[1]:void 0,n=Iz(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return Uz(i(i({},n),{},{type:e}),t)}})),Uz.closeAll=function(e){var t,n=A(Tz);try{for(n.s();!(t=n.n()).done;){var r=t.value;e&&e!==r.props.type||r.handler.close()}}catch(o){n.e(o)}finally{n.f()}},Uz._context=null;var qz,Qz,Gz=n("j",(Qz="$message",(qz=Uz).install=function(e){qz._context=e._context,e.config.globalProperties[Qz]=qz},qz)),Yz=lr({name:"ElMessageBox",directives:{TrapFocus:bz},components:i({ElButton:dz,ElFocusTrap:Vk,ElInput:ck,ElOverlay:xz,ElIcon:WC},F_),inheritAttrs:!1,props:{buttonSize:{type:String,validator:q_},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup:function(e,t){var n=t.emit,a=jC("message-box",Na((function(){return e.buttonSize}))),l=a.locale,u=a.zIndex,c=a.ns,s=a.size,f=l.t,p=u.nextZIndex,d=Kt(!1),v=Ft({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:Qt(Np),cancelButtonLoadingIcon:Qt(Np),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:p()}),m=Na((function(){var e=v.type;return h({},c.bm("icon",e),e&&j_[e])})),g=mC(),b=mC(),w=Na((function(){return v.icon||j_[v.type]||""})),y=Na((function(){return!!v.message})),x=Kt(),A=Kt(),_=Kt(),C=Kt(),k=Kt(),z=Na((function(){return v.confirmButtonClass}));jo((function(){return v.inputValue}),function(){var t=r(o().mark((function t(n){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Cn();case 2:"prompt"===e.boxType&&null!==n&&V();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{immediate:!0}),jo((function(){return d.value}),(function(t){var n,r;t&&("prompt"!==e.boxType&&(v.autofocus?_.value=null!=(r=null==(n=k.value)?void 0:n.$el)?r:x.value:_.value=x.value),v.zIndex=p()),"prompt"===e.boxType&&(t?Cn().then((function(){var e;C.value&&C.value.$el&&(v.autofocus?_.value=null!=(e=O())?e:x.value:_.value=x.value)})):(v.editorErrorMessage="",v.validateError=!1))}));var M=Na((function(){return e.draggable})),B=Na((function(){return e.overflow}));function S(){d.value&&(d.value=!1,Cn((function(){v.action&&n("action",v.action)})))}X_(x,A,M,B),_r(r(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Cn();case 2:e.closeOnHashChange&&window.addEventListener("hashchange",S);case 3:case"end":return t.stop()}}),t)})))),zr((function(){e.closeOnHashChange&&window.removeEventListener("hashchange",S)}));var E=function(){e.closeOnClickModal&&L(v.distinguishCancelAndClose?"close":"cancel")},H=pC(E),L=function(t){var n;("prompt"!==e.boxType||"confirm"!==t||V())&&(v.action=t,v.beforeClose?null==(n=v.beforeClose)||n.call(v,t,v,S):S())},V=function(){if("prompt"===e.boxType){var t=v.inputPattern;if(t&&!t.test(v.inputValue||""))return v.editorErrorMessage=v.inputErrorMessage||f("el.messagebox.error"),v.validateError=!0,!1;var n=v.inputValidator;if("function"==typeof n){var r=n(v.inputValue);if(!1===r)return v.editorErrorMessage=v.inputErrorMessage||f("el.messagebox.error"),v.validateError=!0,!1;if("string"==typeof r)return v.editorErrorMessage=r,v.validateError=!0,!1}}return v.editorErrorMessage="",v.validateError=!1,!0},O=function(){var e=C.value.$refs;return e.input||e.textarea},T=function(){L("close")};return e.lockScroll&&sC(d),i(i({},nn(v)),{},{ns:c,overlayEvent:H,visible:d,hasMessage:y,typeClass:m,contentId:g,inputId:b,btnSize:s,iconComponent:w,confirmButtonClasses:z,rootRef:x,focusStartRef:_,headerRef:A,inputRef:C,confirmRef:k,doClose:S,handleClose:T,onCloseRequested:function(){e.closeOnPressEscape&&T()},handleWrapperClick:E,handleInputEnter:function(e){if("textarea"!==v.inputType)return e.preventDefault(),L("confirm")},handleAction:L,t:f})}});var Wz=qC(Yz,[["render",function(e,t,n,r,o,a){var i=Or("el-icon"),l=Or("close"),u=Or("el-input"),c=Or("el-button"),s=Or("el-focus-trap"),f=Or("el-overlay");return na(),la(ri,{name:"fade-in-linear",onAfterLeave:function(t){return e.$emit("vanish")},persisted:""},{default:On((function(){return[Tn(da(f,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:On((function(){return[pa("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:me("".concat(e.ns.namespace.value,"-overlay-message-box")),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[da(s,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:On((function(){return[pa("div",{ref:"rootRef",class:me([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),h({},e.ns.m("center"),e.center)]),style:fe(e.customStyle),tabindex:"-1",onClick:ol((function(){}),["stop"])},[null!==e.title&&void 0!==e.title?(na(),ia("div",{key:0,ref:"headerRef",class:me([e.ns.e("header"),{"show-close":e.showClose}])},[pa("div",{class:me(e.ns.e("title"))},[e.iconComponent&&e.center?(na(),la(i,{key:0,class:me([e.ns.e("status"),e.typeClass])},{default:On((function(){return[(na(),la(Fr(e.iconComponent)))]})),_:1},8,["class"])):ga("v-if",!0),pa("span",null,Ce(e.title),1)],2),e.showClose?(na(),ia("button",{key:0,type:"button",class:me(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:function(t){return e.handleAction(e.distinguishCancelAndClose?"close":"cancel")},onKeydown:il(ol((function(t){return e.handleAction(e.distinguishCancelAndClose?"close":"cancel")}),["prevent"]),["enter"])},[da(i,{class:me(e.ns.e("close"))},{default:On((function(){return[da(l)]})),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):ga("v-if",!0)],2)):ga("v-if",!0),pa("div",{id:e.contentId,class:me(e.ns.e("content"))},[pa("div",{class:me(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(na(),la(i,{key:0,class:me([e.ns.e("status"),e.typeClass])},{default:On((function(){return[(na(),la(Fr(e.iconComponent)))]})),_:1},8,["class"])):ga("v-if",!0),e.hasMessage?(na(),ia("div",{key:1,class:me(e.ns.e("message"))},[Dr(e.$slots,"default",{},(function(){return[e.dangerouslyUseHTMLString?(na(),la(Fr(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(na(),la(Fr(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:On((function(){return[ma(Ce(e.dangerouslyUseHTMLString?"":e.message),1)]})),_:1},8,["for"]))]}))],2)):ga("v-if",!0)],2),Tn(pa("div",{class:me(e.ns.e("input"))},[da(u,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":function(t){return e.inputValue=t},type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:me({invalid:e.validateError}),onKeydown:il(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),pa("div",{class:me(e.ns.e("errormsg")),style:fe({visibility:e.editorErrorMessage?"visible":"hidden"})},Ce(e.editorErrorMessage),7)],2),[[wi,e.showInput]])],10,["id"]),pa("div",{class:me(e.ns.e("btns"))},[e.showCancelButton?(na(),la(c,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:me([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:function(t){return e.handleAction("cancel")},onKeydown:il(ol((function(t){return e.handleAction("cancel")}),["prevent"]),["enter"])},{default:On((function(){return[ma(Ce(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]})),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):ga("v-if",!0),Tn(da(c,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:me([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:function(t){return e.handleAction("confirm")},onKeydown:il(ol((function(t){return e.handleAction("confirm")}),["prevent"]),["enter"])},{default:On((function(){return[ma(Ce(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]})),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[wi,e.showConfirmButton]])],2)],14,["onClick"])]})),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])]})),_:3},8,["z-index","overlay-class","mask"]),[[wi,e.visible]])]})),_:3},8,["onAfterLeave"])}],["__file","index.vue"]]),Kz=new Map,$z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=da(Wz,e,N(e.message)||ua(e.message)?{default:N(e.message)?e.message:function(){return e.message}}:null);return r.appContext=n,cl(r,t),function(e){var t=document.body;return e.appendTo&&(U(e.appendTo)&&(t=document.querySelector(e.appendTo)),m_(e.appendTo)&&(t=e.appendTo),m_(t)||(t=document.body)),t}(e).appendChild(t.firstElementChild),r.component},Jz=function(e,t){var n=document.createElement("div");e.onVanish=function(){cl(null,n),Kz.delete(o)},e.onAction=function(t){var n,a=Kz.get(o);n=e.showInput?{value:o.inputValue,action:t}:t,e.callback?e.callback(n,r.proxy):"cancel"===t||"close"===t?e.distinguishCancelAndClose&&"cancel"!==t?a.reject("close"):a.reject("cancel"):a.resolve(n)};var r=$z(e,n,t),o=r.proxy;for(var a in e)j(e,a)&&!j(o.$props,a)&&(o[a]=e[a]);return o.visible=!0,o};function Zz(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Vy?(U(e)||ua(e)?e={message:e}:t=e.callback,new Promise((function(r,o){var a=Jz(e,null!=n?n:Zz._context);Kz.set(a,{options:e,callback:t,resolve:r,reject:o})}))):Promise.reject()}var Xz={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};["alert","confirm","prompt"].forEach((function(e){Zz[e]=function(e){return function(t,n,r,o){var a="";return Q(n)?(r=n,a=""):a=d_(n)?"":n,Zz(Object.assign(i({title:a,message:t,type:""},Xz[e]),r,{boxType:e}),o)}}(e)})),Zz.close=function(){Kz.forEach((function(e,t){t.doClose()})),Kz.clear()},Zz._context=null;var eM=Zz;eM.install=function(e){eM._context=e._context,e.config.globalProperties.$msgbox=eM,e.config.globalProperties.$messageBox=eM,e.config.globalProperties.$alert=eM.alert,e.config.globalProperties.$confirm=eM.confirm,e.config.globalProperties.$prompt=eM.prompt};var tM=n("T",eM);var nM,rM,oM=n("aA",{all:nM=nM||new Map,on:function(e,t){var n=nM.get(e);n?n.push(t):nM.set(e,[t])},off:function(e,t){var n=nM.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):nM.set(e,[]))},emit:function(e,t){var n=nM.get(e);n&&n.slice().map((function(e){e(t)})),(n=nM.get("*"))&&n.slice().map((function(n){n(e,t)}))}}),aM=n("s",yy.create({baseURL:"/api",timeout:99999})),iM=0,lM=function(){--iM<=0&&(clearTimeout(rM),oM.emit("closeLoading"))};aM.interceptors.request.use((function(e){e.donNotShowLoading||(iM++,rM&&clearTimeout(rM),rM=setTimeout((function(){iM>0&&oM.emit("showLoading")}),400));var t=TM();return e.headers=i({"Content-Type":"application/json","x-token":t.token,"x-user-id":t.userInfo.ID},e.headers),e}),(function(e){return e.config.donNotShowLoading||lM(),Gz({showClose:!0,message:e,type:"error"}),e})),aM.interceptors.response.use((function(e){var t=TM();return e.config.donNotShowLoading||lM(),e.headers["new-token"]&&t.setToken(e.headers["new-token"]),0===e.data.code||"true"===e.headers.success?(e.headers.msg&&(e.data.msg=decodeURI(e.headers.msg)),e.data):(Gz({showClose:!0,message:e.data.msg||decodeURI(e.headers.msg),type:"error"}),e.data.data&&e.data.data.reload&&(t.token="",localStorage.clear(),Zg.push({name:"Login",replace:!0})),e.data.msg?e.data:e)}),(function(e){if(e.config.donNotShowLoading||lM(),e.response){switch(e.response.status){case 500:tM.confirm("\n

检测到接口错误".concat(e,'

\n

错误码 500 :此类错误内容常见于后台panic,请先查看后台日志,如果影响您正常使用可强制登出清理缓存

\n '),"接口报错",{dangerouslyUseHTMLString:!0,distinguishCancelAndClose:!0,confirmButtonText:"清理缓存",cancelButtonText:"取消"}).then((function(){TM().token="",localStorage.clear(),Zg.push({name:"Login",replace:!0})}));break;case 404:tM.confirm("\n

检测到接口错误".concat(e,'

\n

错误码 404 :此类错误多为接口未注册(或未重启)或者请求路径(方法)与api路径(方法)不符--如果为自动化代码请检查是否存在空格

\n '),"接口报错",{dangerouslyUseHTMLString:!0,distinguishCancelAndClose:!0,confirmButtonText:"我知道了",cancelButtonText:"取消"})}return e}tM.confirm("\n

检测到请求错误

\n

".concat(e,"

\n "),"请求报错",{dangerouslyUseHTMLString:!0,distinguishCancelAndClose:!0,confirmButtonText:"稍后重试",cancelButtonText:"取消"})}));n("p",(function(e){return aM({url:"/base/captcha",method:"post",data:e})})),n("df",(function(e){return aM({url:"/user/admin_register",method:"post",data:e})})),n("aT",(function(e){return aM({url:"/user/changePassword",method:"post",data:e})})),n("dc",(function(e){return aM({url:"/user/getUserList",method:"post",data:e})})),n("aC",(function(e){return aM({url:"/user/setUserAuthority",method:"post",data:e})})),n("de",(function(e){return aM({url:"/user/deleteUser",method:"delete",data:e})})),n("dg",(function(e){return aM({url:"/user/setUserInfo",method:"put",data:e})}));var uM,cM,sM=n("aS",(function(e){return aM({url:"/user/setSelfInfo",method:"put",data:e})})),fM=(n("dh",(function(e){return aM({url:"/user/setUserAuthorities",method:"post",data:e})})),n("dd",(function(e){return aM({url:"/user/resetPassword",method:"post",data:e})})),function(e){return uM=e}),pM=Symbol();function dM(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}!function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"}(cM||(cM={}));var vM=function(){};function hM(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:vM;e.push(t);var o=function(){var n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};return!n&&Se()&&Ee(o),o}function mM(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0,c=arguments.length>5?arguments[5]:void 0,s=AM({actions:{}},l),f={deep:!0},p=[],d=[],v=u.state.value[e];function h(t){var n;r=o=!1,"function"==typeof t?(t(u.state.value[e]),n={type:cM.patchFunction,storeId:e,events:a}):(yM(u.state.value[e],t),n={type:cM.patchObject,payload:t,storeId:e,events:a});var l=i=Symbol();Cn().then((function(){i===l&&(r=!0)})),o=!0,mM(p,n,u.state.value[e])}c||v||(u.state.value[e]={}),Kt({});var m=c?function(){var e=l.state,t=e?e():{};this.$patch((function(e){AM(e,t)}))}:vM;var g=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(bM in t)return t[wM]=n,t;var r=function(){fM(u);var n,o=Array.from(arguments),a=[],i=[];mM(d,{args:o,name:r[wM],store:w,after:function(e){a.push(e)},onError:function(e){i.push(e)}});try{n=t.apply(this&&this.$id===e?this:w,o)}catch(l){throw mM(i,l),l}return n instanceof Promise?n.then((function(e){return mM(a,e),e})).catch((function(e){return mM(i,e),Promise.reject(e)})):(mM(a,n),n)};return r[bM]=!0,r[wM]=n,r},b={_p:u,$id:e,$onAction:hM.bind(null,d),$patch:h,$reset:m,$subscribe:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=hM(p,t,i.detached,(function(){return c()})),c=n.run((function(){return jo((function(){return u.state.value[e]}),(function(n){("sync"===i.flush?o:r)&&t({storeId:e,type:cM.direct,events:a},n)}),AM({},f,i))}));return l},$dispose:function(){n.stop(),p=[],d=[],u._s.delete(e)}},w=Ft(b);u._s.set(e,w);var y,x,A=(u._a&&u._a.runWithContext||gM)((function(){return u._e.run((function(){return(n=Be()).run((function(){return t({action:g})}))}))}));for(var _ in A){var C=A[_];if(Wt(C)&&(!Wt(x=C)||!x.effect)||Pt(C))c||(!v||dM(y=C)&&y.hasOwnProperty(xM)||(Wt(C)?C.value=v[_]:yM(C,v[_])),u.state.value[e][_]=C);else if("function"==typeof C){var k=g(C,_);A[_]=k,s.actions[_]=C}}return AM(w,A),AM(qt(w),A),Object.defineProperty(w,"$state",{get:function(){return u.state.value[e]},set:function(e){h((function(t){AM(t,e)}))}}),u._p.forEach((function(e){AM(w,n.run((function(){return e({store:w,app:u._a,pinia:u,options:s})})))})),v&&c&&l.hydrate&&l.hydrate(w.$state,v),r=!0,o=!0,w}function CM(e,t,n){var r,o,a="function"==typeof t;function i(e,n){return(e=e||(!!(Ma||Hn||so)?po(pM,null):null))&&fM(e),(e=uM)._s.has(r)||(a?_M(r,t,o,e):function(e,t,n,r){var o,a=t.state,i=t.actions,l=t.getters,u=n.state.value[e];o=_M(e,(function(){u||(n.state.value[e]=a?a():{});var t=nn(n.state.value[e]);return AM(t,i,Object.keys(l||{}).reduce((function(t,r){return t[r]=Qt(Na((function(){fM(n);var t=n._s.get(e);return l[r].call(t,t)}))),t}),{}))}),t,n,r,!0)}(r,o,e)),e._s.get(r)}return"string"==typeof e?(r=e,o=a?n:t):(o=e,r=e.id),i.$id=r,i}var kM=Object.assign({"../view/about/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy5.js")}),0,a.meta.url)},"../view/chatgpt/chatTable.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0chatTable-legacy.js")}),0,a.meta.url)},"../view/dashboard/dashboardCharts/echartsLine.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0echartsLine-legacy.js")}),0,a.meta.url)},"../view/dashboard/dashboardTable/dashboardTable.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0dashboardTable-legacy.js")}),0,a.meta.url)},"../view/dashboard/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy6.js")}),0,a.meta.url)},"../view/datasearch/datasearch.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0datasearch-legacy.js")}),0,a.meta.url)},"../view/dataupload/dataupload.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0dataupload-legacy.js")}),0,a.meta.url)},"../view/error/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy4.js")}),0,a.meta.url)},"../view/error/reload.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0reload-legacy.js")}),0,a.meta.url)},"../view/example/breakpoint/breakpoint.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0breakpoint-legacy.js")}),0,a.meta.url)},"../view/example/customer/customer.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0customer-legacy.js")}),0,a.meta.url)},"../view/example/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy7.js")}),0,a.meta.url)},"../view/example/upload/upload.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0upload-legacy.js")}),0,a.meta.url)},"../view/img2img/img2img.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0img2img-legacy.js")}),0,a.meta.url)},"../view/img2img/img2imgForm.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0img2imgForm-legacy.js")}),0,a.meta.url)},"../view/init/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy2.js")}),0,a.meta.url)},"../view/knowledgegraph/graph.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0graph-legacy.js")}),0,a.meta.url)},"../view/layout/aside/asideComponent/asyncSubmenu.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0asyncSubmenu-legacy.js")}),0,a.meta.url)},"../view/layout/aside/asideComponent/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy8.js")}),0,a.meta.url)},"../view/layout/aside/asideComponent/menuItem.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0menuItem-legacy.js")}),0,a.meta.url)},"../view/layout/aside/historyComponent/history.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0history-legacy.js")}),0,a.meta.url)},"../view/layout/aside/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy9.js")}),0,a.meta.url)},"../view/layout/bottomInfo/bottomInfo.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0bottomInfo-legacy.js")}),0,a.meta.url)},"../view/layout/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy10.js")}),0,a.meta.url)},"../view/layout/screenfull/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy11.js")}),0,a.meta.url)},"../view/layout/search/search.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0search-legacy.js")}),0,a.meta.url)},"../view/layout/setting/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy12.js")}),0,a.meta.url)},"../view/login/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy3.js")}),0,a.meta.url)},"../view/person/person.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0person-legacy.js")}),0,a.meta.url)},"../view/routerHolder.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0routerHolder-legacy.js")}),0,a.meta.url)},"../view/superAdmin/api/api.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0api-legacy.js")}),0,a.meta.url)},"../view/superAdmin/authority/authority.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0authority-legacy.js")}),0,a.meta.url)},"../view/superAdmin/authority/components/apis.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0apis-legacy.js")}),0,a.meta.url)},"../view/superAdmin/authority/components/datas.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0datas-legacy.js")}),0,a.meta.url)},"../view/superAdmin/authority/components/menus.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0menus-legacy.js")}),0,a.meta.url)},"../view/superAdmin/dictionary/sysDictionary.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0sysDictionary-legacy.js")}),0,a.meta.url)},"../view/superAdmin/dictionary/sysDictionaryDetail.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0sysDictionaryDetail-legacy.js")}),0,a.meta.url)},"../view/superAdmin/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy13.js")}),0,a.meta.url)},"../view/superAdmin/menu/icon.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0icon-legacy.js")}),0,a.meta.url)},"../view/superAdmin/menu/menu.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0menu-legacy.js")}),0,a.meta.url)},"../view/superAdmin/operation/sysOperationRecord.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0sysOperationRecord-legacy.js")}),0,a.meta.url)},"../view/superAdmin/user/user.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0user-legacy.js")}),0,a.meta.url)},"../view/system/state.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0state-legacy.js")}),0,a.meta.url)},"../view/systemTools/autoCode/component/fieldDialog.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0fieldDialog-legacy.js")}),0,a.meta.url)},"../view/systemTools/autoCode/component/previewCodeDialg.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0previewCodeDialg-legacy.js")}),0,a.meta.url)},"../view/systemTools/autoCode/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy14.js")}),0,a.meta.url)},"../view/systemTools/autoCodeAdmin/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy15.js")}),0,a.meta.url)},"../view/systemTools/autoPkg/autoPkg.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0autoPkg-legacy.js")}),0,a.meta.url)},"../view/systemTools/autoPlug/autoPlug.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0autoPlug-legacy.js")}),0,a.meta.url)},"../view/systemTools/formCreate/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy16.js")}),0,a.meta.url)},"../view/systemTools/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy17.js")}),0,a.meta.url)},"../view/systemTools/installPlugin/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy18.js")}),0,a.meta.url)},"../view/systemTools/pubPlug/pubPlug.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0pubPlug-legacy.js")}),0,a.meta.url)},"../view/systemTools/system/system.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0system-legacy.js")}),0,a.meta.url)},"../view/userBlock/userBlock.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0userBlock-legacy.js")}),0,a.meta.url)},"../view/userBlock/userBlockForm.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0userBlockForm-legacy.js")}),0,a.meta.url)},"../view/userChain/userChain.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0userChain-legacy.js")}),0,a.meta.url)},"../view/userChain/userChainForm.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0userChainForm-legacy.js")}),0,a.meta.url)}}),zM=Object.assign({"../plugin/email/view/index.vue":function(){return wm((function(){return a.import("./087AC4D233B64EB0index-legacy19.js")}),0,a.meta.url)}}),MM=function(e){e.forEach((function(e){e.component&&"string"==typeof e.component&&("view"===e.component.split("/")[0]?e.component=BM(kM,e.component):"plugin"===e.component.split("/")[0]&&(e.component=BM(zM,e.component))),e.children&&MM(e.children)}))};function BM(e,t){return e[Object.keys(e).filter((function(e){return e.replace("../","")===t}))[0]]}n("d7",(function(e){return aM({url:"/menu/getMenuList",method:"post",data:e})})),n("da",(function(e){return aM({url:"/menu/addBaseMenu",method:"post",data:e})})),n("d0",(function(){return aM({url:"/menu/getBaseMenuTree",method:"post"})})),n("d2",(function(e){return aM({url:"/menu/addMenuAuthority",method:"post",data:e})})),n("d1",(function(e){return aM({url:"/menu/getMenuAuthority",method:"post",data:e})})),n("d8",(function(e){return aM({url:"/menu/deleteBaseMenu",method:"post",data:e})})),n("d9",(function(e){return aM({url:"/menu/updateBaseMenu",method:"post",data:e})})),n("db",(function(e){return aM({url:"/menu/getBaseMenuById",method:"post",data:e})}));var SM=[],EM=[],HM={},LM=function(e,t,n){e&&e.forEach((function(e){e.parent=n,e.meta.btns=e.btns,e.meta.hidden=e.hidden,!0===e.meta.defaultMenu&&(n||(e=i(i({},e),{},{path:"/".concat(e.path)}),SM.push(e))),t[e.name]=e,e.children&&e.children.length>0&&LM(e.children,t,e)}))},VM=function(e){e&&e.forEach((function(e){(e.children&&e.children.some((function(e){return e.meta.keepAlive}))||e.meta.keepAlive)&&e.component&&e.component().then((function(t){EM.push(t.default.name),HM[e.name]=t.default.name})),e.children&&e.children.length>0&&VM(e.children)}))},OM=n("a0",CM("router",(function(){var e=Kt([]),t=Kt(0);oM.on("setKeepAlive",(function(t){var n=[];t.forEach((function(e){HM[e.name]&&n.push(HM[e.name])})),e.value=Array.from(new Set(n))}));var n=Kt([]),a={},i=function(){var e=r(o().mark((function e(){var r,i,l;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.value++,r=[{path:"/layout",name:"layout",component:"view/layout/index.vue",meta:{title:"底层layout"},children:[]}],e.next=4,aM({url:"/menu/getMenu",method:"post"});case 4:return i=e.sent,(l=i.data.menus)&&l.push({path:"reload",name:"Reload",hidden:!0,meta:{title:"",closeTab:!0},component:"view/error/reload.vue"}),LM(l,a),r[0].children=l,0!==SM.length&&r.push.apply(r,SM),MM(r),VM(l),n.value=r,e.abrupt("return",!0);case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return{asyncRouters:n,keepAliveRouters:e,asyncRouterFlag:t,SetAsyncRouter:i,routeMap:a}}))),TM=n("l",CM("user",(function(){var e=Kt(null),t=Kt({uuid:"",nickName:"",headerImg:"",authority:{},sideMode:"dark",activeColor:"var(--el-color-primary)",baseColor:"#fff",money:0});Kt(0);var n=Kt(window.localStorage.getItem("token")||""),a=function(e){t.value=e},l=function(e){n.value=e},u=function(){var e=r(o().mark((function e(){var t,n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,aM({url:"/user/getUserInfo",method:"get"});case 2:if(0!==(t=e.sent).code){e.next=12;break}return console.log(t),e.next=7,r=t.data.userInfo.nickName,console.log(r),aM({url:"/chainuse/findUserchain?name="+r,method:"get"});case 7:n=e.sent,t.data.userInfo.money=n.data.rechainuse.money,t.data.userInfo.organization=n.data.rechainuse.organization,t.data.userInfo.biaoshi=n.data.rechainuse.biaoshi,a(t.data.userInfo);case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}var r}),e)})));return function(){return e.apply(this,arguments)}}(),c=function(){var n=r(o().mark((function n(r){var i,u;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.value=Hz.service({fullscreen:!0,text:"登录中,请稍候..."}),n.prev=1,n.next=4,aM({url:"/base/login",method:"post",data:r});case 4:if(0!==(i=n.sent).code){n.next=23;break}return a(i.data.user),l(i.data.token),u=OM(),n.next=11,u.SetAsyncRouter();case 11:if(u.asyncRouters.forEach((function(e){Zg.addRoute(e)})),Zg.hasRoute(t.value.authority.defaultRouter)){n.next=17;break}Gz.error("请联系管理员进行授权"),n.next=19;break;case 17:return n.next=19,Zg.replace({name:t.value.authority.defaultRouter});case 19:return e.value.close(),Kt(/windows/i.test(navigator.userAgent)).value?window.localStorage.setItem("osType","WIN"):window.localStorage.setItem("osType","MAC"),n.abrupt("return",!0);case 23:n.next=28;break;case 25:n.prev=25,n.t0=n.catch(1),e.value.close();case 28:e.value.close();case 29:case"end":return n.stop()}}),n,null,[[1,25]])})));return function(e){return n.apply(this,arguments)}}(),s=function(){var e=r(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,aM({url:"/jwt/jsonInBlacklist",method:"post"});case 2:0===e.sent.code&&(n.value="",sessionStorage.clear(),localStorage.clear(),Zg.push({name:"Login",replace:!0}),window.location.reload());case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),f=function(){var e=r(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.value="",sessionStorage.clear(),localStorage.clear();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=r(o().mark((function e(n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,sM({sideMode:n});case 2:0===e.sent.code&&(t.value.sideMode=n,Gz({type:"success",message:"设置成功"}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=Na((function(){return t.value.sideMode})),v=Na((function(){return"dark"===t.value.sideMode?"#191a23":"light"===t.value.sideMode?"#fff":t.value.sideMode})),h=Na((function(){return"dark"===t.value.sideMode?"#fff":"light"===t.value.sideMode?"#191a23":t.value.baseColor})),m=Na((function(){return"var(--el-color-primary)"}));return jo((function(){return n.value}),(function(){window.localStorage.setItem("token",n.value)})),{userInfo:t,token:n,NeedInit:function(){n.value="",window.localStorage.removeItem("token"),localStorage.clear(),Zg.push({name:"Init",replace:!0})},ResetUserInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.value=i(i({},t.value),e)},GetUserInfo:u,LoginIn:c,LoginOut:s,changeSideMode:p,mode:d,sideMode:v,setToken:l,baseColor:h,activeColor:m,loadingInstance:e,ClearStorage:f}}))),FM=n("aB",(function(e,t){var n=/\$\{(.+?)\}/,r=e.match(/\$\{(.+?)\}/g);return r&&r.forEach((function(r){var o=r.match(n)[1],a=t.params[o]||t.query[o];e=e.replace(r,a)})),e}));function jM(e,t){if(e){var n=FM(e,t);return"".concat(n," - ").concat(fl.appName)}return"".concat(fl.appName)}var RM={exports:{}}; +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */!function(e){e.exports=function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function n(e,t,n){return en?n:e}function r(e){return 100*(-1+e)}function o(e,n,o){var a;return(a="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+n+"ms "+o,a}e.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var l=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var u=e.render(!l),c=u.querySelector(t.barSelector),s=t.speed,f=t.easing;return u.offsetWidth,a((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),i(c,o(r,s,f)),1===r?(i(u,{transition:"none",opacity:1}),u.offsetWidth,setTimeout((function(){i(u,{transition:"all "+s+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),s)}),s)):setTimeout(n,s)})),this},e.isStarted=function(){return"number"==typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!=typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){0==--n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=t.template;var a,l=o.querySelector(t.barSelector),c=n?"-100":r(e.status||0),s=document.querySelector(t.parent);return i(l,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),t.showSpinner||(a=o.querySelector(t.spinnerSelector))&&f(a),s!=document.body&&u(s,"nprogress-custom-parent"),s.appendChild(o),o},e.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var a=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),i=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function l(e,t){return("string"==typeof e?e:s(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=s(e),r=n+t;l(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=s(e);l(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function s(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e}()}(RM);var DM=vz(RM.exports),PM=["Login","Init"],IM=function(){var e=r(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=OM(),e.next=3,n.SetAsyncRouter();case 3:return e.next=5,t.GetUserInfo();case 5:n.asyncRouters.forEach((function(e){Zg.addRoute(e)}));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function NM(e){return UM.apply(this,arguments)}function UM(){return(UM=r(o().mark((function e(t){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.matched.some((function(e){return e.meta.keepAlive}))){e.next=17;break}if(!(t.matched&&t.matched.length>2)){e.next=17;break}n=1;case 3:if(!(n-1)){e.next=27;break}if(!l){e.next=24;break}if(r.asyncRouterFlag||!(PM.indexOf(n.name)<0)){e.next=12;break}return e.next=12,IM(a);case 12:if(null==(null===(u=a.userInfo)||void 0===u||null===(u=u.authority)||void 0===u?void 0:u.defaultRouter)){e.next=20;break}if(!Zg.hasRoute(a.userInfo.authority.defaultRouter)){e.next=17;break}return e.abrupt("return",{name:a.userInfo.authority.defaultRouter});case 17:case 36:case 46:return e.abrupt("return",{path:"/layout/404"});case 18:e.next=22;break;case 20:return a.ClearStorage(),e.abrupt("return",{name:"Login",query:{redirect:document.location.hash}});case 22:e.next=25;break;case 24:return e.abrupt("return",!0);case 25:e.next=49;break;case 27:if(!l){e.next=47;break}if(r.asyncRouterFlag||!(PM.indexOf(n.name)<0)){e.next=42;break}return e.next=31,IM(a);case 31:if(!a.token){e.next=39;break}if(!Zg.hasRoute(a.userInfo.authority.defaultRouter)){e.next=36;break}return e.abrupt("return",i(i({},t),{},{replace:!0}));case 37:e.next=40;break;case 39:return e.abrupt("return",{name:"Login",query:{redirect:t.href}});case 40:e.next=47;break;case 42:if(!t.matched.length){e.next=46;break}return e.abrupt("return",!0);case 47:if(l){e.next=49;break}return e.abrupt("return",{name:"Login",query:{redirect:document.location.hash}});case 49:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),Zg.afterEach((function(){var e;null===(e=document.getElementsByClassName("main-cont main-right")[0])||void 0===e||e.scrollTo(0,0),DM.done()})),Zg.onError((function(){DM.remove()}));var qM,QM,GM,YM,WM,KM={install:function(e){var t=TM();e.directive("auth",{mounted:function(e,n){var r=t.userInfo,o="";switch(Object.prototype.toString.call(n.value)){case"[object Array]":o="Array";break;case"[object String]":o="String";break;case"[object Number]":o="Number";break;default:o=""}if(""!==o){var a=n.value.toString().split(",").some((function(e){return Number(e)===r.authorityId}));n.modifiers.not&&(a=!a),a||e.parentNode.removeChild(e)}else e.parentNode.removeChild(e)}})}},$M=(qM=Be(!0),QM=qM.run((function(){return Kt({})})),YM=[],WM=Qt({install:function(e){fM(WM),WM._a=e,e.provide(pM,WM),e.config.globalProperties.$pinia=WM,YM.forEach((function(e){return GM.push(e)})),YM=[]},use:function(e){return this._a?GM.push(e):YM.push(e),this},_p:GM=[],_a:null,_e:qM,_s:new Map,state:QM}),WM),JM={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}},ZM={id:"app"},XM=Object.assign({name:"App"},{__name:"App",setup:function(e){return function(e,t){var n=Or("router-view"),r=UC;return na(),ia("div",ZM,[da(r,{locale:Xt(JM)},{default:On((function(){return[da(n)]})),_:1},8,["locale"])])}}});DM.configure({showSpinner:!1,ease:"ease",speed:500}),DM.start();var eB=sl(XM);eB.config.productionTip=!1,eB.config.globalProperties.$count={name:"count",value:0},eB.use(bm).use($M).use(KM).use(Zg).mount("#app")}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy10.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy10.js new file mode 100644 index 000000000..45de94377 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy10.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,o=n.hasOwnProperty,l=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",d=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(t){c=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new D(n||[]);return l(i,"_invoke",{value:B(e,r,a)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=s;var f="suspendedStart",v="suspendedYield",b="executing",m="completed",h={};function g(){}function y(){}function w(){}var x={};c(x,a,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(O([])));E&&E!==n&&o.call(E,a)&&(x=E);var k=w.prototype=g.prototype=Object.create(x);function I(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function r(n,l,i,a){var u=p(e[n],e,l);if("throw"!==u.type){var d=u.arg,c=d.value;return c&&"object"==typeof c&&o.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,i,a)}),(function(e){r("throw",e,i,a)})):t.resolve(c).then((function(e){d.value=e,i(d)}),(function(e){return r("throw",e,i,a)}))}a(u.arg)}var n;l(this,"_invoke",{value:function(e,o){function l(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(l,l):l()}})}function B(e,r,n){var o=f;return function(l,i){if(o===b)throw Error("Generator is already running");if(o===m){if("throw"===l)throw i;return{value:t,done:!0}}for(n.method=l,n.arg=i;;){var a=n.delegate;if(a){var u=j(a,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=b;var d=p(e,r,n);if("normal"===d.type){if(o=n.done?m:v,d.arg===h)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(o=m,n.method="throw",n.arg=d.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var l=p(o,e.iterator,r.arg);if("throw"===l.type)return r.method="throw",r.arg=l.arg,r.delegate=null,h;var i=l.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function O(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,l=function r(){for(;++n=0;--l){var i=this.tryEntries[l],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),d=o.call(i,"finallyLoc");if(u&&d){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:O(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},r}function t(e,t,r,n,o,l,i){try{var a=e[l](i),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,l){var i=e.apply(r,n);function a(e){t(i,o,l,a,u,"next",e)}function u(e){t(i,o,l,a,u,"throw",e)}a(void 0)}))}}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l,i,a=[],u=!0,d=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){d=!0,o=e}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(d)throw o}}return a}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:hover,.el-button-group>.el-button:focus,.el-button-group>.el-button:active{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-dropdown{--el-dropdown-menu-box-shadow: var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill: var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color: var(--el-color-primary);--el-dropdown-menu-index: 10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow: var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill: var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color: var(--el-color-primary);--el-dropdown-menu-index: 10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:-1px;bottom:-1px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:none}.el-dropdown-menu__item:not(.is-disabled):hover,.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:before,.el-breadcrumb:after{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:var(--el-text-color-placeholder)}.el-breadcrumb__separator.el-icon{margin:0 6px;font-weight:400}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{float:left;display:inline-flex;align-items:center}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner.is-link,.el-breadcrumb__inner a{font-weight:700;text-decoration:none;transition:var(--el-transition-color);color:var(--el-text-color-primary)}.el-breadcrumb__inner.is-link:hover,.el-breadcrumb__inner a:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover{font-weight:400;color:var(--el-text-color-regular);cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.overlay{border-radius:4px}.overlay .el-dialog__header{padding:0!important;margin-right:0!important}.overlay .el-dialog__body{padding:12px!important;height:50vh;overflow:auto!important}.overlay .quick-title{margin-top:8px;font-size:12px;font-weight:600;color:#666}.overlay .quick-input{color:#666;border-radius:4px 4px 0 0;border:none;padding:12px 16px;box-sizing:border-box;width:100%;font-size:16px;border-bottom:1px solid #ddd}.overlay .quick-item{font-size:14px;padding:8px;margin:4px 0}.overlay .quick-item:hover{cursor:pointer;background:#eee;border-radius:4px}.button{font-size:12px;color:#666;background:rgb(250,250,250);width:25px!important;padding:4px 8px!important;border:1px solid #eaeaea;margin-right:4px;border-radius:4px}:deep .el-overlay{background-color:rgba(255,255,255,.9)!important}\n',document.head.appendChild(i);var Ye=Symbol("breadcrumbKey"),We=a({separator:{type:String,default:"/"},separatorIcon:{type:c}}),Je=s({name:"ElBreadcrumb"}),Qe=s(u(u({},Je),{},{props:We,setup:function(e){var t=e,r=p().t,n=f("breadcrumb"),o=v();return b(Ye,t),m((function(){var e=o.value.querySelectorAll(".".concat(n.e("item")));e.length&&e[e.length-1].setAttribute("aria-current","page")})),function(e,t){return h(),g("div",{ref_key:"breadcrumb",ref:o,class:w(x(n).b()),"aria-label":x(r)("el.breadcrumb.label"),role:"navigation"},[y(e.$slots,"default")],10,["aria-label"])}}})),Xe=_(Qe,[["__file","breadcrumb.vue"]]),Ze=a({to:{type:E([String,Object]),default:""},replace:Boolean}),et=s({name:"ElBreadcrumbItem"}),tt=s(u(u({},et),{},{props:Ze,setup:function(e){var t=e,r=D(),n=k(Ye,void 0),o=f("breadcrumb"),l=r.appContext.config.globalProperties.$router,i=v(),a=function(){t.to&&l&&(t.replace?l.replace(t.to):l.push(t.to))};return function(e,t){var r,l;return h(),g("span",{class:w(x(o).e("item"))},[I("span",{ref_key:"link",ref:i,class:w([x(o).e("inner"),x(o).is("link",!!e.to)]),role:"link",onClick:a},[y(e.$slots,"default")],2),(null==(r=x(n))?void 0:r.separatorIcon)?(h(),C(x(A),{key:0,class:w(x(o).e("separator"))},{default:B((function(){return[(h(),C(j(x(n).separatorIcon)))]})),_:1},8,["class"])):(h(),g("span",{key:1,class:w(x(o).e("separator")),role:"presentation"},S(null==(l=x(n))?void 0:l.separator),3))],2)}}})),rt=_(tt,[["__file","breadcrumb-item.vue"]]),nt=O(Xe,{BreadcrumbItem:rt}),ot=F(rt),lt=s({name:"ElContainer"}),it=s(u(u({},lt),{},{props:{direction:{type:String}},setup:function(e){var t=e,r=L(),n=f("container"),o=T((function(){return"vertical"===t.direction||"horizontal"!==t.direction&&(!(!r||!r.default)&&r.default().some((function(e){var t=e.type.name;return"ElHeader"===t||"ElFooter"===t})))}));return function(e,t){return h(),g("section",{class:w([x(n).b(),x(n).is("vertical",x(o))])},[y(e.$slots,"default")],2)}}})),at=_(it,[["__file","container.vue"]]),ut=s({name:"ElAside"}),dt=s(u(u({},ut),{},{props:{width:{type:String,default:null}},setup:function(e){var t=e,r=f("aside"),n=T((function(){return t.width?r.cssVarBlock({width:t.width}):{}}));return function(e,t){return h(),g("aside",{class:w(x(r).b()),style:P(x(n))},[y(e.$slots,"default")],6)}}})),ct=_(dt,[["__file","aside.vue"]]),st=s({name:"ElFooter"}),pt=s(u(u({},st),{},{props:{height:{type:String,default:null}},setup:function(e){var t=e,r=f("footer"),n=T((function(){return t.height?r.cssVarBlock({height:t.height}):{}}));return function(e,t){return h(),g("footer",{class:w(x(r).b()),style:P(x(n))},[y(e.$slots,"default")],6)}}})),ft=_(pt,[["__file","footer.vue"]]),vt=s({name:"ElHeader"}),bt=s(u(u({},vt),{},{props:{height:{type:String,default:null}},setup:function(e){var t=e,r=f("header"),n=T((function(){return t.height?r.cssVarBlock({height:t.height}):{}}));return function(e,t){return h(),g("header",{class:w(x(r).b()),style:P(x(n))},[y(e.$slots,"default")],6)}}})),mt=_(bt,[["__file","header.vue"]]),ht=s({name:"ElMain"}),gt=s(u(u({},ht),{},{setup:function(e){var t=f("main");return function(e,r){return h(),g("main",{class:w(x(t).b())},[y(e.$slots,"default")],2)}}})),yt=_(gt,[["__file","main.vue"]]),wt=O(at,{Aside:ct,Footer:ft,Header:mt,Main:yt}),xt=F(ct);F(ft);var _t=F(mt),Et=F(yt),kt=a({style:{type:E([String,Array,Object])},currentTabId:{type:E(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:E(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),It=Pe("RovingFocusGroup"),Ct=It.ElCollection,Bt=It.ElCollectionItem,jt=It.COLLECTION_INJECTION_KEY,At=It.COLLECTION_ITEM_INJECTION_KEY,St=Symbol("elRovingFocusGroup"),Dt=Symbol("elRovingFocusGroupItem"),Ot={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Ft=function(e,t,r){var n=function(e,t){if("rtl"!==t)return e;switch(e){case z.right:return z.left;case z.left:return z.right;default:return e}}(e.key,r);if(!("vertical"===t&&[z.left,z.right].includes(n)||"horizontal"===t&&[z.up,z.down].includes(n)))return Ot[n]},Lt=function(e){var t,r=document.activeElement,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(e);try{for(n.s();!(t=n.n()).done;){var o=t.value;if(o===r)return;if(o.focus(),r!==document.activeElement)return}}catch(i){n.e(i)}finally{n.f()}},Tt="currentTabIdChange",Pt="rovingFocusGroup.entryFocus",zt={bubbles:!1,cancelable:!0},Rt=s({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:kt,emits:[Tt,"entryFocus"],setup:function(e,t){var r,n=t.emit,l=v(null!=(r=e.currentTabId||e.defaultCurrentTabId)?r:null),i=v(!1),a=v(!1),u=v(null),d=k(jt,void 0).getItems,c=T((function(){return[{outline:"none"},e.style]})),s=Oe((function(t){var r;null==(r=e.onMousedown)||r.call(e,t)}),(function(){a.value=!0})),p=Oe((function(t){var r;null==(r=e.onFocus)||r.call(e,t)}),(function(e){var t=!x(a),r=e.target,n=e.currentTarget;if(r===n&&t&&!x(i)){var u=new Event(Pt,zt);if(null==n||n.dispatchEvent(u),!u.defaultPrevented){var c=d().filter((function(e){return e.focusable})),s=[c.find((function(e){return e.active})),c.find((function(e){return e.id===x(l)}))].concat(o(c)).filter(Boolean).map((function(e){return e.ref}));Lt(s)}}a.value=!1})),f=Oe((function(t){var r;null==(r=e.onBlur)||r.call(e,t)}),(function(){i.value=!1}));b(St,{currentTabbedId:R(l),loop:M(e,"loop"),tabIndex:T((function(){return x(i)?-1:0})),rovingFocusGroupRef:u,rovingFocusGroupRootStyle:c,orientation:M(e,"orientation"),dir:M(e,"dir"),onItemFocus:function(e){n(Tt,e)},onItemShiftTab:function(){i.value=!0},onBlur:f,onFocus:p,onMousedown:s}),$((function(){return e.currentTabId}),(function(e){l.value=null!=e?e:null})),G(u,Pt,(function(){for(var e=arguments.length,t=new Array(e),r=0;r0?t.push.apply(t,o(s(e.children))):e.meta.title&&e.meta.title.indexOf(d.value)>-1&&t.push({label:e.meta.title,func:function(){return b(e)}})})),t},p=function(){var e,t={label:"跳转",children:[]},r=s(a.asyncRouters[0].children);(e=t.children).push.apply(e,o(r)),c.push(t)},f=function(){var e,t={label:"操作",children:[]},r=[{label:"亮色主题",func:function(){return m("light")}},{label:"暗色主题",func:function(){return m("dark")}},{label:"退出登录",func:function(){return i.LoginOut()}}];(e=t.children).push.apply(e,o(r.filter((function(e){return e.label.indexOf(d.value)>-1})))),c.push(t)};p(),f();var b=function(e){var t,r,o=e.name,i={},d={};(null===(t=a.routeMap[o])||void 0===t?void 0:t.parameters)&&(null===(r=a.routeMap[o])||void 0===r||r.parameters.forEach((function(e){"query"===e.type?i[e.key]=e.value:d[e.key]=e.value}))),o!==l.name&&(e.name.indexOf("http://")>-1||e.name.indexOf("https://")>-1?window.open(e.name):n.push({name:o,query:i,params:d}),u.value=!1)},m=function(e){null!==e?i.changeSideMode(e):i.changeSideMode("dark")},y=function(){u.value=!1};return r({open:function(){u.value=!0}}),$(d,(function(){c.length=0,p(),f()})),function(e,t){var r=Y,n=Se;return h(),C(n,{modelValue:u.value,"onUpdate:modelValue":t[1]||(t[1]=function(e){return u.value=e}),width:"30%",class:"overlay","show-close":!1},{header:B((function(){return[de(I("input",{"onUpdate:modelValue":t[0]||(t[0]=function(e){return d.value=e}),class:"quick-input",placeholder:"请输入你需要快捷到达的功能"},null,512),[[ce,d.value]])]})),footer:B((function(){return[I("span",or,[N(r,{onClick:y},{default:B((function(){return t[2]||(t[2]=[se("关闭")])})),_:1})])]})),default:B((function(){return[(h(!0),g(ne,null,pe(c,(function(e,t){return h(),g("div",{key:t},[e.children.length?(h(),g("div",rr,S(e.label),1)):te("",!0),(h(!0),g(ne,null,pe(e.children,(function(e,r){return h(),g("div",{key:t+"-"+r,class:"quick-item",onClick:e.func},S(e.label),9,nr)})),128))])})),128))]})),_:1},8,["modelValue"])}}}),ir=["src"],ar={key:0,class:"gvaIcon gvaIcon-arrow-double-right"},ur={key:1,class:"gvaIcon gvaIcon-arrow-double-left"},dr={class:"mr-1.5 flex items-center"},cr={class:"flex justify-center items-center h-full w-full"},sr={class:"cursor-pointer flex justify-center items-center"},pr={class:"font-bold"},fr={style:{"margin-left":"8px"}},vr={class:"button"},br={"element-loading-text":"正在加载中"};t("default",Object.assign({name:"Layout"},{__name:"index",setup:function(t){var n=le(),o=fe(),l=ae(),i=v(!1),a=v(!0),u=v(!1),d=v("");v(!1);var c=function(){"WIN"===window.localStorage.getItem("osType")?d.value="Ctrl":d.value="⌘";window.addEventListener("keydown",(function(e){e.ctrlKey&&"k"===e.key&&(e.preventDefault(),p())}));var e=document.body.clientWidth;e<1e3?(u.value=!0,a.value=!1,i.value=!0):e>=1e3&&e<1200?(u.value=!1,a.value=!1,i.value=!0):(u.value=!1,a.value=!0,i.value=!1)};c();var s=v(),p=function(){s.value.open()},f=v(!1);m((function(){ve.emit("collapse",i.value),ve.emit("mobile",u.value),ve.on("reload",F),ve.on("showLoading",(function(){f.value=!0})),ve.on("closeLoading",(function(){f.value=!1})),window.onresize=function(){return c(),ve.emit("collapse",i.value),void ve.emit("mobile",u.value)},b.loadingInstance&&b.loadingInstance.close()}));var b=ie(),y=T((function(){return"dark"===b.sideMode?"#fff":"light"===b.sideMode?"#191a23":b.baseColor})),_=T((function(){return"dark"===b.sideMode?"#191a23":"light"===b.sideMode?"#fff":b.sideMode})),E=T((function(){return o.meta.matched})),k=function(){var t=r(e().mark((function t(r){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ye({authorityId:r});case 2:0===e.sent.code&&(window.sessionStorage.setItem("needCloseAll","true"),window.location.reload());case 4:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),D=v(!0),O=null,F=function(){var t=r(e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:O&&window.clearTimeout(O),O=window.setTimeout(r(e().mark((function t(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o.meta.keepAlive){e.next=7;break}return D.value=!1,e.next=4,U();case 4:D.value=!0,e.next=9;break;case 7:r=o.meta.title,n.push({name:"Reload",params:{title:r}});case 9:case"end":return e.stop()}}),t)}))),400);case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),L=v(!1),z=function(){i.value=!i.value,a.value=!i.value,L.value=!i.value,ve.emit("collapse",i.value)},R=function(){n.push({name:"person"})};return function(e,t){var r=_e,n=xt,c=Ee,v=ot,m=nt,O=K("arrow-down"),F=A,T=er,M=tr,$=Zt,G=_t,H=K("router-view"),q=Et,V=wt,U=we;return h(),C(V,{class:"layout-cont"},{default:B((function(){return[N(V,{class:w([a.value?"openside":"hideside",u.value?"mobile":""])},{default:B((function(){return[N(r,{class:w([L.value&&u.value?"bg-black opacity-30 w-full h-full absolute top-0 left-0 z-[1001]":""]),onClick:t[0]||(t[0]=function(e){return L.value=!L.value,a.value=!!i.value,void z()})},null,8,["class"]),N(n,{class:"main-cont gva-aside",style:P({width:u.value?i.value?"0px":"220px":i.value?"54px":"220px"})},{default:B((function(){return[I("div",{class:"min-h-[60px] text-center transition-all duration-300 flex items-center justify-center gap-2",style:P({background:_.value})},[I("img",{alt:"",class:"w-9 h-9 p-1 bg-white rounded-full",src:e.$GIN_VUE_ADMIN.appLogo},null,8,ir),a.value?(h(),g("div",{key:0,class:"inline-flex font-bold text-2xl",style:P({color:y.value})},S(e.$GIN_VUE_ADMIN.appName),5)):te("",!0)],4),N(ke,{class:"aside"})]})),_:1},8,["style"]),N(q,{class:"main-cont main-right"},{default:B((function(){return[N(be,{duration:{enter:800,leave:100},mode:"out-in",name:"el-fade-in-linear"},{default:B((function(){return[I("div",{style:P({width:"calc(100% - ".concat(u.value?"0px":i.value?"54px":"220px",")")}),class:"fixed top-0 box-border z-50"},[N(r,null,{default:B((function(){return[N(c,null,{default:B((function(){return[N(G,{class:"header-cont"},{default:B((function(){return[N(r,{class:"p-0 h-full"},{default:B((function(){return[N(c,{xs:2,lg:1,md:1,sm:1,xl:1,class:"z-50 flex items-center pl-3"},{default:B((function(){return[I("div",{class:"text-black cursor-pointer text-lg leading-5",onClick:z},[i.value?(h(),g("div",ar)):(h(),g("div",ur))])]})),_:1}),N(c,{xs:10,lg:14,md:14,sm:9,xl:14,pull:1,class:"flex items-center"},{default:B((function(){return[de(N(m,{class:"breadcrumb"},{default:B((function(){return[(h(!0),g(ne,null,pe(E.value.slice(1,E.value.length),(function(e){return h(),C(v,{key:e.path},{default:B((function(){return[se(S(x(me)(e.meta.title,x(o))),1)]})),_:2},1024)})),128))]})),_:1},512),[[he,!u.value]])]})),_:1}),N(c,{xs:12,lg:9,md:9,sm:14,xl:9,class:"flex items-center justify-end"},{default:B((function(){return[I("div",dr,[N(Ce),N($,null,{dropdown:B((function(){return[N(M,null,{default:B((function(){return[N(T,null,{default:B((function(){return[I("span",pr," 当前角色:"+S(x(b).userInfo.authority.authorityName),1)]})),_:1}),x(b).userInfo.authorities?(h(!0),g(ne,{key:0},pe(x(b).userInfo.authorities.filter((function(e){return e.authorityId!==x(b).userInfo.authorityId})),(function(e){return h(),C(T,{key:e.authorityId,onClick:function(t){return k(e.authorityId)}},{default:B((function(){return[I("span",null," 切换为:"+S(e.authorityName),1)]})),_:2},1032,["onClick"])})),128)):te("",!0),N(T,{icon:"avatar"},{default:B((function(){return[I("div",{class:"command-box",style:{display:"flex"},onClick:p},[t[3]||(t[3]=I("div",null,"指令菜单",-1)),I("div",fr,[I("span",vr,S(d.value),1),t[1]||(t[1]=se(" + ")),t[2]||(t[2]=I("span",{class:"button"},"K",-1))])])]})),_:1}),N(T,{icon:"avatar",onClick:R},{default:B((function(){return t[4]||(t[4]=[se("个人信息")])})),_:1}),N(T,{icon:"reading-lamp",onClick:x(b).LoginOut},{default:B((function(){return t[5]||(t[5]=[se("登 出")])})),_:1},8,["onClick"])]})),_:1})]})),default:B((function(){return[I("div",cr,[I("span",sr,[N(je),de(I("span",{style:{"margin-left":"5px"}},S(x(b).userInfo.nickName),513),[[he,!u.value]]),N(F,null,{default:B((function(){return[N(O)]})),_:1})])])]})),_:1})])]})),_:1})]})),_:1})]})),_:1})]})),_:1})]})),_:1}),N(Ie,{ref:"layoutHistoryComponent"},null,512)],4)]})),_:1}),D.value?(h(),C(H,{key:0,class:"admin-box"},{default:B((function(e){var t=e.Component;return[de((h(),g("div",br,[N(be,{mode:"out-in",name:"el-fade-in-linear"},{default:B((function(){return[(h(),C(ge,{include:x(l).keepAliveRouters},[(h(),C(j(t)))],1032,["include"]))]})),_:2},1024)])),[[U,f.value]])]})),_:1})):te("",!0),N(Be),N(De),N(lr,{ref_key:"command",ref:s},null,512)]})),_:1})]})),_:1},8,["class"])]})),_:1})}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy11.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy11.js new file mode 100644 index 000000000..cadba23b2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy11.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var t,l,u,o,c=[],i=!0,a=!1;try{if(u=(r=r.call(e)).next,0===n){if(Object(r)!==r)return;i=!1}else for(;!(i=(t=u.call(r)).done)&&(c.push(t.value),c.length!==n);i=!0);}catch(e){a=!0,l=e}finally{try{if(!i&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(a)throw l}}return c}}(e,n)||r(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=r(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var l=0,u=function(){};return{s:u,n:function(){return l>=e.length?{done:!0}:{done:!1,value:e[l++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==t.return||t.return()}finally{if(i)throw o}}}}function r(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}function t(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,t=Array(n);r0&&void 0!==arguments[0]?arguments[0]:document.documentElement,n=arguments.length>1?arguments[1]:void 0;return new Promise((function(r,t){var l=function(){m.off("change",l),r()};m.on("change",l);var u=e[s.requestFullscreen](n);u instanceof Promise&&u.then(l).catch(t)}))},exit:function(){return new Promise((function(e,n){if(m.isFullscreen){var r=function(){m.off("change",r),e()};m.on("change",r);var t=document[s.exitFullscreen]();t instanceof Promise&&t.then(r).catch(n)}else e()}))},toggle:function(e,n){return m.isFullscreen?m.exit():m.request(e,n)},onchange:function(e){m.on("change",e)},onerror:function(e){m.on("error",e)},on:function(e,n){var r=d[e];r&&document.addEventListener(r,n,!1)},off:function(e,n){var r=d[e];r&&document.removeEventListener(r,n,!1)},raw:s};Object.defineProperties(m,{isFullscreen:{get:function(){return Boolean(document[s.fullscreenElement])}},element:{enumerable:!0,get:function(){var e;return null!==(e=document[s.fullscreenElement])&&void 0!==e?e:void 0}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[s.fullscreenEnabled])}}}),s||(m={isEnabled:!1});var v=m,g={key:0,class:"gvaIcon gvaIcon-fullscreen-expand"},h={key:1,class:"gvaIcon gvaIcon-fullscreen-shrink"};r("default",l(Object.assign({name:"Screenfull"},{__name:"index",props:{width:{type:Number,default:22},height:{type:Number,default:22},fill:{type:String,default:"#48576a"}},setup:function(e){u((function(){v.isEnabled&&v.on("change",t)})),o((function(){v.off("change")}));var n=function(){v.isEnabled&&v.toggle()},r=c(!0),t=function(){r.value=!v.isFullscreen};return function(e,t){return i(),a("div",{onClick:n},[r.value?(i(),a("div",g)):(i(),a("div",h))])}}}),[["__scopeId","data-v-3ff1a29e"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy12.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy12.js new file mode 100644 index 000000000..c4db2961e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy12.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0drawer-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy28.js","./087AC4D233B64EB0index-legacy21.js"],(function(t,e){"use strict";var n,i,a,o,c,d,l,s,r,u,g,p,f,b,m;return{setters:[function(t){n=t.a,i=t.l,a=t.N,o=t.o,c=t.c,d=t.e,l=t.w,s=t.b,r=t.D,u=t.h,g=t.f,p=t.E,f=t.H},null,null,null,function(t){b=t._},function(t){m=t.E},null],execute:function(){var e=document.createElement("style");e.textContent=".drawer-container[data-v-54a7b8de]{transition:all .2s;position:fixed;right:-20px;bottom:15%;height:40px;width:40px;display:flex;align-items:center;justify-content:center;z-index:999;color:#fff;border-radius:4px 0 0 4px;cursor:pointer;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.1)}.drawer-container[data-v-54a7b8de]:hover{right:0}.setting_body[data-v-54a7b8de]{padding:20px}.setting_body .setting_card[data-v-54a7b8de]{margin-bottom:20px}.setting_body .setting_content[data-v-54a7b8de]{margin-top:20px;display:flex;flex-direction:column}.setting_body .setting_content>.theme-box[data-v-54a7b8de]{display:flex}.setting_body .setting_content>.color-box div[data-v-54a7b8de]{display:flex;flex-direction:column}.setting_body .setting_content .item[data-v-54a7b8de]{display:flex;align-items:center;justify-content:center;flex-direction:column;margin-right:20px}.setting_body .setting_content .item .item-top[data-v-54a7b8de]{position:relative}.setting_body .setting_content .item .check[data-v-54a7b8de]{position:absolute;font-size:20px;color:#00afff;right:10px;bottom:10px}.setting_body .setting_content .item p[data-v-54a7b8de]{text-align:center;font-size:12px}\n",document.head.appendChild(e);var v={class:"setting_body"},y={class:"setting_card"},x={class:"setting_content"},_={class:"theme-box"},h={class:"item-top"},k={class:"item-top"};t("default",b(Object.assign({name:"Setting"},{__name:"index",setup:function(t){var e=n(!1),b=n("rtl"),B=i(),C=function(){e.value=!1},j=function(){e.value=!0},w=function(t){null!==t?B.changeSideMode(t):B.changeSideMode("dark")};return function(t,n){var i=p,E=a("check"),D=f,A=m;return o(),c("div",null,[d(i,{type:"primary",class:"drawer-container",icon:"setting",onClick:j}),d(A,{modelValue:e.value,"onUpdate:modelValue":n[2]||(n[2]=function(t){return e.value=t}),title:"系统配置",direction:b.value,"before-close":C},{default:l((function(){return[s("div",v,[s("div",y,[s("div",x,[s("div",_,[s("div",{class:"item",onClick:n[0]||(n[0]=function(t){return w("light")})},[s("div",h,["light"===r(B).mode?(o(),u(D,{key:0,class:"check"},{default:l((function(){return[d(E)]})),_:1})):g("",!0),n[3]||(n[3]=s("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/NQ%24zoisaD2/jpRkZQMyYRryryPNtyIC.svg"},null,-1))]),n[4]||(n[4]=s("p",null," 简约白 ",-1))]),s("div",{class:"item",onClick:n[1]||(n[1]=function(t){return w("dark")})},[s("div",k,["dark"===r(B).mode?(o(),u(D,{key:0,class:"check"},{default:l((function(){return[d(E)]})),_:1})):g("",!0),n[5]||(n[5]=s("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/XwFOFbLkSM/LCkqqYNmvBEbokSDscrm.svg"},null,-1))]),n[6]||(n[6]=s("p",null," 商务黑 ",-1))])])])])])]})),_:1},8,["modelValue","direction"])])}}}),[["__scopeId","data-v-54a7b8de"]]))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy13.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy13.js new file mode 100644 index 000000000..e9a4965e4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy13.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,n){"use strict";var t,u,r,i,a,c,o,l,d,f,s;return{setters:[function(e){t=e.a0,u=e.N,r=e.o,i=e.c,a=e.e,c=e.w,o=e.Z,l=e.h,d=e.a1,f=e.D,s=e.G}],execute:function(){e("default",Object.assign({name:"SuperAdmin"},{__name:"index",setup:function(e){var n=t();return function(e,t){var m=u("router-view");return r(),i("div",null,[a(m,null,{default:c((function(e){var t=e.Component;return[a(o,{mode:"out-in",name:"el-fade-in-linear"},{default:c((function(){return[(r(),l(d,{include:f(n).keepAliveRouters},[(r(),l(s(t)))],1032,["include"]))]})),_:2},1024)]})),_:1})])}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy14.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy14.js new file mode 100644 index 000000000..a0ead644f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy14.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var t,n={},a=Object.prototype,r=a.hasOwnProperty,l=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},o=u.iterator||"@@iterator",i=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function d(e,t,n,a){var r=t&&t.prototype instanceof h?t:h,u=Object.create(r.prototype),o=new T(a||[]);return l(u,"_invoke",{value:V(e,n,o)}),u}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var p="suspendedStart",v="suspendedYield",m="executing",y="completed",b={};function h(){}function g(){}function w(){}var N={};f(N,o,(function(){return this}));var x=Object.getPrototypeOf,B=x&&x(x(A([])));B&&B!==a&&r.call(B,o)&&(N=B);var k=w.prototype=h.prototype=Object.create(N);function E(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(a,l,u,o){var i=s(e[a],e,l);if("throw"!==i.type){var c=i.arg,f=c.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,o)}),(function(e){n("throw",e,u,o)})):t.resolve(f).then((function(e){c.value=e,u(c)}),(function(e){return n("throw",e,u,o)}))}o(i.arg)}var a;l(this,"_invoke",{value:function(e,r){function l(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(l,l):l()}})}function V(e,n,a){var r=p;return function(l,u){if(r===m)throw Error("Generator is already running");if(r===y){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var o=a.delegate;if(o){var i=C(o,a);if(i){if(i===b)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(r===p)throw r=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r=m;var c=s(e,n,a);if("normal"===c.type){if(r=a.done?y:v,c.arg===b)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(r=y,a.method="throw",a.arg=c.arg)}}}function C(e,n){var a=n.method,r=e.iterator[a];if(r===t)return n.delegate=null,"throw"===a&&e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=s(r,e.iterator,n.arg);if("throw"===l.type)return n.method="throw",n.arg=l.arg,n.delegate=null,b;var u=l.arg;return u?u.done?(n[e.resultName]=u.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function A(e){if(e||""===e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,l=function n(){for(;++a=0;--l){var u=this.tryEntries[l],o=u.completion;if("root"===u.tryLoc)return a("end");if(u.tryLoc<=this.prev){var i=r.call(u,"catchLoc"),c=r.call(u,"finallyLoc");if(i&&c){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var r=a.arg;j(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,a){return this.delegate={iterator:A(e),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=t),b}},n}function t(e,t,n,a,r,l,u){try{var o=e[l](u),i=o.value}catch(e){return void n(e)}o.done?t(i):Promise.resolve(i).then(a,r)}function n(e){return function(){var n=this,a=arguments;return new Promise((function(r,l){var u=e.apply(n,a);function o(e){t(u,r,l,o,i,"next",e)}function i(e){t(u,r,l,o,i,"throw",e)}o(void 0)}))}}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t",value:"<>"},{label:">",value:">"},{label:"<",value:"<"},{label:"LIKE",value:"LIKE"},{label:"BETWEEN",value:"BETWEEN"},{label:"NOT BETWEEN",value:"NOT BETWEEN"}]),l={fieldName:"",fieldDesc:"",fieldType:"",dataType:"",fieldJson:"",columnName:"",dataTypeLong:"",comment:"",require:!1,sort:!1,errorText:"",clearable:!0,fieldSearchType:"",dictType:""},Z=o(),me=i(),ye=c([]),be=u({}),he=u({businessDB:"",dbName:"",tableName:""}),ge=u([]),we=u(""),Ne=u({}),xe=u({structName:"",tableName:"",packageName:"",package:"",abbreviation:"",description:"",businessDB:"",autoCreateApiToSql:!0,autoMoveFile:!0,autoCreateResource:!1,fields:[]}),Be=u({structName:[{required:!0,message:"请输入结构体名称",trigger:"blur"}],abbreviation:[{required:!0,message:"请输入结构体简称",trigger:"blur"}],description:[{required:!0,message:"请输入结构体描述",trigger:"blur"}],packageName:[{required:!0,message:"文件名称:sysXxxxXxxx",trigger:"blur"}],package:[{required:!0,message:"请选择package",trigger:"blur"}]}),ke=u({}),Ee=u({}),_e=u(!1),Ve=u(!1),Ce=u(null),De=function(){Ce.value.selectText()},je=function(){Ce.value.copy()},Te=function(e){_e.value=!0,e?(we.value="edit",Ee.value=JSON.parse(JSON.stringify(e)),ke.value=e):(we.value="add",ke.value=JSON.parse(JSON.stringify(l)))},Ae=C(),Le=function(){Ae.refs.fieldDialogNode.fieldDialogFrom.validate((function(e){if(!e)return!1;ke.value.fieldName=M(ke.value.fieldName),"add"===we.value&&xe.value.fields.push(ke.value),_e.value=!1}))},Oe=function(){"edit"===we.value&&(ke.value=Ee.value),_e.value=!1},Ue=u(null),Se=function(){var t=n(e().mark((function t(a){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(xe.value.fields.length<=0)){t.next=3;break}return B({type:"error",message:"请填写至少一个field"}),t.abrupt("return",!1);case 3:if(!xe.value.fields.some((function(e){return e.fieldName===xe.value.structName}))){t.next=6;break}return B({type:"error",message:"存在与结构体同名的字段"}),t.abrupt("return",!1);case 6:if(xe.value.package!==xe.value.abbreviation){t.next=9;break}return B({type:"error",message:"package和结构体简称不可同名"}),t.abrupt("return",!1);case 9:Ue.value.validate(function(){var t=n(e().mark((function t(n){var r,l,u,o,i,c,f,d;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=33;break}for(r in xe.value)"string"==typeof xe.value[r]&&(xe.value[r]=xe.value[r].trim());if(xe.value.structName=M(xe.value.structName),xe.value.tableName=xe.value.tableName.replace(" ",""),xe.value.tableName||(xe.value.tableName=R(I(xe.value.structName))),xe.value.structName!==xe.value.abbreviation){e.next=8;break}return B({type:"error",message:"structName和struct简称不能相同"}),e.abrupt("return",!1);case 8:if(xe.value.humpPackageName=R(xe.value.packageName),!a){e.next=17;break}return e.next=12,X(xe.value);case 12:l=e.sent,be.value=l.data.autoCode,Ve.value=!0,e.next=31;break;case 17:return e.next=19,$(xe.value);case 19:if(o=e.sent,"false"!==(null===(u=o.headers)||void 0===u?void 0:u.success)){e.next=24;break}return e.abrupt("return");case 24:if(!xe.value.autoMoveFile){e.next=27;break}return B({type:"success",message:"自动化代码创建成功,自动移动成功"}),e.abrupt("return");case 27:B({type:"success",message:"自动化代码创建成功,正在下载"});case 28:i=new Blob([o]),c="ginvueadmin.zip","download"in document.createElement("a")?(f=window.URL.createObjectURL(i),(d=document.createElement("a")).style.display="none",d.href=f,d.setAttribute("download",c),document.body.appendChild(d),d.click(),document.body.removeChild(d),window.URL.revokeObjectURL(f)):window.navigator.msSaveBlob(i,c);case 31:e.next=34;break;case 33:return e.abrupt("return",!1);case 34:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Pe=u([]),qe=u([]),Fe=function(){var t=n(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return he.value.dbName="",he.value.tableName="",e.next=4,z({businessDB:he.value.businessDB});case 4:0===(n=e.sent).code&&(qe.value=n.data.dbs,Pe.value=n.data.dbList);case 6:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ge=function(){var t=n(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,K({businessDB:he.value.businessDB,dbName:he.value.dbName});case 2:0===(n=e.sent).code&&(ge.value=n.data.tables),he.value.tableName="";case 5:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Je=function(){var t=n(e().mark((function t(){var n,a,r,l,u,o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=["id","created_at","updated_at","deleted_at"],e.next=3,Y(he.value);case 3:0===(a=e.sent).code&&(r="",""!==he.value.businessDB&&(l=Pe.value.find((function(e){return e.aliasName===he.value.businessDB})),u=k(l),r=u.dbtype),o=W(he.value.tableName),xe.value.structName=M(o),xe.value.tableName=he.value.tableName,xe.value.packageName=o,xe.value.abbreviation=o,xe.value.description=o+"表",xe.value.autoCreateApiToSql=!0,xe.value.autoMoveFile=!0,xe.value.fields=[],a.data.columns&&a.data.columns.forEach((function(e){if(!n.some((function(t){return t===e.columnName}))){var t=W(e.columnName);xe.value.fields.push({fieldName:M(t),fieldDesc:e.columnComment||t+"字段",fieldType:Ne.value[e.dataType],dataType:e.dataType,fieldJson:t,dataTypeLong:e.dataTypeLong&&e.dataTypeLong.split(",")[0],columnName:"oracle"===r?e.columnName.toUpperCase():e.columnName,comment:e.columnComment,require:!1,errorText:"",clearable:!0,fieldSearchType:"",dictType:""})}})));case 5:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ie=function(){var t=n(e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:["string","int","bool","float64","time.Time"].forEach(function(){var t=n(e().mark((function t(n){var a;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ne(n);case 2:(a=e.sent)&&a.forEach((function(e){Ne.value[e.label]=n}));case 4:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Me=function(){var t=n(e().mark((function t(n){var a;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Q({id:Number(n)});case 2:0===(a=e.sent).code&&(xe.value=JSON.parse(a.data.meta));case 4:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Re=u([]),We=function(){var t=n(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,H();case 2:0===(n=e.sent).code&&(Re.value=n.data.pkgs);case 4:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Xe=function(){me.push({name:"autoPkg"})},$e=function(){Fe(),Ie(),We();var e=Z.params.id;e&&Me(e)};return $e(),f((function(){return Z.params.id}),(function(){"autoCodeEdit"===Z.name&&$e()})),function(e,t){var n=d("pointer"),l=E,u=d("QuestionFilled"),o=te,i=q,c=F,f=S,B=_,k=P,C=O,M=U,R=V,W=d("refresh"),X=d("document-add"),$=A,z=j,K=L,Y=T,H=D;return s(),p("div",null,[v(ee,{href:"https://www.bilibili.com/video/BV1kv4y1g7nT?p=3",title:"此功能为开发环境使用,不建议发布到生产,具体使用效果请看视频https://www.bilibili.com/video/BV1kv4y1g7nT?p=3"}),m("div",ae,[v(M,{modelValue:ye,"onUpdate:modelValue":t[3]||(t[3]=function(e){return function(e){throw new TypeError('"'+e+'" is read-only')}("activeNames")}),style:{"margin-bottom":"12px"}},{default:y((function(){return[v(C,{name:"1"},{title:y((function(){return[m("div",re,[t[21]||(t[21]=b(" 点这里从现有数据库创建代码 ")),v(l,{class:"header-icon"},{default:y((function(){return[v(n)]})),_:1})])]})),default:y((function(){return[v(k,{ref:"getTableForm",style:{"margin-top":"24px"},inline:!0,model:he.value,"label-width":"120px"},{default:y((function(){return[v(f,{label:"业务库",prop:"selectDBtype"},{label:y((function(){return[v(o,{content:"注:需要提前到db-list自行配置多数据库,如未配置需配置后重启服务方可使用。(此处可选择对应库表,可理解为从哪个库选择表)",placement:"bottom",effect:"light"},{default:y((function(){return[m("div",null,[t[22]||(t[22]=b(" 业务库 ")),v(l,null,{default:y((function(){return[v(u)]})),_:1})])]})),_:1})]})),default:y((function(){return[v(c,{modelValue:he.value.businessDB,"onUpdate:modelValue":t[0]||(t[0]=function(e){return he.value.businessDB=e}),clearable:"",style:{width:"194px"},placeholder:"选择业务库",onChange:Fe},{default:y((function(){return[(s(!0),p(h,null,g(Pe.value,(function(e){return s(),w(i,{key:e.aliasName,value:e.aliasName,label:e.aliasName,disabled:e.disable},{default:y((function(){return[m("div",null,[m("span",null,N(e.aliasName),1),m("span",le,N(e.dbName),1)])]})),_:2},1032,["value","label","disabled"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),v(f,{label:"数据库名",prop:"structName"},{default:y((function(){return[v(c,{modelValue:he.value.dbName,"onUpdate:modelValue":t[1]||(t[1]=function(e){return he.value.dbName=e}),clearable:"",filterable:"",placeholder:"请选择数据库",onChange:Ge},{default:y((function(){return[(s(!0),p(h,null,g(qe.value,(function(e){return s(),w(i,{key:e.database,label:e.database,value:e.database},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),v(f,{label:"表名",prop:"structName"},{default:y((function(){return[v(c,{modelValue:he.value.tableName,"onUpdate:modelValue":t[2]||(t[2]=function(e){return he.value.tableName=e}),disabled:!he.value.dbName,filterable:"",placeholder:"请选择表"},{default:y((function(){return[(s(!0),p(h,null,g(ge.value,(function(e){return s(),w(i,{key:e.tableName,label:e.tableName,value:e.tableName},null,8,["label","value"])})),128))]})),_:1},8,["modelValue","disabled"])]})),_:1}),v(f,null,{default:y((function(){return[v(B,{type:"primary",onClick:Je},{default:y((function(){return t[23]||(t[23]=[b("使用此表创建")])})),_:1})]})),_:1})]})),_:1},8,["model"])]})),_:1})]})),_:1},8,["modelValue"])]),m("div",ue,[v(k,{ref_key:"autoCodeForm",ref:Ue,rules:Be.value,model:xe.value,"label-width":"120px",inline:!0},{default:y((function(){return[v(f,{label:"Struct名称",prop:"structName"},{default:y((function(){return[v(R,{modelValue:xe.value.structName,"onUpdate:modelValue":t[4]||(t[4]=function(e){return xe.value.structName=e}),placeholder:"首字母自动转换大写"},null,8,["modelValue"])]})),_:1}),v(f,{label:"TableName",prop:"tableName"},{default:y((function(){return[v(R,{modelValue:xe.value.tableName,"onUpdate:modelValue":t[5]||(t[5]=function(e){return xe.value.tableName=e}),placeholder:"指定表名(非必填)"},null,8,["modelValue"])]})),_:1}),v(f,{label:"Struct简称",prop:"abbreviation"},{default:y((function(){return[v(R,{modelValue:xe.value.abbreviation,"onUpdate:modelValue":t[6]||(t[6]=function(e){return xe.value.abbreviation=e}),placeholder:"简称会作为入参对象名和路由group"},null,8,["modelValue"])]})),_:1}),v(f,{label:"Struct中文名称",prop:"description"},{default:y((function(){return[v(R,{modelValue:xe.value.description,"onUpdate:modelValue":t[7]||(t[7]=function(e){return xe.value.description=e}),placeholder:"中文描述作为自动api描述"},null,8,["modelValue"])]})),_:1}),v(f,{label:"文件名称",prop:"packageName"},{default:y((function(){return[v(R,{modelValue:xe.value.packageName,"onUpdate:modelValue":t[8]||(t[8]=function(e){return xe.value.packageName=e}),placeholder:"生成文件的默认名称(建议为驼峰格式,首字母小写,如sysXxxXxxx)",onBlur:t[9]||(t[9]=function(e){return function(e,t){e[t]=I(e[t])}(xe.value,"packageName")})},null,8,["modelValue"])]})),_:1}),v(f,{label:"Package(包)",prop:"package"},{default:y((function(){return[v(c,{modelValue:xe.value.package,"onUpdate:modelValue":t[10]||(t[10]=function(e){return xe.value.package=e}),style:{width:"194px"}},{default:y((function(){return[(s(!0),p(h,null,g(Re.value,(function(e){return s(),w(i,{key:e.ID,value:e.packageName,label:e.packageName},null,8,["value","label"])})),128))]})),_:1},8,["modelValue"]),v(l,{class:"cursor-pointer ml-2 text-gray-600",onClick:We},{default:y((function(){return[v(W)]})),_:1}),v(l,{class:"cursor-pointer ml-2 text-gray-600",onClick:Xe},{default:y((function(){return[v(X)]})),_:1})]})),_:1}),v(f,{label:"业务库",prop:"businessDB"},{label:y((function(){return[v(o,{content:"注:需要提前到db-list自行配置多数据库,此项为空则会使用gva本库创建自动化代码(global.GVA_DB),填写后则会创建指定库的代码(global.MustGetGlobalDBByDBName(dbname))",placement:"bottom",effect:"light"},{default:y((function(){return[m("div",null,[t[24]||(t[24]=b(" 业务库 ")),v(l,null,{default:y((function(){return[v(u)]})),_:1})])]})),_:1})]})),default:y((function(){return[v(c,{modelValue:xe.value.businessDB,"onUpdate:modelValue":t[11]||(t[11]=function(e){return xe.value.businessDB=e}),style:{width:"194px"},placeholder:"选择业务库"},{default:y((function(){return[(s(!0),p(h,null,g(Pe.value,(function(e){return s(),w(i,{key:e.aliasName,value:e.aliasName,label:e.aliasName,disabled:e.disable},{default:y((function(){return[m("div",null,[m("span",null,N(e.aliasName),1),m("span",oe,N(e.dbName),1)])]})),_:2},1032,["value","label","disabled"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),v(f,null,{label:y((function(){return[v(o,{content:"注:会自动在结构体添加 created_by updated_by deleted_by,方便用户进行资源权限控制",placement:"bottom",effect:"light"},{default:y((function(){return[m("div",null,[t[25]||(t[25]=b(" 创建资源标识 ")),v(l,null,{default:y((function(){return[v(u)]})),_:1})])]})),_:1})]})),default:y((function(){return[v($,{modelValue:xe.value.autoCreateResource,"onUpdate:modelValue":t[12]||(t[12]=function(e){return xe.value.autoCreateResource=e})},null,8,["modelValue"])]})),_:1}),v(f,null,{label:y((function(){return[v(o,{content:"注:把自动生成的API注册进数据库",placement:"bottom",effect:"light"},{default:y((function(){return t[26]||(t[26]=[m("div",null," 自动创建API ",-1)])})),_:1})]})),default:y((function(){return[v($,{modelValue:xe.value.autoCreateApiToSql,"onUpdate:modelValue":t[13]||(t[13]=function(e){return xe.value.autoCreateApiToSql=e})},null,8,["modelValue"])]})),_:1}),v(f,null,{label:y((function(){return[v(o,{content:"注:自动迁移生成的文件到yaml配置的对应位置",placement:"bottom",effect:"light"},{default:y((function(){return t[27]||(t[27]=[m("div",null," 自动移动文件 ",-1)])})),_:1})]})),default:y((function(){return[v($,{modelValue:xe.value.autoMoveFile,"onUpdate:modelValue":t[14]||(t[14]=function(e){return xe.value.autoMoveFile=e})},null,8,["modelValue"])]})),_:1})]})),_:1},8,["rules","model"])]),m("div",ie,[m("div",ce,[v(B,{type:"primary",onClick:t[15]||(t[15]=function(e){return Te()})},{default:y((function(){return t[28]||(t[28]=[b("新增字段")])})),_:1})]),v(Y,{data:xe.value.fields},{default:y((function(){return[v(z,{align:"left",type:"index",label:"序列",width:"60"}),v(z,{align:"left",prop:"fieldName",label:"字段名称",width:"160"},{default:y((function(e){var t=e.row;return[v(R,{modelValue:t.fieldName,"onUpdate:modelValue":function(e){return t.fieldName=e}},null,8,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"fieldDesc",label:"中文名",width:"160"},{default:y((function(e){var t=e.row;return[v(R,{modelValue:t.fieldDesc,"onUpdate:modelValue":function(e){return t.fieldDesc=e}},null,8,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"require",label:"必填"},{default:y((function(e){var t=e.row;return[v($,{modelValue:t.require,"onUpdate:modelValue":function(e){return t.require=e}},null,8,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"sort",label:"排序"},{default:y((function(e){var t=e.row;return[v($,{modelValue:t.sort,"onUpdate:modelValue":function(e){return t.sort=e}},null,8,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"fieldJson",width:"160px",label:"字段Json"},{default:y((function(e){var t=e.row;return[v(R,{modelValue:t.fieldJson,"onUpdate:modelValue":function(e){return t.fieldJson=e}},null,8,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"fieldType",label:"字段类型",width:"160"},{default:y((function(e){var t=e.row;return[v(c,{modelValue:t.fieldType,"onUpdate:modelValue":function(e){return t.fieldType=e},style:{width:"100%"},placeholder:"请选择字段类型",clearable:""},{default:y((function(){return[(s(!0),p(h,null,g(a.value,(function(e){return s(),w(i,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:2},1032,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"dataTypeLong",label:"数据库字段长度",width:"160"},{default:y((function(e){var t=e.row;return[v(R,{modelValue:t.dataTypeLong,"onUpdate:modelValue":function(e){return t.dataTypeLong=e}},null,8,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"columnName",label:"数据库字段",width:"160"},{default:y((function(e){var t=e.row;return[v(R,{modelValue:t.columnName,"onUpdate:modelValue":function(e){return t.columnName=e}},null,8,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"comment",label:"数据库字段描述",width:"160"},{default:y((function(e){var t=e.row;return[v(R,{modelValue:t.columnName,"onUpdate:modelValue":function(e){return t.columnName=e}},null,8,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",prop:"fieldSearchType",label:"搜索条件",width:"130"},{default:y((function(e){var t=e.row;return[v(c,{modelValue:t.fieldSearchType,"onUpdate:modelValue":function(e){return t.fieldSearchType=e},style:{width:"100%"},placeholder:"请选择字段查询条件",clearable:""},{default:y((function(){return[(s(!0),p(h,null,g(r.value,(function(e){return s(),w(i,{key:e.value,label:e.label,value:e.value,disabled:"string"!==t.fieldType&&"LIKE"===e.value||"int"!==t.fieldType&&"time.Time"!==t.fieldType&&"float64"!==t.fieldType&&("BETWEEN"===e.value||"NOT BETWEEN"===e.value)},null,8,["label","value","disabled"])})),128))]})),_:2},1032,["modelValue","onUpdate:modelValue"])]})),_:1}),v(z,{align:"left",label:"操作",width:"300",fixed:"right"},{default:y((function(e){return[v(B,{type:"primary",link:"",icon:"edit",onClick:function(t){return Te(e.row)}},{default:y((function(){return t[29]||(t[29]=[b("高级编辑")])})),_:2},1032,["onClick"]),v(B,{type:"primary",link:"",disabled:0===e.$index,onClick:function(t){return function(e){if(0!==e){var t=xe.value.fields[e-1];xe.value.fields.splice(e-1,1),xe.value.fields.splice(e,0,t)}}(e.$index)}},{default:y((function(){return t[30]||(t[30]=[b("上移")])})),_:2},1032,["disabled","onClick"]),v(B,{type:"primary",link:"",disabled:e.$index+1===xe.value.fields.length,onClick:function(t){return function(e){if(e!==xe.value.fields.length-1){var t=xe.value.fields[e+1];xe.value.fields.splice(e+1,1),xe.value.fields.splice(e,0,t)}}(e.$index)}},{default:y((function(){return t[31]||(t[31]=[b("下移")])})),_:2},1032,["disabled","onClick"]),v(K,{modelValue:e.row.visible,"onUpdate:modelValue":function(t){return e.row.visible=t},placement:"top"},{reference:y((function(){return[v(B,{type:"primary",link:"",icon:"delete",onClick:function(t){return e.row.visible=!0}},{default:y((function(){return t[34]||(t[34]=[b("删除")])})),_:2},1032,["onClick"])]})),default:y((function(){return[t[35]||(t[35]=m("p",null,"确定删除吗?",-1)),m("div",fe,[v(B,{type:"primary",link:"",onClick:function(t){return e.row.visible=!1}},{default:y((function(){return t[32]||(t[32]=[b("取消")])})),_:2},1032,["onClick"]),v(B,{type:"primary",onClick:function(t){return n=e.$index,void xe.value.fields.splice(n,1);var n}},{default:y((function(){return t[33]||(t[33]=[b("确定")])})),_:2},1032,["onClick"])])]})),_:2},1032,["modelValue","onUpdate:modelValue"])]})),_:1})]})),_:1},8,["data"]),m("div",de,[v(B,{type:"primary",onClick:t[16]||(t[16]=function(e){return Se(!0)})},{default:y((function(){return t[36]||(t[36]=[b("预览代码")])})),_:1}),v(B,{type:"primary",onClick:t[17]||(t[17]=function(e){return Se(!1)})},{default:y((function(){return t[37]||(t[37]=[b("生成代码")])})),_:1})])]),v(H,{modelValue:_e.value,"onUpdate:modelValue":t[18]||(t[18]=function(e){return _e.value=e}),width:"70%",title:"组件内容"},{footer:y((function(){return[m("div",se,[v(B,{onClick:Oe},{default:y((function(){return t[38]||(t[38]=[b("取 消")])})),_:1}),v(B,{type:"primary",onClick:Le},{default:y((function(){return t[39]||(t[39]=[b("确 定")])})),_:1})])]})),default:y((function(){return[_e.value?(s(),w(G,{key:0,ref:"fieldDialogNode","dialog-middle":ke.value,"type-options":a.value,"type-search-options":r.value},null,8,["dialog-middle","type-options","type-search-options"])):x("",!0)]})),_:1},8,["modelValue"]),v(H,{modelValue:Ve.value,"onUpdate:modelValue":t[20]||(t[20]=function(e){return Ve.value=e})},{header:y((function(){return[m("div",pe,[t[42]||(t[42]=m("p",null,"操作栏:",-1)),v(B,{type:"primary",onClick:De},{default:y((function(){return t[40]||(t[40]=[b("全选")])})),_:1}),v(B,{type:"primary",onClick:je},{default:y((function(){return t[41]||(t[41]=[b("复制")])})),_:1})])]})),footer:y((function(){return[m("div",ve,[v(B,{type:"primary",onClick:t[19]||(t[19]=function(e){return Ve.value=!1})},{default:y((function(){return t[43]||(t[43]=[b("确 定")])})),_:1})])]})),default:y((function(){return[Ve.value?(s(),w(J,{key:0,ref_key:"previewNode",ref:Ce,"preview-code":be.value},null,8,["preview-code"])):x("",!0)]})),_:1},8,["modelValue"])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy15.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy15.js new file mode 100644 index 000000000..4a0bb7c49 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy15.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var e,n={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),c=new T(r||[]);return a(i,"_invoke",{value:A(t,n,c)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var h="suspendedStart",d="suspendedYield",y="executing",g="completed",v={};function m(){}function w(){}function B(){}var x={};s(x,c,(function(){return this}));var b=Object.getPrototypeOf,E=b&&b(b(O([])));E&&E!==r&&o.call(E,c)&&(x=E);var C=B.prototype=m.prototype=Object.create(x);function j(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(r,a,i,c){var u=p(t[r],t,a);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&o.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(s).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}var r;a(this,"_invoke",{value:function(t,o){function a(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(a,a):a()}})}function A(t,n,r){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:e,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var u=D(c,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var l=p(t,n,r);if("normal"===l.type){if(o=r.done?g:d,l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=g,r.method="throw",r.arg=l.arg)}}}function D(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,D(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=p(o,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function O(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},n}function e(t,e,n,r,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function n(t){return function(){var n=this,r=arguments;return new Promise((function(o,a){var i=t.apply(n,r);function c(t){e(i,o,a,c,u,"next",t)}function u(t){e(i,o,a,c,u,"throw",t)}c(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0autoCode-legacy.js","./087AC4D233B64EB0format-legacy.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0index-legacy25.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0date-legacy.js"],(function(e,r){"use strict";var o,a,i,c,u,l,s,f,p,h,d,y,g,v,m,w,B,x,b,E,C,j;return{setters:[function(t){o=t.u,a=t.a,i=t.o,c=t.c,u=t.b,l=t.e,s=t.w,f=t.g,p=t.t,h=t.D,d=t.h,y=t.T,g=t.j,v=t.E},null,null,null,null,null,function(t){m=t.E,w=t.a},null,null,null,function(t){B=t.f,x=t.h,b=t.r},function(t){E=t.f},function(t){C=t.E},function(t){j=t.E},null,null,null,null,null,null,null,null,null,null],execute:function(){var r={class:"gva-table-box"},k={class:"gva-btn-list"},A={class:"gva-pagination"};e("default",Object.assign({name:"AutoCodeAdmin"},{__name:"index",setup:function(e){var D=o(),_=a(1),L=a(0),T=a(10),O=a([]),N=function(t){T.value=t,P()},S=function(t){_.value=t,P()},P=function(){var e=n(t().mark((function e(){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,B({page:_.value,pageSize:T.value});case 2:0===(n=t.sent).code&&(O.value=n.data.list,L.value=n.data.total,_.value=n.data.page,T.value=n.data.pageSize);case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();P();var G=function(){var e=n(t().mark((function e(r){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y.confirm("此操作将删除本历史, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(n(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x({id:Number(r.ID)});case 2:0===t.sent.code&&(g.success("删除成功"),P());case 4:case"end":return t.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=n(t().mark((function e(r,o){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o?y.confirm("此操作将删除自动创建的文件和api(会删除表!!!), 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(n(t().mark((function e(){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y.confirm("此操作将删除自动创建的文件和api(会删除表!!!), 请继续确认!!!","会删除表",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(n(t().mark((function e(){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y.confirm("此操作将删除自动创建的文件和api(会删除表!!!), 请继续确认!!!","会删除表",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(n(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b({id:Number(r.ID),deleteTable:o});case 2:0===t.sent.code&&(g.success("回滚成功"),P());case 4:case"end":return t.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})))):y.confirm("此操作将删除自动创建的文件和api, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(n(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b({id:Number(r.ID),deleteTable:o});case 2:0===t.sent.code&&(g.success("回滚成功"),P());case 4:case"end":return t.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),z=function(t){t?D.push({name:"autoCodeEdit",params:{id:t.ID}}):D.push({name:"autoCode"})};return function(t,e){var n=v,o=m,a=C,y=w,g=j;return i(),c("div",null,[u("div",r,[u("div",k,[l(n,{type:"primary",icon:"plus",onClick:e[0]||(e[0]=function(t){return z(null)})},{default:s((function(){return e[1]||(e[1]=[f("新增")])})),_:1})]),l(y,{data:O.value},{default:s((function(){return[l(o,{type:"selection",width:"55"}),l(o,{align:"left",label:"id",width:"60",prop:"ID"}),l(o,{align:"left",label:"日期",width:"180"},{default:s((function(t){return[f(p(h(E)(t.row.CreatedAt)),1)]})),_:1}),l(o,{align:"left",label:"结构体名","min-width":"150",prop:"structName"}),l(o,{align:"left",label:"结构体描述","min-width":"150",prop:"structCNName"}),l(o,{align:"left",label:"表名称","min-width":"150",prop:"tableName"}),l(o,{align:"left",label:"回滚标记","min-width":"150",prop:"flag"},{default:s((function(t){return[t.row.flag?(i(),d(a,{key:0,type:"danger",effect:"dark"},{default:s((function(){return e[2]||(e[2]=[f(" 已回滚 ")])})),_:1})):(i(),d(a,{key:1,type:"success",effect:"dark"},{default:s((function(){return e[3]||(e[3]=[f(" 未回滚 ")])})),_:1}))]})),_:1}),l(o,{align:"left",label:"操作","min-width":"240"},{default:s((function(t){return[u("div",null,[l(n,{type:"primary",link:"",disabled:1===t.row.flag,onClick:function(e){return I(t.row,!0)}},{default:s((function(){return e[4]||(e[4]=[f("回滚(删表)")])})),_:2},1032,["disabled","onClick"]),l(n,{type:"primary",link:"",disabled:1===t.row.flag,onClick:function(e){return I(t.row,!1)}},{default:s((function(){return e[5]||(e[5]=[f("回滚(不删表)")])})),_:2},1032,["disabled","onClick"]),l(n,{type:"primary",link:"",onClick:function(e){return z(t.row)}},{default:s((function(){return e[6]||(e[6]=[f("复用")])})),_:2},1032,["onClick"]),l(n,{type:"primary",link:"",onClick:function(e){return G(t.row)}},{default:s((function(){return e[7]||(e[7]=[f("删除")])})),_:2},1032,["onClick"])])]})),_:1})]})),_:1},8,["data"]),u("div",A,[l(g,{"current-page":_.value,"page-size":T.value,"page-sizes":[10,30,50,100],total:L.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:S,onSizeChange:N},null,8,["current-page","page-size","total"])])])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy16.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy16.js new file mode 100644 index 000000000..63b600423 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy16.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var n,r,a,c;return{setters:[function(e){n=e.a,r=e.o,a=e.c,c=e.b}],execute:function(){var t={style:{height:"80vh"}},i=["src"];e("default",Object.assign({name:"FormGenerator"},{__name:"index",setup:function(e){var u=n("https://demo.gin-vue-admin.com"),o=n("8888");return function(e,n){return r(),a("div",t,[c("iframe",{width:"100%",height:"100%",src:"".concat(u.value,":").concat(o.value,"/form-generator/#/"),frameborder:"0"},null,8,i)])}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy17.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy17.js new file mode 100644 index 000000000..586a47e14 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy17.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,n){"use strict";var t,u,r,i,a,c,o,l,s,f,d;return{setters:[function(e){t=e.a0,u=e.N,r=e.o,i=e.c,a=e.e,c=e.w,o=e.Z,l=e.h,s=e.a1,f=e.D,d=e.G}],execute:function(){e("default",Object.assign({name:"System"},{__name:"index",setup:function(e){var n=t();return function(e,t){var m=u("router-view");return r(),i("div",null,[a(m,null,{default:c((function(e){var t=e.Component;return[a(o,{mode:"out-in",name:"el-fade-in-linear"},{default:c((function(){return[(r(),l(s,{include:f(n).keepAliveRouters},[(r(),l(d(t)))],1032,["include"]))]})),_:2},1024)]})),_:1})])}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy18.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy18.js new file mode 100644 index 000000000..edc2416be --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy18.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0upload-legacy2.js","./087AC4D233B64EB0progress-legacy.js","./087AC4D233B64EB0index-legacy26.js","./087AC4D233B64EB0index-legacy27.js","./087AC4D233B64EB0cloneDeep-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0isEqual-legacy.js"],(function(e,n){"use strict";var l,a,t,u,c,o,s,i,r,d,B,f,g;return{setters:[function(e){l=e.l,a=e.a,t=e.N,u=e.o,c=e.c,o=e.e,s=e.w,i=e.b,r=e.g,d=e.D,B=e.j,f=e.H},null,null,function(e){g=e.E},null,null,null,null,null,null],execute:function(){e("default",{__name:"index",setup:function(e){var n=l(),p=a("/api"),C=function(e){if(0===e.code){var n="";e.data&&e.data.forEach((function(e,l){n+="".concat(l+1,".").concat(e.msg,"\n")})),alert(n)}else B.error(e.msg)};return function(e,l){var a=t("upload-filled"),B=f,E=g;return u(),c("div",null,[o(E,{drag:"",action:"".concat(p.value,"/autoCode/installPlugin"),headers:{"x-token":d(n).token},"show-file-list":!1,"on-success":C,"on-error":C,name:"plug"},{tip:s((function(){return l[0]||(l[0]=[i("div",{class:"el-upload__tip"}," 请把安装包的zip拖拽至此处上传 ",-1)])})),default:s((function(){return[o(B,{class:"el-icon--upload"},{default:s((function(){return[o(a)]})),_:1}),l[1]||(l[1]=i("div",{class:"el-upload__text"},[r(" 拖拽或"),i("em",null,"点击上传")],-1))]})),_:1},8,["action","headers"])])}}})}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy19.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy19.js new file mode 100644 index 000000000..9763f92ec --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy19.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),u=new D(n||[]);return i(a,"_invoke",{value:O(t,r,u)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=s;var p="suspendedStart",y="suspendedYield",d="executing",v="completed",g={};function m(){}function w(){}function b(){}var x={};f(x,u,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(P([])));_&&_!==n&&o.call(_,u)&&(x=_);var j=b.prototype=m.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function B(t,e){function r(n,i,a,u){var c=h(t[n],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var n;i(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(i,i):i()}})}function O(t,r,n){var o=p;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=h(t,r,n);if("normal"===l.type){if(o=n.done?v:y,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=h(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function P(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function u(t){e(a,o,i,u,c,"next",t)}function c(t){e(a,o,i,u,c,"throw",t)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js"],(function(e,n){"use strict";var o,i,a,u,c,l,f,s,h,p,y,d,v,g,m;return{setters:[function(t){o=t.s,i=t.a,a=t.r,u=t.o,c=t.c,l=t.e,f=t.b,s=t.w,h=t.g,p=t.j,y=t.k,d=t.E},function(t){v=t.a,g=t.E},null,null,function(t){m=t._},null,null,null,null],execute:function(){var n=function(t){return o({url:"/email/emailTest",method:"post",data:t})},w={class:"gva-form-box"};e("default",Object.assign({name:"Email"},{__name:"index",setup:function(e){var o=i(null),b=a({to:"",subject:"",body:""}),x=function(){var e=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n();case 2:0===t.sent.code&&p.success("发送成功");case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=function(){var e=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n();case 2:0===t.sent.code&&p.success("发送成功,请查收");case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return function(t,e){var r=y,n=v,i=d,a=g;return u(),c("div",null,[l(m,{title:"需要提前配置email配置文件,为防止不必要的垃圾邮件,在线体验功能不开放此功能体验。"}),f("div",w,[l(a,{ref_key:"emailForm",ref:o,"label-position":"right","label-width":"80px",model:b},{default:s((function(){return[l(n,{label:"目标邮箱"},{default:s((function(){return[l(r,{modelValue:b.to,"onUpdate:modelValue":e[0]||(e[0]=function(t){return b.to=t})},null,8,["modelValue"])]})),_:1}),l(n,{label:"邮件"},{default:s((function(){return[l(r,{modelValue:b.subject,"onUpdate:modelValue":e[1]||(e[1]=function(t){return b.subject=t})},null,8,["modelValue"])]})),_:1}),l(n,{label:"邮件内容"},{default:s((function(){return[l(r,{modelValue:b.body,"onUpdate:modelValue":e[2]||(e[2]=function(t){return b.body=t}),type:"textarea"},null,8,["modelValue"])]})),_:1}),l(n,null,{default:s((function(){return[l(i,{onClick:x},{default:s((function(){return e[3]||(e[3]=[h("发送测试邮件")])})),_:1}),l(i,{onClick:E},{default:s((function(){return e[4]||(e[4]=[h("发送邮件")])})),_:1})]})),_:1})]})),_:1},8,["model"])])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy2.js new file mode 100644 index 000000000..c3b096775 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},l="function"==typeof Symbol?Symbol:{},i=l.iterator||"@@iterator",s=l.asyncIterator||"@@asyncIterator",c=l.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(e){u=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,l=Object.create(a.prototype),i=new A(n||[]);return o(l,"_invoke",{value:q(t,r,i)}),l}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=d;var h="suspendedStart",p="suspendedYield",y="executing",m="completed",b={};function g(){}function v(){}function w(){}var x={};u(x,i,(function(){return this}));var E=Object.getPrototypeOf,j=E&&E(E(V([])));j&&j!==n&&a.call(j,i)&&(x=j);var B=w.prototype=g.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(n,o,l,i){var s=f(t[n],t,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,l,i)}),(function(t){r("throw",t,l,i)})):e.resolve(u).then((function(t){c.value=t,l(c)}),(function(t){return r("throw",t,l,i)}))}i(s.arg)}var n;o(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,n){r(t,a,e,n)}))}return n=n?n.then(o,o):o()}})}function q(t,r,n){var a=h;return function(o,l){if(a===y)throw Error("Generator is already running");if(a===m){if("throw"===o)throw l;return{value:e,done:!0}}for(n.method=o,n.arg=l;;){var i=n.delegate;if(i){var s=L(i,n);if(s){if(s===b)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var c=f(t,r,n);if("normal"===c.type){if(a=n.done?m:p,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=m,n.method="throw",n.arg=c.arg)}}}function L(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var l=o.arg;return l?l.done?(r[t.resultName]=l.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function V(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n=0;--o){var l=this.tryEntries[o],i=l.completion;if("root"===l.tryLoc)return n("end");if(l.tryLoc<=this.prev){var s=a.call(l,"catchLoc"),c=a.call(l,"finallyLoc");if(s&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:V(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},r}function e(t,e,r,n,a,o,l){try{var i=t[o](l),s=i.value}catch(t){return void r(t)}i.done?e(s):Promise.resolve(s).then(n,a)}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0initdb-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0debounce-legacy.js"],(function(r,n){"use strict";var a,o,l,i,s,c,u,d,f,h,p,y,m,b,g,v,w,x,E,j,B,k,_,q;return{setters:[function(t){a=t.u,o=t.r,l=t.a,i=t.o,s=t.c,c=t.b,u=t.n,d=t.d,f=t.e,h=t.w,p=t.f,y=t.E,m=t.g,b=t.h,g=t.i,v=t.j,w=t.k},function(t){x=t.E,E=t.a},null,null,function(t){j=t.E,B=t.a},null,null,null,function(t){k=t._,_=t.i},function(t){q=t._},null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n=document.createElement("style");n.textContent=".slide-in-fwd-top[data-v-700abcda]{animation:slide-in-fwd-top-700abcda .4s cubic-bezier(.25,.46,.45,.94) both}.slide-out-right[data-v-700abcda]{animation:slide-out-right-700abcda .5s cubic-bezier(.55,.085,.68,.53) both}.slide-in-left[data-v-700abcda]{animation:slide-in-left-700abcda .5s cubic-bezier(.25,.46,.45,.94) both}@keyframes slide-in-fwd-top-700abcda{0%{transform:translateZ(-1400px) translateY(-800px);opacity:0}to{transform:translateZ(0) translateY(0);opacity:1}}@keyframes slide-out-right-700abcda{0%{transform:translate(0);opacity:1}to{transform:translate(1000px);opacity:0}}@keyframes slide-in-left-700abcda{0%{transform:translate(-1000px);opacity:0}to{transform:translate(0);opacity:1}}@media (max-width: 750px){.form[data-v-700abcda]{width:94vw!important;padding:0}}\n",document.head.appendChild(n);var L={class:"rounded-lg flex items-center justify-evenly w-full h-full relative bg-white md:w-screen md:h-screen md:bg-[#194bfb] overflow-hidden"},C={class:"rounded-md w-full h-full flex items-center justify-center overflow-hidden"},N={class:"text-lg"},A={class:"flex items-center justify-between mt-8"},V={style:{"text-align":"right"}},D=Object.assign({name:"Init"},{__name:"index",setup:function(r){var n=a(),q=o({showReadme:!1,showForm:!1}),D=function(){q.showReadme=!1,setTimeout((function(){q.showForm=!0}),20)},O=function(){window.open("https://www.gin-vue-admin.com/guide/start-quickly/env.html")},T=l(!1),P=o({dbType:"mysql",host:"127.0.0.1",port:"3306",userName:"root",password:"",dbName:"gva",dbPath:""}),G=function(t){switch(t){case"mysql":default:Object.assign(P,{dbType:"mysql",host:"127.0.0.1",port:"3306",userName:"root",password:"",dbName:"gva",dbPath:""});break;case"pgsql":Object.assign(P,{dbType:"pgsql",host:"127.0.0.1",port:"5432",userName:"postgres",password:"",dbName:"gva",dbPath:""});break;case"oracle":Object.assign(P,{dbType:"oracle",host:"127.0.0.1",port:"1521",userName:"oracle",password:"",dbName:"gva",dbPath:""});break;case"mssql":Object.assign(P,{dbType:"mssql",host:"127.0.0.1",port:"1433",userName:"mssql",password:"",dbName:"gva",dbPath:""});break;case"sqlite":Object.assign(P,{dbType:"sqlite",host:"",port:"",userName:"",password:"",dbName:"gva",dbPath:""})}},F=function(){var r,a=(r=t().mark((function e(){var r,a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=g.service({lock:!0,text:"正在初始化数据库,请稍候",spinner:"loading",background:"rgba(0, 0, 0, 0.7)"}),t.prev=1,t.next=4,_(P);case 4:0===(a=t.sent).code&&(T.value=!0,v({type:"success",message:a.msg}),n.push({name:"Login"})),r.close(),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(1),r.close();case 12:case"end":return t.stop()}}),e,null,[[1,9]])})),function(){var t=this,n=arguments;return new Promise((function(a,o){var l=r.apply(t,n);function i(t){e(l,a,o,i,s,"next",t)}function s(t){e(l,a,o,i,s,"throw",t)}i(void 0)}))});return function(){return a.apply(this,arguments)}}();return function(t,e){var r=y,n=j,a=B,o=E,l=w,g=x;return i(),s("div",L,[c("div",C,[e[11]||(e[11]=c("div",{class:"oblique h-[130%] w-3/5 bg-white transform -rotate-12 absolute -ml-80"},null,-1)),q.showForm?p("",!0):(i(),s("div",{key:0,class:u([q.showReadme?"slide-out-right":"slide-in-fwd-top"])},[c("div",N,[e[9]||(e[9]=d('
GIN-VUE-ADMIN

初始化须知

1.您需有用一定的VUE和GOLANG基础

2.请您确认是否已经阅读过官方文档 初始化视频

3.请您确认是否了解后续的配置流程

4.如果您使用mysql数据库,请确认数据库引擎为innoDB

注:开发组不为文档中书写过的内容提供无偿服务

',7)),c("p",A,[f(r,{type:"primary",size:"large",onClick:O},{default:h((function(){return e[7]||(e[7]=[m(" 阅读文档 ")])})),_:1}),f(r,{type:"primary",size:"large",onClick:D},{default:h((function(){return e[8]||(e[8]=[m(" 我已确认 ")])})),_:1})])])],2)),q.showForm?(i(),s("div",{key:1,class:u([[q.showForm?"slide-in-left":"slide-out-right"],"w-96"])},[f(g,{ref:"formRef",model:P,"label-width":"100px",size:"large"},{default:h((function(){return[f(o,{label:"数据库类型"},{default:h((function(){return[f(a,{modelValue:P.dbType,"onUpdate:modelValue":e[0]||(e[0]=function(t){return P.dbType=t}),placeholder:"请选择",class:"w-full",onChange:G},{default:h((function(){return[f(n,{key:"mysql",label:"mysql",value:"mysql"}),f(n,{key:"pgsql",label:"pgsql",value:"pgsql"}),f(n,{key:"oracle",label:"oracle",value:"oracle"}),f(n,{key:"mssql",label:"mssql",value:"mssql"}),f(n,{key:"sqlite",label:"sqlite",value:"sqlite"})]})),_:1},8,["modelValue"])]})),_:1}),"sqlite"!==P.dbType?(i(),b(o,{key:0,label:"host"},{default:h((function(){return[f(l,{modelValue:P.host,"onUpdate:modelValue":e[1]||(e[1]=function(t){return P.host=t}),placeholder:"请输入数据库链接"},null,8,["modelValue"])]})),_:1})):p("",!0),"sqlite"!==P.dbType?(i(),b(o,{key:1,label:"port"},{default:h((function(){return[f(l,{modelValue:P.port,"onUpdate:modelValue":e[2]||(e[2]=function(t){return P.port=t}),placeholder:"请输入数据库端口"},null,8,["modelValue"])]})),_:1})):p("",!0),"sqlite"!==P.dbType?(i(),b(o,{key:2,label:"userName"},{default:h((function(){return[f(l,{modelValue:P.userName,"onUpdate:modelValue":e[3]||(e[3]=function(t){return P.userName=t}),placeholder:"请输入数据库用户名"},null,8,["modelValue"])]})),_:1})):p("",!0),"sqlite"!==P.dbType?(i(),b(o,{key:3,label:"password"},{default:h((function(){return[f(l,{modelValue:P.password,"onUpdate:modelValue":e[4]||(e[4]=function(t){return P.password=t}),placeholder:"请输入数据库密码(没有则为空)"},null,8,["modelValue"])]})),_:1})):p("",!0),f(o,{label:"dbName"},{default:h((function(){return[f(l,{modelValue:P.dbName,"onUpdate:modelValue":e[5]||(e[5]=function(t){return P.dbName=t}),placeholder:"请输入数据库名称"},null,8,["modelValue"])]})),_:1}),"sqlite"===P.dbType?(i(),b(o,{key:4,label:"dbPath"},{default:h((function(){return[f(l,{modelValue:P.dbPath,"onUpdate:modelValue":e[6]||(e[6]=function(t){return P.dbPath=t}),placeholder:"请输入sqlite数据库文件存放路径"},null,8,["modelValue"])]})),_:1})):p("",!0),f(o,null,{default:h((function(){return[c("div",V,[f(r,{type:"primary",onClick:F},{default:h((function(){return e[10]||(e[10]=[m("立即初始化")])})),_:1})])]})),_:1})]})),_:1},8,["model"])],2)):p("",!0)]),e[12]||(e[12]=c("div",{class:"hidden md:block w-1/2 h-full float-right bg-[#194bfb]"},[c("img",{class:"h-full",src:k,alt:"banner"})],-1))])}}});r("default",q(D,[["__scopeId","data-v-700abcda"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy20.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy20.js new file mode 100644 index 000000000..04e96aeee --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy20.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw a}}}}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],l=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){f=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2]?arguments[2]:{}).checkForDefaultPrevented,r=void 0===n||n;return function(n){var o=null==e?void 0:e(n);if(!1===r||!o)return null==t?void 0:t(n)}})),ge=(r("w",(function(e){return function(t){return"mouse"===t.pointerType?e(t):void 0}})),i({type:l(Boolean),default:null})),me=i({type:l(Function)}),ye=function(e){var t="update:".concat(e),n="onUpdate:".concat(e),r=[t];return{useModelToggle:function(r){var o=r.indicator,i=r.toggleReason,u=r.shouldHideWhenRouteChanges,l=r.shouldProceed,m=r.onShow,y=r.onHide,b=d(),h=b.emit,w=b.props,x=f((function(){return s(w[n])})),O=f((function(){return null===w[e]})),A=function(e){!0!==o.value&&(o.value=!0,i&&(i.value=e),s(m)&&m(e))},E=function(e){!1!==o.value&&(o.value=!1,i&&(i.value=e),s(y)&&y(e))},R=function(e){if(!0!==w.disabled&&(!s(l)||l())){var n=x.value&&v;n&&h(t,!0),!O.value&&n||A(e)}},S=function(e){if(!0!==w.disabled&&v){var n=x.value&&v;n&&h(t,!1),!O.value&&n||E(e)}},j=function(e){g(e)&&(w.disabled&&e?x.value&&h(t,!1):o.value!==e&&(e?A():E()))};return c((function(){return w[e]}),j),u&&void 0!==b.appContext.config.globalProperties.$route&&c((function(){return a({},b.proxy.$route)}),(function(){u.value&&o.value&&S()})),p((function(){j(w[e])})),{hide:S,show:R,toggle:function(){o.value?S():R()},hasUpdateHandler:x}},useModelToggleProps:u(u({},e,ge),n,me),useModelToggleEmits:r}};ye("modelValue");var be="top",he="bottom",we="right",xe="left",Oe="auto",Ae=[be,he,we,xe],Ee="start",Re="end",Se="viewport",je="popper",Te=Ae.reduce((function(e,t){return e.concat([t+"-"+Ee,t+"-"+Re])}),[]),Ce=r("E",[].concat(Ae,[Oe]).reduce((function(e,t){return e.concat([t,t+"-"+Ee,t+"-"+Re])}),[])),Pe=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ke(e){return e?(e.nodeName||"").toLowerCase():null}function Be(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Me(e){return e instanceof Be(e).Element||e instanceof Element}function Fe(e){return e instanceof Be(e).HTMLElement||e instanceof HTMLElement}function De(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Be(e).ShadowRoot||e instanceof ShadowRoot)}var Le={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!Fe(o)||!ke(o)||(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});!Fe(r)||!ke(r)||(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ie(e){return e.split("-")[0]}var _e=Math.max,He=Math.min,We=Math.round;function qe(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Fe(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=We(n.width)/a||1),i>0&&(o=We(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ze(e){var t=qe(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function $e(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&De(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ne(e){return Be(e).getComputedStyle(e)}function Ue(e){return["table","td","th"].indexOf(ke(e))>=0}function Ve(e){return((Me(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ke(e){return"html"===ke(e)?e:e.assignedSlot||e.parentNode||(De(e)?e.host:null)||Ve(e)}function Ze(e){return Fe(e)&&"fixed"!==Ne(e).position?e.offsetParent:null}function Xe(e){for(var t=Be(e),n=Ze(e);n&&Ue(n)&&"static"===Ne(n).position;)n=Ze(n);return n&&("html"===ke(n)||"body"===ke(n)&&"static"===Ne(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Fe(e)&&"fixed"===Ne(e).position)return null;var n=Ke(e);for(De(n)&&(n=n.host);Fe(n)&&["html","body"].indexOf(ke(n))<0;){var r=Ne(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Ye(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ge(e,t,n){return _e(e,He(t,n))}function Qe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Je(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var et={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,u=Ie(n.placement),l=Ye(u),f=[xe,we].indexOf(u)>=0?"height":"width";if(i&&a){var s=function(e,t){return Qe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Je(e,Ae))}(o.padding,n),c=ze(i),p="y"===l?be:xe,d="y"===l?he:we,v=n.rects.reference[f]+n.rects.reference[l]-a[l]-n.rects.popper[f],g=a[l]-n.rects.reference[l],m=Xe(i),y=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=v/2-g/2,h=s[p],w=y-c[f]-s[d],x=y/2-c[f]/2+b,O=Ge(h,x,w),A=l;n.modifiersData[r]=((t={})[A]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"==typeof r&&!(r=t.elements.popper.querySelector(r))||!$e(t.elements.popper,r)||(t.elements.arrow=r))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function tt(e){return e.split("-")[1]}var nt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rt(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,u=e.position,l=e.gpuAcceleration,f=e.adaptive,s=e.roundOffsets,c=e.isFixed,p=a.x,d=void 0===p?0:p,v=a.y,g=void 0===v?0:v,m="function"==typeof s?s({x:d,y:g}):{x:d,y:g};d=m.x,g=m.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),h=xe,w=be,x=window;if(f){var O=Xe(n),A="clientHeight",E="clientWidth";if(O===Be(n)&&("static"!==Ne(O=Ve(n)).position&&"absolute"===u&&(A="scrollHeight",E="scrollWidth")),o===be||(o===xe||o===we)&&i===Re)w=he,g-=(c&&O===x&&x.visualViewport?x.visualViewport.height:O[A])-r.height,g*=l?1:-1;if(o===xe||(o===be||o===he)&&i===Re)h=we,d-=(c&&O===x&&x.visualViewport?x.visualViewport.width:O[E])-r.width,d*=l?1:-1}var R,S=Object.assign({position:u},f&&nt),j=!0===s?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:We(t*r)/r||0,y:We(n*r)/r||0}}({x:d,y:g}):{x:d,y:g};return d=j.x,g=j.y,l?Object.assign({},S,((R={})[w]=b?"0":"",R[h]=y?"0":"",R.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",R)):Object.assign({},S,((t={})[w]=b?g+"px":"",t[h]=y?d+"px":"",t.transform="",t))}var ot={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,u=n.roundOffsets,l=void 0===u||u,f={placement:Ie(t.placement),variation:tt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,rt(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,rt(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},it={passive:!0};var at={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,l=Be(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach((function(e){e.addEventListener("scroll",n.update,it)})),u&&l.addEventListener("resize",n.update,it),function(){i&&f.forEach((function(e){e.removeEventListener("scroll",n.update,it)})),u&&l.removeEventListener("resize",n.update,it)}},data:{}},ut={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(e){return e.replace(/left|right|bottom|top/g,(function(e){return ut[e]}))}var ft={start:"end",end:"start"};function st(e){return e.replace(/start|end/g,(function(e){return ft[e]}))}function ct(e){var t=Be(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pt(e){return qe(Ve(e)).left+ct(e).scrollLeft}function dt(e){var t=Ne(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function vt(e){return["html","body","#document"].indexOf(ke(e))>=0?e.ownerDocument.body:Fe(e)&&dt(e)?e:vt(Ke(e))}function gt(e,t){var n;void 0===t&&(t=[]);var r=vt(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Be(r),a=o?[i].concat(i.visualViewport||[],dt(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(gt(Ke(a)))}function mt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function yt(e,t){return t===Se?mt(function(e){var t=Be(e),n=Ve(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+pt(e),y:u}}(e)):Me(t)?function(e){var t=qe(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):mt(function(e){var t,n=Ve(e),r=ct(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=_e(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=_e(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+pt(e),l=-r.scrollTop;return"rtl"===Ne(o||n).direction&&(u+=_e(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:l}}(Ve(e)))}function bt(e,t,n){var r="clippingParents"===t?function(e){var t=gt(Ke(e)),n=["absolute","fixed"].indexOf(Ne(e).position)>=0&&Fe(e)?Xe(e):e;return Me(n)?t.filter((function(e){return Me(e)&&$e(e,n)&&"body"!==ke(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=yt(e,n);return t.top=_e(r.top,t.top),t.right=He(r.right,t.right),t.bottom=He(r.bottom,t.bottom),t.left=_e(r.left,t.left),t}),yt(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ht(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Ie(o):null,a=o?tt(o):null,u=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case be:t={x:u,y:n.y-r.height};break;case he:t={x:u,y:n.y+n.height};break;case we:t={x:n.x+n.width,y:l};break;case xe:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var f=i?Ye(i):null;if(null!=f){var s="y"===f?"height":"width";switch(a){case Ee:t[f]=t[f]-(n[s]/2-r[s]/2);break;case Re:t[f]=t[f]+(n[s]/2-r[s]/2)}}return t}function wt(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,u=n.rootBoundary,l=void 0===u?Se:u,f=n.elementContext,s=void 0===f?je:f,c=n.altBoundary,p=void 0!==c&&c,d=n.padding,v=void 0===d?0:d,g=Qe("number"!=typeof v?v:Je(v,Ae)),m=s===je?"reference":je,y=e.rects.popper,b=e.elements[p?m:s],h=bt(Me(b)?b:b.contextElement||Ve(e.elements.popper),a,l),w=qe(e.elements.reference),x=ht({reference:w,element:y,strategy:"absolute",placement:o}),O=mt(Object.assign({},y,x)),A=s===je?O:w,E={top:h.top-A.top+g.top,bottom:A.bottom-h.bottom+g.bottom,left:h.left-A.left+g.left,right:A.right-h.right+g.right},R=e.modifiersData.offset;if(s===je&&R){var S=R[o];Object.keys(E).forEach((function(e){var t=[we,he].indexOf(e)>=0?1:-1,n=[be,he].indexOf(e)>=0?"y":"x";E[e]+=S[n]*t}))}return E}var xt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0===a||a,l=n.fallbackPlacements,f=n.padding,s=n.boundary,c=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,v=void 0===d||d,g=n.allowedAutoPlacements,m=t.options.placement,y=Ie(m),b=l||(y===m||!v?[lt(m)]:function(e){if(Ie(e)===Oe)return[];var t=lt(e);return[st(e),t,st(t)]}(m)),h=[m].concat(b).reduce((function(e,n){return e.concat(Ie(n)===Oe?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,u=n.flipVariations,l=n.allowedAutoPlacements,f=void 0===l?Ce:l,s=tt(r),c=s?u?Te:Te.filter((function(e){return tt(e)===s})):Ae,p=c.filter((function(e){return f.indexOf(e)>=0}));0===p.length&&(p=c);var d=p.reduce((function(t,n){return t[n]=wt(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Ie(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:s,rootBoundary:c,padding:f,flipVariations:v,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,A=!0,E=h[0],R=0;R=0,P=C?"width":"height",k=wt(t,{placement:S,boundary:s,rootBoundary:c,altBoundary:p,padding:f}),B=C?T?we:xe:T?he:be;w[P]>x[P]&&(B=lt(B));var M=lt(B),F=[];if(i&&F.push(k[j]<=0),u&&F.push(k[B]<=0,k[M]<=0),F.every((function(e){return e}))){E=S,A=!1;break}O.set(S,F)}if(A)for(var D=function(e){var t=h.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},L=v?3:1;L>0;L--){if("break"===D(L))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ot(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function At(e){return[be,we,he,xe].some((function(t){return e[t]>=0}))}var Et={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=wt(t,{elementContext:"reference"}),u=wt(t,{altBoundary:!0}),l=Ot(a,r),f=Ot(u,o,i),s=At(l),c=At(f);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:f,isReferenceHidden:s,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":c})}};var Rt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Ce.reduce((function(e,n){return e[n]=function(e,t,n){var r=Ie(e),o=[xe,be].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],u=i[1];return a=a||0,u=(u||0)*o,[xe,we].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}(n,t.rects,i),e}),{}),u=a[t.placement],l=u.x,f=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=a}};var St={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ht({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var jt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0!==a&&a,l=n.boundary,f=n.rootBoundary,s=n.altBoundary,c=n.padding,p=n.tether,d=void 0===p||p,v=n.tetherOffset,g=void 0===v?0:v,m=wt(t,{boundary:l,rootBoundary:f,padding:c,altBoundary:s}),y=Ie(t.placement),b=tt(t.placement),h=!b,w=Ye(y),x=function(e){return"x"===e?"y":"x"}(w),O=t.modifiersData.popperOffsets,A=t.rects.reference,E=t.rects.popper,R="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,S="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(O){if(i){var C,P="y"===w?be:xe,k="y"===w?he:we,B="y"===w?"height":"width",M=O[w],F=M+m[P],D=M-m[k],L=d?-E[B]/2:0,I=b===Ee?A[B]:E[B],_=b===Ee?-E[B]:-A[B],H=t.elements.arrow,W=d&&H?ze(H):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=q[P],$=q[k],N=Ge(0,A[B],W[B]),U=h?A[B]/2-L-N-z-S.mainAxis:I-N-z-S.mainAxis,V=h?-A[B]/2+L+N+$+S.mainAxis:_+N+$+S.mainAxis,K=t.elements.arrow&&Xe(t.elements.arrow),Z=K?"y"===w?K.clientTop||0:K.clientLeft||0:0,X=null!=(C=null==j?void 0:j[w])?C:0,Y=M+V-X,G=Ge(d?He(F,M+U-X-Z):F,M,d?_e(D,Y):D);O[w]=G,T[w]=G-M}if(u){var Q,J="x"===w?be:xe,ee="x"===w?he:we,te=O[x],ne="y"===x?"height":"width",re=te+m[J],oe=te-m[ee],ie=-1!==[be,xe].indexOf(y),ae=null!=(Q=null==j?void 0:j[x])?Q:0,ue=ie?re:te-A[ne]-E[ne]-ae+S.altAxis,le=ie?te+A[ne]+E[ne]-ae-S.altAxis:oe,fe=d&&ie?function(e,t,n){var r=Ge(e,t,n);return r>n?n:r}(ue,te,le):Ge(d?ue:re,te,d?le:oe);O[x]=fe,T[x]=fe-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]};function Tt(e,t,n){void 0===n&&(n=!1);var r=Fe(t),o=Fe(t)&&function(e){var t=e.getBoundingClientRect(),n=We(t.width)/e.offsetWidth||1,r=We(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Ve(t),a=qe(e,o),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==ke(t)||dt(i))&&(u=function(e){return e!==Be(e)&&Fe(e)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):ct(e)}(t)),Fe(t)?((l=qe(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=pt(i))),{x:a.left+u.scrollLeft-l.x,y:a.top+u.scrollTop-l.y,width:a.width,height:a.height}}function Ct(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Pt(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Bt(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{},i={name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=function(e){var t=Object.keys(e.elements),n=w(t.map((function(t){return[t,e.styles[t]||{}]}))),r=w(t.map((function(t){return[t,e.attributes[t]]})));return{styles:n,attributes:r}}(e.state);Object.assign(s.value,t)},requires:["computeStyles"]},u=f((function(){var e=m(o),t=e.onFirstUpdate,r=e.placement,a=e.strategy,u=e.modifiers;return{onFirstUpdate:t,placement:r||"bottom",strategy:a||"absolute",modifiers:[].concat(n(u||[]),[i,{name:"applyStyles",enabled:!1}])}})),l=y(),s=b({styles:{popper:{position:m(u).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),p=function(){l.value&&(l.value.destroy(),l.value=void 0)};return c(u,(function(e){var t=m(l);t&&t.setOptions(e)}),{deep:!0}),c([e,r],(function(e){var n=t(e,2),r=n[0],o=n[1];p(),r&&o&&(l.value=Ft(r,o,m(u)))})),h((function(){p()})),{state:f((function(){var e;return a({},(null==(e=m(l))?void 0:e.state)||{})})),styles:f((function(){return m(s).styles})),attributes:f((function(){return m(s).attributes})),update:function(){var e;return null==(e=m(l))?void 0:e.update()},forceUpdate:function(){var e;return null==(e=m(l))?void 0:e.forceUpdate()},instanceRef:f((function(){return m(l)}))}};function Lt(){var e,t=function(){return window.clearTimeout(e)};return x((function(){return t()})),{registerTimeout:function(n,r){t(),e=window.setTimeout(n,r)},cancelTimeout:t}}var It=function(){var e=A(),t=E(),n=f((function(){return"".concat(e.value,"-popper-container-").concat(t.prefix)})),r=f((function(){return"#".concat(n.value)}));return{id:n,selector:r}},_t=function(){var e=It(),t=e.id,n=e.selector;return O((function(){v&&(document.body.querySelector(n.value)||function(e){var t=document.createElement("div");t.id=e,document.body.appendChild(t)}(t.value))})),{id:t,selector:n}},Ht=R({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Wt=Symbol("elForwardRef"),qt=Symbol("popper"),zt=Symbol("popperContent"),$t=R({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),Nt=T({name:"ElPopper",inheritAttrs:!1}),Ut=T(a(a({},Nt),{},{props:$t,setup:function(e,t){var n=t.expose,r=e,o={triggerRef:b(),popperInstanceRef:b(),contentRef:b(),referenceRef:b(),role:f((function(){return r.role}))};return n(o),j(qt,o),function(e,t){return C(e.$slots,"default")}}})),Vt=P(Ut,[["__file","popper.vue"]]),Kt=R({arrowOffset:{type:Number,default:5}}),Zt=T({name:"ElPopperArrow",inheritAttrs:!1}),Xt=T(a(a({},Zt),{},{props:Kt,setup:function(e,t){var n=t.expose,r=e,o=k("popper"),i=B(zt,void 0),a=i.arrowOffset,u=i.arrowRef,l=i.arrowStyle;return c((function(){return r.arrowOffset}),(function(e){a.value=e})),h((function(){u.value=void 0})),n({arrowRef:u}),function(e,t){return M(),F("span",{ref_key:"arrowRef",ref:u,class:D(m(o).e("arrow")),style:L(m(l)),"data-popper-arrow":""},null,6)}}})),Yt=P(Xt,[["__file","arrow.vue"]]),Gt=r("O",T({name:"ElOnlyChild",setup:function(e,t){var n,r,o=t.slots,i=t.attrs,a=B(Wt),u=(r=null!=(n=null==a?void 0:a.setForwardRef)?n:I,{mounted:function(e){r(e)},updated:function(e){r(e)},unmounted:function(){r(null)}});return function(){var e,t=null==(e=o.default)?void 0:e.call(o,i);if(!t)return null;if(t.length>1)return null;var n=Qt(t);return n?_(H(n,i),[[u]]):null}}}));function Qt(t){if(!t)return null;var n,r=e(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(W(o))switch(o.type){case $:continue;case z:case"svg":return Jt(o);case q:return Qt(o.children);default:return o}return Jt(o)}}catch(i){r.e(i)}finally{r.f()}return null}function Jt(e){var t=k("only-child");return N("span",{class:t.e("content")},[e])}var en=R({virtualRef:{type:l(Object)},virtualTriggering:Boolean,onMouseenter:{type:l(Function)},onMouseleave:{type:l(Function)},onClick:{type:l(Function)},onKeydown:{type:l(Function)},onFocus:{type:l(Function)},onBlur:{type:l(Function)},onContextmenu:{type:l(Function)},id:String,open:Boolean}),tn=T({name:"ElPopperTrigger",inheritAttrs:!1}),nn=T(a(a({},tn),{},{props:en,setup:function(e,t){var n,r=t.expose,o=e,i=B(qt,void 0),a=i.role,u=i.triggerRef;n=u,j(Wt,{setForwardRef:function(e){n.value=e}});var l=f((function(){return d.value?o.id:void 0})),s=f((function(){if(a&&"tooltip"===a.value)return o.open&&o.id?o.id:void 0})),d=f((function(){if(a&&"tooltip"!==a.value)return a.value})),v=f((function(){return d.value?"".concat(o.open):void 0})),g=void 0,y=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return p((function(){c((function(){return o.virtualRef}),(function(e){e&&(u.value=U(e))}),{immediate:!0}),c(u,(function(e,t){null==g||g(),g=void 0,V(e)&&(y.forEach((function(n){var r,i=o[n];i&&(e.addEventListener(n.slice(2).toLowerCase(),i),null==(r=null==t?void 0:t.removeEventListener)||r.call(t,n.slice(2).toLowerCase(),i))})),g=c([l,s,d,v],(function(t){["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((function(n,r){K(t[r])?e.removeAttribute(n):e.setAttribute(n,t[r])}))}),{immediate:!0})),V(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((function(e){return t.removeAttribute(e)}))}),{immediate:!0})})),h((function(){if(null==g||g(),g=void 0,u.value&&V(u.value)){var e=u.value;y.forEach((function(t){var n=o[t];n&&e.removeEventListener(t.slice(2).toLowerCase(),n)})),u.value=void 0}})),r({triggerRef:u}),function(e,t){return e.virtualTriggering?G("v-if",!0):(M(),Z(m(Gt),Y({key:0},e.$attrs,{"aria-controls":m(l),"aria-describedby":m(s),"aria-expanded":m(v),"aria-haspopup":m(d)}),{default:X((function(){return[C(e.$slots,"default")]})),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}})),rn=P(nn,[["__file","trigger.vue"]]),on=R({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:l(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ce,default:"bottom"},popperOptions:{type:l(Object),default:function(){return{}}},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),an=R(a(a({},on),{},{id:String,style:{type:l([String,Array,Object])},className:{type:l([String,Array,Object])},effect:{type:l(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:l([String,Array,Object])},popperStyle:{type:l([String,Array,Object])},referenceEl:{type:l(Object)},triggerTargetEl:{type:l(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number},Q(["ariaLabel"]))),un={mouseenter:function(e){return e instanceof MouseEvent},mouseleave:function(e){return e instanceof MouseEvent},focus:function(){return!0},blur:function(){return!0},close:function(){return!0}},ln=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.placement,o=e.strategy,i=e.popperOptions,u=a(a({placement:r,strategy:o},i),{},{modifiers:[].concat(n(fn(e)),n(t))});return function(e,t){t&&(e.modifiers=[].concat(n(e.modifiers),n(null!=t?t:[])))}(u,null==i?void 0:i.modifiers),u};function fn(e){var t=e.offset,n=e.gpuAcceleration;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:e.fallbackPlacements}},{name:"computeStyles",options:{gpuAcceleration:n}}]}var sn,cn=function(e){var t=B(qt,void 0),n=t.popperInstanceRef,r=t.contentRef,o=t.triggerRef,i=t.role,u=b(),l=b(),s=f((function(){return{name:"eventListeners",enabled:!!e.visible}})),d=f((function(){var e,t=m(u),n=null!=(e=m(l))?e:0;return{name:"arrow",enabled:!de(t),options:{element:t,padding:n}}})),g=f((function(){return a({onFirstUpdate:function(){A()}},ln(e,[m(d),m(s)]))})),y=f((function(){return function(e){if(v)return U(e)}(e.referenceEl)||m(o)})),h=Dt(y,r,g),w=h.attributes,x=h.state,O=h.styles,A=h.update,E=h.forceUpdate,R=h.instanceRef;return c(R,(function(e){return n.value=e})),p((function(){c((function(){var e;return null==(e=m(y))?void 0:e.getBoundingClientRect()}),(function(){A()}))})),{attributes:w,arrowRef:u,contentRef:r,instanceRef:R,state:x,styles:O,role:i,forceUpdate:E,update:A}},pn=T({name:"ElPopperContent"}),dn=T(a(a({},pn),{},{props:an,emits:un,setup:function(e,t){var n=t.expose,r=t.emit,o=e,i=function(e,t){var n=b(!1),r=b();return{focusStartRef:r,trapped:n,onFocusAfterReleased:function(e){var n;"pointer"!==(null==(n=e.detail)?void 0:n.focusReason)&&(r.value="first",t("blur"))},onFocusAfterTrapped:function(){t("focus")},onFocusInTrap:function(t){e.visible&&!n.value&&(t.target&&(r.value=t.target),n.value=!0)},onFocusoutPrevented:function(t){e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),n.value=!1)},onReleaseRequested:function(){n.value=!1,t("close")}}}(o,r),u=i.focusStartRef,l=i.trapped,s=i.onFocusAfterReleased,d=i.onFocusAfterTrapped,v=i.onFocusInTrap,g=i.onFocusoutPrevented,y=i.onReleaseRequested,w=cn(o),x=w.attributes,O=w.arrowRef,A=w.contentRef,E=w.styles,R=w.instanceRef,T=w.role,P=w.update,D=function(e,t){var n=t.attributes,r=t.styles,o=t.role,i=J().nextZIndex,a=k("popper"),u=f((function(){return m(n).popper})),l=b(S(e.zIndex)?e.zIndex:i()),s=f((function(){return[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass]})),c=f((function(){return[{zIndex:m(l)},m(r).popper,e.popperStyle||{}]}));return{ariaModal:f((function(){return"dialog"===o.value?"false":void 0})),arrowStyle:f((function(){return m(r).arrow||{}})),contentAttrs:u,contentClass:s,contentStyle:c,contentZIndex:l,updateZIndex:function(){l.value=S(e.zIndex)?e.zIndex:i()}}}(o,{styles:E,attributes:x,role:T}),L=D.ariaModal,_=D.arrowStyle,H=D.contentAttrs,W=D.contentClass,q=D.contentStyle,z=D.updateZIndex,$=B(ee,void 0),U=b();j(zt,{arrowStyle:_,arrowRef:O,arrowOffset:U}),$&&j(ee,a(a({},$),{},{addInputId:I,removeInputId:I}));var Z=void 0,G=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];P(),e&&z()},Q=function(){G(!1),o.visible&&o.focusOnShow?l.value=!0:!1===o.visible&&(l.value=!1)};return p((function(){c((function(){return o.triggerTargetEl}),(function(e,t){null==Z||Z(),Z=void 0;var n=m(e||A.value),r=m(t||A.value);V(n)&&(Z=c([T,function(){return o.ariaLabel},L,function(){return o.id}],(function(e){["role","aria-label","aria-modal","id"].forEach((function(t,r){K(e[r])?n.removeAttribute(t):n.setAttribute(t,e[r])}))}),{immediate:!0})),r!==n&&V(r)&&["role","aria-label","aria-modal","id"].forEach((function(e){r.removeAttribute(e)}))}),{immediate:!0}),c((function(){return o.visible}),Q,{immediate:!0})})),h((function(){null==Z||Z(),Z=void 0})),n({popperContentRef:A,popperInstanceRef:R,updatePopper:G,contentStyle:q}),function(e,t){return M(),F("div",Y({ref_key:"contentRef",ref:A},m(H),{style:m(q),class:m(W),tabindex:"-1",onMouseenter:function(t){return e.$emit("mouseenter",t)},onMouseleave:function(t){return e.$emit("mouseleave",t)}}),[N(m(te),{trapped:m(l),"trap-on-focus-in":!0,"focus-trap-el":m(A),"focus-start-el":m(u),onFocusAfterTrapped:m(d),onFocusAfterReleased:m(s),onFocusin:m(v),onFocusoutPrevented:m(g),onReleaseRequested:m(y)},{default:X((function(){return[C(e.$slots,"default")]})),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"])}}})),vn=P(dn,[["__file","content.vue"]]),gn=ne(Vt),mn=r("T",Symbol("elTooltip")),yn=r("u",R(a(a(a({},Ht),an),{},{appendTo:{type:l([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:l(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean},Q(["ariaLabel"])))),bn=r("b",R(a(a({},en),{},{disabled:Boolean,trigger:{type:l([String,Array]),default:"hover"},triggerKeys:{type:l(Array),default:function(){return[re.enter,re.space]}}}))),hn=ye("visible"),wn=hn.useModelToggleProps,xn=hn.useModelToggleEmits,On=hn.useModelToggle,An=R(a(a(a(a(a(a({},$t),wn),yn),bn),Kt),{},{showArrow:{type:Boolean,default:!0}})),En=[].concat(n(xn),["before-show","before-hide","show","hide","open","close"]),Rn=function(e,t,n){return function(r){(function(e,t){return oe(e)?e.includes(t):e===t})(m(e),t)&&n(r)}},Sn=T({name:"ElTooltipTrigger"}),jn=T(a(a({},Sn),{},{props:bn,setup:function(e,t){var n=t.expose,r=e,i=k("tooltip"),a=B(mn,void 0),u=a.controlled,l=a.id,f=a.open,s=a.onOpen,c=a.onClose,p=a.onToggle,d=b(null),v=function(){if(m(u)||r.disabled)return!0},g=ie(r,"trigger"),y=o(v,Rn(g,"hover",s)),h=o(v,Rn(g,"hover",c)),w=o(v,Rn(g,"click",(function(e){0===e.button&&p(e)}))),x=o(v,Rn(g,"focus",s)),O=o(v,Rn(g,"focus",c)),A=o(v,Rn(g,"contextmenu",(function(e){e.preventDefault(),p(e)}))),E=o(v,(function(e){var t=e.code;r.triggerKeys.includes(t)&&(e.preventDefault(),p(e))}));return n({triggerRef:d}),function(e,t){return M(),Z(m(rn),{id:m(l),"virtual-ref":e.virtualRef,open:m(f),"virtual-triggering":e.virtualTriggering,class:D(m(i).e("trigger")),onBlur:m(O),onClick:m(w),onContextmenu:m(A),onFocus:m(x),onMouseenter:m(y),onMouseleave:m(h),onKeydown:m(E)},{default:X((function(){return[C(e.$slots,"default")]})),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"])}}})),Tn=P(jn,[["__file","trigger.vue"]]),Cn=T({name:"ElTooltipContent",inheritAttrs:!1}),Pn=T(a(a({},Cn),{},{props:yn,setup:function(e,t){var n,r=t.expose,i=e,a=It().selector,u=k("tooltip"),l=b(null),s=B(mn,void 0),p=s.controlled,d=s.id,v=s.open,g=s.trigger,y=s.onClose,w=s.onOpen,x=s.onShow,O=s.onHide,A=s.onBeforeShow,E=s.onBeforeHide,R=f((function(){return i.transition||"".concat(u.namespace.value,"-fade-in-linear")})),S=f((function(){return i.persistent}));h((function(){null==n||n()}));var j=f((function(){return!!m(S)||m(v)})),T=f((function(){return!i.disabled&&m(v)})),P=f((function(){return i.appendTo||a.value})),F=f((function(){var e;return null!=(e=i.style)?e:{}})),D=b(!0),L=function(){O(),D.value=!0},I=function(){if(m(p))return!0},H=o(I,(function(){i.enterable&&"hover"===m(g)&&w()})),W=o(I,(function(){"hover"===m(g)&&y()})),q=function(){var e,t;null==(t=null==(e=l.value)?void 0:e.updatePopper)||t.call(e),null==A||A()},z=function(){null==E||E()},$=function(){x(),n=le(f((function(){var e;return null==(e=l.value)?void 0:e.popperContentRef})),(function(){m(p)||"hover"!==m(g)&&y()}))},U=function(){i.virtualTriggering||y()};return c((function(){return m(v)}),(function(e){e?D.value=!1:null==n||n()}),{flush:"post"}),c((function(){return i.content}),(function(){var e,t;null==(t=null==(e=l.value)?void 0:e.updatePopper)||t.call(e)})),r({contentRef:l}),function(e,t){return M(),Z(m(ve),{disabled:!e.teleported,to:m(P)},{default:X((function(){return[N(ae,{name:m(R),onAfterLeave:L,onBeforeEnter:q,onAfterEnter:$,onBeforeLeave:z},{default:X((function(){return[m(j)?_((M(),Z(m(vn),Y({key:0,id:m(d),ref_key:"contentRef",ref:l},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":D.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,m(F)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:m(T),"z-index":e.zIndex,onMouseenter:m(H),onMouseleave:m(W),onBlur:U,onClose:m(y)}),{default:X((function(){return[C(e.$slots,"default")]})),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[ue,m(T)]]):G("v-if",!0)]})),_:3},8,["name"])]})),_:3},8,["disabled","to"])}}})),kn=P(Pn,[["__file","content.vue"]]),Bn=T({name:"ElTooltip"}),Mn=T(a(a({},Bn),{},{props:An,emits:En,setup:function(e,t){var n=t.expose,r=t.emit,o=e;_t();var i=fe(),a=b(),u=b(),l=function(){var e,t=m(a);t&&(null==(e=t.popperInstanceRef)||e.update())},s=b(!1),p=b(),d=On({indicator:s,toggleReason:p}),v=d.show,y=d.hide,h=d.hasUpdateHandler,w=function(e){var t=e.showAfter,n=e.hideAfter,r=e.autoClose,o=e.open,i=e.close,a=Lt().registerTimeout,u=Lt(),l=u.registerTimeout,f=u.cancelTimeout;return{onOpen:function(e){a((function(){o(e);var t=m(r);S(t)&&t>0&&l((function(){i(e)}),t)}),m(t))},onClose:function(e){f(),a((function(){i(e)}),m(n))}}}({showAfter:ie(o,"showAfter"),hideAfter:ie(o,"hideAfter"),autoClose:ie(o,"autoClose"),open:v,close:y}),x=w.onOpen,O=w.onClose,A=f((function(){return g(o.visible)&&!h.value}));j(mn,{controlled:A,id:i,open:se(s),trigger:ie(o,"trigger"),onOpen:function(e){x(e)},onClose:function(e){O(e)},onToggle:function(e){m(s)?O(e):x(e)},onShow:function(){r("show",p.value)},onHide:function(){r("hide",p.value)},onBeforeShow:function(){r("before-show",p.value)},onBeforeHide:function(){r("before-hide",p.value)},updatePopper:l}),c((function(){return o.disabled}),(function(e){e&&s.value&&(s.value=!1)}));return ce((function(){return s.value&&y()})),n({popperRef:a,contentRef:u,isFocusInsideContent:function(e){var t,n,r=null==(n=null==(t=u.value)?void 0:t.contentRef)?void 0:n.popperContentRef,o=(null==e?void 0:e.relatedTarget)||document.activeElement;return r&&r.contains(o)},updatePopper:l,onOpen:x,onClose:O,hide:y}),function(e,t){return M(),Z(m(gn),{ref_key:"popperRef",ref:a,role:e.role},{default:X((function(){return[N(Tn,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:X((function(){return[e.$slots.default?C(e.$slots,"default",{key:0}):G("v-if",!0)]})),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),N(kn,{ref_key:"contentRef",ref:u,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:X((function(){return[C(e.$slots,"content",{},(function(){return[e.rawContent?(M(),F("span",{key:0,innerHTML:e.content},null,8,["innerHTML"])):(M(),F("span",{key:1},pe(e.content),1))]})),e.showArrow?(M(),Z(m(Yt),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):G("v-if",!0)]})),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]})),_:3},8,["role"])}}})),Fn=(r("a",ne(P(Mn,[["__file","tooltip.vue"]]))),new Map);v&&(document.addEventListener("mousedown",(function(e){return sn=e})),document.addEventListener("mouseup",(function(t){if(sn){var n,r=e(Fn.values());try{for(r.s();!(n=r.n()).done;){var o,i=e(n.value);try{for(i.s();!(o=i.n()).done;){(0,o.value.documentHandler)(t,sn)}}catch(a){i.e(a)}finally{i.f()}}}catch(a){r.e(a)}finally{r.f()}sn=void 0}})));function Dn(e,t){var n=[];return Array.isArray(t.arg)?n=t.arg:V(t.arg)&&n.push(t.arg),function(r,o){var i=t.instance.popperRef,a=r.target,u=null==o?void 0:o.target,l=!t||!t.instance,f=!a||!u,s=e.contains(a)||e.contains(u),c=e===a,p=n.length&&n.some((function(e){return null==e?void 0:e.contains(a)}))||n.length&&n.includes(u),d=i&&(i.contains(a)||i.contains(u));l||f||s||c||p||d||t.value(r,o)}}r("C",{beforeMount:function(e,t){Fn.has(e)||Fn.set(e,[]),Fn.get(e).push({documentHandler:Dn(e,t),bindingFn:t.value})},updated:function(e,t){Fn.has(e)||Fn.set(e,[]);var n=Fn.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:Dn(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){Fn.delete(e)}})}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy21.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy21.js new file mode 100644 index 000000000..0e2a3062e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy21.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var n,r,o,u,i,s,c,l,a;return{setters:[function(e){n=e.A,r=e.$,o=e._,u=e.q,i=e.z,s=e.o,c=e.h,l=e.c2,a=e.I}],execute:function(){e("i",(function(e){return void 0===e}));var t=n({to:{type:r([String,Object]),required:!0},disabled:Boolean});e("E",a(o(u({__name:"teleport",props:t,setup:function(e){return function(e,t){return e.disabled?i(e.$slots,"default",{key:0}):(s(),c(l,{key:1,to:e.to},[i(e.$slots,"default")],8,["to"]))}}}),[["__file","teleport.vue"]])))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy22.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy22.js new file mode 100644 index 000000000..82aa9d73c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy22.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r18),a&&(n.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r);var o,a,s=r,l="sans-serif",u="12px "+l,h=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)s=r*t.length;else for(var l=0;l>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,o),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?Wt(s,a):Wt(a,s))}(a,o,r);if(l)return l(t,n,i),!0}return!1}function Ut(t){return"CANVAS"===t.nodeName.toUpperCase()}var Zt=/([&<>"'])/g,jt={"&":"&","<":"<",">":">",'"':""","'":"'"};function qt(t){return null==t?"":(t+"").replace(Zt,(function(t,e){return jt[e]}))}var Kt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,$t=[],Jt=s.browser.firefox&&+s.browser.version.split(".")[0]<39;function Qt(t,e,n,i){return n=n||{},i?te(t,e,n):Jt&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):te(t,e,n),n}function te(t,e,n){if(s.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(Ut(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(Xt($t,t,i,r))return n.zrX=$t[0],void(n.zrY=$t[1])}n.zrX=n.zrY=0}function ee(t){return t||window.event}function ne(t,e,n){if(null!=(e=ee(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&Qt(t,r,e,n)}else{Qt(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&Kt.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function ie(t,e,n,i){t.addEventListener(e,n,i)}var re=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function oe(t){return 2===t.which||3===t.which}var ae=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=se(r)/se(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function ue(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function he(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ce(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function pe(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function de(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),h=Math.cos(n);return t[0]=i*h+a*u,t[1]=-i*u+a*h,t[2]=r*h+s*u,t[3]=-r*u+h*s,t[4]=h*o+u*l,t[5]=h*l-u*o,t}function fe(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function ge(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}var ye=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),ve=ye,me=Math.min,xe=Math.max,_e=new ve,be=new ve,we=new ve,Se=new ve,Me=new ve,Ie=new ve,Te=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=me(t.x,this.x),n=me(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=xe(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=xe(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return pe(r,r,[-e.x,-e.y]),fe(r,r,[n,i]),pe(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=x,gf&&(f=_,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}_e.x=we.x=n.x,_e.y=Se.y=n.y,be.x=Se.x=n.x+n.width,be.y=we.y=n.y+n.height,_e.transform(i),Se.transform(i),be.transform(i),we.transform(i),e.x=me(_e.x,be.x,we.x,Se.x),e.y=me(_e.y,be.y,we.y,Se.y);var l=xe(_e.x,be.x,we.x,Se.x),u=xe(_e.y,be.y,we.y,Se.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Ce=Te,De="silent";function Ae(){re(this.event)}var ke=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return n(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Bt),Le=function(t,e){this.x=t,this.y=e},Pe=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Oe=new Ce(0,0,0,0),Re=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Le(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new ke,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new zt(a),a}return n(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(R(Pe,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=ze(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Le(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Le(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Ae}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Le(t,e);if(Ee(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Ce(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(Oe.copy(h.getBoundingRect()),h.transform&&Oe.applyTransform(h.transform),Oe.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Ne(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==De)){e.target=a;break}}}function ze(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}R(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Re.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=ze(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||At(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var Ve=Re;function Be(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function Fe(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Ge(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function We(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function He(t,e){var n,i,r=7,o=0;t.length;var a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=We(t[h],t,l,u,0,e);l+=p,0!=(u-=p)&&0!==(c=Ge(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!=(y=s-Ge(t[u],a,0,s,s-1,e))){for(s-=y,d=1+(c-=y),p=1+(h-=y),l=0;l=7||y>=7);if(v)break;f<0&&(f=0),f+=2}if((r=f)<1&&(r=1),1===s){for(d=1+(c-=i),p=1+(u-=i),l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Be(t,n,i,e))s&&(l=s),Fe(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Xe=!1;function Ue(){Xe||(Xe=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Ze(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var je=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Ze}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(Ue(),u.z=0),isNaN(u.z2)&&(Ue(),u.z2=0),isNaN(u.zlevel)&&(Ue(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),qe=je,Ke=s.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},$e={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-$e.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*$e.bounceIn(2*t):.5*$e.bounceOut(2*t-1)+.5}},Je=$e,Qe=Math.pow,tn=Math.sqrt,en=1e-8,nn=1e-4,rn=tn(3),on=1/3,an=mt(),sn=mt(),ln=mt();function un(t){return t>-1e-8&&ten||t<-1e-8}function cn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function pn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function dn(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(un(h)&&un(c))un(s)?o[0]=0:(M=-l/s)>=0&&M<=1&&(o[d++]=M);else{var f=c*c-4*h*p;if(un(f)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y)}else if(f>0){var v=tn(f),m=h*s+1.5*a*(-c+v),x=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-Qe(-m,on):Qe(m,on))+(x=x<0?-Qe(-x,on):Qe(x,on))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var _=(2*h*s-3*a*c)/(2*tn(h*h*h)),b=Math.acos(_)/3,w=tn(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+rn*Math.sin(b)))/(3*a),(-s+w*(S-rn*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y),I>=0&&I<=1&&(o[d++]=I)}}return d}function fn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(un(a))hn(o)&&(h=-s/o)>=0&&h<=1&&(r[l++]=h);else{var u=o*o-4*a*s;if(un(u))r[0]=-o/(2*a);else if(u>0){var h,c=tn(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function gn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function yn(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;an[0]=l,an[1]=u;for(var m=0;m<1;m+=.05)sn[0]=cn(t,n,r,a,m),sn[1]=cn(e,i,o,s,m),(f=kt(an,sn))=0&&f=0&&y=1?1:dn(0,i,o,1,t,s)&&cn(0,r,a,1,s[0])}}}var Tn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||yt,this.ondestroy=t.ondestroy||yt,this.onrestart=t.onrestart||yt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=W(t)?t:Je[t]||In(t)},t}(),Cn=function(t){this.value=t},Dn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Cn(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),An=function(){function t(t){this._list=new Dn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Cn(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),kn=An,Ln={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Pn(t){return(t=Math.round(t))<0?0:t>255?255:t}function On(t){return t<0?0:t>1?1:t}function Rn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Pn(parseFloat(e)/100*255):Pn(parseInt(e,10))}function Nn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?On(parseFloat(e)/100):On(parseFloat(e))}function En(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function zn(t,e,n){return t+(e-t)*n}function Vn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Bn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Fn=new kn(20),Gn=null;function Wn(t,e){Gn&&Bn(Gn,e),Gn=Fn.put(t,Gn||e.slice())}function Hn(t,e){if(t){e=e||[];var n=Fn.get(t);if(n)return Bn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Ln)return Bn(e,Ln[i]),Wn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(Vn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),Wn(t,e),e):void Vn(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(Vn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),Wn(t,e),e):void Vn(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?Vn(e,+u[0],+u[1],+u[2],1):Vn(e,0,0,0,1);h=Nn(u.pop());case"rgb":return u.length>=3?(Vn(e,Rn(u[0]),Rn(u[1]),Rn(u[2]),3===u.length?h:Nn(u[3])),Wn(t,e),e):void Vn(e,0,0,0,1);case"hsla":return 4!==u.length?void Vn(e,0,0,0,1):(u[3]=Nn(u[3]),Yn(u,e),Wn(t,e),e);case"hsl":return 3!==u.length?void Vn(e,0,0,0,1):(Yn(u,e),Wn(t,e),e);default:return}}Vn(e,0,0,0,1)}}function Yn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Nn(t[1]),r=Nn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return Vn(e=e||[],Pn(255*En(a,o,n+1/3)),Pn(255*En(a,o,n)),Pn(255*En(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Xn(t,e){var n=Hn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return qn(n,4===n.length?"rgba":"rgb")}}function Un(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Pn(zn(a[0],s[0],l)),n[1]=Pn(zn(a[1],s[1],l)),n[2]=Pn(zn(a[2],s[2],l)),n[3]=On(zn(a[3],s[3],l)),n}}function Zn(t,e,n,i){var r=Hn(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=Nn(n)),null!=i&&(r[2]=Nn(i)),qn(Yn(r),"rgba")}function jn(t,e){var n=Hn(t);if(n&&null!=e)return n[3]=On(e),qn(n,"rgba")}function qn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function Kn(t,e){var n=Hn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var $n=Math.round;function Jn(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=Hn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var Qn=1e-4;function ti(t){return t-1e-4}function ei(t){return $n(1e3*t)/1e3}function ni(t){return $n(1e4*t)/1e4}var ii={left:"start",right:"end",center:"middle",middle:"middle"};function ri(t){return t&&!!t.image}function oi(t){return ri(t)||function(t){return t&&!!t.svgElement}(t)}function ai(t){return"linear"===t.type}function si(t){return"radial"===t.type}function li(t){return t&&("linear"===t.type||"radial"===t.type)}function ui(t){return"url(#"+t+")"}function hi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function ci(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*vt,r=Q(t.scaleX,1),o=Q(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+$n(a*vt)+"deg, "+$n(s*vt)+"deg)"),l.join(" ")}var pi=s.hasGlobalWindow&&W(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},di=Array.prototype.slice;function fi(t,e,n){return(e-t)*n+t}function gi(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(O(e)){var l=function(t){return O(t&&t[0])?2:1}(e);a=l,(1===l&&!X(e[0])||2===l&&!X(e[0][0]))&&(o=!0)}else if(X(e)&&!$(e))a=0;else if(H(e))if(isNaN(+e)){var u=Hn(e);u&&(s=u,a=3)}else a=0;else if(K(e)){var h=A({},s);h.colorStops=N(e.colorStops,(function(t){return{offset:t.offset,color:Hn(t.color)}})),ai(e)?a=4:si(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=W(n)?n:Je[n]||In(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Si(i),l=wi(i),u=0;u=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;ne);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?Mi:t[h];if(!Si(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Si(s))1===s?gi(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,_i(l),i),this._trackKeys.push(a)}s.addKeyframe(t,_i(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Ci(){return(new Date).getTime()}var Di,Ai,ki=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return n(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Ci()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,Ke((function e(){t._running&&(Ke(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=Ci(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Ci(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Ci()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Ti(t,e.loop);return this.addAnimator(n),n},e}(Bt),Li=ki,Pi=s.domSupported,Oi=(Ai={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Di=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:N(Di,(function(t){var e=t.replace("mouse","pointer");return Ai.hasOwnProperty(e)?e:t}))}),Ri=["mousemove","mouseup"],Ni=["pointermove","pointerup"],Ei=!1;function zi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Vi(t){t&&(t.zrByTouch=!0)}function Bi(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var Fi=function(t,e){this.stopPropagation=yt,this.stopImmediatePropagation=yt,this.preventDefault=yt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Gi={mousedown:function(t){t=ne(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=ne(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=ne(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Bi(this,(t=ne(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Ei=!0,t=ne(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Ei||(t=ne(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Vi(t=ne(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Gi.mousemove.call(this,t),Gi.mousedown.call(this,t)},touchmove:function(t){Vi(t=ne(this.dom,t)),this.handler.processGesture(t,"change"),Gi.mousemove.call(this,t)},touchend:function(t){Vi(t=ne(this.dom,t)),this.handler.processGesture(t,"end"),Gi.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Gi.click.call(this,t)},pointerdown:function(t){Gi.mousedown.call(this,t)},pointermove:function(t){zi(t)||Gi.mousemove.call(this,t)},pointerup:function(t){Gi.mouseup.call(this,t)},pointerout:function(t){zi(t)||Gi.mouseout.call(this,t)}};R(["click","dblclick","contextmenu"],(function(t){Gi[t]=function(e){e=ne(this.dom,e),this.trigger(t,e)}}));var Wi={pointermove:function(t){zi(t)||Wi.mousemove.call(this,t)},pointerup:function(t){Wi.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Hi(t,e){var n=e.domHandlers;s.pointerEventsSupported?R(Oi.pointer,(function(i){Xi(e,i,(function(e){n[i].call(t,e)}))})):(s.touchEventsSupported&&R(Oi.touch,(function(i){Xi(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),R(Oi.mouse,(function(i){Xi(e,i,(function(r){r=ee(r),e.touching||n[i].call(t,r)}))})))}function Yi(t,e){function n(n){Xi(e,n,(function(i){i=ee(i),Bi(t,i.target)||(i=function(t,e){return ne(t.dom,new Fi(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}s.pointerEventsSupported?R(Ni,n):s.touchEventsSupported||R(Ri,n)}function Xi(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,ie(t.domTarget,e,n,i)}function Ui(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var Zi=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},ji=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new Zi(e,Gi),Pi&&(i._globalHandlerScope=new Zi(document,Wi)),Hi(i,i._localHandlerScope),i}return n(e,t),e.prototype.dispose=function(){Ui(this._localHandlerScope),Pi&&Ui(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Pi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Yi(this,e):Ui(e)}},e}(Bt),qi=1;s.hasGlobalWindow&&(qi=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Ki=qi,$i="#333",Ji="#ccc",Qi=ue,tr=5e-5;function er(t){return t>tr||t<-5e-5}var nr=[],ir=[],rr=[1,0,0,1,0,0],or=Math.abs,ar=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return er(this.rotation)||er(this.x)||er(this.y)||er(this.scaleX-1)||er(this.scaleY-1)||er(this.skewX)||er(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):Qi(n),t&&(e?ce(n,t,n):he(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(Qi(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(nr);var n=nr[0]<0?-1:1,i=nr[1]<0?-1:1,r=((nr[0]-n)*e+n)/nr[0]||0,o=((nr[1]-i)*e+i)/nr[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],ge(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(ce(ir,t.invTransform,e),e=ir);var n=this.originX,i=this.originY;(n||i)&&(rr[4]=n,rr[5]=i,ce(ir,e,rr),ir[4]-=n,ir[5]-=i,e=ir),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Pt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Pt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&or(t[0]-1)>1e-10&&or(t[3]-1)>1e-10?Math.sqrt(or(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){lr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&de(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),sr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function lr(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function mr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=vr(i[0],n.width),u+=vr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var xr="__zr_normal__",_r=sr.concat(["ignore"]),br=E(sr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),wr={},Sr=new Ce(0,0,0,0),Mr=function(){function t(t){this.id=M(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Sr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(wr,n,u):mr(wr,n,u),r.x=wr.x,r.y=wr.y,o=wr.align,a=wr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=vr(h[0],u.width),p=vr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ji:$i},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&Hn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,qn(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},A(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(U(t))for(var n=V(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(xr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===xr;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(L(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}I("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=L(i,t),o=L(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s)for(M={},p&&(S={}),_=0;_=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=L(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=L(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Vr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return H(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function Br(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Fr(t){return t.sort((function(t,e){return t-e})),t}function Gr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}(t)}function Wr(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Hr(t,e){var n=Math.max(Gr(t),Gr(e)),i=t+e;return n>20?i:Br(i,n)}var Yr=9007199254740991;function Xr(t){var e=2*Math.PI;return(t%e+e)%e}function Ur(t){return t>-1e-4&&t=10&&e++,e}function Kr(t,e){var n=qr(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function $r(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function Jr(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&L(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Go=Fo([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Wo=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Go(this,t,e)},t}(),Ho=new kn(50);function Yo(t){if("string"==typeof t){var e=Ho.get(t);return e&&e.image}return t}function Xo(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Ho.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!Zo(e=o.image)&&o.pending.push(a):((e=c.loadImage(t,Uo,Uo)).__zrImageSrc=t,Ho.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function Uo(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=cr(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function $o(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=cr(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?Jo(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=cr(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function Jo(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=oa(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!ia[t]}function oa(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var aa="__zr_style_"+Math.round(10*Math.random()),sa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},la={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};sa[aa]=!0;var ua=["z","z2","invisible"],ha=["invisible"],ca=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype._init=function(e){for(var n=V(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(_a[0]=ma(r)*n+t,_a[1]=va(r)*i+e,ba[0]=ma(o)*n+t,ba[1]=va(o)*i+e,u(s,_a,ba),h(l,_a,ba),(r%=xa)<0&&(r+=xa),(o%=xa)<0&&(o+=xa),r>o&&!a?o+=xa:rr&&(wa[0]=ma(d)*n+t,wa[1]=va(d)*i+e,u(s,wa,s),h(l,wa,l))}var ka={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},La=[],Pa=[],Oa=[],Ra=[],Na=[],Ea=[],za=Math.min,Va=Math.max,Ba=Math.cos,Fa=Math.sin,Ga=Math.abs,Wa=Math.PI,Ha=2*Wa,Ya="undefined"!=typeof Float32Array,Xa=[];function Ua(t){return Math.round(t/Wa*1e8)/1e8%2*Wa}function Za(t,e){var n=Ua(t[0]);n<0&&(n+=Ha);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Ha?r=n+Ha:e&&n-r>=Ha?r=n-Ha:!e&&n>r?r=n+(Ha-Ua(n-r)):e&&n0&&(this._ux=Ga(n/Ki/t)||0,this._uy=Ga(n/Ki/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(ka.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=Ga(t-this._xi),i=Ga(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(ka.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(ka.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(ka.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Xa[0]=i,Xa[1]=r,Za(Xa,o),i=Xa[0];var a=(r=Xa[1])-i;return this.addData(ka.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Ba(r)*n+t,this._yi=Fa(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(ka.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(ka.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Ya||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Oa[0]=Oa[1]=Na[0]=Na[1]=Number.MAX_VALUE,Ra[0]=Ra[1]=Ea[0]=Ea[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||Ga(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case ka.C:var v=t[c++],m=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=vn(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case ka.Q:f=Sn(r,o,v=t[c++],m=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case ka.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=C+T;c+=1,t[c++],d&&(a=Ba(T)*M+w,s=Fa(T)*I+S),f=Va(M,I)*za(Ha,Math.abs(C)),r=Ba(D)*M+w,o=Fa(D)*I+S;break;case ka.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case ka.Z:var A=a-r;y=s-o,f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case ka.M:n=r=p[_++],i=o=p[_++],t.moveTo(r,o);break;case ka.L:a=p[_++],s=p[_++];var S=Ga(a-r),M=Ga(s-o);if(S>d||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case ka.C:var C=p[_++],D=p[_++],A=p[_++],k=p[_++],L=p[_++],P=p[_++];if(y){if(v+(j=l[m++])>u){gn(r,C,A,L,I=(u-v)/j,La),gn(o,D,k,P,I,Pa),t.bezierCurveTo(La[1],Pa[1],La[2],Pa[2],La[3],Pa[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case ka.Q:if(C=p[_++],D=p[_++],A=p[_++],k=p[_++],y){if(v+(j=l[m++])>u){bn(r,C,A,I=(u-v)/j,La),bn(o,D,k,I,Pa),t.quadraticCurveTo(La[1],Pa[1],La[2],Pa[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case ka.A:var O=p[_++],R=p[_++],N=p[_++],E=p[_++],z=p[_++],V=p[_++],B=p[_++],F=!p[_++],G=N>E?N:E,W=Ga(N-E)>.001,H=z+V,Y=!1;if(y&&(v+(j=l[m++])>u&&(H=z+V*(u-v)/j,Y=!0),v+=j),W&&t.ellipse?t.ellipse(O,R,N,E,B,z,H,F):t.arc(O,R,G,z,H,F),Y)break t;w&&(n=Ba(z)*N+O,i=Fa(z)*E+R),r=Ba(H)*N+O,o=Fa(H)*E+R;break;case ka.R:n=r=p[_],i=o=p[_+1],a=p[_++],s=p[_++];var X=p[_++],U=p[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+za(Z,X),s),(Z-=X)>0&&t.lineTo(a+X,s+za(Z,U)),(Z-=U)>0&&t.lineTo(a+Va(X-Z,0),s+U),(Z-=X)>0&&t.lineTo(a,s+Va(U-Z,0));break t}v+=j}t.rect(a,s,X,U);break;case ka.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j,t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=ka,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function qa(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=ts);var p=Math.atan2(l,s);return p<0&&(p+=ts),p>=i&&p<=r||p+ts>=i&&p+ts<=r}function ns(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var is=ja.CMD,rs=2*Math.PI,os=[-1,-1,-1],as=[-1,-1];function ss(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=as[0],as[0]=as[1],as[1]=h),f=cn(e,i,o,s,as[0]),d>1&&(g=cn(e,i,o,s,as[1]))),2===d?ve&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(un(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=tn(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,os);if(0===l)return 0;var u=_n(e,i,o);if(u>=0&&u<=1){for(var h=0,c=mn(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);os[0]=-l,os[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=rs-1e-4){i=0,r=rs;var h=o?1:-1;return a>=os[0]+t&&a<=os[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=rs,r+=rs);for(var p=0,d=0;d<2;d++){var f=os[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1,g<0&&(g=rs+g),(g>=i&&g<=r||g+rs>=i&&g+rs<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function hs(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,y=0;y1&&(n||(c+=ns(p,d,f,g,i,r))),m&&(f=p=u[y],g=d=u[y+1]),v){case is.M:p=f=u[y++],d=g=u[y++];break;case is.L:if(n){if(qa(p,d,u[y],u[y+1],e,i,r))return!0}else c+=ns(p,d,u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case is.C:if(n){if(Ka(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=ss(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case is.Q:if(n){if($a(p,d,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=ls(p,d,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case is.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):c+=ns(p,d,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(es(x,_,w,S,S+M,I,e,T,r))return!0}else c+=us(x,_,w,S,S+M,I,T,r);p=Math.cos(S+M)*b+x,d=Math.sin(S+M)*w+_;break;case is.R:if(f=p=u[y++],g=d=u[y++],o=f+u[y++],a=g+u[y++],n){if(qa(f,g,o,g,e,i,r)||qa(o,g,o,a,e,i,r)||qa(o,a,f,a,e,i,r)||qa(f,a,f,g,e,i,r))return!0}else c+=ns(o,g,o,a,i,r),c+=ns(f,a,f,g,i,r);break;case is.Z:if(n){if(qa(p,d,f,g,e,i,r))return!0}else c+=ns(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=ns(p,d,f,g,i,r)||0),0!==c}var cs=k({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},sa),ps={style:k({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},la.style)},ds=sr.concat(["invisible","culling","z","z2","zlevel","parent"]),fs=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?$i:e>.2?"#eee":Ji}if(t)return Ji}return $i},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(H(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())==Kn(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new ja(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return hs(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return hs(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:A(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return dt(cs,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=A({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=A({},i.shape),A(s,n.shape)):(s=A({},r?this.shape:i.shape),A(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=A({},this.shape);for(var u={},h=V(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return dt(ys,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=dr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(fa);vs.prototype.type="tspan";var ms=vs,xs=k({x:0,y:0},sa),_s={style:k({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},la.style)},bs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createStyle=function(t){return dt(xs,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return _s},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Ce(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(fa);bs.prototype.type="image";var ws=bs,Ss=Math.round;function Ms(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Ss(2*i)===Ss(2*r)&&(t.x1=t.x2=Ts(i,s,!0)),Ss(2*o)===Ss(2*a)&&(t.y1=t.y2=Ts(o,s,!0)),t):t}}function Is(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Ts(i,s,!0),t.y=Ts(r,s,!0),t.width=Math.max(Ts(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Ts(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Ts(t,e,n){if(!e)return t;var i=Ss(2*t);return(i+Ss(e))%2==0?i/2:(i+(n?1:-1))/2}var Cs=function(){this.x=0,this.y=0,this.width=0,this.height=0},Ds={},As=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Cs},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Is(Ds,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(gs);As.prototype.type="rect";var ks=As,Ls={fill:"#000"},Ps={style:k({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},la.style)},Os=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ls,n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ed&&h){var f=Math.floor(d/l);n=n.slice(0,f)}if(t&&a&&null!=c)for(var g=Ko(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,D=0;Dl&&na(n,t.substring(l,u),e,s),na(n,i[2],e,s,i[1]),l=jo.lastIndex}lo){b>0?(m.tokens=m.tokens.slice(0,b),y(m,_,x),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var C=w.width,D=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))P.percentWidth=C,h.push(P),P.contentWidth=cr(P.text,I);else{if(D){var A=w.backgroundColor,k=A&&A.image;k&&Zo(k=Yo(k))&&(P.width=Math.max(P.width,k.width*T/k.height))}var L=f&&null!=r?r-_:null;null!=L&&L=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(n-(M-d)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,h=i+n/2;"top"===l?h=i+t.height/2:"bottom"===l&&(h=i+n-t.height/2),!t.isLineHolder&&Xs(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!s.backgroundColor,p=t.textPadding;p&&(r=Hs(r,o,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(ms),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,y=!1,v=0,m=Ws("fill"in s?s.fill:"fill"in e?e.fill:(y=!0,g.fill)),x=Gs("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||g.autoStroke&&!y?null:(v=2,g.stroke)),_=s.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,f.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||u,f.opacity=tt(s.opacity,e.opacity,1),Vs(f,s),x&&(f.lineWidth=tt(s.lineWidth,e.lineWidth,v),f.lineDash=Q(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),m&&(f.fill=m);var b=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new Ce(fr(f.x,b,f.textAlign),gr(f.y,w,f.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(ks)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=Q(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(ws)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=Q(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=tt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return Bs(t)&&(e=[t.fontStyle,t.fontWeight,zs(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&rt(e)||t.textFont||t.font},e}(fa),Rs={left:!0,right:1,center:1},Ns={top:1,bottom:1,middle:1},Es=["fontStyle","fontWeight","fontSize","fontFamily"];function zs(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function Vs(t,e){for(var n=0;n=0,o=!1;if(t instanceof gs){var a=$s(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(sl(s)||sl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=A({},i),(u=A({},u)).fill=s):!sl(u.fill)&&sl(s)?(o=!0,i=A({},i),(u=A({},u)).fill=ul(s)):!sl(u.stroke)&&sl(l)&&(o||(i=A({},i),u=A({},u)),u.stroke=ul(l)),i.style=u}}if(i&&null==i.z2){o||(i=A({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:el)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=L(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function zl(t,e,n){Hl(t,!0),ml(t,bl),Bl(t,e,n)}function Vl(t,e,n,i){i?function(t){Hl(t,!1)}(t):zl(t,e,n)}function Bl(t,e,n){var i=Zs(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var Fl=["emphasis","blur","select"],Gl={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Wl(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=Jl(f),s*=Jl(f));var g=(r===o?-1:1)*Jl((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+tu(c)*y-Ql(c)*v,x=(e+i)/2+Ql(c)*y+tu(c)*v,_=ru([1,0],[(p-y)/a,(d-v)/s]),b=[(p-y)/a,(d-v)/s],w=[(-1*p-y)/a,(-1*d-v)/s],S=ru(b,w);if(iu(b,w)<=-1&&(S=eu),iu(b,w)>=1&&(S=0),S<0){var M=Math.round(S/eu*1e6)/1e6;S=2*eu+M%2*eu}h.addData(u,m,x,a,s,_,S,c,o)}var au=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,su=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,lu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.applyTransform=function(t){},e}(gs);function uu(t){return null!=t.setData}function hu(t,e){var n=function(t){var e=new ja;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=ja.CMD,l=t.match(au);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function Lu(t,e){var n,i=Cu(e.r,0),r=Cu(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=Iu(l-s),d=p>_u&&p%_u;if(d>Au&&(p=d),i>Au)if(p>_u-Au)t.moveTo(u+i*wu(s),h+i*bu(s)),t.arc(u,h,i,s,l,!c),r>Au&&(t.moveTo(u+r*wu(l),h+r*bu(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*wu(s),L=i*bu(s),P=r*wu(l),O=r*bu(l),R=p>Au;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(G(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],y=n[2],v=n[3]);var E=Iu(i-r)/2;if(m=Du(E,y),x=Du(E,v),_=Du(E,f),b=Du(E,g),M=w=Cu(m,x),I=S=Cu(_,b),(w>Au||S>Au)&&(T=i*wu(l),C=i*bu(l),D=r*wu(s),A=r*bu(s),pAu){var X=Du(y,M),U=Du(v,M),Z=ku(D,A,k,L,i,X,c),j=ku(T,C,P,O,i,U,c);t.moveTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),M0&&t.arc(u+Z.cx,h+Z.cy,X,Mu(Z.y0,Z.x0),Mu(Z.y1,Z.x1),!c),t.arc(u,h,i,Mu(Z.cy+Z.y1,Z.cx+Z.x1),Mu(j.cy+j.y1,j.cx+j.x1),!c),U>0&&t.arc(u+j.cx,h+j.cy,U,Mu(j.y1,j.x1),Mu(j.y0,j.x0),!c))}else t.moveTo(u+k,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+L);r>Au&&R?I>Au?(X=Du(f,I),Z=ku(P,O,T,C,r,-(U=Du(g,I)),c),j=ku(k,L,D,A,r,-X,c),t.lineTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),I0&&t.arc(u+Z.cx,h+Z.cy,U,Mu(Z.y0,Z.x0),Mu(Z.y1,Z.x1),!c),t.arc(u,h,r,Mu(Z.cy+Z.y1,Z.cx+Z.x1),Mu(j.cy+j.y1,j.cx+j.x1),c),X>0&&t.arc(u+j.cx,h+j.cy,X,Mu(j.y1,j.x1),Mu(j.y0,j.x0),!c))):(t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c)):t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Pu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Ou=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Pu},e.prototype.buildPath=function(t,e){Lu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(gs);Ou.prototype.type="sector";var Ru=Ou,Nu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Eu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Nu},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(gs);Eu.prototype.type="ring";var zu=Eu;function Vu(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;puh[1]){if(a=!1,r)return a;var u=Math.abs(uh[0]-lh[1]),h=Math.abs(lh[0]-uh[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function _h(t,e,n,i,r,o){xh("update",t,e,n,i,r,o)}function bh(t,e,n,i,r,o){xh("enter",t,e,n,i,r,o)}function wh(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Hh(t){return!t.isGroup}function Yh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Hh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Hh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),_h(t,i,n,Zs(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=A({},t.shape)),e}}function Xh(t,e){return N(t,(function(t){var n=t[0];n=Ch(n,e.x),n=Dh(n,e.x+e.width);var i=t[1];return i=Ch(i,e.y),[n,i=Dh(i,e.y+e.height)]}))}function Uh(t,e,n){var i=A({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),k(r,n),new ws(i)):Oh(t.replace("path://",""),i,n,"center")}function Zh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,y=qh(f,g,u,h)/d;if(y<0||y>1)return!1;var v=qh(f,g,c,p)/d;return!(v<0||v>1)}function qh(t,e,n,i){return t*i-n*e}function Kh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=H(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&R(V(l),(function(t){gt(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Zs(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:k({content:i,formatterParams:s},r)}}function $h(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Jh(t,e){if(t)if(G(t))for(var n=0;n=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},createIcon:Uh,extendPath:function(t,e){return kh(t,e)},extendShape:function(t){return gs.extend(t)},getShapeClass:Ph,getTransform:Fh,groupTransition:Yh,initProps:bh,isElementRemoved:wh,lineLineIntersect:jh,linePolygonIntersect:Zh,makeImage:Rh,makePath:Oh,mergePath:Eh,registerShape:Lh,removeElement:Sh,removeElementWithFadeOut:Ih,resizePath:zh,setTooltipConfig:Kh,subPixelOptimize:Bh,subPixelOptimizeLine:Vh,subPixelOptimizeRect:function(t){return Is(t.shape,t.shape,t.style),t},transformDirection:Wh,traverseElements:Jh,updateProps:_h},Symbol.toStringTag,{value:"Module"})),tc={};function ec(t,e){for(var n=0;n-1?Oc:Nc;function Bc(t,e){t=t.toUpperCase(),zc[t]=new Ac(e),Ec[t]=e}function Fc(t){return zc[t]}Bc(Rc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Bc(Oc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Gc=1e3,Wc=6e4,Hc=36e5,Yc=864e5,Xc=31536e6,Uc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Zc="{yyyy}-{MM}-{dd}",jc={year:"{yyyy}",month:"{yyyy}-{MM}",day:Zc,hour:Zc+" "+Uc.hour,minute:Zc+" "+Uc.minute,second:Zc+" "+Uc.second,millisecond:Uc.none},qc=["year","month","day","hour","minute","second","millisecond"],Kc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function $c(t,e){return"0000".substr(0,e-(t+="").length)+t}function Jc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Qc(t){return t===Jc(t)}function tp(t,e,n,i){var r=jr(t),o=r[ip(n)](),a=r[rp(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[op(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[ap(n)](),c=(h-1)%12+1,p=r[sp(n)](),d=r[lp(n)](),f=r[up(n)](),g=(i instanceof Ac?i:Fc(i||Vc)||zc[Nc]).getModel("time"),y=g.get("month"),v=g.get("monthAbbr"),m=g.get("dayOfWeek"),x=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,$c(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,v[a-1]).replace(/{MM}/g,$c(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,$c(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,m[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,$c(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,$c(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,$c(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,$c(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,$c(f,3)).replace(/{S}/g,f+"")}function ep(t,e){var n=jr(t),i=n[rp(e)]()+1,r=n[op(e)](),o=n[ap(e)](),a=n[sp(e)](),s=n[lp(e)](),l=0===n[up(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function np(t,e,n){var i=X(t)?jr(t):t;switch(e=e||ep(t,n)){case"year":return i[ip(n)]();case"half-year":return i[rp(n)]()>=6?1:0;case"quarter":return Math.floor((i[rp(n)]()+1)/4);case"month":return i[rp(n)]();case"day":return i[op(n)]();case"half-day":return i[ap(n)]()/24;case"hour":return i[ap(n)]();case"minute":return i[sp(n)]();case"second":return i[lp(n)]();case"millisecond":return i[up(n)]()}}function ip(t){return t?"getUTCFullYear":"getFullYear"}function rp(t){return t?"getUTCMonth":"getMonth"}function op(t){return t?"getUTCDate":"getDate"}function ap(t){return t?"getUTCHours":"getHours"}function sp(t){return t?"getUTCMinutes":"getMinutes"}function lp(t){return t?"getUTCSeconds":"getSeconds"}function up(t){return t?"getUTCMilliseconds":"getMilliseconds"}function hp(t){return t?"setUTCFullYear":"setFullYear"}function cp(t){return t?"setUTCMonth":"setMonth"}function pp(t){return t?"setUTCDate":"setDate"}function dp(t){return t?"setUTCHours":"setHours"}function fp(t){return t?"setUTCMinutes":"setMinutes"}function gp(t){return t?"setUTCSeconds":"setSeconds"}function yp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function vp(t){if(!to(t))return H(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function mp(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var xp=nt;function _p(t,e,n){function i(t){return t&&rt(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?jr(t):t;if(!isNaN(+s))return tp(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return Y(t)?i(t):X(t)&&r(t)?t+"":"-";var l=Qr(t);return r(l)?vp(l):Y(t)?i(t):"boolean"==typeof t?t+"":"-"}var bp=["a","b","c","d","e","f","g"],wp=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Sp(t,e,n){G(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;oi||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var kp=Ap;function Lp(t,e,n){n=xp(n||0);var i=e.width,r=e.height,o=Vr(t.left,i),a=Vr(t.top,r),s=Vr(t.right,i),l=Vr(t.bottom,r),u=Vr(t.width,i),h=Vr(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new Ce(o+n[3],a+n[0],u,h);return f.margin=n,f}function Pp(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Ce(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=Lp(k({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function Op(t){var e=t.layoutMode||t.constructor.layoutMode;return U(e)?e:e?{type:e}:null}function Rp(t,e,n){var i=n&&n.ignoreSize;!G(i)&&(i=[i,i]);var r=a(Dp[0],0),o=a(Dp[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Tp(n,(function(e){u[e]=t[e]})),Tp(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=C(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Co(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Ac);No(Vp,Ac),Bo(Vp),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=Oo(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=Oo(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(Vp),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return R(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return R(t,(function(t){L(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),R(s,(function(t){L(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);L(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(R(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),R(c.successor,p?f:d)}R(u,(function(){throw new Error("")}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,d(t)}}}(Vp,(function(t){var e=[];return R(Vp.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=N(e,(function(t){return Oo(t).main})),"dataset"!==t&&L(e,"dataset")<=0&&e.unshift("dataset"),e}));var Bp=Vp,Fp="";"undefined"!=typeof navigator&&(Fp=navigator.platform||"");var Gp="rgba(0, 0, 0, 0.2)",Wp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Gp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Gp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Gp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Gp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Gp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Gp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Fp.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Hp=ct(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Yp="original",Xp="arrayRows",Up="objectRows",Zp="keyedColumns",jp="typedArray",qp="unknown",Kp="column",$p="row",Jp=1,Qp=2,td=3,ed=bo();function nd(t,e,n){var i={},r=rd(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=ed(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;R(t=t.slice(),(function(e,n){var r=U(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var yd="\0_ec_inner",vd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Ac(i),this._locale=new Ac(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=_d(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,_d(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):ud(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&R(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=ct(),s=e&&e.replaceMergeMainTypeMap;ed(this).datasetMap=ct(),R(t,(function(t,e){null!=t&&(Bp.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?T(t):C(n[e],t,!0))})),s&&s.each((function(t,e){Bp.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Bp.topologicalTravel(o,Bp.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=hd.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,lo(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=fo(a,o,l);(function(t,e,n){R(t,(function(t){var i=t.newOption;U(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,Bp),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],d=0;R(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Bp.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=A({componentIndex:n},t.keyInfo);A(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,d),"series"===e&&sd(this)}),this),this._seriesIndices||sd(this)},e.prototype.getOption=function(){var t=T(this.option);return R(t,(function(e,n){if(Bp.hasClass(n)){for(var i=lo(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!xo(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[yd],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var kd=Dd,Ld=R,Pd=U,Od=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Rd(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Od.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=Hr(d,v),f=v;break}}}return i[0]=d,i[1]=f,i}))}))}var Jd,Qd,tf,ef,nf,rf=function(t){this.data=t.data||(t.sourceFormat===Zp?{}:[]),this.sourceFormat=t.sourceFormat||qp,this.seriesLayoutBy=t.seriesLayoutBy||Kp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Sf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Tf(t){var e,n;return U(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function Cf(t){return new Df(t)}var Df=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Rf=function(){function t(t,e){X(e)||ro(""),this._opFn=Of[t],this._rvalFloat=Qr(e)}return t.prototype.evaluate=function(t){return X(t)?this._opFn(t,this._rvalFloat):this._opFn(Qr(t),this._rvalFloat)},t}(),Nf=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=X(t)?t:Qr(t),i=X(e)?e:Qr(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=H(t),s=H(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),Ef=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Qr(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Qr(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function zf(t,e){return"eq"===t||"ne"===t?new Ef("eq"===t,e):gt(Of,t)?new Rf(t,e):null}var Vf=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return kf(t,e)},t}();function Bf(t){return Xf(t.sourceFormat)||ro(""),t.data}function Ff(t){var e=t.sourceFormat,n=t.data;if(Xf(e)||ro(""),e===Xp){for(var i=[],r=0,o=n.length;r65535?jf:qf}function tg(t,e,n,i,r){var o=Jf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=N(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=d),d++;p=!0}else if(2===r){f=c[i[0]];var y=c[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=v&&_<=m||isNaN(_))&&(a[s++]=d),d++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(Qf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=[1/0,-1/0],c=new(Qf(this._rawCount))(Math.ceil(u/s)),p=0,d=0;du-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return kf(t[i],this._dimensions[i])}Uf={arrayRows:t,objectRows:function(t,e,n,i){return kf(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return kf(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),ng=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(rg(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=j(a=o.get("data",!0))?jp:Yp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=Q(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=Q(h.sourceHeader,c.sourceHeader),f=Q(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f?[af(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else t=[af(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);null!=r&&1!==t.length&&og("");var o,a=[],s=[];return R(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||og(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e){var n=lo(t),i=n.length;i||ro("");for(var r=0,o=i;r1||n>0&&!t.noHeader;return R(t.blocks,(function(t){var n=dg(t);n>=e&&(e=n+ +(i&&(!n||cg(t)&&!t.noHeader)))})),e}return 0}function fg(t,e,n,i){var r,o=e.noHeader,a=(r=dg(e),{html:lg[r],richText:ug[r]}),s=[],l=e.blocks||[];it(!l||G(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(gt(h,u)){var c=new Nf(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}R(l,(function(n,r){var o=e.valueFormatter,l=pg(n)(o?A(A({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):vg(s.join(""),o?n:a.html);if(o)return p;var d=_p(e.header,"ordinal",t.useUTC),f=sg(i,t.renderMode).nameStyle;return"richText"===t.renderMode?mg(t,d,f)+a.richText+p:vg('
'+qt(d)+"
"+p,n)}function gg(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return N(t=G(t)?t:[t],(function(t,e){return _p(t,G(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":_p(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value),g=!s||!o,y=!s&&o,v=sg(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":mg(t,p,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(G(e)?e.join(" "):e,o)}(t,f,g,y,x)):vg((s?"":c)+(o?"":function(t,e,n){return''+qt(t)+""}(p,!s,m))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=G(t)?t:[t],''+N(t,(function(t){return qt(t)})).join("  ")+""}(f,g,y,x)),n)}}function yg(t,e,n,i,r,o){if(t)return pg(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function vg(t,e){return'
'+t+'
'}function mg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function xg(t,e){return Mp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function _g(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var bg=function(){function t(){this.richTextStyles={},this._nextStyleNameId=eo()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=H(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"subItem"===r?'':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return H(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};G(e)?R(e,(function(t){return A(n,t)})):A(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function wg(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=G(c),d=xg(o,a);if(h>1||p&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=E(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(hg("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?R(i,(function(t){h(Sf(o,n,t),t)})):R(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=Sf(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=mo(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return hg("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[hg("nameValue",{markerType:"item",markerColor:d,name:x,noName:!rt(x),value:e,valueType:n})].concat(i||[])})}var Sg=bo();function Mg(t,e){return t.getName(e)||t.getId(e)}var Ig="__universalTransitionEnabled",Tg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return n(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Cf({count:Dg,reset:Ag}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(Sg(this).sourceManager=new ng(this)).prepareSource();var i=this.getInitialData(t,n);Lg(i,this),this.dataTask.context.data=i,Sg(this).dataBeforeProcessed=i,Cg(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Op(this),i=n?Np(t):{},r=this.subType;Bp.hasClass(r)&&(r+="Series"),C(t,e.getTheme().get(this.subType)),C(t,this.getDefaultOption()),uo(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Rp(t,i,n)},e.prototype.mergeOption=function(t,e){t=C(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Op(this);n&&Rp(this.option,t,n);var i=Sg(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Lg(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,Sg(this).dataBeforeProcessed=r,Cg(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!j(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=dd.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[Mg(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Ig])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){U(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Bp.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(Bp);function Cg(t){var e=t.name;mo(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return R(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Dg(t){return t.model.getRawData().count()}function Ag(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),kg}function kg(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Lg(t,e){R(pt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,F(Pg,e))}))}function Pg(t,e){var n=Og(t);return n&&n.setOutputEnd((e||this).count()),e}function Og(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}P(Tg,If),P(Tg,dd),No(Tg,Bp);var Rg=Tg,Ng=function(){function t(){this.group=new Lr,this.uid=Lc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();Ro(Ng),Bo(Ng);var Eg=Ng;function zg(){var t=bo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var Vg=bo(),Bg=zg(),Fg=function(){function t(){this.group=new Lr,this.uid=Lc("viewChart"),this.renderTask=Cf({plan:Hg,reset:Yg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Wg(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Wg(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){Jh(this.group,t)},t.markUpdateMethod=function(t,e){Vg(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Gg(t,e,n){t&&Yl(t)&&("emphasis"===e?Ml:Il)(t,n)}function Wg(t,e,n){var i=_o(t,e),r=e&&null!=e.highlightKey?function(t){var e=Ks[t];return null==e&&qs<=32&&(e=Ks[t]=qs++),e}(e.highlightKey):null;null!=i?R(lo(i),(function(e){Gg(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Gg(t,n,r)}))}function Hg(t){return Bg(t.model)}function Yg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Vg(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Xg[l]}Ro(Fg),Bo(Fg);var Xg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Ug=Fg,Zg="\0__throttleOriginMethod",jg="\0__throttleRate",qg="\0__throttleType";function Kg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function $g(t,e,n,i){var r=t[e];if(r){var o=r[Zg]||r,a=r[qg];if(r[jg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Kg(o,n,"debounce"===i))[Zg]=o,r[qg]=i,r[jg]=n}return r}}function Jg(t,e){var n=t[e];n&&n[Zg]&&(n.clear&&n.clear(),t[e]=n[Zg])}var Qg=bo(),ty={itemStyle:Fo(Ic,!0),lineStyle:Fo(wc,!0)},ey={lineStyle:"stroke",itemStyle:"fill"};function ny(t,e){var n=t.visualStyleMapper||ty[e];return n||(console.warn("Unknown style type '"+e+"'."),ty.itemStyle)}function iy(t,e){var n=t.visualDrawType||ey[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var ry={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=ny(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=iy(t,i),l=o[s],u=W(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||W(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||W(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=A({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},oy=new Ac,ay={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=ny(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){oy.option=n[i];var a=r(oy);A(t.ensureUniqueItemVisual(e,"style"),a),oy.option.decal&&(t.setItemVisual(e,"decal",oy.option.decal),oy.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},sy={performRawSeries:!0,overallReset:function(t){var e=ct();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Qg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Qg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=iy(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},ly=Math.PI,uy=function(){function t(t,e,n,i){this._stageTaskMap=ct(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=ct();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;R(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});it(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}R(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=ct(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Cf({plan:fy,reset:gy,count:my}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Cf({reset:hy});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=ct(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,Cf({reset:cy,onDirty:dy})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}it(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,R(n.getSeries(),p)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return W(t)&&(t={overallReset:t,seriesType:xy(t)}),t.uid=Lc("stageHandler"),e&&(t.visualType=e),t},t}();function hy(t){t.overallReset(t.ecModel,t.api,t.payload)}function cy(t){return t.overallProgress&&py}function py(){this.agent.dirty(),this.getDownstream().dirty()}function dy(){this.agent&&this.agent.dirty()}function fy(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function gy(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=lo(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?N(e,(function(t,e){return vy(e)})):yy}var yy=vy(0);function vy(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Ry=["symbol","symbolSize","symbolRotate","symbolOffset"],Ny=Ry.concat(["symbolKeepAspect"]),Ey={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&ov(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=ov(i)?i:0,r=ov(r)?r:1,o=ov(o)?o:0,a=ov(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:X(e)?[e]:G(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=N(r,(function(t){return t/a})),o/=a)}return[r,o]}var hv=new ja(!0);function cv(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function pv(t){return"string"==typeof t&&"none"!==t}function dv(t){var e=t.fill;return null!=e&&"none"!==e}function fv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function gv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function yv(t,e,n){var i=Xo(e.image,e.__image,n);if(Zo(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*vt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var vv=["shadowBlur","shadowOffsetX","shadowOffsetY"],mv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function xv(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){wv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?sa.opacity:a}(i||e.blend!==n.blend)&&(o||(wv(t,r),o=!0),t.globalCompositeOperation=e.blend||sa.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Vv])if(this._disposed)this.id;else{var i,r,o;if(U(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Vv]=!0,!this._model||e){var a=new kd(this._api),s=this._theme,l=this._model=new bd;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},mm);var u={seriesTransition:o,optionChanged:!0};if(n)this[Bv]={silent:i,updateParams:u},this[Vv]=!1,this.getZr().wakeUp();else{try{Uv(this),qv.update.call(this,null,u)}catch(Au){throw this[Bv]=null,this[Vv]=!1,Au}this._ssr||this._zr.flush(),this[Bv]=null,this[Vv]=!1,Qv.call(this,i),tm.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||s.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr;return R(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;R(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return R(i,(function(t){t.group.ignore=!1})),o}this.id},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(Sm[n]){var a=o,s=o,l=-1/0,u=-1/0,h=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();R(wm,(function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(T(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),h.push({dom:p,left:d.left,top:d.top})}}));var d=(l*=p)-(a*=p),f=(u*=p)-(s*=p),g=c.createCanvas(),y=Nr(g,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:f}),e){var v="";return R(h,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new ks({shape:{x:0,y:0,width:d,height:f},style:{fill:t.connectedBackgroundColor}})),R(h,(function(t){var e=new ws({style:{x:t.left*p-a,y:t.top*p-s,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},e.prototype.convertToPixel=function(t,e){return Kv(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Kv(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return R(So(this._model,t),(function(t,i){i.indexOf("Models")>=0&&R(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=So(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?Vy(i,r,e):By(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;R(fm,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&Hy(o,(function(t){var e=Zs(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=A({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),R(ym,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),R(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Wy("map","selectchanged",e,i,t),Wy("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Wy("map","selected",e,i,t),Wy("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Wy("map","unselected",e,i,t),Wy("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&Do(this.getDom(),Im,"");var t=this,e=t._api,n=t._model;R(t._componentsViews,(function(t){t.dispose(n,e)})),R(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete wm[t.id]}},e.prototype.resize=function(t){if(!this[Vv])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Bv]&&(null==i&&(i=this[Bv].silent),n=!0,this[Bv]=null),this[Vv]=!0;try{n&&Uv(this),qv.update.call(this,{type:"resize",animation:A({duration:0},t&&t.animation)})}catch(Au){throw this[Vv]=!1,Au}this[Vv]=!1,Qv.call(this,i),tm.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(U(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),bm[t]){var n=bm[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=A({},t);return e.type=ym[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(U(e)||(e={silent:!!e}),gm[t.type]&&this._model)if(this[Vv])this._pendingActions.push(t);else{var n=e.silent;Jv.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&s.browser.weChat&&this._throttledZrFlush(),Qv.call(this,n),tm.call(this,n)}},e.prototype.updateLabelLayout=function(){Ov.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(wh(t))return;if(t instanceof gs&&function(t){var e=$s(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Uv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Zv(t,!0),Zv(t,!1),e.plan()},Zv=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!s.node&&!s.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),Ov.trigger("series:afterupdate",e,n,l)},lm=function(t){t[Fv]=!0,t.getZr().wakeUp()},um=function(t){t[Fv]&&(t.getZr().storage.traverse((function(t){wh(t)||e(t)})),t[Fv]=!1)},am=function(t){return new(function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){Ml(e,n),lm(t)},i.prototype.leaveEmphasis=function(e,n){Il(e,n),lm(t)},i.prototype.enterBlur=function(e){Tl(e),lm(t)},i.prototype.leaveBlur=function(e){Cl(e),lm(t)},i.prototype.enterSelect=function(e){Dl(e),lm(t)},i.prototype.leaveSelect=function(e){Al(e),lm(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(Sd))(t)},sm=function(t){function e(t,e){for(var n=0;n=0)){Pm.push(n);var o=My.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Rm(t,e){bm[t]=e}var Nm=function(t){var e=(t=T(t)).type;e||ro("");var n=e.split(":");2!==n.length&&ro("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,Hf.set(e,t)};Lm(Nv,ry),Lm(Ev,ay),Lm(Ev,sy),Lm(Nv,Ey),Lm(Ev,zy),Lm(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=Av(n,e))}));var r=i.getVisual("decal");r&&(i.getVisual("style").decal=Av(r,e))}}))})),Cm(Kd),Dm(900,(function(t){var e=ct();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each($d)})),Rm("default",(function(t,e){k(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Lr,i=new ks({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Us({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new ks({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new nh({shape:{startAngle:-ly/2,endAngle:-ly/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*ly/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*ly/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),km({type:nl,event:nl,update:nl},yt),km({type:il,event:il,update:il},yt),km({type:rl,event:rl,update:rl},yt),km({type:ol,event:ol,update:ol},yt),km({type:al,event:al,update:al},yt),Tm("light",Ty),Tm("dark",Py);var Em=[],zm={registerPreprocessor:Cm,registerProcessor:Dm,registerPostInit:function(t){Am("afterinit",t)},registerPostUpdate:function(t){Am("afterupdate",t)},registerUpdateLifecycle:Am,registerAction:km,registerCoordinateSystem:function(t,e){Td.register(t,e)},registerLayout:function(t,e){Om(xm,t,e,1e3,"layout")},registerVisual:Lm,registerTransform:Nm,registerLoading:Rm,registerMap:function(t,e,n){var i=Rv.registerMap;i&&i(t,e,n)},registerImpl:function(t,e){Rv[t]=e},PRIORITY:zv,ComponentModel:Bp,ComponentView:Eg,SeriesModel:Rg,ChartView:Ug,registerComponentModel:function(t){Bp.registerClass(t)},registerComponentView:function(t){Eg.registerClass(t)},registerSeriesModel:function(t){Rg.registerClass(t)},registerChartView:function(t){Ug.registerClass(t)},registerSubTypeDefaulter:function(t,e){Bp.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){var n;n=e,Pr[t]=n}};function Vm(t){G(t)?R(t,(function(t){Vm(t)})):L(Em,t)>=0||(Em.push(t),W(t)&&(t={install:t}),t.install(zm))}function Bm(t){return null==t?0:t.length||1}function Fm(t){return t}var Gm=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Fm,this._newKeyGetter=i||Fm,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var tx,ex,nx,ix,rx,ox,ax,sx=U,lx=N,ux="undefined"==typeof Int32Array?Array:Int32Array,hx=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],cx=["_approximateExtent"],px=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Km(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Yp&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(G(r=this.getVisual(e))?r=r.slice():sx(r)&&(r=A({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,sx(e)?A(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){sx(t)?A(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?A(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;js(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){R(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:lx(this.dimensions,this._getDimInfo,this),this.hostModel)),rx(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];W(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(et(arguments)))})},t.internalField=(tx=function(t){var e=t._invertedIndicesMap;R(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new ux(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}(),dx=px;function fx(t,e){of(t)||(t=sf(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=ct(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return R(e,(function(t){var e;U(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&Qm(a),l=i===t.dimensionsDefine,u=l?Jm(t):$m(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=ct(h),p=new Kf(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new qm({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function gx(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var yx=function(t){this.coordSysDims=[],this.axisMap=ct(),this.categoryAxisMap=ct(),this.coordSysName=t},vx={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Io).models[0],o=t.getReferringComponents("yAxis",Io).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),mx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),mx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Io).models[0];e.coordSysDims=["single"],n.set("single",r),mx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Io).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),mx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),mx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();R(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),mx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function mx(t){return"category"===t.get("type")}function xx(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!Km(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(R(i,(function(t,e){H(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;R(i,(function(t){t.coordDim===d&&g++}));var y={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),v.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function _x(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function bx(t,e){return _x(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Sx(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=sf(t)):o=(i=r.getSource()).sourceFormat===Yp;var a=function(t){var e=t.get("coordinateSystem"),n=new yx(e),i=vx[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=Td.get(i);return e&&e.coordSysDims&&(n=N(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Xm(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=W(l)?l:l?F(nd,s,e):null,h=fx(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&R(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),d=xx(e,{schema:h,store:p}),f=new dx(h,e);f.setCalculationInfo(d);var g=null!=c&&function(t){if(t.sourceFormat===Yp){var e=function(t){for(var e=0;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Bo(Mx);var Ix=Mx,Tx=0,Cx=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Tx}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&N(i,Dx);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!H(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=ct(this.categories))},t}();function Dx(t){return U(t)&&null!=t.value?t.value:t+""}var Ax=Cx;function kx(t){return"interval"===t.type||"log"===t.type}function Lx(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=Kr(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Ox(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Rx(t,0,e),Rx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[Br(Math.ceil(t[0]/a)*a,s),Br(Math.floor(t[1]/a)*a,s)],t),r}function Px(t){var e=Math.pow(10,qr(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Br(n*e)}function Ox(t){return Gr(t)+2}function Rx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Nx(t,e){return t>=e[0]&&t<=e[1]}function Ex(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function zx(t,e){return t*(e[1]-e[0])+e[0]}var Vx=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Ax({})),G(i)&&(i=new Ax({categories:N(i,(function(t){return U(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return n(e,t),e.prototype.parse=function(t){return null==t?NaN:H(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Nx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Ex(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(zx(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Ix);Ix.registerClass(Vx);var Bx=Vx,Fx=Br,Gx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return n(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Nx(t,this._extent)},e.prototype.normalize=function(t){return Ex(t,this._extent)},e.prototype.scale=function(t){return zx(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Ox(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Fx(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return R(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=Vr(t.get("barWidth"),i),d=Vr(t.get("barMaxWidth"),i),f=Vr(t.get("barMinWidth")||(e_(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:d,barMinWidth:f,barGap:g,barCategoryGap:y,axisKey:jx(r),stackId:Zx(t)})})),$x(n)}function $x(t){var e={};R(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return R(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=V(i).length;o=Math.max(35-4*a,15)+"%"}var s=Vr(o,r),l=Vr(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),R(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)i=t.width,e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--;else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;R(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;R(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function Jx(t,e){var n=qx(t,e),i=Kx(n);R(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Zx(t),o=i[jx(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function Qx(t){return{seriesType:t,plan:zg(),reset:function(t){if(t_(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=_x(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,r),d=e_(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=d&&Xx(3*r),u=d&&s&&Xx(3*r),m=d&&Xx(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=p,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(c){var L=n.dataToPoint([S,M]);h&&(I=n.dataToPoint([T,M])[0]),C=I,D=L[1]+v,A=L[0]-I,k=y,Math.abs(A)0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(G(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return tp(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=Kc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&v<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[d])break}h=[]}}var x=z(N(u,(function(t){return z(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(d=0;dn&&(this._approxInterval=n);var o=i_.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function o_(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function a_(t){return(t/=Hc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function s_(t,e){return(t/=e?Wc:Gc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function l_(t){return Kr(t,!0)}function u_(t,e,n){var i=new Date(t);switch(Jc(e)){case"year":case"month":i[cp(n)](0);case"day":i[pp(n)](1);case"hour":i[dp(n)](0);case"minute":i[fp(n)](0);case"second":i[gp(n)](0),i[yp(n)](0)}return i.getTime()}Ix.registerClass(n_);var h_=n_,c_=Ix.prototype,p_=Wx.prototype,d_=Br,f_=Math.floor,g_=Math.ceil,y_=Math.pow,v_=Math.log,m_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Wx,e._interval=0,e}return n(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return N(p_.getTicks.call(this,t),(function(t){var e=t.value,r=Br(y_(this.base,e));return r=e===n[0]&&this._fixMin?__(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?__(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=v_(this.base);t=v_(Math.max(0,t))/n,e=v_(Math.max(0,e))/n,p_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=c_.getExtent.call(this);e[0]=y_(t,e[0]),e[1]=y_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=__(e[0],n[0])),this._fixMax&&(e[1]=__(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=v_(t[0])/v_(e),t[1]=v_(t[1])/v_(e),c_.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i,r=(i=n,Math.pow(10,qr(i)));for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[Br(g_(e[0]/r)*r),Br(f_(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){p_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Nx(t=v_(t)/v_(this.base),this._extent)},e.prototype.normalize=function(t){return Ex(t=v_(t)/v_(this.base),this._extent)},e.prototype.scale=function(t){return t=zx(t,this._extent),y_(this.base,t)},e.type="log",e}(Ix),x_=m_.prototype;function __(t,e){return d_(t,Gr(e))}x_.getMinorTicks=p_.getMinorTicks,x_.getLabel=p_.getLabel,Ix.registerClass(m_);var b_=m_,w_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[M_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[S_[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),S_={min:"_determinedMin",max:"_determinedMax"},M_={min:"_dataMin",max:"_dataMax"};function I_(t,e,n){var i=t.rawExtentInfo;return i||(i=new w_(t,e,n),t.rawExtentInfo=i,i)}function T_(t,e){return null==e?null:$(e)?NaN:t.parse(e)}function C_(t,e){var n=t.type,i=I_(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=qx("bar",a),l=!1;if(R(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Kx(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[jx(e)];return null!=i&&null!=n?i[Zx(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;R(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;R(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return{min:t-=c*(s/u),max:e+=c*(l/u)}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function D_(t,e){var n=e,i=C_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof b_&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function A_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Bx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new h_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Ix.getClass(e)||Wx)}}function k_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):H(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):W(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(L_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function L_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function P_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Ce(t.x,t.y,o,a)}function O_(t){var e=t.get("interval");return null==e?"auto":e}function R_(t){return"category"===t.type&&0===O_(t.getLabelModel())}function N_(t,e){var n={};return R(t.mapDimensionsAll(e),(function(e){n[bx(t,e)]=!0})),V(n)}var E_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();function z_(t,e){return Math.abs(t-e)<1e-8}function V_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function q_(t,e){return N(z((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),R(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=j_(r,i,n);break;case"Polygon":case"MultiLineString":Z_(r,i,n);break;case"MultiPolygon":R(r,(function(t,e){return Z_(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new H_(o[0],o.slice(1)));break;case"MultiPolygon":R(i.coordinates,(function(t){t[0]&&r.push(new H_(t[0],t.slice(1)))}));break;case"LineString":r.push(new Y_([i.coordinates]));break;case"MultiLineString":r.push(new Y_(i.coordinates))}var a=new X_(n[e||"name"],r,n.cp);return a.properties=n,a}))}var K_=bo();function $_(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=Q_(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=k_(t);return{labels:N(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function J_(t,e){return"category"===t.type?function(t,e){var n,i,r=tb(t,"ticks"),o=O_(e),a=eb(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(n=[]),W(o))n=rb(t,o,!0);else if("auto"===o){var s=Q_(t,t.getLabelModel());i=s.labelCategoryInterval,n=N(s.labels,(function(t){return t.tickValue}))}else n=ib(t,i=o,!0);return nb(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:N(t.scale.getTicks(),(function(t){return t.value}))}}function Q_(t,e){var n,i,r=tb(t,"labels"),o=O_(e),a=eb(r,o);return a||(W(o)?n=rb(t,o):(i="auto"===o?function(t){var e=K_(t).autoInterval;return null!=e?e:K_(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=ib(t,i)),nb(r,o,{labels:n,labelCategoryInterval:i}))}function tb(t,e){return K_(t)[e]||(K_(t)[e]=[])}function eb(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=R_(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function rb(t,e,n){var i=t.scale,r=k_(t),o=[];return R(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var ob=[0,1],ab=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Wr(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&sb(n=n.slice(),i.count()),zr(t,ob,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&sb(n=n.slice(),i.count());var r=zr(t,n,ob,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=N(J_(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;R(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]}),c(s[1],o.coord)&&(i?o.coord=s[1]:e.pop()),i&&c(o.coord,s[1])&&e.push({coord:s[1]})}function c(t,e){return t=Br(t),e=Br(e),h?t>e:t0&&t<100||(t=5),N(this.scale.getMinorTicks(t),(function(t){return N(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return $_(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=k_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f,g,y=dr(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,m=d/c;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var x=Math.max(0,Math.floor(Math.min(v,m))),_=K_(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}();function sb(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var lb=ab,ub=2*Math.PI,hb=ja.CMD,cb=["top","right","bottom","left"];function pb(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function db(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%ub<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=Qa(r),r=Qa(p)}else i=Qa(i),r=Qa(r);i>r&&(r+=ub);var d=Math.atan2(s,a);if(d<0&&(d+=ub),d>=i&&d<=r||d+ub>=i&&d+ub<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,xb.fromArray(t[0]),_b.fromArray(t[1]),bb.fromArray(t[2]),ve.sub(wb,xb,_b),ve.sub(Sb,bb,_b);var n=wb.len(),i=Sb.len();if(!(n<.001||i<.001)){wb.scale(1/n),Sb.scale(1/i);var r=wb.dot(Sb);if(Math.cos(e)1&&ve.copy(Tb,bb),Tb.toArray(t[1])}}}}function Db(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,xb.fromArray(t[0]),_b.fromArray(t[1]),bb.fromArray(t[2]),ve.sub(wb,_b,xb),ve.sub(Sb,bb,_b);var i=wb.len(),r=Sb.len();if(!(i<.001||r<.001)&&(wb.scale(1/i),Sb.scale(1/r),wb.dot(e)=a)ve.copy(Tb,bb);else{Tb.scaleAndAdd(Sb,o/Math.tan(Math.PI/2-s));var l=bb.x!==_b.x?(Tb.x-_b.x)/(bb.x-_b.x):(Tb.y-_b.y)/(bb.y-_b.y);if(isNaN(l))return;l<0?ve.copy(Tb,_b):l>1&&ve.copy(Tb,bb)}Tb.toArray(t[1])}}}function Ab(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function kb(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=At(i[0],i[1]),o=At(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Lt([],i[1],i[0],a/r),l=Lt([],i[1],i[2],a/o),u=Lt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&_(-h/a,0,a);var f,g,y=t[0],v=t[a-1];return m(),f<0&&b(-f,.8),g<0&&b(g,.8),m(),x(f,g,1),x(g,f,-1),m(),f<0&&w(-f),g<0&&w(g),u}function m(){f=y.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){_(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function _(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--)_(-o[l-1]*c,l,a)}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?_(n,0,i+1):_(-n,a-i-1,a),(t-=n)<=0)return}}function Nb(t,e,n,i){return Rb(t,"y","height",e,n,i)}function Eb(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Ce(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(d.oldLayoutSelect),L(u,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),_h(n,s,e,a)}else if(n.attr(s),!pc(n).valueAnimation){var h=Q(n.style.opacity,1);n.style.opacity=0,bh(n,{style:{opacity:h}},e,a)}if(d.oldLayout=s,n.states.select){var c=d.oldLayoutSelect={};Hb(c,s,Yb),Hb(c,n.states.select,Yb)}if(n.states.emphasis){var p=d.oldLayoutEmphasis={};Hb(p,s,Yb),Hb(p,n.states.emphasis,Yb)}fc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(d=Wb(i)).oldLayout;var d,f={points:i.shape.points};r?(i.attr({shape:r}),_h(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,bh(i,{style:{strokePercent:1}},e)),d.oldLayout=f}},t}(),Ub=Xb,Zb=bo(),jb=Math.sin,qb=Math.cos,Kb=Math.PI,$b=2*Math.PI,Jb=180/Kb,Qb=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=ti(h-$b)||(u?l>=$b:-l>=$b),p=l>0?l%$b:l%$b+$b,d=!1;d=!!c||!ti(h)&&p>=Kb==!!u;var f=t+n*qb(o),g=e+i*jb(o);this._start&&this._add("M",f,g);var y=Math.round(r*Jb);if(c){var v=1/this._p,m=(u?1:-1)*($b-v);this._add("A",n,i,y,1,+u,t+n*qb(o+m),e+i*jb(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*qb(a),_=e+i*jb(a);this._add("A",n,i,y,+d,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?qt(a):a||"")+(i?""+n+N(i,(function(e){return t(e)})).join(n)+n:"")+""}(t)}function cw(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function pw(t,e,n,i){return uw("svg","root",{width:t,height:e,xmlns:aw,"xmlns:xlink":sw,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var dw={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},fw="transform-origin";function gw(t,e,n){var i=A({},t.shape);A(i,e),t.buildPath(n,i);var r=new tw;return r.reset(hi(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function yw(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[fw]=n+"px "+i+"px")}var vw={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function mw(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function xw(t){return H(t)?dw[t]?"cubic-bezier("+dw[t]+")":In(t)?t:"":""}function _w(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof rh){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(R(o,(function(t){var e=cw(n.zrId);e.animation=!0,_w(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=V(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=mw(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return mw(h,n)+" "+r[0]+" both"}for(var y in l)(s=g(l[y]))&&a.push(s);if(a.length){var v=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}var bw=Math.round;function ww(t){return t&&H(t.src)}function Sw(t){return t&&W(t.toDataURL)}function Mw(t,e,n,i){ow((function(r,o){var a="fill"===r||"stroke"===r;a&&li(o)?Rw(e,t,r,i):a&&oi(o)?Nw(n,t,r,i):t[r]=o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,d=Jn(i.shadowColor),f=d.opacity,g=d.color,y=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=uw("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[uw("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=ui(a)}}(n,t,i)}function Iw(t){return ti(t[0]-1)&&ti(t[1])&&ti(t[2])&&ti(t[3]-1)}function Tw(t,e,n){if(e&&(!function(t){return ti(t[4])&&ti(t[5])}(e)||!Iw(e))){var i=n?10:1e4;t.transform=Iw(e)?"translate("+bw(e[4]*i)/i+" "+bw(e[5]*i)/i+")":function(t){return"matrix("+ei(t[0])+","+ei(t[1])+","+ei(t[2])+","+ei(t[3])+","+ni(t[4])+","+ni(t[5])+")"}(e)}}function Cw(t,e,n){for(var i=t.points,r=[],o=0;ol?Kw(t,null==n[c+1]?null:n[c+1].elm,n,s,c):$w(t,e,a,l))}(n,i,r):Uw(r)?(Uw(t.text)&&Hw(n,""),Kw(n,null,r,0,r.length-1)):Uw(i)?$w(n,i,0,i.length-1):Uw(t.text)&&Hw(n,""):t.text!==e.text&&(Uw(i)&&$w(n,i,0,i.length-1),Hw(n,e.text)))}var tS=0,eS=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=A({},n),this.root=t,this._id="zr"+tS++,this._oldVNode=pw(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=lw("svg");Jw(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(jw(t,e))Qw(t,e);else{var n=t.elm,i=Gw(n);qw(e),null!==i&&(Vw(i,e.elm,Ww(n)),$w(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Ow(t,cw(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=cw(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=uw("rect","bg",{width:t,height:e,x:"0",y:"0",id:"0"}),li(n))Rw({fill:n},r.attrs,"fill",i);else if(oi(n))Nw({style:{fill:n},dirty:yt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=Jn(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=uw("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=N(V(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(uw("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=N(V(t),(function(e){return e+r+N(V(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=N(V(e),(function(t){return"@keyframes "+t+r+N(V(e[t]),(function(n){return n+r+N(V(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=uw("style","stl",{},[],u);o.push(h)}}return pw(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},hw(this.renderToVNode({animation:Q(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Q(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=d-1;g>f;g--)i=a[--s-1];for(var y=f+1;y=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=d.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?lS:0),this._needsManuallyCompositing),u.__builtin__||I("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,R(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?C(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Rg),pS=cS;function dS(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Sf(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var gS=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return n(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=nv(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=yS,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Ml(this.childAt(0))},e.prototype.downplay=function(){Il(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):_h(p,c,a,n),Th(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);u||(c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}},p.scaleX=p.scaleY=0,p.style.opacity=0,bh(p,c,a,n))}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=rc(y),p=v.getShallow("scale"),d=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=rv(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),d&&f.attr("cursor",d);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof ws){var w=f.style;f.useStyle(A({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(A({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;ic(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):dS(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),Vl(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=Zs(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&Sh(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Sh(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return iv(t.getItemVisual(e,"symbolSize"))},e}(Lr);function yS(t,e){this.parent.drift(t,e)}var vS=gS;function mS(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function xS(t){return null==t||U(t)||(t={isIgnore:t}),t||{}}function _S(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:rc(e),cursorStyle:e.get("cursor")}}var bS=function(){function t(t){this.group=new Lr,this._SymbolCtor=t||vS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=xS(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=_S(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(mS(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(mS(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),(p=new o(t,h,s,l)).setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):_h(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=_S(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=xS(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]),n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=N(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,d=e.getCalculationInfo("stackResultDimension");return _x(e,c[0])&&(p=!0,c[0]=d),_x(e,c[1])&&(p=!0,c[1]=d),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function MS(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var IS=Math.min,TS=Math.max;function CS(t,e){return isNaN(t)||isNaN(e)}function DS(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y=r||g<0)break;if(CS(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var x=v-u,_=m-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y=i||CS(w,S))d=v,f=m;else{T=w-u,C=S-h;var k=v-u,L=w-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;d=v-E*(R=Math.abs(k))*a,f=m,D=v+E*(N=Math.abs(L))*a,A=m}else if("y"===s){var z=C>0?1:-1;d=v,f=m-z*(R=Math.abs(P))*a,D=v,A=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),d=v-T*a*(1-(I=(N=Math.sqrt(L*L+O*O))/(N+R))),f=m-C*a*(1-I),A=m+C*a*I,D=IS(D=v+T*a*I,TS(w,v)),A=IS(A,TS(S,m)),D=TS(D,IS(w,v)),f=m-(C=(A=TS(A,IS(S,m)))-m)*R/N,d=IS(d=v-(T=D-v)*R/N,TS(u,v)),f=IS(f,TS(h,m)),D=v+(T=v-(d=TS(d,IS(u,v))))*N/R,A=m+(C=m-(f=TS(f,IS(h,m))))*N/R}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=A}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var AS=function(){this.smooth=0,this.smoothConstraint=!0},kS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new AS},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&CS(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(h-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++];var v=a?dn(n,u,c,d,t,s):dn(i,h,p,f,t,s);if(v>0)for(var m=0;m=0)return y=a?cn(i,h,p,f,x):cn(n,u,c,d,x),a?[t,y]:[y,t]}n=d,i=f}}},e}(gs),LS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(AS),PS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return n(e,t),e.prototype.getDefaultShape=function(){return new LS},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&CS(n[2*o-2],n[2*o-1]);o--);for(;r=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=Hn(e[r]),s=Hn(e[o]),l=i-r,u=qn([Pn(zn(a[0],s[0],l)),Pn(zn(a[1],s[1],l)),Pn(zn(a[2],s[2],l)),On(zn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function HS(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return R(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function YS(t,e){return[t[2*e],t[2*e+1]]}function XS(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=N(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=WS(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=p[0].coord-10,g=p[d-1].coord+10,y=g-f;if(y<.001)return"transparent";R(p,(function(t){t.offset=(t.coord-f)/y})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var v=new ah(0,0,0,0,p,!0);return v[r]=f,v[r+"2"]=g,v}}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(d&&c.type===r.type&&T===this._step){v&&!f?f=this._newPolygon(u,_):f&&!v&&(g.remove(f),f=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,Mp(C));var D=g.getClipPath();D?bh(D,{shape:US(this,r,!1,t).shape},t):g.setClipPath(US(this,r,!0,t)),b&&p.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),zS(this._stackedOnPoints,_)&&zS(this._points,u)||(y?this._doUpdateAnimation(a,_,r,n,T,m,w):(T&&(u=GS(u,r,T,w),_&&(_=GS(_,r,T,w))),d.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:_})))}else b&&p.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),y&&this._initSymbolLabelAnimation(a,r,I),T&&(u=GS(u,r,T,w),_&&(_=GS(_,r,T,w))),d=this._newPolyline(u),v?f=this._newPolygon(u,_):f&&(g.remove(f),f=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,Mp(C)),g.setClipPath(US(this,r,!0,t));var A=t.getModel("emphasis"),L=A.get("focus"),P=A.get("blurScope"),O=A.get("disabled");d.useStyle(k(s.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"})),Wl(d,t,"lineStyle"),d.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1),Zs(d).seriesIndex=t.seriesIndex,Vl(d,L,P,O);var E=FS(t.get("smooth")),z=t.get("smoothMonotone");if(d.setShape({smooth:E,smoothMonotone:z,connectNulls:w}),f){var V=a.getCalculationInfo("stackedOnSeries"),B=0;f.useStyle(k(l.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),V&&(B=FS(V.get("smooth"))),f.setShape({smooth:E,stackedOnSmooth:B,smoothMonotone:z,connectNulls:w}),Wl(f,t,"areaStyle"),Zs(f).seriesIndex=t.seriesIndex,Vl(f,L,P,O)}var F=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=F)})),this._polyline.onHoverStateChange=F,this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=u,this._step=T,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){Zs(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=_o(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new vS(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Ug.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=_o(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Ug.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;xl(this._polyline,t),e&&xl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new kS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new PS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");W(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=W(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-y[1]/180*Math.PI):(p=g.r0,d=g.r,f=y[0])}else{var v=n;i?(p=v.x,d=v.x+v.width,f=t.x):(p=v.y+v.height,d=v.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var x=W(u)?u(o):l*m+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(XS(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Us({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(ic(o,rc(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?fS(r,n):dS(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=YS(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(m,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(I=ko(n,p,C,D,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=YS(u,A),r&&(I=h.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=pc(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),l=[],u=[],h=[],c=[],p=[],d=[],f=[],g=SS(r,e,a),y=t.getLayout("points")||[],v=e.getLayout("points")||[],m=0;m3e3||l&&BS(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),_h(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),_h(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var d=void 0;H(r)?d=KS[r]:W(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,$S))}}}}}var QS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(t,e){return Sx(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)R(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=r[n],s="x1"===e[n]||"y1"===e[n];if(s&&(a+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[s?1:0]));for(var l=void 0,u=void 0,h=1,c=0;ca){u=(p+l)/2;break}1===c&&(h=d-i[0].tickValue)}null==u&&(l?l&&(u=i[i.length-1].coord):u=i[0].coord),o[n]=t.toGlobalCoord(u)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Rg);Rg.registerClass(QS);var tM=QS,eM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(){return Sx(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Pc(tM.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(tM),nM=eM,iM=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},rM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return n(e,t),e.prototype.getDefaultShape=function(){return new iM},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Ih(e,t,Zs(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Ug),pM={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=uM(e.x,t.x),s=hM(e.x+e.width,r),l=uM(e.y,t.y),u=hM(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=hM(e.r,t.r),o=uM(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;return n<0&&(i=e.r,e.r=e.r0,e.r0=i),a}},dM={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new ks({shape:A({},i),z2:1});return u.__dataIndex=n,u.name="item",o&&(u.shape[r?"height":"width"]=0),u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?oM:Ru,h=new u({shape:i,z2:1});h.name="item";var c,p,d=_M(r);if(h.calculateTextPosition=(c=d,p=({isRoundCap:u===oM}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return mr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,d=(u+h)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=p?Math.abs(u-h)/2:0,m=Math.cos,x=Math.sin,_=s+u*m(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*m(y),b=l+(h-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*m(y),b=l+(h+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+d*m(f)+aM(f,o+v,!1),b=l+d*x(f)+sM(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":_=s+d*m(f)+aM(f,-o+v,!1),b=l+d*x(f)+sM(f,-o+v,!1),w="left",S="middle";break;case"middle":_=s+d*m(y),b=l+d*x(y),w="center",S="middle";break;case"endArc":_=s+(u+o)*m(y),b=l+(u+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*m(y),b=l+(u-o)*x(y),w="center",S="top";break;case"endAngle":_=s+d*m(g)+aM(g,o+v,!0),b=l+d*x(g)+sM(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":_=s+d*m(g)+aM(g,-o+v,!0),b=l+d*x(g)+sM(g,-o+v,!0),w="right",S="middle";break;default:return mr(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?_h:bh)(h,{shape:g},o)}return h}};function fM(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?_h:bh)(n,{shape:l},e,r,null),(a?_h:bh)(n,{shape:u},e?t.baseAxis.model:null,r)}function gM(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function _M(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function bM(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;A(u,lM(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=rc(i);ic(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:dS(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(X(i))t.setTextConfig({rotation:i});else if(G(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,_M(a),i.get(["label","rotate"]))}dc(f,d,o.getRawValue(n),(function(t){return fS(e,t)}));var y=i.getModel(["emphasis"]);Vl(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),Wl(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",R(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var wM=function(){},SM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return n(e,t),e.prototype.getDefaultShape=function(){return new wM},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);Zs(this).dataIndex=e>=0?e:null}),30,!1);function TM(t,e,n){if(ES(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var CM=cM,DM=2*Math.PI,AM=Math.PI/180;function kM(t,e){return Lp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function LM(t,e){var n=kM(t,e),i=t.get("center"),r=t.get("radius");G(r)||(r=[0,r]);var o,a,s=Vr(n.width,e.getWidth()),l=Vr(n.height,e.getHeight()),u=Math.min(s,l),h=Vr(r[0],u/2),c=Vr(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else G(i)||(i=[i,i]),o=Vr(i[0],s)+n.x,a=Vr(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function PM(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=kM(t,n),o=LM(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*AM,c=t.get("minAngle")*AM,p=0;e.each(i,(function(t){!isNaN(t)&&p++}));var d=e.getSum(i),f=Math.PI/(d||p)*2,g=t.get("clockwise"),y=t.get("roseType"),v=t.get("stillShowZeroSum"),m=e.getDataExtent(i);m[0]=0;var x=DM,_=0,b=h,w=g?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:u,r:y?NaN:l});else{(i="area"!==y?0===d&&v?f:t*f:DM/p)n?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function zM(t){return"center"===t.position}function VM(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*RM,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),m=y.get("distanceToLabelLine"),x=y.get("alignTo"),_=Vr(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=Vr(S,u);var M=w.get("length2");if(M=Vr(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":k>0?"left":"right"}var B=Math.PI,F=0,G=y.get("rotate");if(X(G))F=G*(B/180);else if("center"===v)F=0;else if("radial"===G||!0===G)F=k<0?-A+B:-A;else if("tangential"===G&&"outside"!==v&&"outer"!==v){var W=Math.atan2(k,L);W<0&&(W=2*B+W),L>0&&(W=B+W),F=W-B}if(o=!!F,p.x=I,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),P){p.setStyle({align:D});var H=p.states.select;H&&(H.x+=p.x,H.y+=p.y)}else{var Y=p.getBoundingRect().clone();Y.applyTransform(p.getComputedTransform());var U=(p.style.margin||0)+2.1;Y.y-=U/2,Y.height+=U,r.push({label:p,labelLine:f,position:v,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new ve(k,L),linePoints:C,textAlign:D,labelDistance:m,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(Ug),GM=FM;function WM(t,e,n){e=G(e)&&{coordDimensions:e}||A({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=fx(i,e).dimensions,o=new dx(r,t);return o.initData(i,n),o}var HM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),YM=HM,XM=bo(),UM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new YM(B(this.getData,this),B(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return WM(this,{coordDimensions:["value"],encodeDefaulter:F(id,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=XM(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=function(t,e){var n=E(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=N(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=N(r,(function(t){return Math.floor(t)})),s=E(a,(function(t,e){return t+e}),0),l=N(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return N(a,(function(t){return t/i}))}(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){uo(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Rg),ZM=UM,jM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){return Sx(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Rg),qM=jM,KM=function(){},$M=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return n(e,t),e.prototype.getDefaultShape=function(){return new KM},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),QM=JM,tI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=qS("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new QM:new wS,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Ug),eI=tI,nI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Bp),iI=nI,rI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Io).models[0]},e.type="cartesian2dAxis",e}(Bp);P(rI,E_);var oI={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},aI=C({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},oI),sI=C({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},oI),lI={category:aI,value:sI,time:C({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},sI),log:k({logBase:10},sI)},uI={value:1,category:1,time:1,log:1};function hI(t,e,i,r){R(uI,(function(o,a){var s=C(C({},lI[a],!0),r,!0),l=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return n(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=Op(this),i=n?Np(t):{};C(t,e.getTheme().get(a+"Axis")),C(t,this.getDefaultOption()),t.type=cI(t),n&&Rp(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Ax.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=e+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",cI)}function cI(t){return t.type||(t.data?"category":"value")}var pI=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return N(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),z(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),dI=["x","y"];function fI(t){return"interval"===t.type||"time"===t.type}var gI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=dI,e}return n(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(fI(t)&&fI(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=ge([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Ce(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Pt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Pt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i;return new Ce(n,i,r,o)},e}(pI),yI=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return n(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(lb),vI=yI;function mI(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),J(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-y:y,o.z2=1,o}function xI(t){return"cartesian2d"===t.get("coordinateSystem")}function _I(t){var e={xAxisModel:null,yAxisModel:null};return R(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Io).models[0];e[i]=o})),e}var bI=Math.log;function wI(t,e,n){var i=Wx.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=C_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=bI(t.base);u=[bI(u[0])/p,bI(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;yu[0]&&isFinite(g)&&isFinite(u[0]);)f=Px(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Px(f));var v=f*a;(g=Br((y=Math.ceil(u[1]/f)*f)-v))<0&&u[0]>=0?(g=0,y=Br(v)):y>0&&u[1]<=0&&(y=0,g=-Br(v))}var m=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*x),i.setInterval.call(t,f),(m||x)&&i.setNiceExtent.call(t,g+f,y-f)}var SI=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=dI,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=V(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;kx(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(D_(l,s),kx(l)&&(e=a))}r.length&&(e||D_((e=r.pop()).scale,e.model),R(r,(function(t){wI(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};R(n.x,(function(t){II(n,"y",t,r)})),R(n.y,(function(t){II(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=Lp(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){R(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(R(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Bx?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=k_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var CI=SI,DI=Math.PI,AI=function(){function t(t,e){this.group=new Lr,this.opt=e,this.axisModel=t,k(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Lr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!kI[t]},t.prototype.add=function(t){kI[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=Xr(e-t);return Ur(o)?(r=n>0?"top":"bottom",i="center"):Ur(o-DI)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),kI={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Pt(s,s,a),Pt(l,l,a));var h=A({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new ju({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Vh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);H(p)&&(p=[p,p]),(H(d)||X(d))&&(d=[d,d]);var f=rv(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];R([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=nv(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");if("auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick")),a&&!r.scale.isBlank()){for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=RI(r.getTicksCoords(),e.transform,l,k(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,OI(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*DI/180),OI(s)?o=AI.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=Xr(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return Ur(a-DI/2)?(o=l?"bottom":"top",r="center"):Ur(a-1.5*DI)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*DI&&a>DI/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=J(t.nameTruncateMaxWidth,y.maxWidth,a),x=new Us({x:d[0],y:d[1],rotation:o.rotation,silent:AI.isLabelSilent(e),style:oc(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Kh({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=AI.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,Zs(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function LI(t){t&&(t.ignore=!0)}function PI(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=ue([]);return de(r,r,-t.rotation),n.applyTransform(ce([],r,t.getLocalTransform())),i.applyTransform(ce([],r,e.getLocalTransform())),n.intersect(i)}}function OI(t){return"middle"===t||"center"===t}function RI(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function VI(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[FI(t)]}function BI(t){return!!t.get(["handle","show"])}function FI(t){return t.type+"||"+t.id}var GI={},WI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=VI(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=BI(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=k({color:c.color},a));var d=C(T(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(H(l)){var f=d.name;d.name=l.replace("{value}",null!=f?f:"")}else W(l)&&(d.name=l(d.name,d));var g=new Ac(d,null,this.ecModel);return P(g,E_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:C({lineStyle:{color:"#bbb"}},hT.axisLine),axisLabel:cT(hT.axisLabel,!1),axisTick:cT(hT.axisTick,!1),splitLine:cT(hT.splitLine,!0),splitArea:cT(hT.splitArea,!0),indicator:[]},e}(Bp),dT=pT,fT=["axisLine","axisTickLabel","axisName"],gT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;R(N(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new NI(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){R(fT,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=G(h)?h:[h],d=G(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1;TT(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);TT(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){ST(this._zr,"globalPan")||TT(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(Bt);function TT(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(re(i.event),CT(t,e,n,i,r))}function CT(t,e,n,i,r){r.isAvailableBehavior=B(DT,null,n,i),t.trigger(e,r)}function DT(t,e,n){var i=n[t];return!t||i&&(!H(i)||e.event[i+"Key"])}var AT=IT;function kT(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function LT(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var PT,OT={axisPointer:1,tooltip:1,brush:1};function RT(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!OT.hasOwnProperty(i.mainType)&&r&&r.model!==n}function NT(t){H(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var ET={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},zT=V(ET),VT={"alignment-baseline":"textBaseline","stop-color":"stopColor"},BT=V(VT),FT=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=NT(t);this._defsUsePending=[];var i=new Lr;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),UT(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=eC(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new Lr).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new ks({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=PT[s];if(u&>(PT,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=GT[s];if(p&>(GT,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new ms({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});YT(e,n),UT(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(PT={g:function(t,e){var n=new Lr;return YT(e,n),UT(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new ks;return YT(e,n),UT(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new gu;return YT(e,n),UT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new ju;return YT(e,n),UT(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new mu;return YT(e,n),UT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=XT(i));var r=new Gu({shape:{points:n||[]},silent:!0});return YT(e,r),UT(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=XT(i));var r=new Yu({shape:{points:n||[]},silent:!0});return YT(e,r),UT(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new ws;return YT(e,n),UT(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Lr;return YT(e,a),UT(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Lr;return YT(e,a),UT(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=cu(t.getAttribute("d")||"");return YT(e,n),UT(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),GT={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new ah(e,n,i,r);return WT(t,o),HT(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new sh(e,n,i);return WT(t,r),HT(t,r),r}};function WT(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function HT(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};tC(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function YT(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),k(e.__inheritedStyle,t.__inheritedStyle))}function XT(t){for(var e=KT(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=KT(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":pe(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":fe(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":de(r,r,-parseFloat(l[0])*JT);break;case"skewX":ce(r,[1,0,Math.tan(parseFloat(l[0])*JT),1,0,0],r);break;case"skewY":ce(r,[1,Math.tan(parseFloat(l[0])*JT),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),tC(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=ct(),n=ct(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;ic(e,rc(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(wC(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function DC(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):Zs(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function AC(t,e,n,i,r){t.data||Kh({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function kC(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return Vl(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=Zs(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function LC(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),R(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Rg),EC=NC;function zC(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),R(e,(function(t,e){for(var n,i,r,o=(n=N(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},R(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h1?(d.width=p,d.height=p/x):(d.height=p,d.width=p*x),d.y=c[1]-d.height/2,d.x=c[0]-d.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,d=Lp(b,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}var qC=function(){function t(){this.dimensions=YC}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new ZC(o+r,o,A({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=jC,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),R(r,(function(t,r){var o=N(t,(function(t){return t.get("nameMap")})),a=new ZC(r,r,A({nameMap:D(o)},i(t[0])));a.zoomLimit=J.apply(null,N(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=jC,a.resize(t[0],e),R(t,(function(t){t.coordinateSystem=a,function(t,e){R(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=ct(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=uD(s),o=hD(o),s&&o;){r=uD(r),a=hD(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(pD(cD(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!uD(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!hD(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function aD(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function sD(t){return arguments.length?t:dD}function lD(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function uD(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function hD(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function cD(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function pD(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function dD(t,e){return t.parentNode===e.parentNode?1:2}var fD=function(){this.parentPoint=[],this.childPoints=[]},gD=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new fD},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=Vr(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;pm.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=s.get(["emphasis","focus"]),A="relative"===D?pt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():null;A&&(Zs(n).focus=A),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new Qu({shape:wD(h,c,p,r,r)})),_h(g,{shape:wD(h,c,p,o,a)},t));else if("polyline"===u&&"orthogonal"===h&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(H(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function zD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function VD(t,e){return L(zD(t),e)>=0}function BD(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var FD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return n(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Ac(n,this,this.ecModel),r=ND.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))})),o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return hg("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=BD(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Rg),GD=FD;function WD(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function HD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Lp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=sD((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=sD());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,d=p-u.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===i)f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),WD(l,(function(t){y=(t.getLayout().x+d)*f,v=(t.depth-1)*g;var e=lD(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(h.getLayout().x+p+d),f=r/(c.depth-1||1),WD(l,(function(t){v=(t.getLayout().x+d)*g,y="LR"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),WD(l,(function(t){y=(t.getLayout().x+d)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}(t,e)}))}function YD(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();A(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var XD=["treemapZoomToNode","treemapRender","treemapMove"];function UD(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=fd(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var ZD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};jD(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new Ac({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=lo(e.get("color")),o=lo(e.get(["aria","decal","decals"]));if(r){R(t=t||[],(function(t){var e=new Ac(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});return n||(a.color=r.slice()),!i&&o&&(a.decal=o.slice()),t}}(i,e);var a=N(i||[],(function(t){return new Ac(t,o,e)}),this),s=ND.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return hg("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=BD(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},A(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=ct(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){UD(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Rg);function jD(t){var e=0;R(t.children,(function(t){jD(t);var n=t.value;G(n)&&(n=n[0]),e+=n}));var n=t.value;G(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),G(t.value)?t.value[0]=n:t.value=n}var qD=ZD,KD=function(){function t(t){this.group=new Lr,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),Pp(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=vo(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,p,d,f,g,y=0,v=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,p=Vr(s.left,h),d=Vr(s.top,c),f=Vr(s.right,h),g=Vr(s.bottom,c),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=xp(u||0),{width:Math.max(f-p-u[1]-u[3],0),height:Math.max(g-d-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,T=M.width,C=M.text;_>x.width&&(_-=T-v,T=v,C=null);var D=new Gu({shape:{points:$D(y,0,T,m,S===b.length-1,0===S)},style:k(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Us({style:oc(r,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:F(a,I)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=oc(o,{text:C}),D.ensureState("emphasis").style=w,Vl(D,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(D),JD(D,t,I),y+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function $D(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function JD(t,e,n){Zs(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&BD(n,e)}}var QD=KD,tA=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new Ce(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];pe(s,s,[-(e-=a.x),-(n-=a.y)]),fe(s,s,[t.scale,t.scale]),pe(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Ip(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new QD(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(VD(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Ug),uA=lA,hA=R,cA=U,pA=-1,dA=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=T(e);this.type=i,this.mappingMethod=n,this._normalizeData=SA[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(fA(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,R(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(hA(e,(function(t,e){n[t]=e})),!G(i)){var r=[];U(i)?hA(i,(function(t,e){var i=n[e];r[null!=i?i:pA]=t})):r[-1]=i,i=wA(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):fA(r,!0):(it("linear"!==n||r.dataExtent),fA(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return B(this._normalizeData,this)},t.listVisualTypes=function(){return V(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){U(t)?R(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=G(e)?[]:U(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&hA(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(G(t))t=t.slice();else{if(!cA(t))return[];var e=[];hA(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new IA(c);return TA(p).drColorMappingBy=h,p}}}(0,r,o,0,u,d);R(d,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=A({},e);if(r){var s=r.type,l="color"===s&&TA(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);DA(t,o,n,i)}}))}else s=AA(u),h.fill=s}}function AA(t){var e=kA(t,"color");if(e){var n=kA(t,"colorAlpha"),i=kA(t,"colorSaturation");return i&&(e=Zn(e,null,null,i)),n&&(e=jn(e,n)),e}}function kA(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function LA(t,e){var n=t.get(e);return G(n)&&n.length?{name:e,range:n}:null}var PA=Math.max,OA=Math.min,RA=J,NA=R,EA=["itemStyle","borderWidth"],zA=["itemStyle","gapWidth"],VA=["upperLabel","show"],BA=["upperLabel","height"],FA={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=Lp(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=Vr(RA(s.width,l[0]),r),h=Vr(RA(s.height,l[1]),o),c=i&&i.type,p=ED(i,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=zD(f);if("treemapMove"!==c){var y="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;for(var l=i*r,u=l*t.option.zoomToNodeRatio;o=a.parentNode;){for(var h=0,c=o.children,p=0,d=c.length;pYr&&(u=Yr),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?PA(u*i/l,l/(u*r)):1/0}function HA(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(Lr),Dk=Ck;function Ak(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:rc(e)}}function kk(t){return isNaN(t[0])||isNaN(t[1])}function Lk(t){return t&&!kk(t[0])&&!kk(t[1])}var Pk=function(){function t(t){this.group=new Lr,this._LineCtor=t||Dk}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=Ak(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Ak(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function Fk(t,e){var n=[],i=bn,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[_t(l[0]),_t(l[1])],l[2]&&l.__original.push(_t(l[2])));var c=l.__original;if(null!=l[2]){if(xt(r[0],c[0]),xt(r[1],c[2]),xt(r[2],c[1]),u&&"none"!==u){var p=sk(t.node1),d=Bk(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}h&&"none"!==h&&(p=sk(t.node2),d=Bk(r,c[1],p*e),i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]),xt(l[0],r[0]),xt(l[1],r[2]),xt(l[2],r[1])}else xt(o[0],c[0]),xt(o[1],c[1]),Mt(a,o[1],o[0]),Ct(a,a),u&&"none"!==u&&(p=sk(t.node1),St(o[0],o[0],a,p*e)),h&&"none"!==h&&(p=sk(t.node2),St(o[1],o[1],a,-p*e)),xt(l[0],o[0]),xt(l[1],o[1])}))}function Gk(t){return"view"===t.type}var Wk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){var n=new wS,i=new Pk,r=this.group;this._controller=new AT(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(Gk(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):_h(s,l,t)}Fk(t.getGraph(),ak(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),hk(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),rk(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(Zs(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Zs(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){pk(t,f,g,y)})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!RT(e,n,t)})),Gk(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){kT(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){LT(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),Fk(t.getGraph(),ak(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=ak(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){Fk(t.getGraph(),ak(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Ug),Hk=Wk;function Yk(t){return"_EC_"+t}var Xk=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[Yk(t)]){var i=new Uk(t,e);return i.hostGraph=this,this.nodes.push(i),n[Yk(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[Yk(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(X(t)&&(t=this.nodes[t]),X(e)&&(e=this.nodes[e]),t instanceof Uk||(t=i[Yk(t)]),e instanceof Uk||(e=i[Yk(e)]),t&&e){var o=t.id+"-"+e.id,a=new Zk(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof Uk&&(t=t.id),e instanceof Uk&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof Uk||(e=this._nodesMap[Yk(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0})),r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}P(Uk,jk("hostGraph","data")),P(Zk,jk("hostGraph","edgeData"));var qk=Xk;function Kk(t,e,n,i,r){for(var o=new qk(i),a=0;a "+p)),u++)}var d,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)d=Sx(t,n);else{var g=Td.get(f),y=g&&g.dimensions||[];L(y,"value")<0&&y.concat(["value"]);var v=fx(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(d=new dx(v,n)).initData(t)}var m=new dx(["value"],n);return m.initData(l,s),r&&r(d,m),ID({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var $k=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new YM(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),uo(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){$A(n=this)&&(n.__curvenessList=[],n.__edgeMap={},JA(n));var a=Kk(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Ac.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return R(a.edges,(function(t){!function(t,e,n,i){if($A(n)){var r=QA(t,e,n),o=n.__edgeMap,a=o[tk(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),hg("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return wg({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=N(this.option.categories||[],(function(t){return null!=t.value?t:A({value:0},t)})),e=new dx(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Rg),Jk=$k,Qk={type:"graphRoam",event:"graphRoam",update:"none"},tL=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},eL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return n(e,t),e.prototype.getDefaultShape=function(){return new tL},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(gs),nL=eL;function iL(t,e){var n=null==t?"":t+"";return e&&(H(e)?n=e.replace("{value}",n):W(e)&&(n=e(t))),n}var rL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:Vr(n[0],e.getWidth()),cy:Vr(n[1],e.getHeight()),r:Vr(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?oM:Ru,c=u.get("show"),p=u.getModel("lineStyle"),d=p.get("width"),f=[s,l];Za(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,v=[],m=0;c&&m=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:X(z)&&(V=z*Math.PI/180),0===V?c.add(new Us({style:oc(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new Us({style:oc(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(m.get("show")&&k!==_){P=(P=m.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new ju({shape:{x1:u*(f-P)+p,y1:h*(f-P)+d,x2:u*(f-S-P)+p,y2:h*(f-S-P)+d},silent:!0,style:D});"auto"===D.stroke&&F.setStyle({stroke:i((k+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=Vr(o.get("width"),r.r),s=Vr(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=Vr(u[0],r.r),c=Vr(u[1],r.r),p=o.get("keepAspect");return(i=l?nv(l,h-a/2,c-s,a,s,null,p):new nL({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?oM:Ru,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=x-y.get(v,t)%x),c}(g||d)&&(y.diff(h).add((function(e){var n=y.get(v,e);if(d){var i=w(e,o);bh(i,{rotation:-((isNaN(+n)?b[0]:zr(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");bh(r,{shape:{endAngle:zr(n,_,b,a)}},t),u.add(r),js(t.seriesIndex,y.dataType,e,r),p[e]=r}})).update((function(e,n){var i=y.get(v,e);if(d){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,_h(s,{rotation:-((isNaN(+i)?b[0]:zr(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],m=S(e,l?l.shape.endAngle:o),x=f.get("clip");_h(m,{shape:{endAngle:zr(i,_,b,x)}},t),u.add(m),js(t.seriesIndex,y.dataType,e,m),p[e]=m}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof ws){var h=s.style;s.useStyle(A({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(zr(y.get(v,t),_,[0,1],!0))),s.z2EmphasisLift=0,Wl(s,e),Vl(s,r,o,a)}if(g){var c=p[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,Wl(c,e),Vl(c,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=nv(r,e.cx-i/2+Vr(o[0],e.r),e.cy-i/2+Vr(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Lr,c=[],p=[],d=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new Us({silent:!0}),p[t]=new Us({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Lr,y=i(zr(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+Vr(m[0],r.r),_=r.cy+Vr(m[1],r.r);(D=c[e]).attr({z2:f?0:2,style:oc(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(D)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+Vr(w[0],r.r),M=r.cy+Vr(w[1],r.r),I=Vr(b.get("width"),r.r),T=Vr(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,D=p[e],A=b.get("formatter");D.attr({z2:f?0:2,style:oc(b,{x:S,y:M,text:iL(o,A),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),dc(D,{normal:b},o,(function(t){return iL(t,A)})),d&&fc(D,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return iL(a?a.interpolatedValue:o,A)}}),g.add(D)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(Ug),oL=rL,aL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return n(e,t),e.prototype.getInitialData=function(t,e){return WM(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Rg),sL=aL,lL=["itemStyle","opacity"],uL=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new Yu,a=new Us;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return n(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(lL);l=null==l?1:l,n||Th(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,bh(i,{style:{opacity:l}},r,e)):_h(i,{style:{opacity:l},shape:{points:a.points}},r,e),Wl(i,o),this._updateLabel(t,e),Vl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;ic(r,rc(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new ve(h[0][0],h[0][1]):null},_h(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Lb(n,Pb(a),{stroke:u})},e}(Gu),hL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new uL(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){Ih(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Ug),cL=hL,pL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new YM(B(this.getData,this),B(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return WM(this,{coordDimensions:["value"],encodeDefaulter:F(id,this)})},e.prototype._defaultLabelLine=function(t){uo(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Rg),dL=pL;function fL(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return Lp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&AL(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function AL(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var kL=CL,LL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&C(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){R(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];R(z(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Bp),PL=LL,OL=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return n(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(lb),RL=OL;function NL(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=zL(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=zL(s,[0,a]),r=o=zL(s,[r,o]),i=0}e[0]=zL(e[0],n),e[1]=zL(e[1],n);var l=EL(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=zL(e[i],c),u=EL(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function EL(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function zL(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var VL=R,BL=Math.min,FL=Math.max,GL=Math.floor,WL=Math.ceil,HL=Br,YL=Math.PI,XL=function(){function t(t,e,n){this.type="parallel",this._axesMap=ct(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;VL(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new RL(t,A_(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();VL(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),D_(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Lp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=UL(e.get("axisExpandWidth"),l),c=UL(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,d=e.get("axisExpandWindow");d?(t=UL(d[1]-d[0],l),d[1]=d[0]+t):(t=UL(h*(c-1),l),(d=[h*(e.get("axisExpandCenter")||GL(u/2))-t/2])[1]=d[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[GL(HL(d[0]/h,1))+1,WL(HL(d[1]/h,1))-1],y=f/h*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:d,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),VL(n,(function(e,n){var o=(i.axisExpandable?jL:ZL)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:YL/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];de(h,h,u),pe(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];R(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?NL(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[FL(0,o[1]*s/p-p/2)])[1]=BL(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function UL(t,e){return BL(FL(t,e[0]),e[1])}function ZL(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function jL(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)Fr(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&vP(t);var l=T(s);l.brushType=RP(l.brushType,a),l.panelId=a===QL?null:a.panelId,o=t._creatingCover=uP(t,l),t._covers.push(o)}if(o){var u=zP[RP(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(kP(t,o,t._track)),i&&(hP(t,o),u.updateCommon(t,o)),cP(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&gP(t,e,n)&&vP(t)&&(r={isEnd:i,removeOnClick:!0});return r}function RP(t,e){return"auto"===t?e.defaultBrushType:t}var NP={mousedown:function(t){if(this._dragging)EP(this,t);else if(!t.target||!t.target.draggable){LP(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=gP(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=gP(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new Ac(r[a],this,e));if(i&&n){var s=Kk(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data}},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return hg("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return hg("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Rg),nO=eO;function iO(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Lp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){R(t,(function(t){var e=dO(t.outEdges,pO),n=dO(t.inEdges,pO),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mc-1?d:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)aO(s,l*=.99,a),oO(s,r,n,i,a),fO(s,l,a),oO(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";R(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),R(t,(function(t){var e=0,n=0;R(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),R(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==z(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function rO(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function oO(t,e,n,i,r){var o="vertical"===r?"x":"y";R(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",p=0;p0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,p=h-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function aO(t,e,n){R(t.slice().reverse(),(function(t){R(t,(function(t){if(t.outEdges.length){var i=dO(t.outEdges,sO,n)/dO(t.outEdges,pO);if(isNaN(i)){var r=t.outEdges.length;i=r?dO(t.outEdges,lO,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-cO(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-cO(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function sO(t,e){return cO(t.node2,e)*t.getValue()}function lO(t,e){return cO(t.node2,e)}function uO(t,e){return cO(t.node1,e)*t.getValue()}function hO(t,e){return cO(t.node1,e)}function cO(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function pO(t){return t.getValue()}function dO(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),R(n,(function(e){var n=new IA({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&R(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var yO=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],d=p[u].get("type"),f=p[1-u].get("type"),g=t.data;if(g&&i){var y=[];R(g,(function(t,e){var n;G(t)?(n=t.slice(),t.unshift(e)):G(t.value)?((n=A({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:h,type:Xm(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Xm(f),dimsDef:v.slice()}];return WM(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:F(nd,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),vO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return n(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Rg);P(vO,yO,!0);var mO=vO,xO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=wO(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Th(n),SO(s,n,i,t)):n=wO(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Ug),_O=function(){},bO=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return n(e,t),e.prototype.getDefaultShape=function(){return new _O},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},AO=["color","borderColor"],kO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){Jh(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&RO(s,a))return;var l=OO(a,0,!0);bh(l,{shape:{points:a.ends}},t,n),NO(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&RO(s,h)?i.remove(u):(u?(_h(u,{shape:{points:h.ends}},t,a),Th(u)):u=OO(h),NO(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),BO(t,this.group);var e=t.get("clip",!0)?NS(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=OO(i.getItemLayout(n));NO(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){BO(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Ug),LO=function(){},PO=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return n(e,t),e.prototype.getDefaultShape=function(){return new LO},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(gs);function OO(t,e,n){var i=t.ends;return new PO({shape:{points:n?EO(i,t):i},z2:100})}function RO(t,e){for(var n=!0,i=0;i0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(AO);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var GO=kO,WO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return n(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Rg);P(WO,yO,!0);var HO=WO;function YO(t){t&&G(t.series)&&R(t.series,(function(t){U(t)&&"k"===t.type&&(t.type="candlestick")}))}var XO=["itemStyle","borderColor"],UO=["itemStyle","borderColor0"],ZO=["itemStyle","borderColorDoji"],jO=["itemStyle","color"],qO=["itemStyle","color0"],KO={seriesType:"candlestick",plan:zg(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?jO:qO)}function i(t,e){return e.get(0===t?ZO:t>0?XO:UO)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill,A(e.ensureUniqueItemVisual(r,"style"),s)}}}}},$O={seriesType:"candlestick",plan:zg(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=Vr(Q(t.get("barMaxWidth"),r),r),a=Vr(Q(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?Vr(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=N(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],h=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){for(var r,a,c=Xx(4*n.count),p=0,d=[],f=[],g=i.getStore(),y=!!t.get(["itemStyle","borderColorDoji"]);null!=(a=n.next());){var v=g.get(o,a),m=g.get(s,a),x=g.get(l,a),_=g.get(u,a),b=g.get(h,a);isNaN(v)||isNaN(_)||isNaN(b)?(c[p++]=NaN,p+=3):(c[p++]=JO(g,a,m,x,l,y),d[0]=v,d[1]=_,r=e.dataToPoint(d,null,f),c[p++]=r?r[0]:NaN,c[p++]=r?r[1]:NaN,d[1]=b,r=e.dataToPoint(d,null,f),c[p++]=r?r[1]:NaN)}i.setLayout("largePoints",c)}:function(t,n){for(var r,a=n.getStore();null!=(r=t.next());){var c=a.get(o,r),p=a.get(s,r),d=a.get(l,r),f=a.get(u,r),g=a.get(h,r),y=Math.min(p,d),v=Math.max(p,d),m=M(y,c),x=M(v,c),_=M(f,c),b=M(g,c),w=[];I(w,x,0),I(w,m,1),w.push(C(b),C(x),C(_),C(m));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:JO(a,r,p,d,l,S),initBaseline:p>d?x[1]:m[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=Bh(r[0]+i/2,1,!1),o[0]=Bh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=Bh(t[0],1),t}}}}};function JO(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}var QO=$O;function tR(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var eR=function(t){function e(e,n){var i=t.call(this)||this,r=new vS(e,n),o=new Lr;return i.add(r),i.add(o),i.updateData(e,n),i}return n(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=W(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return At(t.__p1,t.__cp1)+At(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=mn,l=xn;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(lR),pR=cR,dR=function(){this.polyline=!1,this.curveness=0,this.segs=[]},fR=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return n(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new dR},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if($a(u,h,(u+p)/2-(h-d)*r,(h+d)/2-(p-u)*r,p,d,o,t,e))return a}else if(qa(u,h,p,d,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),yR={seriesType:"lines",plan:zg(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&NS(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=vR.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new gR:new Pk(r?i?pR:hR:i?lR:Dk),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Ug),xR=mR,_R="undefined"==typeof Uint32Array?Array:Uint32Array,bR="undefined"==typeof Float64Array?Array:Float64Array;function wR(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=N(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),D([e,t[0],t[1]])})))}var SR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return n(e,t),e.prototype.init=function(e){e.data=e.data||[],wR(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(wR(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=pt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=pt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Rg),MR=SR;function IR(t){return t instanceof Array||(t=[t,t]),t}var TR={seriesType:"lines",reset:function(t){var e=IR(t.get("symbol")),n=IR(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=IR(n.getShallow("symbol",!0)),r=IR(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}},CR=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=c.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var d=0;d0){var I=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=c.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}(),DR=CR;function AR(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var kR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):AR(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(AR(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){Jh(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=ES(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var d=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),x=rc(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Al[1])continue;var k=u.dataToPoint([D,A]);T=new ks({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new ks({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),y=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=rc(L)}T.shape.r=m;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),ic(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=y,T.ensureState("select").style=v,Vl(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),d.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new DR;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),m=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=N(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,d=Math.abs(n[p.wh]),f=t.getItemVisual(e,"symbolSize");(h=G(f)?f.slice():null==f?["100%","100%"]:[f,f])[p.index]=Vr(h[p.index],d),h[c.index]=Vr(h[c.index],i?d:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(RR)||0;o&&(ER.attr({scaleX:e[0],scaleY:e[1],rotation:n}),ER.updateTransform(),o/=ER.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var p=c.symbolSize,d=rv(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,d=h.valueDim,f=c.pxSign,g=Math.max(e[d.index]+s,0),y=g;if(i){var v=Math.abs(l),m=J(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=Vr(m,e[d.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=to(i),M=S?i:tN((v+w)/b);b=g+2*(_=(v-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?tN((Math.abs(u)+w)/b):0),y=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var I=f*(y/2),T=c.pathPosition=[];T[p.index]=n[p.wh]/2,T[d.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=c.bundlePosition=[];C[p.index]=n[p.xy],C[d.index]=n[d.xy];var D=c.barRectShape=A({},n);D[d.wh]=f*Math.max(Math.abs(n[d.wh]),Math.abs(T[d.index]+I)),D[p.wh]=n[p.wh];var k=c.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=h.ecSize[p.wh],k[d.xy]=0,k[d.wh]=n[d.wh]}(n,p,r,o,0,d,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function BR(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function FR(t){var e=t.symbolPatternSize,n=nv(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function GR(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for($R(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function WR(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?JR(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=FR(n),r.add(o),JR(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function HR(t,e,n){var i=A({},e.barRectShape),r=t.__pictorialBarRect;r?JR(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new ks({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function YR(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=A({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)_h(r,{shape:o},s,l);else{o[a.wh]=0,r=new ks({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],Qh[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function XR(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=UR,n.isAnimationEnabled=ZR,n}function UR(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function ZR(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function jR(t,e,n,i){var r=new Lr,o=new Lr;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?GR(r,e,n):WR(r,0,n),HR(r,n,i),YR(r,e,n,i),r.__pictorialShapeStr=KR(t,n),r.__pictorialSymbolMeta=n,r}function qR(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];$R(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),R(o,(function(t){Sh(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function KR(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function $R(t,e,n){R(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function JR(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&Qh[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function QR(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");$R(t,(function(t){if(t instanceof ws){var e=t.style;t.useStyle(A({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)];ic(t.__pictorialBarRect,rc(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:dS(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),Vl(t,h,c,o.get("disabled"))}function tN(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var eN=zR,nN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return n(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Pc(tM.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(tM),iN=nN,rN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Wm(this._layersSeries||[],a,h,h),p=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,p=o.length,d=o[0].indices.length,f=0;fMath.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(m=r.r0+w,a>Math.PI/2&&(S="right")):"right"===S&&(m=r.r-w,a>Math.PI/2&&(S="left")):(m=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=f(p,"verticalAlign")||"middle",g.x=m*s+r.cx,g.y=m*l+r.cy;var M=f(p,"rotate"),I=0;"radial"===M?(I=Qa(-a))>Math.PI/2&&I<1.5*Math.PI&&(I+=Math.PI):"tangential"===M?(I=Math.PI/2-a)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):X(M)&&(I=M*Math.PI/180),g.rotation=Qa(I)})),h.dirtyStyle()},e}(Ru),cN=hN,pN="sunburstRootToNode",dN="sunburstHighlight",fN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),h=[];s.eachNode((function(t){h.push(t)}));var c=this._oldChildren||[];!function(i,r){function s(t){return t.getId()}function h(s,h){!function(i,r){if(u||!i||i.getValue()||(i=null),i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):(h=r)&&h.piece&&(l.remove(h.piece),h.piece=null);else if(i){var s=new cN(i,t,e,n);l.add(s),o.setItemGraphicEl(i.dataIndex,s)}var h}(null==s?null:i[s],null==h?null:r[h])}0===i.length&&0===r.length||new Wm(r,i,s,s).add(h).update(h).remove(F(h,null)).execute()}(h,c),function(i,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new cN(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");a&&Ip(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:pN,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(Ug),gN=fN,yN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};vN(n);var i=this._levelModels=N(t.levels||[],(function(t){return new Ac(t,this,e)}),this),r=ND.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=BD(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){UD(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Rg);function vN(t){var e=0;R(t.children,(function(t){vN(t);var n=t.value;G(n)&&(n=n[0]),e+=n}));var n=t.value;G(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),G(t.value)?t.value[0]=n:t.value=n}var mN=yN,xN=Math.PI/180;function _N(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");G(i)||(i=[0,i]),G(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=Vr(e[0],r),l=Vr(e[1],o),u=Vr(i[0],a/2),h=Vr(i[1],a/2),c=-t.get("startAngle")*xN,p=t.get("minAngle")*xN,d=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&bN(f,y);var v=0;R(f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==d){var r=e.getValue(),o=0===m&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&H(o)&&(o=Xn(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),A(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var SN={color:"fill",borderColor:"stroke"},MN={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},IN=bo(),TN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return Sx(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=IN(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Rg),CN=TN;function DN(t,e){return e=e||[0,0],N(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function AN(t,e){return e=e||[0,0],N([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function kN(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function LN(t,e){return e=e||[0,0],N(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function PN(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||gt(t,"text")))}function ON(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},gt(a,"text")&&(o.text=a.text),gt(a,"rich")&&(o.rich=a.rich),gt(a,"textFill")&&(o.fill=a.textFill),gt(a,"textStroke")&&(o.stroke=a.textStroke),gt(a,"fontFamily")&&(o.fontFamily=a.fontFamily),gt(a,"fontSize")&&(o.fontSize=a.fontSize),gt(a,"fontStyle")&&(o.fontStyle=a.fontStyle),gt(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=gt(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),gt(a,"textPosition")&&(i.position=a.textPosition),gt(a,"textOffset")&&(i.offset=a.textOffset),gt(a,"textRotation")&&(i.rotation=a.textRotation),gt(a,"textDistance")&&(i.distance=a.textDistance)}return RN(o,t),R(o.rich,(function(t){RN(t,t)})),{textConfig:i,textContent:r}}function RN(t,e){e&&(e.font=e.textFont||e.font,gt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),gt(e,"textAlign")&&(t.align=e.textAlign),gt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),gt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),gt(e,"textWidth")&&(t.width=e.textWidth),gt(e,"textHeight")&&(t.height=e.textHeight),gt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),gt(e,"textPadding")&&(t.padding=e.textPadding),gt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),gt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),gt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),gt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),gt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),gt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),gt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function NN(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";EN(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,R(e.rich,(function(t){EN(t,t)})),i}function EN(t,e){e&&(gt(e,"fill")&&(t.textFill=e.fill),gt(e,"stroke")&&(t.textStroke=e.fill),gt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),gt(e,"font")&&(t.font=e.font),gt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),gt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),gt(e,"fontSize")&&(t.fontSize=e.fontSize),gt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),gt(e,"align")&&(t.textAlign=e.align),gt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),gt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),gt(e,"width")&&(t.textWidth=e.width),gt(e,"height")&&(t.textHeight=e.height),gt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),gt(e,"padding")&&(t.textPadding=e.padding),gt(e,"borderColor")&&(t.textBorderColor=e.borderColor),gt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),gt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),gt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),gt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),gt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),gt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),gt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),gt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),gt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),gt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var zN={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},VN=V(zN);E(sr,(function(t,e){return t[e]=1,t}),{}),sr.join(", ");var BN=["","style","shape","extra"],FN=bo();function GN(t,e,n,i,r){var o=t+"Animation",a=mh(t,i,r)||{},s=FN(e).userDuring;return a.duration>0&&(a.during=s?B(jN,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),A(a,n[o]),a}function WN(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=FN(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var d=V(n);for(u=0;u0&&t.animateFrom(p,d)}else!function(t,e,n,i,r){if(r){var o=GN("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);HN(t,e),u?t.dirty():t.markRedraw()}function HN(t,e){for(var n=FN(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var p=V(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:B(LN,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function pE(t){return t instanceof gs}function dE(t){return t instanceof fa}var fE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=_E(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){wE(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&YN(n,IN(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);wE(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?NS(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=_E(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){null==i&&(i=s);var r=m(i,nE).getItemStyle(),o=x(i,nE),a=oc(o,null,null,!0,!0);a.text=o.getShallow("show")?tt(t.getFormattedLabel(i,nE),t.getFormattedLabel(i,iE),dS(e,i)):null;var l=ac(o,null,!0);return b(n,r),r=NN(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),gt(SN,t)){var i=e.getItemVisual(n,"style");return i?i[SN[t]]:null}if(gt(MN,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type)return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);DE(e,g,r)}}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function ME(t,e,n){var i,r=IN(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&(i=a)&&(gt(i,"pathData")||gt(i,"d"))&&PE(a)!==r.customPathData||"image"===o&>(s,"image")&&s.image!==r.customImagePath}function IE(t,e,n){var i=e?TE(t,e):t,r=e?CE(t,i,nE):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?TE(s,e):s:null;if(r&&(n.isLegacy||PN(r,o,!!a,!!l))){n.isLegacy=!0;var u=ON(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function TE(t,e){return e?t?t[e]:null:t}function CE(t,e,n){var i=e&&e.style;return null==i&&n===nE&&t&&(i=t.styleEmphasis),i}function DE(t,e,n){e&&YN(e,IN(t).option,n)}function AE(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function kE(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;SE(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function LE(t){var e=this.context,n=e.oldChildren[t];n&&YN(n,IN(n).option,e.seriesModel)}function PE(t){return t&&(t.pathData||t.d)}var OE=bo(),RE=T,NE=B,EE=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=F(zE,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Lr,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);GE(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=VI(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=OE(t).pointerEl=new Qh[r.type](RE(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=OE(t).labelEl=new Us(RE(e.label));t.add(r),BE(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=OE(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=OE(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),BE(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Uh(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){re(t.event)},onmousedown:NE(this._onHandleDragMove,this,0,0),drift:NE(this._onHandleDragMove,this),ondragend:NE(this._onHandleDragEnd,this)}),i.add(r)),GE(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");G(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,$g(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){zE(this._axisPointerModel,!e&&this._moveAnimation,this._handle,FE(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(FE(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(FE(i)),OE(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Jg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function zE(t,e,n,i){VE(OE(n).lastProp,i)||(OE(n).lastProp=i,e?_h(n,i,t):(n.stopAnimation(),n.attr(i)))}function VE(t,e){if(U(t)&&U(e)){var n=!0;return R(e,(function(e,i){n=n&&VE(t[i],e)})),!!n}return t===e}function BE(t,e){t[e.get(["label","show"])?"show":"hide"]()}function FE(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function GE(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var WE=EE;function HE(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function YE(t,e,n,i,r){var o=XE(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=xp(a.get("padding")||0),l=a.getFont(),u=dr(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],d=r.align;"right"===d&&(h[0]-=c),"center"===d&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=p),"middle"===f&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:oc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function XE(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:L_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};R(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),H(a)?o=a.replace("{value}",o):W(a)&&(o=a(s))}return o}function UE(t,e,n){var i=[1,0,0,1,0,0];return de(i,i,n.rotation),pe(i,i,n.position),Gh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function ZE(t,e,n,i,r,o){var a=NI.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),YE(e,i,r,o,{position:UE(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function jE(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function qE(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function KE(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var $E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=JE(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=HE(i),c=QE[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}ZE(e,t,mI(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=mI(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=UE(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=JE(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];return c[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(WE);function JE(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var QE={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:jE([e,n[0]],[e,n[1]],tz(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:qE([e-i/2,n[0]],[i,r],tz(t))}}};function tz(t){return"x"===t.dim?0:1}var ez=$E,nz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Bp),iz=nz,rz=bo(),oz=R;function az(t,e,n){if(!s.node){var i=e.getZr();rz(i).records||(rz(i).records={}),function(t,e){function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);oz(rz(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}rz(t).initialized||(rz(t).initialized=!0,n("click",F(lz,"click")),n("mousemove",F(lz,"mousemove")),n("globalout",sz))}(i,e),(rz(i).records[t]||(rz(i).records[t]={})).handler=n}}function sz(t,e,n){t.handler("leave",null,n)}function lz(t,e,n,i){e.handler(t,n,i)}function uz(t,e){if(!s.node){var n=e.getZr();(rz(n).records||{})[t]&&(rz(n).records[t]=null)}}var hz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";az("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){uz("axisPointer",e)},e.prototype.dispose=function(t,e){uz("axisPointer",e)},e.type="axisPointer",e}(Eg),cz=hz;function pz(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=_o(o,t);if(null==a||a<0||G(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,d=o.mapDimension(c),f=[];f[p]=o.get(d,a),f[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(N(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var dz=bo();function fz(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||B(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){xz(r)&&(r=pz({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=xz(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||xz(r),p={},d={},f={list:[],map:{}},g={showPointer:F(yz,d),showTooltip:F(vz,f)};R(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);R(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&gz(t,a,g,!1,p)}}))}));var y={};return R(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&R(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,mz(e),mz(t)))),y[t.key]=o}}))})),R(y,(function(t,e){gz(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];R(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(d,h,p),function(t,e,n,i){if(!xz(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=dz(i)[r]||{},a=dz(i)[r]={};R(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&R(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];R(o,(function(t,e){!a[e]&&l.push(t)})),R(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function gz(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return R(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),R(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&A(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function yz(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function vz(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=FI(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function mz(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function xz(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function _z(t){HI.registerAxisPointerClass("CartesianAxisPointer",ez),t.registerComponentModel(iz),t.registerComponentView(cz),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!G(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=EI(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},fz)}var bz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=HE(i),c=wz[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];de(p,p,s),pe(p,p,[i.cx,i.cy]),l=Gh([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=NI.innerTextLayout(s,d*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));YE(t,n,i,r,p)},e}(WE),wz={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:jE(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:KE(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:KE(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},Sz=bz,Mz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Bp),Iz=Mz,Tz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Io).models[0]},e.type="polarAxis",e}(Bp);P(Tz,E_);var Cz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="angleAxis",e}(Tz),Dz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="radiusAxis",e}(Tz),Az=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return n(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(lb);Az.prototype.dataToRadius=lb.prototype.dataToCoord,Az.prototype.radiusToData=lb.prototype.coordToData;var kz=Az,Lz=bo(),Pz=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return n(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=dr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=Lz(t.model),p=c.lastAutoInterval,d=c.lastTickCount;return null!=p&&null!=d&&Math.abs(p-h)<=1&&Math.abs(d-r)<=1&&p>h?h=p:(c.lastTickCount=r,c.lastAutoInterval=h),h},e}(lb);Pz.prototype.dataToAngle=lb.prototype.dataToCoord,Pz.prototype.angleToData=lb.prototype.coordToData;var Oz=Pz,Rz=["radius","angle"],Nz=function(){function t(t){this.dimensions=Rz,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new kz,this._angleAxis=new Oz,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return Ez(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return Ez(e)===this?this.pointToData(n):null},t}();function Ez(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var zz=Nz;function Vz(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();R(N_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),R(N_(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),D_(i.scale,i.model),D_(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function Bz(t,e){if(t.type=e.get("type"),t.scale=A_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var Fz={dimensions:Rz,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new zz(i+"");r.update=Vz;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");Bz(o,s),Bz(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=Vr(i[0],r),t.cy=Vr(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:G(l)||(l=[0,l]);var u=[Vr(l[0],s),Vr(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Io).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},Gz=Fz,Wz=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function Hz(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function Yz(t){return t.getRadiusAxis().inverse?0:1}function Xz(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var Uz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return n(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=N(n.getViewLabels(),(function(t){t=T(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));Xz(s),Xz(o),R(Wz,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||Zz[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(HI),Zz={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=Yz(n),u=l?0:1;(a=0===o[u]?new gu({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new zu({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[Yz(n)],u=N(i,(function(t){return new ju({shape:Hz(n,[l,l+s],t.coord)})}));t.add(Eh(u,{style:k(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[Yz(n)],h=[],c=0;cf?"left":"right",v=Math.abs(d[1]-g)/p<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[c]){var m=s[c];U(m)&&m.textStyle&&(a=new Ac(m.textStyle,l,l.ecModel))}var x=new Us({silent:NI.isLabelSilent(e),style:oc(a,{x:d[0],y:d[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),h){var _=NI.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,Zs(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",T=_;m&&(i[s][M]||(i[s][M]={p:_,n:_}),T=i[s][M][I]);var C=void 0,D=void 0,A=void 0,k=void 0;if("radius"===c.dim){var L=c.dataToCoord(S)-_,P=o.dataToCoord(M);Math.abs(L)=k})}}}))}var iV={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},rV={splitNumber:5},oV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="polar",e}(Eg);function aV(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]],r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),J(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var sV=["axisLine","axisTickLabel","axisName"],lV=["splitArea","splitLine"],uV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return n(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Lr;var s=aV(e),l=new NI(e,s);R(sV,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),R(lV,(function(t){e.get([t,"show"])&&hV[t](this,this.group,this._axisGroup,e)}),this),Yh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){UI(this)},e.type="singleAxis",e}(HI),hV={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],p=0,d=r.getTicksCoords({tickModel:o}),f=[],g=[],y=0;y=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return mV(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return mV(e)===this?this.pointToData(n):null},t}();function mV(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var xV={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new vV(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Io).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:yV},_V=["x","y"],bV=["width","height"],wV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=IV(a,1-MV(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=HE(i),c=SV[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}ZE(e,t,aV(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=aV(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=UE(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=MV(r),s=IV(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=IV(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(WE),SV={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:jE([e,n[0]],[e,n[1]],MV(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:qE([e-i/2,n[0]],[i,r],MV(t))}}};function MV(t){return t.isHorizontal()?0:1}function IV(t,e){var n=t.getRect();return[n[_V[e]],n[_V[e]]+n[bV[e]]]}var TV=wV,CV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="single",e}(Eg),DV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e,n,i){var r=Np(e);t.prototype.init.apply(this,arguments),AV(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),AV(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Bp);function AV(t,e){var n,i=t.cellSize;1===(n=G(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=N([0,1],(function(t){return function(t,e){return null!=t[Dp[e][0]]||null!=t[Dp[e][1]]&&null!=t[Dp[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Rp(t,e,{type:"box",ignoreSize:r})}var kV=DV,LV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new ks({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new Yu({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return H(t)&&t?(n=t,R(e,(function(t,e){n=n.replace("{"+e+"}",i?qt(t):t)})),n):W(t)?t(e):e.nameMap;var n,i},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var d=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(d,f),y=new Us({z2:30,style:oc(r,{text:g})});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!H(o)||(o&&(e=Fc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,d=0;d=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/OV)-Math.floor(n[0].time/OV)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(e){var n=new t(e);i.push(n),e.coordinateSystem=n})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function NV(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var EV=RV;function zV(t,e){var n;return R(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var VV=["transition","enterFrom","leaveTo"],BV=VV.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function FV(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?VV:BV,r=0;r=0;l--){var p,d,f;if(f=null!=(d=vo((p=n[l]).id,null))?r.get(d):null){var g=f.parent,y=(c=HV(g),{}),v=Pp(f,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},y);if(!HV(f).isNew&&v){for(var m=p.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}_h(f,x,t,0)}else f.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){ZV(n,HV(n).option,e,t._lastGraphicModel)})),this._elMap=ct()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Eg);function XV(t){var e=new(gt(WV,t)?WV[t]:Ph(t))({});return HV(e).type=t,e}function UV(t,e,n,i){var r=XV(n);return e.add(r),i.set(t,r),HV(r).id=t,HV(r).isNew=!0,r}function ZV(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){ZV(t,e,n,i)})),YN(t,e,i),n.removeKey(HV(t).id))}function jV(t,e,n,i){t.isGroup||R([["cursor",fa.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];gt(e,i)?t[i]=Q(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),R(V(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=W(i)?i:null}})),gt(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var qV=["x","y","radius","angle","single"],KV=["cartesian2d","polar","singleAxis"];function $V(t){return t+"Axis"}function JV(t,e){var n,i=ct(),r=[],o=ct();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function QV(t){var e=t.ecModel,n={infoList:[],infoMap:ct()};return t.eachTargetAxis((function(t,i){var r=e.getComponent($V(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var tB=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),eB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return n(e,t),e.prototype.init=function(t,e,n){var i=nB(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=nB(t);C(this.option,t,!0),C(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;R([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=ct();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return R(qV,(function(n){var i=this.getReferringComponents($V(n),To);if(i.specified){e=!0;var r=new tB;R(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}function o(e,n){var r=e[0];if(r){var o=new tB;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Io).models[0];a&&R(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Io).models[0]&&o.add(t.componentIndex)}))}}}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),i&&R(qV,(function(e){if(i){var r=n.findComponents({mainType:$V(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new tB;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");R([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent($V(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){R(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent($V(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;R([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;R(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=$V(this._dimName),i=e.getReferringComponents(n,Io).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return T(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];hB(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(zr(h,o,n))):(e=!0,h=zr(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),cB(s),cB(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";NL(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=zr(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];hB(n,(function(t){!function(t,e,n){e&&R(N_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=I_(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&hB(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=N(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else hB(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));hB(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;hB(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=zr(n[0]+o,n,[0,100],!0):null!=r&&(o=zr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=Wr(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}(),dB=pB,fB={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent($V(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new dB(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=ct();return R(n,(function(t){R(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}},gB=!1;function yB(t){gB||(gB=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,fB),function(t){t.registerAction("dataZoom",(function(t,e){R(JV(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function vB(t){t.registerComponentModel(oB),t.registerComponentView(uB),yB(t)}var mB=function(){},xB={};function _B(t,e){xB[t]=e}function bB(t){return xB[t]}var wB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;R(this.option.feature,(function(t,n){var i=bB(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),C(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Bp),SB=wB;function MB(t,e){var n=xp(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new ks({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var IB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];R(s,(function(t,e){u.push(e)})),new Wm(this._featureNames||[],u).add(h).update(h).remove(F(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Lp(i,o,r);kp(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Pp(t,i,o,r)}(r,t,n),r.add(MB(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!W(l)&&e){var u=l.style||(l.style={}),h=dr(e,Us.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var d=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):c-h.width/2<0&&(a.position=[0,d],u.align="left")}}))}function h(h,c){var p,d=u[h],f=u[c],g=s[d],y=new Ac(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(g.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:y.option.onclick,featureName:d};else{var v=bB(d);if(!v)return;p=new v}l[d]=p}else if(!(p=l[f]))return;p.uid=Lc("toolbox-feature"),p.model=y,p.ecModel=e,p.api=n;var m=p instanceof mB;d||!f?!y.get("show")||m&&p.unusable?m&&p.remove&&p.remove(e,n):(function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof mB&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};H(d)?(u={})[l]=d:u=d,H(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};R(u,(function(l,u){var d=Uh(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var f=new Us({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null},ignore:!0});d.setTextContent(f),Kh({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?Ml:Il)(d),r.add(d),d.on("click",B(s.onclick,s,e,n,u)),g[u]=d}))}(y,p,d),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Ml:Il)(i[t])},p instanceof mB&&p.render&&p.render(y,e,n,i)):m&&p.dispose&&p.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){R(this._features,(function(t){t instanceof mB&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){R(this._features,(function(n){n instanceof mB&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){R(this._features,(function(n){n instanceof mB&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Eg),TB=IB,CB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=s.browser;if(W(MouseEvent)&&(l.newEdge||!l.ie&&!l.edge)){var u=document.createElement("a");u.download=i+"."+o,u.target="_blank",u.href=a;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});u.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||r){var c=a.split(","),p=c[0].indexOf("base64")>-1,d=r?decodeURIComponent(c[1]):c[1];p&&(d=window.atob(d));var f=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var g=d.length,y=new Uint8Array(g);g--;)y[g]=d.charCodeAt(g);var v=new Blob([y]);window.navigator.msSaveOrOpenBlob(v,f)}else{var m=document.createElement("iframe");document.body.appendChild(m);var x=m.contentWindow,_=x.document;_.open("image/svg+xml","replace"),_.write(d),_.close(),x.focus(),_.execCommand("SaveAs",!0,f),document.body.removeChild(m)}}else{var b=n.get("lang"),w='',S=window.open();S.document.write(w),S.document.title=i}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(mB),DB=CB,AB="__ec_magicType_stack__",kB=[["line","bar"],["stack"]],LB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return R(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(PB[n]){var o,a={series:[]};R(kB,(function(t){L(t,n)>=0&&R(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=PB[n](e,r,t,i);o&&(k(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Io).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=C({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(mB),PB={line:function(t,e,n,i){if("bar"===t)return C({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return C({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===AB;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),C({id:e,stack:r?"":AB},i.get(["option","stack"])||{},!0)}};km({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var OB=LB,RB=new Array(60).join("-"),NB="\t";function EB(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var zB=new RegExp("[\t]+","g");function VB(t,e){var n=t.split(new RegExp("\n*"+RB+"\n*","g")),i={series:[]};return R(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(NB)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=N(EB(e.shift()).split(zB),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=tF[t.brushType](0,n,e);t.__rangeOffset={offset:nF[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){R(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&R(i.coordSyses,(function(i){var r=tF[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){R(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=tF[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?nF[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=rF(n),o=rF(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return N(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:FP(i),isTargetByCursor:WP(i,t,n.coordSysModel),getLinearBrushOtherExtent:GP(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&L(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=KB(e,t),r=0;rt[1]&&t.reverse(),t}function KB(t,e){return So(t,e,{includeMainTypes:ZB})}var $B={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=ct(),a={},s={};(n||i||r)&&(R(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),R(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),R(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];R(r.getCartesians(),(function(t,e){(L(n,t.getAxis("x").model)>=0||L(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:QB.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){R(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:QB.geo})}))}},JB=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],QB={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Fh(t)),e}},tF={lineX:F(eF,0),lineY:F(eF,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[qB([r[0],o[0]]),qB([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:N(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function eF(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=qB(N([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var nF={lineX:F(iF,0),lineY:F(iF,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return N(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function iF(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function rF(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var oF,aF,sF=jB,lF=R,uF=so+"toolbox-dataZoom_",hF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new BP(n.getZr()),this._brushController.on("brush",B(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new sF(pF(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return YB(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){cF[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new sF(pF(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=YB(t);WB(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=NL(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];lF(t,(function(t,n){e.push(T(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(mB),cF={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=YB(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return WB(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function pF(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}oF="dataZoom",aF=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=So(t,pF(i));return lF(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),lF(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:uF+e+o};a[n]=o,r.push(a)}},it(null==hd.get(oF)&&aF),hd.set(oF,aF);var dF=hF,fF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Bp),gF=fF;function yF(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function vF(t){if(s.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,d=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),H(t))o.innerHTML=t+a;else if(t){o.innerHTML="",G(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!s.node&&n.getDom()){var r=NF(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i=Mo(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o=Co(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=Zs(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}(i,e,n);if(a){var l=a.el.getBoundingRect().clone();l.applyTransform(a.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=PF;u.x=i.x,u.y=i.y,u.update(),Zs(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=pz(i,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(NF(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===RF([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;this._lastDataByCoordSys=null,Hy(n,(function(t){return null!=Zs(t).dataIndex?(r=t,!0):null!=Zs(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=B(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=RF([e.tooltipOption],i),a=this._renderMode,s=[],l=hg("section",{blocks:[],noHeader:!0}),u=[],h=new bg;R(t,(function(t){R(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=XE(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=hg("section",{header:o,noHeader:!rt(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),R(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=L_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",Mp(f.color),a);var g=Tf(p.formatTooltip(d,!0,null)),y=g.frag;if(y){var v=RF([p],i).get("valueFormatter");c.blocks.push(v?A({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=yg(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Zs(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=RF([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new bg;g.marker=y.makeTooltipMarker("item",Mp(g.color),c);var v=Tf(s.formatTooltip(l,!1,u)),m=d.get("order"),x=d.get("valueFormatter"),_=v.frag,b=_?yg(x?A({valueFormatter:x},_):_,y,c,m,i.get("useUTC"),d.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=Zs(e),r=i.tooltipConfig.option||{};H(r)&&(r={content:r,formatter:r});var o=[r],a=this._ecModel.getComponent(i.componentMainType,i.componentIndex);a&&o.push(a),o.push({formatter:r.content});var s=t.positionDefault,l=RF(o,this._tooltipModel,s?{position:s}:null),u=l.get("content"),h=Math.random()+"",c=new bg;this._showOrMove(l,(function(){var n=T(l.get("formatterParams")||{});this._showTooltipContent(l,u,n,h,t.offsetX,t.offsetY,t.position,e,c)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(H(h)){var d=t.ecModel.get("useUTC"),f=G(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=tp(f.axisValue,c,d)),c=Sp(c,n,!0)}else if(W(h)){var g=B((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||G(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:G(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),W(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),G(e))n=Vr(e[0],s),i=Vr(e[1],l);else if(U(e)){var d=e;d.width=u[0],d.height=u[1];var f=Lp(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(H(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}(n,i,r,s,l,h?null:20,c?null:20),n=g[0],i=g[1];h&&(n-=EF(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=EF(c)?u[1]/2:"bottom"===c?u[1]:0),yF(t)&&(g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l),n=g[0],i=g[1]),r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&R(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&R(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&R(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&R(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!s.node&&e.getDom()&&(Jg(this,"_updatePosition"),this._tooltipContent.dispose(),uz("itemTooltip",e))},e.type="tooltip",e}(Eg);function RF(t,e,n){var i,r=e.ecModel;n?(i=new Ac(n,r,r),i=new Ac(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Ac&&(a=a.get("tooltip",!0)),H(a)&&(a={formatter:a}),a&&(i=new Ac(a,i,r)))}return i}function NF(t,e){return t.dispatchAction||B(e.dispatchAction,e)}function EF(t){return"center"===t||"middle"===t}var zF=OF,VF=["rect","polygon","keep","clear"];function BF(t,e){var n=lo(t?t.brush:[]);if(n.length){var i=[];R(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;G(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};R(t,(function(t){e[t]=1})),t.length=0,R(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,VF)}}var FF=R;function GF(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function WF(t,e,n){var i={};return FF(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);FF(t[e],(function(t,i){if(IA.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new IA(r),"opacity"===i&&((r=T(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new IA(r))}}))})),i}function HF(t,e,n){var i;R(n,(function(t){e.hasOwnProperty(t)&&GF(e[t])&&(i=!0)})),i&&R(n,(function(n){e.hasOwnProperty(n)&&GF(e[n])?t[n]=T(e[n]):delete t[n]}))}var YF={lineX:XF(0),lineY:XF(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&V_(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(V_(i,r,o)||V_(i,r+a,o)||V_(i,r,o+s)||V_(i,r+a,o+s)||Ce.create(t).contain(l[0],l[1])||Zh(r,o,r+a,o,i)||Zh(r,o,r,o+s,i)||Zh(r+a,o,r+a,o+s,i)||Zh(r,o+s,r+a,o+s,i))||void 0}}};function XF(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return UF(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&eG(e)}};function eG(t){return new Ce(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var nG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new BP(e.getZr())).on("brush",B(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){KF(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:T(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:T(n),$from:e})},e.type="brush",e}(Eg),iG=nG,rG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return n(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&HF(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=N(t,(function(t){return oG(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=oG(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Bp);function oG(t,e){return C({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Ac(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var aG=rG,sG=["rect","polygon","lineX","lineY","keep","clear"],lG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,R(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return R(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:sG.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(mB),uG=lG,hG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return n(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Bp),cG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=Q(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Us({style:oc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new Us({style:oc(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){Ip(p,"_"+t.get("target"))})),d&&c.on("click",(function(){Ip(d,"_"+t.get("subtarget"))})),Zs(l).eventData=Zs(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=Lp(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new ks({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(Eg),pG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],R(n,(function(e,n){var i,o=vo(co(e),"");U(e)?(i=T(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new dx([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Bp),dG=pG,fG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="timeline.slider",e.defaultOption=Pc(dG.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(dG);P(fG,If.prototype);var gG=fG,yG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="timeline",e}(Eg),vG=yG,mG=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return n(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(lb),xG=mG,_G=Math.PI,bG=bo(),wG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return hg("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},R(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Lp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:_G/2},p="vertical"===s?l.height:l.width,d=t.getModel("controlStyle"),f=d.get("show",!0),g=f?d.get("itemSize"):0,y=f?d.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*_G/180;var x=d.get("position",!0),_=f&&d.get("showPlayBtn",!0),b=f&&d.get("showPrevBtn",!0),w=f&&d.get("showNextBtn",!0),S=0,M=p;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(_&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:c[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;pe(o,o,[-a,-s]),de(o,o,-_G/2),pe(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),h=y(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var d,f=t.labelPosOpt;function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}null==f||H(f)?(v(c,u,l,1,d="+"===f?0:1),v(p,h,l,1,1-d)):(v(c,u,l,1,d=f>=0?0:1),p[1]=c[1]+f),n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Bx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new h_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Wx}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new xG("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Lr;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new ju({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:A({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new ju({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:k({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],R(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:B(r._changeTimeline,r,t.value)},p=SG(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),zl(p);var d=Zs(p);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],R(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new Us({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:B(r._changeTimeline,r,a),silent:!1,style:oc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=oc(u),p.ensureState("progress").style=oc(h),e.add(p),zl(p),bG(p).dataIndex=a,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=vr(Q(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=Uh(t.get(["controlStyle",e]),i||{},new Ce(n[0],n[1],n[2],n[3]));return r&&o.setStyle(r),o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),zl(c)}}h(t.nextBtnPosition,"next",B(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",B(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",B(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=B(s._handlePointerDrag,s),t.ondragend=B(s._handlePointerDragend,s),MG(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){MG(t,s._progressLine,o,n,i)}};this._currentPointer=SG(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=Fr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var VG={min:F(zG,"min"),max:F(zG,"max"),average:F(zG,"average"),median:F(zG,"median")};function BG(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!G(e.coord)&&G(r)){var o=FG(e,n,i,t);if((e=T(e)).type&&VG[e.type]&&o.baseAxis&&o.valueAxis){var a=L(r,o.baseAxis.dim),s=L(r,o.valueAxis.dim),l=VG[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&G(r))for(var u=e.coord,h=0;h<2;h++)VG[u[h]]&&(u[h]=HG(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function FG(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function GG(t,e){return!(t&&t.containData&&e.coord&&!EG(e))||t.containData(e.coord)}function WG(t,e){return t?function(t,n,i,r){return kf(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return kf(t.value,e[r])}}function HG(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var YG=bo(),XG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){this.markerGroupMap=ct()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){YG(t).keep=!1})),e.eachSeries((function(t){var r=OG.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!YG(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){YG(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;R(t,(function(t){var i=OG.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Tl(t):Cl(t))}))}))},e.type="marker",e}(Eg),UG=XG;function ZG(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Vr(a.get("x"),n.getWidth()),l=Vr(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var jG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=OG.getMarkerModelFromSeries(t,"markPoint");e&&(ZG(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new wS),u=function(t,e,n){var i;i=t?N(t&&t.dimensions,(function(t){return A(A({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new dx(i,n),o=N(n.get("data"),F(BG,e));t&&(o=z(o,F(GG,t)));var a=WG(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),ZG(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(W(i)||W(r)||W(o)||W(s)){var h=e.getRawValue(t),c=e.getDataParams(t);W(i)&&(i=i(h,c)),W(r)&&(r=r(h,c)),W(o)&&(o=o(h,c)),W(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=By(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Zs(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(UG),qG=jG,KG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(OG),$G=KG,JG=bo(),QG=function(t,e,n,i){var r,o=t.getData();if(G(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=J(i.yAxis,i.xAxis);else{var u=FG(i,o,e,t);s=u.valueAxis,l=HG(o,bx(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,p=T(i),d={coord:[]};p.type=null,p.coord=[],p.coord[c]=-1/0,d.coord[c]=1/0;var f=n.get("precision");f>=0&&X(l)&&(l=+l.toFixed(Math.min(f,20))),p.coord[h]=d.coord[h]=l,r=[p,d,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[BG(t,r[0]),BG(t,r[1]),A({},r[2])];return g[2].type=g[2].type||null,C(g[2],g[0]),C(g[2],g[1]),g};function tW(t){return!isNaN(t)&&!isFinite(t)}function eW(t,e,n,i){var r=1-t,o=i.dimensions[t];return tW(e[r])&&tW(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function nW(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(eW(1,n,i,t)||eW(0,n,i,t)))return!0}return GG(t,e[0])&&GG(t,e[1])}function iW(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Vr(s.get("x"),r.getWidth()),u=Vr(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(ES(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions,tW(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):tW(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var rW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=OG.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=JG(e).from,o=JG(e).to;r.each((function(e){iW(r,e,!0,t,n),iW(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new Pk);this.group.add(l.group);var u=function(t,e,n){var i;i=t?N(t&&t.dimensions,(function(t){return A(A({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new dx(i,n),o=new dx(i,n),a=new dx([],n),s=N(n.get("data"),F(QG,e,t,n));t&&(s=z(s,F(nW,t)));var l=WG(!!t,i);return r.initData(N(s,(function(t){return t[0]})),null,l),o.initData(N(s,(function(t){return t[1]})),null,l),a.initData(N(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;JG(e).from=h,JG(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);iW(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=By(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Q(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:Q(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:Q(o.get("symbolSize"),f[r?0:1]),symbol:Q(o.get("symbol",!0),d[r?0:1]),style:s})}G(d)||(d=[d,d]),G(f)||(f=[f,f]),G(g)||(g=[g,g]),G(y)||(y=[y,y]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){Zs(t).dataModel=e,t.traverse((function(t){Zs(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(UG),oW=rW,aW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(OG),sW=aW,lW=bo(),uW=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=BG(t,r),s=BG(t,o),l=a.coord,u=s.coord;l[0]=J(l[0],-1/0),l[1]=J(l[1],-1/0),u[0]=J(u[0],1/0),u[1]=J(u[1],1/0);var h=D([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function hW(t){return!isNaN(t)&&!isFinite(t)}function cW(t,e,n,i){var r=1-t;return hW(e[r])&&hW(n[r])}function pW(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return ES(t,"cartesian2d")?!(!n||!i||!cW(1,n,i)&&!cW(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!EG(e)&&!EG(n))||t.containZone(e.coord,n.coord)}(t,r,o):GG(t,r)||GG(t,o)}function dW(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Vr(s.get(n[0]),r.getWidth()),u=Vr(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(ES(a,"cartesian2d")){var y=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),x=t.get(n[1],e);hW(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):hW(x)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var fW=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],gW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=OG.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=N(fW,(function(r){return dW(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Lr});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=N(t&&t.dimensions,(function(t){var n=e.getData();return A(A({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=N(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new dx(r,n)}else i=new dx(r=[{name:"value",type:"float"}],n);var s=N(n.get("data"),F(uW,e,t,n));t&&(s=z(s,F(pW,t)));var l=t?function(t,e,n,i){return kf(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return kf(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=N(fW,(function(n){return dW(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Fr(c),Fr(p);var d=!!(l[0]>c[1]||l[1]p[1]||h[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Bp),mW=vW,xW=F,_W=R,bW=Lr,wW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return n(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new bW),this.group.add(this._selectorGroup=new bW),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=Lp(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=Lp(k({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=MB(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=ct(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),_W(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new bW;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a))if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),y=d.getVisual("style");this._createItem(p,a,o,r,e,t,f,y,g,u,i).on("click",xW(SW,a,null,i,h)).on("mouseover",xW(IW,p.name,null,i,h)).on("mouseout",xW(TW,p.name,null,i,h)),l.set(a,!0)}else n.eachRawSeries((function(n){if(!l.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var c=s.indexOfName(a),p=s.getItemVisual(c,"style"),d=s.getItemVisual(c,"legendIcon"),f=Hn(p.fill);f&&0===f[3]&&(f[3]=.2,p=A(A({},p),{fill:qn(f,"rgba")})),this._createItem(n,a,o,r,e,t,{},p,d,u,i).on("click",xW(SW,null,a,i,h)).on("mouseover",xW(IW,null,a,i,h)).on("mouseout",xW(TW,null,a,i,h)),l.set(a,!0)}}),this)}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();_W(t,(function(t){var i=t.type,r=new Us({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),ic(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),zl(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f=t.visualDrawType,g=r.get("itemWidth"),y=r.get("itemHeight"),v=r.isSelected(e),m=i.get("symbolRotate"),x=i.get("symbolKeepAspect"),_=i.get("icon"),b=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),_W(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?Av(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[h]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=_||l||"roundRect",i,a,s,f,v,h),w=new bW,S=i.getModel("textStyle");if(!W(t.getLegendIcon)||_&&"inherit"!==_){var M="inherit"===_&&t.getData().getVisual("symbol")?"inherit"===m?t.getData().getVisual("symbolRotate"):m:0;w.add((c={itemWidth:g,itemHeight:y,icon:l,iconRotate:M,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:x},p=c.icon||"roundRect",(d=nv(p,0,0,c.itemWidth,c.itemHeight,c.itemStyle.fill,c.symbolKeepAspect)).setStyle(c.itemStyle),d.rotation=(c.iconRotate||0)*Math.PI/180,d.setOrigin([c.itemWidth/2,c.itemHeight/2]),p.indexOf("empty")>-1&&(d.style.stroke=d.style.fill,d.style.fill="#fff",d.style.lineWidth=2),d))}else w.add(t.getLegendIcon({itemWidth:g,itemHeight:y,icon:l,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:x}));var I="left"===o?g+5:-5,T=o,C=r.get("formatter"),D=e;H(C)&&C?D=C.replace("{name}",null!=e?e:""):W(C)&&(D=C(e));var A=v?S.getTextColor():i.get("inactiveColor");w.add(new Us({style:oc(S,{text:D,x:I,y:y/2,fill:A,align:T,verticalAlign:"middle"},{inheritColor:A})}));var k=new ks({shape:w.getBoundingRect(),invisible:!0}),L=i.getModel("tooltip");return L.get("show")&&Kh({el:k,componentModel:r,itemName:e,itemTooltipOption:L.option}),w.add(k),w.eachChild((function(t){t.silent=!0})),k.silent=!u,this.getContentGroup().add(w),zl(w),w.__legendDataIndex=n,w},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();kp(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){kp("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[y]=Math.min(0,h[y]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Eg);function SW(t,e,n,i){TW(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),IW(t,e,n,i)}function MW(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=Q(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-p[r]:g[i]+=p[r]+v),y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var m={x:0,y:0};if(m[r]=d?n[r]:c[r],m[o]=Math.max(c[o],p[o]),m[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-v,0),x[o]=m[o],u.setClipPath(new ks({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&_h(l,{x:_.contentPosition[0],y:_.contentPosition[1]},d?t:null),this._updatePageInfoView(t,_),m},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;R(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",H(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=NW[r],a=EW[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(f=s-1,g=d,y=d,v=null;f>=-1;--f)(v=m(l[f]))&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(CW),VW=zW;function BW(t){Vm(kW),t.registerComponentModel(OW),t.registerComponentView(VW),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var FW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.inside",e.defaultOption=Pc(iB.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(iB),GW=FW,WW=bo();function HW(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function YW(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function XW(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function UW(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=WW(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=ct());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){R(QV(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:F(XW,e),dispatchAction:F(YW,t),dataZoomInfoMap:null,controller:null},i=n.controller=new AT(t.getZr());return R(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=ct())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),$g(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else HW(i,t)}))}))}var ZW=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return n(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){WW(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:B(jW.pan,this),zoom:B(jW.zoom,this),scrollMove:B(jW.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=WW(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return NL(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:qW((function(t,e,n,i,r,o){var a=KW[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:qW((function(t,e,n,i,r,o){return KW[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function qW(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return NL(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var KW={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},$W=ZW;function JW(t){yB(t),t.registerComponentModel(GW),t.registerComponentView($W),UW(t)}var QW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Pc(iB.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(iB),tH=QW,eH=ks,nH="horizontal",iH="vertical",rH=["line","bar","candlestick","scatter"],oH={easing:"cubicOut",duration:100,delay:0},aH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return n(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=B(this._onBrush,this),this._onBrushEnd=B(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),$g(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Jg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Lr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===nH?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Np(t.option);R(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=Lp(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===iH&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==nH||r?n===nH&&r?{scaleY:a?1:-1,scaleX:-1}:n!==iH||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new eH({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new eH({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:B(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:zr(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var b=w(1===_);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new Lr,i=new Gu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Yu({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){R(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&L(rH,t.get("type"))<0)){var a,s=i.getComponent($V(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new eH({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new eH({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),R([0,1],(function(e){var o=a.get("handleIcon");!Qy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=nv(o,-1,0,2,2,null,!0);s.attr({cursor:sH(this._orient),draggable:!0,drift:B(this._onDragMove,this,e),ondragend:B(this._onDragEnd,this),onmouseover:B(this._showDataInfo,this,!0),onmouseout:B(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=Vr(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),zl(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new Us({silent:!0,invisible:!0,style:oc(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=Vr(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new ks({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=nv(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new ks({invisible:!0,shape:{y:o[1]-y,height:p+y}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:sH(this._orient),drift:B(this._onDragMove,this,"all"),ondragstart:B(this._showDataInfo,this,!0),ondragend:B(this._onDragEnd,this),onmouseover:B(this._showDataInfo,this,!0),onmouseout:B(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[zr(t[0],[0,100],e,!0),zr(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];NL(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?zr(o.minSpan,a,r,!0):null,null!=o.maxSpan?zr(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Fr([zr(i[0],r,a,!0),zr(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Fr(n.slice()),r=this._size;R([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new ve(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=Fr([zr(n.x,i,r,!0),zr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(re(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new eH({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?oH:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=QV(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(sB);function sH(t){return"vertical"===t?"ns-resize":"ew-resize"}var lH=aH;function uH(t){t.registerComponentModel(tH),t.registerComponentView(lH),yB(t)}var hH={get:function(t,e,n){var i=T((cH[t]||{})[e]);return n&&G(i)?i[i.length-1]:i}},cH={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},pH=hH,dH=IA.mapVisual,fH=IA.eachVisual,gH=G,yH=R,vH=Fr,mH=zr,xH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&HF(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=B(t,this),this.controllerVisuals=WF(this.option.controller,e,t),this.targetVisuals=WF(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=lo(t),e},e.prototype.eachTargetSeries=function(t,e){R(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],G(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return H(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):W(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=vH([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});C(i,n),C(r,n);var o=this.isCategory();function a(n){gH(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},yH(i,(function(t,e){if(IA.isValidType(e)){var n=pH.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";yH(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&T(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&T(n)||(o?s[0]:[s[0],s[0]])),l.symbol=dH(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;fH(u,(function(t){t>h&&(h=t)})),l.symbolSize=dH(u,(function(t){return mH(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Bp),_H=xH,bH=[20,140],wH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=bH[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=bH[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):G(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),R(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=Fr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=SH(0,0,this.getExtent()),n=SH(0,0,this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Lr("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();LH([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var h=kH(t[l],[0,a[1]],s,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/a[0],u.x=a[0]-c/2;var p=Gh(n.handleLabelPoints[l],Fh(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=kH(t,o,s,!0),d=a[0]-c/2,f={x:u.x,y:u.y};u.y=p,u.x=d;var g=Gh(l.indicatorLabelPoint,Fh(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var x={x:d,y:p,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||EH(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function WH(t,e,n,i){for(var r=e.targetVisuals[i],o=IA.prepareVisualTypes(r),a={color:By(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(BH,FH),R(GH,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(YH))}function jH(t){t.registerComponentModel(MH),t.registerComponentView(VH),ZH(t)}var qH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return n(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],KH[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=T(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=N(this._pieceList,(function(t){return t=T(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=IA.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}R(e.pieces,(function(t){R(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),R(n,(function(t,n){var i=!1;R(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&R(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=pH.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,R(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;R(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=T(t)},e.prototype.getValueState=function(t){var e=IA.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){IA.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return R(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Pc(_H.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(_H),KH={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function $H(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var JH=qH,QH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=J(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,h,a),R(l.viewPieceList,(function(i){var l=i.piece,u=new Lr;u.onclick=B(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),h){var p=this.visualMapModel.getValueState(c);u.add(new Us({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),kp(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:AH(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return DH(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Lr,a=this.visualMapModel.textStyleModel;o.add(new Us({style:oc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=N(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(nv(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=T(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,R(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(TH),tY=QH;function eY(t){t.registerComponentModel(JH),t.registerComponentView(tY),ZH(t)}var nY={label:{enabled:!0},decal:{show:!1}},iY=bo(),rY={};function oY(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=T(nY);C(i.label,t.getLocaleModel().get("aria"),!1),C(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=ct();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),iY(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(W(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=fd(e.ecModel,e.name,rY,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=iY(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=fd(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?A(A({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=t.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=k(o.option,i),o.get("enabled")){var a=e.getZr().dom;if(o.get("description"))a.setAttribute("aria-label",o.get("description"));else{var s,l=t.getSeriesCount(),u=o.get(["data","maxCount"])||10,h=o.get(["series","maxCount"])||10,c=Math.min(l,h);if(!(l<1)){var p=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();s=p?r(o.get(["general","withTitle"]),{title:p}):o.get(["general","withoutTitle"]);var d=[];s+=r(l>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?o.get(["series","multiple",a]):o.get(["series","single",a]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(x=e.subType,t.getLocaleModel().get(["series","typeNames"])[x]||"自定义图")});var s=e.getData();s.count()>u?i+=r(o.get(["data","partialData"]),{displayCnt:u}):i+=o.get(["data","allData"]);for(var h=o.get(["data","separator","middle"]),p=o.get(["data","separator","end"]),f=[],g=0;g":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},lY=function(){function t(t){var e;null==(this._condVal=H(t)?new RegExp(t):(e=t,"[object RegExp]"===f.call(e)?t:null))&&ro("")}return t.prototype.evaluate=function(t){var e=typeof t;return H(e)?this._condVal.test(t):!!X(e)&&this._condVal.test(t+"")},t}(),uY=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),hY=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){SY(t,i)&&SY(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function IY(t,e,n,i,r,o,a,s,l,u){if(SY(t,n)&&SY(e,i)&&SY(r,a)&&SY(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,d=s-e,f=Math.sqrt(p*p+d*d);p/=f,d/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];gn(t,n,r,a,.5,S),gn(e,i,o,s,.5,M),IY(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),IY(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function TY(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=TY([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;d1?null:new ve(d*l+t,d*u+e)}function kY(t,e,n){var i=new ve;ve.sub(i,n,e),i.normalize();var r=new ve;return ve.sub(r,t,e),r.dot(i)}function LY(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function PY(t){var e=t.points,n=[],i=[];Sa(e,n,i);var r=new Ce(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new ve,h=new ve;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=TY([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),I=0;for(x=0;x0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function qY(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=N(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return N(o,(function(o,a){return{cp:o,z:jY(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function KY(t){return NY(t.path,t.count)}function $Y(t){return G(t[0])}function JY(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var QY={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);$Y(t)&&(s=t,l=e),$Y(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?JY(l,s):JY(c?e:t,[c?t:e]),d=0,f=0;f1e4))for(var i=n.getIndices(),r=function(t){for(var e=t.dimensions,n=0;n0&&i.group.traverse((function(t){t instanceof gs&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function uX(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function hX(t){return G(t)?t.sort().join(","):t}function cX(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function pX(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:cX(e.oldData[n]),dim:t.dimension})})),R(lo(t.to),(function(t){var i=pX(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:cX(r),dim:t.dimension})}})),r.length>0&&o.length>0&&lX(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=ct(),i=ct(),r=ct();return R(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=uX(e),l=hX(s);i.set(l,{dataGroupId:o,data:a}),G(s)&&R(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),R(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=uX(t),s=hX(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:cX(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:cX(o),data:o}]});else if(G(a)){var u=[];R(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:cX(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:cX(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:cX(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:cX(o)})}}}})),n}(i,n);R(o.keys(),(function(t){var n=o.get(t);lX(n.oldSeries,n.newSeries,e)}))}R(n.updatedSeries,(function(t){t[Ig]&&(t[Ig]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;himg{display:block;width:100%;height:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size: 24px}.el-avatar--large{--el-avatar-size: 56px}.headerAvatar[data-v-a9ea8f7c]{display:flex;justify-content:center;align-items:center;margin-right:8px}.file[data-v-a9ea8f7c]{width:80px;height:80px;position:relative}\n",document.head.appendChild(C);var D=a({size:{type:[Number,String],values:i,default:"",validator:function(e){return n(e)}},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:c},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:l(String),default:"cover"}}),A={error:function(e){return e instanceof Event}},q=s({name:"ElAvatar"}),T=s(r(r({},q),{},{props:D,emits:A,setup:function(e,r){var t=r.emit,a=e,i=o("avatar"),c=u(!1),l=v((function(){var e=a.size,r=a.icon,t=a.shape,n=[i.b()];return p(e)&&n.push(i.m(e)),r&&n.push(i.m("icon")),t&&n.push(i.m(t)),n})),s=v((function(){var e=a.size;return n(e)?i.cssVarBlock({size:f(e)||""}):void 0})),O=v((function(){return{objectFit:a.fit}}));function k(e){c.value=!0,t("error",e)}return d((function(){return a.src}),(function(){return c.value=!1})),function(e,r){return g(),y("span",{class:z(b(l)),style:m(b(s))},[!e.src&&!e.srcSet||c.value?e.icon?(g(),h(b(w),{key:1},{default:S((function(){return[(g(),h(x(e.icon)))]})),_:1})):j(e.$slots,"default",{key:2}):(g(),y("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:m(b(O)),onError:k},null,44,["src","alt","srcset"]))],6)}}})),F=k(O(T,[["__file","avatar.vue"]])),N=""+new URL("087AC4D233B64EB0noBody.png",t.meta.url).href,$={class:"headerAvatar"},G=["src"],H=["src"],K=Object.assign({name:"CustomPic"},{__name:"index",props:{picType:{type:String,required:!1,default:"avatar"},picSrc:{type:String,required:!1,default:""},preview:{type:Boolean,default:!1}},setup:function(e){var r=e,t=u("/api/"),a=u(N),i=I(),n=v((function(){return""===r.picSrc?""!==i.userInfo.headerImg&&"http"===i.userInfo.headerImg.slice(0,4)?i.userInfo.headerImg:t.value+i.userInfo.headerImg:""!==r.picSrc&&"http"===r.picSrc.slice(0,4)?r.picSrc:t.value+r.picSrc})),c=v((function(){return r.picSrc&&"http"!==r.picSrc.slice(0,4)?t.value+r.picSrc:r.picSrc})),l=v((function(){return r.preview?[c.value]:[]}));return function(r,t){var s=F,o=P;return g(),y("span",$,["avatar"===e.picType?(g(),y(B,{key:0},[b(i).userInfo.headerImg?(g(),h(s,{key:0,size:30,src:n.value},null,8,["src"])):(g(),h(s,{key:1,size:30,src:a.value},null,8,["src"]))],64)):E("",!0),"img"===e.picType?(g(),y(B,{key:1},[b(i).userInfo.headerImg?(g(),y("img",{key:0,src:n.value,class:"avatar"},null,8,G)):(g(),y("img",{key:1,src:a.value,class:"avatar"},null,8,H))],64)):E("",!0),"file"===e.picType?(g(),h(o,{key:2,src:c.value,class:"file","preview-src-list":l.value,"preview-teleported":!0},null,8,["src","preview-src-list"])):E("",!0)])}}});e("C",_(K,[["__scopeId","data-v-a9ea8f7c"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy25.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy25.js new file mode 100644 index 000000000..73d03f895 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy25.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);te&&(t>e-n&&(u=!0),t0&&void 0!==arguments[0]&&arguments[0];a.disabled||(e?b.value=!0:m.value=!0)}function E(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?y.value=!0:C.value=!0}function q(e){var n=e.target;if("li"===n.tagName.toLowerCase()&&Array.from(n.classList).includes("number")){var r=Number(n.textContent);r!==a.currentPage&&t("change",r)}else"li"===n.tagName.toLowerCase()&&Array.from(n.classList).includes("more")&&D(e)}function D(e){var n=e.target;if("ul"!==n.tagName.toLowerCase()&&!a.disabled){var r=Number(n.textContent),u=a.pageCount,i=a.currentPage,l=a.pagerCount-2;n.className.includes("more")&&(n.className.includes("quickprev")?r=i-l:n.className.includes("quicknext")&&(r=i+l)),Number.isNaN(+r)||(r<1&&(r=1),r>u&&(r=u)),r!==i&&t("change",r)}}return O((function(){var e=(a.pagerCount-1)/2;g.value=!1,f.value=!1,a.pageCount>a.pagerCount&&(a.currentPage>a.pagerCount-e&&(g.value=!0),a.currentPage0?(s(),c("li",{key:0,class:T([[v(r).is("active",1===e.currentPage),v(r).is("disabled",e.disabled)],"number"]),"aria-current":1===e.currentPage,"aria-label":v(i)("el.pagination.currentPage",{pager:1}),tabindex:v(k)}," 1 ",10,["aria-current","aria-label","tabindex"])):A("v-if",!0),g.value?(s(),c("li",{key:1,class:T(v(h)),tabindex:v(k),"aria-label":v(i)("el.pagination.prevPages",{pager:e.pagerCount-2}),onMouseenter:function(e){return B(!0)},onMouseleave:function(e){return b.value=!1},onFocus:function(e){return E(!0)},onBlur:function(e){return y.value=!1}},[!b.value&&!y.value||e.disabled?(s(),d(v(_),{key:1})):(s(),d(v(w),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):A("v-if",!0),(s(!0),c(N,null,j(v(P),(function(n){return s(),c("li",{key:n,class:T([[v(r).is("active",e.currentPage===n),v(r).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===n,"aria-label":v(i)("el.pagination.currentPage",{pager:n}),tabindex:v(k)},p(n),11,["aria-current","aria-label","tabindex"])})),128)),f.value?(s(),c("li",{key:2,class:T(v(S)),tabindex:v(k),"aria-label":v(i)("el.pagination.nextPages",{pager:e.pagerCount-2}),onMouseenter:function(e){return B()},onMouseleave:function(e){return m.value=!1},onFocus:function(e){return E()},onBlur:function(e){return C.value=!1}},[!m.value&&!C.value||e.disabled?(s(),d(v(_),{key:1})):(s(),d(v(M),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):A("v-if",!0),e.pageCount>1?(s(),c("li",{key:3,class:T([[v(r).is("active",e.currentPage===e.pageCount),v(r).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===e.pageCount,"aria-label":v(i)("el.pagination.currentPage",{pager:e.pageCount}),tabindex:v(k)},p(e.pageCount),11,["aria-current","aria-label","tabindex"])):A("v-if",!0)],42,["onKeyup"])}}})),ze=m(he,[["__file","pager.vue"]]),xe=function(e){return"number"!=typeof e},Se=r({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:function(e){return q(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2==1},default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:C(Array),default:function(){return P([10,20,30,40,50,100])}},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:u,default:function(){return D}},nextText:{type:String,default:""},nextIcon:{type:u,default:function(){return L}},teleported:{type:Boolean,default:!0},small:Boolean,size:U,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),ke="ElPagination",Ne=i({name:ke,props:Se,emits:{"update:current-page":function(e){return q(e)},"update:page-size":function(e){return q(e)},"size-change":function(e){return q(e)},change:function(e,n){return q(e)&&q(n)},"current-change":function(e){return q(e)},"prev-click":function(e){return q(e)},"next-click":function(e){return q(e)}},setup:function(n,a){var r=a.emit,u=a.slots,i=l().t,s=z("pagination"),c=F().vnode.props||{},p=K(),d=o((function(){var e;return n.small?"small":null!=(e=n.size)?e:p.value}));$({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},o((function(){return!!n.small})));var g="onUpdate:currentPage"in c||"onUpdate:current-page"in c||"onCurrentChange"in c,f="onUpdate:pageSize"in c||"onUpdate:page-size"in c||"onSizeChange"in c,v=o((function(){if(xe(n.total)&&xe(n.pageCount))return!1;if(!xe(n.currentPage)&&!g)return!1;if(n.layout.includes("sizes"))if(xe(n.pageCount)){if(!xe(n.total)&&!xe(n.pageSize)&&!f)return!1}else if(!f)return!1;return!0})),b=x(xe(n.defaultPageSize)?10:n.defaultPageSize),m=x(xe(n.defaultCurrentPage)?1:n.defaultCurrentPage),y=o({get:function(){return xe(n.pageSize)?b.value:n.pageSize},set:function(e){xe(n.pageSize)&&(b.value=e),f&&(r("update:page-size",e),r("size-change",e))}}),C=o((function(){var e=0;return xe(n.pageCount)?xe(n.total)||(e=Math.max(1,Math.ceil(n.total/y.value))):e=n.pageCount,e})),P=o({get:function(){return xe(n.currentPage)?m.value:n.currentPage},set:function(e){var t=e;e<1?t=1:e>C.value&&(t=C.value),xe(n.currentPage)&&(m.value=t),g&&(r("update:current-page",t),r("current-change",t))}});function h(e){P.value=e}function k(){n.disabled||(P.value-=1,r("prev-click",P.value))}function N(){n.disabled||(P.value+=1,r("next-click",P.value))}function j(e,n){e&&(e.props||(e.props={}),e.props.class=[e.props.class,n].join(" "))}return S(C,(function(e){P.value>e&&(P.value=e)})),S([P,y],(function(n){r.apply(void 0,["change"].concat(e(n)))}),{flush:"post"}),J(t,{pageCount:C,disabled:o((function(){return n.disabled})),currentPage:P,changeEvent:h,handleSizeChange:function(e){y.value=e;var n=C.value;P.value>n&&(P.value=n)}}),function(){var e,t;if(!v.value)return G(ke,i("el.pagination.deprecationWarning")),null;if(!n.layout)return null;if(n.hideOnSinglePage&&C.value<=1)return null;var a=[],r=[],l=H("div",{class:s.e("rightwrapper")},r),o={prev:H(ne,{disabled:n.disabled,currentPage:P.value,prevText:n.prevText,prevIcon:n.prevIcon,onClick:k}),jumper:H(fe,{size:d.value}),pager:H(ze,{currentPage:P.value,pageCount:C.value,pagerCount:n.pagerCount,onChange:h,disabled:n.disabled}),next:H(ue,{disabled:n.disabled,currentPage:P.value,pageCount:C.value,nextText:n.nextText,nextIcon:n.nextIcon,onClick:N}),sizes:H(ce,{pageSize:y.value,pageSizes:n.pageSizes,popperClass:n.popperClass,disabled:n.disabled,teleported:n.teleported,size:d.value,appendSizeTo:n.appendSizeTo}),slot:null!=(t=null==(e=null==u?void 0:u.default)?void 0:e.call(u))?t:null,total:H(ye,{total:xe(n.total)?0:n.total})},c=n.layout.split(",").map((function(e){return e.trim()})),p=!1;return c.forEach((function(e){"->"!==e?p?r.push(o[e]):a.push(o[e]):p=!0})),j(a[0],s.is("first")),j(a[a.length-1],s.is("last")),p&&r.length>0&&(j(r[0],s.is("first")),j(r[r.length-1],s.is("last")),a.push(l)),H("div",{class:[s.b(),s.is("background",n.background),s.m(d.value)]},a)}}});n("E",V(Ne))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy26.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy26.js new file mode 100644 index 000000000..0b3c90914 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy26.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,a=Object.create(o.prototype),u=new R(n||[]);return i(a,"_invoke",{value:S(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=f;var d="suspendedStart",v="suspendedYield",y="executing",h="completed",m={};function b(){}function g(){}function w(){}var x={};s(x,u,(function(){return this}));var E=Object.getPrototypeOf,k=E&&E(E(T([])));k&&k!==n&&o.call(k,u)&&(x=k);var O=w.prototype=b.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(n,i,a,u){var l=p(e[n],e,i);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(s).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,u)}))}u(l.arg)}var n;i(this,"_invoke",{value:function(e,o){function i(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(i,i):i()}})}function S(e,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===h){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var l=_(u,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(e,r,n);if("normal"===c.type){if(o=n.done?h:v,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=h,n.method="throw",n.arg=c.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function F(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),F(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;F(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},r}function t(e,t,r,n,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void r(e)}u.done?t(l):Promise.resolve(l).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function u(e){t(a,o,i,u,l,"next",e)}function l(e){t(a,o,i,u,l,"throw",e)}u(void 0)}))}}function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=c(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r0?t.loaded/t.total*100:0,e.onProgress(r)}));var n=new FormData;if(e.data)for(var o=0,i=Object.entries(e.data);o=300)return e.onError(ve(r,e,t));e.onSuccess(function(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(r){return t}}(t))})),t.open(e.method,r,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var v=e.headers||{};if(v instanceof Headers)v.forEach((function(e,r){return t.setRequestHeader(r,e)}));else for(var y=0,h=Object.entries(v);y");var n=x("upload"),i=k(!1),u=E(),l=function(e){if(!u.value){i.value=!1,e.stopPropagation();var t=Array.from(e.dataTransfer.files);r("file",t)}},c=function(){u.value||(i.value=!0)};return function(e,t){return j(),_("div",{class:R([T(n).b("dragger"),T(n).is("dragover",i.value)]),onDrop:D(l,["prevent"]),onDragover:D(c,["prevent"]),onDragleave:D((function(e){return i.value=!1}),["prevent"])},[A(e.$slots,"default")],42,["onDrop","onDragover","onDragleave"])}}})),Pe=Y(_e,[["__file","upload-dragger.vue"]]),Fe=p(i(i({},be),{},{beforeUpload:{type:y(Function),default:b},onRemove:{type:y(Function),default:b},onStart:{type:y(Function),default:b},onSuccess:{type:y(Function),default:b},onProgress:{type:y(Function),default:b},onError:{type:y(Function),default:b},onExceed:{type:y(Function),default:b}})),Re=g({name:"ElUploadContent",inheritAttrs:!1}),Te=g(i(i({},Re),{},{props:Fe,setup:function(t,o){var i=o.expose,a=t,u=x("upload"),c=E(),s=Q({}),f=Q(),p=function(e){if(0!==e.length){var t=a.autoUpload,r=a.limit,o=a.fileList,i=a.multiple,u=a.onStart,l=a.onExceed;if(r&&o.length+e.length>r)l(e,o);else{i||(e=e.slice(0,1));var c,s=n(e);try{for(s.s();!(c=s.n()).done;){var f=c.value;f.uid=me(),u(f),t&&d(f)}}catch(p){s.e(p)}finally{s.f()}}}},d=function(){var t=r(e().mark((function t(r){var n,o,i,u,l;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f.value.value="",a.beforeUpload){e.next=3;break}return e.abrupt("return",y(r));case 3:return o={},e.prev=4,i=a.data,u=a.beforeUpload(r),o=V(a.data)?fe(a.data):a.data,e.next=10,u;case 10:n=e.sent,V(a.data)&&pe(i,o)&&(o=fe(a.data)),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(4),n=!1;case 17:if(!1!==n){e.next=20;break}return a.onRemove(r),e.abrupt("return");case 20:l=r,n instanceof Blob&&(l=n instanceof File?n:new File([n],r.name,{type:r.type})),y(Object.assign(l,{uid:r.uid}),o);case 23:case"end":return e.stop()}}),t,null,[[4,14]])})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=r(e().mark((function t(r,n){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ee(r)){e.next=2;break}return e.abrupt("return",r(n));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),y=function(){var t=r(e().mark((function t(r,n){var o,i,u,l,c,f,p,d,y,h,m,b,g;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=a.headers,i=a.data,u=a.method,l=a.withCredentials,c=a.name,f=a.action,p=a.onProgress,d=a.onSuccess,y=a.onError,h=a.httpRequest,e.prev=1,e.next=4,v(null!=n?n:i,r);case 4:n=e.sent,e.next=11;break;case 7:return e.prev=7,e.t0=e.catch(1),a.onRemove(r),e.abrupt("return");case 11:m=r.uid,g=h(b={headers:o||{},withCredentials:l,file:r,data:n,method:u,filename:c,action:f,onProgress:function(e){p(e,r)},onSuccess:function(e){d(e,r),delete s.value[m]},onError:function(e){y(e,r),delete s.value[m]}}),s.value[m]=g,g instanceof Promise&&g.then(b.onSuccess,b.onError);case 16:case"end":return e.stop()}}),t,null,[[1,7]])})));return function(e,r){return t.apply(this,arguments)}}(),h=function(e){var t=e.target.files;t&&p(Array.from(t))},m=function(){c.value||(f.value.value="",f.value.click())},b=function(){m()};return i({abort:function(e){Z(s.value).filter(e?function(t){var r=l(t,1)[0];return String(e.uid)===r}:function(){return!0}).forEach((function(e){var t=l(e,2),r=t[0],n=t[1];n instanceof XMLHttpRequest&&n.abort(),delete s.value[r]}))},upload:d}),function(e,t){return j(),_("div",{class:R([T(u).b(),T(u).m(e.listType),T(u).is("drag",e.drag),T(u).is("disabled",T(c))]),tabindex:T(c)?"-1":"0",onClick:m,onKeydown:C(D(b,["self"]),["enter","space"])},[e.drag?(j(),L(Pe,{key:0,disabled:T(c),onFile:p},{default:S((function(){return[A(e.$slots,"default")]})),_:3},8,["disabled"])):A(e.$slots,"default",{key:1}),U("input",{ref_key:"inputRef",ref:f,class:R(T(u).e("input")),name:e.name,disabled:T(c),multiple:e.multiple,accept:e.accept,type:"file",onChange:h,onClick:D((function(){}),["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"])}}})),Ce=Y(Te,[["__file","upload-content.vue"]]),Ae="ElUpload",$e=function(e){var t;(null==(t=e.url)?void 0:t.startsWith("blob:"))&&URL.revokeObjectURL(e.url)},Ue=function(t,o){var i=te(t,"fileList",void 0,{passive:!0}),l=function(e){return i.value.find((function(t){return t.uid===e.uid}))};function c(e){var t;null==(t=o.value)||t.abort(e)}function f(e){i.value=i.value.filter((function(t){return t!==e}))}var p=function(){var n=r(e().mark((function r(n){var o,u;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((o=n instanceof File?l(n):n)||a(Ae,"file to be removed not found"),u=function(e){c(e),f(e),t.onRemove(e,i.value),$e(e)},!t.beforeRemove){e.next=10;break}return e.next=6,t.beforeRemove(o,i.value);case 6:!1!==e.sent&&u(o),e.next=11;break;case 10:u(o);case 11:case"end":return e.stop()}}),r)})));return function(e){return n.apply(this,arguments)}}();return re((function(){return t.listType}),(function(e){"picture-card"!==e&&"picture"!==e||(i.value=i.value.map((function(e){var r=e.raw;if(!e.url&&r)try{e.url=URL.createObjectURL(r)}catch(n){t.onError(n,e,i.value)}return e})))})),re(i,(function(e){var t,r=n(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.uid||(o.uid=me()),o.status||(o.status="success")}}catch(i){r.e(i)}finally{r.f()}}),{immediate:!0,deep:!0}),{uploadFiles:i,abort:c,clearFiles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["ready","uploading","success","fail"];i.value=i.value.filter((function(t){return!e.includes(t.status)}))},handleError:function(e,r){var n=l(r);n&&(console.error(e),n.status="fail",f(n),t.onError(e,n,i.value),t.onChange(n,i.value))},handleProgress:function(e,r){var n=l(r);n&&(t.onProgress(e,n,i.value),n.status="uploading",n.percentage=Math.round(e.percent))},handleStart:function(e){s(e.uid)&&(e.uid=me());var r={name:e.name,percentage:0,status:"ready",size:e.size,raw:e,uid:e.uid};if("picture-card"===t.listType||"picture"===t.listType)try{r.url=URL.createObjectURL(e)}catch(n){ne(Ae,n.message),t.onError(n,r,i.value)}i.value=[].concat(u(i.value),[r]),t.onChange(r,i.value)},handleSuccess:function(e,r){var n=l(r);n&&(n.status="success",n.response=e,t.onSuccess(e,n,i.value),t.onChange(n,i.value))},handleRemove:p,submit:function(){i.value.filter((function(e){return"ready"===e.status})).forEach((function(e){var t,r=e.raw;return r&&(null==(t=o.value)?void 0:t.upload(r))}))},revokeFileObjectURL:$e}},De=g({name:"ElUpload"}),Be=g(i(i({},De),{},{props:ge,setup:function(e,t){var r=t.expose,n=e,a=E(),u=Q(),l=Ue(n,u),c=l.abort,s=l.submit,f=l.clearFiles,p=l.uploadFiles,d=l.handleStart,v=l.handleError,y=l.handleRemove,h=l.handleSuccess,m=l.handleProgress,b=l.revokeFileObjectURL,g=O((function(){return"picture-card"===n.listType})),w=O((function(){return i(i({},n),{},{fileList:p.value,onStart:d,onProgress:m,onSuccess:h,onError:v,onRemove:y})}));return oe((function(){p.value.forEach(b)})),ie(o,{accept:ae(n,"accept")}),r({abort:c,submit:s,clearFiles:f,handleStart:d,handleRemove:y}),function(e,t){return j(),_("div",null,[T(g)&&e.showFileList?(j(),L(ke,{key:0,disabled:T(a),"list-type":e.listType,files:T(p),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:T(y)},ue({append:S((function(){return[B(Ce,le({ref_key:"uploadRef",ref:u},T(w)),{default:S((function(){return[e.$slots.trigger?A(e.$slots,"trigger",{key:0}):$("v-if",!0),!e.$slots.trigger&&e.$slots.default?A(e.$slots,"default",{key:1}):$("v-if",!0)]})),_:3},16)]})),_:2},[e.$slots.file?{name:"default",fn:S((function(t){var r=t.file,n=t.index;return[A(e.$slots,"file",{file:r,index:n})]}))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):$("v-if",!0),!T(g)||T(g)&&!e.showFileList?(j(),L(Ce,le({key:1,ref_key:"uploadRef",ref:u},T(w)),{default:S((function(){return[e.$slots.trigger?A(e.$slots,"trigger",{key:0}):$("v-if",!0),!e.$slots.trigger&&e.$slots.default?A(e.$slots,"default",{key:1}):$("v-if",!0)]})),_:3},16)):$("v-if",!0),e.$slots.trigger?A(e.$slots,"default",{key:2}):$("v-if",!0),A(e.$slots,"tip"),!T(g)&&e.showFileList?(j(),L(ke,{key:3,disabled:T(a),"list-type":e.listType,files:T(p),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:T(y)},ue({_:2},[e.$slots.file?{name:"default",fn:S((function(t){var r=t.file,n=t.index;return[A(e.$slots,"file",{file:r,index:n})]}))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):$("v-if",!0)])}}}));t("E",ce(Y(Be,[["__file","upload.vue"]])))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy27.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy27.js new file mode 100644 index 000000000..0df9d8665 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy27.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){u=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw i}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0&&e<=100}},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:i(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:i([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:i(Function),default:function(e){return"".concat(e,"%")}}}),E=c({name:"ElProgress"}),F=c(n(n({},E),{},{props:r,setup:function(t){var r=t,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=u("progress"),i=s((function(){var e={width:"".concat(r.percentage,"%"),animationDuration:"".concat(r.duration,"s")},t=z(r.percentage);return t.includes("gradient")?e.background=t:e.backgroundColor=t,e})),c=s((function(){return(r.strokeWidth/r.width*100).toFixed(1)})),B=s((function(){return["circle","dashboard"].includes(r.type)?Number.parseInt("".concat(50-Number.parseFloat(c.value)/2),10):0})),N=s((function(){var e=B.value,t="dashboard"===r.type;return"\n M 50 50\n m 0 ".concat(t?"":"-").concat(e,"\n a ").concat(e," ").concat(e," 0 1 1 0 ").concat(t?"-":"").concat(2*e,"\n a ").concat(e," ").concat(e," 0 1 1 0 ").concat(t?"":"-").concat(2*e,"\n ")})),E=s((function(){return 2*Math.PI*B.value})),F=s((function(){return"dashboard"===r.type?.75:1})),T=s((function(){var e=-1*E.value*(1-F.value)/2;return"".concat(e,"px")})),$=s((function(){return{strokeDasharray:"".concat(E.value*F.value,"px, ").concat(E.value,"px"),strokeDashoffset:T.value}})),C=s((function(){return{strokeDasharray:"".concat(E.value*F.value*(r.percentage/100),"px, ").concat(E.value,"px"),strokeDashoffset:T.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"}})),W=s((function(){return r.color?z(r.percentage):n[r.status]||n.default})),_=s((function(){return"warning"===r.status?l:"line"===r.type?"success"===r.status?f:p:"success"===r.status?d:y})),L=s((function(){return"line"===r.type?12+.4*r.strokeWidth:.111111*r.width+2})),M=s((function(){return r.format(r.percentage)}));var z=function(t){var n,a=r.color;if(v(a))return a(t);if(b(a))return a;var o,i=function(e){var t=100/e.length;return e.map((function(e,r){return b(e)?{color:e,percentage:(r+1)*t}:e})).sort((function(e,t){return e.percentage-t.percentage}))}(a),c=e(i);try{for(c.s();!(o=c.n()).done;){var u=o.value;if(u.percentage>t)return u.color}}catch(s){c.e(s)}finally{c.f()}return null==(n=i[i.length-1])?void 0:n.color};return function(e,t){return g(),h("div",{class:m([w(o).b(),w(o).m(e.type),w(o).is(e.status),a(a({},w(o).m("without-text"),!e.showText),w(o).m("text-inside"),e.textInside)]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===e.type?(g(),h("div",{key:0,class:m(w(o).b("bar"))},[k("div",{class:m(w(o).be("bar","outer")),style:x({height:"".concat(e.strokeWidth,"px")})},[k("div",{class:m([w(o).be("bar","inner"),a({},w(o).bem("bar","inner","indeterminate"),e.indeterminate),a({},w(o).bem("bar","inner","striped"),e.striped),a({},w(o).bem("bar","inner","striped-flow"),e.stripedFlow)]),style:x(w(i))},[(e.showText||e.$slots.default)&&e.textInside?(g(),h("div",{key:0,class:m(w(o).be("bar","innerText"))},[O(e.$slots,"default",{percentage:e.percentage},(function(){return[k("span",null,j(w(M)),1)]}))],2)):S("v-if",!0)],6)],6)],2)):(g(),h("div",{key:1,class:m(w(o).b("circle")),style:x({height:"".concat(e.width,"px"),width:"".concat(e.width,"px")})},[(g(),h("svg",{viewBox:"0 0 100 100"},[k("path",{class:m(w(o).be("circle","track")),d:w(N),stroke:"var(".concat(w(o).cssVarName("fill-color-light"),", #e5e9f2)"),"stroke-linecap":e.strokeLinecap,"stroke-width":w(c),fill:"none",style:x(w($))},null,14,["d","stroke","stroke-linecap","stroke-width"]),k("path",{class:m(w(o).be("circle","path")),d:w(N),stroke:w(W),fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":w(c),style:x(w(C))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),!e.showText&&!e.$slots.default||e.textInside?S("v-if",!0):(g(),h("div",{key:2,class:m(w(o).e("text")),style:x({fontSize:"".concat(w(L),"px")})},[O(e.$slots,"default",{percentage:e.percentage},(function(){return[e.status?(g(),P(w(A),{key:1},{default:D((function(){return[(g(),P(I(w(_))))]})),_:1})):(g(),h("span",{key:0},j(w(M)),1))]}))],6))],10,["aria-valuenow"])}}}));t("E",N(B(F,[["__file","progress.vue"]])))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy28.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy28.js new file mode 100644 index 000000000..1714dc050 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy28.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function t(t){for(var o=1;oe.length)&&(n=e.length);for(var t=0,o=Array(n);t1&&void 0!==arguments[1]?arguments[1]:U.value;if("focus"!==n.type)if("click"===d.props.menuTrigger&&"horizontal"===d.props.mode||!d.props.collapse&&"vertical"===d.props.mode||e.disabled)p.mouseInChild.value=!0;else{p.mouseInChild.value=!0,null==f||f();var u=R((function(){d.openMenu(e.index,a.value)}),o);f=u.stop,S.value&&(null==(t=l.value.vnode.el)||t.dispatchEvent(new MouseEvent("mouseenter")))}},te=function(){var n,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if("click"===d.props.menuTrigger&&"horizontal"===d.props.mode||!d.props.collapse&&"vertical"===d.props.mode)p.mouseInChild.value=!1;else{null==f||f(),p.mouseInChild.value=!1;var o=R((function(){return!h.value&&d.closeMenu(e.index,a.value)}),X.value);f=o.stop,S.value&&t&&(null==(n=p.handleMouseleave)||n.call(p,!0))}};T((function(){return d.props.collapse}),(function(e){return Y(Boolean(e))}));return A("subMenu:".concat(u.uid),{addSubMenu:function(e){m.value[e.index]=e},removeSubMenu:function(e){delete m.value[e.index]},handleMouseleave:te,mouseInChild:h,level:p.level+1}),o({opened:G}),N((function(){d.addSubMenu(K),p.addSubMenu(K)})),B((function(){p.removeSubMenu(K),d.removeSubMenu(K)})),function(){var n,o=[null==(n=t.title)?void 0:n.call(t),z($,{class:s.e("icon-arrow"),style:{transform:G.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&d.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:function(){return j(M.value)?z(u.appContext.components[M.value]):z(M.value)}})],r=d.isMenuPopup?z(le,{ref:y,visible:G.value,effect:"light",pure:!0,offset:V.value,showArrow:!1,persistent:!0,popperClass:Z.value,placement:g.value,teleported:S.value,fallbackPlacements:F.value,transition:D.value,gpuAcceleration:!1},{content:function(){var e;return z("div",{class:[i.m(J.value),i.m("popup-container"),Z.value],onMouseenter:function(e){return ne(e,100)},onMouseleave:function(){return te(!0)},onFocus:function(e){return ne(e,100)}},[z("ul",{class:[i.b(),i.m("popup"),i.m("popup-".concat(g.value))],style:Q.value},[null==(e=t.default)?void 0:e.call(t)])])},default:function(){return z("div",{class:s.e("title"),onClick:ee},o)}}):z(W,{},[z("div",{class:s.e("title"),ref:b,onClick:ee},o),z(ae,{},{default:function(){var e;return L(z("ul",{role:"menu",class:[i.b(),i.m("inline")],style:Q.value},[null==(e=t.default)?void 0:e.call(t)]),[[_,G.value]])}})]);return z("li",{class:[s.b(),s.is("active",H.value),s.is("opened",G.value),s.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:G.value,onMouseenter:ne,onMouseleave:function(){return te()},onFocus:ne},[r])}}}),ge=I({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:D(Array),default:function(){return F([])}},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:S,default:function(){return G}},popperEffect:{type:D(String),default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),xe=function(e){return Array.isArray(e)&&e.every((function(e){return j(e)}))},Me=s({name:"ElMenu",props:ge,emits:{close:function(e,n){return j(e)&&xe(n)},open:function(e,n){return j(e)&&xe(n)},select:function(e,n,t,o){return j(e)&&xe(n)&&Q(t)&&(void 0===o||o instanceof Promise)}},setup:function(n,o){var u,r=o.emit,a=o.slots,l=o.expose,i=q(),s=i.appContext.config.globalProperties.$router,d=w(),p=c("menu"),f=c("sub-menu"),v=w(-1),m=w(n.defaultOpeneds&&!n.collapse?n.defaultOpeneds.slice(0):[]),h=w(n.defaultActive),b=w({}),y=w({}),g=x((function(){return"horizontal"===n.mode||"vertical"===n.mode&&n.collapse})),M=function(e,t){m.value.includes(e)||(n.uniqueOpened&&(m.value=m.value.filter((function(e){return t.includes(e)}))),m.value.push(e),r("open",e,t))},I=function(e){var n=m.value.indexOf(e);-1!==n&&m.value.splice(n,1)},S=function(e,n){I(e),r("close",e,n)},C=function(){var e,n;if(!d.value)return-1;var t=Array.from(null!=(n=null==(e=d.value)?void 0:e.childNodes)?n:[]).filter((function(e){return"#comment"!==e.nodeName&&("#text"!==e.nodeName||e.nodeValue)})),o=getComputedStyle(d.value),u=Number.parseInt(o.paddingLeft,10),r=Number.parseInt(o.paddingRight,10),a=d.value.clientWidth-u-r,l=0,i=0;return t.forEach((function(e,n){var t,o,u,r;(l+=(t=e,o=getComputedStyle(t),u=Number.parseInt(o.marginLeft,10),r=Number.parseInt(o.marginRight,10),t.offsetWidth+u+r||0))<=a-64&&(i=n+1)})),i===t.length?-1:i},k=!0,E=function(){if(v.value!==C()){var e=function(){v.value=-1,Z((function(){v.value=C()}))};k?e():function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:33.34;return function(){n&&clearTimeout(n),n=setTimeout((function(){e()}),t)}}(e)(),k=!1}};T((function(){return n.defaultActive}),(function(e){var t,o,u;b.value[e]||(h.value=""),t=e,o=b.value,u=o[t]||h.value&&o[h.value]||o[n.defaultActive],h.value=u?u.index:t})),T((function(){return n.collapse}),(function(e){e&&(m.value=[])})),T(b.value,(function(){var e=h.value&&b.value[h.value];e&&"horizontal"!==n.mode&&!n.collapse&&e.indexPath.forEach((function(e){var n=y.value[e];n&&M(e,n.indexPath)}))})),H((function(){"horizontal"===n.mode&&n.ellipsis?u=J(d,E).stop:null==u||u()}));var O=w(!1),B=function(e){y.value[e.index]=e},j=function(e){delete y.value[e.index]};A("rootMenu",P({props:n,openedMenus:m,items:b,subMenus:y,activeIndex:h,isMenuPopup:g,addMenuItem:function(e){b.value[e.index]=e},removeMenuItem:function(e){delete b.value[e.index]},addSubMenu:B,removeSubMenu:j,openMenu:M,closeMenu:S,handleMenuItemClick:function(e){("horizontal"===n.mode||n.collapse)&&(m.value=[]);var t=e.index,o=e.indexPath;if(!V(t)&&!V(o))if(n.router&&s){var u=e.route||t,a=s.push(u).then((function(e){return e||(h.value=t),e}));r("select",t,o,{index:t,indexPath:o,route:u},a)}else h.value=t,r("select",t,o,{index:t,indexPath:o})},handleSubMenuClick:function(e){var n=e.index,t=e.indexPath;m.value.includes(n)?S(n,t):M(n,t)}})),A("subMenu:".concat(i.uid),{addSubMenu:B,removeSubMenu:j,mouseInChild:O,level:0}),N((function(){"horizontal"===n.mode&&new ce(i.vnode.el,p.namespace.value)}));l({open:function(e){var n=y.value[e].indexPath;n.forEach((function(e){return M(e,n)}))},close:I,handleResize:E});var _=me(n,0);return function(){var o,u,l=null!=(u=null==(o=a.default)?void 0:o.call(a))?u:[],i=[];if("horizontal"===n.mode&&d.value){var s=K(l),c=-1===v.value?s:s.slice(0,v.value),h=-1===v.value?[]:s.slice(v.value);(null==h?void 0:h.length)&&n.ellipsis&&(l=c,i.push(z(ye,{index:"sub-menu-more",class:f.e("hide-arrow"),popperOffset:n.popperOffset},{title:function(){return z($,{class:f.e("icon-more")},{default:function(){return z(n.ellipsisIcon)}})},default:function(){return h}})))}var b=n.closeOnClickOutside?[[ie,function(){m.value.length&&(O.value||(m.value.forEach((function(e){return r("close",e,(n=e,y.value[n].indexPath));var n})),m.value=[]))}]]:[],g=L(z("ul",{key:String(n.collapse),role:"menubar",ref:d,style:_.value,class:t(t(t({},p.b(),!0),p.m(n.mode),!0),p.m("collapse"),n.collapse)},[].concat(e(l),i)),b);return n.collapseTransition&&"vertical"===n.mode?z(pe,(function(){return g})):g}}}),Ie=I({index:{type:D([String,null]),default:null},route:{type:D([String,Object])},disabled:Boolean}),Se="ElMenuItem",Ce=s({name:Se,components:{ElTooltip:le},props:Ie,emits:{click:function(e){return j(e.index)&&Array.isArray(e.indexPath)}},setup:function(e,n){var t=n.emit,o=q(),u=C("rootMenu"),r=c("menu"),a=c("menu-item");u||k(Se,"can not inject root menu");var l=fe(o,U(e,"index")),i=l.parentMenu,s=l.indexPath,d=C("subMenu:".concat(i.value.uid));d||k(Se,"can not inject sub menu");var p=x((function(){return e.index===u.activeIndex})),f=P({index:e.index,indexPath:s,active:p});return N((function(){d.addSubMenu(f),u.addMenuItem(f)})),B((function(){d.removeSubMenu(f),u.removeMenuItem(f)})),{parentMenu:i,rootMenu:u,active:p,nsMenu:r,nsMenuItem:a,handleClick:function(){e.disabled||(u.handleMenuItemClick({index:e.index,indexPath:s.value,route:e.route}),t("click",f))}}}});var ke=i(Ce,[["render",function(e,n,t,o,u,r){var a=X("el-tooltip");return d(),Y("li",{class:ne([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:e.handleClick},["ElMenu"===e.parentMenu.type.name&&e.rootMenu.props.collapse&&e.$slots.title?(d(),p(a,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:f((function(){return[v(e.$slots,"title")]})),default:f((function(){return[ee("div",{class:ne(e.nsMenu.be("tooltip","trigger"))},[v(e.$slots,"default")],2)]})),_:3},8,["effect"])):(d(),Y(W,{key:1},[v(e.$slots,"default"),v(e.$slots,"title")],64))],10,["onClick"])}],["__file","menu-item.vue"]]),we=s({name:"ElMenuItemGroup",props:{title:String},setup:function(){return{ns:c("menu-item-group")}}});var Ee=i(we,[["render",function(e,n,t,o,u,r){return d(),Y("li",{class:ne(e.ns.b())},[ee("div",{class:ne(e.ns.e("title"))},[e.$slots.title?v(e.$slots,"title",{key:1}):(d(),Y(W,{key:0},[te(oe(e.title),1)],64))],2),ee("ul",null,[v(e.$slots,"default")])],2)}],["__file","menu-item-group.vue"]]);n("E",ue(Me,{MenuItem:ke,MenuItemGroup:Ee,SubMenu:ye})),n("b",re(ke));re(Ee);n("a",re(ye))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy3.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy3.js new file mode 100644 index 000000000..5c094423d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy3.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),u=new O(n||[]);return o(i,"_invoke",{value:B(t,r,u)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var p="suspendedStart",d="suspendedYield",g="executing",m="completed",y={};function v(){}function w(){}function b(){}var x={};s(x,u,(function(){return this}));var E=Object.getPrototypeOf,L=E&&E(E(I([])));L&&L!==n&&a.call(L,u)&&(x=L);var _=b.prototype=v.prototype=Object.create(x);function j(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(n,o,i,u){var c=h(t[n],t,o);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==typeof s&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,i,u)}),(function(t){r("throw",t,i,u)})):e.resolve(s).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,u)}))}u(c.arg)}var n;o(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,n){r(t,a,e,n)}))}return n=n?n.then(o,o):o()}})}function B(t,r,n){var a=p;return function(o,i){if(a===g)throw Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var c=C(u,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var l=h(t,r,n);if("normal"===l.type){if(a=n.done?m:d,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=m,n.method="throw",n.arg=l.arg)}}}function C(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=h(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function I(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;D(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},r}function e(t,e,r,n,a,o,i){try{var u=t[o](i),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,a)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(a,o){var i=t.apply(r,n);function u(t){e(i,a,o,u,c,"next",t)}function c(t){e(i,a,o,u,c,"throw",t)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0initdb-legacy.js","./087AC4D233B64EB0bottomInfo-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js"],(function(e,n){"use strict";var a,o,i,u,c,l,s,f,h,p,d,g,m,y,v,w,b,x,E,L,_,j,k;return{setters:[function(t){a=t.u,o=t.a,i=t.r,u=t.l,c=t.o,l=t.c,s=t.b,f=t.t,h=t.e,p=t.w,d=t.m,g=t.p,m=t.h,y=t.f,v=t.g,w=t.j,b=t.k,x=t.E},function(t){E=t.E,L=t.a},null,null,function(t){_=t._,j=t.c},function(t){k=t.default},null,null,null,null],execute:function(){var B=""+new URL("087AC4D233B64EB0docs.png",n.meta.url).href,C=""+new URL("087AC4D233B64EB0kefu.png",n.meta.url).href,A=""+new URL("087AC4D233B64EB0github.png",n.meta.url).href,D=""+new URL("087AC4D233B64EB0video.png",n.meta.url).href,O={id:"userLayout",class:"w-full h-full relative"},I={class:"rounded-lg flex items-center justify-evenly w-full h-full bg-white md:w-screen md:h-screen md:bg-[#194bfb]"},N={class:"md:w-3/5 w-10/12 h-full flex items-center justify-evenly"},V={class:"z-[999] pt-12 pb-10 md:w-96 w-full rounded-lg flex flex-col justify-between box-border"},G={class:"flex items-center justify-center"},P=["src"],U={class:"mb-9"},z={class:"text-center text-4xl font-bold"},S={class:"flex w-full justify-between"},F={class:"w-1/3 h-11 bg-[#c3d4f2] rounded"},T=["src"];e("default",Object.assign({name:"Login"},{__name:"index",setup:function(e){var n=a(),R=function(){g({}).then(function(){var e=r(t().mark((function e(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:$.captcha.push({max:r.data.captchaLength,min:r.data.captchaLength,message:"请输入".concat(r.data.captchaLength,"位验证码"),trigger:"blur"}),M.value=r.data.picPath,Y.captchaId=r.data.captchaId,Y.openCaptcha=r.data.openCaptcha;case 4:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())};R();var q=o(null),M=o(""),Y=i({username:"admin",password:"123456",captcha:"",captchaId:"",openCaptcha:!1}),$=i({username:[{validator:function(t,e,r){if(e.length<5)return r(new Error("请输入正确的用户名"));r()},trigger:"blur"}],password:[{validator:function(t,e,r){if(e.length<6)return r(new Error("请输入正确的密码"));r()},trigger:"blur"}],captcha:[{message:"验证码格式不正确",trigger:"blur"}]}),K=u(),H=function(){var e=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,K.LoginIn(Y);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(){q.value.validate(function(){var e=r(t().mark((function e(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=7;break}return t.next=3,H();case 3:t.sent||R(),t.next=10;break;case 7:return w({type:"error",message:"请正确填写登录信息",showClose:!0}),R(),t.abrupt("return",!1);case 10:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},Q=function(){var e=r(t().mark((function e(){var r,a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,j();case 2:0===(r=t.sent).code&&(null!==(a=r.data)&&void 0!==a&&a.needInit?(K.NeedInit(),n.push({name:"Init"})):w({type:"info",message:"已配置数据库信息,无法初始化"}));case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return function(t,e){var r=b,n=L,a=x,o=E;return c(),l("div",O,[s("div",I,[s("div",N,[e[7]||(e[7]=s("div",{class:"oblique h-[130%] w-3/5 bg-white transform -rotate-12 absolute -ml-52"},null,-1)),s("div",V,[s("div",null,[s("div",G,[s("img",{class:"w-24",src:t.$GIN_VUE_ADMIN.appLogo,alt:""},null,8,P)]),s("div",U,[s("p",z,f(t.$GIN_VUE_ADMIN.appName),1),e[4]||(e[4]=s("p",{class:"text-center text-sm font-normal text-gray-500 mt-2.5"},"A management platform using Golang and Vue ",-1))]),h(o,{ref_key:"loginForm",ref:q,model:Y,rules:$,"validate-on-rule-change":!1,onKeyup:d(J,["enter"])},{default:p((function(){return[h(n,{prop:"username",class:"mb-6"},{default:p((function(){return[h(r,{modelValue:Y.username,"onUpdate:modelValue":e[0]||(e[0]=function(t){return Y.username=t}),size:"large",placeholder:"请输入用户名","suffix-icon":"user"},null,8,["modelValue"])]})),_:1}),h(n,{prop:"password",class:"mb-6"},{default:p((function(){return[h(r,{modelValue:Y.password,"onUpdate:modelValue":e[1]||(e[1]=function(t){return Y.password=t}),"show-password":"",size:"large",type:"password",placeholder:"请输入密码"},null,8,["modelValue"])]})),_:1}),Y.openCaptcha?(c(),m(n,{key:0,prop:"captcha",class:"mb-6"},{default:p((function(){return[s("div",S,[h(r,{modelValue:Y.captcha,"onUpdate:modelValue":e[2]||(e[2]=function(t){return Y.captcha=t}),placeholder:"请输入验证码",size:"large",class:"flex-1 mr-5"},null,8,["modelValue"]),s("div",F,[M.value?(c(),l("img",{key:0,class:"w-full h-full",src:M.value,alt:"请输入验证码",onClick:e[3]||(e[3]=function(t){return R()})},null,8,T)):y("",!0)])])]})),_:1})):y("",!0),h(n,{class:"mb-6"},{default:p((function(){return[h(a,{class:"shadow shadow-blue-600 h-11 w-full",type:"primary",size:"large",onClick:J},{default:p((function(){return e[5]||(e[5]=[v("登 录")])})),_:1})]})),_:1}),h(n,{class:"mb-6"},{default:p((function(){return[h(a,{class:"shadow shadow-blue-600 h-11 w-full",type:"primary",size:"large",onClick:Q},{default:p((function(){return e[6]||(e[6]=[v("前往初始化")])})),_:1})]})),_:1})]})),_:1},8,["model","rules"])])])]),e[8]||(e[8]=s("div",{class:"hidden md:block w-1/2 h-full float-right bg-[#194bfb]"},[s("img",{class:"h-full",src:_,alt:"banner"})],-1))]),h(k,{class:"left-0 right-0 absolute bottom-3 mx-auto w-full z-20"},{default:p((function(){return e[9]||(e[9]=[s("div",{class:"links items-center justify-center gap-2 hidden md:flex"},[s("a",{href:"http://doc.henrongyi.top/",target:"_blank"},[s("img",{src:B,class:"w-8 h-8",alt:"文档"})]),s("a",{href:"https://support.qq.com/product/371961",target:"_blank"},[s("img",{src:C,class:"w-8 h-8",alt:"客服"})]),s("a",{href:"https://github.com/flipped-aurora/gin-vue-admin",target:"_blank"},[s("img",{src:A,class:"w-8 h-8",alt:"github"})]),s("a",{href:"https://space.bilibili.com/322210472",target:"_blank"},[s("img",{src:D,class:"w-8 h-8",alt:"视频站"})])],-1)])})),_:1})])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy30.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy30.js new file mode 100644 index 000000000..e95440a79 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy30.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function e(e){for(var n=1;n=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var d=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(d&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),q(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;q(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:D(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},r}function e(t,e,r,n,a,o,i){try{var c=t[o](i),d=c.value}catch(t){return void r(t)}c.done?e(d):Promise.resolve(d).then(n,a)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(a,o){var i=t.apply(r,n);function c(t){e(i,a,o,c,d,"next",t)}function d(t){e(i,a,o,c,d,"throw",t)}c(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0col-legacy.js","./087AC4D233B64EB0echartsLine-legacy.js","./087AC4D233B64EB0dashboardTable-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy23.js","./087AC4D233B64EB0github-legacy.js","./087AC4D233B64EB0date-legacy.js"],(function(e,n){"use strict";var a,o,i,c,d,u,l,s,f,p,h,g,v,m,y,w,b,x,_,E,k,L,j;return{setters:[function(t){a=t.a,o=t.M,i=t.u,c=t.N,d=t.o,u=t.c,l=t.b,s=t.t,f=t.D,p=t.e,h=t.w,g=t.g,v=t.K,m=t.L,y=t.h,w=t.F,b=t.G,x=t.H},function(t){_=t.E,E=t.a},function(t){k=t.default},function(t){L=t.default},function(t){j=t._},null,null,null],execute:function(){var B=document.createElement("style");B.textContent=".page[data-v-4d232fdc]{padding:0}.page .gva-card-box[data-v-4d232fdc]{padding:1rem}.page .gva-card-box+.gva-card-box[data-v-4d232fdc]{padding-top:0}.page .gva-card[data-v-4d232fdc]{box-sizing:border-box;height:auto;overflow:hidden;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:2rem 1.5rem;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.page .gva-card .gva-card-title[data-v-4d232fdc]{border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity));padding-bottom:1.25rem}.page .gva-top-card[data-v-4d232fdc]{display:flex;height:18rem;align-items:center;justify-content:space-between;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.page .gva-top-card-left[data-v-4d232fdc]{display:flex;height:100%;width:auto;flex-direction:column}.page .gva-top-card-left-title[data-v-4d232fdc]{font-size:1.875rem;line-height:2.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.page .gva-top-card-left-dot[data-v-4d232fdc]{margin-top:1rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.page .gva-top-card-left-item[data-v-4d232fdc]{margin-top:14px}.page .gva-top-card-left-item+.gva-top-card-left-item[data-v-4d232fdc]{margin-top:24px}.page .gva-top-card-right[data-v-4d232fdc]{height:600px;width:600px;margin-top:28px}.page[data-v-4d232fdc] .el-card__header{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding:0}.page .card-header[data-v-4d232fdc]{border-bottom-width:1px;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding-bottom:1.25rem}.page .quick-entrance-items[data-v-4d232fdc]{display:flex;align-items:center;justify-content:center;text-align:center;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.page .quick-entrance-items .quick-entrance-item[data-v-4d232fdc]{display:flex;cursor:pointer;flex-direction:column;align-items:center;border-radius:.5rem;padding:1.5rem 2rem;transition-property:all;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.page .quick-entrance-items .quick-entrance-item[data-v-4d232fdc]:hover{--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)}.page .quick-entrance-items .quick-entrance-item-icon[data-v-4d232fdc]{margin:auto 0;display:flex;height:4rem;width:4rem;align-items:center;justify-content:center;border-radius:.5rem;font-size:1.5rem;line-height:2rem}.page .quick-entrance-items .quick-entrance-item p[data-v-4d232fdc]{margin-top:.625rem}.dashboard-icon[data-v-4d232fdc]{margin-right:.5rem;display:flex;align-items:center;font-size:1.25rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}\n",document.head.appendChild(B);var C=""+new URL("087AC4D233B64EB0dashboard.png",n.meta.url).href,O=a("今日晴,0℃ - 10℃,天气寒冷,注意添加衣物。"),q="8e8baa8a7317586c29ec694895de6e0a",A=function(){return D(),O},D=function(){var e=r(t().mark((function e(){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.get("https://restapi.amap.com/v3/ip?key="+q);case 2:(r=t.sent).data.adcode&&F(r.data.adcode);case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=r(t().mark((function e(r){var n,a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.get("https://restapi.amap.com/v3/weather/weatherInfo?key="+q+"&extensions=base&city="+r);case 2:"1"===(n=t.sent).data.status&&(a=n.data.lives[0],O.value=a.city+" 天气:"+a.weather+" 温度:"+a.temperature+"摄氏度 风向:"+a.winddirection+" 风力:"+a.windpower+"级 空气湿度:"+a.humidity);case 4:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),G={class:"page"},N={class:"gva-card-box"},P={class:"gva-card gva-top-card"},S={class:"gva-top-card-left"},T={class:"gva-top-card-left-dot"},z={class:"flex items-center"},I={class:"flex items-center"},H={class:"flex items-center"},R={class:"gva-card-box"},V={class:"gva-card quick-entrance"},Y={class:"quick-entrance-item"},K={class:"gva-card-box"},M={class:"gva-card"},U={class:"p-4"},J=Object.assign({name:"Dashboard"},{__name:"index",setup:function(t){var e=A(),r=a([{label:"用户管理",icon:"monitor",name:"user",color:"#ff9c6e",bg:"rgba(255, 156, 110,.3)"},{label:"角色管理",icon:"setting",name:"authority",color:"#69c0ff",bg:"rgba(105, 192, 255,.3)"},{label:"菜单管理",icon:"menu",name:"menu",color:"#b37feb",bg:"rgba(179, 127, 235,.3)"},{label:"代码生成器",icon:"cpu",name:"autoCode",color:"#ffd666",bg:"rgba(255, 214, 102,.3)"},{label:"表单生成器",icon:"document-checked",name:"formCreate",color:"#ff85c0",bg:"rgba(255, 133, 192,.3)"},{label:"关于我们",icon:"user",name:"about",color:"#5cdbd3",bg:"rgba(92, 219, 211,.3)"}]),n=i();return function(t,a){var o=c("sort"),i=x,j=_,B=c("avatar"),O=c("comment"),q=E;return d(),u("div",G,[l("div",N,[l("div",P,[l("div",S,[a[3]||(a[3]=l("div",{class:"gva-top-card-left-title"},"早安,管理员,请开始一天的工作吧",-1)),l("div",T,s(f(e)),1),p(q,{class:"my-8 w-[500px]"},{default:h((function(){return[p(j,{span:8,xs:24,sm:8},{default:h((function(){return[l("div",z,[p(i,{class:"dashboard-icon"},{default:h((function(){return[p(o)]})),_:1}),a[0]||(a[0]=g(" 今日流量 (1231231) "))])]})),_:1}),p(j,{span:8,xs:24,sm:8},{default:h((function(){return[l("div",I,[p(i,{class:"dashboard-icon"},{default:h((function(){return[p(B)]})),_:1}),a[1]||(a[1]=g(" 总用户数 (24001) "))])]})),_:1}),p(j,{span:8,xs:24,sm:8},{default:h((function(){return[l("div",H,[p(i,{class:"dashboard-icon"},{default:h((function(){return[p(O)]})),_:1}),a[2]||(a[2]=g(" 好评率 (99%) "))])]})),_:1})]})),_:1}),a[4]||(a[4]=l("div",null,[l("div",{class:"gva-top-card-left-item"},[g(" 使用教学: "),l("a",{style:{color:"#409EFF"},target:"view_window",href:"https://www.bilibili.com/video/BV1Rg411u7xH/"},"https://www.bilibili.com/video/BV1Rg411u7xH")]),l("div",{class:"gva-top-card-left-item"},[g(" 插件仓库: "),l("a",{style:{color:"#409EFF"},target:"view_window",href:"https://plugin.gin-vue-admin.com/#/layout/home"},"https://plugin.gin-vue-admin.com")])],-1))]),a[5]||(a[5]=l("img",{src:C,class:"gva-top-card-right",alt:""},null,-1))])]),l("div",R,[l("div",V,[a[6]||(a[6]=l("div",{class:"gva-card-title"},"快捷入口",-1)),p(q,{gutter:20},{default:h((function(){return[(d(!0),u(v,null,m(r.value,(function(t,e){return d(),y(j,{key:e,span:4,xs:8,class:"quick-entrance-items",onClick:function(e){return r=t.name,void n.push({name:r});var r}},{default:h((function(){return[l("div",Y,[l("div",{class:"quick-entrance-item-icon",style:w({backgroundColor:t.bg})},[p(i,null,{default:h((function(){return[(d(),y(b(t.icon),{style:w({color:t.color})},null,8,["style"]))]})),_:2},1024)],4),l("p",null,s(t.label),1)])]})),_:2},1032,["onClick"])})),128))]})),_:1})])]),l("div",K,[l("div",M,[a[7]||(a[7]=l("div",{class:"gva-card-title"},"数据统计",-1)),l("div",U,[p(q,{gutter:20},{default:h((function(){return[p(j,{xs:24,sm:18},{default:h((function(){return[p(k)]})),_:1}),p(j,{xs:24,sm:6},{default:h((function(){return[p(L)]})),_:1})]})),_:1})])])])])}}});e("default",j(J,[["__scopeId","data-v-4d232fdc"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy7.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy7.js new file mode 100644 index 000000000..95e04b3a1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy7.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,n){"use strict";var t,u,r,i,a,c,l,o,f,s,d;return{setters:[function(e){t=e.a0,u=e.N,r=e.o,i=e.c,a=e.e,c=e.w,l=e.Z,o=e.h,f=e.a1,s=e.D,d=e.G}],execute:function(){e("default",Object.assign({name:"Example"},{__name:"index",setup:function(e){var n=t();return function(e,t){var m=u("router-view");return r(),i("div",null,[a(m,null,{default:c((function(e){var t=e.Component;return[a(l,{mode:"out-in",name:"el-fade-in-linear"},{default:c((function(){return[(r(),o(f,{include:s(n).keepAliveRouters},[(r(),o(d(t)))],1032,["include"]))]})),_:2},1024)]})),_:1})])}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy8.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy8.js new file mode 100644 index 000000000..0d23d027f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy8.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0menuItem-legacy.js","./087AC4D233B64EB0asyncSubmenu-legacy.js","./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy29.js","./087AC4D233B64EB0index-legacy30.js"],(function(e,n){"use strict";var t,r,u,l,o,i,c,f,s,a,d,B;return{setters:[function(e){t=e.default},function(e){r=e.default},function(e){u=e.C,l=e.N,o=e.o,i=e.h,c=e.w,f=e.c,s=e.K,a=e.L,d=e.f,B=e.G},null,null,null,null,null,null,null],execute:function(){e("default",Object.assign({name:"AsideComponent"},{__name:"index",props:{routerInfo:{type:Object,default:function(){return null}},isCollapse:{default:function(){return!1},type:Boolean},theme:{default:function(){return{}},type:Object}},setup:function(e){var n=e,p=u((function(){return n.routerInfo.children&&n.routerInfo.children.filter((function(e){return!e.hidden})).length?r:t}));return function(n,t){var r=l("AsideComponent");return e.routerInfo.hidden?d("",!0):(o(),i(B(p.value),{key:0,"is-collapse":e.isCollapse,theme:e.theme,"router-info":e.routerInfo},{default:c((function(){return[e.routerInfo.children&&e.routerInfo.children.length?(o(!0),f(s,{key:0},a(e.routerInfo.children,(function(n){return o(),i(r,{key:n.name,"is-collapse":!1,"router-info":n,theme:e.theme},null,8,["router-info","theme"])})),128)):d("",!0)]})),_:1},8,["is-collapse","theme","router-info"]))}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy9.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy9.js new file mode 100644 index 000000000..61e09be12 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index-legacy9.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0index-legacy8.js","./087AC4D233B64EB0index-legacy29.js","./087AC4D233B64EB0menuItem-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0asyncSubmenu-legacy.js","./087AC4D233B64EB0index-legacy30.js"],(function(e,n){"use strict";var l,t,i,o,a,r,u,m,c,s,d,v,p,b,h,g,f,x,_,y,z,w;return{setters:[function(e){l=e.an,t=e.u,i=e.l,o=e.a0,a=e.a,r=e.X,u=e.R,m=e.aA,c=e.o,s=e.c,d=e.e,v=e.w,p=e.Z,b=e.K,h=e.L,g=e.D,f=e.h,x=e.f,_=e.F},function(e){y=e.E},null,null,function(e){z=e.default},function(e){w=e.E},null,null,null,null,null,null],execute:function(){var n=document.createElement("style");n.textContent=".fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}:root{--el-menu-active-color: var(--el-color-primary);--el-menu-text-color: var(--el-text-color-primary);--el-menu-hover-text-color: var(--el-color-primary);--el-menu-bg-color: var(--el-fill-color-blank);--el-menu-hover-bg-color: var(--el-color-primary-light-9);--el-menu-item-height: 56px;--el-menu-sub-item-height: calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height: 60px;--el-menu-horizontal-sub-item-height: 36px;--el-menu-item-font-size: var(--el-font-size-base);--el-menu-item-hover-fill: var(--el-color-primary-light-9);--el-menu-border-color: var(--el-border-color);--el-menu-base-level-padding: 20px;--el-menu-level-padding: 20px;--el-menu-icon-width: 24px}.el-menu{border-right:solid 1px var(--el-menu-border-color);list-style:none;position:relative;margin:0;padding-left:0;background-color:var(--el-menu-bg-color);box-sizing:border-box}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title{white-space:nowrap;padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level) * var(--el-menu-level-padding))}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{display:flex;flex-wrap:nowrap;border-right:none;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:solid 1px var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{display:inline-flex;justify-content:center;align-items:center;height:100%;margin:0;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);display:flex;align-items:center;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px;color:var(--el-menu-text-color)}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):hover,.el-menu--horizontal .el-menu-item:not(.is-disabled):focus{outline:none;color:var(--el-menu-hover-text-color);background-color:var(--el-menu-hover-bg-color)}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding) * 2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;vertical-align:middle;width:var(--el-menu-icon-width);text-align:center}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light)}.el-menu .el-icon{flex-shrink:0}.el-menu-item{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:hover,.el-menu-item:focus{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-menu-item [class^=el-icon]{margin-right:5px;width:var(--el-menu-icon-width);text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{position:absolute;left:0;top:0;height:100%;width:100%;display:inline-flex;align-items:center;box-sizing:border-box;padding:0 var(--el-menu-base-level-padding)}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:hover,.el-sub-menu__title:focus{outline:none}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-sub-menu__title,.el-sub-menu.is-disabled .el-menu-item{opacity:.25;cursor:not-allowed;background:none!important}.el-sub-menu .el-icon{vertical-align:middle;margin-right:5px;width:var(--el-menu-icon-width);text-align:center;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{position:absolute;top:50%;right:var(--el-menu-base-level-padding);margin-top:-6px;transition:transform var(--el-transition-duration);font-size:12px;margin-right:0;width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px var(--el-menu-base-level-padding);line-height:normal;font-size:12px;color:var(--el-text-color-secondary)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-sub-menu__title:hover,.el-menu-item:hover{background:transparent}.el-scrollbar .el-scrollbar__view{height:100%}.menu-info .menu-contorl{line-height:52px;font-size:20px;display:table-cell;vertical-align:middle}\n",document.head.appendChild(n),e("default",Object.assign({name:"Aside"},{__name:"index",setup:function(e){var n=l(),k=t(),B=i(),E=o(),j=a({}),A=function(){switch(B.sideMode){case"#fff":j.value={background:"#fff",activeBackground:"var(--el-color-primary)",activeText:"#fff",normalText:"#333",hoverBackground:"rgba(64, 158, 255, 0.08)",hoverText:"#333"};break;case"#191a23":j.value={background:"#191a23",activeBackground:"var(--el-color-primary)",activeText:"#fff",normalText:"#fff",hoverBackground:"rgba(64, 158, 255, 0.08)",hoverText:"#fff"}}};A();var C=a("");r((function(){return n}),(function(){C.value=n.meta.activeName||n.name}),{deep:!0}),r((function(){return B.sideMode}),(function(){A()}));var D=a(!1);C.value=n.meta.activeName||n.name,document.body.clientWidth<1e3&&(D.value=!D.value),m.on("collapse",(function(e){D.value=e})),u((function(){m.off("collapse")}));var T=function(e,l,t,i){var o,a,r={},u={};(null===(o=E.routeMap[e])||void 0===o?void 0:o.parameters)&&(null===(a=E.routeMap[e])||void 0===a||a.parameters.forEach((function(e){"query"===e.type?r[e.key]=e.value:u[e.key]=e.value}))),e!==n.name&&(e.indexOf("http://")>-1||e.indexOf("https://")>-1?window.open(e):k.push({name:e,query:r,params:u}))};return function(e,n){var l=w,t=y;return c(),s("div",{style:_({background:g(B).sideMode})},[d(t,{style:{height:"calc(100vh - 60px)"}},{default:v((function(){return[d(p,{duration:{enter:800,leave:100},mode:"out-in",name:"el-fade-in-linear"},{default:v((function(){return[d(l,{collapse:D.value,"collapse-transition":!1,"default-active":C.value,"background-color":j.value.background,"active-text-color":j.value.active,class:"el-menu-vertical","unique-opened":"",onSelect:T},{default:v((function(){return[(c(!0),s(b,null,h(g(E).asyncRouters[0].children,(function(e){return c(),s(b,null,[e.hidden?x("",!0):(c(),f(z,{key:e.name,"is-collapse":D.value,"router-info":e,theme:j.value},null,8,["is-collapse","router-info","theme"]))],64)})),256))]})),_:1},8,["collapse","default-active","background-color","active-text-color"])]})),_:1})]})),_:1})],4)}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index.css new file mode 100644 index 000000000..9e87af6cc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +@charset "UTF-8";:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(121.3,187.1,255);--el-color-primary-light-5:rgb(159.5,206.5,255);--el-color-primary-light-7:rgb(197.7,225.9,255);--el-color-primary-light-8:rgb(216.8,235.6,255);--el-color-primary-light-9:rgb(235.9,245.3,255);--el-color-primary-dark-2:rgb(51.2,126.4,204);--el-color-success:#67c23a;--el-color-success-light-3:rgb(148.6,212.3,117.1);--el-color-success-light-5:rgb(179,224.5,156.5);--el-color-success-light-7:rgb(209.4,236.7,195.9);--el-color-success-light-8:rgb(224.6,242.8,215.6);--el-color-success-light-9:rgb(239.8,248.9,235.3);--el-color-success-dark-2:rgb(82.4,155.2,46.4);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(237.5,189.9,118.5);--el-color-warning-light-5:rgb(242.5,208.5,157.5);--el-color-warning-light-7:rgb(247.5,227.1,196.5);--el-color-warning-light-8:rgb(250,236.4,216);--el-color-warning-light-9:rgb(252.5,245.7,235.5);--el-color-warning-dark-2:rgb(184,129.6,48);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(248,152.1,152.1);--el-color-danger-light-5:rgb(250,181.5,181.5);--el-color-danger-light-7:rgb(252,210.9,210.9);--el-color-danger-light-8:rgb(253,225.6,225.6);--el-color-danger-light-9:rgb(254,240.3,240.3);--el-color-danger-dark-2:rgb(196,86.4,86.4);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(248,152.1,152.1);--el-color-error-light-5:rgb(250,181.5,181.5);--el-color-error-light-7:rgb(252,210.9,210.9);--el-color-error-light-8:rgb(253,225.6,225.6);--el-color-error-light-9:rgb(254,240.3,240.3);--el-color-error-dark-2:rgb(196,86.4,86.4);--el-color-info:#909399;--el-color-info-light-3:rgb(177.3,179.4,183.6);--el-color-info-light-5:rgb(199.5,201,204);--el-color-info-light-7:rgb(221.7,222.6,224.4);--el-color-info-light-8:rgb(232.8,233.4,234.6);--el-color-info-light-9:rgb(243.9,244.2,244.8);--el-color-info-dark-2:rgb(115.2,117.6,122.4);--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;display:inline-flex;height:1em;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content.is-hide-zero{display:none}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;left:50%;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;top:20px;transform:translate(-50%);transition:opacity var(--el-transition-duration),transform .4s,top .4s;width:fit-content}.el-message.is-center{justify-content:center}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{background-color:var(--el-mask-color);bottom:0;left:0;margin:0;position:absolute;right:0;top:0;transition:opacity var(--el-transition-duration);z-index:2000}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:700;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.el-overlay.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-color-info);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}@font-face{font-family:gvaIcon;src:url(data:font/ttf;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTZJUyU8AAA14AAAAHEdERUYAKQARAAANWAAAAB5PUy8yPJpJTAAAAVgAAABgY21hcM0T0L4AAAHYAAABWmdhc3D//wADAAANUAAAAAhnbHlmRk3UvwAAA0wAAAbYaGVhZB/a5jgAAADcAAAANmhoZWEHngOFAAABFAAAACRobXR4DaoBrAAAAbgAAAAebG9jYQbMCGgAAAM0AAAAGG1heHABGgB+AAABOAAAACBuYW1lXoIBAgAACiQAAAKCcG9zdN15OnUAAAyoAAAAqAABAAAAAQAA+a916l8PPPUACwQAAAAAAN5YUSMAAAAA3lhRIwBL/8ADwAM1AAAACAACAAAAAAAAAAEAAAOA/4AAXAQAAAAAAAPAAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAALAHIABQAAAAAAAgAAAAoACgAAAP8AAAAAAAAABAQAAZAABQAAAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZADA5mXmfQOA/4AAAAPcAIAAAAABAAAAAAAAAAAAAAAgAAEEAAAAAAAAAAQAAAAEAACLAIoAYAB1AHYASwBLAGAAAAAAAAMAAAADAAAAHAABAAAAAABUAAMAAQAAABwABAA4AAAACgAIAAIAAuZm5mrmduZ9//8AAOZl5mrmdeZ7//8ZnhmbGZEZjQABAAAAAAAAAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEYAigEcAbgCUAK6AxoDbAACAIsAIANsAswAEQAjAAAlIicBJjQ3ATYeAQYHCQEeAQYhIicBJjQ3ATYeAQYHCQEeAQYDSw0J/qsLCwFVChsSAgr+xAE8CgIV/qkNCP6qCgoBVgkbEgIK/sUBOwoCFCAJATULGQsBNQoCExwI/uL+4ggbFAkBNQsZCwE1CgITHAj+4v7iCRoUAAAAAAIAigAgA2sCzAARACIAAAE0JwEmDgEWFwkBDgEWMjcBNiUBJg4BFhcJAQ4BFjI3ATY0AiAL/qsJHBECCQE8/sQJAhQZCQFVCwFA/qsKGxICCgE8/sQKAhUZCQFVCwF1DQsBNQoCExwI/uL+4gkaFAkBNQskATUKAhMcCP7i/uIJGhQJATULGQADAGD/wAOgAzUATABcAGwAAAE1NCcmJyYiBwYHBh0BDgEdARQWOwEyNj0BNCYrATU0NzY3NjIXFhcWHQEjIgYdARQWOwEGBwYHLgEjIgYUFjMyNjc2NzY3PgE9ATQmBRUUBisBIiY9ATQ2OwEyFgUUBisBIiY9ATQ2OwEyFhUDYDAvT1O+U08vMBslLB9VHi0tHiAoJkFDnENBJiggHi0tHhUPJC5SChwRHCQkHBEeCHJAMxAfKiX9kAYFVQUGBgVVBQYCVQYFVQUGBgVVBQYByQxgUlAuMDAuUFJgDAQqG6seLCweqx4tCk5DQScnJydBQ04KLR6rHiwrGiAGDxElNiUSEAc1KkUBKx6rGyhFqwQGBgSrBQYGsAQGBgSrBQYGBQAABAB1//UDjQMLABsANwBSAHEAABMyNj0BFxYyNjQvATMyNjQmKwEiBwYHBh0BFBYFIgYdAScmIgYUHwEjIgYUFjsBMjc2NzY9ATYmJQc1NCYiBh0BFBcWFxY7ATI2NCYrATc2NCYGATQ1FSYnJisBIgYUFjsBBwYUFjI/ARUUFjI2PQEnJpUNE7wJHRMKvIcMFBQM1ggCDAgCFALiDRPJCRoTCcmJDBQUDNYIAg8CAwES/gbJExkUAggKBAbWDBQUDInJCRMXAgEHCwQG2AwUFAyJvAkSHgi8ExoTAgEB9RQMibwIEhkKvBMZFAIGDAQI1gwU6hQMickJExoJyRMZFAIICgQG2AwUIsmHDBQUDNYIAg8CAxQZE8kKGRMBAcABAQIOAwMUGRO8ChkTCbyHDBQUDNYFBAAABAB2//cDjgMMABoANQBRAG0AAAEjIgYUFjsBMjc2NzY9ATQmIgYdAScmIgYUFwEzMjY0JisBIgcGBwYdARQWMjY9ARcWMjY0JyUmJyYrASIGFBY7AQcGFBYyPwEVFBYyNj0BLgE3FhcWOwEyNjQmKwE3NjQmIg8BNTQmIgYdAR4BATqJDRMTDdUJAg8CAhMaE7cKGRQKAjeJDRMTDdUJAg8CAhMaE8gJHhIK/i8HCgQH1w0TEw2JyQoTHQnIFBkTAQKoBwoEBtYNExMNibwKFBkKvBMZFAICAhoUGRMCBwoEBtYNExMNib4KExoK/iAUGRMCBwoEB9UNExMNickIEhkK8w8CAhMZFMgKGRMJyYkNExMN1QIJzQ8CAhMZFLsKGhMKvIkNExMN1QMIAAAAAAUAS//LA7UDNQAUACkAKgA3AEQAAAEiBwYHBhQXFhcWMjc2NzY0JyYnJgMiJyYnJjQ3Njc2MhcWFxYUBwYHBgMjFB4BMj4BNC4BIg4BFyIGHQEUFjI2PQE0JgIAd2ZiOzs7O2Jm7mZiOzs7O2Jmd2VXVDIzMzJUV8pXVDIzMzJUV2UrDBQWFAwMFBYUDCsNExMaExMDNTs7YmbuZmI7Ozs7YmbuZmI7O/zWMzJUV8pXVDIzMzJUV8pXVDIzAjULFAwMFBYUDAwUgBQM6w0TEw3rDBQAAQBL/+ADwAMgAD0AAAEmBg8BLgEjIgcGBwYUFxYXFjMyPgE3Ni4BBgcOAiMiJyYnJjQ3Njc2MzIeARcnJg4BFh8BMj8BNj8BNCYDpgwXAxc5yXZyY184Ojo4X2NyWaB4HgULGhcFGWaJS2FUUTAwMTBRU2FIhGQbgA0WBw4NwgUIBAwDMQ0CsQMODFhmeDk3XmHiYV43OUV9UQ0XCQsMRWo6MC9PUr9TTy8wNmNBJQMOGhYDMwMBCAu6DRYAAAAAAgBg/8YDugMiAB4AMwAABSc+ATU0JyYnJiIHBgcGFBcWFxYzMjc2NxcWMjc2JiUiJyYnJjQ3Njc2MhcWFxYUBwYHBgOxviouNDFVV8lXVTIzMzJVV2RDPzwzvgkeCAcB/hxUSEYpKiopRkioSEYpKyspRkgCvjB9RGRYVDIzNDJVWMlXVTE0GBYqvgkJChuBKylGSKhIRikqKilGSKhIRikrAAAAABIA3gABAAAAAAAAABMAKAABAAAAAAABAAgATgABAAAAAAACAAcAZwABAAAAAAADAAgAgQABAAAAAAAEAAgAnAABAAAAAAAFAAsAvQABAAAAAAAGAAgA2wABAAAAAAAKACsBPAABAAAAAAALABMBkAADAAEECQAAACYAAAADAAEECQABABAAPAADAAEECQACAA4AVwADAAEECQADABAAbwADAAEECQAEABAAigADAAEECQAFABYApQADAAEECQAGABAAyQADAAEECQAKAFYA5AADAAEECQALACYBaABDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AABDcmVhdGVkIGJ5IGljb25mb250AABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAABHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuAABoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAABodHRwOi8vZm9udGVsbG8uY29tAAAAAAIAAAAAAAAACgAAAAAAAQAAAAAAAAAAAAAAAAAAAAAACwAAAAEAAgECAQMBBAEFAQYBBwEIAQkRYXJyb3ctZG91YmxlLWxlZnQSYXJyb3ctZG91YmxlLXJpZ2h0EGN1c3RvbWVyLXNlcnZpY2URZnVsbHNjcmVlbi1leHBhbmQRZnVsbHNjcmVlbi1zaHJpbmsGcHJvbXB0B3JlZnJlc2gGc2VhcmNoAAAAAf//AAIAAQAAAAwAAAAWAAAAAgABAAMACgABAAQAAAACAAAAAAAAAAEAAAAA1aQnCAAAAADeWFEjAAAAAN5YUSM=) format("truetype");font-weight:600;font-style:normal;font-display:swap}.gvaIcon{font-family:gvaIcon!important;font-size:16px;font-style:normal;font-weight:800;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gvaIcon-arrow-double-left:before{content:""}.gvaIcon-arrow-double-right:before{content:""}.gvaIcon-fullscreen-shrink:before{content:""}.gvaIcon-customer-service:before{content:""}.gvaIcon-fullscreen-expand:before{content:""}.gvaIcon-prompt:before{content:""}.gvaIcon-refresh:before{content:""}.gvaIcon-search:before{content:""}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}HTML,body,div,ul,ol,dl,li,dt,dd,p,blockquote,pre,form,fieldset,table,th,td{border:none;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;font-size:14px;margin:0;padding:0}html,body{height:100%;width:100%}address,caption,cite,code,th,var{font-style:normal;font-weight:400}a{text-decoration:none}input::-ms-clear{display:none}input::-ms-reveal{display:none}input{-webkit-appearance:none;margin:0;outline:none;padding:0}input::-webkit-input-placeholder{color:#ccc}input::-ms-input-placeholder{color:#ccc}input::-moz-placeholder{color:#ccc}input[type=submit],input[type=button]{cursor:pointer}button[disabled],input[disabled]{cursor:default}img{border:none}ul,ol,li{list-style-type:none}#app .el-container{position:relative;height:100%;width:100%}#app .el-container.mobile.openside{position:fixed;top:0}#app .gva-aside{position:fixed;top:0;left:0;z-index:1001;overflow:hidden}#app .gva-aside .el-menu{border-right-width:0px}#app .aside .el-menu--collapse>.el-menu-item{display:flex;justify-content:center}#app .aside .el-sub-menu .el-menu .is-active ul,#app .aside .el-sub-menu .el-menu .is-active.is-opened ul{border:none}#app .hideside .aside,#app .mobile .gva-aside{width:54px}#app .hideside .main-cont.el-main{margin-left:54px}#app .mobile .main-cont.el-main{margin-left:0}.admin-box{margin:7rem .25rem 1rem;min-height:calc(100vh - 200px);padding:1rem .75rem}.admin-box .el-table th{padding-left:0;padding-right:0;padding-top:.5rem;padding-bottom:.5rem}.admin-box .el-table th .cell{line-height:40px;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.admin-box .el-table td{padding-left:0;padding-right:0;padding-top:.5rem;padding-bottom:.5rem}.admin-box .el-table td .cell{line-height:40px;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.admin-box .el-table .is-leaf{border-bottom-width:1px;border-top-width:0px;border-left-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity));border-right:var(--el-table-border);background:#F7FBFF!important}.el-pagination{margin-top:2rem}.el-pagination .btn-prev,.el-pagination .btn-next{border-radius:.25rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.el-pagination .el-pager li{margin-left:.25rem;margin-right:.25rem;border-radius:.25rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.el-container.layout-cont .header-cont{height:4rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-left:1rem;padding-right:1rem}.el-container.layout-cont .main-cont{height:100vh;overflow:visible}.el-container.layout-cont .main-cont.el-main{margin-left:220px;min-height:100%;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity));padding:0}.el-container.layout-cont .main-cont .breadcrumb{margin-left:3rem;display:flex;height:4rem;align-items:center;padding:0;font-size:1.125rem;line-height:1.75rem}.el-container.layout-cont .main-cont .breadcrumb .el-breadcrumb__item .el-breadcrumb__inner{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.el-container.layout-cont .main-cont .breadcrumb .el-breadcrumb__item:nth-last-child(1) .el-breadcrumb__inner{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.el-container.layout-cont .main-cont .router-history{border-top-width:1px;border-left-width:0px;border-right-width:0px;border-bottom-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:0}.el-container.layout-cont .main-cont .router-history .el-tabs__header{margin:0}.el-container.layout-cont .main-cont .router-history .el-tabs__header .el-tabs__item{border-right-width:1px;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.el-container.layout-cont .main-cont .router-history .el-tabs__header .el-tabs__item.is-active{background-color:rgb(59 130 246 / var(--tw-bg-opacity));--tw-bg-opacity: .05}.el-container.layout-cont .main-cont .router-history .el-tabs__header .el-tabs__nav{border-width:0px}.el-container.layout-cont .main-cont .aside{overflow:auto}.el-container.layout-cont .main-cont .el-menu-vertical{height:calc(100vh - 60px)}.el-container.layout-cont .main-cont .el-menu-vertical:not(.el-menu--collapse){width:220px}.el-container.layout-cont .main-cont .el-menu--collapse{width:54px}.el-container.layout-cont .main-cont .el-menu--collapse li .el-tooltip,.el-container.layout-cont .main-cont .el-menu--collapse li .el-sub-menu__title{padding-left:1rem;padding-right:1rem}.el-dropdown{overflow:hidden}.gva-table-box{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem}.gva-btn-list{margin-bottom:.75rem;display:flex;align-items:center;gap:.75rem}#nprogress .bar{background:#29d!important}#app .el-button{font-weight:400;border-radius:2px}::-webkit-scrollbar{display:none}.gva-search-box{margin-bottom:.75rem;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem 1.5rem .125rem}.gva-form-box{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem}.gva-pagination{display:flex;justify-content:flex-end}.gva-pagination .el-pagination__editor .el-input__inner{height:2rem}.gva-pagination .is-active{border-radius:.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));background:var(--el-color-primary);color:#fff!important}:root{--el-color-white: #ffffff;--el-color-black: #000000;--el-color-primary-rgb: 77, 112, 255;--el-color-success-rgb: 103, 194, 58;--el-color-warning-rgb: 230, 162, 60;--el-color-danger-rgb: 245, 108, 108;--el-color-error-rgb: 245, 108, 108;--el-color-info-rgb: 144, 147, 153;--el-font-size-extra-large: 20px;--el-font-size-large: 18px;--el-font-size-medium: 16px;--el-font-size-base: 14px;--el-font-size-small: 13px;--el-font-size-extra-small: 12px;--el-font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;--el-font-weight-primary: 500;--el-font-line-height-primary: 24px;--el-index-normal: 1;--el-index-top: 1000;--el-index-popper: 2000;--el-border-radius-base: 4px;--el-border-radius-small: 2px;--el-border-radius-round: 20px;--el-border-radius-circle: 100%;--el-transition-duration: .3s;--el-transition-duration-fast: .2s;--el-transition-function-ease-in-out-bezier: cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier: cubic-bezier(.23, 1, .32, 1);--el-transition-all: all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade: opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade: transform var(--el-transition-duration) var(--el-transition-function-fast-bezier), opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear: opacity var(--el-transition-duration-fast) linear;--el-transition-border: border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow: box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color: color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large: 40px;--el-component-size: 32px;--el-component-size-small: 24px;color-scheme:light;--el-color-primary: #4d70ff;--el-color-primary-light-3: rgb(130.4, 154.9, 255);--el-color-primary-light-5: rgb(166, 183.5, 255);--el-color-primary-light-7: rgb(201.6, 212.1, 255);--el-color-primary-light-8: rgb(219.4, 226.4, 255);--el-color-primary-light-9: rgb(237.2, 240.7, 255);--el-color-primary-dark-2: rgb(61.6, 89.6, 204);--el-color-success: #67c23a;--el-color-success-light-3: rgb(148.6, 212.3, 117.1);--el-color-success-light-5: rgb(179, 224.5, 156.5);--el-color-success-light-7: rgb(209.4, 236.7, 195.9);--el-color-success-light-8: rgb(224.6, 242.8, 215.6);--el-color-success-light-9: rgb(239.8, 248.9, 235.3);--el-color-success-dark-2: rgb(82.4, 155.2, 46.4);--el-color-warning: #e6a23c;--el-color-warning-light-3: rgb(237.5, 189.9, 118.5);--el-color-warning-light-5: rgb(242.5, 208.5, 157.5);--el-color-warning-light-7: rgb(247.5, 227.1, 196.5);--el-color-warning-light-8: rgb(250, 236.4, 216);--el-color-warning-light-9: rgb(252.5, 245.7, 235.5);--el-color-warning-dark-2: rgb(184, 129.6, 48);--el-color-danger: #f56c6c;--el-color-danger-light-3: rgb(248, 152.1, 152.1);--el-color-danger-light-5: rgb(250, 181.5, 181.5);--el-color-danger-light-7: rgb(252, 210.9, 210.9);--el-color-danger-light-8: rgb(253, 225.6, 225.6);--el-color-danger-light-9: rgb(254, 240.3, 240.3);--el-color-danger-dark-2: rgb(196, 86.4, 86.4);--el-color-error: #f56c6c;--el-color-error-light-3: rgb(248, 152.1, 152.1);--el-color-error-light-5: rgb(250, 181.5, 181.5);--el-color-error-light-7: rgb(252, 210.9, 210.9);--el-color-error-light-8: rgb(253, 225.6, 225.6);--el-color-error-light-9: rgb(254, 240.3, 240.3);--el-color-error-dark-2: rgb(196, 86.4, 86.4);--el-color-info: #909399;--el-color-info-light-3: rgb(177.3, 179.4, 183.6);--el-color-info-light-5: rgb(199.5, 201, 204);--el-color-info-light-7: rgb(221.7, 222.6, 224.4);--el-color-info-light-8: rgb(232.8, 233.4, 234.6);--el-color-info-light-9: rgb(243.9, 244.2, 244.8);--el-color-info-dark-2: rgb(115.2, 117.6, 122.4);--el-bg-color: #ffffff;--el-bg-color-page: #f2f3f5;--el-bg-color-overlay: #ffffff;--el-text-color-primary: #303133;--el-text-color-regular: #606266;--el-text-color-secondary: #909399;--el-text-color-placeholder: #a8abb2;--el-text-color-disabled: #c0c4cc;--el-border-color: #dcdfe6;--el-border-color-light: #e4e7ed;--el-border-color-lighter: #ebeef5;--el-border-color-extra-light: #f2f6fc;--el-border-color-dark: #d4d7de;--el-border-color-darker: #cdd0d6;--el-fill-color: #f0f2f5;--el-fill-color-light: #f5f7fa;--el-fill-color-lighter: #fafafa;--el-fill-color-extra-light: #fafcff;--el-fill-color-dark: #ebedf0;--el-fill-color-darker: #e6e8eb;--el-fill-color-blank: #ffffff;--el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .08), 0px 12px 32px rgba(0, 0, 0, .12), 0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color: var(--el-fill-color-light);--el-disabled-text-color: var(--el-text-color-placeholder);--el-disabled-border-color: var(--el-border-color-light);--el-overlay-color: rgba(0, 0, 0, .8);--el-overlay-color-light: rgba(0, 0, 0, .7);--el-overlay-color-lighter: rgba(0, 0, 0, .5);--el-mask-color: rgba(255, 255, 255, .9);--el-mask-color-extra-light: rgba(255, 255, 255, .3);--el-border-width: 1px;--el-border-style: solid;--el-border-color-hover: var(--el-text-color-disabled);--el-border: var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey: var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color: inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}*,: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: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible!important}.collapse{visibility:collapse!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.bottom-3{bottom:.75rem!important}.left-0{left:0!important}.right-0{right:0!important}.top-0{top:0!important}.top-0\.5{top:.125rem!important}.z-10{z-index:10!important}.z-20{z-index:20!important}.z-50{z-index:50!important}.z-\[1001\]{z-index:1001!important}.z-\[999\]{z-index:999!important}.col-span-3{grid-column:span 3 / span 3!important}.col-span-9{grid-column:span 9 / span 9!important}.float-right{float:right!important}.float-left{float:left!important}.clear-both{clear:both!important}.mx-0{margin-left:0!important;margin-right:0!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-2\.5{margin-top:.625rem!important;margin-bottom:.625rem!important}.my-4{margin-top:1rem!important;margin-bottom:1rem!important}.my-8{margin-top:2rem!important;margin-bottom:2rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.-ml-52{margin-left:-13rem!important}.-ml-80{margin-left:-20rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:.75rem!important}.mb-4{margin-bottom:1rem!important}.mb-6{margin-bottom:1.5rem!important}.mb-9{margin-bottom:2.25rem!important}.ml-2{margin-left:.5rem!important}.ml-3{margin-left:.75rem!important}.mr-1\.5{margin-right:.375rem!important}.mr-2{margin-right:.5rem!important}.mr-5{margin-right:1.25rem!important}.mt-0\.5{margin-top:.125rem!important}.mt-2{margin-top:.5rem!important}.mt-2\.5{margin-top:.625rem!important}.mt-20{margin-top:5rem!important}.mt-3{margin-top:.75rem!important}.mt-4{margin-top:1rem!important}.mt-8{margin-top:2rem!important}.box-border{box-sizing:border-box!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.grid{display:grid!important}.list-item{display:list-item!important}.hidden{display:none!important}.h-11{height:2.75rem!important}.h-16{height:4rem!important}.h-52{height:13rem!important}.h-72{height:18rem!important}.h-8{height:2rem!important}.h-80{height:20rem!important}.h-9{height:2.25rem!important}.h-\[130\%\]{height:130%!important}.h-\[50vh\]{height:50vh!important}.h-auto{height:auto!important}.h-full{height:100%!important}.h-screen{height:100vh!important}.min-h-\[60px\]{min-height:60px!important}.w-1\/2{width:50%!important}.w-1\/3{width:33.333333%!important}.w-10\/12{width:83.333333%!important}.w-16{width:4rem!important}.w-24{width:6rem!important}.w-3\/5{width:60%!important}.w-52{width:13rem!important}.w-64{width:16rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-96{width:24rem!important}.w-\[500px\]{width:500px!important}.w-\[680px\]{width:680px!important}.w-full{width:100%!important}.max-w-\[160px\]{max-width:160px!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.-rotate-12{--tw-rotate: -12deg !important;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))!important}.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))!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-center{align-items:center!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.justify-evenly{justify-content:space-evenly!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-4{gap:1rem!important}.gap-5{gap:1.25rem!important}.overflow-hidden{overflow:hidden!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-scroll{overflow-y:scroll!important}.truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded{border-radius:.25rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-xl{border-radius:.75rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-b-2{border-bottom-width:2px!important}.border-l-0{border-left-width:0px!important}.border-r-0{border-right-width:0px!important}.border-t-0{border-top-width:0px!important}.border-solid{border-style:solid!important}.border-gray-100{--tw-border-opacity: 1 !important;border-color:rgb(243 244 246 / var(--tw-border-opacity))!important}.border-gray-200{--tw-border-opacity: 1 !important;border-color:rgb(229 231 235 / var(--tw-border-opacity))!important}.border-gray-300{--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.bg-\[\#194bfb\]{--tw-bg-opacity: 1 !important;background-color:rgb(25 75 251 / var(--tw-bg-opacity))!important}.bg-\[\#c3d4f2\]{--tw-bg-opacity: 1 !important;background-color:rgb(195 212 242 / var(--tw-bg-opacity))!important}.bg-amber-50{--tw-bg-opacity: 1 !important;background-color:rgb(255 251 235 / var(--tw-bg-opacity))!important}.bg-black{--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.bg-gray-50{--tw-bg-opacity: 1 !important;background-color:rgb(249 250 251 / var(--tw-bg-opacity))!important}.bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2\.5{padding:.625rem!important}.p-4{padding:1rem!important}.p-5{padding:1.25rem!important}.p-9{padding:2.25rem!important}.px-1\.5{padding-left:.375rem!important;padding-right:.375rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.py-4{padding-top:1rem!important;padding-bottom:1rem!important}.py-6{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-8{padding-top:2rem!important;padding-bottom:2rem!important}.pb-10{padding-bottom:2.5rem!important}.pb-2\.5{padding-bottom:.625rem!important}.pb-5{padding-bottom:1.25rem!important}.pl-3{padding-left:.75rem!important}.pt-12{padding-top:3rem!important}.pt-2\.5{padding-top:.625rem!important}.pt-4{padding-top:1rem!important}.text-left{text-align:left!important}.text-center{text-align:center!important}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-bold{font-weight:700!important}.font-normal{font-weight:400!important}.italic{font-style:italic!important}.leading-5{line-height:1.25rem!important}.text-amber-500{--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}.text-black{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.text-blue-400{--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}.text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.text-blue-600{--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}.text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.text-gray-500{--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}.text-gray-600{--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}.text-gray-700{--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}.text-gray-800{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.text-red-600{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.antialiased{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}.opacity-30{opacity:.3!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-blue-600{--tw-shadow-color: #2563eb !important;--tw-shadow: var(--tw-shadow-colored) !important}.outline{outline-style:solid!important}.blur{--tw-blur: blur(8px) !important;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)!important}.grayscale{--tw-grayscale: grayscale(100%) !important;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)!important}.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)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-100{transition-duration:.1s!important}.duration-300{transition-duration:.3s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}#app{background:#eee;height:100vh;overflow:hidden;font-weight:400!important}.el-button{font-weight:400!important}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1 !important;background-color:rgb(239 246 255 / var(--tw-bg-opacity))!important}.hover\:text-gray-800:hover{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.group:hover .group-hover\:text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.group:hover .group-hover\:text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}@media (min-width: 768px){.md\:block{display:block!important}.md\:flex{display:flex!important}.md\:h-screen{height:100vh!important}.md\:w-3\/5{width:60%!important}.md\:w-96{width:24rem!important}.md\:w-screen{width:100vw!important}.md\:bg-\[\#194bfb\]{--tw-bg-opacity: 1 !important;background-color:rgb(25 75 251 / var(--tw-bg-opacity))!important}}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index.js new file mode 100644 index 000000000..56859c91d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index.js @@ -0,0 +1,40 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +function e(){import.meta.url,import("_").catch((()=>1))}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}(); +/** +* @vue/shared v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +/*! #__NO_SIDE_EFFECTS__ */ +function t(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const n={},o=[],r=()=>{},a=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),i=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,p=(e,t)=>u.call(e,t),d=Array.isArray,h=e=>"[object Map]"===x(e),f=e=>"[object Set]"===x(e),m=e=>"[object Date]"===x(e),v=e=>"function"==typeof e,g=e=>"string"==typeof e,w=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,b=e=>(y(e)||v(e))&&v(e.then)&&v(e.catch),_=Object.prototype.toString,x=e=>_.call(e),C=e=>x(e).slice(8,-1),M=e=>"[object Object]"===x(e),E=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),z=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},S=/-(\w)/g,B=z((e=>e.replace(S,((e,t)=>t?t.toUpperCase():"")))),L=/\B([A-Z])/g,V=z((e=>e.replace(L,"-$1").toLowerCase())),H=z((e=>e.charAt(0).toUpperCase()+e.slice(1))),k=z((e=>e?"on".concat(H(e)):"")),O=(e,t)=>!Object.is(e,t),T=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},P=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let D;const I=()=>D||(D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function F(e){if(d(e)){const t={};for(let n=0;n{if(e){const n=e.split(N);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function $(e){let t="";if(g(e))t=e;else if(d(e))for(let n=0;nJ(e,t)))}const Z=e=>!(!e||!0!==e.__v_isRef),Q=e=>g(e)?e:null==e?"":d(e)||y(e)&&(e.toString===_||!v(e.toString))?Z(e)?Q(e.value):JSON.stringify(e,X,2):String(e),X=(e,t)=>Z(t)?X(e,t.value):h(t)?{["Map(".concat(t.size,")")]:[...t.entries()].reduce(((e,[t,n],o)=>(e[ee(t,o)+" =>"]=n,e)),{})}:f(t)?{["Set(".concat(t.size,")")]:[...t.values()].map((e=>ee(e)))}:w(t)?ee(t):!y(t)||d(t)||M(t)?t:String(t),ee=(e,t="")=>{var n;return w(e)?"Symbol(".concat(null!=(n=e.description)?n:t,")"):e}; +/** +* @vue/reactivity v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +let te,ne;class oe{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=te,!e&&te&&(this.index=(te.scopes||(te.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0)return;if(ue){let e=ue;for(ue=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ce;){let n=ce;for(ce=void 0;n;){const o=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=o}}if(e)throw e}function me(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ve(e){let t,n=e.depsTail,o=n;for(;o;){const e=o.prevDep;-1===o.version?(o===n&&(n=e),ye(o),be(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=e}e.deps=t,e.depsTail=n}function ge(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(we(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function we(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Ae)return;e.globalVersion=Ae;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ge(e))return void(e.flags&=-3);const n=ne,o=_e;ne=e,_e=!0;try{me(e);const n=e.fn(e._value);(0===t.version||O(n,e._value))&&(e._value=n,t.version++)}catch(r){throw t.version++,r}finally{ne=n,_e=o,ve(e),e.flags&=-3}}function ye(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)ye(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function be(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let _e=!0;const xe=[];function Ce(){xe.push(_e),_e=!1}function Me(){const e=xe.pop();_e=void 0===e||e}function Ee(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=ne;ne=void 0;try{t()}finally{ne=e}}}let Ae=0;class ze{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Se{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!ne||!_e||ne===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==ne)t=this.activeLink=new ze(ne,this),ne.deps?(t.prevDep=ne.depsTail,ne.depsTail.nextDep=t,ne.depsTail=t):ne.deps=ne.depsTail=t,Be(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=ne.depsTail,t.nextDep=void 0,ne.depsTail.nextDep=t,ne.depsTail=t,ne.deps===t&&(ne.deps=e)}return t}trigger(e){this.version++,Ae++,this.notify(e)}notify(e){he();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{fe()}}}function Be(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Be(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Le=new WeakMap,Ve=Symbol(""),He=Symbol(""),ke=Symbol("");function Oe(e,t,n){if(_e&&ne){let t=Le.get(e);t||Le.set(e,t=new Map);let o=t.get(n);o||(t.set(n,o=new Se),o.map=t,o.key=n),o.track()}}function Te(e,t,n,o,r,a){const s=Le.get(e);if(!s)return void Ae++;const l=e=>{e&&e.trigger()};if(he(),"clear"===t)s.forEach(l);else{const r=d(e),a=r&&E(n);if(r&&"length"===n){const e=Number(o);s.forEach(((t,n)=>{("length"===n||n===ke||!w(n)&&n>=e)&&l(t)}))}else switch((void 0!==n||s.has(void 0))&&l(s.get(n)),a&&l(s.get(ke)),t){case"add":r?a&&l(s.get("length")):(l(s.get(Ve)),h(e)&&l(s.get(He)));break;case"delete":r||(l(s.get(Ve)),h(e)&&l(s.get(He)));break;case"set":h(e)&&l(s.get(Ve))}}fe()}function Re(e){const t=bt(e);return t===e?t:(Oe(t,0,ke),wt(e)?t:t.map(xt))}function Pe(e){return Oe(e=bt(e),0,ke),e}const De={__proto__:null,[Symbol.iterator](){return Ie(this,Symbol.iterator,xt)},concat(...e){return Re(this).concat(...e.map((e=>d(e)?Re(e):e)))},entries(){return Ie(this,"entries",(e=>(e[1]=xt(e[1]),e)))},every(e,t){return je(this,"every",e,t,void 0,arguments)},filter(e,t){return je(this,"filter",e,t,(e=>e.map(xt)),arguments)},find(e,t){return je(this,"find",e,t,xt,arguments)},findIndex(e,t){return je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return je(this,"findLast",e,t,xt,arguments)},findLastIndex(e,t){return je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return je(this,"forEach",e,t,void 0,arguments)},includes(...e){return qe(this,"includes",e)},indexOf(...e){return qe(this,"indexOf",e)},join(e){return Re(this).join(e)},lastIndexOf(...e){return qe(this,"lastIndexOf",e)},map(e,t){return je(this,"map",e,t,void 0,arguments)},pop(){return Ue(this,"pop")},push(...e){return Ue(this,"push",e)},reduce(e,...t){return Ne(this,"reduce",e,t)},reduceRight(e,...t){return Ne(this,"reduceRight",e,t)},shift(){return Ue(this,"shift")},some(e,t){return je(this,"some",e,t,void 0,arguments)},splice(...e){return Ue(this,"splice",e)},toReversed(){return Re(this).toReversed()},toSorted(e){return Re(this).toSorted(e)},toSpliced(...e){return Re(this).toSpliced(...e)},unshift(...e){return Ue(this,"unshift",e)},values(){return Ie(this,"values",xt)}};function Ie(e,t,n){const o=Pe(e),r=o[t]();return o===e||wt(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.value&&(e.value=n(e.value)),e}),r}const Fe=Array.prototype;function je(e,t,n,o,r,a){const s=Pe(e),l=s!==e&&!wt(e),i=s[t];if(i!==Fe[t]){const t=i.apply(e,a);return l?xt(t):t}let c=n;s!==e&&(l?c=function(t,o){return n.call(this,xt(t),o,e)}:n.length>2&&(c=function(t,o){return n.call(this,t,o,e)}));const u=i.call(s,c,o);return l&&r?r(u):u}function Ne(e,t,n,o){const r=Pe(e);let a=n;return r!==e&&(wt(e)?n.length>3&&(a=function(t,o,r){return n.call(this,t,o,r,e)}):a=function(t,o,r){return n.call(this,t,xt(o),r,e)}),r[t](a,...o)}function qe(e,t,n){const o=bt(e);Oe(o,0,ke);const r=o[t](...n);return-1!==r&&!1!==r||!yt(n[0])?r:(n[0]=bt(n[0]),o[t](...n))}function Ue(e,t,n=[]){Ce(),he();const o=bt(e)[t].apply(e,n);return fe(),Me(),o}const $e=t("__proto__,__v_isRef,__isVue"),We=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(w));function Ke(e){w(e)||(e=String(e));const t=bt(this);return Oe(t,0,e),t.hasOwnProperty(e)}class Ge{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?pt:ut:r?ct:it).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const a=d(e);if(!o){let e;if(a&&(e=De[t]))return e;if("hasOwnProperty"===t)return Ke}const s=Reflect.get(e,t,Mt(e)?e:n);return(w(t)?We.has(t):$e(t))?s:(o||Oe(e,0,t),r?s:Mt(s)?a&&E(t)?s:s.value:y(s)?o?ft(s):dt(s):s)}}class Je extends Ge{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=gt(r);if(wt(n)||gt(n)||(r=bt(r),n=bt(n)),!d(e)&&Mt(r)&&!Mt(n))return!t&&(r.value=n,!0)}const a=d(e)&&E(t)?Number(t)e,tt=e=>Reflect.getPrototypeOf(e);function nt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ot(e,t){const n={get(n){const o=this.__v_raw,r=bt(o),a=bt(n);e||(O(n,a)&&Oe(r,0,n),Oe(r,0,a));const{has:s}=tt(r),l=t?et:e?Ct:xt;return s.call(r,n)?l(o.get(n)):s.call(r,a)?l(o.get(a)):void(o!==r&&o.get(n))},get size(){const t=this.__v_raw;return!e&&Oe(bt(t),0,Ve),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,o=bt(n),r=bt(t);return e||(O(t,r)&&Oe(o,0,t),Oe(o,0,r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,o){const r=this,a=r.__v_raw,s=bt(a),l=t?et:e?Ct:xt;return!e&&Oe(s,0,Ve),a.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}};i(n,e?{add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear")}:{add(e){t||wt(e)||gt(e)||(e=bt(e));const n=bt(this);return tt(n).has.call(n,e)||(n.add(e),Te(n,"add",e,e)),this},set(e,n){t||wt(n)||gt(n)||(n=bt(n));const o=bt(this),{has:r,get:a}=tt(o);let s=r.call(o,e);s||(e=bt(e),s=r.call(o,e));const l=a.call(o,e);return o.set(e,n),s?O(n,l)&&Te(o,"set",e,n):Te(o,"add",e,n),this},delete(e){const t=bt(this),{has:n,get:o}=tt(t);let r=n.call(t,e);r||(e=bt(e),r=n.call(t,e)),o&&o.call(t,e);const a=t.delete(e);return r&&Te(t,"delete",e,void 0),a},clear(){const e=bt(this),t=0!==e.size,n=e.clear();return t&&Te(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((o=>{n[o]=function(e,t,n){return function(...o){const r=this.__v_raw,a=bt(r),s=h(a),l="entries"===e||e===Symbol.iterator&&s,i="keys"===e&&s,c=r[e](...o),u=n?et:t?Ct:xt;return!t&&Oe(a,0,i?He:Ve),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(o,e,t)})),n}function rt(e,t){const n=ot(e,t);return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(p(n,o)&&o in t?n:t,o,r)}const at={get:rt(!1,!1)},st={get:rt(!1,!0)},lt={get:rt(!0,!1)},it=new WeakMap,ct=new WeakMap,ut=new WeakMap,pt=new WeakMap;function dt(e){return gt(e)?e:mt(e,!1,Ze,at,it)}function ht(e){return mt(e,!1,Xe,st,ct)}function ft(e){return mt(e,!0,Qe,lt,ut)}function mt(e,t,n,o,r){if(!y(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const s=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(C(l));var l;if(0===s)return e;const i=new Proxy(e,2===s?o:n);return r.set(e,i),i}function vt(e){return gt(e)?vt(e.__v_raw):!(!e||!e.__v_isReactive)}function gt(e){return!(!e||!e.__v_isReadonly)}function wt(e){return!(!e||!e.__v_isShallow)}function yt(e){return!!e&&!!e.__v_raw}function bt(e){const t=e&&e.__v_raw;return t?bt(t):e}function _t(e){return!p(e,"__v_skip")&&Object.isExtensible(e)&&R(e,"__v_skip",!0),e}const xt=e=>y(e)?dt(e):e,Ct=e=>y(e)?ft(e):e;function Mt(e){return!!e&&!0===e.__v_isRef}function Et(e){return zt(e,!1)}function At(e){return zt(e,!0)}function zt(e,t){return Mt(e)?e:new St(e,t)}class St{constructor(e,t){this.dep=new Se,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:bt(e),this._value=t?e:xt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||wt(e)||gt(e);e=n?e:bt(e),O(e,t)&&(this._rawValue=e,this._value=n?e:xt(e),this.dep.trigger())}}function Bt(e){return Mt(e)?e.value:e}const Lt={get:(e,t,n)=>"__v_raw"===t?e:Bt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Mt(r)&&!Mt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Vt(e){return vt(e)?e:new Proxy(e,Lt)}function Ht(e){const t=d(e)?new Array(e.length):{};for(const n in e)t[n]=Rt(e,n);return t}class kt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Le.get(e);return n&&n.get(t)}(bt(this._object),this._key)}}class Ot{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Tt(e,t,n){return Mt(e)?e:v(e)?new Ot(e):y(e)&&arguments.length>1?Rt(e,t,n):Et(e)}function Rt(e,t,n){const o=e[t];return Mt(o)?o:new kt(e,t,n)}class Pt{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Se(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ae-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&ne!==this)return de(this,!0),!0}get value(){const e=this.dep.track();return we(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const Dt={},It=new WeakMap;let Ft;function jt(e,t,o=n){const{immediate:a,deep:s,once:l,scheduler:i,augmentJob:u,call:p}=o,h=e=>s?e:wt(e)||!1===s||0===s?Nt(e,1):Nt(e);let f,m,g,w,y=!1,b=!1;if(Mt(e)?(m=()=>e.value,y=wt(e)):vt(e)?(m=()=>h(e),y=!0):d(e)?(b=!0,y=e.some((e=>vt(e)||wt(e))),m=()=>e.map((e=>Mt(e)?e.value:vt(e)?h(e):v(e)?p?p(e,2):e():void 0))):m=v(e)?t?p?()=>p(e,2):e:()=>{if(g){Ce();try{g()}finally{Me()}}const t=Ft;Ft=f;try{return p?p(e,3,[w]):e(w)}finally{Ft=t}}:r,t&&s){const e=m,t=!0===s?1/0:s;m=()=>Nt(e(),t)}const _=ae(),x=()=>{f.stop(),_&&c(_.effects,f)};if(l&&t){const e=t;t=(...t)=>{e(...t),x()}}let C=b?new Array(e.length).fill(Dt):Dt;const M=e=>{if(1&f.flags&&(f.dirty||e))if(t){const e=f.run();if(s||y||(b?e.some(((e,t)=>O(e,C[t]))):O(e,C))){g&&g();const n=Ft;Ft=f;try{const n=[e,C===Dt?void 0:b&&C[0]===Dt?[]:C,w];p?p(t,3,n):t(...n),C=e}finally{Ft=n}}}else f.run()};return u&&u(M),f=new ie(m),f.scheduler=i?()=>i(M,!1):M,w=e=>function(e,t=!1,n=Ft){if(n){let t=It.get(n);t||It.set(n,t=[]),t.push(e)}}(e,!1,f),g=f.onStop=()=>{const e=It.get(f);if(e){if(p)p(e,4);else for(const t of e)t();It.delete(f)}},t?a?M(!0):C=f.run():i?i(M.bind(null,!0),!0):f.run(),x.pause=f.pause.bind(f),x.resume=f.resume.bind(f),x.stop=x,x}function Nt(e,t=1/0,n){if(t<=0||!y(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Mt(e))Nt(e.value,t,n);else if(d(e))for(let o=0;o{Nt(e,t,n)}));else if(M(e)){for(const o in e)Nt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Nt(e[o],t,n)}return e} +/** +* @vue/runtime-core v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function qt(e,t,n,o){try{return o?e(...o):e()}catch(r){$t(r,t,n)}}function Ut(e,t,n,o){if(v(e)){const r=qt(e,t,n,o);return r&&b(r)&&r.catch((e=>{$t(e,t,n)})),r}if(d(e)){const r=[];for(let a=0;a=rn(n)?Wt.push(e):Wt.splice(function(e){let t=Kt+1,n=Wt.length;for(;t>>1,r=Wt[o],a=rn(r);arn(e)-rn(t)));if(Gt.length=0,Jt)return void Jt.push(...e);for(Jt=e,Yt=0;Ytnull==e.id?2&e.flags?-1:1/0:e.id;function an(e){try{for(Kt=0;Kt{o._d&&Ir(-1);const r=cn(t);let a;try{a=e(...n)}finally{cn(r),o._d&&Ir(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function pn(e,t){if(null===sn)return e;const o=ba(sn),r=e.dirs||(e.dirs=[]);for(let a=0;ae.__isTeleport,mn=e=>e&&(e.disabled||""===e.disabled),vn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,gn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,wn=(e,t)=>{const n=e&&e.to;if(g(n)){if(t){return t(n)}return null}return n};function yn(e,t,n,{o:{insert:o},m:r},a=2){0===a&&o(e.targetAnchor,t,n);const{el:s,anchor:l,shapeFlag:i,children:c,props:u}=e,p=2===a;if(p&&o(s,t,n),(!p||mn(u))&&16&i)for(let d=0;d{16&w&&(r&&r.isCE&&(r.ce._teleportTarget=e),u(y,e,t,r,a,s,l,i))},d=()=>{const e=t.target=wn(t.props,f),n=xn(e,t,m,h);e&&("svg"!==s&&vn(e)?s="svg":"mathml"!==s&&gn(e)&&(s="mathml"),g||(p(e,n),_n(t,!1)))};g&&(p(n,c),_n(t,!0)),(_=t.props)&&(_.defer||""===_.defer)?ir(d,a):d()}else{t.el=e.el,t.targetStart=e.targetStart;const o=t.anchor=e.anchor,u=t.target=e.target,h=t.targetAnchor=e.targetAnchor,m=mn(e.props),v=m?n:u,w=m?o:h;if("svg"===s||vn(u)?s="svg":("mathml"===s||gn(u))&&(s="mathml"),b?(d(e.dynamicChildren,b,v,r,a,s,l),dr(e,t,!0)):i||p(e,t,v,w,r,a,s,l,!1),g)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):yn(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=wn(t.props,f);e&&yn(t,e,null,c,0)}else m&&yn(t,u,h,c,1);_n(t,g)}var _},remove(e,t,n,{um:o,o:{remove:r}},a){const{shapeFlag:s,children:l,anchor:i,targetStart:c,targetAnchor:u,target:p,props:d}=e;if(p&&(r(c),r(u)),a&&r(i),16&s){const e=a||!mn(d);for(let r=0;r{e.isMounted=!0})),oo((()=>{e.isUnmounting=!0})),e}const An=[Function,Array],zn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:An,onEnter:An,onAfterEnter:An,onEnterCancelled:An,onBeforeLeave:An,onLeave:An,onAfterLeave:An,onLeaveCancelled:An,onBeforeAppear:An,onAppear:An,onAfterAppear:An,onAppearCancelled:An},Sn=e=>{const t=e.subTree;return t.component?Sn(t.component):t};function Bn(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==kr){t=n;break}return t}const Ln={name:"BaseTransition",props:zn,setup(e,{slots:t}){const n=ia(),o=En();return()=>{const r=t.default&&Rn(t.default(),!0);if(!r||!r.length)return;const a=Bn(r),s=bt(e),{mode:l}=s;if(o.isLeaving)return kn(a);const i=On(a);if(!i)return kn(a);let c=Hn(i,s,o,n,(e=>c=e));i.type!==kr&&Tn(i,c);const u=n.subTree,p=u&&On(u);if(p&&p.type!==kr&&!Ur(i,p)&&Sn(n).type!==kr){const e=Hn(p,s,o,n);if(Tn(p,e),"out-in"===l&&i.type!==kr)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave},kn(a);"in-out"===l&&i.type!==kr&&(e.delayLeave=(e,t,n)=>{Vn(o,p)[String(p.key)]=p,e[Cn]=()=>{t(),e[Cn]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return a}}};function Vn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Hn(e,t,n,o,r){const{appear:a,mode:s,persisted:l=!1,onBeforeEnter:i,onEnter:c,onAfterEnter:u,onEnterCancelled:p,onBeforeLeave:h,onLeave:f,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:g,onAppear:w,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),x=Vn(n,e),C=(e,t)=>{e&&Ut(e,o,9,t)},M=(e,t)=>{const n=t[1];C(e,t),d(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:s,persisted:l,beforeEnter(t){let o=i;if(!n.isMounted){if(!a)return;o=g||i}t[Cn]&&t[Cn](!0);const r=x[_];r&&Ur(e,r)&&r.el[Cn]&&r.el[Cn](),C(o,[t])},enter(e){let t=c,o=u,r=p;if(!n.isMounted){if(!a)return;t=w||c,o=y||u,r=b||p}let s=!1;const l=e[Mn]=t=>{s||(s=!0,C(t?r:o,[e]),E.delayedLeave&&E.delayedLeave(),e[Mn]=void 0)};t?M(t,[e,l]):l()},leave(t,o){const r=String(e.key);if(t[Mn]&&t[Mn](!0),n.isUnmounting)return o();C(h,[t]);let a=!1;const s=t[Cn]=n=>{a||(a=!0,o(),C(n?v:m,[t]),t[Cn]=void 0,x[r]===e&&delete x[r])};x[r]=e,f?M(f,[t,s]):s()},clone(e){const a=Hn(e,t,n,o,r);return r&&r(a),a}};return E}function kn(e){if(jn(e))return(e=Yr(e)).children=null,e}function On(e){if(!jn(e))return fn(e.type)&&e.children?Bn(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&v(n.default))return n.default()}}function Tn(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Tn(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rn(e,t=!1,n){let o=[],r=0;for(let a=0;a1)for(let a=0;ai({name:e.name},t,{setup:e}))():e}function Dn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function In(e,t,o,r,a=!1){if(d(e))return void e.forEach(((e,n)=>In(e,t&&(d(t)?t[n]:t),o,r,a)));if(Fn(r)&&!a)return;const s=4&r.shapeFlag?ba(r.component):r.el,l=a?null:s,{i:i,r:u}=e,h=t&&t.r,f=i.refs===n?i.refs={}:i.refs,m=i.setupState,w=bt(m),y=m===n?()=>!1:e=>p(w,e);if(null!=h&&h!==u&&(g(h)?(f[h]=null,y(h)&&(m[h]=null)):Mt(h)&&(h.value=null)),v(u))qt(u,i,12,[l,f]);else{const t=g(u),n=Mt(u);if(t||n){const r=()=>{if(e.f){const n=t?y(u)?m[u]:f[u]:u.value;a?d(n)&&c(n,s):d(n)?n.includes(s)||n.push(s):t?(f[u]=[s],y(u)&&(m[u]=f[u])):(u.value=[s],e.k&&(f[e.k]=u.value))}else t?(f[u]=l,y(u)&&(m[u]=l)):n&&(u.value=l,e.k&&(f[e.k]=l))};l?(r.id=-1,ir(r,o)):r()}}}I().requestIdleCallback,I().cancelIdleCallback;const Fn=e=>!!e.type.__asyncLoader,jn=e=>e.type.__isKeepAlive,Nn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ia(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=new Map,a=new Set;let s=null;const l=n.suspense,{renderer:{p:i,m:c,um:u,o:{createElement:p}}}=o,d=p("div");function h(e){Jn(e),u(e,n,l,!0)}function f(e){r.forEach(((t,n)=>{const o=_a(t.type);o&&!e(o)&&m(n)}))}function m(e){const t=r.get(e);!t||s&&Ur(t,s)?s&&Jn(s):h(t),r.delete(e),a.delete(e)}o.activate=(e,t,n,o,r)=>{const a=e.component;c(e,t,n,0,l),i(a.vnode,e,t,n,a,l,o,e.slotScopeIds,r),ir((()=>{a.isDeactivated=!1,a.a&&T(a.a);const t=e.props&&e.props.onVnodeMounted;t&&ra(t,a.parent,e)}),l)},o.deactivate=e=>{const t=e.component;fr(t.m),fr(t.a),c(e,d,null,1,l),ir((()=>{t.da&&T(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ra(n,t.parent,e),t.isDeactivated=!0}),l)},wr((()=>[e.include,e.exclude]),(([e,t])=>{e&&f((t=>Un(e,t))),t&&f((e=>!Un(t,e)))}),{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&(Lr(n.subTree.type)?ir((()=>{r.set(v,Yn(n.subTree))}),n.subTree.suspense):r.set(v,Yn(n.subTree)))};return eo(g),no(g),oo((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=Yn(t);if(e.type!==r.type||e.key!==r.key)h(e);else{Jn(r);const e=r.component.da;e&&ir(e,o)}}))})),()=>{if(v=null,!t.default)return s=null;const n=t.default(),o=n[0];if(n.length>1)return s=null,n;if(!(qr(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return s=null,o;let l=Yn(o);if(l.type===kr)return s=null,l;const i=l.type,c=_a(Fn(l)?l.type.__asyncResolved||{}:i),{include:u,exclude:p,max:d}=e;if(u&&(!c||!Un(u,c))||p&&c&&Un(p,c))return l.shapeFlag&=-257,s=l,o;const h=null==l.key?i:l.key,f=r.get(h);return l.el&&(l=Yr(l),128&o.shapeFlag&&(o.ssContent=l)),v=h,f?(l.el=f.el,l.component=f.component,l.transition&&Tn(l,l.transition),l.shapeFlag|=512,a.delete(h),a.add(h)):(a.add(h),d&&a.size>parseInt(d,10)&&m(a.values().next().value)),l.shapeFlag|=256,s=l,Lr(o.type)?o:l}}},qn=Nn;function Un(e,t){return d(e)?e.some((e=>Un(e,t))):g(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&(e.lastIndex=0,e.test(t))}function $n(e,t){Kn(e,"a",t)}function Wn(e,t){Kn(e,"da",t)}function Kn(e,t,n=la){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Zn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)jn(e.parent.vnode)&&Gn(o,t,n,e),e=e.parent}}function Gn(e,t,n,o){const r=Zn(t,e,o,!0);ro((()=>{c(o[t],r)}),n)}function Jn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Yn(e){return 128&e.shapeFlag?e.ssContent:e}function Zn(e,t,n=la,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{Ce();const r=pa(n),a=Ut(t,n,e,o);return r(),Me(),a});return o?r.unshift(a):r.push(a),a}}const Qn=e=>(t,n=la)=>{ma&&"sp"!==e||Zn(e,((...e)=>t(...e)),n)},Xn=Qn("bm"),eo=Qn("m"),to=Qn("bu"),no=Qn("u"),oo=Qn("bum"),ro=Qn("um"),ao=Qn("sp"),so=Qn("rtg"),lo=Qn("rtc");function io(e,t=la){Zn("ec",e,t)}const co="components";function uo(e,t){return mo(co,e,!0,t)||e}const po=Symbol.for("v-ndc");function ho(e){return g(e)?mo(co,e,!1)||e:e||po}function fo(e){return mo("directives",e)}function mo(e,t,n=!0,o=!1){const r=sn||la;if(r){const n=r.type;if(e===co){const e=_a(n,!1);if(e&&(e===t||e===B(t)||e===H(B(t))))return n}const a=vo(r[e]||n[e],t)||vo(r.appContext[e],t);return!a&&o?n:a}}function vo(e,t){return e&&(e[t]||e[B(t)]||e[H(B(t))])}function go(e,t,n,o){let r;const a=n&&n[o],s=d(e);if(s||g(e)){let n=!1;s&&vt(e)&&(n=!wt(e),e=Pe(e)),r=new Array(e.length);for(let o=0,s=e.length;ot(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e}function yo(e,t,n={},o,r){if(sn.ce||sn.parent&&Fn(sn.parent)&&sn.parent.ce)return"default"!==t&&(n.name=t),Pr(),Nr(Vr,null,[Gr("slot",n,o&&o())],64);let a=e[t];a&&a._c&&(a._d=!1),Pr();const s=a&&bo(a(n)),l=n.key||s&&s.key,i=Nr(Vr,{key:(l&&!w(l)?l:"_".concat(t))+(!s&&o?"_fb":"")},s||(o?o():[]),s&&1===e._?64:-2);return!r&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),a&&a._c&&(a._d=!0),i}function bo(e){return e.some((e=>!qr(e)||e.type!==kr&&!(e.type===Vr&&!bo(e.children))))?e:null}function _o(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?"on:".concat(o):k(o)]=e[o];return n}const xo=e=>e?ha(e)?ba(e):xo(e.parent):null,Co=i(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xo(e.parent),$root:e=>xo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Oo(e),$forceUpdate:e=>e.f||(e.f=()=>{en(e.update)}),$nextTick:e=>e.n||(e.n=Xt.bind(e.proxy)),$watch:e=>br.bind(e)}),Mo=(e,t)=>e!==n&&!e.__isScriptSetup&&p(e,t),Eo={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:o,setupState:r,data:a,props:s,accessCache:l,type:i,appContext:c}=e;let u;if("$"!==t[0]){const i=l[t];if(void 0!==i)switch(i){case 1:return r[t];case 2:return a[t];case 4:return o[t];case 3:return s[t]}else{if(Mo(r,t))return l[t]=1,r[t];if(a!==n&&p(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&p(u,t))return l[t]=3,s[t];if(o!==n&&p(o,t))return l[t]=4,o[t];Lo&&(l[t]=0)}}const d=Co[t];let h,f;return d?("$attrs"===t&&Oe(e.attrs,0,""),d(e)):(h=i.__cssModules)&&(h=h[t])?h:o!==n&&p(o,t)?(l[t]=4,o[t]):(f=c.config.globalProperties,p(f,t)?f[t]:void 0)},set({_:e},t,o){const{data:r,setupState:a,ctx:s}=e;return Mo(a,t)?(a[t]=o,!0):r!==n&&p(r,t)?(r[t]=o,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=o,!0))},has({_:{data:e,setupState:t,accessCache:o,ctx:r,appContext:a,propsOptions:s}},l){let i;return!!o[l]||e!==n&&p(e,l)||Mo(t,l)||(i=s[0])&&p(i,l)||p(r,l)||p(Co,l)||p(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ao(){return So().slots}function zo(){return So().attrs}function So(){const e=ia();return e.setupContext||(e.setupContext=ya(e))}function Bo(e){return d(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Lo=!0;function Vo(e){const t=Oo(e),n=e.proxy,o=e.ctx;Lo=!1,t.beforeCreate&&Ho(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:l,watch:i,provide:c,inject:u,created:p,beforeMount:h,mounted:f,beforeUpdate:m,updated:g,activated:w,deactivated:b,beforeDestroy:_,beforeUnmount:x,destroyed:C,unmounted:M,render:E,renderTracked:A,renderTriggered:z,errorCaptured:S,serverPrefetch:B,expose:L,inheritAttrs:V,components:H,directives:k,filters:O}=t;if(u&&function(e,t){d(e)&&(e=Do(e));for(const n in e){const o=e[n];let r;r=y(o)?"default"in o?Ko(o.from||n,o.default,!0):Ko(o.from||n):Ko(o),Mt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,o,null),l)for(const r in l){const e=l[r];v(e)&&(o[r]=e.bind(n))}if(a){const t=a.call(n,n);y(t)&&(e.data=dt(t))}if(Lo=!0,s)for(const d in s){const e=s[d],t=v(e)?e.bind(n,n):v(e.get)?e.get.bind(n,n):r,a=!v(e)&&v(e.set)?e.set.bind(n):r,l=xa({get:t,set:a});Object.defineProperty(o,d,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(i)for(const r in i)ko(i[r],o,n,r);if(c){const e=v(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Wo(t,e[t])}))}function T(e,t){d(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&Ho(p,e,"c"),T(Xn,h),T(eo,f),T(to,m),T(no,g),T($n,w),T(Wn,b),T(io,S),T(lo,A),T(so,z),T(oo,x),T(ro,M),T(ao,B),d(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});E&&e.render===r&&(e.render=E),null!=V&&(e.inheritAttrs=V),H&&(e.components=H),k&&(e.directives=k),B&&Dn(e)}function Ho(e,t,n){Ut(d(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ko(e,t,n,o){let r=o.includes(".")?_r(n,o):()=>n[o];if(g(e)){const n=t[e];v(n)&&wr(r,n)}else if(v(e))wr(r,e.bind(n));else if(y(e))if(d(e))e.forEach((e=>ko(e,t,n,o)));else{const o=v(e.handler)?e.handler.bind(n):t[e.handler];v(o)&&wr(r,o,e)}}function Oo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,l=a.get(t);let i;return l?i=l:r.length||n||o?(i={},r.length&&r.forEach((e=>To(i,e,s,!0))),To(i,t,s)):i=t,y(t)&&a.set(t,i),i}function To(e,t,n,o=!1){const{mixins:r,extends:a}=t;a&&To(e,a,n,!0),r&&r.forEach((t=>To(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=Ro[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Ro={data:Po,props:jo,emits:jo,methods:Fo,computed:Fo,beforeCreate:Io,created:Io,beforeMount:Io,mounted:Io,beforeUpdate:Io,updated:Io,beforeDestroy:Io,beforeUnmount:Io,destroyed:Io,unmounted:Io,activated:Io,deactivated:Io,errorCaptured:Io,serverPrefetch:Io,components:Fo,directives:Fo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=i(Object.create(null),e);for(const o in t)n[o]=Io(e[o],t[o]);return n},provide:Po,inject:function(e,t){return Fo(Do(e),Do(t))}};function Po(e,t){return t?e?function(){return i(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function Do(e){if(d(e)){const t={};for(let n=0;n(a.has(e)||(e&&v(e.install)?(a.add(e),e.install(c,...t)):v(e)&&(a.add(e),e(c,...t))),c),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),c),component:(e,t)=>t?(r.components[e]=t,c):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,c):r.directives[e],mount(a,s,i){if(!l){const u=c._ceVNode||Gr(n,o);return u.appContext=r,!0===i?i="svg":!1===i&&(i=void 0),s&&t?t(u,a):e(u,a,i),l=!0,c._container=a,a.__vue_app__=c,ba(u.component)}},onUnmount(e){s.push(e)},unmount(){l&&(Ut(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,c),runWithContext(e){const t=$o;$o=c;try{return e()}finally{$o=t}}};return c}}let $o=null;function Wo(e,t){if(la){let n=la.provides;const o=la.parent&&la.parent.provides;o===n&&(n=la.provides=Object.create(o)),n[e]=t}else;}function Ko(e,t,n=!1){const o=la||sn;if(o||$o){const r=$o?$o._context.provides:o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&v(t)?t.call(o&&o.proxy):t}}const Go={},Jo=()=>Object.create(Go),Yo=e=>Object.getPrototypeOf(e)===Go;function Zo(e,t,o,r){const[a,s]=e.propsOptions;let l,i=!1;if(t)for(let n in t){if(A(n))continue;const c=t[n];let u;a&&p(a,u=B(n))?s&&s.includes(u)?(l||(l={}))[u]=c:o[u]=c:Er(e.emitsOptions,n)||n in r&&c===r[n]||(r[n]=c,i=!0)}if(s){const t=bt(o),r=l||n;for(let n=0;n{h=!0;const[n,o]=er(e,t,!0);i(c,n),o&&u.push(...o)};!r&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!l&&!h)return y(e)&&a.set(e,o),o;if(d(l))for(let o=0;o"_"===e[0]||"$stable"===e,or=e=>d(e)?e.map(ea):[ea(e)],rr=(e,t,n)=>{if(t._n)return t;const o=un(((...e)=>or(t(...e))),n);return o._c=!1,o},ar=(e,t,n)=>{const o=e._ctx;for(const r in e){if(nr(r))continue;const n=e[r];if(v(n))t[r]=rr(0,n,o);else if(null!=n){const e=or(n);t[r]=()=>e}}},sr=(e,t)=>{const n=or(t);e.slots.default=()=>n},lr=(e,t,n)=>{for(const o in t)(n||"_"!==o)&&(e[o]=t[o])},ir=function(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):(d(n=e)?Gt.push(...n):Jt&&-1===n.id?Jt.splice(Yt+1,0,n):1&n.flags||(Gt.push(n),n.flags|=1),tn());var n};function cr(e){return function(e,t){I().__VUE__=!0;const{insert:a,remove:s,patchProp:l,createElement:i,createText:c,createComment:u,setText:d,setElementText:h,parentNode:f,nextSibling:m,setScopeId:v=r,insertStaticContent:g}=e,w=(e,t,n,o=null,r=null,a=null,s=void 0,l=null,i=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ur(e,t)&&(o=X(e),G(e,r,a,!0),e=null),-2===t.patchFlag&&(i=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:p}=t;switch(c){case Hr:y(e,t,n,o);break;case kr:_(e,t,n,o);break;case Or:null==e&&x(t,n,o,s);break;case Vr:P(e,t,n,o,r,a,s,l,i);break;default:1&p?E(e,t,n,o,r,a,s,l,i):6&p?D(e,t,n,o,r,a,s,l,i):(64&p||128&p)&&c.process(e,t,n,o,r,a,s,l,i,ne)}null!=u&&r&&In(u,e&&e.ref,a,t||e,!t)},y=(e,t,n,o)=>{if(null==e)a(t.el=c(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},_=(e,t,n,o)=>{null==e?a(t.el=u(t.children||""),n,o):t.el=e.el},x=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o,e.el,e.anchor)},C=({el:e,anchor:t},n,o)=>{let r;for(;e&&e!==t;)r=m(e),a(e,n,o),e=r;a(t,n,o)},M=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),s(e),e=n;s(t)},E=(e,t,n,o,r,a,s,l,i)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?z(t,n,o,r,a,s,l,i):H(e,t,r,a,s,l,i)},z=(e,t,n,o,r,s,c,u)=>{let p,d;const{props:f,shapeFlag:m,transition:v,dirs:g}=e;if(p=e.el=i(e.type,s,f&&f.is,f),8&m?h(p,e.children):16&m&&L(e.children,p,null,o,r,ur(e,s),c,u),g&&dn(e,null,o,"created"),S(p,e,e.scopeId,c,o),f){for(const e in f)"value"===e||A(e)||l(p,e,null,f[e],s,o);"value"in f&&l(p,"value",null,f.value,s),(d=f.onVnodeBeforeMount)&&ra(d,o,e)}g&&dn(e,null,o,"beforeMount");const w=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(r,v);w&&v.beforeEnter(p),a(p,t,n),((d=f&&f.onVnodeMounted)||w||g)&&ir((()=>{d&&ra(d,o,e),w&&v.enter(p),g&&dn(e,null,o,"mounted")}),r)},S=(e,t,n,o,r)=>{if(n&&v(e,n),o)for(let a=0;a{for(let c=i;c{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:d}=t;u|=16&e.patchFlag;const f=e.props||n,m=t.props||n;let v;if(o&&pr(o,!1),(v=m.onVnodeBeforeUpdate)&&ra(v,o,t,e),d&&dn(t,e,o,"beforeUpdate"),o&&pr(o,!0),(f.innerHTML&&null==m.innerHTML||f.textContent&&null==m.textContent)&&h(c,""),p?k(e.dynamicChildren,p,c,o,r,ur(t,a),s):i||U(e,t,c,null,o,r,ur(t,a),s,!1),u>0){if(16&u)O(c,f,m,o,a);else if(2&u&&f.class!==m.class&&l(c,"class",null,m.class,a),4&u&&l(c,"style",f.style,m.style,a),8&u){const e=t.dynamicProps;for(let t=0;t{v&&ra(v,o,t,e),d&&dn(t,e,o,"updated")}),r)},k=(e,t,n,o,r,a,s)=>{for(let l=0;l{if(t!==o){if(t!==n)for(const n in t)A(n)||n in o||l(e,n,t[n],null,a,r);for(const n in o){if(A(n))continue;const s=o[n],i=t[n];s!==i&&"value"!==n&&l(e,n,i,s,a,r)}"value"in o&&l(e,"value",t.value,o.value,a)}},P=(e,t,n,o,r,s,l,i,u)=>{const p=t.el=e?e.el:c(""),d=t.anchor=e?e.anchor:c("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=t;m&&(i=i?i.concat(m):m),null==e?(a(p,n,o),a(d,n,o),L(t.children||[],n,d,r,s,l,i,u)):h>0&&64&h&&f&&e.dynamicChildren?(k(e.dynamicChildren,f,n,r,s,l,i),(null!=t.key||r&&t===r.subTree)&&dr(e,t,!0)):U(e,t,n,d,r,s,l,i,u)},D=(e,t,n,o,r,a,s,l,i)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,i):F(t,n,o,r,a,s,i):j(e,t,i)},F=(e,t,o,r,a,s,l)=>{const i=e.component=function(e,t,o){const r=e.type,a=(t?t.appContext:e.appContext)||aa,s={uid:sa++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new oe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:er(r,a),emitsOptions:Mr(r,a),emit:null,emitted:null,propsDefaults:n,inheritAttrs:r.inheritAttrs,ctx:n,data:n,props:n,attrs:n,slots:n,refs:n,setupState:n,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=Cr.bind(null,s),e.ce&&e.ce(s);return s}(e,r,a);if(jn(e)&&(i.ctx.renderer=ne),function(e,t=!1,n=!1){t&&ua(t);const{props:o,children:r}=e.vnode,a=ha(e);(function(e,t,n,o=!1){const r={},a=Jo();e.propsDefaults=Object.create(null),Zo(e,t,r,a);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:ht(r):e.type.props?e.props=r:e.props=a,e.attrs=a})(e,o,a,t),((e,t,n)=>{const o=e.slots=Jo();if(32&e.vnode.shapeFlag){const e=t._;e?(lr(o,t,n),n&&R(o,"_",e,!0)):ar(t,o)}else t&&sr(e,t)})(e,r,n);const s=a?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Eo);const{setup:o}=n;if(o){Ce();const n=e.setupContext=o.length>1?ya(e):null,r=pa(e),a=qt(o,e,0,[e.props,n]),s=b(a);if(Me(),r(),!s&&!e.sp||Fn(e)||Dn(e),s){if(a.then(da,da),t)return a.then((n=>{va(e,n,t)})).catch((t=>{$t(t,e,0)}));e.asyncDep=a}else va(e,a,t)}else ga(e,t)}(e,t):void 0;t&&ua(!1)}(i,!1,l),i.asyncDep){if(a&&a.registerDep(i,N,l),!e.el){const e=i.subTree=Gr(kr);_(null,e,t,o)}}else N(i,e,t,o,a,s,l)},j=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:a}=e,{props:s,children:l,patchFlag:i}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&i>=0))return!(!r&&!l||l&&l.$stable)||o!==s&&(o?!s||Br(o,s,c):!!s);if(1024&i)return!0;if(16&i)return o?Br(o,s,c):!!s;if(8&i){const e=t.dynamicProps;for(let t=0;t{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=hr(e);if(n)return t&&(t.el=c.el,q(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,p=t;pr(e,!1),t?(t.el=c.el,q(e,t,s)):t=c,n&&T(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ra(u,i,t,c),pr(e,!0);const d=Ar(e),h=e.subTree;e.subTree=d,w(h,d,f(h.el),X(h),e,r,a),t.el=d.el,null===p&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,d.el),o&&ir(o,r),(u=t.props&&t.props.onVnodeUpdated)&&ir((()=>ra(u,i,t,c)),r)}else{let s;const{el:l,props:i}=t,{bm:c,m:u,parent:p,root:d,type:h}=e,f=Fn(t);if(pr(e,!1),c&&T(c),!f&&(s=i&&i.onVnodeBeforeMount)&&ra(s,p,t),pr(e,!0),l&&ae){const t=()=>{e.subTree=Ar(e),ae(l,e.subTree,e,r,null)};f&&h.__asyncHydrate?h.__asyncHydrate(l,e,t):t()}else{d.ce&&d.ce._injectChildStyle(h);const s=e.subTree=Ar(e);w(null,s,n,o,e,r,a),t.el=s.el}if(u&&ir(u,r),!f&&(s=i&&i.onVnodeMounted)){const e=t;ir((()=>ra(s,p,e)),r)}(256&t.shapeFlag||p&&Fn(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&ir(e.a,r),e.isMounted=!0,t=n=o=null}};e.scope.on();const i=e.effect=new ie(l);e.scope.off();const c=e.update=i.run.bind(i),u=e.job=i.runIfDirty.bind(i);u.i=e,u.id=e.uid,i.scheduler=()=>en(u),pr(e,!0),c()},q=(e,t,o)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:a,vnode:{patchFlag:s}}=e,l=bt(r),[i]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;Zo(e,t,r,a)&&(c=!0);for(const a in l)t&&(p(t,a)||(o=V(a))!==a&&p(t,o))||(i?!n||void 0===n[a]&&void 0===n[o]||(r[a]=Qo(i,l,a,void 0,e,!0)):delete r[a]);if(a!==l)for(const e in a)t&&p(t,e)||(delete a[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:r,slots:a}=e;let s=!0,l=n;if(32&r.shapeFlag){const e=t._;e?o&&1===e?s=!1:lr(a,t,o):(s=!t.$stable,ar(t,a)),l=t}else t&&(sr(e,t),l={default:1});if(s)for(const n in a)nr(n)||null!=l[n]||delete a[n]})(e,t.children,o),Ce(),nn(e),Me()},U=(e,t,n,o,r,a,s,l,i=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:f}=t;if(d>0){if(128&d)return void W(c,p,n,o,r,a,s,l,i);if(256&d)return void $(c,p,n,o,r,a,s,l,i)}8&f?(16&u&&Q(c,r,a),p!==c&&h(n,p)):16&u?16&f?W(c,p,n,o,r,a,s,l,i):Q(c,r,a,!0):(8&u&&h(n,""),16&f&&L(p,n,o,r,a,s,l,i))},$=(e,t,n,r,a,s,l,i,c)=>{t=t||o;const u=(e=e||o).length,p=t.length,d=Math.min(u,p);let h;for(h=0;hp?Q(e,a,s,!0,!1,d):L(t,n,r,a,s,l,i,c,d)},W=(e,t,n,r,a,s,l,i,c)=>{let u=0;const p=t.length;let d=e.length-1,h=p-1;for(;u<=d&&u<=h;){const o=e[u],r=t[u]=c?ta(t[u]):ea(t[u]);if(!Ur(o,r))break;w(o,r,n,null,a,s,l,i,c),u++}for(;u<=d&&u<=h;){const o=e[d],r=t[h]=c?ta(t[h]):ea(t[h]);if(!Ur(o,r))break;w(o,r,n,null,a,s,l,i,c),d--,h--}if(u>d){if(u<=h){const e=h+1,o=eh)for(;u<=d;)G(e[u],a,s,!0),u++;else{const f=u,m=u,v=new Map;for(u=m;u<=h;u++){const e=t[u]=c?ta(t[u]):ea(t[u]);null!=e.key&&v.set(e.key,u)}let g,y=0;const b=h-m+1;let _=!1,x=0;const C=new Array(b);for(u=0;u=b){G(o,a,s,!0);continue}let r;if(null!=o.key)r=v.get(o.key);else for(g=m;g<=h;g++)if(0===C[g-m]&&Ur(o,t[g])){r=g;break}void 0===r?G(o,a,s,!0):(C[r-m]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,a,s,l,i,c),y++)}const M=_?function(e){const t=e.slice(),n=[0];let o,r,a,s,l;const i=e.length;for(o=0;o>1,e[n[l]]0&&(t[o]=n[a-1]),n[a]=o)}}a=n.length,s=n[a-1];for(;a-- >0;)n[a]=s,s=t[s];return n}(C):o;for(g=M.length-1,u=b-1;u>=0;u--){const e=m+u,o=t[e],d=e+1{const{el:s,type:l,transition:i,children:c,shapeFlag:u}=e;if(6&u)return void K(e.component.subTree,t,n,o);if(128&u)return void e.suspense.move(t,n,o);if(64&u)return void l.move(e,t,n,ne);if(l===Vr){a(s,t,n);for(let e=0;ei.enter(s)),r);else{const{leave:e,delayLeave:o,afterLeave:r}=i,l=()=>a(s,t,n),c=()=>{e(s,(()=>{l(),r&&r()}))};o?o(s,l,c):c()}else a(s,t,n)},G=(e,t,n,o=!1,r=!1)=>{const{type:a,props:s,ref:l,children:i,dynamicChildren:c,shapeFlag:u,patchFlag:p,dirs:d,cacheIndex:h}=e;if(-2===p&&(r=!1),null!=l&&In(l,null,n,e,!0),null!=h&&(t.renderCache[h]=void 0),256&u)return void t.ctx.deactivate(e);const f=1&u&&d,m=!Fn(e);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&ra(v,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&dn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,ne,o):c&&!c.hasOnce&&(a!==Vr||p>0&&64&p)?Q(c,t,n,!1,!0):(a===Vr&&384&p||!r&&16&u)&&Q(i,t,n),o&&J(e)}(m&&(v=s&&s.onVnodeUnmounted)||f)&&ir((()=>{v&&ra(v,t,e),f&&dn(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Vr)return void Y(n,o);if(t===Or)return void M(e);const a=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,a);o?o(e.el,a,s):s()}else a()},Y=(e,t)=>{let n;for(;e!==t;)n=m(e),s(e),e=n;s(t)},Z=(e,t,n)=>{const{bum:o,scope:r,job:a,subTree:s,um:l,m:i,a:c}=e;fr(i),fr(c),o&&T(o),r.stop(),a&&(a.flags|=8,G(s,e,t,n)),l&&ir(l,t),ir((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(e,t,n,o=!1,r=!1,a=0)=>{for(let s=a;s{if(6&e.shapeFlag)return X(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=m(e.anchor||e.el),n=t&&t[hn];return n?m(n):t};let ee=!1;const te=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ee||(ee=!0,nn(),on(),ee=!1)},ne={p:w,um:G,m:K,r:J,mt:F,mc:L,pc:U,pbc:k,n:X,o:e};let re,ae;t&&([re,ae]=t(ne));return{render:te,hydrate:re,createApp:Uo(te,re)}}(e)}function ur({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function pr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function dr(e,t,n=!1){const o=e.children,r=t.children;if(d(o)&&d(r))for(let a=0;aKo(mr);function gr(e,t){return yr(e,null,t)}function wr(e,t,n){return yr(e,t,n)}function yr(e,t,o=n){const{immediate:a,deep:s,flush:l,once:c}=o,u=i({},o),p=t&&a||!t&&"post"!==l;let d;if(ma)if("sync"===l){const e=vr();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!p){const e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}const h=la;u.call=(e,t,n)=>Ut(e,h,t,n);let f=!1;"post"===l?u.scheduler=e=>{ir(e,h&&h.suspense)}:"sync"!==l&&(f=!0,u.scheduler=(e,t)=>{t?e():en(e)}),u.augmentJob=e=>{t&&(e.flags|=4),f&&(e.flags|=2,h&&(e.id=h.uid,e.i=h))};const m=jt(e,t,u);return ma&&(d?d.push(m):p&&m()),m}function br(e,t,n){const o=this.proxy,r=g(e)?e.includes(".")?_r(o,e):()=>o[e]:e.bind(o,o);let a;v(t)?a=t:(a=t.handler,n=t);const s=pa(this),l=yr(r,a.bind(o),n);return s(),l}function _r(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e"modelValue"===t||"model-value"===t?e.modelModifiers:e["".concat(t,"Modifiers")]||e["".concat(B(t),"Modifiers")]||e["".concat(V(t),"Modifiers")];function Cr(e,t,...o){if(e.isUnmounted)return;const r=e.vnode.props||n;let a=o;const s=t.startsWith("update:"),l=s&&xr(r,t.slice(7));let i;l&&(l.trim&&(a=o.map((e=>g(e)?e.trim():e))),l.number&&(a=o.map(P)));let c=r[i=k(t)]||r[i=k(B(t))];!c&&s&&(c=r[i=k(V(t))]),c&&Ut(c,e,6,a);const u=r[i+"Once"];if(u){if(e.emitted){if(e.emitted[i])return}else e.emitted={};e.emitted[i]=!0,Ut(u,e,6,a)}}function Mr(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const a=e.emits;let s={},l=!1;if(!v(e)){const o=e=>{const n=Mr(e,t,!0);n&&(l=!0,i(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return a||l?(d(a)?a.forEach((e=>s[e]=null)):i(s,a),y(e)&&o.set(e,s),s):(y(e)&&o.set(e,null),null)}function Er(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,V(t))||p(e,t))}function Ar(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[a],slots:s,attrs:i,emit:c,render:u,renderCache:p,props:d,data:h,setupState:f,ctx:m,inheritAttrs:v}=e,g=cn(e);let w,y;try{if(4&n.shapeFlag){const e=r||o,t=e;w=ea(u.call(t,e,p,d,f,h,m)),y=i}else{const e=t;0,w=ea(e.length>1?e(d,{attrs:i,slots:s,emit:c}):e(d,null)),y=t.props?i:zr(i)}}catch(_){Tr.length=0,$t(_,e,1),w=Gr(kr)}let b=w;if(y&&!1!==v){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(a&&e.some(l)&&(y=Sr(y,a)),b=Yr(b,y,!1,!0))}return n.dirs&&(b=Yr(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Tn(b,n.transition),w=b,cn(g),w}const zr=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},Sr=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Br(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Vr=Symbol.for("v-fgt"),Hr=Symbol.for("v-txt"),kr=Symbol.for("v-cmt"),Or=Symbol.for("v-stc"),Tr=[];let Rr=null;function Pr(e=!1){Tr.push(Rr=e?null:[])}let Dr=1;function Ir(e){Dr+=e,e<0&&Rr&&(Rr.hasOnce=!0)}function Fr(e){return e.dynamicChildren=Dr>0?Rr||o:null,Tr.pop(),Rr=Tr[Tr.length-1]||null,Dr>0&&Rr&&Rr.push(e),e}function jr(e,t,n,o,r,a){return Fr(Kr(e,t,n,o,r,a,!0))}function Nr(e,t,n,o,r){return Fr(Gr(e,t,n,o,r,!0))}function qr(e){return!!e&&!0===e.__v_isVNode}function Ur(e,t){return e.type===t.type&&e.key===t.key}const $r=({key:e})=>null!=e?e:null,Wr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?g(e)||Mt(e)||v(e)?{i:sn,r:e,k:t,f:!!n}:e:null);function Kr(e,t=null,n=null,o=0,r=null,a=(e===Vr?0:1),s=!1,l=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$r(t),ref:t&&Wr(t),scopeId:ln,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:sn};return l?(na(i,n),128&a&&e.normalize(i)):n&&(i.shapeFlag|=g(n)?8:16),Dr>0&&!s&&Rr&&(i.patchFlag>0||6&a)&&32!==i.patchFlag&&Rr.push(i),i}const Gr=function(e,t=null,n=null,o=0,r=null,a=!1){e&&e!==po||(e=kr);if(qr(e)){const o=Yr(e,t,!0);return n&&na(o,n),Dr>0&&!a&&Rr&&(6&o.shapeFlag?Rr[Rr.indexOf(e)]=o:Rr.push(o)),o.patchFlag=-2,o}s=e,v(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=Jr(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=$(e)),y(n)&&(yt(n)&&!d(n)&&(n=i({},n)),t.style=F(n))}const l=g(e)?1:Lr(e)?128:fn(e)?64:y(e)?4:v(e)?2:0;return Kr(e,t,n,o,r,l,a,!0)};function Jr(e){return e?yt(e)||Yo(e)?i({},e):e:null}function Yr(e,t,n=!1,o=!1){const{props:r,ref:a,patchFlag:s,children:l,transition:i}=e,c=t?oa(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&$r(c),ref:t&&t.ref?n&&a?d(a)?a.concat(Wr(t)):[a,Wr(t)]:Wr(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Vr?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Yr(e.ssContent),ssFallback:e.ssFallback&&Yr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&o&&Tn(u,i.clone(u)),u}function Zr(e=" ",t=0){return Gr(Hr,null,e,t)}function Qr(e,t){const n=Gr(Or,null,e);return n.staticCount=t,n}function Xr(e="",t=!1){return t?(Pr(),Nr(kr,null,e)):Gr(kr,null,e)}function ea(e){return null==e||"boolean"==typeof e?Gr(kr):d(e)?Gr(Vr,null,e.slice()):qr(e)?ta(e):Gr(Hr,null,String(e))}function ta(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Yr(e)}function na(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(d(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),na(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Yo(t)?3===o&&sn&&(1===sn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=sn}}else v(t)?(t={default:t,_ctx:sn},n=32):(t=String(t),64&o?(n=16,t=[Zr(t)]):n=8);e.children=t,e.shapeFlag|=n}function oa(...e){const t={};for(let n=0;nla||sn;let ca,ua;{const e=I(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};ca=t("__VUE_INSTANCE_SETTERS__",(e=>la=e)),ua=t("__VUE_SSR_SETTERS__",(e=>ma=e))}const pa=e=>{const t=la;return ca(e),e.scope.on(),()=>{e.scope.off(),ca(t)}},da=()=>{la&&la.scope.off(),ca(null)};function ha(e){return 4&e.vnode.shapeFlag}let fa,ma=!1;function va(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=Vt(t)),ga(e,n)}function ga(e,t,n){const o=e.type;if(!e.render){if(!t&&fa&&!o.render){const t=o.template||Oo(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:s}=o,l=i(i({isCustomElement:n,delimiters:a},r),s);o.render=fa(t,l)}}e.render=o.render||r}{const t=pa(e);Ce();try{Vo(e)}finally{Me(),t()}}}const wa={get:(e,t)=>(Oe(e,0,""),e[t])};function ya(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,wa),slots:e.slots,emit:e.emit,expose:t}}function ba(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vt(_t(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Co?Co[n](e):void 0,has:(e,t)=>t in e||t in Co})):e.proxy}function _a(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}const xa=(e,t)=>{const n=function(e,t,n=!1){let o,r;return v(e)?o=e:(o=e.get,r=e.set),new Pt(o,r,n)}(e,0,ma);return n};function Ca(e,t,n){const o=arguments.length;return 2===o?y(t)&&!d(t)?qr(t)?Gr(e,null,[t]):Gr(e,t):Gr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&qr(n)&&(n=[n]),Gr(e,t,n))}const Ma="3.5.12",Ea=r; +/** +* @vue/runtime-dom v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +let Aa;const za="undefined"!=typeof window&&window.trustedTypes;if(za)try{Aa=za.createPolicy("vue",{createHTML:e=>e})}catch(Lz){}const Sa=Aa?e=>Aa.createHTML(e):e=>e,Ba="undefined"!=typeof document?document:null,La=Ba&&Ba.createElement("template"),Va={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?Ba.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ba.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ba.createElement(e,{is:n}):Ba.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ba.createTextNode(e),createComment:e=>Ba.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ba.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,a){const s=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==a&&(r=r.nextSibling););else{La.innerHTML=Sa("svg"===o?"".concat(e,""):"mathml"===o?"".concat(e,""):e);const r=La.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ha="transition",ka="animation",Oa=Symbol("_vtc"),Ta={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ra=i({},zn,Ta),Pa=(e=>(e.displayName="Transition",e.props=Ra,e))(((e,{slots:t})=>Ca(Ln,Fa(e),t))),Da=(e,t=[])=>{d(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ia=e=>!!e&&(d(e)?e.some((e=>e.length>1)):e.length>1);function Fa(e){const t={};for(const i in e)i in Ta||(t[i]=e[i]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:a="".concat(n,"-enter-from"),enterActiveClass:s="".concat(n,"-enter-active"),enterToClass:l="".concat(n,"-enter-to"),appearFromClass:c=a,appearActiveClass:u=s,appearToClass:p=l,leaveFromClass:d="".concat(n,"-leave-from"),leaveActiveClass:h="".concat(n,"-leave-active"),leaveToClass:f="".concat(n,"-leave-to")}=e,m=function(e){if(null==e)return null;if(y(e))return[ja(e.enter),ja(e.leave)];{const t=ja(e);return[t,t]}}(r),v=m&&m[0],g=m&&m[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:M=w,onAppear:E=b,onAppearCancelled:A=_}=t,z=(e,t,n)=>{qa(e,t?p:l),qa(e,t?u:s),n&&n()},S=(e,t)=>{e._isLeaving=!1,qa(e,d),qa(e,f),qa(e,h),t&&t()},B=e=>(t,n)=>{const r=e?E:b,s=()=>z(t,e,n);Da(r,[t,s]),Ua((()=>{qa(t,e?c:a),Na(t,e?p:l),Ia(r)||Wa(t,o,v,s)}))};return i(t,{onBeforeEnter(e){Da(w,[e]),Na(e,a),Na(e,s)},onBeforeAppear(e){Da(M,[e]),Na(e,c),Na(e,u)},onEnter:B(!1),onAppear:B(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>S(e,t);Na(e,d),Na(e,h),Ya(),Ua((()=>{e._isLeaving&&(qa(e,d),Na(e,f),Ia(x)||Wa(e,o,g,n))})),Da(x,[e,n])},onEnterCancelled(e){z(e,!1),Da(_,[e])},onAppearCancelled(e){z(e,!0),Da(A,[e])},onLeaveCancelled(e){S(e),Da(C,[e])}})}function ja(e){const t=(e=>{const t=g(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Na(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Oa]||(e[Oa]=new Set)).add(t)}function qa(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Oa];n&&(n.delete(t),n.size||(e[Oa]=void 0))}function Ua(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let $a=0;function Wa(e,t,n,o){const r=e._endId=++$a,a=()=>{r===e._endId&&o()};if(null!=n)return setTimeout(a,n);const{type:s,timeout:l,propCount:i}=Ka(e,t);if(!s)return o();const c=s+"end";let u=0;const p=()=>{e.removeEventListener(c,d),a()},d=t=>{t.target===e&&++u>=i&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("".concat(Ha,"Delay")),a=o("".concat(Ha,"Duration")),s=Ga(r,a),l=o("".concat(ka,"Delay")),i=o("".concat(ka,"Duration")),c=Ga(l,i);let u=null,p=0,d=0;t===Ha?s>0&&(u=Ha,p=s,d=a.length):t===ka?c>0&&(u=ka,p=c,d=i.length):(p=Math.max(s,c),u=p>0?s>c?Ha:ka:null,d=u?u===Ha?a.length:i.length:0);return{type:u,timeout:p,propCount:d,hasTransform:u===Ha&&/\b(transform|all)(,|$)/.test(o("".concat(Ha,"Property")).toString())}}function Ga(e,t){for(;e.lengthJa(t)+Ja(e[n]))))}function Ja(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Ya(){return document.body.offsetHeight}const Za=Symbol("_vod"),Qa=Symbol("_vsh"),Xa={beforeMount(e,{value:t},{transition:n}){e[Za]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):es(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),es(e,!0),o.enter(e)):o.leave(e,(()=>{es(e,!1)})):es(e,t))},beforeUnmount(e,{value:t}){es(e,t)}};function es(e,t){e.style.display=t?e[Za]:"none",e[Qa]=!t}const ts=Symbol("");function ns(e){const t=ia();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll('[data-v-owner="'.concat(t.uid,'"]'))).forEach((e=>rs(e,n)))},o=()=>{const o=e(t.proxy);t.ce?rs(t.ce,o):os(t.subTree,o),n(o)};Xn((()=>{yr(o,null,{flush:"post"})})),eo((()=>{const e=new MutationObserver(o);e.observe(t.subTree.el.parentNode,{childList:!0}),ro((()=>e.disconnect()))}))}function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)rs(e.el,t);else if(e.type===Vr)e.children.forEach((e=>os(e,t)));else if(e.type===Or){let{el:n,anchor:o}=e;for(;n&&(rs(n,t),n!==o);)n=n.nextSibling}}function rs(e,t){if(1===e.nodeType){const n=e.style;let o="";for(const e in t)n.setProperty("--".concat(e),t[e]),o+="--".concat(e,": ").concat(t[e],";");n[ts]=o}}const as=/(^|;)\s*display\s*:/;const ss=/\s*!important$/;function ls(e,t,n){if(d(n))n.forEach((n=>ls(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=cs[t];if(n)return n;let o=B(t);if("filter"!==o&&o in e)return cs[t]=o;o=H(o);for(let r=0;r{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Ut(function(e,t){if(d(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=ys(),n}(o,r);hs(e,n,s,l)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,l),a[t]=void 0)}}const vs=/(?:Once|Passive|Capture)$/;let gs=0;const ws=Promise.resolve(),ys=()=>gs||(ws.then((()=>gs=0)),gs=Date.now());const bs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const _s=new WeakMap,xs=new WeakMap,Cs=Symbol("_moveCb"),Ms=Symbol("_enterCb"),Es=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:i({},Ra,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ia(),o=En();let r,a;return no((()=>{if(!r.length)return;const t=e.moveClass||"".concat(e.name||"v","-move");if(!function(e,t,n){const o=e.cloneNode(),r=e[Oa];r&&r.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const a=1===t.nodeType?t:t.parentNode;a.appendChild(o);const{hasTransform:s}=Ka(o);return a.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(As),r.forEach(zs);const o=r.filter(Ss);Ya(),o.forEach((e=>{const n=e.el,o=n.style;Na(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n[Cs]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[Cs]=null,qa(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const s=bt(e),l=Fa(s);let i=s.tag||Vr;if(r=[],a)for(let e=0;e{const t=e.props["onUpdate:modelValue"]||!1;return d(t)?e=>T(t,e):t};function Ls(e){e.target.composing=!0}function Vs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Hs=Symbol("_assign"),ks={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[Hs]=Bs(r);const a=o||r.props&&"number"===r.props.type;hs(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),a&&(o=P(o)),e[Hs](o)})),n&&hs(e,"change",(()=>{e.value=e.value.trim()})),t||(hs(e,"compositionstart",Ls),hs(e,"compositionend",Vs),hs(e,"change",Vs))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:a}},s){if(e[Hs]=Bs(s),e.composing)return;const l=null==t?"":t;if((!a&&"number"!==e.type||/^0\d/.test(e.value)?e.value:P(e.value))!==l){if(document.activeElement===e&&"range"!==e.type){if(o&&t===n)return;if(r&&e.value.trim()===l)return}e.value=l}}},Os={deep:!0,created(e,t,n){e[Hs]=Bs(n),hs(e,"change",(()=>{const t=e._modelValue,n=Ps(e),o=e.checked,r=e[Hs];if(d(t)){const e=Y(t,n),a=-1!==e;if(o&&!a)r(t.concat(n));else if(!o&&a){const n=[...t];n.splice(e,1),r(n)}}else if(f(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Ds(e,o))}))},mounted:Ts,beforeUpdate(e,t,n){e[Hs]=Bs(n),Ts(e,t,n)}};function Ts(e,{value:t,oldValue:n},o){let r;if(e._modelValue=t,d(t))r=Y(t,o.props.value)>-1;else if(f(t))r=t.has(o.props.value);else{if(t===n)return;r=J(t,Ds(e,!0))}e.checked!==r&&(e.checked=r)}const Rs={created(e,{value:t},n){e.checked=J(t,n.props.value),e[Hs]=Bs(n),hs(e,"change",(()=>{e[Hs](Ps(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e[Hs]=Bs(o),t!==n&&(e.checked=J(t,o.props.value))}};function Ps(e){return"_value"in e?e._value:e.value}function Ds(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Is=["ctrl","shift","alt","meta"],Fs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Is.some((n=>e["".concat(n,"Key")]&&!t.includes(n)))},js=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=V(n.key);return t.some((e=>e===o||Ns[e]===o))?e(n):void 0})},Us=i({patchProp:(e,t,n,o,r,a)=>{const i="svg"===r;"class"===t?function(e,t,n){const o=e[Oa];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,i):"style"===t?function(e,t,n){const o=e.style,r=g(n);let a=!1;if(n&&!r){if(t)if(g(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ls(o,t,"")}else for(const e in t)null==n[e]&&ls(o,e,"");for(const e in n)"display"===e&&(a=!0),ls(o,e,n[e])}else if(r){if(t!==n){const e=o[ts];e&&(n+=";"+e),o.cssText=n,a=as.test(n)}}else t&&e.removeAttribute("style");Za in e&&(e[Za]=a?o.display:"",e[Qa]&&(o.display="none"))}(e,n,o):s(t)?l(t)||ms(e,t,0,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&bs(t)&&v(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(bs(t)&&g(n))return!1;return t in e}(e,t,o,i))?(ds(e,t,o),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||ps(e,t,o,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&g(o)?("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),ps(e,t,o,i)):ds(e,B(t),o,0,t)}},Va);let $s;function Ws(){return $s||($s=cr(Us))}const Ks=(...e)=>{Ws().render(...e)},Gs=(...e)=>{const t=Ws().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(g(e)){return document.querySelector(e)}return e}(e);if(!o)return;const r=t._component;v(r)||r.render||r.template||(r.template=o.innerHTML),1===o.nodeType&&(o.textContent="");const a=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t};const Js={appName:"AI4C",appLogo:"http://106.13.124.168:8080/apiuploads/file/a8daca5d1007f2ff5a5e818ae76d309f_20231217043206.jpg",showViteLogo:!0}; +/*! Element Plus Icons Vue v2.3.1 */var Ys=Pn({name:"AddLocation",__name:"add-location",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),Kr("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),Kr("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}),Zs=Ys,Qs=Pn({name:"Aim",__name:"aim",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Kr("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}),Xs=Qs,el=Pn({name:"AlarmClock",__name:"alarm-clock",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),Kr("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}),tl=el,nl=Pn({name:"Apple",__name:"apple",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}),ol=nl,rl=Pn({name:"ArrowDownBold",__name:"arrow-down-bold",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}),al=rl,sl=Pn({name:"ArrowDown",__name:"arrow-down",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}),ll=sl,il=Pn({name:"ArrowLeftBold",__name:"arrow-left-bold",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}),cl=il,ul=Pn({name:"ArrowLeft",__name:"arrow-left",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}),pl=ul,dl=Pn({name:"ArrowRightBold",__name:"arrow-right-bold",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}),hl=dl,fl=Pn({name:"ArrowRight",__name:"arrow-right",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}),ml=fl,vl=Pn({name:"ArrowUpBold",__name:"arrow-up-bold",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}),gl=vl,wl=Pn({name:"ArrowUp",__name:"arrow-up",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}),yl=wl,bl=Pn({name:"Avatar",__name:"avatar",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}),_l=bl,xl=Pn({name:"Back",__name:"back",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),Kr("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}),Cl=xl,Ml=Pn({name:"Baseball",__name:"baseball",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),Kr("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}),El=Ml,Al=Pn({name:"Basketball",__name:"basketball",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}),zl=Al,Sl=Pn({name:"BellFilled",__name:"bell-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}),Bl=Sl,Ll=Pn({name:"Bell",__name:"bell",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),Kr("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),Kr("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}),Vl=Ll,Hl=Pn({name:"Bicycle",__name:"bicycle",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),Kr("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),Kr("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),Kr("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),Kr("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}),kl=Hl,Ol=Pn({name:"BottomLeft",__name:"bottom-left",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),Kr("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}),Tl=Ol,Rl=Pn({name:"BottomRight",__name:"bottom-right",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),Kr("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}),Pl=Rl,Dl=Pn({name:"Bottom",__name:"bottom",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}),Il=Dl,Fl=Pn({name:"Bowl",__name:"bowl",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}),jl=Fl,Nl=Pn({name:"Box",__name:"box",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),Kr("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),Kr("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}),ql=Nl,Ul=Pn({name:"Briefcase",__name:"briefcase",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}),$l=Ul,Wl=Pn({name:"BrushFilled",__name:"brush-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}),Kl=Wl,Gl=Pn({name:"Brush",__name:"brush",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}),Jl=Gl,Yl=Pn({name:"Burger",__name:"burger",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}),Zl=Yl,Ql=Pn({name:"Calendar",__name:"calendar",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}),Xl=Ql,ei=Pn({name:"CameraFilled",__name:"camera-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}),ti=ei,ni=Pn({name:"Camera",__name:"camera",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}),oi=ni,ri=Pn({name:"CaretBottom",__name:"caret-bottom",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}),ai=ri,si=Pn({name:"CaretLeft",__name:"caret-left",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}),li=si,ii=Pn({name:"CaretRight",__name:"caret-right",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}),ci=ii,ui=Pn({name:"CaretTop",__name:"caret-top",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}),pi=ui,di=Pn({name:"Cellphone",__name:"cellphone",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}),hi=di,fi=Pn({name:"ChatDotRound",__name:"chat-dot-round",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),Kr("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}),mi=fi,vi=Pn({name:"ChatDotSquare",__name:"chat-dot-square",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),Kr("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}),gi=vi,wi=Pn({name:"ChatLineRound",__name:"chat-line-round",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),Kr("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}),yi=wi,bi=Pn({name:"ChatLineSquare",__name:"chat-line-square",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),Kr("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}),_i=bi,xi=Pn({name:"ChatRound",__name:"chat-round",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}),Ci=xi,Mi=Pn({name:"ChatSquare",__name:"chat-square",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}),Ei=Mi,Ai=Pn({name:"Check",__name:"check",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}),zi=Ai,Si=Pn({name:"Checked",__name:"checked",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}),Bi=Si,Li=Pn({name:"Cherry",__name:"cherry",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}),Vi=Li,Hi=Pn({name:"Chicken",__name:"chicken",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}),ki=Hi,Oi=Pn({name:"ChromeFilled",__name:"chrome-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),Kr("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),Kr("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}),Ti=Oi,Ri=Pn({name:"CircleCheckFilled",__name:"circle-check-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}),Pi=Ri,Di=Pn({name:"CircleCheck",__name:"circle-check",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Kr("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}),Ii=Di,Fi=Pn({name:"CircleCloseFilled",__name:"circle-close-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}),ji=Fi,Ni=Pn({name:"CircleClose",__name:"circle-close",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),qi=Ni,Ui=Pn({name:"CirclePlusFilled",__name:"circle-plus-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}),$i=Ui,Wi=Pn({name:"CirclePlus",__name:"circle-plus",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),Kr("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),Ki=Wi,Gi=Pn({name:"Clock",__name:"clock",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Kr("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}),Ji=Gi,Yi=Pn({name:"CloseBold",__name:"close-bold",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}),Zi=Yi,Qi=Pn({name:"Close",__name:"close",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}),Xi=Qi,ec=Pn({name:"Cloudy",__name:"cloudy",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}),tc=ec,nc=Pn({name:"CoffeeCup",__name:"coffee-cup",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}),oc=nc,rc=Pn({name:"Coffee",__name:"coffee",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}),ac=rc,sc=Pn({name:"Coin",__name:"coin",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),Kr("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),Kr("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}),lc=sc,ic=Pn({name:"ColdDrink",__name:"cold-drink",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}),cc=ic,uc=Pn({name:"CollectionTag",__name:"collection-tag",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}),pc=uc,dc=Pn({name:"Collection",__name:"collection",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),Kr("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}),hc=dc,fc=Pn({name:"Comment",__name:"comment",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}),mc=fc,vc=Pn({name:"Compass",__name:"compass",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Kr("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}),gc=vc,wc=Pn({name:"Connection",__name:"connection",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),Kr("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}),yc=wc,bc=Pn({name:"Coordinate",__name:"coordinate",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),Kr("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}),_c=bc,xc=Pn({name:"CopyDocument",__name:"copy-document",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),Kr("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}),Cc=xc,Mc=Pn({name:"Cpu",__name:"cpu",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),Kr("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}),Ec=Mc,Ac=Pn({name:"CreditCard",__name:"credit-card",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),Kr("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}),zc=Ac,Sc=Pn({name:"Crop",__name:"crop",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),Kr("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}),Bc=Sc,Lc=Pn({name:"DArrowLeft",__name:"d-arrow-left",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}),Vc=Lc,Hc=Pn({name:"DArrowRight",__name:"d-arrow-right",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}),kc=Hc,Oc=Pn({name:"DCaret",__name:"d-caret",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}),Tc=Oc,Rc=Pn({name:"DataAnalysis",__name:"data-analysis",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}),Pc=Rc,Dc=Pn({name:"DataBoard",__name:"data-board",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),Kr("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),Kr("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}),Ic=Dc,Fc=Pn({name:"DataLine",__name:"data-line",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}),jc=Fc,Nc=Pn({name:"DeleteFilled",__name:"delete-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}),qc=Nc,Uc=Pn({name:"DeleteLocation",__name:"delete-location",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),Kr("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),Kr("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}),$c=Uc,Wc=Pn({name:"Delete",__name:"delete",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}),Kc=Wc,Gc=Pn({name:"Dessert",__name:"dessert",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}),Jc=Gc,Yc=Pn({name:"Discount",__name:"discount",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),Kr("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}),Zc=Yc,Qc=Pn({name:"DishDot",__name:"dish-dot",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}),Xc=Qc,eu=Pn({name:"Dish",__name:"dish",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}),tu=eu,nu=Pn({name:"DocumentAdd",__name:"document-add",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}),ou=nu,ru=Pn({name:"DocumentChecked",__name:"document-checked",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}),au=ru,su=Pn({name:"DocumentCopy",__name:"document-copy",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}),lu=su,iu=Pn({name:"DocumentDelete",__name:"document-delete",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}),cu=iu,uu=Pn({name:"DocumentRemove",__name:"document-remove",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}),pu=uu,du=Pn({name:"Document",__name:"document",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}),hu=du,fu=Pn({name:"Download",__name:"download",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}),mu=fu,vu=Pn({name:"Drizzling",__name:"drizzling",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}),gu=vu,wu=Pn({name:"EditPen",__name:"edit-pen",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}),yu=wu,bu=Pn({name:"Edit",__name:"edit",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),Kr("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}),_u=bu,xu=Pn({name:"ElemeFilled",__name:"eleme-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}),Cu=xu,Mu=Pn({name:"Eleme",__name:"eleme",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}),Eu=Mu,Au=Pn({name:"ElementPlus",__name:"element-plus",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}),zu=Au,Su=Pn({name:"Expand",__name:"expand",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}),Bu=Su,Lu=Pn({name:"Failed",__name:"failed",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}),Vu=Lu,Hu=Pn({name:"Female",__name:"female",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),Kr("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),Kr("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}),ku=Hu,Ou=Pn({name:"Files",__name:"files",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}),Tu=Ou,Ru=Pn({name:"Film",__name:"film",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}),Pu=Ru,Du=Pn({name:"Filter",__name:"filter",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}),Iu=Du,Fu=Pn({name:"Finished",__name:"finished",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}),ju=Fu,Nu=Pn({name:"FirstAidKit",__name:"first-aid-kit",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),Kr("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}),qu=Nu,Uu=Pn({name:"Flag",__name:"flag",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}),$u=Uu,Wu=Pn({name:"Fold",__name:"fold",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}),Ku=Wu,Gu=Pn({name:"FolderAdd",__name:"folder-add",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}),Ju=Gu,Yu=Pn({name:"FolderChecked",__name:"folder-checked",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}),Zu=Yu,Qu=Pn({name:"FolderDelete",__name:"folder-delete",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}),Xu=Qu,ep=Pn({name:"FolderOpened",__name:"folder-opened",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}),tp=ep,np=Pn({name:"FolderRemove",__name:"folder-remove",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}),op=np,rp=Pn({name:"Folder",__name:"folder",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}),ap=rp,sp=Pn({name:"Food",__name:"food",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}),lp=sp,ip=Pn({name:"Football",__name:"football",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),Kr("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}),cp=ip,up=Pn({name:"ForkSpoon",__name:"fork-spoon",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}),pp=up,dp=Pn({name:"Fries",__name:"fries",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}),hp=dp,fp=Pn({name:"FullScreen",__name:"full-screen",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}),mp=fp,vp=Pn({name:"GobletFull",__name:"goblet-full",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}),gp=vp,wp=Pn({name:"GobletSquareFull",__name:"goblet-square-full",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}),yp=wp,bp=Pn({name:"GobletSquare",__name:"goblet-square",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}),_p=bp,xp=Pn({name:"Goblet",__name:"goblet",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}),Cp=xp,Mp=Pn({name:"GoldMedal",__name:"gold-medal",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),Kr("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}),Ep=Mp,Ap=Pn({name:"GoodsFilled",__name:"goods-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}),zp=Ap,Sp=Pn({name:"Goods",__name:"goods",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}),Bp=Sp,Lp=Pn({name:"Grape",__name:"grape",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}),Vp=Lp,Hp=Pn({name:"Grid",__name:"grid",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}),kp=Hp,Op=Pn({name:"Guide",__name:"guide",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),Kr("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}),Tp=Op,Rp=Pn({name:"Handbag",__name:"handbag",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}),Pp=Rp,Dp=Pn({name:"Headset",__name:"headset",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}),Ip=Dp,Fp=Pn({name:"HelpFilled",__name:"help-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}),jp=Fp,Np=Pn({name:"Help",__name:"help",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),qp=Np,Up=Pn({name:"Hide",__name:"hide",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),Kr("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}),$p=Up,Wp=Pn({name:"Histogram",__name:"histogram",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}),Kp=Wp,Gp=Pn({name:"HomeFilled",__name:"home-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}),Jp=Gp,Yp=Pn({name:"HotWater",__name:"hot-water",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}),Zp=Yp,Qp=Pn({name:"House",__name:"house",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}),Xp=Qp,ed=Pn({name:"IceCreamRound",__name:"ice-cream-round",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}),td=ed,nd=Pn({name:"IceCreamSquare",__name:"ice-cream-square",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}),od=nd,rd=Pn({name:"IceCream",__name:"ice-cream",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}),ad=rd,sd=Pn({name:"IceDrink",__name:"ice-drink",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}),ld=sd,id=Pn({name:"IceTea",__name:"ice-tea",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}),cd=id,ud=Pn({name:"InfoFilled",__name:"info-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}),pd=ud,dd=Pn({name:"Iphone",__name:"iphone",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}),hd=dd,fd=Pn({name:"Key",__name:"key",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}),md=fd,vd=Pn({name:"KnifeFork",__name:"knife-fork",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}),gd=vd,wd=Pn({name:"Lightning",__name:"lightning",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),Kr("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}),yd=wd,bd=Pn({name:"Link",__name:"link",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}),_d=bd,xd=Pn({name:"List",__name:"list",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}),Cd=xd,Md=Pn({name:"Loading",__name:"loading",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}),Ed=Md,Ad=Pn({name:"LocationFilled",__name:"location-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}),zd=Ad,Sd=Pn({name:"LocationInformation",__name:"location-information",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),Kr("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),Kr("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}),Bd=Sd,Ld=Pn({name:"Location",__name:"location",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),Kr("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}),Vd=Ld,Hd=Pn({name:"Lock",__name:"lock",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),Kr("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}),kd=Hd,Od=Pn({name:"Lollipop",__name:"lollipop",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}),Td=Od,Rd=Pn({name:"MagicStick",__name:"magic-stick",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}),Pd=Rd,Dd=Pn({name:"Magnet",__name:"magnet",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}),Id=Dd,Fd=Pn({name:"Male",__name:"male",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),Kr("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),Kr("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}),jd=Fd,Nd=Pn({name:"Management",__name:"management",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}),qd=Nd,Ud=Pn({name:"MapLocation",__name:"map-location",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),Kr("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}),$d=Ud,Wd=Pn({name:"Medal",__name:"medal",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),Kr("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}),Kd=Wd,Gd=Pn({name:"Memo",__name:"memo",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),Kr("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),Kr("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}),Jd=Gd,Yd=Pn({name:"Menu",__name:"menu",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}),Zd=Yd,Qd=Pn({name:"MessageBox",__name:"message-box",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}),Xd=Qd,eh=Pn({name:"Message",__name:"message",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),Kr("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}),th=eh,nh=Pn({name:"Mic",__name:"mic",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}),oh=nh,rh=Pn({name:"Microphone",__name:"microphone",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}),ah=rh,sh=Pn({name:"MilkTea",__name:"milk-tea",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}),lh=sh,ih=Pn({name:"Minus",__name:"minus",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}),ch=ih,uh=Pn({name:"Money",__name:"money",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),Kr("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),Kr("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}),ph=uh,dh=Pn({name:"Monitor",__name:"monitor",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}),hh=dh,fh=Pn({name:"MoonNight",__name:"moon-night",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),Kr("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}),mh=fh,vh=Pn({name:"Moon",__name:"moon",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}),gh=vh,wh=Pn({name:"MoreFilled",__name:"more-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}),yh=wh,bh=Pn({name:"More",__name:"more",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}),_h=bh,xh=Pn({name:"MostlyCloudy",__name:"mostly-cloudy",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}),Ch=xh,Mh=Pn({name:"Mouse",__name:"mouse",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),Kr("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}),Eh=Mh,Ah=Pn({name:"Mug",__name:"mug",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}),zh=Ah,Sh=Pn({name:"MuteNotification",__name:"mute-notification",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),Kr("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}),Bh=Sh,Lh=Pn({name:"Mute",__name:"mute",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),Kr("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}),Vh=Lh,Hh=Pn({name:"NoSmoking",__name:"no-smoking",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}),kh=Hh,Oh=Pn({name:"Notebook",__name:"notebook",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}),Th=Oh,Rh=Pn({name:"Notification",__name:"notification",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),Kr("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}),Ph=Rh,Dh=Pn({name:"Odometer",__name:"odometer",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Kr("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),Kr("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}),Ih=Dh,Fh=Pn({name:"OfficeBuilding",__name:"office-building",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),Kr("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}),jh=Fh,Nh=Pn({name:"Open",__name:"open",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),Kr("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}),qh=Nh,Uh=Pn({name:"Operation",__name:"operation",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}),$h=Uh,Wh=Pn({name:"Opportunity",__name:"opportunity",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}),Kh=Wh,Gh=Pn({name:"Orange",__name:"orange",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}),Jh=Gh,Yh=Pn({name:"Paperclip",__name:"paperclip",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}),Zh=Yh,Qh=Pn({name:"PartlyCloudy",__name:"partly-cloudy",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),Kr("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}),Xh=Qh,ef=Pn({name:"Pear",__name:"pear",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}),tf=ef,nf=Pn({name:"PhoneFilled",__name:"phone-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}),of=nf,rf=Pn({name:"Phone",__name:"phone",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}),af=Pn({name:"PictureFilled",__name:"picture-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}),sf=Pn({name:"PictureRounded",__name:"picture-rounded",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),Kr("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}),lf=Pn({name:"Picture",__name:"picture",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}),cf=Pn({name:"PieChart",__name:"pie-chart",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),Kr("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}),uf=Pn({name:"Place",__name:"place",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),Kr("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}),pf=Pn({name:"Platform",__name:"platform",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}),df=Pn({name:"Plus",__name:"plus",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}),hf=Pn({name:"Pointer",__name:"pointer",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}),ff=Pn({name:"Position",__name:"position",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}),mf=Pn({name:"Postcard",__name:"postcard",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),Kr("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}),vf=Pn({name:"Pouring",__name:"pouring",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}),gf=Pn({name:"Present",__name:"present",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),Kr("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),Kr("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),Kr("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}),wf=Pn({name:"PriceTag",__name:"price-tag",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),Kr("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}),yf=Pn({name:"Printer",__name:"printer",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}),bf=Pn({name:"Promotion",__name:"promotion",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}),_f=Pn({name:"QuartzWatch",__name:"quartz-watch",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),Kr("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),Kr("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}),xf=Pn({name:"QuestionFilled",__name:"question-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}),Cf=Pn({name:"Rank",__name:"rank",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}),Mf=Pn({name:"ReadingLamp",__name:"reading-lamp",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),Kr("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}),Ef=Pn({name:"Reading",__name:"reading",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),Kr("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}),Af=Pn({name:"RefreshLeft",__name:"refresh-left",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}),zf=Pn({name:"RefreshRight",__name:"refresh-right",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}),Sf=Pn({name:"Refresh",__name:"refresh",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}),Bf=Pn({name:"Refrigerator",__name:"refrigerator",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}),Lf=Pn({name:"RemoveFilled",__name:"remove-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}),Vf=Pn({name:"Remove",__name:"remove",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),Hf=Pn({name:"Right",__name:"right",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}),kf=Pn({name:"ScaleToOriginal",__name:"scale-to-original",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}),Of=Pn({name:"School",__name:"school",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),Kr("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}),Tf=Pn({name:"Scissor",__name:"scissor",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}),Rf=Pn({name:"Search",__name:"search",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}),Pf=Pn({name:"Select",__name:"select",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}),Df=Pn({name:"Sell",__name:"sell",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}),If=Pn({name:"SemiSelect",__name:"semi-select",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}),Ff=Pn({name:"Service",__name:"service",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}),jf=Pn({name:"SetUp",__name:"set-up",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),Kr("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),Kr("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),Kr("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}),Nf=Pn({name:"Setting",__name:"setting",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}),qf=Pn({name:"Share",__name:"share",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}),Uf=Pn({name:"Ship",__name:"ship",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}),$f=Pn({name:"Shop",__name:"shop",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}),Wf=Pn({name:"ShoppingBag",__name:"shopping-bag",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),Kr("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}),Kf=Pn({name:"ShoppingCartFull",__name:"shopping-cart-full",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),Kr("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}),Gf=Pn({name:"ShoppingCart",__name:"shopping-cart",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}),Jf=Pn({name:"ShoppingTrolley",__name:"shopping-trolley",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}),Yf=Pn({name:"Smoking",__name:"smoking",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}),Zf=Pn({name:"Soccer",__name:"soccer",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}),Qf=Pn({name:"SoldOut",__name:"sold-out",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}),Xf=Pn({name:"SortDown",__name:"sort-down",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}),em=Pn({name:"SortUp",__name:"sort-up",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}),tm=Pn({name:"Sort",__name:"sort",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}),nm=Pn({name:"Stamp",__name:"stamp",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}),om=Pn({name:"StarFilled",__name:"star-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}),rm=Pn({name:"Star",__name:"star",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}),am=Pn({name:"Stopwatch",__name:"stopwatch",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Kr("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}),sm=Pn({name:"SuccessFilled",__name:"success-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}),lm=Pn({name:"Sugar",__name:"sugar",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}),im=Pn({name:"SuitcaseLine",__name:"suitcase-line",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}),cm=Pn({name:"Suitcase",__name:"suitcase",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),Kr("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}),um=Pn({name:"Sunny",__name:"sunny",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}),pm=Pn({name:"Sunrise",__name:"sunrise",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}),dm=Pn({name:"Sunset",__name:"sunset",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}),hm=Pn({name:"SwitchButton",__name:"switch-button",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),Kr("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}),fm=Pn({name:"SwitchFilled",__name:"switch-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),Kr("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}),mm=Pn({name:"Switch",__name:"switch",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}),vm=Pn({name:"TakeawayBox",__name:"takeaway-box",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}),gm=Pn({name:"Ticket",__name:"ticket",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}),wm=Pn({name:"Tickets",__name:"tickets",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}),ym=Pn({name:"Timer",__name:"timer",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),Kr("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}),bm=Pn({name:"ToiletPaper",__name:"toilet-paper",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),Kr("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}),_m=Pn({name:"Tools",__name:"tools",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}),xm=Pn({name:"TopLeft",__name:"top-left",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),Kr("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}),Cm=Pn({name:"TopRight",__name:"top-right",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),Kr("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}),Mm=Pn({name:"Top",__name:"top",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}),Em=Pn({name:"TrendCharts",__name:"trend-charts",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}),Am=Pn({name:"TrophyBase",__name:"trophy-base",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}),zm=Pn({name:"Trophy",__name:"trophy",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}),Sm=Pn({name:"TurnOff",__name:"turn-off",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),Kr("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}),Bm=Pn({name:"Umbrella",__name:"umbrella",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}),Lm=Pn({name:"Unlock",__name:"unlock",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),Kr("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}),Vm=Pn({name:"UploadFilled",__name:"upload-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}),Hm=Pn({name:"Upload",__name:"upload",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}),km=Pn({name:"UserFilled",__name:"user-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}),Om=Pn({name:"User",__name:"user",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}),Tm=Pn({name:"Van",__name:"van",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}),Rm=Pn({name:"VideoCameraFilled",__name:"video-camera-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}),Pm=Pn({name:"VideoCamera",__name:"video-camera",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}),Dm=Pn({name:"VideoPause",__name:"video-pause",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}),Im=Pn({name:"VideoPlay",__name:"video-play",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}),Fm=Pn({name:"View",__name:"view",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}),jm=Pn({name:"WalletFilled",__name:"wallet-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}),Nm=Pn({name:"Wallet",__name:"wallet",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),Kr("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}),qm=Pn({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}),Um=Pn({name:"WarningFilled",__name:"warning-filled",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}),$m=Pn({name:"Warning",__name:"warning",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}),Wm=Pn({name:"Watch",__name:"watch",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),Kr("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),Kr("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}),Km=Pn({name:"Watermelon",__name:"watermelon",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}),Gm=Pn({name:"WindPower",__name:"wind-power",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}),Jm=Pn({name:"ZoomIn",__name:"zoom-in",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}),Ym=Pn({name:"ZoomOut",__name:"zoom-out",setup:e=>(e,t)=>(Pr(),jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Kr("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))});const Zm=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:Zs,Aim:Xs,AlarmClock:tl,Apple:ol,ArrowDown:ll,ArrowDownBold:al,ArrowLeft:pl,ArrowLeftBold:cl,ArrowRight:ml,ArrowRightBold:hl,ArrowUp:yl,ArrowUpBold:gl,Avatar:_l,Back:Cl,Baseball:El,Basketball:zl,Bell:Vl,BellFilled:Bl,Bicycle:kl,Bottom:Il,BottomLeft:Tl,BottomRight:Pl,Bowl:jl,Box:ql,Briefcase:$l,Brush:Jl,BrushFilled:Kl,Burger:Zl,Calendar:Xl,Camera:oi,CameraFilled:ti,CaretBottom:ai,CaretLeft:li,CaretRight:ci,CaretTop:pi,Cellphone:hi,ChatDotRound:mi,ChatDotSquare:gi,ChatLineRound:yi,ChatLineSquare:_i,ChatRound:Ci,ChatSquare:Ei,Check:zi,Checked:Bi,Cherry:Vi,Chicken:ki,ChromeFilled:Ti,CircleCheck:Ii,CircleCheckFilled:Pi,CircleClose:qi,CircleCloseFilled:ji,CirclePlus:Ki,CirclePlusFilled:$i,Clock:Ji,Close:Xi,CloseBold:Zi,Cloudy:tc,Coffee:ac,CoffeeCup:oc,Coin:lc,ColdDrink:cc,Collection:hc,CollectionTag:pc,Comment:mc,Compass:gc,Connection:yc,Coordinate:_c,CopyDocument:Cc,Cpu:Ec,CreditCard:zc,Crop:Bc,DArrowLeft:Vc,DArrowRight:kc,DCaret:Tc,DataAnalysis:Pc,DataBoard:Ic,DataLine:jc,Delete:Kc,DeleteFilled:qc,DeleteLocation:$c,Dessert:Jc,Discount:Zc,Dish:tu,DishDot:Xc,Document:hu,DocumentAdd:ou,DocumentChecked:au,DocumentCopy:lu,DocumentDelete:cu,DocumentRemove:pu,Download:mu,Drizzling:gu,Edit:_u,EditPen:yu,Eleme:Eu,ElemeFilled:Cu,ElementPlus:zu,Expand:Bu,Failed:Vu,Female:ku,Files:Tu,Film:Pu,Filter:Iu,Finished:ju,FirstAidKit:qu,Flag:$u,Fold:Ku,Folder:ap,FolderAdd:Ju,FolderChecked:Zu,FolderDelete:Xu,FolderOpened:tp,FolderRemove:op,Food:lp,Football:cp,ForkSpoon:pp,Fries:hp,FullScreen:mp,Goblet:Cp,GobletFull:gp,GobletSquare:_p,GobletSquareFull:yp,GoldMedal:Ep,Goods:Bp,GoodsFilled:zp,Grape:Vp,Grid:kp,Guide:Tp,Handbag:Pp,Headset:Ip,Help:qp,HelpFilled:jp,Hide:$p,Histogram:Kp,HomeFilled:Jp,HotWater:Zp,House:Xp,IceCream:ad,IceCreamRound:td,IceCreamSquare:od,IceDrink:ld,IceTea:cd,InfoFilled:pd,Iphone:hd,Key:md,KnifeFork:gd,Lightning:yd,Link:_d,List:Cd,Loading:Ed,Location:Vd,LocationFilled:zd,LocationInformation:Bd,Lock:kd,Lollipop:Td,MagicStick:Pd,Magnet:Id,Male:jd,Management:qd,MapLocation:$d,Medal:Kd,Memo:Jd,Menu:Zd,Message:th,MessageBox:Xd,Mic:oh,Microphone:ah,MilkTea:lh,Minus:ch,Money:ph,Monitor:hh,Moon:gh,MoonNight:mh,More:_h,MoreFilled:yh,MostlyCloudy:Ch,Mouse:Eh,Mug:zh,Mute:Vh,MuteNotification:Bh,NoSmoking:kh,Notebook:Th,Notification:Ph,Odometer:Ih,OfficeBuilding:jh,Open:qh,Operation:$h,Opportunity:Kh,Orange:Jh,Paperclip:Zh,PartlyCloudy:Xh,Pear:tf,Phone:rf,PhoneFilled:of,Picture:lf,PictureFilled:af,PictureRounded:sf,PieChart:cf,Place:uf,Platform:pf,Plus:df,Pointer:hf,Position:ff,Postcard:mf,Pouring:vf,Present:gf,PriceTag:wf,Printer:yf,Promotion:bf,QuartzWatch:_f,QuestionFilled:xf,Rank:Cf,Reading:Ef,ReadingLamp:Mf,Refresh:Sf,RefreshLeft:Af,RefreshRight:zf,Refrigerator:Bf,Remove:Vf,RemoveFilled:Lf,Right:Hf,ScaleToOriginal:kf,School:Of,Scissor:Tf,Search:Rf,Select:Pf,Sell:Df,SemiSelect:If,Service:Ff,SetUp:jf,Setting:Nf,Share:qf,Ship:Uf,Shop:$f,ShoppingBag:Wf,ShoppingCart:Gf,ShoppingCartFull:Kf,ShoppingTrolley:Jf,Smoking:Yf,Soccer:Zf,SoldOut:Qf,Sort:tm,SortDown:Xf,SortUp:em,Stamp:nm,Star:rm,StarFilled:om,Stopwatch:am,SuccessFilled:sm,Sugar:lm,Suitcase:cm,SuitcaseLine:im,Sunny:um,Sunrise:pm,Sunset:dm,Switch:mm,SwitchButton:hm,SwitchFilled:fm,TakeawayBox:vm,Ticket:gm,Tickets:wm,Timer:ym,ToiletPaper:bm,Tools:_m,Top:Mm,TopLeft:xm,TopRight:Cm,TrendCharts:Em,Trophy:zm,TrophyBase:Am,TurnOff:Sm,Umbrella:Bm,Unlock:Lm,Upload:Hm,UploadFilled:Vm,User:Om,UserFilled:km,Van:Tm,VideoCamera:Pm,VideoCameraFilled:Rm,VideoPause:Dm,VideoPlay:Im,View:Fm,Wallet:Nm,WalletFilled:jm,WarnTriangleFilled:qm,Warning:$m,WarningFilled:Um,Watch:Wm,Watermelon:Km,WindPower:Gm,ZoomIn:Jm,ZoomOut:Ym},Symbol.toStringTag,{value:"Module"})),Qm={install:e=>{(e=>{for(const t in Zm)e.component(t,Zm[t]);e.config.globalProperties.$GIN_VUE_ADMIN=Js})(e),console.log("\n 欢迎使用 Gin-Vue-Admin\n 当前版本:v2.5.7\n 加群方式:微信:shouzi_1994 QQ群:622360840\n GVA讨论社区:https://support.qq.com/products/371961\n 插件市场:https://plugin.gin-vue-admin.com\n 默认自动化文档地址:http://127.0.0.1:".concat("8888","/swagger/index.html\n 默认前端文件运行地址:http://127.0.0.1:").concat("8080","\n 如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/coffee/index.html\n "))}},Xm={},ev=function(e,t,n){if(!t||0===t.length)return e();const o=document.getElementsByTagName("link");return Promise.all(t.map((e=>{if(e=function(e,t){return new URL(e,t).href}(e,n),e in Xm)return;Xm[e]=!0;const t=e.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!n)for(let n=o.length-1;n>=0;n--){const r=o[n];if(r.href===e&&(!t||"stylesheet"===r.rel))return}else if(document.querySelector('link[href="'.concat(e,'"]').concat(r)))return;const a=document.createElement("link");return a.rel=t?"stylesheet":"modulepreload",t||(a.as="script",a.crossOrigin=""),a.href=e,document.head.appendChild(a),t?new Promise(((t,n)=>{a.addEventListener("load",t),a.addEventListener("error",(()=>n(new Error("Unable to preload CSS for ".concat(e)))))})):void 0}))).then((()=>e())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))},tv="undefined"!=typeof document;function nv(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const ov=Object.assign;function rv(e,t){const n={};for(const o in t){const r=t[o];n[o]=sv(r)?r.map(e):e(r)}return n}const av=()=>{},sv=Array.isArray,lv=/#/g,iv=/&/g,cv=/\//g,uv=/=/g,pv=/\?/g,dv=/\+/g,hv=/%5B/g,fv=/%5D/g,mv=/%5E/g,vv=/%60/g,gv=/%7B/g,wv=/%7C/g,yv=/%7D/g,bv=/%20/g;function _v(e){return encodeURI(""+e).replace(wv,"|").replace(hv,"[").replace(fv,"]")}function xv(e){return _v(e).replace(dv,"%2B").replace(bv,"+").replace(lv,"%23").replace(iv,"%26").replace(vv,"`").replace(gv,"{").replace(yv,"}").replace(mv,"^")}function Cv(e){return null==e?"":function(e){return _v(e).replace(lv,"%23").replace(pv,"%3F")}(e).replace(cv,"%2F")}function Mv(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Ev=/\/$/;function Av(e,t,n="/"){let o,r={},a="",s="";const l=t.indexOf("#");let i=t.indexOf("?");return l=0&&(i=-1),i>-1&&(o=t.slice(0,i),a=t.slice(i+1,l>-1?l:t.length),r=e(a)),l>-1&&(o=o||t.slice(0,l),s=t.slice(l,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let a,s,l=n.length-1;for(a=0;a1&&l--}return n.slice(0,l).join("/")+"/"+o.slice(a).join("/")}(null!=o?o:t,n),{fullPath:o+(a&&"?")+a+s,path:o,query:r,hash:Mv(s)}}function zv(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Sv(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Bv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Lv(e[n],t[n]))return!1;return!0}function Lv(e,t){return sv(e)?Vv(e,t):sv(t)?Vv(t,e):e===t}function Vv(e,t){return sv(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const Hv={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var kv,Ov,Tv,Rv;function Pv(e){if(!e)if(tv){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ev,"")}(Ov=kv||(kv={})).pop="pop",Ov.push="push",(Rv=Tv||(Tv={})).back="back",Rv.forward="forward",Rv.unknown="";const Dv=/^[^#]+#/;function Iv(e,t){return e.replace(Dv,"#")+t}const Fv=()=>({left:window.scrollX,top:window.scrollY});function jv(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Nv(e,t){return(history.state?history.state.position-t:-1)+e}const qv=new Map;function Uv(e,t){const{pathname:n,search:o,hash:r}=t,a=e.indexOf("#");if(a>-1){let t=r.includes(e.slice(a))?e.slice(a).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),zv(n,"")}return zv(n,e)+o+r}function $v(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Fv():null}}function Wv(e){const{history:t,location:n}=window,o={value:Uv(e,n)},r={value:t.state};function a(o,a,s){const l=e.indexOf("#"),i=l>-1?(n.host&&document.querySelector("base")?e:e.slice(l))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](a,"",i),r.value=a}catch(c){console.error(c),n[s?"replace":"assign"](i)}}return r.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=ov({},r.value,t.state,{forward:e,scroll:Fv()});a(s.current,s,!0),a(e,ov({},$v(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){a(e,ov({},t.state,$v(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Kv(e){const t=Wv(e=Pv(e)),n=function(e,t,n,o){let r=[],a=[],s=null;const l=({state:a})=>{const l=Uv(e,location),i=n.value,c=t.value;let u=0;if(a){if(n.value=l,t.value=a,s&&s===i)return void(s=null);u=c?a.position-c.position:0}else o(l);r.forEach((e=>{e(n.value,i,{delta:u,type:kv.pop,direction:u?u>0?Tv.forward:Tv.back:Tv.unknown})}))};function i(){const{history:e}=window;e.state&&e.replaceState(ov({},e.state,{scroll:Fv()}),"")}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",i,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return a.push(t),t},destroy:function(){for(const e of a)e();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",i)}}}(e,t.state,t.location,t.replace);const o=ov({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Iv.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Gv(e){return"string"==typeof e||"symbol"==typeof e}const Jv=Symbol("");var Yv,Zv;function Qv(e,t){return ov(new Error,{type:e,[Jv]:!0},t)}function Xv(e,t){return e instanceof Error&&Jv in e&&(null==t||!!(e.type&t))}(Zv=Yv||(Yv={}))[Zv.aborted=4]="aborted",Zv[Zv.cancelled=8]="cancelled",Zv[Zv.duplicated=16]="duplicated";const eg="[^/]+?",tg={sensitive:!1,strict:!1,start:!0,end:!0},ng=/[.+*?^${}()[\]/\\]/g;function og(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function rg(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const sg={type:0,value:""},lg=/[a-zA-Z0-9_]/;function ig(e,t,n){const o=function(e,t){const n=ov({},tg,t),o=[];let r=n.start?"^":"";const a=[];for(const i of e){const e=i.length?[]:[90];n.strict&&!i.length&&(r+="/");for(let t=0;t1&&("*"===l||"+"===l)&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),a.push({type:1,value:c,regexp:u,repeatable:"*"===l||"+"===l,optional:"*"===l||"?"===l})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;i{a(d)}:av}function a(e){if(Gv(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;rg(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(vg(t)&&0===rg(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!hg(e)&&o.set(e.record.name,e)}return t=mg({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,a,s,l={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw Qv(1,{location:e});s=r.record.name,l=ov(ug(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&ug(e.params,r.keys.map((e=>e.name)))),a=r.stringify(l)}else if(null!=e.path)a=e.path,r=n.find((e=>e.re.test(a))),r&&(l=r.parse(a),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw Qv(1,{location:e,currentLocation:t});s=r.record.name,l=ov({},t.params,e.params),a=r.stringify(l)}const i=[];let c=r;for(;c;)i.unshift(c.record),c=c.parent;return{name:s,path:a,params:l,matched:i,meta:fg(i)}},removeRoute:a,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function ug(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function pg(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:dg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function dg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function hg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function fg(e){return e.reduce(((e,t)=>ov(e,t.meta)),{})}function mg(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function vg({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gg(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&xv(e))):[o&&xv(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function yg(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=sv(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const bg=Symbol(""),_g=Symbol(""),xg=Symbol(""),Cg=Symbol(""),Mg=Symbol("");function Eg(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Ag(e,t,n,o,r,a=e=>e()){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((l,i)=>{const c=e=>{var a;!1===e?i(Qv(4,{from:n,to:t})):e instanceof Error?i(e):"string"==typeof(a=e)||a&&"object"==typeof a?i(Qv(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),l())},u=a((()=>e.call(o&&o.instances[r],t,n,c)));let p=Promise.resolve(u);e.length<3&&(p=p.then(c)),p.catch((e=>i(e)))}))}function zg(e,t,n,o,r=e=>e()){const a=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(nv(l)){const i=(l.__vccOpts||l)[t];i&&a.push(Ag(i,n,o,s,e,r))}else{let i=l();a.push((()=>i.then((a=>{if(!a)throw new Error("Couldn't resolve component \"".concat(e,'" at "').concat(s.path,'"'));const l=(i=a).__esModule||"Module"===i[Symbol.toStringTag]||i.default&&nv(i.default)?a.default:a;var i;s.mods[e]=a,s.components[e]=l;const c=(l.__vccOpts||l)[t];return c&&Ag(c,n,o,s,e,r)()}))))}}return a}function Sg(e){const t=Ko(xg),n=Ko(Cg),o=xa((()=>{const n=Bt(e.to);return t.resolve(n)})),r=xa((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],a=n.matched;if(!r||!a.length)return-1;const s=a.findIndex(Sv.bind(null,r));if(s>-1)return s;const l=Lg(e[t-2]);return t>1&&Lg(r)===l&&a[a.length-1].path!==l?a.findIndex(Sv.bind(null,e[t-2])):s})),a=xa((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!sv(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=xa((()=>r.value>-1&&r.value===n.matched.length-1&&Bv(n.params,o.value.params)));return{route:o,href:xa((()=>o.value.href)),isActive:a,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Bt(e.replace)?"replace":"push"](Bt(e.to)).catch(av):Promise.resolve()}}}const Bg=Pn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Sg,setup(e,{slots:t}){const n=dt(Sg(e)),{options:o}=Ko(xg),r=xa((()=>({[Vg(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Vg(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ca("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Lg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vg=(e,t,n)=>null!=e?e:null!=t?t:n,Hg=Pn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ko(Mg),r=xa((()=>e.route||o.value)),a=Ko(_g,0),s=xa((()=>{let e=Bt(a);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),l=xa((()=>r.value.matched[s.value]));Wo(_g,xa((()=>s.value+1))),Wo(bg,l),Wo(Mg,r);const i=Et();return wr((()=>[i.value,l.value,e.name]),(([e,t,n],[o,r,a])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Sv(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,a=e.name,s=l.value,c=s&&s.components[a];if(!c)return kg(n.default,{Component:c,route:o});const u=s.props[a],p=u?!0===u?o.params:"function"==typeof u?u(o):u:null,d=Ca(c,ov({},p,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[a]=null)},ref:i}));return kg(n.default,{Component:d,route:o})||d}}});function kg(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Og=Hg;function Tg(){return Ko(xg)}function Rg(e){return Ko(Cg)}const Pg=[{path:"/",redirect:"/login"},{path:"/init",name:"Init",component:()=>ev((()=>import("./087AC4D233B64EB0index2.js")),["./087AC4D233B64EB0index2.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0initdb.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index2.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0button.css"],import.meta.url)},{path:"/login",name:"Login",component:()=>ev((()=>import("./087AC4D233B64EB0index3.js")),["./087AC4D233B64EB0index3.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0initdb.js","./087AC4D233B64EB0bottomInfo.js","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url)},{path:"/:catchAll(.*)",meta:{closeTab:!0},component:()=>ev((()=>import("./087AC4D233B64EB0index4.js")),["./087AC4D233B64EB0index4.js","./087AC4D233B64EB0button.css"],import.meta.url)}],Dg=function(e){const t=cg(e.routes,e),n=e.parseQuery||gg,o=e.stringifyQuery||wg,r=e.history,a=Eg(),s=Eg(),l=Eg(),i=At(Hv);let c=Hv;tv&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=rv.bind(null,(e=>""+e)),p=rv.bind(null,Cv),d=rv.bind(null,Mv);function h(e,a){if(a=ov({},a||i.value),"string"==typeof e){const o=Av(n,e,a.path),s=t.resolve({path:o.path},a),l=r.createHref(o.fullPath);return ov(o,s,{params:d(s.params),hash:Mv(o.hash),redirectedFrom:void 0,href:l})}let s;if(null!=e.path)s=ov({},e,{path:Av(n,e.path,a.path).path});else{const t=ov({},e.params);for(const e in t)null==t[e]&&delete t[e];s=ov({},e,{params:p(t)}),a.params=p(a.params)}const l=t.resolve(s,a),c=e.hash||"";l.params=u(d(l.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ov({},e,{hash:(f=c,_v(f).replace(gv,"{").replace(yv,"}").replace(mv,"^")),path:l.path}));var f;const m=r.createHref(h);return ov({fullPath:h,hash:c,query:o===wg?yg(e.query):e.query||{}},l,{redirectedFrom:void 0,href:m})}function f(e){return"string"==typeof e?Av(n,e,i.value.path):ov({},e)}function m(e,t){if(c!==e)return Qv(8,{from:t,to:e})}function v(e){return w(e)}function g(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=f(o):{path:o},o.params={}),ov({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function w(e,t){const n=c=h(e),r=i.value,a=e.state,s=e.force,l=!0===e.replace,u=g(n);if(u)return w(ov(f(u),{state:"object"==typeof u?ov({},a,u.state):a,force:s,replace:l}),t||n);const p=n;let d;return p.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Sv(t.matched[o],n.matched[r])&&Bv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(d=Qv(16,{to:p,from:r}),V(r,r,!0,!1)),(d?Promise.resolve(d):_(p,r)).catch((e=>Xv(e)?Xv(e,2)?e:L(e):B(e,p,r))).then((e=>{if(e){if(Xv(e,2))return w(ov({replace:l},f(e.to),{state:"object"==typeof e.to?ov({},a,e.to.state):a,force:s}),t||p)}else e=C(p,r,!0,l,a);return x(p,r,e),e}))}function y(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=O.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function _(e,t){let n;const[o,r,l]=function(e,t){const n=[],o=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;sSv(e,a)))?o.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find((e=>Sv(e,l)))||r.push(l))}return[n,o,r]}(e,t);n=zg(o.reverse(),"beforeRouteLeave",e,t);for(const a of o)a.leaveGuards.forEach((o=>{n.push(Ag(o,e,t))}));const i=y.bind(null,e,t);return n.push(i),R(n).then((()=>{n=[];for(const o of a.list())n.push(Ag(o,e,t));return n.push(i),R(n)})).then((()=>{n=zg(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Ag(o,e,t))}));return n.push(i),R(n)})).then((()=>{n=[];for(const o of l)if(o.beforeEnter)if(sv(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ag(r,e,t));else n.push(Ag(o.beforeEnter,e,t));return n.push(i),R(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=zg(l,"beforeRouteEnter",e,t,b),n.push(i),R(n)))).then((()=>{n=[];for(const o of s.list())n.push(Ag(o,e,t));return n.push(i),R(n)})).catch((e=>Xv(e,8)?e:Promise.reject(e)))}function x(e,t,n){l.list().forEach((o=>b((()=>o(e,t,n)))))}function C(e,t,n,o,a){const s=m(e,t);if(s)return s;const l=t===Hv,c=tv?history.state:{};n&&(o||l?r.replace(e.fullPath,ov({scroll:l&&c&&c.scroll},a)):r.push(e.fullPath,a)),i.value=e,V(e,t,n,l),L()}let M;function E(){M||(M=r.listen(((e,t,n)=>{if(!T.listening)return;const o=h(e),a=g(o);if(a)return void w(ov(a,{replace:!0}),o).catch(av);c=o;const s=i.value;var l,u;tv&&(l=Nv(s.fullPath,n.delta),u=Fv(),qv.set(l,u)),_(o,s).catch((e=>Xv(e,12)?e:Xv(e,2)?(w(e.to,o).then((e=>{Xv(e,20)&&!n.delta&&n.type===kv.pop&&r.go(-1,!1)})).catch(av),Promise.reject()):(n.delta&&r.go(-n.delta,!1),B(e,o,s)))).then((e=>{(e=e||C(o,s,!1))&&(n.delta&&!Xv(e,8)?r.go(-n.delta,!1):n.type===kv.pop&&Xv(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(av)})))}let A,z=Eg(),S=Eg();function B(e,t,n){L(e);const o=S.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function L(e){return A||(A=!e,E(),z.list().forEach((([t,n])=>e?n(e):t())),z.reset()),e}function V(t,n,o,r){const{scrollBehavior:a}=e;if(!tv||!a)return Promise.resolve();const s=!o&&function(e){const t=qv.get(e);return qv.delete(e),t}(Nv(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Xt().then((()=>a(t,n,s))).then((e=>e&&jv(e))).catch((e=>B(e,t,n)))}const H=e=>r.go(e);let k;const O=new Set,T={currentRoute:i,listening:!0,addRoute:function(e,n){let o,r;return Gv(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:h,options:e,push:v,replace:function(e){return v(ov(f(e),{replace:!0}))},go:H,back:()=>H(-1),forward:()=>H(1),beforeEach:a.add,beforeResolve:s.add,afterEach:l.add,onError:S.add,isReady:function(){return A&&i.value!==Hv?Promise.resolve():new Promise(((e,t)=>{z.add([e,t])}))},install(e){e.component("RouterLink",Bg),e.component("RouterView",Og),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Bt(i)}),tv&&!k&&i.value===Hv&&(k=!0,v(r.location).catch((e=>{})));const t={};for(const o in Hv)Object.defineProperty(t,o,{get:()=>i.value[o],enumerable:!0});e.provide(xg,this),e.provide(Cg,ht(t)),e.provide(Mg,i);const n=e.unmount;O.add(e),e.unmount=function(){O.delete(e),O.size<1&&(c=Hv,M&&M(),M=null,i.value=Hv,k=!1,A=!1),n()}}};function R(e){return e.reduce(((e,t)=>e.then((()=>b(t)))),Promise.resolve())}return T}({history:((Ig=location.host?Ig||location.pathname+location.search:"").includes("#")||(Ig+="#"),Kv(Ig)),routes:Pg});var Ig;function Fg(e,t){return function(){return e.apply(t,arguments)}}const{toString:jg}=Object.prototype,{getPrototypeOf:Ng}=Object,qg=(Ug=Object.create(null),e=>{const t=jg.call(e);return Ug[t]||(Ug[t]=t.slice(8,-1).toLowerCase())});var Ug;const $g=e=>(e=e.toLowerCase(),t=>qg(t)===e),Wg=e=>t=>typeof t===e,{isArray:Kg}=Array,Gg=Wg("undefined");const Jg=$g("ArrayBuffer");const Yg=Wg("string"),Zg=Wg("function"),Qg=Wg("number"),Xg=e=>null!==e&&"object"==typeof e,ew=e=>{if("object"!==qg(e))return!1;const t=Ng(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},tw=$g("Date"),nw=$g("File"),ow=$g("Blob"),rw=$g("FileList"),aw=$g("URLSearchParams"),[sw,lw,iw,cw]=["ReadableStream","Request","Response","Headers"].map($g);function uw(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,r;if("object"!=typeof e&&(e=[e]),Kg(e))for(o=0,r=e.length;o0;)if(o=n[r],t===o.toLowerCase())return o;return null}const dw="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,hw=e=>!Gg(e)&&e!==dw;const fw=(mw="undefined"!=typeof Uint8Array&&Ng(Uint8Array),e=>mw&&e instanceof mw);var mw;const vw=$g("HTMLFormElement"),gw=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ww=$g("RegExp"),yw=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};uw(n,((n,r)=>{let a;!1!==(a=t(n,r,e))&&(o[r]=a||n)})),Object.defineProperties(e,o)},bw="abcdefghijklmnopqrstuvwxyz",_w="0123456789",xw={DIGIT:_w,ALPHA:bw,ALPHA_DIGIT:bw+bw.toUpperCase()+_w};const Cw=$g("AsyncFunction"),Mw=(Ew="function"==typeof setImmediate,Aw=Zg(dw.postMessage),Ew?setImmediate:Aw?(zw="axios@".concat(Math.random()),Sw=[],dw.addEventListener("message",(({source:e,data:t})=>{e===dw&&t===zw&&Sw.length&&Sw.shift()()}),!1),e=>{Sw.push(e),dw.postMessage(zw,"*")}):e=>setTimeout(e));var Ew,Aw,zw,Sw;const Bw="undefined"!=typeof queueMicrotask?queueMicrotask.bind(dw):"undefined"!=typeof process&&process.nextTick||Mw,Lw={isArray:Kg,isArrayBuffer:Jg,isBuffer:function(e){return null!==e&&!Gg(e)&&null!==e.constructor&&!Gg(e.constructor)&&Zg(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Zg(e.append)&&("formdata"===(t=qg(e))||"object"===t&&Zg(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Jg(e.buffer),t},isString:Yg,isNumber:Qg,isBoolean:e=>!0===e||!1===e,isObject:Xg,isPlainObject:ew,isReadableStream:sw,isRequest:lw,isResponse:iw,isHeaders:cw,isUndefined:Gg,isDate:tw,isFile:nw,isBlob:ow,isRegExp:ww,isFunction:Zg,isStream:e=>Xg(e)&&Zg(e.pipe),isURLSearchParams:aw,isTypedArray:fw,isFileList:rw,forEach:uw,merge:function e(){const{caseless:t}=hw(this)&&this||{},n={},o=(o,r)=>{const a=t&&pw(n,r)||r;ew(n[a])&&ew(o)?n[a]=e(n[a],o):ew(o)?n[a]=e({},o):Kg(o)?n[a]=o.slice():n[a]=o};for(let r=0,a=arguments.length;r(uw(t,((t,o)=>{n&&Zg(t)?e[o]=Fg(t,n):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let r,a,s;const l={};if(t=t||{},null==e)return t;do{for(r=Object.getOwnPropertyNames(e),a=r.length;a-- >0;)s=r[a],o&&!o(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&&Ng(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:qg,kindOfTest:$g,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},toArray:e=>{if(!e)return null;if(Kg(e))return e;let t=e.length;if(!Qg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm:vw,hasOwnProperty:gw,hasOwnProp:gw,reduceDescriptors:yw,freezeMethods:e=>{yw(e,((t,n)=>{if(Zg(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];Zg(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return Kg(e)?o(e):o(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:pw,global:dw,isContextDefined:hw,ALPHABET:xw,generateString:(e=16,t=xw.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n},isSpecCompliantForm:function(e){return!!(e&&Zg(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,o)=>{if(Xg(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const r=Kg(e)?[]:{};return uw(e,((e,t)=>{const a=n(e,o+1);!Gg(a)&&(r[t]=a)})),t[o]=void 0,r}}return e};return n(e,0)},isAsyncFn:Cw,isThenable:e=>e&&(Xg(e)||Zg(e))&&Zg(e.then)&&Zg(e.catch),setImmediate:Mw,asap:Bw};function Vw(e,t,n,o,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r,this.status=r.status?r.status:null)}Lw.inherits(Vw,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Lw.toJSONObject(this.config),code:this.code,status:this.status}}});const Hw=Vw.prototype,kw={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{kw[e]={value:e}})),Object.defineProperties(Vw,kw),Object.defineProperty(Hw,"isAxiosError",{value:!0}),Vw.from=(e,t,n,o,r,a)=>{const s=Object.create(Hw);return Lw.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Vw.call(s,e.message,t,n,o,r),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};function Ow(e){return Lw.isPlainObject(e)||Lw.isArray(e)}function Tw(e){return Lw.endsWith(e,"[]")?e.slice(0,-2):e}function Rw(e,t,n){return e?e.concat(t).map((function(e,t){return e=Tw(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Pw=Lw.toFlatObject(Lw,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Dw(e,t,n){if(!Lw.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const o=(n=Lw.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Lw.isUndefined(t[e])}))).metaTokens,r=n.visitor||c,a=n.dots,s=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Lw.isSpecCompliantForm(t);if(!Lw.isFunction(r))throw new TypeError("visitor must be a function");function i(e){if(null===e)return"";if(Lw.isDate(e))return e.toISOString();if(!l&&Lw.isBlob(e))throw new Vw("Blob is not supported. Use a Buffer instead.");return Lw.isArrayBuffer(e)||Lw.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,r){let l=e;if(e&&!r&&"object"==typeof e)if(Lw.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(Lw.isArray(e)&&function(e){return Lw.isArray(e)&&!e.some(Ow)}(e)||(Lw.isFileList(e)||Lw.endsWith(n,"[]"))&&(l=Lw.toArray(e)))return n=Tw(n),l.forEach((function(e,o){!Lw.isUndefined(e)&&null!==e&&t.append(!0===s?Rw([n],o,a):null===s?n:n+"[]",i(e))})),!1;return!!Ow(e)||(t.append(Rw(r,n,a),i(e)),!1)}const u=[],p=Object.assign(Pw,{defaultVisitor:c,convertValue:i,isVisitable:Ow});if(!Lw.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!Lw.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+o.join("."));u.push(n),Lw.forEach(n,(function(n,a){!0===(!(Lw.isUndefined(n)||null===n)&&r.call(t,n,Lw.isString(a)?a.trim():a,o,p))&&e(n,o?o.concat(a):[a])})),u.pop()}}(e),t}function Iw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Fw(e,t){this._pairs=[],e&&Dw(e,this,t)}const jw=Fw.prototype;function Nw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qw(e,t,n){if(!t)return e;const o=n&&n.encode||Nw,r=n&&n.serialize;let a;if(a=r?r(t,n):Lw.isURLSearchParams(t)?t.toString():new Fw(t,n).toString(o),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}jw.append=function(e,t){this._pairs.push([e,t])},jw.toString=function(e){const t=e?function(t){return e.call(this,t,Iw)}:Iw;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Uw=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Lw.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},$w={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ww={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Fw,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Kw="undefined"!=typeof window&&"undefined"!=typeof document,Gw="object"==typeof navigator&&navigator||void 0,Jw=Kw&&(!Gw||["ReactNative","NativeScript","NS"].indexOf(Gw.product)<0),Yw="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Zw=Kw&&window.location.href||"http://localhost",Qw={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Kw,hasStandardBrowserEnv:Jw,hasStandardBrowserWebWorkerEnv:Yw,navigator:Gw,origin:Zw},Symbol.toStringTag,{value:"Module"})),...Ww};function Xw(e){function t(e,n,o,r){let a=e[r++];if("__proto__"===a)return!0;const s=Number.isFinite(+a),l=r>=e.length;if(a=!a&&Lw.isArray(o)?o.length:a,l)return Lw.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!s;o[a]&&Lw.isObject(o[a])||(o[a]=[]);return t(e,n,o[a],r)&&Lw.isArray(o[a])&&(o[a]=function(e){const t={},n=Object.keys(e);let o;const r=n.length;let a;for(o=0;o{t(function(e){return Lw.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,n,0)})),n}return null}const ey={transitional:$w,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,r=Lw.isObject(e);r&&Lw.isHTMLForm(e)&&(e=new FormData(e));if(Lw.isFormData(e))return o?JSON.stringify(Xw(e)):e;if(Lw.isArrayBuffer(e)||Lw.isBuffer(e)||Lw.isStream(e)||Lw.isFile(e)||Lw.isBlob(e)||Lw.isReadableStream(e))return e;if(Lw.isArrayBufferView(e))return e.buffer;if(Lw.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Dw(e,new Qw.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return Qw.isNode&&Lw.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=Lw.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Dw(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return r||o?(t.setContentType("application/json",!1),function(e,t,n){if(Lw.isString(e))try{return(t||JSON.parse)(e),Lw.trim(e)}catch(Lz){if("SyntaxError"!==Lz.name)throw Lz}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ey.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(Lw.isResponse(e)||Lw.isReadableStream(e))return e;if(e&&Lw.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(Lz){if(n){if("SyntaxError"===Lz.name)throw Vw.from(Lz,Vw.ERR_BAD_RESPONSE,this,null,this.response);throw Lz}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qw.classes.FormData,Blob:Qw.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Lw.forEach(["delete","get","head","post","put","patch"],(e=>{ey.headers[e]={}}));const ty=ey,ny=Lw.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),oy=Symbol("internals");function ry(e){return e&&String(e).trim().toLowerCase()}function ay(e){return!1===e||null==e?e:Lw.isArray(e)?e.map(ay):String(e)}function sy(e,t,n,o,r){return Lw.isFunction(o)?o.call(this,t,n):(r&&(t=n),Lw.isString(t)?Lw.isString(o)?-1!==t.indexOf(o):Lw.isRegExp(o)?o.test(t):void 0:void 0)}class ly{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=ry(t);if(!r)throw new Error("header name must be a non-empty string");const a=Lw.findKey(o,r);(!a||void 0===o[a]||!0===n||void 0===n&&!1!==o[a])&&(o[a||t]=ay(e))}const a=(e,t)=>Lw.forEach(e,((e,n)=>r(e,n,t)));if(Lw.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Lw.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let n,o,r;return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),o=e.substring(r+1).trim(),!n||t[n]&&ny[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t})(e),t);else if(Lw.isHeaders(e))for(const[s,l]of e.entries())r(l,s,n);else null!=e&&r(t,e,n);return this}get(e,t){if(e=ry(e)){const n=Lw.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(Lw.isFunction(t))return t.call(this,e,n);if(Lw.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ry(e)){const n=Lw.findKey(this,e);return!(!n||void 0===this[n]||t&&!sy(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function r(e){if(e=ry(e)){const r=Lw.findKey(n,e);!r||t&&!sy(0,n[r],r,t)||(delete n[r],o=!0)}}return Lw.isArray(e)?e.forEach(r):r(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;for(;n--;){const r=t[n];e&&!sy(0,this[r],r,e,!0)||(delete this[r],o=!0)}return o}normalize(e){const t=this,n={};return Lw.forEach(this,((o,r)=>{const a=Lw.findKey(n,r);if(a)return t[a]=ay(o),void delete t[r];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(r):String(r).trim();s!==r&&delete t[r],t[s]=ay(o),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Lw.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&Lw.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[oy]=this[oy]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=ry(e);t[o]||(!function(e,t){const n=Lw.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:!0})}))}(n,e),t[o]=!0)}return Lw.isArray(e)?e.forEach(o):o(e),this}}ly.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Lw.reduceDescriptors(ly.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Lw.freezeMethods(ly);const iy=ly;function cy(e,t){const n=this||ty,o=t||n,r=iy.from(o.headers);let a=o.data;return Lw.forEach(e,(function(e){a=e.call(n,a,r.normalize(),t?t.status:void 0)})),r.normalize(),a}function uy(e){return!(!e||!e.__CANCEL__)}function py(e,t,n){Vw.call(this,null==e?"canceled":e,Vw.ERR_CANCELED,t,n),this.name="CanceledError"}function dy(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new Vw("Request failed with status code "+n.status,[Vw.ERR_BAD_REQUEST,Vw.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Lw.inherits(py,Vw,{__CANCEL__:!0});const hy=(e,t,n=3)=>{let o=0;const r=function(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r,a=0,s=0;return t=void 0!==t?t:1e3,function(l){const i=Date.now(),c=o[s];r||(r=i),n[a]=l,o[a]=i;let u=s,p=0;for(;u!==a;)p+=n[u++],u%=e;if(a=(a+1)%e,a===s&&(s=(s+1)%e),i-r{r=a,n=null,o&&(clearTimeout(o),o=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),l=t-r;l>=a?s(e,t):(n=e,o||(o=setTimeout((()=>{o=null,s(n)}),a-l)))},()=>n&&s(n)]}((n=>{const a=n.loaded,s=n.lengthComputable?n.total:void 0,l=a-o,i=r(l);o=a;e({loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:i||void 0,estimated:i&&s&&a<=s?(s-a)/i:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},fy=(e,t)=>{const n=null!=e;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},my=e=>(...t)=>Lw.asap((()=>e(...t))),vy=Qw.hasStandardBrowserEnv?function(){const e=Qw.navigator&&/(msie|trident)/i.test(Qw.navigator.userAgent),t=document.createElement("a");let n;function o(n){let o=n;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=o(window.location.href),function(e){const t=Lw.isString(e)?o(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},gy=Qw.hasStandardBrowserEnv?{write(e,t,n,o,r,a){const s=[e+"="+encodeURIComponent(t)];Lw.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Lw.isString(o)&&s.push("path="+o),Lw.isString(r)&&s.push("domain="+r),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function wy(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const yy=e=>e instanceof iy?{...e}:e;function by(e,t){t=t||{};const n={};function o(e,t,n){return Lw.isPlainObject(e)&&Lw.isPlainObject(t)?Lw.merge.call({caseless:n},e,t):Lw.isPlainObject(t)?Lw.merge({},t):Lw.isArray(t)?t.slice():t}function r(e,t,n){return Lw.isUndefined(t)?Lw.isUndefined(e)?void 0:o(void 0,e,n):o(e,t,n)}function a(e,t){if(!Lw.isUndefined(t))return o(void 0,t)}function s(e,t){return Lw.isUndefined(t)?Lw.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function l(n,r,a){return a in t?o(n,r):a in e?o(void 0,n):void 0}const i={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(e,t)=>r(yy(e),yy(t),!0)};return Lw.forEach(Object.keys(Object.assign({},e,t)),(function(o){const a=i[o]||r,s=a(e[o],t[o],o);Lw.isUndefined(s)&&a!==l||(n[o]=s)})),n}const _y=e=>{const t=by({},e);let n,{data:o,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:s,headers:l,auth:i}=t;if(t.headers=l=iy.from(l),t.url=qw(wy(t.baseURL,t.url),e.params,e.paramsSerializer),i&&l.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):""))),Lw.isFormData(o))if(Qw.hasStandardBrowserEnv||Qw.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(n=l.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];l.setContentType([e||"multipart/form-data",...t].join("; "))}if(Qw.hasStandardBrowserEnv&&(r&&Lw.isFunction(r)&&(r=r(t)),r||!1!==r&&vy(t.url))){const e=a&&s&&gy.read(s);e&&l.set(a,e)}return t},xy="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const o=_y(e);let r=o.data;const a=iy.from(o.headers).normalize();let s,l,i,c,u,{responseType:p,onUploadProgress:d,onDownloadProgress:h}=o;function f(){c&&c(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(s),o.signal&&o.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function v(){if(!m)return;const o=iy.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());dy((function(e){t(e),f()}),(function(e){n(e),f()}),{data:p&&"text"!==p&&"json"!==p?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:o,config:e,request:m}),m=null}m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(v)},m.onabort=function(){m&&(n(new Vw("Request aborted",Vw.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Vw("Network Error",Vw.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const r=o.transitional||$w;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),n(new Vw(t,r.clarifyTimeoutError?Vw.ETIMEDOUT:Vw.ECONNABORTED,e,m)),m=null},void 0===r&&a.setContentType(null),"setRequestHeader"in m&&Lw.forEach(a.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),Lw.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),p&&"json"!==p&&(m.responseType=o.responseType),h&&([i,u]=hy(h,!0),m.addEventListener("progress",i)),d&&m.upload&&([l,c]=hy(d),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",c)),(o.cancelToken||o.signal)&&(s=t=>{m&&(n(!t||t.type?new py(null,e,m):t),m.abort(),m=null)},o.cancelToken&&o.cancelToken.subscribe(s),o.signal&&(o.signal.aborted?s():o.signal.addEventListener("abort",s)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(o.url);g&&-1===Qw.protocols.indexOf(g)?n(new Vw("Unsupported protocol "+g+":",Vw.ERR_BAD_REQUEST,e)):m.send(r||null)}))},Cy=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,o=new AbortController;const r=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;o.abort(t instanceof Vw?t:new py(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,r(new Vw("timeout ".concat(t," of ms exceeded"),Vw.ETIMEDOUT))}),t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)})),e=null)};e.forEach((e=>e.addEventListener("abort",r)));const{signal:l}=o;return l.unsubscribe=()=>Lw.asap(s),l}},My=function*(e,t){let n=e.byteLength;if(!t||n{const r=async function*(e,t){for await(const n of Ey(e))yield*My(n,t)}(e,t);let a,s=0,l=e=>{a||(a=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t)return l(),void e.close();let a=o.byteLength;if(n){let e=s+=a;n(e)}e.enqueue(new Uint8Array(o))}catch(t){throw l(t),t}},cancel:e=>(l(e),r.return())},{highWaterMark:2})},zy="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Sy=zy&&"function"==typeof ReadableStream,By=zy&&("function"==typeof TextEncoder?(Ly=new TextEncoder,e=>Ly.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Ly;const Vy=(e,...t)=>{try{return!!e(...t)}catch(Lz){return!1}},Hy=Sy&&Vy((()=>{let e=!1;const t=new Request(Qw.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),ky=Sy&&Vy((()=>Lw.isReadableStream(new Response("").body))),Oy={stream:ky&&(e=>e.body)};var Ty;zy&&(Ty=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Oy[e]&&(Oy[e]=Lw.isFunction(Ty[e])?t=>t[e]():(t,n)=>{throw new Vw("Response type '".concat(e,"' is not supported"),Vw.ERR_NOT_SUPPORT,n)})})));const Ry=async(e,t)=>{const n=Lw.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Lw.isBlob(e))return e.size;if(Lw.isSpecCompliantForm(e)){const t=new Request(Qw.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Lw.isArrayBufferView(e)||Lw.isArrayBuffer(e)?e.byteLength:(Lw.isURLSearchParams(e)&&(e+=""),Lw.isString(e)?(await By(e)).byteLength:void 0)})(t):n},Py={http:null,xhr:xy,fetch:zy&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:a,timeout:s,onDownloadProgress:l,onUploadProgress:i,responseType:c,headers:u,withCredentials:p="same-origin",fetchOptions:d}=_y(e);c=c?(c+"").toLowerCase():"text";let h,f=Cy([r,a&&a.toAbortSignal()],s);const m=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let v;try{if(i&&Hy&&"get"!==n&&"head"!==n&&0!==(v=await Ry(u,o))){let e,n=new Request(t,{method:"POST",body:o,duplex:"half"});if(Lw.isFormData(o)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=fy(v,hy(my(i)));o=Ay(n.body,65536,e,t)}}Lw.isString(p)||(p=p?"include":"omit");const r="credentials"in Request.prototype;h=new Request(t,{...d,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:r?p:void 0});let a=await fetch(h);const s=ky&&("stream"===c||"response"===c);if(ky&&(l||s&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=Lw.toFiniteNumber(a.headers.get("content-length")),[n,o]=l&&fy(t,hy(my(l),!0))||[];a=new Response(Ay(a.body,65536,n,(()=>{o&&o(),m&&m()})),e)}c=c||"text";let g=await Oy[Lw.findKey(Oy,c)||"text"](a,e);return!s&&m&&m(),await new Promise(((t,n)=>{dy(t,n,{data:g,headers:iy.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:h})}))}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/fetch/i.test(g.message))throw Object.assign(new Vw("Network Error",Vw.ERR_NETWORK,e,h),{cause:g.cause||g});throw Vw.from(g,g&&g.code,e,h)}})};Lw.forEach(Py,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(Lz){}Object.defineProperty(e,"adapterName",{value:t})}}));const Dy=e=>"- ".concat(e),Iy=e=>Lw.isFunction(e)||null===e||!1===e,Fy=e=>{e=Lw.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let a=0;a"adapter ".concat(e," ")+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Vw("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Dy).join("\n"):" "+Dy(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function jy(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new py(null,e)}function Ny(e){jy(e),e.headers=iy.from(e.headers),e.data=cy.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Fy(e.adapter||ty.adapter)(e).then((function(t){return jy(e),t.data=cy.call(e,e.transformResponse,t),t.headers=iy.from(t.headers),t}),(function(t){return uy(t)||(jy(e),t&&t.response&&(t.response.data=cy.call(e,e.transformResponse,t.response),t.response.headers=iy.from(t.response.headers))),Promise.reject(t)}))}const qy="1.7.7",Uy={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Uy[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const $y={};Uy.transitional=function(e,t,n){function o(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,a)=>{if(!1===e)throw new Vw(o(r," has been removed"+(t?" in "+t:"")),Vw.ERR_DEPRECATED);return t&&!$y[r]&&($y[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}};const Wy={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Vw("options must be an object",Vw.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const a=o[r],s=t[a];if(s){const t=e[a],n=void 0===t||s(t,a,e);if(!0!==n)throw new Vw("option "+a+" must be "+n,Vw.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Vw("Unknown option "+a,Vw.ERR_BAD_OPTION)}},validators:Uy},Ky=Wy.validators;class Gy{constructor(e){this.defaults=e,this.interceptors={request:new Uw,response:new Uw}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(Lz){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=by(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;void 0!==n&&Wy.assertOptions(n,{silentJSONParsing:Ky.transitional(Ky.boolean),forcedJSONParsing:Ky.transitional(Ky.boolean),clarifyTimeoutError:Ky.transitional(Ky.boolean)},!1),null!=o&&(Lw.isFunction(o)?t.paramsSerializer={serialize:o}:Wy.assertOptions(o,{encode:Ky.function,serialize:Ky.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=r&&Lw.merge(r.common,r[t.method]);r&&Lw.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]})),t.headers=iy.concat(a,r);const s=[];let l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const i=[];let c;this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)}));let u,p=0;if(!l){const e=[Ny.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,i),u=e.length,c=Promise.resolve(t);p{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,r){n.reason||(n.reason=new py(e,o,r),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Yy((function(t){e=t})),cancel:e}}}const Zy=Yy;const Qy={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Qy).forEach((([e,t])=>{Qy[t]=e}));const Xy=Qy;const eb=function e(t){const n=new Jy(t),o=Fg(Jy.prototype.request,n);return Lw.extend(o,Jy.prototype,n,{allOwnKeys:!0}),Lw.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(by(t,n))},o}(ty);eb.Axios=Jy,eb.CanceledError=py,eb.CancelToken=Zy,eb.isCancel=uy,eb.VERSION=qy,eb.toFormData=Dw,eb.AxiosError=Vw,eb.Cancel=eb.CanceledError,eb.all=function(e){return Promise.all(e)},eb.spread=function(e){return function(t){return e.apply(null,t)}},eb.isAxiosError=function(e){return Lw.isObject(e)&&!0===e.isAxiosError},eb.mergeConfig=by,eb.AxiosHeaders=iy,eb.formToJSON=e=>Xw(Lw.isHTMLForm(e)?new FormData(e):e),eb.getAdapter=Fy,eb.HttpStatusCode=Xy,eb.default=eb;const tb=eb,nb=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter((e=>ob(e)&&(e=>"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent)(e))),ob=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},rb=function(e,t,...n){let o;o=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e},ab=e=>!e.getAttribute("aria-owns"),sb=(e,t,n)=>{const{parentNode:o}=e;if(!o)return null;const r=o.querySelectorAll(n);return r[Array.prototype.indexOf.call(r,e)+t]||null},lb=e=>{e&&(e.focus(),!ab(e)&&e.click())};var ib,cb=Object.defineProperty,ub=Object.defineProperties,pb=Object.getOwnPropertyDescriptors,db=Object.getOwnPropertySymbols,hb=Object.prototype.hasOwnProperty,fb=Object.prototype.propertyIsEnumerable,mb=(e,t,n)=>t in e?cb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function vb(e,t){var n;const o=At();var r,a;return gr((()=>{o.value=e()}),(r=((e,t)=>{for(var n in t||(t={}))hb.call(t,n)&&mb(e,n,t[n]);if(db)for(var n of db(t))fb.call(t,n)&&mb(e,n,t[n]);return e})({},t),a={flush:null!=(n=null==t?void 0:t.flush)?n:"sync"},ub(r,pb(a)))),ft(o)}const gb="undefined"!=typeof window,wb=()=>{},yb=gb&&(null==(ib=null==window?void 0:window.navigator)?void 0:ib.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function bb(e){return"function"==typeof e?e():Bt(e)}function _b(e,t){return function(...n){return new Promise(((o,r)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(o).catch(r)}))}}function xb(e){return!!ae()&&(se(e),!0)}function Cb(e,t=200,n={}){return _b(function(e,t={}){let n,o,r=wb;const a=e=>{clearTimeout(e),r(),r=wb};return s=>{const l=bb(e),i=bb(t.maxWait);return n&&a(n),l<=0||void 0!==i&&i<=0?(o&&(a(o),o=null),Promise.resolve(s())):new Promise(((e,c)=>{r=t.rejectOnCancel?c:e,i&&!o&&(o=setTimeout((()=>{n&&a(n),o=null,e(s())}),i)),n=setTimeout((()=>{o&&a(o),o=null,e(s())}),l)}))}}(t,n),e)}function Mb(e,t=200,n={}){const o=Et(e.value),r=Cb((()=>{o.value=e.value}),t,n);return wr(e,(()=>r())),o}function Eb(e,t=200,n=!1,o=!0,r=!1){return _b(function(e,t=!0,n=!0,o=!1){let r,a,s=0,l=!0,i=wb;const c=()=>{r&&(clearTimeout(r),r=void 0,i(),i=wb)};return u=>{const p=bb(e),d=Date.now()-s,h=()=>a=u();return c(),p<=0?(s=Date.now(),h()):(d>p&&(n||!l)?(s=Date.now(),h()):t&&(a=new Promise(((e,t)=>{i=o?t:e,r=setTimeout((()=>{s=Date.now(),l=!0,e(h()),c()}),Math.max(0,p-d))}))),n||r||(r=setTimeout((()=>l=!0),p)),l=!1,a)}}(t,n,o,r),e)}function Ab(e,t,n={}){const{immediate:o=!0}=n,r=Et(!1);let a=null;function s(){a&&(clearTimeout(a),a=null)}function l(){r.value=!1,s()}function i(...n){s(),r.value=!0,a=setTimeout((()=>{r.value=!1,a=null,e(...n)}),bb(t))}return o&&(r.value=!0,gb&&i()),xb(l),{isPending:ft(r),start:i,stop:l}}function zb(e){var t;const n=bb(e);return null!=(t=null==n?void 0:n.$el)?t:n}const Sb=gb?window:void 0,Bb=gb?window.document:void 0;function Lb(...e){let t,n,o,r;if("string"==typeof e[0]||Array.isArray(e[0])?([n,o,r]=e,t=Sb):[t,n,o,r]=e,!t)return wb;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],s=()=>{a.forEach((e=>e())),a.length=0},l=wr((()=>[zb(t),bb(r)]),(([e,t])=>{s(),e&&a.push(...n.flatMap((n=>o.map((o=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,n,o,t))))))}),{immediate:!0,flush:"post"}),i=()=>{l(),s()};return xb(i),i}let Vb=!1;function Hb(e,t,n={}){const{window:o=Sb,ignore:r=[],capture:a=!0,detectIframe:s=!1}=n;if(!o)return;yb&&!Vb&&(Vb=!0,Array.from(o.document.body.children).forEach((e=>e.addEventListener("click",wb))));let l=!0;const i=e=>r.some((t=>{if("string"==typeof t)return Array.from(o.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const n=zb(t);return n&&(e.target===n||e.composedPath().includes(n))}})),c=[Lb(o,"click",(n=>{const o=zb(e);o&&o!==n.target&&!n.composedPath().includes(o)&&(0===n.detail&&(l=!i(n)),l?t(n):l=!0)}),{passive:!0,capture:a}),Lb(o,"pointerdown",(t=>{const n=zb(e);n&&(l=!t.composedPath().includes(n)&&!i(t))}),{passive:!0}),s&&Lb(o,"blur",(n=>{var r;const a=zb(e);"IFRAME"!==(null==(r=o.document.activeElement)?void 0:r.tagName)||(null==a?void 0:a.contains(o.document.activeElement))||t(n)}))].filter(Boolean);return()=>c.forEach((e=>e()))}function kb(e,t=!1){const n=Et(),o=()=>n.value=Boolean(e());return o(),function(e,t=!0){ia()?eo(e):t?e():Xt(e)}(o,t),n}const Ob="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Tb="__vueuse_ssr_handlers__";function Rb(e,t,{window:n=Sb,initialValue:o=""}={}){const r=Et(o),a=xa((()=>{var e;return zb(t)||(null==(e=null==n?void 0:n.document)?void 0:e.documentElement)}));return wr([a,()=>bb(e)],(([e,t])=>{var a;if(e&&n){const s=null==(a=n.getComputedStyle(e).getPropertyValue(t))?void 0:a.trim();r.value=s||o}}),{immediate:!0}),wr(r,(t=>{var n;(null==(n=a.value)?void 0:n.style)&&a.value.style.setProperty(bb(e),t)})),r}function Pb({document:e=Bb}={}){if(!e)return Et("visible");const t=Et(e.visibilityState);return Lb(e,"visibilitychange",(()=>{t.value=e.visibilityState})),t}Ob[Tb]=Ob[Tb]||{};var Db=Object.getOwnPropertySymbols,Ib=Object.prototype.hasOwnProperty,Fb=Object.prototype.propertyIsEnumerable;function jb(e,t,n={}){const o=n,{window:r=Sb}=o,a=((e,t)=>{var n={};for(var o in e)Ib.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&Db)for(var o of Db(e))t.indexOf(o)<0&&Fb.call(e,o)&&(n[o]=e[o]);return n})(o,["window"]);let s;const l=kb((()=>r&&"ResizeObserver"in r)),i=()=>{s&&(s.disconnect(),s=void 0)},c=wr((()=>zb(e)),(e=>{i(),l.value&&r&&e&&(s=new ResizeObserver(t),s.observe(e,a))}),{immediate:!0,flush:"post"}),u=()=>{i(),c()};return xb(u),{isSupported:l,stop:u}}var Nb,qb,Ub=Object.getOwnPropertySymbols,$b=Object.prototype.hasOwnProperty,Wb=Object.prototype.propertyIsEnumerable;function Kb(e,t,n={}){const o=n,{window:r=Sb}=o,a=((e,t)=>{var n={};for(var o in e)$b.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&Ub)for(var o of Ub(e))t.indexOf(o)<0&&Wb.call(e,o)&&(n[o]=e[o]);return n})(o,["window"]);let s;const l=kb((()=>r&&"MutationObserver"in r)),i=()=>{s&&(s.disconnect(),s=void 0)},c=wr((()=>zb(e)),(e=>{i(),l.value&&r&&e&&(s=new MutationObserver(t),s.observe(e,a))}),{immediate:!0}),u=()=>{i(),c()};return xb(u),{isSupported:l,stop:u}}(qb=Nb||(Nb={})).UP="UP",qb.RIGHT="RIGHT",qb.DOWN="DOWN",qb.LEFT="LEFT",qb.NONE="NONE";var Gb=Object.defineProperty,Jb=Object.getOwnPropertySymbols,Yb=Object.prototype.hasOwnProperty,Zb=Object.prototype.propertyIsEnumerable,Qb=(e,t,n)=>t in e?Gb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function Xb(e,t,n,o={}){var r,a,s;const{clone:l=!1,passive:i=!1,eventName:c,deep:u=!1,defaultValue:p}=o,d=ia(),h=n||(null==d?void 0:d.emit)||(null==(r=null==d?void 0:d.$emit)?void 0:r.bind(d))||(null==(s=null==(a=null==d?void 0:d.proxy)?void 0:a.$emit)?void 0:s.bind(null==d?void 0:d.proxy));let f=c;t||(t="modelValue"),f=c||f||"update:".concat(t.toString());const m=e=>{return l?(e=>"function"==typeof e)(l)?l(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},v=()=>void 0!==e[t]?m(e[t]):p;if(i){const n=Et(v());return wr((()=>e[t]),(e=>n.value=m(e))),wr(n,(n=>{(n!==e[t]||u)&&h(f,n)}),{deep:u}),n}return xa({get:()=>v(),set(e){h(f,e)}})}function e_({window:e=Sb}={}){if(!e)return Et(!1);const t=Et(e.document.hasFocus());return Lb(e,"blur",(()=>{t.value=!1})),Lb(e,"focus",(()=>{t.value=!0})),t}((e,t)=>{for(var n in t||(t={}))Yb.call(t,n)&&Qb(e,n,t[n]);if(Jb)for(var n of Jb(t))Zb.call(t,n)&&Qb(e,n,t[n])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const t_="object"==typeof global&&global&&global.Object===Object&&global;var n_="object"==typeof self&&self&&self.Object===Object&&self;const o_=t_||n_||Function("return this")();const r_=o_.Symbol;var a_=Object.prototype,s_=a_.hasOwnProperty,l_=a_.toString,i_=r_?r_.toStringTag:void 0;var c_=Object.prototype.toString;var u_=r_?r_.toStringTag:void 0;function p_(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u_&&u_ in Object(e)?function(e){var t=s_.call(e,i_),n=e[i_];try{e[i_]=void 0;var o=!0}catch(Lz){}var r=l_.call(e);return o&&(t?e[i_]=n:delete e[i_]),r}(e):function(e){return c_.call(e)}(e)}function d_(e){return null!=e&&"object"==typeof e}function h_(e){return"symbol"==typeof e||d_(e)&&"[object Symbol]"==p_(e)}function f_(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n0){if(++F_>=800)return arguments[0]}else F_=0;return I_.apply(void 0,arguments)});var q_=/^(?:0|[1-9]\d*)$/;function U_(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&q_.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Q_(e){return d_(e)&&"[object Arguments]"==p_(e)}var X_=Object.prototype,ex=X_.hasOwnProperty,tx=X_.propertyIsEnumerable;const nx=Q_(function(){return arguments}())?Q_:function(e){return d_(e)&&ex.call(e,"callee")&&!tx.call(e,"callee")};var ox=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rx=/^\w*$/;function ax(e,t){if(m_(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!h_(e))||(rx.test(e)||!ox.test(e)||null!=t&&e in Object(t))}const sx=O_(Object,"create");var lx=Object.prototype.hasOwnProperty;var ix=Object.prototype.hasOwnProperty;function cx(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},dx.prototype.set=function(e,t){var n=this.__data__,o=ux(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};const hx=O_(o_,"Map");function fx(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function mx(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&n(l)?t>1?Sx(l,t-1,n,o,r):Ex(r,l):o||(r[r.length]=l)}return r}function Bx(e){return(null==e?0:e.length)?Sx(e,1):[]}function Lx(e,t){return null!=e&&t in Object(e)}function Vx(e,t){return null!=e&&function(e,t,n){for(var o=-1,r=(t=_x(t,e)).length,a=!1;++ovoid 0===e,Ix=e=>"boolean"==typeof e,Fx=e=>"number"==typeof e,jx=e=>!e&&0!==e||d(e)&&0===e.length||y(e)&&!Object.keys(e).length,Nx=e=>"undefined"!=typeof Element&&e instanceof Element,qx=e=>kx(e),Ux=e=>Object.keys(e),$x=e=>Object.entries(e),Wx=(e,t,n)=>({get value(){return Mx(e,t,n)},set value(n){!function(e,t,n){null==e||Ox(e,t,n)}(e,t,n)}});class Kx extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function Gx(e,t){throw new Kx("[".concat(e,"] ").concat(t))}function Jx(e,t){}const Yx=(e="")=>e.split(" ").filter((e=>!!e.trim())),Zx=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Qx=(e,t)=>{e&&t.trim()&&e.classList.add(...Yx(t))},Xx=(e,t)=>{e&&t.trim()&&e.classList.remove(...Yx(t))},eC=(e,t)=>{var n;if(!gb||!e||!t)return"";let o=B(t);"float"===o&&(o="cssFloat");try{const t=e.style[o];if(t)return t;const r=null==(n=document.defaultView)?void 0:n.getComputedStyle(e,"");return r?r[o]:""}catch(Lz){return e.style[o]}};function tC(e,t="px"){return e?Fx(e)||g(n=e)&&!Number.isNaN(Number(n))?"".concat(e).concat(t):g(e)?e:void 0:"";var n}const nC=(e,t)=>{if(!gb)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=eC(e,n);return["scroll","auto","overlay"].some((e=>o.includes(e)))},oC=(e,t)=>{if(!gb)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(nC(n,t))return n;n=n.parentNode}return n};let rC;function aC(e,t){if(!gb)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const r=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),a=r+t.offsetHeight,s=e.scrollTop,l=s+e.clientHeight;rl&&(e.scrollTop=a-e.clientHeight)}const sC="__epPropKey",lC=e=>e,iC=(e,t)=>{if(!y(e)||y(n=e)&&n[sC])return e;var n;const{values:o,required:r,default:a,type:s,validator:l}=e,i=o||l?n=>{let r=!1,s=[];if(o&&(s=Array.from(o),p(e,"default")&&s.push(a),r||(r=s.includes(n))),l&&(r||(r=l(n))),!r&&s.length>0){const e=[...new Set(s)].map((e=>JSON.stringify(e))).join(", ");Ea("Invalid prop: validation failed".concat(t?' for prop "'.concat(t,'"'):"",". Expected one of [").concat(e,"], got value ").concat(JSON.stringify(n),"."))}return r}:void 0,c={type:s,required:!!r,validator:i,[sC]:!0};return p(e,"default")&&(c.default=a),c},cC=e=>Hx(Object.entries(e).map((([e,t])=>[e,iC(t,e)]))),uC=[String,Object,Function],pC={Close:Xi},dC={Close:Xi,SuccessFilled:sm,InfoFilled:pd,WarningFilled:Um,CircleCloseFilled:ji},hC={success:sm,warning:Um,error:ji,info:pd},fC={validating:Ed,success:Ii,error:qi},mC=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(null!=t?t:{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},vC=(e,t)=>(e.install=n=>{n.directive(t,e)},e),gC=e=>(e.install=r,e),wC={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},yC="update:modelValue",bC="change",_C="input",xC=["","default","small","large"],CC=e=>["",...xC].includes(e);var MC=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(MC||{});const EC=e=>{if(!qr(e))return{};const t=e.props||{},n=(qr(e.type)?e.type.props:void 0)||{},o={};return Object.keys(n).forEach((e=>{p(n[e],"default")&&(o[e]=n[e].default)})),Object.keys(t).forEach((e=>{o[B(e)]=t[e]})),o},AC=e=>{const t=d(e)?e:[e],n=[];return t.forEach((e=>{var t;d(e)?n.push(...AC(e)):qr(e)&&d(e.children)?n.push(...AC(e.children)):(n.push(e),qr(e)&&(null==(t=e.component)?void 0:t.subTree)&&n.push(...AC(e.component.subTree)))})),n},zC=e=>e,SC=["class","style"],BC=/^on[A-Z]/,LC=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,o=xa((()=>((null==n?void 0:n.value)||[]).concat(SC))),r=ia();return xa(r?()=>{var e;return Hx(Object.entries(null==(e=r.proxy)?void 0:e.$attrs).filter((([e])=>!(o.value.includes(e)||t&&BC.test(e)))))}:()=>({}))},VC=({from:e,replacement:t,scope:n,version:o,ref:r,type:a="API"},s)=>{wr((()=>Bt(s)),(e=>{}),{immediate:!0})},HC=(e,t,n,o)=>{let r={offsetX:0,offsetY:0};const a=t=>{const n=t.clientX,a=t.clientY,{offsetX:s,offsetY:l}=r,i=e.value.getBoundingClientRect(),c=i.left,u=i.top,p=i.width,d=i.height,h=document.documentElement.clientWidth,f=document.documentElement.clientHeight,m=-c+s,v=-u+l,g=h-c-p+s,w=f-u-d+l,y=t=>{let i=s+t.clientX-n,c=l+t.clientY-a;(null==o?void 0:o.value)||(i=Math.min(Math.max(i,m),g),c=Math.min(Math.max(c,v),w)),r={offsetX:i,offsetY:c},e.value&&(e.value.style.transform="translate(".concat(tC(i),", ").concat(tC(c),")"))},b=()=>{document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)},s=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",a)};return eo((()=>{gr((()=>{n.value?t.value&&e.value&&t.value.addEventListener("mousedown",a):s()}))})),oo((()=>{s()})),{resetPosition:()=>{r={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")}}};var kC={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const OC=e=>(t,n)=>TC(t,n,Bt(e)),TC=(e,t,n)=>Mx(n,e,e).replace(/\{(\w+)\}/g,((e,n)=>{var o;return"".concat(null!=(o=null==t?void 0:t[n])?o:"{".concat(n,"}"))})),RC=Symbol("localeContextKey"),PC=e=>{const t=e||Ko(RC,Et());return(e=>({lang:xa((()=>Bt(e).name)),locale:Mt(e)?e:Et(e),t:OC(e)}))(xa((()=>t.value||kC)))},DC="el",IC=(e,t,n,o,r)=>{let a="".concat(e,"-").concat(t);return n&&(a+="-".concat(n)),o&&(a+="__".concat(o)),r&&(a+="--".concat(r)),a},FC=Symbol("namespaceContextKey"),jC=e=>{const t=e||(ia()?Ko(FC,Et(DC)):Et(DC));return xa((()=>Bt(t)||DC))},NC=(e,t)=>{const n=jC(t);return{namespace:n,b:(t="")=>IC(n.value,e,t,"",""),e:t=>t?IC(n.value,e,"",t,""):"",m:t=>t?IC(n.value,e,"","",t):"",be:(t,o)=>t&&o?IC(n.value,e,t,o,""):"",em:(t,o)=>t&&o?IC(n.value,e,"",t,o):"",bm:(t,o)=>t&&o?IC(n.value,e,t,"",o):"",bem:(t,o,r)=>t&&o&&r?IC(n.value,e,t,o,r):"",is:(e,...t)=>{const n=!(t.length>=1)||t[0];return e&&n?"".concat("is-").concat(e):""},cssVar:e=>{const t={};for(const o in e)e[o]&&(t["--".concat(n.value,"-").concat(o)]=e[o]);return t},cssVarName:e=>"--".concat(n.value,"-").concat(e),cssVarBlock:t=>{const o={};for(const r in t)t[r]&&(o["--".concat(n.value,"-").concat(e,"-").concat(r)]=t[r]);return o},cssVarBlockName:t=>"--".concat(n.value,"-").concat(e,"-").concat(t)}},qC=(e,t={})=>{Mt(e)||Gx("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||NC("popup"),o=xa((()=>n.bm("parent","hidden")));if(!gb||Zx(document.body,o.value))return;let r=0,a=!1,s="0";const l=()=>{setTimeout((()=>{"undefined"!=typeof document&&(Xx(null==document?void 0:document.body,o.value),a&&document&&(document.body.style.width=s))}),200)};wr(e,(e=>{if(!e)return void l();a=!Zx(document.body,o.value),a&&(s=document.body.style.width),r=(e=>{var t;if(!gb)return 0;if(void 0!==rC)return rC;const n=document.createElement("div");n.className="".concat(e,"-scrollbar__wrap"),n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const a=r.offsetWidth;return null==(t=n.parentNode)||t.removeChild(n),rC=o-a,rC})(n.namespace.value);const t=document.documentElement.clientHeight0&&(t||"scroll"===i)&&a&&(document.body.style.width="calc(100% - ".concat(r,"px)")),Qx(document.body,o.value)})),se((()=>l()))},UC=e=>{const t=ia();return xa((()=>{var n,o;return null==(o=null==(n=null==t?void 0:t.proxy)?void 0:n.$props)?void 0:o[e]}))},$C=e=>{if(!e)return{onClick:r,onMousedown:r,onMouseup:r};let t=!1,n=!1;return{onClick:o=>{t&&n&&e(o),t=n=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{n=e.target===e.currentTarget}}},WC={prefix:Math.floor(1e4*Math.random()),current:0},KC=Symbol("elIdInjection"),GC=()=>ia()?Ko(KC,WC):WC,JC=e=>{const t=GC(),n=jC();return xa((()=>Bt(e)||"".concat(n.value,"-id-").concat(t.prefix,"-").concat(t.current++)))};let YC=[];const ZC=e=>{const t=e;t.key===wC.esc&&YC.forEach((e=>e(t)))},QC={current:0},XC=Et(0),eM=Symbol("elZIndexContextKey"),tM=Symbol("zIndexContextKey"),nM=e=>{const t=ia()?Ko(eM,QC):QC,n=e||(ia()?Ko(tM,void 0):void 0),o=xa((()=>{const e=Bt(n);return Fx(e)?e:2e3})),r=xa((()=>o.value+XC.value));return!gb&&Ko(eM),{initialZIndex:o,currentZIndex:r,nextZIndex:()=>(t.current++,XC.value=t.current,r.value)}};const oM=iC({type:String,values:xC,required:!1}),rM=Symbol("size"),aM=()=>{const e=Ko(rM,{});return xa((()=>Bt(e.size)||""))};function sM(e,{beforeFocus:t,afterFocus:n,beforeBlur:o,afterBlur:r}={}){const a=ia(),{emit:s}=a,l=At(),i=Et(!1),c=e=>{!!v(t)&&t(e)||i.value||(i.value=!0,s("focus",e),null==n||n())},u=e=>{var t;!!v(o)&&o(e)||e.relatedTarget&&(null==(t=l.value)?void 0:t.contains(e.relatedTarget))||(i.value=!1,s("blur",e),null==r||r())};return wr(l,(e=>{e&&e.setAttribute("tabindex","-1")})),Lb(l,"focus",c,!0),Lb(l,"blur",u,!0),Lb(l,"click",(()=>{var t,n;(null==(t=l.value)?void 0:t.contains(document.activeElement))&&l.value!==document.activeElement||null==(n=e.value)||n.focus()}),!0),{isFocused:i,wrapperRef:l,handleFocus:c,handleBlur:u}}function lM({afterComposition:e,emit:t}){const n=Et(!1),o=e=>{var o;null==t||t("compositionupdate",e);const r=null==(o=e.target)?void 0:o.value,a=r[r.length-1]||"";n.value=!(e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e))(a)},r=o=>{null==t||t("compositionend",o),n.value&&(n.value=!1,Xt((()=>e(o))))};return{isComposing:n,handleComposition:e=>{"compositionend"===e.type?r(e):o(e)},handleCompositionStart:e=>{null==t||t("compositionstart",e),n.value=!0},handleCompositionUpdate:o,handleCompositionEnd:r}}const iM=Symbol("emptyValuesContextKey"),cM=["",void 0,null],uM=cC({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>v(e)?!e():!e}}),pM=(e,t)=>{const n=ia()?Ko(iM,Et({})):Et({}),o=xa((()=>e.emptyValues||n.value.emptyValues||cM)),r=xa((()=>v(e.valueOnClear)?e.valueOnClear():void 0!==e.valueOnClear?e.valueOnClear:v(n.value.valueOnClear)?n.value.valueOnClear():void 0!==n.value.valueOnClear?n.value.valueOnClear:void 0!==t?t:undefined));return o.value.includes(r.value),{emptyValues:o,valueOnClear:r,isEmptyValue:e=>o.value.includes(e)}},dM=cC({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),hM=e=>Px(dM,e),fM=Symbol(),mM=Et();function vM(e,t=void 0){const n=ia()?Ko(fM,mM):mM;return e?xa((()=>{var o,r;return null!=(r=null==(o=n.value)?void 0:o[e])?r:t})):n}function gM(e,t){const n=vM(),o=NC(e,xa((()=>{var e;return(null==(e=n.value)?void 0:e.namespace)||DC}))),r=PC(xa((()=>{var e;return null==(e=n.value)?void 0:e.locale}))),a=nM(xa((()=>{var e;return(null==(e=n.value)?void 0:e.zIndex)||2e3}))),s=xa((()=>{var e;return Bt(t)||(null==(e=n.value)?void 0:e.size)||""}));return wM(xa((()=>Bt(n)||{}))),{ns:o,locale:r,zIndex:a,size:s}}const wM=(e,t,n=!1)=>{var o;const r=!!ia(),a=r?vM():void 0,s=null!=(o=null==t?void 0:t.provide)?o:r?Wo:void 0;if(!s)return;const l=xa((()=>{const t=Bt(e);return(null==a?void 0:a.value)?yM(a.value,t):t}));return s(fM,l),s(RC,xa((()=>l.value.locale))),s(FC,xa((()=>l.value.namespace))),s(tM,xa((()=>l.value.zIndex))),s(rM,{size:xa((()=>l.value.size||""))}),s(iM,xa((()=>({emptyValues:l.value.emptyValues,valueOnClear:l.value.valueOnClear})))),!n&&mM.value||(mM.value=l.value),l},yM=(e,t)=>{const n=[...new Set([...Ux(e),...Ux(t)])],o={};for(const r of n)o[r]=void 0!==t[r]?t[r]:e[r];return o},bM=cC({a11y:{type:Boolean,default:!0},locale:{type:Object},size:oM,button:{type:Object},experimentalFeatures:{type:Object},keyboardNavigation:{type:Boolean,default:!0},message:{type:Object},zIndex:Number,namespace:{type:String,default:"el"},...uM}),_M={},xM=mC(Pn({name:"ElConfigProvider",props:bM,setup(e,{slots:t}){wr((()=>e.message),(e=>{Object.assign(_M,null!=e?e:{})}),{immediate:!0,deep:!0});const n=wM(e);return()=>yo(t,"default",{config:null==n?void 0:n.value})}}));var CM=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const MM=cC({size:{type:[Number,String]},color:{type:String}});const EM=mC(CM(Pn({...Pn({name:"ElIcon",inheritAttrs:!1}),props:MM,setup(e){const t=e,n=NC("icon"),o=xa((()=>{const{size:e,color:n}=t;return e||n?{fontSize:Dx(e)?void 0:tC(e),"--color":n}:{}}));return(e,t)=>(Pr(),jr("i",oa({class:Bt(n).b(),style:Bt(o)},e.$attrs),[yo(e.$slots,"default")],16))}}),[["__file","icon.vue"]])),AM=Symbol("formContextKey"),zM=Symbol("formItemContextKey"),SM=(e,t={})=>{const n=Et(void 0),o=t.prop?n:UC("size"),r=t.global?n:aM(),a=t.form?{size:void 0}:Ko(AM,void 0),s=t.formItem?{size:void 0}:Ko(zM,void 0);return xa((()=>o.value||Bt(e)||(null==s?void 0:s.size)||(null==a?void 0:a.size)||r.value||""))},BM=e=>{const t=UC("disabled"),n=Ko(AM,void 0);return xa((()=>t.value||Bt(e)||(null==n?void 0:n.disabled)||!1))},LM=()=>({form:Ko(AM,void 0),formItem:Ko(zM,void 0)}),VM=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:o})=>{n||(n=Et(!1)),o||(o=Et(!1));const r=Et();let a;const s=xa((()=>{var n;return!!(!e.label&&!e.ariaLabel&&t&&t.inputIds&&(null==(n=t.inputIds)?void 0:n.length)<=1)}));return eo((()=>{a=wr([Tt(e,"id"),n],(([e,n])=>{const a=null!=e?e:n?void 0:JC().value;a!==r.value&&((null==t?void 0:t.removeInputId)&&(r.value&&t.removeInputId(r.value),(null==o?void 0:o.value)||n||!a||t.addInputId(a)),r.value=a)}),{immediate:!0})})),ro((()=>{a&&a(),(null==t?void 0:t.removeInputId)&&r.value&&t.removeInputId(r.value)})),{isLabeledByFormItem:s,inputId:r}};let HM;const kM="\n height:0 !important;\n visibility:hidden !important;\n ".concat(gb&&/firefox/i.test(window.navigator.userAgent)?"":"overflow:hidden !important;","\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n"),OM=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function TM(e,t=1,n){var o;HM||(HM=document.createElement("textarea"),document.body.appendChild(HM));const{paddingSize:r,borderSize:a,boxSizing:s,contextStyle:l}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),r=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:OM.map((e=>"".concat(e,":").concat(t.getPropertyValue(e)))).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}(e);HM.setAttribute("style","".concat(l,";").concat(kM)),HM.value=e.value||e.placeholder||"";let i=HM.scrollHeight;const c={};"border-box"===s?i+=a:"content-box"===s&&(i-=r),HM.value="";const u=HM.scrollHeight-r;if(Fx(t)){let e=u*t;"border-box"===s&&(e=e+r+a),i=Math.max(e,i),c.minHeight="".concat(e,"px")}if(Fx(n)){let e=u*n;"border-box"===s&&(e=e+r+a),i=Math.min(e,i)}return c.height="".concat(i,"px"),null==(o=HM.parentNode)||o.removeChild(HM),HM=void 0,c}const RM=cC({id:{type:String,default:void 0},size:oM,disabled:Boolean,modelValue:{type:[String,Number,Object],default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:uC},prefixIcon:{type:uC},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Object,Array,String],default:()=>({})},autofocus:Boolean,rows:{type:Number,default:2},...hM(["ariaLabel"])}),PM={[yC]:e=>g(e),input:e=>g(e),change:e=>g(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};const DM=mC(CM(Pn({...Pn({name:"ElInput",inheritAttrs:!1}),props:RM,emits:PM,setup(e,{expose:t,emit:n}){const o=e,a=zo(),s=Ao(),l=xa((()=>{const e={};return"combobox"===o.containerRole&&(e["aria-haspopup"]=a["aria-haspopup"],e["aria-owns"]=a["aria-owns"],e["aria-expanded"]=a["aria-expanded"]),e})),i=xa((()=>["textarea"===o.type?g.b():v.b(),v.m(f.value),v.is("disabled",m.value),v.is("exceed",N.value),{[v.b("group")]:s.prepend||s.append,[v.m("prefix")]:s.prefix||o.prefixIcon,[v.m("suffix")]:s.suffix||o.suffixIcon||o.clearable||o.showPassword,[v.bm("suffix","password-clear")]:P.value&&D.value,[v.b("hidden")]:"hidden"===o.type},a.class])),c=xa((()=>[v.e("wrapper"),v.is("focus",z.value)])),u=LC({excludeKeys:xa((()=>Object.keys(l.value)))}),{form:p,formItem:d}=LM(),{inputId:h}=VM(o,{formItemContext:d}),f=SM(),m=BM(),v=NC("input"),g=NC("textarea"),w=At(),b=At(),_=Et(!1),x=Et(!1),C=Et(),M=At(o.inputStyle),E=xa((()=>w.value||b.value)),{wrapperRef:A,isFocused:z,handleFocus:S,handleBlur:B}=sM(E,{beforeFocus:()=>m.value,afterBlur(){var e;o.validateEvent&&(null==(e=null==d?void 0:d.validate)||e.call(d,"blur").catch((e=>{})))}}),L=xa((()=>{var e;return null!=(e=null==p?void 0:p.statusIcon)&&e})),V=xa((()=>(null==d?void 0:d.validateState)||"")),H=xa((()=>V.value&&fC[V.value])),k=xa((()=>x.value?Fm:$p)),O=xa((()=>[a.style])),T=xa((()=>[o.inputStyle,M.value,{resize:o.resize}])),R=xa((()=>kx(o.modelValue)?"":String(o.modelValue))),P=xa((()=>o.clearable&&!m.value&&!o.readonly&&!!R.value&&(z.value||_.value))),D=xa((()=>o.showPassword&&!m.value&&!!R.value&&(!!R.value||z.value))),I=xa((()=>o.showWordLimit&&!!o.maxlength&&("text"===o.type||"textarea"===o.type)&&!m.value&&!o.readonly&&!o.showPassword)),j=xa((()=>R.value.length)),N=xa((()=>!!I.value&&j.value>Number(o.maxlength))),q=xa((()=>!!s.suffix||!!o.suffixIcon||P.value||o.showPassword||I.value||!!V.value&&L.value)),[U,W]=function(e){let t;return[function(){if(null==e.value)return;const{selectionStart:n,selectionEnd:o,value:r}=e.value;if(null==n||null==o)return;const a=r.slice(0,Math.max(0,n)),s=r.slice(Math.max(0,o));t={selectionStart:n,selectionEnd:o,value:r,beforeTxt:a,afterTxt:s}},function(){if(null==e.value||null==t)return;const{value:n}=e.value,{beforeTxt:o,afterTxt:r,selectionStart:a}=t;if(null==o||null==r||null==a)return;let s=n.length;if(n.endsWith(r))s=n.length-r.length;else if(n.startsWith(o))s=o.length;else{const e=o[a-1],t=n.indexOf(e,a-1);-1!==t&&(s=t+1)}e.value.setSelectionRange(s,s)}]}(w);jb(b,(e=>{if(G(),!I.value||"both"!==o.resize)return;const t=e[0],{width:n}=t.contentRect;C.value={right:"calc(100% - ".concat(n+15+6,"px)")}}));const K=()=>{const{type:e,autosize:t}=o;if(gb&&"textarea"===e&&b.value)if(t){const e=y(t)?t.minRows:void 0,n=y(t)?t.maxRows:void 0,o=TM(b.value,e,n);M.value={overflowY:"hidden",...o},Xt((()=>{b.value.offsetHeight,M.value=o}))}else M.value={minHeight:TM(b.value).minHeight}},G=(e=>{let t=!1;return()=>{var n;if(t||!o.autosize)return;null===(null==(n=b.value)?void 0:n.offsetParent)||(e(),t=!0)}})(K),J=()=>{const e=E.value,t=o.formatter?o.formatter(R.value):R.value;e&&e.value!==t&&(e.value=t)},Y=async e=>{U();let{value:t}=e.target;o.formatter&&(t=o.parser?o.parser(t):t),X.value||(t!==R.value?(n(yC,t),n("input",t),await Xt(),J(),W()):J())},Z=e=>{n("change",e.target.value)},{isComposing:X,handleCompositionStart:ee,handleCompositionUpdate:te,handleCompositionEnd:ne}=lM({emit:n,afterComposition:Y}),oe=()=>{x.value=!x.value,re()},re=async()=>{var e;await Xt(),null==(e=E.value)||e.focus()},ae=e=>{_.value=!1,n("mouseleave",e)},se=e=>{_.value=!0,n("mouseenter",e)},le=e=>{n("keydown",e)},ie=()=>{n(yC,""),n("change",""),n("clear"),n("input","")};return wr((()=>o.modelValue),(()=>{var e;Xt((()=>K())),o.validateEvent&&(null==(e=null==d?void 0:d.validate)||e.call(d,"change").catch((e=>{})))})),wr(R,(()=>J())),wr((()=>o.type),(async()=>{await Xt(),J(),K()})),eo((()=>{!o.formatter&&o.parser,J(),Xt(K)})),t({input:w,textarea:b,ref:E,textareaStyle:T,autosize:Tt(o,"autosize"),isComposing:X,focus:re,blur:()=>{var e;return null==(e=E.value)?void 0:e.blur()},select:()=>{var e;null==(e=E.value)||e.select()},clear:ie,resizeTextarea:K}),(e,t)=>(Pr(),jr("div",oa(Bt(l),{class:[Bt(i),{[Bt(v).bm("group","append")]:e.$slots.append,[Bt(v).bm("group","prepend")]:e.$slots.prepend}],style:Bt(O),role:e.containerRole,onMouseenter:se,onMouseleave:ae}),[Xr(" input "),"textarea"!==e.type?(Pr(),jr(Vr,{key:0},[Xr(" prepend slot "),e.$slots.prepend?(Pr(),jr("div",{key:0,class:$(Bt(v).be("group","prepend"))},[yo(e.$slots,"prepend")],2)):Xr("v-if",!0),Kr("div",{ref_key:"wrapperRef",ref:A,class:$(Bt(c))},[Xr(" prefix slot "),e.$slots.prefix||e.prefixIcon?(Pr(),jr("span",{key:0,class:$(Bt(v).e("prefix"))},[Kr("span",{class:$(Bt(v).e("prefix-inner"))},[yo(e.$slots,"prefix"),e.prefixIcon?(Pr(),Nr(Bt(EM),{key:0,class:$(Bt(v).e("icon"))},{default:un((()=>[(Pr(),Nr(ho(e.prefixIcon)))])),_:1},8,["class"])):Xr("v-if",!0)],2)],2)):Xr("v-if",!0),Kr("input",oa({id:Bt(h),ref_key:"input",ref:w,class:Bt(v).e("inner")},Bt(u),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?x.value?"text":"password":e.type,disabled:Bt(m),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,onCompositionstart:Bt(ee),onCompositionupdate:Bt(te),onCompositionend:Bt(ne),onInput:Y,onChange:Z,onKeydown:le}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","onCompositionstart","onCompositionupdate","onCompositionend"]),Xr(" suffix slot "),Bt(q)?(Pr(),jr("span",{key:1,class:$(Bt(v).e("suffix"))},[Kr("span",{class:$(Bt(v).e("suffix-inner"))},[Bt(P)&&Bt(D)&&Bt(I)?Xr("v-if",!0):(Pr(),jr(Vr,{key:0},[yo(e.$slots,"suffix"),e.suffixIcon?(Pr(),Nr(Bt(EM),{key:0,class:$(Bt(v).e("icon"))},{default:un((()=>[(Pr(),Nr(ho(e.suffixIcon)))])),_:1},8,["class"])):Xr("v-if",!0)],64)),Bt(P)?(Pr(),Nr(Bt(EM),{key:1,class:$([Bt(v).e("icon"),Bt(v).e("clear")]),onMousedown:js(Bt(r),["prevent"]),onClick:ie},{default:un((()=>[Gr(Bt(qi))])),_:1},8,["class","onMousedown"])):Xr("v-if",!0),Bt(D)?(Pr(),Nr(Bt(EM),{key:2,class:$([Bt(v).e("icon"),Bt(v).e("password")]),onClick:oe},{default:un((()=>[(Pr(),Nr(ho(Bt(k))))])),_:1},8,["class"])):Xr("v-if",!0),Bt(I)?(Pr(),jr("span",{key:3,class:$(Bt(v).e("count"))},[Kr("span",{class:$(Bt(v).e("count-inner"))},Q(Bt(j))+" / "+Q(e.maxlength),3)],2)):Xr("v-if",!0),Bt(V)&&Bt(H)&&Bt(L)?(Pr(),Nr(Bt(EM),{key:4,class:$([Bt(v).e("icon"),Bt(v).e("validateIcon"),Bt(v).is("loading","validating"===Bt(V))])},{default:un((()=>[(Pr(),Nr(ho(Bt(H))))])),_:1},8,["class"])):Xr("v-if",!0)],2)],2)):Xr("v-if",!0)],2),Xr(" append slot "),e.$slots.append?(Pr(),jr("div",{key:1,class:$(Bt(v).be("group","append"))},[yo(e.$slots,"append")],2)):Xr("v-if",!0)],64)):(Pr(),jr(Vr,{key:1},[Xr(" textarea "),Kr("textarea",oa({id:Bt(h),ref_key:"textarea",ref:b,class:[Bt(g).e("inner"),Bt(v).is("focus",Bt(z))]},Bt(u),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:Bt(m),readonly:e.readonly,autocomplete:e.autocomplete,style:Bt(T),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,onCompositionstart:Bt(ee),onCompositionupdate:Bt(te),onCompositionend:Bt(ne),onInput:Y,onFocus:Bt(S),onBlur:Bt(B),onChange:Z,onKeydown:le}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),Bt(I)?(Pr(),jr("span",{key:0,style:F(C.value),class:$(Bt(v).e("count"))},Q(Bt(j))+" / "+Q(e.maxlength),7)):Xr("v-if",!0)],64))],16,["role"]))}}),[["__file","input.vue"]])),IM="focus-trap.focus-after-trapped",FM="focus-trap.focus-after-released",jM={cancelable:!0,bubbles:!1},NM={cancelable:!0,bubbles:!1},qM="focusAfterTrapped",UM="focusAfterReleased",$M=Symbol("elFocusTrap"),WM=Et(),KM=Et(0),GM=Et(0);let JM=0;const YM=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},ZM=(e,t)=>{for(const n of e)if(!QM(n,t))return n},QM=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},XM=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),GM.value=window.performance.now(),e!==n&&(e=>e instanceof HTMLInputElement&&"select"in e)(e)&&t&&e.select()}};function eE(e,t){const n=[...e],o=e.indexOf(t);return-1!==o&&n.splice(o,1),n}const tE=(()=>{let e=[];return{push:t=>{const n=e[0];n&&t!==n&&n.pause(),e=eE(e,t),e.unshift(t)},remove:t=>{var n,o;e=eE(e,t),null==(o=null==(n=e[0])?void 0:n.resume)||o.call(n)}}})(),nE=()=>{WM.value="pointer",KM.value=window.performance.now()},oE=()=>{WM.value="keyboard",KM.value=window.performance.now()},rE=e=>new CustomEvent("focus-trap.focusout-prevented",{...NM,detail:e});var aE=CM(Pn({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[qM,UM,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=Et();let o,r;const{focusReason:a}=(eo((()=>{0===JM&&(document.addEventListener("mousedown",nE),document.addEventListener("touchstart",nE),document.addEventListener("keydown",oE)),JM++})),oo((()=>{JM--,JM<=0&&(document.removeEventListener("mousedown",nE),document.removeEventListener("touchstart",nE),document.removeEventListener("keydown",oE))})),{focusReason:WM,lastUserFocusTimestamp:KM,lastAutomatedFocusTimestamp:GM});var s;s=n=>{e.trapped&&!l.paused&&t("release-requested",n)},eo((()=>{0===YC.length&&document.addEventListener("keydown",ZC),gb&&YC.push(s)})),oo((()=>{YC=YC.filter((e=>e!==s)),0===YC.length&&gb&&document.removeEventListener("keydown",ZC)}));const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=n=>{if(!e.loop&&!e.trapped)return;if(l.paused)return;const{key:o,altKey:r,ctrlKey:s,metaKey:i,currentTarget:c,shiftKey:u}=n,{loop:p}=e,d=o===wC.tab&&!r&&!s&&!i,h=document.activeElement;if(d&&h){const e=c,[o,r]=(e=>{const t=YM(e);return[ZM(t,e),ZM(t.reverse(),e)]})(e);if(o&&r)if(u||h!==r){if(u&&[o,e].includes(h)){const e=rE({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),p&&XM(r,!0))}}else{const e=rE({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),p&&XM(o,!0))}else if(h===e){const e=rE({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||n.preventDefault()}}};Wo($M,{focusTrapRef:n,onKeydown:i}),wr((()=>e.focusTrapEl),(e=>{e&&(n.value=e)}),{immediate:!0}),wr([n],(([e],[t])=>{e&&(e.addEventListener("keydown",i),e.addEventListener("focusin",p),e.addEventListener("focusout",d)),t&&(t.removeEventListener("keydown",i),t.removeEventListener("focusin",p),t.removeEventListener("focusout",d))}));const c=e=>{t(qM,e)},u=e=>t(UM,e),p=a=>{const s=Bt(n);if(!s)return;const i=a.target,c=a.relatedTarget,u=i&&s.contains(i);if(!e.trapped){c&&s.contains(c)||(o=c)}u&&t("focusin",a),l.paused||e.trapped&&(u?r=i:XM(r,!0))},d=o=>{const s=Bt(n);if(!l.paused&&s)if(e.trapped){const n=o.relatedTarget;kx(n)||s.contains(n)||setTimeout((()=>{if(!l.paused&&e.trapped){const e=rE({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||XM(r,!0)}}),0)}else{const e=o.target;e&&s.contains(e)||t("focusout",o)}};async function h(){await Xt();const t=Bt(n);if(t){tE.push(l);const n=t.contains(document.activeElement)?o:document.activeElement;o=n;if(!t.contains(n)){const o=new Event(IM,jM);t.addEventListener(IM,c),t.dispatchEvent(o),o.defaultPrevented||Xt((()=>{let o=e.focusStartEl;g(o)||(XM(o),document.activeElement!==o&&(o="first")),"first"===o&&((e,t=!1)=>{const n=document.activeElement;for(const o of e)if(XM(o,t),document.activeElement!==n)return})(YM(t),!0),document.activeElement!==n&&"container"!==o||XM(t)}))}}}function f(){const e=Bt(n);if(e){e.removeEventListener(IM,c);const t=new CustomEvent(FM,{...jM,detail:{focusReason:a.value}});e.addEventListener(FM,u),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=a.value&&KM.value>GM.value&&!e.contains(document.activeElement)||XM(null!=o?o:document.body),e.removeEventListener(FM,u),tE.remove(l)}}return eo((()=>{e.trapped&&h(),wr((()=>e.trapped),(e=>{e?h():f()}))})),oo((()=>{e.trapped&&f(),n.value&&(n.value.removeEventListener("keydown",i),n.value.removeEventListener("focusin",p),n.value.removeEventListener("focusout",d),n.value=void 0)})),{onKeydown:i}}}),[["render",function(e,t,n,o,r,a){return yo(e.$slots,"default",{handleKeydown:e.onKeydown})}],["__file","focus-trap.vue"]]);const sE=cC({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:[String,Object,Array]},offset:{type:Array,default:[0,0]},badgeClass:{type:String}});const lE=mC(CM(Pn({...Pn({name:"ElBadge"}),props:sE,setup(e,{expose:t}){const n=e,o=NC("badge"),r=xa((()=>n.isDot?"":Fx(n.value)&&Fx(n.max)&&n.max{var e,t,o,r,a;return[{backgroundColor:n.color,marginRight:tC(-(null!=(t=null==(e=n.offset)?void 0:e[0])?t:0)),marginTop:tC(null!=(r=null==(o=n.offset)?void 0:o[1])?r:0)},null!=(a=n.badgeStyle)?a:{}]}));return t({content:r}),(e,t)=>(Pr(),jr("div",{class:$(Bt(o).b())},[yo(e.$slots,"default"),Gr(Pa,{name:"".concat(Bt(o).namespace.value,"-zoom-in-center"),persisted:""},{default:un((()=>[pn(Kr("sup",{class:$([Bt(o).e("content"),Bt(o).em("content",e.type),Bt(o).is("fixed",!!e.$slots.default),Bt(o).is("dot",e.isDot),Bt(o).is("hide-zero",!e.showZero&&0===n.value),e.badgeClass]),style:F(Bt(a)),textContent:Q(Bt(r))},null,14,["textContent"]),[[Xa,!e.hidden&&(Bt(r)||e.isDot)]])])),_:1},8,["name"])],2))}}),[["__file","badge.vue"]])),iE=Symbol("buttonGroupContextKey"),cE=cC({size:oM,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:uC},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:uC,default:()=>Ed},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:[String,Object],default:"button"}}),uE={click:e=>e instanceof MouseEvent};function pE(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function dE(e){return Math.min(1,Math.max(0,e))}function hE(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function fE(e){return e<=1?"".concat(100*Number(e),"%"):e}function mE(e){return 1===e.length?"0"+e:String(e)}function vE(e,t,n){e=pE(e,255),t=pE(t,255),n=pE(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,s=0,l=(o+r)/2;if(o===r)s=0,a=0;else{var i=o-r;switch(s=l>.5?i/(2-o-r):i/(o+r),o){case e:a=(t-n)/i+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wE(e,t,n){e=pE(e,255),t=pE(t,255),n=pE(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,s=o,l=o-r,i=0===o?0:l/o;if(o===r)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var r=CE(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,o=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=hE(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=wE(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=wE(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=vE(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=vE(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),yE(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,o,r){var a,s=[mE(Math.round(e).toString(16)),mE(Math.round(t).toString(16)),mE(Math.round(n).toString(16)),mE((a=o,Math.round(255*parseFloat(a)).toString(16)))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*pE(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*pE(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+yE(this.r,this.g,this.b,!1),t=0,n=Object.entries(xE);t=0;return t||!o||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=dE(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=dE(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=dE(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=dE(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),a=n/100;return new e({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,a=n.v,s=[],l=1/t;t--;)s.push(new e({h:o,s:r,v:a})),a=(a+l)%1;return s},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],a=360/t,s=1;s{let o={},r=e.color;if(r){const a=r.match(/var\((.*?)\)/);a&&(r=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));const s=new BE(r),l=e.dark?s.tint(20).toString():LE(s,20);if(e.plain)o=n.cssVarBlock({"bg-color":e.dark?LE(s,90):s.tint(90).toString(),"text-color":r,"border-color":e.dark?LE(s,50):s.tint(50).toString(),"hover-text-color":"var(".concat(n.cssVarName("color-white"),")"),"hover-bg-color":r,"hover-border-color":r,"active-bg-color":l,"active-text-color":"var(".concat(n.cssVarName("color-white"),")"),"active-border-color":l}),t.value&&(o[n.cssVarBlockName("disabled-bg-color")]=e.dark?LE(s,90):s.tint(90).toString(),o[n.cssVarBlockName("disabled-text-color")]=e.dark?LE(s,50):s.tint(50).toString(),o[n.cssVarBlockName("disabled-border-color")]=e.dark?LE(s,80):s.tint(80).toString());else{const a=e.dark?LE(s,30):s.tint(30).toString(),i=s.isDark()?"var(".concat(n.cssVarName("color-white"),")"):"var(".concat(n.cssVarName("color-black"),")");if(o=n.cssVarBlock({"bg-color":r,"text-color":i,"border-color":r,"hover-bg-color":a,"hover-text-color":i,"hover-border-color":a,"active-bg-color":l,"active-border-color":l}),t.value){const t=e.dark?LE(s,50):s.tint(50).toString();o[n.cssVarBlockName("disabled-bg-color")]=t,o[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":"var(".concat(n.cssVarName("color-white"),")"),o[n.cssVarBlockName("disabled-border-color")]=t}}}return o}))}(o),a=NC("button"),{_ref:s,_size:l,_type:i,_disabled:c,_props:u,shouldAddSpace:p,handleClick:d}=((e,t)=>{VC({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},xa((()=>"text"===e.type)));const n=Ko(iE,void 0),o=vM("button"),{form:r}=LM(),a=SM(xa((()=>null==n?void 0:n.size))),s=BM(),l=Et(),i=Ao(),c=xa((()=>e.type||(null==n?void 0:n.type)||"")),u=xa((()=>{var t,n,r;return null!=(r=null!=(n=e.autoInsertSpace)?n:null==(t=o.value)?void 0:t.autoInsertSpace)&&r})),p=xa((()=>"button"===e.tag?{ariaDisabled:s.value||e.loading,disabled:s.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{})),d=xa((()=>{var e;const t=null==(e=i.default)?void 0:e.call(i);if(u.value&&1===(null==t?void 0:t.length)){const e=t[0];if((null==e?void 0:e.type)===Hr){const t=e.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(t.trim())}}return!1}));return{_disabled:s,_size:a,_type:c,_ref:l,_props:p,shouldAddSpace:d,handleClick:n=>{s.value||e.loading?n.stopPropagation():("reset"===e.nativeType&&(null==r||r.resetFields()),t("click",n))}}})(o,n),h=xa((()=>[a.b(),a.m(i.value),a.m(l.value),a.is("disabled",c.value),a.is("loading",o.loading),a.is("plain",o.plain),a.is("round",o.round),a.is("circle",o.circle),a.is("text",o.text),a.is("link",o.link),a.is("has-bg",o.bg)]));return t({ref:s,size:l,type:i,disabled:c,shouldAddSpace:p}),(e,t)=>(Pr(),Nr(ho(e.tag),oa({ref_key:"_ref",ref:s},Bt(u),{class:Bt(h),style:Bt(r),onClick:Bt(d)}),{default:un((()=>[e.loading?(Pr(),jr(Vr,{key:0},[e.$slots.loading?yo(e.$slots,"loading",{key:0}):(Pr(),Nr(Bt(EM),{key:1,class:$(Bt(a).is("loading"))},{default:un((()=>[(Pr(),Nr(ho(e.loadingIcon)))])),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?(Pr(),Nr(Bt(EM),{key:1},{default:un((()=>[e.icon?(Pr(),Nr(ho(e.icon),{key:0})):yo(e.$slots,"icon",{key:1})])),_:3})):Xr("v-if",!0),e.$slots.default?(Pr(),jr("span",{key:2,class:$({[Bt(a).em("text","expand")]:Bt(p)})},[yo(e.$slots,"default")],2)):Xr("v-if",!0)])),_:3},16,["class","style","onClick"]))}}),[["__file","button.vue"]]);const HE={size:cE.size,type:cE.type};var kE=CM(Pn({...Pn({name:"ElButtonGroup"}),props:HE,setup(e){const t=e;Wo(iE,dt({size:Tt(t,"size"),type:Tt(t,"type")}));const n=NC("button");return(e,t)=>(Pr(),jr("div",{class:$(Bt(n).b("group"))},[yo(e.$slots,"default")],2))}}),[["__file","button-group.vue"]]);const OE=mC(VE,{ButtonGroup:kE});gC(kE);var TE="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function RE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const PE="_trap-focus-children",DE=[],IE=e=>{if(0===DE.length)return;const t=DE[DE.length-1][PE];if(t.length>0&&e.code===wC.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},FE={beforeMount(e){e[PE]=nb(e),DE.push(e),DE.length<=1&&document.addEventListener("keydown",IE)},updated(e){Xt((()=>{e[PE]=nb(e)}))},unmounted(){DE.shift(),0===DE.length&&document.removeEventListener("keydown",IE)}},jE=cC({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:[String,Array,Object]},zIndex:{type:[String,Number]}});const NE=Pn({name:"ElOverlay",props:jE,emits:{click:e=>e instanceof MouseEvent},setup(e,{slots:t,emit:n}){const o=NC("overlay"),{onClick:r,onMousedown:a,onMouseup:s}=$C(e.customMaskEvent?void 0:e=>{n("click",e)});return()=>e.mask?Gr("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:r,onMousedown:a,onMouseup:s},[yo(t,"default")],MC.STYLE|MC.CLASS|MC.PROPS,["onClick","onMouseup","onMousedown"]):Ca("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[yo(t,"default")])}});function qE(e){let t;const n=Et(!1),o=dt({...e,originalPosition:"",originalOverflow:"",visible:!1});function r(){var e,t;null==(t=null==(e=l.$el)?void 0:e.parentNode)||t.removeChild(l.$el)}function a(){if(!n.value)return;const e=o.parent;n.value=!1,e.vLoadingAddClassList=void 0,function(){const e=o.parent,t=l.ns;if(!e.vLoadingAddClassList){let n=e.getAttribute("loading-number");n=Number.parseInt(n)-1,n?e.setAttribute("loading-number",n.toString()):(Xx(e,t.bm("parent","relative")),e.removeAttribute("loading-number")),Xx(e,t.bm("parent","hidden"))}r(),s.unmount()}()}const s=Gs(Pn({name:"ElLoading",setup(e,{expose:t}){const{ns:n,zIndex:r}=gM("loading");return t({ns:n,zIndex:r}),()=>{const e=o.spinner||o.svg,t=Ca("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...e?{innerHTML:e}:{}},[Ca("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),r=o.text?Ca("p",{class:n.b("text")},[o.text]):void 0;return Ca(Pa,{name:n.b("fade"),onAfterLeave:a},{default:un((()=>[pn(Gr("div",{style:{backgroundColor:o.background||""},class:[n.b("mask"),o.customClass,o.fullscreen?"is-fullscreen":""]},[Ca("div",{class:n.b("spinner")},[t,r])]),[[Xa,o.visible]])]))})}}})),l=s.mount(document.createElement("div"));return{...Ht(o),setText:function(e){o.text=e},removeElLoadingChild:r,close:function(){var r;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=setTimeout(a,400),o.visible=!1,null==(r=e.closed)||r.call(e))},handleAfterLeave:a,vm:l,get $el(){return l.$el}}}let UE;const $E=function(e={}){if(!gb)return;const t=WE(e);if(t.fullscreen&&UE)return UE;const n=qE({...t,closed:()=>{var e;null==(e=t.closed)||e.call(t),t.fullscreen&&(UE=void 0)}});KE(t,t.parent,n),GE(t,t.parent,n),t.parent.vLoadingAddClassList=()=>GE(t,t.parent,n);let o=t.parent.getAttribute("loading-number");return o=o?"".concat(Number.parseInt(o)+1):"1",t.parent.setAttribute("loading-number",o),t.parent.appendChild(n.$el),Xt((()=>n.visible.value=t.visible)),t.fullscreen&&(UE=n),n},WE=e=>{var t,n,o,r;let a;return a=g(e.target)?null!=(t=document.querySelector(e.target))?t:document.body:e.target||document.body,{parent:a===document.body||e.body?document.body:a,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:a===document.body&&(null==(n=e.fullscreen)||n),lock:null!=(o=e.lock)&&o,customClass:e.customClass||"",visible:null==(r=e.visible)||r,beforeClose:e.beforeClose,closed:e.closed,target:a}},KE=async(e,t,n)=>{const{nextZIndex:o}=n.vm.zIndex||n.vm._.exposed.zIndex,r={};if(e.fullscreen)n.originalPosition.value=eC(document.body,"position"),n.originalOverflow.value=eC(document.body,"overflow"),r.zIndex=o();else if(e.parent===document.body){n.originalPosition.value=eC(document.body,"position"),await Xt();for(const t of["top","left"]){const n="top"===t?"scrollTop":"scrollLeft";r[t]="".concat(e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-Number.parseInt(eC(document.body,"margin-".concat(t)),10),"px")}for(const t of["height","width"])r[t]="".concat(e.target.getBoundingClientRect()[t],"px")}else n.originalPosition.value=eC(t,"position");for(const[a,s]of Object.entries(r))n.$el.style[a]=s},GE=(e,t,n)=>{const o=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Xx(t,o.bm("parent","relative")):Qx(t,o.bm("parent","relative")),e.fullscreen&&e.lock?Qx(t,o.bm("parent","hidden")):Xx(t,o.bm("parent","hidden"))},JE=Symbol("ElLoading"),YE=(e,t)=>{var n,o,r,a;const s=t.instance,l=e=>y(t.value)?t.value[e]:void 0,i=t=>(e=>{const t=g(e)&&(null==s?void 0:s[e])||e;return t?Et(t):t})(l(t)||e.getAttribute("element-loading-".concat(V(t)))),c=null!=(n=l("fullscreen"))?n:t.modifiers.fullscreen,u={text:i("text"),svg:i("svg"),svgViewBox:i("svgViewBox"),spinner:i("spinner"),background:i("background"),customClass:i("customClass"),fullscreen:c,target:null!=(o=l("target"))?o:c?void 0:e,body:null!=(r=l("body"))?r:t.modifiers.body,lock:null!=(a=l("lock"))?a:t.modifiers.lock};e[JE]={options:u,instance:$E(u)}},ZE={mounted(e,t){t.value&&YE(e,t)},updated(e,t){const n=e[JE];t.oldValue!==t.value&&(t.value&&!t.oldValue?YE(e,t):t.value&&t.oldValue?y(t.value)&&((e,t)=>{for(const n of Object.keys(t))Mt(t[n])&&(t[n].value=e[n])})(t.value,n.options):null==n||n.instance.close())},unmounted(e){var t;null==(t=e[JE])||t.instance.close(),e[JE]=null}},QE={install(e){e.directive("loading",ZE),e.config.globalProperties.$loading=$E},directive:ZE,service:$E},XE=["success","info","warning","error"],eA={customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:gb?document.body:void 0},tA=cC({customClass:{type:String,default:eA.customClass},center:{type:Boolean,default:eA.center},dangerouslyUseHTMLString:{type:Boolean,default:eA.dangerouslyUseHTMLString},duration:{type:Number,default:eA.duration},icon:{type:uC,default:eA.icon},id:{type:String,default:eA.id},message:{type:[String,Object,Function],default:eA.message},onClose:{type:Function,default:eA.onClose},showClose:{type:Boolean,default:eA.showClose},type:{type:String,values:XE,default:eA.type},plain:{type:Boolean,default:eA.plain},offset:{type:Number,default:eA.offset},zIndex:{type:Number,default:eA.zIndex},grouping:{type:Boolean,default:eA.grouping},repeatNum:{type:Number,default:eA.repeatNum}}),nA=ht([]),oA=e=>{const{prev:t}=(e=>{const t=nA.findIndex((t=>t.id===e)),n=nA[t];let o;return t>0&&(o=nA[t-1]),{current:n,prev:o}})(e);return t?t.vm.exposed.bottom.value:0};var rA=CM(Pn({...Pn({name:"ElMessage"}),props:tA,emits:{destroy:()=>!0},setup(e,{expose:t}){const n=e,{Close:o}=dC,{ns:r,zIndex:a}=gM("message"),{currentZIndex:s,nextZIndex:l}=a,i=Et(),c=Et(!1),u=Et(0);let p;const d=xa((()=>n.type?"error"===n.type?"danger":n.type:"info")),h=xa((()=>{const e=n.type;return{[r.bm("icon",e)]:e&&hC[e]}})),f=xa((()=>n.icon||hC[n.type]||"")),m=xa((()=>oA(n.id))),v=xa((()=>((e,t)=>nA.findIndex((t=>t.id===e))>0?16:t)(n.id,n.offset)+m.value)),g=xa((()=>u.value+v.value)),w=xa((()=>({top:"".concat(v.value,"px"),zIndex:s.value})));function y(){0!==n.duration&&({stop:p}=Ab((()=>{_()}),n.duration))}function b(){null==p||p()}function _(){c.value=!1}return eo((()=>{y(),l(),c.value=!0})),wr((()=>n.repeatNum),(()=>{b(),y()})),Lb(document,"keydown",(function({code:e}){e===wC.esc&&_()})),jb(i,(()=>{u.value=i.value.getBoundingClientRect().height})),t({visible:c,bottom:g,close:_}),(e,t)=>(Pr(),Nr(Pa,{name:Bt(r).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t=>e.$emit("destroy"),persisted:""},{default:un((()=>[pn(Kr("div",{id:e.id,ref_key:"messageRef",ref:i,class:$([Bt(r).b(),{[Bt(r).m(e.type)]:e.type},Bt(r).is("center",e.center),Bt(r).is("closable",e.showClose),Bt(r).is("plain",e.plain),e.customClass]),style:F(Bt(w)),role:"alert",onMouseenter:b,onMouseleave:y},[e.repeatNum>1?(Pr(),Nr(Bt(lE),{key:0,value:e.repeatNum,type:Bt(d),class:$(Bt(r).e("badge"))},null,8,["value","type","class"])):Xr("v-if",!0),Bt(f)?(Pr(),Nr(Bt(EM),{key:1,class:$([Bt(r).e("icon"),Bt(h)])},{default:un((()=>[(Pr(),Nr(ho(Bt(f))))])),_:1},8,["class"])):Xr("v-if",!0),yo(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(Pr(),jr(Vr,{key:1},[Xr(" Caution here, message could've been compromised, never use user's input as message "),Kr("p",{class:$(Bt(r).e("content")),innerHTML:e.message},null,10,["innerHTML"])],2112)):(Pr(),jr("p",{key:0,class:$(Bt(r).e("content"))},Q(e.message),3))])),e.showClose?(Pr(),Nr(Bt(EM),{key:2,class:$(Bt(r).e("closeBtn")),onClick:js(_,["stop"])},{default:un((()=>[Gr(Bt(o))])),_:1},8,["class","onClick"])):Xr("v-if",!0)],46,["id"]),[[Xa,c.value]])])),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}}),[["__file","message.vue"]]);let aA=1;const sA=e=>{const t=!e||g(e)||qr(e)||v(e)?{message:e}:e,n={...eA,...t};if(n.appendTo){if(g(n.appendTo)){let e=document.querySelector(n.appendTo);Nx(e)||(e=document.body),n.appendTo=e}}else n.appendTo=document.body;return Ix(_M.grouping)&&!n.grouping&&(n.grouping=_M.grouping),Fx(_M.duration)&&3e3===n.duration&&(n.duration=_M.duration),Fx(_M.offset)&&16===n.offset&&(n.offset=_M.offset),Ix(_M.showClose)&&!n.showClose&&(n.showClose=_M.showClose),n},lA=({appendTo:e,...t},n)=>{const o="message_".concat(aA++),r=t.onClose,a=document.createElement("div"),s={...t,id:o,onClose:()=>{null==r||r(),(e=>{const t=nA.indexOf(e);if(-1===t)return;nA.splice(t,1);const{handler:n}=e;n.close()})(u)},onDestroy:()=>{Ks(null,a)}},l=Gr(rA,s,v(s.message)||qr(s.message)?{default:v(s.message)?s.message:()=>s.message}:null);l.appContext=n||iA._context,Ks(l,a),e.appendChild(a.firstElementChild);const i=l.component,c={close:()=>{i.exposed.visible.value=!1}},u={id:o,vnode:l,vm:i,handler:c,props:l.component.props};return u},iA=(e={},t)=>{if(!gb)return{close:()=>{}};const n=sA(e);if(n.grouping&&nA.length){const e=nA.find((({vnode:e})=>{var t;return(null==(t=e.props)?void 0:t.message)===n.message}));if(e)return e.props.repeatNum+=1,e.props.type=n.type,e.handler}if(Fx(_M.max)&&nA.length>=_M.max)return{close:()=>{}};const o=lA(n,t);return nA.push(o),o.handler};XE.forEach((e=>{iA[e]=(t={},n)=>{const o=sA(t);return iA({...o,type:e},n)}})),iA.closeAll=function(e){for(const t of nA)e&&e!==t.props.type||t.handler.close()},iA._context=null;const cA=(pA="$message",(uA=iA).install=e=>{uA._context=e._context,e.config.globalProperties[pA]=uA},uA);var uA,pA;var dA=CM(Pn({name:"ElMessageBox",directives:{TrapFocus:FE},components:{ElButton:OE,ElFocusTrap:aE,ElInput:DM,ElOverlay:NE,ElIcon:EM,...dC},inheritAttrs:!1,props:{buttonSize:{type:String,validator:CC},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:o,ns:r,size:a}=gM("message-box",xa((()=>e.buttonSize))),{t:s}=n,{nextZIndex:l}=o,i=Et(!1),c=dt({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:_t(Ed),cancelButtonLoadingIcon:_t(Ed),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:l()}),u=xa((()=>{const e=c.type;return{[r.bm("icon",e)]:e&&hC[e]}})),p=JC(),d=JC(),h=xa((()=>c.icon||hC[c.type]||"")),f=xa((()=>!!c.message)),m=Et(),v=Et(),g=Et(),w=Et(),y=Et(),b=xa((()=>c.confirmButtonClass));wr((()=>c.inputValue),(async t=>{await Xt(),"prompt"===e.boxType&&null!==t&&z()}),{immediate:!0}),wr((()=>i.value),(t=>{var n,o;t&&("prompt"!==e.boxType&&(c.autofocus?g.value=null!=(o=null==(n=y.value)?void 0:n.$el)?o:m.value:g.value=m.value),c.zIndex=l()),"prompt"===e.boxType&&(t?Xt().then((()=>{var e;w.value&&w.value.$el&&(c.autofocus?g.value=null!=(e=S())?e:m.value:g.value=m.value)})):(c.editorErrorMessage="",c.validateError=!1))}));const _=xa((()=>e.draggable)),x=xa((()=>e.overflow));function C(){i.value&&(i.value=!1,Xt((()=>{c.action&&t("action",c.action)})))}HC(m,v,_,x),eo((async()=>{await Xt(),e.closeOnHashChange&&window.addEventListener("hashchange",C)})),oo((()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",C)}));const M=()=>{e.closeOnClickModal&&A(c.distinguishCancelAndClose?"close":"cancel")},E=$C(M),A=t=>{var n;("prompt"!==e.boxType||"confirm"!==t||z())&&(c.action=t,c.beforeClose?null==(n=c.beforeClose)||n.call(c,t,c,C):C())},z=()=>{if("prompt"===e.boxType){const e=c.inputPattern;if(e&&!e.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||s("el.messagebox.error"),c.validateError=!0,!1;const t=c.inputValidator;if("function"==typeof t){const e=t(c.inputValue);if(!1===e)return c.editorErrorMessage=c.inputErrorMessage||s("el.messagebox.error"),c.validateError=!0,!1;if("string"==typeof e)return c.editorErrorMessage=e,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},S=()=>{const e=w.value.$refs;return e.input||e.textarea},B=()=>{A("close")};return e.lockScroll&&qC(i),{...Ht(c),ns:r,overlayEvent:E,visible:i,hasMessage:f,typeClass:u,contentId:p,inputId:d,btnSize:a,iconComponent:h,confirmButtonClasses:b,rootRef:m,focusStartRef:g,headerRef:v,inputRef:w,confirmRef:y,doClose:C,handleClose:B,onCloseRequested:()=>{e.closeOnPressEscape&&B()},handleWrapperClick:M,handleInputEnter:e=>{if("textarea"!==c.inputType)return e.preventDefault(),A("confirm")},handleAction:A,t:s}}}),[["render",function(e,t,n,o,r,a){const s=uo("el-icon"),l=uo("close"),i=uo("el-input"),c=uo("el-button"),u=uo("el-focus-trap"),p=uo("el-overlay");return Pr(),Nr(Pa,{name:"fade-in-linear",onAfterLeave:t=>e.$emit("vanish"),persisted:""},{default:un((()=>[pn(Gr(p,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:un((()=>[Kr("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:$("".concat(e.ns.namespace.value,"-overlay-message-box")),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[Gr(u,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:un((()=>[Kr("div",{ref:"rootRef",class:$([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:F(e.customStyle),tabindex:"-1",onClick:js((()=>{}),["stop"])},[null!==e.title&&void 0!==e.title?(Pr(),jr("div",{key:0,ref:"headerRef",class:$([e.ns.e("header"),{"show-close":e.showClose}])},[Kr("div",{class:$(e.ns.e("title"))},[e.iconComponent&&e.center?(Pr(),Nr(s,{key:0,class:$([e.ns.e("status"),e.typeClass])},{default:un((()=>[(Pr(),Nr(ho(e.iconComponent)))])),_:1},8,["class"])):Xr("v-if",!0),Kr("span",null,Q(e.title),1)],2),e.showClose?(Pr(),jr("button",{key:0,type:"button",class:$(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),onKeydown:qs(js((t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),["prevent"]),["enter"])},[Gr(s,{class:$(e.ns.e("close"))},{default:un((()=>[Gr(l)])),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):Xr("v-if",!0)],2)):Xr("v-if",!0),Kr("div",{id:e.contentId,class:$(e.ns.e("content"))},[Kr("div",{class:$(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(Pr(),Nr(s,{key:0,class:$([e.ns.e("status"),e.typeClass])},{default:un((()=>[(Pr(),Nr(ho(e.iconComponent)))])),_:1},8,["class"])):Xr("v-if",!0),e.hasMessage?(Pr(),jr("div",{key:1,class:$(e.ns.e("message"))},[yo(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(Pr(),Nr(ho(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(Pr(),Nr(ho(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:un((()=>[Zr(Q(e.dangerouslyUseHTMLString?"":e.message),1)])),_:1},8,["for"]))]))],2)):Xr("v-if",!0)],2),pn(Kr("div",{class:$(e.ns.e("input"))},[Gr(i,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t=>e.inputValue=t,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:$({invalid:e.validateError}),onKeydown:qs(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),Kr("div",{class:$(e.ns.e("errormsg")),style:F({visibility:e.editorErrorMessage?"visible":"hidden"})},Q(e.editorErrorMessage),7)],2),[[Xa,e.showInput]])],10,["id"]),Kr("div",{class:$(e.ns.e("btns"))},[e.showCancelButton?(Pr(),Nr(c,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:$([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t=>e.handleAction("cancel"),onKeydown:qs(js((t=>e.handleAction("cancel")),["prevent"]),["enter"])},{default:un((()=>[Zr(Q(e.cancelButtonText||e.t("el.messagebox.cancel")),1)])),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):Xr("v-if",!0),pn(Gr(c,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:$([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t=>e.handleAction("confirm"),onKeydown:qs(js((t=>e.handleAction("confirm")),["prevent"]),["enter"])},{default:un((()=>[Zr(Q(e.confirmButtonText||e.t("el.messagebox.confirm")),1)])),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[Xa,e.showConfirmButton]])],2)],14,["onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["z-index","overlay-class","mask"]),[[Xa,e.visible]])])),_:3},8,["onAfterLeave"])}],["__file","index.vue"]]);const hA=new Map,fA=(e,t,n=null)=>{const o=Gr(dA,e,v(e.message)||qr(e.message)?{default:v(e.message)?e.message:()=>e.message}:null);return o.appContext=n,Ks(o,t),(e=>{let t=document.body;return e.appendTo&&(g(e.appendTo)&&(t=document.querySelector(e.appendTo)),Nx(e.appendTo)&&(t=e.appendTo),Nx(t)||(t=document.body)),t})(e).appendChild(t.firstElementChild),o.component},mA=(e,t)=>{const n=document.createElement("div");e.onVanish=()=>{Ks(null,n),hA.delete(r)},e.onAction=t=>{const n=hA.get(r);let a;a=e.showInput?{value:r.inputValue,action:t}:t,e.callback?e.callback(a,o.proxy):"cancel"===t||"close"===t?e.distinguishCancelAndClose&&"cancel"!==t?n.reject("close"):n.reject("cancel"):n.resolve(a)};const o=fA(e,n,t),r=o.proxy;for(const a in e)p(e,a)&&!p(r.$props,a)&&(r[a]=e[a]);return r.visible=!0,r};function vA(e,t=null){if(!gb)return Promise.reject();let n;return g(e)||qr(e)?e={message:e}:n=e.callback,new Promise(((o,r)=>{const a=mA(e,null!=t?t:vA._context);hA.set(a,{options:e,callback:n,resolve:o,reject:r})}))}const gA={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};["alert","confirm","prompt"].forEach((e=>{vA[e]=function(e){return(t,n,o,r)=>{let a="";return y(n)?(o=n,a=""):a=Dx(n)?"":n,vA(Object.assign({title:a,message:t,type:"",...gA[e]},o,{boxType:e}),r)}}(e)})),vA.close=()=>{hA.forEach(((e,t)=>{t.doClose()})),hA.clear()},vA._context=null;const wA=vA;wA.install=e=>{wA._context=e._context,e.config.globalProperties.$msgbox=wA,e.config.globalProperties.$messageBox=wA,e.config.globalProperties.$alert=wA.alert,e.config.globalProperties.$confirm=wA.confirm,e.config.globalProperties.$prompt=wA.prompt};const yA=wA;const bA={all:_A=_A||new Map,on:function(e,t){var n=_A.get(e);n?n.push(t):_A.set(e,[t])},off:function(e,t){var n=_A.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):_A.set(e,[]))},emit:function(e,t){var n=_A.get(e);n&&n.slice().map((function(e){e(t)})),(n=_A.get("*"))&&n.slice().map((function(n){n(e,t)}))}};var _A;const xA=tb.create({baseURL:"/api",timeout:99999});let CA,MA=0;const EA=()=>{MA--,MA<=0&&(clearTimeout(CA),bA.emit("closeLoading"))};xA.interceptors.request.use((e=>{e.donNotShowLoading||(MA++,CA&&clearTimeout(CA),CA=setTimeout((()=>{MA>0&&bA.emit("showLoading")}),400));const t=gz();return e.headers={"Content-Type":"application/json","x-token":t.token,"x-user-id":t.userInfo.ID,...e.headers},e}),(e=>(e.config.donNotShowLoading||EA(),cA({showClose:!0,message:e,type:"error"}),e))),xA.interceptors.response.use((e=>{const t=gz();return e.config.donNotShowLoading||EA(),e.headers["new-token"]&&t.setToken(e.headers["new-token"]),0===e.data.code||"true"===e.headers.success?(e.headers.msg&&(e.data.msg=decodeURI(e.headers.msg)),e.data):(cA({showClose:!0,message:e.data.msg||decodeURI(e.headers.msg),type:"error"}),e.data.data&&e.data.data.reload&&(t.token="",localStorage.clear(),Dg.push({name:"Login",replace:!0})),e.data.msg?e.data:e)}),(e=>{if(e.config.donNotShowLoading||EA(),e.response){switch(e.response.status){case 500:yA.confirm("\n

检测到接口错误".concat(e,'

\n

错误码 500 :此类错误内容常见于后台panic,请先查看后台日志,如果影响您正常使用可强制登出清理缓存

\n '),"接口报错",{dangerouslyUseHTMLString:!0,distinguishCancelAndClose:!0,confirmButtonText:"清理缓存",cancelButtonText:"取消"}).then((()=>{gz().token="",localStorage.clear(),Dg.push({name:"Login",replace:!0})}));break;case 404:yA.confirm("\n

检测到接口错误".concat(e,'

\n

错误码 404 :此类错误多为接口未注册(或未重启)或者请求路径(方法)与api路径(方法)不符--如果为自动化代码请检查是否存在空格

\n '),"接口报错",{dangerouslyUseHTMLString:!0,distinguishCancelAndClose:!0,confirmButtonText:"我知道了",cancelButtonText:"取消"})}return e}yA.confirm("\n

检测到请求错误

\n

".concat(e,"

\n "),"请求报错",{dangerouslyUseHTMLString:!0,distinguishCancelAndClose:!0,confirmButtonText:"稍后重试",cancelButtonText:"取消"})}));const AA=e=>xA({url:"/base/captcha",method:"post",data:e}),zA=e=>xA({url:"/user/admin_register",method:"post",data:e}),SA=e=>xA({url:"/user/changePassword",method:"post",data:e}),BA=e=>xA({url:"/user/getUserList",method:"post",data:e}),LA=e=>xA({url:"/user/setUserAuthority",method:"post",data:e}),VA=e=>xA({url:"/user/deleteUser",method:"delete",data:e}),HA=e=>xA({url:"/user/setUserInfo",method:"put",data:e}),kA=e=>xA({url:"/user/setSelfInfo",method:"put",data:e}),OA=e=>xA({url:"/user/setUserAuthorities",method:"post",data:e}),TA=e=>xA({url:"/user/resetPassword",method:"post",data:e}); +/*! + * pinia v2.2.4 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */ +let RA;const PA=e=>RA=e,DA=Symbol();function IA(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var FA,jA;(jA=FA||(FA={})).direct="direct",jA.patchObject="patch object",jA.patchFunction="patch function";const NA=()=>{};function qA(e,t,n,o=NA){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&ae()&&se(r),r}function UA(e,...t){e.slice().forEach((e=>{e(...t)}))}const $A=e=>e(),WA=Symbol(),KA=Symbol();function GA(e,t){e instanceof Map&&t instanceof Map?t.forEach(((t,n)=>e.set(n,t))):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];IA(r)&&IA(o)&&e.hasOwnProperty(n)&&!Mt(o)&&!vt(o)?e[n]=GA(r,o):e[n]=o}return e}const JA=Symbol();const{assign:YA}=Object;function ZA(e,t,n={},o,r,a){let s;const l=YA({actions:{}},n),i={deep:!0};let c,u,p,d=[],h=[];const f=o.state.value[e];let m;function v(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:FA.patchFunction,storeId:e,events:p}):(GA(o.state.value[e],t),n={type:FA.patchObject,payload:t,storeId:e,events:p});const r=m=Symbol();Xt().then((()=>{m===r&&(c=!0)})),u=!0,UA(d,n,o.state.value[e])}a||f||(o.state.value[e]={}),Et({});const g=a?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{YA(e,t)}))}:NA;const w=(t,n="")=>{if(WA in t)return t[KA]=n,t;const r=function(){PA(o);const n=Array.from(arguments),a=[],s=[];let l;UA(h,{args:n,name:r[KA],store:y,after:function(e){a.push(e)},onError:function(e){s.push(e)}});try{l=t.apply(this&&this.$id===e?this:y,n)}catch(i){throw UA(s,i),i}return l instanceof Promise?l.then((e=>(UA(a,e),e))).catch((e=>(UA(s,e),Promise.reject(e)))):(UA(a,l),l)};return r[WA]=!0,r[KA]=n,r},y=dt({_p:o,$id:e,$onAction:qA.bind(null,h),$patch:v,$reset:g,$subscribe(t,n={}){const r=qA(d,t,n.detached,(()=>a())),a=s.run((()=>wr((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:FA.direct,events:p},o)}),YA({},i,n))));return r},$dispose:function(){s.stop(),d=[],h=[],o._s.delete(e)}});o._s.set(e,y);const b=(o._a&&o._a.runWithContext||$A)((()=>o._e.run((()=>(s=re()).run((()=>t({action:w})))))));for(const C in b){const t=b[C];if(Mt(t)&&(!Mt(x=t)||!x.effect)||vt(t))a||(!f||IA(_=t)&&_.hasOwnProperty(JA)||(Mt(t)?t.value=f[C]:GA(t,f[C])),o.state.value[e][C]=t);else if("function"==typeof t){const e=w(t,C);b[C]=e,l.actions[C]=t}}var _,x;return YA(y,b),YA(bt(y),b),Object.defineProperty(y,"$state",{get:()=>o.state.value[e],set:e=>{v((t=>{YA(t,e)}))}}),o._p.forEach((e=>{YA(y,s.run((()=>e({store:y,app:o._a,pinia:o,options:l}))))})),f&&a&&n.hydrate&&n.hydrate(y.$state,f),c=!0,u=!0,y}function QA(e,t,n){let o,r;const a="function"==typeof t;function s(e,n){(e=e||(!!(la||sn||$o)?Ko(DA,null):null))&&PA(e),(e=RA)._s.has(o)||(a?ZA(o,t,r,e):function(e,t,n){const{state:o,actions:r,getters:a}=t,s=n.state.value[e];let l;l=ZA(e,(function(){s||(n.state.value[e]=o?o():{});const t=Ht(n.state.value[e]);return YA(t,r,Object.keys(a||{}).reduce(((t,o)=>(t[o]=_t(xa((()=>{PA(n);const t=n._s.get(e);return a[o].call(t,t)}))),t)),{}))}),t,n,0,!0)}(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=a?n:t):(r=e,o=e.id),s.$id=o,s}const XA=Object.assign({"../view/about/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index5.js")),["./087AC4D233B64EB0index5.js","./087AC4D233B64EB0card.js","./087AC4D233B64EB0card.css","./087AC4D233B64EB0col.js","./087AC4D233B64EB0col.css","./087AC4D233B64EB0divider.js","./087AC4D233B64EB0divider.css","./087AC4D233B64EB0github.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index3.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/chatgpt/chatTable.vue":()=>ev((()=>import("./087AC4D233B64EB0chatTable.js")),["./087AC4D233B64EB0chatTable.js","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0empty.js","./087AC4D233B64EB0empty.css","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0autoCode.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0chatTable.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/dashboard/dashboardCharts/echartsLine.vue":()=>ev((()=>import("./087AC4D233B64EB0echartsLine.js")),["./087AC4D233B64EB0echartsLine.js","./087AC4D233B64EB0index23.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0echartsLine.css"],import.meta.url),"../view/dashboard/dashboardTable/dashboardTable.vue":()=>ev((()=>import("./087AC4D233B64EB0dashboardTable.js")),["./087AC4D233B64EB0dashboardTable.js","./087AC4D233B64EB0github.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0dashboardTable.css"],import.meta.url),"../view/dashboard/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index6.js")),["./087AC4D233B64EB0index6.js","./087AC4D233B64EB0col.js","./087AC4D233B64EB0col.css","./087AC4D233B64EB0echartsLine.js","./087AC4D233B64EB0index23.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0echartsLine.css","./087AC4D233B64EB0dashboardTable.js","./087AC4D233B64EB0github.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0dashboardTable.css","./087AC4D233B64EB0index4.css"],import.meta.url),"../view/datasearch/datasearch.vue":()=>ev((()=>import("./087AC4D233B64EB0datasearch.js")),["./087AC4D233B64EB0datasearch.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js","./087AC4D233B64EB0image.css","./087AC4D233B64EB0index24.js","./087AC4D233B64EB0image-viewer.js","./087AC4D233B64EB0image-viewer.css","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index9.css","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0datasearch.css","./087AC4D233B64EB0loading.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0upload2.css","./087AC4D233B64EB0progress.css"],import.meta.url),"../view/dataupload/dataupload.vue":()=>ev((()=>import("./087AC4D233B64EB0dataupload.js")),["./087AC4D233B64EB0dataupload.js","./087AC4D233B64EB0image.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index26.js","./087AC4D233B64EB0index27.js","./087AC4D233B64EB0cloneDeep.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0dataupload.css","./087AC4D233B64EB0upload2.css","./087AC4D233B64EB0progress.css"],import.meta.url),"../view/error/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index4.js")),["./087AC4D233B64EB0index4.js","./087AC4D233B64EB0button.css"],import.meta.url),"../view/error/reload.vue":()=>ev((()=>import("./087AC4D233B64EB0reload.js")),[],import.meta.url),"../view/example/breakpoint/breakpoint.vue":()=>ev((()=>import("./087AC4D233B64EB0breakpoint.js")),["./087AC4D233B64EB0breakpoint.js","./087AC4D233B64EB0divider.js","./087AC4D233B64EB0divider.css","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index27.js","./087AC4D233B64EB0breakpoint.css","./087AC4D233B64EB0progress.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/example/customer/customer.vue":()=>ev((()=>import("./087AC4D233B64EB0customer.js")),["./087AC4D233B64EB0customer.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0input.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/example/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index7.js")),[],import.meta.url),"../view/example/upload/upload.vue":()=>ev((()=>import("./087AC4D233B64EB0upload.js")),["./087AC4D233B64EB0upload.js","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js","./087AC4D233B64EB0image.css","./087AC4D233B64EB0index24.js","./087AC4D233B64EB0image-viewer.js","./087AC4D233B64EB0image-viewer.css","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index9.css","./087AC4D233B64EB0common.js","./087AC4D233B64EB0image.js","./087AC4D233B64EB0index26.js","./087AC4D233B64EB0index27.js","./087AC4D233B64EB0cloneDeep.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0upload2.css","./087AC4D233B64EB0progress.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0upload.css","./087AC4D233B64EB0loading.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/img2img/img2img.vue":()=>ev((()=>import("./087AC4D233B64EB0img2img.js")),["./087AC4D233B64EB0img2img.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0empty.js","./087AC4D233B64EB0empty.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0input-number.js","./087AC4D233B64EB0input-number.css","./087AC4D233B64EB0image-viewer.js","./087AC4D233B64EB0image-viewer.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0img2img2.js","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js","./087AC4D233B64EB0image.css","./087AC4D233B64EB0date.js","./087AC4D233B64EB0img2img.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0drawer.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0upload2.css","./087AC4D233B64EB0progress.css","./087AC4D233B64EB0selectImage.css"],import.meta.url),"../view/img2img/img2imgForm.vue":()=>ev((()=>import("./087AC4D233B64EB0img2imgForm.js")),["./087AC4D233B64EB0img2imgForm.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0img2img2.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0selectImage.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0image-viewer.js","./087AC4D233B64EB0image-viewer.css","./087AC4D233B64EB0image.js","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js","./087AC4D233B64EB0image.css","./087AC4D233B64EB0common.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index26.js","./087AC4D233B64EB0index27.js","./087AC4D233B64EB0cloneDeep.js","./087AC4D233B64EB0upload2.css","./087AC4D233B64EB0progress.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0index28.js","./087AC4D233B64EB0drawer.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0selectImage.css"],import.meta.url),"../view/init/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index2.js")),["./087AC4D233B64EB0index2.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0initdb.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index2.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/knowledgegraph/graph.vue":()=>ev((()=>import("./087AC4D233B64EB0graph.js")),["./087AC4D233B64EB0graph.js","./087AC4D233B64EB0index23.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0graph.css"],import.meta.url),"../view/layout/aside/asideComponent/asyncSubmenu.vue":()=>ev((()=>import("./087AC4D233B64EB0asyncSubmenu.js")),["./087AC4D233B64EB0asyncSubmenu.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index29.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0asyncSubmenu.css"],import.meta.url),"../view/layout/aside/asideComponent/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index8.js")),["./087AC4D233B64EB0index8.js","./087AC4D233B64EB0menuItem.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0index29.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0menuItem.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0asyncSubmenu.js","./087AC4D233B64EB0asyncSubmenu.css"],import.meta.url),"../view/layout/aside/asideComponent/menuItem.vue":()=>ev((()=>import("./087AC4D233B64EB0menuItem.js")),["./087AC4D233B64EB0menuItem.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0index29.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0menuItem.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css"],import.meta.url),"../view/layout/aside/historyComponent/history.vue":()=>ev((()=>import("./087AC4D233B64EB0history.js")),["./087AC4D233B64EB0history.js","./087AC4D233B64EB0tab-pane.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0tab-pane.css","./087AC4D233B64EB0history.css"],import.meta.url),"../view/layout/aside/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index9.js")),["./087AC4D233B64EB0index9.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index8.js","./087AC4D233B64EB0menuItem.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0index29.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0menuItem.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0asyncSubmenu.js","./087AC4D233B64EB0asyncSubmenu.css","./087AC4D233B64EB0index6.css"],import.meta.url),"../view/layout/bottomInfo/bottomInfo.vue":()=>ev((()=>import("./087AC4D233B64EB0bottomInfo.js")),[],import.meta.url),"../view/layout/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index10.js")),["./087AC4D233B64EB0index10.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0col.js","./087AC4D233B64EB0col.css","./087AC4D233B64EB0index9.js","./087AC4D233B64EB0index8.js","./087AC4D233B64EB0menuItem.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0index29.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0menuItem.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0asyncSubmenu.js","./087AC4D233B64EB0asyncSubmenu.css","./087AC4D233B64EB0index6.css","./087AC4D233B64EB0history.js","./087AC4D233B64EB0tab-pane.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0tab-pane.css","./087AC4D233B64EB0history.css","./087AC4D233B64EB0search.js","./087AC4D233B64EB0index11.js","./087AC4D233B64EB0index7.css","./087AC4D233B64EB0search.css","./087AC4D233B64EB0bottomInfo.js","./087AC4D233B64EB0index24.js","./087AC4D233B64EB0image-viewer.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0image-viewer.css","./087AC4D233B64EB0index9.css","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0index12.js","./087AC4D233B64EB0index28.js","./087AC4D233B64EB0index8.css","./087AC4D233B64EB0drawer.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0index5.css","./087AC4D233B64EB0loading.css"],import.meta.url),"../view/layout/screenfull/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index11.js")),["./087AC4D233B64EB0index11.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index7.css"],import.meta.url),"../view/layout/search/search.vue":()=>ev((()=>import("./087AC4D233B64EB0search.js")),["./087AC4D233B64EB0search.js","./087AC4D233B64EB0index11.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index7.css","./087AC4D233B64EB0search.css"],import.meta.url),"../view/layout/setting/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index12.js")),["./087AC4D233B64EB0index12.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index28.js","./087AC4D233B64EB0index8.css","./087AC4D233B64EB0drawer.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/login/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index3.js")),["./087AC4D233B64EB0index3.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0initdb.js","./087AC4D233B64EB0bottomInfo.js","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/person/person.vue":()=>ev((()=>import("./087AC4D233B64EB0person.js")),["./087AC4D233B64EB0person.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0tab-pane.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0tab-pane.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0selectImage.js","./087AC4D233B64EB0image-viewer.js","./087AC4D233B64EB0image-viewer.css","./087AC4D233B64EB0image.js","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js","./087AC4D233B64EB0image.css","./087AC4D233B64EB0common.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index26.js","./087AC4D233B64EB0index27.js","./087AC4D233B64EB0cloneDeep.js","./087AC4D233B64EB0upload2.css","./087AC4D233B64EB0progress.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0index28.js","./087AC4D233B64EB0drawer.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0selectImage.css","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index24.js","./087AC4D233B64EB0index9.css","./087AC4D233B64EB0person.css","./087AC4D233B64EB0tooltip.css"],import.meta.url),"../view/routerHolder.vue":()=>ev((()=>import("./087AC4D233B64EB0routerHolder.js")),[],import.meta.url),"../view/superAdmin/api/api.vue":()=>ev((()=>import("./087AC4D233B64EB0api.js")),["./087AC4D233B64EB0api.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0api2.js","./087AC4D233B64EB0stringFun.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0doc.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0api.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/superAdmin/authority/authority.vue":()=>ev((()=>import("./087AC4D233B64EB0authority.js")),["./087AC4D233B64EB0authority.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0tab-pane.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0tab-pane.css","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0radio.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0arrays.js","./087AC4D233B64EB0cloneDeep.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0radio.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0authority2.js","./087AC4D233B64EB0menus.js","./087AC4D233B64EB0tree.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0tree.css","./087AC4D233B64EB0authorityBtn.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0menus.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0apis.js","./087AC4D233B64EB0api2.js","./087AC4D233B64EB0datas.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0datas.css","./087AC4D233B64EB0doc.js","./087AC4D233B64EB0index28.js","./087AC4D233B64EB0authority.css","./087AC4D233B64EB0drawer.css"],import.meta.url),"../view/superAdmin/authority/components/apis.vue":()=>ev((()=>import("./087AC4D233B64EB0apis.js")),["./087AC4D233B64EB0apis.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0tree.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0tree.css","./087AC4D233B64EB0api2.js","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/superAdmin/authority/components/datas.vue":()=>ev((()=>import("./087AC4D233B64EB0datas.js")),["./087AC4D233B64EB0datas.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0authority2.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0datas.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/superAdmin/authority/components/menus.vue":()=>ev((()=>import("./087AC4D233B64EB0menus.js")),["./087AC4D233B64EB0menus.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0tree.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0tree.css","./087AC4D233B64EB0authority2.js","./087AC4D233B64EB0authorityBtn.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0menus.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/superAdmin/dictionary/sysDictionary.vue":()=>ev((()=>import("./087AC4D233B64EB0sysDictionary.js")),["./087AC4D233B64EB0sysDictionary.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0switch.js","./087AC4D233B64EB0switch.css","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0sysDictionary2.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0sysDictionaryDetail.js","./087AC4D233B64EB0input-number.js","./087AC4D233B64EB0input-number.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0input.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0sysDictionary.css"],import.meta.url),"../view/superAdmin/dictionary/sysDictionaryDetail.vue":()=>ev((()=>import("./087AC4D233B64EB0sysDictionaryDetail.js")),["./087AC4D233B64EB0sysDictionaryDetail.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0switch.js","./087AC4D233B64EB0switch.css","./087AC4D233B64EB0input-number.js","./087AC4D233B64EB0input-number.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0input.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/superAdmin/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index13.js")),[],import.meta.url),"../view/superAdmin/menu/icon.vue":()=>ev((()=>import("./087AC4D233B64EB0icon.js")),["./087AC4D233B64EB0icon.js","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0icon.css","./087AC4D233B64EB0popper.css"],import.meta.url),"../view/superAdmin/menu/menu.vue":()=>ev((()=>import("./087AC4D233B64EB0menu.js")),["./087AC4D233B64EB0menu.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0radio.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0arrays.js","./087AC4D233B64EB0cloneDeep.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0radio.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0icon.js","./087AC4D233B64EB0icon.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0authorityBtn.js","./087AC4D233B64EB0doc.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0menu.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/superAdmin/operation/sysOperationRecord.vue":()=>ev((()=>import("./087AC4D233B64EB0sysOperationRecord.js")),["./087AC4D233B64EB0sysOperationRecord.js","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0sysOperationRecord.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/superAdmin/user/user.vue":()=>ev((()=>import("./087AC4D233B64EB0user.js")),["./087AC4D233B64EB0user.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0switch.js","./087AC4D233B64EB0switch.css","./087AC4D233B64EB0radio.js","./087AC4D233B64EB0arrays.js","./087AC4D233B64EB0cloneDeep.js","./087AC4D233B64EB0radio.css","./087AC4D233B64EB0authority2.js","./087AC4D233B64EB0index24.js","./087AC4D233B64EB0image-viewer.js","./087AC4D233B64EB0image-viewer.css","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0index9.css","./087AC4D233B64EB0image.js","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js","./087AC4D233B64EB0image.css","./087AC4D233B64EB0common.js","./087AC4D233B64EB0index26.js","./087AC4D233B64EB0index27.js","./087AC4D233B64EB0upload2.css","./087AC4D233B64EB0progress.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0index28.js","./087AC4D233B64EB0user.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0drawer.css"],import.meta.url),"../view/system/state.vue":()=>ev((()=>import("./087AC4D233B64EB0state.js")),["./087AC4D233B64EB0state.js","./087AC4D233B64EB0card.js","./087AC4D233B64EB0card.css","./087AC4D233B64EB0col.js","./087AC4D233B64EB0col.css","./087AC4D233B64EB0system2.js","./087AC4D233B64EB0index27.js","./087AC4D233B64EB0state.css","./087AC4D233B64EB0progress.css"],import.meta.url),"../view/systemTools/autoCode/component/fieldDialog.vue":()=>ev((()=>import("./087AC4D233B64EB0fieldDialog.js")),["./087AC4D233B64EB0fieldDialog.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0switch.js","./087AC4D233B64EB0switch.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0stringFun.js","./087AC4D233B64EB0sysDictionary2.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/systemTools/autoCode/component/previewCodeDialg.vue":()=>ev((()=>import("./087AC4D233B64EB0previewCodeDialg.js")),["./087AC4D233B64EB0previewCodeDialg.js","./087AC4D233B64EB0tab-pane.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0tab-pane.css","./087AC4D233B64EB0previewCodeDialg.css"],import.meta.url),"../view/systemTools/autoCode/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index14.js")),["./087AC4D233B64EB0index14.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0collapse-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0collapse-item.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0fieldDialog.js","./087AC4D233B64EB0switch.js","./087AC4D233B64EB0switch.css","./087AC4D233B64EB0stringFun.js","./087AC4D233B64EB0sysDictionary2.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css","./087AC4D233B64EB0previewCodeDialg.js","./087AC4D233B64EB0tab-pane.js","./087AC4D233B64EB0tab-pane.css","./087AC4D233B64EB0previewCodeDialg.css","./087AC4D233B64EB0autoCode.js","./087AC4D233B64EB0tooltip.css"],import.meta.url),"../view/systemTools/autoCodeAdmin/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index15.js")),["./087AC4D233B64EB0index15.js","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0autoCode.js","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/systemTools/autoPkg/autoPkg.vue":()=>ev((()=>import("./087AC4D233B64EB0autoPkg.js")),["./087AC4D233B64EB0autoPkg.js","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0autoCode.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0doc.js","./087AC4D233B64EB0input.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/systemTools/autoPlug/autoPlug.vue":()=>ev((()=>import("./087AC4D233B64EB0autoPlug.js")),["./087AC4D233B64EB0autoPlug.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0stringFun.js","./087AC4D233B64EB0autoCode.js","./087AC4D233B64EB0doc.js","./087AC4D233B64EB0_plugin-vue_export-helper.js","./087AC4D233B64EB0autoPlug.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/systemTools/formCreate/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index16.js")),[],import.meta.url),"../view/systemTools/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index17.js")),[],import.meta.url),"../view/systemTools/installPlugin/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index18.js")),["./087AC4D233B64EB0index18.js","./087AC4D233B64EB0index26.js","./087AC4D233B64EB0index27.js","./087AC4D233B64EB0cloneDeep.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0upload2.css","./087AC4D233B64EB0progress.css"],import.meta.url),"../view/systemTools/pubPlug/pubPlug.vue":()=>ev((()=>import("./087AC4D233B64EB0pubPlug.js")),["./087AC4D233B64EB0pubPlug.js","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0autoCode.js","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/systemTools/system/system.vue":()=>ev((()=>import("./087AC4D233B64EB0system.js")),["./087AC4D233B64EB0system.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0collapse-item.js","./087AC4D233B64EB0index30.js","./087AC4D233B64EB0collapse-item.css","./087AC4D233B64EB0switch.js","./087AC4D233B64EB0switch.css","./087AC4D233B64EB0input-number.js","./087AC4D233B64EB0input-number.css","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0system2.js","./087AC4D233B64EB0system.css","./087AC4D233B64EB0button.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/userBlock/userBlock.vue":()=>ev((()=>import("./087AC4D233B64EB0userBlock.js")),["./087AC4D233B64EB0userBlock.js","./087AC4D233B64EB0date-picker.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0arrays.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0input-number.js","./087AC4D233B64EB0input-number.css","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0date-picker.css","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0userBlock2.js","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0input.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/userBlock/userBlockForm.vue":()=>ev((()=>import("./087AC4D233B64EB0userBlockForm.js")),["./087AC4D233B64EB0userBlockForm.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0input-number.js","./087AC4D233B64EB0input-number.css","./087AC4D233B64EB0userBlock2.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url),"../view/userChain/userChain.vue":()=>ev((()=>import("./087AC4D233B64EB0userChain.js")),["./087AC4D233B64EB0userChain.js","./087AC4D233B64EB0date-picker.js","./087AC4D233B64EB0index20.js","./087AC4D233B64EB0index21.js","./087AC4D233B64EB0arrays.js","./087AC4D233B64EB0scrollbar.js","./087AC4D233B64EB0scrollbar.css","./087AC4D233B64EB0input-number.js","./087AC4D233B64EB0input-number.css","./087AC4D233B64EB0debounce.js","./087AC4D233B64EB0isEqual.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0date-picker.css","./087AC4D233B64EB0dialog.js","./087AC4D233B64EB0overlay.js","./087AC4D233B64EB0overlay.css","./087AC4D233B64EB0dialog.css","./087AC4D233B64EB0tag.js","./087AC4D233B64EB0tag.css","./087AC4D233B64EB0select.js","./087AC4D233B64EB0index22.js","./087AC4D233B64EB0token.js","./087AC4D233B64EB0strings.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0select.css","./087AC4D233B64EB0table-column.js","./087AC4D233B64EB0checkbox.js","./087AC4D233B64EB0checkbox.css","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0table-column.css","./087AC4D233B64EB0popover.js","./087AC4D233B64EB0dropdown.js","./087AC4D233B64EB0popover.css","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0userChain2.js","./087AC4D233B64EB0format.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0index25.js","./087AC4D233B64EB0input.css","./087AC4D233B64EB0pagination.css","./087AC4D233B64EB0popper.css","./087AC4D233B64EB0tooltip.css","./087AC4D233B64EB0button.css"],import.meta.url),"../view/userChain/userChainForm.vue":()=>ev((()=>import("./087AC4D233B64EB0userChainForm.js")),["./087AC4D233B64EB0userChainForm.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0input-number.js","./087AC4D233B64EB0input-number.css","./087AC4D233B64EB0userChain2.js","./087AC4D233B64EB0date.js","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url)}),ez=Object.assign({"../plugin/email/view/index.vue":()=>ev((()=>import("./087AC4D233B64EB0index19.js")),["./087AC4D233B64EB0index19.js","./087AC4D233B64EB0form-item.js","./087AC4D233B64EB0castArray.js","./087AC4D233B64EB0_baseClone.js","./087AC4D233B64EB0_Uint8Array.js","./087AC4D233B64EB0_initCloneObject.js","./087AC4D233B64EB0form-item.css","./087AC4D233B64EB0warningBar.js","./087AC4D233B64EB0button.css","./087AC4D233B64EB0input.css"],import.meta.url)}),tz=e=>{e.forEach((e=>{e.component&&"string"==typeof e.component&&("view"===e.component.split("/")[0]?e.component=nz(XA,e.component):"plugin"===e.component.split("/")[0]&&(e.component=nz(ez,e.component))),e.children&&tz(e.children)}))};function nz(e,t){return e[Object.keys(e).filter((e=>e.replace("../","")===t))[0]]}const oz=e=>xA({url:"/menu/getMenuList",method:"post",data:e}),rz=e=>xA({url:"/menu/addBaseMenu",method:"post",data:e}),az=()=>xA({url:"/menu/getBaseMenuTree",method:"post"}),sz=e=>xA({url:"/menu/addMenuAuthority",method:"post",data:e}),lz=e=>xA({url:"/menu/getMenuAuthority",method:"post",data:e}),iz=e=>xA({url:"/menu/deleteBaseMenu",method:"post",data:e}),cz=e=>xA({url:"/menu/updateBaseMenu",method:"post",data:e}),uz=e=>xA({url:"/menu/getBaseMenuById",method:"post",data:e}),pz=[],dz=[],hz={},fz=(e,t,n)=>{e&&e.forEach((e=>{e.parent=n,e.meta.btns=e.btns,e.meta.hidden=e.hidden,!0===e.meta.defaultMenu&&(n||(e={...e,path:"/".concat(e.path)},pz.push(e))),t[e.name]=e,e.children&&e.children.length>0&&fz(e.children,t,e)}))},mz=e=>{e&&e.forEach((e=>{(e.children&&e.children.some((e=>e.meta.keepAlive))||e.meta.keepAlive)&&e.component&&e.component().then((t=>{dz.push(t.default.name),hz[e.name]=t.default.name})),e.children&&e.children.length>0&&mz(e.children)}))},vz=QA("router",(()=>{const e=Et([]),t=Et(0);bA.on("setKeepAlive",(t=>{const n=[];t.forEach((e=>{hz[e.name]&&n.push(hz[e.name])})),e.value=Array.from(new Set(n))}));const n=Et([]),o={};return{asyncRouters:n,keepAliveRouters:e,asyncRouterFlag:t,SetAsyncRouter:async()=>{t.value++;const e=[{path:"/layout",name:"layout",component:"view/layout/index.vue",meta:{title:"底层layout"},children:[]}],r=(await xA({url:"/menu/getMenu",method:"post"})).data.menus;return r&&r.push({path:"reload",name:"Reload",hidden:!0,meta:{title:"",closeTab:!0},component:"view/error/reload.vue"}),fz(r,o),e[0].children=r,0!==pz.length&&e.push(...pz),tz(e),mz(r),n.value=e,!0},routeMap:o}})),gz=QA("user",(()=>{const e=Et(null),t=Et({uuid:"",nickName:"",headerImg:"",authority:{},sideMode:"dark",activeColor:"var(--el-color-primary)",baseColor:"#fff",money:0});Et(0);const n=Et(window.localStorage.getItem("token")||""),o=e=>{t.value=e},r=e=>{n.value=e},a=xa((()=>t.value.sideMode)),s=xa((()=>"dark"===t.value.sideMode?"#191a23":"light"===t.value.sideMode?"#fff":t.value.sideMode)),l=xa((()=>"dark"===t.value.sideMode?"#fff":"light"===t.value.sideMode?"#191a23":t.value.baseColor)),i=xa((()=>"var(--el-color-primary)"));return wr((()=>n.value),(()=>{window.localStorage.setItem("token",n.value)})),{userInfo:t,token:n,NeedInit:()=>{n.value="",window.localStorage.removeItem("token"),localStorage.clear(),Dg.push({name:"Init",replace:!0})},ResetUserInfo:(e={})=>{t.value={...t.value,...e}},GetUserInfo:async()=>{const e=await xA({url:"/user/getUserInfo",method:"get"});if(0===e.code){console.log(e);const n=await(t=e.data.userInfo.nickName,console.log(t),xA({url:"/chainuse/findUserchain?name="+t,method:"get"}));e.data.userInfo.money=n.data.rechainuse.money,e.data.userInfo.organization=n.data.rechainuse.organization,e.data.userInfo.biaoshi=n.data.rechainuse.biaoshi,o(e.data.userInfo)}var t;return e},LoginIn:async n=>{e.value=QE.service({fullscreen:!0,text:"登录中,请稍候..."});try{const s=await(a=n,xA({url:"/base/login",method:"post",data:a}));if(0===s.code){o(s.data.user),r(s.data.token);const n=vz();await n.SetAsyncRouter();n.asyncRouters.forEach((e=>{Dg.addRoute(e)})),Dg.hasRoute(t.value.authority.defaultRouter)?await Dg.replace({name:t.value.authority.defaultRouter}):cA.error("请联系管理员进行授权"),e.value.close();return Et(/windows/i.test(navigator.userAgent)).value?window.localStorage.setItem("osType","WIN"):window.localStorage.setItem("osType","MAC"),!0}}catch(Lz){e.value.close()}var a;e.value.close()},LoginOut:async()=>{0===(await xA({url:"/jwt/jsonInBlacklist",method:"post"})).code&&(n.value="",sessionStorage.clear(),localStorage.clear(),Dg.push({name:"Login",replace:!0}),window.location.reload())},changeSideMode:async e=>{0===(await kA({sideMode:e})).code&&(t.value.sideMode=e,cA({type:"success",message:"设置成功"}))},mode:a,sideMode:s,setToken:r,baseColor:l,activeColor:i,loadingInstance:e,ClearStorage:async()=>{n.value="",sessionStorage.clear(),localStorage.clear()}}})),wz=(e,t)=>{const n=/\$\{(.+?)\}/,o=e.match(/\$\{(.+?)\}/g);return o&&o.forEach((o=>{const r=o.match(n)[1],a=t.params[r]||t.query[r];e=e.replace(o,a)})),e};var yz={exports:{}}; +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */yz.exports=function(){var e,t,n={version:"0.2.0"},o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function r(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function s(e,t,n){var r;return(r="translate3d"===o.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,r}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(o[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=r(e,o.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(o.barSelector),u=o.speed,p=o.easing;return a.offsetWidth,l((function(t){""===o.positionUsing&&(o.positionUsing=n.getPositioningCSS()),i(c,s(e,u,p)),1===e?(i(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){i(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),o.trickleSpeed)};return o.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*r(Math.random()*t,.1,.95)),t=r(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},e=0,t=0,n.promise=function(o){return o&&"resolved"!==o.state()?(0===t&&n.start(),e++,t++,o.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var r,s=t.querySelector(o.barSelector),l=e?"-100":a(n.status||0),c=document.querySelector(o.parent);return i(s,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),o.showSpinner||(r=t.querySelector(o.spinnerSelector))&&h(r),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){p(document.documentElement,"nprogress-busy"),p(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&h(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),i=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function o(t){var n=document.body.style;if(t in n)return t;for(var o,r=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((o=e[r]+a)in n)return o;return t}function r(e){return e=n(e),t[e]||(t[e]=o(e))}function a(e,t,n){t=r(t),e.style[t]=n}return function(e,t){var n,o,r=arguments;if(2==r.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&a(e,n,o);else a(e,r[1],r[2])}}();function c(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),o=n+t;c(n,t)||(e.className=o.substring(1))}function p(e,t){var n,o=d(e);c(e,t)&&(n=o.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function h(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n}();const bz=RE(yz.exports),_z=["Login","Init"],xz=async e=>{const t=vz();await t.SetAsyncRouter(),await e.GetUserInfo();t.asyncRouters.forEach((e=>{Dg.addRoute(e)}))};async function Cz(e){if(e.matched.some((e=>e.meta.keepAlive))&&e.matched&&e.matched.length>2)for(let t=1;t{var n,o;const r=vz();bz.start();const a=gz();e.meta.matched=[...e.matched],Cz(e);const s=a.token;return document.title=function(e,t){if(e){const n=wz(e,t);return"".concat(n," - ").concat(Js.appName)}return"".concat(Js.appName)}(e.meta.title,e),_z.indexOf(e.name)>-1?!s||(!r.asyncRouterFlag&&_z.indexOf(t.name)<0&&await xz(a),null!=(null==(o=null==(n=a.userInfo)?void 0:n.authority)?void 0:o.defaultRouter)?Dg.hasRoute(a.userInfo.authority.defaultRouter)?{name:a.userInfo.authority.defaultRouter}:{path:"/layout/404"}:(a.ClearStorage(),{name:"Login",query:{redirect:document.location.hash}})):s?!r.asyncRouterFlag&&_z.indexOf(t.name)<0?(await xz(a),a.token?Dg.hasRoute(a.userInfo.authority.defaultRouter)?{...e,replace:!0}:{path:"/layout/404"}:{name:"Login",query:{redirect:e.href}}):!!e.matched.length||{path:"/layout/404"}:s?void 0:{name:"Login",query:{redirect:document.location.hash}}})),Dg.afterEach((()=>{var e;null==(e=document.getElementsByClassName("main-cont main-right")[0])||e.scrollTo(0,0),bz.done()})),Dg.onError((()=>{bz.remove()}));const Mz={install:e=>{const t=gz();e.directive("auth",{mounted:function(e,n){const o=t.userInfo;let r="";switch(Object.prototype.toString.call(n.value)){case"[object Array]":r="Array";break;case"[object String]":r="String";break;case"[object Number]":r="Number";break;default:r=""}if(""===r)return void e.parentNode.removeChild(e);let a=n.value.toString().split(",").some((e=>Number(e)===o.authorityId));n.modifiers.not&&(a=!a),a||e.parentNode.removeChild(e)}})}},Ez=function(){const e=re(!0),t=e.run((()=>Et({})));let n=[],o=[];const r=_t({install(e){PA(r),r._a=e,e.provide(DA,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}(); +/*! Element Plus v2.8.6 */ +var Az={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const zz={id:"app"},Sz=Object.assign({name:"App"},{__name:"App",setup:e=>(e,t)=>{const n=uo("router-view"),o=xM;return Pr(),jr("div",zz,[Gr(o,{locale:Bt(Az)},{default:un((()=>[Gr(n)])),_:1},8,["locale"])])}});bz.configure({showSpinner:!1,ease:"ease",speed:500}),bz.start();const Bz=Gs(Sz);Bz.config.productionTip=!1,Bz.config.globalProperties.$count={name:"count",value:0},Bz.use(Qm).use(Ez).use(Mz).use(Dg).mount("#app");export{lC as $,cC as A,uC as B,xa as C,Bt as D,OE as E,F,ho as G,EM as H,mC as I,gC as J,Vr as K,go as L,tb as M,uo as N,At as O,eo as P,Xt as Q,ro as R,pn as S,yA as T,Dg as U,ZE as V,RE as W,wr as X,Xa as Y,Pa as Z,CM as _,e as __vite_legacy_guard,Et as a,v as a$,vz as a0,qn as a1,oM as a2,hM as a3,yC as a4,_C as a5,bC as a6,Fx as a7,d as a8,Lb as a9,bA as aA,wz as aB,LA as aC,ns as aD,rb as aE,Qx as aF,Xx as aG,Zx as aH,BE as aI,ml as aJ,Ab as aK,zC as aL,_h as aM,gr as aN,jb as aO,AC as aP,y as aQ,kx as aR,kA as aS,SA as aT,Kc as aU,df as aV,lf as aW,Rm as aX,xC as aY,Ix as aZ,AM as a_,LM as aa,Ko as ab,wC as ac,Gx as ad,Jx as ae,Ht as af,g as ag,PC as ah,VM as ai,SM as aj,js as ak,JC as al,tC as am,Rg as an,ks as ao,ia as ap,Ao as aq,ft as ar,Tt as as,W as at,Jr as au,ll as av,oo as aw,wo as ax,oa as ay,$M as az,Kr as b,hx as b$,zM as b0,no as b1,Mb as b2,Wx as b3,Es as b4,y_ as b5,ax as b6,xx as b7,Mx as b8,Vx as b9,Yr as bA,Hr as bB,kr as bC,zb as bD,Nx as bE,nM as bF,aE as bG,Hb as bH,Wn as bI,Xi as bJ,Ex as bK,r_ as bL,d_ as bM,G_ as bN,mx as bO,W_ as bP,h_ as bQ,o_ as bR,H as bS,O_ as bT,Z_ as bU,__ as bV,p_ as bW,t_ as bX,nx as bY,U_ as bZ,dx as b_,Cx as ba,b_ as bb,m_ as bc,bt as bd,lM as be,sM as bf,pM as bg,fC as bh,Dx as bi,yb as bj,gb as bk,C as bl,aC as bm,qi as bn,uM as bo,fo as bp,k as bq,Kb as br,$n as bs,iC as bt,Hx as bu,xb as bv,Xn as bw,jC as bx,GC as by,r as bz,jr as c,Rb as c$,A_ as c0,$_ as c1,bn as c2,N_ as c3,Y_ as c4,f_ as c5,Sx as c6,p as c7,Ks as c8,Mt as c9,Jm as cA,Af as cB,zf as cC,Ux as cD,zo as cE,LC as cF,oC as cG,Eb as cH,hu as cI,Ii as cJ,zi as cK,M as cL,$x as cM,Xb as cN,ch as cO,_o as cP,qr as cQ,Pb as cR,e_ as cS,vb as cT,Rs as cU,jx as cV,ab as cW,to as cX,lb as cY,sb as cZ,b as c_,yl as ca,Ed as cb,BM as cc,qx as cd,VC as ce,Os as cf,Px as cg,vC as ch,Um as ci,HC as cj,pC as ck,NE as cl,$C as cm,vM as cn,DC as co,qC as cp,Vc as cq,yh as cr,kc as cs,pl as ct,aM as cu,_t as cv,mp as cw,kf as cx,re as cy,Ym as cz,Qr as d,az as d0,lz as d1,sz as d2,ci as d3,_u as d4,CC as d5,xf as d6,oz as d7,iz as d8,cz as d9,rz as da,uz as db,BA as dc,TA as dd,VA as de,zA as df,HA as dg,OA as dh,QA as di,TE as dj,m as dk,Ji as dl,Xl as dm,eC as dn,Bx as dp,EC as dq,Gr as e,Xr as f,Zr as g,Nr as h,QE as i,cA as j,DM as k,gz as l,qs as m,$ as n,Pr as o,AA as p,Pn as q,dt as r,xA as s,Q as t,Tg as u,NC as v,un as w,Wo as x,Ca as y,yo as z}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index10.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index10.js new file mode 100644 index 000000000..58f9a3aef --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index10.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,B as o,q as t,ah as n,v as l,a,x as r,P as i,o as s,c as u,z as d,n as c,D as p,_ as f,$ as v,ab as m,b as g,h as b,w as h,G as w,H as y,t as E,ap as B,I as C,J as I,aq as _,C as k,F as x,ac as D,ar as A,as as F,X as S,a9 as R,N as j,e as T,at as M,au as $,al as L,Q as P,E as K,av as O,am as z,aw as G,aj as N,ax as H,ay as V,f as q,ak as U,K as W,az as J,u as Y,l as Q,a0 as X,r as Z,S as ee,ao as oe,g as te,L as ne,an as le,aA as ae,Z as re,aB as ie,Y as se,a1 as ue,aC as de,V as ce}from"./087AC4D233B64EB0index.js";/* empty css *//* empty css *//* empty css */import{E as pe}from"./087AC4D233B64EB0scrollbar.js";import{a as fe,E as ve}from"./087AC4D233B64EB0col.js";import me from"./087AC4D233B64EB0index9.js";import ge from"./087AC4D233B64EB0history.js";import be from"./087AC4D233B64EB0search.js";import he from"./087AC4D233B64EB0bottomInfo.js";import{C as we}from"./087AC4D233B64EB0index24.js";import{c as ye,E as Ee}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import Be from"./087AC4D233B64EB0index12.js";import{c as Ce,a as Ie,O as _e,w as ke}from"./087AC4D233B64EB0index20.js";import{c as xe,E as De,d as Ae,a as Fe,C as Se,b as Re,e as je,f as Te,g as Me,F as $e,L as Le}from"./087AC4D233B64EB0dropdown.js";import{c as Pe}from"./087AC4D233B64EB0castArray.js";/* empty css */import"./087AC4D233B64EB0index8.js";import"./087AC4D233B64EB0menuItem.js";import"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0index29.js";import"./087AC4D233B64EB0index30.js";import"./087AC4D233B64EB0asyncSubmenu.js";import"./087AC4D233B64EB0tab-pane.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0index11.js";import"./087AC4D233B64EB0image-viewer.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0debounce.js";/* empty css */import"./087AC4D233B64EB0index28.js";const Ke=Symbol("breadcrumbKey"),Oe=e({separator:{type:String,default:"/"},separatorIcon:{type:o}}),ze=t({name:"ElBreadcrumb"});var Ge=f(t({...ze,props:Oe,setup(e){const o=e,{t:t}=n(),f=l("breadcrumb"),v=a();return r(Ke,o),i((()=>{const e=v.value.querySelectorAll(".".concat(f.e("item")));e.length&&e[e.length-1].setAttribute("aria-current","page")})),(e,o)=>(s(),u("div",{ref_key:"breadcrumb",ref:v,class:c(p(f).b()),"aria-label":p(t)("el.breadcrumb.label"),role:"navigation"},[d(e.$slots,"default")],10,["aria-label"]))}}),[["__file","breadcrumb.vue"]]);const Ne=e({to:{type:v([String,Object]),default:""},replace:Boolean}),He=t({name:"ElBreadcrumbItem"});var Ve=f(t({...He,props:Ne,setup(e){const o=e,t=B(),n=m(Ke,void 0),r=l("breadcrumb"),i=t.appContext.config.globalProperties.$router,f=a(),v=()=>{o.to&&i&&(o.replace?i.replace(o.to):i.push(o.to))};return(e,o)=>{var t,l;return s(),u("span",{class:c(p(r).e("item"))},[g("span",{ref_key:"link",ref:f,class:c([p(r).e("inner"),p(r).is("link",!!e.to)]),role:"link",onClick:v},[d(e.$slots,"default")],2),(null==(t=p(n))?void 0:t.separatorIcon)?(s(),b(p(y),{key:0,class:c(p(r).e("separator"))},{default:h((()=>[(s(),b(w(p(n).separatorIcon)))])),_:1},8,["class"])):(s(),u("span",{key:1,class:c(p(r).e("separator")),role:"presentation"},E(null==(l=p(n))?void 0:l.separator),3))],2)}}}),[["__file","breadcrumb-item.vue"]]);const qe=C(Ge,{BreadcrumbItem:Ve}),Ue=I(Ve),We=t({name:"ElContainer"});var Je=f(t({...We,props:{direction:{type:String}},setup(e){const o=e,t=_(),n=l("container"),a=k((()=>{if("vertical"===o.direction)return!0;if("horizontal"===o.direction)return!1;if(t&&t.default){return t.default().some((e=>{const o=e.type.name;return"ElHeader"===o||"ElFooter"===o}))}return!1}));return(e,o)=>(s(),u("section",{class:c([p(n).b(),p(n).is("vertical",p(a))])},[d(e.$slots,"default")],2))}}),[["__file","container.vue"]]);const Ye=t({name:"ElAside"});var Qe=f(t({...Ye,props:{width:{type:String,default:null}},setup(e){const o=e,t=l("aside"),n=k((()=>o.width?t.cssVarBlock({width:o.width}):{}));return(e,o)=>(s(),u("aside",{class:c(p(t).b()),style:x(p(n))},[d(e.$slots,"default")],6))}}),[["__file","aside.vue"]]);const Xe=t({name:"ElFooter"});var Ze=f(t({...Xe,props:{height:{type:String,default:null}},setup(e){const o=e,t=l("footer"),n=k((()=>o.height?t.cssVarBlock({height:o.height}):{}));return(e,o)=>(s(),u("footer",{class:c(p(t).b()),style:x(p(n))},[d(e.$slots,"default")],6))}}),[["__file","footer.vue"]]);const eo=t({name:"ElHeader"});var oo=f(t({...eo,props:{height:{type:String,default:null}},setup(e){const o=e,t=l("header"),n=k((()=>o.height?t.cssVarBlock({height:o.height}):{}));return(e,o)=>(s(),u("header",{class:c(p(t).b()),style:x(p(n))},[d(e.$slots,"default")],6))}}),[["__file","header.vue"]]);const to=t({name:"ElMain"});var no=f(t({...to,setup(e){const o=l("main");return(e,t)=>(s(),u("main",{class:c(p(o).b())},[d(e.$slots,"default")],2))}}),[["__file","main.vue"]]);const lo=C(Je,{Aside:Qe,Footer:Ze,Header:oo,Main:no}),ao=I(Qe);I(Ze);const ro=I(oo),io=I(no),so=e({style:{type:v([String,Array,Object])},currentTabId:{type:v(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:v(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:uo,ElCollectionItem:co,COLLECTION_INJECTION_KEY:po,COLLECTION_ITEM_INJECTION_KEY:fo}=xe("RovingFocusGroup"),vo=Symbol("elRovingFocusGroup"),mo=Symbol("elRovingFocusGroupItem"),go={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},bo=(e,o,t)=>{const n=((e,o)=>{if("rtl"!==o)return e;switch(e){case D.right:return D.left;case D.left:return D.right;default:return e}})(e.key,t);if(!("vertical"===o&&[D.left,D.right].includes(n)||"horizontal"===o&&[D.up,D.down].includes(n)))return go[n]},ho=e=>{const{activeElement:o}=document;for(const t of e){if(t===o)return;if(t.focus(),o!==document.activeElement)return}},wo="currentTabIdChange",yo="rovingFocusGroup.entryFocus",Eo={bubbles:!1,cancelable:!0},Bo=t({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:so,emits:[wo,"entryFocus"],setup(e,{emit:o}){var t;const n=a(null!=(t=e.currentTabId||e.defaultCurrentTabId)?t:null),l=a(!1),i=a(!1),s=a(null),{getItems:u}=m(po,void 0),d=k((()=>[{outline:"none"},e.style])),c=Ce((o=>{var t;null==(t=e.onMousedown)||t.call(e,o)}),(()=>{i.value=!0})),f=Ce((o=>{var t;null==(t=e.onFocus)||t.call(e,o)}),(e=>{const o=!p(i),{target:t,currentTarget:a}=e;if(t===a&&o&&!p(l)){const e=new Event(yo,Eo);if(null==a||a.dispatchEvent(e),!e.defaultPrevented){const e=u().filter((e=>e.focusable)),o=[e.find((e=>e.active)),e.find((e=>e.id===p(n))),...e].filter(Boolean).map((e=>e.ref));ho(o)}}i.value=!1})),v=Ce((o=>{var t;null==(t=e.onBlur)||t.call(e,o)}),(()=>{l.value=!1}));r(vo,{currentTabbedId:A(n),loop:F(e,"loop"),tabIndex:k((()=>p(l)?-1:0)),rovingFocusGroupRef:s,rovingFocusGroupRootStyle:d,orientation:F(e,"orientation"),dir:F(e,"dir"),onItemFocus:e=>{o(wo,e)},onItemShiftTab:()=>{l.value=!0},onBlur:v,onFocus:f,onMousedown:c}),S((()=>e.currentTabId),(e=>{n.value=null!=e?e:null})),R(s,yo,((...e)=>{o("entryFocus",...e)}))}});var Co=f(t({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:uo,ElRovingFocusGroupImpl:f(Bo,[["render",function(e,o,t,n,l,a){return d(e.$slots,"default")}],["__file","roving-focus-group-impl.vue"]])}}),[["render",function(e,o,t,n,l,a){const r=j("el-roving-focus-group-impl"),i=j("el-focus-group-collection");return s(),b(i,null,{default:h((()=>[T(r,M($(e.$attrs)),{default:h((()=>[d(e.$slots,"default")])),_:3},16)])),_:3})}],["__file","roving-focus-group.vue"]]);var Io=f(t({components:{ElRovingFocusCollectionItem:co},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:o}){const{currentTabbedId:t,loop:n,onItemFocus:l,onItemShiftTab:i}=m(vo,void 0),{getItems:s}=m(po,void 0),u=L(),d=a(null),c=Ce((e=>{o("mousedown",e)}),(o=>{e.focusable?l(p(u)):o.preventDefault()})),f=Ce((e=>{o("focus",e)}),(()=>{l(p(u))})),v=Ce((e=>{o("keydown",e)}),(e=>{const{key:o,shiftKey:t,target:l,currentTarget:a}=e;if(o===D.tab&&t)return void i();if(l!==a)return;const r=bo(e);if(r){e.preventDefault();let o=s().filter((e=>e.focusable)).map((e=>e.ref));switch(r){case"last":o.reverse();break;case"prev":case"next":{"prev"===r&&o.reverse();const e=o.indexOf(a);o=n.value?(d=e+1,(u=o).map(((e,o)=>u[(o+d)%u.length]))):o.slice(e+1);break}}P((()=>{ho(o)}))}var u,d})),g=k((()=>t.value===p(u)));return r(mo,{rovingFocusGroupItemRef:d,tabIndex:k((()=>p(g)?0:-1)),handleMousedown:c,handleFocus:f,handleKeydown:v}),{id:u,handleKeydown:v,handleFocus:f,handleMousedown:c}}}),[["render",function(e,o,t,n,l,a){const r=j("el-roving-focus-collection-item");return s(),b(r,{id:e.id,focusable:e.focusable,active:e.active},{default:h((()=>[d(e.$slots,"default")])),_:3},8,["id","focusable","active"])}],["__file","roving-focus-item.vue"]]);const _o=Symbol("elDropdown"),{ButtonGroup:ko}=K;var xo=f(t({name:"ElDropdown",components:{ElButton:K,ElButtonGroup:ko,ElScrollbar:pe,ElDropdownCollection:De,ElTooltip:Ie,ElRovingFocusGroup:Co,ElOnlyChild:_e,ElIcon:y,ArrowDown:O},props:Ae,emits:["visible-change","click","command"],setup(e,{emit:o}){const t=B(),i=l("dropdown"),{t:s}=n(),u=a(),d=a(),c=a(null),f=a(null),v=a(null),m=a(null),g=a(!1),b=[D.enter,D.space,D.down],h=k((()=>({maxHeight:z(e.maxHeight)}))),w=k((()=>[i.m(_.value)])),y=k((()=>Pe(e.trigger))),E=L().value,C=k((()=>e.id||E));function I(){var e;null==(e=c.value)||e.onClose()}S([u,y],(([e,o],[t])=>{var n,l,a;(null==(n=null==t?void 0:t.$el)?void 0:n.removeEventListener)&&t.$el.removeEventListener("pointerenter",x),(null==(l=null==e?void 0:e.$el)?void 0:l.removeEventListener)&&e.$el.removeEventListener("pointerenter",x),(null==(a=null==e?void 0:e.$el)?void 0:a.addEventListener)&&o.includes("hover")&&e.$el.addEventListener("pointerenter",x)}),{immediate:!0}),G((()=>{var e,o;(null==(o=null==(e=u.value)?void 0:e.$el)?void 0:o.removeEventListener)&&u.value.$el.removeEventListener("pointerenter",x)}));const _=N();function x(){var e,o;null==(o=null==(e=u.value)?void 0:e.$el)||o.focus()}r(_o,{contentRef:f,role:k((()=>e.role)),triggerId:C,isUsingKeyboard:g,onItemEnter:function(){},onItemLeave:function(){const e=p(f);y.value.includes("hover")&&(null==e||e.focus()),m.value=null}}),r("elDropdown",{instance:t,dropdownSize:_,handleClick:function(){I()},commandHandler:function(...e){o("command",...e)},trigger:F(e,"trigger"),hideOnClick:F(e,"hideOnClick")});return{t:s,ns:i,scrollbar:v,wrapStyle:h,dropdownTriggerKls:w,dropdownSize:_,triggerId:C,triggerKeys:b,currentTabId:m,handleCurrentTabIdChange:function(e){m.value=e},handlerMainButtonClick:e=>{o("click",e)},handleEntryFocus:function(e){g.value||(e.preventDefault(),e.stopImmediatePropagation())},handleClose:I,handleOpen:function(){var e;null==(e=c.value)||e.onOpen()},handleBeforeShowTooltip:function(){o("visible-change",!0)},handleShowTooltip:function(e){"keydown"===(null==e?void 0:e.type)&&f.value.focus()},handleBeforeHideTooltip:function(){o("visible-change",!1)},onFocusAfterTrapped:e=>{var o,t;e.preventDefault(),null==(t=null==(o=f.value)?void 0:o.focus)||t.call(o,{preventScroll:!0})},popperRef:c,contentRef:f,triggeringElementRef:u,referenceElementRef:d}}}),[["render",function(e,o,t,n,l,a){var r;const i=j("el-dropdown-collection"),p=j("el-roving-focus-group"),f=j("el-scrollbar"),v=j("el-only-child"),m=j("el-tooltip"),g=j("el-button"),w=j("arrow-down"),y=j("el-icon"),E=j("el-button-group");return s(),u("div",{class:c([e.ns.b(),e.ns.is("disabled",e.disabled)])},[T(m,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":"hover"===e.trigger?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":null==(r=e.referenceElementRef)?void 0:r.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":"hover"===e.trigger?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:"".concat(e.ns.namespace.value,"-zoom-in-top"),teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},H({content:h((()=>[T(f,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:h((()=>[T(p,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:h((()=>[T(i,null,{default:h((()=>[d(e.$slots,"dropdown")])),_:3})])),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])])),_:3},8,["wrap-style","view-class"])])),_:2},[e.splitButton?void 0:{name:"default",fn:h((()=>[T(v,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:h((()=>[d(e.$slots,"default")])),_:3},8,["id","tabindex"])]))}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(s(),b(E,{key:0},{default:h((()=>[T(g,V({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:h((()=>[d(e.$slots,"default")])),_:3},16,["size","type","disabled","tabindex","onClick"]),T(g,V({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:h((()=>[T(y,{class:c(e.ns.e("icon"))},{default:h((()=>[T(w)])),_:1},8,["class"])])),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])])),_:3})):q("v-if",!0)],2)}],["__file","dropdown.vue"]]);const Do=t({name:"DropdownItemImpl",components:{ElIcon:y},props:Fe,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:o}){const t=l("dropdown"),{role:n}=m(_o,void 0),{collectionItemRef:a}=m(Se,void 0),{collectionItemRef:r}=m(fo,void 0),{rovingFocusGroupItemRef:i,tabIndex:s,handleFocus:u,handleKeydown:d,handleMousedown:c}=m(mo,void 0),p=ye(a,r,i),f=k((()=>"menu"===n.value?"menuitem":"navigation"===n.value?"link":"button")),v=Ce((e=>{const{code:t}=e;if(t===D.enter||t===D.space)return e.preventDefault(),e.stopImmediatePropagation(),o("clickimpl",e),!0}),d);return{ns:t,itemRef:p,dataset:{[Re]:""},role:f,tabIndex:s,handleFocus:u,handleKeydown:v,handleMousedown:c}}});const Ao=()=>{const e=m("elDropdown",{}),o=k((()=>null==e?void 0:e.dropdownSize));return{elDropdown:e,_elDropdownSize:o}};var Fo=f(t({name:"ElDropdownItem",components:{ElDropdownCollectionItem:je,ElRovingFocusItem:Io,ElDropdownItemImpl:f(Do,[["render",function(e,o,t,n,l,a){const r=j("el-icon");return s(),u(W,null,[e.divided?(s(),u("li",{key:0,role:"separator",class:c(e.ns.bem("menu","item","divided"))},null,2)):q("v-if",!0),g("li",V({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:o=>e.$emit("clickimpl",o),onFocus:e.handleFocus,onKeydown:U(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:o=>e.$emit("pointermove",o),onPointerleave:o=>e.$emit("pointerleave",o)}),[e.icon?(s(),b(r,{key:0},{default:h((()=>[(s(),b(w(e.icon)))])),_:1})):q("v-if",!0),d(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}],["__file","dropdown-item-impl.vue"]])},inheritAttrs:!1,props:Fe,emits:["pointermove","pointerleave","click"],setup(e,{emit:o,attrs:t}){const{elDropdown:n}=Ao(),l=B(),r=a(null),i=k((()=>{var e,o;return null!=(o=null==(e=p(r))?void 0:e.textContent)?o:""})),{onItemEnter:s,onItemLeave:u}=m(_o,void 0),d=Ce((e=>(o("pointermove",e),e.defaultPrevented)),ke((o=>{if(e.disabled)return void u(o);const t=o.currentTarget;t===document.activeElement||t.contains(document.activeElement)||(s(o),o.defaultPrevented||null==t||t.focus())}))),c=Ce((e=>(o("pointerleave",e),e.defaultPrevented)),ke(u));return{handleClick:Ce((t=>{if(!e.disabled)return o("click",t),"keydown"!==t.type&&t.defaultPrevented}),(o=>{var t,a,r;e.disabled?o.stopImmediatePropagation():((null==(t=null==n?void 0:n.hideOnClick)?void 0:t.value)&&(null==(a=n.handleClick)||a.call(n)),null==(r=n.commandHandler)||r.call(n,e.command,l,o))})),handlePointerMove:d,handlePointerLeave:c,textContent:i,propsAndAttrs:k((()=>({...e,...t})))}}}),[["render",function(e,o,t,n,l,a){var r;const i=j("el-dropdown-item-impl"),u=j("el-roving-focus-item"),c=j("el-dropdown-collection-item");return s(),b(c,{disabled:e.disabled,"text-value":null!=(r=e.textValue)?r:e.textContent},{default:h((()=>[T(u,{focusable:!e.disabled},{default:h((()=>[T(i,V(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:h((()=>[d(e.$slots,"default")])),_:3},16,["onPointerleave","onPointermove","onClickimpl"])])),_:3},8,["focusable"])])),_:3},8,["disabled","text-value"])}],["__file","dropdown-item.vue"]]);var So=f(t({name:"ElDropdownMenu",props:Te,setup(e){const o=l("dropdown"),{_elDropdownSize:t}=Ao(),n=t.value,{focusTrapRef:a,onKeydown:r}=m(J,void 0),{contentRef:i,role:s,triggerId:u}=m(_o,void 0),{collectionRef:d,getItems:c}=m(Me,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:v,tabIndex:g,onBlur:b,onFocus:h,onMousedown:w}=m(vo,void 0),{collectionRef:y}=m(po,void 0),E=k((()=>[o.b("menu"),o.bm("menu",null==n?void 0:n.value)])),B=ye(i,d,a,f,y),C=Ce((o=>{var t;null==(t=e.onKeydown)||t.call(e,o)}),(e=>{const{currentTarget:o,code:t,target:n}=e;if(o.contains(n),D.tab===t&&e.stopImmediatePropagation(),e.preventDefault(),n!==p(i)||!$e.includes(t))return;const l=c().filter((e=>!e.disabled)).map((e=>e.ref));Le.includes(t)&&l.reverse(),ho(l)}));return{size:n,rovingFocusGroupRootStyle:v,tabIndex:g,dropdownKls:E,role:s,triggerId:u,dropdownListWrapperRef:B,handleKeydown:e=>{C(e),r(e)},onBlur:b,onFocus:h,onMousedown:w}}}),[["render",function(e,o,t,n,l,a){return s(),u("ul",{ref:e.dropdownListWrapperRef,class:c(e.dropdownKls),style:x(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:U(e.handleKeydown,["self"]),onMousedown:U(e.onMousedown,["self"])},[d(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}],["__file","dropdown-menu.vue"]]);const Ro=C(xo,{DropdownItem:Fo,DropdownMenu:So}),jo=I(Fo),To=I(So),Mo={key:0,class:"quick-title"},$o=["onClick"],Lo={class:"dialog-footer"},Po=Object.assign({name:"CommandMenu"},{__name:"index",setup(e,{expose:o}){const t=Y(),n=Y(),l=Q(),r=X(),i=a(!1),d=a(""),c=Z([]),p=e=>{const o=[];return e.forEach((e=>{e.children&&e.children.length>0?o.push(...p(e.children)):e.meta.title&&e.meta.title.indexOf(d.value)>-1&&o.push({label:e.meta.title,func:()=>m(e)})})),o},f=()=>{const e={label:"跳转",children:[]},o=p(r.asyncRouters[0].children);e.children.push(...o),c.push(e)},v=()=>{const e={label:"操作",children:[]},o=[{label:"亮色主题",func:()=>w("light")},{label:"暗色主题",func:()=>w("dark")},{label:"退出登录",func:()=>l.LoginOut()}];e.children.push(...o.filter((e=>e.label.indexOf(d.value)>-1))),c.push(e)};f(),v();const m=e=>{var o,l;const a=e.name,s={},u={};(null==(o=r.routeMap[a])?void 0:o.parameters)&&(null==(l=r.routeMap[a])||l.parameters.forEach((e=>{"query"===e.type?s[e.key]=e.value:u[e.key]=e.value}))),a!==n.name&&(e.name.indexOf("http://")>-1||e.name.indexOf("https://")>-1?window.open(e.name):t.push({name:a,query:s,params:u}),i.value=!1)},w=e=>{null!==e?l.changeSideMode(e):l.changeSideMode("dark")},y=()=>{i.value=!1};return o({open:()=>{i.value=!0}}),S(d,(()=>{c.length=0,f(),v()})),(e,o)=>{const t=K,n=Ee;return s(),b(n,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=e=>i.value=e),width:"30%",class:"overlay","show-close":!1},{header:h((()=>[ee(g("input",{"onUpdate:modelValue":o[0]||(o[0]=e=>d.value=e),class:"quick-input",placeholder:"请输入你需要快捷到达的功能"},null,512),[[oe,d.value]])])),footer:h((()=>[g("span",Lo,[T(t,{onClick:y},{default:h((()=>o[2]||(o[2]=[te("关闭")]))),_:1})])])),default:h((()=>[(s(!0),u(W,null,ne(c,((e,o)=>(s(),u("div",{key:o},[e.children.length?(s(),u("div",Mo,E(e.label),1)):q("",!0),(s(!0),u(W,null,ne(e.children,((e,t)=>(s(),u("div",{key:o+"-"+t,class:"quick-item",onClick:e.func},E(e.label),9,$o)))),128))])))),128))])),_:1},8,["modelValue"])}}}),Ko=["src"],Oo={key:0,class:"gvaIcon gvaIcon-arrow-double-right"},zo={key:1,class:"gvaIcon gvaIcon-arrow-double-left"},Go={class:"mr-1.5 flex items-center"},No={class:"flex justify-center items-center h-full w-full"},Ho={class:"cursor-pointer flex justify-center items-center"},Vo={class:"font-bold"},qo={style:{"margin-left":"8px"}},Uo={class:"button"},Wo={"element-loading-text":"正在加载中"},Jo=Object.assign({name:"Layout"},{__name:"index",setup(e){const o=Y(),t=le(),n=X(),l=a(!1),r=a(!0),d=a(!1),f=a("");a(!1);const v=()=>{"WIN"===window.localStorage.getItem("osType")?f.value="Ctrl":f.value="⌘";window.addEventListener("keydown",(e=>{e.ctrlKey&&"k"===e.key&&(e.preventDefault(),B())}));const e=document.body.clientWidth;e<1e3?(d.value=!0,r.value=!1,l.value=!0):e>=1e3&&e<1200?(d.value=!1,r.value=!1,l.value=!0):(d.value=!1,r.value=!0,l.value=!1)};v();const m=a(),B=()=>{m.value.open()},C=a(!1);i((()=>{ae.emit("collapse",l.value),ae.emit("mobile",d.value),ae.on("reload",R),ae.on("showLoading",(()=>{C.value=!0})),ae.on("closeLoading",(()=>{C.value=!1})),window.onresize=()=>(v(),ae.emit("collapse",l.value),void ae.emit("mobile",d.value)),I.loadingInstance&&I.loadingInstance.close()}));const I=Q(),_=k((()=>"dark"===I.sideMode?"#fff":"light"===I.sideMode?"#191a23":I.baseColor)),D=k((()=>"dark"===I.sideMode?"#191a23":"light"===I.sideMode?"#fff":I.sideMode)),A=k((()=>t.meta.matched)),F=a(!0);let S=null;const R=async()=>{S&&window.clearTimeout(S),S=window.setTimeout((async()=>{if(t.meta.keepAlive)F.value=!1,await P(),F.value=!0;else{const e=t.meta.title;o.push({name:"Reload",params:{title:e}})}}),400)},M=a(!1),$=()=>{l.value=!l.value,r.value=!l.value,M.value=!l.value,ae.emit("collapse",l.value)},L=()=>{o.push({name:"person"})};return(e,o)=>{const a=fe,i=ao,v=ve,k=Ue,S=qe,R=j("arrow-down"),P=y,K=jo,O=To,z=Ro,G=ro,N=j("router-view"),H=io,V=lo,U=ce;return s(),b(V,{class:"layout-cont"},{default:h((()=>[T(V,{class:c([r.value?"openside":"hideside",d.value?"mobile":""])},{default:h((()=>[T(a,{class:c([M.value&&d.value?"bg-black opacity-30 w-full h-full absolute top-0 left-0 z-[1001]":""]),onClick:o[0]||(o[0]=e=>(M.value=!M.value,r.value=!!l.value,void $()))},null,8,["class"]),T(i,{class:"main-cont gva-aside",style:x({width:d.value?l.value?"0px":"220px":l.value?"54px":"220px"})},{default:h((()=>[g("div",{class:"min-h-[60px] text-center transition-all duration-300 flex items-center justify-center gap-2",style:x({background:D.value})},[g("img",{alt:"",class:"w-9 h-9 p-1 bg-white rounded-full",src:e.$GIN_VUE_ADMIN.appLogo},null,8,Ko),r.value?(s(),u("div",{key:0,class:"inline-flex font-bold text-2xl",style:x({color:_.value})},E(e.$GIN_VUE_ADMIN.appName),5)):q("",!0)],4),T(me,{class:"aside"})])),_:1},8,["style"]),T(H,{class:"main-cont main-right"},{default:h((()=>[T(re,{duration:{enter:800,leave:100},mode:"out-in",name:"el-fade-in-linear"},{default:h((()=>[g("div",{style:x({width:"calc(100% - ".concat(d.value?"0px":l.value?"54px":"220px",")")}),class:"fixed top-0 box-border z-50"},[T(a,null,{default:h((()=>[T(v,null,{default:h((()=>[T(G,{class:"header-cont"},{default:h((()=>[T(a,{class:"p-0 h-full"},{default:h((()=>[T(v,{xs:2,lg:1,md:1,sm:1,xl:1,class:"z-50 flex items-center pl-3"},{default:h((()=>[g("div",{class:"text-black cursor-pointer text-lg leading-5",onClick:$},[l.value?(s(),u("div",Oo)):(s(),u("div",zo))])])),_:1}),T(v,{xs:10,lg:14,md:14,sm:9,xl:14,pull:1,class:"flex items-center"},{default:h((()=>[ee(T(S,{class:"breadcrumb"},{default:h((()=>[(s(!0),u(W,null,ne(A.value.slice(1,A.value.length),(e=>(s(),b(k,{key:e.path},{default:h((()=>[te(E(p(ie)(e.meta.title,p(t))),1)])),_:2},1024)))),128))])),_:1},512),[[se,!d.value]])])),_:1}),T(v,{xs:12,lg:9,md:9,sm:14,xl:9,class:"flex items-center justify-end"},{default:h((()=>[g("div",Go,[T(be),T(z,null,{dropdown:h((()=>[T(O,null,{default:h((()=>[T(K,null,{default:h((()=>[g("span",Vo," 当前角色:"+E(p(I).userInfo.authority.authorityName),1)])),_:1}),p(I).userInfo.authorities?(s(!0),u(W,{key:0},ne(p(I).userInfo.authorities.filter((e=>e.authorityId!==p(I).userInfo.authorityId)),(e=>(s(),b(K,{key:e.authorityId,onClick:o=>(async e=>{0===(await de({authorityId:e})).code&&(window.sessionStorage.setItem("needCloseAll","true"),window.location.reload())})(e.authorityId)},{default:h((()=>[g("span",null," 切换为:"+E(e.authorityName),1)])),_:2},1032,["onClick"])))),128)):q("",!0),T(K,{icon:"avatar"},{default:h((()=>[g("div",{class:"command-box",style:{display:"flex"},onClick:B},[o[3]||(o[3]=g("div",null,"指令菜单",-1)),g("div",qo,[g("span",Uo,E(f.value),1),o[1]||(o[1]=te(" + ")),o[2]||(o[2]=g("span",{class:"button"},"K",-1))])])])),_:1}),T(K,{icon:"avatar",onClick:L},{default:h((()=>o[4]||(o[4]=[te("个人信息")]))),_:1}),T(K,{icon:"reading-lamp",onClick:p(I).LoginOut},{default:h((()=>o[5]||(o[5]=[te("登 出")]))),_:1},8,["onClick"])])),_:1})])),default:h((()=>[g("div",No,[g("span",Ho,[T(we),ee(g("span",{style:{"margin-left":"5px"}},E(p(I).userInfo.nickName),513),[[se,!d.value]]),T(P,null,{default:h((()=>[T(R)])),_:1})])])])),_:1})])])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),T(ge,{ref:"layoutHistoryComponent"},null,512)],4)])),_:1}),F.value?(s(),b(N,{key:0,class:"admin-box"},{default:h((({Component:e})=>[ee((s(),u("div",Wo,[T(re,{mode:"out-in",name:"el-fade-in-linear"},{default:h((()=>[(s(),b(ue,{include:p(n).keepAliveRouters},[(s(),b(w(e)))],1032,["include"]))])),_:2},1024)])),[[U,C.value]])])),_:1})):q("",!0),T(he),T(Be),T(Po,{ref_key:"command",ref:m},null,512)])),_:1})])),_:1},8,["class"])])),_:1})}}});export{Jo as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index11.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index11.js new file mode 100644 index 000000000..a28e46f9c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index11.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{_ as e}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{P as n,R as l,a as r,o as t,c}from"./087AC4D233B64EB0index.js";const s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],o=(()=>{if("undefined"==typeof document)return!1;const e=s[0],n={};for(const l of s){if((null==l?void 0:l[1])in document){for(const[r,t]of l.entries())n[e[r]]=t;return n}}return!1})(),u={change:o.fullscreenchange,error:o.fullscreenerror};let a={request:(e=document.documentElement,n)=>new Promise(((l,r)=>{const t=()=>{a.off("change",t),l()};a.on("change",t);const c=e[o.requestFullscreen](n);c instanceof Promise&&c.then(t).catch(r)})),exit:()=>new Promise(((e,n)=>{if(!a.isFullscreen)return void e();const l=()=>{a.off("change",l),e()};a.on("change",l);const r=document[o.exitFullscreen]();r instanceof Promise&&r.then(l).catch(n)})),toggle:(e,n)=>a.isFullscreen?a.exit():a.request(e,n),onchange(e){a.on("change",e)},onerror(e){a.on("error",e)},on(e,n){const l=u[e];l&&document.addEventListener(l,n,!1)},off(e,n){const l=u[e];l&&document.removeEventListener(l,n,!1)},raw:o};Object.defineProperties(a,{isFullscreen:{get:()=>Boolean(document[o.fullscreenElement])},element:{enumerable:!0,get:()=>{var e;return null!=(e=document[o.fullscreenElement])?e:void 0}},isEnabled:{enumerable:!0,get:()=>Boolean(document[o.fullscreenEnabled])}}),o||(a={isEnabled:!1});const i=a,f={key:0,class:"gvaIcon gvaIcon-fullscreen-expand"},m={key:1,class:"gvaIcon gvaIcon-fullscreen-shrink"},d=e(Object.assign({name:"Screenfull"},{__name:"index",props:{width:{type:Number,default:22},height:{type:Number,default:22},fill:{type:String,default:"#48576a"}},setup(e){n((()=>{i.isEnabled&&i.on("change",u)})),l((()=>{i.off("change")}));const s=()=>{i.isEnabled&&i.toggle()},o=r(!0),u=()=>{o.value=!i.isFullscreen};return(e,n)=>(t(),c("div",{onClick:s},[o.value?(t(),c("div",f)):(t(),c("div",m))]))}}),[["__scopeId","data-v-3ff1a29e"]]);export{d as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index12.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index12.js new file mode 100644 index 000000000..c19a09f8f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index12.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,l as s,N as a,o as t,c as i,e as l,w as o,b as c,D as n,h as d,f as r,E as m,H as p}from"./087AC4D233B64EB0index.js";/* empty css */import"./087AC4D233B64EB0overlay.js";/* empty css */import{_ as u}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{E as v}from"./087AC4D233B64EB0index28.js";import"./087AC4D233B64EB0index21.js";const g={class:"setting_body"},k={class:"setting_card"},B={class:"setting_content"},_={class:"theme-box"},h={class:"item-top"},y={class:"item-top"},C=u(Object.assign({name:"Setting"},{__name:"index",setup(u){const C=e(!1),b=e("rtl"),f=s(),j=()=>{C.value=!1},D=()=>{C.value=!0},E=e=>{null!==e?f.changeSideMode(e):f.changeSideMode("dark")};return(e,s)=>{const u=m,x=a("check"),A=p,w=v;return t(),i("div",null,[l(u,{type:"primary",class:"drawer-container",icon:"setting",onClick:D}),l(w,{modelValue:C.value,"onUpdate:modelValue":s[2]||(s[2]=e=>C.value=e),title:"系统配置",direction:b.value,"before-close":j},{default:o((()=>[c("div",g,[c("div",k,[c("div",B,[c("div",_,[c("div",{class:"item",onClick:s[0]||(s[0]=e=>E("light"))},[c("div",h,["light"===n(f).mode?(t(),d(A,{key:0,class:"check"},{default:o((()=>[l(x)])),_:1})):r("",!0),s[3]||(s[3]=c("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/NQ%24zoisaD2/jpRkZQMyYRryryPNtyIC.svg"},null,-1))]),s[4]||(s[4]=c("p",null," 简约白 ",-1))]),c("div",{class:"item",onClick:s[1]||(s[1]=e=>E("dark"))},[c("div",y,["dark"===n(f).mode?(t(),d(A,{key:0,class:"check"},{default:o((()=>[l(x)])),_:1})):r("",!0),s[5]||(s[5]=c("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/XwFOFbLkSM/LCkqqYNmvBEbokSDscrm.svg"},null,-1))]),s[6]||(s[6]=c("p",null," 商务黑 ",-1))])])])])])])),_:1},8,["modelValue","direction"])])}}}),[["__scopeId","data-v-54a7b8de"]]);export{C as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index13.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index13.js new file mode 100644 index 000000000..7637df2c6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index13.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a0 as e,N as a,o as n,c as s,e as t,w as u,Z as i,h as o,a1 as l,D as r,G as d}from"./087AC4D233B64EB0index.js";const m=Object.assign({name:"SuperAdmin"},{__name:"index",setup(m){const c=e();return(e,m)=>{const p=a("router-view");return n(),s("div",null,[t(p,null,{default:u((({Component:e})=>[t(i,{mode:"out-in",name:"el-fade-in-linear"},{default:u((()=>[(n(),o(l,{include:r(c).keepAliveRouters},[(n(),o(d(e)))],1032,["include"]))])),_:2},1024)])),_:1})])}}});export{m as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index14.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index14.js new file mode 100644 index 000000000..75e6a7267 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index14.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{di as e,a,an as l,u as t,r as o,X as u,N as d,o as i,c as s,e as r,b as n,w as m,g as p,K as c,L as v,h as f,t as b,f as y,j as g,bd as B,H as N,E as V,k as _,ap as C}from"./087AC4D233B64EB0index.js";import{E as h}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import{E as D,a as E}from"./087AC4D233B64EB0table-column.js";import{E as k}from"./087AC4D233B64EB0checkbox.js";/* empty css *//* empty css */import"./087AC4D233B64EB0scrollbar.js";import{E as w}from"./087AC4D233B64EB0popover.js";import"./087AC4D233B64EB0tag.js";/* empty css */import{E as x,a as T}from"./087AC4D233B64EB0collapse-item.js";import{a as A,E as j}from"./087AC4D233B64EB0form-item.js";/* empty css */import{E as U,a as S}from"./087AC4D233B64EB0select.js";import L from"./087AC4D233B64EB0fieldDialog.js";import q from"./087AC4D233B64EB0previewCodeDialg.js";import{a as O,b as J,t as F,c as M}from"./087AC4D233B64EB0stringFun.js";import{p as R,c as I,g as W,a as P,b as X,d as $,e as z}from"./087AC4D233B64EB0autoCode.js";import{f as K}from"./087AC4D233B64EB0sysDictionary2.js";import{_ as G}from"./087AC4D233B64EB0warningBar.js";import{a as H}from"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0dropdown.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0index30.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0switch.js";import"./087AC4D233B64EB0tab-pane.js";const Q=e("dictionary",(()=>{const e=a({}),l=a=>{e.value={...e.value,...a}};return{dictionaryMap:e,setDictionaryMap:l,getDictionary:async a=>{if(e.value[a]&&e.value[a].length)return e.value[a];{const t=await K({type:a});if(0===t.code){const o={},u=[];return t.data.resysDictionary.sysDictionaryDetails&&t.data.resysDictionary.sysDictionaryDetails.forEach((e=>{u.push({label:e.label,value:e.value})})),o[t.data.resysDictionary.type]=u,l(o),e.value[a]}}}}})),Y={class:"gva-search-box"},Z={style:{fontSize:"16px",paddingLeft:"20px"}},ee={style:{float:"right",color:"#8492a6","font-size":"13px"}},ae={class:"gva-search-box"},le={style:{float:"right",color:"#8492a6","font-size":"13px"}},te={class:"gva-table-box"},oe={class:"gva-btn-list"},ue={style:{"text-align":"right","margin-top":"8px"}},de={class:"gva-btn-list justify-end mt-4"},ie={class:"dialog-footer"},se={class:"flex items-center py-1.5"},re={class:"dialog-footer",style:{"padding-top":"14px","padding-right":"14px"}},ne=Object.assign({name:"AutoCode"},{__name:"index",setup(e){const K=a([{label:"字符串",value:"string"},{label:"富文本",value:"richtext"},{label:"整型",value:"int"},{label:"布尔值",value:"bool"},{label:"浮点型",value:"float64"},{label:"时间",value:"time.Time"},{label:"枚举",value:"enum"},{label:"单图片(字符串)",value:"picture"},{label:"多图片(json字符串)",value:"pictures"},{label:"视频(字符串)",value:"video"},{label:"文件(json字符串)",value:"file"}]),ne=a([{label:"=",value:"="},{label:"<>",value:"<>"},{label:">",value:">"},{label:"<",value:"<"},{label:"LIKE",value:"LIKE"},{label:"BETWEEN",value:"BETWEEN"},{label:"NOT BETWEEN",value:"NOT BETWEEN"}]),me={fieldName:"",fieldDesc:"",fieldType:"",dataType:"",fieldJson:"",columnName:"",dataTypeLong:"",comment:"",require:!1,sort:!1,errorText:"",clearable:!0,fieldSearchType:"",dictType:""},pe=l(),ce=t(),ve=o([]),fe=a({}),be=a({businessDB:"",dbName:"",tableName:""}),ye=a([]),ge=a(""),Be=a({}),Ne=a({structName:"",tableName:"",packageName:"",package:"",abbreviation:"",description:"",businessDB:"",autoCreateApiToSql:!0,autoMoveFile:!0,autoCreateResource:!1,fields:[]}),Ve=a({structName:[{required:!0,message:"请输入结构体名称",trigger:"blur"}],abbreviation:[{required:!0,message:"请输入结构体简称",trigger:"blur"}],description:[{required:!0,message:"请输入结构体描述",trigger:"blur"}],packageName:[{required:!0,message:"文件名称:sysXxxxXxxx",trigger:"blur"}],package:[{required:!0,message:"请选择package",trigger:"blur"}]}),_e=a({}),Ce=a({}),he=a(!1),De=a(!1),Ee=a(null),ke=()=>{Ee.value.selectText()},we=()=>{Ee.value.copy()},xe=e=>{he.value=!0,e?(ge.value="edit",Ce.value=JSON.parse(JSON.stringify(e)),_e.value=e):(ge.value="add",_e.value=JSON.parse(JSON.stringify(me)))},Te=C(),Ae=()=>{Te.refs.fieldDialogNode.fieldDialogFrom.validate((e=>{if(!e)return!1;_e.value.fieldName=J(_e.value.fieldName),"add"===ge.value&&Ne.value.fields.push(_e.value),he.value=!1}))},je=()=>{"edit"===ge.value&&(_e.value=Ce.value),he.value=!1},Ue=a(null),Se=async e=>Ne.value.fields.length<=0?(g({type:"error",message:"请填写至少一个field"}),!1):Ne.value.fields.some((e=>e.fieldName===Ne.value.structName))?(g({type:"error",message:"存在与结构体同名的字段"}),!1):Ne.value.package===Ne.value.abbreviation?(g({type:"error",message:"package和结构体简称不可同名"}),!1):void Ue.value.validate((async a=>{var l;if(!a)return!1;for(const e in Ne.value)"string"==typeof Ne.value[e]&&(Ne.value[e]=Ne.value[e].trim());if(Ne.value.structName=J(Ne.value.structName),Ne.value.tableName=Ne.value.tableName.replace(" ",""),Ne.value.tableName||(Ne.value.tableName=F(O(Ne.value.structName))),Ne.value.structName===Ne.value.abbreviation)return g({type:"error",message:"structName和struct简称不能相同"}),!1;if(Ne.value.humpPackageName=F(Ne.value.packageName),e){const e=await R(Ne.value);fe.value=e.data.autoCode,De.value=!0}else{const e=await I(Ne.value);if("false"===(null==(l=e.headers)?void 0:l.success))return;if(Ne.value.autoMoveFile)return void g({type:"success",message:"自动化代码创建成功,自动移动成功"});g({type:"success",message:"自动化代码创建成功,正在下载"});const a=new Blob([e]),t="ginvueadmin.zip";if("download"in document.createElement("a")){const e=window.URL.createObjectURL(a),l=document.createElement("a");l.style.display="none",l.href=e,l.setAttribute("download",t),document.body.appendChild(l),l.click(),document.body.removeChild(l),window.URL.revokeObjectURL(e)}else window.navigator.msSaveBlob(a,t)}})),Le=a([]),qe=a([]),Oe=async()=>{be.value.dbName="",be.value.tableName="";const e=await W({businessDB:be.value.businessDB});0===e.code&&(qe.value=e.data.dbs,Le.value=e.data.dbList)},Je=async()=>{const e=await P({businessDB:be.value.businessDB,dbName:be.value.dbName});0===e.code&&(ye.value=e.data.tables),be.value.tableName=""},Fe=async()=>{const e=["id","created_at","updated_at","deleted_at"],a=await X(be.value);if(0===a.code){let l="";if(""!==be.value.businessDB){const e=Le.value.find((e=>e.aliasName===be.value.businessDB)),a=B(e);l=a.dbtype}const t=M(be.value.tableName);Ne.value.structName=J(t),Ne.value.tableName=be.value.tableName,Ne.value.packageName=t,Ne.value.abbreviation=t,Ne.value.description=t+"表",Ne.value.autoCreateApiToSql=!0,Ne.value.autoMoveFile=!0,Ne.value.fields=[],a.data.columns&&a.data.columns.forEach((a=>{if(!e.some((e=>e===a.columnName))){const e=M(a.columnName);Ne.value.fields.push({fieldName:J(e),fieldDesc:a.columnComment||e+"字段",fieldType:Be.value[a.dataType],dataType:a.dataType,fieldJson:e,dataTypeLong:a.dataTypeLong&&a.dataTypeLong.split(",")[0],columnName:"oracle"===l?a.columnName.toUpperCase():a.columnName,comment:a.columnComment,require:!1,errorText:"",clearable:!0,fieldSearchType:"",dictType:""})}}))}},Me=async()=>{["string","int","bool","float64","time.Time"].forEach((async e=>{const a=await(async e=>{const a=Q();return await a.getDictionary(e),a.dictionaryMap[e]})(e);a&&a.forEach((a=>{Be.value[a.label]=e}))}))},Re=a([]),Ie=async()=>{const e=await $();0===e.code&&(Re.value=e.data.pkgs)},We=()=>{ce.push({name:"autoPkg"})},Pe=()=>{Oe(),Me(),Ie();const e=pe.params.id;e&&(async e=>{const a=await z({id:Number(e)});0===a.code&&(Ne.value=JSON.parse(a.data.meta))})(e)};return Pe(),u((()=>pe.params.id),(()=>{"autoCodeEdit"===pe.name&&Pe()})),(e,a)=>{const l=d("pointer"),t=N,o=d("QuestionFilled"),u=H,g=U,B=S,C=A,J=V,F=j,M=x,R=T,I=_,W=d("refresh"),P=d("document-add"),X=k,$=D,z=w,Q=E,me=h;return i(),s("div",null,[r(G,{href:"https://www.bilibili.com/video/BV1kv4y1g7nT?p=3",title:"此功能为开发环境使用,不建议发布到生产,具体使用效果请看视频https://www.bilibili.com/video/BV1kv4y1g7nT?p=3"}),n("div",Y,[r(R,{modelValue:ve,"onUpdate:modelValue":a[3]||(a[3]=e=>ve=e),style:{"margin-bottom":"12px"}},{default:m((()=>[r(M,{name:"1"},{title:m((()=>[n("div",Z,[a[21]||(a[21]=p(" 点这里从现有数据库创建代码 ")),r(t,{class:"header-icon"},{default:m((()=>[r(l)])),_:1})])])),default:m((()=>[r(F,{ref:"getTableForm",style:{"margin-top":"24px"},inline:!0,model:be.value,"label-width":"120px"},{default:m((()=>[r(C,{label:"业务库",prop:"selectDBtype"},{label:m((()=>[r(u,{content:"注:需要提前到db-list自行配置多数据库,如未配置需配置后重启服务方可使用。(此处可选择对应库表,可理解为从哪个库选择表)",placement:"bottom",effect:"light"},{default:m((()=>[n("div",null,[a[22]||(a[22]=p(" 业务库 ")),r(t,null,{default:m((()=>[r(o)])),_:1})])])),_:1})])),default:m((()=>[r(B,{modelValue:be.value.businessDB,"onUpdate:modelValue":a[0]||(a[0]=e=>be.value.businessDB=e),clearable:"",style:{width:"194px"},placeholder:"选择业务库",onChange:Oe},{default:m((()=>[(i(!0),s(c,null,v(Le.value,(e=>(i(),f(g,{key:e.aliasName,value:e.aliasName,label:e.aliasName,disabled:e.disable},{default:m((()=>[n("div",null,[n("span",null,b(e.aliasName),1),n("span",ee,b(e.dbName),1)])])),_:2},1032,["value","label","disabled"])))),128))])),_:1},8,["modelValue"])])),_:1}),r(C,{label:"数据库名",prop:"structName"},{default:m((()=>[r(B,{modelValue:be.value.dbName,"onUpdate:modelValue":a[1]||(a[1]=e=>be.value.dbName=e),clearable:"",filterable:"",placeholder:"请选择数据库",onChange:Je},{default:m((()=>[(i(!0),s(c,null,v(qe.value,(e=>(i(),f(g,{key:e.database,label:e.database,value:e.database},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),r(C,{label:"表名",prop:"structName"},{default:m((()=>[r(B,{modelValue:be.value.tableName,"onUpdate:modelValue":a[2]||(a[2]=e=>be.value.tableName=e),disabled:!be.value.dbName,filterable:"",placeholder:"请选择表"},{default:m((()=>[(i(!0),s(c,null,v(ye.value,(e=>(i(),f(g,{key:e.tableName,label:e.tableName,value:e.tableName},null,8,["label","value"])))),128))])),_:1},8,["modelValue","disabled"])])),_:1}),r(C,null,{default:m((()=>[r(J,{type:"primary",onClick:Fe},{default:m((()=>a[23]||(a[23]=[p("使用此表创建")]))),_:1})])),_:1})])),_:1},8,["model"])])),_:1})])),_:1},8,["modelValue"])]),n("div",ae,[r(F,{ref_key:"autoCodeForm",ref:Ue,rules:Ve.value,model:Ne.value,"label-width":"120px",inline:!0},{default:m((()=>[r(C,{label:"Struct名称",prop:"structName"},{default:m((()=>[r(I,{modelValue:Ne.value.structName,"onUpdate:modelValue":a[4]||(a[4]=e=>Ne.value.structName=e),placeholder:"首字母自动转换大写"},null,8,["modelValue"])])),_:1}),r(C,{label:"TableName",prop:"tableName"},{default:m((()=>[r(I,{modelValue:Ne.value.tableName,"onUpdate:modelValue":a[5]||(a[5]=e=>Ne.value.tableName=e),placeholder:"指定表名(非必填)"},null,8,["modelValue"])])),_:1}),r(C,{label:"Struct简称",prop:"abbreviation"},{default:m((()=>[r(I,{modelValue:Ne.value.abbreviation,"onUpdate:modelValue":a[6]||(a[6]=e=>Ne.value.abbreviation=e),placeholder:"简称会作为入参对象名和路由group"},null,8,["modelValue"])])),_:1}),r(C,{label:"Struct中文名称",prop:"description"},{default:m((()=>[r(I,{modelValue:Ne.value.description,"onUpdate:modelValue":a[7]||(a[7]=e=>Ne.value.description=e),placeholder:"中文描述作为自动api描述"},null,8,["modelValue"])])),_:1}),r(C,{label:"文件名称",prop:"packageName"},{default:m((()=>[r(I,{modelValue:Ne.value.packageName,"onUpdate:modelValue":a[8]||(a[8]=e=>Ne.value.packageName=e),placeholder:"生成文件的默认名称(建议为驼峰格式,首字母小写,如sysXxxXxxx)",onBlur:a[9]||(a[9]=e=>{var a,l;(a=Ne.value)[l="packageName"]=O(a[l])})},null,8,["modelValue"])])),_:1}),r(C,{label:"Package(包)",prop:"package"},{default:m((()=>[r(B,{modelValue:Ne.value.package,"onUpdate:modelValue":a[10]||(a[10]=e=>Ne.value.package=e),style:{width:"194px"}},{default:m((()=>[(i(!0),s(c,null,v(Re.value,(e=>(i(),f(g,{key:e.ID,value:e.packageName,label:e.packageName},null,8,["value","label"])))),128))])),_:1},8,["modelValue"]),r(t,{class:"cursor-pointer ml-2 text-gray-600",onClick:Ie},{default:m((()=>[r(W)])),_:1}),r(t,{class:"cursor-pointer ml-2 text-gray-600",onClick:We},{default:m((()=>[r(P)])),_:1})])),_:1}),r(C,{label:"业务库",prop:"businessDB"},{label:m((()=>[r(u,{content:"注:需要提前到db-list自行配置多数据库,此项为空则会使用gva本库创建自动化代码(global.GVA_DB),填写后则会创建指定库的代码(global.MustGetGlobalDBByDBName(dbname))",placement:"bottom",effect:"light"},{default:m((()=>[n("div",null,[a[24]||(a[24]=p(" 业务库 ")),r(t,null,{default:m((()=>[r(o)])),_:1})])])),_:1})])),default:m((()=>[r(B,{modelValue:Ne.value.businessDB,"onUpdate:modelValue":a[11]||(a[11]=e=>Ne.value.businessDB=e),style:{width:"194px"},placeholder:"选择业务库"},{default:m((()=>[(i(!0),s(c,null,v(Le.value,(e=>(i(),f(g,{key:e.aliasName,value:e.aliasName,label:e.aliasName,disabled:e.disable},{default:m((()=>[n("div",null,[n("span",null,b(e.aliasName),1),n("span",le,b(e.dbName),1)])])),_:2},1032,["value","label","disabled"])))),128))])),_:1},8,["modelValue"])])),_:1}),r(C,null,{label:m((()=>[r(u,{content:"注:会自动在结构体添加 created_by updated_by deleted_by,方便用户进行资源权限控制",placement:"bottom",effect:"light"},{default:m((()=>[n("div",null,[a[25]||(a[25]=p(" 创建资源标识 ")),r(t,null,{default:m((()=>[r(o)])),_:1})])])),_:1})])),default:m((()=>[r(X,{modelValue:Ne.value.autoCreateResource,"onUpdate:modelValue":a[12]||(a[12]=e=>Ne.value.autoCreateResource=e)},null,8,["modelValue"])])),_:1}),r(C,null,{label:m((()=>[r(u,{content:"注:把自动生成的API注册进数据库",placement:"bottom",effect:"light"},{default:m((()=>a[26]||(a[26]=[n("div",null," 自动创建API ",-1)]))),_:1})])),default:m((()=>[r(X,{modelValue:Ne.value.autoCreateApiToSql,"onUpdate:modelValue":a[13]||(a[13]=e=>Ne.value.autoCreateApiToSql=e)},null,8,["modelValue"])])),_:1}),r(C,null,{label:m((()=>[r(u,{content:"注:自动迁移生成的文件到yaml配置的对应位置",placement:"bottom",effect:"light"},{default:m((()=>a[27]||(a[27]=[n("div",null," 自动移动文件 ",-1)]))),_:1})])),default:m((()=>[r(X,{modelValue:Ne.value.autoMoveFile,"onUpdate:modelValue":a[14]||(a[14]=e=>Ne.value.autoMoveFile=e)},null,8,["modelValue"])])),_:1})])),_:1},8,["rules","model"])]),n("div",te,[n("div",oe,[r(J,{type:"primary",onClick:a[15]||(a[15]=e=>xe())},{default:m((()=>a[28]||(a[28]=[p("新增字段")]))),_:1})]),r(Q,{data:Ne.value.fields},{default:m((()=>[r($,{align:"left",type:"index",label:"序列",width:"60"}),r($,{align:"left",prop:"fieldName",label:"字段名称",width:"160"},{default:m((({row:e})=>[r(I,{modelValue:e.fieldName,"onUpdate:modelValue":a=>e.fieldName=a},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"fieldDesc",label:"中文名",width:"160"},{default:m((({row:e})=>[r(I,{modelValue:e.fieldDesc,"onUpdate:modelValue":a=>e.fieldDesc=a},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"require",label:"必填"},{default:m((({row:e})=>[r(X,{modelValue:e.require,"onUpdate:modelValue":a=>e.require=a},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"sort",label:"排序"},{default:m((({row:e})=>[r(X,{modelValue:e.sort,"onUpdate:modelValue":a=>e.sort=a},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"fieldJson",width:"160px",label:"字段Json"},{default:m((({row:e})=>[r(I,{modelValue:e.fieldJson,"onUpdate:modelValue":a=>e.fieldJson=a},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"fieldType",label:"字段类型",width:"160"},{default:m((({row:e})=>[r(B,{modelValue:e.fieldType,"onUpdate:modelValue":a=>e.fieldType=a,style:{width:"100%"},placeholder:"请选择字段类型",clearable:""},{default:m((()=>[(i(!0),s(c,null,v(K.value,(e=>(i(),f(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])))),128))])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"dataTypeLong",label:"数据库字段长度",width:"160"},{default:m((({row:e})=>[r(I,{modelValue:e.dataTypeLong,"onUpdate:modelValue":a=>e.dataTypeLong=a},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"columnName",label:"数据库字段",width:"160"},{default:m((({row:e})=>[r(I,{modelValue:e.columnName,"onUpdate:modelValue":a=>e.columnName=a},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"comment",label:"数据库字段描述",width:"160"},{default:m((({row:e})=>[r(I,{modelValue:e.columnName,"onUpdate:modelValue":a=>e.columnName=a},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",prop:"fieldSearchType",label:"搜索条件",width:"130"},{default:m((({row:e})=>[r(B,{modelValue:e.fieldSearchType,"onUpdate:modelValue":a=>e.fieldSearchType=a,style:{width:"100%"},placeholder:"请选择字段查询条件",clearable:""},{default:m((()=>[(i(!0),s(c,null,v(ne.value,(a=>(i(),f(g,{key:a.value,label:a.label,value:a.value,disabled:"string"!==e.fieldType&&"LIKE"===a.value||"int"!==e.fieldType&&"time.Time"!==e.fieldType&&"float64"!==e.fieldType&&("BETWEEN"===a.value||"NOT BETWEEN"===a.value)},null,8,["label","value","disabled"])))),128))])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:1}),r($,{align:"left",label:"操作",width:"300",fixed:"right"},{default:m((e=>[r(J,{type:"primary",link:"",icon:"edit",onClick:a=>xe(e.row)},{default:m((()=>a[29]||(a[29]=[p("高级编辑")]))),_:2},1032,["onClick"]),r(J,{type:"primary",link:"",disabled:0===e.$index,onClick:a=>(e=>{if(0===e)return;const a=Ne.value.fields[e-1];Ne.value.fields.splice(e-1,1),Ne.value.fields.splice(e,0,a)})(e.$index)},{default:m((()=>a[30]||(a[30]=[p("上移")]))),_:2},1032,["disabled","onClick"]),r(J,{type:"primary",link:"",disabled:e.$index+1===Ne.value.fields.length,onClick:a=>(e=>{if(e===Ne.value.fields.length-1)return;const a=Ne.value.fields[e+1];Ne.value.fields.splice(e+1,1),Ne.value.fields.splice(e,0,a)})(e.$index)},{default:m((()=>a[31]||(a[31]=[p("下移")]))),_:2},1032,["disabled","onClick"]),r(z,{modelValue:e.row.visible,"onUpdate:modelValue":a=>e.row.visible=a,placement:"top"},{reference:m((()=>[r(J,{type:"primary",link:"",icon:"delete",onClick:a=>e.row.visible=!0},{default:m((()=>a[34]||(a[34]=[p("删除")]))),_:2},1032,["onClick"])])),default:m((()=>[a[35]||(a[35]=n("p",null,"确定删除吗?",-1)),n("div",ue,[r(J,{type:"primary",link:"",onClick:a=>e.row.visible=!1},{default:m((()=>a[32]||(a[32]=[p("取消")]))),_:2},1032,["onClick"]),r(J,{type:"primary",onClick:a=>{return l=e.$index,void Ne.value.fields.splice(l,1);var l}},{default:m((()=>a[33]||(a[33]=[p("确定")]))),_:2},1032,["onClick"])])])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:1})])),_:1},8,["data"]),n("div",de,[r(J,{type:"primary",onClick:a[16]||(a[16]=e=>Se(!0))},{default:m((()=>a[36]||(a[36]=[p("预览代码")]))),_:1}),r(J,{type:"primary",onClick:a[17]||(a[17]=e=>Se(!1))},{default:m((()=>a[37]||(a[37]=[p("生成代码")]))),_:1})])]),r(me,{modelValue:he.value,"onUpdate:modelValue":a[18]||(a[18]=e=>he.value=e),width:"70%",title:"组件内容"},{footer:m((()=>[n("div",ie,[r(J,{onClick:je},{default:m((()=>a[38]||(a[38]=[p("取 消")]))),_:1}),r(J,{type:"primary",onClick:Ae},{default:m((()=>a[39]||(a[39]=[p("确 定")]))),_:1})])])),default:m((()=>[he.value?(i(),f(L,{key:0,ref:"fieldDialogNode","dialog-middle":_e.value,"type-options":K.value,"type-search-options":ne.value},null,8,["dialog-middle","type-options","type-search-options"])):y("",!0)])),_:1},8,["modelValue"]),r(me,{modelValue:De.value,"onUpdate:modelValue":a[20]||(a[20]=e=>De.value=e)},{header:m((()=>[n("div",se,[a[42]||(a[42]=n("p",null,"操作栏:",-1)),r(J,{type:"primary",onClick:ke},{default:m((()=>a[40]||(a[40]=[p("全选")]))),_:1}),r(J,{type:"primary",onClick:we},{default:m((()=>a[41]||(a[41]=[p("复制")]))),_:1})])])),footer:m((()=>[n("div",re,[r(J,{type:"primary",onClick:a[19]||(a[19]=e=>De.value=!1)},{default:m((()=>a[43]||(a[43]=[p("确 定")]))),_:1})])])),default:m((()=>[De.value?(i(),f(q,{key:0,ref_key:"previewNode",ref:Ee,"preview-code":fe.value},null,8,["preview-code"])):y("",!0)])),_:1},8,["modelValue"])])}}});export{ne as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index15.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index15.js new file mode 100644 index 000000000..31c520750 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index15.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{u as a,a as t,o as e,c as i,b as n,e as o,w as l,g as s,t as r,D as p,h as c,T as d,j as u,E as m}from"./087AC4D233B64EB0index.js";/* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as B,a as f}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css *//* empty css */import{f as C,h as g,r as y}from"./087AC4D233B64EB0autoCode.js";import{f as D}from"./087AC4D233B64EB0format.js";import{E}from"./087AC4D233B64EB0index22.js";import{E as A}from"./087AC4D233B64EB0index25.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0date.js";const b={class:"gva-table-box"},j={class:"gva-btn-list"},w={class:"gva-pagination"},v=Object.assign({name:"AutoCodeAdmin"},{__name:"index",setup(v){const h=a(),x=t(1),k=t(0),_=t(10),T=t([]),z=a=>{_.value=a,I()},N=a=>{x.value=a,I()},I=async()=>{const a=await C({page:x.value,pageSize:_.value});0===a.code&&(T.value=a.data.list,k.value=a.data.total,x.value=a.data.page,_.value=a.data.pageSize)};I();const S=async(a,t)=>{t?d.confirm("此操作将删除自动创建的文件和api(会删除表!!!), 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{d.confirm("此操作将删除自动创建的文件和api(会删除表!!!), 请继续确认!!!","会删除表",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{d.confirm("此操作将删除自动创建的文件和api(会删除表!!!), 请继续确认!!!","会删除表",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{0===(await y({id:Number(a.ID),deleteTable:t})).code&&(u.success("回滚成功"),I())}))}))})):d.confirm("此操作将删除自动创建的文件和api, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{0===(await y({id:Number(a.ID),deleteTable:t})).code&&(u.success("回滚成功"),I())}))},O=a=>{a?h.push({name:"autoCodeEdit",params:{id:a.ID}}):h.push({name:"autoCode"})};return(a,t)=>{const C=m,y=B,v=E,h=f,q=A;return e(),i("div",null,[n("div",b,[n("div",j,[o(C,{type:"primary",icon:"plus",onClick:t[0]||(t[0]=a=>O(null))},{default:l((()=>t[1]||(t[1]=[s("新增")]))),_:1})]),o(h,{data:T.value},{default:l((()=>[o(y,{type:"selection",width:"55"}),o(y,{align:"left",label:"id",width:"60",prop:"ID"}),o(y,{align:"left",label:"日期",width:"180"},{default:l((a=>[s(r(p(D)(a.row.CreatedAt)),1)])),_:1}),o(y,{align:"left",label:"结构体名","min-width":"150",prop:"structName"}),o(y,{align:"left",label:"结构体描述","min-width":"150",prop:"structCNName"}),o(y,{align:"left",label:"表名称","min-width":"150",prop:"tableName"}),o(y,{align:"left",label:"回滚标记","min-width":"150",prop:"flag"},{default:l((a=>[a.row.flag?(e(),c(v,{key:0,type:"danger",effect:"dark"},{default:l((()=>t[2]||(t[2]=[s(" 已回滚 ")]))),_:1})):(e(),c(v,{key:1,type:"success",effect:"dark"},{default:l((()=>t[3]||(t[3]=[s(" 未回滚 ")]))),_:1}))])),_:1}),o(y,{align:"left",label:"操作","min-width":"240"},{default:l((a=>[n("div",null,[o(C,{type:"primary",link:"",disabled:1===a.row.flag,onClick:t=>S(a.row,!0)},{default:l((()=>t[4]||(t[4]=[s("回滚(删表)")]))),_:2},1032,["disabled","onClick"]),o(C,{type:"primary",link:"",disabled:1===a.row.flag,onClick:t=>S(a.row,!1)},{default:l((()=>t[5]||(t[5]=[s("回滚(不删表)")]))),_:2},1032,["disabled","onClick"]),o(C,{type:"primary",link:"",onClick:t=>O(a.row)},{default:l((()=>t[6]||(t[6]=[s("复用")]))),_:2},1032,["onClick"]),o(C,{type:"primary",link:"",onClick:t=>(async a=>{d.confirm("此操作将删除本历史, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{0===(await g({id:Number(a.ID)})).code&&(u.success("删除成功"),I())}))})(a.row)},{default:l((()=>t[7]||(t[7]=[s("删除")]))),_:2},1032,["onClick"])])])),_:1})])),_:1},8,["data"]),n("div",w,[o(q,{"current-page":x.value,"page-size":_.value,"page-sizes":[10,30,50,100],total:k.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:N,onSizeChange:z},null,8,["current-page","page-size","total"])])])])}}});export{v as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index16.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index16.js new file mode 100644 index 000000000..33914e747 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index16.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,o as a,c as t,b as r}from"./087AC4D233B64EB0index.js";const n={style:{height:"80vh"}},o=["src"],s=Object.assign({name:"FormGenerator"},{__name:"index",setup(s){const c=e("https://demo.gin-vue-admin.com"),i=e("8888");return(e,s)=>(a(),t("div",n,[r("iframe",{width:"100%",height:"100%",src:"".concat(c.value,":").concat(i.value,"/form-generator/#/"),frameborder:"0"},null,8,o)]))}});export{s as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index17.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index17.js new file mode 100644 index 000000000..814a49300 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index17.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a0 as e,N as a,o as s,c as n,e as t,w as o,Z as u,h as i,a1 as l,D as r,G as d}from"./087AC4D233B64EB0index.js";const m=Object.assign({name:"System"},{__name:"index",setup(m){const c=e();return(e,m)=>{const f=a("router-view");return s(),n("div",null,[t(f,null,{default:o((({Component:e})=>[t(u,{mode:"out-in",name:"el-fade-in-linear"},{default:o((()=>[(s(),i(l,{include:r(c).keepAliveRouters},[(s(),i(d(e)))],1032,["include"]))])),_:2},1024)])),_:1})])}}});export{m as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index18.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index18.js new file mode 100644 index 000000000..2f53bbafe --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index18.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{l as a,a as s,N as e,o,c as t,e as l,w as i,b as r,g as n,D as p,j as d,H as c}from"./087AC4D233B64EB0index.js";/* empty css *//* empty css */import{E as B}from"./087AC4D233B64EB0index26.js";import"./087AC4D233B64EB0index27.js";import"./087AC4D233B64EB0cloneDeep.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0isEqual.js";const u={__name:"index",setup(u){const m=a(),C=s("/api"),E=a=>{if(0===a.code){let s="";a.data&&a.data.forEach(((a,e)=>{s+="".concat(e+1,".").concat(a.msg,"\n")})),alert(s)}else d.error(a.msg)};return(a,s)=>{const d=e("upload-filled"),u=c,j=B;return o(),t("div",null,[l(j,{drag:"",action:"".concat(C.value,"/autoCode/installPlugin"),headers:{"x-token":p(m).token},"show-file-list":!1,"on-success":E,"on-error":E,name:"plug"},{tip:i((()=>s[0]||(s[0]=[r("div",{class:"el-upload__tip"}," 请把安装包的zip拖拽至此处上传 ",-1)]))),default:i((()=>[l(u,{class:"el-icon--upload"},{default:i((()=>[l(d)])),_:1}),s[1]||(s[1]=r("div",{class:"el-upload__text"},[n(" 拖拽或"),r("em",null,"点击上传")],-1))])),_:1},8,["action","headers"])])}}};export{u as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index19.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index19.js new file mode 100644 index 000000000..efb442ca7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index19.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as e,a,r as l,o as t,c as o,e as s,b as m,w as d,g as i,j as u,k as n,E as r}from"./087AC4D233B64EB0index.js";import{a as c,E as p}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{_ as B}from"./087AC4D233B64EB0warningBar.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";const b=a=>e({url:"/email/emailTest",method:"post",data:a}),f={class:"gva-form-box"},j=Object.assign({name:"Email"},{__name:"index",setup(e){const j=a(null),_=l({to:"",subject:"",body:""}),C=async()=>{0===(await b()).code&&u.success("发送成功")},E=async()=>{0===(await b()).code&&u.success("发送成功,请查收")};return(e,a)=>{const l=n,u=c,b=r,A=p;return t(),o("div",null,[s(B,{title:"需要提前配置email配置文件,为防止不必要的垃圾邮件,在线体验功能不开放此功能体验。"}),m("div",f,[s(A,{ref_key:"emailForm",ref:j,"label-position":"right","label-width":"80px",model:_},{default:d((()=>[s(u,{label:"目标邮箱"},{default:d((()=>[s(l,{modelValue:_.to,"onUpdate:modelValue":a[0]||(a[0]=e=>_.to=e)},null,8,["modelValue"])])),_:1}),s(u,{label:"邮件"},{default:d((()=>[s(l,{modelValue:_.subject,"onUpdate:modelValue":a[1]||(a[1]=e=>_.subject=e)},null,8,["modelValue"])])),_:1}),s(u,{label:"邮件内容"},{default:d((()=>[s(l,{modelValue:_.body,"onUpdate:modelValue":a[2]||(a[2]=e=>_.body=e),type:"textarea"},null,8,["modelValue"])])),_:1}),s(u,null,{default:d((()=>[s(b,{onClick:C},{default:d((()=>a[3]||(a[3]=[i("发送测试邮件")]))),_:1}),s(b,{onClick:E},{default:d((()=>a[4]||(a[4]=[i("发送邮件")]))),_:1})])),_:1})])),_:1},8,["model"])])])}}});export{j as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index2.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index2.css new file mode 100644 index 000000000..b98d56dc5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index2.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.slide-in-fwd-top[data-v-700abcda]{animation:slide-in-fwd-top-700abcda .4s cubic-bezier(.25,.46,.45,.94) both}.slide-out-right[data-v-700abcda]{animation:slide-out-right-700abcda .5s cubic-bezier(.55,.085,.68,.53) both}.slide-in-left[data-v-700abcda]{animation:slide-in-left-700abcda .5s cubic-bezier(.25,.46,.45,.94) both}@keyframes slide-in-fwd-top-700abcda{0%{transform:translateZ(-1400px) translateY(-800px);opacity:0}to{transform:translateZ(0) translateY(0);opacity:1}}@keyframes slide-out-right-700abcda{0%{transform:translate(0);opacity:1}to{transform:translate(1000px);opacity:0}}@keyframes slide-in-left-700abcda{0%{transform:translate(-1000px);opacity:0}to{transform:translate(0);opacity:1}}@media (max-width: 750px){.form[data-v-700abcda]{width:94vw!important;padding:0}} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index2.js new file mode 100644 index 000000000..3ddb7e627 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{u as e,r as a,a as l,o as s,c as t,b as o,n as d,d as r,e as m,w as i,f as p,E as b,g as n,h as c,i as u,j as h,k as g}from"./087AC4D233B64EB0index.js";import{E as y,a as f}from"./087AC4D233B64EB0form-item.js";/* empty css */import"./087AC4D233B64EB0tag.js";import{E as w,a as v}from"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css *//* empty css */import{_ as B,i as j}from"./087AC4D233B64EB0initdb.js";import{_ as q}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0debounce.js";const k={class:"rounded-lg flex items-center justify-evenly w-full h-full relative bg-white md:w-screen md:h-screen md:bg-[#194bfb] overflow-hidden"},x={class:"rounded-md w-full h-full flex items-center justify-center overflow-hidden"},C={class:"text-lg"},E={class:"flex items-center justify-between mt-8"},_={style:{"text-align":"right"}},A=q(Object.assign({name:"Init"},{__name:"index",setup(q){const A=e(),V=a({showReadme:!1,showForm:!1}),D=()=>{V.showReadme=!1,setTimeout((()=>{V.showForm=!0}),20)},N=()=>{window.open("https://www.gin-vue-admin.com/guide/start-quickly/env.html")},T=l(!1),U=a({dbType:"mysql",host:"127.0.0.1",port:"3306",userName:"root",password:"",dbName:"gva",dbPath:""}),P=e=>{switch(e){case"mysql":default:Object.assign(U,{dbType:"mysql",host:"127.0.0.1",port:"3306",userName:"root",password:"",dbName:"gva",dbPath:""});break;case"pgsql":Object.assign(U,{dbType:"pgsql",host:"127.0.0.1",port:"5432",userName:"postgres",password:"",dbName:"gva",dbPath:""});break;case"oracle":Object.assign(U,{dbType:"oracle",host:"127.0.0.1",port:"1521",userName:"oracle",password:"",dbName:"gva",dbPath:""});break;case"mssql":Object.assign(U,{dbType:"mssql",host:"127.0.0.1",port:"1433",userName:"mssql",password:"",dbName:"gva",dbPath:""});break;case"sqlite":Object.assign(U,{dbType:"sqlite",host:"",port:"",userName:"",password:"",dbName:"gva",dbPath:""})}},O=async()=>{const e=u.service({lock:!0,text:"正在初始化数据库,请稍候",spinner:"loading",background:"rgba(0, 0, 0, 0.7)"});try{const a=await j(U);0===a.code&&(T.value=!0,h({type:"success",message:a.msg}),A.push({name:"Login"})),e.close()}catch(a){e.close()}};return(e,a)=>{const l=b,u=w,h=v,j=f,q=g,A=y;return s(),t("div",k,[o("div",x,[a[11]||(a[11]=o("div",{class:"oblique h-[130%] w-3/5 bg-white transform -rotate-12 absolute -ml-80"},null,-1)),V.showForm?p("",!0):(s(),t("div",{key:0,class:d([V.showReadme?"slide-out-right":"slide-in-fwd-top"])},[o("div",C,[a[9]||(a[9]=r('
GIN-VUE-ADMIN

初始化须知

1.您需有用一定的VUE和GOLANG基础

2.请您确认是否已经阅读过官方文档 初始化视频

3.请您确认是否了解后续的配置流程

4.如果您使用mysql数据库,请确认数据库引擎为innoDB

注:开发组不为文档中书写过的内容提供无偿服务

',7)),o("p",E,[m(l,{type:"primary",size:"large",onClick:N},{default:i((()=>a[7]||(a[7]=[n(" 阅读文档 ")]))),_:1}),m(l,{type:"primary",size:"large",onClick:D},{default:i((()=>a[8]||(a[8]=[n(" 我已确认 ")]))),_:1})])])],2)),V.showForm?(s(),t("div",{key:1,class:d([[V.showForm?"slide-in-left":"slide-out-right"],"w-96"])},[m(A,{ref:"formRef",model:U,"label-width":"100px",size:"large"},{default:i((()=>[m(j,{label:"数据库类型"},{default:i((()=>[m(h,{modelValue:U.dbType,"onUpdate:modelValue":a[0]||(a[0]=e=>U.dbType=e),placeholder:"请选择",class:"w-full",onChange:P},{default:i((()=>[m(u,{key:"mysql",label:"mysql",value:"mysql"}),m(u,{key:"pgsql",label:"pgsql",value:"pgsql"}),m(u,{key:"oracle",label:"oracle",value:"oracle"}),m(u,{key:"mssql",label:"mssql",value:"mssql"}),m(u,{key:"sqlite",label:"sqlite",value:"sqlite"})])),_:1},8,["modelValue"])])),_:1}),"sqlite"!==U.dbType?(s(),c(j,{key:0,label:"host"},{default:i((()=>[m(q,{modelValue:U.host,"onUpdate:modelValue":a[1]||(a[1]=e=>U.host=e),placeholder:"请输入数据库链接"},null,8,["modelValue"])])),_:1})):p("",!0),"sqlite"!==U.dbType?(s(),c(j,{key:1,label:"port"},{default:i((()=>[m(q,{modelValue:U.port,"onUpdate:modelValue":a[2]||(a[2]=e=>U.port=e),placeholder:"请输入数据库端口"},null,8,["modelValue"])])),_:1})):p("",!0),"sqlite"!==U.dbType?(s(),c(j,{key:2,label:"userName"},{default:i((()=>[m(q,{modelValue:U.userName,"onUpdate:modelValue":a[3]||(a[3]=e=>U.userName=e),placeholder:"请输入数据库用户名"},null,8,["modelValue"])])),_:1})):p("",!0),"sqlite"!==U.dbType?(s(),c(j,{key:3,label:"password"},{default:i((()=>[m(q,{modelValue:U.password,"onUpdate:modelValue":a[4]||(a[4]=e=>U.password=e),placeholder:"请输入数据库密码(没有则为空)"},null,8,["modelValue"])])),_:1})):p("",!0),m(j,{label:"dbName"},{default:i((()=>[m(q,{modelValue:U.dbName,"onUpdate:modelValue":a[5]||(a[5]=e=>U.dbName=e),placeholder:"请输入数据库名称"},null,8,["modelValue"])])),_:1}),"sqlite"===U.dbType?(s(),c(j,{key:4,label:"dbPath"},{default:i((()=>[m(q,{modelValue:U.dbPath,"onUpdate:modelValue":a[6]||(a[6]=e=>U.dbPath=e),placeholder:"请输入sqlite数据库文件存放路径"},null,8,["modelValue"])])),_:1})):p("",!0),m(j,null,{default:i((()=>[o("div",_,[m(l,{type:"primary",onClick:O},{default:i((()=>a[10]||(a[10]=[n("立即初始化")]))),_:1})])])),_:1})])),_:1},8,["model"])],2)):p("",!0)]),a[12]||(a[12]=o("div",{class:"hidden md:block w-1/2 h-full float-right bg-[#194bfb]"},[o("img",{class:"h-full",src:B,alt:"banner"})],-1))])}}}),[["__scopeId","data-v-700abcda"]]);export{A as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index20.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index20.js new file mode 100644 index 000000000..0f257f688 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index20.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{bt as e,$ as t,C as n,a$ as o,X as r,P as a,ap as i,bk as s,aZ as l,D as u,O as p,a as c,aw as f,bu as d,bv as v,bw as g,bx as m,by as h,A as b,a7 as y,x as w,q as x,z as O,_ as A,v as R,ab as E,o as C,c as T,n as S,F as k,bz as B,S as M,bA as j,aQ as P,K as F,bB as L,bC as D,e as _,bD as I,bE as H,aR as W,h as q,w as z,ay as $,f as N,a3 as U,bF as V,b0 as K,bG as Z,I as X,ac as Y,a8 as G,as as Q,Z as J,Y as ee,bH as te,al as ne,ar as oe,bI as re,t as ae}from"./087AC4D233B64EB0index.js";import{i as ie,E as se}from"./087AC4D233B64EB0index21.js";const le=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const r=null==e?void 0:e(o);if(!1===n||!r)return null==t?void 0:t(o)},ue=e=>t=>"mouse"===t.pointerType?e(t):void 0,pe=e({type:t(Boolean),default:null}),ce=e({type:t(Function)}),fe=e=>{const t="update:".concat(e),u="onUpdate:".concat(e),p=[t];return{useModelToggle:({indicator:p,toggleReason:c,shouldHideWhenRouteChanges:f,shouldProceed:d,onShow:v,onHide:g})=>{const m=i(),{emit:h}=m,b=m.props,y=n((()=>o(b[u]))),w=n((()=>null===b[e])),x=e=>{!0!==p.value&&(p.value=!0,c&&(c.value=e),o(v)&&v(e))},O=e=>{!1!==p.value&&(p.value=!1,c&&(c.value=e),o(g)&&g(e))},A=e=>{if(!0===b.disabled||o(d)&&!d())return;const n=y.value&&s;n&&h(t,!0),!w.value&&n||x(e)},R=e=>{if(!0===b.disabled||!s)return;const n=y.value&&s;n&&h(t,!1),!w.value&&n||O(e)},E=e=>{l(e)&&(b.disabled&&e?y.value&&h(t,!1):p.value!==e&&(e?x():O()))};return r((()=>b[e]),E),f&&void 0!==m.appContext.config.globalProperties.$route&&r((()=>({...m.proxy.$route})),(()=>{f.value&&p.value&&R()})),a((()=>{E(b[e])})),{hide:R,show:A,toggle:()=>{p.value?R():A()},hasUpdateHandler:y}},useModelToggleProps:{[e]:pe,[u]:ce},useModelToggleEmits:p}};fe("modelValue");var de="top",ve="bottom",ge="right",me="left",he="auto",be=[de,ve,ge,me],ye="start",we="end",xe="viewport",Oe="popper",Ae=be.reduce((function(e,t){return e.concat([t+"-"+ye,t+"-"+we])}),[]),Re=[].concat(be,[he]).reduce((function(e,t){return e.concat([t,t+"-"+ye,t+"-"+we])}),[]),Ee=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ce(e){return e?(e.nodeName||"").toLowerCase():null}function Te(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Se(e){return e instanceof Te(e).Element||e instanceof Element}function ke(e){return e instanceof Te(e).HTMLElement||e instanceof HTMLElement}function Be(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Te(e).ShadowRoot||e instanceof ShadowRoot)}var Me={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];!ke(r)||!Ce(r)||(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});!ke(o)||!Ce(o)||(Object.assign(o.style,a),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function je(e){return e.split("-")[0]}var Pe=Math.max,Fe=Math.min,Le=Math.round;function De(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(ke(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(o=Le(n.width)/i||1),a>0&&(r=Le(n.height)/a||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function _e(e){var t=De(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Ie(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Be(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function He(e){return Te(e).getComputedStyle(e)}function We(e){return["table","td","th"].indexOf(Ce(e))>=0}function qe(e){return((Se(e)?e.ownerDocument:e.document)||window.document).documentElement}function ze(e){return"html"===Ce(e)?e:e.assignedSlot||e.parentNode||(Be(e)?e.host:null)||qe(e)}function $e(e){return ke(e)&&"fixed"!==He(e).position?e.offsetParent:null}function Ne(e){for(var t=Te(e),n=$e(e);n&&We(n)&&"static"===He(n).position;)n=$e(n);return n&&("html"===Ce(n)||"body"===Ce(n)&&"static"===He(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ke(e)&&"fixed"===He(e).position)return null;var n=ze(e);for(Be(n)&&(n=n.host);ke(n)&&["html","body"].indexOf(Ce(n))<0;){var o=He(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function Ue(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ve(e,t,n){return Pe(e,Fe(t,n))}function Ke(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ze(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Xe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=je(n.placement),l=Ue(s),u=[me,ge].indexOf(s)>=0?"height":"width";if(a&&i){var p=function(e,t){return Ke("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ze(e,be))}(r.padding,n),c=_e(a),f="y"===l?de:me,d="y"===l?ve:ge,v=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],g=i[l]-n.rects.reference[l],m=Ne(a),h=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=v/2-g/2,y=p[f],w=h-c[u]-p[d],x=h/2-c[u]/2+b,O=Ve(y,x,w),A=l;n.modifiersData[o]=((t={})[A]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"==typeof o&&!(o=t.elements.popper.querySelector(o))||!Ie(t.elements.popper,o)||(t.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ye(e){return e.split("-")[1]}var Ge={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qe(e){var t,n=e.popper,o=e.popperRect,r=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,c=e.isFixed,f=i.x,d=void 0===f?0:f,v=i.y,g=void 0===v?0:v,m="function"==typeof p?p({x:d,y:g}):{x:d,y:g};d=m.x,g=m.y;var h=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=me,w=de,x=window;if(u){var O=Ne(n),A="clientHeight",R="clientWidth";if(O===Te(n)&&("static"!==He(O=qe(n)).position&&"absolute"===s&&(A="scrollHeight",R="scrollWidth")),r===de||(r===me||r===ge)&&a===we)w=ve,g-=(c&&O===x&&x.visualViewport?x.visualViewport.height:O[A])-o.height,g*=l?1:-1;if(r===me||(r===de||r===ve)&&a===we)y=ge,d-=(c&&O===x&&x.visualViewport?x.visualViewport.width:O[R])-o.width,d*=l?1:-1}var E,C=Object.assign({position:s},u&&Ge),T=!0===p?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:Le(t*o)/o||0,y:Le(n*o)/o||0}}({x:d,y:g}):{x:d,y:g};return d=T.x,g=T.y,l?Object.assign({},C,((E={})[w]=b?"0":"",E[y]=h?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",E)):Object.assign({},C,((t={})[w]=b?g+"px":"",t[y]=h?d+"px":"",t.transform="",t))}var Je={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,u={placement:je(t.placement),variation:Ye(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Qe(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Qe(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},et={passive:!0};var tt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,a=void 0===r||r,i=o.resize,s=void 0===i||i,l=Te(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,et)})),s&&l.addEventListener("resize",n.update,et),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,et)})),s&&l.removeEventListener("resize",n.update,et)}},data:{}},nt={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(e){return e.replace(/left|right|bottom|top/g,(function(e){return nt[e]}))}var rt={start:"end",end:"start"};function at(e){return e.replace(/start|end/g,(function(e){return rt[e]}))}function it(e){var t=Te(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function st(e){return De(qe(e)).left+it(e).scrollLeft}function lt(e){var t=He(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function ut(e){return["html","body","#document"].indexOf(Ce(e))>=0?e.ownerDocument.body:ke(e)&<(e)?e:ut(ze(e))}function pt(e,t){var n;void 0===t&&(t=[]);var o=ut(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),a=Te(o),i=r?[a].concat(a.visualViewport||[],lt(o)?o:[]):o,s=t.concat(i);return r?s:s.concat(pt(ze(i)))}function ct(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ft(e,t){return t===xe?ct(function(e){var t=Te(e),n=qe(e),o=t.visualViewport,r=n.clientWidth,a=n.clientHeight,i=0,s=0;return o&&(r=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=o.offsetLeft,s=o.offsetTop)),{width:r,height:a,x:i+st(e),y:s}}(e)):Se(t)?function(e){var t=De(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ct(function(e){var t,n=qe(e),o=it(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=Pe(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Pe(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+st(e),l=-o.scrollTop;return"rtl"===He(r||n).direction&&(s+=Pe(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(qe(e)))}function dt(e,t,n){var o="clippingParents"===t?function(e){var t=pt(ze(e)),n=["absolute","fixed"].indexOf(He(e).position)>=0&&ke(e)?Ne(e):e;return Se(n)?t.filter((function(e){return Se(e)&&Ie(e,n)&&"body"!==Ce(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),a=r[0],i=r.reduce((function(t,n){var o=ft(e,n);return t.top=Pe(o.top,t.top),t.right=Fe(o.right,t.right),t.bottom=Fe(o.bottom,t.bottom),t.left=Pe(o.left,t.left),t}),ft(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function vt(e){var t,n=e.reference,o=e.element,r=e.placement,a=r?je(r):null,i=r?Ye(r):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case de:t={x:s,y:n.y-o.height};break;case ve:t={x:s,y:n.y+n.height};break;case ge:t={x:n.x+n.width,y:l};break;case me:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?Ue(a):null;if(null!=u){var p="y"===u?"height":"width";switch(i){case ye:t[u]=t[u]-(n[p]/2-o[p]/2);break;case we:t[u]=t[u]+(n[p]/2-o[p]/2)}}return t}function gt(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,a=n.boundary,i=void 0===a?"clippingParents":a,s=n.rootBoundary,l=void 0===s?xe:s,u=n.elementContext,p=void 0===u?Oe:u,c=n.altBoundary,f=void 0!==c&&c,d=n.padding,v=void 0===d?0:d,g=Ke("number"!=typeof v?v:Ze(v,be)),m=p===Oe?"reference":Oe,h=e.rects.popper,b=e.elements[f?m:p],y=dt(Se(b)?b:b.contextElement||qe(e.elements.popper),i,l),w=De(e.elements.reference),x=vt({reference:w,element:h,strategy:"absolute",placement:r}),O=ct(Object.assign({},h,x)),A=p===Oe?O:w,R={top:y.top-A.top+g.top,bottom:A.bottom-y.bottom+g.bottom,left:y.left-A.left+g.left,right:A.right-y.right+g.right},E=e.modifiersData.offset;if(p===Oe&&E){var C=E[r];Object.keys(R).forEach((function(e){var t=[ge,ve].indexOf(e)>=0?1:-1,n=[de,ve].indexOf(e)>=0?"y":"x";R[e]+=C[n]*t}))}return R}var mt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,a=void 0===r||r,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,u=n.padding,p=n.boundary,c=n.rootBoundary,f=n.altBoundary,d=n.flipVariations,v=void 0===d||d,g=n.allowedAutoPlacements,m=t.options.placement,h=je(m),b=l||(h===m||!v?[ot(m)]:function(e){if(je(e)===he)return[];var t=ot(e);return[at(e),t,at(t)]}(m)),y=[m].concat(b).reduce((function(e,n){return e.concat(je(n)===he?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?Re:l,p=Ye(o),c=p?s?Ae:Ae.filter((function(e){return Ye(e)===p})):be,f=c.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=c);var d=f.reduce((function(t,n){return t[n]=gt(e,{placement:n,boundary:r,rootBoundary:a,padding:i})[je(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:p,rootBoundary:c,padding:u,flipVariations:v,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,A=!0,R=y[0],E=0;E=0,B=k?"width":"height",M=gt(t,{placement:C,boundary:p,rootBoundary:c,altBoundary:f,padding:u}),j=k?S?ge:me:S?ve:de;w[B]>x[B]&&(j=ot(j));var P=ot(j),F=[];if(a&&F.push(M[T]<=0),s&&F.push(M[j]<=0,M[P]<=0),F.every((function(e){return e}))){R=C,A=!1;break}O.set(C,F)}if(A)for(var L=function(e){var t=y.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return R=t,"break"},D=v?3:1;D>0;D--){if("break"===L(D))break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ht(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function bt(e){return[de,ge,ve,me].some((function(t){return e[t]>=0}))}var yt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,i=gt(t,{elementContext:"reference"}),s=gt(t,{altBoundary:!0}),l=ht(i,o),u=ht(s,r,a),p=bt(l),c=bt(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":c})}};var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,a=void 0===r?[0,0]:r,i=Re.reduce((function(e,n){return e[n]=function(e,t,n){var o=je(e),r=[me,de].indexOf(o)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*r,[me,ge].indexOf(o)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,a),e}),{}),s=i[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=i}};var xt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=vt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ot={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,a=void 0===r||r,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,u=n.rootBoundary,p=n.altBoundary,c=n.padding,f=n.tether,d=void 0===f||f,v=n.tetherOffset,g=void 0===v?0:v,m=gt(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:p}),h=je(t.placement),b=Ye(t.placement),y=!b,w=Ue(h),x=function(e){return"x"===e?"y":"x"}(w),O=t.modifiersData.popperOffsets,A=t.rects.reference,R=t.rects.popper,E="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,C="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(O){if(a){var k,B="y"===w?de:me,M="y"===w?ve:ge,j="y"===w?"height":"width",P=O[w],F=P+m[B],L=P-m[M],D=d?-R[j]/2:0,_=b===ye?A[j]:R[j],I=b===ye?-R[j]:-A[j],H=t.elements.arrow,W=d&&H?_e(H):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=q[B],$=q[M],N=Ve(0,A[j],W[j]),U=y?A[j]/2-D-N-z-C.mainAxis:_-N-z-C.mainAxis,V=y?-A[j]/2+D+N+$+C.mainAxis:I+N+$+C.mainAxis,K=t.elements.arrow&&Ne(t.elements.arrow),Z=K?"y"===w?K.clientTop||0:K.clientLeft||0:0,X=null!=(k=null==T?void 0:T[w])?k:0,Y=P+V-X,G=Ve(d?Fe(F,P+U-X-Z):F,P,d?Pe(L,Y):L);O[w]=G,S[w]=G-P}if(s){var Q,J="x"===w?de:me,ee="x"===w?ve:ge,te=O[x],ne="y"===x?"height":"width",oe=te+m[J],re=te-m[ee],ae=-1!==[de,me].indexOf(h),ie=null!=(Q=null==T?void 0:T[x])?Q:0,se=ae?oe:te-A[ne]-R[ne]-ie+C.altAxis,le=ae?te+A[ne]+R[ne]-ie-C.altAxis:re,ue=d&&ae?function(e,t,n){var o=Ve(e,t,n);return o>n?n:o}(se,te,le):Ve(d?se:oe,te,d?le:re);O[x]=ue,S[x]=ue-te}t.modifiersData[o]=S}},requiresIfExists:["offset"]};function At(e,t,n){void 0===n&&(n=!1);var o=ke(t),r=ke(t)&&function(e){var t=e.getBoundingClientRect(),n=Le(t.width)/e.offsetWidth||1,o=Le(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=qe(t),i=De(e,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==Ce(t)||lt(a))&&(s=function(e){return e!==Te(e)&&ke(e)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):it(e)}(t)),ke(t)?((l=De(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=st(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function Rt(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}function Et(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Ct={placement:"bottom",modifiers:[],strategy:"absolute"};function Tt(){for(var e=arguments.length,t=new Array(e),n=0;n{const a={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=function(e){const t=Object.keys(e.elements),n=d(t.map((t=>[t,e.styles[t]||{}]))),o=d(t.map((t=>[t,e.attributes[t]])));return{styles:n,attributes:o}}(e);Object.assign(l.value,t)},requires:["computeStyles"]},i=n((()=>{const{onFirstUpdate:e,placement:t,strategy:n,modifiers:r}=u(o);return{onFirstUpdate:e,placement:t||"bottom",strategy:n||"absolute",modifiers:[...r||[],a,{name:"applyStyles",enabled:!1}]}})),s=p(),l=c({styles:{popper:{position:u(i).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),v=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return r(i,(e=>{const t=u(s);t&&t.setOptions(e)}),{deep:!0}),r([e,t],(([e,t])=>{v(),e&&t&&(s.value=kt(e,t,u(i)))})),f((()=>{v()})),{state:n((()=>{var e;return{...(null==(e=u(s))?void 0:e.state)||{}}})),styles:n((()=>u(l).styles)),attributes:n((()=>u(l).attributes)),update:()=>{var e;return null==(e=u(s))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=u(s))?void 0:e.forceUpdate()},instanceRef:n((()=>u(s)))}};function Mt(){let e;const t=()=>window.clearTimeout(e);return v((()=>t())),{registerTimeout:(n,o)=>{t(),e=window.setTimeout(n,o)},cancelTimeout:t}}const jt=()=>{const e=m(),t=h(),o=n((()=>"".concat(e.value,"-popper-container-").concat(t.prefix))),r=n((()=>"#".concat(o.value)));return{id:o,selector:r}},Pt=()=>{const{id:e,selector:t}=jt();return g((()=>{s&&(document.body.querySelector(t.value)||(e=>{const t=document.createElement("div");t.id=e,document.body.appendChild(t)})(e.value))})),{id:e,selector:t}},Ft=b({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Lt=Symbol("elForwardRef"),Dt=Symbol("popper"),_t=Symbol("popperContent"),It=b({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),Ht=x({name:"ElPopper",inheritAttrs:!1});var Wt=A(x({...Ht,props:It,setup(e,{expose:t}){const o=e,r={triggerRef:c(),popperInstanceRef:c(),contentRef:c(),referenceRef:c(),role:n((()=>o.role))};return t(r),w(Dt,r),(e,t)=>O(e.$slots,"default")}}),[["__file","popper.vue"]]);const qt=b({arrowOffset:{type:Number,default:5}}),zt=x({name:"ElPopperArrow",inheritAttrs:!1});var $t=A(x({...zt,props:qt,setup(e,{expose:t}){const n=e,o=R("popper"),{arrowOffset:a,arrowRef:i,arrowStyle:s}=E(_t,void 0);return r((()=>n.arrowOffset),(e=>{a.value=e})),f((()=>{i.value=void 0})),t({arrowRef:i}),(e,t)=>(C(),T("span",{ref_key:"arrowRef",ref:i,class:S(u(o).e("arrow")),style:k(u(s)),"data-popper-arrow":""},null,6))}}),[["__file","arrow.vue"]]);const Nt=x({name:"ElOnlyChild",setup(e,{slots:t,attrs:n}){var o;const r=E(Lt),a=(i=null!=(o=null==r?void 0:r.setForwardRef)?o:B,{mounted(e){i(e)},updated(e){i(e)},unmounted(){i(null)}});var i;return()=>{var e;const o=null==(e=t.default)?void 0:e.call(t,n);if(!o)return null;if(o.length>1)return null;const r=Ut(o);return r?M(j(r,n),[[a]]):null}}});function Ut(e){if(!e)return null;const t=e;for(const n of t){if(P(n))switch(n.type){case D:continue;case L:case"svg":return Vt(n);case F:return Ut(n.children);default:return n}return Vt(n)}return null}function Vt(e){const t=R("only-child");return _("span",{class:t.e("content")},[e])}const Kt=b({virtualRef:{type:t(Object)},virtualTriggering:Boolean,onMouseenter:{type:t(Function)},onMouseleave:{type:t(Function)},onClick:{type:t(Function)},onKeydown:{type:t(Function)},onFocus:{type:t(Function)},onBlur:{type:t(Function)},onContextmenu:{type:t(Function)},id:String,open:Boolean}),Zt=x({name:"ElPopperTrigger",inheritAttrs:!1});var Xt=A(x({...Zt,props:Kt,setup(e,{expose:t}){const o=e,{role:i,triggerRef:s}=E(Dt,void 0);var l;l=s,w(Lt,{setForwardRef:e=>{l.value=e}});const p=n((()=>d.value?o.id:void 0)),c=n((()=>{if(i&&"tooltip"===i.value)return o.open&&o.id?o.id:void 0})),d=n((()=>{if(i&&"tooltip"!==i.value)return i.value})),v=n((()=>d.value?"".concat(o.open):void 0));let g;const m=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return a((()=>{r((()=>o.virtualRef),(e=>{e&&(s.value=I(e))}),{immediate:!0}),r(s,((e,t)=>{null==g||g(),g=void 0,H(e)&&(m.forEach((n=>{var r;const a=o[n];a&&(e.addEventListener(n.slice(2).toLowerCase(),a),null==(r=null==t?void 0:t.removeEventListener)||r.call(t,n.slice(2).toLowerCase(),a))})),g=r([p,c,d,v],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((n,o)=>{W(t[o])?e.removeAttribute(n):e.setAttribute(n,t[o])}))}),{immediate:!0})),H(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)))}),{immediate:!0})})),f((()=>{if(null==g||g(),g=void 0,s.value&&H(s.value)){const e=s.value;m.forEach((t=>{const n=o[t];n&&e.removeEventListener(t.slice(2).toLowerCase(),n)})),s.value=void 0}})),t({triggerRef:s}),(e,t)=>e.virtualTriggering?N("v-if",!0):(C(),q(u(Nt),$({key:0},e.$attrs,{"aria-controls":u(p),"aria-describedby":u(c),"aria-expanded":u(v),"aria-haspopup":u(d)}),{default:z((()=>[O(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),[["__file","trigger.vue"]]);const Yt=b({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:t(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Re,default:"bottom"},popperOptions:{type:t(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),Gt=b({...Yt,id:String,style:{type:t([String,Array,Object])},className:{type:t([String,Array,Object])},effect:{type:t(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:t([String,Array,Object])},popperStyle:{type:t([String,Array,Object])},referenceEl:{type:t(Object)},triggerTargetEl:{type:t(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...U(["ariaLabel"])}),Qt={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},Jt=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,a={placement:n,strategy:o,...r,modifiers:[...en(e),...t]};return function(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}(a,null==r?void 0:r.modifiers),a};function en(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}const tn=e=>{const{popperInstanceRef:t,contentRef:o,triggerRef:i,role:l}=E(Dt,void 0),p=c(),f=c(),d=n((()=>({name:"eventListeners",enabled:!!e.visible}))),v=n((()=>{var e;const t=u(p),n=null!=(e=u(f))?e:0;return{name:"arrow",enabled:!ie(t),options:{element:t,padding:n}}})),g=n((()=>({onFirstUpdate:()=>{w()},...Jt(e,[u(v),u(d)])}))),m=n((()=>(e=>{if(s)return I(e)})(e.referenceEl)||u(i))),{attributes:h,state:b,styles:y,update:w,forceUpdate:x,instanceRef:O}=Bt(m,o,g);return r(O,(e=>t.value=e)),a((()=>{r((()=>{var e;return null==(e=u(m))?void 0:e.getBoundingClientRect()}),(()=>{w()}))})),{attributes:h,arrowRef:p,contentRef:o,instanceRef:O,state:b,styles:y,role:l,forceUpdate:x,update:w}},nn=x({name:"ElPopperContent"});var on=A(x({...nn,props:Gt,emits:Qt,setup(e,{expose:t,emit:o}){const i=e,{focusStartRef:s,trapped:l,onFocusAfterReleased:p,onFocusAfterTrapped:d,onFocusInTrap:v,onFocusoutPrevented:g,onReleaseRequested:m}=((e,t)=>{const n=c(!1),o=c();return{focusStartRef:o,trapped:n,onFocusAfterReleased:e=>{var n;"pointer"!==(null==(n=e.detail)?void 0:n.focusReason)&&(o.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:t=>{e.visible&&!n.value&&(t.target&&(o.value=t.target),n.value=!0)},onFocusoutPrevented:t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}})(i,o),{attributes:h,arrowRef:b,contentRef:x,styles:A,instanceRef:S,role:k,update:M}=tn(i),{ariaModal:j,arrowStyle:P,contentAttrs:F,contentClass:L,contentStyle:D,updateZIndex:I}=((e,{attributes:t,styles:o,role:r})=>{const{nextZIndex:a}=V(),i=R("popper"),s=n((()=>u(t).popper)),l=c(y(e.zIndex)?e.zIndex:a()),p=n((()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass])),f=n((()=>[{zIndex:u(l)},u(o).popper,e.popperStyle||{}]));return{ariaModal:n((()=>"dialog"===r.value?"false":void 0)),arrowStyle:n((()=>u(o).arrow||{})),contentAttrs:s,contentClass:p,contentStyle:f,contentZIndex:l,updateZIndex:()=>{l.value=y(e.zIndex)?e.zIndex:a()}}})(i,{styles:A,attributes:h,role:k}),q=E(K,void 0),N=c();let U;w(_t,{arrowStyle:P,arrowRef:b,arrowOffset:N}),q&&w(K,{...q,addInputId:B,removeInputId:B});const X=(e=!0)=>{M(),e&&I()},Y=()=>{X(!1),i.visible&&i.focusOnShow?l.value=!0:!1===i.visible&&(l.value=!1)};return a((()=>{r((()=>i.triggerTargetEl),((e,t)=>{null==U||U(),U=void 0;const n=u(e||x.value),o=u(t||x.value);H(n)&&(U=r([k,()=>i.ariaLabel,j,()=>i.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,o)=>{W(e[o])?n.removeAttribute(t):n.setAttribute(t,e[o])}))}),{immediate:!0})),o!==n&&H(o)&&["role","aria-label","aria-modal","id"].forEach((e=>{o.removeAttribute(e)}))}),{immediate:!0}),r((()=>i.visible),Y,{immediate:!0})})),f((()=>{null==U||U(),U=void 0})),t({popperContentRef:x,popperInstanceRef:S,updatePopper:X,contentStyle:D}),(e,t)=>(C(),T("div",$({ref_key:"contentRef",ref:x},u(F),{style:u(D),class:u(L),tabindex:"-1",onMouseenter:t=>e.$emit("mouseenter",t),onMouseleave:t=>e.$emit("mouseleave",t)}),[_(u(Z),{trapped:u(l),"trap-on-focus-in":!0,"focus-trap-el":u(x),"focus-start-el":u(s),onFocusAfterTrapped:u(d),onFocusAfterReleased:u(p),onFocusin:u(v),onFocusoutPrevented:u(g),onReleaseRequested:u(m)},{default:z((()=>[O(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}}),[["__file","content.vue"]]);const rn=X(Wt),an=Symbol("elTooltip"),sn=b({...Ft,...Gt,appendTo:{type:t([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:t(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...U(["ariaLabel"])}),ln=b({...Kt,disabled:Boolean,trigger:{type:t([String,Array]),default:"hover"},triggerKeys:{type:t(Array),default:()=>[Y.enter,Y.space]}}),{useModelToggleProps:un,useModelToggleEmits:pn,useModelToggle:cn}=fe("visible"),fn=b({...It,...un,...sn,...ln,...qt,showArrow:{type:Boolean,default:!0}}),dn=[...pn,"before-show","before-hide","show","hide","open","close"],vn=(e,t,n)=>o=>{((e,t)=>G(e)?e.includes(t):e===t)(u(e),t)&&n(o)},gn=x({name:"ElTooltipTrigger"});var mn=A(x({...gn,props:ln,setup(e,{expose:t}){const n=e,o=R("tooltip"),{controlled:r,id:a,open:i,onOpen:s,onClose:l,onToggle:p}=E(an,void 0),f=c(null),d=()=>{if(u(r)||n.disabled)return!0},v=Q(n,"trigger"),g=le(d,vn(v,"hover",s)),m=le(d,vn(v,"hover",l)),h=le(d,vn(v,"click",(e=>{0===e.button&&p(e)}))),b=le(d,vn(v,"focus",s)),y=le(d,vn(v,"focus",l)),w=le(d,vn(v,"contextmenu",(e=>{e.preventDefault(),p(e)}))),x=le(d,(e=>{const{code:t}=e;n.triggerKeys.includes(t)&&(e.preventDefault(),p(e))}));return t({triggerRef:f}),(e,t)=>(C(),q(u(Xt),{id:u(a),"virtual-ref":e.virtualRef,open:u(i),"virtual-triggering":e.virtualTriggering,class:S(u(o).e("trigger")),onBlur:u(y),onClick:u(h),onContextmenu:u(w),onFocus:u(b),onMouseenter:u(g),onMouseleave:u(m),onKeydown:u(x)},{default:z((()=>[O(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),[["__file","trigger.vue"]]);const hn=x({name:"ElTooltipContent",inheritAttrs:!1});var bn=A(x({...hn,props:sn,setup(e,{expose:t}){const o=e,{selector:a}=jt(),i=R("tooltip"),s=c(null);let l;const{controlled:p,id:d,open:v,trigger:g,onClose:m,onOpen:h,onShow:b,onHide:y,onBeforeShow:w,onBeforeHide:x}=E(an,void 0),A=n((()=>o.transition||"".concat(i.namespace.value,"-fade-in-linear"))),T=n((()=>o.persistent));f((()=>{null==l||l()}));const S=n((()=>!!u(T)||u(v))),k=n((()=>!o.disabled&&u(v))),B=n((()=>o.appendTo||a.value)),j=n((()=>{var e;return null!=(e=o.style)?e:{}})),P=c(!0),F=()=>{y(),P.value=!0},L=()=>{if(u(p))return!0},D=le(L,(()=>{o.enterable&&"hover"===u(g)&&h()})),I=le(L,(()=>{"hover"===u(g)&&m()})),H=()=>{var e,t;null==(t=null==(e=s.value)?void 0:e.updatePopper)||t.call(e),null==w||w()},W=()=>{null==x||x()},U=()=>{b(),l=te(n((()=>{var e;return null==(e=s.value)?void 0:e.popperContentRef})),(()=>{if(u(p))return;"hover"!==u(g)&&m()}))},V=()=>{o.virtualTriggering||m()};return r((()=>u(v)),(e=>{e?P.value=!1:null==l||l()}),{flush:"post"}),r((()=>o.content),(()=>{var e,t;null==(t=null==(e=s.value)?void 0:e.updatePopper)||t.call(e)})),t({contentRef:s}),(e,t)=>(C(),q(u(se),{disabled:!e.teleported,to:u(B)},{default:z((()=>[_(J,{name:u(A),onAfterLeave:F,onBeforeEnter:H,onAfterEnter:U,onBeforeLeave:W},{default:z((()=>[u(S)?M((C(),q(u(on),$({key:0,id:u(d),ref_key:"contentRef",ref:s},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":P.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,u(j)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:u(k),"z-index":e.zIndex,onMouseenter:u(D),onMouseleave:u(I),onBlur:V,onClose:u(m)}),{default:z((()=>[O(e.$slots,"default")])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[ee,u(k)]]):N("v-if",!0)])),_:3},8,["name"])])),_:3},8,["disabled","to"]))}}),[["__file","content.vue"]]);const yn=x({name:"ElTooltip"});const wn=X(A(x({...yn,props:fn,emits:dn,setup(e,{expose:t,emit:o}){const a=e;Pt();const i=ne(),s=c(),p=c(),f=()=>{var e;const t=u(s);t&&(null==(e=t.popperInstanceRef)||e.update())},d=c(!1),v=c(),{show:g,hide:m,hasUpdateHandler:h}=cn({indicator:d,toggleReason:v}),{onOpen:b,onClose:x}=(({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:a}=Mt(),{registerTimeout:i,cancelTimeout:s}=Mt();return{onOpen:t=>{a((()=>{o(t);const e=u(n);y(e)&&e>0&&i((()=>{r(t)}),e)}),u(e))},onClose:e=>{s(),a((()=>{r(e)}),u(t))}}})({showAfter:Q(a,"showAfter"),hideAfter:Q(a,"hideAfter"),autoClose:Q(a,"autoClose"),open:g,close:m}),A=n((()=>l(a.visible)&&!h.value));w(an,{controlled:A,id:i,open:oe(d),trigger:Q(a,"trigger"),onOpen:e=>{b(e)},onClose:e=>{x(e)},onToggle:e=>{u(d)?x(e):b(e)},onShow:()=>{o("show",v.value)},onHide:()=>{o("hide",v.value)},onBeforeShow:()=>{o("before-show",v.value)},onBeforeHide:()=>{o("before-hide",v.value)},updatePopper:f}),r((()=>a.disabled),(e=>{e&&d.value&&(d.value=!1)}));return re((()=>d.value&&m())),t({popperRef:s,contentRef:p,isFocusInsideContent:e=>{var t,n;const o=null==(n=null==(t=p.value)?void 0:t.contentRef)?void 0:n.popperContentRef,r=(null==e?void 0:e.relatedTarget)||document.activeElement;return o&&o.contains(r)},updatePopper:f,onOpen:b,onClose:x,hide:m}),(e,t)=>(C(),q(u(rn),{ref_key:"popperRef",ref:s,role:e.role},{default:z((()=>[_(mn,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:z((()=>[e.$slots.default?O(e.$slots,"default",{key:0}):N("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),_(bn,{ref_key:"contentRef",ref:p,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:z((()=>[O(e.$slots,"content",{},(()=>[e.rawContent?(C(),T("span",{key:0,innerHTML:e.content},null,8,["innerHTML"])):(C(),T("span",{key:1},ae(e.content),1))])),e.showArrow?(C(),q(u($t),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):N("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}}),[["__file","tooltip.vue"]])),xn=new Map;if(s){let e;document.addEventListener("mousedown",(t=>e=t)),document.addEventListener("mouseup",(t=>{if(e){for(const n of xn.values())for(const{documentHandler:o}of n)o(t,e);e=void 0}}))}function On(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:H(t.arg)&&n.push(t.arg),function(o,r){const a=t.instance.popperRef,i=o.target,s=null==r?void 0:r.target,l=!t||!t.instance,u=!i||!s,p=e.contains(i)||e.contains(s),c=e===i,f=n.length&&n.some((e=>null==e?void 0:e.contains(i)))||n.length&&n.includes(s),d=a&&(a.contains(i)||a.contains(s));l||u||p||c||f||d||t.value(o,r)}}const An={beforeMount(e,t){xn.has(e)||xn.set(e,[]),xn.get(e).push({documentHandler:On(e,t),bindingFn:t.value})},updated(e,t){xn.has(e)||xn.set(e,[]);const n=xn.get(e),o=n.findIndex((e=>e.bindingFn===t.oldValue)),r={documentHandler:On(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted(e){xn.delete(e)}};export{An as C,Re as E,Nt as O,an as T,wn as a,ln as b,le as c,sn as u,ue as w}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index21.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index21.js new file mode 100644 index 000000000..d2dea0af1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index21.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,$ as s,_ as t,q as o,z as a,o as r,h as i,c2 as l,I as d}from"./087AC4D233B64EB0index.js";function n(e){return void 0===e}const p=d(t(o({__name:"teleport",props:e({to:{type:s([String,Object]),required:!0},disabled:Boolean}),setup:e=>(e,s)=>e.disabled?a(e.$slots,"default",{key:0}):(r(),i(l,{key:1,to:e.to},[a(e.$slots,"default")],8,["to"]))}),[["__file","teleport.vue"]]));export{p as E,n as i}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index22.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index22.js new file mode 100644 index 000000000..e81c3a352 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index22.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as s,aY as a,q as e,aj as o,v as n,C as l,o as t,c,b as i,z as r,n as u,D as p,h as d,w as f,e as m,bJ as k,ak as b,H as y,f as g,F as v,Z as C,_ as h,I as B}from"./087AC4D233B64EB0index.js";const _=s({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:a},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),E={close:s=>s instanceof MouseEvent,click:s=>s instanceof MouseEvent},S=e({name:"ElTag"});const T=B(h(e({...S,props:_,emits:E,setup(s,{emit:a}){const e=s,h=o(),B=n("tag"),_=l((()=>{const{type:s,hit:a,effect:o,closable:n,round:l}=e;return[B.b(),B.is("closable",n),B.m(s||"primary"),B.m(h.value),B.m(o),B.is("hit",a),B.is("round",l)]})),E=s=>{a("close",s)},S=s=>{a("click",s)},T=s=>{s.component.subTree.component.bum=null};return(s,a)=>s.disableTransitions?(t(),c("span",{key:0,class:u(p(_)),style:v({backgroundColor:s.color}),onClick:S},[i("span",{class:u(p(B).e("content"))},[r(s.$slots,"default")],2),s.closable?(t(),d(p(y),{key:0,class:u(p(B).e("close")),onClick:b(E,["stop"])},{default:f((()=>[m(p(k))])),_:1},8,["class","onClick"])):g("v-if",!0)],6)):(t(),d(C,{key:1,name:"".concat(p(B).namespace.value,"-zoom-in-center"),appear:"",onVnodeMounted:T},{default:f((()=>[i("span",{class:u(p(_)),style:v({backgroundColor:s.color}),onClick:S},[i("span",{class:u(p(B).e("content"))},[r(s.$slots,"default")],2),s.closable?(t(),d(p(y),{key:0,class:u(p(B).e("close")),onClick:b(E,["stop"])},{default:f((()=>[m(p(k))])),_:1},8,["class","onClick"])):g("v-if",!0)],6)])),_:3},8,["name"]))}}),[["__file","tag.vue"]]));export{T as E,_ as t}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index23.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index23.js new file mode 100644 index 000000000..0b8900f40 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index23.js @@ -0,0 +1,27 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};function e(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var n=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},i=new function(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(i.wxa=!0,i.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?i.worker=!0:"undefined"==typeof navigator?(i.node=!0,i.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,i);const r=i;var o="sans-serif",a="12px "+o;var s,l,u=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)o=r*t.length;else for(var c=0;c>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?Bt(s,a):Bt(a,s))}(s,a,o);if(l)return l(t,n,i),!0}return!1}function Ht(t){return"CANVAS"===t.nodeName.toUpperCase()}var Yt=/([&<>"'])/g,Xt={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ut(t){return null==t?"":(t+"").replace(Yt,(function(t,e){return Xt[e]}))}var Zt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,jt=[],qt=r.browser.firefox&&+r.browser.version.split(".")[0]<39;function Kt(t,e,n,i){return n=n||{},i?$t(t,e,n):qt&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):$t(t,e,n),n}function $t(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if(Ht(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=o-a.top)}if(Wt(jt,t,i,o))return n.zrX=jt[0],void(n.zrY=jt[1])}n.zrX=n.zrY=0}function Jt(t){return t||window.event}function Qt(t,e,n){if(null!=(e=Jt(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&Kt(t,r,e,n)}else{Kt(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&Zt.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function te(t,e,n,i){t.addEventListener(e,n,i)}var ee=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function ne(t){return 2===t.which||3===t.which}var ie=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=re(r)/re(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function ae(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function se(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function le(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function ue(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function he(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),h=Math.cos(n);return t[0]=i*h+a*u,t[1]=-i*u+a*h,t[2]=r*h+s*u,t[3]=-r*u+h*s,t[4]=h*o+u*l,t[5]=h*l-u*o,t}function ce(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function pe(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}const de=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}();var fe=Math.min,ge=Math.max,ye=new de,ve=new de,me=new de,xe=new de,_e=new de,be=new de,we=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=fe(t.x,this.x),n=fe(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=ge(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=ge(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return ue(r,r,[-e.x,-e.y]),ce(r,r,[n,i]),ue(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=x,gf&&(f=_,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}ye.x=me.x=n.x,ye.y=xe.y=n.y,ve.x=xe.x=n.x+n.width,ve.y=me.y=n.y+n.height,ye.transform(i),xe.transform(i),ve.transform(i),me.transform(i),e.x=fe(ye.x,ve.x,me.x,xe.x),e.y=fe(ye.y,ve.y,me.y,xe.y);var l=ge(ye.x,ve.x,me.x,xe.x),u=ge(ye.y,ve.y,me.y,xe.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}();const Se=we;var Me="silent";function Ie(){ee(this.event)}var Te=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return e(n,t),n.prototype.dispose=function(){},n.prototype.setCursor=function(){},n}(Et),Ce=function(t,e){this.x=t,this.y=e},De=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ae=new Se(0,0,0,0),ke=function(t){function n(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Ce(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Te,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Rt(a),a}return e(n,t),n.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(O(De,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},n.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Oe(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Ce(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},n.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},n.prototype.resize=function(){this._hovered=new Ce(0,0)},n.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},n.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},n.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},n.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Ie}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},n.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Ce(t,e);if(Pe(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Se(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(Ae.copy(h.getBoundingRect()),h.transform&&Ae.applyTransform(h.transform),Ae.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Le(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Me)){e.target=a;break}}}function Oe(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}O(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){ke.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Oe(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Ct(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));const Re=ke;function Ne(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function Ee(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function ze(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Ve(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Be(t,e){var n,i,r=7,o=0;t.length;var a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Ve(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=ze(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];return void(t[c]=a[h])}var f=r;for(;;){var g=0,y=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,y=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],y++,g=0,1==--s){v=!0;break}}while((g|y)=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(y=s-ze(t[u],a,0,s,s-1,e))){for(s-=y,d=(c-=y)+1,p=(h-=y)+1,l=0;l=7||y>=7);if(v)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Ne(t,n,i,e))s&&(l=s),Ee(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Ge=!1;function We(){Ge||(Ge=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function He(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Ye=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=He}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(We(),u.z=0),isNaN(u.z2)&&(We(),u.z2=0),isNaN(u.zlevel)&&(We(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();const Xe=Ye;const Ue=r.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var Ze={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Ze.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Ze.bounceIn(2*t):.5*Ze.bounceOut(2*t-1)+.5}};const je=Ze;var qe=Math.pow,Ke=Math.sqrt,$e=1e-8,Je=1e-4,Qe=Ke(3),tn=1/3,en=vt(),nn=vt(),rn=vt();function on(t){return t>-1e-8&&t<$e}function an(t){return t>$e||t<-1e-8}function sn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function ln(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function un(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(on(h)&&on(c)){if(on(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[d++]=M)}else{var f=c*c-4*h*p;if(on(f)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y)}else if(f>0){var v=Ke(f),m=h*s+1.5*a*(-c+v),x=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-qe(-m,tn):qe(m,tn))+(x=x<0?-qe(-x,tn):qe(x,tn))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var _=(2*h*s-3*a*c)/(2*Ke(h*h*h)),b=Math.acos(_)/3,w=Ke(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+Qe*Math.sin(b)))/(3*a),(-s+w*(S-Qe*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y),I>=0&&I<=1&&(o[d++]=I)}}return d}function hn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(on(a)){if(an(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(on(u))r[0]=-o/(2*a);else if(u>0){var h,c=Ke(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function cn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function pn(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;en[0]=l,en[1]=u;for(var m=0;m<1;m+=.05)nn[0]=sn(t,n,r,a,m),nn[1]=sn(e,i,o,s,m),(f=Dt(en,nn))=0&&f=0&&y=1?1:un(0,i,o,1,t,s)&&sn(0,r,a,1,s[0])}}}const wn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||gt,this.ondestroy=t.ondestroy||gt,this.onrestart=t.onrestart||gt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=G(t)?t:je[t]||bn(t)},t}();var Sn=function(t){this.value=t},Mn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Sn(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();const In=function(){function t(t){this._list=new Mn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Sn(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();var Tn={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Cn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Dn(t){return t<0?0:t>1?1:t}function An(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Cn(parseFloat(e)/100*255):Cn(parseInt(e,10))}function kn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Dn(parseFloat(e)/100):Dn(parseFloat(e))}function Ln(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Pn(t,e,n){return t+(e-t)*n}function On(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Rn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Nn=new In(20),En=null;function zn(t,e){En&&Rn(En,e),En=Nn.put(t,En||e.slice())}function Vn(t,e){if(t){e=e||[];var n=Nn.get(t);if(n)return Rn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Tn)return Rn(e,Tn[i]),zn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(On(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),zn(t,e),e):void On(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(On(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),zn(t,e),e):void On(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?On(e,+u[0],+u[1],+u[2],1):On(e,0,0,0,1);h=kn(u.pop());case"rgb":return u.length>=3?(On(e,An(u[0]),An(u[1]),An(u[2]),3===u.length?h:kn(u[3])),zn(t,e),e):void On(e,0,0,0,1);case"hsla":return 4!==u.length?void On(e,0,0,0,1):(u[3]=kn(u[3]),Bn(u,e),zn(t,e),e);case"hsl":return 3!==u.length?void On(e,0,0,0,1):(Bn(u,e),zn(t,e),e);default:return}}On(e,0,0,0,1)}}function Bn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=kn(t[1]),r=kn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return On(e=e||[],Cn(255*Ln(a,o,n+1/3)),Cn(255*Ln(a,o,n)),Cn(255*Ln(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Fn(t,e){var n=Vn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return Yn(n,4===n.length?"rgba":"rgb")}}function Gn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Cn(Pn(a[0],s[0],l)),n[1]=Cn(Pn(a[1],s[1],l)),n[2]=Cn(Pn(a[2],s[2],l)),n[3]=Dn(Pn(a[3],s[3],l)),n}}function Wn(t,e,n,i){var r=Vn(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=kn(n)),null!=i&&(r[2]=kn(i)),Yn(Bn(r),"rgba")}function Hn(t,e){var n=Vn(t);if(n&&null!=e)return n[3]=Dn(e),Yn(n,"rgba")}function Yn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function Xn(t,e){var n=Vn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var Un=Math.round;function Zn(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=Vn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var jn=1e-4;function qn(t){return t-1e-4}function Kn(t){return Un(1e3*t)/1e3}function $n(t){return Un(1e4*t)/1e4}var Jn={left:"start",right:"end",center:"middle",middle:"middle"};function Qn(t){return t&&!!t.image}function ti(t){return Qn(t)||function(t){return t&&!!t.svgElement}(t)}function ei(t){return"linear"===t.type}function ni(t){return"radial"===t.type}function ii(t){return t&&("linear"===t.type||"radial"===t.type)}function ri(t){return"url(#"+t+")"}function oi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function ai(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*yt,r=J(t.scaleX,1),o=J(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+Un(a*yt)+"deg, "+Un(s*yt)+"deg)"),l.join(" ")}var si=r.hasGlobalWindow&&G(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},li=Array.prototype.slice;function ui(t,e,n){return(e-t)*n+t}function hi(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(P(e)){var l=function(t){return P(t&&t[0])?2:1}(e);a=l,(1===l&&!Y(e[0])||2===l&&!Y(e[0][0]))&&(o=!0)}else if(Y(e)&&!K(e))a=0;else if(W(e))if(isNaN(+e)){var u=Vn(e);u&&(s=u,a=3)}else a=0;else if(q(e)){var h=D({},s);h.colorStops=R(e.colorStops,(function(t){return{offset:t.offset,color:Vn(t.color)}})),ei(e)?a=4:ni(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=G(n)?n:je[n]||bn(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=mi(i),l=vi(i),u=0;u=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;ne);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?xi:t[h];if(!mi(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(mi(s))1===s?hi(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,gi(l),i),this._trackKeys.push(a)}s.addKeyframe(t,gi(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function wi(){return(new Date).getTime()}var Si=function(t){function n(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return e(n,t),n.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},n.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},n.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},n.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},n.prototype.update=function(t){for(var e=wi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},n.prototype._startLoop=function(){var t=this;this._running=!0,Ue((function e(){t._running&&(Ue(e),!t._paused&&t.update())}))},n.prototype.start=function(){this._running||(this._time=wi(),this._pausedTime=0,this._startLoop())},n.prototype.stop=function(){this._running=!1},n.prototype.pause=function(){this._paused||(this._pauseStart=wi(),this._paused=!0)},n.prototype.resume=function(){this._paused&&(this._pausedTime+=wi()-this._pauseStart,this._paused=!1)},n.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},n.prototype.isFinished=function(){return null==this._head},n.prototype.animate=function(t,e){e=e||{},this.start();var n=new bi(t,e.loop);return this.addAnimator(n),n},n}(Et);const Mi=Si;var Ii,Ti,Ci=r.domSupported,Di=(Ti={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Ii=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:R(Ii,(function(t){var e=t.replace("mouse","pointer");return Ti.hasOwnProperty(e)?e:t}))}),Ai=["mousemove","mouseup"],ki=["pointermove","pointerup"],Li=!1;function Pi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Oi(t){t&&(t.zrByTouch=!0)}function Ri(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var Ni=function(t,e){this.stopPropagation=gt,this.stopImmediatePropagation=gt,this.preventDefault=gt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Ei={mousedown:function(t){t=Qt(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Qt(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Qt(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Ri(this,(t=Qt(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Li=!0,t=Qt(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Li||(t=Qt(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Oi(t=Qt(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Ei.mousemove.call(this,t),Ei.mousedown.call(this,t)},touchmove:function(t){Oi(t=Qt(this.dom,t)),this.handler.processGesture(t,"change"),Ei.mousemove.call(this,t)},touchend:function(t){Oi(t=Qt(this.dom,t)),this.handler.processGesture(t,"end"),Ei.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Ei.click.call(this,t)},pointerdown:function(t){Ei.mousedown.call(this,t)},pointermove:function(t){Pi(t)||Ei.mousemove.call(this,t)},pointerup:function(t){Ei.mouseup.call(this,t)},pointerout:function(t){Pi(t)||Ei.mouseout.call(this,t)}};O(["click","dblclick","contextmenu"],(function(t){Ei[t]=function(e){e=Qt(this.dom,e),this.trigger(t,e)}}));var zi={pointermove:function(t){Pi(t)||zi.mousemove.call(this,t)},pointerup:function(t){zi.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Vi(t,e){var n=e.domHandlers;r.pointerEventsSupported?O(Di.pointer,(function(i){Fi(e,i,(function(e){n[i].call(t,e)}))})):(r.touchEventsSupported&&O(Di.touch,(function(i){Fi(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),O(Di.mouse,(function(i){Fi(e,i,(function(r){r=Jt(r),e.touching||n[i].call(t,r)}))})))}function Bi(t,e){function n(n){Fi(e,n,(function(i){i=Jt(i),Ri(t,i.target)||(i=function(t,e){return Qt(t.dom,new Ni(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}r.pointerEventsSupported?O(ki,n):r.touchEventsSupported||O(Ai,n)}function Fi(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,te(t.domTarget,e,n,i)}function Gi(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var Wi=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e};const Hi=function(t){function n(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new Wi(e,Ei),Ci&&(i._globalHandlerScope=new Wi(document,zi)),Vi(i,i._localHandlerScope),i}return e(n,t),n.prototype.dispose=function(){Gi(this._localHandlerScope),Ci&&Gi(this._globalHandlerScope)},n.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},n.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Ci&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Bi(this,e):Gi(e)}},n}(Et);var Yi=1;r.hasGlobalWindow&&(Yi=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Xi=Yi,Ui="#333",Zi="#ccc",ji=ae,qi=5e-5;function Ki(t){return t>qi||t<-5e-5}var $i=[],Ji=[],Qi=[1,0,0,1,0,0],tr=Math.abs,er=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Ki(this.rotation)||Ki(this.x)||Ki(this.y)||Ki(this.scaleX-1)||Ki(this.scaleY-1)||Ki(this.skewX)||Ki(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):ji(n),t&&(e?le(n,t,n):se(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(ji(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale($i);var n=$i[0]<0?-1:1,i=$i[1]<0?-1:1,r=(($i[0]-n)*e+n)/$i[0]||0,o=(($i[1]-i)*e+i)/$i[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],pe(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(le(Ji,t.invTransform,e),e=Ji);var n=this.originX,i=this.originY;(n||i)&&(Qi[4]=n,Qi[5]=i,le(Ji,e,Qi),Ji[4]-=n,Ji[5]-=i,e=Ji),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&kt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&kt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&tr(t[0]-1)>1e-10&&tr(t[3]-1)>1e-10?Math.sqrt(tr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){ir(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&he(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),nr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function ir(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function dr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=pr(i[0],n.width),u+=pr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var fr="__zr_normal__",gr=nr.concat(["ignore"]),yr=N(nr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),vr={},mr=new Se(0,0,0,0),xr=function(){function t(t){this.id=S(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=mr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(vr,n,u):dr(vr,n,u),r.x=vr.x,r.y=vr.y,o=vr.align,a=vr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=pr(h[0],u.width),p=pr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Zi:Ui},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&Vn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,Yn(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},D(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(X(t))for(var n=z(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(fr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===fr;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(k(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}M("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=k(i,t),o=k(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s){M={},p&&(S={});for(_=0;_=0&&(n.splice(i,0,t),this._doAdd(t))}return this},n.prototype.replace=function(t,e){var n=k(this._children,t);return n>=0&&this.replaceAt(e,n),this},n.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},n.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},n.prototype.remove=function(t){var e=this.__zr,n=this._children,i=k(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},n.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Or(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return W(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function Rr(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Nr(t){return t.sort((function(t,e){return t-e})),t}function Er(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}(t)}function zr(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Vr(t,e){var n=Math.max(Er(t),Er(e)),i=t+e;return n>20?i:Rr(i,n)}var Br=9007199254740991;function Fr(t){var e=2*Math.PI;return(t%e+e)%e}function Gr(t){return t>-1e-4&&t=10&&e++,e}function Xr(t,e){var n=Yr(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function Ur(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function Zr(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&k(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Eo=No([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),zo=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Eo(this,t,e)},t}(),Vo=new In(50);function Bo(t){if("string"==typeof t){var e=Vo.get(t);return e&&e.image}return t}function Fo(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Vo.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!Wo(e=o.image)&&o.pending.push(a):((e=h.loadImage(t,Go,Go)).__zrImageSrc=t,Vo.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function Go(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=ar(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function Uo(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=ar(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?Zo(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=ar(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function Zo(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=ta(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!Jo[t]}function ta(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var ea="__zr_style_"+Math.round(10*Math.random()),na={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},ia={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};na[ea]=!0;var ra=["z","z2","invisible"],oa=["invisible"],aa=function(t){function n(e){return t.call(this,e)||this}var i;return e(n,t),n.prototype._init=function(e){for(var n=z(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(ga[0]=da(r)*n+t,ga[1]=pa(r)*i+e,ya[0]=da(o)*n+t,ya[1]=pa(o)*i+e,u(s,ga,ya),h(l,ga,ya),(r%=fa)<0&&(r+=fa),(o%=fa)<0&&(o+=fa),r>o&&!a?o+=fa:rr&&(va[0]=da(d)*n+t,va[1]=pa(d)*i+e,u(s,va,s),h(l,va,l))}var Ia={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ta=[],Ca=[],Da=[],Aa=[],ka=[],La=[],Pa=Math.min,Oa=Math.max,Ra=Math.cos,Na=Math.sin,Ea=Math.abs,za=Math.PI,Va=2*za,Ba="undefined"!=typeof Float32Array,Fa=[];function Ga(t){return Math.round(t/za*1e8)/1e8%2*za}function Wa(t,e){var n=Ga(t[0]);n<0&&(n+=Va);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Va?r=n+Va:e&&n-r>=Va?r=n-Va:!e&&n>r?r=n+(Va-Ga(n-r)):e&&n0&&(this._ux=Ea(n/Xi/t)||0,this._uy=Ea(n/Xi/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ia.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=Ea(t-this._xi),i=Ea(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Ia.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Ia.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Ia.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Fa[0]=i,Fa[1]=r,Wa(Fa,o),i=Fa[0];var a=(r=Fa[1])-i;return this.addData(Ia.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Ra(r)*n+t,this._yi=Na(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Ia.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ia.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Ba||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Da[0]=Da[1]=ka[0]=ka[1]=Number.MAX_VALUE,Aa[0]=Aa[1]=La[0]=La[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||Ea(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case Ia.C:var v=t[c++],m=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=dn(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case Ia.Q:f=xn(r,o,v=t[c++],m=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case Ia.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=C+T;c+=1,t[c++],d&&(a=Ra(T)*M+w,s=Na(T)*I+S),f=Oa(M,I)*Pa(Va,Math.abs(C)),r=Ra(D)*M+w,o=Na(D)*I+S;break;case Ia.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case Ia.Z:var A=a-r;y=s-o;f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case Ia.M:n=r=p[_++],i=o=p[_++],t.moveTo(r,o);break;case Ia.L:a=p[_++],s=p[_++];var S=Ea(a-r),M=Ea(s-o);if(S>d||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case Ia.C:var C=p[_++],D=p[_++],A=p[_++],k=p[_++],L=p[_++],P=p[_++];if(y){if(v+(j=l[m++])>u){cn(r,C,A,L,I=(u-v)/j,Ta),cn(o,D,k,P,I,Ca),t.bezierCurveTo(Ta[1],Ca[1],Ta[2],Ca[2],Ta[3],Ca[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case Ia.Q:C=p[_++],D=p[_++],A=p[_++],k=p[_++];if(y){if(v+(j=l[m++])>u){vn(r,C,A,I=(u-v)/j,Ta),vn(o,D,k,I,Ca),t.quadraticCurveTo(Ta[1],Ca[1],Ta[2],Ca[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case Ia.A:var O=p[_++],R=p[_++],N=p[_++],E=p[_++],z=p[_++],V=p[_++],B=p[_++],F=!p[_++],G=N>E?N:E,W=Ea(N-E)>.001,H=z+V,Y=!1;if(y)v+(j=l[m++])>u&&(H=z+V*(u-v)/j,Y=!0),v+=j;if(W&&t.ellipse?t.ellipse(O,R,N,E,B,z,H,F):t.arc(O,R,G,z,H,F),Y)break t;w&&(n=Ra(z)*N+O,i=Na(z)*E+R),r=Ra(H)*N+O,o=Na(H)*E+R;break;case Ia.R:n=r=p[_],i=o=p[_+1],a=p[_++],s=p[_++];var X=p[_++],U=p[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+Pa(Z,X),s),(Z-=X)>0&&t.lineTo(a+X,s+Pa(Z,U)),(Z-=U)>0&&t.lineTo(a+Oa(X-Z,0),s+U),(Z-=X)>0&&t.lineTo(a,s+Oa(U-Z,0));break t}v+=j}t.rect(a,s,X,U);break;case Ia.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j;t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Ia,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();function Ya(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=qa);var p=Math.atan2(l,s);return p<0&&(p+=qa),p>=i&&p<=r||p+qa>=i&&p+qa<=r}function $a(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var Ja=Ha.CMD,Qa=2*Math.PI;var ts=[-1,-1,-1],es=[-1,-1];function ns(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=es[0],es[0]=es[1],es[1]=h),f=sn(e,i,o,s,es[0]),d>1&&(g=sn(e,i,o,s,es[1]))),2===d?ve&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(on(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=Ke(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,ts);if(0===l)return 0;var u=yn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=fn(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);ts[0]=-l,ts[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Qa-1e-4){i=0,r=Qa;var h=o?1:-1;return a>=ts[0]+t&&a<=ts[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=Qa,r+=Qa);for(var p=0,d=0;d<2;d++){var f=ts[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=Qa+g),(g>=i&&g<=r||g+Qa>=i&&g+Qa<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function os(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,y=0;y1&&(n||(c+=$a(p,d,f,g,i,r))),m&&(f=p=u[y],g=d=u[y+1]),v){case Ja.M:p=f=u[y++],d=g=u[y++];break;case Ja.L:if(n){if(Ya(p,d,u[y],u[y+1],e,i,r))return!0}else c+=$a(p,d,u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case Ja.C:if(n){if(Xa(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=ns(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case Ja.Q:if(n){if(Ua(p,d,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=is(p,d,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case Ja.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):c+=$a(p,d,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(Ka(x,_,w,S,S+M,I,e,T,r))return!0}else c+=rs(x,_,w,S,S+M,I,T,r);p=Math.cos(S+M)*b+x,d=Math.sin(S+M)*w+_;break;case Ja.R:if(f=p=u[y++],g=d=u[y++],o=f+u[y++],a=g+u[y++],n){if(Ya(f,g,o,g,e,i,r)||Ya(o,g,o,a,e,i,r)||Ya(o,a,f,a,e,i,r)||Ya(f,a,f,g,e,i,r))return!0}else c+=$a(o,g,o,a,i,r),c+=$a(f,a,f,g,i,r);break;case Ja.Z:if(n){if(Ya(p,d,f,g,e,i,r))return!0}else c+=$a(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=$a(p,d,f,g,i,r)||0),0!==c}var as=A({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},na),ss={style:A({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},ia.style)},ls=nr.concat(["invisible","culling","z","z2","zlevel","parent"]),us=function(t){function n(e){return t.call(this,e)||this}var i;return e(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?Ui:e>.2?"#eee":Zi}if(t)return Zi}return Ui},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(W(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===Xn(t,0)<.4)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=-5},n.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new Ha(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return os(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return os(t,0,!1,e,n)}(o,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:D(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(4&this.__dirty)},n.prototype.createStyle=function(t){return pt(as,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=D({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=D({},i.shape),D(s,n.shape)):(s=D({},r?this.shape:i.shape),D(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=D({},this.shape);for(var u={},h=z(s),c=0;c0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.createStyle=function(t){return pt(cs,t)},n.prototype.setBoundingRect=function(t){this._rect=t},n.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=lr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},n.initDefaultProps=void(n.prototype.dirtyRectTolerance=10),n}(ua);ps.prototype.type="tspan";const ds=ps;var fs=A({x:0,y:0},na),gs={style:A({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},ia.style)};var ys=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.createStyle=function(t){return pt(fs,t)},n.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},n.prototype.getWidth=function(){return this._getSize("width")},n.prototype.getHeight=function(){return this._getSize("height")},n.prototype.getAnimationStyleProps=function(){return gs},n.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Se(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},n}(ua);ys.prototype.type="image";const vs=ys;var ms=Math.round;function xs(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(ms(2*i)===ms(2*r)&&(t.x1=t.x2=bs(i,s,!0)),ms(2*o)===ms(2*a)&&(t.y1=t.y2=bs(o,s,!0)),t):t}}function _s(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=bs(i,s,!0),t.y=bs(r,s,!0),t.width=Math.max(bs(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(bs(r+a,s,!1)-t.y,0===a?0:1),t):t}}function bs(t,e,n){if(!e)return t;var i=ms(2*t);return(i+ms(e))%2==0?i/2:(i+(n?1:-1))/2}var ws=function(){this.x=0,this.y=0,this.width=0,this.height=0},Ss={},Ms=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new ws},n.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=_s(Ss,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},n.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},n}(hs);Ms.prototype.type="rect";const Is=Ms;var Ts={fill:"#000"},Cs={style:A({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},ia.style)},Ds=function(t){function n(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ts,n.attr(e),n}return e(n,t),n.prototype.childrenRef=function(){return this._children},n.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ed&&h){var f=Math.floor(d/l);n=n.slice(0,f)}if(t&&a&&null!=c)for(var g=Xo(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,D=0;Dl&&$o(n,t.substring(l,u),e,s),$o(n,i[2],e,s,i[1]),l=Ho.lastIndex}lo){b>0?(m.tokens=m.tokens.slice(0,b),y(m,_,x),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var C=w.width,D=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))P.percentWidth=C,h.push(P),P.contentWidth=ar(P.text,I);else{if(D){var A=w.backgroundColor,k=A&&A.image;k&&Wo(k=Bo(k))&&(P.width=Math.max(P.width,k.width*T/k.height))}var L=f&&null!=r?r-_:null;null!=L&&L=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(n-(M-d)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},n.prototype._placeToken=function(t,e,n,i,r,o,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&Fs(l)&&this._renderBackground(l,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=Vs(r,o,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(ds),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,y=!1,v=0,m=zs("fill"in l?l.fill:"fill"in e?e.fill:(y=!0,g.fill)),x=Es("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!y?null:(v=2,g.stroke)),_=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||a,f.opacity=Q(l.opacity,e.opacity,1),Os(f,l),x&&(f.lineWidth=Q(l.lineWidth,e.lineWidth,v),f.lineDash=J(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),m&&(f.fill=m);var b=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new Se(ur(f.x,b,f.textAlign),hr(f.y,w,f.textBaseline),b,w))},n.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(Is)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=J(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(vs)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=J(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=Q(t.opacity,e.opacity,1)},n.makeFont=function(t){var e="";return Rs(t)&&(e=[t.fontStyle,t.fontWeight,Ps(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&it(e)||t.textFont||t.font},n}(ua),As={left:!0,right:1,center:1},ks={top:1,bottom:1,middle:1},Ls=["fontStyle","fontWeight","fontSize","fontFamily"];function Ps(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function Os(t,e){for(var n=0;n=0,o=!1;if(t instanceof hs){var a=Us(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(nl(s)||nl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=D({},i),(u=D({},u)).fill=s):!nl(u.fill)&&nl(s)?(o=!0,i=D({},i),(u=D({},u)).fill=rl(s)):!nl(u.stroke)&&nl(l)&&(o||(i=D({},i),u=D({},u)),u.stroke=rl(l)),i.style=u}}if(i&&null==i.z2){o||(i=D({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:Ks)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=k(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Pl(t,e,n){Vl(t,!0),dl(t,yl),Rl(t,e,n)}function Ol(t,e,n,i){i?function(t){Vl(t,!1)}(t):Pl(t,e,n)}function Rl(t,e,n){var i=Ws(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var Nl=["emphasis","blur","select"],El={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function zl(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=Zl(f),s*=Zl(f));var g=(r===o?-1:1)*Zl((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+ql(c)*y-jl(c)*v,x=(e+i)/2+jl(c)*y+ql(c)*v,_=Ql([1,0],[(p-y)/a,(d-v)/s]),b=[(p-y)/a,(d-v)/s],w=[(-1*p-y)/a,(-1*d-v)/s],S=Ql(b,w);if(Jl(b,w)<=-1&&(S=Kl),Jl(b,w)>=1&&(S=0),S<0){var M=Math.round(S/Kl*1e6)/1e6;S=2*Kl+M%2*Kl}h.addData(u,m,x,a,s,_,S,c,o)}var eu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,nu=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var iu=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.applyTransform=function(t){},n}(hs);function ru(t){return null!=t.setData}function ou(t,e){var n=function(t){var e=new Ha;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=Ha.CMD,l=t.match(eu);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function Tu(t,e){var n,i=wu(e.r,0),r=wu(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=_u(l-s),d=p>gu&&p%gu;if(d>Mu&&(p=d),i>Mu)if(p>gu-Mu)t.moveTo(u+i*vu(s),h+i*yu(s)),t.arc(u,h,i,s,l,!c),r>Mu&&(t.moveTo(u+r*vu(l),h+r*yu(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*vu(s),L=i*yu(s),P=r*vu(l),O=r*yu(l),R=p>Mu;if(R){var N=e.cornerRadius;N&&(f=(n=function(t){var e;if(F(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N))[0],g=n[1],y=n[2],v=n[3]);var E=_u(i-r)/2;if(m=Su(E,y),x=Su(E,v),_=Su(E,f),b=Su(E,g),M=w=wu(m,x),I=S=wu(_,b),(w>Mu||S>Mu)&&(T=i*vu(l),C=i*yu(l),D=r*vu(s),A=r*yu(s),pMu){var X=Su(y,M),U=Su(v,M),Z=Iu(D,A,k,L,i,X,c),j=Iu(T,C,P,O,i,U,c);t.moveTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),M0&&t.arc(u+Z.cx,h+Z.cy,X,xu(Z.y0,Z.x0),xu(Z.y1,Z.x1),!c),t.arc(u,h,i,xu(Z.cy+Z.y1,Z.cx+Z.x1),xu(j.cy+j.y1,j.cx+j.x1),!c),U>0&&t.arc(u+j.cx,h+j.cy,U,xu(j.y1,j.x1),xu(j.y0,j.x0),!c))}else t.moveTo(u+k,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+L);if(r>Mu&&R)if(I>Mu){X=Su(f,I),Z=Iu(P,O,T,C,r,-(U=Su(g,I)),c),j=Iu(k,L,D,A,r,-X,c);t.lineTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),I0&&t.arc(u+Z.cx,h+Z.cy,U,xu(Z.y0,Z.x0),xu(Z.y1,Z.x1),!c),t.arc(u,h,r,xu(Z.cy+Z.y1,Z.cx+Z.x1),xu(j.cy+j.y1,j.cx+j.x1),c),X>0&&t.arc(u+j.cx,h+j.cy,X,xu(j.y1,j.x1),xu(j.y0,j.x0),!c))}else t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Cu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Du=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new Cu},n.prototype.buildPath=function(t,e){Tu(t,e)},n.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},n}(hs);Du.prototype.type="sector";const Au=Du;var ku=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Lu=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new ku},n.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},n}(hs);Lu.prototype.type="ring";const Pu=Lu;function Ou(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;prh[1]){if(a=!1,r)return a;var u=Math.abs(rh[0]-ih[1]),h=Math.abs(ih[0]-rh[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function gh(t,e,n,i,r,o){fh("update",t,e,n,i,r,o)}function yh(t,e,n,i,r,o){fh("enter",t,e,n,i,r,o)}function vh(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Vh(t){return!t.isGroup}function Bh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Vh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Vh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),gh(t,i,n,Ws(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=D({},t.shape)),e}}function Fh(t,e){return R(t,(function(t){var n=t[0];n=wh(n,e.x),n=Sh(n,e.x+e.width);var i=t[1];return i=wh(i,e.y),[n,i=Sh(i,e.y+e.height)]}))}function Gh(t,e,n){var i=D({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),A(r,n),new vs(i)):Dh(t.replace("path://",""),i,n,"center")}function Wh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,y=Yh(f,g,u,h)/d;if(y<0||y>1)return!1;var v=Yh(f,g,c,p)/d;return!(v<0||v>1)}function Yh(t,e,n,i){return t*i-n*e}function Xh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=W(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&O(z(l),(function(t){ft(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Ws(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:A({content:i,formatterParams:s},r)}}function Uh(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Zh(t,e){if(t)if(F(t))for(var n=0;n=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},createIcon:Gh,extendPath:function(t,e){return Ih(t,e)},extendShape:function(t){return hs.extend(t)},getShapeClass:Ch,getTransform:Nh,groupTransition:Bh,initProps:yh,isElementRemoved:vh,lineLineIntersect:Hh,linePolygonIntersect:Wh,makeImage:Ah,makePath:Dh,mergePath:Lh,registerShape:Th,removeElement:mh,removeElementWithFadeOut:_h,resizePath:Ph,setTooltipConfig:Xh,subPixelOptimize:Rh,subPixelOptimizeLine:Oh,subPixelOptimizeRect:function(t){return _s(t.shape,t.shape,t.style),t},transformDirection:zh,traverseElements:Zh,updateProps:gh},Symbol.toStringTag,{value:"Module"}));var qh={};function Kh(t,e){for(var n=0;n-1?Dc:kc;function Rc(t,e){t=t.toUpperCase(),Pc[t]=new Mc(e),Lc[t]=e}function Nc(t){return Pc[t]}Rc(Ac,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Rc(Dc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Ec=1e3,zc=6e4,Vc=36e5,Bc=864e5,Fc=31536e6,Gc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Wc="{yyyy}-{MM}-{dd}",Hc={year:"{yyyy}",month:"{yyyy}-{MM}",day:Wc,hour:Wc+" "+Gc.hour,minute:Wc+" "+Gc.minute,second:Wc+" "+Gc.second,millisecond:Gc.none},Yc=["year","month","day","hour","minute","second","millisecond"],Xc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Uc(t,e){return"0000".substr(0,e-(t+="").length)+t}function Zc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function jc(t){return t===Zc(t)}function qc(t,e,n,i){var r=Hr(t),o=r[Jc(n)](),a=r[Qc(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[tp(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[ep(n)](),c=(h-1)%12+1,p=r[np(n)](),d=r[ip(n)](),f=r[rp(n)](),g=(i instanceof Mc?i:Nc(i||Oc)||Pc[kc]).getModel("time"),y=g.get("month"),v=g.get("monthAbbr"),m=g.get("dayOfWeek"),x=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Uc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,v[a-1]).replace(/{MM}/g,Uc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Uc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,m[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Uc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,Uc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Uc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,Uc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,Uc(f,3)).replace(/{S}/g,f+"")}function Kc(t,e){var n=Hr(t),i=n[Qc(e)]()+1,r=n[tp(e)](),o=n[ep(e)](),a=n[np(e)](),s=n[ip(e)](),l=0===n[rp(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function $c(t,e,n){var i=Y(t)?Hr(t):t;switch(e=e||Kc(t,n)){case"year":return i[Jc(n)]();case"half-year":return i[Qc(n)]()>=6?1:0;case"quarter":return Math.floor((i[Qc(n)]()+1)/4);case"month":return i[Qc(n)]();case"day":return i[tp(n)]();case"half-day":return i[ep(n)]()/24;case"hour":return i[ep(n)]();case"minute":return i[np(n)]();case"second":return i[ip(n)]();case"millisecond":return i[rp(n)]()}}function Jc(t){return t?"getUTCFullYear":"getFullYear"}function Qc(t){return t?"getUTCMonth":"getMonth"}function tp(t){return t?"getUTCDate":"getDate"}function ep(t){return t?"getUTCHours":"getHours"}function np(t){return t?"getUTCMinutes":"getMinutes"}function ip(t){return t?"getUTCSeconds":"getSeconds"}function rp(t){return t?"getUTCMilliseconds":"getMilliseconds"}function op(t){return t?"setUTCFullYear":"setFullYear"}function ap(t){return t?"setUTCMonth":"setMonth"}function sp(t){return t?"setUTCDate":"setDate"}function lp(t){return t?"setUTCHours":"setHours"}function up(t){return t?"setUTCMinutes":"setMinutes"}function hp(t){return t?"setUTCSeconds":"setSeconds"}function cp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function pp(t){if(!qr(t))return W(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function dp(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var fp=et;function gp(t,e,n){function i(t){return t&&it(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?Hr(t):t;if(!isNaN(+s))return qc(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return H(t)?i(t):Y(t)&&r(t)?t+"":"-";var l=jr(t);return r(l)?pp(l):H(t)?i(t):"boolean"==typeof t?t+"":"-"}var yp=["a","b","c","d","e","f","g"],vp=function(t,e){return"{"+t+(null==e?"":e)+"}"};function mp(t,e,n){F(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;oi||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var Ip=Mp;function Tp(t,e,n){n=fp(n||0);var i=e.width,r=e.height,o=Or(t.left,i),a=Or(t.top,r),s=Or(t.right,i),l=Or(t.bottom,r),u=Or(t.width,i),h=Or(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new Se(o+n[3],a+n[0],u,h);return f.margin=n,f}function Cp(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Se(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=Tp(A({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function Dp(t){var e=t.layoutMode||t.constructor.layoutMode;return X(e)?e:e?{type:e}:null}function Ap(t,e,n){var i=n&&n.ignoreSize;!F(i)&&(i=[i,i]);var r=a(Sp[0],0),o=a(Sp[1],1);function a(n,r){var o={},a=0,u={},h=0;if(bp(n,(function(e){u[e]=t[e]})),bp(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=T(o,n[a],!0);e.defaultOption=o}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return wo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},n.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=((i=n.prototype).type="component",i.id="",i.name="",i.mainType="",i.subType="",void(i.componentIndex=0)),n}(Mc);ko(Op,Mc),Ro(Op),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=Do(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=Do(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(Op),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return O(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return O(t,(function(t){k(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),O(s,(function(t){k(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);k(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(O(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),O(c.successor,p?f:d)}O(u,(function(){throw new Error("")}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,d(t)}}}(Op,(function(t){var e=[];O(Op.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=R(e,(function(t){return Do(t).main})),"dataset"!==t&&k(e,"dataset")<=0&&e.unshift("dataset");return e}));const Rp=Op;var Np="";"undefined"!=typeof navigator&&(Np=navigator.platform||"");var Ep="rgba(0, 0, 0, 0.2)";const zp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ep,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ep,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ep,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ep,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ep,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ep,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Np.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Vp=ht(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Bp="original",Fp="arrayRows",Gp="objectRows",Wp="keyedColumns",Hp="typedArray",Yp="unknown",Xp="column",Up="row",Zp=1,jp=2,qp=3,Kp=yo();function $p(t,e,n){var i={},r=Qp(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Kp(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;O(t=t.slice(),(function(e,n){var r=X(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var cd="\0_ec_inner",pd=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Mc(i),this._locale=new Mc(r),this._optionManager=o},n.prototype.setOption=function(t,e,n){var i=gd(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},n.prototype.resetOption=function(t,e){return this._resetOption(t,gd(e))},n.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):od(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&O(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},n.prototype.mergeOption=function(t){this._mergeOption(t,null)},n.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=ht(),s=e&&e.replaceMergeMainTypeMap;Kp(this).datasetMap=ht(),O(t,(function(t,e){null!=t&&(Rp.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?I(t):T(n[e],t,!0))})),s&&s.each((function(t,e){Rp.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Rp.topologicalTravel(o,Rp.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=nd.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,io(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=lo(a,o,l);(function(t,e,n){O(t,(function(t){var i=t.newOption;X(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,Rp),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],d=0;O(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Rp.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=D({componentIndex:n},t.keyInfo);D(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,d),"series"===e&&id(this)}),this),this._seriesIndices||id(this)},n.prototype.getOption=function(){var t=I(this.option);return O(t,(function(e,n){if(Rp.hasClass(n)){for(var i=io(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!fo(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[cd],t},n.prototype.getTheme=function(){return this._theme},n.prototype.getLocaleModel=function(){return this._locale},n.prototype.setUpdatePayload=function(t){this._payload=t},n.prototype.getUpdatePayload=function(){return this._payload},n.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}const Id=Sd;var Td=O,Cd=X,Dd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ad(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Dd.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=Vr(d,v),f=v;break}}}return i[0]=d,i[1]=f,i}))}))}var Zd,jd,qd,Kd,$d,Jd=function(t){this.data=t.data||(t.sourceFormat===Wp?{}:[]),this.sourceFormat=t.sourceFormat||Yp,this.seriesLayoutBy=t.seriesLayoutBy||Xp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return mf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function bf(t){var e,n;return X(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function wf(t){return new Sf(t)}var Sf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Af=function(){function t(t,e){if(!Y(e)){Qr("")}this._opFn=Df[t],this._rvalFloat=jr(e)}return t.prototype.evaluate=function(t){return Y(t)?this._opFn(t,this._rvalFloat):this._opFn(jr(t),this._rvalFloat)},t}(),kf=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Y(t)?t:jr(t),i=Y(e)?e:jr(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=W(t),s=W(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),Lf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=jr(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=jr(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Pf(t,e){return"eq"===t||"ne"===t?new Lf("eq"===t,e):ft(Df,t)?new Af(t,e):null}var Of=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return If(t,e)},t}();function Rf(t){if(!Ff(t.sourceFormat)){Qr("")}return t.data}function Nf(t){var e=t.sourceFormat,n=t.data;if(!Ff(e)){Qr("")}if(e===Fp){for(var i=[],r=0,o=n.length;r65535?Hf:Yf}function qf(t,e,n,i,r){var o=Zf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=R(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=d),d++}p=!0}else if(2===r){f=c[i[0]];var y=c[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=v&&_<=m||isNaN(_))&&(a[s++]=d),d++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(jf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=[1/0,-1/0],c=new(jf(this._rawCount))(Math.ceil(u/s)),p=0,d=0;du-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return If(t[i],this._dimensions[i])}Gf={arrayRows:t,objectRows:function(t,e,n,i){return If(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return If(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),$f=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Qf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=Z(a=o.get("data",!0))?Hp:Bp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=J(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=J(h.sourceHeader,c.sourceHeader),f=J(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f?[tf(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{t=[tf(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==t.length&&tg("")}var o,a=[],s=[];return O(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||tg(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e){var n=io(t),i=n.length;i||Qr("");for(var r=0,o=i;r1||n>0&&!t.noHeader;return O(t.blocks,(function(t){var n=lg(t);n>=e&&(e=n+ +(i&&(!n||ag(t)&&!t.noHeader)))})),e}return 0}function ug(t,e,n,i){var r,o=e.noHeader,a=(r=lg(e),{html:ig[r],richText:rg[r]}),s=[],l=e.blocks||[];nt(!l||F(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(ft(h,u)){var c=new kf(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}O(l,(function(n,r){var o=e.valueFormatter,l=sg(n)(o?D(D({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):pg(s.join(""),o?n:a.html);if(o)return p;var d=gp(e.header,"ordinal",t.useUTC),f=ng(i,t.renderMode).nameStyle;return"richText"===t.renderMode?dg(t,d,f)+a.richText+p:pg('
'+Ut(d)+"
"+p,n)}function hg(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return R(t=F(t)?t:[t],(function(t,e){return gp(t,F(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":gp(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value),g=!s||!o,y=!s&&o,v=ng(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":dg(t,p,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(F(e)?e.join(" "):e,o)}(t,f,g,y,x)):pg((s?"":c)+(o?"":function(t,e,n){return''+Ut(t)+""}(p,!s,m))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=F(t)?t:[t],''+R(t,(function(t){return Ut(t)})).join("  ")+""}(f,g,y,x)),n)}}function cg(t,e,n,i,r,o){if(t)return sg(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function pg(t,e){return'
'+t+'
'}function dg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function fg(t,e){return xp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function gg(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var yg=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Kr()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=W(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"subItem"===r?'':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return W(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};F(e)?O(e,(function(t){return D(n,t)})):D(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function vg(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=F(c),d=fg(o,a);if(h>1||p&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=N(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(og("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?O(i,(function(t){h(mf(o,n,t),t)})):O(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=mf(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=po(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return og("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[og("nameValue",{markerType:"item",markerColor:d,name:x,noName:!it(x),value:e,valueType:n})].concat(i||[])})}var mg=yo();function xg(t,e){return t.getName(e)||t.getId(e)}var _g="__universalTransitionEnabled",bg=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var i;return e(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=wf({count:Sg,reset:Mg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(mg(this).sourceManager=new $f(this)).prepareSource();var i=this.getInitialData(t,n);Tg(i,this),this.dataTask.context.data=i,mg(this).dataBeforeProcessed=i,wg(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=Dp(this),i=n?kp(t):{},r=this.subType;Rp.hasClass(r)&&(r+="Series"),T(t,e.getTheme().get(this.subType)),T(t,this.getDefaultOption()),ro(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Ap(t,i,n)},n.prototype.mergeOption=function(t,e){t=T(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Dp(this);n&&Ap(this.option,t,n);var i=mg(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Tg(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,mg(this).dataBeforeProcessed=r,wg(this),this._initSelectedMapFromData(r)},n.prototype.fillDataTextStyle=function(t){if(t&&!Z(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=ld.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[xg(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this[_g])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){X(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},n.registerClass=function(t){return Rp.registerClass(t)},n.protoInitialize=((i=n.prototype).type="series.__base__",i.seriesIndex=0,i.ignoreStyleOnData=!1,i.hasSymbolVisual=!1,i.defaultSymbol="circle",i.visualStyleAccessPath="itemStyle",void(i.visualDrawType="fill")),n}(Rp);function wg(t){var e=t.name;po(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return O(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Sg(t){return t.model.getRawData().count()}function Mg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Ig}function Ig(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Tg(t,e){O(ct(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,B(Cg,e))}))}function Cg(t,e){var n=Dg(t);return n&&n.setOutputEnd((e||this).count()),e}function Dg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}L(bg,_f),L(bg,ld),ko(bg,Rp);const Ag=bg;var kg=function(){function t(){this.group=new Tr,this.uid=Tc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();Ao(kg),Ro(kg);const Lg=kg;function Pg(){var t=yo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var Og=yo(),Rg=Pg(),Ng=function(){function t(){this.group=new Tr,this.uid=Tc("viewChart"),this.renderTask=wf({plan:Vg,reset:Bg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&zg(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&zg(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){Zh(this.group,t)},t.markUpdateMethod=function(t,e){Og(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Eg(t,e,n){t&&Bl(t)&&("emphasis"===e?xl:_l)(t,n)}function zg(t,e,n){var i=go(t,e),r=e&&null!=e.highlightKey?function(t){var e=Xs[t];return null==e&&Ys<=32&&(e=Xs[t]=Ys++),e}(e.highlightKey):null;null!=i?O(io(i),(function(e){Eg(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Eg(t,n,r)}))}function Vg(t){return Rg(t.model)}function Bg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Og(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Fg[l]}Ao(Ng),Ro(Ng);var Fg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};const Gg=Ng;var Wg="\0__throttleOriginMethod",Hg="\0__throttleRate",Yg="\0__throttleType";function Xg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function Ug(t,e,n,i){var r=t[e];if(r){var o=r[Wg]||r,a=r[Yg];if(r[Hg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Xg(o,n,"debounce"===i))[Wg]=o,r[Yg]=i,r[Hg]=n}return r}}function Zg(t,e){var n=t[e];n&&n[Wg]&&(n.clear&&n.clear(),t[e]=n[Wg])}var jg=yo(),qg={itemStyle:No(_c,!0),lineStyle:No(vc,!0)},Kg={lineStyle:"stroke",itemStyle:"fill"};function $g(t,e){var n=t.visualStyleMapper||qg[e];return n||(console.warn("Unknown style type '"+e+"'."),qg.itemStyle)}function Jg(t,e){var n=t.visualDrawType||Kg[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Qg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=$g(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=Jg(t,i),l=o[s],u=G(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||G(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||G(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=D({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},ty=new Mc,ey={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=$g(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){ty.option=n[i];var a=r(ty);D(t.ensureUniqueItemVisual(e,"style"),a),ty.option.decal&&(t.setItemVisual(e,"decal",ty.option.decal),ty.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},ny={performRawSeries:!0,overallReset:function(t){var e=ht();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),jg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=jg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Jg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},iy=Math.PI;var ry=function(){function t(t,e,n,i){this._stageTaskMap=ht(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=ht();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;O(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});nt(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}O(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=ht(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||wf({plan:uy,reset:hy,count:dy}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||wf({reset:oy});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=ht(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,wf({reset:ay,onDirty:ly})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}nt(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,O(n.getSeries(),p)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return G(t)&&(t={overallReset:t,seriesType:fy(t)}),t.uid=Tc("stageHandler"),e&&(t.visualType=e),t},t}();function oy(t){t.overallReset(t.ecModel,t.api,t.payload)}function ay(t){return t.overallProgress&&sy}function sy(){this.agent.dirty(),this.getDownstream().dirty()}function ly(){this.agent&&this.agent.dirty()}function uy(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function hy(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=io(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?R(e,(function(t,e){return py(e)})):cy}var cy=py(0);function py(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Ay=["symbol","symbolSize","symbolRotate","symbolOffset"],ky=Ay.concat(["symbolKeepAspect"]),Ly={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&tv(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=tv(i)?i:0,r=tv(r)?r:1,o=tv(o)?o:0,a=tv(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:Y(e)?[e]:F(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=R(r,(function(t){return t/a})),o/=a)}return[r,o]}var ov=new Ha(!0);function av(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function sv(t){return"string"==typeof t&&"none"!==t}function lv(t){var e=t.fill;return null!=e&&"none"!==e}function uv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function hv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function cv(t,e,n){var i=Fo(e.image,e.__image,n);if(Wo(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*yt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var pv=["shadowBlur","shadowOffsetX","shadowOffsetY"],dv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function fv(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){vv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?na.opacity:a}(i||e.blend!==n.blend)&&(o||(vv(t,r),o=!0),t.globalCompositeOperation=e.blend||na.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},n.prototype.getDom=function(){return this._dom},n.prototype.getId=function(){return this.id},n.prototype.getZr=function(){return this._zr},n.prototype.isSSR=function(){return this._ssr},n.prototype.setOption=function(t,e,n){if(!this[Ov])if(this._disposed)this.id;else{var i,r,o;if(X(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Ov]=!0,!this._model||e){var a=new Id(this._api),s=this._theme,l=this._model=new yd;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},dm);var u={seriesTransition:o,optionChanged:!0};if(n)this[Rv]={silent:i,updateParams:u},this[Ov]=!1,this.getZr().wakeUp();else{try{Gv(this),Yv.update.call(this,null,u)}catch(h){throw this[Rv]=null,this[Ov]=!1,h}this._ssr||this._zr.flush(),this[Rv]=null,this[Ov]=!1,jv.call(this,i),qv.call(this,i)}}},n.prototype.setTheme=function(){},n.prototype.getModel=function(){return this._model},n.prototype.getOption=function(){return this._model&&this._model.getOption()},n.prototype.getWidth=function(){return this._zr.getWidth()},n.prototype.getHeight=function(){return this._zr.getHeight()},n.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||r.hasGlobalWindow&&window.devicePixelRatio||1},n.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},n.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},n.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},n.prototype.getSvgDataURL=function(){if(r.svgSupported){var t=this._zr;return O(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},n.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;O(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return O(i,(function(t){t.group.ignore=!1})),o}this.id},n.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(mm[n]){var a=o,s=o,l=-1/0,u=-1/0,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();O(vm,(function(o,h){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(I(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),c.push({dom:p,left:d.left,top:d.top})}}));var d=(l*=p)-(a*=p),f=(u*=p)-(s*=p),g=h.createCanvas(),y=kr(g,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:f}),e){var v="";return O(c,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new Is({shape:{x:0,y:0,width:d,height:f},style:{fill:t.connectedBackgroundColor}})),O(c,(function(t){var e=new vs({style:{x:t.left*p-a,y:t.top*p-s,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},n.prototype.convertToPixel=function(t,e){return Xv(this,"convertToPixel",t,e)},n.prototype.convertFromPixel=function(t,e){return Xv(this,"convertFromPixel",t,e)},n.prototype.containPixel=function(t,e){var n;if(!this._disposed)return O(mo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&O(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n;this.id},n.prototype.getVisual=function(t,e){var n=mo(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?Oy(i,r,e):Ry(i,e)},n.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},n.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},n.prototype._initEvents=function(){var t,e,n,i=this;O(um,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&Vy(o,(function(t){var e=Ws(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=D({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),O(cm,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),O(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(zy("map","selectchanged",e,i,t),zy("pie","selectchanged",e,i,t)):"select"===t.fromAction?(zy("map","selected",e,i,t),zy("pie","selected",e,i,t)):"unselect"===t.fromAction&&(zy("map","unselected",e,i,t),zy("pie","unselected",e,i,t))}))},n.prototype.isDisposed=function(){return this._disposed},n.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},n.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&So(this.getDom(),_m,"");var t=this,e=t._api,n=t._model;O(t._componentsViews,(function(t){t.dispose(n,e)})),O(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete vm[t.id]}},n.prototype.resize=function(t){if(!this[Ov])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Rv]&&(null==i&&(i=this[Rv].silent),n=!0,this[Rv]=null),this[Ov]=!0;try{n&&Gv(this),Yv.update.call(this,{type:"resize",animation:D({duration:0},t&&t.animation)})}catch(r){throw this[Ov]=!1,r}this[Ov]=!1,jv.call(this,i),qv.call(this,i)}}},n.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(X(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ym[t]){var n=ym[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},n.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},n.prototype.makeActionFromEvent=function(t){var e=D({},t);return e.type=cm[t.type],e},n.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(X(e)||(e={silent:!!e}),hm[t.type]&&this._model)if(this[Ov])this._pendingActions.push(t);else{var n=e.silent;Zv.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&r.browser.weChat&&this._throttledZrFlush(),jv.call(this,n),qv.call(this,n)}},n.prototype.updateLabelLayout=function(){Dv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},n.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},n.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function n(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(vh(t))return;if(t instanceof hs&&function(t){var e=Us(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}Gv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Wv(t,!0),Wv(t,!1),e.plan()},Wv=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!r.node&&!r.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),Dv.trigger("series:afterupdate",e,n,l)},im=function(t){t[Nv]=!0,t.getZr().wakeUp()},rm=function(t){t[Nv]&&(t.getZr().storage.traverse((function(t){vh(t)||n(t)})),t[Nv]=!1)},em=function(t){return new(function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return e(i,n),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){xl(e,n),im(t)},i.prototype.leaveEmphasis=function(e,n){_l(e,n),im(t)},i.prototype.enterBlur=function(e){bl(e),im(t)},i.prototype.leaveBlur=function(e){wl(e),im(t)},i.prototype.enterSelect=function(e){Sl(e),im(t)},i.prototype.leaveSelect=function(e){Ml(e),im(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(md))(t)},nm=function(t){function e(t,e){for(var n=0;n=0)){Dm.push(n);var o=xy.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function km(t,e){ym[t]=e}var Lm=function(t){var e=(t=I(t)).type;e||Qr("");var n=e.split(":");2!==n.length&&Qr("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,Vf.set(e,t)};Cm(kv,Qg),Cm(Lv,ey),Cm(Lv,ny),Cm(kv,Ly),Cm(Lv,Py),Cm(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=Mv(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=Mv(r,e)}}))})),Sm(Xd),Mm(900,(function(t){var e=ht();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(Ud)})),km("default",(function(t,e){A(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Tr,i=new Is({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Gs({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Is({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new $u({shape:{startAngle:-iy/2,endAngle:-iy/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*iy/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*iy/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Tm({type:$s,event:$s,update:$s},gt),Tm({type:Js,event:Js,update:Js},gt),Tm({type:Qs,event:Qs,update:Qs},gt),Tm({type:tl,event:tl,update:tl},gt),Tm({type:el,event:el,update:el},gt),wm("light",by),wm("dark",Cy);var Pm=[],Om={registerPreprocessor:Sm,registerProcessor:Mm,registerPostInit:function(t){Im("afterinit",t)},registerPostUpdate:function(t){Im("afterupdate",t)},registerUpdateLifecycle:Im,registerAction:Tm,registerCoordinateSystem:function(t,e){bd.register(t,e)},registerLayout:function(t,e){Am(fm,t,e,1e3,"layout")},registerVisual:Cm,registerTransform:Lm,registerLoading:km,registerMap:function(t,e,n){var i=Av["registerMap"];i&&i(t,e,n)},registerImpl:function(t,e){Av[t]=e},PRIORITY:Pv,ComponentModel:Rp,ComponentView:Lg,SeriesModel:Ag,ChartView:Gg,registerComponentModel:function(t){Rp.registerClass(t)},registerComponentView:function(t){Lg.registerClass(t)},registerSeriesModel:function(t){Ag.registerClass(t)},registerChartView:function(t){Gg.registerClass(t)},registerSubTypeDefaulter:function(t,e){Rp.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){var n;n=e,Cr[t]=n}};function Rm(t){F(t)?O(t,(function(t){Rm(t)})):k(Pm,t)>=0||(Pm.push(t),G(t)&&(t={install:t}),t.install(Om))}function Nm(t){return null==t?0:t.length||1}function Em(t){return t}var zm=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Em,this._newKeyGetter=i||Em,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var Km,$m,Jm,Qm,tx,ex,nx,ix=X,rx=R,ox="undefined"==typeof Int32Array?Array:Int32Array,ax=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],sx=["_approximateExtent"],lx=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Um(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Bp&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(F(r=this.getVisual(e))?r=r.slice():ix(r)&&(r=D({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,ix(e)?D(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){ix(t)?D(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?D(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Hs(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){O(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:rx(this.dimensions,this._getDimInfo,this),this.hostModel)),tx(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];G(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(tt(arguments)))})},t.internalField=(Km=function(t){var e=t._invertedIndicesMap;O(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new ox(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}();const ux=lx;function hx(t,e){Qd(t)||(t=ef(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=ht(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return O(e,(function(t){var e;X(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&qm(a),l=i===t.dimensionsDefine,u=l?jm(t):Zm(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=ht(h),p=new Xf(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new Xm({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function cx(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var px=function(t){this.coordSysDims=[],this.axisMap=ht(),this.categoryAxisMap=ht(),this.coordSysName=t};var dx={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",_o).models[0],o=t.getReferringComponents("yAxis",_o).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),fx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),fx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",_o).models[0];e.coordSysDims=["single"],n.set("single",r),fx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",_o).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),fx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),fx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();O(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),fx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function fx(t){return"category"===t.get("type")}function gx(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!Um(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(O(i,(function(t,e){W(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;O(i,(function(t){t.coordDim===d&&g++}));var y={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),v.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function yx(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function vx(t,e){return yx(t,e)?t.getCalculationInfo("stackResultDimension"):e}function mx(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=ef(t)):o=(i=r.getSource()).sourceFormat===Bp;var a=function(t){var e=t.get("coordinateSystem"),n=new px(e),i=dx[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=bd.get(i);return e&&e.coordSysDims&&(n=R(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Gm(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=G(l)?l:l?B($p,s,e):null,h=hx(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&O(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),d=gx(e,{schema:h,store:p}),f=new ux(h,e);f.setCalculationInfo(d);var g=null!=c&&function(t){if(t.sourceFormat===Bp){var e=function(t){var e=0;for(;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Ro(xx);const _x=xx;var bx=0;function Sx(t){return X(t)&&null!=t.value?t.value:t+""}const Mx=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++bx}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&R(i,Sx);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!W(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=ht(this.categories))},t}();function Ix(t){return"interval"===t.type||"log"===t.type}function Tx(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=Xr(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Dx(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Ax(t,0,e),Ax(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[Rr(Math.ceil(t[0]/a)*a,s),Rr(Math.floor(t[1]/a)*a,s)],t),r}function Cx(t){var e=Math.pow(10,Yr(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Rr(n*e)}function Dx(t){return Er(t)+2}function Ax(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function kx(t,e){return t>=e[0]&&t<=e[1]}function Lx(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Px(t,e){return t*(e[1]-e[0])+e[0]}var Ox=function(t){function n(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Mx({})),F(i)&&(i=new Mx({categories:R(i,(function(t){return X(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return e(n,t),n.prototype.parse=function(t){return null==t?NaN:W(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},n.prototype.contain=function(t){return kx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},n.prototype.normalize=function(t){return Lx(t=this._getTickNumber(this.parse(t)),this._extent)},n.prototype.scale=function(t){return t=Math.round(Px(t,this._extent)),this.getRawOrdinalNumber(t)},n.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},n.prototype.getMinorTicks=function(t){},n.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},n.prototype.getOrdinalMeta=function(){return this._ordinalMeta},n.prototype.calcNiceTicks=function(){},n.prototype.calcNiceExtent=function(){},n.type="ordinal",n}(_x);_x.registerClass(Ox);const Rx=Ox;var Nx=Rr,Ex=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return e(n,t),n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return kx(t,this._extent)},n.prototype.normalize=function(t){return Lx(t,this._extent)},n.prototype.scale=function(t){return Px(t,this._extent)},n.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},n.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},n.prototype.getInterval=function(){return this._interval},n.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Dx(t)},n.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Nx(s+e,r)}):o.push({value:n[1]})),o},n.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return O(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=Or(t.get("barWidth"),i),d=Or(t.get("barMaxWidth"),i),f=Or(t.get("barMinWidth")||(Kx(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:d,barMinWidth:f,barGap:g,barCategoryGap:y,axisKey:Hx(r),stackId:Wx(t)})})),Ux(n)}function Ux(t){var e={};O(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return O(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=z(i).length;o=Math.max(35-4*a,15)+"%"}var s=Or(o,r),l=Or(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),O(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;O(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;O(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function Zx(t,e){var n=Yx(t,e),i=Xx(n);O(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Wx(t),o=i[Hx(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function jx(t){return{seriesType:t,plan:Pg(),reset:function(t){if(qx(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=yx(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,r),d=Kx(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=d&&Fx(3*r),u=d&&s&&Fx(3*r),m=d&&Fx(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=p,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(c){var L=n.dataToPoint([S,M]);if(h)I=n.dataToPoint([T,M])[0];C=I,D=L[1]+v,A=L[0]-I,k=y,Math.abs(A)0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(F(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return qc(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},n.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=Xc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&v<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[d])break}h=[]}}var x=E(R(u,(function(t){return E(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(d=0;dn&&(this._approxInterval=n);var o=Jx.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function t_(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function e_(t){return(t/=Vc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function n_(t,e){return(t/=e?zc:Ec)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function i_(t){return Xr(t,!0)}function r_(t,e,n){var i=new Date(t);switch(Zc(e)){case"year":case"month":i[ap(n)](0);case"day":i[sp(n)](1);case"hour":i[lp(n)](0);case"minute":i[up(n)](0);case"second":i[hp(n)](0),i[cp(n)](0)}return i.getTime()}_x.registerClass($x);const o_=$x;var a_=_x.prototype,s_=zx.prototype,l_=Rr,u_=Math.floor,h_=Math.ceil,c_=Math.pow,p_=Math.log,d_=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new zx,e._interval=0,e}return e(n,t),n.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return R(s_.getTicks.call(this,t),(function(t){var e=t.value,r=Rr(c_(this.base,e));return r=e===n[0]&&this._fixMin?g_(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?g_(r,i[1]):r}}),this)},n.prototype.setExtent=function(t,e){var n=p_(this.base);t=p_(Math.max(0,t))/n,e=p_(Math.max(0,e))/n,s_.setExtent.call(this,t,e)},n.prototype.getExtent=function(){var t=this.base,e=a_.getExtent.call(this);e[0]=c_(t,e[0]),e[1]=c_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=g_(e[0],n[0])),this._fixMax&&(e[1]=g_(e[1],n[1])),e},n.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p_(t[0])/p_(e),t[1]=p_(t[1])/p_(e),a_.unionExtent.call(this,t)},n.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},n.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i,r=(i=n,Math.pow(10,Yr(i)));for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[Rr(h_(e[0]/r)*r),Rr(u_(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},n.prototype.calcNiceExtent=function(t){s_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return kx(t=p_(t)/p_(this.base),this._extent)},n.prototype.normalize=function(t){return Lx(t=p_(t)/p_(this.base),this._extent)},n.prototype.scale=function(t){return t=Px(t,this._extent),c_(this.base,t)},n.type="log",n}(_x),f_=d_.prototype;function g_(t,e){return l_(t,Er(e))}f_.getMinorTicks=s_.getMinorTicks,f_.getLabel=s_.getLabel,_x.registerClass(d_);const y_=d_;var v_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[x_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[m_[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),m_={min:"_determinedMin",max:"_determinedMax"},x_={min:"_dataMin",max:"_dataMax"};function __(t,e,n){var i=t.rawExtentInfo;return i||(i=new v_(t,e,n),t.rawExtentInfo=i,i)}function b_(t,e){return null==e?null:K(e)?NaN:t.parse(e)}function w_(t,e){var n=t.type,i=__(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Yx("bar",a),l=!1;if(O(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Xx(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[Hx(e)];return null!=i&&null!=n?i[Wx(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;O(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;O(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function S_(t,e){var n=e,i=w_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof y_&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function M_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Rx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new o_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(_x.getClass(e)||zx)}}function I_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):W(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):G(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(T_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function T_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function C_(t){var e=t.get("interval");return null==e?"auto":e}function D_(t){return"category"===t.type&&0===C_(t.getLabelModel())}function A_(t,e){var n={};return O(t.mapDimensionsAll(e),(function(e){n[vx(t,e)]=!0})),z(n)}var k_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();function L_(t,e){return Math.abs(t-e)<1e-8}function P_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function H_(t,e){return R(E((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),O(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=W_(r,i,n);break;case"Polygon":case"MultiLineString":G_(r,i,n);break;case"MultiPolygon":O(r,(function(t,e){return G_(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new z_(o[0],o.slice(1)));break;case"MultiPolygon":O(i.coordinates,(function(t){t[0]&&r.push(new z_(t[0],t.slice(1)))}));break;case"LineString":r.push(new V_([i.coordinates]));break;case"MultiLineString":r.push(new V_(i.coordinates))}var a=new B_(n[e||"name"],r,n.cp);return a.properties=n,a}))}var Y_=yo();function X_(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=Z_(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=I_(t);return{labels:R(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function U_(t,e){return"category"===t.type?function(t,e){var n,i,r=j_(t,"ticks"),o=C_(e),a=q_(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(G(o))n=J_(t,o,!0);else if("auto"===o){var s=Z_(t,t.getLabelModel());i=s.labelCategoryInterval,n=R(s.labels,(function(t){return t.tickValue}))}else n=$_(t,i=o,!0);return K_(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:R(t.scale.getTicks(),(function(t){return t.value}))}}function Z_(t,e){var n,i,r=j_(t,"labels"),o=C_(e),a=q_(r,o);return a||(G(o)?n=J_(t,o):(i="auto"===o?function(t){var e=Y_(t).autoInterval;return null!=e?e:Y_(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=$_(t,i)),K_(r,o,{labels:n,labelCategoryInterval:i}))}function j_(t,e){return Y_(t)[e]||(Y_(t)[e]=[])}function q_(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=D_(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function J_(t,e,n){var i=t.scale,r=I_(t),o=[];return O(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var Q_=[0,1];function tb(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}const eb=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return zr(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&tb(n=n.slice(),i.count()),Pr(t,Q_,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&tb(n=n.slice(),i.count());var r=Pr(t,n,Q_,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=R(U_(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;O(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]});c(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&c(o.coord,s[1])&&e.push({coord:s[1]});function c(t,e){return t=Rr(t),e=Rr(e),h?t>e:t0&&t<100||(t=5),R(this.scale.getMinorTicks(t),(function(t){return R(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return X_(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=I_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f,g,y=lr(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,m=d/c;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var x=Math.max(0,Math.floor(Math.min(v,m))),_=Y_(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}();var nb=2*Math.PI,ib=Ha.CMD,rb=["top","right","bottom","left"];function ob(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function ab(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%nb<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=ja(r),r=ja(p)}else i=ja(i),r=ja(r);i>r&&(r+=nb);var d=Math.atan2(s,a);if(d<0&&(d+=nb),d>=i&&d<=r||d+nb>=i&&d+nb<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,pb.fromArray(t[0]),db.fromArray(t[1]),fb.fromArray(t[2]),de.sub(gb,pb,db),de.sub(yb,fb,db);var n=gb.len(),i=yb.len();if(!(n<.001||i<.001)){gb.scale(1/n),yb.scale(1/i);var r=gb.dot(yb);if(Math.cos(e)1&&de.copy(xb,fb),xb.toArray(t[1])}}}}function bb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,pb.fromArray(t[0]),db.fromArray(t[1]),fb.fromArray(t[2]),de.sub(gb,db,pb),de.sub(yb,fb,db);var i=gb.len(),r=yb.len();if(!(i<.001||r<.001))if(gb.scale(1/i),yb.scale(1/r),gb.dot(e)=a)de.copy(xb,fb);else{xb.scaleAndAdd(yb,o/Math.tan(Math.PI/2-s));var l=fb.x!==db.x?(xb.x-db.x)/(fb.x-db.x):(xb.y-db.y)/(fb.y-db.y);if(isNaN(l))return;l<0?de.copy(xb,db):l>1&&de.copy(xb,fb)}xb.toArray(t[1])}}}function wb(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Sb(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Ct(i[0],i[1]),o=Ct(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=At([],i[1],i[0],a/r),l=At([],i[1],i[2],a/o),u=At([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&_(-h/a,0,a);var f,g,y=t[0],v=t[a-1];return m(),f<0&&b(-f,.8),g<0&&b(g,.8),m(),x(f,g,1),x(g,f,-1),m(),f<0&&w(-f),g<0&&w(g),u}function m(){f=y.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){_(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function _(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){_(-(o[l-1]*c),l,a)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?_(n,0,i+1):_(-n,a-i-1,a),(t-=n)<=0)return}}function Db(t,e,n,i){return Cb(t,"y","height",e,n,i)}function Ab(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Se(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(d.oldLayoutSelect),k(u,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),gh(n,s,e,a)}else if(n.attr(s),!sc(n).valueAnimation){var h=J(n.style.opacity,1);n.style.opacity=0,yh(n,{style:{opacity:h}},e,a)}if(d.oldLayout=s,n.states.select){var c=d.oldLayoutSelect={};Eb(c,s,zb),Eb(c,n.states.select,zb)}if(n.states.emphasis){var p=d.oldLayoutEmphasis={};Eb(p,s,zb),Eb(p,n.states.emphasis,zb)}uc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(d=Nb(i)).oldLayout;var d,f={points:i.shape.points};r?(i.attr({shape:r}),gh(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,yh(i,{style:{strokePercent:1}},e)),d.oldLayout=f}},t}();const Bb=Vb;var Fb=yo();var Gb=Math.sin,Wb=Math.cos,Hb=Math.PI,Yb=2*Math.PI,Xb=180/Hb,Ub=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=qn(h-Yb)||(u?l>=Yb:-l>=Yb),p=l>0?l%Yb:l%Yb+Yb,d=!1;d=!!c||!qn(h)&&p>=Hb==!!u;var f=t+n*Wb(o),g=e+i*Gb(o);this._start&&this._add("M",f,g);var y=Math.round(r*Xb);if(c){var v=1/this._p,m=(u?1:-1)*(Yb-v);this._add("A",n,i,y,1,+u,t+n*Wb(o+m),e+i*Gb(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*Wb(a),_=e+i*Gb(a);this._add("A",n,i,y,+d,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?Ut(a):a||"")+(i?""+n+R(i,(function(e){return t(e)})).join(n)+n:"")+("")}(t)}function rw(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function ow(t,e,n,i){return nw("svg","root",{width:t,height:e,xmlns:Qb,"xmlns:xlink":tw,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var aw={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},sw="transform-origin";function lw(t,e,n){var i=D({},t.shape);D(i,e),t.buildPath(n,i);var r=new Zb;return r.reset(oi(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function uw(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[sw]=n+"px "+i+"px")}var hw={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function cw(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function pw(t){return W(t)?aw[t]?"cubic-bezier("+aw[t]+")":bn(t)?t:"":""}function dw(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof Qu){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(O(o,(function(t){var e=rw(n.zrId);e.animation=!0,dw(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=z(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=cw(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return cw(h,n)+" "+r[0]+" both"}for(var y in l){(s=g(l[y]))&&a.push(s)}if(a.length){var v=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}var fw=Math.round;function gw(t){return t&&W(t.src)}function yw(t){return t&&G(t.toDataURL)}function vw(t,e,n,i){Jb((function(r,o){var a="fill"===r||"stroke"===r;a&&ii(o)?Cw(e,t,r,i):a&&ti(o)?Dw(n,t,r,i):t[r]=o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,d=Zn(i.shadowColor),f=d.opacity,g=d.color,y=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=nw("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[nw("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=ri(a)}}(n,t,i)}function mw(t){return qn(t[0]-1)&&qn(t[1])&&qn(t[2])&&qn(t[3]-1)}function xw(t,e,n){if(e&&(!function(t){return qn(t[4])&&qn(t[5])}(e)||!mw(e))){var i=n?10:1e4;t.transform=mw(e)?"translate("+fw(e[4]*i)/i+" "+fw(e[5]*i)/i+")":function(t){return"matrix("+Kn(t[0])+","+Kn(t[1])+","+Kn(t[2])+","+Kn(t[3])+","+$n(t[4])+","+$n(t[5])+")"}(e)}}function _w(t,e,n){for(var i=t.points,r=[],o=0;ol?Hw(t,null==n[c+1]?null:n[c+1].elm,n,s,c):Yw(t,e,a,l))}(n,i,r):Bw(r)?(Bw(t.text)&&Ew(n,""),Hw(n,null,r,0,r.length-1)):Bw(i)?Yw(n,i,0,i.length-1):Bw(t.text)&&Ew(n,""):t.text!==e.text&&(Bw(i)&&Yw(n,i,0,i.length-1),Ew(n,e.text)))}var Zw=0,jw=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=D({},n),this.root=t,this._id="zr"+Zw++,this._oldVNode=ow(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=ew("svg");Xw(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Gw(t,e))Uw(t,e);else{var n=t.elm,i=Rw(n);Ww(e),null!==i&&(Lw(i,e.elm,Nw(n)),Yw(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Tw(t,rw(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=rw(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=nw("rect","bg",{width:t,height:e,x:"0",y:"0",id:"0"}),ii(n))Cw({fill:n},r.attrs,"fill",i);else if(ti(n))Dw({style:{fill:n},dirty:gt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=Zn(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=nw("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=R(z(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(nw("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=R(z(t),(function(e){return e+r+R(z(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=R(z(e),(function(t){return"@keyframes "+t+r+R(z(e[t]),(function(n){return n+r+R(z(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=nw("style","stl",{},[],u);o.push(h)}}return ow(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},iw(this.renderToVNode({animation:J(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:J(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=d-1;g>f;g--)i=a[--s-1];for(var y=f+1;y=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=d.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?eS:0),this._needsManuallyCompositing),u.__builtin__||M("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,O(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?T(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},n.type="series.line",n.dependencies=["grid","polar"],n.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},n}(Ag);function oS(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=mf(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var sS=function(t){function n(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return e(n,t),n.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=$y(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=lS,this._symbolType=t,this.add(o)},n.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},n.prototype.getSymbolType=function(){return this._symbolType},n.prototype.getSymbolPath=function(){return this.childAt(0)},n.prototype.highlight=function(){xl(this.childAt(0))},n.prototype.downplay=function(){_l(this.childAt(0))},n.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},n.prototype.updateData=function(t,e,i,r){this.silent=!1;var o=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,s=n.getSymbolSize(t,e),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(o,t,e,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):gh(p,c,a,e),bh(p)}if(this._updateCommon(t,e,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,yh(p,c,a,e)}}u&&this.childAt(0).stopAnimation("leave")},n.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=Qh(y),p=v.getShallow("scale"),d=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=Qy(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),d&&f.attr("cursor",d);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof vs){var w=f.style;f.useStyle(D({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(D({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;Jh(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):oS(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),Ol(this,l,u,h)},n.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},n.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=Ws(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&mh(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();mh(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},n.getSymbolSize=function(t,e){return Jy(t.getItemVisual(e,"symbolSize"))},n}(Tr);function lS(t,e){this.parent.drift(t,e)}const uS=sS;function hS(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function cS(t){return null==t||X(t)||(t={isIgnore:t}),t||{}}function pS(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Qh(e),cursorStyle:e.get("cursor")}}var dS=function(){function t(t){this.group=new Tr,this._SymbolCtor=t||uS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=cS(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=pS(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(hS(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(hS(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),(p=new o(t,h,s,l)).setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):gh(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=pS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=cS(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=R(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,d=e.getCalculationInfo("stackResultDimension");return yx(e,c[0])&&(p=!0,c[0]=d),yx(e,c[1])&&(p=!0,c[1]=d),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function yS(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var vS=Math.min,mS=Math.max;function xS(t,e){return isNaN(t)||isNaN(e)}function _S(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y=r||g<0)break;if(xS(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var x=v-u,_=m-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y=i||xS(w,S))d=v,f=m;else{T=w-u,C=S-h;var k=v-u,L=w-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;d=v-E*(R=Math.abs(k))*a,f=m,D=v+E*(N=Math.abs(L))*a,A=m}else if("y"===s){var z=C>0?1:-1;d=v,f=m-z*(R=Math.abs(P))*a,D=v,A=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),d=v-T*a*(1-(I=(N=Math.sqrt(L*L+O*O))/(N+R))),f=m-C*a*(1-I),A=m+C*a*I,D=vS(D=v+T*a*I,mS(w,v)),A=vS(A,mS(S,m)),D=mS(D,vS(w,v)),f=m-(C=(A=mS(A,vS(S,m)))-m)*R/N,d=vS(d=v-(T=D-v)*R/N,mS(u,v)),f=vS(f,mS(h,m)),D=v+(T=v-(d=mS(d,vS(u,v))))*N/R,A=m+(C=m-(f=mS(f,vS(h,m))))*N/R}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=A}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var bS=function(){this.smooth=0,this.smoothConstraint=!0},wS=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new bS},n.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&xS(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(h-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++];var v=a?un(n,u,c,d,t,s):un(i,h,p,f,t,s);if(v>0)for(var m=0;m=0){y=a?sn(i,h,p,f,x):sn(n,u,c,d,x);return a?[t,y]:[y,t]}}n=d,i=f}}},n}(hs),SS=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n}(bS),MS=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return e(n,t),n.prototype.getDefaultShape=function(){return new SS},n.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&xS(n[2*o-2],n[2*o-1]);o--);for(;r=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=Vn(e[r]),s=Vn(e[o]),l=i-r,u=Yn([Cn(Pn(a[0],s[0],l)),Cn(Pn(a[1],s[1],l)),Cn(Pn(a[2],s[2],l)),Dn(Pn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function NS(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return O(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function ES(t,e){return[t[2*e],t[2*e+1]]}function zS(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=R(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=RS(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=p[0].coord-10,g=p[d-1].coord+10,y=g-f;if(y<.001)return"transparent";O(p,(function(t){t.offset=(t.coord-f)/y})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var v=new eh(0,0,0,0,p,!0);return v[r]=f,v[r+"2"]=g,v}}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(d&&c.type===r.type&&T===this._step){v&&!f?f=this._newPolygon(u,_):f&&!v&&(g.remove(f),f=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,xp(C));var D=g.getClipPath();if(D)yh(D,{shape:VS(this,r,!1,t).shape},t);else g.setClipPath(VS(this,r,!0,t));b&&p.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),AS(this._stackedOnPoints,_)&&AS(this._points,u)||(y?this._doUpdateAnimation(a,_,r,n,T,m,w):(T&&(u=OS(u,r,T,w),_&&(_=OS(_,r,T,w))),d.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:_})))}else b&&p.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),y&&this._initSymbolLabelAnimation(a,r,I),T&&(u=OS(u,r,T,w),_&&(_=OS(_,r,T,w))),d=this._newPolyline(u),v?f=this._newPolygon(u,_):f&&(g.remove(f),f=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,xp(C)),g.setClipPath(VS(this,r,!0,t));var k=t.getModel("emphasis"),L=k.get("focus"),P=k.get("blurScope"),N=k.get("disabled");(d.useStyle(A(s.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"})),zl(d,t,"lineStyle"),d.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1);Ws(d).seriesIndex=t.seriesIndex,Ol(d,L,P,N);var E=PS(t.get("smooth")),z=t.get("smoothMonotone");if(d.setShape({smooth:E,smoothMonotone:z,connectNulls:w}),f){var V=a.getCalculationInfo("stackedOnSeries"),B=0;f.useStyle(A(l.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),V&&(B=PS(V.get("smooth"))),f.setShape({smooth:E,stackedOnSmooth:B,smoothMonotone:z,connectNulls:w}),zl(f,t,"areaStyle"),Ws(f).seriesIndex=t.seriesIndex,Ol(f,L,P,N)}var F=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=F)})),this._polyline.onHoverStateChange=F,this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=u,this._step=T,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),f&&this.packEventData(t,f))},n.prototype.packEventData=function(t,e){Ws(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},n.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=go(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new uS(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Gg.prototype.highlight.call(this,t,e,n,i)},n.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=go(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Gg.prototype.downplay.call(this,t,e,n,i)},n.prototype._changePolyState=function(t){var e=this._polygon;fl(this._polyline,t),e&&fl(e,t)},n.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new wS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},n.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new MS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},n.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");G(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=G(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-y[1]/180*Math.PI):(p=g.r0,d=g.r,f=y[0])}else{var v=n;i?(p=v.x,d=v.x+v.width,f=t.x):(p=v.y+v.height,d=v.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var x=G(u)?u(o):l*m+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},n.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(zS(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Gs({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(Jh(o,Qh(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?aS(r,n):oS(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},n.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=ES(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(m,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(I=Io(n,p,C,D,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=ES(u,A);r&&(I=h.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=sc(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},n.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),l=[],u=[],h=[],c=[],p=[],d=[],f=[],g=gS(r,e,a),y=t.getLayout("points")||[],v=e.getLayout("points")||[],m=0;m3e3||l&&LS(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),gh(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),gh(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var d=void 0;W(r)?d=WS[r]:G(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,HS))}}}}}var XS=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(t,e){return mx(null,this,{useEncodeDefaulter:!0})},n.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)O(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=r[n],s="x1"===e[n]||"y1"===e[n];if(s&&(a+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[s?1:0]));for(var l=void 0,u=void 0,h=1,c=0;ca){u=(p+l)/2;break}1===c&&(h=d-i[0].tickValue)}null==u&&(l?l&&(u=i[i.length-1].coord):u=i[0].coord),o[n]=t.toGlobalCoord(u)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},n.type="series.__base_bar__",n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},n}(Ag);Ag.registerClass(XS);const US=XS;const ZS=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(){return mx(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},n.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},n.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},n.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},n.type="series.bar",n.dependencies=["grid","polar"],n.defaultOption=Cc(US.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),n}(US);var jS=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0};const qS=function(t){function n(e){var n=t.call(this,e)||this;return n.type="sausage",n}return e(n,t),n.prototype.getDefaultShape=function(){return new jS},n.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},n.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},n.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},n.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},n.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},n.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},n.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},n.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){_h(e,t,Ws(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},n.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},n.type="bar",n}(Gg),nM={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=QS(e.x,t.x),s=tM(e.x+e.width,r),l=QS(e.y,t.y),u=tM(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=tM(e.r,t.r),o=QS(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},iM={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Is({shape:D({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?qS:Au,h=new u({shape:i,z2:1});h.name="item";var c,p,d=hM(r);if(h.calculateTextPosition=(c=d,p=({isRoundCap:u===qS}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return dr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,d=(u+h)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=p?Math.abs(u-h)/2:0,m=Math.cos,x=Math.sin,_=s+u*m(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*m(y),b=l+(h-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*m(y),b=l+(h+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+d*m(f)+KS(f,o+v,!1),b=l+d*x(f)+$S(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":_=s+d*m(f)+KS(f,-o+v,!1),b=l+d*x(f)+$S(f,-o+v,!1),w="left",S="middle";break;case"middle":_=s+d*m(y),b=l+d*x(y),w="center",S="middle";break;case"endArc":_=s+(u+o)*m(y),b=l+(u+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*m(y),b=l+(u-o)*x(y),w="center",S="top";break;case"endAngle":_=s+d*m(g)+KS(g,o+v,!0),b=l+d*x(g)+$S(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":_=s+d*m(g)+KS(g,-o+v,!0),b=l+d*x(g)+$S(g,-o+v,!0),w="right",S="middle";break;default:return dr(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?gh:yh)(h,{shape:g},o)}return h}};function rM(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?gh:yh)(n,{shape:l},e,r,null),(a?gh:yh)(n,{shape:u},e?t.baseAxis.model:null,r)}function oM(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function hM(t){return e=t?"Arc":"Angle",function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}};var e}function cM(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;D(u,JS(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=Qh(i);Jh(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:oS(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(Y(i))t.setTextConfig({rotation:i});else if(F(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,hM(a),i.get(["label","rotate"]))}lc(f,d,o.getRawValue(n),(function(t){return aS(e,t)}));var y=i.getModel(["emphasis"]);Ol(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),zl(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",O(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var pM=function(){},dM=function(t){function n(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return e(n,t),n.prototype.getDefaultShape=function(){return new pM},n.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);Ws(this).dataIndex=e>=0?e:null}),30,!1);function yM(t,e,n){if(DS(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}const vM=eM;var mM=2*Math.PI,xM=Math.PI/180;function _M(t,e){return Tp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function bM(t,e){var n=_M(t,e),i=t.get("center"),r=t.get("radius");F(r)||(r=[0,r]);var o,a,s=Or(n.width,e.getWidth()),l=Or(n.height,e.getHeight()),u=Math.min(s,l),h=Or(r[0],u/2),c=Or(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else F(i)||(i=[i,i]),o=Or(i[0],s)+n.x,a=Or(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function wM(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=_M(t,n),o=bM(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*xM,c=t.get("minAngle")*xM,p=0;e.each(i,(function(t){!isNaN(t)&&p++}));var d=e.getSum(i),f=Math.PI/(d||p)*2,g=t.get("clockwise"),y=t.get("roseType"),v=t.get("stillShowZeroSum"),m=e.getDataExtent(i);m[0]=0;var x=mM,_=0,b=h,w=g?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:u,r:y?NaN:l});else{(i="area"!==y?0===d&&v?f:t*f:mM/p)n?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function CM(t){return"center"===t.position}function DM(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*MM,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),m=y.get("distanceToLabelLine"),x=y.get("alignTo"),_=Or(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=Or(S,u);var M=w.get("length2");if(M=Or(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":k>0?"left":"right"}var B=Math.PI,F=0,G=y.get("rotate");if(Y(G))F=G*(B/180);else if("center"===v)F=0;else if("radial"===G||!0===G){F=k<0?-A+B:-A}else if("tangential"===G&&"outside"!==v&&"outer"!==v){var W=Math.atan2(k,L);W<0&&(W=2*B+W),L>0&&(W=B+W),F=W-B}if(o=!!F,p.x=I,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),P){p.setStyle({align:D});var H=p.states.select;H&&(H.x+=p.x,H.y+=p.y)}else{var X=p.getBoundingRect().clone();X.applyTransform(p.getComputedTransform());var U=(p.style.margin||0)+2.1;X.y-=U/2,X.height+=U,r.push({label:p,labelLine:f,position:v,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new de(k,L),linePoints:C,textAlign:D,labelDistance:m,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:X,unconstrainedWidth:X.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},n.type="pie",n}(Gg);function LM(t,e,n){e=F(e)&&{coordDimensions:e}||D({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=hx(i,e).dimensions,o=new ux(r,t);return o.initData(i,n),o}const PM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}();var OM=yo(),RM=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new PM(V(this.getData,this),V(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},n.prototype.getInitialData=function(){return LM(this,{coordDimensions:["value"],encodeDefaulter:B(Jp,this)})},n.prototype.getDataParams=function(e){var n=this.getData(),i=OM(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=function(t,e){var n=N(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=R(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=R(r,(function(t){return Math.floor(t)})),s=N(a,(function(t,e){return t+e}),0),l=R(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return R(a,(function(t){return t/i}))}(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},n.prototype._defaultLabelLine=function(t){ro(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},n.type="series.pie",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},n}(Ag);const NM=RM;const EM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){return mx(null,this,{useEncodeDefaulter:!0})},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},n.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},n.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},n.type="series.scatter",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},n}(Ag);var zM=function(){},VM=function(t){function n(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return e(n,t),n.prototype.getDefaultShape=function(){return new zM},n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();const FM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},n.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},n.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=GS("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},n.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},n.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},n.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new BM:new fS,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},n.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},n.prototype.dispose=function(){},n.type="scatter",n}(Gg);const GM=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.type="grid",n.dependencies=["xAxis","yAxis"],n.layoutMode="box",n.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},n}(Rp);var WM=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",_o).models[0]},n.type="cartesian2dAxis",n}(Rp);L(WM,k_);var HM={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},YM=T({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},HM),XM=T({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},HM);const UM={category:YM,value:XM,time:T({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},XM),log:A({logBase:10},XM)};var ZM={value:1,category:1,time:1,log:1};function jM(t,n,i,r){O(ZM,(function(o,a){var s=T(T({},UM[a],!0),r,!0),l=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n+"Axis."+a,e}return e(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=Dp(this),i=n?kp(t):{};T(t,e.getTheme().get(a+"Axis")),T(t,this.getDefaultOption()),t.type=qM(t),n&&Ap(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Mx.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=n+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(n+"Axis",qM)}function qM(t){return t.type||(t.data?"category":"value")}var KM=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return R(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),E(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}();var $M=["x","y"];function JM(t){return"interval"===t.type||"time"===t.type}var QM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=$M,e}return e(n,t),n.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(JM(t)&&JM(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=pe([],p)}}},n.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},n.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},n.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},n.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Se(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},n.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return kt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},n.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},n.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return kt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},n.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},n.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i;return new Se(n,i,r,o)},n}(KM);const tI=function(t){function n(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return e(n,t),n.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},n.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},n.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},n.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},n}(eb);function eI(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),$(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-y:y,o.z2=1,o}function nI(t){return"cartesian2d"===t.get("coordinateSystem")}function iI(t){var e={xAxisModel:null,yAxisModel:null};return O(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,_o).models[0];e[i]=o})),e}var rI=Math.log;function oI(t,e,n){var i=zx.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=w_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=rI(t.base);u=[rI(u[0])/p,rI(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;yu[0]&&isFinite(g)&&isFinite(u[0]);)f=Cx(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Cx(f));var v=f*a;(g=Rr((y=Math.ceil(u[1]/f)*f)-v))<0&&u[0]>=0?(g=0,y=Rr(v)):y>0&&u[1]<=0&&(y=0,g=-Rr(v))}var m=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*x),i.setInterval.call(t,f),(m||x)&&i.setNiceExtent.call(t,g+f,y-f)}var aI=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=$M,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=z(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Ix(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(S_(l,s),Ix(l)&&(e=a))}r.length&&(e||S_((e=r.pop()).scale,e.model),O(r,(function(t){oI(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};O(n.x,(function(t){lI(n,"y",t,r)})),O(n.y,(function(t){lI(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=Tp(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){O(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(O(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Rx?n.count():(i=n.getTicks()).length;var a,s,l,u,h,c,p,d=t.getLabelModel(),f=I_(t),g=1;r>40&&(g=Math.ceil(r/40));for(var y=0;y0&&i>0||n<0&&i<0)}(t)}const hI=aI;var cI=Math.PI,pI=function(){function t(t,e){this.group=new Tr,this.opt=e,this.axisModel=t,A(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Tr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!dI[t]},t.prototype.add=function(t){dI[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=Fr(e-t);return Gr(o)?(r=n>0?"top":"bottom",i="center"):Gr(o-cI)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),dI={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(kt(s,s,a),kt(l,l,a));var h=D({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new Hu({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Oh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);W(p)&&(p=[p,p]),(W(d)||Y(d))&&(d=[d,d]);var f=Qy(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];O([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=$y(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=vI(r.getTicksCoords(),e.transform,l,A(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,yI(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*cI/180),yI(s)?o=pI.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=Fr(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;Gr(a-cI/2)?(o=l?"bottom":"top",r="center"):Gr(a-1.5*cI)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*cI&&a>cI/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=$(t.nameTruncateMaxWidth,y.maxWidth,a),x=new Gs({x:d[0],y:d[1],rotation:o.rotation,silent:pI.isLabelSilent(e),style:tc(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Xh({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=pI.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,Ws(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function fI(t){t&&(t.ignore=!0)}function gI(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=ae([]);return he(r,r,-t.rotation),n.applyTransform(le([],r,t.getLocalTransform())),i.applyTransform(le([],r,e.getLocalTransform())),n.intersect(i)}}function yI(t){return"middle"===t||"center"===t}function vI(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function bI(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[SI(t)]}function wI(t){return!!t.get(["handle","show"])}function SI(t){return t.type+"||"+t.id}var MI={};const II=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=bI(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=wI(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=A({color:c.color},a));var d=T(I(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(W(l)){var f=d.name;d.name=l.replace("{value}",null!=f?f:"")}else G(l)&&(d.name=l(d.name,d));var g=new Mc(d,null,this.ecModel);return L(g,k_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},n.prototype.getIndicatorModels=function(){return this._indicatorModels},n.type="radar",n.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:T({lineStyle:{color:"#bbb"}},UI.axisLine),axisLabel:ZI(UI.axisLabel,!1),axisTick:ZI(UI.axisTick,!1),splitLine:ZI(UI.splitLine,!0),splitArea:ZI(UI.splitArea,!0),indicator:[]},n}(Rp);var qI=["axisLine","axisTickLabel","axisName"],KI=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},n.prototype._buildAxes=function(t){var e=t.coordinateSystem;O(R(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new mI(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){O(qI,t.add,t),this.group.add(t.getGroup())}),this)},n.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=F(h)?h:[h],d=F(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1;oT(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);oT(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},n.prototype._pinchHandler=function(t){iT(this._zr,"globalPan")||oT(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},n}(Et);function uT(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function hT(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var cT,pT={axisPointer:1,tooltip:1,brush:1};function dT(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!pT.hasOwnProperty(i.mainType)&&r&&r.model!==n}function fT(t){W(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var gT={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},yT=z(gT),vT={"alignment-baseline":"textBaseline","stop-color":"stopColor"},mT=z(vT),xT=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=fT(t);this._defsUsePending=[];var i=new Tr;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),IT(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=RT(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new Tr).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Is({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=cT[s];if(u&&ft(cT,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=_T[s];if(p&&ft(_T,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new ds({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});ST(e,n),IT(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(cT={g:function(t,e){var n=new Tr;return ST(e,n),IT(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Is;return ST(e,n),IT(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new hu;return ST(e,n),IT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Hu;return ST(e,n),IT(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new du;return ST(e,n),IT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=MT(i));var r=new Eu({shape:{points:n||[]},silent:!0});return ST(e,r),IT(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=MT(i));var r=new Bu({shape:{points:n||[]},silent:!0});return ST(e,r),IT(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new vs;return ST(e,n),IT(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Tr;return ST(e,a),IT(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Tr;return ST(e,a),IT(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=au(t.getAttribute("d")||"");return ST(e,n),IT(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),_T={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new eh(e,n,i,r);return bT(t,o),wT(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new nh(e,n,i);return bT(t,r),wT(t,r),r}};function bT(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function wT(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};OT(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function ST(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),A(e.__inheritedStyle,t.__inheritedStyle))}function MT(t){for(var e=AT(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=AT(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":ue(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":ce(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":he(r,r,-parseFloat(l[0])*LT);break;case"skewX":le(r,[1,0,Math.tan(parseFloat(l[0])*LT),1,0,0],r);break;case"skewY":le(r,[1,Math.tan(parseFloat(l[0])*LT),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),OT(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=ht(),n=ht(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Jh(e,Qh(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(eC(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function sC(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):Ws(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function lC(t,e,n,i,r){t.data||Xh({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function uC(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return Ol(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=Ws(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function hC(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),O(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},n.type="series.map",n.dependencies=["geo"],n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},n}(Ag);const fC=dC;function gC(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),O(e,(function(t,e){for(var n,i,r,o=(n=R(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},O(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h1?(d.width=p,d.height=p/x):(d.height=p,d.width=p*x),d.y=c[1]-d.height/2,d.x=c[0]-d.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,d=Tp(b,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}var TC=function(){function t(){this.dimensions=bC}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new MC(o+r,o,D({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=IC,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),O(r,(function(t,r){var o=R(t,(function(t){return t.get("nameMap")})),a=new MC(r,r,D({nameMap:C(o)},i(t[0])));a.zoomLimit=$.apply(null,R(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=IC,a.resize(t[0],e),O(t,(function(t){t.coordinateSystem=a,function(t,e){O(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=ht(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=VC(s),o=BC(o),s&&o;){r=VC(r),a=BC(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(GC(FC(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!VC(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!BC(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function NC(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function EC(t){return arguments.length?t:WC}function zC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function VC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function BC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function FC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function GC(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function WC(t,e){return t.parentNode===e.parentNode?1:2}var HC=function(){this.parentPoint=[],this.childPoints=[]},YC=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new HC},n.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=Or(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;pm.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=s.get(["emphasis","focus"]),k="relative"===D?ct(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():null;k&&(Ws(n).focus=k),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new ju({shape:KC(h,c,p,r,r)})),gh(g,{shape:KC(h,c,p,o,a)},t));else if("polyline"===u&&"orthogonal"===h&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(W(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function cD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function pD(t,e){return k(cD(t),e)>=0}function dD(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}const fD=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return e(n,t),n.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Mc(n,this,this.ecModel),r=uD.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},n.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return og("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=dD(i,this),n.collapsed=!i.isExpand,n},n.type="series.tree",n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},n}(Ag);function gD(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function yD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Tp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=EC((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=EC());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,d=p-u.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===i)f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),gD(l,(function(t){y=(t.getLayout().x+d)*f,v=(t.depth-1)*g;var e=zC(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(h.getLayout().x+p+d),f=r/(c.depth-1||1),gD(l,(function(t){v=(t.getLayout().x+d)*g,y="LR"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),gD(l,(function(t){y=(t.getLayout().x+d)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}(t,e)}))}function vD(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();D(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var mD=["treemapZoomToNode","treemapRender","treemapMove"];function xD(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=ud(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}function _D(t){var e=0;O(t.children,(function(t){_D(t);var n=t.value;F(n)&&(n=n[0]),e+=n}));var n=t.value;F(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),F(t.value)?t.value[0]=n:t.value=n}const bD=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.preventUsingHoverLayer=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};_D(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new Mc({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=io(e.get("color")),o=io(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],O(t,(function(t){var e=new Mc(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=R(i||[],(function(t){return new Mc(t,o,e)}),this),s=uD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return og("nameValue",{name:i.getName(t),value:r})},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=dD(i,this),n.treePathInfo=n.treeAncestors,n},n.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},D(this.layoutInfo,t)},n.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=ht(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},n.prototype.enableAriaDecal=function(){xD(this)},n.type="series.treemap",n.layoutMode="box",n.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},n}(Ag);var wD=function(){function t(t){this.group=new Tr,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),Cp(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=co(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,p,d,f,g,y=0,v=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,p=Or(s.left,h),d=Or(s.top,c),f=Or(s.right,h),g=Or(s.bottom,c),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=fp(u||0),{width:Math.max(f-p-u[1]-u[3],0),height:Math.max(g-d-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,T=M.width,C=M.text;_>x.width&&(_-=T-v,T=v,C=null);var D=new Eu({shape:{points:SD(y,0,T,m,S===b.length-1,0===S)},style:A(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Gs({style:tc(r,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:B(a,I)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=tc(o,{text:C}),D.ensureState("emphasis").style=w,Ol(D,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(D),MD(D,t,I),y+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function SD(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function MD(t,e,n){Ws(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&dD(n,e)}}const ID=wD;var TD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},n.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new Se(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];ue(s,s,[-(e-=a.x),-(n-=a.y)]),ce(s,s,[t.scale,t.scale]),ue(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},n.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&_p(a,s)}}}}}),this)},n.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new ID(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(pD(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},n.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},n.prototype.dispose=function(){this._clearController()},n.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},n.type="treemap",n}(Gg);const ND=RD;var ED=O,zD=X,VD=-1,BD=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=I(e);this.type=i,this.mappingMethod=n,this._normalizeData=qD[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(FD(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,O(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(ED(e,(function(t,e){n[t]=e})),!F(i)){var r=[];X(i)?ED(i,(function(t,e){var i=n[e];r[null!=i?i:VD]=t})):r[-1]=i,i=jD(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):FD(r,!0):(nt("linear"!==n||r.dataExtent),FD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return V(this._normalizeData,this)},t.listVisualTypes=function(){return z(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){X(t)?O(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=F(e)?[]:X(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&ED(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(F(t))t=t.slice();else{if(!zD(t))return[];var e=[];ED(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new $D(c);return JD(p).drColorMappingBy=h,p}(0,r,o,0,u,d);O(d,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=D({},e);if(r){var s=r.type,l="color"===s&&JD(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);tA(t,o,n,i)}}))}else s=eA(u),h.fill=s}}function eA(t){var e=nA(t,"color");if(e){var n=nA(t,"colorAlpha"),i=nA(t,"colorSaturation");return i&&(e=Wn(e,null,null,i)),n&&(e=Hn(e,n)),e}}function nA(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function iA(t,e){var n=t.get(e);return F(n)&&n.length?{name:e,range:n}:null}var rA=Math.max,oA=Math.min,aA=$,sA=O,lA=["itemStyle","borderWidth"],uA=["itemStyle","gapWidth"],hA=["upperLabel","show"],cA=["upperLabel","height"];const pA={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=Tp(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=Or(aA(s.width,l[0]),r),h=Or(aA(s.height,l[1]),o),c=i&&i.type,p=hD(i,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=cD(f);if("treemapMove"!==c){var y="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var h=0,c=o.children,p=0,d=c.length;pBr&&(u=Br),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?rA(u*i/l,l/(u*r)):1/0}function gA(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},n}(Tr);const tk=QA;function ek(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Qh(e)}}function nk(t){return isNaN(t[0])||isNaN(t[1])}function ik(t){return t&&!nk(t[0])&&!nk(t[1])}const rk=function(){function t(t){this.group=new Tr,this._LineCtor=t||tk}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=ek(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=ek(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function pk(t,e){var n=[],i=vn,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[xt(l[0]),xt(l[1])],l[2]&&l.__original.push(xt(l[2])));var c=l.__original;if(null!=l[2]){if(mt(r[0],c[0]),mt(r[1],c[2]),mt(r[2],c[1]),u&&"none"!==u){var p=OA(t.node1),d=ck(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=OA(t.node2),d=ck(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]}mt(l[0],r[0]),mt(l[1],r[2]),mt(l[2],r[1])}else{if(mt(o[0],c[0]),mt(o[1],c[1]),wt(a,o[1],o[0]),It(a,a),u&&"none"!==u){p=OA(t.node1);bt(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=OA(t.node2);bt(o[1],o[1],a,-p*e)}mt(l[0],o[0]),mt(l[1],o[1])}}))}function dk(t){return"view"===t.type}const fk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){var n=new fS,i=new rk,r=this.group;this._controller=new lT(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},n.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(dk(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):gh(s,l,t)}pk(t.getGraph(),PA(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),EA(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),kA(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(Ws(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Ws(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){VA(t,f,g,y)})),this._firstRender=!1},n.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},n.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},n.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!dT(e,n,t)})),dk(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){uT(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){hT(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),pk(t.getGraph(),PA(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},n.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=PA(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},n.prototype.updateLayout=function(t){pk(t.getGraph(),PA(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},n.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},n.type="graph",n}(Gg);function gk(t){return"_EC_"+t}var yk=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[gk(t)]){var i=new vk(t,e);return i.hostGraph=this,this.nodes.push(i),n[gk(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[gk(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(Y(t)&&(t=this.nodes[t]),Y(e)&&(e=this.nodes[e]),t instanceof vk||(t=i[gk(t)]),e instanceof vk||(e=i[gk(e)]),t&&e){var o=t.id+"-"+e.id,a=new mk(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof vk&&(t=t.id),e instanceof vk&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof vk||(e=this._nodesMap[gk(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}L(vk,xk("hostGraph","data")),L(mk,xk("hostGraph","edgeData"));const _k=yk;function bk(t,e,n,i,r){for(var o=new _k(i),a=0;a "+p)),u++)}var d,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)d=mx(t,n);else{var g=bd.get(f),y=g&&g.dimensions||[];k(y,"value")<0&&y.concat(["value"]);var v=hx(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(d=new ux(v,n)).initData(t)}var m=new ux(["value"],n);return m.initData(l,s),r&&r(d,m),QC({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}const wk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new PM(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),ro(e,"edgeLabel",["show"])},n.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){SA(n=this)&&(n.__curvenessList=[],n.__edgeMap={},MA(n));var a=bk(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Mc.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return O(a.edges,(function(t){!function(t,e,n,i){if(SA(n)){var r=IA(t,e,n),o=n.__edgeMap,a=o[TA(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.getCategoriesData=function(){return this._categoriesData},n.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),og("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return vg({series:this,dataIndex:t,multipleSeries:e})},n.prototype._updateCategoriesData=function(){var t=R(this.option.categories||[],(function(t){return null!=t.value?t:D({value:0},t)})),e=new ux(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},n.type="series.graph",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(Ag);var Sk={type:"graphRoam",event:"graphRoam",update:"none"};var Mk=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0};const Ik=function(t){function n(e){var n=t.call(this,e)||this;return n.type="pointer",n}return e(n,t),n.prototype.getDefaultShape=function(){return new Mk},n.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},n}(hs);function Tk(t,e){var n=null==t?"":t+"";return e&&(W(e)?n=e.replace("{value}",n):G(e)&&(n=e(t))),n}var Ck=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:Or(n[0],e.getWidth()),cy:Or(n[1],e.getHeight()),r:Or(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},n.prototype.dispose=function(){},n.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?qS:Au,c=u.get("show"),p=u.getModel("lineStyle"),d=p.get("width"),f=[s,l];Wa(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,v=[],m=0;c&&m=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:Y(z)&&(V=z*Math.PI/180),0===V?c.add(new Gs({style:tc(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new Gs({style:tc(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(m.get("show")&&k!==_){P=(P=m.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new Hu({shape:{x1:u*(f-P)+p,y1:h*(f-P)+d,x2:u*(f-S-P)+p,y2:h*(f-S-P)+d},silent:!0,style:D});"auto"===D.stroke&&F.setStyle({stroke:i((k+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},n.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=Or(o.get("width"),r.r),s=Or(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=Or(u[0],r.r),c=Or(u[1],r.r),p=o.get("keepAspect");return(i=l?$y(l,h-a/2,c-s,a,s,null,p):new Ik({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?qS:Au,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=x-y.get(v,t)%x),c}(g||d)&&(y.diff(h).add((function(e){var n=y.get(v,e);if(d){var i=w(e,o);yh(i,{rotation:-((isNaN(+n)?b[0]:Pr(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");yh(r,{shape:{endAngle:Pr(n,_,b,a)}},t),u.add(r),Hs(t.seriesIndex,y.dataType,e,r),p[e]=r}})).update((function(e,n){var i=y.get(v,e);if(d){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,gh(s,{rotation:-((isNaN(+i)?b[0]:Pr(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],m=S(e,l?l.shape.endAngle:o),x=f.get("clip");gh(m,{shape:{endAngle:Pr(i,_,b,x)}},t),u.add(m),Hs(t.seriesIndex,y.dataType,e,m),p[e]=m}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof vs){var h=s.style;s.useStyle(D({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(Pr(y.get(v,t),_,[0,1],!0))),s.z2EmphasisLift=0,zl(s,e),Ol(s,r,o,a)}if(g){var c=p[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,zl(c,e),Ol(c,r,o,a)}})),this._progressEls=p)},n.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=$y(r,e.cx-i/2+Or(o[0],e.r),e.cy-i/2+Or(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},n.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Tr,c=[],p=[],d=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new Gs({silent:!0}),p[t]=new Gs({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Tr,y=i(Pr(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+Or(m[0],r.r),_=r.cy+Or(m[1],r.r);(D=c[e]).attr({z2:f?0:2,style:tc(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(D)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+Or(w[0],r.r),M=r.cy+Or(w[1],r.r),I=Or(b.get("width"),r.r),T=Or(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,D=p[e],A=b.get("formatter");D.attr({z2:f?0:2,style:tc(b,{x:S,y:M,text:Tk(o,A),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),lc(D,{normal:b},o,(function(t){return Tk(t,A)})),d&&uc(D,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return Tk(a?a.interpolatedValue:o,A)}}),g.add(D)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},n.type="gauge",n}(Gg);const Dk=Ck;const Ak=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="itemStyle",e}return e(n,t),n.prototype.getInitialData=function(t,e){return LM(this,["value"])},n.type="series.gauge",n.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},n}(Ag);var kk=["itemStyle","opacity"],Lk=function(t){function n(e,n){var i=t.call(this)||this,r=i,o=new Bu,a=new Gs;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return e(n,t),n.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(kk);l=null==l?1:l,n||bh(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,yh(i,{style:{opacity:l}},r,e)):gh(i,{style:{opacity:l},shape:{points:a.points}},r,e),zl(i,o),this._updateLabel(t,e),Ol(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},n.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;Jh(r,Qh(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new de(h[0][0],h[0][1]):null},gh(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Mb(n,Ib(a),{stroke:u})},n}(Eu);const Pk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.ignoreLabelLineUpdate=!0,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new Lk(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){_h(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.prototype.dispose=function(){},n.type="funnel",n}(Gg);const Ok=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new PM(V(this.getData,this),V(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.getInitialData=function(t,e){return LM(this,{coordDimensions:["value"],encodeDefaulter:B(Jp,this)})},n.prototype._defaultLabelLine=function(t){ro(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},n.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},n.type="series.funnel",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(Ag);function Rk(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return Tp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Zk(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function Zk(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}const jk=Xk;const qk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},n.prototype.mergeOption=function(t){var e=this.option;t&&T(e,t,!0),this._initDimensions()},n.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},n.prototype.setAxisExpand=function(t){O(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},n.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];O(E(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},n.type="parallel",n.dependencies=["parallelAxis"],n.layoutMode="box",n.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},n}(Rp);const Kk=function(t){function n(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return e(n,t),n.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},n}(eb);function $k(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=Qk(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=Qk(s,[0,a]),r=o=Qk(s,[r,o]),i=0}e[0]=Qk(e[0],n),e[1]=Qk(e[1],n);var l=Jk(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=Qk(e[i],c),u=Jk(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function Jk(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function Qk(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var tL=O,eL=Math.min,nL=Math.max,iL=Math.floor,rL=Math.ceil,oL=Rr,aL=Math.PI;function sL(t,e){return eL(nL(t,e[0]),e[1])}function lL(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function uL(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();tL(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),S_(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Tp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=sL(e.get("axisExpandWidth"),l),c=sL(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,d=e.get("axisExpandWindow");d?(t=sL(d[1]-d[0],l),d[1]=d[0]+t):(t=sL(h*(c-1),l),(d=[h*(e.get("axisExpandCenter")||iL(u/2))-t/2])[1]=d[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[iL(oL(d[0]/h,1))+1,rL(oL(d[1]/h,1))-1],y=f/h*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:d,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),tL(n,(function(e,n){var o=(i.axisExpandable?uL:lL)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:aL/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];he(h,h,u),ue(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];O(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?$k(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[nL(0,o[1]*s/p-p/2)])[1]=eL(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();const cL={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(i,r){var o=new hL(i,t,e);o.name="parallel_"+r,o.resize(i,e),i.coordinateSystem=o,o.model=i,n.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",_o).models[0];t.coordinateSystem=e.coordinateSystem}})),n}};var pL=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.activeIntervals=[],e}return e(n,t),n.prototype.getAreaSelectStyle=function(){return No([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},n.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=I(t);if(e)for(var n=e.length-1;n>=0;n--)Nr(e[n])},n.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&PL(t);var l=I(s);l.brushType=qL(l.brushType,a),l.panelId=a===fL?null:a.panelId,o=t._creatingCover=ML(t,l),t._covers.push(o)}if(o){var u=JL[qL(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(XL(t,o,t._track)),i&&(IL(t,o),u.updateCommon(t,o)),TL(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&kL(t,e,n)&&PL(t)&&(r={isEnd:i,removeOnClick:!0});return r}function qL(t,e){return"auto"===t?e.defaultBrushType:t}var KL={mousedown:function(t){if(this._dragging)$L(this,t);else if(!t.target||!t.target.draggable){UL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=kL(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=kL(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new Mc(r[a],this,e));if(i&&n)return bk(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))})).data},n.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return og("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return og("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},n.prototype.optionUpdated=function(){},n.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},n.type="series.sankey",n.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},n}(Ag);const gP=fP;function yP(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Tp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){O(t,(function(t){var e=TP(t.outEdges,IP),n=TP(t.inEdges,IP),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mc-1?d:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)xP(s,l*=.99,a),mP(s,r,n,i,a),CP(s,l,a),mP(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";O(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),O(t,(function(t){var e=0,n=0;O(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),O(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==E(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function vP(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function mP(t,e,n,i,r){var o="vertical"===r?"x":"y";O(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",p=0;p0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=h-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function xP(t,e,n){O(t.slice().reverse(),(function(t){O(t,(function(t){if(t.outEdges.length){var i=TP(t.outEdges,_P,n)/TP(t.outEdges,IP);if(isNaN(i)){var r=t.outEdges.length;i=r?TP(t.outEdges,bP,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-MP(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-MP(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function _P(t,e){return MP(t.node2,e)*t.getValue()}function bP(t,e){return MP(t.node2,e)}function wP(t,e){return MP(t.node1,e)*t.getValue()}function SP(t,e){return MP(t.node1,e)}function MP(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function IP(t){return t.getValue()}function TP(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),O(n,(function(e){var n=new $D({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&O(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var AP=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],d=p[u].get("type"),f=p[1-u].get("type"),g=t.data;if(g&&i){var y=[];O(g,(function(t,e){var n;F(t)?(n=t.slice(),t.unshift(e)):F(t.value)?((n=D({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:h,type:Gm(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Gm(f),dimsDef:v.slice()}];return LM(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:B($p,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),kP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return e(n,t),n.type="series.boxplot",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},n}(Ag);L(kP,AP,!0);const LP=kP;var PP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=NP(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(bh(n),EP(s,n,i,t)):n=NP(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},n.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},n.type="boxplot",n}(Gg),OP=function(){},RP=function(t){function n(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return e(n,t),n.prototype.getDefaultShape=function(){return new OP},n.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var WP=["color","borderColor"],HP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},n.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},n.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},n.prototype.eachRendered=function(t){Zh(this._progressiveEls||this.group,t)},n.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},n.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&ZP(s,a))return;var l=UP(a,n,!0);yh(l,{shape:{points:a.ends}},t,n),jP(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&ZP(s,h)?i.remove(u):(u?(gh(u,{shape:{points:h.ends}},t,a),bh(u)):u=UP(h),jP(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},n.prototype._renderLarge=function(t){this._clear(),JP(t,this.group);var e=t.get("clip",!0)?CS(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},n.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=UP(i.getItemLayout(n));jP(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},n.prototype._incrementalRenderLarge=function(t,e){JP(e,this.group,this._progressiveEls,!0)},n.prototype.remove=function(t){this._clear()},n.prototype._clear=function(){this.group.removeAll(),this._data=null},n.type="candlestick",n}(Gg),YP=function(){},XP=function(t){function n(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return e(n,t),n.prototype.getDefaultShape=function(){return new YP},n.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},n}(hs);function UP(t,e,n){var i=t.ends;return new XP({shape:{points:n?qP(i,t):i},z2:100})}function ZP(t,e){for(var n=!0,i=0;i0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(WP);e.useStyle(o),e.style.fill=null,e.style.stroke=r}const tO=HP;var eO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return e(n,t),n.prototype.getShadowDim=function(){return"open"},n.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},n.type="series.candlestick",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},n}(Ag);L(eO,AP,!0);const nO=eO;function iO(t){t&&F(t.series)&&O(t.series,(function(t){X(t)&&"k"===t.type&&(t.type="candlestick")}))}var rO=["itemStyle","borderColor"],oO=["itemStyle","borderColor0"],aO=["itemStyle","borderColorDoji"],sO=["itemStyle","color"],lO=["itemStyle","color0"];const uO={seriesType:"candlestick",plan:Pg(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?sO:lO)}function i(t,e){return e.get(0===t?aO:t>0?rO:oO)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill,D(e.ensureUniqueItemVisual(r,"style"),s)}}}}};function hO(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}const cO={seriesType:"candlestick",plan:Pg(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=Or(J(t.get("barMaxWidth"),r),r),a=Or(J(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?Or(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=R(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],h=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,c=Fx(4*n.count),p=0,d=[],f=[],g=i.getStore(),y=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=g.get(o,a),m=g.get(s,a),x=g.get(l,a),_=g.get(u,a),b=g.get(h,a);isNaN(v)||isNaN(_)||isNaN(b)?(c[p++]=NaN,p+=3):(c[p++]=hO(g,a,m,x,l,y),d[0]=v,d[1]=_,r=e.dataToPoint(d,null,f),c[p++]=r?r[0]:NaN,c[p++]=r?r[1]:NaN,d[1]=b,r=e.dataToPoint(d,null,f),c[p++]=r?r[1]:NaN)}i.setLayout("largePoints",c)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var c=a.get(o,r),p=a.get(s,r),d=a.get(l,r),f=a.get(u,r),g=a.get(h,r),y=Math.min(p,d),v=Math.max(p,d),m=M(y,c),x=M(v,c),_=M(f,c),b=M(g,c),w=[];I(w,x,0),I(w,m,1),w.push(C(b),C(x),C(_),C(m));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:hO(a,r,p,d,l,S),initBaseline:p>d?x[1]:m[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=Rh(r[0]+i/2,1,!1),o[0]=Rh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=Rh(t[0],1),t}}}}};function pO(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var dO=function(t){function n(e,n){var i=t.call(this)||this,r=new uS(e,n),o=new Tr;return i.add(r),i.add(o),i.updateData(e,n),i}return e(n,t),n.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=G(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},n.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},n.prototype._getLineLength=function(t){return Ct(t.__p1,t.__cp1)+Ct(t.__cp1,t.__p2)},n.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},n.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},n.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=fn,l=gn;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},n}(vO);const _O=xO;var bO=function(){this.polyline=!1,this.curveness=0,this.segs=[]},wO=function(t){function n(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return e(n,t),n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new bO},n.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},n.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if(Ua(u,h,(u+p)/2-(h-d)*r,(h+d)/2-(p-u)*r,p,d,o,t,e))return a}else if(Ya(u,h,p,d,o,t,e))return a;a++}return-1},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();var MO={seriesType:"lines",plan:Pg(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&CS(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},n.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},n.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},n.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=IO.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},n.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new SO:new rk(r?i?_O:mO:i?vO:tk),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},n.prototype._showEffect=function(t){return!!t.get(["effect","show"])},n.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},n.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},n.prototype.dispose=function(t,e){this.remove(t,e)},n.type="lines",n}(Gg);var CO="undefined"==typeof Uint32Array?Array:Uint32Array,DO="undefined"==typeof Float64Array?Array:Float64Array;function AO(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=R(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),C([e,t[0],t[1]])})))}var kO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return e(n,t),n.prototype.init=function(e){e.data=e.data||[],AO(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},n.prototype.mergeOption=function(e){if(AO(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},n.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=ct(this._flatCoords,e.flatCoords),this._flatCoordsOffset=ct(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},n.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},n.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},n.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},n.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},n.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},n.type="series.lines",n.dependencies=["grid","polar","geo","calendar"],n.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},n}(Ag);const LO=kO;function PO(t){return t instanceof Array||(t=[t,t]),t}const OO={seriesType:"lines",reset:function(t){var e=PO(t.get("symbol")),n=PO(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=PO(n.getShallow("symbol",!0)),r=PO(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var RO=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=h.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var d=0;d0){var I=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=h.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();const NO=RO;function EO(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var zO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):EO(r)&&this._renderOnGeo(r,t,i,n)},n.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},n.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(EO(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},n.prototype.eachRendered=function(t){Zh(this._progressiveEls||this.group,t)},n.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=DS(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var d=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),x=Qh(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Al[1])continue;var k=u.dataToPoint([D,A]);T=new Is({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new Is({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),y=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=Qh(L)}T.shape.r=m;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),Jh(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=y,T.ensureState("select").style=v,Ol(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),d.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},n.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new NO;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),m=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=R(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,d=Math.abs(n[p.wh]),f=t.getItemVisual(e,"symbolSize");h=F(f)?f.slice():null==f?["100%","100%"]:[f,f];h[p.index]=Or(h[p.index],d),h[c.index]=Or(h[c.index],i?d:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(FO)||0;o&&(WO.attr({scaleX:e[0],scaleY:e[1],rotation:n}),WO.updateTransform(),o/=WO.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var p=c.symbolSize,d=Qy(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,d=h.valueDim,f=c.pxSign,g=Math.max(e[d.index]+s,0),y=g;if(i){var v=Math.abs(l),m=$(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=Or(m,e[d.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=qr(i),M=S?i:oR((v+w)/b);b=g+2*(_=(v-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?oR((Math.abs(u)+w)/b):0),y=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var I=f*(y/2),T=c.pathPosition=[];T[p.index]=n[p.wh]/2,T[d.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=c.bundlePosition=[];C[p.index]=n[p.xy],C[d.index]=n[d.xy];var A=c.barRectShape=D({},n);A[d.wh]=f*Math.max(Math.abs(n[d.wh]),Math.abs(T[d.index]+I)),A[p.wh]=n[p.wh];var k=c.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=h.ecSize[p.wh],k[d.xy]=0,k[d.wh]=n[d.wh]}(n,p,r,o,0,d,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function YO(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function XO(t){var e=t.symbolPatternSize,n=$y(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function UO(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(nR(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function ZO(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?iR(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=XO(n),r.add(o),iR(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function jO(t,e,n){var i=D({},e.barRectShape),r=t.__pictorialBarRect;r?iR(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Is({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function qO(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=D({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)gh(r,{shape:o},s,l);else{o[a.wh]=0,r=new Is({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],jh[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function KO(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=$O,n.isAnimationEnabled=JO,n}function $O(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function JO(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function QO(t,e,n,i){var r=new Tr,o=new Tr;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?UO(r,e,n):ZO(r,0,n),jO(r,n,i),qO(r,e,n,i),r.__pictorialShapeStr=eR(t,n),r.__pictorialSymbolMeta=n,r}function tR(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];nR(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),O(o,(function(t){mh(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function eR(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function nR(t,e,n){O(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function iR(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&jh[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function rR(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");nR(t,(function(t){if(t instanceof vs){var e=t.style;t.useStyle(D({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)];Jh(t.__pictorialBarRect,Qh(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:oS(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),Ol(t,h,c,o.get("disabled"))}function oR(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}const aR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:GO[+s],categoryDim:GO[1-+s]};return r.diff(o).add((function(t){if(r.hasValue(t)){var e=KO(r,t),n=HO(r,t,e,u),o=QO(r,u,n);r.setItemGraphicEl(t,o),i.add(o),rR(o,u,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=KO(r,t),s=HO(r,t,a,u),l=eR(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;gh(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?UO(t,e,n,!0):ZO(t,e,n,!0);jO(t,n,!0),qO(t,e,n,!0)}(n,u,s):n=QO(r,u,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),rR(n,u,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&tR(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},n.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){tR(i,Ws(e).dataIndex,t,e)})):n.removeAll()},n.type="pictorialBar",n}(Gg);const sR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return e(n,t),n.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},n.type="series.pictorialBar",n.dependencies=["grid"],n.defaultOption=Cc(US.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),n}(US);const lR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._layers=[],e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Vm(this._layersSeries||[],a,h,h),p=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,p=o.length,d=o[0].indices.length,f=0;fMath.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(m=r.r0+w,a>Math.PI/2&&(S="right")):"right"===S&&(m=r.r-w,a>Math.PI/2&&(S="left")):(m=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=f(p,"verticalAlign")||"middle",g.x=m*s+r.cx,g.y=m*l+r.cy;var M=f(p,"rotate"),I=0;"radial"===M?(I=ja(-a))>Math.PI/2&&I<1.5*Math.PI&&(I+=Math.PI):"tangential"===M?(I=Math.PI/2-a)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):Y(M)&&(I=M*Math.PI/180),g.rotation=ja(I)})),h.dirtyStyle()},n}(Au);var fR="sunburstRootToNode",gR="sunburstHighlight";const yR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),h=[];s.eachNode((function(t){h.push(t)}));var c,p,d=this._oldChildren||[];!function(i,r){if(0===i.length&&0===r.length)return;function s(t){return t.getId()}function h(s,h){!function(i,r){u||!i||i.getValue()||(i=null);if(i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):function(t){if(!t)return;t.piece&&(l.remove(t.piece),t.piece=null)}(r);else if(i){var s=new dR(i,t,e,n);l.add(s),o.setItemGraphicEl(i.dataIndex,s)}}(null==s?null:i[s],null==h?null:r[h])}new Vm(r,i,s,s).add(h).update(h).remove(B(h,null)).execute()}(h,d),c=a,(p=s).depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,c,t,e,n):(r.virtualPiece=new dR(c,t,e,n),l.add(r.virtualPiece)),p.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(p.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null),this._initEvents(),this._oldChildren=h},n.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)_p(a,o.get("target",!0)||"_blank")}n=!0}}))}))},n.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:fR,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},n.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},n.type="sunburst",n}(Gg);function vR(t){var e=0;O(t.children,(function(t){vR(t);var n=t.value;F(n)&&(n=n[0]),e+=n}));var n=t.value;F(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),F(t.value)?t.value[0]=n:t.value=n}const mR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.ignoreStyleOnData=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};vR(n);var i=this._levelModels=R(t.levels||[],(function(t){return new Mc(t,this,e)}),this),r=uD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=dD(i,this),n},n.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},n.prototype.enableAriaDecal=function(){xD(this)},n.type="series.sunburst",n.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},n}(Ag);var xR=Math.PI/180;function _R(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");F(i)||(i=[0,i]),F(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=Or(e[0],r),l=Or(e[1],o),u=Or(i[0],a/2),h=Or(i[1],a/2),c=-t.get("startAngle")*xR,p=t.get("minAngle")*xR,d=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&bR(f,y);var v=0;O(f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==d){var r=e.getValue(),o=0===m&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&W(o)&&(o=Fn(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),D(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var SR={color:"fill",borderColor:"stroke"},MR={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},IR=yo();const TR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},n.prototype.getInitialData=function(t,e){return mx(null,this)},n.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=IR(i).info),r},n.type="series.custom",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},n}(Ag);function CR(t,e){return e=e||[0,0],R(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function DR(t,e){return e=e||[0,0],R([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function AR(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function kR(t,e){return e=e||[0,0],R(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function LR(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||ft(t,"text")))}function PR(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},ft(a,"text")&&(o.text=a.text),ft(a,"rich")&&(o.rich=a.rich),ft(a,"textFill")&&(o.fill=a.textFill),ft(a,"textStroke")&&(o.stroke=a.textStroke),ft(a,"fontFamily")&&(o.fontFamily=a.fontFamily),ft(a,"fontSize")&&(o.fontSize=a.fontSize),ft(a,"fontStyle")&&(o.fontStyle=a.fontStyle),ft(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=ft(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),ft(a,"textPosition")&&(i.position=a.textPosition),ft(a,"textOffset")&&(i.offset=a.textOffset),ft(a,"textRotation")&&(i.rotation=a.textRotation),ft(a,"textDistance")&&(i.distance=a.textDistance)}return OR(o,t),O(o.rich,(function(t){OR(t,t)})),{textConfig:i,textContent:r}}function OR(t,e){e&&(e.font=e.textFont||e.font,ft(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),ft(e,"textAlign")&&(t.align=e.textAlign),ft(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),ft(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),ft(e,"textWidth")&&(t.width=e.textWidth),ft(e,"textHeight")&&(t.height=e.textHeight),ft(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),ft(e,"textPadding")&&(t.padding=e.textPadding),ft(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),ft(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),ft(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),ft(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),ft(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),ft(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),ft(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function RR(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";NR(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,O(e.rich,(function(t){NR(t,t)})),i}function NR(t,e){e&&(ft(e,"fill")&&(t.textFill=e.fill),ft(e,"stroke")&&(t.textStroke=e.fill),ft(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),ft(e,"font")&&(t.font=e.font),ft(e,"fontStyle")&&(t.fontStyle=e.fontStyle),ft(e,"fontWeight")&&(t.fontWeight=e.fontWeight),ft(e,"fontSize")&&(t.fontSize=e.fontSize),ft(e,"fontFamily")&&(t.fontFamily=e.fontFamily),ft(e,"align")&&(t.textAlign=e.align),ft(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),ft(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),ft(e,"width")&&(t.textWidth=e.width),ft(e,"height")&&(t.textHeight=e.height),ft(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),ft(e,"padding")&&(t.textPadding=e.padding),ft(e,"borderColor")&&(t.textBorderColor=e.borderColor),ft(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),ft(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),ft(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),ft(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),ft(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),ft(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),ft(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),ft(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),ft(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),ft(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var ER={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},zR=z(ER);N(nr,(function(t,e){return t[e]=1,t}),{}),nr.join(", ");var VR=["","style","shape","extra"],BR=yo();function FR(t,e,n,i,r){var o=t+"Animation",a=dh(t,i,r)||{},s=BR(e).userDuring;return a.duration>0&&(a.during=s?V(ZR,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),D(a,n[o]),a}function GR(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=BR(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var d=z(n);for(u=0;u0&&t.animateFrom(p,d)}else!function(t,e,n,i,r){if(r){var o=FR("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);WR(t,e),u?t.dirty():t.markRedraw()}function WR(t,e){for(var n=BR(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var p=z(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:V(kR,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function cN(t){return t instanceof hs}function pN(t){return t instanceof ua}const dN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=mN(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){_N(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&HR(n,IR(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);_N(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?CS(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},n.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},n.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=mN(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){null==i&&(i=s);var r=m(i,eN).getItemStyle(),o=x(i,eN),a=tc(o,null,null,!0,!0);a.text=o.getShallow("show")?Q(t.getFormattedLabel(i,eN),t.getFormattedLabel(i,nN),oS(e,i)):null;var l=ec(o,null,!0);return b(n,r),r=RR(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),ft(SR,t)){var i=e.getItemVisual(n,"style");return i?i[SR[t]]:null}if(ft(MR,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);TN(e,g,r)}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function wN(t,e,n){var i,r=IR(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(ft(i,"pathData")||ft(i,"d")))&&kN(a)!==r.customPathData||"image"===o&&ft(s,"image")&&s.image!==r.customImagePath}function SN(t,e,n){var i=e?MN(t,e):t,r=e?IN(t,i,eN):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?MN(s,e):s:null;if(r&&(n.isLegacy||LR(r,o,!!a,!!l))){n.isLegacy=!0;var u=PR(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function MN(t,e){return e?t?t[e]:null:t}function IN(t,e,n){var i=e&&e.style;return null==i&&n===eN&&t&&(i=t.styleEmphasis),i}function TN(t,e,n){e&&HR(e,IR(t).option,n)}function CN(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function DN(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;bN(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function AN(t){var e=this.context,n=e.oldChildren[t];n&&HR(n,IR(n).option,e.seriesModel)}function kN(t){return t&&(t.pathData||t.d)}var LN=yo(),PN=I,ON=V;function RN(t,e,n,i){NN(LN(n).lastProp,i)||(LN(n).lastProp=i,e?gh(n,i,t):(n.stopAnimation(),n.attr(i)))}function NN(t,e){if(X(t)&&X(e)){var n=!0;return O(e,(function(e,i){n=n&&NN(t[i],e)})),!!n}return t===e}function EN(t,e){t[e.get(["label","show"])?"show":"hide"]()}function zN(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function VN(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}const BN=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=B(RN,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Tr,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);VN(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=bI(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=LN(t).pointerEl=new jh[r.type](PN(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=LN(t).labelEl=new Gs(PN(e.label));t.add(r),EN(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=LN(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=LN(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),EN(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Gh(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ee(t.event)},onmousedown:ON(this._onHandleDragMove,this,0,0),drift:ON(this._onHandleDragMove,this),ondragend:ON(this._onHandleDragEnd,this)}),i.add(r)),VN(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");F(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Ug(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){RN(this._axisPointerModel,!e&&this._moveAnimation,this._handle,zN(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(zN(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(zN(i)),LN(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Zg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function FN(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function GN(t,e,n,i,r){var o=WN(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=fp(a.get("padding")||0),l=a.getFont(),u=lr(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],d=r.align;"right"===d&&(h[0]-=c),"center"===d&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=p),"middle"===f&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:tc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function WN(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:T_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};O(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),W(a)?o=a.replace("{value}",o):G(a)&&(o=a(s))}return o}function HN(t,e,n){var i=[1,0,0,1,0,0];return he(i,i,n.rotation),ue(i,i,n.position),Eh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function YN(t,e,n,i,r,o){var a=mI.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),GN(e,i,r,o,{position:HN(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function XN(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function UN(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function ZN(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var jN=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=qN(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=FN(i),c=KN[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}YN(e,t,eI(a.model,n),n,i,r)},n.prototype.getHandleTransform=function(t,e,n){var i=eI(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=HN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=qN(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},n}(BN);function qN(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var KN={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:XN([e,n[0]],[e,n[1]],$N(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:UN([e-i/2,n[0]],[i,r],$N(t))}}};function $N(t){return"x"===t.dim?0:1}const JN=jN;const QN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="axisPointer",n.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},n}(Rp);var tE=yo(),eE=O;function nE(t,e,n){if(!r.node){var i=e.getZr();tE(i).records||(tE(i).records={}),function(t,e){if(tE(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);eE(tE(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}tE(t).initialized=!0,n("click",B(rE,"click")),n("mousemove",B(rE,"mousemove")),n("globalout",iE)}(i,e),(tE(i).records[t]||(tE(i).records[t]={})).handler=n}}function iE(t,e,n){t.handler("leave",null,n)}function rE(t,e,n,i){e.handler(t,n,i)}function oE(t,e){if(!r.node){var n=e.getZr();(tE(n).records||{})[t]&&(tE(n).records[t]=null)}}const aE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";nE("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},n.prototype.remove=function(t,e){oE("axisPointer",e)},n.prototype.dispose=function(t,e){oE("axisPointer",e)},n.type="axisPointer",n}(Lg);function sE(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=go(o,t);if(null==a||a<0||F(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,d=o.mapDimension(c),f=[];f[p]=o.get(d,a),f[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(R(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var lE=yo();function uE(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||V(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){fE(r)&&(r=sE({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=fE(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||fE(r),p={},d={},f={list:[],map:{}},g={showPointer:B(cE,d),showTooltip:B(pE,f)};O(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);O(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&hE(t,a,g,!1,p)}}))}));var y={};return O(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&O(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,dE(e),dE(t)))),y[t.key]=o}}))})),O(y,(function(t,e){hE(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];O(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(d,h,p),function(t,e,n,i){if(fE(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=lE(i)[r]||{},a=lE(i)[r]={};O(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&O(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];O(o,(function(t,e){!a[e]&&l.push(t)})),O(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function hE(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return O(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),O(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&D(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function cE(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function pE(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=SI(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function dE(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function fE(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function gE(t){II.registerAxisPointerClass("CartesianAxisPointer",JN),t.registerComponentModel(QN),t.registerComponentView(aE),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!F(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=xI(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},uE)}var yE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=FN(i),c=vE[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];he(p,p,s),ue(p,p,[i.cx,i.cy]),l=Eh([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=mI.innerTextLayout(s,d*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));GN(t,n,i,r,p)},n}(BN);var vE={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:XN(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:ZN(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:ZN(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}};const mE=yE;const xE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},n.type="polar",n.dependencies=["radiusAxis","angleAxis"],n.defaultOption={z:0,center:["50%","50%"],radius:"80%"},n}(Rp);var _E=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",_o).models[0]},n.type="polarAxis",n}(Rp);L(_E,k_);var bE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="angleAxis",n}(_E),wE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="radiusAxis",n}(_E),SE=function(t){function n(e,n){return t.call(this,"radius",e,n)||this}return e(n,t),n.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},n}(eb);SE.prototype.dataToRadius=eb.prototype.dataToCoord,SE.prototype.radiusToData=eb.prototype.coordToData;const ME=SE;var IE=yo(),TE=function(t){function n(e,n){return t.call(this,"angle",e,n||[0,360])||this}return e(n,t),n.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},n.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=lr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=IE(t.model),p=c.lastAutoInterval,d=c.lastTickCount;return null!=p&&null!=d&&Math.abs(p-h)<=1&&Math.abs(d-r)<=1&&p>h?h=p:(c.lastTickCount=r,c.lastAutoInterval=h),h},n}(eb);TE.prototype.dataToAngle=eb.prototype.dataToCoord,TE.prototype.angleToData=eb.prototype.coordToData;const CE=TE;var DE=["radius","angle"];function AE(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}const kE=function(){function t(t){this.dimensions=DE,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new ME,this._angleAxis=new CE,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return AE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return AE(e)===this?this.pointToData(n):null},t}();function LE(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();O(A_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),O(A_(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),S_(i.scale,i.model),S_(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function PE(t,e){if(t.type=e.get("type"),t.scale=M_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}const OE={dimensions:DE,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new kE(i+"");r.update=LE;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");PE(o,s),PE(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=Or(i[0],r),t.cy=Or(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:F(l)||(l=[0,l]);var u=[Or(l[0],s),Or(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",_o).models[0];t.coordinateSystem=e.coordinateSystem}})),n}};var RE=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function NE(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function EE(t){return t.getRadiusAxis().inverse?0:1}function zE(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var VE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="PolarAxisPointer",e}return e(n,t),n.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=R(n.getViewLabels(),(function(t){t=I(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));zE(s),zE(o),O(RE,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||BE[e](this.group,t,i,o,a,r,s)}),this)}},n.type="angleAxis",n}(II),BE={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=EE(n),u=l?0:1;(a=0===o[u]?new hu({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new Pu({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[EE(n)],u=R(i,(function(t){return new Hu({shape:NE(n,[l,l+s],t.coord)})}));t.add(Lh(u,{style:A(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[EE(n)],h=[],c=0;cf?"left":"right",v=Math.abs(d[1]-g)/p<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[c]){var m=s[c];X(m)&&m.textStyle&&(a=new Mc(m.textStyle,l,l.ecModel))}var x=new Gs({silent:mI.isLabelSilent(e),style:tc(a,{x:d[0],y:d[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),h){var _=mI.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,Ws(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",T=_;m&&(i[s][M]||(i[s][M]={p:_,n:_}),T=i[s][M][I]);var C=void 0,D=void 0,A=void 0,k=void 0;if("radius"===c.dim){var L=c.dataToCoord(S)-_,P=o.dataToCoord(M);Math.abs(L)=k})}}}))}var qE={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},KE={splitNumber:5},$E=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="polar",n}(Lg);function JE(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),$(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var QE=["axisLine","axisTickLabel","axisName"],tz=["splitArea","splitLine"],ez=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="SingleAxisPointer",e}return e(n,t),n.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Tr;var s=JE(e),l=new mI(e,s);O(QE,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),O(tz,(function(t){e.get([t,"show"])&&nz[t](this,this.group,this._axisGroup,e)}),this),Bh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},n.prototype.remove=function(){DI(this)},n.type="singleAxis",n}(II),nz={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],p=0,d=r.getTicksCoords({tickModel:o}),f=[],g=[],y=0;y=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return uz(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return uz(e)===this?this.pointToData(n):null},t}();function uz(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}const hz={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new lz(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",_o).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:sz};var cz=["x","y"],pz=["width","height"],dz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=yz(a,1-gz(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=FN(i),c=fz[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}YN(e,t,JE(n),n,i,r)},n.prototype.getHandleTransform=function(t,e,n){var i=JE(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=HN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=gz(r),s=yz(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=yz(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},n}(BN),fz={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:XN([e,n[0]],[e,n[1]],gz(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:UN([e-i/2,n[0]],[i,r],gz(t))}}};function gz(t){return t.isHorizontal()?0:1}function yz(t,e){var n=t.getRect();return[n[cz[e]],n[cz[e]]+n[pz[e]]]}const vz=dz;var mz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="single",n}(Lg);function xz(t,e){var n,i=t.cellSize;1===(n=F(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=R([0,1],(function(t){return function(t,e){return null!=t[Sp[e][0]]||null!=t[Sp[e][1]]&&null!=t[Sp[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Ap(t,e,{type:"box",ignoreSize:r})}const _z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(e,n,i){var r=kp(e);t.prototype.init.apply(this,arguments),xz(e,r)},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),xz(this.option,e)},n.prototype.getCellSize=function(){return this.option.cellSize},n.type="calendar",n.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},n}(Rp);var bz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},n.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Is({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},n.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},n.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},n.prototype._drawSplitline=function(t,e,n){var i=new Bu({z2:20,shape:{points:t},style:e});n.add(i)},n.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},n.prototype._formatterLabel=function(t,e){return W(t)&&t?(n=t,O(e,(function(t,e){n=n.replace("{"+e+"}",i?Ut(t):t)})),n):G(t)?t(e):e.nameMap;var n,i},n.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},n.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var d=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(d,f),y=new Gs({z2:30,style:tc(r,{text:g})});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},n.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},n.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!W(o)||(o&&(e=Nc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,d=0;d=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/Sz)-Math.floor(n[0].time/Sz)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(e){var n=new t(e);i.push(n),e.coordinateSystem=n})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function Tz(t,e){var n;return O(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var Cz=["transition","enterFrom","leaveTo"],Dz=Cz.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function Az(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?Cz:Dz,r=0;r=0;l--){var p,d,f;if(f=null!=(d=co((p=n[l]).id,null))?r.get(d):null){var g=f.parent,y=(c=Pz(g),{}),v=Cp(f,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},y);if(!Pz(f).isNew&&v){for(var m=p.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}gh(f,x,t,0)}else f.attr(y)}}},n.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){Ez(n,Pz(n).option,e,t._lastGraphicModel)})),this._elMap=ht()},n.prototype.dispose=function(){this._clear()},n.type="graphic",n}(Lg);function Rz(t){var e=new(ft(Lz,t)?Lz[t]:Ch(t))({});return Pz(e).type=t,e}function Nz(t,e,n,i){var r=Rz(n);return e.add(r),i.set(t,r),Pz(r).id=t,Pz(r).isNew=!0,r}function Ez(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){Ez(t,e,n,i)})),HR(t,e,i),n.removeKey(Pz(t).id))}function zz(t,e,n,i){t.isGroup||O([["cursor",ua.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];ft(e,i)?t[i]=J(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),O(z(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=G(i)?i:null}})),ft(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var Vz=["x","y","radius","angle","single"],Bz=["cartesian2d","polar","singleAxis"];function Fz(t){return t+"Axis"}function Gz(t,e){var n,i=ht(),r=[],o=ht();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function Wz(t){var e=t.ecModel,n={infoList:[],infoMap:ht()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(Fz(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var Hz=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),Yz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return e(n,t),n.prototype.init=function(t,e,n){var i=Xz(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},n.prototype.mergeOption=function(t){var e=Xz(t);T(this.option,t,!0),T(this.settledOption,e,!0),this._doInit(e)},n.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;O([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},n.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=ht();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},n.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return O(Vz,(function(n){var i=this.getReferringComponents(Fz(n),bo);if(i.specified){e=!0;var r=new Hz;O(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},n.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new Hz;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",_o).models[0];a&&O(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",_o).models[0]&&o.add(t.componentIndex)}))}}}i&&O(Vz,(function(e){if(i){var r=n.findComponents({mainType:Fz(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new Hz;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},n.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},n.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},n.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");O([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},n.prototype.noTarget=function(){return this._noTarget},n.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(Fz(e),n))}),this),t},n.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){O(n.indexList,(function(n){t.call(e,i,n)}))}))},n.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},n.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(Fz(t),e)},n.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;O([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},n.prototype.setCalculatedRange=function(t){var e=this.option;O(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},n.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},n.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},n.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=Fz(this._dimName),i=e.getReferringComponents(n,_o).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return I(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];Kz(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(Pr(h,o,n))):(e=!0,h=Pr(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),$z(s),$z(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";$k(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=Pr(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];Kz(n,(function(t){!function(t,e,n){e&&O(A_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=__(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&Kz(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=R(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else Kz(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));Kz(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;Kz(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=Pr(n[0]+o,n,[0,100],!0):null!=r&&(o=Pr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=zr(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();const Qz=Jz;const tV={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(Fz(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new Qz(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=ht();return O(n,(function(t){O(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var eV=!1;function nV(t){eV||(eV=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,tV),function(t){t.registerAction("dataZoom",(function(t,e){O(Gz(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function iV(t){t.registerComponentModel(Zz),t.registerComponentView(qz),nV(t)}var rV=function(){},oV={};function aV(t,e){oV[t]=e}function sV(t){return oV[t]}const lV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;O(this.option.feature,(function(t,n){var i=sV(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),T(t,i.defaultOption))}))},n.type="toolbox",n.layoutMode={type:"box",ignoreSize:!0},n.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},n}(Rp);function uV(t,e){var n=fp(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Is({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}const hV=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];O(s,(function(t,e){u.push(e)})),new Vm(this._featureNames||[],u).add(h).update(h).remove(B(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Tp(i,o,r);Ip(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Cp(t,i,o,r)}(r,t,n),r.add(uV(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!G(l)&&e){var u=l.style||(l.style={}),h=lr(e,Gs.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var d=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):c-h.width/2<0&&(a.position=[0,d],u.align="left")}}))}function h(h,c){var p,d=u[h],f=u[c],g=s[d],y=new Mc(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(g.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:y.option.onclick,featureName:d};else{var v=sV(d);if(!v)return;p=new v}l[d]=p}else if(!(p=l[f]))return;p.uid=Tc("toolbox-feature"),p.model=y,p.ecModel=e,p.api=n;var m=p instanceof rV;d||!f?!y.get("show")||m&&p.unusable?m&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof rV&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};W(d)?(u={})[l]=d:u=d;W(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};O(u,(function(l,u){var d=Gh(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var f=new Gs({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null},ignore:!0});d.setTextContent(f),Xh({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?xl:_l)(d),r.add(d),d.on("click",V(s.onclick,s,e,n,u)),g[u]=d}))}(y,p,d),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?xl:_l)(i[t])},p instanceof rV&&p.render&&p.render(y,e,n,i)):m&&p.dispose&&p.dispose(e,n)}},n.prototype.updateView=function(t,e,n,i){O(this._features,(function(t){t instanceof rV&&t.updateView&&t.updateView(t.model,e,n,i)}))},n.prototype.remove=function(t,e){O(this._features,(function(n){n instanceof rV&&n.remove&&n.remove(t,e)})),this.group.removeAll()},n.prototype.dispose=function(t,e){O(this._features,(function(n){n instanceof rV&&n.dispose&&n.dispose(t,e)}))},n.type="toolbox",n}(Lg);const cV=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=r.browser;if(G(MouseEvent)&&(l.newEdge||!l.ie&&!l.edge)){var u=document.createElement("a");u.download=i+"."+a,u.target="_blank",u.href=s;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});u.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||o){var c=s.split(","),p=c[0].indexOf("base64")>-1,d=o?decodeURIComponent(c[1]):c[1];p&&(d=window.atob(d));var f=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var g=d.length,y=new Uint8Array(g);g--;)y[g]=d.charCodeAt(g);var v=new Blob([y]);window.navigator.msSaveOrOpenBlob(v,f)}else{var m=document.createElement("iframe");document.body.appendChild(m);var x=m.contentWindow,_=x.document;_.open("image/svg+xml","replace"),_.write(d),_.close(),x.focus(),_.execCommand("SaveAs",!0,f),document.body.removeChild(m)}}else{var b=n.get("lang"),w='',S=window.open();S.document.write(w),S.document.title=i}},n.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},n}(rV);var pV="__ec_magicType_stack__",dV=[["line","bar"],["stack"]],fV=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return O(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},n.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},n.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(gV[n]){var o,a={series:[]};O(dV,(function(t){k(t,n)>=0&&O(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=gV[n](e,r,t,i);o&&(A(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,_o).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=T({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},n}(rV),gV={line:function(t,e,n,i){if("bar"===t)return T({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return T({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===pV;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),T({id:e,stack:r?"":pV},i.get(["option","stack"])||{},!0)}};Tm({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));const yV=fV;var vV=new Array(60).join("-"),mV="\t";function xV(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var _V=new RegExp("[\t]+","g");function bV(t,e){var n=t.split(new RegExp("\n*"+vV+"\n*","g")),i={series:[]};return O(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(mV)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=R(xV(e.shift()).split(_V),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=zV[t.brushType](0,n,e);t.__rangeOffset={offset:BV[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){O(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&O(i.coordSyses,(function(i){var r=zV[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){O(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=zV[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?BV[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=GV(n),o=GV(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return R(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:eP(i),isTargetByCursor:iP(i,t,n.coordSysModel),getLinearBrushOtherExtent:nP(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&k(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=OV(e,t),r=0;rt[1]&&t.reverse(),t}function OV(t,e){return mo(t,e,{includeMainTypes:kV})}var RV={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=ht(),a={},s={};(n||i||r)&&(O(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),O(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),O(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];O(r.getCartesians(),(function(t,e){(k(n,t.getAxis("x").model)>=0||k(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:EV.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){O(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:EV.geo})}))}},NV=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],EV={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Nh(t)),e}},zV={lineX:B(VV,0),lineY:B(VV,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[PV([r[0],o[0]]),PV([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:R(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function VV(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=PV(R([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var BV={lineX:B(FV,0),lineY:B(FV,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return R(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function FV(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function GV(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}const WV=LV;var HV,YV,XV=O,UV=no+"toolbox-dataZoom_",ZV=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new tP(n.getZr()),this._brushController.on("brush",V(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new WV(qV(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return CV(t).length}(e)>1?"emphasis":"normal")}(t,e)},n.prototype.onclick=function(t,e,n){jV[n].call(this)},n.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},n.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},n.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new WV(qV(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=CV(t);IV(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=$k(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},n.prototype._dispatchZoomAction=function(t){var e=[];XV(t,(function(t,n){e.push(I(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},n.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},n}(rV),jV={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=CV(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return IV(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function qV(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}HV="dataZoom",YV=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=mo(t,qV(i));return XV(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),XV(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:UV+e+o};a[n]=o,r.push(a)}},nt(null==nd.get(HV)&&YV),nd.set(HV,YV);const KV=ZV;const $V=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="tooltip",n.dependencies=["axisPointer"],n.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},n}(Rp);function JV(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function QV(t){if(r.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,d=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),W(t))o.innerHTML=t+a;else if(t){o.innerHTML="",F(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},n.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},n.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!r.node&&n.getDom()){var o=vB(i,n);this._ticket="";var a=i.dataByCoordSys,s=function(t,e,n){var i=xo(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=wo(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=Ws(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=fB;u.x=i.x,u.y=i.y,u.update(),Ws(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},o)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},o);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=sE(i,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:i.position,positionDefault:"bottom"},o)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o))}},n.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(vB(i,n))},n.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===yB([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},n.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;this._lastDataByCoordSys=null,Vy(n,(function(t){return null!=Ws(t).dataIndex?(r=t,!0):null!=Ws(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},n.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=V(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},n.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=yB([e.tooltipOption],i),a=this._renderMode,s=[],l=og("section",{blocks:[],noHeader:!0}),u=[],h=new yg;O(t,(function(t){O(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=WN(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=og("section",{header:o,noHeader:!it(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),O(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=T_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",xp(f.color),a);var g=bf(p.formatTooltip(d,!0,null)),y=g.frag;if(y){var v=yB([p],i).get("valueFormatter");c.blocks.push(v?D({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=cg(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},n.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Ws(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=yB([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new yg;g.marker=y.makeTooltipMarker("item",xp(g.color),c);var v=bf(s.formatTooltip(l,!1,u)),m=d.get("order"),x=d.get("valueFormatter"),_=v.frag,b=_?cg(x?D({valueFormatter:x},_):_,y,c,m,i.get("useUTC"),d.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},n.prototype._showComponentItemTooltip=function(t,e,n){var i=Ws(e),r=i.tooltipConfig.option||{};if(W(r)){r={content:r,formatter:r}}var o=[r],a=this._ecModel.getComponent(i.componentMainType,i.componentIndex);a&&o.push(a),o.push({formatter:r.content});var s=t.positionDefault,l=yB(o,this._tooltipModel,s?{position:s}:null),u=l.get("content"),h=Math.random()+"",c=new yg;this._showOrMove(l,(function(){var n=I(l.get("formatterParams")||{});this._showTooltipContent(l,u,n,h,t.offsetX,t.offsetY,t.position,e,c)})),n({type:"showTip",from:this.uid})},n.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(W(h)){var d=t.ecModel.get("useUTC"),f=F(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=qc(f.axisValue,c,d)),c=mp(c,n,!0)}else if(G(h)){var g=V((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},n.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||F(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:F(e)?void 0:{color:i||e.color||e.borderColor}},n.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),G(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),F(e))n=Or(e[0],s),i=Or(e[1],l);else if(X(e)){var d=e;d.width=u[0],d.height=u[1];var f=Tp(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(W(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=mB(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=mB(c)?u[1]/2:"bottom"===c?u[1]:0),JV(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},n.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&O(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&O(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&O(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&O(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},n.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},n.prototype.dispose=function(t,e){!r.node&&e.getDom()&&(Zg(this,"_updatePosition"),this._tooltipContent.dispose(),oE("itemTooltip",e))},n.type="tooltip",n}(Lg);function yB(t,e,n){var i,r=e.ecModel;n?(i=new Mc(n,r,r),i=new Mc(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Mc&&(a=a.get("tooltip",!0)),W(a)&&(a={formatter:a}),a&&(i=new Mc(a,i,r)))}return i}function vB(t,e){return t.dispatchAction||V(e.dispatchAction,e)}function mB(t){return"center"===t||"middle"===t}const xB=gB;var _B=["rect","polygon","keep","clear"];function bB(t,e){var n=io(t?t.brush:[]);if(n.length){var i=[];O(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;F(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o,a,s=r.feature||(r.feature={}),l=s.brush||(s.brush={}),u=l.type||(l.type=[]);u.push.apply(u,i),a={},O(o=u,(function(t){a[t]=1})),o.length=0,O(a,(function(t,e){o.push(e)})),e&&!u.length&&u.push.apply(u,_B)}}var wB=O;function SB(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function MB(t,e,n){var i={};return wB(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);wB(t[e],(function(t,i){if($D.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new $D(r),"opacity"===i&&((r=I(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new $D(r))}}))})),i}function IB(t,e,n){var i;O(n,(function(t){e.hasOwnProperty(t)&&SB(e[t])&&(i=!0)})),i&&O(n,(function(n){e.hasOwnProperty(n)&&SB(e[n])?t[n]=I(e[n]):delete t[n]}))}var TB={lineX:CB(0),lineY:CB(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&P_(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(P_(i,r,o)||P_(i,r+a,o)||P_(i,r,o+s)||P_(i,r+a,o+s)||Se.create(t).contain(l[0],l[1])||Wh(r,o,r+a,o,i)||Wh(r,o,r,o+s,i)||Wh(r+a,o,r+a,o+s,i)||Wh(r,o+s,r+a,o+s,i))||void 0}}};function CB(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return DB(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&zB(e)}};function zB(t){return new Se(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}const VB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new tP(e.getZr())).on("brush",V(this._onBrush,this)).mount()},n.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},n.prototype.updateTransform=function(t,e,n,i){PB(e),this._updateController(t,e,n,i)},n.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},n.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},n.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},n.prototype.dispose=function(){this._brushController.dispose()},n.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:I(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:I(n),$from:e})},n.type="brush",n}(Lg);function BB(t,e){return T({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Mc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}const FB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.areas=[],e.brushOption={},e}return e(n,t),n.prototype.optionUpdated=function(t,e){var n=this.option;!e&&IB(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},n.prototype.setAreas=function(t){t&&(this.areas=R(t,(function(t){return BB(this.option,t)}),this))},n.prototype.setBrushOption=function(t){this.brushOption=BB(this.option,t),this.brushType=this.brushOption.brushType},n.type="brush",n.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],n.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},n}(Rp);var GB=["rect","polygon","lineX","lineY","keep","clear"];const WB=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,O(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},n.prototype.updateView=function(t,e,n){this.render(t,e,n)},n.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return O(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},n.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},n.getDefaultOption=function(t){return{show:!0,type:GB.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},n}(rV);var HB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.layoutMode={type:"box",ignoreSize:!0},e}return e(n,t),n.type="title",n.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},n}(Rp),YB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=J(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Gs({style:tc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new Gs({style:tc(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){_p(p,"_"+t.get("target"))})),d&&c.on("click",(function(){_p(d,"_"+t.get("subtarget"))})),Ws(l).eventData=Ws(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=Tp(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new Is({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},n.type="title",n}(Lg);const XB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.layoutMode="box",e}return e(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},n.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},n.prototype.getCurrentIndex=function(){return this.option.currentIndex},n.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},n.prototype.setPlayState=function(t){this.option.autoPlay=!!t},n.prototype.getPlayState=function(){return!!this.option.autoPlay},n.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],O(n,(function(e,n){var i,o=co(ao(e),"");X(e)?(i=I(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new ux([{name:"value",type:o}],this)).initData(t,r)},n.prototype.getData=function(){return this._data},n.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},n.type="timeline",n.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},n}(Rp);var UB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="timeline.slider",n.defaultOption=Cc(XB.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),n}(XB);L(UB,_f.prototype);const ZB=UB;const jB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="timeline",n}(Lg);const qB=function(t){function n(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return e(n,t),n.prototype.getLabelModel=function(){return this.model.getModel("label")},n.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},n}(eb);var KB=Math.PI,$B=yo(),JB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){this.api=e},n.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return og("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},O(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},n.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},n.prototype.dispose=function(){this._clearTimer()},n.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Tp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:KB/2},p="vertical"===s?l.height:l.width,d=t.getModel("controlStyle"),f=d.get("show",!0),g=f?d.get("itemSize"):0,y=f?d.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*KB/180;var x=d.get("position",!0),_=f&&d.get("showPlayBtn",!0),b=f&&d.get("showPrevBtn",!0),w=f&&d.get("showNextBtn",!0),S=0,M=p;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(_&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:c[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},n.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;ue(o,o,[-a,-s]),he(o,o,-KB/2),ue(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),h=y(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var d,f=t.labelPosOpt;null==f||W(f)?(v(c,u,l,1,d="+"===f?0:1),v(p,h,l,1,1-d)):(v(c,u,l,1,d=f>=0?0:1),p[1]=c[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},n.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new Rx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new o_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new zx}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new qB("value",r,t.axisExtent,i);return a.model=e,a},n.prototype._createGroup=function(t){var e=this[t]=new Tr;return this.group.add(e),e},n.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new Hu({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:D({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Hu({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:A({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},n.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],O(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:V(r._changeTimeline,r,t.value)},p=QB(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),Pl(p);var d=Ws(p);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(p)}))},n.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],O(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new Gs({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:V(r._changeTimeline,r,a),silent:!1,style:tc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=tc(u),p.ensureState("progress").style=tc(h),e.add(p),Pl(p),$B(p).dataIndex=a,r._tickLabels.push(p)}))}},n.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=pr(J(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=Gh(t.get(["controlStyle",e]),i||{},new Se(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),Pl(c)}}h(t.nextBtnPosition,"next",V(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",V(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",V(this._handlePlayClick,this,!l),!0)},n.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=V(s._handlePointerDrag,s),t.ondragend=V(s._handlePointerDragend,s),tF(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){tF(t,s._progressLine,o,n,i)}};this._currentPointer=QB(a,a,this._mainGroup,{},this._currentPointer,l)},n.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},n.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},n.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},n.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=Nr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var dF={min:B(pF,"min"),max:B(pF,"max"),average:B(pF,"average"),median:B(pF,"median")};function fF(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!F(e.coord)&&F(r)){var o=gF(e,n,i,t);if((e=I(e)).type&&dF[e.type]&&o.baseAxis&&o.valueAxis){var a=k(r,o.baseAxis.dim),s=k(r,o.valueAxis.dim),l=dF[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&F(r))for(var u=e.coord,h=0;h<2;h++)dF[u[h]]&&(u[h]=mF(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function gF(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function yF(t,e){return!(t&&t.containData&&e.coord&&!cF(e))||t.containData(e.coord)}function vF(t,e){return t?function(t,n,i,r){return If(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return If(t.value,e[r])}}function mF(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var xF=yo();const _F=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(){this.markerGroupMap=ht()},n.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){xF(t).keep=!1})),e.eachSeries((function(t){var r=uF.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!xF(t).keep&&i.group.remove(t.group)}))},n.prototype.markKeep=function(t){xF(t).keep=!0},n.prototype.toggleBlurSeries=function(t,e){var n=this;O(t,(function(t){var i=uF.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?bl(t):wl(t))}))}))},n.type="marker",n}(Lg);function bF(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Or(a.get("x"),n.getWidth()),l=Or(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}const wF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=uF.getMarkerModelFromSeries(t,"markPoint");e&&(bF(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new fS),u=function(t,e,n){var i;i=t?R(t&&t.dimensions,(function(t){return D(D({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new ux(i,n),o=R(n.get("data"),B(fF,e));t&&(o=E(o,B(yF,t)));var a=vF(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),bF(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(G(i)||G(r)||G(o)||G(s)){var h=e.getRawValue(t),c=e.getDataParams(t);G(i)&&(i=i(h,c)),G(r)&&(r=r(h,c)),G(o)&&(o=o(h,c)),G(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=Ry(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Ws(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},n.type="markPoint",n}(_F);const SF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.createMarkerModelFromSeries=function(t,e,i){return new n(t,e,i)},n.type="markLine",n.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},n}(uF);var MF=yo(),IF=function(t,e,n,i){var r,o=t.getData();if(F(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=$(i.yAxis,i.xAxis);else{var u=gF(i,o,e,t);s=u.valueAxis,l=mF(o,vx(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,p=I(i),d={coord:[]};p.type=null,p.coord=[],p.coord[c]=-1/0,d.coord[c]=1/0;var f=n.get("precision");f>=0&&Y(l)&&(l=+l.toFixed(Math.min(f,20))),p.coord[h]=d.coord[h]=l,r=[p,d,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[fF(t,r[0]),fF(t,r[1]),D({},r[2])];return g[2].type=g[2].type||null,T(g[2],g[0]),T(g[2],g[1]),g};function TF(t){return!isNaN(t)&&!isFinite(t)}function CF(t,e,n,i){var r=1-t,o=i.dimensions[t];return TF(e[r])&&TF(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function DF(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(CF(1,n,i,t)||CF(0,n,i,t)))return!0}return yF(t,e[0])&&yF(t,e[1])}function AF(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Or(s.get("x"),r.getWidth()),u=Or(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(DS(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions;TF(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):TF(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}const kF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=uF.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=MF(e).from,o=MF(e).to;r.each((function(e){AF(r,e,!0,t,n),AF(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new rk);this.group.add(l.group);var u=function(t,e,n){var i;i=t?R(t&&t.dimensions,(function(t){return D(D({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new ux(i,n),o=new ux(i,n),a=new ux([],n),s=R(n.get("data"),B(IF,e,t,n));t&&(s=E(s,B(DF,t)));var l=vF(!!t,i);return r.initData(R(s,(function(t){return t[0]})),null,l),o.initData(R(s,(function(t){return t[1]})),null,l),a.initData(R(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;MF(e).from=h,MF(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);AF(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Ry(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:J(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:J(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:J(o.get("symbolSize"),f[r?0:1]),symbol:J(o.get("symbol",!0),d[r?0:1]),style:s})}F(d)||(d=[d,d]),F(f)||(f=[f,f]),F(g)||(g=[g,g]),F(y)||(y=[y,y]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){Ws(t).dataModel=e,t.traverse((function(t){Ws(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},n.type="markLine",n}(_F);const LF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.createMarkerModelFromSeries=function(t,e,i){return new n(t,e,i)},n.type="markArea",n.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},n}(uF);var PF=yo(),OF=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=fF(t,r),s=fF(t,o),l=a.coord,u=s.coord;l[0]=$(l[0],-1/0),l[1]=$(l[1],-1/0),u[0]=$(u[0],1/0),u[1]=$(u[1],1/0);var h=C([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function RF(t){return!isNaN(t)&&!isFinite(t)}function NF(t,e,n,i){var r=1-t;return RF(e[r])&&RF(n[r])}function EF(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return DS(t,"cartesian2d")?!(!n||!i||!NF(1,n,i)&&!NF(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!cF(e)&&!cF(n))||t.containZone(e.coord,n.coord)}(t,r,o):yF(t,r)||yF(t,o)}function zF(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Or(s.get(n[0]),r.getWidth()),u=Or(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(DS(a,"cartesian2d")){var y=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),x=t.get(n[1],e);RF(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):RF(x)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var VF=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];const BF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=uF.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=R(VF,(function(r){return zF(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Tr});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=R(t&&t.dimensions,(function(t){var n=e.getData();return D(D({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=R(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new ux(r,n)}else i=new ux(r=[{name:"value",type:"float"}],n);var s=R(n.get("data"),B(OF,e,t,n));t&&(s=E(s,B(EF,t)));var l=t?function(t,e,n,i){return If(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return If(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=R(VF,(function(n){return zF(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Nr(c),Nr(p);var d=!!(l[0]>c[1]||l[1]p[1]||h[1]=0},n.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},n.type="legend.plain",n.dependencies=["series"],n.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},n}(Rp);const GF=FF;var WF=B,HF=O,YF=Tr;function XF(t,e,n,i){jF(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),ZF(t,e,n,i)}function UF(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i0?2:0),HF(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?Mv(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[h]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=v||l||"roundRect",i,a,s,c,f,h),x=new YF,_=i.getModel("textStyle");if(!G(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(function(t){var e=t.icon||"roundRect",n=$y(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:d,icon:l,iconRotate:b,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var w="left"===o?p+5:-5,S=o,M=r.get("formatter"),I=e;W(M)&&M?I=M.replace("{name}",null!=e?e:""):G(M)&&(I=M(e));var T=f?_.getTextColor():i.get("inactiveColor");x.add(new Gs({style:tc(_,{text:I,x:w,y:d/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var C=new Is({shape:x.getBoundingRect(),invisible:!0}),D=i.getModel("tooltip");return D.get("show")&&Xh({el:C,componentModel:r,itemName:e,itemTooltipOption:D.option}),x.add(C),x.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(x),Pl(x),x.__legendDataIndex=n,x},n.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Ip(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Ip("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[y]=Math.min(0,h[y]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},n.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},n.type="legend.plain",n}(Lg);function KF(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;nn[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=J(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-p[r]:g[i]+=p[r]+v);y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var m={x:0,y:0};if(m[r]=d?n[r]:c[r],m[o]=Math.max(c[o],p[o]),m[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-v,0),x[o]=m[o],u.setClipPath(new Is({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&gh(l,{x:_.contentPosition[0],y:_.contentPosition[1]},d?t:null),this._updatePageInfoView(t,_),m},n.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},n.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;O(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",W(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},n.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=nG[r],a=iG[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(f=s-1,g=d,y=d,v=null;f>=-1;--f)(v=m(l[f]))&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},n.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},n.type="legend.scroll",n}(qF);const oG=rG;function aG(t){Rm(JF),t.registerComponentModel(tG),t.registerComponentView(oG),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}const sG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="dataZoom.inside",n.defaultOption=Cc(Uz.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),n}(Uz);var lG=yo();function uG(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function hG(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function cG(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function pG(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=lG(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=ht());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){O(Wz(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:B(cG,e),dispatchAction:B(hG,t),dataZoomInfoMap:null,controller:null},i=n.controller=new lT(t.getZr());return O(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=ht())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Ug(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else uG(i,t)}))}))}var dG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return e(n,t),n.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){lG(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:V(fG.pan,this),zoom:V(fG.zoom,this),scrollMove:V(fG.scrollMove,this)}))},n.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){!function(t,e){for(var n=lG(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return $k(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:gG((function(t,e,n,i,r,o){var a=yG[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:gG((function(t,e,n,i,r,o){return yG[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function gG(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return $k(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var yG={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};const vG=dG;function mG(t){nV(t),t.registerComponentModel(sG),t.registerComponentView(vG),pG(t)}const xG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="dataZoom.slider",n.layoutMode="box",n.defaultOption=Cc(Uz.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),n}(Uz);var _G=Is,bG="horizontal",wG="vertical",SG=["line","bar","candlestick","scatter"],MG={easing:"cubicOut",duration:100,delay:0},IG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._displayables={},e}return e(n,t),n.prototype.init=function(t,e){this.api=e,this._onBrush=V(this._onBrush,this),this._onBrushEnd=V(this._onBrushEnd,this)},n.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Ug(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},n.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){Zg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},n.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Tr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},n.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===bG?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=kp(t.option);O(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=Tp(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===wG&&this._size.reverse()},n.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==bG||r?n===bG&&r?{scaleY:a?1:-1,scaleX:-1}:n!==wG||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},n.prototype._getViewExtent=function(){return[0,this._size[0]]},n.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new _G({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new _G({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:V(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},n.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:Pr(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x,_,b,w,S,M=this.dataZoomModel,I=0;I<3;I++){var T=(x=1===I,_=void 0,b=void 0,w=void 0,S=void 0,_=M.getModel(x?"selectedDataBackground":"dataBackground"),b=new Tr,w=new Eu({shape:{points:s},segmentIgnoreThreshold:1,style:_.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),S=new Bu({shape:{points:l},segmentIgnoreThreshold:1,style:_.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19}),b.add(w),b.add(S),b);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}}}},n.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){O(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&k(SG,t.get("type"))<0)){var a,s=i.getComponent(Fz(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},n.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new _G({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new _G({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),O([0,1],(function(e){var o=a.get("handleIcon");!jy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=$y(o,-1,0,2,2,null,!0);s.attr({cursor:TG(this._orient),draggable:!0,drift:V(this._onDragMove,this,e),ondragend:V(this._onDragEnd,this),onmouseover:V(this._showDataInfo,this,!0),onmouseout:V(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=Or(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Pl(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new Gs({silent:!0,invisible:!0,style:tc(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=Or(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new Is({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=$y(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new Is({invisible:!0,shape:{y:o[1]-y,height:p+y}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:TG(this._orient),drift:V(this._onDragMove,this,"all"),ondragstart:V(this._showDataInfo,this,!0),ondragend:V(this._onDragEnd,this),onmouseover:V(this._showDataInfo,this,!0),onmouseout:V(this._showDataInfo,this,!1)})},n.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Pr(t[0],[0,100],e,!0),Pr(t[1],[0,100],e,!0)]},n.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];$k(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?Pr(o.minSpan,a,r,!0):null,null!=o.maxSpan?Pr(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Nr([Pr(i[0],r,a,!0),Pr(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},n.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Nr(n.slice()),r=this._size;O([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},n.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new de(e,n),this._brushing=!0,this._brushStartTime=+new Date},n.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=Nr([Pr(n.x,i,r,!0),Pr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},n.prototype._onBrush=function(t){this._brushing&&(ee(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},n.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new _G({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},n.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?MG:null,start:e[0],end:e[1]})},n.prototype._findCoordRect=function(){var t,e=Wz(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},n.type="dataZoom.slider",n}(jz);function TG(t){return"vertical"===t?"ns-resize":"ew-resize"}const CG=IG;function DG(t){t.registerComponentModel(xG),t.registerComponentView(CG),nV(t)}var AG={get:function(t,e,n){var i=I((kG[t]||{})[e]);return n&&F(i)?i[i.length-1]:i}},kG={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const LG=AG;var PG=$D.mapVisual,OG=$D.eachVisual,RG=F,NG=O,EG=Nr,zG=Pr,VG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return e(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.optionUpdated=function(t,e){var n=this.option;!e&&IB(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},n.prototype.resetVisual=function(t){var e=this.stateList;t=V(t,this),this.controllerVisuals=MB(this.option.controller,e,t),this.targetVisuals=MB(this.option.target,e,t)},n.prototype.getItemSymbol=function(){return null},n.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=io(t),e},n.prototype.eachTargetSeries=function(t,e){O(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},n.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},n.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],F(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return W(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):G(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},n.prototype.resetExtent=function(){var t=this.option,e=EG([t.min,t.max]);this._dataExtent=e},n.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},n.prototype.getExtent=function(){return this._dataExtent.slice()},n.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});T(i,n),T(r,n);var o=this.isCategory();function a(n){RG(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},NG(i,(function(t,e){if($D.isValidType(e)){var n=LG.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";NG(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&I(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&I(n)||(o?s[0]:[s[0],s[0]])),l.symbol=PG(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;OG(u,(function(t){t>h&&(h=t)})),l.symbolSize=PG(u,(function(t){return zG(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},n.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},n.prototype.isCategory=function(){return!!this.option.categories},n.prototype.setSelected=function(t){},n.prototype.getSelected=function(){return null},n.prototype.getValueState=function(t){return null},n.prototype.getVisualMeta=function(t){return null},n.type="visualMap",n.dependencies=["series"],n.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},n}(Rp);const BG=VG;var FG=[20,140];function GG(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&re[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},n.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),O(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},n.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},n.prototype.getSelected=function(){var t=this.getExtent(),e=Nr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},n.prototype.getVisualMeta=function(t){var e=GG(this,"outOfRange",this.getExtent()),n=GG(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},n.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},n.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Tr("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},n.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();jG([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var h=ZG(t[l],[0,a[1]],s,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/a[0],u.x=a[0]-c/2;var p=Eh(n.handleLabelPoints[l],Nh(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},n.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=ZG(t,o,s,!0),d=a[0]-c/2,f={x:u.x,y:u.y};u.y=p,u.x=d;var g=Eh(l.indicatorLabelPoint,Nh(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var x={x:d,y:p,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||QG(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function oW(t,e,n,i){for(var r=e.targetVisuals[i],o=$D.prepareVisualTypes(r),a={color:Ry(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(nW,iW),O(rW,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(sW))}function cW(t){t.registerComponentModel(WG),t.registerComponentView(eW),hW(t)}var pW=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._pieceList=[],e}return e(n,t),n.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],dW[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=I(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=R(this._pieceList,(function(t){return t=I(t),"inRange"!==e&&(t.visual=null),t})))}))},n.prototype.completeVisualOption=function(){var e=this.option,n={},i=$D.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}O(e.pieces,(function(t){O(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),O(n,(function(t,n){var i=!1;O(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&O(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=LG.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},n.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,O(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;O(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},n.prototype.getItemSymbol=function(){return this.get("itemSymbol")},n.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},n.prototype.getPieceList=function(){return this._pieceList},n.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},n.prototype.setSelected=function(t){this.option.selected=I(t)},n.prototype.getValueState=function(t){var e=$D.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){$D.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},n.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},n.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return O(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},n.type="visualMap.piecewise",n.defaultOption=Cc(BG.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),n}(BG),dW={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function fW(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}const gW=pW;const yW=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=$(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,h,a),O(l.viewPieceList,(function(i){var l=i.piece,u=new Tr;u.onclick=V(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),h){var p=this.visualMapModel.getValueState(c);u.add(new Gs({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),Ip(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},n.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:UG(i.findTargetDataIndices(e),i)})}},n.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return XG(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},n.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Tr,a=this.visualMapModel.textStyleModel;o.add(new Gs({style:tc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},n.prototype._getViewData=function(){var t=this.visualMapModel,e=R(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},n.prototype._createItemSymbol=function(t,e,n){t.add($y(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},n.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=I(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,O(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},n.type="visualMap.piecewise",n}(HG);function vW(t){t.registerComponentModel(gW),t.registerComponentView(yW),hW(t)}var mW={label:{enabled:!0},decal:{show:!1}},xW=yo(),_W={};function bW(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=I(mW);T(i.label,t.getLocaleModel().get("aria"),!1),T(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=ht();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),xW(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(G(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=ud(e.ecModel,e.name,_W,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=xW(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=ud(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?D(D({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=t.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=A(o.option,i),!o.get("enabled"))return;var a=e.getZr().dom;if(o.get("description"))return void a.setAttribute("aria-label",o.get("description"));var s,l=t.getSeriesCount(),u=o.get(["data","maxCount"])||10,h=o.get(["series","maxCount"])||10,c=Math.min(l,h);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(o.get(["general","withTitle"]),{title:p}):o.get(["general","withoutTitle"]);var d=[];s+=r(l>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?o.get(["series","multiple",a]):o.get(["series","single",a]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(x=e.subType,t.getLocaleModel().get(["series","typeNames"])[x]||"自定义图")});var s=e.getData();if(s.count()>u)i+=r(o.get(["data","partialData"]),{displayCnt:u});else i+=o.get(["data","allData"]);for(var h=o.get(["data","separator","middle"]),p=o.get(["data","separator","end"]),f=[],g=0;g":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},MW=function(){function t(t){var e;if(null==(this._condVal=W(t)?new RegExp(t):(e=t,"[object RegExp]"===d.call(e)?t:null))){Qr("")}}return t.prototype.evaluate=function(t){var e=typeof t;return W(e)?this._condVal.test(t):!!Y(e)&&this._condVal.test(t+"")},t}(),IW=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),TW=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&C.push(e),e=[t,n]}function O(t,n,i,r){BW(t,i)&&BW(n,r)||e.push(t,n,i,r,i,r)}for(var R=0;RW:X2&&C.push(e),C}function GW(t,e,n,i,r,o,a,s,l,u){if(BW(t,n)&&BW(e,i)&&BW(r,a)&&BW(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,d=s-e,f=Math.sqrt(p*p+d*d);p/=f,d/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];cn(t,n,r,a,.5,S),cn(e,i,o,s,.5,M),GW(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),GW(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function WW(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=WW([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;d1?null:new de(d*l+t,d*u+e)}function UW(t,e,n){var i=new de;de.sub(i,n,e),i.normalize();var r=new de;return de.sub(r,t,e),r.dot(i)}function ZW(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function jW(t){var e=t.points,n=[],i=[];ma(e,n,i);var r=new Se(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new de,h=new de;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=WW([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),I=0;for(x=0;x0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function cH(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=R(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return R(o,(function(o,a){return{cp:o,z:hH(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function pH(t){return $W(t.path,t.count)}function dH(t){return F(t[0])}function fH(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var gH={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);dH(t)&&(s=t,l=e),dH(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?fH(l,s):fH(c?e:t,[c?t:e]),d=0,f=0;f1e4))for(var i=n.getIndices(),r=function(t){for(var e=t.dimensions,n=0;n0&&i.group.traverse((function(t){t instanceof hs&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function IH(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function TH(t){return F(t)?t.sort().join(","):t}function CH(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function DH(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:CH(e.oldData[n]),dim:t.dimension})})),O(io(t.to),(function(t){var i=DH(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:CH(r),dim:t.dimension})}})),r.length>0&&o.length>0&&MH(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=ht(),i=ht(),r=ht();return O(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=IH(e),l=TH(s);i.set(l,{dataGroupId:o,data:a}),F(s)&&O(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),O(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=IH(t),s=TH(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:CH(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:CH(o),data:o}]});else if(F(a)){var u=[];O(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:CH(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:CH(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:CH(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:CH(o)})}}}})),n}(i,n);O(o.keys(),(function(t){var n=o.get(t);MH(n.oldSeries,n.newSeries,e)}))}O(n.updatedSeries,(function(t){t[_g]&&(t[_g]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;hs(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:r},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:t(String),default:"cover"}}),D={error:e=>e instanceof Event},b=c({name:"ElAvatar"});const q=_(k(c({...b,props:j,emits:D,setup(e,{emit:a}){const r=e,t=i("avatar"),c=l(!1),k=p((()=>{const{size:e,icon:a,shape:s}=r,c=[t.b()];return n(e)&&c.push(t.m(e)),a&&c.push(t.m("icon")),s&&c.push(t.m(s)),c})),_=p((()=>{const{size:e}=r;return s(e)?t.cssVarBlock({size:u(e)||""}):void 0})),w=p((()=>({objectFit:r.fit})));function E(e){c.value=!0,a("error",e)}return o((()=>r.src),(()=>c.value=!1)),(e,a)=>(v(),m("span",{class:B(d(k)),style:f(d(_))},[!e.src&&!e.srcSet||c.value?e.icon?(v(),y(d(h),{key:1},{default:g((()=>[(v(),y(S(e.icon)))])),_:1})):I(e.$slots,"default",{key:2}):(v(),m("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:f(d(w)),onError:E},null,44,["src","alt","srcset"]))],6))}}),[["__file","avatar.vue"]])),x=""+new URL("087AC4D233B64EB0noBody.png",import.meta.url).href,T={class:"headerAvatar"},F=["src"],$=["src"],G=C(Object.assign({name:"CustomPic"},{__name:"index",props:{picType:{type:String,required:!1,default:"avatar"},picSrc:{type:String,required:!1,default:""},preview:{type:Boolean,default:!1}},setup(e){const a=e,s=l("/api/"),r=l(x),t=w(),c=p((()=>""===a.picSrc?""!==t.userInfo.headerImg&&"http"===t.userInfo.headerImg.slice(0,4)?t.userInfo.headerImg:s.value+t.userInfo.headerImg:""!==a.picSrc&&"http"===a.picSrc.slice(0,4)?a.picSrc:s.value+a.picSrc)),i=p((()=>a.picSrc&&"http"!==a.picSrc.slice(0,4)?s.value+a.picSrc:a.picSrc)),n=p((()=>a.preview?[i.value]:[]));return(a,s)=>{const l=q,p=A;return v(),m("span",T,["avatar"===e.picType?(v(),m(E,{key:0},[d(t).userInfo.headerImg?(v(),y(l,{key:0,size:30,src:c.value},null,8,["src"])):(v(),y(l,{key:1,size:30,src:r.value},null,8,["src"]))],64)):z("",!0),"img"===e.picType?(v(),m(E,{key:1},[d(t).userInfo.headerImg?(v(),m("img",{key:0,src:c.value,class:"avatar"},null,8,F)):(v(),m("img",{key:1,src:r.value,class:"avatar"},null,8,$))],64)):z("",!0),"file"===e.picType?(v(),y(p,{key:2,src:i.value,class:"file","preview-src-list":n.value,"preview-teleported":!0},null,8,["src","preview-src-list"])):z("",!0)])}}}),[["__scopeId","data-v-a9ea8f7c"]]);export{G as C}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index25.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index25.js new file mode 100644 index 000000000..2b43d115b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index25.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,B as a,q as t,ah as n,C as l,o as i,c as r,t as s,h as u,w as o,G as p,D as d,H as c,_ as g,ab as v,$ as b,aL as m,aY as f,v as C,a as y,X as z,e as x,K as P,L as h,n as S,b as k,k as N,aN as B,f as T,cq as E,cr as _,cs as M,m as I,a7 as A,ct as j,aJ as q,a2 as L,ap as w,cu as U,ce as D,x as F,ae as K,y as $,I as J}from"./087AC4D233B64EB0index.js";import{E as O,a as G}from"./087AC4D233B64EB0select.js";import{i as H}from"./087AC4D233B64EB0isEqual.js";const V=Symbol("elPaginationKey"),W=e({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:a}}),X={click:e=>e instanceof MouseEvent},Y=t({name:"ElPaginationPrev"});var Q=g(t({...Y,props:W,emits:X,setup(e){const a=e,{t:t}=n(),g=l((()=>a.disabled||a.currentPage<=1));return(e,a)=>(i(),r("button",{type:"button",class:"btn-prev",disabled:d(g),"aria-label":e.prevText||d(t)("el.pagination.prev"),"aria-disabled":d(g),onClick:a=>e.$emit("click",a)},[e.prevText?(i(),r("span",{key:0},s(e.prevText),1)):(i(),u(d(c),{key:1},{default:o((()=>[(i(),u(p(e.prevIcon)))])),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}}),[["__file","prev.vue"]]);const R=e({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:a}}),Z=t({name:"ElPaginationNext"});var ee=g(t({...Z,props:R,emits:["click"],setup(e){const a=e,{t:t}=n(),g=l((()=>a.disabled||a.currentPage===a.pageCount||0===a.pageCount));return(e,a)=>(i(),r("button",{type:"button",class:"btn-next",disabled:d(g),"aria-label":e.nextText||d(t)("el.pagination.next"),"aria-disabled":d(g),onClick:a=>e.$emit("click",a)},[e.nextText?(i(),r("span",{key:0},s(e.nextText),1)):(i(),u(d(c),{key:1},{default:o((()=>[(i(),u(p(e.nextIcon)))])),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}}),[["__file","next.vue"]]);const ae=()=>v(V,{}),te=e({pageSize:{type:Number,required:!0},pageSizes:{type:b(Array),default:()=>m([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:f},appendSizeTo:String}),ne=t({name:"ElPaginationSizes"});var le=g(t({...ne,props:te,emits:["page-size-change"],setup(e,{emit:a}){const t=e,{t:s}=n(),p=C("pagination"),c=ae(),g=y(t.pageSize);z((()=>t.pageSizes),((e,n)=>{if(!H(e,n)&&Array.isArray(e)){const n=e.includes(t.pageSize)?t.pageSize:t.pageSizes[0];a("page-size-change",n)}})),z((()=>t.pageSize),(e=>{g.value=e}));const v=l((()=>t.pageSizes));function b(e){var a;e!==g.value&&(g.value=e,null==(a=c.handleSizeChange)||a.call(c,Number(e)))}return(e,a)=>(i(),r("span",{class:S(d(p).e("sizes"))},[x(d(G),{"model-value":g.value,disabled:e.disabled,"popper-class":e.popperClass,size:e.size,teleported:e.teleported,"validate-event":!1,"append-to":e.appendSizeTo,onChange:b},{default:o((()=>[(i(!0),r(P,null,h(d(v),(e=>(i(),u(d(O),{key:e,value:e,label:e+d(s)("el.pagination.pagesize")},null,8,["value","label"])))),128))])),_:1},8,["model-value","disabled","popper-class","size","teleported","append-to"])],2))}}),[["__file","sizes.vue"]]);const ie=e({size:{type:String,values:f}}),re=t({name:"ElPaginationJumper"});var se=g(t({...re,props:ie,setup(e){const{t:a}=n(),t=C("pagination"),{pageCount:u,disabled:o,currentPage:p,changeEvent:c}=ae(),g=y(),v=l((()=>{var e;return null!=(e=g.value)?e:null==p?void 0:p.value}));function b(e){g.value=e?+e:""}function m(e){e=Math.trunc(+e),null==c||c(e),g.value=void 0}return(e,n)=>(i(),r("span",{class:S(d(t).e("jump")),disabled:d(o)},[k("span",{class:S([d(t).e("goto")])},s(d(a)("el.pagination.goto")),3),x(d(N),{size:e.size,class:S([d(t).e("editor"),d(t).is("in-pagination")]),min:1,max:d(u),disabled:d(o),"model-value":d(v),"validate-event":!1,"aria-label":d(a)("el.pagination.page"),type:"number","onUpdate:modelValue":b,onChange:m},null,8,["size","class","max","disabled","model-value","aria-label"]),k("span",{class:S([d(t).e("classifier")])},s(d(a)("el.pagination.pageClassifier")),3)],10,["disabled"]))}}),[["__file","jumper.vue"]]);const ue=e({total:{type:Number,default:1e3}}),oe=t({name:"ElPaginationTotal"});var pe=g(t({...oe,props:ue,setup(e){const{t:a}=n(),t=C("pagination"),{disabled:l}=ae();return(e,n)=>(i(),r("span",{class:S(d(t).e("total")),disabled:d(l)},s(d(a)("el.pagination.total",{total:e.total})),11,["disabled"]))}}),[["__file","total.vue"]]);const de=e({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),ce=t({name:"ElPaginationPager"});var ge=g(t({...ce,props:de,emits:["change"],setup(e,{emit:a}){const t=e,o=C("pager"),p=C("icon"),{t:c}=n(),g=y(!1),v=y(!1),b=y(!1),m=y(!1),f=y(!1),z=y(!1),x=l((()=>{const e=t.pagerCount,a=(e-1)/2,n=Number(t.currentPage),l=Number(t.pageCount);let i=!1,r=!1;l>e&&(n>e-a&&(i=!0),n["more","btn-quickprev",p.b(),o.is("disabled",t.disabled)])),N=l((()=>["more","btn-quicknext",p.b(),o.is("disabled",t.disabled)])),A=l((()=>t.disabled?-1:0));function j(e=!1){t.disabled||(e?b.value=!0:m.value=!0)}function q(e=!1){e?f.value=!0:z.value=!0}function L(e){const n=e.target;if("li"===n.tagName.toLowerCase()&&Array.from(n.classList).includes("number")){const e=Number(n.textContent);e!==t.currentPage&&a("change",e)}else"li"===n.tagName.toLowerCase()&&Array.from(n.classList).includes("more")&&w(e)}function w(e){const n=e.target;if("ul"===n.tagName.toLowerCase()||t.disabled)return;let l=Number(n.textContent);const i=t.pageCount,r=t.currentPage,s=t.pagerCount-2;n.className.includes("more")&&(n.className.includes("quickprev")?l=r-s:n.className.includes("quicknext")&&(l=r+s)),Number.isNaN(+l)||(l<1&&(l=1),l>i&&(l=i)),l!==r&&a("change",l)}return B((()=>{const e=(t.pagerCount-1)/2;g.value=!1,v.value=!1,t.pageCount>t.pagerCount&&(t.currentPage>t.pagerCount-e&&(g.value=!0),t.currentPage(i(),r("ul",{class:S(d(o).b()),onClick:w,onKeyup:I(L,["enter"])},[e.pageCount>0?(i(),r("li",{key:0,class:S([[d(o).is("active",1===e.currentPage),d(o).is("disabled",e.disabled)],"number"]),"aria-current":1===e.currentPage,"aria-label":d(c)("el.pagination.currentPage",{pager:1}),tabindex:d(A)}," 1 ",10,["aria-current","aria-label","tabindex"])):T("v-if",!0),g.value?(i(),r("li",{key:1,class:S(d(k)),tabindex:d(A),"aria-label":d(c)("el.pagination.prevPages",{pager:e.pagerCount-2}),onMouseenter:e=>j(!0),onMouseleave:e=>b.value=!1,onFocus:e=>q(!0),onBlur:e=>f.value=!1},[!b.value&&!f.value||e.disabled?(i(),u(d(_),{key:1})):(i(),u(d(E),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):T("v-if",!0),(i(!0),r(P,null,h(d(x),(a=>(i(),r("li",{key:a,class:S([[d(o).is("active",e.currentPage===a),d(o).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===a,"aria-label":d(c)("el.pagination.currentPage",{pager:a}),tabindex:d(A)},s(a),11,["aria-current","aria-label","tabindex"])))),128)),v.value?(i(),r("li",{key:2,class:S(d(N)),tabindex:d(A),"aria-label":d(c)("el.pagination.nextPages",{pager:e.pagerCount-2}),onMouseenter:e=>j(),onMouseleave:e=>m.value=!1,onFocus:e=>q(),onBlur:e=>z.value=!1},[!m.value&&!z.value||e.disabled?(i(),u(d(_),{key:1})):(i(),u(d(M),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):T("v-if",!0),e.pageCount>1?(i(),r("li",{key:3,class:S([[d(o).is("active",e.currentPage===e.pageCount),d(o).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===e.pageCount,"aria-label":d(c)("el.pagination.currentPage",{pager:e.pageCount}),tabindex:d(A)},s(e.pageCount),11,["aria-current","aria-label","tabindex"])):T("v-if",!0)],42,["onKeyup"]))}}),[["__file","pager.vue"]]);const ve=e=>"number"!=typeof e,be=e({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>A(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2==1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:b(Array),default:()=>m([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:a,default:()=>j},nextText:{type:String,default:""},nextIcon:{type:a,default:()=>q},teleported:{type:Boolean,default:!0},small:Boolean,size:L,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),me="ElPagination";const fe=J(t({name:me,props:be,emits:{"update:current-page":e=>A(e),"update:page-size":e=>A(e),"size-change":e=>A(e),change:(e,a)=>A(e)&&A(a),"current-change":e=>A(e),"prev-click":e=>A(e),"next-click":e=>A(e)},setup(e,{emit:a,slots:t}){const{t:i}=n(),r=C("pagination"),s=w().vnode.props||{},u=U(),o=l((()=>{var a;return e.small?"small":null!=(a=e.size)?a:u.value}));D({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},l((()=>!!e.small)));const p="onUpdate:currentPage"in s||"onUpdate:current-page"in s||"onCurrentChange"in s,d="onUpdate:pageSize"in s||"onUpdate:page-size"in s||"onSizeChange"in s,c=l((()=>{if(ve(e.total)&&ve(e.pageCount))return!1;if(!ve(e.currentPage)&&!p)return!1;if(e.layout.includes("sizes"))if(ve(e.pageCount)){if(!ve(e.total)&&!ve(e.pageSize)&&!d)return!1}else if(!d)return!1;return!0})),g=y(ve(e.defaultPageSize)?10:e.defaultPageSize),v=y(ve(e.defaultCurrentPage)?1:e.defaultCurrentPage),b=l({get:()=>ve(e.pageSize)?g.value:e.pageSize,set(t){ve(e.pageSize)&&(g.value=t),d&&(a("update:page-size",t),a("size-change",t))}}),m=l((()=>{let a=0;return ve(e.pageCount)?ve(e.total)||(a=Math.max(1,Math.ceil(e.total/b.value))):a=e.pageCount,a})),f=l({get:()=>ve(e.currentPage)?v.value:e.currentPage,set(t){let n=t;t<1?n=1:t>m.value&&(n=m.value),ve(e.currentPage)&&(v.value=n),p&&(a("update:current-page",n),a("current-change",n))}});function x(e){f.value=e}function P(){e.disabled||(f.value-=1,a("prev-click",f.value))}function h(){e.disabled||(f.value+=1,a("next-click",f.value))}function S(e,a){e&&(e.props||(e.props={}),e.props.class=[e.props.class,a].join(" "))}return z(m,(e=>{f.value>e&&(f.value=e)})),z([f,b],(e=>{a("change",...e)}),{flush:"post"}),F(V,{pageCount:m,disabled:l((()=>e.disabled)),currentPage:f,changeEvent:x,handleSizeChange:function(e){b.value=e;const a=m.value;f.value>a&&(f.value=a)}}),()=>{var a,n;if(!c.value)return K(me,i("el.pagination.deprecationWarning")),null;if(!e.layout)return null;if(e.hideOnSinglePage&&m.value<=1)return null;const l=[],s=[],u=$("div",{class:r.e("rightwrapper")},s),p={prev:$(Q,{disabled:e.disabled,currentPage:f.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:P}),jumper:$(se,{size:o.value}),pager:$(ge,{currentPage:f.value,pageCount:m.value,pagerCount:e.pagerCount,onChange:x,disabled:e.disabled}),next:$(ee,{disabled:e.disabled,currentPage:f.value,pageCount:m.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:h}),sizes:$(le,{pageSize:b.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:o.value,appendSizeTo:e.appendSizeTo}),slot:null!=(n=null==(a=null==t?void 0:t.default)?void 0:a.call(t))?n:null,total:$(pe,{total:ve(e.total)?0:e.total})},d=e.layout.split(",").map((e=>e.trim()));let g=!1;return d.forEach((e=>{"->"!==e?g?s.push(p[e]):l.push(p[e]):g=!0})),S(l[0],r.is("first")),S(l[l.length-1],r.is("last")),g&&s.length>0&&(S(s[0],r.is("first")),S(s[s.length-1],r.is("last")),l.push(u)),$("div",{class:[r.b(),r.is("background",e.background),r.m(o.value)]},l)}}}));export{fe as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index26.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index26.js new file mode 100644 index 000000000..665e1ba57 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index26.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{ad as e,a8 as t,aR as a,A as s,$ as l,aL as o,bz as n,q as i,ah as r,v as u,cc as c,a as d,C as p,o as f,h as v,w as y,c as m,K as g,L as h,n as b,D as k,m as w,z as F,f as E,b as R,ak as C,e as x,H as S,cI as L,t as T,F as $,cJ as _,cK as U,bJ as B,cA as P,aU as D,b4 as j,_ as O,ab as A,O as q,cL as H,cM as K,a$ as M,cN as z,X,ae as N,aw as J,x as I,as as W,ax as G,ay as Q,I as V}from"./087AC4D233B64EB0index.js";import{E as Y}from"./087AC4D233B64EB0index27.js";import{c as Z}from"./087AC4D233B64EB0cloneDeep.js";import{i as ee}from"./087AC4D233B64EB0isEqual.js";const te=Symbol("uploadContextKey");class ae extends Error{constructor(e,t,a,s){super(e),this.name="UploadAjaxError",this.status=t,this.method=a,this.url=s}}function se(e,t,a){let s;return s=a.response?"".concat(a.response.error||a.response):a.responseText?"".concat(a.responseText):"fail to ".concat(t.method," ").concat(e," ").concat(a.status),new ae(s,a.status,t.method,e)}const le=["text","picture","picture-card"];let oe=1;const ne=()=>Date.now()+oe++,ie=s({action:{type:String,default:"#"},headers:{type:l(Object)},method:{type:String,default:"post"},data:{type:l([Object,Function,Promise]),default:()=>o({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:l(Array),default:()=>o([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:le,default:"text"},httpRequest:{type:l(Function),default:s=>{"undefined"==typeof XMLHttpRequest&&e("ElUpload","XMLHttpRequest is undefined");const l=new XMLHttpRequest,o=s.action;l.upload&&l.upload.addEventListener("progress",(e=>{const t=e;t.percent=e.total>0?e.loaded/e.total*100:0,s.onProgress(t)}));const n=new FormData;if(s.data)for(const[e,a]of Object.entries(s.data))t(a)&&a.length?n.append(e,...a):n.append(e,a);n.append(s.filename,s.file,s.file.name),l.addEventListener("error",(()=>{s.onError(se(o,s,l))})),l.addEventListener("load",(()=>{if(l.status<200||l.status>=300)return s.onError(se(o,s,l));s.onSuccess(function(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(a){return t}}(l))})),l.open(s.method,o,!0),s.withCredentials&&"withCredentials"in l&&(l.withCredentials=!0);const i=s.headers||{};if(i instanceof Headers)i.forEach(((e,t)=>l.setRequestHeader(t,e)));else for(const[e,t]of Object.entries(i))a(t)||l.setRequestHeader(e,String(t));return l.send(n),l}},disabled:Boolean,limit:Number}),re=s({...ie,beforeUpload:{type:l(Function),default:n},beforeRemove:{type:l(Function)},onRemove:{type:l(Function),default:n},onChange:{type:l(Function),default:n},onPreview:{type:l(Function),default:n},onSuccess:{type:l(Function),default:n},onProgress:{type:l(Function),default:n},onError:{type:l(Function),default:n},onExceed:{type:l(Function),default:n},crossorigin:{type:l(String)}}),ue=s({files:{type:l(Array),default:()=>o([])},disabled:{type:Boolean,default:!1},handlePreview:{type:l(Function),default:n},listType:{type:String,values:le,default:"text"},crossorigin:{type:l(String)}}),ce=i({name:"ElUploadList"});var de=O(i({...ce,props:ue,emits:{remove:e=>!!e},setup(e,{emit:t}){const a=e,{t:s}=r(),l=u("upload"),o=u("icon"),n=u("list"),i=c(),O=d(!1),A=p((()=>[l.b("list"),l.bm("list",a.listType),l.is("disabled",a.disabled)])),q=e=>{t("remove",e)};return(e,t)=>(f(),v(j,{tag:"ul",class:b(k(A)),name:k(n).b()},{default:y((()=>[(f(!0),m(g,null,h(e.files,((t,a)=>(f(),m("li",{key:t.uid||t.name,class:b([k(l).be("list","item"),k(l).is(t.status),{focusing:O.value}]),tabindex:"0",onKeydown:w((e=>!k(i)&&q(t)),["delete"]),onFocus:e=>O.value=!0,onBlur:e=>O.value=!1,onClick:e=>O.value=!1},[F(e.$slots,"default",{file:t,index:a},(()=>["picture"===e.listType||"uploading"!==t.status&&"picture-card"===e.listType?(f(),m("img",{key:0,class:b(k(l).be("list","item-thumbnail")),src:t.url,crossorigin:e.crossorigin,alt:""},null,10,["src","crossorigin"])):E("v-if",!0),"uploading"===t.status||"picture-card"!==e.listType?(f(),m("div",{key:1,class:b(k(l).be("list","item-info"))},[R("a",{class:b(k(l).be("list","item-name")),onClick:C((a=>e.handlePreview(t)),["prevent"])},[x(k(S),{class:b(k(o).m("document"))},{default:y((()=>[x(k(L))])),_:1},8,["class"]),R("span",{class:b(k(l).be("list","item-file-name")),title:t.name},T(t.name),11,["title"])],10,["onClick"]),"uploading"===t.status?(f(),v(k(Y),{key:0,type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:Number(t.percentage),style:$("picture-card"===e.listType?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):E("v-if",!0)],2)):E("v-if",!0),R("label",{class:b(k(l).be("list","item-status-label"))},["text"===e.listType?(f(),v(k(S),{key:0,class:b([k(o).m("upload-success"),k(o).m("circle-check")])},{default:y((()=>[x(k(_))])),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(f(),v(k(S),{key:1,class:b([k(o).m("upload-success"),k(o).m("check")])},{default:y((()=>[x(k(U))])),_:1},8,["class"])):E("v-if",!0)],2),k(i)?E("v-if",!0):(f(),v(k(S),{key:2,class:b(k(o).m("close")),onClick:e=>q(t)},{default:y((()=>[x(k(B))])),_:2},1032,["class","onClick"])),E(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),E(" This is a bug which needs to be fixed "),E(" TODO: Fix the incorrect navigation interaction "),k(i)?E("v-if",!0):(f(),m("i",{key:3,class:b(k(o).m("close-tip"))},T(k(s)("el.upload.deleteTip")),3)),"picture-card"===e.listType?(f(),m("span",{key:4,class:b(k(l).be("list","item-actions"))},[R("span",{class:b(k(l).be("list","item-preview")),onClick:a=>e.handlePreview(t)},[x(k(S),{class:b(k(o).m("zoom-in"))},{default:y((()=>[x(k(P))])),_:1},8,["class"])],10,["onClick"]),k(i)?E("v-if",!0):(f(),m("span",{key:0,class:b(k(l).be("list","item-delete")),onClick:e=>q(t)},[x(k(S),{class:b(k(o).m("delete"))},{default:y((()=>[x(k(D))])),_:1},8,["class"])],10,["onClick"]))],2)):E("v-if",!0)]))],42,["onKeydown","onFocus","onBlur","onClick"])))),128)),F(e.$slots,"append")])),_:3},8,["class","name"]))}}),[["__file","upload-list.vue"]]);const pe=s({disabled:{type:Boolean,default:!1}}),fe={file:e=>t(e)},ve="ElUploadDrag",ye=i({name:ve});var me=O(i({...ye,props:pe,emits:fe,setup(t,{emit:a}){A(te)||e(ve,"usage: ");const s=u("upload"),l=d(!1),o=c(),n=e=>{if(o.value)return;l.value=!1,e.stopPropagation();const t=Array.from(e.dataTransfer.files);a("file",t)},i=()=>{o.value||(l.value=!0)};return(e,t)=>(f(),m("div",{class:b([k(s).b("dragger"),k(s).is("dragover",l.value)]),onDrop:C(n,["prevent"]),onDragover:C(i,["prevent"]),onDragleave:C((e=>l.value=!1),["prevent"])},[F(e.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}}),[["__file","upload-dragger.vue"]]);const ge=s({...ie,beforeUpload:{type:l(Function),default:n},onRemove:{type:l(Function),default:n},onStart:{type:l(Function),default:n},onSuccess:{type:l(Function),default:n},onProgress:{type:l(Function),default:n},onError:{type:l(Function),default:n},onExceed:{type:l(Function),default:n}}),he=i({name:"ElUploadContent",inheritAttrs:!1});var be=O(i({...he,props:ge,setup(e,{expose:t}){const a=e,s=u("upload"),l=c(),o=q({}),n=q(),i=e=>{if(0===e.length)return;const{autoUpload:t,limit:s,fileList:l,multiple:o,onStart:n,onExceed:i}=a;if(s&&l.length+e.length>s)i(e,l);else{o||(e=e.slice(0,1));for(const a of e){const e=a;e.uid=ne(),n(e),t&&r(e)}}},r=async e=>{if(n.value.value="",!a.beforeUpload)return d(e);let t,s={};try{const l=a.data,o=a.beforeUpload(e);s=H(a.data)?Z(a.data):a.data,t=await o,H(a.data)&&ee(l,s)&&(s=Z(a.data))}catch(o){t=!1}if(!1===t)return void a.onRemove(e);let l=e;t instanceof Blob&&(l=t instanceof File?t:new File([t],e.name,{type:e.type})),d(Object.assign(l,{uid:e.uid}),s)},d=async(e,t)=>{const{headers:s,data:l,method:n,withCredentials:i,name:r,action:u,onProgress:c,onSuccess:d,onError:p,httpRequest:f}=a;try{t=await(async(e,t)=>M(e)?e(t):e)(null!=t?t:l,e)}catch(g){return void a.onRemove(e)}const{uid:v}=e,y={headers:s||{},withCredentials:i,file:e,data:t,method:n,filename:r,action:u,onProgress:t=>{c(t,e)},onSuccess:t=>{d(t,e),delete o.value[v]},onError:t=>{p(t,e),delete o.value[v]}},m=f(y);o.value[v]=m,m instanceof Promise&&m.then(y.onSuccess,y.onError)},p=e=>{const t=e.target.files;t&&i(Array.from(t))},g=()=>{l.value||(n.value.value="",n.value.click())},h=()=>{g()};return t({abort:e=>{K(o.value).filter(e?([t])=>String(e.uid)===t:()=>!0).forEach((([e,t])=>{t instanceof XMLHttpRequest&&t.abort(),delete o.value[e]}))},upload:r}),(e,t)=>(f(),m("div",{class:b([k(s).b(),k(s).m(e.listType),k(s).is("drag",e.drag),k(s).is("disabled",k(l))]),tabindex:k(l)?"-1":"0",onClick:g,onKeydown:w(C(h,["self"]),["enter","space"])},[e.drag?(f(),v(me,{key:0,disabled:k(l),onFile:i},{default:y((()=>[F(e.$slots,"default")])),_:3},8,["disabled"])):F(e.$slots,"default",{key:1}),R("input",{ref_key:"inputRef",ref:n,class:b(k(s).e("input")),name:e.name,disabled:k(l),multiple:e.multiple,accept:e.accept,type:"file",onChange:p,onClick:C((()=>{}),["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}}),[["__file","upload-content.vue"]]);const ke="ElUpload",we=e=>{var t;(null==(t=e.url)?void 0:t.startsWith("blob:"))&&URL.revokeObjectURL(e.url)},Fe=i({name:"ElUpload"});const Ee=V(O(i({...Fe,props:re,setup(t,{expose:s}){const l=t,o=c(),n=q(),{abort:i,submit:r,clearFiles:u,uploadFiles:d,handleStart:g,handleError:h,handleRemove:b,handleSuccess:w,handleProgress:R,revokeFileObjectURL:C}=((t,s)=>{const l=z(t,"fileList",void 0,{passive:!0}),o=e=>l.value.find((t=>t.uid===e.uid));function n(e){var t;null==(t=s.value)||t.abort(e)}function i(e){l.value=l.value.filter((t=>t!==e))}return X((()=>t.listType),(e=>{"picture-card"!==e&&"picture"!==e||(l.value=l.value.map((e=>{const{raw:a,url:s}=e;if(!s&&a)try{e.url=URL.createObjectURL(a)}catch(o){t.onError(o,e,l.value)}return e})))})),X(l,(e=>{for(const t of e)t.uid||(t.uid=ne()),t.status||(t.status="success")}),{immediate:!0,deep:!0}),{uploadFiles:l,abort:n,clearFiles:function(e=["ready","uploading","success","fail"]){l.value=l.value.filter((t=>!e.includes(t.status)))},handleError:(e,a)=>{const s=o(a);s&&(console.error(e),s.status="fail",i(s),t.onError(e,s,l.value),t.onChange(s,l.value))},handleProgress:(e,a)=>{const s=o(a);s&&(t.onProgress(e,s,l.value),s.status="uploading",s.percentage=Math.round(e.percent))},handleStart:e=>{a(e.uid)&&(e.uid=ne());const s={name:e.name,percentage:0,status:"ready",size:e.size,raw:e,uid:e.uid};if("picture-card"===t.listType||"picture"===t.listType)try{s.url=URL.createObjectURL(e)}catch(o){N(ke,o.message),t.onError(o,s,l.value)}l.value=[...l.value,s],t.onChange(s,l.value)},handleSuccess:(e,a)=>{const s=o(a);s&&(s.status="success",s.response=e,t.onSuccess(e,s,l.value),t.onChange(s,l.value))},handleRemove:async a=>{const s=a instanceof File?o(a):a;s||e(ke,"file to be removed not found");const r=e=>{n(e),i(e),t.onRemove(e,l.value),we(e)};t.beforeRemove?!1!==await t.beforeRemove(s,l.value)&&r(s):r(s)},submit:function(){l.value.filter((({status:e})=>"ready"===e)).forEach((({raw:e})=>{var t;return e&&(null==(t=s.value)?void 0:t.upload(e))}))},revokeFileObjectURL:we}})(l,n),S=p((()=>"picture-card"===l.listType)),L=p((()=>({...l,fileList:d.value,onStart:g,onProgress:R,onSuccess:w,onError:h,onRemove:b})));return J((()=>{d.value.forEach(C)})),I(te,{accept:W(l,"accept")}),s({abort:i,submit:r,clearFiles:u,handleStart:g,handleRemove:b}),(e,t)=>(f(),m("div",null,[k(S)&&e.showFileList?(f(),v(de,{key:0,disabled:k(o),"list-type":e.listType,files:k(d),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:k(b)},G({append:y((()=>[x(be,Q({ref_key:"uploadRef",ref:n},k(L)),{default:y((()=>[e.$slots.trigger?F(e.$slots,"trigger",{key:0}):E("v-if",!0),!e.$slots.trigger&&e.$slots.default?F(e.$slots,"default",{key:1}):E("v-if",!0)])),_:3},16)])),_:2},[e.$slots.file?{name:"default",fn:y((({file:t,index:a})=>[F(e.$slots,"file",{file:t,index:a})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):E("v-if",!0),!k(S)||k(S)&&!e.showFileList?(f(),v(be,Q({key:1,ref_key:"uploadRef",ref:n},k(L)),{default:y((()=>[e.$slots.trigger?F(e.$slots,"trigger",{key:0}):E("v-if",!0),!e.$slots.trigger&&e.$slots.default?F(e.$slots,"default",{key:1}):E("v-if",!0)])),_:3},16)):E("v-if",!0),e.$slots.trigger?F(e.$slots,"default",{key:2}):E("v-if",!0),F(e.$slots,"tip"),!k(S)&&e.showFileList?(f(),v(de,{key:3,disabled:k(o),"list-type":e.listType,files:k(d),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:k(b)},G({_:2},[e.$slots.file?{name:"default",fn:y((({file:t,index:a})=>[F(e.$slots,"file",{file:t,index:a})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):E("v-if",!0)]))}}),[["__file","upload.vue"]]));export{Ee as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index27.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index27.js new file mode 100644 index 000000000..52dcf2c4f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index27.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,$ as t,q as a,v as s,C as r,ci as n,cJ as o,bn as c,cK as i,bJ as l,a$ as u,ag as d,o as p,c as f,n as h,D as g,b as y,F as v,z as b,t as k,f as x,h as m,w,G as B,H as D,_ as F,I}from"./087AC4D233B64EB0index.js";const N=e({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:t(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:t([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:t(Function),default:e=>"".concat(e,"%")}}),$=a({name:"ElProgress"});const S=I(F(a({...$,props:N,setup(e){const t=e,a={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},F=s("progress"),I=r((()=>{const e={width:"".concat(t.percentage,"%"),animationDuration:"".concat(t.duration,"s")},a=M(t.percentage);return a.includes("gradient")?e.background=a:e.backgroundColor=a,e})),N=r((()=>(t.strokeWidth/t.width*100).toFixed(1))),$=r((()=>["circle","dashboard"].includes(t.type)?Number.parseInt("".concat(50-Number.parseFloat(N.value)/2),10):0)),S=r((()=>{const e=$.value,a="dashboard"===t.type;return"\n M 50 50\n m 0 ".concat(a?"":"-").concat(e,"\n a ").concat(e," ").concat(e," 0 1 1 0 ").concat(a?"-":"").concat(2*e,"\n a ").concat(e," ").concat(e," 0 1 1 0 ").concat(a?"":"-").concat(2*e,"\n ")})),T=r((()=>2*Math.PI*$.value)),W=r((()=>"dashboard"===t.type?.75:1)),_=r((()=>{const e=-1*T.value*(1-W.value)/2;return"".concat(e,"px")})),A=r((()=>({strokeDasharray:"".concat(T.value*W.value,"px, ").concat(T.value,"px"),strokeDashoffset:_.value}))),C=r((()=>({strokeDasharray:"".concat(T.value*W.value*(t.percentage/100),"px, ").concat(T.value,"px"),strokeDashoffset:_.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"}))),E=r((()=>{let e;return e=t.color?M(t.percentage):a[t.status]||a.default,e})),L=r((()=>"warning"===t.status?n:"line"===t.type?"success"===t.status?o:c:"success"===t.status?i:l)),z=r((()=>"line"===t.type?12+.4*t.strokeWidth:.111111*t.width+2)),J=r((()=>t.format(t.percentage)));const M=e=>{var a;const{color:s}=t;if(u(s))return s(e);if(d(s))return s;{const t=function(e){const t=100/e.length;return e.map(((e,a)=>d(e)?{color:e,percentage:(a+1)*t}:e)).sort(((e,t)=>e.percentage-t.percentage))}(s);for(const a of t)if(a.percentage>e)return a.color;return null==(a=t[t.length-1])?void 0:a.color}};return(e,t)=>(p(),f("div",{class:h([g(F).b(),g(F).m(e.type),g(F).is(e.status),{[g(F).m("without-text")]:!e.showText,[g(F).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===e.type?(p(),f("div",{key:0,class:h(g(F).b("bar"))},[y("div",{class:h(g(F).be("bar","outer")),style:v({height:"".concat(e.strokeWidth,"px")})},[y("div",{class:h([g(F).be("bar","inner"),{[g(F).bem("bar","inner","indeterminate")]:e.indeterminate},{[g(F).bem("bar","inner","striped")]:e.striped},{[g(F).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:v(g(I))},[(e.showText||e.$slots.default)&&e.textInside?(p(),f("div",{key:0,class:h(g(F).be("bar","innerText"))},[b(e.$slots,"default",{percentage:e.percentage},(()=>[y("span",null,k(g(J)),1)]))],2)):x("v-if",!0)],6)],6)],2)):(p(),f("div",{key:1,class:h(g(F).b("circle")),style:v({height:"".concat(e.width,"px"),width:"".concat(e.width,"px")})},[(p(),f("svg",{viewBox:"0 0 100 100"},[y("path",{class:h(g(F).be("circle","track")),d:g(S),stroke:"var(".concat(g(F).cssVarName("fill-color-light"),", #e5e9f2)"),"stroke-linecap":e.strokeLinecap,"stroke-width":g(N),fill:"none",style:v(g(A))},null,14,["d","stroke","stroke-linecap","stroke-width"]),y("path",{class:h(g(F).be("circle","path")),d:g(S),stroke:g(E),fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":g(N),style:v(g(C))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),!e.showText&&!e.$slots.default||e.textInside?x("v-if",!0):(p(),f("div",{key:2,class:h(g(F).e("text")),style:v({fontSize:"".concat(g(z),"px")})},[b(e.$slots,"default",{percentage:e.percentage},(()=>[e.status?(p(),m(g(D),{key:1},{default:w((()=>[(p(),m(B(g(L))))])),_:1})):(p(),f("span",{key:0},k(g(J)),1))]))],6))],10,["aria-valuenow"]))}}),[["__file","progress.vue"]]));export{S as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index28.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index28.js new file mode 100644 index 000000000..93e61c651 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index28.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,q as a,aq as t,ce as s,C as l,a as o,v as r,ah as d,am as i,o as n,h as c,w as f,e as u,Z as p,D as v,S as b,cl as y,bG as m,b as h,ay as k,ak as C,n as A,c as E,z as w,t as B,f as F,H as L,bJ as R,Y as _,_ as x,I as $}from"./087AC4D233B64EB0index.js";import{E as g}from"./087AC4D233B64EB0index21.js";import{b as D,c as S,u as T}from"./087AC4D233B64EB0overlay.js";const z=e({...D,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),q=S,I=a({name:"ElDrawer",inheritAttrs:!1});const P=$(x(a({...I,props:z,emits:q,setup(e,{expose:a}){const x=e,$=t();s({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},l((()=>!!$.title)));const D=o(),S=o(),z=r("drawer"),{t:q}=d(),{afterEnter:I,afterLeave:P,beforeLeave:j,visible:H,rendered:O,titleId:G,bodyId:J,zIndex:M,onModalClick:N,onOpenAutoFocus:U,onCloseAutoFocus:Y,onFocusoutPrevented:Z,onCloseRequested:K,handleClose:Q}=T(x,D),V=l((()=>"rtl"===x.direction||"ltr"===x.direction)),W=l((()=>i(x.size)));return a({handleClose:Q,afterEnter:I,afterLeave:P}),(e,a)=>(n(),c(v(g),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:f((()=>[u(p,{name:v(z).b("fade"),onAfterEnter:v(I),onAfterLeave:v(P),onBeforeLeave:v(j),persisted:""},{default:f((()=>[b(u(v(y),{mask:e.modal,"overlay-class":e.modalClass,"z-index":v(M),onClick:v(N)},{default:f((()=>[u(v(m),{loop:"",trapped:v(H),"focus-trap-el":D.value,"focus-start-el":S.value,onFocusAfterTrapped:v(U),onFocusAfterReleased:v(Y),onFocusoutPrevented:v(Z),onReleaseRequested:v(K)},{default:f((()=>[h("div",k({ref_key:"drawerRef",ref:D,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:v(G),"aria-describedby":v(J)},e.$attrs,{class:[v(z).b(),e.direction,v(H)&&"open"],style:v(V)?"width: "+v(W):"height: "+v(W),role:"dialog",onClick:C((()=>{}),["stop"])}),[h("span",{ref_key:"focusStartRef",ref:S,class:A(v(z).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(n(),E("header",{key:0,class:A(v(z).e("header"))},[e.$slots.title?w(e.$slots,"title",{key:1},(()=>[F(" DEPRECATED SLOT ")])):w(e.$slots,"header",{key:0,close:v(Q),titleId:v(G),titleClass:v(z).e("title")},(()=>[e.$slots.title?F("v-if",!0):(n(),E("span",{key:0,id:v(G),role:"heading","aria-level":e.headerAriaLevel,class:A(v(z).e("title"))},B(e.title),11,["id","aria-level"]))])),e.showClose?(n(),E("button",{key:2,"aria-label":v(q)("el.drawer.close"),class:A(v(z).e("close-btn")),type:"button",onClick:v(Q)},[u(v(L),{class:A(v(z).e("close"))},{default:f((()=>[u(v(R))])),_:1},8,["class"])],10,["aria-label","onClick"])):F("v-if",!0)],2)):F("v-if",!0),v(O)?(n(),E("div",{key:1,id:v(J),class:A(v(z).e("body"))},[w(e.$slots,"default")],10,["id"])):F("v-if",!0),e.$slots.footer?(n(),E("div",{key:2,class:A(v(z).e("footer"))},[w(e.$slots,"footer")],2)):F("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])])),_:3},8,["mask","overlay-class","z-index","onClick"]),[[_,v(H)]])])),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}}),[["__file","drawer.vue"]]));export{P as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index29.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index29.js new file mode 100644 index 000000000..1b8a0093e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index29.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{ac as e,aE as t,_ as n,q as a,v as l,o,h as s,w as u,z as r,ay as i,Z as c,aF as d,aG as p,aH as v,C as m,aI as h,A as f,B as b,ab as x,ad as M,a as g,av as y,aJ as I,r as C,X as S,x as k,P as E,aw as O,y as w,ag as T,H as N,S as P,Y as A,K as B,ap as z,aK as L,$,aL as j,aM as _,aN as W,aO as q,aP as R,aQ as D,aR as F,Q as G,as as H,N as J,c as K,b as Q,n as V,g as Z,t as X,I as Y,J as U}from"./087AC4D233B64EB0index.js";import{E as ee}from"./087AC4D233B64EB0index30.js";import{a as te,C as ne}from"./087AC4D233B64EB0index20.js";let ae=class{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const n=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,(a=>{a.addEventListener("keydown",(a=>{let l=!1;switch(a.code){case e.down:this.gotoSubIndex(this.subIndex+1),l=!0;break;case e.up:this.gotoSubIndex(this.subIndex-1),l=!0;break;case e.tab:t(n,"mouseleave");break;case e.enter:case e.space:l=!0,a.currentTarget.click()}return l&&(a.preventDefault(),a.stopPropagation()),!1}))}))}},le=class{constructor(e,t){this.domNode=e,this.submenu=null,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(".".concat(e,"-menu"));t&&(this.submenu=new ae(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",(n=>{let a=!1;switch(n.code){case e.down:t(n.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),a=!0;break;case e.up:t(n.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),a=!0;break;case e.tab:t(n.currentTarget,"mouseleave");break;case e.enter:case e.space:a=!0,n.currentTarget.click()}a&&n.preventDefault()}))}},oe=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach((t=>{1===t.nodeType&&new le(t,e)}))}};var se=n(a({name:"ElMenuCollapseTransition",setup(){const e=l("menu");return{listeners:{onBeforeEnter:e=>e.style.opacity="0.2",onEnter(t,n){d(t,"".concat(e.namespace.value,"-opacity-transition")),t.style.opacity="1",n()},onAfterEnter(t){p(t,"".concat(e.namespace.value,"-opacity-transition")),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),v(t,e.m("collapse"))?(p(t,e.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),d(t,e.m("collapse"))):(d(t,e.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),p(t,e.m("collapse"))),t.style.width="".concat(t.scrollWidth,"px"),t.style.overflow="hidden"},onLeave(e){d(e,"horizontal-collapse-transition"),e.style.width="".concat(e.dataset.scrollWidth,"px")}}}}}),[["render",function(e,t,n,a,l,d){return o(),s(c,i({mode:"out-in"},e.listeners),{default:u((()=>[r(e.$slots,"default")])),_:3},16)}],["__file","menu-collapse-transition.vue"]]);function ue(e,t){const n=m((()=>{let n=e.parent;const a=[t.value];for(;"ElMenu"!==n.type.name;)n.props.index&&a.unshift(n.props.index),n=n.parent;return a}));return{parentMenu:m((()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t})),indexPath:n}}function re(e){return m((()=>{const t=e.backgroundColor;return t?new h(t).shade(20).toString():""}))}const ie=(e,t)=>{const n=l("menu");return m((()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":re(e).value||"","active-color":e.activeTextColor||"",level:"".concat(t)})))},ce=f({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:b},expandOpenIcon:{type:b},collapseCloseIcon:{type:b},collapseOpenIcon:{type:b}}),de="ElSubMenu";var pe=a({name:de,props:ce,setup(e,{slots:t,expose:n}){const a=z(),{indexPath:o,parentMenu:s}=ue(a,m((()=>e.index))),u=l("menu"),r=l("sub-menu"),i=x("rootMenu");i||M(de,"can not inject root menu");const c=x("subMenu:".concat(s.value.uid));c||M(de,"can not inject sub menu");const d=g({}),p=g({});let v;const h=g(!1),f=g(),b=g(null),$=m((()=>"horizontal"===G.value&&_.value?"bottom-start":"right-start")),j=m((()=>"horizontal"===G.value&&_.value||"vertical"===G.value&&!i.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?D.value?e.expandOpenIcon:e.expandCloseIcon:y:e.collapseCloseIcon&&e.collapseOpenIcon?D.value?e.collapseOpenIcon:e.collapseCloseIcon:I)),_=m((()=>0===c.level)),W=m((()=>{const t=e.teleported;return void 0===t?_.value:t})),q=m((()=>i.props.collapse?"".concat(u.namespace.value,"-zoom-in-left"):"".concat(u.namespace.value,"-zoom-in-top"))),R=m((()=>"horizontal"===G.value&&_.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"])),D=m((()=>i.openedMenus.includes(e.index))),F=m((()=>{let e=!1;return Object.values(d.value).forEach((t=>{t.active&&(e=!0)})),Object.values(p.value).forEach((t=>{t.active&&(e=!0)})),e})),G=m((()=>i.props.mode)),H=C({index:e.index,indexPath:o,active:F}),J=ie(i.props,c.level+1),K=m((()=>{var t;return null!=(t=e.popperOffset)?t:i.props.popperOffset})),Q=m((()=>{var t;return null!=(t=e.popperClass)?t:i.props.popperClass})),V=m((()=>{var t;return null!=(t=e.showTimeout)?t:i.props.showTimeout})),Z=m((()=>{var t;return null!=(t=e.hideTimeout)?t:i.props.hideTimeout})),X=e=>{var t,n,a;e||null==(a=null==(n=null==(t=b.value)?void 0:t.popperRef)?void 0:n.popperInstanceRef)||a.destroy()},Y=()=>{"hover"===i.props.menuTrigger&&"horizontal"===i.props.mode||i.props.collapse&&"vertical"===i.props.mode||e.disabled||i.handleSubMenuClick({index:e.index,indexPath:o.value,active:F.value})},U=(t,n=V.value)=>{var a;"focus"!==t.type&&("click"===i.props.menuTrigger&&"horizontal"===i.props.mode||!i.props.collapse&&"vertical"===i.props.mode||e.disabled?c.mouseInChild.value=!0:(c.mouseInChild.value=!0,null==v||v(),({stop:v}=L((()=>{i.openMenu(e.index,o.value)}),n)),W.value&&(null==(a=s.value.vnode.el)||a.dispatchEvent(new MouseEvent("mouseenter")))))},ne=(t=!1)=>{var n;"click"===i.props.menuTrigger&&"horizontal"===i.props.mode||!i.props.collapse&&"vertical"===i.props.mode?c.mouseInChild.value=!1:(null==v||v(),c.mouseInChild.value=!1,({stop:v}=L((()=>!h.value&&i.closeMenu(e.index,o.value)),Z.value)),W.value&&t&&(null==(n=c.handleMouseleave)||n.call(c,!0)))};S((()=>i.props.collapse),(e=>X(Boolean(e))));{const e=e=>{p.value[e.index]=e},t=e=>{delete p.value[e.index]};k("subMenu:".concat(a.uid),{addSubMenu:e,removeSubMenu:t,handleMouseleave:ne,mouseInChild:h,level:c.level+1})}return n({opened:D}),E((()=>{i.addSubMenu(H),c.addSubMenu(H)})),O((()=>{c.removeSubMenu(H),i.removeSubMenu(H)})),()=>{var n;const l=[null==(n=t.title)?void 0:n.call(t),w(N,{class:r.e("icon-arrow"),style:{transform:D.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&i.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>T(j.value)?w(a.appContext.components[j.value]):w(j.value)})],o=i.isMenuPopup?w(te,{ref:b,visible:D.value,effect:"light",pure:!0,offset:K.value,showArrow:!1,persistent:!0,popperClass:Q.value,placement:$.value,teleported:W.value,fallbackPlacements:R.value,transition:q.value,gpuAcceleration:!1},{content:()=>{var e;return w("div",{class:[u.m(G.value),u.m("popup-container"),Q.value],onMouseenter:e=>U(e,100),onMouseleave:()=>ne(!0),onFocus:e=>U(e,100)},[w("ul",{class:[u.b(),u.m("popup"),u.m("popup-".concat($.value))],style:J.value},[null==(e=t.default)?void 0:e.call(t)])])},default:()=>w("div",{class:r.e("title"),onClick:Y},l)}):w(B,{},[w("div",{class:r.e("title"),ref:f,onClick:Y},l),w(ee,{},{default:()=>{var e;return P(w("ul",{role:"menu",class:[u.b(),u.m("inline")],style:J.value},[null==(e=t.default)?void 0:e.call(t)]),[[A,D.value]])}})]);return w("li",{class:[r.b(),r.is("active",F.value),r.is("opened",D.value),r.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:D.value,onMouseenter:U,onMouseleave:()=>ne(),onFocus:U},[o])}}});const ve=f({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:$(Array),default:()=>j([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:b,default:()=>_},popperEffect:{type:$(String),default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),me=e=>Array.isArray(e)&&e.every((e=>T(e)));var he=a({name:"ElMenu",props:ve,emits:{close:(e,t)=>T(e)&&me(t),open:(e,t)=>T(e)&&me(t),select:(e,t,n,a)=>T(e)&&me(t)&&D(n)&&(void 0===a||a instanceof Promise)},setup(e,{emit:t,slots:n,expose:a}){const o=z(),s=o.appContext.config.globalProperties.$router,u=g(),r=l("menu"),i=l("sub-menu"),c=g(-1),d=g(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=g(e.defaultActive),v=g({}),h=g({}),f=m((()=>"horizontal"===e.mode||"vertical"===e.mode&&e.collapse)),b=(n,a)=>{d.value.includes(n)||(e.uniqueOpened&&(d.value=d.value.filter((e=>a.includes(e)))),d.value.push(n),t("open",n,a))},x=e=>{const t=d.value.indexOf(e);-1!==t&&d.value.splice(t,1)},M=(e,n)=>{x(e),t("close",e,n)},y=({index:e,indexPath:t})=>{d.value.includes(e)?M(e,t):b(e,t)},I=n=>{("horizontal"===e.mode||e.collapse)&&(d.value=[]);const{index:a,indexPath:l}=n;if(!F(a)&&!F(l))if(e.router&&s){const e=n.route||a,o=s.push(e).then((e=>(e||(p.value=a),e)));t("select",a,l,{index:a,indexPath:l,route:e},o)}else p.value=a,t("select",a,l,{index:a,indexPath:l})},O=()=>{var e,t;if(!u.value)return-1;const n=Array.from(null!=(t=null==(e=u.value)?void 0:e.childNodes)?t:[]).filter((e=>"#comment"!==e.nodeName&&("#text"!==e.nodeName||e.nodeValue))),a=getComputedStyle(u.value),l=Number.parseInt(a.paddingLeft,10),o=Number.parseInt(a.paddingRight,10),s=u.value.clientWidth-l-o;let r=0,i=0;return n.forEach(((e,t)=>{r+=(e=>{const t=getComputedStyle(e),n=Number.parseInt(t.marginLeft,10),a=Number.parseInt(t.marginRight,10);return e.offsetWidth+n+a||0})(e),r<=s-64&&(i=t+1)})),i===n.length?-1:i};let T=!0;const A=()=>{if(c.value===O())return;const e=()=>{c.value=-1,G((()=>{c.value=O()}))};T?e():((e,t=33.34)=>{let n;return()=>{n&&clearTimeout(n),n=setTimeout((()=>{e()}),t)}})(e)(),T=!1};let B;S((()=>e.defaultActive),(t=>{v.value[t]||(p.value=""),(t=>{const n=v.value,a=n[t]||p.value&&n[p.value]||n[e.defaultActive];p.value=a?a.index:t})(t)})),S((()=>e.collapse),(e=>{e&&(d.value=[])})),S(v.value,(()=>{const t=p.value&&v.value[p.value];if(!t||"horizontal"===e.mode||e.collapse)return;t.indexPath.forEach((e=>{const t=h.value[e];t&&b(e,t.indexPath)}))})),W((()=>{"horizontal"===e.mode&&e.ellipsis?B=q(u,A).stop:null==B||B()}));const L=g(!1);{const t=e=>{h.value[e.index]=e},n=e=>{delete h.value[e.index]},a=e=>{v.value[e.index]=e},l=e=>{delete v.value[e.index]};k("rootMenu",C({props:e,openedMenus:d,items:v,subMenus:h,activeIndex:p,isMenuPopup:f,addMenuItem:a,removeMenuItem:l,addSubMenu:t,removeSubMenu:n,openMenu:b,closeMenu:M,handleMenuItemClick:I,handleSubMenuClick:y})),k("subMenu:".concat(o.uid),{addSubMenu:t,removeSubMenu:n,mouseInChild:L,level:0})}E((()=>{"horizontal"===e.mode&&new oe(o.vnode.el,r.namespace.value)}));a({open:e=>{const{indexPath:t}=h.value[e];t.forEach((e=>b(e,t)))},close:x,handleResize:A});const $=ie(e,0);return()=>{var a,l;let o=null!=(l=null==(a=n.default)?void 0:a.call(n))?l:[];const s=[];if("horizontal"===e.mode&&u.value){const t=R(o),n=-1===c.value?t:t.slice(0,c.value),a=-1===c.value?[]:t.slice(c.value);(null==a?void 0:a.length)&&e.ellipsis&&(o=n,s.push(w(pe,{index:"sub-menu-more",class:i.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>w(N,{class:i.e("icon-more")},{default:()=>w(e.ellipsisIcon)}),default:()=>a})))}const p=e.closeOnClickOutside?[[ne,()=>{d.value.length&&(L.value||(d.value.forEach((e=>{return t("close",e,(n=e,h.value[n].indexPath));var n})),d.value=[]))}]]:[],v=P(w("ul",{key:String(e.collapse),role:"menubar",ref:u,style:$.value,class:{[r.b()]:!0,[r.m(e.mode)]:!0,[r.m("collapse")]:e.collapse}},[...o,...s]),p);return e.collapseTransition&&"vertical"===e.mode?w(se,(()=>v)):v}}});const fe=f({index:{type:$([String,null]),default:null},route:{type:$([String,Object])},disabled:Boolean}),be="ElMenuItem";var xe=n(a({name:be,components:{ElTooltip:te},props:fe,emits:{click:e=>T(e.index)&&Array.isArray(e.indexPath)},setup(e,{emit:t}){const n=z(),a=x("rootMenu"),o=l("menu"),s=l("menu-item");a||M(be,"can not inject root menu");const{parentMenu:u,indexPath:r}=ue(n,H(e,"index")),i=x("subMenu:".concat(u.value.uid));i||M(be,"can not inject sub menu");const c=m((()=>e.index===a.activeIndex)),d=C({index:e.index,indexPath:r,active:c});return E((()=>{i.addSubMenu(d),a.addMenuItem(d)})),O((()=>{i.removeSubMenu(d),a.removeMenuItem(d)})),{parentMenu:u,rootMenu:a,active:c,nsMenu:o,nsMenuItem:s,handleClick:()=>{e.disabled||(a.handleMenuItemClick({index:e.index,indexPath:r.value,route:e.route}),t("click",d))}}}}),[["render",function(e,t,n,a,l,i){const c=J("el-tooltip");return o(),K("li",{class:V([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:e.handleClick},["ElMenu"===e.parentMenu.type.name&&e.rootMenu.props.collapse&&e.$slots.title?(o(),s(c,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:u((()=>[r(e.$slots,"title")])),default:u((()=>[Q("div",{class:V(e.nsMenu.be("tooltip","trigger"))},[r(e.$slots,"default")],2)])),_:3},8,["effect"])):(o(),K(B,{key:1},[r(e.$slots,"default"),r(e.$slots,"title")],64))],10,["onClick"])}],["__file","menu-item.vue"]]);var Me=n(a({name:"ElMenuItemGroup",props:{title:String},setup:()=>({ns:l("menu-item-group")})}),[["render",function(e,t,n,a,l,s){return o(),K("li",{class:V(e.ns.b())},[Q("div",{class:V(e.ns.e("title"))},[e.$slots.title?r(e.$slots,"title",{key:1}):(o(),K(B,{key:0},[Z(X(e.title),1)],64))],2),Q("ul",null,[r(e.$slots,"default")])],2)}],["__file","menu-item-group.vue"]]);const ge=Y(he,{MenuItem:xe,MenuItemGroup:Me,SubMenu:pe}),ye=U(xe);U(Me);const Ie=U(pe);export{ge as E,Ie as a,ye as b}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index3.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index3.css new file mode 100644 index 000000000..f75b19455 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index3.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-timeline{--el-timeline-node-size-normal: 12px;--el-timeline-node-size-large: 14px;--el-timeline-node-color: var(--el-border-color-light);margin:0;font-size:var(--el-font-size-base);list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{display:flex;align-items:center}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid var(--el-timeline-node-color)}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{position:absolute;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.el-timeline-item__node--normal{left:-1px;width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{left:-2px;width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.load-more[data-v-154fd1d5]{margin-left:120px}.avatar-img[data-v-154fd1d5]{float:left;height:40px;width:40px;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;margin-top:15px}.org-img[data-v-154fd1d5]{height:150px;width:150px}.author-name[data-v-154fd1d5]{float:left;margin-left:10px;color:#00008b;line-height:100px;font-family:Lucida Sans,Lucida Sans Regular,Lucida Grande,Lucida Sans Unicode,Geneva,Verdana,sans-serif}.dom-center[data-v-154fd1d5]{margin-left:50%;transform:translate(-50%)} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index3.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index3.js new file mode 100644 index 000000000..68d3e9b65 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index3.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{u as a,a as e,r as l,l as t,o as s,c as r,b as o,t as n,e as i,w as c,m as u,p as d,h as m,f as p,g as h,j as f,k as g,E as b}from"./087AC4D233B64EB0index.js";import{E as w,a as y}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{_ as B,c as v}from"./087AC4D233B64EB0initdb.js";import C from"./087AC4D233B64EB0bottomInfo.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";const _=""+new URL("087AC4D233B64EB0docs.png",import.meta.url).href,x=""+new URL("087AC4D233B64EB0kefu.png",import.meta.url).href,E=""+new URL("087AC4D233B64EB0github.png",import.meta.url).href,j=""+new URL("087AC4D233B64EB0video.png",import.meta.url).href,A={id:"userLayout",class:"w-full h-full relative"},D={class:"rounded-lg flex items-center justify-evenly w-full h-full bg-white md:w-screen md:h-screen md:bg-[#194bfb]"},k={class:"md:w-3/5 w-10/12 h-full flex items-center justify-evenly"},I={class:"z-[999] pt-12 pb-10 md:w-96 w-full rounded-lg flex flex-col justify-between box-border"},V={class:"flex items-center justify-center"},L=["src"],U={class:"mb-9"},z={class:"text-center text-4xl font-bold"},N={class:"flex w-full justify-between"},R={class:"w-1/3 h-11 bg-[#c3d4f2] rounded"},q=["src"],G=Object.assign({name:"Login"},{__name:"index",setup(G){const M=a(),O=()=>{d({}).then((async a=>{P.captcha.push({max:a.data.captchaLength,min:a.data.captchaLength,message:"请输入".concat(a.data.captchaLength,"位验证码"),trigger:"blur"}),F.value=a.data.picPath,K.captchaId=a.data.captchaId,K.openCaptcha=a.data.openCaptcha}))};O();const $=e(null),F=e(""),K=l({username:"admin",password:"123456",captcha:"",captchaId:"",openCaptcha:!1}),P=l({username:[{validator:(a,e,l)=>{if(e.length<5)return l(new Error("请输入正确的用户名"));l()},trigger:"blur"}],password:[{validator:(a,e,l)=>{if(e.length<6)return l(new Error("请输入正确的密码"));l()},trigger:"blur"}],captcha:[{message:"验证码格式不正确",trigger:"blur"}]}),H=t(),J=()=>{$.value.validate((async a=>{if(!a)return f({type:"error",message:"请正确填写登录信息",showClose:!0}),O(),!1;await(async()=>await H.LoginIn(K))()||O()}))},Q=async()=>{var a;const e=await v();0===e.code&&((null==(a=e.data)?void 0:a.needInit)?(H.NeedInit(),M.push({name:"Init"})):f({type:"info",message:"已配置数据库信息,无法初始化"}))};return(a,e)=>{const l=g,t=y,d=b,f=w;return s(),r("div",A,[o("div",D,[o("div",k,[e[7]||(e[7]=o("div",{class:"oblique h-[130%] w-3/5 bg-white transform -rotate-12 absolute -ml-52"},null,-1)),o("div",I,[o("div",null,[o("div",V,[o("img",{class:"w-24",src:a.$GIN_VUE_ADMIN.appLogo,alt:""},null,8,L)]),o("div",U,[o("p",z,n(a.$GIN_VUE_ADMIN.appName),1),e[4]||(e[4]=o("p",{class:"text-center text-sm font-normal text-gray-500 mt-2.5"},"A management platform using Golang and Vue ",-1))]),i(f,{ref_key:"loginForm",ref:$,model:K,rules:P,"validate-on-rule-change":!1,onKeyup:u(J,["enter"])},{default:c((()=>[i(t,{prop:"username",class:"mb-6"},{default:c((()=>[i(l,{modelValue:K.username,"onUpdate:modelValue":e[0]||(e[0]=a=>K.username=a),size:"large",placeholder:"请输入用户名","suffix-icon":"user"},null,8,["modelValue"])])),_:1}),i(t,{prop:"password",class:"mb-6"},{default:c((()=>[i(l,{modelValue:K.password,"onUpdate:modelValue":e[1]||(e[1]=a=>K.password=a),"show-password":"",size:"large",type:"password",placeholder:"请输入密码"},null,8,["modelValue"])])),_:1}),K.openCaptcha?(s(),m(t,{key:0,prop:"captcha",class:"mb-6"},{default:c((()=>[o("div",N,[i(l,{modelValue:K.captcha,"onUpdate:modelValue":e[2]||(e[2]=a=>K.captcha=a),placeholder:"请输入验证码",size:"large",class:"flex-1 mr-5"},null,8,["modelValue"]),o("div",R,[F.value?(s(),r("img",{key:0,class:"w-full h-full",src:F.value,alt:"请输入验证码",onClick:e[3]||(e[3]=a=>O())},null,8,q)):p("",!0)])])])),_:1})):p("",!0),i(t,{class:"mb-6"},{default:c((()=>[i(d,{class:"shadow shadow-blue-600 h-11 w-full",type:"primary",size:"large",onClick:J},{default:c((()=>e[5]||(e[5]=[h("登 录")]))),_:1})])),_:1}),i(t,{class:"mb-6"},{default:c((()=>[i(d,{class:"shadow shadow-blue-600 h-11 w-full",type:"primary",size:"large",onClick:Q},{default:c((()=>e[6]||(e[6]=[h("前往初始化")]))),_:1})])),_:1})])),_:1},8,["model","rules"])])])]),e[8]||(e[8]=o("div",{class:"hidden md:block w-1/2 h-full float-right bg-[#194bfb]"},[o("img",{class:"h-full",src:B,alt:"banner"})],-1))]),i(C,{class:"left-0 right-0 absolute bottom-3 mx-auto w-full z-20"},{default:c((()=>e[9]||(e[9]=[o("div",{class:"links items-center justify-center gap-2 hidden md:flex"},[o("a",{href:"http://doc.henrongyi.top/",target:"_blank"},[o("img",{src:_,class:"w-8 h-8",alt:"文档"})]),o("a",{href:"https://support.qq.com/product/371961",target:"_blank"},[o("img",{src:x,class:"w-8 h-8",alt:"客服"})]),o("a",{href:"https://github.com/flipped-aurora/gin-vue-admin",target:"_blank"},[o("img",{src:E,class:"w-8 h-8",alt:"github"})]),o("a",{href:"https://space.bilibili.com/322210472",target:"_blank"},[o("img",{src:j,class:"w-8 h-8",alt:"视频站"})])],-1)]))),_:1})])}}});export{G as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index30.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index30.js new file mode 100644 index 000000000..20b0fdeee --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index30.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{q as t,v as e,o as a,h as s,w as o,z as d,ay as l,cP as i,D as n,Z as g,_ as r,I as p}from"./087AC4D233B64EB0index.js";const y=t({name:"ElCollapseTransition"});const m=p(r(t({...y,setup(t){const r=e("collapse-transition"),p=t=>{t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},y={beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height&&(t.dataset.elExistsHeight=t.style.height),t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){requestAnimationFrame((()=>{t.dataset.oldOverflow=t.style.overflow,t.dataset.elExistsHeight?t.style.maxHeight=t.dataset.elExistsHeight:0!==t.scrollHeight?t.style.maxHeight="".concat(t.scrollHeight,"px"):t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom,t.style.overflow="hidden"}))},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},enterCancelled(t){p(t)},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight="".concat(t.scrollHeight,"px"),t.style.overflow="hidden"},leave(t){0!==t.scrollHeight&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){p(t)},leaveCancelled(t){p(t)}};return(t,e)=>(a(),s(g,l({name:n(r).b()},i(y)),{default:o((()=>[d(t.$slots,"default")])),_:3},16,["name"]))}}),[["__file","collapse-transition.vue"]]));export{m as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index4.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index4.css new file mode 100644 index 000000000..9f902e158 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index4.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.page[data-v-4d232fdc]{padding:0}.page .gva-card-box[data-v-4d232fdc]{padding:1rem}.page .gva-card-box+.gva-card-box[data-v-4d232fdc]{padding-top:0}.page .gva-card[data-v-4d232fdc]{box-sizing:border-box;height:auto;overflow:hidden;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:2rem 1.5rem;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.page .gva-card .gva-card-title[data-v-4d232fdc]{border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity));padding-bottom:1.25rem}.page .gva-top-card[data-v-4d232fdc]{display:flex;height:18rem;align-items:center;justify-content:space-between;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.page .gva-top-card-left[data-v-4d232fdc]{display:flex;height:100%;width:auto;flex-direction:column}.page .gva-top-card-left-title[data-v-4d232fdc]{font-size:1.875rem;line-height:2.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.page .gva-top-card-left-dot[data-v-4d232fdc]{margin-top:1rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.page .gva-top-card-left-item[data-v-4d232fdc]{margin-top:14px}.page .gva-top-card-left-item+.gva-top-card-left-item[data-v-4d232fdc]{margin-top:24px}.page .gva-top-card-right[data-v-4d232fdc]{height:600px;width:600px;margin-top:28px}.page[data-v-4d232fdc] .el-card__header{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding:0}.page .card-header[data-v-4d232fdc]{border-bottom-width:1px;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding-bottom:1.25rem}.page .quick-entrance-items[data-v-4d232fdc]{display:flex;align-items:center;justify-content:center;text-align:center;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.page .quick-entrance-items .quick-entrance-item[data-v-4d232fdc]{display:flex;cursor:pointer;flex-direction:column;align-items:center;border-radius:.5rem;padding:1.5rem 2rem;transition-property:all;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.page .quick-entrance-items .quick-entrance-item[data-v-4d232fdc]:hover{--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)}.page .quick-entrance-items .quick-entrance-item-icon[data-v-4d232fdc]{margin:auto 0;display:flex;height:4rem;width:4rem;align-items:center;justify-content:center;border-radius:.5rem;font-size:1.5rem;line-height:2rem}.page .quick-entrance-items .quick-entrance-item p[data-v-4d232fdc]{margin-top:.625rem}.dashboard-icon[data-v-4d232fdc]{margin-right:.5rem;display:flex;align-items:center;font-size:1.25rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index4.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index4.js new file mode 100644 index 000000000..f5451d87b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index4.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{l as e,u as t,o as s,c as n,b as l,e as r,w as a,E as u,g as i}from"./087AC4D233B64EB0index.js";/* empty css */const o=""+new URL("087AC4D233B64EB0notFound.png",import.meta.url).href,c=""+new URL("087AC4D233B64EB0qm.png",import.meta.url).href,m={class:"w-full h-screen bg-gray-50 flex items-center justify-center"},p={class:"flex flex-col items-center text-2xl gap-4"},f=Object.assign({name:"Error"},{__name:"index",setup(f){const g=e(),x=t(),d=()=>{x.push({name:g.userInfo.authority.defaultRouter})};return(e,t)=>{const f=u;return s(),n("div",null,[l("div",m,[l("div",p,[t[1]||(t[1]=l("img",{src:o},null,-1)),t[2]||(t[2]=l("p",null,"页面被神秘力量吸走了(如果您是开源版请联系我们修复)",-1)),t[3]||(t[3]=l("p",{style:{"font-size":"18px","line-height":"40px"}},"常见问题为当前此角色无当前路由,如果确定要使用本路由,请到角色管理进行分配",-1)),t[4]||(t[4]=l("p",null,"↓",-1)),t[5]||(t[5]=l("img",{src:c,class:"w-16 h-16 mt-20"},null,-1)),r(f,{onClick:d},{default:a((()=>t[0]||(t[0]=[i("返回首页")]))),_:1})])])])}}});export{f as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index5.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index5.css new file mode 100644 index 000000000..22642d9a2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index5.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-container{display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.el-container.is-vertical{flex-direction:column}.el-aside{overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width, 300px)}.el-footer{--el-footer-padding: 0 20px;--el-footer-height: 60px;padding:var(--el-footer-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height)}.el-header{--el-header-padding: 0 20px;--el-header-height: 60px;padding:var(--el-header-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-header-height)}.el-main{--el-main-padding: 20px;display:block;flex:1;flex-basis:auto;overflow:auto;box-sizing:border-box;padding:var(--el-main-padding)}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:before,.el-button-group:after{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:hover,.el-button-group>.el-button:focus,.el-button-group>.el-button:active{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-dropdown{--el-dropdown-menu-box-shadow: var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill: var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color: var(--el-color-primary);--el-dropdown-menu-index: 10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow: var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill: var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color: var(--el-color-primary);--el-dropdown-menu-index: 10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:-1px;bottom:-1px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:none}.el-dropdown-menu__item:not(.is-disabled):hover,.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:before,.el-breadcrumb:after{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:var(--el-text-color-placeholder)}.el-breadcrumb__separator.el-icon{margin:0 6px;font-weight:400}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{float:left;display:inline-flex;align-items:center}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner.is-link,.el-breadcrumb__inner a{font-weight:700;text-decoration:none;transition:var(--el-transition-color);color:var(--el-text-color-primary)}.el-breadcrumb__inner.is-link:hover,.el-breadcrumb__inner a:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover{font-weight:400;color:var(--el-text-color-regular);cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.overlay{border-radius:4px}.overlay .el-dialog__header{padding:0!important;margin-right:0!important}.overlay .el-dialog__body{padding:12px!important;height:50vh;overflow:auto!important}.overlay .quick-title{margin-top:8px;font-size:12px;font-weight:600;color:#666}.overlay .quick-input{color:#666;border-radius:4px 4px 0 0;border:none;padding:12px 16px;box-sizing:border-box;width:100%;font-size:16px;border-bottom:1px solid #ddd}.overlay .quick-item{font-size:14px;padding:8px;margin:4px 0}.overlay .quick-item:hover{cursor:pointer;background:#eee;border-radius:4px}.button{font-size:12px;color:#666;background:rgb(250,250,250);width:25px!important;padding:4px 8px!important;border:1px solid #eaeaea;margin-right:4px;border-radius:4px}:deep .el-overlay{background-color:rgba(255,255,255,.9)!important} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index5.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index5.js new file mode 100644 index 000000000..35e682f6c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index5.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{q as e,v as a,x as t,y as s,z as l,A as i,B as o,C as r,o as n,c as m,b as u,n as d,D as p,F as f,h as c,w as g,G as h,H as v,f as _,t as y,_ as B,I as b,J as E,a as C,e as A,g as k,K as D,L as w,E as j}from"./087AC4D233B64EB0index.js";/* empty css */import{E as x}from"./087AC4D233B64EB0card.js";import{E as T,a as S}from"./087AC4D233B64EB0col.js";import{E as I}from"./087AC4D233B64EB0divider.js";import{C as L,M}from"./087AC4D233B64EB0github.js";import{f as $}from"./087AC4D233B64EB0date.js";import{_ as z}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";const F=e({name:"ElTimeline",setup(e,{slots:i}){const o=a("timeline");return t("timeline",i),()=>s("ul",{class:[o.b()]},[l(i,"default")])}}),R=i({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:o},hollow:Boolean}),U=e({name:"ElTimelineItem"});var q=B(e({...U,props:R,setup(e){const t=e,s=a("timeline-item"),i=r((()=>[s.e("node"),s.em("node",t.size||""),s.em("node",t.type||""),s.is("hollow",t.hollow)]));return(e,a)=>(n(),m("li",{class:d([p(s).b(),{[p(s).e("center")]:e.center}])},[u("div",{class:d(p(s).e("tail"))},null,2),e.$slots.dot?_("v-if",!0):(n(),m("div",{key:0,class:d(p(i)),style:f({backgroundColor:e.color})},[e.icon?(n(),c(p(v),{key:0,class:d(p(s).e("icon"))},{default:g((()=>[(n(),c(h(e.icon)))])),_:1},8,["class"])):_("v-if",!0)],6)),e.$slots.dot?(n(),m("div",{key:1,class:d(p(s).e("dot"))},[l(e.$slots,"dot")],2)):_("v-if",!0),u("div",{class:d(p(s).e("wrapper"))},[e.hideTimestamp||"top"!==e.placement?_("v-if",!0):(n(),m("div",{key:0,class:d([p(s).e("timestamp"),p(s).is("top")])},y(e.timestamp),3)),u("div",{class:d(p(s).e("content"))},[l(e.$slots,"default")],2),e.hideTimestamp||"bottom"!==e.placement?_("v-if",!0):(n(),m("div",{key:1,class:d([p(s).e("timestamp"),p(s).is("bottom")])},y(e.timestamp),3))],2)],2))}}),[["__file","timeline-item.vue"]]);const G=b(F,{TimelineItem:q}),H=E(q),J=""+new URL("087AC4D233B64EB0logo.png",import.meta.url).href,K=""+new URL("087AC4D233B64EB0flipped-aurora.png",import.meta.url).href,O=["href"],W=["src"],N={class:"author-name",style:{}},P=z(Object.assign({name:"About"},{__name:"index",setup(e){const a=C(0),t=()=>{a.value++,l()},s=C([]),l=()=>{L(a.value).then((({data:e})=>{e.forEach((e=>{e.commit.message&&s.value.push({from:$(e.commit.author.date,"yyyy-MM-dd"),title:e.commit.author.name,showDayAndMonth:!0,message:e.commit.message})}))}))},i=C([]);return l(),M().then((({data:e})=>{i.value=e,i.value.sort()})),(e,a)=>{const l=I,o=T,r=S,d=x,p=H,f=G,h=j;return n(),m("div",null,[A(r,{gutter:10},{default:g((()=>[A(o,{span:12},{default:g((()=>[A(d,null,{header:g((()=>[A(l,null,{default:g((()=>a[0]||(a[0]=[k("gin-vue-admin")]))),_:1})])),default:g((()=>[u("div",null,[A(r,null,{default:g((()=>[A(o,{span:8,offset:8},{default:g((()=>a[1]||(a[1]=[u("a",{href:"https://github.com/flipped-aurora/gin-vue-admin"},[u("img",{class:"org-img dom-center",src:J,alt:"gin-vue-admin"})],-1)]))),_:1})])),_:1}),A(r,{gutter:10},{default:g((()=>[A(o,{span:8},{default:g((()=>a[2]||(a[2]=[u("a",{href:"https://github.com/flipped-aurora/gin-vue-admin"},[u("img",{class:"dom-center",src:"https://img.shields.io/github/watchers/flipped-aurora/gin-vue-admin.svg?label=Watch",alt:""})],-1)]))),_:1}),A(o,{span:8},{default:g((()=>a[3]||(a[3]=[u("a",{href:"https://github.com/flipped-aurora/gin-vue-admin"},[u("img",{class:"dom-center",src:"https://img.shields.io/github/stars/flipped-aurora/gin-vue-admin.svg?style=social",alt:""})],-1)]))),_:1}),A(o,{span:8},{default:g((()=>a[4]||(a[4]=[u("a",{href:"https://github.com/flipped-aurora/gin-vue-admin"},[u("img",{class:"dom-center",src:"https://img.shields.io/github/forks/flipped-aurora/gin-vue-admin.svg?label=Fork",alt:""})],-1)]))),_:1})])),_:1})])])),_:1}),A(d,{style:{"margin-top":"20px"}},{header:g((()=>a[5]||(a[5]=[u("div",null,"啊对对队",-1)]))),default:g((()=>[u("div",null,[A(r,null,{default:g((()=>[A(o,{span:8,offset:8},{default:g((()=>a[6]||(a[6]=[u("a",{href:"https://github.com/flipped-aurora"},[u("img",{class:"org-img dom-center",src:K,alt:"flipped-aurora"})],-1)]))),_:1})])),_:1}),A(r,{style:{"margin-left":"40px"},gutter:20},{default:g((()=>[(n(!0),m(D,null,w(i.value,((e,a)=>(n(),c(o,{key:a,span:8},{default:g((()=>[u("a",{href:e.html_url},[u("img",{class:"avatar-img",src:e.avatar_url},null,8,W),u("a",N,y(e.login),1)],8,O)])),_:2},1024)))),128))])),_:1})])])),_:1})])),_:1}),A(o,{span:12},{default:g((()=>[A(d,null,{header:g((()=>a[7]||(a[7]=[u("div",null,"提交记录",-1)]))),default:g((()=>[u("div",null,[A(f,null,{default:g((()=>[(n(!0),m(D,null,w(s.value,((e,a)=>(n(),c(p,{key:a,timestamp:e.from,placement:"top"},{default:g((()=>[A(d,null,{default:g((()=>[u("h4",null,y(e.title),1),u("p",null,y(e.message),1)])),_:2},1024)])),_:2},1032,["timestamp"])))),128))])),_:1})]),A(h,{class:"load-more",type:"primary",link:"",onClick:t},{default:g((()=>a[8]||(a[8]=[k("Load more")]))),_:1})])),_:1})])),_:1})])),_:1})])}}}),[["__scopeId","data-v-154fd1d5"]]);export{P as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index6.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index6.css new file mode 100644 index 000000000..f73cb8081 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index6.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}:root{--el-menu-active-color: var(--el-color-primary);--el-menu-text-color: var(--el-text-color-primary);--el-menu-hover-text-color: var(--el-color-primary);--el-menu-bg-color: var(--el-fill-color-blank);--el-menu-hover-bg-color: var(--el-color-primary-light-9);--el-menu-item-height: 56px;--el-menu-sub-item-height: calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height: 60px;--el-menu-horizontal-sub-item-height: 36px;--el-menu-item-font-size: var(--el-font-size-base);--el-menu-item-hover-fill: var(--el-color-primary-light-9);--el-menu-border-color: var(--el-border-color);--el-menu-base-level-padding: 20px;--el-menu-level-padding: 20px;--el-menu-icon-width: 24px}.el-menu{border-right:solid 1px var(--el-menu-border-color);list-style:none;position:relative;margin:0;padding-left:0;background-color:var(--el-menu-bg-color);box-sizing:border-box}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title{white-space:nowrap;padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level) * var(--el-menu-level-padding))}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{display:flex;flex-wrap:nowrap;border-right:none;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:solid 1px var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{display:inline-flex;justify-content:center;align-items:center;height:100%;margin:0;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);display:flex;align-items:center;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px;color:var(--el-menu-text-color)}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):hover,.el-menu--horizontal .el-menu-item:not(.is-disabled):focus{outline:none;color:var(--el-menu-hover-text-color);background-color:var(--el-menu-hover-bg-color)}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding) * 2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;vertical-align:middle;width:var(--el-menu-icon-width);text-align:center}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light)}.el-menu .el-icon{flex-shrink:0}.el-menu-item{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:hover,.el-menu-item:focus{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-menu-item [class^=el-icon]{margin-right:5px;width:var(--el-menu-icon-width);text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{position:absolute;left:0;top:0;height:100%;width:100%;display:inline-flex;align-items:center;box-sizing:border-box;padding:0 var(--el-menu-base-level-padding)}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:hover,.el-sub-menu__title:focus{outline:none}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-sub-menu__title,.el-sub-menu.is-disabled .el-menu-item{opacity:.25;cursor:not-allowed;background:none!important}.el-sub-menu .el-icon{vertical-align:middle;margin-right:5px;width:var(--el-menu-icon-width);text-align:center;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{position:absolute;top:50%;right:var(--el-menu-base-level-padding);margin-top:-6px;transition:transform var(--el-transition-duration);font-size:12px;margin-right:0;width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px var(--el-menu-base-level-padding);line-height:normal;font-size:12px;color:var(--el-text-color-secondary)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-sub-menu__title:hover,.el-menu-item:hover{background:transparent}.el-scrollbar .el-scrollbar__view{height:100%}.menu-info .menu-contorl{line-height:52px;font-size:20px;display:table-cell;vertical-align:middle} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index6.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index6.js new file mode 100644 index 000000000..df7d32cbe --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index6.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a,M as e,u as s,N as t,o as c,c as l,b as i,t as o,D as r,e as d,w as n,g as m,K as u,L as v,h as g,F as p,G as b,H as f}from"./087AC4D233B64EB0index.js";import{E as h,a as w}from"./087AC4D233B64EB0col.js";import _ from"./087AC4D233B64EB0echartsLine.js";import x from"./087AC4D233B64EB0dashboardTable.js";import{_ as B}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0index23.js";import"./087AC4D233B64EB0github.js";import"./087AC4D233B64EB0date.js";const y=""+new URL("087AC4D233B64EB0dashboard.png",import.meta.url).href,C=a("今日晴,0℃ - 10℃,天气寒冷,注意添加衣物。"),E="8e8baa8a7317586c29ec694895de6e0a",k=async()=>{const a=await e.get("https://restapi.amap.com/v3/ip?key="+E);a.data.adcode&&D(a.data.adcode)},D=async a=>{const s=await e.get("https://restapi.amap.com/v3/weather/weatherInfo?key="+E+"&extensions=base&city="+a);if("1"===s.data.status){const a=s.data.lives[0];C.value=a.city+" 天气:"+a.weather+" 温度:"+a.temperature+"摄氏度 风向:"+a.winddirection+" 风力:"+a.windpower+"级 空气湿度:"+a.humidity}},j={class:"page"},A={class:"gva-card-box"},F={class:"gva-card gva-top-card"},q={class:"gva-top-card-left"},H={class:"gva-top-card-left-dot"},L={class:"flex items-center"},R={class:"flex items-center"},I={class:"flex items-center"},V={class:"gva-card-box"},G={class:"gva-card quick-entrance"},K={class:"quick-entrance-item"},M={class:"gva-card-box"},N={class:"gva-card"},O={class:"p-4"},T=B(Object.assign({name:"Dashboard"},{__name:"index",setup(e){const B=(k(),C),E=a([{label:"用户管理",icon:"monitor",name:"user",color:"#ff9c6e",bg:"rgba(255, 156, 110,.3)"},{label:"角色管理",icon:"setting",name:"authority",color:"#69c0ff",bg:"rgba(105, 192, 255,.3)"},{label:"菜单管理",icon:"menu",name:"menu",color:"#b37feb",bg:"rgba(179, 127, 235,.3)"},{label:"代码生成器",icon:"cpu",name:"autoCode",color:"#ffd666",bg:"rgba(255, 214, 102,.3)"},{label:"表单生成器",icon:"document-checked",name:"formCreate",color:"#ff85c0",bg:"rgba(255, 133, 192,.3)"},{label:"关于我们",icon:"user",name:"about",color:"#5cdbd3",bg:"rgba(92, 219, 211,.3)"}]),D=s();return(a,e)=>{const s=t("sort"),C=f,k=h,T=t("avatar"),U=t("comment"),z=w;return c(),l("div",j,[i("div",A,[i("div",F,[i("div",q,[e[3]||(e[3]=i("div",{class:"gva-top-card-left-title"},"早安,管理员,请开始一天的工作吧",-1)),i("div",H,o(r(B)),1),d(z,{class:"my-8 w-[500px]"},{default:n((()=>[d(k,{span:8,xs:24,sm:8},{default:n((()=>[i("div",L,[d(C,{class:"dashboard-icon"},{default:n((()=>[d(s)])),_:1}),e[0]||(e[0]=m(" 今日流量 (1231231) "))])])),_:1}),d(k,{span:8,xs:24,sm:8},{default:n((()=>[i("div",R,[d(C,{class:"dashboard-icon"},{default:n((()=>[d(T)])),_:1}),e[1]||(e[1]=m(" 总用户数 (24001) "))])])),_:1}),d(k,{span:8,xs:24,sm:8},{default:n((()=>[i("div",I,[d(C,{class:"dashboard-icon"},{default:n((()=>[d(U)])),_:1}),e[2]||(e[2]=m(" 好评率 (99%) "))])])),_:1})])),_:1}),e[4]||(e[4]=i("div",null,[i("div",{class:"gva-top-card-left-item"},[m(" 使用教学: "),i("a",{style:{color:"#409EFF"},target:"view_window",href:"https://www.bilibili.com/video/BV1Rg411u7xH/"},"https://www.bilibili.com/video/BV1Rg411u7xH")]),i("div",{class:"gva-top-card-left-item"},[m(" 插件仓库: "),i("a",{style:{color:"#409EFF"},target:"view_window",href:"https://plugin.gin-vue-admin.com/#/layout/home"},"https://plugin.gin-vue-admin.com")])],-1))]),e[5]||(e[5]=i("img",{src:y,class:"gva-top-card-right",alt:""},null,-1))])]),i("div",V,[i("div",G,[e[6]||(e[6]=i("div",{class:"gva-card-title"},"快捷入口",-1)),d(z,{gutter:20},{default:n((()=>[(c(!0),l(u,null,v(E.value,((a,e)=>(c(),g(k,{key:e,span:4,xs:8,class:"quick-entrance-items",onClick:e=>{return s=a.name,void D.push({name:s});var s}},{default:n((()=>[i("div",K,[i("div",{class:"quick-entrance-item-icon",style:p({backgroundColor:a.bg})},[d(C,null,{default:n((()=>[(c(),g(b(a.icon),{style:p({color:a.color})},null,8,["style"]))])),_:2},1024)],4),i("p",null,o(a.label),1)])])),_:2},1032,["onClick"])))),128))])),_:1})])]),i("div",M,[i("div",N,[e[7]||(e[7]=i("div",{class:"gva-card-title"},"数据统计",-1)),i("div",O,[d(z,{gutter:20},{default:n((()=>[d(k,{xs:24,sm:18},{default:n((()=>[d(_)])),_:1}),d(k,{xs:24,sm:6},{default:n((()=>[d(x)])),_:1})])),_:1})])])])])}}}),[["__scopeId","data-v-4d232fdc"]]);export{T as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index7.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index7.css new file mode 100644 index 000000000..3f7d5bb5e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index7.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.screenfull-svg[data-v-3ff1a29e]{width:16px;height:16px;cursor:pointer;vertical-align:middle;margin-right:32px;fill:rgba(0,0,0,.45)} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index7.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index7.js new file mode 100644 index 000000000..c41c64c2c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index7.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a0 as e,N as a,o as n,c as s,e as t,w as l,Z as o,h as u,a1 as i,D as r,G as d}from"./087AC4D233B64EB0index.js";const m=Object.assign({name:"Example"},{__name:"index",setup(m){const c=e();return(e,m)=>{const p=a("router-view");return n(),s("div",null,[t(p,null,{default:l((({Component:e})=>[t(o,{mode:"out-in",name:"el-fade-in-linear"},{default:l((()=>[(n(),u(i,{include:r(c).keepAliveRouters},[(n(),u(d(e)))],1032,["include"]))])),_:2},1024)])),_:1})])}}});export{m as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index8.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index8.css new file mode 100644 index 000000000..ba8d16536 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index8.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.drawer-container[data-v-54a7b8de]{transition:all .2s;position:fixed;right:-20px;bottom:15%;height:40px;width:40px;display:flex;align-items:center;justify-content:center;z-index:999;color:#fff;border-radius:4px 0 0 4px;cursor:pointer;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.1)}.drawer-container[data-v-54a7b8de]:hover{right:0}.setting_body[data-v-54a7b8de]{padding:20px}.setting_body .setting_card[data-v-54a7b8de]{margin-bottom:20px}.setting_body .setting_content[data-v-54a7b8de]{margin-top:20px;display:flex;flex-direction:column}.setting_body .setting_content>.theme-box[data-v-54a7b8de]{display:flex}.setting_body .setting_content>.color-box div[data-v-54a7b8de]{display:flex;flex-direction:column}.setting_body .setting_content .item[data-v-54a7b8de]{display:flex;align-items:center;justify-content:center;flex-direction:column;margin-right:20px}.setting_body .setting_content .item .item-top[data-v-54a7b8de]{position:relative}.setting_body .setting_content .item .check[data-v-54a7b8de]{position:absolute;font-size:20px;color:#00afff;right:10px;bottom:10px}.setting_body .setting_content .item p[data-v-54a7b8de]{text-align:center;font-size:12px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index8.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index8.js new file mode 100644 index 000000000..f3e96d028 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index8.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import e from"./087AC4D233B64EB0menuItem.js";import o from"./087AC4D233B64EB0asyncSubmenu.js";import{C as t,N as r,o as n,h as s,w as i,c as l,K as u,L as p,f as a,G as m}from"./087AC4D233B64EB0index.js";/* empty css *//* empty css */import"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0index29.js";import"./087AC4D233B64EB0index30.js";const f=Object.assign({name:"AsideComponent"},{__name:"index",props:{routerInfo:{type:Object,default:()=>null},isCollapse:{default:function(){return!1},type:Boolean},theme:{default:function(){return{}},type:Object}},setup(f){const d=f,B=t((()=>d.routerInfo.children&&d.routerInfo.children.filter((e=>!e.hidden)).length?o:e));return(e,o)=>{const t=r("AsideComponent");return f.routerInfo.hidden?a("",!0):(n(),s(m(B.value),{key:0,"is-collapse":f.isCollapse,theme:f.theme,"router-info":f.routerInfo},{default:i((()=>[f.routerInfo.children&&f.routerInfo.children.length?(n(!0),l(u,{key:0},p(f.routerInfo.children,(e=>(n(),s(t,{key:e.name,"is-collapse":!1,"router-info":e,theme:f.theme},null,8,["router-info","theme"])))),128)):a("",!0)])),_:1},8,["is-collapse","theme","router-info"]))}}});export{f as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index9.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index9.css new file mode 100644 index 000000000..5d1d30361 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index9.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-avatar{--el-avatar-text-color: var(--el-color-white);--el-avatar-bg-color: var(--el-text-color-disabled);--el-avatar-text-size: 14px;--el-avatar-icon-size: 18px;--el-avatar-border-radius: var(--el-border-radius-base);--el-avatar-size-large: 56px;--el-avatar-size-small: 24px;--el-avatar-size: 40px;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;overflow:hidden;outline:none;color:var(--el-avatar-text-color);background:var(--el-avatar-bg-color);width:var(--el-avatar-size);height:var(--el-avatar-size);font-size:var(--el-avatar-text-size)}.el-avatar>img{display:block;width:100%;height:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size: 24px}.el-avatar--large{--el-avatar-size: 56px}.headerAvatar[data-v-a9ea8f7c]{display:flex;justify-content:center;align-items:center;margin-right:8px}.file[data-v-a9ea8f7c]{width:80px;height:80px;position:relative} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index9.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index9.js new file mode 100644 index 000000000..75957e0d2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0index9.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{an as e,u as a,l as o,a0 as t,a as r,X as s,R as l,aA as n,o as i,c as u,e as c,w as d,Z as m,K as p,L as v,D as f,h as B,f as x,F as h}from"./087AC4D233B64EB0index.js";import{E as g}from"./087AC4D233B64EB0scrollbar.js";/* empty css *//* empty css */import E from"./087AC4D233B64EB0index8.js";import{E as k}from"./087AC4D233B64EB0index29.js";import"./087AC4D233B64EB0menuItem.js";import"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0asyncSubmenu.js";import"./087AC4D233B64EB0index30.js";const A=Object.assign({name:"Aside"},{__name:"index",setup(A){const b=e(),j=a(),y=o(),D=t(),C=r({}),_=()=>{switch(y.sideMode){case"#fff":C.value={background:"#fff",activeBackground:"var(--el-color-primary)",activeText:"#fff",normalText:"#333",hoverBackground:"rgba(64, 158, 255, 0.08)",hoverText:"#333"};break;case"#191a23":C.value={background:"#191a23",activeBackground:"var(--el-color-primary)",activeText:"#fff",normalText:"#fff",hoverBackground:"rgba(64, 158, 255, 0.08)",hoverText:"#fff"}}};_();const T=r("");s((()=>b),(()=>{T.value=b.meta.activeName||b.name}),{deep:!0}),s((()=>y.sideMode),(()=>{_()}));const M=r(!1);(()=>{T.value=b.meta.activeName||b.name;document.body.clientWidth<1e3&&(M.value=!M.value),n.on("collapse",(e=>{M.value=e}))})(),l((()=>{n.off("collapse")}));const w=(e,a,o,t)=>{var r,s;const l={},n={};(null==(r=D.routeMap[e])?void 0:r.parameters)&&(null==(s=D.routeMap[e])||s.parameters.forEach((e=>{"query"===e.type?l[e.key]=e.value:n[e.key]=e.value}))),e!==b.name&&(e.indexOf("http://")>-1||e.indexOf("https://")>-1?window.open(e):j.push({name:e,query:l,params:n}))};return(e,a)=>{const o=k,t=g;return i(),u("div",{style:h({background:f(y).sideMode})},[c(t,{style:{height:"calc(100vh - 60px)"}},{default:d((()=>[c(m,{duration:{enter:800,leave:100},mode:"out-in",name:"el-fade-in-linear"},{default:d((()=>[c(o,{collapse:M.value,"collapse-transition":!1,"default-active":T.value,"background-color":C.value.background,"active-text-color":C.value.active,class:"el-menu-vertical","unique-opened":"",onSelect:w},{default:d((()=>[(i(!0),u(p,null,v(f(D).asyncRouters[0].children,(e=>(i(),u(p,null,[e.hidden?x("",!0):(i(),B(E,{key:e.name,"is-collapse":M.value,"router-info":e,theme:C.value},null,8,["is-collapse","router-info","theme"]))],64)))),256))])),_:1},8,["collapse","default-active","background-color","active-text-color"])])),_:1})])),_:1})],4)}}});export{A as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0initdb-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0initdb-legacy.js new file mode 100644 index 000000000..fe5c61e94 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0initdb-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,e){"use strict";var n;return{setters:[function(t){n=t.s}],execute:function(){t("_",""+new URL("087AC4D233B64EB0login_right_banner.jpg",e.meta.url).href),t("i",(function(t){return n({url:"/init/initdb",method:"post",data:t})})),t("c",(function(){return n({url:"/init/checkdb",method:"post"})}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0initdb.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0initdb.js new file mode 100644 index 000000000..51db754b5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0initdb.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as t}from"./087AC4D233B64EB0index.js";const i=""+new URL("087AC4D233B64EB0login_right_banner.jpg",import.meta.url).href,o=i=>t({url:"/init/initdb",method:"post",data:i}),r=()=>t({url:"/init/checkdb",method:"post"});export{i as _,r as c,o as i}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-legacy.js new file mode 100644 index 000000000..d344ac737 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(e,r){"use strict";return{execute:function(){var e=document.createElement("style");e.textContent=".el-textarea{--el-input-text-color: var(--el-text-color-regular);--el-input-border: var(--el-border);--el-input-hover-border: var(--el-border-color-hover);--el-input-focus-border: var(--el-color-primary);--el-input-transparent-border: 0 0 0 1px transparent inset;--el-input-border-color: var(--el-border-color);--el-input-border-radius: var(--el-border-radius-base);--el-input-bg-color: var(--el-fill-color-blank);--el-input-icon-color: var(--el-text-color-placeholder);--el-input-placeholder-color: var(--el-text-color-placeholder);--el-input-hover-border-color: var(--el-border-color-hover);--el-input-clear-hover-color: var(--el-text-color-secondary);--el-input-focus-border-color: var(--el-color-primary);--el-input-width: 100%;position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 11px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color, var(--el-text-color-regular));background-color:var(--el-input-bg-color, var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color, var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{outline:none;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color: var(--el-text-color-regular);--el-input-border: var(--el-border);--el-input-hover-border: var(--el-border-color-hover);--el-input-focus-border: var(--el-color-primary);--el-input-transparent-border: 0 0 0 1px transparent inset;--el-input-border-color: var(--el-border-color);--el-input-border-radius: var(--el-border-radius-base);--el-input-bg-color: var(--el-fill-color-blank);--el-input-icon-color: var(--el-text-color-placeholder);--el-input-placeholder-color: var(--el-text-color-placeholder);--el-input-hover-border-color: var(--el-border-color-hover);--el-input-clear-hover-color: var(--el-text-color-secondary);--el-input-focus-border-color: var(--el-color-primary);--el-input-width: 100%;--el-input-height: var(--el-component-size);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:var(--el-input-width);line-height:var(--el-input-height);box-sizing:border-box;vertical-align:middle}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);font-size:14px;cursor:pointer}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.el-input__wrapper{display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;background-color:var(--el-input-bg-color, var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));cursor:text;transition:var(--el-transition-box-shadow);transform:translateZ(0);box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 32px) - 2px);width:100%;flex-grow:1;-webkit-appearance:none;color:var(--el-input-text-color, var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);padding:0;outline:none;border:none;background:none;box-sizing:border-box}.el-input__inner:focus{outline:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color, var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color, var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color, var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration);margin-left:8px}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height: var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height: var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 24px) - 2px)}.el-input-group{display:inline-flex;width:100%;align-items:stretch}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--el-input-border-radius);padding:0 20px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-select,.el-input-group__append .el-button,.el-input-group__prepend .el-select,.el-input-group__prepend .el-button{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}\n",document.head.appendChild(e)}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number-legacy.js new file mode 100644 index 000000000..8ef2a2879 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function r(r){for(var t=1;t=0&&e===Number.parseInt("".concat(e),10)}},validateEvent:{type:Boolean,default:!0}},o(["ariaLabel"]))),W=n(n(n(n(n({},s,(function(e,r){return r!==e})),"blur",(function(e){return e instanceof FocusEvent})),"focus",(function(e){return e instanceof FocusEvent})),c,(function(e){return a(e)||p(e)})),d,(function(e){return a(e)||p(e)})),Z=b({name:"ElInputNumber"}),ee=b(r(r({},Z),{},{props:U,emits:W,setup:function(e,r){var n=r.expose,t=r.emit,i=e,u=m().t,l=f("input-number"),o=v(),b=g({currentValue:i.modelValue,userInput:null}),G=h().formItem,J=_((function(){return a(i.modelValue)&&i.modelValue<=i.min})),U=_((function(){return a(i.modelValue)&&i.modelValue>=i.max})),W=_((function(){var e=ie(i.step);return x(i.precision)?Math.max(ie(i.modelValue),e):(i.precision,i.precision)})),Z=_((function(){return i.controls&&"right"===i.controlsPosition})),ee=y(),re=w(),ne=_((function(){if(null!==b.userInput)return b.userInput;var e=b.currentValue;if(p(e))return"";if(a(e)){if(Number.isNaN(e))return"";x(i.precision)||(e=e.toFixed(i.precision))}return e})),te=function(e,r){if(x(r)&&(r=W.value),0===r)return Math.round(e);var n=String(e),t=n.indexOf(".");if(-1===t)return e;if(!n.replace(".","").split("")[t+r])return e;var i=n.length;return"5"===n.charAt(i-1)&&(n="".concat(n.slice(0,Math.max(0,i-1)),"6")),Number.parseFloat(Number(n).toFixed(r))},ie=function(e){if(p(e))return 0;var r=e.toString(),n=r.indexOf("."),t=0;return-1!==n&&(t=r.length-n-1),t},ue=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return a(e)?te(e+i.step*r):b.currentValue},le=function(){if(!(i.readonly||re.value||U.value)){var e=Number(ne.value)||0,r=ue(e);se(r),t(c,b.currentValue),me()}},ae=function(){if(!(i.readonly||re.value||J.value)){var e=Number(ne.value)||0,r=ue(e,-1);se(r),t(c,b.currentValue),me()}},oe=function(e,r){var n=i.max,u=i.min,l=i.step,a=i.precision,o=i.stepStrictly,s=i.valueOnClear;nn||cn?n:u,r&&t(d,c)),c},se=function(e){var r,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],u=b.currentValue,l=oe(e);n?u===l&&e||(b.userInput=null,t(d,l),u!==l&&t(s,l,u),i.validateEvent&&(null==(r=null==G?void 0:G.validate)||r.call(G,"change").catch((function(e){return X()}))),b.currentValue=l):t(d,l)},ce=function(e){b.userInput=e;var r=""===e?null:Number(e);t(c,r),se(r,!1)},pe=function(e){var r=""!==e?Number(e):"";(a(r)&&!Number.isNaN(r)||""===e)&&se(r),me(),b.userInput=null},de=function(e){t("focus",e)},be=function(e){var r;b.userInput=null,t("blur",e),i.validateEvent&&(null==(r=null==G?void 0:G.validate)||r.call(G,"blur").catch((function(e){return X()})))},me=function(){b.currentValue!==i.modelValue&&(b.currentValue=i.modelValue)},fe=function(e){document.activeElement===e.target&&e.preventDefault()};return N((function(){return i.modelValue}),(function(e,r){var n=oe(e,!0);null===b.userInput&&n!==r&&(b.currentValue=n)}),{immediate:!0}),V((function(){var e,r=i.min,n=i.max,u=i.modelValue,l=null==(e=o.value)?void 0:e.input;if(l.setAttribute("role","spinbutton"),Number.isFinite(n)?l.setAttribute("aria-valuemax",String(n)):l.removeAttribute("aria-valuemax"),Number.isFinite(r)?l.setAttribute("aria-valuemin",String(r)):l.removeAttribute("aria-valuemin"),l.setAttribute("aria-valuenow",b.currentValue||0===b.currentValue?String(b.currentValue):""),l.setAttribute("aria-disabled",String(re.value)),!a(u)&&null!=u){var s=Number(u);Number.isNaN(s)&&(s=null),t(d,s)}l.addEventListener("wheel",fe,{passive:!1})})),I((function(){var e,r,n=null==(e=o.value)?void 0:e.input;null==n||n.setAttribute("aria-valuenow","".concat(null!=(r=b.currentValue)?r:""))})),n({focus:function(){var e,r;null==(r=null==(e=o.value)?void 0:e.focus)||r.call(e)},blur:function(){var e,r;null==(r=null==(e=o.value)?void 0:e.blur)||r.call(e)}}),function(e,r){return O(),S("div",{class:k([j(l).b(),j(l).m(j(ee)),j(l).is("disabled",j(re)),j(l).is("without-controls",!e.controls),j(l).is("controls-right",j(Z))]),onDragstart:Y((function(){}),["prevent"])},[e.controls?E((O(),S("span",{key:0,role:"button","aria-label":j(u)("el.inputNumber.decrease"),class:k([j(l).e("decrease"),j(l).is("disabled",j(J))]),onKeydown:P(ae,["enter"])},[A(e.$slots,"decrease-icon",{},(function(){return[F(j(T),null,{default:z((function(){return[j(Z)?(O(),D(j(B),{key:0})):(O(),D(j(C),{key:1}))]})),_:1})]}))],42,["aria-label","onKeydown"])),[[j(Q),ae]]):$("v-if",!0),e.controls?E((O(),S("span",{key:1,role:"button","aria-label":j(u)("el.inputNumber.increase"),class:k([j(l).e("increase"),j(l).is("disabled",j(U))]),onKeydown:P(le,["enter"])},[A(e.$slots,"increase-icon",{},(function(){return[F(j(T),null,{default:z((function(){return[j(Z)?(O(),D(j(K),{key:0})):(O(),D(j(L),{key:1}))]})),_:1})]}))],42,["aria-label","onKeydown"])),[[j(Q),le]]):$("v-if",!0),F(j(q),{id:e.id,ref_key:"input",ref:o,type:"number",step:e.step,"model-value":j(ne),placeholder:e.placeholder,readonly:e.readonly,disabled:j(re),size:j(ee),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,onKeydown:[P(Y(le,["prevent"]),["up"]),P(Y(ae,["prevent"]),["down"])],onBlur:be,onFocus:de,onInput:ce,onChange:pe},M({_:2},[e.$slots.prefix?{name:"prefix",fn:z((function(){return[A(e.$slots,"prefix")]}))}:void 0,e.$slots.suffix?{name:"suffix",fn:z((function(){return[A(e.$slots,"suffix")]}))}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"])}}}));e("E",J(G(ee,[["__file","input-number.vue"]])))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number.css new file mode 100644 index 000000000..3c917cfda --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-input-number{position:relative;display:inline-flex;width:150px;line-height:30px;vertical-align:middle}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center;line-height:1}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__increase,.el-input-number__decrease{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;user-select:none}.el-input-number__increase:hover,.el-input-number__decrease:hover{color:var(--el-color-primary)}.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset}.el-input-number__increase.is-disabled,.el-input-number__decrease.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__increase,.el-input-number.is-disabled .el-input-number__decrease{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__increase:hover,.el-input-number.is-disabled .el-input-number__decrease:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__increase,.el-input-number--large .el-input-number__decrease{width:40px;font-size:14px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__increase,.el-input-number--small .el-input-number__decrease{width:24px;font-size:12px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__increase [class*=el-icon],.el-input-number--small .el-input-number__decrease [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__increase,.el-input-number.is-controls-right .el-input-number__decrease{--el-input-number-controls-height: 15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon],.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=increase],.el-input-number.is-controls-right[class*=large] [class*=decrease]{--el-input-number-controls-height: 19px}.el-input-number.is-controls-right[class*=small] [class*=increase],.el-input-number.is-controls-right[class*=small] [class*=decrease]{--el-input-number-controls-height: 11px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number.js new file mode 100644 index 000000000..512f38dac --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input-number.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a$ as e,A as a,a2 as t,a7 as n,a3 as l,a6 as r,a5 as u,aR as s,a4 as i,q as o,ah as c,v as d,a as m,r as v,aa as p,C as b,bi as f,aj as N,cc as y,X as x,P as V,b1 as h,o as I,c as g,S as E,D as S,n as w,m as A,z as F,e as k,w as _,h as B,av as $,cO as K,H as O,f as T,ca as C,aV as D,ax as L,ak as M,k as z,_ as P,ad as j,ag as Y,ae as q,I as G}from"./087AC4D233B64EB0index.js";const H=100,R=600,X={beforeMount(a,t){const n=t.value,{interval:l=H,delay:r=R}=e(n)?{}:n;let u,s;const i=()=>e(n)?n():n.handler(),o=()=>{s&&(clearTimeout(s),s=void 0),u&&(clearInterval(u),u=void 0)};a.addEventListener("mousedown",(e=>{0===e.button&&(o(),i(),document.addEventListener("mouseup",(()=>o()),{once:!0}),s=setTimeout((()=>{u=setInterval((()=>{i()}),l)}),r))}))}},J=a({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:t,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>null===e||n(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt("".concat(e),10)},validateEvent:{type:Boolean,default:!0},...l(["ariaLabel"])}),Q={[r]:(e,a)=>a!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[u]:e=>n(e)||s(e),[i]:e=>n(e)||s(e)},U=o({name:"ElInputNumber"});const W=G(P(o({...U,props:J,emits:Q,setup(e,{expose:a,emit:t}){const l=e,{t:o}=c(),P=d("input-number"),G=m(),H=v({currentValue:l.modelValue,userInput:null}),{formItem:R}=p(),J=b((()=>n(l.modelValue)&&l.modelValue<=l.min)),Q=b((()=>n(l.modelValue)&&l.modelValue>=l.max)),U=b((()=>{const e=ne(l.step);return f(l.precision)?Math.max(ne(l.modelValue),e):(l.precision,l.precision)})),W=b((()=>l.controls&&"right"===l.controlsPosition)),Z=N(),ee=y(),ae=b((()=>{if(null!==H.userInput)return H.userInput;let e=H.currentValue;if(s(e))return"";if(n(e)){if(Number.isNaN(e))return"";f(l.precision)||(e=e.toFixed(l.precision))}return e})),te=(e,a)=>{if(f(a)&&(a=U.value),0===a)return Math.round(e);let t=String(e);const n=t.indexOf(".");if(-1===n)return e;if(!t.replace(".","").split("")[n+a])return e;const l=t.length;return"5"===t.charAt(l-1)&&(t="".concat(t.slice(0,Math.max(0,l-1)),"6")),Number.parseFloat(Number(t).toFixed(a))},ne=e=>{if(s(e))return 0;const a=e.toString(),t=a.indexOf(".");let n=0;return-1!==t&&(n=a.length-t-1),n},le=(e,a=1)=>n(e)?te(e+l.step*a):H.currentValue,re=()=>{if(l.readonly||ee.value||Q.value)return;const e=Number(ae.value)||0,a=le(e);ie(a),t(u,H.currentValue),ve()},ue=()=>{if(l.readonly||ee.value||J.value)return;const e=Number(ae.value)||0,a=le(e,-1);ie(a),t(u,H.currentValue),ve()},se=(e,a)=>{const{max:n,min:r,step:u,precision:o,stepStrictly:c,valueOnClear:d}=l;nn||mn?n:r,a&&t(i,m)),m},ie=(e,a=!0)=>{var n;const u=H.currentValue,s=se(e);a?u===s&&e||(H.userInput=null,t(i,s),u!==s&&t(r,s,u),l.validateEvent&&(null==(n=null==R?void 0:R.validate)||n.call(R,"change").catch((e=>q()))),H.currentValue=s):t(i,s)},oe=e=>{H.userInput=e;const a=""===e?null:Number(e);t(u,a),ie(a,!1)},ce=e=>{const a=""!==e?Number(e):"";(n(a)&&!Number.isNaN(a)||""===e)&&ie(a),ve(),H.userInput=null},de=e=>{t("focus",e)},me=e=>{var a;H.userInput=null,t("blur",e),l.validateEvent&&(null==(a=null==R?void 0:R.validate)||a.call(R,"blur").catch((e=>q())))},ve=()=>{H.currentValue!==l.modelValue&&(H.currentValue=l.modelValue)},pe=e=>{document.activeElement===e.target&&e.preventDefault()};return x((()=>l.modelValue),((e,a)=>{const t=se(e,!0);null===H.userInput&&t!==a&&(H.currentValue=t)}),{immediate:!0}),V((()=>{var e;const{min:a,max:r,modelValue:u}=l,s=null==(e=G.value)?void 0:e.input;if(s.setAttribute("role","spinbutton"),Number.isFinite(r)?s.setAttribute("aria-valuemax",String(r)):s.removeAttribute("aria-valuemax"),Number.isFinite(a)?s.setAttribute("aria-valuemin",String(a)):s.removeAttribute("aria-valuemin"),s.setAttribute("aria-valuenow",H.currentValue||0===H.currentValue?String(H.currentValue):""),s.setAttribute("aria-disabled",String(ee.value)),!n(u)&&null!=u){let e=Number(u);Number.isNaN(e)&&(e=null),t(i,e)}s.addEventListener("wheel",pe,{passive:!1})})),h((()=>{var e,a;const t=null==(e=G.value)?void 0:e.input;null==t||t.setAttribute("aria-valuenow","".concat(null!=(a=H.currentValue)?a:""))})),a({focus:()=>{var e,a;null==(a=null==(e=G.value)?void 0:e.focus)||a.call(e)},blur:()=>{var e,a;null==(a=null==(e=G.value)?void 0:e.blur)||a.call(e)}}),(e,a)=>(I(),g("div",{class:w([S(P).b(),S(P).m(S(Z)),S(P).is("disabled",S(ee)),S(P).is("without-controls",!e.controls),S(P).is("controls-right",S(W))]),onDragstart:M((()=>{}),["prevent"])},[e.controls?E((I(),g("span",{key:0,role:"button","aria-label":S(o)("el.inputNumber.decrease"),class:w([S(P).e("decrease"),S(P).is("disabled",S(J))]),onKeydown:A(ue,["enter"])},[F(e.$slots,"decrease-icon",{},(()=>[k(S(O),null,{default:_((()=>[S(W)?(I(),B(S($),{key:0})):(I(),B(S(K),{key:1}))])),_:1})]))],42,["aria-label","onKeydown"])),[[S(X),ue]]):T("v-if",!0),e.controls?E((I(),g("span",{key:1,role:"button","aria-label":S(o)("el.inputNumber.increase"),class:w([S(P).e("increase"),S(P).is("disabled",S(Q))]),onKeydown:A(re,["enter"])},[F(e.$slots,"increase-icon",{},(()=>[k(S(O),null,{default:_((()=>[S(W)?(I(),B(S(C),{key:0})):(I(),B(S(D),{key:1}))])),_:1})]))],42,["aria-label","onKeydown"])),[[S(X),re]]):T("v-if",!0),k(S(z),{id:e.id,ref_key:"input",ref:G,type:"number",step:e.step,"model-value":S(ae),placeholder:e.placeholder,readonly:e.readonly,disabled:S(ee),size:S(Z),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,onKeydown:[A(M(re,["prevent"]),["up"]),A(M(ue,["prevent"]),["down"])],onBlur:me,onFocus:de,onInput:oe,onChange:ce},L({_:2},[e.$slots.prefix?{name:"prefix",fn:_((()=>[F(e.$slots,"prefix")]))}:void 0,e.$slots.suffix?{name:"suffix",fn:_((()=>[F(e.$slots,"suffix")]))}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"]))}}),[["__file","input-number.vue"]]));export{W as E,X as v}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input.css new file mode 100644 index 000000000..d73cbf3c6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0input.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-textarea{--el-input-text-color: var(--el-text-color-regular);--el-input-border: var(--el-border);--el-input-hover-border: var(--el-border-color-hover);--el-input-focus-border: var(--el-color-primary);--el-input-transparent-border: 0 0 0 1px transparent inset;--el-input-border-color: var(--el-border-color);--el-input-border-radius: var(--el-border-radius-base);--el-input-bg-color: var(--el-fill-color-blank);--el-input-icon-color: var(--el-text-color-placeholder);--el-input-placeholder-color: var(--el-text-color-placeholder);--el-input-hover-border-color: var(--el-border-color-hover);--el-input-clear-hover-color: var(--el-text-color-secondary);--el-input-focus-border-color: var(--el-color-primary);--el-input-width: 100%;position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 11px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color, var(--el-text-color-regular));background-color:var(--el-input-bg-color, var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color, var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{outline:none;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color: var(--el-text-color-regular);--el-input-border: var(--el-border);--el-input-hover-border: var(--el-border-color-hover);--el-input-focus-border: var(--el-color-primary);--el-input-transparent-border: 0 0 0 1px transparent inset;--el-input-border-color: var(--el-border-color);--el-input-border-radius: var(--el-border-radius-base);--el-input-bg-color: var(--el-fill-color-blank);--el-input-icon-color: var(--el-text-color-placeholder);--el-input-placeholder-color: var(--el-text-color-placeholder);--el-input-hover-border-color: var(--el-border-color-hover);--el-input-clear-hover-color: var(--el-text-color-secondary);--el-input-focus-border-color: var(--el-color-primary);--el-input-width: 100%;--el-input-height: var(--el-component-size);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:var(--el-input-width);line-height:var(--el-input-height);box-sizing:border-box;vertical-align:middle}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);font-size:14px;cursor:pointer}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.el-input__wrapper{display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;background-color:var(--el-input-bg-color, var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));cursor:text;transition:var(--el-transition-box-shadow);transform:translateZ(0);box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 32px) - 2px);width:100%;flex-grow:1;-webkit-appearance:none;color:var(--el-input-text-color, var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);padding:0;outline:none;border:none;background:none;box-sizing:border-box}.el-input__inner:focus{outline:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color, var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color, var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color, var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration);margin-left:8px}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height: var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height: var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 24px) - 2px)}.el-input-group{display:inline-flex;width:100%;align-items:stretch}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--el-input-border-radius);padding:0 20px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-select,.el-input-group__append .el-button,.el-input-group__prepend .el-select,.el-input-group__prepend .el-button{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0isEqual-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0isEqual-legacy.js new file mode 100644 index 000000000..a27676f12 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0isEqual-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var r,n,a,o,i,c,u,f,s,l,b;return{setters:[function(e){r=e.U,n=e.d,a=e.a,o=e.i,i=e.S,c=e.e},function(e){u=e.bO,f=e.bL,s=e.bP,l=e.bc,b=e.bM}],execute:function(){function t(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new u;++tu))return!1;var s=i.get(e),l=i.get(r);if(s&&l)return s==r&&l==e;var b=-1,y=!0,d=n&_?new t:void 0;for(i.set(e,r),i.set(r,e);++bu))return!1;var f=o.get(e),s=o.get(r);if(f&&s)return f==r&&s==e;var l=-1,h=!0,p=2&t?new b:void 0;for(o.set(e,r),o.set(r,e);++l=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var i=l.call(o,"catchLoc"),c=l.call(o,"finallyLoc");if(i&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var l=r.arg;A(n)}return l}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n1&&z.value--,ne());case 4:case"end":return e.stop()}}),t)})))).catch((function(){x({type:"info",message:"已取消删除"})}));var r}},{default:d((function(){return n[24]||(n[24]=[s("删除")])})),_:2},1032,["onClick"])]})),_:1})]})),_:1},8,["data"])]),f(he,{modelValue:de.value,"onUpdate:modelValue":n[20]||(n[20]=function(e){return de.value=e}),"before-close":ue,title:ge.value},{footer:d((function(){return[c("div",R,[f(l,{onClick:se},{default:d((function(){return n[35]||(n[35]=[s("取 消")])})),_:1}),f(l,{type:"primary",onClick:pe},{default:d((function(){return n[36]||(n[36]=[s("确 定")])})),_:1})])]})),default:d((function(){return[f(q,{title:"新增菜单,需要在角色管理内配置权限才可使用"}),de.value?(u(),h(me,{key:0,ref_key:"menuForm",ref:ie,inline:!0,model:ae.value,rules:r,"label-position":"top","label-width":"85px"},{default:d((function(){return[f(D,{label:"路由Name",prop:"path",style:{width:"30%"}},{default:d((function(){return[f(k,{modelValue:ae.value.name,"onUpdate:modelValue":n[2]||(n[2]=function(e){return ae.value.name=e}),autocomplete:"off",placeholder:"唯一英文字符串",onChange:oe},null,8,["modelValue"])]})),_:1}),f(D,{prop:"path",style:{width:"30%"}},{label:d((function(){return[c("span",X,[n[26]||(n[26]=c("span",null,"路由Path",-1)),f(F,{modelValue:ce.value,"onUpdate:modelValue":n[3]||(n[3]=function(e){return ce.value=e}),style:{"margin-left":"12px",height:"auto"}},{default:d((function(){return n[25]||(n[25]=[s("添加参数")])})),_:1},8,["modelValue"])])]})),default:d((function(){return[f(k,{modelValue:ae.value.path,"onUpdate:modelValue":n[4]||(n[4]=function(e){return ae.value.path=e}),disabled:!ce.value,autocomplete:"off",placeholder:"建议只在后方拼接参数"},null,8,["modelValue","disabled"])]})),_:1}),f(D,{label:"是否隐藏",style:{width:"30%"}},{default:d((function(){return[f(Z,{modelValue:ae.value.hidden,"onUpdate:modelValue":n[5]||(n[5]=function(e){return ae.value.hidden=e}),placeholder:"是否在列表隐藏"},{default:d((function(){return[f(W,{value:!1,label:"否"}),f(W,{value:!0,label:"是"})]})),_:1},8,["modelValue"])]})),_:1}),f(D,{label:"父节点ID",style:{width:"30%"}},{default:d((function(){return[f(te,{modelValue:ae.value.parentId,"onUpdate:modelValue":n[6]||(n[6]=function(e){return ae.value.parentId=e}),style:{width:"100%"},disabled:!ye.value,options:ve.value,props:{checkStrictly:!0,label:"title",value:"ID",disabled:"disabled",emitPath:!1},"show-all-levels":!1,filterable:""},null,8,["modelValue","disabled","options"])]})),_:1}),f(D,{label:"文件路径",prop:"component",style:{width:"60%"}},{default:d((function(){return[f(k,{modelValue:ae.value.component,"onUpdate:modelValue":n[7]||(n[7]=function(e){return ae.value.component=e}),autocomplete:"off",placeholder:"页面:view/xxx/xx.vue 插件:plugin/xx/xx.vue",onBlur:re},null,8,["modelValue"]),n[28]||(n[28]=c("span",{style:{"font-size":"12px","margin-right":"12px"}},"如果菜单包含子菜单,请创建router-view二级路由页面或者",-1)),f(l,{style:{"margin-top":"4px"},onClick:n[8]||(n[8]=function(e){return ae.value.component="view/routerHolder.vue"})},{default:d((function(){return n[27]||(n[27]=[s("点我设置")])})),_:1})]})),_:1}),f(D,{label:"展示名称",prop:"meta.title",style:{width:"30%"}},{default:d((function(){return[f(k,{modelValue:ae.value.meta.title,"onUpdate:modelValue":n[9]||(n[9]=function(e){return ae.value.meta.title=e}),autocomplete:"off"},null,8,["modelValue"])]})),_:1}),f(D,{label:"图标",prop:"meta.icon",style:{width:"30%"}},{default:d((function(){return[f(G,{meta:ae.value.meta,style:{width:"100%"}},null,8,["meta"])]})),_:1}),f(D,{label:"排序标记",prop:"sort",style:{width:"30%"}},{default:d((function(){return[f(k,{modelValue:ae.value.sort,"onUpdate:modelValue":n[10]||(n[10]=function(e){return ae.value.sort=e}),modelModifiers:{number:!0},autocomplete:"off"},null,8,["modelValue"])]})),_:1}),f(D,{prop:"meta.activeName",style:{width:"30%"}},{label:d((function(){return[c("div",null,[n[29]||(n[29]=c("span",null," 高亮菜单 ",-1)),f(fe,{content:"注:当到达此路由时候,指定左侧菜单指定name会处于活跃状态(亮起),可为空,为空则为本路由Name。",placement:"top",effect:"light"},{default:d((function(){return[f(o,null,{default:d((function(){return[f(p(w))]})),_:1})]})),_:1})])]})),default:d((function(){return[f(k,{modelValue:ae.value.meta.activeName,"onUpdate:modelValue":n[11]||(n[11]=function(e){return ae.value.meta.activeName=e}),placeholder:ae.value.name,autocomplete:"off"},null,8,["modelValue","placeholder"])]})),_:1}),f(D,{label:"KeepAlive",prop:"meta.keepAlive",style:{width:"30%"}},{default:d((function(){return[f(Z,{modelValue:ae.value.meta.keepAlive,"onUpdate:modelValue":n[12]||(n[12]=function(e){return ae.value.meta.keepAlive=e}),style:{width:"100%"},placeholder:"是否keepAlive缓存页面"},{default:d((function(){return[f(W,{value:!1,label:"否"}),f(W,{value:!0,label:"是"})]})),_:1},8,["modelValue"])]})),_:1}),f(D,{label:"CloseTab",prop:"meta.closeTab",style:{width:"30%"}},{default:d((function(){return[f(Z,{modelValue:ae.value.meta.closeTab,"onUpdate:modelValue":n[13]||(n[13]=function(e){return ae.value.meta.closeTab=e}),style:{width:"100%"},placeholder:"是否自动关闭tab"},{default:d((function(){return[f(W,{value:!1,label:"否"}),f(W,{value:!0,label:"是"})]})),_:1},8,["modelValue"])]})),_:1}),f(D,{style:{width:"30%"}},{label:d((function(){return[c("div",null,[n[30]||(n[30]=c("span",null," 是否为基础页面 ",-1)),f(fe,{content:"此项选择为是,则不会展示左侧菜单以及顶部信息。",placement:"top",effect:"light"},{default:d((function(){return[f(o,null,{default:d((function(){return[f(p(w))]})),_:1})]})),_:1})])]})),default:d((function(){return[f(Z,{modelValue:ae.value.meta.defaultMenu,"onUpdate:modelValue":n[14]||(n[14]=function(e){return ae.value.meta.defaultMenu=e}),style:{width:"100%"},placeholder:"是否为基础页面"},{default:d((function(){return[f(W,{value:!1,label:"否"}),f(W,{value:!0,label:"是"})]})),_:1},8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])):g("",!0),c("div",null,[c("div",J,[f(l,{type:"primary",icon:"edit",onClick:n[15]||(n[15]=function(e){return function(e){e.parameters||(e.parameters=[]),e.parameters.push({type:"query",key:"",value:""})}(ae.value)})},{default:d((function(){return n[31]||(n[31]=[s("新增菜单参数")])})),_:1}),f(o,{class:"cursor-pointer",onClick:n[16]||(n[16]=function(e){return p(M)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=9&vd_source=f2640257c21e3b547a790461ed94875e")})},{default:d((function(){return[f(p(v))]})),_:1})]),f(E,{data:ae.value.parameters,style:{width:"100%","margin-top":"12px"}},{default:d((function(){return[f(b,{align:"left",prop:"type",label:"参数类型",width:"180"},{default:d((function(e){return[f(Z,{modelValue:e.row.type,"onUpdate:modelValue":function(t){return e.row.type=t},placeholder:"请选择"},{default:d((function(){return[f(W,{key:"query",value:"query",label:"query"}),f(W,{key:"params",value:"params",label:"params"})]})),_:2},1032,["modelValue","onUpdate:modelValue"])]})),_:1}),f(b,{align:"left",prop:"key",label:"参数key",width:"180"},{default:d((function(e){return[c("div",null,[f(k,{modelValue:e.row.key,"onUpdate:modelValue":function(t){return e.row.key=t}},null,8,["modelValue","onUpdate:modelValue"])])]})),_:1}),f(b,{align:"left",prop:"value",label:"参数值"},{default:d((function(e){return[c("div",null,[f(k,{modelValue:e.row.value,"onUpdate:modelValue":function(t){return e.row.value=t}},null,8,["modelValue","onUpdate:modelValue"])])]})),_:1}),f(b,{align:"left"},{default:d((function(e){return[c("div",null,[f(l,{type:"danger",icon:"delete",onClick:function(t){return n=ae.value.parameters,r=e.$index,void n.splice(r,1);var n,r}},{default:d((function(){return n[32]||(n[32]=[s("删除")])})),_:2},1032,["onClick"])])]})),_:1})]})),_:1},8,["data"]),c("div",Q,[f(l,{type:"primary",icon:"edit",onClick:n[17]||(n[17]=function(e){return function(e){e.menuBtn||(e.menuBtn=[]),e.menuBtn.push({name:"",desc:""})}(ae.value)})},{default:d((function(){return n[33]||(n[33]=[s("新增可控按钮 ")])})),_:1}),f(o,{class:"cursor-pointer",onClick:n[18]||(n[18]=function(e){return p(M)("https://www.gin-vue-admin.com/guide/web/button-auth.html")})},{default:d((function(){return[f(p(w))]})),_:1}),f(o,{class:"cursor-pointer",onClick:n[19]||(n[19]=function(e){return p(M)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=11&vd_source=f2640257c21e3b547a790461ed94875e")})},{default:d((function(){return[f(p(v))]})),_:1})]),f(E,{data:ae.value.menuBtn,style:{width:"100%","margin-top":"12px"}},{default:d((function(){return[f(b,{align:"left",prop:"name",label:"按钮名称",width:"180"},{default:d((function(e){return[c("div",null,[f(k,{modelValue:e.row.name,"onUpdate:modelValue":function(t){return e.row.name=t}},null,8,["modelValue","onUpdate:modelValue"])])]})),_:1}),f(b,{align:"left",prop:"name",label:"备注",width:"180"},{default:d((function(e){return[c("div",null,[f(k,{modelValue:e.row.desc,"onUpdate:modelValue":function(t){return e.row.desc=t}},null,8,["modelValue","onUpdate:modelValue"])])]})),_:1}),f(b,{align:"left"},{default:d((function(e){return[c("div",null,[f(l,{type:"danger",icon:"delete",onClick:function(t){return le(ae.value.menuBtn,e.$index)}},{default:d((function(){return n[34]||(n[34]=[s("删除")])})),_:2},1032,["onClick"])])]})),_:1})]})),_:1},8,["data"])])]})),_:1},8,["modelValue","title"])])}}});t("default",z(W,[["__scopeId","data-v-42fe8119"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menu.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menu.css new file mode 100644 index 000000000..b5ff17b77 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menu.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.warning[data-v-42fe8119]{color:#dc143c}.icon-column[data-v-42fe8119]{display:flex;align-items:center}.icon-column .el-icon[data-v-42fe8119]{margin-right:8px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menu.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menu.js new file mode 100644 index 000000000..635716374 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menu.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{r as e,a as l,o as a,c as t,b as o,e as u,w as i,g as d,D as n,aX as r,t as p,h as m,G as s,f as c,d6 as v,d7 as f,T as h,d8 as b,j as w,d9 as y,da as B,db as g,E as _,H as V,k as D}from"./087AC4D233B64EB0index.js";import{E as C}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import{a as k,E as A}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{E}from"./087AC4D233B64EB0radio.js";/* empty css */import"./087AC4D233B64EB0tag.js";import{E as j}from"./087AC4D233B64EB0checkbox.js";import"./087AC4D233B64EB0scrollbar.js";import{E as x,a as I}from"./087AC4D233B64EB0select.js";import{E as U,a as T}from"./087AC4D233B64EB0table-column.js";/* empty css */import N from"./087AC4D233B64EB0icon.js";import{_ as q}from"./087AC4D233B64EB0warningBar.js";import{c as M}from"./087AC4D233B64EB0authorityBtn.js";import{t as S}from"./087AC4D233B64EB0doc.js";import{_ as z}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{a as P}from"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0arrays.js";import"./087AC4D233B64EB0cloneDeep.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0token.js";const F={class:"gva-table-box"},H={class:"gva-btn-list"},O={key:0,class:"icon-column"},$={style:{display:"inline-flex","align-items":"center"}},G={class:"flex items-center gap-2"},K={class:"flex items-center gap-2 mt-3"},X={class:"dialog-footer"},J=z(Object.assign({name:"Menus"},{__name:"menu",setup(z){const J=e({path:[{required:!0,message:"请输入菜单name",trigger:"blur"}],component:[{required:!0,message:"请输入文件路径",trigger:"blur"}],"meta.title":[{required:!0,message:"请输入菜单展示名称",trigger:"blur"}]}),L=l(1),Q=l(0),R=l(999),W=l([]),Y=l({}),Z=async()=>{const e=await f({page:L.value,pageSize:R.value,...Y.value});0===e.code&&(W.value=e.data.list,Q.value=e.data.total,L.value=e.data.page,R.value=e.data.pageSize)};Z();const ee=()=>{le.value.component=le.value.component.replace(/\\/g,"/")},le=l({ID:0,path:"",name:"",hidden:!1,parentId:"",component:"",meta:{activeName:"",title:"",icon:"",defaultMenu:!1,closeTab:!1,keepAlive:!1},parameters:[],menuBtn:[]}),ae=()=>{le.value.path=le.value.name},te=e=>{ie(),e()},oe=l(null),ue=l(!1),ie=()=>{ue.value=!1,oe.value.resetFields(),le.value={ID:0,path:"",name:"",hidden:!1,parentId:"",component:"",meta:{title:"",icon:"",defaultMenu:!1,closeTab:!1,keepAlive:!1}}},de=l(!1),ne=()=>{ie(),de.value=!1},re=async()=>{oe.value.validate((async e=>{if(e){let e;e=ce.value?await y(le.value):await B(le.value),0===e.code&&(w({type:"success",message:ce.value?"编辑成功":"添加成功!"}),Z()),ie(),de.value=!1}}))},pe=l([{ID:"0",title:"根菜单"}]),me=()=>{pe.value=[{ID:"0",title:"根目录"}],se(W.value,pe.value,!1)},se=(e,l,a)=>{e&&e.forEach((e=>{if(e.children&&e.children.length){const t={title:e.meta.title,ID:String(e.ID),disabled:a||e.ID===le.value.ID,children:[]};se(e.children,t.children,a||e.ID===le.value.ID),l.push(t)}else{const t={title:e.meta.title,ID:String(e.ID),disabled:a||e.ID===le.value.ID};l.push(t)}}))},ce=l(!1),ve=l("新增菜单"),fe=e=>{ve.value="新增菜单",le.value.parentId=String(e),ce.value=!1,me(),de.value=!0};return(e,l)=>{const f=_,y=V,B=U,z=T,Q=D,R=k,Y=j,ie=x,se=I,he=E,be=P,we=A,ye=C;return a(),t("div",null,[o("div",F,[o("div",H,[u(f,{type:"primary",icon:"plus",onClick:l[0]||(l[0]=e=>fe("0"))},{default:i((()=>l[21]||(l[21]=[d("新增根菜单")]))),_:1}),u(y,{class:"cursor-pointer",onClick:l[1]||(l[1]=e=>n(S)("https://www.bilibili.com/video/BV1kv4y1g7nT/?p=4&vd_source=f2640257c21e3b547a790461ed94875e"))},{default:i((()=>[u(n(r))])),_:1})]),u(z,{data:W.value,"row-key":"ID"},{default:i((()=>[u(B,{align:"left",label:"ID","min-width":"100",prop:"ID"}),u(B,{align:"left",label:"展示名称","min-width":"120",prop:"authorityName"},{default:i((e=>[o("span",null,p(e.row.meta.title),1)])),_:1}),u(B,{align:"left",label:"图标","min-width":"140",prop:"authorityName"},{default:i((e=>[e.row.meta.icon?(a(),t("div",O,[u(y,null,{default:i((()=>[(a(),m(s(e.row.meta.icon)))])),_:2},1024),o("span",null,p(e.row.meta.icon),1)])):c("",!0)])),_:1}),u(B,{align:"left",label:"路由Name","show-overflow-tooltip":"","min-width":"160",prop:"name"}),u(B,{align:"left",label:"路由Path","show-overflow-tooltip":"","min-width":"160",prop:"path"}),u(B,{align:"left",label:"是否隐藏","min-width":"100",prop:"hidden"},{default:i((e=>[o("span",null,p(e.row.hidden?"隐藏":"显示"),1)])),_:1}),u(B,{align:"left",label:"父节点","min-width":"90",prop:"parentId"}),u(B,{align:"left",label:"排序","min-width":"70",prop:"sort"}),u(B,{align:"left",label:"文件路径","min-width":"360",prop:"component"}),u(B,{align:"left",fixed:"right",label:"操作",width:"300"},{default:i((e=>[u(f,{type:"primary",link:"",icon:"plus",onClick:l=>fe(e.row.ID)},{default:i((()=>l[22]||(l[22]=[d("添加子菜单")]))),_:2},1032,["onClick"]),u(f,{type:"primary",link:"",icon:"edit",onClick:l=>(async e=>{ve.value="编辑菜单";const l=await g({id:e});le.value=l.data.menu,ce.value=!0,me(),de.value=!0})(e.row.ID)},{default:i((()=>l[23]||(l[23]=[d("编辑")]))),_:2},1032,["onClick"]),u(f,{type:"primary",link:"",icon:"delete",onClick:l=>{return a=e.row.ID,void h.confirm("此操作将永久删除所有角色下该菜单, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{0===(await b({ID:a})).code&&(w({type:"success",message:"删除成功!"}),1===W.value.length&&L.value>1&&L.value--,Z())})).catch((()=>{w({type:"info",message:"已取消删除"})}));var a}},{default:i((()=>l[24]||(l[24]=[d("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"])]),u(ye,{modelValue:de.value,"onUpdate:modelValue":l[20]||(l[20]=e=>de.value=e),"before-close":te,title:ve.value},{footer:i((()=>[o("div",X,[u(f,{onClick:ne},{default:i((()=>l[35]||(l[35]=[d("取 消")]))),_:1}),u(f,{type:"primary",onClick:re},{default:i((()=>l[36]||(l[36]=[d("确 定")]))),_:1})])])),default:i((()=>[u(q,{title:"新增菜单,需要在角色管理内配置权限才可使用"}),de.value?(a(),m(we,{key:0,ref_key:"menuForm",ref:oe,inline:!0,model:le.value,rules:J,"label-position":"top","label-width":"85px"},{default:i((()=>[u(R,{label:"路由Name",prop:"path",style:{width:"30%"}},{default:i((()=>[u(Q,{modelValue:le.value.name,"onUpdate:modelValue":l[2]||(l[2]=e=>le.value.name=e),autocomplete:"off",placeholder:"唯一英文字符串",onChange:ae},null,8,["modelValue"])])),_:1}),u(R,{prop:"path",style:{width:"30%"}},{label:i((()=>[o("span",$,[l[26]||(l[26]=o("span",null,"路由Path",-1)),u(Y,{modelValue:ue.value,"onUpdate:modelValue":l[3]||(l[3]=e=>ue.value=e),style:{"margin-left":"12px",height:"auto"}},{default:i((()=>l[25]||(l[25]=[d("添加参数")]))),_:1},8,["modelValue"])])])),default:i((()=>[u(Q,{modelValue:le.value.path,"onUpdate:modelValue":l[4]||(l[4]=e=>le.value.path=e),disabled:!ue.value,autocomplete:"off",placeholder:"建议只在后方拼接参数"},null,8,["modelValue","disabled"])])),_:1}),u(R,{label:"是否隐藏",style:{width:"30%"}},{default:i((()=>[u(se,{modelValue:le.value.hidden,"onUpdate:modelValue":l[5]||(l[5]=e=>le.value.hidden=e),placeholder:"是否在列表隐藏"},{default:i((()=>[u(ie,{value:!1,label:"否"}),u(ie,{value:!0,label:"是"})])),_:1},8,["modelValue"])])),_:1}),u(R,{label:"父节点ID",style:{width:"30%"}},{default:i((()=>[u(he,{modelValue:le.value.parentId,"onUpdate:modelValue":l[6]||(l[6]=e=>le.value.parentId=e),style:{width:"100%"},disabled:!ce.value,options:pe.value,props:{checkStrictly:!0,label:"title",value:"ID",disabled:"disabled",emitPath:!1},"show-all-levels":!1,filterable:""},null,8,["modelValue","disabled","options"])])),_:1}),u(R,{label:"文件路径",prop:"component",style:{width:"60%"}},{default:i((()=>[u(Q,{modelValue:le.value.component,"onUpdate:modelValue":l[7]||(l[7]=e=>le.value.component=e),autocomplete:"off",placeholder:"页面:view/xxx/xx.vue 插件:plugin/xx/xx.vue",onBlur:ee},null,8,["modelValue"]),l[28]||(l[28]=o("span",{style:{"font-size":"12px","margin-right":"12px"}},"如果菜单包含子菜单,请创建router-view二级路由页面或者",-1)),u(f,{style:{"margin-top":"4px"},onClick:l[8]||(l[8]=e=>le.value.component="view/routerHolder.vue")},{default:i((()=>l[27]||(l[27]=[d("点我设置")]))),_:1})])),_:1}),u(R,{label:"展示名称",prop:"meta.title",style:{width:"30%"}},{default:i((()=>[u(Q,{modelValue:le.value.meta.title,"onUpdate:modelValue":l[9]||(l[9]=e=>le.value.meta.title=e),autocomplete:"off"},null,8,["modelValue"])])),_:1}),u(R,{label:"图标",prop:"meta.icon",style:{width:"30%"}},{default:i((()=>[u(N,{meta:le.value.meta,style:{width:"100%"}},null,8,["meta"])])),_:1}),u(R,{label:"排序标记",prop:"sort",style:{width:"30%"}},{default:i((()=>[u(Q,{modelValue:le.value.sort,"onUpdate:modelValue":l[10]||(l[10]=e=>le.value.sort=e),modelModifiers:{number:!0},autocomplete:"off"},null,8,["modelValue"])])),_:1}),u(R,{prop:"meta.activeName",style:{width:"30%"}},{label:i((()=>[o("div",null,[l[29]||(l[29]=o("span",null," 高亮菜单 ",-1)),u(be,{content:"注:当到达此路由时候,指定左侧菜单指定name会处于活跃状态(亮起),可为空,为空则为本路由Name。",placement:"top",effect:"light"},{default:i((()=>[u(y,null,{default:i((()=>[u(n(v))])),_:1})])),_:1})])])),default:i((()=>[u(Q,{modelValue:le.value.meta.activeName,"onUpdate:modelValue":l[11]||(l[11]=e=>le.value.meta.activeName=e),placeholder:le.value.name,autocomplete:"off"},null,8,["modelValue","placeholder"])])),_:1}),u(R,{label:"KeepAlive",prop:"meta.keepAlive",style:{width:"30%"}},{default:i((()=>[u(se,{modelValue:le.value.meta.keepAlive,"onUpdate:modelValue":l[12]||(l[12]=e=>le.value.meta.keepAlive=e),style:{width:"100%"},placeholder:"是否keepAlive缓存页面"},{default:i((()=>[u(ie,{value:!1,label:"否"}),u(ie,{value:!0,label:"是"})])),_:1},8,["modelValue"])])),_:1}),u(R,{label:"CloseTab",prop:"meta.closeTab",style:{width:"30%"}},{default:i((()=>[u(se,{modelValue:le.value.meta.closeTab,"onUpdate:modelValue":l[13]||(l[13]=e=>le.value.meta.closeTab=e),style:{width:"100%"},placeholder:"是否自动关闭tab"},{default:i((()=>[u(ie,{value:!1,label:"否"}),u(ie,{value:!0,label:"是"})])),_:1},8,["modelValue"])])),_:1}),u(R,{style:{width:"30%"}},{label:i((()=>[o("div",null,[l[30]||(l[30]=o("span",null," 是否为基础页面 ",-1)),u(be,{content:"此项选择为是,则不会展示左侧菜单以及顶部信息。",placement:"top",effect:"light"},{default:i((()=>[u(y,null,{default:i((()=>[u(n(v))])),_:1})])),_:1})])])),default:i((()=>[u(se,{modelValue:le.value.meta.defaultMenu,"onUpdate:modelValue":l[14]||(l[14]=e=>le.value.meta.defaultMenu=e),style:{width:"100%"},placeholder:"是否为基础页面"},{default:i((()=>[u(ie,{value:!1,label:"否"}),u(ie,{value:!0,label:"是"})])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])):c("",!0),o("div",null,[o("div",G,[u(f,{type:"primary",icon:"edit",onClick:l[15]||(l[15]=e=>{return(l=le.value).parameters||(l.parameters=[]),void l.parameters.push({type:"query",key:"",value:""});var l})},{default:i((()=>l[31]||(l[31]=[d("新增菜单参数")]))),_:1}),u(y,{class:"cursor-pointer",onClick:l[16]||(l[16]=e=>n(S)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=9&vd_source=f2640257c21e3b547a790461ed94875e"))},{default:i((()=>[u(n(r))])),_:1})]),u(z,{data:le.value.parameters,style:{width:"100%","margin-top":"12px"}},{default:i((()=>[u(B,{align:"left",prop:"type",label:"参数类型",width:"180"},{default:i((e=>[u(se,{modelValue:e.row.type,"onUpdate:modelValue":l=>e.row.type=l,placeholder:"请选择"},{default:i((()=>[u(ie,{key:"query",value:"query",label:"query"}),u(ie,{key:"params",value:"params",label:"params"})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:1}),u(B,{align:"left",prop:"key",label:"参数key",width:"180"},{default:i((e=>[o("div",null,[u(Q,{modelValue:e.row.key,"onUpdate:modelValue":l=>e.row.key=l},null,8,["modelValue","onUpdate:modelValue"])])])),_:1}),u(B,{align:"left",prop:"value",label:"参数值"},{default:i((e=>[o("div",null,[u(Q,{modelValue:e.row.value,"onUpdate:modelValue":l=>e.row.value=l},null,8,["modelValue","onUpdate:modelValue"])])])),_:1}),u(B,{align:"left"},{default:i((e=>[o("div",null,[u(f,{type:"danger",icon:"delete",onClick:l=>{return a=le.value.parameters,t=e.$index,void a.splice(t,1);var a,t}},{default:i((()=>l[32]||(l[32]=[d("删除")]))),_:2},1032,["onClick"])])])),_:1})])),_:1},8,["data"]),o("div",K,[u(f,{type:"primary",icon:"edit",onClick:l[17]||(l[17]=e=>{return(l=le.value).menuBtn||(l.menuBtn=[]),void l.menuBtn.push({name:"",desc:""});var l})},{default:i((()=>l[33]||(l[33]=[d("新增可控按钮 ")]))),_:1}),u(y,{class:"cursor-pointer",onClick:l[18]||(l[18]=e=>n(S)("https://www.gin-vue-admin.com/guide/web/button-auth.html"))},{default:i((()=>[u(n(v))])),_:1}),u(y,{class:"cursor-pointer",onClick:l[19]||(l[19]=e=>n(S)("https://www.bilibili.com/video/BV1kv4y1g7nT?p=11&vd_source=f2640257c21e3b547a790461ed94875e"))},{default:i((()=>[u(n(r))])),_:1})]),u(z,{data:le.value.menuBtn,style:{width:"100%","margin-top":"12px"}},{default:i((()=>[u(B,{align:"left",prop:"name",label:"按钮名称",width:"180"},{default:i((e=>[o("div",null,[u(Q,{modelValue:e.row.name,"onUpdate:modelValue":l=>e.row.name=l},null,8,["modelValue","onUpdate:modelValue"])])])),_:1}),u(B,{align:"left",prop:"name",label:"备注",width:"180"},{default:i((e=>[o("div",null,[u(Q,{modelValue:e.row.desc,"onUpdate:modelValue":l=>e.row.desc=l},null,8,["modelValue","onUpdate:modelValue"])])])),_:1}),u(B,{align:"left"},{default:i((e=>[o("div",null,[u(f,{type:"danger",icon:"delete",onClick:l=>(async(e,l)=>{const a=e[l];if(0===a.ID)return void e.splice(l,1);0===(await M({id:a.ID})).code&&e.splice(l,1)})(le.value.menuBtn,e.$index)},{default:i((()=>l[34]||(l[34]=[d("删除")]))),_:2},1032,["onClick"])])])),_:1})])),_:1},8,["data"])])])),_:1},8,["modelValue","title"])])}}}),[["__scopeId","data-v-42fe8119"]]);export{J as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem-legacy.js new file mode 100644 index 000000000..213a35b64 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy29.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy30.js"],(function(e,t){"use strict";var a,n,u,r,o,i,c,l,m,f,v,d,s,p,g;return{setters:[function(e){a=e.aD,n=e.a,u=e.X,r=e.o,o=e.h,i=e.w,c=e.G,l=e.f,m=e.c,f=e.b,v=e.t,d=e.H},null,null,function(e){s=e._},function(e){p=e.a},function(e){g=e.b},null,null],execute:function(){var t=document.createElement("style");t.textContent=".gva-menu-item[data-v-3971f4ea]{width:100%;flex:1;height:44px;display:flex;justify-content:flex-start;align-items:center;padding-left:4px}.gva-menu-item .gva-menu-item-title[data-v-3971f4ea]{flex:1}.el-menu--collapse .el-menu-item.is-active[data-v-3971f4ea]{color:var(--0fbc1f98)}.el-menu-item[data-v-3971f4ea]{color:var(--35e4fbd8)}.el-menu-item.is-active .gva-menu-item[data-v-3971f4ea]{background:var(--0fbc1f98)!important;border-radius:4px;box-shadow:0 0 2px 1px var(--0fbc1f98)!important}.el-menu-item.is-active .gva-menu-item i[data-v-3971f4ea],.el-menu-item.is-active .gva-menu-item span[data-v-3971f4ea]{color:var(--ac8bc69a)}.el-menu-item:hover .gva-menu-item[data-v-3971f4ea]{background:var(--5c04642a);border-radius:4px;box-shadow:0 0 2px 1px var(--5c04642a);color:var(--75a84129)}\n",document.head.appendChild(t);var x={key:1,class:"gva-menu-item"},h={class:"gva-menu-item-title"},B=Object.assign({name:"MenuItem"},{__name:"menuItem",props:{routerInfo:{default:function(){return null},type:Object},isCollapse:{default:function(){return!1},type:Boolean},theme:{default:function(){return{}},type:Object}},setup:function(e){a((function(e){return{"0fbc1f98":s.value,"35e4fbd8":b.value,ac8bc69a:B.value,"5c04642a":y.value,"75a84129":j.value}}));var t=e,s=n(t.theme.activeBackground),B=n(t.theme.activeText),b=n(t.theme.normalText),y=n(t.theme.hoverBackground),j=n(t.theme.hoverText);return u((function(){return t.theme}),(function(){s.value=t.theme.activeBackground,B.value=t.theme.activeText,b.value=t.theme.normalText,y.value=t.theme.hoverBackground,j.value=t.theme.hoverText})),function(t,a){var n=d,u=p,s=g;return r(),o(s,{index:e.routerInfo.name},{default:i((function(){return[e.isCollapse?(r(),o(u,{key:0,class:"box-item",effect:"light",content:e.routerInfo.meta.title,placement:"right"},{default:i((function(){return[e.routerInfo.meta.icon?(r(),o(n,{key:0},{default:i((function(){return[(r(),o(c(e.routerInfo.meta.icon)))]})),_:1})):l("",!0)]})),_:1},8,["content"])):(r(),m("div",x,[e.routerInfo.meta.icon?(r(),o(n,{key:0},{default:i((function(){return[(r(),o(c(e.routerInfo.meta.icon)))]})),_:1})):l("",!0),f("span",h,v(e.routerInfo.meta.title),1)]))]})),_:1},8,["index"])}}});e("default",s(B,[["__scopeId","data-v-3971f4ea"]]))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem.css new file mode 100644 index 000000000..dd2ce67f4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.gva-menu-item[data-v-3971f4ea]{width:100%;flex:1;height:44px;display:flex;justify-content:flex-start;align-items:center;padding-left:4px}.gva-menu-item .gva-menu-item-title[data-v-3971f4ea]{flex:1}.el-menu--collapse .el-menu-item.is-active[data-v-3971f4ea]{color:var(--0fbc1f98)}.el-menu-item[data-v-3971f4ea]{color:var(--35e4fbd8)}.el-menu-item.is-active .gva-menu-item[data-v-3971f4ea]{background:var(--0fbc1f98)!important;border-radius:4px;box-shadow:0 0 2px 1px var(--0fbc1f98)!important}.el-menu-item.is-active .gva-menu-item i[data-v-3971f4ea],.el-menu-item.is-active .gva-menu-item span[data-v-3971f4ea]{color:var(--ac8bc69a)}.el-menu-item:hover .gva-menu-item[data-v-3971f4ea]{background:var(--5c04642a);border-radius:4px;box-shadow:0 0 2px 1px var(--5c04642a);color:var(--75a84129)} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem.js new file mode 100644 index 000000000..eb2dae992 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menuItem.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{aD as e,a as t,X as a,o,h as n,w as r,G as u,f as m,c as s,b as i,t as l,H as c}from"./087AC4D233B64EB0index.js";/* empty css *//* empty css */import{_ as f}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{a as p}from"./087AC4D233B64EB0index20.js";import{b as d}from"./087AC4D233B64EB0index29.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0index30.js";const v={key:1,class:"gva-menu-item"},B={class:"gva-menu-item-title"},h=f(Object.assign({name:"MenuItem"},{__name:"menuItem",props:{routerInfo:{default:function(){return null},type:Object},isCollapse:{default:function(){return!1},type:Boolean},theme:{default:function(){return{}},type:Object}},setup(f){e((e=>({"0fbc1f98":x.value,"35e4fbd8":I.value,ac8bc69a:j.value,"5c04642a":_.value,"75a84129":g.value})));const h=f,x=t(h.theme.activeBackground),j=t(h.theme.activeText),I=t(h.theme.normalText),_=t(h.theme.hoverBackground),g=t(h.theme.hoverText);return a((()=>h.theme),(()=>{x.value=h.theme.activeBackground,j.value=h.theme.activeText,I.value=h.theme.normalText,_.value=h.theme.hoverBackground,g.value=h.theme.hoverText})),(e,t)=>{const a=c,h=p,x=d;return o(),n(x,{index:f.routerInfo.name},{default:r((()=>[f.isCollapse?(o(),n(h,{key:0,class:"box-item",effect:"light",content:f.routerInfo.meta.title,placement:"right"},{default:r((()=>[f.routerInfo.meta.icon?(o(),n(a,{key:0},{default:r((()=>[(o(),n(u(f.routerInfo.meta.icon)))])),_:1})):m("",!0)])),_:1},8,["content"])):(o(),s("div",v,[f.routerInfo.meta.icon?(o(),n(a,{key:0},{default:r((()=>[(o(),n(u(f.routerInfo.meta.icon)))])),_:1})):m("",!0),i("span",B,l(f.routerInfo.meta.title),1)]))])),_:1},8,["index"])}}}),[["__scopeId","data-v-3971f4ea"]]);export{h as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus-legacy.js new file mode 100644 index 000000000..1cac4679c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var e,n={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},i=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,u=Object.create(o.prototype),i=new I(r||[]);return a(u,"_invoke",{value:_(t,n,i)}),u}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var d="suspendedStart",p="suspendedYield",y="executing",v="completed",g={};function m(){}function w(){}function E(){}var x={};s(x,i,(function(){return this}));var B=Object.getPrototypeOf,b=B&&B(B(O([])));b&&b!==r&&o.call(b,i)&&(x=b);var j=E.prototype=m.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function n(r,a,u,i){var c=h(t[r],t,a);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==typeof s&&o.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,u,i)}),(function(t){n("throw",t,u,i)})):e.resolve(s).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,i)}))}i(c.arg)}var r;a(this,"_invoke",{value:function(t,o){function a(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(a,a):a()}})}function _(t,n,r){var o=d;return function(a,u){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===a)throw u;return{value:e,done:!0}}for(r.method=a,r.arg=u;;){var i=r.delegate;if(i){var c=D(i,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var l=h(t,n,r);if("normal"===l.type){if(o=r.done?v:p,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=v,r.method="throw",r.arg=l.arg)}}}function D(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,D(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=h(o,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var u=a.arg;return u?u.done?(n[t.resultName]=u.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function O(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--a){var u=this.tryEntries[a],i=u.completion;if("root"===u.tryLoc)return r("end");if(u.tryLoc<=this.prev){var c=o.call(u,"catchLoc"),l=o.call(u,"finallyLoc");if(c&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}function e(t,e,n,r,o,a,u){try{var i=t[a](u),c=i.value}catch(t){return void n(t)}i.done?e(c):Promise.resolve(c).then(r,o)}function n(t){return function(){var n=this,r=arguments;return new Promise((function(o,a){var u=t.apply(n,r);function i(t){e(u,o,a,i,c,"next",t)}function c(t){e(u,o,a,i,c,"throw",t)}i(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0dialog-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0tree-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0authority-legacy2.js","./087AC4D233B64EB0authorityBtn-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0index-legacy30.js"],(function(e,r){"use strict";var o,a,u,i,c,l,s,f,h,d,p,y,v,g,m,w,E,x,B,b,j,k,C,_,D,A,L;return{setters:[function(t){o=t.a,a=t.X,u=t.o,i=t.c,c=t.b,l=t.e,s=t.w,f=t.g,h=t.t,d=t.F,p=t.f,y=t.d0,v=t.d1,g=t.j,m=t.d2,w=t.Q,E=t.k,x=t.E},function(t){B=t.E},null,function(t){b=t.E,j=t.a},null,null,null,function(t){k=t.E},null,function(t){C=t.E},null,null,function(t){_=t.u},function(t){D=t.g,A=t.s},function(t){L=t._},null,null,null,null,null,null,null,null],execute:function(){var r=document.createElement("style");r.textContent=".custom-tree-node span+span[data-v-dff48283]{margin-left:.75rem}\n",document.head.appendChild(r);var I={class:"sticky top-0.5 z-10 bg-white"},O={class:"tree-content clear-both"},N={class:"custom-tree-node"},P={key:0},R={class:"dialog-footer"},S=Object.assign({name:"Menus"},{__name:"menus",props:{row:{default:function(){return{}},type:Object}},emits:["changeRow"],setup:function(e,r){var L=r.expose,S=r.emit,G=e,T=S,F=o(""),V=o([]),U=o([]),Y=o(!1),q=o({children:"children",label:function(t){return t.meta.title}}),z=function(){var e=n(t().mark((function e(){var n,r,o,a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y();case 2:return n=t.sent,V.value=n.data.menus,t.next=6,v({authorityId:G.row.authorityId});case 6:r=t.sent,o=r.data.menus,a=[],o.forEach((function(t){o.some((function(e){return e.parentId===t.menuId}))||a.push(Number(t.menuId))})),U.value=a;case 11:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();z();var M=function(){var e=n(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_({authorityId:G.row.authorityId,AuthorityName:G.row.authorityName,parentId:G.row.parentId,defaultRouter:n.name});case 2:0===(r=t.sent).code&&(g({type:"success",message:"设置成功"}),T("changeRow","defaultRouter",r.data.authority.defaultRouter));case 4:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Q=function(){Y.value=!0},X=o(null),H=function(){var e=n(t().mark((function e(){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=X.value.getCheckedNodes(!1,!0),t.next=3,m({menus:n,authorityId:G.row.authorityId});case 3:0===t.sent.code&&g({type:"success",message:"菜单设置成功!"});case 5:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();L({enterAndNext:function(){H()},needConfirm:Y});var J=o(!1),K=o([]),W=o([]),Z=o(),$="",tt=function(){var e=n(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return $=n.ID,t.next=3,D({menuID:$,authorityId:G.row.authorityId});case 3:if(0!==(r=t.sent).code){t.next=9;break}return nt(n),t.next=8,w();case 8:r.data.selected&&r.data.selected.forEach((function(t){K.value.some((function(e){e.ID===t&&Z.value.toggleRowSelection(e,!0)}))}));case 9:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),et=function(t){W.value=t},nt=function(t){J.value=!0,K.value=t.menuBtn},rt=function(){J.value=!1},ot=function(){var e=n(t().mark((function e(){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=W.value.map((function(t){return t.ID})),t.next=3,A({menuID:$,selected:n,authorityId:G.row.authorityId});case 3:0===t.sent.code&&(g({type:"success",message:"设置成功"}),J.value=!1);case 5:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),at=function(t,e){return!t||-1!==e.meta.title.indexOf(t)};return a(F,(function(t){X.value.filter(t)})),function(t,n){var r=E,o=x,a=C,y=k,v=b,g=j,m=B;return u(),i("div",null,[c("div",I,[l(r,{modelValue:F.value,"onUpdate:modelValue":n[0]||(n[0]=function(t){return F.value=t}),class:"w-3/5",placeholder:"筛选"},null,8,["modelValue"]),l(o,{class:"float-right",type:"primary",onClick:H},{default:s((function(){return n[2]||(n[2]=[f("确 定")])})),_:1})]),c("div",O,[l(y,null,{default:s((function(){return[l(a,{ref_key:"menuTree",ref:X,data:V.value,"default-checked-keys":U.value,props:q.value,"default-expand-all":"","highlight-current":"","node-key":"ID","show-checkbox":"","filter-node-method":at,onCheck:Q},{default:s((function(t){var r=t.node,a=t.data;return[c("span",N,[c("span",null,h(r.label),1),c("span",null,[l(o,{type:"primary",link:"",style:d({color:e.row.defaultRouter===a.name?"#E6A23C":"#85ce61"}),disabled:!r.checked,onClick:function(){return M(a)}},{default:s((function(){return[f(h(e.row.defaultRouter===a.name?"首页":"设为首页"),1)]})),_:2},1032,["style","disabled","onClick"])]),a.menuBtn.length?(u(),i("span",P,[l(o,{type:"primary",link:"",onClick:function(){return tt(a)}},{default:s((function(){return n[3]||(n[3]=[f(" 分配按钮 ")])})),_:2},1032,["onClick"])])):p("",!0)])]})),_:1},8,["data","default-checked-keys","props"])]})),_:1})]),l(m,{modelValue:J.value,"onUpdate:modelValue":n[1]||(n[1]=function(t){return J.value=t}),title:"分配按钮","destroy-on-close":""},{footer:s((function(){return[c("div",R,[l(o,{onClick:rt},{default:s((function(){return n[4]||(n[4]=[f("取 消")])})),_:1}),l(o,{type:"primary",onClick:ot},{default:s((function(){return n[5]||(n[5]=[f("确 定")])})),_:1})])]})),default:s((function(){return[l(g,{ref_key:"btnTableRef",ref:Z,data:K.value,"row-key":"ID",onSelectionChange:et},{default:s((function(){return[l(v,{type:"selection",width:"55"}),l(v,{label:"按钮名称",prop:"name"}),l(v,{label:"按钮备注",prop:"desc"})]})),_:1},8,["data"])]})),_:1},8,["modelValue"])])}}});e("default",L(S,[["__scopeId","data-v-dff48283"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus.css new file mode 100644 index 000000000..0043f787d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.custom-tree-node span+span[data-v-dff48283]{margin-left:.75rem} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus.js new file mode 100644 index 000000000..0e30c1b8e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0menus.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,X as t,o as a,c as o,b as s,e as l,w as r,g as n,t as u,F as d,f as i,d0 as c,d1 as m,j as p,d2 as B,Q as f,k as y,E as h}from"./087AC4D233B64EB0index.js";import{E as C}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import{E,a as D}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css *//* empty css */import{E as v}from"./087AC4D233B64EB0scrollbar.js";import"./087AC4D233B64EB0tag.js";import{E as j}from"./087AC4D233B64EB0tree.js";/* empty css *//* empty css */import{u as A}from"./087AC4D233B64EB0authority2.js";import{g as k,s as w}from"./087AC4D233B64EB0authorityBtn.js";import{_ as I}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0index30.js";const b={class:"sticky top-0.5 z-10 bg-white"},g={class:"tree-content clear-both"},_={class:"custom-tree-node"},x={key:0},R={class:"dialog-footer"},V=I(Object.assign({name:"Menus"},{__name:"menus",props:{row:{default:function(){return{}},type:Object}},emits:["changeRow"],setup(I,{expose:V,emit:N}){const O=I,U=N,S=e(""),T=e([]),q=e([]),z=e(!1),F=e({children:"children",label:function(e){return e.meta.title}});(async()=>{const e=await c();T.value=e.data.menus;const t=(await m({authorityId:O.row.authorityId})).data.menus,a=[];t.forEach((e=>{t.some((t=>t.parentId===e.menuId))||a.push(Number(e.menuId))})),q.value=a})();const M=()=>{z.value=!0},Q=e(null),X=async()=>{const e=Q.value.getCheckedNodes(!1,!0);0===(await B({menus:e,authorityId:O.row.authorityId})).code&&p({type:"success",message:"菜单设置成功!"})};V({enterAndNext:()=>{X()},needConfirm:z});const G=e(!1),H=e([]),J=e([]),K=e();let L="";const P=e=>{J.value=e},W=e=>{G.value=!0,H.value=e.menuBtn},Y=()=>{G.value=!1},Z=async()=>{const e=J.value.map((e=>e.ID));0===(await w({menuID:L,selected:e,authorityId:O.row.authorityId})).code&&(p({type:"success",message:"设置成功"}),G.value=!1)},$=(e,t)=>!e||-1!==t.meta.title.indexOf(e);return t(S,(e=>{Q.value.filter(e)})),(e,t)=>{const c=y,m=h,B=j,w=v,V=E,N=D,z=C;return a(),o("div",null,[s("div",b,[l(c,{modelValue:S.value,"onUpdate:modelValue":t[0]||(t[0]=e=>S.value=e),class:"w-3/5",placeholder:"筛选"},null,8,["modelValue"]),l(m,{class:"float-right",type:"primary",onClick:X},{default:r((()=>t[2]||(t[2]=[n("确 定")]))),_:1})]),s("div",g,[l(w,null,{default:r((()=>[l(B,{ref_key:"menuTree",ref:Q,data:T.value,"default-checked-keys":q.value,props:F.value,"default-expand-all":"","highlight-current":"","node-key":"ID","show-checkbox":"","filter-node-method":$,onCheck:M},{default:r((({node:e,data:c})=>[s("span",_,[s("span",null,u(e.label),1),s("span",null,[l(m,{type:"primary",link:"",style:d({color:I.row.defaultRouter===c.name?"#E6A23C":"#85ce61"}),disabled:!e.checked,onClick:()=>(async e=>{const t=await A({authorityId:O.row.authorityId,AuthorityName:O.row.authorityName,parentId:O.row.parentId,defaultRouter:e.name});0===t.code&&(p({type:"success",message:"设置成功"}),U("changeRow","defaultRouter",t.data.authority.defaultRouter))})(c)},{default:r((()=>[n(u(I.row.defaultRouter===c.name?"首页":"设为首页"),1)])),_:2},1032,["style","disabled","onClick"])]),c.menuBtn.length?(a(),o("span",x,[l(m,{type:"primary",link:"",onClick:()=>(async e=>{L=e.ID;const t=await k({menuID:L,authorityId:O.row.authorityId});0===t.code&&(W(e),await f(),t.data.selected&&t.data.selected.forEach((e=>{H.value.some((t=>{t.ID===e&&K.value.toggleRowSelection(t,!0)}))})))})(c)},{default:r((()=>t[3]||(t[3]=[n(" 分配按钮 ")]))),_:2},1032,["onClick"])])):i("",!0)])])),_:1},8,["data","default-checked-keys","props"])])),_:1})]),l(z,{modelValue:G.value,"onUpdate:modelValue":t[1]||(t[1]=e=>G.value=e),title:"分配按钮","destroy-on-close":""},{footer:r((()=>[s("div",R,[l(m,{onClick:Y},{default:r((()=>t[4]||(t[4]=[n("取 消")]))),_:1}),l(m,{type:"primary",onClick:Z},{default:r((()=>t[5]||(t[5]=[n("确 定")]))),_:1})])])),default:r((()=>[l(N,{ref_key:"btnTableRef",ref:K,data:H.value,"row-key":"ID",onSelectionChange:P},{default:r((()=>[l(V,{type:"selection",width:"55"}),l(V,{label:"按钮名称",prop:"name"}),l(V,{label:"按钮备注",prop:"desc"})])),_:1},8,["data"])])),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-dff48283"]]);export{V as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0noBody.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0noBody.png new file mode 100644 index 000000000..e16488e45 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0noBody.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0notFound.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0notFound.png new file mode 100644 index 000000000..59ca9f004 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0notFound.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay-legacy.js new file mode 100644 index 000000000..5282863e8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function o(o){for(var n=1;n0){var o=h((function(){return L()}),e.openDelay);x=o.stop}else L()}function z(){if(null==x||x(),null==A||A(),e.closeDelay&&e.closeDelay>0){var o=h((function(){return T()}),e.closeDelay);A=o.stop}else T()}function N(){e.beforeClose?e.beforeClose((function(e){e||(D.value=!0,w.value=!1)})):z()}function L(){B&&(w.value=!0)}function T(){w.value=!1}return e.lockScroll&&b(w),g((function(){return e.modelValue}),(function(t){t?(D.value=!1,I(),P.value=!0,S.value=j(e.zIndex)?l():S.value++,m((function(){n("open"),o.value&&(o.value.scrollTop=0)}))):w.value&&z()})),g((function(){return e.fullscreen}),(function(e){o.value&&(e?(r=o.value.style.transform,o.value.style.transform=""):o.value.style.transform=r)})),O((function(){e.modelValue&&(w.value=!0,P.value=!0,I())})),{afterEnter:function(){n("opened")},afterLeave:function(){n("closed"),n(a,!1),e.destroyOnClose&&(P.value=!1)},beforeLeave:function(){n("close")},handleClose:N,onModalClick:function(){e.closeOnClickModal&&N()},close:z,doClose:T,onOpenAutoFocus:function(){n("openAutoFocus")},onCloseAutoFocus:function(){n("closeAutoFocus")},onCloseRequested:function(){e.closeOnPressEscape&&N()},onFocusoutPrevented:function(e){var o;"pointer"===(null==(o=e.detail)?void 0:o.focusReason)&&e.preventDefault()},titleId:u,bodyId:c,closed:D,style:E,overlayDialogStyle:k,rendered:P,visible:w,zIndex:S}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay.css new file mode 100644 index 000000000..6378eb5be --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay.js new file mode 100644 index 000000000..1d29c91ea --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0overlay.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,B as o,$ as l,a4 as a,aZ as n,bF as t,al as s,a as u,cn as c,co as r,C as d,am as i,cp as p,X as f,Q as y,P as v,ap as m,aK as B,bk as C}from"./087AC4D233B64EB0index.js";import{i as b}from"./087AC4D233B64EB0index21.js";const g=e({center:Boolean,alignCenter:Boolean,closeIcon:{type:o},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),D={close:()=>!0},x=e({...g,appendToBody:Boolean,appendTo:{type:l([String,Object]),default:"body"},beforeClose:{type:l(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}}),A={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[a]:e=>n(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},F=(e,o)=>{var l;const n=m().emit,{nextZIndex:g}=t();let D="";const x=s(),A=s(),F=u(!1),S=u(!1),I=u(!1),O=u(null!=(l=e.zIndex)?l:g());let h,k;const w=c("namespace",r),E=d((()=>{const o={},l="--".concat(w.value,"-dialog");return e.fullscreen||(e.top&&(o["".concat(l,"-margin-top")]=e.top),e.width&&(o["".concat(l,"-width")]=i(e.width))),o})),z=d((()=>e.alignCenter?{display:"flex"}:{}));function L(){null==k||k(),null==h||h(),e.openDelay&&e.openDelay>0?({stop:h}=B((()=>j()),e.openDelay)):j()}function N(){null==h||h(),null==k||k(),e.closeDelay&&e.closeDelay>0?({stop:k}=B((()=>M()),e.closeDelay)):M()}function P(){e.beforeClose?e.beforeClose((function(e){e||(S.value=!0,F.value=!1)})):N()}function j(){C&&(F.value=!0)}function M(){F.value=!1}return e.lockScroll&&p(F),f((()=>e.modelValue),(l=>{l?(S.value=!1,L(),I.value=!0,O.value=b(e.zIndex)?g():O.value++,y((()=>{n("open"),o.value&&(o.value.scrollTop=0)}))):F.value&&N()})),f((()=>e.fullscreen),(e=>{o.value&&(e?(D=o.value.style.transform,o.value.style.transform=""):o.value.style.transform=D)})),v((()=>{e.modelValue&&(F.value=!0,I.value=!0,L())})),{afterEnter:function(){n("opened")},afterLeave:function(){n("closed"),n(a,!1),e.destroyOnClose&&(I.value=!1)},beforeLeave:function(){n("close")},handleClose:P,onModalClick:function(){e.closeOnClickModal&&P()},close:N,doClose:M,onOpenAutoFocus:function(){n("openAutoFocus")},onCloseAutoFocus:function(){n("closeAutoFocus")},onCloseRequested:function(){e.closeOnPressEscape&&P()},onFocusoutPrevented:function(e){var o;"pointer"===(null==(o=e.detail)?void 0:o.focusReason)&&e.preventDefault()},titleId:x,bodyId:A,closed:S,style:E,overlayDialogStyle:z,rendered:I,visible:F,zIndex:O}};export{D as a,x as b,A as c,g as d,F as u}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pagination-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pagination-legacy.js new file mode 100644 index 000000000..7c71f818f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pagination-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(i,e){"use strict";return{execute:function(){var i=document.createElement("style");i.textContent=".el-pagination{--el-pagination-font-size: 14px;--el-pagination-bg-color: var(--el-fill-color-blank);--el-pagination-text-color: var(--el-text-color-primary);--el-pagination-border-radius: 2px;--el-pagination-button-color: var(--el-text-color-primary);--el-pagination-button-width: 32px;--el-pagination-button-height: 32px;--el-pagination-button-disabled-color: var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color: var(--el-fill-color-blank);--el-pagination-button-bg-color: var(--el-fill-color);--el-pagination-hover-color: var(--el-color-primary);--el-pagination-font-size-small: 12px;--el-pagination-button-width-small: 24px;--el-pagination-button-height-small: 24px;--el-pagination-button-width-large: 40px;--el-pagination-button-height-large: 40px;--el-pagination-item-gap: 16px;white-space:nowrap;color:var(--el-pagination-text-color);font-size:var(--el-pagination-font-size);font-weight:400;display:flex;align-items:center}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield}.el-pagination .el-select{width:128px}.el-pagination button{display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);padding:0 4px;border:none;border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box}.el-pagination button *{pointer-events:none}.el-pagination button:focus{outline:none}.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination button.is-active.is-disabled{font-weight:700;color:var(--el-text-color-secondary)}.el-pagination button:disabled,.el-pagination button.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pagination button:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-prev .el-icon,.el-pagination .btn-next .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>*.is-first{margin-left:0!important}.el-pagination>*.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{margin-left:var(--el-pagination-item-gap);font-weight:400;color:var(--el-text-color-regular)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{display:flex;align-items:center;margin-left:var(--el-pagination-item-gap);font-weight:400;color:var(--el-text-color-regular)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{text-align:center;box-sizing:border-box}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{flex:1;display:flex;align-items:center;justify-content:flex-end}.el-pagination.is-background .btn-prev,.el-pagination.is-background .btn-next,.el-pagination.is-background .el-pager li{margin:0 4px;background-color:var(--el-pagination-button-bg-color)}.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .el-pager li:disabled,.el-pagination.is-background .el-pager li.is-disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active{color:var(--el-text-color-secondary);background-color:var(--el-fill-color-dark)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-prev,.el-pagination--small .btn-next,.el-pagination--small .el-pager li{height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);font-size:var(--el-pagination-font-size-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small span:not([class*=suffix]),.el-pagination--small button{font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-prev,.el-pagination--large .btn-next,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{-webkit-user-select:none;user-select:none;list-style:none;font-size:0;padding:0;margin:0;display:flex;align-items:center}.el-pager li{display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);padding:0 4px;border:none;border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{font-weight:700;color:var(--el-text-color-secondary)}.el-pager li:disabled,.el-pager li.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}\n",document.head.appendChild(i)}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pagination.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pagination.css new file mode 100644 index 000000000..f0bc428e1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pagination.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-pagination{--el-pagination-font-size: 14px;--el-pagination-bg-color: var(--el-fill-color-blank);--el-pagination-text-color: var(--el-text-color-primary);--el-pagination-border-radius: 2px;--el-pagination-button-color: var(--el-text-color-primary);--el-pagination-button-width: 32px;--el-pagination-button-height: 32px;--el-pagination-button-disabled-color: var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color: var(--el-fill-color-blank);--el-pagination-button-bg-color: var(--el-fill-color);--el-pagination-hover-color: var(--el-color-primary);--el-pagination-font-size-small: 12px;--el-pagination-button-width-small: 24px;--el-pagination-button-height-small: 24px;--el-pagination-button-width-large: 40px;--el-pagination-button-height-large: 40px;--el-pagination-item-gap: 16px;white-space:nowrap;color:var(--el-pagination-text-color);font-size:var(--el-pagination-font-size);font-weight:400;display:flex;align-items:center}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield}.el-pagination .el-select{width:128px}.el-pagination button{display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);padding:0 4px;border:none;border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box}.el-pagination button *{pointer-events:none}.el-pagination button:focus{outline:none}.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination button.is-active.is-disabled{font-weight:700;color:var(--el-text-color-secondary)}.el-pagination button:disabled,.el-pagination button.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pagination button:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-prev .el-icon,.el-pagination .btn-next .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>*.is-first{margin-left:0!important}.el-pagination>*.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{margin-left:var(--el-pagination-item-gap);font-weight:400;color:var(--el-text-color-regular)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{display:flex;align-items:center;margin-left:var(--el-pagination-item-gap);font-weight:400;color:var(--el-text-color-regular)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{text-align:center;box-sizing:border-box}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{flex:1;display:flex;align-items:center;justify-content:flex-end}.el-pagination.is-background .btn-prev,.el-pagination.is-background .btn-next,.el-pagination.is-background .el-pager li{margin:0 4px;background-color:var(--el-pagination-button-bg-color)}.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .el-pager li:disabled,.el-pagination.is-background .el-pager li.is-disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active{color:var(--el-text-color-secondary);background-color:var(--el-fill-color-dark)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-prev,.el-pagination--small .btn-next,.el-pagination--small .el-pager li{height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);font-size:var(--el-pagination-font-size-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small span:not([class*=suffix]),.el-pagination--small button{font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-prev,.el-pagination--large .btn-next,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{-webkit-user-select:none;user-select:none;list-style:none;font-size:0;padding:0;margin:0;display:flex;align-items:center}.el-pager li{display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);padding:0 4px;border:none;border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{font-weight:700;color:var(--el-text-color-secondary)}.el-pager li:disabled,.el-pager li.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person-legacy.js new file mode 100644 index 000000000..638bab894 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var t,n={},r=Object.prototype,l=r.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var l=t&&t.prototype instanceof y?t:y,o=Object.create(l.prototype),u=new I(r||[]);return a(o,"_invoke",{value:V(e,n,u)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=f;var p="suspendedStart",v="suspendedYield",h="executing",g="completed",m={};function y(){}function w(){}function x(){}var b={};s(b,u,(function(){return this}));var _=Object.getPrototypeOf,B=_&&_(_(P([])));B&&B!==r&&l.call(B,u)&&(b=B);var E=x.prototype=y.prototype=Object.create(b);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(r,a,o,u){var i=d(e[r],e,a);if("throw"!==i.type){var c=i.arg,s=c.value;return s&&"object"==typeof s&&l.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(s).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(i.arg)}var r;a(this,"_invoke",{value:function(e,l){function a(){return new t((function(t,r){n(e,l,t,r)}))}return r=r?r.then(a,a):a()}})}function V(e,n,r){var l=p;return function(a,o){if(l===h)throw Error("Generator is already running");if(l===g){if("throw"===a)throw o;return{value:t,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var i=k(u,r);if(i){if(i===m)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(l===p)throw l=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);l=h;var c=d(e,n,r);if("normal"===c.type){if(l=r.done?g:v,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(l=g,r.method="throw",r.arg=c.arg)}}}function k(e,n){var r=n.method,l=e.iterator[r];if(l===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var a=d(l,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var i=l.call(o,"catchLoc"),c=l.call(o,"finallyLoc");if(i&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var l=r.arg;D(n)}return l}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},n}function t(e,t,n,r,l,a,o){try{var u=e[a](o),i=u.value}catch(e){return void n(e)}u.done?t(i):Promise.resolve(i).then(r,l)}function n(e){return function(){var n=this,r=arguments;return new Promise((function(l,a){var o=e.apply(n,r);function u(e){t(o,l,a,u,i,"next",e)}function i(e){t(o,l,a,u,i,"throw",e)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0dialog-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0tab-pane-legacy.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0selectImage-legacy.js","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang-legacy.js","./087AC4D233B64EB0format-legacy.js","./087AC4D233B64EB0index-legacy24.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy25.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0drawer-legacy.js","./087AC4D233B64EB0image-viewer-legacy.js","./087AC4D233B64EB0image-legacy.js","./087AC4D233B64EB0common-legacy.js","./087AC4D233B64EB0upload-legacy2.js","./087AC4D233B64EB0progress-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy26.js","./087AC4D233B64EB0index-legacy27.js","./087AC4D233B64EB0cloneDeep-legacy.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0selectImage.vue_vue_type_style_index_0_scoped_02c66713_lang-legacy.js","./087AC4D233B64EB0index-legacy28.js","./087AC4D233B64EB0date-legacy.js"],(function(t,r){"use strict";var l,a,o,u,i,c,s,f,d,p,v,h,g,m,y,w,x,b,_,B,E,C,j,V,k,A,D,I,P,L,U,O,N,S;return{setters:[function(e){l=e.a,a=e.r,o=e.l,u=e.X,i=e.aS,c=e.j,s=e.N,f=e.o,d=e.c,p=e.b,v=e.e,h=e.D,g=e.g,m=e.t,y=e.w,w=e.f,x=e.aT,b=e.H,_=e.k,B=e.E},function(e){E=e.E},null,function(e){C=e.a,j=e.E},function(e){V=e.E,k=e.a},null,null,null,null,null,function(e){A=e.E,D=e.a},null,null,null,null,function(e){I=e.S},function(e){P=e.S,L=e.a},function(e){U=e.f},function(e){O=e.C},function(e){N=e.a},function(e){S=e.E},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var r=document.createElement("style");r.textContent=".borderd{border-bottom-width:2px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.borderd:last-child{border-bottom-width:0px}.info-list{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-top:.75rem;padding-bottom:.75rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}\n",document.head.appendChild(r);var z={class:"grid grid-cols-12 w-full gap-2"},G={class:"col-span-3 h-full"},T={class:"w-full h-full bg-white px-4 py-8 rounded-lg shadow-lg box-border"},F={class:"user-card px-6 text-center bg-white shrink-0"},q={class:"flex justify-center"},R={class:"py-6 text-center"},Y={key:0,class:"text-3xl flex justify-center items-center gap-4"},H={key:1,class:"flex justify-center items-center gap-4"},J={class:"w-full h-full text-left"},X={class:"inline-block h-full w-full"},K={class:"info-list"},M={class:"info-list"},Q={class:"info-list"},W={class:"info-list"},Z={class:"info-list"},$={class:"col-span-9"},ee={class:"bg-white h-full px-4 py-8 rounded-lg shadow-lg box-border"},te={class:"borderd"},ne={class:"pb-2.5 text-lg text-gray-400"},re={class:"borderd pt-2.5"},le={class:"pb-2.5 text-lg text-gray-400"},ae={class:"borderd pt-2.5"},oe={class:"pb-2.5 text-lg text-gray-400"},ue={class:"borderd pt-2.5"},ie={class:"pb-2.5 text-lg text-gray-400"},ce={class:"标识"},se={class:"gva-pagination"},fe={class:"dialog-footer"},de={class:"flex w-full gap-4"},pe={class:"dialog-footer"},ve={class:"flex w-full gap-4"},he={class:"dialog-footer"},ge={class:"dialog-footer"},me={class:"dialog-footer"};t("default",Object.assign({name:"Person"},{__name:"person",setup:function(t){var r=l("second"),ye=a({password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,message:"最少6个字符",trigger:"blur"}],newPassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,message:"最少6个字符",trigger:"blur"}],confirmPassword:[{required:!0,message:"请输入确认密码",trigger:"blur"},{min:6,message:"最少6个字符",trigger:"blur"},{validator:function(e,t,n){t!==Be.value.newPassword?n(new Error("两次密码不一致")):n()},trigger:"blur"}]}),we=o(),xe=l(null),be=l(!1),_e=l(!1),Be=l({}),Ee=l(""),Ce=l(!1),je=function(){var t=n(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:xe.value.validate((function(e){if(!e)return!1;x({password:Be.value.password,newPassword:Be.value.newPassword}).then((function(e){0===e.code&&c.success("修改密码成功!"),be.value=!1}))}));case 1:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ve=function(){Be.value={password:"",newPassword:"",confirmPassword:""},xe.value.clearValidate()};u((function(){return we.userInfo.headerImg}),function(){var t=n(e().mark((function t(n){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i({headerImg:n});case 2:0===e.sent.code&&(we.ResetUserInfo({headerImg:n}),c({type:"success",message:"设置成功"}));case 4:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());var ke=function(){Ee.value=we.userInfo.nickName,Ce.value=!0,console.log(we.userInfo)},Ae=function(){Ee.value="",Ce.value=!1},De=function(){var t=n(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i({nickName:Ee.value});case 2:0===e.sent.code&&(we.ResetUserInfo({nickName:Ee.value}),c({type:"success",message:"设置成功"})),Ee.value="",Ce.value=!1;case 6:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ie=function(e,t){console.log(e,t)},Pe=l(!1),Le=l(0),Ue=a({phone:"",code:""}),Oe=function(){var t=n(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Le.value=60,n=setInterval((function(){Le.value--,Le.value<=0&&(clearInterval(n),n=null)}),1e3);case 2:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ne=function(){Pe.value=!1,Ue.phone="",Ue.code=""},Se=function(){var t=n(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i({phone:Ue.phone});case 2:0===e.sent.code&&(c.success("修改成功"),we.ResetUserInfo({phone:Ue.phone}),Ne());case 4:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),ze=l(!1),Ge=l(0),Te=a({email:"",code:""}),Fe=function(){var t=n(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ge.value=60,n=setInterval((function(){Ge.value--,Ge.value<=0&&(clearInterval(n),n=null)}),1e3);case 2:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),qe=function(){ze.value=!1,Te.email="",Te.code=""},Re=function(){var t=n(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i({email:Te.email});case 2:0===e.sent.code&&(c.success("修改成功"),we.ResetUserInfo({email:Te.email}),qe());case 4:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ye=l(1),He=l(0),Je=l(3),Xe=l([]),Ke=l([]),Me=function(e){Je.value=e,We()},Qe=function(e){Ye.value=e,We()},We=function(){var t=n(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P({page:Ye.value,pageSize:Je.value,keyword:we.userInfo.nickName});case 2:n=e.sent,console.log(n),0===n.code&&(Xe.value=n.data.list,He.value=n.data.total,Ye.value=n.data.page,Je.value=n.data.pageSize);case 5:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();We();var Ze=function(){var t=n(e().mark((function t(n){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L(n);case 2:0===(r=e.sent).code&&(Ke.value=r.data.filedetail,_e.value=!0);case 4:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return function(e,t){var n=s("edit"),l=b,a=_,o=s("check"),u=s("close"),i=s("user"),c=s("data-analysis"),x=N,P=s("video-camera"),L=s("medal"),We=s("money"),$e=V,et=A,tt=B,nt=D,rt=S,lt=k,at=C,ot=j,ut=E;return f(),d("div",null,[p("div",z,[p("div",G,[p("div",T,[p("div",F,[p("div",q,[v(I,{modelValue:h(we).userInfo.headerImg,"onUpdate:modelValue":t[0]||(t[0]=function(e){return h(we).userInfo.headerImg=e}),"file-type":"image"},null,8,["modelValue"])]),p("div",R,[Ce.value?w("",!0):(f(),d("p",Y,[g(m(h(we).userInfo.nickName)+" ",1),v(l,{class:"cursor-pointer text-sm",color:"#66b1ff",onClick:ke},{default:y((function(){return[v(n)]})),_:1})])),Ce.value?(f(),d("p",H,[v(a,{modelValue:Ee.value,"onUpdate:modelValue":t[1]||(t[1]=function(e){return Ee.value=e})},null,8,["modelValue"]),v(l,{class:"cursor-pointer",color:"#67c23a",onClick:De},{default:y((function(){return[v(o)]})),_:1}),v(l,{class:"cursor-pointer",color:"#f23c3c",onClick:Ae},{default:y((function(){return[v(u)]})),_:1})])):w("",!0),t[24]||(t[24]=p("p",{class:"text-gray-500 mt-2 text-md"},"这个家伙很懒,什么都没有留下",-1))]),p("div",J,[p("ul",X,[p("li",K,[v(l,null,{default:y((function(){return[v(i)]})),_:1}),g(" "+m(h(we).userInfo.nickName),1)]),v(x,{class:"item",effect:"light",placement:"top"},{default:y((function(){return[p("li",M,[v(l,null,{default:y((function(){return[v(c)]})),_:1}),g(" "+m(h(we).userInfo.organization),1)])]})),_:1}),p("li",Q,[v(l,null,{default:y((function(){return[v(P)]})),_:1}),t[25]||(t[25]=g(" 中国·北京市·海淀区 "))]),v(x,{class:"item",effect:"light",placement:"top"},{default:y((function(){return[p("li",W,[v(l,null,{default:y((function(){return[v(L)]})),_:1}),t[26]||(t[26]=g(" GoLang/JavaScript/Vue/Gorm "))])]})),_:1}),p("li",Z,[v(l,null,{default:y((function(){return[v(We)]})),_:1}),g(" "+m(h(we).userInfo.money),1)])])])])])]),p("div",$,[p("div",ee,[v(lt,{modelValue:r.value,"onUpdate:modelValue":t[5]||(t[5]=function(e){return r.value=e}),onTabClick:Ie},{default:y((function(){return[v($e,{label:"账号绑定",name:"second"},{default:y((function(){return[p("ul",null,[p("li",te,[t[27]||(t[27]=p("p",{class:"pb-2.5 text-xl text-gray-600"},"密保手机",-1)),p("p",ne,[g(" 已绑定手机:"+m(h(we).userInfo.phone)+" ",1),p("a",{href:"javascript:void(0)",class:"float-right text-blue-400",onClick:t[2]||(t[2]=function(e){return Pe.value=!0})},"立即修改")])]),p("li",re,[t[28]||(t[28]=p("p",{class:"pb-2.5 text-xl text-gray-600"},"密保邮箱",-1)),p("p",le,[g(" 已绑定邮箱:"+m(h(we).userInfo.email)+" ",1),p("a",{href:"javascript:void(0)",class:"float-right text-blue-400",onClick:t[3]||(t[3]=function(e){return ze.value=!0})},"立即修改")])]),t[32]||(t[32]=p("li",{class:"borderd pt-2.5"},[p("p",{class:"pb-2.5 text-xl text-gray-600"},"密保问题"),p("p",{class:"pb-2.5 text-lg text-gray-400"},[g(" 未设置密保问题 "),p("a",{href:"javascript:void(0)",class:"float-right text-blue-400"},"去设置")])],-1)),p("li",ae,[t[30]||(t[30]=p("p",{class:"pb-2.5 text-xl text-gray-600"},"修改密码",-1)),p("p",oe,[t[29]||(t[29]=g(" 修改个人密码 ")),p("a",{href:"javascript:void(0)",class:"float-right text-blue-400",onClick:t[4]||(t[4]=function(e){return be.value=!0})},"修改密码")])]),p("li",ue,[t[31]||(t[31]=p("p",{class:"pb-2.5 text-xl text-gray-600"},"区块链身份标识",-1)),p("p",ie,m(h(we).userInfo.biaoshi),1)])])]})),_:1}),v($e,{label:"版权管理",name:"xxx"},{default:y((function(){return[v(nt,{data:Xe.value},{default:y((function(){return[v(et,{align:"center",label:"预览",width:"90"},{default:y((function(e){return[v(O,{"pic-type":"file","pic-src":e.row.url,preview:""},null,8,["pic-src"])]})),_:1}),v(et,{align:"center",label:"购买日期",prop:"UpdatedAt",width:"160"},{default:y((function(e){return[p("div",null,m(h(U)(e.row.UpdatedAt)),1)]})),_:1}),v(et,{align:"center",label:"版权标识",prop:"url","min-width":"500"},{default:y((function(e){return[p("div",ce,m(e.row.biaoshi),1)]})),_:1}),v(et,{align:"center",label:"详情","min-width":"110"},{default:y((function(e){return[v(tt,{type:"primary",icon:"view",onClick:function(t){return Ze(e.row.url)}},{default:y((function(){return t[33]||(t[33]=[g("查看详情")])})),_:2},1032,["onClick"])]})),_:1})]})),_:1},8,["data"]),p("div",se,[v(rt,{"current-page":Ye.value,"page-size":Je.value,"page-sizes":[3,5,10,30,50,100],style:{float:"right",padding:"20px"},total:He.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:Qe,onSizeChange:Me},null,8,["current-page","page-size","total"])])]})),_:1})]})),_:1},8,["modelValue"])])])]),v(ut,{modelValue:be.value,"onUpdate:modelValue":t[10]||(t[10]=function(e){return be.value=e}),title:"修改密码",width:"360px",onClose:Ve},{footer:y((function(){return[p("div",fe,[v(tt,{onClick:t[9]||(t[9]=function(e){return be.value=!1})},{default:y((function(){return t[34]||(t[34]=[g("取 消")])})),_:1}),v(tt,{type:"primary",onClick:je},{default:y((function(){return t[35]||(t[35]=[g("确 定")])})),_:1})])]})),default:y((function(){return[v(ot,{ref_key:"modifyPwdForm",ref:xe,model:Be.value,rules:ye,"label-width":"80px"},{default:y((function(){return[v(at,{minlength:6,label:"原密码",prop:"password"},{default:y((function(){return[v(a,{modelValue:Be.value.password,"onUpdate:modelValue":t[6]||(t[6]=function(e){return Be.value.password=e}),"show-password":""},null,8,["modelValue"])]})),_:1}),v(at,{minlength:6,label:"新密码",prop:"newPassword"},{default:y((function(){return[v(a,{modelValue:Be.value.newPassword,"onUpdate:modelValue":t[7]||(t[7]=function(e){return Be.value.newPassword=e}),"show-password":""},null,8,["modelValue"])]})),_:1}),v(at,{minlength:6,label:"确认密码",prop:"confirmPassword"},{default:y((function(){return[v(a,{modelValue:Be.value.confirmPassword,"onUpdate:modelValue":t[8]||(t[8]=function(e){return Be.value.confirmPassword=e}),"show-password":""},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])]})),_:1},8,["modelValue"]),v(ut,{modelValue:Pe.value,"onUpdate:modelValue":t[13]||(t[13]=function(e){return Pe.value=e}),title:"绑定手机",width:"600px"},{footer:y((function(){return[p("span",pe,[v(tt,{onClick:Ne},{default:y((function(){return t[36]||(t[36]=[g("取消")])})),_:1}),v(tt,{type:"primary",onClick:Se},{default:y((function(){return t[37]||(t[37]=[g("更改")])})),_:1})])]})),default:y((function(){return[v(ot,{model:Ue},{default:y((function(){return[v(at,{label:"手机号","label-width":"120px"},{default:y((function(){return[v(a,{modelValue:Ue.phone,"onUpdate:modelValue":t[11]||(t[11]=function(e){return Ue.phone=e}),placeholder:"请输入手机号",autocomplete:"off"},null,8,["modelValue"])]})),_:1}),v(at,{label:"验证码","label-width":"120px"},{default:y((function(){return[p("div",de,[v(a,{modelValue:Ue.code,"onUpdate:modelValue":t[12]||(t[12]=function(e){return Ue.code=e}),class:"flex-1",autocomplete:"off",placeholder:"请自行设计短信服务,此处为模拟随便写",style:{width:"300px"}},null,8,["modelValue"]),v(tt,{type:"primary",disabled:Le.value>0,onClick:Oe},{default:y((function(){return[g(m(Le.value>0?"(".concat(Le.value,"s)后重新获取"):"获取验证码"),1)]})),_:1},8,["disabled"])])]})),_:1})]})),_:1},8,["model"])]})),_:1},8,["modelValue"]),v(ut,{modelValue:ze.value,"onUpdate:modelValue":t[16]||(t[16]=function(e){return ze.value=e}),title:"绑定邮箱",width:"600px"},{footer:y((function(){return[p("span",he,[v(tt,{onClick:qe},{default:y((function(){return t[38]||(t[38]=[g("取消")])})),_:1}),v(tt,{type:"primary",onClick:Re},{default:y((function(){return t[39]||(t[39]=[g("更改")])})),_:1})])]})),default:y((function(){return[v(ot,{model:Te},{default:y((function(){return[v(at,{label:"邮箱","label-width":"120px"},{default:y((function(){return[v(a,{modelValue:Te.email,"onUpdate:modelValue":t[14]||(t[14]=function(e){return Te.email=e}),placeholder:"请输入邮箱",autocomplete:"off"},null,8,["modelValue"])]})),_:1}),v(at,{label:"验证码","label-width":"120px"},{default:y((function(){return[p("div",ve,[v(a,{modelValue:Te.code,"onUpdate:modelValue":t[15]||(t[15]=function(e){return Te.code=e}),class:"flex-1",placeholder:"请自行设计邮件服务,此处为模拟随便写",autocomplete:"off",style:{width:"300px"}},null,8,["modelValue"]),v(tt,{type:"primary",disabled:Ge.value>0,onClick:Fe},{default:y((function(){return[g(m(Ge.value>0?"(".concat(Ge.value,"s)后重新获取"):"获取验证码"),1)]})),_:1},8,["disabled"])])]})),_:1})]})),_:1},8,["model"])]})),_:1},8,["modelValue"]),v(ut,{modelValue:be.value,"onUpdate:modelValue":t[21]||(t[21]=function(e){return be.value=e}),title:"修改密码",width:"360px",onClose:Ve},{footer:y((function(){return[p("div",ge,[v(tt,{onClick:t[20]||(t[20]=function(e){return be.value=!1})},{default:y((function(){return t[40]||(t[40]=[g("取 消")])})),_:1}),v(tt,{type:"primary",onClick:je},{default:y((function(){return t[41]||(t[41]=[g("确 定")])})),_:1})])]})),default:y((function(){return[v(ot,{ref_key:"modifyPwdForm",ref:xe,model:Be.value,rules:ye,"label-width":"80px"},{default:y((function(){return[v(at,{minlength:6,label:"原密码",prop:"password"},{default:y((function(){return[v(a,{modelValue:Be.value.password,"onUpdate:modelValue":t[17]||(t[17]=function(e){return Be.value.password=e}),"show-password":""},null,8,["modelValue"])]})),_:1}),v(at,{minlength:6,label:"新密码",prop:"newPassword"},{default:y((function(){return[v(a,{modelValue:Be.value.newPassword,"onUpdate:modelValue":t[18]||(t[18]=function(e){return Be.value.newPassword=e}),"show-password":""},null,8,["modelValue"])]})),_:1}),v(at,{minlength:6,label:"确认密码",prop:"confirmPassword"},{default:y((function(){return[v(a,{modelValue:Be.value.confirmPassword,"onUpdate:modelValue":t[19]||(t[19]=function(e){return Be.value.confirmPassword=e}),"show-password":""},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])]})),_:1},8,["modelValue"]),v(ut,{modelValue:_e.value,"onUpdate:modelValue":t[23]||(t[23]=function(e){return _e.value=e}),title:"文化数据版权详情",width:"720px"},{footer:y((function(){return[p("div",me,[v(tt,{type:"primary",onClick:t[22]||(t[22]=function(e){return _e.value=!1})},{default:y((function(){return t[42]||(t[42]=[g("确 定")])})),_:1})])]})),default:y((function(){return[v(ot,{align:"left","label-width":"80px"},{default:y((function(){return[v(at,{label:"创建时间:"},{default:y((function(){return[p("div",null,m(Ke.value.CreatedAt),1)]})),_:1}),v(at,{label:"更新时间:"},{default:y((function(){return[p("div",null,m(Ke.value.UpdatedAt),1)]})),_:1}),v(at,{label:"所有者:"},{default:y((function(){return[p("div",null,m(Ke.value.owner),1)]})),_:1}),v(at,{label:"存证机构:"},{default:y((function(){return[p("div",null,m(Ke.value.certi_organization),1)]})),_:1}),v(at,{label:"语义信息:"},{default:y((function(){return[p("div",null,m(Ke.value.keywords),1)]})),_:1}),v(at,{label:"版权标识:"},{default:y((function(){return[p("div",null,m(Ke.value.biaoshi),1)]})),_:1}),v(at,{label:"版权价值:"},{default:y((function(){return[p("div",null,m(Ke.value.price),1)]})),_:1})]})),_:1})]})),_:1},8,["modelValue"])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person.css new file mode 100644 index 000000000..cce415ffe --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.borderd{border-bottom-width:2px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.borderd:last-child{border-bottom-width:0px}.info-list{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-top:.75rem;padding-bottom:.75rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person.js new file mode 100644 index 000000000..cd081892b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0person.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,r as l,l as a,X as o,aS as s,j as t,N as r,o as d,c as u,b as i,e as n,D as p,g as c,t as m,w as f,f as v,aT as g,H as w,k as B,E as b}from"./087AC4D233B64EB0index.js";import{E as _}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import{a as x,E as h}from"./087AC4D233B64EB0form-item.js";import{E as C,a as y}from"./087AC4D233B64EB0tab-pane.js";/* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as j,a as V}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css *//* empty css *//* empty css */import{S as E}from"./087AC4D233B64EB0selectImage.js";import{S as A,a as D}from"./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js";import{f as k}from"./087AC4D233B64EB0format.js";import{C as I}from"./087AC4D233B64EB0index24.js";import{a as U}from"./087AC4D233B64EB0index20.js";import{E as P}from"./087AC4D233B64EB0index25.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0debounce.js";/* empty css */import"./087AC4D233B64EB0image-viewer.js";import"./087AC4D233B64EB0image.js";import"./087AC4D233B64EB0common.js";/* empty css *//* empty css */import"./087AC4D233B64EB0_plugin-vue_export-helper.js";import"./087AC4D233B64EB0index26.js";import"./087AC4D233B64EB0index27.js";import"./087AC4D233B64EB0cloneDeep.js";import"./087AC4D233B64EB0warningBar.js";/* empty css */import"./087AC4D233B64EB0index28.js";import"./087AC4D233B64EB0date.js";const z={class:"grid grid-cols-12 w-full gap-2"},N={class:"col-span-3 h-full"},S={class:"w-full h-full bg-white px-4 py-8 rounded-lg shadow-lg box-border"},q={class:"user-card px-6 text-center bg-white shrink-0"},R={class:"flex justify-center"},F={class:"py-6 text-center"},G={key:0,class:"text-3xl flex justify-center items-center gap-4"},O={key:1,class:"flex justify-center items-center gap-4"},T={class:"w-full h-full text-left"},H={class:"inline-block h-full w-full"},J={class:"info-list"},L={class:"info-list"},X={class:"info-list"},K={class:"info-list"},M={class:"info-list"},Q={class:"col-span-9"},W={class:"bg-white h-full px-4 py-8 rounded-lg shadow-lg box-border"},Y={class:"borderd"},Z={class:"pb-2.5 text-lg text-gray-400"},$={class:"borderd pt-2.5"},ee={class:"pb-2.5 text-lg text-gray-400"},le={class:"borderd pt-2.5"},ae={class:"pb-2.5 text-lg text-gray-400"},oe={class:"borderd pt-2.5"},se={class:"pb-2.5 text-lg text-gray-400"},te={class:"标识"},re={class:"gva-pagination"},de={class:"dialog-footer"},ue={class:"flex w-full gap-4"},ie={class:"dialog-footer"},ne={class:"flex w-full gap-4"},pe={class:"dialog-footer"},ce={class:"dialog-footer"},me={class:"dialog-footer"},fe=Object.assign({name:"Person"},{__name:"person",setup(fe){const ve=e("second"),ge=l({password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,message:"最少6个字符",trigger:"blur"}],newPassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,message:"最少6个字符",trigger:"blur"}],confirmPassword:[{required:!0,message:"请输入确认密码",trigger:"blur"},{min:6,message:"最少6个字符",trigger:"blur"},{validator:(e,l,a)=>{l!==xe.value.newPassword?a(new Error("两次密码不一致")):a()},trigger:"blur"}]}),we=a(),Be=e(null),be=e(!1),_e=e(!1),xe=e({}),he=e(""),Ce=e(!1),ye=async()=>{Be.value.validate((e=>{if(!e)return!1;g({password:xe.value.password,newPassword:xe.value.newPassword}).then((e=>{0===e.code&&t.success("修改密码成功!"),be.value=!1}))}))},je=()=>{xe.value={password:"",newPassword:"",confirmPassword:""},Be.value.clearValidate()};o((()=>we.userInfo.headerImg),(async e=>{0===(await s({headerImg:e})).code&&(we.ResetUserInfo({headerImg:e}),t({type:"success",message:"设置成功"}))}));const Ve=()=>{he.value=we.userInfo.nickName,Ce.value=!0,console.log(we.userInfo)},Ee=()=>{he.value="",Ce.value=!1},Ae=async()=>{0===(await s({nickName:he.value})).code&&(we.ResetUserInfo({nickName:he.value}),t({type:"success",message:"设置成功"})),he.value="",Ce.value=!1},De=(e,l)=>{console.log(e,l)},ke=e(!1),Ie=e(0),Ue=l({phone:"",code:""}),Pe=async()=>{Ie.value=60;let e=setInterval((()=>{Ie.value--,Ie.value<=0&&(clearInterval(e),e=null)}),1e3)},ze=()=>{ke.value=!1,Ue.phone="",Ue.code=""},Ne=async()=>{0===(await s({phone:Ue.phone})).code&&(t.success("修改成功"),we.ResetUserInfo({phone:Ue.phone}),ze())},Se=e(!1),qe=e(0),Re=l({email:"",code:""}),Fe=async()=>{qe.value=60;let e=setInterval((()=>{qe.value--,qe.value<=0&&(clearInterval(e),e=null)}),1e3)},Ge=()=>{Se.value=!1,Re.email="",Re.code=""},Oe=async()=>{0===(await s({email:Re.email})).code&&(t.success("修改成功"),we.ResetUserInfo({email:Re.email}),Ge())},Te=e(1),He=e(0),Je=e(3),Le=e([]),Xe=e([]),Ke=e=>{Je.value=e,Qe()},Me=e=>{Te.value=e,Qe()},Qe=async()=>{const e=await A({page:Te.value,pageSize:Je.value,keyword:we.userInfo.nickName});console.log(e),0===e.code&&(Le.value=e.data.list,He.value=e.data.total,Te.value=e.data.page,Je.value=e.data.pageSize)};Qe();return(e,l)=>{const a=r("edit"),o=w,s=B,t=r("check"),g=r("close"),A=r("user"),fe=r("data-analysis"),Qe=U,We=r("video-camera"),Ye=r("medal"),Ze=r("money"),$e=C,el=j,ll=b,al=V,ol=P,sl=y,tl=x,rl=h,dl=_;return d(),u("div",null,[i("div",z,[i("div",N,[i("div",S,[i("div",q,[i("div",R,[n(E,{modelValue:p(we).userInfo.headerImg,"onUpdate:modelValue":l[0]||(l[0]=e=>p(we).userInfo.headerImg=e),"file-type":"image"},null,8,["modelValue"])]),i("div",F,[Ce.value?v("",!0):(d(),u("p",G,[c(m(p(we).userInfo.nickName)+" ",1),n(o,{class:"cursor-pointer text-sm",color:"#66b1ff",onClick:Ve},{default:f((()=>[n(a)])),_:1})])),Ce.value?(d(),u("p",O,[n(s,{modelValue:he.value,"onUpdate:modelValue":l[1]||(l[1]=e=>he.value=e)},null,8,["modelValue"]),n(o,{class:"cursor-pointer",color:"#67c23a",onClick:Ae},{default:f((()=>[n(t)])),_:1}),n(o,{class:"cursor-pointer",color:"#f23c3c",onClick:Ee},{default:f((()=>[n(g)])),_:1})])):v("",!0),l[24]||(l[24]=i("p",{class:"text-gray-500 mt-2 text-md"},"这个家伙很懒,什么都没有留下",-1))]),i("div",T,[i("ul",H,[i("li",J,[n(o,null,{default:f((()=>[n(A)])),_:1}),c(" "+m(p(we).userInfo.nickName),1)]),n(Qe,{class:"item",effect:"light",placement:"top"},{default:f((()=>[i("li",L,[n(o,null,{default:f((()=>[n(fe)])),_:1}),c(" "+m(p(we).userInfo.organization),1)])])),_:1}),i("li",X,[n(o,null,{default:f((()=>[n(We)])),_:1}),l[25]||(l[25]=c(" 中国·北京市·海淀区 "))]),n(Qe,{class:"item",effect:"light",placement:"top"},{default:f((()=>[i("li",K,[n(o,null,{default:f((()=>[n(Ye)])),_:1}),l[26]||(l[26]=c(" GoLang/JavaScript/Vue/Gorm "))])])),_:1}),i("li",M,[n(o,null,{default:f((()=>[n(Ze)])),_:1}),c(" "+m(p(we).userInfo.money),1)])])])])])]),i("div",Q,[i("div",W,[n(sl,{modelValue:ve.value,"onUpdate:modelValue":l[5]||(l[5]=e=>ve.value=e),onTabClick:De},{default:f((()=>[n($e,{label:"账号绑定",name:"second"},{default:f((()=>[i("ul",null,[i("li",Y,[l[27]||(l[27]=i("p",{class:"pb-2.5 text-xl text-gray-600"},"密保手机",-1)),i("p",Z,[c(" 已绑定手机:"+m(p(we).userInfo.phone)+" ",1),i("a",{href:"javascript:void(0)",class:"float-right text-blue-400",onClick:l[2]||(l[2]=e=>ke.value=!0)},"立即修改")])]),i("li",$,[l[28]||(l[28]=i("p",{class:"pb-2.5 text-xl text-gray-600"},"密保邮箱",-1)),i("p",ee,[c(" 已绑定邮箱:"+m(p(we).userInfo.email)+" ",1),i("a",{href:"javascript:void(0)",class:"float-right text-blue-400",onClick:l[3]||(l[3]=e=>Se.value=!0)},"立即修改")])]),l[32]||(l[32]=i("li",{class:"borderd pt-2.5"},[i("p",{class:"pb-2.5 text-xl text-gray-600"},"密保问题"),i("p",{class:"pb-2.5 text-lg text-gray-400"},[c(" 未设置密保问题 "),i("a",{href:"javascript:void(0)",class:"float-right text-blue-400"},"去设置")])],-1)),i("li",le,[l[30]||(l[30]=i("p",{class:"pb-2.5 text-xl text-gray-600"},"修改密码",-1)),i("p",ae,[l[29]||(l[29]=c(" 修改个人密码 ")),i("a",{href:"javascript:void(0)",class:"float-right text-blue-400",onClick:l[4]||(l[4]=e=>be.value=!0)},"修改密码")])]),i("li",oe,[l[31]||(l[31]=i("p",{class:"pb-2.5 text-xl text-gray-600"},"区块链身份标识",-1)),i("p",se,m(p(we).userInfo.biaoshi),1)])])])),_:1}),n($e,{label:"版权管理",name:"xxx"},{default:f((()=>[n(al,{data:Le.value},{default:f((()=>[n(el,{align:"center",label:"预览",width:"90"},{default:f((e=>[n(I,{"pic-type":"file","pic-src":e.row.url,preview:""},null,8,["pic-src"])])),_:1}),n(el,{align:"center",label:"购买日期",prop:"UpdatedAt",width:"160"},{default:f((e=>[i("div",null,m(p(k)(e.row.UpdatedAt)),1)])),_:1}),n(el,{align:"center",label:"版权标识",prop:"url","min-width":"500"},{default:f((e=>[i("div",te,m(e.row.biaoshi),1)])),_:1}),n(el,{align:"center",label:"详情","min-width":"110"},{default:f((e=>[n(ll,{type:"primary",icon:"view",onClick:l=>(async e=>{const l=await D(e);0===l.code&&(Xe.value=l.data.filedetail,_e.value=!0)})(e.row.url)},{default:f((()=>l[33]||(l[33]=[c("查看详情")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"]),i("div",re,[n(ol,{"current-page":Te.value,"page-size":Je.value,"page-sizes":[3,5,10,30,50,100],style:{float:"right",padding:"20px"},total:He.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:Me,onSizeChange:Ke},null,8,["current-page","page-size","total"])])])),_:1})])),_:1},8,["modelValue"])])])]),n(dl,{modelValue:be.value,"onUpdate:modelValue":l[10]||(l[10]=e=>be.value=e),title:"修改密码",width:"360px",onClose:je},{footer:f((()=>[i("div",de,[n(ll,{onClick:l[9]||(l[9]=e=>be.value=!1)},{default:f((()=>l[34]||(l[34]=[c("取 消")]))),_:1}),n(ll,{type:"primary",onClick:ye},{default:f((()=>l[35]||(l[35]=[c("确 定")]))),_:1})])])),default:f((()=>[n(rl,{ref_key:"modifyPwdForm",ref:Be,model:xe.value,rules:ge,"label-width":"80px"},{default:f((()=>[n(tl,{minlength:6,label:"原密码",prop:"password"},{default:f((()=>[n(s,{modelValue:xe.value.password,"onUpdate:modelValue":l[6]||(l[6]=e=>xe.value.password=e),"show-password":""},null,8,["modelValue"])])),_:1}),n(tl,{minlength:6,label:"新密码",prop:"newPassword"},{default:f((()=>[n(s,{modelValue:xe.value.newPassword,"onUpdate:modelValue":l[7]||(l[7]=e=>xe.value.newPassword=e),"show-password":""},null,8,["modelValue"])])),_:1}),n(tl,{minlength:6,label:"确认密码",prop:"confirmPassword"},{default:f((()=>[n(s,{modelValue:xe.value.confirmPassword,"onUpdate:modelValue":l[8]||(l[8]=e=>xe.value.confirmPassword=e),"show-password":""},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1},8,["modelValue"]),n(dl,{modelValue:ke.value,"onUpdate:modelValue":l[13]||(l[13]=e=>ke.value=e),title:"绑定手机",width:"600px"},{footer:f((()=>[i("span",ie,[n(ll,{onClick:ze},{default:f((()=>l[36]||(l[36]=[c("取消")]))),_:1}),n(ll,{type:"primary",onClick:Ne},{default:f((()=>l[37]||(l[37]=[c("更改")]))),_:1})])])),default:f((()=>[n(rl,{model:Ue},{default:f((()=>[n(tl,{label:"手机号","label-width":"120px"},{default:f((()=>[n(s,{modelValue:Ue.phone,"onUpdate:modelValue":l[11]||(l[11]=e=>Ue.phone=e),placeholder:"请输入手机号",autocomplete:"off"},null,8,["modelValue"])])),_:1}),n(tl,{label:"验证码","label-width":"120px"},{default:f((()=>[i("div",ue,[n(s,{modelValue:Ue.code,"onUpdate:modelValue":l[12]||(l[12]=e=>Ue.code=e),class:"flex-1",autocomplete:"off",placeholder:"请自行设计短信服务,此处为模拟随便写",style:{width:"300px"}},null,8,["modelValue"]),n(ll,{type:"primary",disabled:Ie.value>0,onClick:Pe},{default:f((()=>[c(m(Ie.value>0?"(".concat(Ie.value,"s)后重新获取"):"获取验证码"),1)])),_:1},8,["disabled"])])])),_:1})])),_:1},8,["model"])])),_:1},8,["modelValue"]),n(dl,{modelValue:Se.value,"onUpdate:modelValue":l[16]||(l[16]=e=>Se.value=e),title:"绑定邮箱",width:"600px"},{footer:f((()=>[i("span",pe,[n(ll,{onClick:Ge},{default:f((()=>l[38]||(l[38]=[c("取消")]))),_:1}),n(ll,{type:"primary",onClick:Oe},{default:f((()=>l[39]||(l[39]=[c("更改")]))),_:1})])])),default:f((()=>[n(rl,{model:Re},{default:f((()=>[n(tl,{label:"邮箱","label-width":"120px"},{default:f((()=>[n(s,{modelValue:Re.email,"onUpdate:modelValue":l[14]||(l[14]=e=>Re.email=e),placeholder:"请输入邮箱",autocomplete:"off"},null,8,["modelValue"])])),_:1}),n(tl,{label:"验证码","label-width":"120px"},{default:f((()=>[i("div",ne,[n(s,{modelValue:Re.code,"onUpdate:modelValue":l[15]||(l[15]=e=>Re.code=e),class:"flex-1",placeholder:"请自行设计邮件服务,此处为模拟随便写",autocomplete:"off",style:{width:"300px"}},null,8,["modelValue"]),n(ll,{type:"primary",disabled:qe.value>0,onClick:Fe},{default:f((()=>[c(m(qe.value>0?"(".concat(qe.value,"s)后重新获取"):"获取验证码"),1)])),_:1},8,["disabled"])])])),_:1})])),_:1},8,["model"])])),_:1},8,["modelValue"]),n(dl,{modelValue:be.value,"onUpdate:modelValue":l[21]||(l[21]=e=>be.value=e),title:"修改密码",width:"360px",onClose:je},{footer:f((()=>[i("div",ce,[n(ll,{onClick:l[20]||(l[20]=e=>be.value=!1)},{default:f((()=>l[40]||(l[40]=[c("取 消")]))),_:1}),n(ll,{type:"primary",onClick:ye},{default:f((()=>l[41]||(l[41]=[c("确 定")]))),_:1})])])),default:f((()=>[n(rl,{ref_key:"modifyPwdForm",ref:Be,model:xe.value,rules:ge,"label-width":"80px"},{default:f((()=>[n(tl,{minlength:6,label:"原密码",prop:"password"},{default:f((()=>[n(s,{modelValue:xe.value.password,"onUpdate:modelValue":l[17]||(l[17]=e=>xe.value.password=e),"show-password":""},null,8,["modelValue"])])),_:1}),n(tl,{minlength:6,label:"新密码",prop:"newPassword"},{default:f((()=>[n(s,{modelValue:xe.value.newPassword,"onUpdate:modelValue":l[18]||(l[18]=e=>xe.value.newPassword=e),"show-password":""},null,8,["modelValue"])])),_:1}),n(tl,{minlength:6,label:"确认密码",prop:"confirmPassword"},{default:f((()=>[n(s,{modelValue:xe.value.confirmPassword,"onUpdate:modelValue":l[19]||(l[19]=e=>xe.value.confirmPassword=e),"show-password":""},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1},8,["modelValue"]),n(dl,{modelValue:_e.value,"onUpdate:modelValue":l[23]||(l[23]=e=>_e.value=e),title:"文化数据版权详情",width:"720px"},{footer:f((()=>[i("div",me,[n(ll,{type:"primary",onClick:l[22]||(l[22]=e=>_e.value=!1)},{default:f((()=>l[42]||(l[42]=[c("确 定")]))),_:1})])])),default:f((()=>[n(rl,{align:"left","label-width":"80px"},{default:f((()=>[n(tl,{label:"创建时间:"},{default:f((()=>[i("div",null,m(Xe.value.CreatedAt),1)])),_:1}),n(tl,{label:"更新时间:"},{default:f((()=>[i("div",null,m(Xe.value.UpdatedAt),1)])),_:1}),n(tl,{label:"所有者:"},{default:f((()=>[i("div",null,m(Xe.value.owner),1)])),_:1}),n(tl,{label:"存证机构:"},{default:f((()=>[i("div",null,m(Xe.value.certi_organization),1)])),_:1}),n(tl,{label:"语义信息:"},{default:f((()=>[i("div",null,m(Xe.value.keywords),1)])),_:1}),n(tl,{label:"版权标识:"},{default:f((()=>[i("div",null,m(Xe.value.biaoshi),1)])),_:1}),n(tl,{label:"版权价值:"},{default:f((()=>[i("div",null,m(Xe.value.price),1)])),_:1})])),_:1})])),_:1},8,["modelValue"])])}}});export{fe as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0polyfills-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0polyfills-legacy.js new file mode 100644 index 000000000..89cae1295 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0polyfills-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=function(t){return t&&t.Math===Math&&t},e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),n={},o=function(t){try{return!!t()}catch(r){return!0}},i=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),a=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=a,c=Function.prototype.call,s=u?c.bind(c):function(){return c.apply(c,arguments)},f={},l={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,p=h&&!l.call({1:2},1);f.f=p?function(t){var r=h(this,t);return!!r&&r.enumerable}:l;var v,d,g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},y=a,m=Function.prototype,b=m.call,w=y&&m.bind.bind(b,b),E=y?w:function(t){return function(){return b.apply(t,arguments)}},S=E,A=S({}.toString),x=S("".slice),O=function(t){return x(A(t),8,-1)},R=o,I=O,T=Object,P=E("".split),k=R((function(){return!T("z").propertyIsEnumerable(0)}))?function(t){return"String"===I(t)?P(t,""):T(t)}:T,j=function(t){return null==t},L=j,C=TypeError,M=function(t){if(L(t))throw new C("Can't call method on "+t);return t},N=k,U=M,_=function(t){return N(U(t))},D="object"==typeof document&&document.all,F=void 0===D&&void 0!==D?function(t){return"function"==typeof t||t===D}:function(t){return"function"==typeof t},B=F,z=function(t){return"object"==typeof t?null!==t:B(t)},W=e,H=F,q=function(t,r){return arguments.length<2?(e=W[t],H(e)?e:void 0):W[t]&&W[t][r];var e},V=E({}.isPrototypeOf),$=e.navigator,G=$&&$.userAgent,Y=G?String(G):"",J=e,K=Y,X=J.process,Q=J.Deno,Z=X&&X.versions||Q&&Q.version,tt=Z&&Z.v8;tt&&(d=(v=tt.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!d&&K&&(!(v=K.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=K.match(/Chrome\/(\d+)/))&&(d=+v[1]);var rt=d,et=rt,nt=o,ot=e.String,it=!!Object.getOwnPropertySymbols&&!nt((function(){var t=Symbol("symbol detection");return!ot(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),at=it&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=q,ct=F,st=V,ft=Object,lt=at?function(t){return"symbol"==typeof t}:function(t){var r=ut("Symbol");return ct(r)&&st(r.prototype,ft(t))},ht=String,pt=function(t){try{return ht(t)}catch(r){return"Object"}},vt=F,dt=pt,gt=TypeError,yt=function(t){if(vt(t))return t;throw new gt(dt(t)+" is not a function")},mt=yt,bt=j,wt=function(t,r){var e=t[r];return bt(e)?void 0:mt(e)},Et=s,St=F,At=z,xt=TypeError,Ot=function(t,r){var e,n;if("string"===r&&St(e=t.toString)&&!At(n=Et(e,t)))return n;if(St(e=t.valueOf)&&!At(n=Et(e,t)))return n;if("string"!==r&&St(e=t.toString)&&!At(n=Et(e,t)))return n;throw new xt("Can't convert object to primitive value")},Rt={exports:{}},It=e,Tt=Object.defineProperty,Pt=function(t,r){try{Tt(It,t,{value:r,configurable:!0,writable:!0})}catch(e){It[t]=r}return r},kt=e,jt=Pt,Lt="__core-js_shared__",Ct=Rt.exports=kt[Lt]||jt(Lt,{});(Ct.versions||(Ct.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Mt=Rt.exports,Nt=Mt,Ut=function(t,r){return Nt[t]||(Nt[t]=r||{})},_t=M,Dt=Object,Ft=function(t){return Dt(_t(t))},Bt=Ft,zt=E({}.hasOwnProperty),Wt=Object.hasOwn||function(t,r){return zt(Bt(t),r)},Ht=E,qt=0,Vt=Math.random(),$t=Ht(1..toString),Gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+$t(++qt+Vt,36)},Yt=Ut,Jt=Wt,Kt=Gt,Xt=it,Qt=at,Zt=e.Symbol,tr=Yt("wks"),rr=Qt?Zt.for||Zt:Zt&&Zt.withoutSetter||Kt,er=function(t){return Jt(tr,t)||(tr[t]=Xt&&Jt(Zt,t)?Zt[t]:rr("Symbol."+t)),tr[t]},nr=s,or=z,ir=lt,ar=wt,ur=Ot,cr=TypeError,sr=er("toPrimitive"),fr=function(t,r){if(!or(t)||ir(t))return t;var e,n=ar(t,sr);if(n){if(void 0===r&&(r="default"),e=nr(n,t,r),!or(e)||ir(e))return e;throw new cr("Can't convert object to primitive value")}return void 0===r&&(r="number"),ur(t,r)},lr=fr,hr=lt,pr=function(t){var r=lr(t,"string");return hr(r)?r:r+""},vr=z,dr=e.document,gr=vr(dr)&&vr(dr.createElement),yr=function(t){return gr?dr.createElement(t):{}},mr=yr,br=!i&&!o((function(){return 7!==Object.defineProperty(mr("div"),"a",{get:function(){return 7}}).a})),wr=i,Er=s,Sr=f,Ar=g,xr=_,Or=pr,Rr=Wt,Ir=br,Tr=Object.getOwnPropertyDescriptor;n.f=wr?Tr:function(t,r){if(t=xr(t),r=Or(r),Ir)try{return Tr(t,r)}catch(e){}if(Rr(t,r))return Ar(!Er(Sr.f,t,r),t[r])};var Pr={},kr=i&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),jr=z,Lr=String,Cr=TypeError,Mr=function(t){if(jr(t))return t;throw new Cr(Lr(t)+" is not an object")},Nr=i,Ur=br,_r=kr,Dr=Mr,Fr=pr,Br=TypeError,zr=Object.defineProperty,Wr=Object.getOwnPropertyDescriptor,Hr="enumerable",qr="configurable",Vr="writable";Pr.f=Nr?_r?function(t,r,e){if(Dr(t),r=Fr(r),Dr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&Vr in e&&!e[Vr]){var n=Wr(t,r);n&&n[Vr]&&(t[r]=e.value,e={configurable:qr in e?e[qr]:n[qr],enumerable:Hr in e?e[Hr]:n[Hr],writable:!1})}return zr(t,r,e)}:zr:function(t,r,e){if(Dr(t),r=Fr(r),Dr(e),Ur)try{return zr(t,r,e)}catch(n){}if("get"in e||"set"in e)throw new Br("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var $r=Pr,Gr=g,Yr=i?function(t,r,e){return $r.f(t,r,Gr(1,e))}:function(t,r,e){return t[r]=e,t},Jr={exports:{}},Kr=i,Xr=Wt,Qr=Function.prototype,Zr=Kr&&Object.getOwnPropertyDescriptor,te=Xr(Qr,"name"),re={EXISTS:te,PROPER:te&&"something"===function(){}.name,CONFIGURABLE:te&&(!Kr||Kr&&Zr(Qr,"name").configurable)},ee=F,ne=Mt,oe=E(Function.toString);ee(ne.inspectSource)||(ne.inspectSource=function(t){return oe(t)});var ie,ae,ue,ce=ne.inspectSource,se=F,fe=e.WeakMap,le=se(fe)&&/native code/.test(String(fe)),he=Gt,pe=Ut("keys"),ve=function(t){return pe[t]||(pe[t]=he(t))},de={},ge=le,ye=e,me=z,be=Yr,we=Wt,Ee=Mt,Se=ve,Ae=de,xe="Object already initialized",Oe=ye.TypeError,Re=ye.WeakMap;if(ge||Ee.state){var Ie=Ee.state||(Ee.state=new Re);Ie.get=Ie.get,Ie.has=Ie.has,Ie.set=Ie.set,ie=function(t,r){if(Ie.has(t))throw new Oe(xe);return r.facade=t,Ie.set(t,r),r},ae=function(t){return Ie.get(t)||{}},ue=function(t){return Ie.has(t)}}else{var Te=Se("state");Ae[Te]=!0,ie=function(t,r){if(we(t,Te))throw new Oe(xe);return r.facade=t,be(t,Te,r),r},ae=function(t){return we(t,Te)?t[Te]:{}},ue=function(t){return we(t,Te)}}var Pe={set:ie,get:ae,has:ue,enforce:function(t){return ue(t)?ae(t):ie(t,{})},getterFor:function(t){return function(r){var e;if(!me(r)||(e=ae(r)).type!==t)throw new Oe("Incompatible receiver, "+t+" required");return e}}},ke=E,je=o,Le=F,Ce=Wt,Me=i,Ne=re.CONFIGURABLE,Ue=ce,_e=Pe.enforce,De=Pe.get,Fe=String,Be=Object.defineProperty,ze=ke("".slice),We=ke("".replace),He=ke([].join),qe=Me&&!je((function(){return 8!==Be((function(){}),"length",{value:8}).length})),Ve=String(String).split("String"),$e=Jr.exports=function(t,r,e){"Symbol("===ze(Fe(r),0,7)&&(r="["+We(Fe(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!Ce(t,"name")||Ne&&t.name!==r)&&(Me?Be(t,"name",{value:r,configurable:!0}):t.name=r),qe&&e&&Ce(e,"arity")&&t.length!==e.arity&&Be(t,"length",{value:e.arity});try{e&&Ce(e,"constructor")&&e.constructor?Me&&Be(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=_e(t);return Ce(n,"source")||(n.source=He(Ve,"string"==typeof r?r:"")),t};Function.prototype.toString=$e((function(){return Le(this)&&De(this).source||Ue(this)}),"toString");var Ge=Jr.exports,Ye=F,Je=Pr,Ke=Ge,Xe=Pt,Qe=function(t,r,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:r;if(Ye(e)&&Ke(e,i,n),n.global)o?t[r]=e:Xe(r,e);else{try{n.unsafe?t[r]&&(o=!0):delete t[r]}catch(a){}o?t[r]=e:Je.f(t,r,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Ze={},tn=Math.ceil,rn=Math.floor,en=Math.trunc||function(t){var r=+t;return(r>0?rn:tn)(r)},nn=function(t){var r=+t;return r!=r||0===r?0:en(r)},on=nn,an=Math.max,un=Math.min,cn=function(t,r){var e=on(t);return e<0?an(e+r,0):un(e,r)},sn=nn,fn=Math.min,ln=function(t){var r=sn(t);return r>0?fn(r,9007199254740991):0},hn=ln,pn=function(t){return hn(t.length)},vn=_,dn=cn,gn=pn,yn=function(t){return function(r,e,n){var o=vn(r),i=gn(o);if(0===i)return!t&&-1;var a,u=dn(n,i);if(t&&e!=e){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===e)return t||u||0;return!t&&-1}},mn={includes:yn(!0),indexOf:yn(!1)},bn=Wt,wn=_,En=mn.indexOf,Sn=de,An=E([].push),xn=function(t,r){var e,n=wn(t),o=0,i=[];for(e in n)!bn(Sn,e)&&bn(n,e)&&An(i,e);for(;r.length>o;)bn(n,e=r[o++])&&(~En(i,e)||An(i,e));return i},On=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Rn=xn,In=On.concat("length","prototype");Ze.f=Object.getOwnPropertyNames||function(t){return Rn(t,In)};var Tn={};Tn.f=Object.getOwnPropertySymbols;var Pn=q,kn=Ze,jn=Tn,Ln=Mr,Cn=E([].concat),Mn=Pn("Reflect","ownKeys")||function(t){var r=kn.f(Ln(t)),e=jn.f;return e?Cn(r,e(t)):r},Nn=Wt,Un=Mn,_n=n,Dn=Pr,Fn=function(t,r,e){for(var n=Un(r),o=Dn.f,i=_n.f,a=0;aa;)So.f(t,e=o[a++],n[e]);return t};var Ro,Io=q("document","documentElement"),To=Mr,Po=go,ko=On,jo=de,Lo=Io,Co=yr,Mo="prototype",No="script",Uo=ve("IE_PROTO"),_o=function(){},Do=function(t){return"<"+No+">"+t+""},Fo=function(t){t.write(Do("")),t.close();var r=t.parentWindow.Object;return t=null,r},Bo=function(){try{Ro=new ActiveXObject("htmlfile")}catch(o){}var t,r,e;Bo="undefined"!=typeof document?document.domain&&Ro?Fo(Ro):(r=Co("iframe"),e="java"+No+":",r.style.display="none",Lo.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Do("document.F=Object")),t.close(),t.F):Fo(Ro);for(var n=ko.length;n--;)delete Bo[Mo][ko[n]];return Bo()};jo[Uo]=!0;var zo=Object.create||function(t,r){var e;return null!==t?(_o[Mo]=To(t),e=new _o,_o[Mo]=null,e[Uo]=t):e=Bo(),void 0===r?e:Po.f(e,r)},Wo={},Ho=E([].slice),qo=O,Vo=_,$o=Ze.f,Go=Ho,Yo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Wo.f=function(t){return Yo&&"Window"===qo(t)?function(t){try{return $o(t)}catch(r){return Go(Yo)}}(t):$o(Vo(t))};var Jo=Ge,Ko=Pr,Xo=function(t,r,e){return e.get&&Jo(e.get,r,{getter:!0}),e.set&&Jo(e.set,r,{setter:!0}),Ko.f(t,r,e)},Qo={},Zo=er;Qo.f=Zo;var ti=e,ri=ti,ei=Wt,ni=Qo,oi=Pr.f,ii=function(t){var r=ri.Symbol||(ri.Symbol={});ei(r,t)||oi(r,t,{value:ni.f(t)})},ai=s,ui=q,ci=er,si=Qe,fi=function(){var t=ui("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,n=ci("toPrimitive");r&&!r[n]&&si(r,n,(function(t){return ai(e,this)}),{arity:1})},li=Pr.f,hi=Wt,pi=er("toStringTag"),vi=function(t,r,e){t&&!e&&(t=t.prototype),t&&!hi(t,pi)&&li(t,pi,{configurable:!0,value:r})},di=O,gi=E,yi=function(t){if("Function"===di(t))return gi(t)},mi=yt,bi=a,wi=yi(yi.bind),Ei=function(t,r){return mi(t),void 0===r?t:bi?wi(t,r):function(){return t.apply(r,arguments)}},Si=O,Ai=Array.isArray||function(t){return"Array"===Si(t)},xi=E,Oi=o,Ri=F,Ii=lo,Ti=ce,Pi=function(){},ki=q("Reflect","construct"),ji=/^\s*(?:class|function)\b/,Li=xi(ji.exec),Ci=!ji.test(Pi),Mi=function(t){if(!Ri(t))return!1;try{return ki(Pi,[],t),!0}catch(r){return!1}},Ni=function(t){if(!Ri(t))return!1;switch(Ii(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ci||!!Li(ji,Ti(t))}catch(r){return!0}};Ni.sham=!0;var Ui=!ki||Oi((function(){var t;return Mi(Mi.call)||!Mi(Object)||!Mi((function(){t=!0}))||t}))?Ni:Mi,_i=Ai,Di=Ui,Fi=z,Bi=er("species"),zi=Array,Wi=function(t){var r;return _i(t)&&(r=t.constructor,(Di(r)&&(r===zi||_i(r.prototype))||Fi(r)&&null===(r=r[Bi]))&&(r=void 0)),void 0===r?zi:r},Hi=function(t,r){return new(Wi(t))(0===r?0:r)},qi=Ei,Vi=k,$i=Ft,Gi=pn,Yi=Hi,Ji=E([].push),Ki=function(t){var r=1===t,e=2===t,n=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(c,s,f,l){for(var h,p,v=$i(c),d=Vi(v),g=Gi(d),y=qi(s,f),m=0,b=l||Yi,w=r?b(c,g):e||a?b(c,0):void 0;g>m;m++)if((u||m in d)&&(p=y(h=d[m],m,v),t))if(r)w[m]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:Ji(w,h)}else switch(t){case 4:return!1;case 7:Ji(w,h)}return i?-1:n||o?o:w}},Xi={forEach:Ki(0),map:Ki(1),filter:Ki(2),some:Ki(3),every:Ki(4),find:Ki(5),findIndex:Ki(6),filterReject:Ki(7)},Qi=eo,Zi=e,ta=s,ra=E,ea=i,na=it,oa=o,ia=Wt,aa=V,ua=Mr,ca=_,sa=pr,fa=vo,la=g,ha=zo,pa=bo,va=Ze,da=Wo,ga=Tn,ya=n,ma=Pr,ba=go,wa=f,Ea=Qe,Sa=Xo,Aa=Ut,xa=de,Oa=Gt,Ra=er,Ia=Qo,Ta=ii,Pa=fi,ka=vi,ja=Pe,La=Xi.forEach,Ca=ve("hidden"),Ma="Symbol",Na="prototype",Ua=ja.set,_a=ja.getterFor(Ma),Da=Object[Na],Fa=Zi.Symbol,Ba=Fa&&Fa[Na],za=Zi.RangeError,Wa=Zi.TypeError,Ha=Zi.QObject,qa=ya.f,Va=ma.f,$a=da.f,Ga=wa.f,Ya=ra([].push),Ja=Aa("symbols"),Ka=Aa("op-symbols"),Xa=Aa("wks"),Qa=!Ha||!Ha[Na]||!Ha[Na].findChild,Za=function(t,r,e){var n=qa(Da,r);n&&delete Da[r],Va(t,r,e),n&&t!==Da&&Va(Da,r,n)},tu=ea&&oa((function(){return 7!==ha(Va({},"a",{get:function(){return Va(this,"a",{value:7}).a}})).a}))?Za:Va,ru=function(t,r){var e=Ja[t]=ha(Ba);return Ua(e,{type:Ma,tag:t,description:r}),ea||(e.description=r),e},eu=function(t,r,e){t===Da&&eu(Ka,r,e),ua(t);var n=sa(r);return ua(e),ia(Ja,n)?(e.enumerable?(ia(t,Ca)&&t[Ca][n]&&(t[Ca][n]=!1),e=ha(e,{enumerable:la(0,!1)})):(ia(t,Ca)||Va(t,Ca,la(1,ha(null))),t[Ca][n]=!0),tu(t,n,e)):Va(t,n,e)},nu=function(t,r){ua(t);var e=ca(r),n=pa(e).concat(uu(e));return La(n,(function(r){ea&&!ta(ou,e,r)||eu(t,r,e[r])})),t},ou=function(t){var r=sa(t),e=ta(Ga,this,r);return!(this===Da&&ia(Ja,r)&&!ia(Ka,r))&&(!(e||!ia(this,r)||!ia(Ja,r)||ia(this,Ca)&&this[Ca][r])||e)},iu=function(t,r){var e=ca(t),n=sa(r);if(e!==Da||!ia(Ja,n)||ia(Ka,n)){var o=qa(e,n);return!o||!ia(Ja,n)||ia(e,Ca)&&e[Ca][n]||(o.enumerable=!0),o}},au=function(t){var r=$a(ca(t)),e=[];return La(r,(function(t){ia(Ja,t)||ia(xa,t)||Ya(e,t)})),e},uu=function(t){var r=t===Da,e=$a(r?Ka:ca(t)),n=[];return La(e,(function(t){!ia(Ja,t)||r&&!ia(Da,t)||Ya(n,Ja[t])})),n};na||(Fa=function(){if(aa(Ba,this))throw new Wa("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?fa(arguments[0]):void 0,r=Oa(t),e=function(t){var n=void 0===this?Zi:this;n===Da&&ta(e,Ka,t),ia(n,Ca)&&ia(n[Ca],r)&&(n[Ca][r]=!1);var o=la(1,t);try{tu(n,r,o)}catch(i){if(!(i instanceof za))throw i;Za(n,r,o)}};return ea&&Qa&&tu(Da,r,{configurable:!0,set:e}),ru(r,t)},Ea(Ba=Fa[Na],"toString",(function(){return _a(this).tag})),Ea(Fa,"withoutSetter",(function(t){return ru(Oa(t),t)})),wa.f=ou,ma.f=eu,ba.f=nu,ya.f=iu,va.f=da.f=au,ga.f=uu,Ia.f=function(t){return ru(Ra(t),t)},ea&&(Sa(Ba,"description",{configurable:!0,get:function(){return _a(this).description}}),Ea(Da,"propertyIsEnumerable",ou,{unsafe:!0}))),Qi({global:!0,constructor:!0,wrap:!0,forced:!na,sham:!na},{Symbol:Fa}),La(pa(Xa),(function(t){Ta(t)})),Qi({target:Ma,stat:!0,forced:!na},{useSetter:function(){Qa=!0},useSimple:function(){Qa=!1}}),Qi({target:"Object",stat:!0,forced:!na,sham:!ea},{create:function(t,r){return void 0===r?ha(t):nu(ha(t),r)},defineProperty:eu,defineProperties:nu,getOwnPropertyDescriptor:iu}),Qi({target:"Object",stat:!0,forced:!na},{getOwnPropertyNames:au}),Pa(),ka(Fa,Ma),xa[Ca]=!0;var cu=it&&!!Symbol.for&&!!Symbol.keyFor,su=eo,fu=q,lu=Wt,hu=vo,pu=Ut,vu=cu,du=pu("string-to-symbol-registry"),gu=pu("symbol-to-string-registry");su({target:"Symbol",stat:!0,forced:!vu},{for:function(t){var r=hu(t);if(lu(du,r))return du[r];var e=fu("Symbol")(r);return du[r]=e,gu[e]=r,e}});var yu=eo,mu=Wt,bu=lt,wu=pt,Eu=cu,Su=Ut("symbol-to-string-registry");yu({target:"Symbol",stat:!0,forced:!Eu},{keyFor:function(t){if(!bu(t))throw new TypeError(wu(t)+" is not a symbol");if(mu(Su,t))return Su[t]}});var Au=a,xu=Function.prototype,Ou=xu.apply,Ru=xu.call,Iu="object"==typeof Reflect&&Reflect.apply||(Au?Ru.bind(Ou):function(){return Ru.apply(Ou,arguments)}),Tu=Ai,Pu=F,ku=O,ju=vo,Lu=E([].push),Cu=eo,Mu=q,Nu=Iu,Uu=s,_u=E,Du=o,Fu=F,Bu=lt,zu=Ho,Wu=function(t){if(Pu(t))return t;if(Tu(t)){for(var r=t.length,e=[],n=0;ni&&gs(o,arguments[i]),o}));l.prototype=s,"Error"!==u?ls?ls(l,f):hs(l,f,{name:!0}):ms&&o in c&&(ps(l,c,o),ps(l,c,"prepareStackTrace")),hs(l,c);try{s.name!==u&&ss(s,"name",u),s.constructor=l}catch(h){}return l}},Ss="WebAssembly",As=e[Ss],xs=7!==new Error("e",{cause:7}).cause,Os=function(t,r){var e={};e[t]=Es(t,r,xs),bs({global:!0,constructor:!0,arity:1,forced:xs},e)},Rs=function(t,r){if(As&&As[t]){var e={};e[t]=Es(Ss+"."+t,r,xs),bs({target:Ss,stat:!0,constructor:!0,arity:1,forced:xs},e)}};Os("Error",(function(t){return function(r){return ws(t,this,arguments)}})),Os("EvalError",(function(t){return function(r){return ws(t,this,arguments)}})),Os("RangeError",(function(t){return function(r){return ws(t,this,arguments)}})),Os("ReferenceError",(function(t){return function(r){return ws(t,this,arguments)}})),Os("SyntaxError",(function(t){return function(r){return ws(t,this,arguments)}})),Os("TypeError",(function(t){return function(r){return ws(t,this,arguments)}})),Os("URIError",(function(t){return function(r){return ws(t,this,arguments)}})),Rs("CompileError",(function(t){return function(r){return ws(t,this,arguments)}})),Rs("LinkError",(function(t){return function(r){return ws(t,this,arguments)}})),Rs("RuntimeError",(function(t){return function(r){return ws(t,this,arguments)}}));var Is=er,Ts=zo,Ps=Pr.f,ks=Is("unscopables"),js=Array.prototype;void 0===js[ks]&&Ps(js,ks,{configurable:!0,value:Ts(null)});var Ls,Cs,Ms,Ns=function(t){js[ks][t]=!0},Us={},_s=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ds=Wt,Fs=F,Bs=Ft,zs=_s,Ws=ve("IE_PROTO"),Hs=Object,qs=Hs.prototype,Vs=zs?Hs.getPrototypeOf:function(t){var r=Bs(t);if(Ds(r,Ws))return r[Ws];var e=r.constructor;return Fs(e)&&r instanceof e?e.prototype:r instanceof Hs?qs:null},$s=o,Gs=F,Ys=z,Js=Vs,Ks=Qe,Xs=er("iterator"),Qs=!1;[].keys&&("next"in(Ms=[].keys())?(Cs=Js(Js(Ms)))!==Object.prototype&&(Ls=Cs):Qs=!0);var Zs=!Ys(Ls)||$s((function(){var t={};return Ls[Xs].call(t)!==t}));Zs&&(Ls={}),Gs(Ls[Xs])||Ks(Ls,Xs,(function(){return this}));var tf={IteratorPrototype:Ls,BUGGY_SAFARI_ITERATORS:Qs},rf=tf.IteratorPrototype,ef=zo,nf=g,of=vi,af=Us,uf=function(){return this},cf=function(t,r,e,n){var o=r+" Iterator";return t.prototype=ef(rf,{next:nf(+!n,e)}),of(t,o,!1),af[o]=uf,t},sf=eo,ff=s,lf=F,hf=cf,pf=Vs,vf=Dc,df=vi,gf=Yr,yf=Qe,mf=Us,bf=re.PROPER,wf=re.CONFIGURABLE,Ef=tf.IteratorPrototype,Sf=tf.BUGGY_SAFARI_ITERATORS,Af=er("iterator"),xf="keys",Of="values",Rf="entries",If=function(){return this},Tf=function(t,r,e,n,o,i,a){hf(e,r,n);var u,c,s,f=function(t){if(t===o&&d)return d;if(!Sf&&t&&t in p)return p[t];switch(t){case xf:case Of:case Rf:return function(){return new e(this,t)}}return function(){return new e(this)}},l=r+" Iterator",h=!1,p=t.prototype,v=p[Af]||p["@@iterator"]||o&&p[o],d=!Sf&&v||f(o),g="Array"===r&&p.entries||v;if(g&&(u=pf(g.call(new t)))!==Object.prototype&&u.next&&(pf(u)!==Ef&&(vf?vf(u,Ef):lf(u[Af])||yf(u,Af,If)),df(u,l,!0)),bf&&o===Of&&v&&v.name!==Of&&(wf?gf(p,"name",Of):(h=!0,d=function(){return ff(v,this)})),o)if(c={values:f(Of),keys:i?d:f(xf),entries:f(Rf)},a)for(s in c)(Sf||h||!(s in p))&&yf(p,s,c[s]);else sf({target:r,proto:!0,forced:Sf||h},c);return p[Af]!==d&&yf(p,Af,d,{name:o}),mf[r]=d,c},Pf=function(t,r){return{value:t,done:r}},kf=_,jf=Ns,Lf=Us,Cf=Pe,Mf=Pr.f,Nf=Tf,Uf=Pf,_f=i,Df="Array Iterator",Ff=Cf.set,Bf=Cf.getterFor(Df),zf=Nf(Array,"Array",(function(t,r){Ff(this,{type:Df,target:kf(t),index:0,kind:r})}),(function(){var t=Bf(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,Uf(void 0,!0);switch(t.kind){case"keys":return Uf(e,!1);case"values":return Uf(r[e],!1)}return Uf([e,r[e]],!1)}),"values"),Wf=Lf.Arguments=Lf.Array;if(jf("keys"),jf("values"),jf("entries"),_f&&"values"!==Wf.name)try{Mf(Wf,"name",{value:"values"})}catch(NJ){}var Hf=i,qf=Ai,Vf=TypeError,$f=Object.getOwnPropertyDescriptor,Gf=Hf&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(NJ){return NJ instanceof TypeError}}()?function(t,r){if(qf(t)&&!$f(t,"length").writable)throw new Vf("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r},Yf=TypeError,Jf=function(t){if(t>9007199254740991)throw Yf("Maximum allowed index exceeded");return t},Kf=Ft,Xf=pn,Qf=Gf,Zf=Jf;eo({target:"Array",proto:!0,arity:1,forced:o((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(NJ){return NJ instanceof TypeError}}()},{push:function(t){var r=Kf(this),e=Xf(r),n=arguments.length;Zf(e+n);for(var o=0;o=51||!cl((function(){var r=[];return(r.constructor={})[fl]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},hl=eo,pl=Ai,vl=Ui,dl=z,gl=cn,yl=pn,ml=_,bl=ul,wl=er,El=Ho,Sl=ll("slice"),Al=wl("species"),xl=Array,Ol=Math.max;hl({target:"Array",proto:!0,forced:!Sl},{slice:function(t,r){var e,n,o,i=ml(this),a=yl(i),u=gl(t,a),c=gl(void 0===r?a:r,a);if(pl(i)&&(e=i.constructor,(vl(e)&&(e===xl||pl(e.prototype))||dl(e)&&null===(e=e[Al]))&&(e=void 0),e===xl||void 0===e))return El(i,u,c);for(n=new(void 0===e?xl:e)(Ol(c-u,0)),o=0;uo;)for(var u,c=Ml(arguments[o++]),s=i?_l(kl(c),i(c)):kl(c),f=s.length,l=0;f>l;)u=s[l++],Rl&&!Tl(a,c,u)||(e[u]=c[u]);return e}:Nl,Fl=Dl;eo({target:"Object",stat:!0,arity:2,forced:Object.assign!==Fl},{assign:Fl});var Bl=Ft,zl=Vs,Wl=_s;eo({target:"Object",stat:!0,forced:o((function(){zl(1)})),sham:!Wl},{getPrototypeOf:function(t){return zl(Bl(t))}});var Hl=lo,ql=oo?{}.toString:function(){return"[object "+Hl(this)+"]"};oo||Qe(Object.prototype,"toString",ql,{unsafe:!0});var Vl,$l,Gl,Yl,Jl=e,Kl=Y,Xl=O,Ql=function(t){return Kl.slice(0,t.length)===t},Zl=Ql("Bun/")?"BUN":Ql("Cloudflare-Workers")?"CLOUDFLARE":Ql("Deno/")?"DENO":Ql("Node.js/")?"NODE":Jl.Bun&&"string"==typeof Bun.version?"BUN":Jl.Deno&&"object"==typeof Deno.version?"DENO":"process"===Xl(Jl.process)?"NODE":Jl.window&&Jl.document?"BROWSER":"REST",th="NODE"===Zl,rh=q,eh=Xo,nh=i,oh=er("species"),ih=function(t){var r=rh(t);nh&&r&&!r[oh]&&eh(r,oh,{configurable:!0,get:function(){return this}})},ah=V,uh=TypeError,ch=function(t,r){if(ah(r,t))return t;throw new uh("Incorrect invocation")},sh=Ui,fh=pt,lh=TypeError,hh=function(t){if(sh(t))return t;throw new lh(fh(t)+" is not a constructor")},ph=Mr,vh=hh,dh=j,gh=er("species"),yh=function(t,r){var e,n=ph(t).constructor;return void 0===n||dh(e=ph(n)[gh])?r:vh(e)},mh=TypeError,bh=function(t,r){if(ti;i++)if((u=y(t[i]))&&hd(md,u))return u;return new yd(!1)}n=pd(t,o)}for(c=h?t.next:n.next;!(s=ud(c,n)).done;){try{u=y(s.value)}catch(NJ){dd(n,"throw",NJ)}if("object"==typeof u&&u&&hd(md,u))return u}return new yd(!1)},wd=er("iterator"),Ed=!1;try{var Sd=0,Ad={next:function(){return{done:!!Sd++}},return:function(){Ed=!0}};Ad[wd]=function(){return this},Array.from(Ad,(function(){throw 2}))}catch(NJ){}var xd=function(t,r){try{if(!r&&!Ed)return!1}catch(NJ){return!1}var e=!1;try{var n={};n[wd]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(NJ){}return e},Od=Op,Rd=Dp.CONSTRUCTOR||!xd((function(t){Od.all(t).then(void 0,(function(){}))})),Id=s,Td=yt,Pd=Fp,kd=xp,jd=bd;eo({target:"Promise",stat:!0,forced:Rd},{all:function(t){var r=this,e=Pd.f(r),n=e.resolve,o=e.reject,i=kd((function(){var e=Td(r.resolve),i=[],a=0,u=1;jd(t,(function(t){var c=a++,s=!1;u++,Id(e,r,t).then((function(t){s||(s=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),e.promise}});var Ld=eo,Cd=Dp.CONSTRUCTOR,Md=Op,Nd=q,Ud=F,_d=Qe,Dd=Md&&Md.prototype;if(Ld({target:"Promise",proto:!0,forced:Cd,real:!0},{catch:function(t){return this.then(void 0,t)}}),Ud(Md)){var Fd=Nd("Promise").prototype.catch;Dd.catch!==Fd&&_d(Dd,"catch",Fd,{unsafe:!0})}var Bd=s,zd=yt,Wd=Fp,Hd=xp,qd=bd;eo({target:"Promise",stat:!0,forced:Rd},{race:function(t){var r=this,e=Wd.f(r),n=e.reject,o=Hd((function(){var o=zd(r.resolve);qd(t,(function(t){Bd(o,r,t).then(e.resolve,n)}))}));return o.error&&n(o.value),e.promise}});var Vd=Fp;eo({target:"Promise",stat:!0,forced:Dp.CONSTRUCTOR},{reject:function(t){var r=Vd.f(this);return(0,r.reject)(t),r.promise}});var $d=Mr,Gd=z,Yd=Fp,Jd=eo,Kd=Dp.CONSTRUCTOR,Xd=function(t,r){if($d(t),Gd(r)&&r.constructor===t)return r;var e=Yd.f(t);return(0,e.resolve)(r),e.promise};q("Promise"),Jd({target:"Promise",stat:!0,forced:Kd},{resolve:function(t){return Xd(this,t)}});var Qd=E,Zd=nn,tg=vo,rg=M,eg=Qd("".charAt),ng=Qd("".charCodeAt),og=Qd("".slice),ig=function(t){return function(r,e){var n,o,i=tg(rg(r)),a=Zd(e),u=i.length;return a<0||a>=u?t?"":void 0:(n=ng(i,a))<55296||n>56319||a+1===u||(o=ng(i,a+1))<56320||o>57343?t?eg(i,a):n:t?og(i,a,a+2):o-56320+(n-55296<<10)+65536}},ag={codeAt:ig(!1),charAt:ig(!0)},ug=ag.charAt,cg=vo,sg=Pe,fg=Tf,lg=Pf,hg="String Iterator",pg=sg.set,vg=sg.getterFor(hg);fg(String,"String",(function(t){pg(this,{type:hg,string:cg(t),index:0})}),(function(){var t,r=vg(this),e=r.string,n=r.index;return n>=e.length?lg(void 0,!0):(t=ug(e,n),r.index+=t.length,lg(t,!1))}));var dg=eo,gg=e,yg=ch,mg=Mr,bg=F,wg=Vs,Eg=Xo,Sg=ul,Ag=o,xg=Wt,Og=tf.IteratorPrototype,Rg=i,Ig="constructor",Tg="Iterator",Pg=er("toStringTag"),kg=TypeError,jg=gg[Tg],Lg=!bg(jg)||jg.prototype!==Og||!Ag((function(){jg({})})),Cg=function(){if(yg(this,Og),wg(this)===Og)throw new kg("Abstract class Iterator not directly constructable")},Mg=function(t,r){Rg?Eg(Og,t,{configurable:!0,get:function(){return r},set:function(r){if(mg(this),this===Og)throw new kg("You can't redefine this property");xg(this,t)?this[t]=r:Sg(this,t,r)}}):Og[t]=r};xg(Og,Pg)||Mg(Pg,Tg),!Lg&&xg(Og,Ig)&&Og[Ig]!==Object||Mg(Ig,Cg),Cg.prototype=Og,dg({global:!0,constructor:!0,forced:Lg},{Iterator:Cg});var Ng=function(t){return{iterator:t,next:t.next,done:!1}},Ug=bd,_g=yt,Dg=Mr,Fg=Ng;eo({target:"Iterator",proto:!0,real:!0},{forEach:function(t){Dg(this),_g(t);var r=Fg(this),e=0;Ug(r,(function(r){t(r,e++)}),{IS_RECORD:!0})}});var Bg={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},zg=yr("span").classList,Wg=zg&&zg.constructor&&zg.constructor.prototype,Hg=Wg===Object.prototype?void 0:Wg,qg=o,Vg=function(t,r){var e=[][t];return!!e&&qg((function(){e.call(null,r||function(){return 1},1)}))},$g=Xi.forEach,Gg=Vg("forEach")?[].forEach:function(t){return $g(this,t,arguments.length>1?arguments[1]:void 0)},Yg=e,Jg=Bg,Kg=Hg,Xg=Gg,Qg=Yr,Zg=function(t){if(t&&t.forEach!==Xg)try{Qg(t,"forEach",Xg)}catch(NJ){t.forEach=Xg}};for(var ty in Jg)Jg[ty]&&Zg(Yg[ty]&&Yg[ty].prototype);Zg(Kg);var ry=e,ey=Bg,ny=Hg,oy=zf,iy=Yr,ay=vi,uy=er("iterator"),cy=oy.values,sy=function(t,r){if(t){if(t[uy]!==cy)try{iy(t,uy,cy)}catch(NJ){t[uy]=cy}if(ay(t,r,!0),ey[r])for(var e in oy)if(t[e]!==oy[e])try{iy(t,e,oy[e])}catch(NJ){t[e]=oy[e]}}};for(var fy in ey)sy(ry[fy]&&ry[fy].prototype,fy);sy(ny,"DOMTokenList");var ly=o,hy=i,py=er("iterator"),vy=!ly((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),r=t.searchParams,e=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",r.forEach((function(t,e){r.delete("b"),n+=e+t})),e.delete("a",2),e.delete("b",void 0),!r.size&&!hy||!r.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==r.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!r[py]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})),dy=Mr,gy=id,yy=function(t,r,e,n){try{return n?r(dy(e)[0],e[1]):r(e)}catch(NJ){gy(t,"throw",NJ)}},my=Ei,by=s,wy=Ft,Ey=yy,Sy=Wv,Ay=Ui,xy=pn,Oy=ul,Ry=rd,Iy=Yv,Ty=Array,Py=function(t){var r=wy(t),e=Ay(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=my(o,n>2?arguments[2]:void 0));var a,u,c,s,f,l,h=Iy(r),p=0;if(!h||this===Ty&&Sy(h))for(a=xy(r),u=e?new this(a):Ty(a);a>p;p++)l=i?o(r[p],p):r[p],Oy(u,p,l);else for(u=e?new this:[],f=(s=Ry(r,h)).next;!(c=by(f,s)).done;p++)l=i?Ey(s,o,[c.value,p],!0):c.value,Oy(u,p,l);return u.length=p,u},ky=E,jy=2147483647,Ly=/[^\0-\u007E]/,Cy=/[.\u3002\uFF0E\uFF61]/g,My="Overflow: input needs wider integers to process",Ny=RangeError,Uy=ky(Cy.exec),_y=Math.floor,Dy=String.fromCharCode,Fy=ky("".charCodeAt),By=ky([].join),zy=ky([].push),Wy=ky("".replace),Hy=ky("".split),qy=ky("".toLowerCase),Vy=function(t){return t+22+75*(t<26)},$y=function(t,r,e){var n=0;for(t=e?_y(t/700):t>>1,t+=_y(t/r);t>455;)t=_y(t/35),n+=36;return _y(n+36*t/(t+38))},Gy=function(t){var r=[];t=function(t){for(var r=[],e=0,n=t.length;e=55296&&o<=56319&&e=i&&n_y((jy-a)/l))throw new Ny(My);for(a+=(f-i)*l,i=f,e=0;ejy)throw new Ny(My);if(n===i){for(var h=a,p=36;;){var v=p<=u?1:p>=u+26?26:p-u;if(ho;){if(r=+arguments[o++],Ky(r,1114111)!==r)throw new Xy(r+" is not a valid code point");e[o]=r<65536?Qy(r):Qy(55296+((r-=65536)>>10),r%1024+56320)}return tm(e,"")}});var rm=Qe,em=function(t,r,e){for(var n in r)rm(t,n,r[n],e);return t},nm=Ho,om=Math.floor,im=function(t,r){var e=t.length;if(e<8)for(var n,o,i=1;i0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=om(e/2),u=im(nm(t,0,a),r),c=im(nm(t,a),r),s=u.length,f=c.length,l=0,h=0;l0&&t&e;e>>=1)r++;return r},lb=function(t){var r=null;switch(t.length){case 1:r=t[0];break;case 2:r=(31&t[0])<<6|63&t[1];break;case 3:r=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:r=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return r>1114111?null:r},hb=function(t){for(var r=(t=rb(t,ub," ")).length,e="",n=0;nr){e+="%",n++;continue}var i=sb(t,n+1);if(i!=i){e+=o,n++;continue}n+=2;var a=fb(i);if(0===a)o=Jm(i);else{if(1===a||a>4){e+="�",n++;continue}for(var u=[i],c=1;cr||"%"!==Qm(t,n));){var s=sb(t,n+1);if(s!=s){n+=3;break}if(s>191||s<128)break;tb(u,s),n+=2,c++}if(u.length!==a){e+="�";continue}var f=lb(u);null===f?e+="�":o=Km(f)}}e+=o,n++}return e},pb=/[!'()~]|%20/g,vb={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},db=function(t){return vb[t]},gb=function(t){return rb(Ym(t),pb,db)},yb=bm((function(t,r){Fm(this,{type:Dm,target:Bm(t).entries,index:0,kind:r})}),_m,(function(){var t=zm(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,Cm(void 0,!0);var n=r[e];switch(t.kind){case"keys":return Cm(n.key,!1);case"values":return Cm(n.value,!1)}return Cm([n.key,n.value],!1)}),!0),mb=function(t){this.entries=[],this.url=null,void 0!==t&&(Im(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Qm(t,0)?ib(t,1):t:Tm(t)))};mb.prototype={type:_m,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var r,e,n,o,i,a,u,c=this.entries,s=Lm(t);if(s)for(e=(r=jm(t,s)).next;!(n=lm(e,r)).done;){if(i=(o=jm(Rm(n.value))).next,(a=lm(i,o)).done||(u=lm(i,o)).done||!lm(i,o).done)throw new Gm("Expected sequence with length 2");tb(c,{key:Tm(a.value),value:Tm(u.value)})}else for(var f in t)Am(t,f)&&tb(c,{key:f,value:Tm(t[f])})},parseQuery:function(t){if(t)for(var r,e,n=this.entries,o=ob(t,"&"),i=0;i0?arguments[0]:void 0));pm||(this.size=t.entries.length)},wb=bb.prototype;if(ym(wb,{append:function(t,r){var e=Bm(this);Mm(arguments.length,2),tb(e.entries,{key:Tm(t),value:Tm(r)}),pm||this.length++,e.updateURL()},delete:function(t){for(var r=Bm(this),e=Mm(arguments.length,1),n=r.entries,o=Tm(t),i=e<2?void 0:arguments[1],a=void 0===i?i:Tm(i),u=0;ur.key?1:-1})),t.updateURL()},forEach:function(t){for(var r,e=Bm(this).entries,n=xm(t,arguments.length>1?arguments[1]:void 0),o=0;o1?Ab(arguments[1]):{})}}),Sm(Hm)){var xb=function(t){return Em(this,Vm),new Hm(t,arguments.length>1?Ab(arguments[1]):{})};Vm.constructor=xb,xb.prototype=Vm,um({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:xb})}}var Ob,Rb=eo,Ib=i,Tb=vy,Pb=e,kb=Ei,jb=E,Lb=Qe,Cb=Xo,Mb=ch,Nb=Wt,Ub=Dl,_b=Py,Db=Ho,Fb=ag.codeAt,Bb=function(t){var r,e,n=[],o=Hy(Wy(qy(t),Cy,"."),".");for(r=0;r?@[\\\]^|]/,xw=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ow=/^[\u0000-\u0020]+/,Rw=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Iw=/[\t\n\r]/g,Tw=function(t){var r,e,n,o;if("number"==typeof t){for(r=[],e=0;e<4;e++)hw(r,t%256),t=Zb(t/256);return nw(r,".")}if("object"==typeof t){for(r="",n=function(t){for(var r=null,e=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>e&&(r=n,e=o),n=null,o=0):(null===n&&(n=i),++o);return o>e?n:r}(t),e=0;e<8;e++)o&&0===t[e]||(o&&(o=!1),n===e?(r+=e?":":"::",o=!0):(r+=ow(t[e],16),e<7&&(r+=":")));return"["+r+"]"}return t},Pw={},kw=Ub({},Pw,{" ":1,'"':1,"<":1,">":1,"`":1}),jw=Ub({},kw,{"#":1,"?":1,"{":1,"}":1}),Lw=Ub({},jw,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Cw=function(t,r){var e=Fb(t,0);return e>32&&e<127&&!Nb(r,t)?t:encodeURIComponent(t)},Mw={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Nw=function(t,r){var e;return 2===t.length&&ew(gw,rw(t,0))&&(":"===(e=rw(t,1))||!r&&"|"===e)},Uw=function(t){var r;return t.length>1&&Nw(fw(t,0,2))&&(2===t.length||"/"===(r=rw(t,2))||"\\"===r||"?"===r||"#"===r)},_w=function(t){return"."===t||"%2e"===lw(t)},Dw={},Fw={},Bw={},zw={},Ww={},Hw={},qw={},Vw={},$w={},Gw={},Yw={},Jw={},Kw={},Xw={},Qw={},Zw={},tE={},rE={},eE={},nE={},oE={},iE=function(t,r,e){var n,o,i,a=zb(t);if(r){if(o=this.parse(a))throw new Xb(o);this.searchParams=null}else{if(void 0!==e&&(n=new iE(e,!0)),o=this.parse(a,null,n))throw new Xb(o);(i=Jb(new Yb)).bindURL(this),this.searchParams=i}};iE.prototype={type:"URL",parse:function(t,r,e){var n,o,i,a,u,c=this,s=r||Dw,f=0,l="",h=!1,p=!1,v=!1;for(t=zb(t),r||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=uw(t,Ow,""),t=uw(t,Rw,"$1")),t=uw(t,Iw,""),n=_b(t);f<=n.length;){switch(o=n[f],s){case Dw:if(!o||!ew(gw,o)){if(r)return pw;s=Bw;continue}l+=lw(o),s=Fw;break;case Fw:if(o&&(ew(yw,o)||"+"===o||"-"===o||"."===o))l+=lw(o);else{if(":"!==o){if(r)return pw;l="",s=Bw,f=0;continue}if(r&&(c.isSpecial()!==Nb(Mw,l)||"file"===l&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=l,r)return void(c.isSpecial()&&Mw[c.scheme]===c.port&&(c.port=null));l="","file"===c.scheme?s=Xw:c.isSpecial()&&e&&e.scheme===c.scheme?s=zw:c.isSpecial()?s=Vw:"/"===n[f+1]?(s=Ww,f++):(c.cannotBeABaseURL=!0,aw(c.path,""),s=eE)}break;case Bw:if(!e||e.cannotBeABaseURL&&"#"!==o)return pw;if(e.cannotBeABaseURL&&"#"===o){c.scheme=e.scheme,c.path=Db(e.path),c.query=e.query,c.fragment="",c.cannotBeABaseURL=!0,s=oE;break}s="file"===e.scheme?Xw:Hw;continue;case zw:if("/"!==o||"/"!==n[f+1]){s=Hw;continue}s=$w,f++;break;case Ww:if("/"===o){s=Gw;break}s=rE;continue;case Hw:if(c.scheme=e.scheme,o===Ob)c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,c.path=Db(e.path),c.query=e.query;else if("/"===o||"\\"===o&&c.isSpecial())s=qw;else if("?"===o)c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,c.path=Db(e.path),c.query="",s=nE;else{if("#"!==o){c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,c.path=Db(e.path),c.path.length--,s=rE;continue}c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,c.path=Db(e.path),c.query=e.query,c.fragment="",s=oE}break;case qw:if(!c.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,s=rE;continue}s=Gw}else s=$w;break;case Vw:if(s=$w,"/"!==o||"/"!==rw(l,f+1))continue;f++;break;case $w:if("/"!==o&&"\\"!==o){s=Gw;continue}break;case Gw:if("@"===o){h&&(l="%40"+l),h=!0,i=_b(l);for(var d=0;d65535)return dw;c.port=c.isSpecial()&&m===Mw[c.scheme]?null:m,l=""}if(r)return;s=tE;continue}return dw}l+=o;break;case Xw:if(c.scheme="file","/"===o||"\\"===o)s=Qw;else{if(!e||"file"!==e.scheme){s=rE;continue}switch(o){case Ob:c.host=e.host,c.path=Db(e.path),c.query=e.query;break;case"?":c.host=e.host,c.path=Db(e.path),c.query="",s=nE;break;case"#":c.host=e.host,c.path=Db(e.path),c.query=e.query,c.fragment="",s=oE;break;default:Uw(nw(Db(n,f),""))||(c.host=e.host,c.path=Db(e.path),c.shortenPath()),s=rE;continue}}break;case Qw:if("/"===o||"\\"===o){s=Zw;break}e&&"file"===e.scheme&&!Uw(nw(Db(n,f),""))&&(Nw(e.path[0],!0)?aw(c.path,e.path[0]):c.host=e.host),s=rE;continue;case Zw:if(o===Ob||"/"===o||"\\"===o||"?"===o||"#"===o){if(!r&&Nw(l))s=rE;else if(""===l){if(c.host="",r)return;s=tE}else{if(a=c.parseHost(l))return a;if("localhost"===c.host&&(c.host=""),r)return;l="",s=tE}continue}l+=o;break;case tE:if(c.isSpecial()){if(s=rE,"/"!==o&&"\\"!==o)continue}else if(r||"?"!==o)if(r||"#"!==o){if(o!==Ob&&(s=rE,"/"!==o))continue}else c.fragment="",s=oE;else c.query="",s=nE;break;case rE:if(o===Ob||"/"===o||"\\"===o&&c.isSpecial()||!r&&("?"===o||"#"===o)){if(".."===(u=lw(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"===o||"\\"===o&&c.isSpecial()||aw(c.path,"")):_w(l)?"/"===o||"\\"===o&&c.isSpecial()||aw(c.path,""):("file"===c.scheme&&!c.path.length&&Nw(l)&&(c.host&&(c.host=""),l=rw(l,0)+":"),aw(c.path,l)),l="","file"===c.scheme&&(o===Ob||"?"===o||"#"===o))for(;c.path.length>1&&""===c.path[0];)cw(c.path);"?"===o?(c.query="",s=nE):"#"===o&&(c.fragment="",s=oE)}else l+=Cw(o,jw);break;case eE:"?"===o?(c.query="",s=nE):"#"===o?(c.fragment="",s=oE):o!==Ob&&(c.path[0]+=Cw(o,Pw));break;case nE:r||"#"!==o?o!==Ob&&("'"===o&&c.isSpecial()?c.query+="%27":c.query+="#"===o?"%23":Cw(o,Pw)):(c.fragment="",s=oE);break;case oE:o!==Ob&&(c.fragment+=Cw(o,kw))}f++}},parseHost:function(t){var r,e,n;if("["===rw(t,0)){if("]"!==rw(t,t.length-1))return vw;if(r=function(t){var r,e,n,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,h=function(){return rw(t,l)};if(":"===h()){if(":"!==rw(t,1))return;l+=2,f=++s}for(;h();){if(8===s)return;if(":"!==h()){for(r=e=0;e<4&&ew(Sw,h());)r=16*r+Qb(h(),16),l++,e++;if("."===h()){if(0===e)return;if(l-=e,s>6)return;for(n=0;h();){if(o=null,n>0){if(!("."===h()&&n<4))return;l++}if(!ew(mw,h()))return;for(;ew(mw,h());){if(i=Qb(h(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}c[s]=256*c[s]+o,2!=++n&&4!==n||s++}if(4!==n)return;break}if(":"===h()){if(l++,!h())return}else if(h())return;c[s++]=r}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(a=s-f,s=7;0!==s&&a>0;)u=c[s],c[s--]=c[f+a-1],c[f+--a]=u;else if(8!==s)return;return c}(fw(t,1,-1)),!r)return vw;this.host=r}else if(this.isSpecial()){if(t=Bb(t),ew(Aw,t))return vw;if(r=function(t){var r,e,n,o,i,a,u,c=sw(t,".");if(c.length&&""===c[c.length-1]&&c.length--,(r=c.length)>4)return t;for(e=[],n=0;n1&&"0"===rw(o,0)&&(i=ew(bw,o)?16:8,o=fw(o,8===i?1:2)),""===o)a=0;else{if(!ew(10===i?Ew:8===i?ww:Sw,o))return t;a=Qb(o,i)}aw(e,a)}for(n=0;n=tw(256,5-r))return null}else if(a>255)return null;for(u=iw(e),n=0;n1?arguments[1]:void 0,n=$b(r,new iE(t,!1,e));Ib||(r.href=n.serialize(),r.origin=n.getOrigin(),r.protocol=n.getProtocol(),r.username=n.getUsername(),r.password=n.getPassword(),r.host=n.getHost(),r.hostname=n.getHostname(),r.port=n.getPort(),r.pathname=n.getPathname(),r.search=n.getSearch(),r.searchParams=n.getSearchParams(),r.hash=n.getHash())},uE=aE.prototype,cE=function(t,r){return{get:function(){return Gb(this)[t]()},set:r&&function(t){return Gb(this)[r](t)},configurable:!0,enumerable:!0}};if(Ib&&(Cb(uE,"href",cE("serialize","setHref")),Cb(uE,"origin",cE("getOrigin")),Cb(uE,"protocol",cE("getProtocol","setProtocol")),Cb(uE,"username",cE("getUsername","setUsername")),Cb(uE,"password",cE("getPassword","setPassword")),Cb(uE,"host",cE("getHost","setHost")),Cb(uE,"hostname",cE("getHostname","setHostname")),Cb(uE,"port",cE("getPort","setPort")),Cb(uE,"pathname",cE("getPathname","setPathname")),Cb(uE,"search",cE("getSearch","setSearch")),Cb(uE,"searchParams",cE("getSearchParams")),Cb(uE,"hash",cE("getHash","setHash"))),Lb(uE,"toJSON",(function(){return Gb(this).serialize()}),{enumerable:!0}),Lb(uE,"toString",(function(){return Gb(this).serialize()}),{enumerable:!0}),Kb){var sE=Kb.createObjectURL,fE=Kb.revokeObjectURL;sE&&Lb(aE,"createObjectURL",kb(sE,Kb)),fE&&Lb(aE,"revokeObjectURL",kb(fE,Kb))}Wb(aE,"URL"),Rb({global:!0,constructor:!0,forced:!Tb,sham:!Ib},{URL:aE});var lE=s;eo({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return lE(URL.prototype.toString,this)}});var hE=Qe,pE=E,vE=vo,dE=bh,gE=URLSearchParams,yE=gE.prototype,mE=pE(yE.append),bE=pE(yE.delete),wE=pE(yE.forEach),EE=pE([].push),SE=new gE("a=1&a=2&b=3");SE.delete("a",1),SE.delete("b",void 0),SE+""!="a=2"&&hE(yE,"delete",(function(t){var r=arguments.length,e=r<2?void 0:arguments[1];if(r&&void 0===e)return bE(this,t);var n=[];wE(this,(function(t,r){EE(n,{key:r,value:t})})),dE(r,1);for(var o,i=vE(t),a=vE(e),u=0,c=0,s=!1,f=n.length;u1?arguments[1]:void 0)}});var FE=Mr,BE=Ot,zE=TypeError,WE=Wt,HE=Qe,qE=function(t){if(FE(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new zE("Incorrect hint");return BE(this,t)},VE=er("toPrimitive"),$E=Date.prototype;WE($E,VE)||HE($E,VE,qE);var GE=E(1..valueOf),YE="\t\n\v\f\r                 \u2028\u2029\ufeff",JE=M,KE=vo,XE=YE,QE=E("".replace),ZE=RegExp("^["+XE+"]+"),tS=RegExp("(^|[^"+XE+"])["+XE+"]+$"),rS=function(t){return function(r){var e=KE(JE(r));return 1&t&&(e=QE(e,ZE,"")),2&t&&(e=QE(e,tS,"$1")),e}},eS={start:rS(1),end:rS(2),trim:rS(3)},nS=eo,oS=i,iS=e,aS=ti,uS=E,cS=Yn,sS=Wt,fS=qc,lS=V,hS=lt,pS=fr,vS=o,dS=Ze.f,gS=n.f,yS=Pr.f,mS=GE,bS=eS.trim,wS="Number",ES=iS[wS];aS[wS];var SS=ES.prototype,AS=iS.TypeError,xS=uS("".slice),OS=uS("".charCodeAt),RS=function(t){var r,e,n,o,i,a,u,c,s=pS(t,"number");if(hS(s))throw new AS("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=bS(s),43===(r=OS(s,0))||45===r){if(88===(e=OS(s,2))||120===e)return NaN}else if(48===r){switch(OS(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=xS(s,2)).length,u=0;uo)return NaN;return parseInt(i,n)}return+s},IS=cS(wS,!ES(" 0o1")||!ES("0b1")||ES("+0x1")),TS=function(t){var r,e=arguments.length<1?0:ES(function(t){var r=pS(t,"number");return"bigint"==typeof r?r:RS(r)}(t));return lS(SS,r=this)&&vS((function(){mS(r)}))?fS(Object(e),this,TS):e};TS.prototype=SS,IS&&(SS.constructor=TS),nS({global:!0,constructor:!0,wrap:!0,forced:IS},{Number:TS});IS&&function(t,r){for(var e,n=oS?dS(r):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)sS(r,e=n[o])&&!sS(t,e)&&yS(t,e,gS(r,e))}(aS[wS],ES);var PS=eo,kS=o,jS=_,LS=n.f,CS=i;PS({target:"Object",stat:!0,forced:!CS||kS((function(){LS(1)})),sham:!CS},{getOwnPropertyDescriptor:function(t,r){return LS(jS(t),r)}});var MS=Mn,NS=_,US=n,_S=ul;eo({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var r,e,n=NS(t),o=US.f,i=MS(n),a={},u=0;i.length>u;)void 0!==(e=o(n,r=i[u++]))&&_S(a,r,e);return a}});var DS=s,FS=zo,BS=Yr,zS=em,WS=Pe,HS=wt,qS=tf.IteratorPrototype,VS=Pf,$S=id,GS=er("toStringTag"),YS="IteratorHelper",JS="WrapForValidIterator",KS=WS.set,XS=function(t){var r=WS.getterFor(t?JS:YS);return zS(FS(qS),{next:function(){var e=r(this);if(t)return e.nextHandler();try{var n=e.done?void 0:e.nextHandler();return VS(n,e.done)}catch(NJ){throw e.done=!0,NJ}},return:function(){var e=r(this),n=e.iterator;if(e.done=!0,t){var o=HS(n,"return");return o?DS(o,n):VS(void 0,!0)}if(e.inner)try{$S(e.inner.iterator,"normal")}catch(NJ){return $S(n,"throw",NJ)}return $S(n,"normal"),VS(void 0,!0)}})},QS=XS(!0),ZS=XS(!1);BS(ZS,GS,"Iterator Helper");var tA=function(t,r){var e=function(e,n){n?(n.iterator=e.iterator,n.next=e.next):n=e,n.type=r?JS:YS,n.nextHandler=t,n.counter=0,n.done=!1,KS(this,n)};return e.prototype=r?QS:ZS,e},rA=eo,eA=s,nA=yt,oA=Mr,iA=Ng,aA=yy,uA=tA((function(){for(var t,r,e=this.iterator,n=this.predicate,o=this.next;;){if(t=oA(eA(o,e)),this.done=!!t.done)return;if(r=t.value,aA(e,n,[r,this.counter++],!0))return r}}));rA({target:"Iterator",proto:!0,real:!0,forced:false},{filter:function(t){return oA(this),nA(t),new uA(iA(this),{predicate:t})}});var cA=eo,sA=o,fA=Ai,lA=z,hA=Ft,pA=pn,vA=Jf,dA=ul,gA=Hi,yA=ll,mA=rt,bA=er("isConcatSpreadable"),wA=mA>=51||!sA((function(){var t=[];return t[bA]=!1,t.concat()[0]!==t})),EA=function(t){if(!lA(t))return!1;var r=t[bA];return void 0!==r?!!r:fA(t)};cA({target:"Array",proto:!0,arity:1,forced:!wA||!yA("concat")},{concat:function(t){var r,e,n,o,i,a=hA(this),u=gA(a,0),c=0;for(r=-1,n=arguments.length;r1?arguments[1]:void 0,e),i=n>2?arguments[2]:void 0,a=void 0===i?e:AA(i,e);a>o;)r[o++]=t;return r},RA=Ns;eo({target:"Array",proto:!0},{fill:OA}),RA("fill");var IA=Py;eo({target:"Array",stat:!0,forced:!xd((function(t){Array.from(t)}))},{from:IA});var TA=eo,PA=mn.indexOf,kA=Vg,jA=yi([].indexOf),LA=!!jA&&1/jA([1],1,-0)<0;TA({target:"Array",proto:!0,forced:LA||!kA("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return LA?jA(this,t,r)||0:PA(this,t,r)}});var CA=Iu,MA=_,NA=nn,UA=pn,_A=Vg,DA=Math.min,FA=[].lastIndexOf,BA=!!FA&&1/[1].lastIndexOf(1,-0)<0,zA=_A("lastIndexOf"),WA=BA||!zA?function(t){if(BA)return CA(FA,this,arguments)||0;var r=MA(this),e=UA(r);if(0===e)return-1;var n=e-1;for(arguments.length>1&&(n=DA(n,NA(arguments[1]))),n<0&&(n=e+n);n>=0;n--)if(n in r&&r[n]===t)return n||0;return-1}:FA;eo({target:"Array",proto:!0,forced:WA!==[].lastIndexOf},{lastIndexOf:WA});var HA=Xi.map;eo({target:"Array",proto:!0,forced:!ll("map")},{map:function(t){return HA(this,t,arguments.length>1?arguments[1]:void 0)}});var qA=pt,VA=TypeError,$A=function(t,r){if(!delete t[r])throw new VA("Cannot delete property "+qA(r)+" of "+qA(t))},GA=Y.match(/firefox\/(\d+)/i),YA=!!GA&&+GA[1],JA=/MSIE|Trident/.test(Y),KA=Y.match(/AppleWebKit\/(\d+)\./),XA=!!KA&&+KA[1],QA=eo,ZA=E,tx=yt,rx=Ft,ex=pn,nx=$A,ox=vo,ix=o,ax=am,ux=Vg,cx=YA,sx=JA,fx=rt,lx=XA,hx=[],px=ZA(hx.sort),vx=ZA(hx.push),dx=ix((function(){hx.sort(void 0)})),gx=ix((function(){hx.sort(null)})),yx=ux("sort"),mx=!ix((function(){if(fx)return fx<70;if(!(cx&&cx>3)){if(sx)return!0;if(lx)return lx<603;var t,r,e,n,o="";for(t=65;t<76;t++){switch(r=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(n=0;n<47;n++)hx.push({k:r+n,v:e})}for(hx.sort((function(t,r){return r.v-t.v})),n=0;nox(e)?1:-1}}(t)),e=ex(o),n=0;ns-n+e;i--)Tx(c,i-1)}else if(e>n)for(i=s-n;i>f;i--)u=i+e-1,(a=i+n-1)in c?c[u]=c[a]:Tx(c,u);for(i=0;ie||c!=c?a*(1/0):a*c},Gx=Math.fround||function(t){return $x(t,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)},Yx=Array,Jx=Math.abs,Kx=Math.pow,Xx=Math.floor,Qx=Math.log,Zx=Math.LN2,tO={pack:function(t,r,e){var n,o,i,a=Yx(e),u=8*e-r-1,c=(1<>1,f=23===r?Kx(2,-24)-Kx(2,-77):0,l=t<0||0===t&&1/t<0?1:0,h=0;for((t=Jx(t))!=t||t===1/0?(o=t!=t?1:0,n=c):(n=Xx(Qx(t)/Zx),t*(i=Kx(2,-n))<1&&(n--,i*=2),(t+=n+s>=1?f/i:f*Kx(2,1-s))*i>=2&&(n++,i/=2),n+s>=c?(o=0,n=c):n+s>=1?(o=(t*i-1)*Kx(2,r),n+=s):(o=t*Kx(2,s-1)*Kx(2,r),n=0));r>=8;)a[h++]=255&o,o/=256,r-=8;for(n=n<0;)a[h++]=255&n,n/=256,u-=8;return a[h-1]|=128*l,a},unpack:function(t,r){var e,n=t.length,o=8*n-r-1,i=(1<>1,u=o-7,c=n-1,s=t[c--],f=127&s;for(s>>=7;u>0;)f=256*f+t[c--],u-=8;for(e=f&(1<<-u)-1,f>>=-u,u+=r;u>0;)e=256*e+t[c--],u-=8;if(0===f)f=1-a;else{if(f===i)return e?NaN:s?-1/0:1/0;e+=Kx(2,r),f-=a}return(s?-1:1)*e*Kx(2,f-r)}},rO=e,eO=E,nO=i,oO=_x,iO=Yr,aO=Xo,uO=em,cO=o,sO=ch,fO=nn,lO=ln,hO=zx,pO=Gx,vO=tO,dO=Vs,gO=Dc,yO=OA,mO=Ho,bO=qc,wO=Fn,EO=vi,SO=Pe,AO=re.PROPER,xO=re.CONFIGURABLE,OO="ArrayBuffer",RO="DataView",IO="prototype",TO="Wrong index",PO=SO.getterFor(OO),kO=SO.getterFor(RO),jO=SO.set,LO=rO[OO],CO=LO,MO=CO&&CO[IO],NO=rO[RO],UO=NO&&NO[IO],_O=Object.prototype,DO=rO.Array,FO=rO.RangeError,BO=eO(yO),zO=eO([].reverse),WO=vO.pack,HO=vO.unpack,qO=function(t){return[255&t]},VO=function(t){return[255&t,t>>8&255]},$O=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},GO=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},YO=function(t){return WO(pO(t),23,4)},JO=function(t){return WO(t,52,8)},KO=function(t,r,e){aO(t[IO],r,{configurable:!0,get:function(){return e(this)[r]}})},XO=function(t,r,e,n){var o=kO(t),i=hO(e),a=!!n;if(i+r>o.byteLength)throw new FO(TO);var u=o.bytes,c=i+o.byteOffset,s=mO(u,c,c+r);return a?s:zO(s)},QO=function(t,r,e,n,o,i){var a=kO(t),u=hO(e),c=n(+o),s=!!i;if(u+r>a.byteLength)throw new FO(TO);for(var f=a.bytes,l=u+a.byteOffset,h=0;h>24)},setUint8:function(t,r){rR(this,t,r<<24>>24)}},{unsafe:!0})}else MO=(CO=function(t){sO(this,MO);var r=hO(t);jO(this,{type:OO,bytes:BO(DO(r),0),byteLength:r}),nO||(this.byteLength=r,this.detached=!1)})[IO],NO=function(t,r,e){sO(this,UO),sO(t,MO);var n=PO(t),o=n.byteLength,i=fO(r);if(i<0||i>o)throw new FO("Wrong offset");if(i+(e=void 0===e?o-i:lO(e))>o)throw new FO("Wrong length");jO(this,{type:RO,buffer:t,byteLength:e,byteOffset:i,bytes:n.bytes}),nO||(this.buffer=t,this.byteLength=e,this.byteOffset=i)},UO=NO[IO],nO&&(KO(CO,"byteLength",PO),KO(NO,"buffer",kO),KO(NO,"byteLength",kO),KO(NO,"byteOffset",kO)),uO(UO,{getInt8:function(t){return XO(this,1,t)[0]<<24>>24},getUint8:function(t){return XO(this,1,t)[0]},getInt16:function(t){var r=XO(this,2,t,arguments.length>1&&arguments[1]);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t){var r=XO(this,2,t,arguments.length>1&&arguments[1]);return r[1]<<8|r[0]},getInt32:function(t){return GO(XO(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function(t){return GO(XO(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(t){return HO(XO(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function(t){return HO(XO(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function(t,r){QO(this,1,t,qO,r)},setUint8:function(t,r){QO(this,1,t,qO,r)},setInt16:function(t,r){QO(this,2,t,VO,r,arguments.length>2&&arguments[2])},setUint16:function(t,r){QO(this,2,t,VO,r,arguments.length>2&&arguments[2])},setInt32:function(t,r){QO(this,4,t,$O,r,arguments.length>2&&arguments[2])},setUint32:function(t,r){QO(this,4,t,$O,r,arguments.length>2&&arguments[2])},setFloat32:function(t,r){QO(this,4,t,YO,r,arguments.length>2&&arguments[2])},setFloat64:function(t,r){QO(this,8,t,JO,r,arguments.length>2&&arguments[2])}});EO(CO,OO),EO(NO,RO);var eR={ArrayBuffer:CO,DataView:NO},nR=ih,oR="ArrayBuffer",iR=eR[oR];eo({global:!0,constructor:!0,forced:e[oR]!==iR},{ArrayBuffer:iR}),nR(oR);var aR=eo,uR=yi,cR=o,sR=Mr,fR=cn,lR=ln,hR=yh,pR=eR.ArrayBuffer,vR=eR.DataView,dR=vR.prototype,gR=uR(pR.prototype.slice),yR=uR(dR.getUint8),mR=uR(dR.setUint8);aR({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:cR((function(){return!new pR(2).slice(1,void 0).byteLength}))},{slice:function(t,r){if(gR&&void 0===r)return gR(sR(this),t);for(var e=sR(this).byteLength,n=fR(t,e),o=fR(void 0===r?e:r,e),i=new(hR(this,pR))(lR(o-n)),a=new vR(this),u=new vR(i),c=0;n92||"NODE"===$R&&VR>94||"BROWSER"===$R&&VR>97)return!1;var t=new ArrayBuffer(8),r=GR(t,{transfer:[t]});return 0!==t.byteLength||8!==r.byteLength})),JR=e,KR=HR,XR=YR,QR=JR.structuredClone,ZR=JR.ArrayBuffer,tI=JR.MessageChannel,rI=!1;if(XR)rI=function(t){QR(t,{transfer:[t]})};else if(ZR)try{tI||(NR=KR("worker_threads"))&&(tI=NR.MessageChannel),tI&&(UR=new tI,_R=new ZR(2),DR=function(t){UR.port1.postMessage(null,[t])},2===_R.byteLength&&(DR(_R),0===_R.byteLength&&(rI=DR)))}catch(NJ){}var eI=e,nI=E,oI=Pc,iI=zx,aI=function(t){if(FR(t))throw new BR("ArrayBuffer is detached");return t},uI=xR,cI=rI,sI=YR,fI=eI.structuredClone,lI=eI.ArrayBuffer,hI=eI.DataView,pI=Math.min,vI=lI.prototype,dI=hI.prototype,gI=nI(vI.slice),yI=oI(vI,"resizable","get"),mI=oI(vI,"maxByteLength","get"),bI=nI(dI.getInt8),wI=nI(dI.setInt8),EI=(sI||cI)&&function(t,r,e){var n,o=uI(t),i=void 0===r?o:iI(r),a=!yI||!yI(t);if(aI(t),sI&&(t=fI(t,{transfer:[t]}),o===i&&(e||a)))return t;if(o>=i&&(!e||a))n=gI(t,0,i);else{var u=e&&!a&&mI?{maxByteLength:mI(t)}:void 0;n=new lI(i,u);for(var c=new hI(t),s=new hI(n),f=pI(i,o),l=0;l1?arguments[1]:void 0);r=r?r.next:e.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!c(this,t)}}),pT(i,e?{get:function(t){var r=c(this,t);return r&&r.value},set:function(t,r){return u(this,0===t?0:t,r)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),ET&&hT(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(t,r,e){var n=r+" Iterator",o=xT(r),i=xT(n);mT(t,r,(function(t,r){AT(this,{type:n,target:t,state:o(t),kind:r,last:null})}),(function(){for(var t=i(this),r=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?bT("keys"===r?e.key:"values"===r?e.value:[e.key,e.value],!1):(t.target=null,bT(void 0,!0))}),e?"entries":"values",!e,!0),wT(r)}};fT("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),OT);var RT=nn,IT=vo,TT=M,PT=RangeError,kT=function(t){var r=IT(TT(this)),e="",n=RT(t);if(n<0||n===1/0)throw new PT("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(r+=r))1&n&&(e+=r);return e},jT=eo,LT=E,CT=nn,MT=GE,NT=kT,UT=o,_T=RangeError,DT=String,FT=Math.floor,BT=LT(NT),zT=LT("".slice),WT=LT(1..toFixed),HT=function(t,r,e){return 0===r?e:r%2==1?HT(t,r-1,e*t):HT(t*t,r/2,e)},qT=function(t,r,e){for(var n=-1,o=e;++n<6;)o+=r*t[n],t[n]=o%1e7,o=FT(o/1e7)},VT=function(t,r){for(var e=6,n=0;--e>=0;)n+=t[e],t[e]=FT(n/r),n=n%r*1e7},$T=function(t){for(var r=6,e="";--r>=0;)if(""!==e||0===r||0!==t[r]){var n=DT(t[r]);e=""===e?n:e+BT("0",7-n.length)+n}return e};jT({target:"Number",proto:!0,forced:UT((function(){return"0.000"!==WT(8e-5,3)||"1"!==WT(.9,0)||"1.25"!==WT(1.255,2)||"1000000000000000128"!==WT(0xde0b6b3a7640080,0)}))||!UT((function(){WT({})}))},{toFixed:function(t){var r,e,n,o,i=MT(this),a=CT(t),u=[0,0,0,0,0,0],c="",s="0";if(a<0||a>20)throw new _T("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return DT(i);if(i<0&&(c="-",i=-i),i>1e-21)if(e=(r=function(t){for(var r=0,e=t;e>=4096;)r+=12,e/=4096;for(;e>=2;)r+=1,e/=2;return r}(i*HT(2,69,1))-69)<0?i*HT(2,-r,1):i/HT(2,r,1),e*=4503599627370496,(r=52-r)>0){for(qT(u,0,e),n=a;n>=7;)qT(u,1e7,0),n-=7;for(qT(u,HT(10,n,1),0),n=r-1;n>=23;)VT(u,1<<23),n-=23;VT(u,1<0?c+((o=s.length)<=a?"0."+BT("0",a-o)+s:zT(s,0,o-a)+"."+zT(s,o-a)):c+s}});var GT=eo,YT=LI,JT=o,KT=z,XT=YI.onFreeze,QT=Object.freeze;GT({target:"Object",stat:!0,forced:JT((function(){QT(1)})),sham:!YT},{freeze:function(t){return QT&&KT(t)?QT(XT(t)):t}});var ZT=e,tP=o,rP=vo,eP=eS.trim,nP=YE,oP=E("".charAt),iP=ZT.parseFloat,aP=ZT.Symbol,uP=aP&&aP.iterator,cP=1/iP(nP+"-0")!=-1/0||uP&&!tP((function(){iP(Object(uP))}))?function(t){var r=eP(rP(t)),e=iP(r);return 0===e&&"-"===oP(r,0)?-0:e}:iP;eo({global:!0,forced:parseFloat!==cP},{parseFloat:cP});var sP=e,fP=o,lP=E,hP=vo,pP=eS.trim,vP=YE,dP=sP.parseInt,gP=sP.Symbol,yP=gP&&gP.iterator,mP=/^[+-]?0x/i,bP=lP(mP.exec),wP=8!==dP(vP+"08")||22!==dP(vP+"0x16")||yP&&!fP((function(){dP(Object(yP))}))?function(t,r){var e=pP(hP(t));return dP(e,r>>>0||(bP(mP,e)?16:10))}:dP;eo({global:!0,forced:parseInt!==wP},{parseInt:wP});var EP=z,SP=O,AP=er("match"),xP=function(t){var r;return EP(t)&&(void 0!==(r=t[AP])?!!r:"RegExp"===SP(t))},OP=Mr,RP=function(){var t=OP(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},IP=s,TP=Wt,PP=V,kP=RP,jP=RegExp.prototype,LP=function(t){var r=t.flags;return void 0!==r||"flags"in jP||TP(t,"flags")||!PP(jP,t)?r:IP(kP,t)},CP=o,MP=e.RegExp,NP=CP((function(){var t=MP("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),UP=NP||CP((function(){return!MP("a","y").sticky})),_P=NP||CP((function(){var t=MP("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),DP={BROKEN_CARET:_P,MISSED_STICKY:UP,UNSUPPORTED_Y:NP},FP=o,BP=e.RegExp,zP=FP((function(){var t=BP(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),WP=o,HP=e.RegExp,qP=WP((function(){var t=HP("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")})),VP=i,$P=e,GP=E,YP=Yn,JP=qc,KP=Yr,XP=zo,QP=Ze.f,ZP=V,tk=xP,rk=vo,ek=LP,nk=DP,ok=Bc,ik=Qe,ak=o,uk=Wt,ck=Pe.enforce,sk=ih,fk=zP,lk=qP,hk=er("match"),pk=$P.RegExp,vk=pk.prototype,dk=$P.SyntaxError,gk=GP(vk.exec),yk=GP("".charAt),mk=GP("".replace),bk=GP("".indexOf),wk=GP("".slice),Ek=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Sk=/a/g,Ak=/a/g,xk=new pk(Sk)!==Sk,Ok=nk.MISSED_STICKY,Rk=nk.UNSUPPORTED_Y,Ik=VP&&(!xk||Ok||fk||lk||ak((function(){return Ak[hk]=!1,pk(Sk)!==Sk||pk(Ak)===Ak||"/a/i"!==String(pk(Sk,"i"))})));if(YP("RegExp",Ik)){for(var Tk=function(t,r){var e,n,o,i,a,u,c=ZP(vk,this),s=tk(t),f=void 0===r,l=[],h=t;if(!c&&s&&f&&t.constructor===Tk)return t;if((s||ZP(vk,t))&&(t=t.source,f&&(r=ek(h))),t=void 0===t?"":rk(t),r=void 0===r?"":rk(r),h=t,fk&&"dotAll"in Sk&&(n=!!r&&bk(r,"s")>-1)&&(r=mk(r,/s/g,"")),e=r,Ok&&"sticky"in Sk&&(o=!!r&&bk(r,"y")>-1)&&Rk&&(r=mk(r,/y/g,"")),lk&&(i=function(t){for(var r,e=t.length,n=0,o="",i=[],a=XP(null),u=!1,c=!1,s=0,f="";n<=e;n++){if("\\"===(r=yk(t,n)))r+=yk(t,++n);else if("]"===r)u=!1;else if(!u)switch(!0){case"["===r:u=!0;break;case"("===r:if(o+=r,"?:"===wk(t,n+1,n+3))continue;gk(Ek,wk(t,n+1))&&(n+=2,c=!0),s++;continue;case">"===r&&c:if(""===f||uk(a,f))throw new dk("Invalid capture group name");a[f]=!0,i[i.length]=[f,s],c=!1,f="";continue}c?f+=r:o+=r}return[o,i]}(t),t=i[0],l=i[1]),a=JP(pk(t,r),c?this:vk,Tk),(n||o||l.length)&&(u=ck(a),n&&(u.dotAll=!0,u.raw=Tk(function(t){for(var r,e=t.length,n=0,o="",i=!1;n<=e;n++)"\\"!==(r=yk(t,n))?i||"."!==r?("["===r?i=!0:"]"===r&&(i=!1),o+=r):o+="[\\s\\S]":o+=r+yk(t,++n);return o}(t),e)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==h)try{KP(a,"source",""===h?"(?:)":h)}catch(NJ){}return a},Pk=QP(pk),kk=0;Pk.length>kk;)ok(Tk,pk,Pk[kk++]);vk.constructor=Tk,Tk.prototype=vk,ik($P,"RegExp",Tk,{constructor:!0})}sk("RegExp");var jk=i,Lk=zP,Ck=O,Mk=Xo,Nk=Pe.get,Uk=RegExp.prototype,_k=TypeError;jk&&Lk&&Mk(Uk,"dotAll",{configurable:!0,get:function(){if(this!==Uk){if("RegExp"===Ck(this))return!!Nk(this).dotAll;throw new _k("Incompatible receiver, RegExp required")}}});var Dk=s,Fk=E,Bk=vo,zk=RP,Wk=DP,Hk=zo,qk=Pe.get,Vk=zP,$k=qP,Gk=Ut("native-string-replace",String.prototype.replace),Yk=RegExp.prototype.exec,Jk=Yk,Kk=Fk("".charAt),Xk=Fk("".indexOf),Qk=Fk("".replace),Zk=Fk("".slice),tj=function(){var t=/a/,r=/b*/g;return Dk(Yk,t,"a"),Dk(Yk,r,"a"),0!==t.lastIndex||0!==r.lastIndex}(),rj=Wk.BROKEN_CARET,ej=void 0!==/()??/.exec("")[1];(tj||ej||rj||Vk||$k)&&(Jk=function(t){var r,e,n,o,i,a,u,c=this,s=qk(c),f=Bk(t),l=s.raw;if(l)return l.lastIndex=c.lastIndex,r=Dk(Jk,l,f),c.lastIndex=l.lastIndex,r;var h=s.groups,p=rj&&c.sticky,v=Dk(zk,c),d=c.source,g=0,y=f;if(p&&(v=Qk(v,"y",""),-1===Xk(v,"g")&&(v+="g"),y=Zk(f,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Kk(f,c.lastIndex-1))&&(d="(?: "+d+")",y=" "+y,g++),e=new RegExp("^(?:"+d+")",v)),ej&&(e=new RegExp("^"+d+"$(?!\\s)",v)),tj&&(n=c.lastIndex),o=Dk(Yk,p?e:c,y),p?o?(o.input=Zk(o.input,g),o[0]=Zk(o[0],g),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:tj&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),ej&&o&&o.length>1&&Dk(Gk,o[0],e,(function(){for(i=1;i]*>)/g,lL=/\$([$&'`]|\d{1,2})/g,hL=Iu,pL=s,vL=E,dL=Fj,gL=o,yL=Mr,mL=F,bL=j,wL=nn,EL=ln,SL=vo,AL=M,xL=zj,OL=wt,RL=function(t,r,e,n,o,i){var a=e+t.length,u=n.length,c=lL;return void 0!==o&&(o=iL(o),c=fL),cL(i,c,(function(i,c){var s;switch(uL(c,0)){case"$":return"$";case"&":return t;case"`":return sL(r,0,e);case"'":return sL(r,a);case"<":s=o[sL(c,1,-1)];break;default:var f=+c;if(0===f)return i;if(f>u){var l=aL(f/10);return 0===l?i:l<=u?void 0===n[l-1]?uL(c,1):n[l-1]+uL(c,1):i}s=n[f-1]}return void 0===s?"":s}))},IL=Yj,TL=er("replace"),PL=Math.max,kL=Math.min,jL=vL([].concat),LL=vL([].push),CL=vL("".indexOf),ML=vL("".slice),NL="$0"==="a".replace(/./,"$0"),UL=!!/./[TL]&&""===/./[TL]("a","$0"),_L=!gL((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}));dL("replace",(function(t,r,e){var n=UL?"$":"$0";return[function(t,e){var n=AL(this),o=bL(t)?void 0:OL(t,TL);return o?pL(o,t,n,e):pL(r,SL(n),t,e)},function(t,o){var i=yL(this),a=SL(t);if("string"==typeof o&&-1===CL(o,n)&&-1===CL(o,"$<")){var u=e(r,i,a,o);if(u.done)return u.value}var c=mL(o);c||(o=SL(o));var s,f=i.global;f&&(s=i.unicode,i.lastIndex=0);for(var l,h=[];null!==(l=IL(i,a))&&(LL(h,l),f);){""===SL(l[0])&&(i.lastIndex=xL(a,EL(i.lastIndex),s))}for(var p,v="",d=0,g=0;g=d&&(v+=ML(a,d,b)+y,d=b+m.length)}return v+ML(a,d)}]}),!_L||!NL||UL);var DL=s,FL=E,BL=Fj,zL=Mr,WL=j,HL=M,qL=yh,VL=zj,$L=ln,GL=vo,YL=wt,JL=Yj,KL=o,XL=DP.UNSUPPORTED_Y,QL=Math.min,ZL=FL([].push),tC=FL("".slice),rC=!KL((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),eC="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;BL("split",(function(t,r,e){var n="0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:DL(r,this,t,e)}:r;return[function(r,e){var o=HL(this),i=WL(r)?void 0:YL(r,t);return i?DL(i,r,o,e):DL(n,GL(o),r,e)},function(t,o){var i=zL(this),a=GL(t);if(!eC){var u=e(n,i,a,o,n!==r);if(u.done)return u.value}var c=qL(i,RegExp),s=i.unicode,f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(XL?"g":"y"),l=new c(XL?"^(?:"+i.source+")":i,f),h=void 0===o?4294967295:o>>>0;if(0===h)return[];if(0===a.length)return null===JL(l,a)?[a]:[];for(var p=0,v=0,d=[];v2?e:RM(r),i=new t(o);o>n;)i[n]=r[n++];return i},TM=eo,PM=e,kM=s,jM=i,LM=tM,CM=GC,MM=eR,NM=ch,UM=g,_M=Yr,DM=nM,FM=ln,BM=zx,zM=cM,WM=function(t){var r=sM(t);return r<0?0:r>255?255:255&r},HM=pr,qM=Wt,VM=lo,$M=z,GM=lt,YM=zo,JM=V,KM=Dc,XM=Ze.f,QM=function(t){var r,e,n,o,i,a,u,c,s=yM(this),f=mM(t),l=arguments.length,h=l>1?arguments[1]:void 0,p=void 0!==h,v=EM(f);if(v&&!SM(v))for(c=(u=wM(f,v)).next,f=[];!(a=gM(c,u)).done;)f.push(a.value);for(p&&l>2&&(h=dM(h,arguments[2])),e=bM(f),n=new(xM(s))(e),o=AM(n),r=0;e>r;r++)i=p?h(f[r],r):f[r],n[r]=o?OM(i):+i;return n},ZM=Xi.forEach,tN=ih,rN=Xo,eN=Pr,nN=n,oN=IM,iN=qc,aN=Pe.get,uN=Pe.set,cN=Pe.enforce,sN=eN.f,fN=nN.f,lN=PM.RangeError,hN=MM.ArrayBuffer,pN=hN.prototype,vN=MM.DataView,dN=CM.NATIVE_ARRAY_BUFFER_VIEWS,gN=CM.TYPED_ARRAY_TAG,yN=CM.TypedArray,mN=CM.TypedArrayPrototype,bN=CM.isTypedArray,wN="BYTES_PER_ELEMENT",EN="Wrong length",SN=function(t,r){rN(t,r,{configurable:!0,get:function(){return aN(this)[r]}})},AN=function(t){var r;return JM(pN,t)||"ArrayBuffer"===(r=VM(t))||"SharedArrayBuffer"===r},xN=function(t,r){return bN(t)&&!GM(r)&&r in t&&DM(+r)&&r>=0},ON=function(t,r){return r=HM(r),xN(t,r)?UM(2,t[r]):fN(t,r)},RN=function(t,r,e){return r=HM(r),!(xN(t,r)&&$M(e)&&qM(e,"value"))||qM(e,"get")||qM(e,"set")||e.configurable||qM(e,"writable")&&!e.writable||qM(e,"enumerable")&&!e.enumerable?sN(t,r,e):(t[r]=e.value,t)};jM?(dN||(nN.f=ON,eN.f=RN,SN(mN,"buffer"),SN(mN,"byteOffset"),SN(mN,"byteLength"),SN(mN,"length")),TM({target:"Object",stat:!0,forced:!dN},{getOwnPropertyDescriptor:ON,defineProperty:RN}),lC.exports=function(t,r,e){var n=t.match(/\d+/)[0]/8,o=t+(e?"Clamped":"")+"Array",i="get"+t,a="set"+t,u=PM[o],c=u,s=c&&c.prototype,f={},l=function(t,r){sN(t,r,{get:function(){return function(t,r){var e=aN(t);return e.view[i](r*n+e.byteOffset,!0)}(this,r)},set:function(t){return function(t,r,o){var i=aN(t);i.view[a](r*n+i.byteOffset,e?WM(o):o,!0)}(this,r,t)},enumerable:!0})};dN?LM&&(c=r((function(t,r,e,o){return NM(t,s),iN($M(r)?AN(r)?void 0!==o?new u(r,zM(e,n),o):void 0!==e?new u(r,zM(e,n)):new u(r):bN(r)?oN(c,r):kM(QM,c,r):new u(BM(r)),t,c)})),KM&&KM(c,yN),ZM(XM(u),(function(t){t in c||_M(c,t,u[t])})),c.prototype=s):(c=r((function(t,r,e,o){NM(t,s);var i,a,u,f=0,h=0;if($M(r)){if(!AN(r))return bN(r)?oN(c,r):kM(QM,c,r);i=r,h=zM(e,n);var p=r.byteLength;if(void 0===o){if(p%n)throw new lN(EN);if((a=p-h)<0)throw new lN(EN)}else if((a=FM(o)*n)+h>p)throw new lN(EN);u=a/n}else u=BM(r),i=new hN(a=u*n);for(uN(t,{buffer:i,byteOffset:h,byteLength:a,length:u,view:new vN(i)});f=0?n:e+n;return o<0||o>=e?void 0:r[o]}));var jN=Ft,LN=cn,CN=pn,MN=$A,NN=Math.min,UN=[].copyWithin||function(t,r){var e=jN(this),n=CN(e),o=LN(t,n),i=LN(r,n),a=arguments.length>2?arguments[2]:void 0,u=NN((void 0===a?n:LN(a,n))-i,n-o),c=1;for(i0;)i in e?e[o]=e[i]:MN(e,o),o+=c,i+=c;return e},_N=GC,DN=E(UN),FN=_N.aTypedArray;(0,_N.exportTypedArrayMethod)("copyWithin",(function(t,r){return DN(FN(this),t,r,arguments.length>2?arguments[2]:void 0)}));var BN=Xi.every,zN=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("every",(function(t){return BN(zN(this),t,arguments.length>1?arguments[1]:void 0)}));var WN=OA,HN=vM,qN=lo,VN=s,$N=o,GN=GC.aTypedArray,YN=GC.exportTypedArrayMethod,JN=E("".slice);YN("fill",(function(t){var r=arguments.length;GN(this);var e="Big"===JN(qN(this),0,3)?HN(t):+t;return VN(WN,this,e,r>1?arguments[1]:void 0,r>2?arguments[2]:void 0)}),$N((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t})));var KN=yh,XN=GC.aTypedArrayConstructor,QN=GC.getTypedArrayConstructor,ZN=function(t){return XN(KN(t,QN(t)))},tU=IM,rU=ZN,eU=Xi.filter,nU=function(t,r){return tU(rU(t),r)},oU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("filter",(function(t){var r=eU(oU(this),t,arguments.length>1?arguments[1]:void 0);return nU(this,r)}));var iU=Xi.find,aU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("find",(function(t){return iU(aU(this),t,arguments.length>1?arguments[1]:void 0)}));var uU=Xi.findIndex,cU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("findIndex",(function(t){return uU(cU(this),t,arguments.length>1?arguments[1]:void 0)}));var sU=Ei,fU=k,lU=Ft,hU=pn,pU=function(t){var r=1===t;return function(e,n,o){for(var i,a=lU(e),u=fU(a),c=hU(u),s=sU(n,o);c-- >0;)if(s(i=u[c],c,a))switch(t){case 0:return i;case 1:return c}return r?-1:void 0}},vU={findLast:pU(0),findLastIndex:pU(1)},dU=vU.findLast,gU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("findLast",(function(t){return dU(gU(this),t,arguments.length>1?arguments[1]:void 0)}));var yU=vU.findLastIndex,mU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("findLastIndex",(function(t){return yU(mU(this),t,arguments.length>1?arguments[1]:void 0)}));var bU=Xi.forEach,wU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("forEach",(function(t){bU(wU(this),t,arguments.length>1?arguments[1]:void 0)}));var EU=mn.includes,SU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("includes",(function(t){return EU(SU(this),t,arguments.length>1?arguments[1]:void 0)}));var AU=mn.indexOf,xU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("indexOf",(function(t){return AU(xU(this),t,arguments.length>1?arguments[1]:void 0)}));var OU=e,RU=o,IU=E,TU=GC,PU=zf,kU=er("iterator"),jU=OU.Uint8Array,LU=IU(PU.values),CU=IU(PU.keys),MU=IU(PU.entries),NU=TU.aTypedArray,UU=TU.exportTypedArrayMethod,_U=jU&&jU.prototype,DU=!RU((function(){_U[kU].call([1])})),FU=!!_U&&_U.values&&_U[kU]===_U.values&&"values"===_U.values.name,BU=function(){return LU(NU(this))};UU("entries",(function(){return MU(NU(this))}),DU),UU("keys",(function(){return CU(NU(this))}),DU),UU("values",BU,DU||!FU,{name:"values"}),UU(kU,BU,DU||!FU,{name:"values"});var zU=GC.aTypedArray,WU=GC.exportTypedArrayMethod,HU=E([].join);WU("join",(function(t){return HU(zU(this),t)}));var qU=Iu,VU=WA,$U=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("lastIndexOf",(function(t){var r=arguments.length;return qU(VU,$U(this),r>1?[t,arguments[1]]:[t])}));var GU=Xi.map,YU=ZN,JU=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("map",(function(t){return GU(JU(this),t,arguments.length>1?arguments[1]:void 0,(function(t,r){return new(YU(t))(r)}))}));var KU=yt,XU=Ft,QU=k,ZU=pn,t_=TypeError,r_="Reduce of empty array with no initial value",e_=function(t){return function(r,e,n,o){var i=XU(r),a=QU(i),u=ZU(i);if(KU(e),0===u&&n<2)throw new t_(r_);var c=t?u-1:0,s=t?-1:1;if(n<2)for(;;){if(c in a){o=a[c],c+=s;break}if(c+=s,t?c<0:u<=c)throw new t_(r_)}for(;t?c>=0:u>c;c+=s)c in a&&(o=e(o,a[c],c,i));return o}},n_={left:e_(!1),right:e_(!0)},o_=n_.left,i_=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("reduce",(function(t){var r=arguments.length;return o_(i_(this),t,r,r>1?arguments[1]:void 0)}));var a_=n_.right,u_=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("reduceRight",(function(t){var r=arguments.length;return a_(u_(this),t,r,r>1?arguments[1]:void 0)}));var c_=GC.aTypedArray,s_=GC.exportTypedArrayMethod,f_=Math.floor;s_("reverse",(function(){for(var t,r=this,e=c_(r).length,n=f_(e/2),o=0;o1?arguments[1]:void 0,1),e=g_(t);if(x_)return h_(E_,this,e,r);var n=this.length,o=v_(e),i=0;if(o+r>n)throw new m_("Wrong length");for(;io;)a[o]=e[o++];return a}),o((function(){new Int8Array(1).slice()})));var P_=Xi.some,k_=GC.aTypedArray;(0,GC.exportTypedArrayMethod)("some",(function(t){return P_(k_(this),t,arguments.length>1?arguments[1]:void 0)}));var j_=yi,L_=o,C_=yt,M_=am,N_=YA,U_=JA,__=rt,D_=XA,F_=GC.aTypedArray,B_=GC.exportTypedArrayMethod,z_=e.Uint16Array,W_=z_&&j_(z_.prototype.sort),H_=!(!W_||L_((function(){W_(new z_(2),null)}))&&L_((function(){W_(new z_(2),{})}))),q_=!!W_&&!L_((function(){if(__)return __<74;if(N_)return N_<67;if(U_)return!0;if(D_)return D_<602;var t,r,e=new z_(516),n=Array(516);for(t=0;t<516;t++)r=t%4,e[t]=515-t,n[t]=t-2*r+3;for(W_(e,(function(t,r){return(t/4|0)-(r/4|0)})),t=0;t<516;t++)if(e[t]!==n[t])return!0}));B_("sort",(function(t){return void 0!==t&&C_(t),q_?W_(this,t):M_(F_(this),function(t){return function(r,e){return void 0!==t?+t(r,e)||0:e!=e?-1:r!=r?1:0===r&&0===e?1/r>0&&1/e<0?1:-1:r>e}}(t))}),!q_||H_);var V_=Iu,$_=GC,G_=o,Y_=Ho,J_=e.Int8Array,K_=$_.aTypedArray,X_=$_.exportTypedArrayMethod,Q_=[].toLocaleString,Z_=!!J_&&G_((function(){Q_.call(new J_(1))}));X_("toLocaleString",(function(){return V_(Q_,Z_?Y_(K_(this)):K_(this),Y_(arguments))}),G_((function(){return[1,2].toLocaleString()!==new J_([1,2]).toLocaleString()}))||!G_((function(){J_.prototype.toLocaleString.call([1,2])})));var tD=pn,rD=function(t,r){for(var e=tD(t),n=new r(e),o=0;o=o||a<0)throw new ED("Incorrect index");for(var u=new r(o),c=0;ch;h++)a=c[h],(i=CD(s(a,h,u)))in f?DD(f[i],a):f[i]=[a];if(n&&(o=n(u))!==_D)for(i in f)f[i]=UD(o,f[i]);return f},BD=Ns;eo({target:"Array",proto:!0},{group:function(t){return FD(this,t,arguments.length>1?arguments[1]:void 0)}}),BD("group");var zD=s,WD=yt,HD=Mr,qD=Ng,VD=yy,$D=tA((function(){var t=this.iterator,r=HD(zD(this.next,t));if(!(this.done=!!r.done))return VD(t,this.mapper,[r.value,this.counter++],!0)}));eo({target:"Iterator",proto:!0,real:!0,forced:false},{map:function(t){return HD(this),WD(t),new $D(qD(this),{mapper:t})}});var GD=Mr,YD=bd,JD=Ng,KD=[].push;eo({target:"Iterator",proto:!0,real:!0},{toArray:function(){var t=[];return YD(JD(GD(this)),KD,{that:t,IS_RECORD:!0}),t}});var XD=E,QD=Wt,ZD=SyntaxError,tF=parseInt,rF=String.fromCharCode,eF=XD("".charAt),nF=XD("".slice),oF=XD(/./.exec),iF={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},aF=/^[\da-f]{4}$/i,uF=/^[\u0000-\u001F]$/,cF=eo,sF=i,fF=e,lF=q,hF=E,pF=s,vF=F,dF=z,gF=Ai,yF=Wt,mF=vo,bF=pn,wF=ul,EF=o,SF=function(t,r){for(var e=!0,n="";r>(-2*u&6)));return i}});var yB=eo,mB=e,bB=q,wB=E,EB=s,SB=o,AB=vo,xB=bh,OB=YF.i2c,RB=bB("btoa"),IB=wB("".charAt),TB=wB("".charCodeAt),PB=!!RB&&!SB((function(){return"aGk="!==RB("hi")})),kB=PB&&!SB((function(){RB()})),jB=PB&&SB((function(){return"bnVsbA=="!==RB(null)})),LB=PB&&1!==RB.length;yB({global:!0,bind:!0,enumerable:!0,forced:!PB||kB||jB||LB},{btoa:function(t){if(xB(arguments.length,1),PB)return EB(RB,mB,AB(t));for(var r,e,n=AB(t),o="",i=0,a=OB;IB(n,i)||(a="=",i%1);){if((e=TB(n,i+=3/4))>255)throw new(bB("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");o+=IB(a,63&(r=r<<8|e)>>8-i%1*8)}return o}});var CB=i,MB=o,NB=Mr,UB=$c,_B=Error.prototype.toString,DB=MB((function(){if(CB){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==_B.call(t))return!0}return"2: 1"!==_B.call({message:1,name:2})||"Error"!==_B.call({})}))?function(){var t=NB(this),r=UB(t.name,"Error"),e=UB(t.message);return r?e?r+": "+e:r:e}:_B,FB={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},BB=eo,zB=q,WB=HR,HB=o,qB=zo,VB=g,$B=Pr.f,GB=Qe,YB=Xo,JB=Wt,KB=ch,XB=Mr,QB=DB,ZB=$c,tz=FB,rz=ts,ez=Pe,nz=i,oz="DOMException",iz="DATA_CLONE_ERR",az=zB("Error"),uz=zB(oz)||function(){try{(new(zB("MessageChannel")||WB("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(NJ){if(NJ.name===iz&&25===NJ.code)return NJ.constructor}}(),cz=uz&&uz.prototype,sz=az.prototype,fz=ez.set,lz=ez.getterFor(oz),hz="stack"in new az(oz),pz=function(t){return JB(tz,t)&&tz[t].m?tz[t].c:0},vz=function(){KB(this,dz);var t=arguments.length,r=ZB(t<1?void 0:arguments[0]),e=ZB(t<2?void 0:arguments[1],"Error"),n=pz(e);if(fz(this,{type:oz,name:e,message:r,code:n}),nz||(this.name=e,this.message=r,this.code=n),hz){var o=new az(r);o.name=oz,$B(this,"stack",VB(1,rz(o.stack,1)))}},dz=vz.prototype=qB(sz),gz=function(t){return{enumerable:!0,configurable:!0,get:t}},yz=function(t){return gz((function(){return lz(this)[t]}))};nz&&(YB(dz,"code",yz("code")),YB(dz,"message",yz("message")),YB(dz,"name",yz("name"))),$B(dz,"constructor",VB(1,vz));var mz=HB((function(){return!(new uz instanceof az)})),bz=mz||HB((function(){return sz.toString!==QB||"2: 1"!==String(new uz(1,2))})),wz=mz||HB((function(){return 25!==new uz(1,"DataCloneError").code}));mz||25!==uz[iz]||cz[iz];BB({global:!0,constructor:!0,forced:mz},{DOMException:mz?vz:uz});var Ez=zB(oz),Sz=Ez.prototype;for(var Az in bz&&uz===Ez&&GB(Sz,"toString",QB),wz&&nz&&uz===Ez&&YB(Sz,"code",gz((function(){return pz(XB(this).name)}))),tz)if(JB(tz,Az)){var xz=tz[Az],Oz=xz.s,Rz=VB(6,xz.c);JB(Ez,Oz)||$B(Ez,Oz,Rz),JB(Sz,Oz)||$B(Sz,Oz,Rz)}var Iz=eo,Tz=e,Pz=q,kz=g,jz=Pr.f,Lz=Wt,Cz=ch,Mz=qc,Nz=$c,Uz=FB,_z=ts,Dz=i,Fz="DOMException",Bz=Pz("Error"),zz=Pz(Fz),Wz=function(){Cz(this,Hz);var t=arguments.length,r=Nz(t<1?void 0:arguments[0]),e=Nz(t<2?void 0:arguments[1],"Error"),n=new zz(r,e),o=new Bz(r);return o.name=Fz,jz(n,"stack",kz(1,_z(o.stack,1))),Mz(n,this,Wz),n},Hz=Wz.prototype=zz.prototype,qz="stack"in new Bz(Fz),Vz="stack"in new zz(1,2),$z=zz&&Dz&&Object.getOwnPropertyDescriptor(Tz,Fz),Gz=!(!$z||$z.writable&&$z.configurable),Yz=qz&&!Gz&&!Vz;Iz({global:!0,constructor:!0,forced:Yz},{DOMException:Yz?Wz:zz});var Jz=Pz(Fz),Kz=Jz.prototype;if(Kz.constructor!==Jz)for(var Xz in jz(Kz,"constructor",kz(1,Jz)),Uz)if(Lz(Uz,Xz)){var Qz=Uz[Xz],Zz=Qz.s;Lz(Jz,Zz)||jz(Jz,Zz,kz(6,Qz.c))}var tW="DOMException";vi(q(tW),tW);var rW=eo,eW=e,nW=Xo,oW=i,iW=TypeError,aW=Object.defineProperty,uW=eW.self!==eW;try{if(oW){var cW=Object.getOwnPropertyDescriptor(eW,"self");!uW&&cW&&cW.get&&cW.enumerable||nW(eW,"self",{get:function(){return eW},set:function(t){if(this!==eW)throw new iW("Illegal invocation");aW(eW,"self",{value:t,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else rW({global:!0,simple:!0,forced:uW},{self:eW})}catch(NJ){}var sW=mn.includes,fW=Ns;eo({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return sW(this,t,arguments.length>1?arguments[1]:void 0)}}),fW("includes");var lW=wP;eo({target:"Number",stat:!0,forced:Number.parseInt!==lW},{parseInt:lW});var hW=i,pW=o,vW=E,dW=Vs,gW=bo,yW=_,mW=vW(f.f),bW=vW([].push),wW=hW&&pW((function(){var t=Object.create(null);return t[2]=2,!mW(t,2)})),EW=function(t){return function(r){for(var e,n=yW(r),o=gW(n),i=wW&&null===dW(n),a=o.length,u=0,c=[];a>u;)e=o[u++],hW&&!(i?e in n:mW(n,e))||bW(c,t?[e,n[e]]:n[e]);return c}},SW={entries:EW(!0),values:EW(!1)},AW=SW.values;eo({target:"Object",stat:!0},{values:function(t){return AW(t)}});var xW=xP,OW=TypeError,RW=function(t){if(xW(t))throw new OW("The method doesn't accept regular expressions");return t},IW=er("match"),TW=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[IW]=!1,"/./"[t](r)}catch(n){}}return!1},PW=eo,kW=RW,jW=M,LW=vo,CW=TW,MW=E("".indexOf);PW({target:"String",proto:!0,forced:!CW("includes")},{includes:function(t){return!!~MW(LW(jW(this)),LW(kW(t)),arguments.length>1?arguments[1]:void 0)}});var NW=bd,UW=yt,_W=Mr,DW=Ng;eo({target:"Iterator",proto:!0,real:!0},{every:function(t){_W(this),UW(t);var r=DW(this),e=0;return!NW(r,(function(r,n){if(!t(r,e++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}});var FW=bd,BW=yt,zW=Mr,WW=Ng;eo({target:"Iterator",proto:!0,real:!0},{some:function(t){zW(this),BW(t);var r=WW(this),e=0;return FW(r,(function(r,n){if(t(r,e++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}});var HW=eo,qW=Xi.find,VW=Ns,$W="find",GW=!0;$W in[]&&Array(1)[$W]((function(){GW=!1})),HW({target:"Array",proto:!0,forced:GW},{find:function(t){return qW(this,t,arguments.length>1?arguments[1]:void 0)}}),VW($W);var YW=eo,JW=Xi.findIndex,KW=Ns,XW="findIndex",QW=!0;XW in[]&&Array(1)[XW]((function(){QW=!1})),YW({target:"Array",proto:!0,forced:QW},{findIndex:function(t){return JW(this,t,arguments.length>1?arguments[1]:void 0)}}),KW(XW);var ZW=n_.left;eo({target:"Array",proto:!0,forced:!th&&rt>79&&rt<83||!Vg("reduce")},{reduce:function(t){var r=arguments.length;return ZW(this,t,r,r>1?arguments[1]:void 0)}}),fT("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),OT);var tH=E,rH=Set.prototype,eH={Set:Set,add:tH(rH.add),has:tH(rH.has),remove:tH(rH.delete),proto:rH},nH=eH.has,oH=function(t){return nH(t),t},iH=s,aH=function(t,r,e){for(var n,o,i=e?t:t.iterator,a=t.next;!(n=iH(a,i)).done;)if(void 0!==(o=r(n.value)))return o},uH=E,cH=aH,sH=eH.Set,fH=eH.proto,lH=uH(fH.forEach),hH=uH(fH.keys),pH=hH(new sH).next,vH=function(t,r,e){return e?cH({iterator:hH(t),next:pH},r):lH(t,r)},dH=vH,gH=eH.Set,yH=eH.add,mH=function(t){var r=new gH;return dH(t,(function(t){yH(r,t)})),r},bH=Pc(eH.proto,"size","get")||function(t){return t.size},wH=yt,EH=Mr,SH=s,AH=nn,xH=Ng,OH="Invalid size",RH=RangeError,IH=TypeError,TH=Math.max,PH=function(t,r){this.set=t,this.size=TH(r,0),this.has=wH(t.has),this.keys=wH(t.keys)};PH.prototype={getIterator:function(){return xH(EH(SH(this.keys,this.set)))},includes:function(t){return SH(this.has,this.set,t)}};var kH=function(t){EH(t);var r=+t.size;if(r!=r)throw new IH(OH);var e=AH(r);if(e<0)throw new RH(OH);return new PH(t,e)},jH=oH,LH=mH,CH=bH,MH=kH,NH=vH,UH=aH,_H=eH.has,DH=eH.remove,FH=q,BH=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},zH=function(t){var r=FH("Set");try{(new r)[t](BH(0));try{return(new r)[t](BH(-1)),!1}catch(e){return!0}}catch(NJ){return!1}},WH=function(t){var r=jH(this),e=MH(t),n=LH(r);return CH(r)<=e.size?NH(r,(function(t){e.includes(t)&&DH(n,t)})):UH(e.getIterator(),(function(t){_H(r,t)&&DH(n,t)})),n};eo({target:"Set",proto:!0,real:!0,forced:!zH("difference")},{difference:WH});var HH=oH,qH=bH,VH=kH,$H=vH,GH=aH,YH=eH.Set,JH=eH.add,KH=eH.has,XH=o,QH=function(t){var r=HH(this),e=VH(t),n=new YH;return qH(r)>e.size?GH(e.getIterator(),(function(t){KH(r,t)&&JH(n,t)})):$H(r,(function(t){e.includes(t)&&JH(n,t)})),n};eo({target:"Set",proto:!0,real:!0,forced:!zH("intersection")||XH((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:QH});var ZH=oH,tq=eH.has,rq=bH,eq=kH,nq=vH,oq=aH,iq=id,aq=function(t){var r=ZH(this),e=eq(t);if(rq(r)<=e.size)return!1!==nq(r,(function(t){if(e.includes(t))return!1}),!0);var n=e.getIterator();return!1!==oq(n,(function(t){if(tq(r,t))return iq(n,"normal",!1)}))};eo({target:"Set",proto:!0,real:!0,forced:!zH("isDisjointFrom")},{isDisjointFrom:aq});var uq=oH,cq=bH,sq=vH,fq=kH,lq=function(t){var r=uq(this),e=fq(t);return!(cq(r)>e.size)&&!1!==sq(r,(function(t){if(!e.includes(t))return!1}),!0)};eo({target:"Set",proto:!0,real:!0,forced:!zH("isSubsetOf")},{isSubsetOf:lq});var hq=oH,pq=eH.has,vq=bH,dq=kH,gq=aH,yq=id,mq=function(t){var r=hq(this),e=dq(t);if(vq(r)1?arguments[1]:void 0,n=r.length,o=void 0===e?n:Xq(Vq(e),n),i=$q(t);return Kq(r,o-i.length,o)===i}});var tV=SW.entries;eo({target:"Object",stat:!0},{entries:function(t){return tV(t)}});var rV=E,eV=yt,nV=z,oV=Wt,iV=Ho,aV=a,uV=Function,cV=rV([].concat),sV=rV([].join),fV={},lV=aV?uV.bind:function(t){var r=eV(this),e=r.prototype,n=iV(arguments,1),o=function(){var e=cV(n,iV(arguments));return this instanceof o?function(t,r,e){if(!oV(fV,r)){for(var n=[],o=0;o1?arguments[1]:void 0,r.length)),n=kV(t);return MV(r,e,e+n.length)===n}});var DV=cP;eo({target:"Number",stat:!0,forced:Number.parseFloat!==DV},{parseFloat:DV});var FV=e,BV=vi;eo({global:!0},{Reflect:{}}),BV(FV.Reflect,"Reflect",!0);var zV=Ai,WV=pn,HV=Jf,qV=Ei,VV=function(t,r,e,n,o,i,a,u){for(var c,s,f=o,l=0,h=!!a&&qV(a,u);l0&&zV(c)?(s=WV(c),f=VV(t,r,c,s,f,i-1)-1):(HV(f+1),t[f]=c),f++),l++;return f},$V=VV,GV=yt,YV=Ft,JV=pn,KV=Hi;eo({target:"Array",proto:!0},{flatMap:function(t){var r,e=YV(this),n=JV(e);return GV(t),(r=KV(e,0)).length=$V(r,e,e,n,0,1,t,arguments.length>1?arguments[1]:void 0),r}});var XV=rD,QV=_,ZV=Ns,t$=Array;eo({target:"Array",proto:!0},{toReversed:function(){return XV(QV(this),t$)}}),ZV("toReversed");var r$=e,e$=eo,n$=yt,o$=_,i$=IM,a$=function(t,r){var e=r$[t],n=e&&e.prototype;return n&&n[r]},u$=Ns,c$=Array,s$=E(a$("Array","sort"));e$({target:"Array",proto:!0},{toSorted:function(t){void 0!==t&&n$(t);var r=o$(this),e=i$(c$,r);return s$(e,t)}}),u$("toSorted");var f$=eo,l$=Ns,h$=Jf,p$=pn,v$=cn,d$=_,g$=nn,y$=Array,m$=Math.max,b$=Math.min;f$({target:"Array",proto:!0},{toSpliced:function(t,r){var e,n,o,i,a=d$(this),u=p$(a),c=v$(t,u),s=arguments.length,f=0;for(0===s?e=n=0:1===s?(e=0,n=u-c):(e=s-2,n=b$(m$(g$(r),0),u-c)),o=h$(u+e-n),i=y$(o);fe,a=JY(n)?n:tJ(n),u=i?QY(arguments,e):[],c=i?function(){YY(a,this,u)}:a;return r?t(c,o):t(c)}:t},aJ=nJ.setImmediate?iJ(oJ,!1):oJ;eJ({global:!0,bind:!0,enumerable:!0,forced:nJ.setImmediate!==aJ},{setImmediate:aJ});var uJ=e,cJ=Ap,sJ=yt,fJ=bh,lJ=i;eo({global:!0,enumerable:!0,dontCallGetSet:!0,forced:o((function(){return lJ&&1!==Object.getOwnPropertyDescriptor(uJ,"queueMicrotask").value.length}))},{queueMicrotask:function(t){fJ(arguments.length,1),cJ(sJ(t))}});var hJ=Ft,pJ=pn,vJ=nn,dJ=Ns;eo({target:"Array",proto:!0},{at:function(t){var r=hJ(this),e=pJ(r),n=vJ(t),o=n>=0?n:e+n;return o<0||o>=e?void 0:r[o]}}),dJ("at");var gJ=eo,yJ=M,mJ=nn,bJ=vo,wJ=o,EJ=E("".charAt);gJ({target:"String",proto:!0,forced:wJ((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(t){var r=bJ(yJ(this)),e=r.length,n=mJ(t),o=n>=0?n:e+n;return o<0||o>=e?void 0:EJ(r,o)}});var SJ=Iu,AJ=yt,xJ=Mr;eo({target:"Reflect",stat:!0,forced:!o((function(){Reflect.apply((function(){}))}))},{apply:function(t,r,e){return SJ(AJ(t),r,xJ(e))}});var OJ=eo,RJ=o,IJ=z,TJ=O,PJ=OI,kJ=Object.isFrozen;OJ({target:"Object",stat:!0,forced:PJ||RJ((function(){kJ(1)}))},{isFrozen:function(t){return!IJ(t)||(!(!PJ||"ArrayBuffer"!==TJ(t))||!!kJ&&kJ(t))}});var jJ=eS.end,LJ=aC("trimEnd")?function(){return jJ(this)}:"".trimEnd;eo({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==LJ},{trimRight:LJ});eo({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==LJ},{trimEnd:LJ});var CJ=eS.start,MJ=aC("trimStart")?function(){return CJ(this)}:"".trimStart;eo({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==MJ},{trimLeft:MJ});eo({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==MJ},{trimStart:MJ}),function(){function r(t,r){return(r||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+t+")"}function e(t,r){if(-1!==t.indexOf("\\")&&(t=t.replace(x,"/")),"/"===t[0]&&"/"===t[1])return r.slice(0,r.indexOf(":")+1)+t;if("."===t[0]&&("/"===t[1]||"."===t[1]&&("/"===t[2]||2===t.length&&(t+="/"))||1===t.length&&(t+="/"))||"/"===t[0]){var e,n=r.slice(0,r.indexOf(":")+1);if(e="/"===r[n.length+1]?"file:"!==n?(e=r.slice(n.length+2)).slice(e.indexOf("/")+1):r.slice(8):r.slice(n.length+("/"===r[n.length])),"/"===t[0])return r.slice(0,r.length-e.length-1)+t;for(var o=e.slice(0,e.lastIndexOf("/")+1)+t,i=[],a=-1,u=0;ue.length&&"/"!==n[n.length-1]))return n+t.slice(e.length);c("W2",e,n)}}function c(t,e,n){console.warn(r(t,[n,e].join(", ")))}function s(t,r,e){for(var n=t.scopes,o=e&&a(e,n);o;){var i=u(r,n[o]);if(i)return i;o=a(o.slice(0,o.lastIndexOf("/")),n)}return u(r,t.imports)||-1!==r.indexOf(":")&&r}function f(){this[R]={}}function l(t,e,n,o){var i=t[R][e];if(i)return i;var a=[],u=Object.create(null);O&&Object.defineProperty(u,O,{value:"Module"});var c=Promise.resolve().then((function(){return t.instantiate(e,n,o)})).then((function(n){if(!n)throw Error(r(2,e));var o=n[1]((function(t,r){i.h=!0;var e=!1;if("string"==typeof t)t in u&&u[t]===r||(u[t]=r,e=!0);else{for(var n in t)r=t[n],n in u&&u[n]===r||(u[n]=r,e=!0);t&&t.__esModule&&(u.__esModule=t.__esModule)}if(e)for(var o=0;o-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),t.dispatchEvent(e)}return Promise.reject(r)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var e=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,priority:t.fetchPriority,passThrough:!0}).then((function(t){if(!t.ok)throw Error(t.status);return t.text()})).catch((function(e){return e.message=r("W4",t.src)+"\n"+e.message,console.warn(e),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;j=j.then((function(){return e})).then((function(e){!function(t,e,n){var o={};try{o=JSON.parse(e)}catch(u){console.warn(Error(r("W5")))}i(o,n,t)}(L,e,t.src||g)}))}}))}var g,y="undefined"!=typeof Symbol,m="undefined"!=typeof self,b="undefined"!=typeof document,w=m?self:t;if(b){var E=document.querySelector("base[href]");E&&(g=E.href)}if(!g&&"undefined"!=typeof location){var S=(g=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==S&&(g=g.slice(0,S+1))}var A,x=/\\/g,O=y&&Symbol.toStringTag,R=y?Symbol():"@",I=f.prototype;I.import=function(t,r,e){var n=this;return r&&"object"==typeof r&&(e=r,r=void 0),Promise.resolve(n.prepareImport()).then((function(){return n.resolve(t,r,e)})).then((function(t){var r=l(n,t,void 0,e);return r.C||p(n,r)}))},I.createContext=function(t){var r=this;return{url:t,resolve:function(e,n){return Promise.resolve(r.resolve(e,n||t))}}},I.register=function(t,r,e){A=[t,r,e]},I.getRegister=function(){var t=A;return A=void 0,t};var T=Object.freeze(Object.create(null));w.System=new f;var P,k,j=Promise.resolve(),L={imports:{},scopes:{},depcache:{},integrity:{}},C=b;if(I.prepareImport=function(t){return(C||t)&&(d(),C=!1),j},I.getImportMap=function(){return JSON.parse(JSON.stringify(L))},b&&(d(),window.addEventListener("DOMContentLoaded",d)),I.addImportMap=function(t,r){i(t,r||g,L)},b){window.addEventListener("error",(function(t){N=t.filename,U=t.error}));var M=location.origin}I.createScript=function(t){var r=document.createElement("script");r.async=!0,t.indexOf(M+"/")&&(r.crossOrigin="anonymous");var e=L.integrity[t];return e&&(r.integrity=e),r.src=t,r};var N,U,_={},D=I.register;I.register=function(t,r){if(b&&"loading"===document.readyState&&"string"!=typeof t){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){P=t;var o=this;k=setTimeout((function(){_[n.src]=[t,r],o.import(n.src)}))}}else P=void 0;return D.call(this,t,r)},I.instantiate=function(t,e){var n=_[t];if(n)return delete _[t],n;var o=this;return Promise.resolve(I.createScript(t)).then((function(n){return new Promise((function(i,a){n.addEventListener("error",(function(){a(Error(r(3,[t,e].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),N===t)a(U);else{var r=o.getRegister(t);r&&r[0]===P&&clearTimeout(k),i(r)}})),document.head.appendChild(n)}))}))},I.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(I.fetch=fetch);var F=I.instantiate,B=/^(text|application)\/(x-)?javascript(;|$)/;I.instantiate=function(t,e,n){var o=this;return this.shouldFetch(t,e,n)?this.fetch(t,{credentials:"same-origin",integrity:L.integrity[t],meta:n}).then((function(n){if(!n.ok)throw Error(r(7,[n.status,n.statusText,t,e].join(", ")));var i=n.headers.get("content-type");if(!i||!B.test(i))throw Error(r(4,i));return n.text().then((function(r){return r.indexOf("//# sourceURL=")<0&&(r+="\n//# sourceURL="+t),(0,eval)(r),o.getRegister(t)}))})):F.apply(this,arguments)},I.resolve=function(t,n){return s(L,e(t,n=n||g)||t,n)||function(t,e){throw Error(r(8,[t,e].join(", ")))}(t,n)};var z=I.instantiate;I.instantiate=function(t,r,e){var n=L.depcache[t];if(n)for(var o=0;or(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},N=s({name:"ElPopover"}),R=s({...N,props:S,emits:E,setup(e,{expose:t,emit:a}){const r=e,s=p((()=>r["onUpdate:visible"])),A=i("popover"),B=n(),x=p((()=>{var e;return null==(e=l(B))?void 0:e.popperRef})),C=p((()=>[{width:f(r.width)},r.popperStyle])),S=p((()=>[A.b(),r.popperClass,{[A.m("plain")]:!!r.content}])),E=p((()=>r.transition==="".concat(A.namespace.value,"-fade-in-linear"))),N=()=>{a("before-enter")},R=()=>{a("before-leave")},_=()=>{a("after-enter")},D=()=>{a("update:visible",!1),a("after-leave")};return t({popperRef:x,hide:()=>{var e;null==(e=B.value)||e.hide()}}),(e,t)=>(d(),c(l(o),y({ref_key:"tooltipRef",ref:B},e.$attrs,{trigger:e.trigger,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":l(S),"popper-style":l(C),teleported:e.teleported,persistent:e.persistent,"gpu-acceleration":l(E),"onUpdate:visible":l(s),onBeforeShow:N,onBeforeHide:R,onShow:_,onHide:D}),{content:b((()=>[e.title?(d(),u("div",{key:0,class:v(l(A).e("title")),role:"title"},m(e.title),3)):h("v-if",!0),g(e.$slots,"default",{},(()=>[w(m(e.content),1)]))])),default:b((()=>[e.$slots.reference?g(e.$slots,"reference",{key:0}):h("v-if",!0)])),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});const _=(e,t)=>{const o=t.arg||t.value,a=null==o?void 0:o.popperRef;a&&(a.triggerRef=e)};const D=x(A(R,[["__file","popover.vue"]]),{directive:B({mounted(e,t){_(e,t)},updated(e,t){_(e,t)}},"popover")});export{D as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0popper-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0popper-legacy.js new file mode 100644 index 000000000..5cd35d042 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0popper-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(r,e){"use strict";return{execute:function(){var r=document.createElement("style");r.textContent='.el-popper{--el-popper-border-radius: var(--el-popover-border-radius, 4px);position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}\n',document.head.appendChild(r)}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0popper.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0popper.css new file mode 100644 index 000000000..e8236c180 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0popper.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-popper{--el-popper-border-radius: var(--el-popover-border-radius, 4px);position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg-legacy.js new file mode 100644 index 000000000..d3de835e0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(t){var r="function"==typeof Map?new Map:void 0;return e=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return function(e,t,n){if(a())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&i(o,n.prototype),o}(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e(t)}function t(e,t,r){return t=n(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,r||[],n(e).constructor):t.apply(e,r))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function o(e){return function(e){if(Array.isArray(e))return D(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=g(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==a.return||a.return()}finally{if(s)throw i}}}}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function u(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=Array(t);a"']/,v=new RegExp(O.source,"g"),y=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,I=new RegExp(y.source,"g"),F={"&":"&","<":"<",">":">",'"':""","'":"'"},x=function(e){return F[e]};function M(e,t){if(t){if(O.test(e))return e.replace(v,x)}else if(y.test(e))return e.replace(I,x);return e}var w=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function L(e){return e.replace(w,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var P=/(^|[^\[])\^/g;function k(e,t){e="string"==typeof e?e:e.source,t=t||"";var a={replace:function(t,n){return n=(n=n.source||n).replace(P,"$1"),e=e.replace(t,n),a},getRegex:function(){return new RegExp(e,t)}};return a}var B=/[^\w:]/g,U=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function G(e,t,a){if(e){var n;try{n=decodeURIComponent(L(a)).replace(B,"").toLowerCase()}catch(r){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!U.test(a)&&(a=function(e,t){Y[" "+e]||(V.test(e)?Y[" "+e]=e+"/":Y[" "+e]=W(e,"/",!0));e=Y[" "+e];var a=-1===e.indexOf(":");return"//"===t.substring(0,2)?a?t:e.replace(H,"$1")+t:"/"===t.charAt(0)?a?t:e.replace(q,"$1")+t:e+t}(t,a));try{a=encodeURI(a).replace(/%25/g,"%")}catch(r){return null}return a}var Y={},V=/^[^:]+:\/*[^/]*$/,H=/^([^:]+:)[\s\S]*$/,q=/^([^:]+:\/*[^/]*)[\s\S]*$/;var z={exec:function(){}};function $(e,t){var a=e.replace(/\|/g,(function(e,t,a){for(var n=!1,r=t;--r>=0&&"\\"===a[r];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(a[0].trim()||a.shift(),a.length>0&&!a[a.length-1].trim()&&a.pop(),a.length>t)a.splice(t);else for(;a.length1;)1&t&&(a+=e),t>>=1,e+=e;return a+e}function j(e,t,a,n){var r=t.href,i=t.title?M(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var s={type:"link",raw:a,href:r,title:i,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,s}return{type:"image",raw:a,href:r,title:i,text:M(o)}}var K=function(){return p((function e(t){_(this,e),this.options=t||N}),[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var a=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?a:W(a,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var a=t[0],n=function(e,t){var a=e.match(/^(\s+)(?:```)/);if(null===a)return t;var n=a[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:E(t,1)[0].length>=n.length?e.slice(n.length):e})).join("\n")}(a,t[3]||"");return{type:"code",raw:a,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var a=t[2].trim();if(/#$/.test(a)){var n=W(a,"#");this.options.pedantic?a=n.trim():n&&!/ $/.test(n)||(a=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:a,tokens:this.lexer.inline(a)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var a=t[0].replace(/^ *>[ \t]?/gm,""),n=this.lexer.state.top;this.lexer.state.top=!0;var r=this.lexer.blockTokens(a);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:r,text:a}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var a,n,r,i,o,s,l,u,c,_,d,p,m=t[1].trim(),E=m.length>1,g={type:"list",raw:"",ordered:E,start:E?+m.slice(0,-1):"",loose:!1,items:[]};m=E?"\\d{1,9}\\".concat(m.slice(-1)):"\\".concat(m),this.options.pedantic&&(m=E?m:"[*+-]");for(var D=new RegExp("^( {0,3}".concat(m,")((?:[\t ][^\\n]*)?(?:\\n|$))"));e&&(p=!1,t=D.exec(e))&&!this.rules.block.hr.test(e);){if(a=t[0],e=e.substring(a.length),u=t[2].split("\n",1)[0].replace(/^\t+/,(function(e){return" ".repeat(3*e.length)})),c=e.split("\n",1)[0],this.options.pedantic?(i=2,d=u.trimLeft()):(i=(i=t[2].search(/[^ ]/))>4?1:i,d=u.slice(i),i+=t[1].length),s=!1,!u&&/^ *$/.test(c)&&(a+=c+"\n",e=e.substring(c.length+1),p=!0),!p)for(var S=new RegExp("^ {0,".concat(Math.min(3,i-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),C=new RegExp("^ {0,".concat(Math.min(3,i-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),b=new RegExp("^ {0,".concat(Math.min(3,i-1),"}(?:```|~~~)")),T=new RegExp("^ {0,".concat(Math.min(3,i-1),"}#"));e&&(c=_=e.split("\n",1)[0],this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!b.test(c))&&!T.test(c)&&!S.test(c)&&!C.test(e);){if(c.search(/[^ ]/)>=i||!c.trim())d+="\n"+c.slice(i);else{if(s)break;if(u.search(/[^ ]/)>=4)break;if(b.test(u))break;if(T.test(u))break;if(C.test(u))break;d+="\n"+c}s||c.trim()||(s=!0),a+=_+"\n",e=e.substring(_.length+1),u=c.slice(i)}g.loose||(l?g.loose=!0:/\n *\n *$/.test(a)&&(l=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(d))&&(r="[ ] "!==n[0],d=d.replace(/^\[[ xX]\] +/,"")),g.items.push({type:"list_item",raw:a,task:!!n,checked:r,loose:!1,text:d}),g.raw+=a}g.items[g.items.length-1].raw=a.trimRight(),g.items[g.items.length-1].text=d.trimRight(),g.raw=g.raw.trimRight();var A=g.items.length;for(o=0;o0&&f.some((function(e){return/\n.*\n/.test(e.raw)}));g.loose=h}if(g.loose)for(o=0;o$/,"$1").replace(this.rules.inline._escapes,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:a,raw:t[0],href:n,title:r}}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){var a={type:"table",header:$(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(a.header.length===a.align.length){a.raw=t[0];var n,r,i,o,s=a.align.length;for(n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):M(t[0]):t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var a=t[2].trim();if(!this.options.pedantic&&/^$/.test(a))return;var n=W(a.slice(0,-1),"\\");if((a.length-n.length)%2==0)return}else{var r=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var a=e.length,n=0,r=0;r-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,i).trim(),t[3]=""}}var o=t[2],s="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);l&&(o=l[1],s=l[3])}else s=t[3]?t[3].slice(1,-1):"";return o=o.trim(),/^$/.test(a)?o.slice(1):o.slice(1,-1)),j(t,{href:o?o.replace(this.rules.inline._escapes,"$1"):o,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var a;if((a=this.rules.inline.reflink.exec(e))||(a=this.rules.inline.nolink.exec(e))){var n=(a[2]||a[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])){var r=a[0].charAt(0);return{type:"text",raw:r,text:r}}return j(a,n,a[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!a.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDD40-\uDD65\uDD6F-\uDD85\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDDD0-\uDDED\uDDF0-\uDDFA\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))){var r=n[1]||n[2]||"";if(!r||r&&(""===a||this.rules.inline.punctuation.exec(a))){var i,o,s=n[0].length-1,l=s,u=0,c="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+s);null!=(n=c.exec(t));)if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(o=i.length,n[3]||n[4])l+=o;else if(!((n[5]||n[6])&&s%3)||(s+o)%3){if(!((l-=o)>0)){o=Math.min(o,o+l+u);var _=e.slice(0,s+n.index+(n[0].length-i.length)+o);if(Math.min(s,o)%2){var d=_.slice(1,-1);return{type:"em",raw:_,text:d,tokens:this.lexer.inlineTokens(d)}}var p=_.slice(2,-2);return{type:"strong",raw:_,text:p,tokens:this.lexer.inlineTokens(p)}}}else u+=o}}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var a=t[2].replace(/\n/g," "),n=/[^ ]/.test(a),r=/^ /.test(a)&&/ $/.test(a);return n&&r&&(a=a.substring(1,a.length-1)),a=M(a,!0),{type:"codespan",raw:t[0],text:a}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e,t){var a,n,r=this.rules.inline.autolink.exec(e);if(r)return n="@"===r[2]?"mailto:"+(a=M(this.options.mangle?t(r[1]):r[1])):a=M(r[1]),{type:"link",raw:r[0],text:a,href:n,tokens:[{type:"text",raw:a,text:a}]}}},{key:"url",value:function(e,t){var a;if(a=this.rules.inline.url.exec(e)){var n,r;if("@"===a[2])r="mailto:"+(n=M(this.options.mangle?t(a[0]):a[0]));else{var i;do{i=a[0],a[0]=this.rules.inline._backpedal.exec(a[0])[0]}while(i!==a[0]);n=M(a[0]),r="www."===a[1]?"http://"+a[0]:a[0]}return{type:"link",raw:a[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}},{key:"inlineText",value:function(e,t){var a,n=this.rules.inline.text.exec(e);if(n)return a=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):M(n[0]):n[0]:M(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:a}}}])}(),Z={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:z,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Z.def=k(Z.def).replace("label",Z._label).replace("title",Z._title).getRegex(),Z.bullet=/(?:[*+-]|\d{1,9}[.)])/,Z.listItemStart=k(/^( *)(bull) */).replace("bull",Z.bullet).getRegex(),Z.list=k(Z.list).replace(/bull/g,Z.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Z.def.source+")").getRegex(),Z._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Z._comment=/|$)/,Z.html=k(Z.html,"i").replace("comment",Z._comment).replace("tag",Z._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Z.paragraph=k(Z._paragraph).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex(),Z.blockquote=k(Z.blockquote).replace("paragraph",Z.paragraph).getRegex(),Z.normal=u({},Z),Z.gfm=u(u({},Z.normal),{},{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Z.gfm.table=k(Z.gfm.table).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex(),Z.gfm.paragraph=k(Z._paragraph).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Z.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex(),Z.pedantic=u(u({},Z.normal),{},{html:k("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Z._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:z,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(Z.normal._paragraph).replace("hr",Z.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Z.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:z,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(a="x"+a.toString(16)),n+="&#"+a+";";return n}X._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",X.punctuation=k(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex(),X.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,X.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,X._comment=k(Z._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),X.emStrong.lDelim=k(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimAst=k(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimUnd=k(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex(),X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,X._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,X.autolink=k(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex(),X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,X.tag=k(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex(),X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,X.link=k(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex(),X.reflink=k(X.reflink).replace("label",X._label).replace("ref",Z._label).getRegex(),X.nolink=k(X.nolink).replace("ref",Z._label).getRegex(),X.reflinkSearch=k(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex(),X.normal=u({},X),X.pedantic=u(u({},X.normal),{},{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:k(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()}),X.gfm=u(u({},X.normal),{},{escape:k(X.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\1&&void 0!==arguments[1]?arguments[1]:[];e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(function(e,t,a){return t+" ".repeat(a.length)}));for(var s,l=function(){if(i.options.extensions&&i.options.extensions.block&&i.options.extensions.block.some((function(a){return!!(t=a.call({lexer:i},e,o))&&(e=e.substring(t.raw.length),o.push(t),!0)})))return 0;if(t=i.tokenizer.space(e))return e=e.substring(t.raw.length),1===t.raw.length&&o.length>0?o[o.length-1].raw+="\n":o.push(t),0;if(t=i.tokenizer.code(e))return e=e.substring(t.raw.length),!(a=o[o.length-1])||"paragraph"!==a.type&&"text"!==a.type?o.push(t):(a.raw+="\n"+t.raw,a.text+="\n"+t.text,i.inlineQueue[i.inlineQueue.length-1].src=a.text),0;if(t=i.tokenizer.fences(e))return e=e.substring(t.raw.length),o.push(t),0;if(t=i.tokenizer.heading(e))return e=e.substring(t.raw.length),o.push(t),0;if(t=i.tokenizer.hr(e))return e=e.substring(t.raw.length),o.push(t),0;if(t=i.tokenizer.blockquote(e))return e=e.substring(t.raw.length),o.push(t),0;if(t=i.tokenizer.list(e))return e=e.substring(t.raw.length),o.push(t),0;if(t=i.tokenizer.html(e))return e=e.substring(t.raw.length),o.push(t),0;if(t=i.tokenizer.def(e))return e=e.substring(t.raw.length),!(a=o[o.length-1])||"paragraph"!==a.type&&"text"!==a.type?i.tokens.links[t.tag]||(i.tokens.links[t.tag]={href:t.href,title:t.title}):(a.raw+="\n"+t.raw,a.text+="\n"+t.raw,i.inlineQueue[i.inlineQueue.length-1].src=a.text),0;if(t=i.tokenizer.table(e))return e=e.substring(t.raw.length),o.push(t),0;if(t=i.tokenizer.lheading(e))return e=e.substring(t.raw.length),o.push(t),0;if(n=e,i.options.extensions&&i.options.extensions.startBlock){var s,l=1/0,u=e.slice(1);i.options.extensions.startBlock.forEach((function(e){"number"==typeof(s=e.call({lexer:this},u))&&s>=0&&(l=Math.min(l,s))})),l<1/0&&l>=0&&(n=e.substring(0,l+1))}if(i.state.top&&(t=i.tokenizer.paragraph(n)))return a=o[o.length-1],r&&"paragraph"===a.type?(a.raw+="\n"+t.raw,a.text+="\n"+t.text,i.inlineQueue.pop(),i.inlineQueue[i.inlineQueue.length-1].src=a.text):o.push(t),r=n.length!==e.length,e=e.substring(t.raw.length),0;if(t=i.tokenizer.text(e))return e=e.substring(t.raw.length),(a=o[o.length-1])&&"text"===a.type?(a.raw+="\n"+t.raw,a.text+="\n"+t.text,i.inlineQueue.pop(),i.inlineQueue[i.inlineQueue.length-1].src=a.text):o.push(t),0;if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(i.options.silent)return console.error(c),1;throw new Error(c)}};e&&(0===(s=l())||1!==s););return this.state.top=!0,o}},{key:"inline",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}},{key:"inlineTokens",value:function(e){var t,a,n,r,i,o,s=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=e;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(u));)c.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,r.index)+"["+Q("a",r[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,r.index)+"["+Q("a",r[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.escapedEmSt.exec(u));)u=u.slice(0,r.index+r[0].length-2)+"++"+u.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(var _,d=function(){if(i||(o=""),i=!1,s.options.extensions&&s.options.extensions.inline&&s.options.extensions.inline.some((function(a){return!!(t=a.call({lexer:s},e,l))&&(e=e.substring(t.raw.length),l.push(t),!0)})))return 0;if(t=s.tokenizer.escape(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=s.tokenizer.tag(e))return e=e.substring(t.raw.length),(a=l[l.length-1])&&"text"===t.type&&"text"===a.type?(a.raw+=t.raw,a.text+=t.text):l.push(t),0;if(t=s.tokenizer.link(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=s.tokenizer.reflink(e,s.tokens.links))return e=e.substring(t.raw.length),(a=l[l.length-1])&&"text"===t.type&&"text"===a.type?(a.raw+=t.raw,a.text+=t.text):l.push(t),0;if(t=s.tokenizer.emStrong(e,u,o))return e=e.substring(t.raw.length),l.push(t),0;if(t=s.tokenizer.codespan(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=s.tokenizer.br(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=s.tokenizer.del(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=s.tokenizer.autolink(e,ee))return e=e.substring(t.raw.length),l.push(t),0;if(!s.state.inLink&&(t=s.tokenizer.url(e,ee)))return e=e.substring(t.raw.length),l.push(t),0;if(n=e,s.options.extensions&&s.options.extensions.startInline){var r,c=1/0,_=e.slice(1);s.options.extensions.startInline.forEach((function(e){"number"==typeof(r=e.call({lexer:this},_))&&r>=0&&(c=Math.min(c,r))})),c<1/0&&c>=0&&(n=e.substring(0,c+1))}if(t=s.tokenizer.inlineText(n,J))return e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(o=t.raw.slice(-1)),i=!0,(a=l[l.length-1])&&"text"===a.type?(a.raw+=t.raw,a.text+=t.text):l.push(t),0;if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(s.options.silent)return console.error(d),1;throw new Error(d)}};e&&(0===(_=d())||1!==_););return l}}],[{key:"rules",get:function(){return{block:Z,inline:X}}},{key:"lex",value:function(t,a){return new e(a).lex(t)}},{key:"lexInline",value:function(t,a){return new e(a).inlineTokens(t)}}])}(),ae=function(){return p((function e(t){_(this,e),this.options=t||N}),[{key:"code",value:function(e,t,a){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,n);null!=r&&r!==e&&(a=!0,e=r)}return e=e.replace(/\n$/,"")+"\n",n?'
'+(a?e:M(e,!0))+"
\n":"
"+(a?e:M(e,!0))+"
\n"}},{key:"blockquote",value:function(e){return"
\n".concat(e,"
\n")}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,t,a,n){if(this.options.headerIds){var r=this.options.headerPrefix+n.slug(a);return"').concat(e,"\n")}return"").concat(e,"\n")}},{key:"hr",value:function(){return this.options.xhtml?"
\n":"
\n"}},{key:"list",value:function(e,t,a){var n=t?"ol":"ul";return"<"+n+(t&&1!==a?' start="'+a+'"':"")+">\n"+e+"\n"}},{key:"listitem",value:function(e){return"
  • ".concat(e,"
  • \n")}},{key:"checkbox",value:function(e){return" "}},{key:"paragraph",value:function(e){return"

    ".concat(e,"

    \n")}},{key:"table",value:function(e,t){return t&&(t="".concat(t,"")),"\n\n"+e+"\n"+t+"
    \n"}},{key:"tablerow",value:function(e){return"\n".concat(e,"\n")}},{key:"tablecell",value:function(e,t){var a=t.header?"th":"td";return(t.align?"<".concat(a,' align="').concat(t.align,'">'):"<".concat(a,">"))+e+"\n")}},{key:"strong",value:function(e){return"".concat(e,"")}},{key:"em",value:function(e){return"".concat(e,"")}},{key:"codespan",value:function(e){return"".concat(e,"")}},{key:"br",value:function(){return this.options.xhtml?"
    ":"
    "}},{key:"del",value:function(e){return"".concat(e,"")}},{key:"link",value:function(e,t,a){if(null===(e=G(this.options.sanitize,this.options.baseUrl,e)))return a;var n='
    "}},{key:"image",value:function(e,t,a){if(null===(e=G(this.options.sanitize,this.options.baseUrl,e)))return a;var n='').concat(a,'":">"}},{key:"text",value:function(e){return e}}])}(),ne=function(){return p((function e(){_(this,e)}),[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,a){return""+a}},{key:"image",value:function(e,t,a){return""+a}},{key:"br",value:function(){return""}}])}(),re=function(){return p((function e(){_(this,e),this.seen={}}),[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var a=e,n=0;if(this.seen.hasOwnProperty(a)){n=this.seen[e];do{a=e+"-"+ ++n}while(this.seen.hasOwnProperty(a))}return t||(this.seen[e]=n,this.seen[a]=0),a}},{key:"slug",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this.serialize(e);return this.getNextSafeSlug(a,t.dryrun)}}])}(),ie=function(){function e(t){_(this,e),this.options=t||N,this.options.renderer=this.options.renderer||new ae,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ne,this.slugger=new re}return p(e,[{key:"parse",value:function(e){var t,a,n,r,i,o,s,l,u,c,_,d,p,m,E,g,D,S,C,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],T="",A=e.length;for(t=0;t0&&"paragraph"===E.tokens[0].type?(E.tokens[0].text=S+" "+E.tokens[0].text,E.tokens[0].tokens&&E.tokens[0].tokens.length>0&&"text"===E.tokens[0].tokens[0].type&&(E.tokens[0].tokens[0].text=S+" "+E.tokens[0].tokens[0].text)):E.tokens.unshift({type:"text",text:S}):m+=S),m+=this.parse(E.tokens,p),u+=this.renderer.listitem(m,D,g);T+=this.renderer.list(u,_,d);continue;case"html":T+=this.renderer.html(c.text);continue;case"paragraph":T+=this.renderer.paragraph(this.parseInline(c.tokens));continue;case"text":for(u=c.tokens?this.parseInline(c.tokens):c.text;t+1";return t?Promise.resolve(r):a?void a(null,r):r}if(t)return Promise.reject(n);if(!a)throw n;a(n)}}((n=u(u({},le.defaults),i)).silent,n.async,r);if(null==a)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof a)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(a)+", string expected"));if(function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(n),n.hooks&&(n.hooks.options=n),r){var s,l=n.highlight;try{n.hooks&&(a=n.hooks.preprocess(a)),s=e(a,n)}catch(m){return o(m)}var c=function(e){var a;if(!e)try{n.walkTokens&&le.walkTokens(s,n.walkTokens),a=t(s,n),n.hooks&&(a=n.hooks.postprocess(a))}catch(m){e=m}return n.highlight=l,e?o(e):r(null,a)};if(!l||l.length<3)return c();if(delete n.highlight,!s.length)return c();var _=0;return le.walkTokens(s,(function(e){"code"===e.type&&(_++,setTimeout((function(){l(e.text,e.lang,(function(t,a){if(t)return c(t);null!=a&&a!==e.text&&(e.text=a,e.escaped=!0),0===--_&&c()}))}),0))})),void(0===_&&c())}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(a):a).then((function(t){return e(t,n)})).then((function(e){return n.walkTokens?Promise.all(le.walkTokens(e,n.walkTokens)).then((function(){return e})):e})).then((function(e){return t(e,n)})).then((function(e){return n.hooks?n.hooks.postprocess(e):e})).catch(o);try{n.hooks&&(a=n.hooks.preprocess(a));var d=e(a,n);n.walkTokens&&le.walkTokens(d,n.walkTokens);var p=t(d,n);return n.hooks&&(p=n.hooks.postprocess(p)),p}catch(m){return o(m)}}}function le(e,t,a){return se(te.lex,ie.parse)(e,t,a)}function ue(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var a=e[t],n=typeof a;"object"!==n&&"function"!==n||Object.isFrozen(a)||ue(a)})),e}c(oe,"passThroughHooks",new Set(["preprocess","postprocess"])),le.options=le.setOptions=function(e){var t;return le.defaults=u(u({},le.defaults),e),t=le.defaults,N=t,le},le.getDefaults=R,le.defaults=N,le.use=function(){for(var e=le.defaults.extensions||{renderers:{},childTokens:{}},t=arguments.length,a=new Array(t),n=0;n/g,">").replace(/"/g,""").replace(/'/g,"'")}function de(e){var t=Object.create(null);for(var a in e)t[a]=e[a];for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i')}}])}(),Ee=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={children:[]};return Object.assign(t,e),t},ge=function(e){function a(e){var n;return _(this,a),(n=t(this,a)).options=e,n}return r(a,e),p(a,[{key:"addText",value:function(e){""!==e&&this.add(e)}},{key:"startScope",value:function(e){this.openNode(e)}},{key:"endScope",value:function(){this.closeNode()}},{key:"__addSublanguage",value:function(e,t){var a=e.root;t&&(a.scope="language:".concat(t)),this.add(a)}},{key:"toHTML",value:function(){return new me(this,this.options).value()}},{key:"finalize",value:function(){return this.closeAllNodes(),!0}}])}(function(){function e(){_(this,e),this.rootNode=Ee(),this.stack=[this.rootNode]}return p(e,[{key:"top",get:function(){return this.stack[this.stack.length-1]}},{key:"root",get:function(){return this.rootNode}},{key:"add",value:function(e){this.top.children.push(e)}},{key:"openNode",value:function(e){var t=Ee({scope:e});this.add(t),this.stack.push(t)}},{key:"closeNode",value:function(){if(this.stack.length>1)return this.stack.pop()}},{key:"closeAllNodes",value:function(){for(;this.closeNode(););}},{key:"toJSON",value:function(){return JSON.stringify(this.rootNode,null,4)}},{key:"walk",value:function(e){return this.constructor._walk(e,this.rootNode)}}],[{key:"_walk",value:function(e,t){var a=this;return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((function(t){return a._walk(e,t)})),e.closeNode(t)),e}},{key:"_collapse",value:function(t){"string"!=typeof t&&t.children&&(t.children.every((function(e){return"string"==typeof e}))?t.children=[t.children.join("")]:t.children.forEach((function(t){e._collapse(t)})))}}])}());function De(e){return e?"string"==typeof e?e:e.source:null}function Se(e){return Te("(?=",e,")")}function Ce(e){return Te("(?:",e,")*")}function be(e){return Te("(?:",e,")?")}function Te(){for(var e=arguments.length,t=new Array(e),a=0;a0;){var i=he.exec(a);if(!i){r+=a;break}r+=a.substring(0,i.index),a=a.substring(i.index+i[0].length),"\\"===i[0][0]&&i[1]?r+="\\"+String(Number(i[1])+t):(r+=i[0],"("===i[0]&&n++)}return r})).map((function(e){return"(".concat(e,")")})).join(a)}var Ne="[a-zA-Z]\\w*",Oe="[a-zA-Z_]\\w*",ve="\\b\\d+(\\.\\d+)?",ye="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ie="\\b(0b[01]+)",Fe={begin:"\\\\[\\s\\S]",relevance:0},xe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Fe]},Me={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Fe]},we=function(e,t){var a=de({scope:"comment",begin:e,end:t,contains:[]},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});var n=Ae("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:Te(/[ ]+/,"(",n,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},Le=we("//","$"),Pe=we("/\\*","\\*/"),ke=we("#","$"),Be={scope:"number",begin:ve,relevance:0},Ue={scope:"number",begin:ye,relevance:0},Ge={scope:"number",begin:Ie,relevance:0},Ye={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Fe,{begin:/\[/,end:/\]/,relevance:0,contains:[Fe]}]},Ve={scope:"title",begin:Ne,relevance:0},He={scope:"title",begin:Oe,relevance:0},qe={begin:"\\.\\s*"+Oe,relevance:0},ze=Object.freeze({__proto__:null,APOS_STRING_MODE:xe,BACKSLASH_ESCAPE:Fe,BINARY_NUMBER_MODE:Ge,BINARY_NUMBER_RE:Ie,COMMENT:we,C_BLOCK_COMMENT_MODE:Pe,C_LINE_COMMENT_MODE:Le,C_NUMBER_MODE:Ue,C_NUMBER_RE:ye,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":function(e,t){t.data._beginMatch=e[1]},"on:end":function(e,t){t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:ke,IDENT_RE:Ne,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:qe,NUMBER_MODE:Be,NUMBER_RE:ve,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:Me,REGEXP_MODE:Ye,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=/^#![ ]*\//;return e.binary&&(e.begin=Te(t,/.*\b/,e.binary,/\b.*/)),de({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":function(e,t){0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:Ve,UNDERSCORE_IDENT_RE:Oe,UNDERSCORE_TITLE_MODE:He});function $e(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function We(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function Qe(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=$e,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function je(e,t){Array.isArray(e.illegal)&&(e.illegal=Ae.apply(void 0,o(e.illegal)))}function Ke(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Ze(e,t){void 0===e.relevance&&(e.relevance=1)}var Xe=function(e,t){if(e.beforeMatch){if(e.starts)throw new Error("beforeMatch cannot be used with starts");var a=Object.assign({},e);Object.keys(e).forEach((function(t){delete e[t]})),e.keywords=a.keywords,e.begin=Te(a.beforeMatch,Se(a.begin)),e.starts={relevance:0,contains:[Object.assign(a,{endsParent:!0})]},e.relevance=0,delete a.beforeMatch}},Je=["of","and","for","in","not","or","if","then","parent","list","value"];function et(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"keyword",n=Object.create(null);return"string"==typeof e?r(a,e.split(" ")):Array.isArray(e)?r(a,e):Object.keys(e).forEach((function(a){Object.assign(n,et(e[a],t,a))})),n;function r(e,a){t&&(a=a.map((function(e){return e.toLowerCase()}))),a.forEach((function(t){var a=t.split("|");n[a[0]]=[e,tt(a[0],a[1])]}))}}function tt(e,t){return t?Number(t):function(e){return Je.includes(e.toLowerCase())}(e)?0:1}var at={},nt=function(e){console.error(e)},rt=function(e){for(var t,a=arguments.length,n=new Array(a>1?a-1:0),r=1;r0&&void 0!==e})),n=this.matchIndexes[a];return t.splice(0,a),Object.assign(t,n)}}])}(),n=function(){return p((function e(){_(this,e),this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}),[{key:"getMatcher",value:function(e){if(this.multiRegexes[e])return this.multiRegexes[e];var t=new a;return this.rules.slice(e).forEach((function(e){var a=E(e,2),n=a[0],r=a[1];return t.addRule(n,r)})),t.compile(),this.multiRegexes[e]=t,t}},{key:"resumingScanAtSamePosition",value:function(){return 0!==this.regexIndex}},{key:"considerAll",value:function(){this.regexIndex=0}},{key:"addRule",value:function(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}},{key:"exec",value:function(e){var t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;var a=t.exec(e);if(this.resumingScanAtSamePosition())if(a&&a.index===this.lastIndex);else{var n=this.getMatcher(0);n.lastIndex=this.lastIndex+1,a=n.exec(e)}return a&&(this.regexIndex+=a.position+1,this.regexIndex===this.count&&this.considerAll()),a}}])}();if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=de(e.classNameAliases||{}),function a(r,i){var s,l=r;if(r.isCompiled)return l;[We,Ke,lt,Xe].forEach((function(e){return e(r,i)})),e.compilerExtensions.forEach((function(e){return e(r,i)})),r.__beforeBegin=null,[Qe,je,Ze].forEach((function(e){return e(r,i)})),r.isCompiled=!0;var u=null;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),u=r.keywords.$pattern,delete r.keywords.$pattern),u=u||/\w+/,r.keywords&&(r.keywords=et(r.keywords,e.case_insensitive)),l.keywordPatternRe=t(u,!0),i&&(r.begin||(r.begin=/\B|\b/),l.beginRe=t(l.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(l.endRe=t(l.end)),l.terminatorEnd=De(l.end)||"",r.endsWithParent&&i.terminatorEnd&&(l.terminatorEnd+=(r.end?"|":"")+i.terminatorEnd)),r.illegal&&(l.illegalRe=t(r.illegal)),r.contains||(r.contains=[]),r.contains=(s=[]).concat.apply(s,o(r.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return de(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(ct(e))return de(e,{starts:e.starts?de(e.starts):null});if(Object.isFrozen(e))return de(e);return e}("self"===e?r:e)})))),r.contains.forEach((function(e){a(e,l)})),r.starts&&a(r.starts,i),l.matcher=function(e){var t=new n;return e.contains.forEach((function(e){return t.addRule(e.begin,{rule:e,type:"begin"})})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(l),l}(e)}function ct(e){return!!e&&(e.endsWithParent||ct(e.starts))}var _t=function(e){function a(e,n){var r;return _(this,a),(r=t(this,a,[e])).name="HTMLInjectionError",r.html=n,r}return r(a,e),p(a)}(e(Error)),dt=_e,pt=de,mt=Symbol("nomatch"),Et=function(e){var t=Object.create(null),a=Object.create(null),n=[],r=!0,i="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]},s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:ge};function l(e){return s.noHighlightRe.test(e)}function u(e,t,a){var n="",r="";"object"==typeof t?(n=e,a=t.ignoreIllegals,r=t.language):(it("10.7.0","highlight(lang, code, ...args) has been deprecated."),it("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=e,n=t),void 0===a&&(a=!0);var i={code:n,language:r};C("before:highlight",i);var o=i.result?i.result:c(i.language,i.code,a);return o.code=i.code,C("after:highlight",o),o}function c(e,a,n,o){var l=Object.create(null);function u(){if(N.keywords){var e=0;N.keywordPatternRe.lastIndex=0;for(var t,a=N.keywordPatternRe.exec(y),n="";a;){n+=y.substring(e,a.index);var r=f.case_insensitive?a[0].toLowerCase():a[0],i=(t=r,N.keywords[t]);if(i){var o=E(i,2),s=o[0],u=o[1];if(v.addText(n),n="",l[r]=(l[r]||0)+1,l[r]<=7&&(I+=u),s.startsWith("_"))n+=a[0];else{var c=f.classNameAliases[s]||s;p(a[0],c)}}else n+=a[0];e=N.keywordPatternRe.lastIndex,a=N.keywordPatternRe.exec(y)}n+=y.substring(e),v.addText(n)}else v.addText(y)}function d(){null!=N.subLanguage?function(){if(""!==y){var e=null;if("string"==typeof N.subLanguage){if(!t[N.subLanguage])return void v.addText(y);e=c(N.subLanguage,y,!0,O[N.subLanguage]),O[N.subLanguage]=e._top}else e=_(y,N.subLanguage.length?N.subLanguage:null);N.relevance>0&&(I+=e.relevance),v.__addSublanguage(e._emitter,e.language)}}():u(),y=""}function p(e,t){""!==e&&(v.startScope(t),v.addText(e),v.endScope())}function m(e,t){for(var a=1,n=t.length-1;a<=n;)if(e._emit[a]){var r=f.classNameAliases[e[a]]||e[a],i=t[a];r?p(i,r):(y=i,u(),y=""),a++}else a++}function D(e,t){return e.scope&&"string"==typeof e.scope&&v.openNode(f.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(p(y,f.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),y=""):e.beginScope._multi&&(m(e.beginScope,t),y="")),N=Object.create(e,{parent:{value:N}})}function S(e,t,a){var n=function(e,t){var a=e&&e.exec(t);return a&&0===a.index}(e.endRe,a);if(n){if(e["on:end"]){var r=new ce(e);e["on:end"](t,r),r.isMatchIgnored&&(n=!1)}if(n){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return S(e.parent,t,a)}function C(e){return 0===N.matcher.regexIndex?(y+=e[0],1):(M=!0,0)}function b(e){var t=e[0],n=a.substring(e.index),r=S(N,e,n);if(!r)return mt;var i=N;N.endScope&&N.endScope._wrap?(d(),p(t,N.endScope._wrap)):N.endScope&&N.endScope._multi?(d(),m(N.endScope,e)):i.skip?y+=t:(i.returnEnd||i.excludeEnd||(y+=t),d(),i.excludeEnd&&(y=t));do{N.scope&&v.closeNode(),N.skip||N.subLanguage||(I+=N.relevance),N=N.parent}while(N!==r.parent);return r.starts&&D(r.starts,e),i.returnEnd?0:t.length}var T={};function A(t,i){var o=i&&i[0];if(y+=t,null==o)return d(),0;if("begin"===T.type&&"end"===i.type&&T.index===i.index&&""===o){if(y+=a.slice(i.index,i.index+1),!r){var s=new Error("0 width match regex (".concat(e,")"));throw s.languageName=e,s.badRule=T.rule,s}return 1}if(T=i,"begin"===i.type)return function(e){for(var t=e[0],a=e.rule,n=new ce(a),r=0,i=[a.__beforeBegin,a["on:begin"]];r")+'"');throw l.mode=N,l}if("end"===i.type){var u=b(i);if(u!==mt)return u}if("illegal"===i.type&&""===o)return 1;if(x>1e5&&x>3*i.index)throw new Error("potential infinite loop, way more iterations than matches");return y+=o,o.length}var f=g(e);if(!f)throw nt(i.replace("{}",e)),new Error('Unknown language: "'+e+'"');var h=ut(f),R="",N=o||h,O={},v=new s.__emitter(s);!function(){for(var e=[],t=N;t!==f;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((function(e){return v.openNode(e)}))}();var y="",I=0,F=0,x=0,M=!1;try{if(f.__emitTokens)f.__emitTokens(a,v);else{for(N.matcher.considerAll();;){x++,M?M=!1:N.matcher.considerAll(),N.matcher.lastIndex=F;var w=N.matcher.exec(a);if(!w)break;var L=A(a.substring(F,w.index),w);F=w.index+L}A(a.substring(F))}return v.finalize(),R=v.toHTML(),{language:e,value:R,relevance:I,illegal:!1,_emitter:v,_top:N}}catch(P){if(P.message&&P.message.includes("Illegal"))return{language:e,value:dt(a),illegal:!0,relevance:0,_illegalBy:{message:P.message,index:F,context:a.slice(F-100,F+100),mode:P.mode,resultSoFar:R},_emitter:v};if(r)return{language:e,value:dt(a),illegal:!1,relevance:0,errorRaised:P,_emitter:v,_top:N};throw P}}function _(e,a){a=a||s.languages||Object.keys(t);var n=function(e){var t={value:dt(e),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return t._emitter.addText(e),t}(e),r=a.filter(g).filter(S).map((function(t){return c(t,e,!1)}));r.unshift(n);var i=E(r.sort((function(e,t){if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(g(e.language).supersetOf===t.language)return 1;if(g(t.language).supersetOf===e.language)return-1}return 0})),2),l=i[0],u=i[1],_=l;return _.secondBest=u,_}function d(e){var t=function(e){var t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";var a=s.languageDetectRe.exec(t);if(a){var n=g(a[1]);return n||(rt(i.replace("{}",a[1])),rt("Falling back to no-highlight mode for this block.",e)),n?a[1]:"no-highlight"}return t.split(/\s+/).find((function(e){return l(e)||g(e)}))}(e);if(!l(t))if(C("before:highlightElement",{el:e,language:t}),e.dataset.highlighted)console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);else{if(e.children.length>0)if(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),s.throwUnescapedHTML)throw new _t("One of your code blocks includes unescaped HTML.",e.innerHTML);var n=e.textContent,r=t?u(n,{language:t,ignoreIllegals:!0}):_(n);e.innerHTML=r.value,e.dataset.highlighted="yes",function(e,t,n){var r=t&&a[t]||n;e.classList.add("hljs"),e.classList.add("language-".concat(r))}(e,t,r.language),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),C("after:highlightElement",{el:e,result:r,text:n})}}var p=!1;function m(){"loading"!==document.readyState?document.querySelectorAll(s.cssSelector).forEach(d):p=!0}function g(e){return e=(e||"").toLowerCase(),t[e]||t[a[e]]}function D(e,t){var n=t.languageName;"string"==typeof e&&(e=[e]),e.forEach((function(e){a[e.toLowerCase()]=n}))}function S(e){var t=g(e);return t&&!t.disableAutodetect}function C(e,t){var a=e;n.forEach((function(e){e[a]&&e[a](t)}))}for(var b in"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){p&&m()}),!1),Object.assign(e,{highlight:u,highlightAuto:_,highlightAll:m,highlightElement:d,highlightBlock:function(e){return it("10.7.0","highlightBlock will be removed entirely in v12.0"),it("10.7.0","Please use highlightElement now."),d(e)},configure:function(e){s=pt(s,e)},initHighlighting:function(){m(),it("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){m(),it("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(a,n){var i=null;try{i=n(e)}catch(s){if(nt("Language definition for '{}' could not be registered.".replace("{}",a)),!r)throw s;nt(s),i=o}i.name||(i.name=a),t[a]=i,i.rawDefinition=n.bind(null,e),i.aliases&&D(i.aliases,{languageName:a})},unregisterLanguage:function(e){delete t[e];for(var n=0,r=Object.keys(a);n|$)",illegal:i,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:r,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[o,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:n,relevance:0},{className:"symbol",begin:"'"+r},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:i},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[o,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:i},s,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:i}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:i},s]}}),Rt)),Nl.registerLanguage("angelscript",(vt||(vt=1,Ot=function(e){var t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},a={className:"symbol",begin:"[a-zA-Z0-9_]+@"},n={className:"keyword",begin:"<",end:">",contains:[t,a]};return t.contains=[n],a.contains=[n],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,a,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}),Ot)),Nl.registerLanguage("apache",(It||(It=1,yt=function(e){var t={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[t,{className:"number",begin:/:\d{1,5}/},e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",{className:"number",begin:/[$%]\d+/}]},t,{className:"number",begin:/\b\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\S/}}),yt)),Nl.registerLanguage("applescript",(xt||(xt=1,Ft=function(e){var t=e.regex,a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),n={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,a]},r=e.COMMENT(/--/,/$/),i=[r,e.COMMENT(/\(\*/,/\*\)/,{contains:["self",r]}),e.HASH_COMMENT_MODE];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[a,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either.apply(t,[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/]),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either.apply(t,[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/]),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,n]}].concat(i),illegal:/\/\/|->|=>|\[\[/}}),Ft)),Nl.registerLanguage("arcade",(wt||(wt=1,Mt=function(e){var t=e.regex,a="[A-Za-z_][0-9A-Za-z_]*",n={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},r={className:"symbol",begin:"\\$"+t.either.apply(t,["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","value","view"])},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},s={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,i,e.REGEXP_MODE];var l=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:a+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:a,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+a+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:a},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:l}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:a}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}),Mt)),Nl.registerLanguage("arduino",(Pt||(Pt=1,Lt=function(e){var t=["boolean","byte","word","String"],a=["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],n=["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],r=["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"],i=function(e){var t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="(?!struct)("+n+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},c={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},_=t.optional(r)+e.IDENT_RE+"\\s*\\(",d={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},m=[p,u,o,a,e.C_BLOCK_COMMENT_MODE,l,s],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:m.concat([{begin:/\(/,end:/\)/,keywords:d,contains:m.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:d,relevance:0},{begin:_,returnBegin:!0,contains:[c],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,a,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:d,illegal:"",keywords:d,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:d},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),s=i.keywords;return s.type=[].concat(o(s.type),o(t)),s.literal=[].concat(o(s.literal),o(r)),s.built_in=[].concat(o(s.built_in),o(a)),s._hints=n,i.name="Arduino",i.aliases=["ino"],i.supersetOf="cpp",i}),Lt)),Nl.registerLanguage("armasm",(Bt||(Bt=1,kt=function(e){var t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}),kt)),Nl.registerLanguage("xml",(Gt||(Gt=1,Ut=function(e){var t=e.regex,a=t.concat(/(?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/,t.optional(/(?:[\x2D\.0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*:/),/(?:[\x2D\.0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*/),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(r,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[r,s,o,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,i,s,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},n,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}),Ut)),Nl.registerLanguage("asciidoc",(Vt||(Vt=1,Yt=function(e){var t=e.regex,a=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],n=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}];return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ \t].+?([ \t]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10}].concat([{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],a,n,[{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}])}}),Yt)),Nl.registerLanguage("aspectj",(qt||(qt=1,Ht=function(e){var t=e.regex,a=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],n=["get","set","args","call"];return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a.concat(n),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a.concat(n),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}),Ht)),Nl.registerLanguage("autohotkey",($t||($t=1,zt=function(e){var t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}),zt)),Nl.registerLanguage("autoit",(Qt||(Qt=1,Wt=function(e){var t={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},n={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",literal:"True False And Null Not Or Default"},contains:[t,a,n,r,{className:"meta",begin:"#",end:"$",keywords:{keyword:["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"]},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[n,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},n,t]},{className:"symbol",begin:"@[A-z0-9_]+"},{beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,n,r]}]}]}}),Wt)),Nl.registerLanguage("avrasm",(Kt||(Kt=1,jt=function(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}),jt)),Nl.registerLanguage("awk",(Xt||(Xt=1,Zt=function(e){return{name:"Awk",keywords:{keyword:"BEGIN END if else while do for in break continue delete next nextfile function func exit|10"},contains:[{className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}),Zt)),Nl.registerLanguage("axapta",(ea||(ea=1,Jt=function(e){var t=e.UNDERSCORE_IDENT_RE,a={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},n={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a};return{name:"X++",aliases:["x++"],keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},n]}}),Jt)),Nl.registerLanguage("bash",(aa||(aa=1,ta=function(e){var t=e.regex,a={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});var r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,r]};r.contains.push(s);var l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},u=e.SHEBANG({binary:"(".concat(["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|"),")"),relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:[].concat(["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],["set","shopt"],["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"])},contains:[u,e.SHEBANG(),c,l,i,o,{match:/(\/[a-z._-]+)+/},s,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},a]}}),ta)),Nl.registerLanguage("basic",(ra||(ra=1,na=function(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}),na)),Nl.registerLanguage("bnf",(oa||(oa=1,ia=function(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}),ia)),Nl.registerLanguage("brainfuck",(la||(la=1,sa=function(e){var t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}),sa)),Nl.registerLanguage("c",(ca||(ca=1,ua=function(e){var t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="("+n+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},c={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},_=t.optional(r)+e.IDENT_RE+"\\s*\\(",d={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[u,o,a,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:p.concat([{begin:/\(/,end:/\)/,keywords:d,contains:p.concat(["self"]),relevance:0}]),relevance:0},E={begin:"("+i+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:d,relevance:0},{begin:_,returnBegin:!0,contains:[e.inherit(c,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,a,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C",aliases:["h"],keywords:d,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:s,keywords:d}}}),ua)),Nl.registerLanguage("cal",(da||(da=1,_a=function(e){var t=e.regex,a=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",begin:/(#\d+)+/},o={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:[r,i,e.NUMBER_MODE]}].concat(n)},s={match:[/OBJECT/,/\s+/,t.either.apply(t,["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"]),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:a,literal:"false true"},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},r,i,{className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},{className:"string",begin:'"',end:'"'},e.NUMBER_MODE,s,o]}}),_a)),Nl.registerLanguage("capnproto",(ma||(ma=1,pa=function(e){var t={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],type:["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},t]}}),pa)),Nl.registerLanguage("ceylon",(ga||(ga=1,Ea=function(e){var t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],a={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},n=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[a]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return a.contains=n,{name:"Ceylon",keywords:{keyword:t.concat(["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"]),meta:["doc","by","license","see","throws","tagged"]},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(n)}}),Ea)),Nl.registerLanguage("clean",(Sa||(Sa=1,Da=function(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}),Da)),Nl.registerLanguage("clojure",(ba||(ba=1,Ca=function(e){var t="a-zA-Z_\\-!.?+*=<>&'",a="[#]?["+t+"]["+t+"0-9/;:$#]*",n="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",r={$pattern:a,built_in:n+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},i={begin:a,relevance:0},o={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c={scope:"punctuation",match:/,/,relevance:0},_=e.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b(true|false|nil)\b/},p={begin:"\\[|(#::?"+a+")?\\{",end:"[\\]\\}]",relevance:0},m={className:"symbol",begin:"[:]{1,2}"+a},E={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},D={keywords:r,className:"name",begin:a,relevance:0,starts:g},S=[c,E,s,l,u,_,m,p,o,d,i],C={beginKeywords:n,keywords:{$pattern:a,keyword:n},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:a,relevance:0,excludeEnd:!0,endsParent:!0}].concat(S)};return E.contains=[C,D,g],g.contains=S,p.contains=S,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[c,E,s,l,u,_,m,p,o,d]}}),Ca)),Nl.registerLanguage("clojure-repl",Aa?Ta:(Aa=1,Ta=function(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}})),Nl.registerLanguage("cmake",(ha||(ha=1,fa=function(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}),fa)),Nl.registerLanguage("coffeescript",function(){if(Na)return Ra;Na=1;var e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return Ra=function(n){var r,i={keyword:e.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((r=["var","const","let","function","static"],function(e){return!r.includes(e)})),literal:t.concat(["yes","no","on","off"]),built_in:a.concat(["npm","print"])},o="[A-Za-z$_][0-9A-Za-z$_]*",s={className:"subst",begin:/#\{/,end:/\}/,keywords:i},l=[n.BINARY_NUMBER_MODE,n.inherit(n.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[n.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,s]},{begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,s]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[s,n.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+o},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];s.contains=l;var u=n.inherit(n.TITLE_MODE,{begin:o}),c="(\\(.*\\)\\s*)?\\B[-=]>",_={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(l)}]},d={variants:[{match:[/class\s+/,o,/\s+extends\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:i,illegal:/\/\*/,contains:[].concat(l,[n.COMMENT("###","###"),n.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+o+"\\s*=\\s*"+c,end:"[-=]>",returnBegin:!0,contains:[u,_]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:c,end:"[-=]>",returnBegin:!0,contains:[_]}]},d,{begin:o+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}},Ra}()),Nl.registerLanguage("coq",(va||(va=1,Oa=function(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}),Oa)),Nl.registerLanguage("cos",(Ia||(Ia=1,ya=function(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}),ya)),Nl.registerLanguage("cpp",(xa||(xa=1,Fa=function(e){var t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="(?!struct)("+n+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},c={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},_=t.optional(r)+e.IDENT_RE+"\\s*\\(",d={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},m=[p,u,o,a,e.C_BLOCK_COMMENT_MODE,l,s],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:m.concat([{begin:/\(/,end:/\)/,keywords:d,contains:m.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:d,relevance:0},{begin:_,returnBegin:!0,contains:[c],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,a,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:d,illegal:"",keywords:d,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:d},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}),Fa)),Nl.registerLanguage("crmsh",(wa||(wa=1,Ma=function(e){var t="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\ number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:"primitive rsc_template",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+t.split(" ").join("|")+")\\s+",keywords:t,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}),Ma)),Nl.registerLanguage("crystal",(Pa||(Pa=1,La=function(e){var t="(_?[ui](8|16|32|64|128))?",a="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",n="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",r={$pattern:"[a-zA-Z_]\\w*[!?=]?",keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},i={className:"subst",begin:/#\{/,end:/\}/,keywords:r},o={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:r};function s(e,t){var a=[{begin:e,end:t}];return a[0].contains=a,a}var l={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:s("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},u={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%q<",end:">",contains:s("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},c={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},_=[o,l,u,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"%r\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%r<",end:">",contains:s("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},c,{className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:n}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:n})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:n})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[l,{begin:a}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?(_?f(32|64))?(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return i.contains=_,o.contains=_.slice(1),{name:"Crystal",aliases:["cr"],keywords:r,contains:_}}),La)),Nl.registerLanguage("csharp",(Ba||(Ba=1,ka=function(e){var t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},a=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},r={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(r,{illegal:/\n/}),o={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(o,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},u={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]},c=e.inherit(u,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});o.contains=[u,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE],s.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var _={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},u,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},d={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},p=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",m={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,n,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+p+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,d],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[_,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},m]}}),ka)),Nl.registerLanguage("csp",Ga?Ua:(Ga=1,Ua=function(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}})),Nl.registerLanguage("css",function(){if(Va)return Ya;Va=1;var e=[].concat(["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"]),t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();return Ya=function(i){var o=i.regex,s=function(e){return{IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}}(i),l=[i.APOS_STRING_MODE,i.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[s.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+a.join("|")+")"},{begin:":(:)?("+n.join("|")+")"}]},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[s.BLOCK_COMMENT,s.HEXCOLOR,s.IMPORTANT,s.CSS_NUMBER_MODE].concat(l,[{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[].concat(l,[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}])},s.FUNCTION_DISPATCH])},{begin:o.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"}].concat(l,[s.CSS_NUMBER_MODE])}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}},Ya}()),Nl.registerLanguage("d",(qa||(qa=1,Ha=function(e){var t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},a="(0|[1-9][\\d_]*)",n="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",r="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",i="([eE][+-]?"+n+")",o="("+a+"|0[bB][01_]+|0[xX]"+r+")",s="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",l={className:"number",begin:"\\b"+o+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},u={className:"number",begin:"\\b(((0[xX]("+r+"\\."+r+"|\\.?"+r+")[pP][+-]?"+n+")|("+n+"(\\.\\d*|"+i+")|\\d+\\."+n+"|\\."+a+i+"?))([fF]|L|i|[fF]i|Li)?|"+o+"(i|[fF]i|Li))",relevance:0},c={className:"string",begin:"'("+s+"|.)",end:"'",illegal:"."},_={className:"string",begin:'"',contains:[{begin:s,relevance:0}],end:'"[cwd]?'},d=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},_,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},u,l,c,{className:"meta",begin:"^#!",end:"$",relevance:5},{className:"meta",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}}),Ha)),Nl.registerLanguage("markdown",($a||($a=1,za=function(e){var t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},n={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},r={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},i=e.inherit(n,{contains:[]}),o=e.inherit(r,{contains:[]});n.contains.push(o),r.contains.push(i);var s=[t,a];return[n,r,i,o].forEach((function(e){e.contains=e.contains.concat(s)})),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s=s.concat(n,r)},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},n,r,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},a,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}),za)),Nl.registerLanguage("dart",(Qa||(Qa=1,Wa=function(e){var t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},a={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},n={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]}]};a.contains=[e.C_NUMBER_MODE,n];var r=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],i=r.map((function(e){return"".concat(e,"?")}));return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:r.concat(i).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[n,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}),Wa)),Nl.registerLanguage("delphi",(Ka||(Ka=1,ja=function(e){var t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],a=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],n={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},o={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},s={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,i,n].concat(a)},n].concat(a)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[r,i,{className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},o,s,n].concat(a)}}),ja)),Nl.registerLanguage("diff",(Xa||(Xa=1,Za=function(e){var t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}),Za)),Nl.registerLanguage("django",(en||(en=1,Ja=function(e){var t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}),Ja)),Nl.registerLanguage("dns",(an||(an=1,tn=function(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}),tn)),Nl.registerLanguage("dockerfile",(rn||(rn=1,nn=function(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r={className:"variable",begin:/&[a-z\d_]*\b/};return{name:"Device Tree",contains:[{className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},r,{className:"keyword",begin:"/[a-z][a-z\\d-]*/"},{className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},{className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},{relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},{match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},{className:"params",relevance:0,begin:"<",end:">",contains:[a,r]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,t,n,{scope:"punctuation",relevance:0,match:/\};|[;{}]/},{begin:e.IDENT_RE+"::",keywords:""}]}}),cn)),Nl.registerLanguage("dust",(pn||(pn=1,dn=function(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}),dn)),Nl.registerLanguage("ebnf",(En||(En=1,mn=function(e){var t=e.COMMENT(/\(\*/,/\*\)/);return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,{className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},{begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]}]}}),mn)),Nl.registerLanguage("elixir",(Dn||(Dn=1,gn=function(e){var t=e.regex,a="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",n={$pattern:a,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},r={className:"subst",begin:/#\{/,end:/\}/,keywords:n},i={match:/\\[\s\S]/,scope:"char.escape",relevance:0},o="[/|([{<\"']",s=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],l=function(e){return{scope:"char.escape",begin:t.concat(/\\/,e),relevance:0}},u={className:"string",begin:"~[a-z](?="+o+")",contains:s.map((function(t){return e.inherit(t,{contains:[l(t.end),i,r]})}))},c={className:"string",begin:"~[A-Z](?="+o+")",contains:s.map((function(t){return e.inherit(t,{contains:[l(t.end)]})}))},_={className:"regex",variants:[{begin:"~r(?="+o+")",contains:s.map((function(a){return e.inherit(a,{end:t.concat(a.end,/[uismxfU]{0,7}/),contains:[l(a.end),i,r]})}))},{begin:"~R(?="+o+")",contains:s.map((function(a){return e.inherit(a,{end:t.concat(a.end,/[uismxfU]{0,7}/),contains:[l(a.end)]})}))}]},d={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},p={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},m=e.inherit(p,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),E=[d,_,c,u,e.HASH_COMMENT_MODE,m,p,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[d,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:a+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return r.contains=E,{name:"Elixir",aliases:["ex","exs"],keywords:n,contains:E}}),gn)),Nl.registerLanguage("elm",(Cn||(Cn=1,Sn=function(e){var t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},n={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[n,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[n,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[a,n,{begin:/\{/,end:/\}/,contains:n.contains},t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},{className:"string",begin:"'\\\\?.",end:"'",illegal:"."},e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,a,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}),Sn)),Nl.registerLanguage("ruby",(Tn||(Tn=1,bn=function(e){var t=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=t.concat(n,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield"].concat(["include","extend","prepend","public","private","protected","raise","throw"]),built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:i},c={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},_="[0-9](_?[0-9])*",d={className:"number",relevance:0,variants:[{begin:"\\b(".concat("[1-9](_?[0-9])*|0",")(\\.(").concat(_,"))?([eE][+-]?(").concat(_,")|r)?i?\\b")},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},p={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},m=[c,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:i},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[p]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[c,{begin:a}],relevance:0},d,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);u.contains=m,p.contains=m;var E=[{begin:/^\s*=>/,starts:{end:"$",contains:m}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:m}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(E).concat(l).concat(m)}}),bn)),Nl.registerLanguage("erb",(fn||(fn=1,An=function(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}),An)),Nl.registerLanguage("erlang-repl",(Rn||(Rn=1,hn=function(e){var t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}),hn)),Nl.registerLanguage("erlang",(On||(On=1,Nn=function(e){var t="[a-z'][a-zA-Z0-9_']*",a="("+t+":"+t+"|"+t+")",n={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},r=e.COMMENT("%","$"),i={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+t+"/\\d+"},s={begin:a+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:a,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},u={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},c={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},_={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},d={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},p={beginKeywords:"fun receive if try case",end:"end",keywords:n};p.contains=[r,o,e.inherit(e.APOS_STRING_MODE,{className:""}),p,s,e.QUOTE_STRING_MODE,i,l,u,c,_,d];var m=[r,o,p,s,e.QUOTE_STRING_MODE,i,l,u,c,_,d];s.contains[1].contains=m,l.contains=m,_.contains[1].contains=m;var E={className:"params",begin:"\\(",end:"\\)",contains:m};return{name:"Erlang",aliases:["erl"],keywords:n,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[E,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:n,contains:m}},r,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"].map((function(e){return"".concat(e,"|1.5")})).join(" ")},contains:[E]},i,e.QUOTE_STRING_MODE,_,u,c,l,d,{begin:/\.$/}]}}),Nn)),Nl.registerLanguage("excel",(yn||(yn=1,vn=function(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}),vn)),Nl.registerLanguage("fix",Fn?In:(Fn=1,In=function(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}})),Nl.registerLanguage("flix",(Mn||(Mn=1,xn=function(e){var t={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"string",variants:[{begin:'"',end:'"'}]},t,e.C_NUMBER_MODE]}}),xn)),Nl.registerLanguage("fortran",(Ln||(Ln=1,wn=function(e){var t=e.regex,a={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},n=/(_[a-z_\d]+)?/,r=/([de][+-]?\d+)?/,i={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,r,n)},{begin:t.concat(/\b\d+/,r,n)},{begin:t.concat(/\.\d+/,r,n)}],relevance:0},o={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[{className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},o,{begin:/^C\s*=(?!=)/,relevance:0},a,i]}}),wn)),Nl.registerLanguage("fsharp",function(){if(kn)return Pn;function e(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function t(e){return e?"string"==typeof e?e:e.source:null}function a(e){return n("(?=",e,")")}function n(){for(var e=arguments.length,a=new Array(e),n=0;n@^|~?":"!%&*+-/<>@^|~?";var s=Array.from(i),l=n.apply(void 0,["["].concat(o(s.map(e)),["]"])),u=r(l,/\./),c=n(u,a(u)),_=r(n(c,u,"*"),n(l,"+"));return{scope:"operator",match:r(_,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),E=p({includeEqual:!1}),g=function(e,i){return{begin:n(e,a(n(/\s*/,r(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:i,end:a(r(/\n/,/=/)),relevance:0,keywords:t.inherit(l,{type:s}),contains:[u,d,t.inherit(c,{scope:null}),E]}},D=g(/:/,"operator"),S=g(/\bof\b/,"keyword"),C={begin:[/(^|\s+)/,/type/,/\s+/,/[a-zA-Z_](\w|')*/],beginScope:{2:"keyword",4:"title.class"},end:a(/\(|=|$/),keywords:l,contains:[u,t.inherit(c,{scope:null}),d,{scope:"operator",match:/<|>/},D]},b={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},T={begin:[/^\s*/,n(/#/,r.apply(void 0,["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"])),/\b/],beginScope:{2:"meta"},end:a(/\s|$/)},A={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},f={scope:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},h={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},t.BACKSLASH_ESCAPE]},R={scope:"string",begin:/"""/,end:/"""/,relevance:2},N={scope:"subst",begin:/\{/,end:/\}/,keywords:l},O={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},t.BACKSLASH_ESCAPE,N]},v={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},t.BACKSLASH_ESCAPE,N]},y={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},N],relevance:2},I={scope:"string",match:n(/'/,r(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return N.contains=[v,O,h,f,I,i,u,c,D,b,T,A,d,m],{name:"F#",aliases:["fs","f#"],keywords:l,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[i,{variants:[y,v,O,R,h,f,I]},u,c,C,{scope:"meta",begin:/\[\]/,relevance:2,contains:[c,R,h,f,I,A]},S,D,b,T,A,d,m]}},Pn}()),Nl.registerLanguage("gams",(Un||(Un=1,Bn=function(e){var t=e.regex,a={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},n={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},r={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},i={begin:"/",end:"/",keywords:a,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},o=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,s={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[r,i,{className:"comment",begin:t.concat(o,t.anyNumberOfTimes(t.concat(/[ ]+/,o))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:a,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,s]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[s]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},n]},e.C_NUMBER_MODE,n]}}),Bn)),Nl.registerLanguage("gauss",(Yn||(Yn=1,Gn=function(e){var t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},a=e.COMMENT("@","@"),n={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a]},r={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},i=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,r]}],o={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},s=function(t,n,r){var s=e.inherit({className:"function",beginKeywords:t,end:n,excludeEnd:!0,contains:[].concat(i)},{});return s.contains.push(o),s.contains.push(e.C_NUMBER_MODE),s.contains.push(e.C_BLOCK_COMMENT_MODE),s.contains.push(a),s},l={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},u={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},c={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},l,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},_={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,l,c,u,"self"]};return c.contains.push(_),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,u,n,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,a,_]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},c,r]}}),Gn)),Nl.registerLanguage("gcode",(Hn||(Hn=1,Vn=function(e){var t={$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},a=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),a,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[a],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:t,contains:[{className:"meta",begin:"%"},{className:"meta",begin:"([O])([0-9]+)"}].concat(n)}}),Vn)),Nl.registerLanguage("gherkin",(zn||(zn=1,qn=function(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}),qn)),Nl.registerLanguage("glsl",(Wn||(Wn=1,$n=function(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}),$n)),Nl.registerLanguage("gml",(jn||(jn=1,Qn=function(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}),Qn)),Nl.registerLanguage("go",(Zn||(Zn=1,Kn=function(e){var t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"1&&void 0!==arguments[1]?arguments[1]:{};return t.variants=e,t}return ir=1,rr=function(t){var a=t.regex,n="[A-Za-z0-9_$]+",r=e([t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),i={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[t.BACKSLASH_ESCAPE]},o=e([t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]),s=e([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE],{className:"string"}),l={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[t.SHEBANG({binary:"groovy",relevance:10}),r,s,i,o,l,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:n+"[ \t]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[r,s,i,o,"self"]},{className:"symbol",begin:"^[ \t]*"+a.lookahead(n+":"),excludeBegin:!0,end:n+":",relevance:0}],illegal:/#|<\//}},rr}()),Nl.registerLanguage("haml",(sr||(sr=1,or=function(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}),or)),Nl.registerLanguage("handlebars",(ur||(ur=1,lr=function(e){var t=e.regex,a={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},n=/\[\]|\[[^\]]+\]/,r=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,i=t.either(/""|"[^"]+"/,/''|'[^']+'/,n,r),o=t.concat(t.optional(/\.|\.\/|\//),i,t.anyNumberOfTimes(t.concat(/(\.|\/)/,i))),s=t.concat("(",n,"|",r,")(?==)"),l={begin:o},u=e.inherit(l,{keywords:{$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]}}),c={begin:/\(/,end:/\)/},_={className:"attr",begin:s,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,u,c]}}},d={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},_,u,c],returnEnd:!0},p=e.inherit(l,{className:"name",keywords:a,starts:e.inherit(d,{end:/\)/})});c.contains=[p];var m=e.inherit(l,{keywords:a,className:"name",starts:e.inherit(d,{end:/\}\}/})}),E=e.inherit(l,{keywords:a,className:"name"}),g=e.inherit(l,{className:"name",keywords:a,starts:e.inherit(d,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[m],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[E]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[m]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[E]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[g]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[g]}]}}),lr)),Nl.registerLanguage("haskell",(_r||(_r=1,cr=function(e){var t="([0-9]_*)+",a="([0-9a-fA-F]_*)+",n="(".concat("[!#$%&*+.\\/<=>?@\\\\^~-]","|(?!(").concat("[(),;\\[\\]`|{}]","|[_:\"']))").concat("(\\p{S}|\\p{P})",")"),r={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},i={className:"meta",begin:/\{-#/,end:/#-\}/},o={className:"meta",begin:"^#",end:"$"},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[i,o,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),r]},u={begin:/\{/,end:/\}/,contains:l.contains},c={className:"number",relevance:0,variants:[{match:"\\b(".concat(t,")(\\.(").concat(t,"))?")+"([eE][+-]?(".concat(t,"))?\\b")},{match:"\\b0[xX]_*(".concat(a,")(\\.(").concat(a,"))?")+"([pP][+-]?(".concat(t,"))?\\b")},{match:"\\b0[oO](".concat("([0-7]_*)+",")\\b")},{match:"\\b0[bB](".concat("([01]_*)+",")\\b")}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[l,r],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[l,r],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[s,l,r]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[i,s,l,u,r]},{beginKeywords:"default",end:"$",contains:[s,l,r]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,r]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[s,e.QUOTE_STRING_MODE,r]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},i,o,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,c,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:"(?!-)".concat(n,"--+|--+(?!-)").concat(n)},r,{begin:"->|<-"}]}}),cr)),Nl.registerLanguage("haxe",(pr||(pr=1,dr=function(e){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/,relevance:0},{className:"variable",begin:"\\$[a-zA-Z_$][a-zA-Z0-9_$]*"},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}),dr)),Nl.registerLanguage("hsp",(Er||(Er=1,mr=function(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}),mr)),Nl.registerLanguage("http",(Dr||(Dr=1,gr=function(e){var t="HTTP/([32]|1\\.[01])",a={className:"attribute",begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},n=[a,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:n}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:n}},e.inherit(a,{relevance:0})]}}),gr)),Nl.registerLanguage("hy",(Cr||(Cr=1,Sr=function(e){var t="a-zA-Z_\\-!.?+*=<>&#'",a="["+t+"]["+t+"0-9/;:]*",n={$pattern:a,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},r={begin:a,relevance:0},i={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},u={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},c={className:"comment",begin:"\\^"+a},_=e.COMMENT("\\^\\{","\\}"),d={className:"symbol",begin:"[:]{1,2}"+a},p={begin:"\\(",end:"\\)"},m={endsWithParent:!0,relevance:0},E={className:"name",relevance:0,keywords:n,begin:a,starts:m},g=[p,o,c,_,s,d,u,i,l,r];return p.contains=[e.COMMENT("comment",""),E,m],m.contains=g,u.contains=g,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),p,o,c,_,s,d,u,i,l]}}),Sr)),Nl.registerLanguage("inform7",Tr?br:(Tr=1,br=function(e){return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:"\\[",end:"\\]"}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:"\\[",end:"\\]",contains:["self"]}]}})),Nl.registerLanguage("ini",(fr||(fr=1,Ar=function(e){var t=e.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},n=e.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];var r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[n,i,r,o,a,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[n,s,i,r,o,a]}}]}}),Ar)),Nl.registerLanguage("irpf90",(Rr||(Rr=1,hr=function(e){var t=e.regex,a=/(_[a-z_\d]+)?/,n=/([de][+-]?\d+)?/,r={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,n,a)},{begin:t.concat(/\b\d+/,n,a)},{begin:t.concat(/\.\d+/,n,a)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),r]}}),hr)),Nl.registerLanguage("isbl",(Or||(Or=1,Nr=function(e){var t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",a={className:"number",begin:e.NUMBER_RE,relevance:0},n={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},r={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},i={variants:[{className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,r]},{className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,r]}]},o={$pattern:t,keyword:"and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",built_in:"SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE smHidden smMaximized smMinimized smNormal wmNo wmYes COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID RESULT_VAR_NAME RESULT_VAR_NAME_ENG AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ISBL_SYNTAX NO_SYNTAX XML_SYNTAX WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP atUser atGroup atRole aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty apBegin apEnd alLeft alRight asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways cirCommon cirRevoked ctSignature ctEncode ctSignatureEncode clbUnchecked clbChecked clbGrayed ceISB ceAlways ceNever ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob cfInternal cfDisplay ciUnspecified ciWrite ciRead ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton cctDate cctInteger cctNumeric cctPick cctReference cctString cctText cltInternal cltPrimary cltGUI dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange dssEdit dssInsert dssBrowse dssInActive dftDate dftShortDate dftDateTime dftTimeStamp dotDays dotHours dotMinutes dotSeconds dtkndLocal dtkndUTC arNone arView arEdit arFull ddaView ddaEdit emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ecotFile ecotProcess eaGet eaCopy eaCreate eaCreateStandardRoute edltAll edltNothing edltQuery essmText essmCard esvtLast esvtLastActive esvtSpecified edsfExecutive edsfArchive edstSQLServer edstFile edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile vsDefault vsDesign vsActive vsObsolete etNone etCertificate etPassword etCertificatePassword ecException ecWarning ecInformation estAll estApprovingOnly evtLast evtLastActive evtQuery fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch grhAuto grhX1 grhX2 grhX3 hltText hltRTF hltHTML iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG im8bGrayscale im24bRGB im1bMonochrome itBMP itJPEG itWMF itPNG ikhInformation ikhWarning ikhError ikhNoIcon icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler isShow isHide isByUserSettings jkJob jkNotice jkControlJob jtInner jtLeft jtRight jtFull jtCross lbpAbove lbpBelow lbpLeft lbpRight eltPerConnection eltPerUser sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac sfsItalic sfsStrikeout sfsNormal ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom vtEqual vtGreaterOrEqual vtLessOrEqual vtRange rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth rdWindow rdFile rdPrinter rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument reOnChange reOnChangeValues ttGlobal ttLocal ttUser ttSystem ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal smSelect smLike smCard stNone stAuthenticating stApproving sctString sctStream sstAnsiSort sstNaturalSort svtEqual svtContain soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown tarAbortByUser tarAbortByWorkflowException tvtAllWords tvtExactPhrase tvtAnyWord usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected btAnd btDetailAnd btOr btNotOr btOnly vmView vmSelect vmNavigation vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection wfatPrevious wfatNext wfatCancel wfatFinish wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 wfetQueryParameter wfetText wfetDelimiter wfetLabel wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal waAll waPerformers waManual wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection wiLow wiNormal wiHigh wrtSoft wrtHard wsInit wsRunning wsDone wsControlled wsAborted wsContinued wtmFull wtmFromCurrent wtmOnlyCurrent ",class:"AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",literal:"null true false nil "},s={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:o,relevance:0},l={className:"type",begin:":[ \\t]*("+"IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ".trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},u={className:"variable",keywords:o,begin:t,relevance:0,contains:[l,s]},c="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*\\(";return{name:"ISBL",case_insensitive:!0,keywords:o,illegal:"\\$|\\?|%|,|;$|~|#|@|)?",/~~~/g,2),o={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},s={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},l={className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,a),/\s+/,a,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+i+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},n,s]}},vr}()),Nl.registerLanguage("javascript",function(){if(Fr)return Ir;Fr=1;var e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(i,n,r);return Ir=function(l){var u=l.regex,c=e,_="<>",d="",p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:function(e,t){var a=e[0].length+e.index,n=e.input[a];if("<"!==n&&","!==n){var r;">"===n&&(function(e,t){var a=t.after,n="",k={match:[/const|var|let/,/\s+/,c,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:m,exports:{PARAMS_CONTAINS:v,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,b,T,A,f,h,{match:/\$\d+/},S,F,{className:"attr",begin:c+u.lookahead(":"),relevance:0},k,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[h,l.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:m,contains:v}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_,end:d},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},x,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,l.inherit(l.TITLE_MODE,{begin:c,className:"title.function"})]},{match:/\.\.\./,relevance:0},w,{match:"\\$"+c,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},M,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},I,L,{match:/\$[(.]/}]}},Ir}()),Nl.registerLanguage("jboss-cli",(Mr||(Mr=1,xr=function(e){var t={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"params",begin:/--[\w\-=\/]+/},{className:"function",begin:/:[\w\-.]+/,relevance:0},{className:"string",begin:/\B([\/.])[\w\-.\/=]+/},t]}}),xr)),Nl.registerLanguage("json",(Lr||(Lr=1,wr=function(e){var t=["true","false","null"],a={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,a,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}),wr)),Nl.registerLanguage("julia",(kr||(kr=1,Pr=function(e){var t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",a={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},n={keywords:a,illegal:/<\//},r={className:"subst",begin:/\$\(/,end:/\)/,keywords:a},i={className:"variable",begin:"\\$"+t},o={className:"string",contains:[e.BACKSLASH_ESCAPE,r,i],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},s={className:"string",contains:[e.BACKSLASH_ESCAPE,r,i],begin:"`",end:"`"},l={className:"meta",begin:"@"+t};return n.name="Julia",n.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},o,s,l,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],r.contains=n.contains,n}),Pr)),Nl.registerLanguage("julia-repl",Ur?Br:(Ur=1,Br=function(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}})),Nl.registerLanguage("kotlin",function(){if(Yr)return Gr;Yr=1;var e="[0-9](_*[0-9])*",t="\\.(".concat(e,")"),a="[0-9a-fA-F](_*[0-9a-fA-F])*",n={className:"number",variants:[{begin:"(\\b(".concat(e,")((").concat(t,")|\\.)?|(").concat(t,"))")+"[eE][+-]?(".concat(e,")[fFdD]?\\b")},{begin:"\\b(".concat(e,")((").concat(t,")[fFdD]?\\b|\\.([fFdD]\\b)?)")},{begin:"(".concat(t,")[fFdD]?\\b")},{begin:"\\b(".concat(e,")[fFdD]\\b")},{begin:"\\b0[xX]((".concat(a,")\\.?|(").concat(a,")?\\.(").concat(a,"))")+"[pP][+-]?(".concat(e,")[fFdD]?\\b")},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:"\\b0[xX](".concat(a,")[lL]?\\b")},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};return Gr=function(e){var t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},i={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,i,r]}]};r.contains.push(o);var s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},u=n,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),_={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=_;return d.variants[1].contains=[_],_.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[_,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,s,l,o,e.C_NUMBER_MODE]},c]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},u]}},Gr}()),Nl.registerLanguage("lasso",(Hr||(Hr=1,Vr=function(e){var t="[a-zA-Z_][\\w.]*",a="<\\?(lasso(script)?|=)",n="\\]|\\?>",r={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},i=e.COMMENT("\x3c!--","--\x3e",{relevance:0}),o={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[i]}},s={className:"meta",begin:"\\[/noprocess|"+a},l={className:"symbol",begin:"'"+t+"'"},u=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:r,contains:[{className:"meta",begin:n,relevance:0,starts:{end:"\\[|"+a,returnEnd:!0,relevance:0,contains:[i]}},o,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:r,contains:[{className:"meta",begin:n,relevance:0,starts:{end:"\\[noprocess\\]|"+a,returnEnd:!0,contains:[i]}},o,s].concat(u)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(u)}}),Vr)),Nl.registerLanguage("latex",(zr||(zr=1,qr=function(e){var t,a=e.regex,n=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],r=[{className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:a.either.apply(a,o(["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map((function(e){return e+"(?![a-zA-Z@:_])"}))))},{endsParent:!0,begin:new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map((function(e){return e+"(?![a-zA-Z:_])"})).join("|"))},{endsParent:!0,variants:n},{endsParent:!0,relevance:0,variants:[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}]}]},{className:"params",relevance:0,begin:/#+\d?/},{variants:n},{className:"built_in",relevance:0,begin:/[$&^_]/},{className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},e.COMMENT("%","$",{relevance:0})],i={begin:/\{/,end:/\}/,relevance:0,contains:["self"].concat(r)},s=e.inherit(i,{relevance:0,endsParent:!0,contains:[i].concat(r)}),l={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[i].concat(r)},u={begin:/\s+/,relevance:0},c=[s],_=[l],d=function(e,t){return{contains:[u],starts:{relevance:0,contains:e,starts:t}}},p=function(e,t){return{begin:"\\\\"+e+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+e},relevance:0,contains:[u],starts:t}},m=function(t,a){return e.inherit({begin:"\\\\begin(?=[ \t]*(\\r?\\n[ \t]*)?\\{"+t+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},d(c,a))},E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"string";return e.END_SAME_AS_BEGIN({className:t,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0})},g=function(e){return{className:"string",end:"(?=\\\\end\\{"+e+"\\})"}},D=function(){return{relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"string",end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}},S=[].concat(o(["verb","lstinline"].map((function(e){return p(e,{contains:[E()]})}))),[p("mint",d(c,{contains:[E()]})),p("mintinline",d(c,{contains:[D(),E()]})),p("url",{contains:[D("link"),D("link")]}),p("hyperref",{contains:[D("link")]}),p("href",d(_,{contains:[D("link")]}))],o((t=[]).concat.apply(t,o(["","\\*"].map((function(e){return[m("verbatim"+e,g("verbatim"+e)),m("filecontents"+e,d(c,g("filecontents"+e)))].concat(o(["","B","L"].map((function(t){return m(t+"Verbatim"+e,d(_,g(t+"Verbatim"+e)))}))))}))))),[m("minted",d(_,d(c,g("minted"))))]);return{name:"LaTeX",aliases:["tex"],contains:[].concat(o(S),r)}}),qr)),Nl.registerLanguage("ldif",(Wr||(Wr=1,$r=function(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}),$r)),Nl.registerLanguage("leaf",jr?Qr:(jr=1,Qr=function(e){var t=/([A-Za-z_][A-Za-z_0-9]*)?/,a={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},n={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[a]};return a.contains.unshift(n),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[a]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}})),Nl.registerLanguage("less",function(){if(Zr)return Kr;Zr=1;var e=[].concat(["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"]),t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse(),i=a.concat(n).sort().reverse();return Kr=function(o){var s=function(e){return{IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}}(o),l=i,u="[\\w-]+",c="("+u+"|@\\{"+u+"\\})",_=[],d=[],p=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},m=function(e,t,a){return{className:e,begin:t,relevance:a}},E={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},g={begin:"\\(",end:"\\)",contains:d,keywords:E,relevance:0};d.push(o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,p("'"),p('"'),s.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},s.HEXCOLOR,g,m("variable","@@?"+u,10),m("variable","@\\{"+u+"\\}"),m("built_in","~?`[^`]*?`"),{className:"attribute",begin:u+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},s.IMPORTANT,{beginKeywords:"and not"},s.FUNCTION_DISPATCH);var D=d.concat({begin:/\{/,end:/\}/,contains:_}),S={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(d)},C={begin:c+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:d}}]},b={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:E,returnEnd:!0,contains:d,relevance:0}},T={className:"variable",variants:[{begin:"@"+u+"\\s*:",relevance:15},{begin:"@"+u}],starts:{end:"[;}]",returnEnd:!0,contains:D}},A={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:c,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,S,m("keyword","all\\b"),m("variable","@\\{"+u+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},s.CSS_NUMBER_MODE,m("selector-tag",c,0),m("selector-id","#"+c),m("selector-class","\\."+c,0),m("selector-tag","&",0),s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:D},{begin:"!important"},s.FUNCTION_DISPATCH]},f={begin:u+":(:)?"+"(".concat(l.join("|"),")"),returnBegin:!0,contains:[A]};return _.push(o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,b,T,f,C,A,S,s.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:_}},Kr}()),Nl.registerLanguage("lisp",(Jr||(Jr=1,Xr=function(e){var t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",a="\\|[^]*?\\|",n="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",r={className:"literal",begin:"\\b(t{1}|nil)\\b"},i={className:"number",variants:[{begin:n,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+n+" +"+n,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},u={className:"symbol",begin:"[:&]"+t},c={begin:t,relevance:0},_={begin:a},d={contains:[i,o,l,u,{begin:"\\(",end:"\\)",contains:["self",r,o,i,c]},c],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+a}]},p={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},m={begin:"\\(\\s*",end:"\\)"},E={endsWithParent:!0,relevance:0};return m.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:a}]},E],E.contains=[d,p,m,r,i,o,s,l,u,_,c],{name:"Lisp",illegal:/\S/,contains:[i,e.SHEBANG(),r,o,s,d,p,m,c]}}),Xr)),Nl.registerLanguage("livecodeserver",(ti||(ti=1,ei=function(e){var t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},a=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],n=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),r=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,n]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[r,n],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,n]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,n].concat(a),illegal:";$|^\\[|^=|&|\\{"}}),ei)),Nl.registerLanguage("livescript",function(){if(ni)return ai;ni=1;var e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return ai=function(n){var r={keyword:e.concat(["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"]),literal:t.concat(["yes","no","on","off","it","that","void"]),built_in:a.concat(["npm","print"])},i="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",o=n.inherit(n.TITLE_MODE,{begin:i}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:r},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:r},u=[n.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[n.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,s,l]},{begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,s,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,n.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+i},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=u;var c={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:r,contains:["self"].concat(u)}]},_={variants:[{match:[/class\s+/,i,/\s+extends\s+/,i]},{match:[/class\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r};return{name:"LiveScript",aliases:["ls"],keywords:r,illegal:/\/\*/,contains:u.concat([n.COMMENT("\\/\\*","\\*\\/"),n.HASH_COMMENT_MODE,{begin:"(#=>|=>|\\|>>|-?->|!->)"},{className:"function",contains:[o,c],returnBegin:!0,variants:[{begin:"("+i+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+i+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+i+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},_,{begin:i+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}},ai}()),Nl.registerLanguage("llvm",(ii||(ii=1,ri=function(e){var t=e.regex,a=/([-a-zA-Z$._][\w$.-]*)/,n={className:"variable",variants:[{begin:t.concat(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},r={className:"title",variants:[{begin:t.concat(/@/,a)},{begin:/@\d+/},{begin:t.concat(/!/,a)},{begin:t.concat(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[{className:"type",begin:/\bi\d+(?=\s|\b)/},e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},r,{className:"punctuation",relevance:0,begin:/,/},{className:"operator",relevance:0,begin:/=/},n,{className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},{className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0}]}}),ri)),Nl.registerLanguage("lsl",(si||(si=1,oi=function(e){var t={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},a={className:"number",relevance:0,begin:e.C_NUMBER_RE};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[t,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},a,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},{className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"},{className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}),oi)),Nl.registerLanguage("lua",(ui||(ui=1,li=function(e){var t="\\[=*\\[",a="\\]=*\\]",n={begin:t,end:a,contains:["self"]},r=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,a,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:a,contains:[n],relevance:5}])}}),li)),Nl.registerLanguage("makefile",(_i||(_i=1,ci=function(e){var t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<&|_`'^?!%]+/},{className:"brace",relevance:0,begin:/[[\](){}]/}]}},di}()),Nl.registerLanguage("matlab",(Ei||(Ei=1,mi=function(e){var t="('|\\.')+",a={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:a},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:a},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:a},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:a},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}),mi)),Nl.registerLanguage("maxima",(Di||(Di=1,gi=function(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}),gi)),Nl.registerLanguage("mel",(Ci||(Ci=1,Si=function(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]},t,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},e.NUMBER_MODE,a,n,{begin:/:-/},{begin:/\.$/}]}}),bi)),Nl.registerLanguage("mipsasm",(fi||(fi=1,Ai=function(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}),Ai)),Nl.registerLanguage("mizar",(Ri||(Ri=1,hi=function(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}),hi)),Nl.registerLanguage("perl",(Oi||(Oi=1,Ni=function(e){var t=e.regex,a=/[dualxmsipngr]{0,12}/,n={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},r={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},i={begin:/->\{/,end:/\}/},o={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},s={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[o]},l={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,r,s],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],_=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"\\1",i="\\1"===r?r:t.concat(r,n);return t.concat(t.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,r,a)},d=function(e,n,r){return t.concat(t.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,r,a)},p=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),i,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:_("s|tr|y",t.either.apply(t,c.concat([{capture:!0}])))},{begin:_("s|tr|y","\\(","\\)")},{begin:_("s|tr|y","\\[","\\]")},{begin:_("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",t.either.apply(t,c.concat([{capture:!0}])),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return r.contains=p,i.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:p}}),Ni)),Nl.registerLanguage("mojolicious",yi?vi:(yi=1,vi=function(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}})),Nl.registerLanguage("monkey",(Fi||(Fi=1,Ii=function(e){var t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},a={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},n={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),a,n,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}),Ii)),Nl.registerLanguage("moonscript",(Mi||(Mi=1,xi=function(e){var t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},a="[A-Za-z$_][0-9A-Za-z$_]*",n={className:"subst",begin:/#\{/,end:/\}/,keywords:t},r=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];n.contains=r;var i=e.inherit(e.TITLE_MODE,{begin:a}),o="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(r)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:r.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+a+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[i,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[i]},i]},{className:"name",begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}),xi)),Nl.registerLanguage("n1ql",(Li||(Li=1,wi=function(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}),wi)),Nl.registerLanguage("nestedtext",(ki||(ki=1,Pi=function(e){return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),{variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}},{match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},{match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},{match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}}]}}),Pi)),Nl.registerLanguage("nginx",(Ui||(Ui=1,Bi=function(e){var t=e.regex,a={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},n={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[a]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},a]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:n.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:n}],relevance:0}],illegal:"[^\\s\\}\\{]"}}),Bi)),Nl.registerLanguage("nim",(Yi||(Yi=1,Gi=function(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}),Gi)),Nl.registerLanguage("nix",(Hi||(Hi=1,Vi=function(e){var t={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},a={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},n={className:"string",contains:[{className:"char.escape",begin:/''\$/},a],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},r=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]}];return a.contains=r,{name:"Nix",aliases:["nixos"],keywords:t,contains:r}}),Vi)),Nl.registerLanguage("node-repl",zi?qi:(zi=1,qi=function(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}})),Nl.registerLanguage("nsis",(Wi||(Wi=1,$i=function(e){var t=e.regex,a={className:"variable.constant",begin:t.concat(/\$/,t.either.apply(t,["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"]))},n={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},r={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},i={className:"variable",begin:/\$+\([\w^.:!-]+\)/},o={className:"params",begin:t.either.apply(t,["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"])},s={className:"keyword",begin:t.concat(/!/,t.either.apply(t,["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"]))},l={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[{className:"char.escape",begin:/\$(\\[nrt]|\$)/},a,n,r,i]},u={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},c={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],literal:["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"]},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),c,u,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},l,s,n,r,i,o,{className:"title.function",begin:/\w+::\w+/},e.NUMBER_MODE]}}),$i)),Nl.registerLanguage("objectivec",(ji||(ji=1,Qi=function(e){var t=/[a-zA-Z@][a-zA-Z0-9_]*/,a={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+a.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:a,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}),Qi)),Nl.registerLanguage("ocaml",(Zi||(Zi=1,Ki=function(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}),Ki)),Nl.registerLanguage("openscad",(Ji||(Ji=1,Xi=function(e){var t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[{className:"params",begin:"\\(",end:"\\)",contains:["self",a,n,t,{className:"literal",begin:"false|true|PI|undef"}]},e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},n,t,{begin:"[*!#%]",relevance:0},r]}}),Xi)),Nl.registerLanguage("oxygene",(to||(to=1,eo=function(e){var t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},a=e.COMMENT(/\{/,/\}/,{relevance:0}),n=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),r={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},i={className:"string",begin:"(#\\d+)+"},o={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[r,i]},a,n]};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[a,n,e.C_LINE_COMMENT_MODE,r,i,e.NUMBER_MODE,o,{scope:"punctuation",match:/;/,relevance:0}]}}),eo)),Nl.registerLanguage("parser3",(no||(no=1,ao=function(e){var t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}),ao)),Nl.registerLanguage("pf",(io||(io=1,ro=function(e){return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},{className:"variable",begin:/<(?!\/)/,end:/>/}]}}),ro)),Nl.registerLanguage("pgsql",(so||(so=1,oo=function(e){var t=e.COMMENT("--","$"),a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",n="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",r=n.trim().split(" ").map((function(e){return e.split("|")[0]})).join("|"),i="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map((function(e){return e.split("|")[0]})).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:"ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",built_in:"CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED "},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+i+")\\s*\\("},{begin:"\\.("+r+")\\b"},{begin:"\\b("+r+")\\s+PATH\\b",keywords:{keyword:"PATH",type:n.replace("PATH ","")}},{className:"type",begin:"\\b("+r+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:a,end:a,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:"<<\\s*[a-zA-Z_][a-zA-Z_0-9$]*\\s*>>",relevance:10}]}}),oo)),Nl.registerLanguage("php",(uo||(uo=1,lo=function(e){var t,a,n=e.regex,r=/(?![A-Za-z0-9])(?![$])/,i=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),o=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),s={scope:"variable",match:"\\$+"+i},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},u=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c="[ \t\n]",_={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),u,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":function(e,t){t.data._beginMatch=e[1]||e[2]},"on:end":function(e,t){t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},d={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},p=["false","null","true"],m=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],E=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],g={keyword:m,literal:(t=p,a=[],t.forEach((function(e){a.push(e),e.toLowerCase()===e?a.push(e.toUpperCase()):a.push(e.toLowerCase())})),a),built_in:E},D=function(e){return e.map((function(e){return e.replace(/\|\d+$/,"")}))},S={variants:[{match:[/new/,n.concat(c,"+"),n.concat("(?!",D(E).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},C=n.concat(i,"\\b(?!\\()"),b={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),C],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,n.concat(/::/,n.lookahead(/(?!class\b)/)),C],scope:{1:"title.class",3:"variable.constant"}},{match:[o,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},T={scope:"attr",match:n.concat(i,n.lookahead(":"),n.lookahead(/(?!::)/))},A={relevance:0,begin:/\(/,end:/\)/,keywords:g,contains:[T,s,b,e.C_BLOCK_COMMENT_MODE,_,d,S]},f={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",D(m).join("\\b|"),"|",D(E).join("\\b|"),"\\b)"),i,n.concat(c,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[A]};A.contains.push(f);var h=[T,b,e.C_BLOCK_COMMENT_MODE,_,d,S];return{case_insensitive:!1,keywords:g,contains:[{begin:n.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:p,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:p,keyword:["new","array"]},contains:["self"].concat(h)}].concat(h,[{scope:"meta",match:o}])},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},s,f,b,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},S,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:g,contains:["self",s,b,e.C_BLOCK_COMMENT_MODE,_,d]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},_,d]}}),lo)),Nl.registerLanguage("php-template",(_o||(_o=1,co=function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}),co)),Nl.registerLanguage("plaintext",mo?po:(mo=1,po=function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}})),Nl.registerLanguage("pony",(go||(go=1,Eo=function(e){return{name:"Pony",keywords:{keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},contains:[{className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},{begin:e.IDENT_RE+"'",relevance:0},{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}),Eo)),Nl.registerLanguage("powershell",(So||(So=1,Do=function(e){var t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},a={begin:"`[\\s\\S]",relevance:0},n={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},r={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,n,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},i={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},o=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),s={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},u={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[n]}]},c={begin:/using\s/,end:/$/,returnBegin:!0,contains:[r,i,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},_={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},d={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},p=[d,o,a,e.NUMBER_MODE,r,i,s,n,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],m={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",p,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return d.contains.unshift(m),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:t,contains:p.concat(l,u,c,_,m)}}),Do)),Nl.registerLanguage("processing",(bo||(bo=1,Co=function(e){var t=e.regex,a=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],n=e.IDENT_RE,r={variants:[{match:t.concat(t.either.apply(t,a),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,n,t.lookahead(/\s*\(/)),className:"title.function"}]},i={match:[/new\s+/,n],className:{1:"keyword",2:"class.title"}},o={relevance:0,match:[/\./,n],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,n]},{match:[/class/,/\s+/,n]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}};return{name:"Processing",aliases:["pde"],keywords:{keyword:[].concat(["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]),literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[].concat(a,["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"]),type:["boolean","byte","char","color","double","float","int","long","short"]},contains:[s,i,r,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}),Co)),Nl.registerLanguage("profile",(Ao||(Ao=1,To=function(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}),To)),Nl.registerLanguage("prolog",(ho||(ho=1,fo=function(e){var t={begin:/\(/,end:/\)/,relevance:0},a={begin:/\[/,end:/\]/},n={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},r={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},i=[{begin:/[a-z][A-Za-z0-9_]*/,relevance:0},{className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},t,{begin:/:-/},a,n,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,r,{className:"string",begin:/0'(\\'|.)/},{className:"string",begin:/0'\\s/},e.C_NUMBER_MODE];return t.contains=i,a.contains=i,{name:"Prolog",contains:i.concat([{begin:/\.$/}])}}),fo)),Nl.registerLanguage("properties",(No||(No=1,Ro=function(e){var t="[ \\t\\f]*",a=t+"[:=]"+t,n="[ \\t\\f]+",r="([^\\\\:= \\t\\f\\n]|\\\\.)+",i={end:"("+a+"|"+n+")",relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:r+a},{begin:r+n}],contains:[{className:"attr",begin:r,endsParent:!0}],starts:i},{className:"attr",begin:r+t+"$"}]}}),Ro)),Nl.registerLanguage("protobuf",(vo||(vo=1,Oo=function(e){var t={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:["package","import","option","optional","required","repeated","group","oneof"],type:["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}),Oo)),Nl.registerLanguage("puppet",(Io||(Io=1,yo=function(e){var t=e.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",n=e.inherit(e.TITLE_MODE,{begin:a}),r={className:"variable",begin:"\\$"+a},i={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[t,r,i,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[n,t]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:{keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[i,t,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},r]}],relevance:0}]}}),yo)),Nl.registerLanguage("purebasic",(xo||(xo=1,Fo=function(e){return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},{className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},{className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"}]}}),Fo)),Nl.registerLanguage("python",(wo||(wo=1,Mo=function(e){var t=e.regex,a=/(?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFC5D\uFC64-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDF9\uFE71\uFE73\uFE77\uFE79\uFE7B\uFE7D\uFE7F-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037B-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFC5D\uFC64-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDF9\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE71\uFE73\uFE77\uFE79\uFE7B\uFE7D\uFE7F-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF65-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDD40-\uDD65\uDD69-\uDD6D\uDD6F-\uDD85\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEC2-\uDEC4\uDEFC-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7-\uDFC0\uDFC2\uDFC5\uDFC7-\uDFCA\uDFCC-\uDFD3\uDFE1\uDFE2]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDF50-\uDF5A\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDCF0-\uDCF9\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAE\uDEC0-\uDEF9]|\uD839[\uDCD0-\uDCF9\uDDD0-\uDDFA\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])*/,n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:r,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},u="[0-9](_?[0-9])*",c="(\\b(".concat(u,"))?\\.(").concat(u,")|\\b(").concat(u,")\\."),_="\\b|".concat(n.join("|")),d={className:"number",relevance:0,variants:[{begin:"(\\b(".concat(u,")|(").concat(c,"))[eE][+-]?(").concat(u,")[jJ]?(?=").concat(_,")")},{begin:"(".concat(c,")[jJ]?")},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=".concat(_,")")},{begin:"\\b0[bB](_?[01])+[lL]?(?=".concat(_,")")},{begin:"\\b0[oO](_?[0-7])+[lL]?(?=".concat(_,")")},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=".concat(_,")")},{begin:"\\b(".concat(u,")[jJ](?=").concat(_,")")}]},p={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:r,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:["self",i,d,l,e.HASH_COMMENT_MODE]}]};return o.contains=[l,d,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:r,illegal:/(<\/|\?)|=>/,contains:[i,d,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[d,m,l]}]}}),Mo)),Nl.registerLanguage("python-repl",Po?Lo:(Po=1,Lo=function(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}})),Nl.registerLanguage("q",(Bo||(Bo=1,ko=function(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}),ko)),Nl.registerLanguage("qml",(Go||(Go=1,Uo=function(e){var t="[a-zA-Z_][a-zA-Z0-9\\._]*",a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:t,returnEnd:!1}},n={begin:t+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:t,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},r={begin:e.regex.concat(t,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:{keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},{className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,n,r],illegal:/#/}}),Uo)),Nl.registerLanguage("r",(Vo||(Vo=1,Yo=function(e){var t=e.regex,a=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:a,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:a},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[i,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[a,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}),Yo)),Nl.registerLanguage("reasonml",(qo||(qo=1,Ho=function(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}),Ho)),Nl.registerLanguage("rib",($o||($o=1,zo=function(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),r,i,n,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[r,i,n,{className:"literal",begin:"\\b("+a.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+"add remove enable disable set get print export edit find run debug error info warning".split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+"traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw".split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}),jo)),Nl.registerLanguage("rsl",(Xo||(Xo=1,Zo=function(e){var t={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:["while","for","if","do","return","else","break","extern","continue"],built_in:["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],type:["matrix","float","color","point","normal","vector"]},illegal:""},i]}}),ts)),Nl.registerLanguage("sas",(rs||(rs=1,ns=function(e){var t=e.regex;return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"]},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either.apply(t,["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"])},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either.apply(t,["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"])+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}),ns)),Nl.registerLanguage("scala",(os||(os=1,is=function(e){var t=e.regex,a={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},n={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,a]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[a],relevance:10}]},r={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},i={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},o={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i]},s={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[i]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r,s,o,e.C_NUMBER_MODE,{begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},{begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}}].concat([{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],[{begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}},{className:"meta",begin:"@[A-Za-z]+"}])}}),is)),Nl.registerLanguage("scheme",(ls||(ls=1,ss=function(e){var t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",a="(-|\\+)?\\d+([./]\\d+)?",n={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},r={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},i={className:"number",variants:[{begin:a,relevance:0},{begin:a+"[+\\-]"+a+"i",relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},o=e.QUOTE_STRING_MODE,s=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],l={begin:t,relevance:0},u={className:"symbol",begin:"'"+t},c={endsWithParent:!0,relevance:0},_={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",r,o,i,l,u]}]},d={className:"name",relevance:0,begin:t,keywords:n},p={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[d,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[l]}]},d,c]};return c.contains=[r,i,o,l,u,_,p].concat(s),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),i,o,u,_,p].concat(s)}}),ss)),Nl.registerLanguage("scilab",(cs||(cs=1,us=function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'|\"",end:"'|\"",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}),us)),Nl.registerLanguage("scss",function(){if(ds)return _s;ds=1;var e=[].concat(["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"]),t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();return _s=function(i){var o=function(e){return{IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}}(i),s=n,l=a,u="@[a-z-]+",c={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,o.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},o.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+l.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+s.join("|")+")"},c,{begin:/\(/,end:/\)/,contains:[o.CSS_NUMBER_MODE]},o.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[o.BLOCK_COMMENT,c,o.HEXCOLOR,o.CSS_NUMBER_MODE,i.QUOTE_STRING_MODE,i.APOS_STRING_MODE,o.IMPORTANT,o.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:u,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[{begin:u,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},c,i.QUOTE_STRING_MODE,i.APOS_STRING_MODE,o.HEXCOLOR,o.CSS_NUMBER_MODE]},o.FUNCTION_DISPATCH]}},_s}()),Nl.registerLanguage("shell",ms?ps:(ms=1,ps=function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}})),Nl.registerLanguage("smali",(gs||(gs=1,Es=function(e){var t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"].join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"].join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{begin:"[vp][0-9]+"}]}}),Es)),Nl.registerLanguage("smalltalk",(Ss||(Ss=1,Ds=function(e){var t="[a-z][a-zA-Z0-9_]*",a={className:"string",begin:"\\$.{1}"},n={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,n,a,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,a,e.C_NUMBER_MODE,n]}]}}),Ds)),Nl.registerLanguage("sml",(bs||(bs=1,Cs=function(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}),Cs)),Nl.registerLanguage("sqf",(As||(As=1,Ts=function(e){var t={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},a={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(t,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],built_in:["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],literal:["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,{className:"variable",begin:/\b_+[a-zA-Z]\w*/},{className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},t,a],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}),Ts)),Nl.registerLanguage("sql",(hs||(hs=1,fs=function(e){var t=e.regex,a=e.COMMENT("--","$"),n=["true","false","unknown"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],i=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],o=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],s=i,l=[].concat(["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],["add","asc","collation","desc","final","first","last","view"]).filter((function(e){return!i.includes(e)})),u={begin:t.concat(/\b/,t.either.apply(t,s),/\s*\(/),relevance:0,keywords:{built_in:s}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.exceptions,n=t.when;return a=a||[],e.map((function(e){return e.match(/\|\d+$/)||a.includes(e)?e:n(e)?"".concat(e,"|0"):e}))}(l,{when:function(e){return e.length<3}}),literal:n,type:r,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:t.either.apply(t,o),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:l.concat(o),literal:n,type:r}},{className:"type",begin:t.either.apply(t,["double precision","large object","with timezone","without timezone"])},u,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}),fs)),Nl.registerLanguage("stan",(Ns||(Ns=1,Rs=function(e){var t=e.regex,a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],n=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),r={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},i=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:["functions","model","data","parameters","quantities","transformed","generated"],type:["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],keyword:["for","in","if","else","while","break","continue","return"],built_in:["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"]},contains:[e.C_LINE_COMMENT_MODE,r,e.HASH_COMMENT_MODE,n,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either.apply(t,i),/\s*=/),keywords:i},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either.apply(t,a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:t.concat(/\w*/,t.either.apply(t,a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either.apply(t,a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either.apply(t,a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}),Rs)),Nl.registerLanguage("stata",(vs||(vs=1,Os=function(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:'`"[^\r\n]*?"\''},{begin:'"[^\r\n"]*"'}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ \t]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}),Os)),Nl.registerLanguage("step21",(Is||(Is=1,ys=function(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}),ys)),Nl.registerLanguage("stylus",function(){if(xs)return Fs;xs=1;var e=[].concat(["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"]),t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();return Fs=function(i){var o=function(e){return{IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}}(i),s={className:"variable",begin:"\\$"+i.IDENT_RE},l="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[i.QUOTE_STRING_MODE,i.APOS_STRING_MODE,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,o.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+l,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+l,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+l,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+a.join("|")+")"+l},{className:"selector-pseudo",begin:"&?:(:)?("+n.join("|")+")"+l},o.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[o.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"].join("|")+"))\\b"},s,o.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[o.HEXCOLOR,s,i.APOS_STRING_MODE,o.CSS_NUMBER_MODE,i.QUOTE_STRING_MODE]}]},o.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",starts:{end:/;|$/,contains:[o.HEXCOLOR,s,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,o.CSS_NUMBER_MODE,i.C_BLOCK_COMMENT_MODE,o.IMPORTANT,o.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},o.FUNCTION_DISPATCH]}},Fs}()),Nl.registerLanguage("subunit",ws?Ms:(ws=1,Ms=function(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:"\\[\n(multipart)?",end:"\\]\n"},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}})),Nl.registerLanguage("swift",function(){if(Ps)return Ls;function e(e){return e?"string"==typeof e?e:e.source:null}function t(e){return a("(?=",e,")")}function a(){for(var t=arguments.length,a=new Array(t),n=0;n&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=n(E,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),D=a(E,g,"*"),S=n(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),C=n(S,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),b=a(S,C,"*"),T=a(/[A-Z]/,C,"*"),A=["attached","autoclosure",a(/convention\(/,n("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",a(/objc\(/,b,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],f=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];return Ls=function(e){var E={match:/\s+/,relevance:0},S=e.COMMENT("/\\*","\\*/",{contains:["self"]}),h=[e.C_LINE_COMMENT_MODE,S],R={match:[/\./,n.apply(void 0,o(i).concat(o(l)))],className:{2:"keyword"}},N={match:a(/\./,n.apply(void 0,c)),relevance:0},O=c.filter((function(e){return"string"==typeof e})).concat(["_|0"]),v=c.filter((function(e){return"string"!=typeof e})).concat(u).map(r),y={variants:[{className:"keyword",match:n.apply(void 0,o(v).concat(o(l)))}]},I={$pattern:n(/\b\w+/,/#\w+/),keyword:O.concat(p),literal:_},F=[R,N,y],x=[{match:a(/\./,n.apply(void 0,m)),relevance:0},{className:"built_in",match:a(/\b/,n.apply(void 0,m),/(?=\()/)}],M={match:/->/,relevance:0},w=[M,{className:"operator",relevance:0,variants:[{match:D},{match:"\\.(\\.|".concat(g,")+")}]}],L="([0-9]_*)+",P="([0-9a-fA-F]_*)+",k={className:"number",relevance:0,variants:[{match:"\\b(".concat(L,")(\\.(").concat(L,"))?")+"([eE][+-]?(".concat(L,"))?\\b")},{match:"\\b0x(".concat(P,")(\\.(").concat(P,"))?")+"([pP][+-]?(".concat(L,"))?\\b")},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{className:"subst",variants:[{match:a(/\\/,e,/[0\\tnr"']/)},{match:a(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}},U=function(){return{className:"subst",match:a(/\\/,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",/[\t ]*(?:[\r\n]|\r\n)/)}},G=function(){return{className:"subst",label:"interpol",begin:a(/\\/,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",/\(/),end:/\)/}},Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{begin:a(e,/"""/),end:a(/"""/,e),contains:[B(e),U(e),G(e)]}},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{begin:a(e,/"/),end:a(/"/,e),contains:[B(e),G(e)]}},H={className:"string",variants:[Y(),Y("#"),Y("##"),Y("###"),V(),V("#"),V("##"),V("###")]},q=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],z={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:q},$=function(e){var t=a(e,/\//),n=a(/\//,e);return{begin:t,end:n,contains:[].concat(q,[{scope:"comment",begin:"#(?!.*".concat(n,")"),end:/$/}])}},W={scope:"regexp",variants:[$("###"),$("##"),$("#"),z]},Q={match:a(/`/,b,/`/)},j=[Q,{className:"variable",match:/\$\d+/},{className:"variable",match:"\\$".concat(C,"+")}],K=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:f,contains:[].concat(w,[k,H])}]}},{scope:"keyword",match:a(/@/,n.apply(void 0,A),t(n(/\(/,/\s+/)))},{scope:"meta",match:a(/@/,b)}],Z={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:a(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,C,"+")},{className:"type",match:T,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:a(/\s+&\s+/,t(T)),relevance:0}]},X={begin://,keywords:I,contains:[].concat(h,F,K,[M,Z])};Z.contains.push(X);var J,ee={begin:/\(/,end:/\)/,relevance:0,keywords:I,contains:["self",{match:a(b,/\s*:/),keywords:"_|0",relevance:0}].concat(h,[W],F,x,w,[k,H],j,K,[Z])},te={begin://,keywords:"repeat each",contains:[].concat(h,[Z])},ae={begin:/\(/,end:/\)/,keywords:I,contains:[{begin:n(t(a(b,/\s*:/)),t(a(b,/\s+/,b,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:b}]}].concat(h,F,w,[k,H],K,[Z,ee]),endsParent:!0,illegal:/["']/},ne={match:[/(func|macro)/,/\s+/,n(Q.match,b,D)],className:{1:"keyword",3:"title.function"},contains:[te,ae,E],illegal:[/\[/,/%/]},re={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[te,ae,E],illegal:/\[|%/},ie={match:[/operator/,/\s+/,D],className:{1:"keyword",3:"title"}},oe={begin:[/precedencegroup/,/\s+/,T],className:{1:"keyword",3:"title"},contains:[Z],keywords:[].concat(d,_),end:/}/},se={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,b,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:I,contains:[te].concat(F,[{begin:/:/,end:/\{/,keywords:I,contains:[{scope:"title.class.inherited",match:T}].concat(F),relevance:0}])},le=s(H.variants);try{for(le.s();!(J=le.n()).done;){var ue=J.value.contains.find((function(e){return"interpol"===e.label}));ue.keywords=I;var ce=[].concat(F,x,w,[k,H],j);ue.contains=[].concat(o(ce),[{begin:/\(/,end:/\)/,contains:["self"].concat(o(ce))}])}}catch(_e){le.e(_e)}finally{le.f()}return{name:"Swift",keywords:I,contains:[].concat(h,[ne,re,se,ie,oe,{beginKeywords:"import",end:/$/,contains:[].concat(h),relevance:0},W],F,x,w,[k,H],j,K,[Z,ee])}},Ls}()),Nl.registerLanguage("taggerscript",Bs?ks:(Bs=1,ks=function(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}})),Nl.registerLanguage("yaml",(Gs||(Gs=1,Us=function(e){var t="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},r=e.inherit(n,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},o={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[o],illegal:"\\n",relevance:0},l={begin:"\\[",end:"\\]",contains:[o],illegal:"\\n",relevance:0},u=[{className:"attr",variants:[{begin:/\w[\w :()\./-]*:(?=[ \t]|$)/},{begin:/"\w[\w :()\./-]*":(?=[ \t]|$)/},{begin:/'\w[\w :()\./-]*':(?=[ \t]|$)/}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},i,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,n],c=[].concat(u);return c.pop(),c.push(r),o.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:u}}),Us)),Nl.registerLanguage("tap",(Vs||(Vs=1,Ys=function(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}),Ys)),Nl.registerLanguage("tcl",(qs||(qs=1,Hs=function(e){var t=e.regex,a=/[a-zA-Z_][a-zA-Z0-9_]*/,n={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),a,"(::",a,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[n]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n]}}),Hs)),Nl.registerLanguage("thrift",($s||($s=1,zs=function(e){var t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[].concat(t,["set","list","map"])},end:">",contains:["self"]}]}}),zs)),Nl.registerLanguage("tp",(Qs||(Qs=1,Ws=function(e){var t={className:"number",begin:"[1-9][0-9]*",relevance:0},a={className:"symbol",begin:":[^\\]]+"};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[{className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,a]},{className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,a]},{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}),Ws)),Nl.registerLanguage("twig",(Ks||(Ks=1,js=function(e){var t=e.regex,a=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],n=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];n=n.concat(n.map((function(e){return"end".concat(e)})));var r={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},i={scope:"number",match:/\d+/},s={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[r,i]},l={beginKeywords:a.join(" "),keywords:{name:a},relevance:0,contains:[s]},u={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"]}]},c=function(e,a){return{beginScope:{1:"template-tag",3:"name"},relevance:a.relevance||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either.apply(t,o(e))],end:/%\}/,keywords:"in",contains:[u,l,r,i]}},_=c(n,{relevance:2}),d=c([/[a-z_]+/],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),_,d,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",u,l,r,i]}]}}),js)),Nl.registerLanguage("typescript",function(){if(Xs)return Zs;Xs=1;var e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(i,n,r);function l(l){var u=l.regex,c=e,_="<>",d="",p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:function(e,t){var a=e[0].length+e.index,n=e.input[a];if("<"!==n&&","!==n){var r;">"===n&&(function(e,t){var a=t.after,n="",k={match:[/const|var|let/,/\s+/,c,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:m,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:I},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,b,T,A,f,h,{match:/\$\d+/},S,I,{className:"attr",begin:c+u.lookahead(":"),relevance:0},k,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[h,l.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:m,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_,end:d},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},F,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[v,l.inherit(l.TITLE_MODE,{begin:c,className:"title.function"})]},{match:/\.\.\./,relevance:0},w,{match:"\\$"+c,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[v]},M,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},y,L,{match:/\$[(.]/}]}}return Zs=function(n){var r=l(n),i=e,u=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],c={begin:[/namespace/,/\s+/,n.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},_={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:u},contains:[r.exports.CLASS_REFERENCE]},d={$pattern:e,keyword:t.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:a,built_in:s.concat(u),"variable.language":o},p={className:"meta",begin:"@"+i},m=function(e,t,a){var n=e.contains.findIndex((function(e){return e.label===t}));if(-1===n)throw new Error("can not find mode to replace");e.contains.splice(n,1,a)};Object.assign(r.keywords,d),r.exports.PARAMS_CONTAINS.push(p);var E=r.contains.find((function(e){return"attr"===e.className}));return r.exports.PARAMS_CONTAINS.push([r.exports.CLASS_REFERENCE,E]),r.contains=r.contains.concat([p,c,_]),m(r,"shebang",n.SHEBANG()),m(r,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),r.contains.find((function(e){return"func.def"===e.label})).relevance=0,Object.assign(r,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),r},Zs}()),Nl.registerLanguage("vala",(el||(el=1,Js=function(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}),Js)),Nl.registerLanguage("vbnet",(al||(al=1,tl=function(e){var t=e.regex,a=/\d{1,2}\/\d{1,2}\/\d{4}/,n=/\d{4}-\d{1,2}-\d{1,2}/,r=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,i=/\d{1,2}(:\d{1,2}){1,2}/,o={className:"literal",variants:[{begin:t.concat(/# */,t.either(n,a),/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,r,/ *#/)},{begin:t.concat(/# */,t.either(n,a),/ +/,t.either(r,i),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}}),tl)),Nl.registerLanguage("vbscript",(rl||(rl=1,nl=function(e){var t=e.regex,a=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"];return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[{begin:t.concat(t.either.apply(t,a),"\\s*\\("),relevance:0,keywords:{built_in:a}},e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}),nl)),Nl.registerLanguage("vbscript-html",ol?il:(ol=1,il=function(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}})),Nl.registerLanguage("verilog",(ll||(ll=1,sl=function(e){var t=e.regex,a=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either.apply(t,["__FILE__","__LINE__"]))},{scope:"meta",begin:t.concat(/`/,t.either.apply(t,a)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:a}]}}),sl)),Nl.registerLanguage("vhdl",(cl||(cl=1,ul=function(e){var t="\\d(_|\\d)*",a="[eE][-+]?"+t,n="\\b("+t+"#\\w+(\\.\\w+)?#("+a+")?|"+t+"(\\."+t+")?("+a+")?)";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:n,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}),ul)),Nl.registerLanguage("vim",(dl||(dl=1,_l=function(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}),_l)),Nl.registerLanguage("wasm",(ml||(ml=1,pl=function(e){e.regex;var t=e.COMMENT(/\(;/,/;\)/);return t.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}}),pl)),Nl.registerLanguage("wren",(gl||(gl=1,El=function(e){var t=e.regex,a=/[a-zA-Z]\w*/,n=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],r=["true","false","null"],i=["this","super"],o=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],s={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,a,/(?=\s*[({])/),className:"title.function"},l={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,a),t.either.apply(t,o)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:a}]}]}},u={variants:[{match:[/class\s+/,a,/\s+is\s+/,a]},{match:[/class\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:n},c={relevance:0,match:t.either.apply(t,o),className:"operator"},_={className:"property",begin:t.concat(/\./,t.lookahead(a)),end:a,excludeBegin:!0,relevance:0},d={relevance:0,match:t.concat(/\b_/,a),scope:"variable"},p={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"]}},m=e.C_NUMBER_MODE,E={match:[a,/\s*/,/=/,/\s*/,/\(/,a,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},g=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),D={scope:"subst",begin:/%\(/,end:/\)/,contains:[m,p,s,d,c]},S={scope:"string",begin:/"/,end:/"/,contains:[D,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};D.contains.push(S);var C=[].concat(n,i,r),b={relevance:0,match:t.concat("\\b(?!",C.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:n,"variable.language":i,literal:r},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:r},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},m,S,{className:"string",begin:/"""/,end:/"""/},g,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,u,E,l,s,c,d,_,b]}}),El)),Nl.registerLanguage("x86asm",(Sl||(Sl=1,Dl=function(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}),Dl)),Nl.registerLanguage("xl",(bl||(bl=1,Cl=function(e){var t={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],literal:["true","false","nil"],built_in:["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"].concat(["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"])},a={className:"string",begin:'"',end:'"',illegal:"\\n"},n={beginKeywords:"import",end:"$",keywords:t,contains:[a]},r={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:t}})]};return{name:"XL",aliases:["tao"],keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:"<<",end:">>"},r,n,{className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},e.NUMBER_MODE]}}),Cl)),Nl.registerLanguage("xquery",Al?Tl:(Al=1,Tl=function(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}})),Nl.registerLanguage("zephir",(hl||(hl=1,fl=function(e){var t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},a=e.UNDERSCORE_TITLE_MODE,n={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},r="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:r,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[a,{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:["self",e.C_BLOCK_COMMENT_MODE,t,n]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},a]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[a]},{beginKeywords:"use",end:/;/,contains:[a]},{begin:/=>/},t,n]}}),fl)),Nl.HighlightJS=Nl,Nl.default=Nl;var Ol=i(Nl),vl=["id"];a("default",{__name:"previewCodeDialg",props:{previewCode:{type:Object,default:function(){return{}}}},setup:function(e,t){var a=t.expose,n=e,r=l("");d((function(){for(var e in le.setOptions({renderer:new le.Renderer,highlight:function(e){return Ol.highlightAuto(e).value},pedantic:!1,gfm:!0,tables:!0,breaks:!1,sanitize:!1,smartLists:!0,smartypants:!1,xhtml:!1,langPrefix:"hljs language-"}),n.previewCode)""===r.value&&(r.value=e),document.getElementById(e).innerHTML=le(n.previewCode[e])}));return a({copy:function(){!function(){var e=document.getElementById(r.value);if(document.body.createTextRange){var t=document.body.createTextRange();t.moveToElementText(e),t.select()}else if(window.getSelection){var a=window.getSelection(),n=document.createRange();n.selectNodeContents(e),a.removeAllRanges(),a.addRange(n)}else alert("none")}(),document.execCommand("copy"),A.success("复制成功")}}),function(t,a){var n=f,i=h;return m(),g(i,{modelValue:r.value,"onUpdate:modelValue":a[0]||(a[0]=function(e){return r.value=e})},{default:D((function(){return[(m(!0),S(C,null,b(e.previewCode,(function(e,t){return m(),g(n,{key:t,label:t,name:t},{default:D((function(){return[T("div",{id:t,class:"h-[50vh] bg-white px-5 overflow-y-scroll"},null,8,vl)]})),_:2},1032,["label","name"])})),128))]})),_:1},8,["modelValue"])}}})}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg.css new file mode 100644 index 000000000..02407c700 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#98c379}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg.js new file mode 100644 index 000000000..d3d2361ef --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0previewCodeDialg.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +var e=Object.defineProperty;import{W as t,a,P as n,o as r,h as i,w as o,c as s,K as l,L as c,b as _,j as d}from"./087AC4D233B64EB0index.js";import{E as p,a as m}from"./087AC4D233B64EB0tab-pane.js";import"./087AC4D233B64EB0strings.js";function u(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let g={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const E=/[&<>"']/,S=new RegExp(E.source,"g"),b=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,T=new RegExp(b.source,"g"),f={"&":"&","<":"<",">":">",'"':""","'":"'"},C=e=>f[e];function h(e,t){if(t){if(E.test(e))return e.replace(S,C)}else if(b.test(e))return e.replace(T,C);return e}const R=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function N(e){return e.replace(R,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const O=/(^|[^\[])\^/g;function y(e,t){e="string"==typeof e?e:e.source,t=t||"";const a={replace:(t,n)=>(n=(n=n.source||n).replace(O,"$1"),e=e.replace(t,n),a),getRegex:()=>new RegExp(e,t)};return a}const v=/[^\w:]/g,A=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function I(e,t,a){if(e){let e;try{e=decodeURIComponent(N(a)).replace(v,"").toLowerCase()}catch(n){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!A.test(a)&&(a=function(e,t){D[" "+e]||(x.test(e)?D[" "+e]=e+"/":D[" "+e]=k(e,"/",!0));e=D[" "+e];const a=-1===e.indexOf(":");return"//"===t.substring(0,2)?a?t:e.replace(M,"$1")+t:"/"===t.charAt(0)?a?t:e.replace(w,"$1")+t:e+t}(t,a));try{a=encodeURI(a).replace(/%25/g,"%")}catch(n){return null}return a}const D={},x=/^[^:]+:\/*[^/]*$/,M=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/;const L={exec:function(){}};function P(e,t){const a=e.replace(/\|/g,((e,t,a)=>{let n=!1,r=t;for(;--r>=0&&"\\"===a[r];)n=!n;return n?"|":" |"})).split(/ \|/);let n=0;if(a[0].trim()||a.shift(),a.length>0&&!a[a.length-1].trim()&&a.pop(),a.length>t)a.splice(t);else for(;a.length1;)1&t&&(a+=e),t>>=1,e+=e;return a+e}function U(e,t,a,n){const r=t.href,i=t.title?h(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;const e={type:"link",raw:a,href:r,title:i,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,e}return{type:"image",raw:a,href:r,title:i,text:h(o)}}class B{constructor(e){this.options=e||g}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:k(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],a=function(e,t){const a=e.match(/^(\s+)(?:```)/);if(null===a)return t;const n=a[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[a]=t;return a.length>=n.length?e.slice(n.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:a}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=k(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *>[ \t]?/gm,""),a=this.lexer.state.top;this.lexer.state.top=!0;const n=this.lexer.blockTokens(e);return this.lexer.state.top=a,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let a,n,r,i,o,s,l,c,_,d,p,m,u=t[1].trim();const g=u.length>1,E={type:"list",raw:"",ordered:g,start:g?+u.slice(0,-1):"",loose:!1,items:[]};u=g?"\\d{1,9}\\".concat(u.slice(-1)):"\\".concat(u),this.options.pedantic&&(u=g?u:"[*+-]");const S=new RegExp("^( {0,3}".concat(u,")((?:[\t ][^\\n]*)?(?:\\n|$))"));for(;e&&(m=!1,t=S.exec(e))&&!this.rules.block.hr.test(e);){if(a=t[0],e=e.substring(a.length),c=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),_=e.split("\n",1)[0],this.options.pedantic?(i=2,p=c.trimLeft()):(i=t[2].search(/[^ ]/),i=i>4?1:i,p=c.slice(i),i+=t[1].length),s=!1,!c&&/^ *$/.test(_)&&(a+=_+"\n",e=e.substring(_.length+1),m=!0),!m){const t=new RegExp("^ {0,".concat(Math.min(3,i-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),n=new RegExp("^ {0,".concat(Math.min(3,i-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),r=new RegExp("^ {0,".concat(Math.min(3,i-1),"}(?:```|~~~)")),o=new RegExp("^ {0,".concat(Math.min(3,i-1),"}#"));for(;e&&(d=e.split("\n",1)[0],_=d,this.options.pedantic&&(_=_.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!r.test(_))&&!o.test(_)&&!t.test(_)&&!n.test(e);){if(_.search(/[^ ]/)>=i||!_.trim())p+="\n"+_.slice(i);else{if(s)break;if(c.search(/[^ ]/)>=4)break;if(r.test(c))break;if(o.test(c))break;if(n.test(c))break;p+="\n"+_}s||_.trim()||(s=!0),a+=d+"\n",e=e.substring(d.length+1),c=_.slice(i)}}E.loose||(l?E.loose=!0:/\n *\n *$/.test(a)&&(l=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(p),n&&(r="[ ] "!==n[0],p=p.replace(/^\[[ xX]\] +/,""))),E.items.push({type:"list_item",raw:a,task:!!n,checked:r,loose:!1,text:p}),E.raw+=a}E.items[E.items.length-1].raw=a.trimRight(),E.items[E.items.length-1].text=p.trimRight(),E.raw=E.raw.trimRight();const b=E.items.length;for(o=0;o"space"===e.type)),t=e.length>0&&e.some((e=>/\n.*\n/.test(e.raw)));E.loose=t}if(E.loose)for(o=0;o$/,"$1").replace(this.rules.inline._escapes,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:a,title:n}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:P(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let a,n,r,i,o=e.align.length;for(a=0;a({text:e})));for(o=e.header.length,n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):h(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;const t=k(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;const a=e.length;let n=0,r=0;for(;r-1){const a=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let a=t[2],n="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);e&&(a=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^$/.test(e)?a.slice(1):a.slice(1,-1)),U(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:n?n.replace(this.rules.inline._escapes,"$1"):n},t[0],this.lexer)}}reflink(e,t){let a;if((a=this.rules.inline.reflink.exec(e))||(a=this.rules.inline.nolink.exec(e))){let e=(a[2]||a[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e){const e=a[0].charAt(0);return{type:"text",raw:e,text:e}}return U(a,e,a[0],this.lexer)}}emStrong(e,t,a=""){let n=this.rules.inline.emStrong.lDelim.exec(e);if(!n)return;if(n[3]&&a.match(/[\p{L}\p{N}]/u))return;const r=n[1]||n[2]||"";if(!r||r&&(""===a||this.rules.inline.punctuation.exec(a))){const a=n[0].length-1;let r,i,o=a,s=0;const l="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+a);null!=(n=l.exec(t));){if(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!r)continue;if(i=r.length,n[3]||n[4]){o+=i;continue}if((n[5]||n[6])&&a%3&&!((a+i)%3)){s+=i;continue}if(o-=i,o>0)continue;i=Math.min(i,i+o+s);const t=e.slice(0,a+n.index+(n[0].length-r.length)+i);if(Math.min(a,i)%2){const e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}const l=t.slice(2,-2);return{type:"strong",raw:t,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const a=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return a&&n&&(e=e.substring(1,e.length-1)),e=h(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const a=this.rules.inline.autolink.exec(e);if(a){let e,n;return"@"===a[2]?(e=h(this.options.mangle?t(a[1]):a[1]),n="mailto:"+e):(e=h(a[1]),n=e),{type:"link",raw:a[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let a;if(a=this.rules.inline.url.exec(e)){let e,n;if("@"===a[2])e=h(this.options.mangle?t(a[0]):a[0]),n="mailto:"+e;else{let t;do{t=a[0],a[0]=this.rules.inline._backpedal.exec(a[0])[0]}while(t!==a[0]);e=h(a[0]),n="www."===a[1]?"http://"+a[0]:a[0]}return{type:"link",raw:a[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const a=this.rules.inline.text.exec(e);if(a){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):h(a[0]):a[0]:h(this.options.smartypants?t(a[0]):a[0]),{type:"text",raw:a[0],text:e}}}}const G={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:L,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};G.def=y(G.def).replace("label",G._label).replace("title",G._title).getRegex(),G.bullet=/(?:[*+-]|\d{1,9}[.)])/,G.listItemStart=y(/^( *)(bull) */).replace("bull",G.bullet).getRegex(),G.list=y(G.list).replace(/bull/g,G.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+G.def.source+")").getRegex(),G._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",G._comment=/|$)/,G.html=y(G.html,"i").replace("comment",G._comment).replace("tag",G._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),G.paragraph=y(G._paragraph).replace("hr",G.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",G._tag).getRegex(),G.blockquote=y(G.blockquote).replace("paragraph",G.paragraph).getRegex(),G.normal={...G},G.gfm={...G.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},G.gfm.table=y(G.gfm.table).replace("hr",G.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",G._tag).getRegex(),G.gfm.paragraph=y(G._paragraph).replace("hr",G.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",G.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",G._tag).getRegex(),G.pedantic={...G.normal,html:y("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",G._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:L,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:y(G.normal._paragraph).replace("hr",G.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",G.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const Y={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:L,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:L,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(a="x"+a.toString(16)),n+="&#"+a+";";return n}Y._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Y.punctuation=y(Y.punctuation).replace(/punctuation/g,Y._punctuation).getRegex(),Y.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Y.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,Y._comment=y(G._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Y.emStrong.lDelim=y(Y.emStrong.lDelim).replace(/punct/g,Y._punctuation).getRegex(),Y.emStrong.rDelimAst=y(Y.emStrong.rDelimAst,"g").replace(/punct/g,Y._punctuation).getRegex(),Y.emStrong.rDelimUnd=y(Y.emStrong.rDelimUnd,"g").replace(/punct/g,Y._punctuation).getRegex(),Y._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Y._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Y._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Y.autolink=y(Y.autolink).replace("scheme",Y._scheme).replace("email",Y._email).getRegex(),Y._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Y.tag=y(Y.tag).replace("comment",Y._comment).replace("attribute",Y._attribute).getRegex(),Y._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Y._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Y._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Y.link=y(Y.link).replace("label",Y._label).replace("href",Y._href).replace("title",Y._title).getRegex(),Y.reflink=y(Y.reflink).replace("label",Y._label).replace("ref",G._label).getRegex(),Y.nolink=y(Y.nolink).replace("ref",G._label).getRegex(),Y.reflinkSearch=y(Y.reflinkSearch,"g").replace("reflink",Y.reflink).replace("nolink",Y.nolink).getRegex(),Y.normal={...Y},Y.pedantic={...Y.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:y(/^!?\[(label)\]\((.*?)\)/).replace("label",Y._label).getRegex(),reflink:y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Y._label).getRegex()},Y.gfm={...Y.normal,escape:y(Y.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\t+" ".repeat(a.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0)))))if(a=this.tokenizer.space(e))e=e.substring(a.raw.length),1===a.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(a);else if(a=this.tokenizer.code(e))e=e.substring(a.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?t.push(a):(n.raw+="\n"+a.raw,n.text+="\n"+a.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(a=this.tokenizer.fences(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.heading(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.hr(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.blockquote(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.list(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.html(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.def(e))e=e.substring(a.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title}):(n.raw+="\n"+a.raw,n.text+="\n"+a.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(a=this.tokenizer.table(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.lheading(e))e=e.substring(a.raw.length),t.push(a);else{if(r=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const a=e.slice(1);let n;this.options.extensions.startBlock.forEach((function(e){n=e.call({lexer:this},a),"number"==typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(this.state.top&&(a=this.tokenizer.paragraph(r)))n=t[t.length-1],i&&"paragraph"===n.type?(n.raw+="\n"+a.raw,n.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(a),i=r.length!==e.length,e=e.substring(a.raw.length);else if(a=this.tokenizer.text(e))e=e.substring(a.raw.length),n=t[t.length-1],n&&"text"===n.type?(n.raw+="\n"+a.raw,n.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(a);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let a,n,r,i,o,s,l=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+F("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+F("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,i.index+i[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(o||(s=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((n=>!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0)))))if(a=this.tokenizer.escape(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.tag(e))e=e.substring(a.raw.length),n=t[t.length-1],n&&"text"===a.type&&"text"===n.type?(n.raw+=a.raw,n.text+=a.text):t.push(a);else if(a=this.tokenizer.link(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(a.raw.length),n=t[t.length-1],n&&"text"===a.type&&"text"===n.type?(n.raw+=a.raw,n.text+=a.text):t.push(a);else if(a=this.tokenizer.emStrong(e,l,s))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.codespan(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.br(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.del(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.autolink(e,H))e=e.substring(a.raw.length),t.push(a);else if(this.state.inLink||!(a=this.tokenizer.url(e,H))){if(r=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const a=e.slice(1);let n;this.options.extensions.startInline.forEach((function(e){n=e.call({lexer:this},a),"number"==typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(a=this.tokenizer.inlineText(r,V))e=e.substring(a.raw.length),"_"!==a.raw.slice(-1)&&(s=a.raw.slice(-1)),o=!0,n=t[t.length-1],n&&"text"===n.type?(n.raw+=a.raw,n.text+=a.text):t.push(a);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(a.raw.length),t.push(a);return t}}class z{constructor(e){this.options=e||g}code(e,t,a){const n=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,n);null!=t&&t!==e&&(a=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",n?'
    '+(a?e:h(e,!0))+"
    \n":"
    "+(a?e:h(e,!0))+"
    \n"}blockquote(e){return"
    \n".concat(e,"
    \n")}html(e){return e}heading(e,t,a,n){if(this.options.headerIds){const r=this.options.headerPrefix+n.slug(a);return"').concat(e,"\n")}return"").concat(e,"\n")}hr(){return this.options.xhtml?"
    \n":"
    \n"}list(e,t,a){const n=t?"ol":"ul";return"<"+n+(t&&1!==a?' start="'+a+'"':"")+">\n"+e+"\n"}listitem(e){return"
  • ".concat(e,"
  • \n")}checkbox(e){return" "}paragraph(e){return"

    ".concat(e,"

    \n")}table(e,t){return t&&(t="".concat(t,"")),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return"\n".concat(e,"\n")}tablecell(e,t){const a=t.header?"th":"td";return(t.align?"<".concat(a,' align="').concat(t.align,'">'):"<".concat(a,">"))+e+"\n")}strong(e){return"".concat(e,"")}em(e){return"".concat(e,"")}codespan(e){return"".concat(e,"")}br(){return this.options.xhtml?"
    ":"
    "}del(e){return"".concat(e,"")}link(e,t,a){if(null===(e=I(this.options.sanitize,this.options.baseUrl,e)))return a;let n='
    ",n}image(e,t,a){if(null===(e=I(this.options.sanitize,this.options.baseUrl,e)))return a;let n='').concat(a,'":">",n}text(e){return e}}class ${strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,a){return""+a}image(e,t,a){return""+a}br(){return""}}class W{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let a=e,n=0;if(this.seen.hasOwnProperty(a)){n=this.seen[e];do{n++,a=e+"-"+n}while(this.seen.hasOwnProperty(a))}return t||(this.seen[e]=n,this.seen[a]=0),a}slug(e,t={}){const a=this.serialize(e);return this.getNextSafeSlug(a,t.dryrun)}}class Q{constructor(e){this.options=e||g,this.options.renderer=this.options.renderer||new z,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new $,this.slugger=new W}static parse(e,t){return new Q(t).parse(e)}static parseInline(e,t){return new Q(t).parseInline(e)}parse(e,t=!0){let a,n,r,i,o,s,l,c,_,d,p,m,u,g,E,S,b,T,f,C="";const h=e.length;for(a=0;a0&&"paragraph"===E.tokens[0].type?(E.tokens[0].text=T+" "+E.tokens[0].text,E.tokens[0].tokens&&E.tokens[0].tokens.length>0&&"text"===E.tokens[0].tokens[0].type&&(E.tokens[0].tokens[0].text=T+" "+E.tokens[0].tokens[0].text)):E.tokens.unshift({type:"text",text:T}):g+=T),g+=this.parse(E.tokens,u),_+=this.renderer.listitem(g,b,S);C+=this.renderer.list(_,p,m);continue;case"html":C+=this.renderer.html(d.text);continue;case"paragraph":C+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(_=d.tokens?this.parseInline(d.tokens):d.text;a+1{"function"==typeof n&&(r=n,n=null);const i={...n},o=function(e,t,a){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="

    An error occurred:

    "+h(n.message+"",!0)+"
    ";return t?Promise.resolve(e):a?void a(null,e):e}if(t)return Promise.reject(n);if(!a)throw n;a(n)}}((n={...Z.defaults,...i}).silent,n.async,r);if(null==a)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof a)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(a)+", string expected"));if(function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(n),n.hooks&&(n.hooks.options=n),r){const i=n.highlight;let l;try{n.hooks&&(a=n.hooks.preprocess(a)),l=e(a,n)}catch(s){return o(s)}const c=function(e){let a;if(!e)try{n.walkTokens&&Z.walkTokens(l,n.walkTokens),a=t(l,n),n.hooks&&(a=n.hooks.postprocess(a))}catch(s){e=s}return n.highlight=i,e?o(e):r(null,a)};if(!i||i.length<3)return c();if(delete n.highlight,!l.length)return c();let _=0;return Z.walkTokens(l,(function(e){"code"===e.type&&(_++,setTimeout((()=>{i(e.text,e.lang,(function(t,a){if(t)return c(t);null!=a&&a!==e.text&&(e.text=a,e.escaped=!0),_--,0===_&&c()}))}),0))})),void(0===_&&c())}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(a):a).then((t=>e(t,n))).then((e=>n.walkTokens?Promise.all(Z.walkTokens(e,n.walkTokens)).then((()=>e)):e)).then((e=>t(e,n))).then((e=>n.hooks?n.hooks.postprocess(e):e)).catch(o);try{n.hooks&&(a=n.hooks.preprocess(a));const r=e(a,n);n.walkTokens&&Z.walkTokens(r,n.walkTokens);let i=t(r,n);return n.hooks&&(i=n.hooks.postprocess(i)),i}catch(s){return o(s)}}}function Z(e,t,a){return X(q.lex,Q.parse)(e,t,a)}function J(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((t=>{const a=e[t],n=typeof a;"object"!==n&&"function"!==n||Object.isFrozen(a)||J(a)})),e}((t,a,n)=>{a in t?e(t,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[a]=n})(K,"symbol"!=typeof(j="passThroughHooks")?j+"":j,new Set(["preprocess","postprocess"])),Z.options=Z.setOptions=function(e){var t;return Z.defaults={...Z.defaults,...e},t=Z.defaults,g=t,Z},Z.getDefaults=u,Z.defaults=g,Z.use=function(...e){const t=Z.defaults.extensions||{renderers:{},childTokens:{}};e.forEach((e=>{const a={...e};if(a.async=Z.defaults.async||a.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const a=t.renderers[e.name];t.renderers[e.name]=a?function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=a.apply(this,t)),n}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),a.extensions=t),e.renderer){const t=Z.defaults.renderer||new z;for(const a in e.renderer){const n=t[a];t[a]=(...r)=>{let i=e.renderer[a].apply(t,r);return!1===i&&(i=n.apply(t,r)),i}}a.renderer=t}if(e.tokenizer){const t=Z.defaults.tokenizer||new B;for(const a in e.tokenizer){const n=t[a];t[a]=(...r)=>{let i=e.tokenizer[a].apply(t,r);return!1===i&&(i=n.apply(t,r)),i}}a.tokenizer=t}if(e.hooks){const t=Z.defaults.hooks||new K;for(const a in e.hooks){const n=t[a];K.passThroughHooks.has(a)?t[a]=r=>{if(Z.defaults.async)return Promise.resolve(e.hooks[a].call(t,r)).then((e=>n.call(t,e)));const i=e.hooks[a].call(t,r);return n.call(t,i)}:t[a]=(...r)=>{let i=e.hooks[a].apply(t,r);return!1===i&&(i=n.apply(t,r)),i}}a.hooks=t}if(e.walkTokens){const t=Z.defaults.walkTokens;a.walkTokens=function(a){let n=[];return n.push(e.walkTokens.call(this,a)),t&&(n=n.concat(t.call(this,a))),n}}Z.setOptions(a)}))},Z.walkTokens=function(e,t){let a=[];for(const n of e)switch(a=a.concat(t.call(Z,n)),n.type){case"table":for(const e of n.header)a=a.concat(Z.walkTokens(e.tokens,t));for(const e of n.rows)for(const n of e)a=a.concat(Z.walkTokens(n.tokens,t));break;case"list":a=a.concat(Z.walkTokens(n.items,t));break;default:Z.defaults.extensions&&Z.defaults.extensions.childTokens&&Z.defaults.extensions.childTokens[n.type]?Z.defaults.extensions.childTokens[n.type].forEach((function(e){a=a.concat(Z.walkTokens(n[e],t))})):n.tokens&&(a=a.concat(Z.walkTokens(n.tokens,t)))}return a},Z.parseInline=X(q.lexInline,Q.parseInline),Z.Parser=Q,Z.parser=Q.parse,Z.Renderer=z,Z.TextRenderer=$,Z.Lexer=q,Z.lexer=q.lex,Z.Tokenizer=B,Z.Slugger=W,Z.Hooks=K,Z.parse=Z,Z.options,Z.setOptions,Z.use,Z.walkTokens,Z.parseInline;class ee{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function te(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function ae(e,...t){const a=Object.create(null);for(const n in e)a[n]=e[n];return t.forEach((function(e){for(const t in e)a[t]=e[t]})),a}const ne=e=>!!e.scope;class re{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=te(e)}openNode(e){if(!ne(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const a=e.split(".");return["".concat(t).concat(a.shift()),...a.map(((e,t)=>"".concat(e).concat("_".repeat(t+1))))].join(" ")}return"".concat(t).concat(e)})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){ne(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+='')}}const ie=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class oe{constructor(){this.rootNode=ie(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=ie({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{oe._collapse(e)})))}}class se extends oe{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const a=e.root;t&&(a.scope="language:".concat(t)),this.add(a)}toHTML(){return new re(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function le(e){return e?"string"==typeof e?e:e.source:null}function ce(e){return pe("(?=",e,")")}function _e(e){return pe("(?:",e,")*")}function de(e){return pe("(?:",e,")?")}function pe(...e){return e.map((e=>le(e))).join("")}function me(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>le(e))).join("|")+")"}function ue(e){return new RegExp(e.toString()+"|").exec("").length-1}const ge=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Ee(e,{joinWith:t}){let a=0;return e.map((e=>{a+=1;const t=a;let n=le(e),r="";for(;n.length>0;){const e=ge.exec(n);if(!e){r+=n;break}r+=n.substring(0,e.index),n=n.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+String(Number(e[1])+t):(r+=e[0],"("===e[0]&&a++)}return r})).map((e=>"(".concat(e,")"))).join(t)}const Se="[a-zA-Z]\\w*",be="[a-zA-Z_]\\w*",Te="\\b\\d+(\\.\\d+)?",fe="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ce="\\b(0b[01]+)",he={begin:"\\\\[\\s\\S]",relevance:0},Re={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[he]},Ne={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[he]},Oe=function(e,t,a={}){const n=ae({scope:"comment",begin:e,end:t,contains:[]},a);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=me("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:pe(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},ye=Oe("//","$"),ve=Oe("/\\*","\\*/"),Ae=Oe("#","$"),Ie={scope:"number",begin:Te,relevance:0},De={scope:"number",begin:fe,relevance:0},xe={scope:"number",begin:Ce,relevance:0},Me={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[he,{begin:/\[/,end:/\]/,relevance:0,contains:[he]}]},we={scope:"title",begin:Se,relevance:0},Le={scope:"title",begin:be,relevance:0},Pe={begin:"\\.\\s*"+be,relevance:0};var ke=Object.freeze({__proto__:null,APOS_STRING_MODE:Re,BACKSLASH_ESCAPE:he,BINARY_NUMBER_MODE:xe,BINARY_NUMBER_RE:Ce,COMMENT:Oe,C_BLOCK_COMMENT_MODE:ve,C_LINE_COMMENT_MODE:ye,C_NUMBER_MODE:De,C_NUMBER_RE:fe,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:Ae,IDENT_RE:Se,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:Pe,NUMBER_MODE:Ie,NUMBER_RE:Te,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:Ne,REGEXP_MODE:Me,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=pe(t,/.*\b/,e.binary,/\b.*/)),ae({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:we,UNDERSCORE_IDENT_RE:be,UNDERSCORE_TITLE_MODE:Le});function Fe(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function Ue(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function Be(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Fe,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Ge(e,t){Array.isArray(e.illegal)&&(e.illegal=me(...e.illegal))}function Ye(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Ve(e,t){void 0===e.relevance&&(e.relevance=1)}const He=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const a=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=a.keywords,e.begin=pe(a.beforeMatch,ce(a.begin)),e.starts={relevance:0,contains:[Object.assign(a,{endsParent:!0})]},e.relevance=0,delete a.beforeMatch},qe=["of","and","for","in","not","or","if","then","parent","list","value"];function ze(e,t,a="keyword"){const n=Object.create(null);return"string"==typeof e?r(a,e.split(" ")):Array.isArray(e)?r(a,e):Object.keys(e).forEach((function(a){Object.assign(n,ze(e[a],t,a))})),n;function r(e,a){t&&(a=a.map((e=>e.toLowerCase()))),a.forEach((function(t){const a=t.split("|");n[a[0]]=[e,$e(a[0],a[1])]}))}}function $e(e,t){return t?Number(t):function(e){return qe.includes(e.toLowerCase())}(e)?0:1}const We={},Qe=e=>{console.error(e)},Ke=(e,...t)=>{console.log("WARN: ".concat(e),...t)},je=(e,t)=>{We["".concat(e,"/").concat(t)]||(console.log("Deprecated as of ".concat(e,". ").concat(t)),We["".concat(e,"/").concat(t)]=!0)},Xe=new Error;function Ze(e,t,{key:a}){let n=0;const r=e[a],i={},o={};for(let s=1;s<=t.length;s++)o[s+n]=r[s],i[s+n]=!0,n+=ue(t[s-1]);e[a]=o,e[a]._emit=i,e[a]._multi=!0}function Je(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Qe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Xe;if("object"!=typeof e.beginScope||null===e.beginScope)throw Qe("beginScope must be object"),Xe;Ze(e,e.begin,{key:"beginScope"}),e.begin=Ee(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Qe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Xe;if("object"!=typeof e.endScope||null===e.endScope)throw Qe("endScope must be object"),Xe;Ze(e,e.end,{key:"endScope"}),e.end=Ee(e.end,{joinWith:""})}}(e)}function et(e){function t(t,a){return new RegExp(le(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(a?"g":""))}class a{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=ue(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(Ee(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const a=t.findIndex(((e,t)=>t>0&&void 0!==e)),n=this.matchIndexes[a];return t.splice(0,a),Object.assign(t,n)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new a;return this.rules.slice(e).forEach((([e,a])=>t.addRule(e,a))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let a=t.exec(e);if(this.resumingScanAtSamePosition())if(a&&a.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,a=t.exec(e)}return a&&(this.regexIndex+=a.position+1,this.regexIndex===this.count&&this.considerAll()),a}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=ae(e.classNameAliases||{}),function a(r,i){const o=r;if(r.isCompiled)return o;[Ue,Ye,Je,He].forEach((e=>e(r,i))),e.compilerExtensions.forEach((e=>e(r,i))),r.__beforeBegin=null,[Be,Ge,Ve].forEach((e=>e(r,i))),r.isCompiled=!0;let s=null;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),s=r.keywords.$pattern,delete r.keywords.$pattern),s=s||/\w+/,r.keywords&&(r.keywords=ze(r.keywords,e.case_insensitive)),o.keywordPatternRe=t(s,!0),i&&(r.begin||(r.begin=/\B|\b/),o.beginRe=t(o.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(o.endRe=t(o.end)),o.terminatorEnd=le(o.end)||"",r.endsWithParent&&i.terminatorEnd&&(o.terminatorEnd+=(r.end?"|":"")+i.terminatorEnd)),r.illegal&&(o.illegalRe=t(r.illegal)),r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return ae(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(tt(e))return ae(e,{starts:e.starts?ae(e.starts):null});if(Object.isFrozen(e))return ae(e);return e}("self"===e?r:e)}))),r.contains.forEach((function(e){a(e,o)})),r.starts&&a(r.starts,i),o.matcher=function(e){const t=new n;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(o),o}(e)}function tt(e){return!!e&&(e.endsWithParent||tt(e.starts))}class at extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const nt=te,rt=ae,it=Symbol("nomatch"),ot=function(e){const t=Object.create(null),a=Object.create(null),n=[];let r=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:se};function l(e){return s.noHighlightRe.test(e)}function c(e,t,a){let n="",r="";"object"==typeof t?(n=e,a=t.ignoreIllegals,r=t.language):(je("10.7.0","highlight(lang, code, ...args) has been deprecated."),je("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=e,n=t),void 0===a&&(a=!0);const i={code:n,language:r};b("before:highlight",i);const o=i.result?i.result:_(i.language,i.code,a);return o.code=i.code,b("after:highlight",o),o}function _(e,a,n,o){const l=Object.create(null);function c(){if(!O.keywords)return void v.addText(A);let e=0;O.keywordPatternRe.lastIndex=0;let t=O.keywordPatternRe.exec(A),a="";for(;t;){a+=A.substring(e,t.index);const r=h.case_insensitive?t[0].toLowerCase():t[0],i=(n=r,O.keywords[n]);if(i){const[e,n]=i;if(v.addText(a),a="",l[r]=(l[r]||0)+1,l[r]<=7&&(I+=n),e.startsWith("_"))a+=t[0];else{const a=h.classNameAliases[e]||e;m(t[0],a)}}else a+=t[0];e=O.keywordPatternRe.lastIndex,t=O.keywordPatternRe.exec(A)}var n;a+=A.substring(e),v.addText(a)}function p(){null!=O.subLanguage?function(){if(""===A)return;let e=null;if("string"==typeof O.subLanguage){if(!t[O.subLanguage])return void v.addText(A);e=_(O.subLanguage,A,!0,y[O.subLanguage]),y[O.subLanguage]=e._top}else e=d(A,O.subLanguage.length?O.subLanguage:null);O.relevance>0&&(I+=e.relevance),v.__addSublanguage(e._emitter,e.language)}():c(),A=""}function m(e,t){""!==e&&(v.startScope(t),v.addText(e),v.endScope())}function u(e,t){let a=1;const n=t.length-1;for(;a<=n;){if(!e._emit[a]){a++;continue}const n=h.classNameAliases[e[a]]||e[a],r=t[a];n?m(r,n):(A=r,c(),A=""),a++}}function E(e,t){return e.scope&&"string"==typeof e.scope&&v.openNode(h.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(A,h.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),A=""):e.beginScope._multi&&(u(e.beginScope,t),A="")),O=Object.create(e,{parent:{value:O}}),O}function S(e,t,a){let n=function(e,t){const a=e&&e.exec(t);return a&&0===a.index}(e.endRe,a);if(n){if(e["on:end"]){const a=new ee(e);e["on:end"](t,a),a.isMatchIgnored&&(n=!1)}if(n){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return S(e.parent,t,a)}function b(e){return 0===O.matcher.regexIndex?(A+=e[0],1):(M=!0,0)}function T(e){const t=e[0],n=a.substring(e.index),r=S(O,e,n);if(!r)return it;const i=O;O.endScope&&O.endScope._wrap?(p(),m(t,O.endScope._wrap)):O.endScope&&O.endScope._multi?(p(),u(O.endScope,e)):i.skip?A+=t:(i.returnEnd||i.excludeEnd||(A+=t),p(),i.excludeEnd&&(A=t));do{O.scope&&v.closeNode(),O.skip||O.subLanguage||(I+=O.relevance),O=O.parent}while(O!==r.parent);return r.starts&&E(r.starts,e),i.returnEnd?0:t.length}let f={};function C(t,i){const o=i&&i[0];if(A+=t,null==o)return p(),0;if("begin"===f.type&&"end"===i.type&&f.index===i.index&&""===o){if(A+=a.slice(i.index,i.index+1),!r){const t=new Error("0 width match regex (".concat(e,")"));throw t.languageName=e,t.badRule=f.rule,t}return 1}if(f=i,"begin"===i.type)return function(e){const t=e[0],a=e.rule,n=new ee(a),r=[a.__beforeBegin,a["on:begin"]];for(const i of r)if(i&&(i(e,n),n.isMatchIgnored))return b(t);return a.skip?A+=t:(a.excludeBegin&&(A+=t),p(),a.returnBegin||a.excludeBegin||(A=t)),E(a,e),a.returnBegin?0:t.length}(i);if("illegal"===i.type&&!n){const e=new Error('Illegal lexeme "'+o+'" for mode "'+(O.scope||"")+'"');throw e.mode=O,e}if("end"===i.type){const e=T(i);if(e!==it)return e}if("illegal"===i.type&&""===o)return 1;if(x>1e5&&x>3*i.index){throw new Error("potential infinite loop, way more iterations than matches")}return A+=o,o.length}const h=g(e);if(!h)throw Qe(i.replace("{}",e)),new Error('Unknown language: "'+e+'"');const R=et(h);let N="",O=o||R;const y={},v=new s.__emitter(s);!function(){const e=[];for(let t=O;t!==h;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>v.openNode(e)))}();let A="",I=0,D=0,x=0,M=!1;try{if(h.__emitTokens)h.__emitTokens(a,v);else{for(O.matcher.considerAll();;){x++,M?M=!1:O.matcher.considerAll(),O.matcher.lastIndex=D;const e=O.matcher.exec(a);if(!e)break;const t=C(a.substring(D,e.index),e);D=e.index+t}C(a.substring(D))}return v.finalize(),N=v.toHTML(),{language:e,value:N,relevance:I,illegal:!1,_emitter:v,_top:O}}catch(w){if(w.message&&w.message.includes("Illegal"))return{language:e,value:nt(a),illegal:!0,relevance:0,_illegalBy:{message:w.message,index:D,context:a.slice(D-100,D+100),mode:w.mode,resultSoFar:N},_emitter:v};if(r)return{language:e,value:nt(a),illegal:!1,relevance:0,errorRaised:w,_emitter:v,_top:O};throw w}}function d(e,a){a=a||s.languages||Object.keys(t);const n=function(e){const t={value:nt(e),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return t._emitter.addText(e),t}(e),r=a.filter(g).filter(S).map((t=>_(t,e,!1)));r.unshift(n);const i=r.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(g(e.language).supersetOf===t.language)return 1;if(g(t.language).supersetOf===e.language)return-1}return 0})),[l,c]=i,d=l;return d.secondBest=c,d}function p(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const a=s.languageDetectRe.exec(t);if(a){const t=g(a[1]);return t||(Ke(i.replace("{}",a[1])),Ke("Falling back to no-highlight mode for this block.",e)),t?a[1]:"no-highlight"}return t.split(/\s+/).find((e=>l(e)||g(e)))}(e);if(l(n))return;if(b("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),s.throwUnescapedHTML)){throw new at("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const r=t.textContent,o=n?c(r,{language:n,ignoreIllegals:!0}):d(r);e.innerHTML=o.value,e.dataset.highlighted="yes",function(e,t,n){const r=t&&a[t]||n;e.classList.add("hljs"),e.classList.add("language-".concat(r))}(e,n,o.language),e.result={language:o.language,re:o.relevance,relevance:o.relevance},o.secondBest&&(e.secondBest={language:o.secondBest.language,relevance:o.secondBest.relevance}),b("after:highlightElement",{el:e,result:o,text:r})}let m=!1;function u(){if("loading"===document.readyState)return void(m=!0);document.querySelectorAll(s.cssSelector).forEach(p)}function g(e){return e=(e||"").toLowerCase(),t[e]||t[a[e]]}function E(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{a[e.toLowerCase()]=t}))}function S(e){const t=g(e);return t&&!t.disableAutodetect}function b(e,t){const a=e;n.forEach((function(e){e[a]&&e[a](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){m&&u()}),!1),Object.assign(e,{highlight:c,highlightAuto:d,highlightAll:u,highlightElement:p,highlightBlock:function(e){return je("10.7.0","highlightBlock will be removed entirely in v12.0"),je("10.7.0","Please use highlightElement now."),p(e)},configure:function(e){s=rt(s,e)},initHighlighting:()=>{u(),je("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){u(),je("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(a,n){let i=null;try{i=n(e)}catch(s){if(Qe("Language definition for '{}' could not be registered.".replace("{}",a)),!r)throw s;Qe(s),i=o}i.name||(i.name=a),t[a]=i,i.rawDefinition=n.bind(null,e),i.aliases&&E(i.aliases,{languageName:a})},unregisterLanguage:function(e){delete t[e];for(const t of Object.keys(a))a[t]===e&&delete a[t]},listLanguages:function(){return Object.keys(t)},getLanguage:g,registerAliases:E,autoDetection:S,inherit:rt,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),n.push(e)},removePlugin:function(e){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}),e.debugMode=function(){r=!1},e.safeMode=function(){r=!0},e.versionString="11.10.0",e.regex={concat:pe,lookahead:ce,either:me,optional:de,anyNumberOfTimes:_e};for(const T in ke)"object"==typeof ke[T]&&J(ke[T]);return Object.assign(e,ke),e},st=ot({});st.newInstance=()=>ot({});var lt,ct,_t,dt,pt,mt,ut,gt,Et,St,bt,Tt,ft,Ct,ht,Rt,Nt,Ot,yt,vt,At,It,Dt,xt,Mt,wt,Lt,Pt,kt,Ft,Ut,Bt,Gt,Yt,Vt,Ht,qt,zt,$t,Wt,Qt,Kt,jt,Xt,Zt,Jt,ea,ta,aa,na,ra,ia,oa,sa,la,ca,_a,da,pa,ma,ua,ga,Ea,Sa,ba,Ta,fa,Ca,ha,Ra,Na,Oa,ya,va,Aa,Ia,Da,xa,Ma,wa,La,Pa,ka,Fa,Ua,Ba,Ga,Ya,Va,Ha,qa,za,$a,Wa,Qa,Ka,ja,Xa,Za,Ja,en,tn,an,nn,rn,on,sn,ln,cn,_n,dn,pn,mn,un,gn,En,Sn,bn,Tn,fn,Cn,hn,Rn,Nn,On,yn,vn,An,In,Dn,xn,Mn,wn,Ln,Pn,kn,Fn,Un,Bn,Gn,Yn,Vn,Hn,qn,zn,$n,Wn,Qn,Kn,jn,Xn,Zn,Jn,er,tr,ar,nr,rr,ir,or,sr,lr,cr,_r,dr,pr,mr,ur,gr,Er,Sr,br,Tr,fr,Cr,hr,Rr,Nr,Or,yr,vr,Ar,Ir,Dr,xr,Mr,wr,Lr,Pr,kr,Fr,Ur,Br,Gr,Yr,Vr,Hr,qr,zr,$r,Wr,Qr,Kr,jr,Xr,Zr,Jr,ei,ti,ai,ni,ri,ii,oi,si,li,ci,_i,di,pi,mi,ui,gi,Ei,Si,bi,Ti,fi,Ci,hi,Ri,Ni,Oi,yi,vi,Ai,Ii,Di,xi,Mi,wi,Li,Pi,ki,Fi,Ui,Bi,Gi,Yi,Vi,Hi,qi,zi,$i,Wi,Qi,Ki,ji,Xi,Zi,Ji,eo,to,ao,no,ro,io,oo,so,lo,co,_o,po,mo,uo,go,Eo,So,bo,To,fo,Co,ho,Ro,No,Oo,yo,vo,Ao,Io,Do,xo,Mo,wo,Lo,Po,ko,Fo,Uo,Bo,Go,Yo,Vo,Ho,qo,zo,$o,Wo,Qo,Ko,jo,Xo,Zo,Jo,es,ts,as,ns,rs,is,os,ss,ls,cs,_s,ds,ps,ms,us,gs,Es,Ss,bs,Ts,fs,Cs,hs,Rs,Ns,Os,ys,vs,As,Is,Ds,xs,Ms,ws,Ls,Ps,ks,Fs,Us,Bs,Gs,Ys,Vs,Hs,qs,zs,$s,Ws,Qs,Ks,js,Xs,Zs,Js,el,tl,al,nl,rl,il,ol,sl,ll,cl,_l,dl,pl,ml,ul,gl,El=st;st.HighlightJS=st,st.default=st;var Sl=El;Sl.registerLanguage("1c",ct?lt:(ct=1,lt=function(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",a="далее возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",n="null истина ложь неопределено",r=e.inherit(e.NUMBER_MODE),i={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},o={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},s=e.inherit(e.C_LINE_COMMENT_MODE);return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:a,built_in:"разделительстраниц разделительстрок символтабуляции ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",class:"webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц отображениевремениэлементовпланировщика типфайлаформатированногодокумента обходрезультатазапроса типзаписизапроса видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов доступкфайлу режимдиалогавыборафайла режимоткрытияфайла типизмеренияпостроителязапроса видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",type:"comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",literal:n},contains:[{className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:a+"загрузитьизфайла вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент "},contains:[s]},{className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:n},contains:[r,i,o]},s]},e.inherit(e.TITLE_MODE,{begin:t})]},s,{className:"symbol",begin:"~",end:";|:",excludeEnd:!0},r,i,o,{match:/[;()+\-:=,]/,className:"punctuation",relevance:0}]}})),Sl.registerLanguage("abnf",dt?_t:(dt=1,_t=function(e){const t=e.regex,a=e.COMMENT(/;/,/$/);return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],contains:[{scope:"operator",match:/=\/?/},{scope:"attribute",match:t.concat(/^[a-zA-Z][a-zA-Z0-9-]*/,/(?=\s*=)/)},a,{scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},{scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},{scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},{scope:"symbol",match:/%[si](?=".*")/},e.QUOTE_STRING_MODE,e.NUMBER_MODE]}})),Sl.registerLanguage("accesslog",mt?pt:(mt=1,pt=function(e){const t=e.regex,a=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...a)),end:/"/,keywords:a,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}})),Sl.registerLanguage("actionscript",gt?ut:(gt=1,ut=function(e){const t=e.regex,a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,n=t.concat(a,t.concat("(\\.",a,")*")),r={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r]},{begin:t.concat(/:\s*/,/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/)}]},e.METHOD_GUARD],illegal:/#/}})),Sl.registerLanguage("ada",St?Et:(St=1,Et=function(e){const t="\\d(_|\\d)*",a="[eE][-+]?"+t,n="\\b("+t+"#\\w+(\\.\\w+)?#("+a+")?|"+t+"(\\."+t+")?("+a+")?)",r="[A-Za-z](_?[A-Za-z0-9.])*",i="[]\\{\\}%#'\"",o=e.COMMENT("--","$"),s={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:i,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:r,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[o,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:n,relevance:0},{className:"symbol",begin:"'"+r},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:i},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[o,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:i},s,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:i}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:i},s]}})),Sl.registerLanguage("angelscript",Tt?bt:(Tt=1,bt=function(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},a={className:"symbol",begin:"[a-zA-Z0-9_]+@"},n={className:"keyword",begin:"<",end:">",contains:[t,a]};return t.contains=[n],a.contains=[n],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,a,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}})),Sl.registerLanguage("apache",Ct?ft:(Ct=1,ft=function(e){const t={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[t,{className:"number",begin:/:\d{1,5}/},e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",{className:"number",begin:/[$%]\d+/}]},t,{className:"number",begin:/\b\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\S/}})),Sl.registerLanguage("applescript",Rt?ht:(Rt=1,ht=function(e){const t=e.regex,a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),n={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,a]},r=e.COMMENT(/--/,/$/),i=[r,e.COMMENT(/\(\*/,/\*\)/,{contains:["self",r]}),e.HASH_COMMENT_MODE];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[a,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,n]},...i],illegal:/\/\/|->|=>|\[\[/}})),Sl.registerLanguage("arcade",Ot?Nt:(Ot=1,Nt=function(e){const t="[A-Za-z_][0-9A-Za-z_]*",a={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},n={className:"symbol",begin:"\\$"+e.regex.either("aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","value","view")},r={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},i={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},o={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,i]};i.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,r,e.REGEXP_MODE];const s=i.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:a,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:s}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}})),Sl.registerLanguage("arduino",vt?yt:(vt=1,yt=function(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},a=function(e){const t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="(?!struct)("+n+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},d=t.optional(r)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},m={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},u=[m,c,o,a,e.C_BLOCK_COMMENT_MODE,l,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:u.concat([{begin:/\(/,end:/\)/,keywords:p,contains:u.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,a,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"",keywords:p,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),n=a.keywords;return n.type=[...n.type,...t.type],n.literal=[...n.literal,...t.literal],n.built_in=[...n.built_in,...t.built_in],n._hints=t._hints,a.name="Arduino",a.aliases=["ino"],a.supersetOf="cpp",a})),Sl.registerLanguage("armasm",It?At:(It=1,At=function(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}})),Sl.registerLanguage("xml",xt?Dt:(xt=1,Dt=function(e){const t=e.regex,a=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(r,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[r,s,o,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,i,s,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},n,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}})),Sl.registerLanguage("asciidoc",wt?Mt:(wt=1,Mt=function(e){const t=e.regex,a=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],n=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}];return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ \t].+?([ \t]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/},...a,...n,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}})),Sl.registerLanguage("aspectj",Pt?Lt:(Pt=1,Lt=function(e){const t=e.regex,a=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],n=["get","set","args","call"];return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a.concat(n),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a.concat(n),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}})),Sl.registerLanguage("autohotkey",Ft?kt:(Ft=1,kt=function(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}})),Sl.registerLanguage("autoit",Bt?Ut:(Bt=1,Ut=function(e){const t={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},n={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",literal:"True False And Null Not Or Default"},contains:[t,a,n,r,{className:"meta",begin:"#",end:"$",keywords:{keyword:["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"]},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[n,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},n,t]},{className:"symbol",begin:"@[A-z0-9_]+"},{beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,n,r]}]}]}})),Sl.registerLanguage("avrasm",Yt?Gt:(Yt=1,Gt=function(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}})),Sl.registerLanguage("awk",Ht?Vt:(Ht=1,Vt=function(e){return{name:"Awk",keywords:{keyword:"BEGIN END if else while do for in break continue delete next nextfile function func exit|10"},contains:[{className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}})),Sl.registerLanguage("axapta",zt?qt:(zt=1,qt=function(e){const t=e.UNDERSCORE_IDENT_RE,a={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},n={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a};return{name:"X++",aliases:["x++"],keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},n]}})),Sl.registerLanguage("bash",Wt?$t:(Wt=1,$t=function(e){const t=e.regex,a={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,r]};r.contains.push(s);const l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},c=e.SHEBANG({binary:"(".concat(["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|"),")"),relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[c,e.SHEBANG(),_,l,i,o,{match:/(\/[a-z._-]+)+/},s,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},a]}})),Sl.registerLanguage("basic",Kt?Qt:(Kt=1,Qt=function(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}})),Sl.registerLanguage("bnf",Xt?jt:(Xt=1,jt=function(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}})),Sl.registerLanguage("brainfuck",Jt?Zt:(Jt=1,Zt=function(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}})),Sl.registerLanguage("c",ta?ea:(ta=1,ea=function(e){const t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="("+n+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},d=t.optional(r)+e.IDENT_RE+"\\s*\\(",p={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},m=[c,o,a,e.C_BLOCK_COMMENT_MODE,l,s],u={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:m.concat([{begin:/\(/,end:/\)/,keywords:p,contains:m.concat(["self"]),relevance:0}]),relevance:0},g={begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(_,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,a,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:p,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}})),Sl.registerLanguage("cal",na?aa:(na=1,aa=function(e){const t=e.regex,a=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",begin:/(#\d+)+/},o={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:[r,i,e.NUMBER_MODE]},...n]},s={match:[/OBJECT/,/\s+/,t.either("Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:a,literal:"false true"},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},r,i,{className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},{className:"string",begin:'"',end:'"'},e.NUMBER_MODE,s,o]}})),Sl.registerLanguage("capnproto",ia?ra:(ia=1,ra=function(e){const t={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],type:["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},t]}})),Sl.registerLanguage("ceylon",sa?oa:(sa=1,oa=function(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],a={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},n=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[a]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return a.contains=n,{name:"Ceylon",keywords:{keyword:t.concat(["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"]),meta:["doc","by","license","see","throws","tagged"]},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(n)}})),Sl.registerLanguage("clean",ca?la:(ca=1,la=function(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}})),Sl.registerLanguage("clojure",da?_a:(da=1,_a=function(e){const t="a-zA-Z_\\-!.?+*=<>&'",a="[#]?["+t+"]["+t+"0-9/;:$#]*",n="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",r={$pattern:a,built_in:n+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},i={begin:a,relevance:0},o={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),_={scope:"punctuation",match:/,/,relevance:0},d=e.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},m={begin:"\\[|(#::?"+a+")?\\{",end:"[\\]\\}]",relevance:0},u={className:"symbol",begin:"[:]{1,2}"+a},g={begin:"\\(",end:"\\)"},E={endsWithParent:!0,relevance:0},S={keywords:r,className:"name",begin:a,relevance:0,starts:E},b=[_,g,s,l,c,d,u,m,o,p,i],T={beginKeywords:n,keywords:{$pattern:a,keyword:n},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:a,relevance:0,excludeEnd:!0,endsParent:!0}].concat(b)};return g.contains=[T,S,E],E.contains=b,m.contains=b,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[_,g,s,l,c,d,u,m,o,p]}})),Sl.registerLanguage("clojure-repl",ma?pa:(ma=1,pa=function(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}})),Sl.registerLanguage("cmake",ga?ua:(ga=1,ua=function(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}})),Sl.registerLanguage("coffeescript",function(){if(Sa)return Ea;Sa=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return Ea=function(n){const r={keyword:e.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((i=["var","const","let","function","static"],e=>!i.includes(e))),literal:t.concat(["yes","no","on","off"]),built_in:a.concat(["npm","print"])};var i;const o="[A-Za-z$_][0-9A-Za-z$_]*",s={className:"subst",begin:/#\{/,end:/\}/,keywords:r},l=[n.BINARY_NUMBER_MODE,n.inherit(n.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[n.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,s]},{begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,s]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[s,n.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+o},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];s.contains=l;const c=n.inherit(n.TITLE_MODE,{begin:o}),_="(\\(.*\\)\\s*)?\\B[-=]>",d={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:r,contains:["self"].concat(l)}]},p={variants:[{match:[/class\s+/,o,/\s+extends\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:r,illegal:/\/\*/,contains:[...l,n.COMMENT("###","###"),n.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+o+"\\s*=\\s*"+_,end:"[-=]>",returnBegin:!0,contains:[c,d]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:_,end:"[-=]>",returnBegin:!0,contains:[d]}]},p,{begin:o+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}}()),Sl.registerLanguage("coq",Ta?ba:(Ta=1,ba=function(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}})),Sl.registerLanguage("cos",Ca?fa:(Ca=1,fa=function(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}})),Sl.registerLanguage("cpp",Ra?ha:(Ra=1,ha=function(e){const t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="(?!struct)("+n+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},d=t.optional(r)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},m={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},u=[m,c,o,a,e.C_BLOCK_COMMENT_MODE,l,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:u.concat([{begin:/\(/,end:/\)/,keywords:p,contains:u.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,a,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"",keywords:p,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}})),Sl.registerLanguage("crmsh",Oa?Na:(Oa=1,Na=function(e){const t="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\ number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:"primitive rsc_template",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+t.split(" ").join("|")+")\\s+",keywords:t,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}})),Sl.registerLanguage("crystal",va?ya:(va=1,ya=function(e){const t="(_?[ui](8|16|32|64|128))?",a="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",n="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",r={$pattern:"[a-zA-Z_]\\w*[!?=]?",keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},i={className:"subst",begin:/#\{/,end:/\}/,keywords:r},o={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:r};function s(e,t){const a=[{begin:e,end:t}];return a[0].contains=a,a}const l={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:s("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},c={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%q<",end:">",contains:s("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},_={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},d=[o,l,c,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"%r\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%r<",end:">",contains:s("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},_,{className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:n}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:n})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:n})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[l,{begin:a}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?(_?f(32|64))?(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return i.contains=d,o.contains=d.slice(1),{name:"Crystal",aliases:["cr"],keywords:r,contains:d}})),Sl.registerLanguage("csharp",Ia?Aa:(Ia=1,Aa=function(e){const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},a=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},r={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(r,{illegal:/\n/}),o={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(o,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]},_=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});o.contains=[c,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE],s.contains=[_,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},c,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},m=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",u={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,n,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+m+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},u]}})),Sl.registerLanguage("csp",xa?Da:(xa=1,Da=function(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}})),Sl.registerLanguage("css",function(){if(wa)return Ma;wa=1;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();return Ma=function(i){const o=i.regex,s=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(i),l=[i.APOS_STRING_MODE,i.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[s.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+a.join("|")+")"},{begin:":(:)?("+n.join("|")+")"}]},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[s.BLOCK_COMMENT,s.HEXCOLOR,s.IMPORTANT,s.CSS_NUMBER_MODE,...l,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...l,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},s.FUNCTION_DISPATCH]},{begin:o.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,s.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}}()),Sl.registerLanguage("d",Pa?La:(Pa=1,La=function(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},a="(0|[1-9][\\d_]*)",n="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",r="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",i="([eE][+-]?"+n+")",o="("+a+"|0[bB][01_]+|0[xX]"+r+")",s="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",l={className:"number",begin:"\\b"+o+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},c={className:"number",begin:"\\b(((0[xX]("+r+"\\."+r+"|\\.?"+r+")[pP][+-]?"+n+")|("+n+"(\\.\\d*|"+i+")|\\d+\\."+n+"|\\."+a+i+"?))([fF]|L|i|[fF]i|Li)?|"+o+"(i|[fF]i|Li))",relevance:0},_={className:"string",begin:"'("+s+"|.)",end:"'",illegal:"."},d={className:"string",begin:'"',contains:[{begin:s,relevance:0}],end:'"[cwd]?'},p=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},d,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},c,l,_,{className:"meta",begin:"^#!",end:"$",relevance:5},{className:"meta",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}})),Sl.registerLanguage("markdown",Fa?ka:(Fa=1,ka=function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},n={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},r={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},i=e.inherit(n,{contains:[]}),o=e.inherit(r,{contains:[]});n.contains.push(o),r.contains.push(i);let s=[t,a];return[n,r,i,o].forEach((e=>{e.contains=e.contains.concat(s)})),s=s.concat(n,r),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},n,r,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},a,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}})),Sl.registerLanguage("dart",Ba?Ua:(Ba=1,Ua=function(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},a={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},n={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]}]};a.contains=[e.C_NUMBER_MODE,n];const r=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],i=r.map((e=>"".concat(e,"?")));return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:r.concat(i).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[n,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}})),Sl.registerLanguage("delphi",Ya?Ga:(Ya=1,Ga=function(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],a=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],n={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},o={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},s={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,i,n].concat(a)},n].concat(a)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[r,i,{className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},o,s,n].concat(a)}})),Sl.registerLanguage("diff",Ha?Va:(Ha=1,Va=function(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}})),Sl.registerLanguage("django",za?qa:(za=1,qa=function(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}})),Sl.registerLanguage("dns",Wa?$a:(Wa=1,$a=function(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}})),Sl.registerLanguage("dockerfile",Ka?Qa:(Ka=1,Qa=function(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r={className:"variable",begin:/&[a-z\d_]*\b/};return{name:"Device Tree",contains:[{className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},r,{className:"keyword",begin:"/[a-z][a-z\\d-]*/"},{className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},{className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},{relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},{match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},{className:"params",relevance:0,begin:"<",end:">",contains:[a,r]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,t,n,{scope:"punctuation",relevance:0,match:/\};|[;{}]/},{begin:e.IDENT_RE+"::",keywords:""}]}})),Sl.registerLanguage("dust",nn?an:(nn=1,an=function(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}})),Sl.registerLanguage("ebnf",on?rn:(on=1,rn=function(e){const t=e.COMMENT(/\(\*/,/\*\)/);return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,{className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},{begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]}]}})),Sl.registerLanguage("elixir",ln?sn:(ln=1,sn=function(e){const t=e.regex,a="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",n={$pattern:a,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},r={className:"subst",begin:/#\{/,end:/\}/,keywords:n},i={match:/\\[\s\S]/,scope:"char.escape",relevance:0},o="[/|([{<\"']",s=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],l=e=>({scope:"char.escape",begin:t.concat(/\\/,e),relevance:0}),c={className:"string",begin:"~[a-z](?="+o+")",contains:s.map((t=>e.inherit(t,{contains:[l(t.end),i,r]})))},_={className:"string",begin:"~[A-Z](?="+o+")",contains:s.map((t=>e.inherit(t,{contains:[l(t.end)]})))},d={className:"regex",variants:[{begin:"~r(?="+o+")",contains:s.map((a=>e.inherit(a,{end:t.concat(a.end,/[uismxfU]{0,7}/),contains:[l(a.end),i,r]})))},{begin:"~R(?="+o+")",contains:s.map((a=>e.inherit(a,{end:t.concat(a.end,/[uismxfU]{0,7}/),contains:[l(a.end)]})))}]},p={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},m={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},u=e.inherit(m,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),g=[p,d,_,c,e.HASH_COMMENT_MODE,u,m,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[p,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:a+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return r.contains=g,{name:"Elixir",aliases:["ex","exs"],keywords:n,contains:g}})),Sl.registerLanguage("elm",_n?cn:(_n=1,cn=function(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},n={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[n,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[n,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[a,n,{begin:/\{/,end:/\}/,contains:n.contains},t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},{className:"string",begin:"'\\\\?.",end:"'",illegal:"."},e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,a,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}})),Sl.registerLanguage("ruby",pn?dn:(pn=1,dn=function(e){const t=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=t.concat(n,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:i},_={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:"\\b(".concat("[1-9](_?[0-9])*|0",")(\\.(").concat(d,"))?([eE][+-]?(").concat(d,")|r)?i?\\b")},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},u=[_,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:i},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[_,{begin:a}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=u,m.contains=u;const g=[{begin:/^\s*=>/,starts:{end:"$",contains:u}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:u}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(g).concat(l).concat(u)}})),Sl.registerLanguage("erb",un?mn:(un=1,mn=function(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}})),Sl.registerLanguage("erlang-repl",En?gn:(En=1,gn=function(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}})),Sl.registerLanguage("erlang",bn?Sn:(bn=1,Sn=function(e){const t="[a-z'][a-zA-Z0-9_']*",a="("+t+":"+t+"|"+t+")",n={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},r=e.COMMENT("%","$"),i={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+t+"/\\d+"},s={begin:a+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:a,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},_={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},p={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},m={beginKeywords:"fun receive if try case",end:"end",keywords:n};m.contains=[r,o,e.inherit(e.APOS_STRING_MODE,{className:""}),m,s,e.QUOTE_STRING_MODE,i,l,c,_,d,p];const u=[r,o,m,s,e.QUOTE_STRING_MODE,i,l,c,_,d,p];s.contains[1].contains=u,l.contains=u,d.contains[1].contains=u;const g={className:"params",begin:"\\(",end:"\\)",contains:u};return{name:"Erlang",aliases:["erl"],keywords:n,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[g,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:n,contains:u}},r,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"].map((e=>"".concat(e,"|1.5"))).join(" ")},contains:[g]},i,e.QUOTE_STRING_MODE,d,c,_,l,p,{begin:/\.$/}]}})),Sl.registerLanguage("excel",fn?Tn:(fn=1,Tn=function(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}})),Sl.registerLanguage("fix",hn?Cn:(hn=1,Cn=function(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}})),Sl.registerLanguage("flix",Nn?Rn:(Nn=1,Rn=function(e){const t={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"string",variants:[{begin:'"',end:'"'}]},t,e.C_NUMBER_MODE]}})),Sl.registerLanguage("fortran",yn?On:(yn=1,On=function(e){const t=e.regex,a={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},n=/(_[a-z_\d]+)?/,r=/([de][+-]?\d+)?/,i={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,r,n)},{begin:t.concat(/\b\d+/,r,n)},{begin:t.concat(/\.\d+/,r,n)}],relevance:0},o={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[{className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},o,{begin:/^C\s*=(?!=)/,relevance:0},a,i]}})),Sl.registerLanguage("fsharp",function(){if(An)return vn;function e(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function t(e){return e?"string"==typeof e?e:e.source:null}function a(e){return n("(?=",e,")")}function n(...e){return e.map((e=>t(e))).join("")}function r(...e){const a=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(a.capture?"":"?:")+e.map((e=>t(e))).join("|")+")"}return An=1,vn=function(t){const i={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},o=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],s={keyword:["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],literal:["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"]},l={variants:[t.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),t.C_LINE_COMMENT_MODE]},c={scope:"variable",begin:/``/,end:/``/},_=/\B('|\^)/,d={scope:"symbol",variants:[{match:n(_,/``.*?``/)},{match:n(_,t.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:t}){let i;i=t?"!%&*+-/<=>@^|~?":"!%&*+-/<>@^|~?";const o=n("[",...Array.from(i).map(e),"]"),s=r(o,/\./),l=n(s,a(s)),c=r(n(l,s,"*"),n(o,"+"));return{scope:"operator",match:r(c,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),u=p({includeEqual:!1}),g=function(e,i){return{begin:n(e,a(n(/\s*/,r(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:i,end:a(r(/\n/,/=/)),relevance:0,keywords:t.inherit(s,{type:o}),contains:[l,d,t.inherit(c,{scope:null}),u]}},E=g(/:/,"operator"),S=g(/\bof\b/,"keyword"),b={begin:[/(^|\s+)/,/type/,/\s+/,/[a-zA-Z_](\w|')*/],beginScope:{2:"keyword",4:"title.class"},end:a(/\(|=|$/),keywords:s,contains:[l,t.inherit(c,{scope:null}),d,{scope:"operator",match:/<|>/},E]},T={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},f={begin:[/^\s*/,n(/#/,r("if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit")),/\b/],beginScope:{2:"meta"},end:a(/\s|$/)},C={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},h={scope:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},R={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},t.BACKSLASH_ESCAPE]},N={scope:"string",begin:/"""/,end:/"""/,relevance:2},O={scope:"subst",begin:/\{/,end:/\}/,keywords:s},y={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},t.BACKSLASH_ESCAPE,O]},v={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},t.BACKSLASH_ESCAPE,O]},A={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},O],relevance:2},I={scope:"string",match:n(/'/,r(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return O.contains=[v,y,R,h,I,i,l,c,E,T,f,C,d,m],{name:"F#",aliases:["fs","f#"],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[i,{variants:[A,v,y,N,R,h,I]},l,c,b,{scope:"meta",begin:/\[\]/,relevance:2,contains:[c,N,R,h,I,C]},S,E,T,f,C,d,m]}}}()),Sl.registerLanguage("gams",Dn?In:(Dn=1,In=function(e){const t=e.regex,a={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},n={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},r={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},i={begin:"/",end:"/",keywords:a,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},o=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,s={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[r,i,{className:"comment",begin:t.concat(o,t.anyNumberOfTimes(t.concat(/[ ]+/,o))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:a,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,s]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[s]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},n]},e.C_NUMBER_MODE,n]}})),Sl.registerLanguage("gauss",Mn?xn:(Mn=1,xn=function(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},a=e.COMMENT("@","@"),n={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a]},r={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},i=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,r]}],o={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},s=function(t,n,r){const s=e.inherit({className:"function",beginKeywords:t,end:n,excludeEnd:!0,contains:[].concat(i)},{});return s.contains.push(o),s.contains.push(e.C_NUMBER_MODE),s.contains.push(e.C_BLOCK_COMMENT_MODE),s.contains.push(a),s},l={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},_={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},l,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},d={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,l,_,c,"self"]};return _.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,c,n,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,a,d]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},_,r]}})),Sl.registerLanguage("gcode",Ln?wn:(Ln=1,wn=function(e){const t={$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},a=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),a,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[a],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:t,contains:[{className:"meta",begin:"%"},{className:"meta",begin:"([O])([0-9]+)"}].concat(n)}})),Sl.registerLanguage("gherkin",kn?Pn:(kn=1,Pn=function(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}})),Sl.registerLanguage("glsl",Un?Fn:(Un=1,Fn=function(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}})),Sl.registerLanguage("gml",Gn?Bn:(Gn=1,Bn=function(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}})),Sl.registerLanguage("go",Vn?Yn:(Vn=1,Yn=function(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}})),Sl.registerLanguage("handlebars",er?Jn:(er=1,Jn=function(e){const t=e.regex,a={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},n=/\[\]|\[[^\]]+\]/,r=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,i=t.either(/""|"[^"]+"/,/''|'[^']+'/,n,r),o=t.concat(t.optional(/\.|\.\/|\//),i,t.anyNumberOfTimes(t.concat(/(\.|\/)/,i))),s=t.concat("(",n,"|",r,")(?==)"),l={begin:o},c=e.inherit(l,{keywords:{$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]}}),_={begin:/\(/,end:/\)/},d={className:"attr",begin:s,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,c,_]}}},p={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},d,c,_],returnEnd:!0},m=e.inherit(l,{className:"name",keywords:a,starts:e.inherit(p,{end:/\)/})});_.contains=[m];const u=e.inherit(l,{keywords:a,className:"name",starts:e.inherit(p,{end:/\}\}/})}),g=e.inherit(l,{keywords:a,className:"name"}),E=e.inherit(l,{className:"name",keywords:a,starts:e.inherit(p,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[u],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[g]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[u]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[g]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[E]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[E]}]}})),Sl.registerLanguage("haskell",ar?tr:(ar=1,tr=function(e){const t="([0-9]_*)+",a="([0-9a-fA-F]_*)+",n="(".concat("[!#$%&*+.\\/<=>?@\\\\^~-]","|(?!(").concat("[(),;\\[\\]`|{}]","|[_:\"']))").concat("(\\p{S}|\\p{P})",")"),r={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},i={className:"meta",begin:/\{-#/,end:/#-\}/},o={className:"meta",begin:"^#",end:"$"},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[i,o,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),r]},c={begin:/\{/,end:/\}/,contains:l.contains},_={className:"number",relevance:0,variants:[{match:"\\b(".concat(t,")(\\.(").concat(t,"))?")+"([eE][+-]?(".concat(t,"))?\\b")},{match:"\\b0[xX]_*(".concat(a,")(\\.(").concat(a,"))?")+"([pP][+-]?(".concat(t,"))?\\b")},{match:"\\b0[oO](".concat("([0-7]_*)+",")\\b")},{match:"\\b0[bB](".concat("([01]_*)+",")\\b")}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[l,r],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[l,r],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[s,l,r]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[i,s,l,c,r]},{beginKeywords:"default",end:"$",contains:[s,l,r]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,r]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[s,e.QUOTE_STRING_MODE,r]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},i,o,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,_,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:"(?!-)".concat(n,"--+|--+(?!-)").concat(n)},r,{begin:"->|<-"}]}})),Sl.registerLanguage("haxe",rr?nr:(rr=1,nr=function(e){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/,relevance:0},{className:"variable",begin:"\\$[a-zA-Z_$][a-zA-Z0-9_$]*"},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}})),Sl.registerLanguage("hsp",or?ir:(or=1,ir=function(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}})),Sl.registerLanguage("http",lr?sr:(lr=1,sr=function(e){const t="HTTP/([32]|1\\.[01])",a={className:"attribute",begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},n=[a,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:n}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:n}},e.inherit(a,{relevance:0})]}})),Sl.registerLanguage("hy",_r?cr:(_r=1,cr=function(e){const t="a-zA-Z_\\-!.?+*=<>&#'",a="["+t+"]["+t+"0-9/;:]*",n={$pattern:a,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},r={begin:a,relevance:0},i={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},c={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},_={className:"comment",begin:"\\^"+a},d=e.COMMENT("\\^\\{","\\}"),p={className:"symbol",begin:"[:]{1,2}"+a},m={begin:"\\(",end:"\\)"},u={endsWithParent:!0,relevance:0},g={className:"name",relevance:0,keywords:n,begin:a,starts:u},E=[m,o,_,d,s,p,c,i,l,r];return m.contains=[e.COMMENT("comment",""),g,u],u.contains=E,c.contains=E,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),m,o,_,d,s,p,c,i,l]}})),Sl.registerLanguage("inform7",pr?dr:(pr=1,dr=function(e){return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:"\\[",end:"\\]"}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:"\\[",end:"\\]",contains:["self"]}]}})),Sl.registerLanguage("ini",ur?mr:(ur=1,mr=function(e){const t=e.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},n=e.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[n,i,r,o,a,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[n,s,i,r,o,a]}}]}})),Sl.registerLanguage("irpf90",Er?gr:(Er=1,gr=function(e){const t=e.regex,a=/(_[a-z_\d]+)?/,n=/([de][+-]?\d+)?/,r={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,n,a)},{begin:t.concat(/\b\d+/,n,a)},{begin:t.concat(/\.\d+/,n,a)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),r]}})),Sl.registerLanguage("isbl",br?Sr:(br=1,Sr=function(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",a={className:"number",begin:e.NUMBER_RE,relevance:0},n={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},r={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},i={variants:[{className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,r]},{className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,r]}]},o={$pattern:t,keyword:"and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",built_in:"SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE smHidden smMaximized smMinimized smNormal wmNo wmYes COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID RESULT_VAR_NAME RESULT_VAR_NAME_ENG AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ISBL_SYNTAX NO_SYNTAX XML_SYNTAX WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP atUser atGroup atRole aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty apBegin apEnd alLeft alRight asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways cirCommon cirRevoked ctSignature ctEncode ctSignatureEncode clbUnchecked clbChecked clbGrayed ceISB ceAlways ceNever ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob cfInternal cfDisplay ciUnspecified ciWrite ciRead ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton cctDate cctInteger cctNumeric cctPick cctReference cctString cctText cltInternal cltPrimary cltGUI dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange dssEdit dssInsert dssBrowse dssInActive dftDate dftShortDate dftDateTime dftTimeStamp dotDays dotHours dotMinutes dotSeconds dtkndLocal dtkndUTC arNone arView arEdit arFull ddaView ddaEdit emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ecotFile ecotProcess eaGet eaCopy eaCreate eaCreateStandardRoute edltAll edltNothing edltQuery essmText essmCard esvtLast esvtLastActive esvtSpecified edsfExecutive edsfArchive edstSQLServer edstFile edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile vsDefault vsDesign vsActive vsObsolete etNone etCertificate etPassword etCertificatePassword ecException ecWarning ecInformation estAll estApprovingOnly evtLast evtLastActive evtQuery fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch grhAuto grhX1 grhX2 grhX3 hltText hltRTF hltHTML iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG im8bGrayscale im24bRGB im1bMonochrome itBMP itJPEG itWMF itPNG ikhInformation ikhWarning ikhError ikhNoIcon icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler isShow isHide isByUserSettings jkJob jkNotice jkControlJob jtInner jtLeft jtRight jtFull jtCross lbpAbove lbpBelow lbpLeft lbpRight eltPerConnection eltPerUser sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac sfsItalic sfsStrikeout sfsNormal ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom vtEqual vtGreaterOrEqual vtLessOrEqual vtRange rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth rdWindow rdFile rdPrinter rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument reOnChange reOnChangeValues ttGlobal ttLocal ttUser ttSystem ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal smSelect smLike smCard stNone stAuthenticating stApproving sctString sctStream sstAnsiSort sstNaturalSort svtEqual svtContain soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown tarAbortByUser tarAbortByWorkflowException tvtAllWords tvtExactPhrase tvtAnyWord usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected btAnd btDetailAnd btOr btNotOr btOnly vmView vmSelect vmNavigation vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection wfatPrevious wfatNext wfatCancel wfatFinish wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 wfetQueryParameter wfetText wfetDelimiter wfetLabel wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal waAll waPerformers waManual wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection wiLow wiNormal wiHigh wrtSoft wrtHard wsInit wsRunning wsDone wsControlled wsAborted wsContinued wtmFull wtmFromCurrent wtmOnlyCurrent ",class:"AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",literal:"null true false nil "},s={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:o,relevance:0},l={className:"type",begin:":[ \\t]*("+"IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ".trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},c={className:"variable",keywords:o,begin:t,relevance:0,contains:[l,s]},_="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*\\(";return{name:"ISBL",case_insensitive:!0,keywords:o,illegal:"\\$|\\?|%|,|;$|~|#|@|r(e,t,a-1)))}return Tr=function(e){const t=e.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",i=a+r("(?:<"+a+"~~~(?:\\s*,\\s*"+a+"~~~)*>)?",/~~~/g,2),o={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},s={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},l={className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,a),/\s+/,a,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+i+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},n,s]}}}()),Sl.registerLanguage("javascript",function(){if(hr)return Cr;hr=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(i,n,r);return Cr=function(l){const c=l.regex,_=e,d="<>",p="",m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const a=e[0].length+e.index,n=e.input[a];if("<"===n||","===n)return void t.ignoreMatch();let r;">"===n&&(((e,{after:t})=>{const a=""".concat(e,"\\s*\\("))),c.concat("(?!",w.join("|"),")")),_,c.lookahead(/\s*\(/)),className:"title.function",relevance:0};var w;const L={begin:c.concat(/\./,c.lookahead(c.concat(_,/(?![0-9A-Za-z$_(])/))),end:_,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},P={match:[/get|set/,/\s+/,_,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},A]},k="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",F={match:[/const|var|let/,/\s+/,_,/\s*/,/=\s*/,/(async\s*)?/,c.lookahead(k)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[A]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:u,exports:{PARAMS_CONTAINS:v,CLASS_REFERENCE:D},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,f,C,h,R,N,{match:/\$\d+/},b,D,{className:"attr",begin:_+c.lookahead(":"),relevance:0},F,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[N,l.REGEXP_MODE,{className:"function",begin:k,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:v}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:d,end:p},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},x,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[A,l.inherit(l.TITLE_MODE,{begin:_,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+_,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[A]},M,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},I,P,{match:/\$[(.]/}]}}}()),Sl.registerLanguage("jboss-cli",Nr?Rr:(Nr=1,Rr=function(e){const t={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"params",begin:/--[\w\-=\/]+/},{className:"function",begin:/:[\w\-.]+/,relevance:0},{className:"string",begin:/\B([\/.])[\w\-.\/=]+/},t]}})),Sl.registerLanguage("json",yr?Or:(yr=1,Or=function(e){const t=["true","false","null"],a={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,a,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}})),Sl.registerLanguage("julia",Ar?vr:(Ar=1,vr=function(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",a={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},n={keywords:a,illegal:/<\//},r={className:"subst",begin:/\$\(/,end:/\)/,keywords:a},i={className:"variable",begin:"\\$"+t},o={className:"string",contains:[e.BACKSLASH_ESCAPE,r,i],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},s={className:"string",contains:[e.BACKSLASH_ESCAPE,r,i],begin:"`",end:"`"},l={className:"meta",begin:"@"+t};return n.name="Julia",n.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},o,s,l,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],r.contains=n.contains,n})),Sl.registerLanguage("julia-repl",Dr?Ir:(Dr=1,Ir=function(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}})),Sl.registerLanguage("kotlin",function(){if(Mr)return xr;Mr=1;var e="[0-9](_*[0-9])*",t="\\.(".concat(e,")"),a="[0-9a-fA-F](_*[0-9a-fA-F])*",n={className:"number",variants:[{begin:"(\\b(".concat(e,")((").concat(t,")|\\.)?|(").concat(t,"))")+"[eE][+-]?(".concat(e,")[fFdD]?\\b")},{begin:"\\b(".concat(e,")((").concat(t,")[fFdD]?\\b|\\.([fFdD]\\b)?)")},{begin:"(".concat(t,")[fFdD]?\\b")},{begin:"\\b(".concat(e,")[fFdD]\\b")},{begin:"\\b0[xX]((".concat(a,")\\.?|(").concat(a,")?\\.(").concat(a,"))")+"[pP][+-]?(".concat(e,")[fFdD]?\\b")},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:"\\b0[xX](".concat(a,")[lL]?\\b")},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};return xr=function(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},i={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,i,r]}]};r.contains.push(o);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},c=n,_=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=d;return p.variants[1].contains=[d],d.variants[1].contains=[p],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,_,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,_],relevance:0},e.C_LINE_COMMENT_MODE,_,s,l,o,e.C_NUMBER_MODE]},_]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},c]}}}()),Sl.registerLanguage("lasso",Lr?wr:(Lr=1,wr=function(e){const t="[a-zA-Z_][\\w.]*",a="<\\?(lasso(script)?|=)",n="\\]|\\?>",r={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},i=e.COMMENT("\x3c!--","--\x3e",{relevance:0}),o={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[i]}},s={className:"meta",begin:"\\[/noprocess|"+a},l={className:"symbol",begin:"'"+t+"'"},c=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:r,contains:[{className:"meta",begin:n,relevance:0,starts:{end:"\\[|"+a,returnEnd:!0,relevance:0,contains:[i]}},o,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:r,contains:[{className:"meta",begin:n,relevance:0,starts:{end:"\\[noprocess\\]|"+a,returnEnd:!0,contains:[i]}},o,s].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}})),Sl.registerLanguage("latex",kr?Pr:(kr=1,Pr=function(e){const t=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],a=[{className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map((e=>e+"(?![a-zA-Z@:_])")))},{endsParent:!0,begin:new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map((e=>e+"(?![a-zA-Z:_])")).join("|"))},{endsParent:!0,variants:t},{endsParent:!0,relevance:0,variants:[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}]}]},{className:"params",relevance:0,begin:/#+\d?/},{variants:t},{className:"built_in",relevance:0,begin:/[$&^_]/},{className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},e.COMMENT("%","$",{relevance:0})],n={begin:/\{/,end:/\}/,relevance:0,contains:["self",...a]},r=e.inherit(n,{relevance:0,endsParent:!0,contains:[n,...a]}),i={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[n,...a]},o={begin:/\s+/,relevance:0},s=[r],l=[i],c=function(e,t){return{contains:[o],starts:{relevance:0,contains:e,starts:t}}},_=function(e,t){return{begin:"\\\\"+e+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+e},relevance:0,contains:[o],starts:t}},d=function(t,a){return e.inherit({begin:"\\\\begin(?=[ \t]*(\\r?\\n[ \t]*)?\\{"+t+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},c(s,a))},p=(t="string")=>e.END_SAME_AS_BEGIN({className:t,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),m=function(e){return{className:"string",end:"(?=\\\\end\\{"+e+"\\})"}},u=(e="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:e,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}});return{name:"LaTeX",aliases:["tex"],contains:[...["verb","lstinline"].map((e=>_(e,{contains:[p()]}))),_("mint",c(s,{contains:[p()]})),_("mintinline",c(s,{contains:[u(),p()]})),_("url",{contains:[u("link"),u("link")]}),_("hyperref",{contains:[u("link")]}),_("href",c(l,{contains:[u("link")]})),...[].concat(...["","\\*"].map((e=>[d("verbatim"+e,m("verbatim"+e)),d("filecontents"+e,c(s,m("filecontents"+e))),...["","B","L"].map((t=>d(t+"Verbatim"+e,c(l,m(t+"Verbatim"+e)))))]))),d("minted",c(l,c(s,m("minted")))),...a]}})),Sl.registerLanguage("ldif",Ur?Fr:(Ur=1,Fr=function(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}})),Sl.registerLanguage("leaf",Gr?Br:(Gr=1,Br=function(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,a={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},n={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[a]};return a.contains.unshift(n),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[a]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}})),Sl.registerLanguage("less",function(){if(Vr)return Yr;Vr=1;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse(),i=a.concat(n).sort().reverse();return Yr=function(o){const s=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(o),l=i,c="[\\w-]+",_="("+c+"|@\\{"+c+"\\})",d=[],p=[],m=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},u=function(e,t,a){return{className:e,begin:t,relevance:a}},g={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},E={begin:"\\(",end:"\\)",contains:p,keywords:g,relevance:0};p.push(o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,m("'"),m('"'),s.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},s.HEXCOLOR,E,u("variable","@@?"+c,10),u("variable","@\\{"+c+"\\}"),u("built_in","~?`[^`]*?`"),{className:"attribute",begin:c+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},s.IMPORTANT,{beginKeywords:"and not"},s.FUNCTION_DISPATCH);const S=p.concat({begin:/\{/,end:/\}/,contains:d}),b={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(p)},T={begin:_+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:p}}]},f={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:g,returnEnd:!0,contains:p,relevance:0}},C={className:"variable",variants:[{begin:"@"+c+"\\s*:",relevance:15},{begin:"@"+c}],starts:{end:"[;}]",returnEnd:!0,contains:S}},h={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:_,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,b,u("keyword","all\\b"),u("variable","@\\{"+c+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},s.CSS_NUMBER_MODE,u("selector-tag",_,0),u("selector-id","#"+_),u("selector-class","\\."+_,0),u("selector-tag","&",0),s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:S},{begin:"!important"},s.FUNCTION_DISPATCH]},R={begin:c+":(:)?"+"(".concat(l.join("|"),")"),returnBegin:!0,contains:[h]};return d.push(o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,f,C,R,T,h,b,s.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:d}}}()),Sl.registerLanguage("lisp",qr?Hr:(qr=1,Hr=function(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",a="\\|[^]*?\\|",n="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",r={className:"literal",begin:"\\b(t{1}|nil)\\b"},i={className:"number",variants:[{begin:n,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+n+" +"+n,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+t},_={begin:t,relevance:0},d={begin:a},p={contains:[i,o,l,c,{begin:"\\(",end:"\\)",contains:["self",r,o,i,_]},_],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+a}]},m={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},u={begin:"\\(\\s*",end:"\\)"},g={endsWithParent:!0,relevance:0};return u.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:a}]},g],g.contains=[p,m,u,r,i,o,s,l,c,d,_],{name:"Lisp",illegal:/\S/,contains:[i,e.SHEBANG(),r,o,s,p,m,u,_]}})),Sl.registerLanguage("livecodeserver",$r?zr:($r=1,zr=function(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},a=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],n=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),r=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,n]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[r,n],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,n]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,n].concat(a),illegal:";$|^\\[|^=|&|\\{"}})),Sl.registerLanguage("livescript",function(){if(Qr)return Wr;Qr=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return Wr=function(n){const r={keyword:e.concat(["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"]),literal:t.concat(["yes","no","on","off","it","that","void"]),built_in:a.concat(["npm","print"])},i="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",o=n.inherit(n.TITLE_MODE,{begin:i}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:r},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:r},c=[n.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[n.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,s,l]},{begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,s,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,n.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+i},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=c;const _={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:r,contains:["self"].concat(c)}]},d={variants:[{match:[/class\s+/,i,/\s+extends\s+/,i]},{match:[/class\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r};return{name:"LiveScript",aliases:["ls"],keywords:r,illegal:/\/\*/,contains:c.concat([n.COMMENT("\\/\\*","\\*\\/"),n.HASH_COMMENT_MODE,{begin:"(#=>|=>|\\|>>|-?->|!->)"},{className:"function",contains:[o,_],returnBegin:!0,variants:[{begin:"("+i+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+i+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+i+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},d,{begin:i+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}}()),Sl.registerLanguage("llvm",jr?Kr:(jr=1,Kr=function(e){const t=e.regex,a=/([-a-zA-Z$._][\w$.-]*)/,n={className:"variable",variants:[{begin:t.concat(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},r={className:"title",variants:[{begin:t.concat(/@/,a)},{begin:/@\d+/},{begin:t.concat(/!/,a)},{begin:t.concat(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[{className:"type",begin:/\bi\d+(?=\s|\b)/},e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},r,{className:"punctuation",relevance:0,begin:/,/},{className:"operator",relevance:0,begin:/=/},n,{className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},{className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0}]}})),Sl.registerLanguage("lsl",Zr?Xr:(Zr=1,Xr=function(e){const t={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},a={className:"number",relevance:0,begin:e.C_NUMBER_RE};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[t,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},a,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},{className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"},{className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}})),Sl.registerLanguage("lua",ei?Jr:(ei=1,Jr=function(e){const t="\\[=*\\[",a="\\]=*\\]",n={begin:t,end:a,contains:["self"]},r=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,a,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:a,contains:[n],relevance:5}])}})),Sl.registerLanguage("makefile",ai?ti:(ai=1,ti=function(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{s.has(e[0])||t.ignoreMatch()}},{className:"symbol",relevance:0,begin:o}]},c={className:"message-name",relevance:0,begin:a.concat("::",o)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),{className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},{className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},c,l,{className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},t.QUOTE_STRING_MODE,i,{className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},{className:"brace",relevance:0,begin:/[[\](){}]/}]}}}()),Sl.registerLanguage("matlab",oi?ii:(oi=1,ii=function(e){const t="('|\\.')+",a={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:a},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:a},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:a},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:a},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}})),Sl.registerLanguage("maxima",li?si:(li=1,si=function(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}})),Sl.registerLanguage("mel",_i?ci:(_i=1,ci=function(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]},t,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},e.NUMBER_MODE,a,n,{begin:/:-/},{begin:/\.$/}]}})),Sl.registerLanguage("mipsasm",ui?mi:(ui=1,mi=function(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}})),Sl.registerLanguage("mizar",Ei?gi:(Ei=1,gi=function(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}})),Sl.registerLanguage("perl",bi?Si:(bi=1,Si=function(e){const t=e.regex,a=/[dualxmsipngr]{0,12}/,n={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},r={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},i={begin:/->\{/,end:/\}/},o={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},s={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[o]},l={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},c=[e.BACKSLASH_ESCAPE,r,s],_=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(e,n,r="\\1")=>{const i="\\1"===r?r:t.concat(r,n);return t.concat(t.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,r,a)},p=(e,n,r)=>t.concat(t.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,r,a),m=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),i,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",t.either(..._,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",t.either(..._,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return r.contains=m,i.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:m}})),Sl.registerLanguage("mojolicious",fi?Ti:(fi=1,Ti=function(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}})),Sl.registerLanguage("monkey",hi?Ci:(hi=1,Ci=function(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},a={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},n={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),a,n,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}})),Sl.registerLanguage("moonscript",Ni?Ri:(Ni=1,Ri=function(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},a="[A-Za-z$_][0-9A-Za-z$_]*",n={className:"subst",begin:/#\{/,end:/\}/,keywords:t},r=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];n.contains=r;const i=e.inherit(e.TITLE_MODE,{begin:a}),o="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(r)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:r.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+a+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[i,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[i]},i]},{className:"name",begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}})),Sl.registerLanguage("n1ql",yi?Oi:(yi=1,Oi=function(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}})),Sl.registerLanguage("nestedtext",Ai?vi:(Ai=1,vi=function(e){return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),{variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}},{match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},{match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},{match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}}]}})),Sl.registerLanguage("nginx",Di?Ii:(Di=1,Ii=function(e){const t=e.regex,a={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},n={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[a]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},a]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:n.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:n}],relevance:0}],illegal:"[^\\s\\}\\{]"}})),Sl.registerLanguage("nim",Mi?xi:(Mi=1,xi=function(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}})),Sl.registerLanguage("nix",Li?wi:(Li=1,wi=function(e){const t={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},a={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},n={className:"string",contains:[{className:"char.escape",begin:/''\$/},a],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},r=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]}];return a.contains=r,{name:"Nix",aliases:["nixos"],keywords:t,contains:r}})),Sl.registerLanguage("node-repl",ki?Pi:(ki=1,Pi=function(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}})),Sl.registerLanguage("nsis",Ui?Fi:(Ui=1,Fi=function(e){const t=e.regex,a={className:"variable.constant",begin:t.concat(/\$/,t.either("ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"))},n={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},r={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},i={className:"variable",begin:/\$+\([\w^.:!-]+\)/},o={className:"params",begin:t.either("ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY")},s={className:"keyword",begin:t.concat(/!/,t.either("addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"))},l={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[{className:"char.escape",begin:/\$(\\[nrt]|\$)/},a,n,r,i]},c={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},_={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],literal:["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"]},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),_,c,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},l,s,n,r,i,o,{className:"title.function",begin:/\w+::\w+/},e.NUMBER_MODE]}})),Sl.registerLanguage("objectivec",Gi?Bi:(Gi=1,Bi=function(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,a={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+a.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:a,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}})),Sl.registerLanguage("ocaml",Vi?Yi:(Vi=1,Yi=function(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}})),Sl.registerLanguage("openscad",qi?Hi:(qi=1,Hi=function(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[{className:"params",begin:"\\(",end:"\\)",contains:["self",a,n,t,{className:"literal",begin:"false|true|PI|undef"}]},e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},n,t,{begin:"[*!#%]",relevance:0},r]}})),Sl.registerLanguage("oxygene",$i?zi:($i=1,zi=function(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},a=e.COMMENT(/\{/,/\}/,{relevance:0}),n=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),r={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},i={className:"string",begin:"(#\\d+)+"},o={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[r,i]},a,n]};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[a,n,e.C_LINE_COMMENT_MODE,r,i,e.NUMBER_MODE,o,{scope:"punctuation",match:/;/,relevance:0}]}})),Sl.registerLanguage("parser3",Qi?Wi:(Qi=1,Wi=function(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}})),Sl.registerLanguage("pf",ji?Ki:(ji=1,Ki=function(e){return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},{className:"variable",begin:/<(?!\/)/,end:/>/}]}})),Sl.registerLanguage("pgsql",Zi?Xi:(Zi=1,Xi=function(e){const t=e.COMMENT("--","$"),a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",n="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",r=n.trim().split(" ").map((function(e){return e.split("|")[0]})).join("|"),i="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map((function(e){return e.split("|")[0]})).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:"ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",built_in:"CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED "},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+i+")\\s*\\("},{begin:"\\.("+r+")\\b"},{begin:"\\b("+r+")\\s+PATH\\b",keywords:{keyword:"PATH",type:n.replace("PATH ","")}},{className:"type",begin:"\\b("+r+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:a,end:a,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:"<<\\s*[a-zA-Z_][a-zA-Z_0-9$]*\\s*>>",relevance:10}]}})),Sl.registerLanguage("php",eo?Ji:(eo=1,Ji=function(e){const t=e.regex,a=/(?![A-Za-z0-9])(?![$])/,n=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,a),r=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,a),i={scope:"variable",match:"\\$+"+n},o={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l="[ \t\n]",c={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(o)}),s,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(o),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},_={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},d=["false","null","true"],p=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],m=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],u={keyword:p,literal:(e=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(d),built_in:m},g=e=>e.map((e=>e.replace(/\|\d+$/,""))),E={variants:[{match:[/new/,t.concat(l,"+"),t.concat("(?!",g(m).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},S=t.concat(n,"\\b(?!\\()"),b={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{1:"title.class",3:"variable.constant"}},{match:[r,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},T={scope:"attr",match:t.concat(n,t.lookahead(":"),t.lookahead(/(?!::)/))},f={relevance:0,begin:/\(/,end:/\)/,keywords:u,contains:[T,i,b,e.C_BLOCK_COMMENT_MODE,c,_,E]},C={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",g(p).join("\\b|"),"|",g(m).join("\\b|"),"\\b)"),n,t.concat(l,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[f]};f.contains.push(C);const h=[T,b,e.C_BLOCK_COMMENT_MODE,c,_,E];return{case_insensitive:!1,keywords:u,contains:[{begin:t.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:d,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:d,keyword:["new","array"]},contains:["self",...h]},...h,{scope:"meta",match:r}]},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},i,C,b,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},E,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:u,contains:["self",i,b,e.C_BLOCK_COMMENT_MODE,c,_]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},c,_]}})),Sl.registerLanguage("php-template",ao?to:(ao=1,to=function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}})),Sl.registerLanguage("plaintext",ro?no:(ro=1,no=function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}})),Sl.registerLanguage("pony",oo?io:(oo=1,io=function(e){return{name:"Pony",keywords:{keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},contains:[{className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},{begin:e.IDENT_RE+"'",relevance:0},{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}})),Sl.registerLanguage("powershell",lo?so:(lo=1,so=function(e){const t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},a={begin:"`[\\s\\S]",relevance:0},n={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},r={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,n,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},i={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},o=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),s={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[n]}]},_={begin:/using\s/,end:/$/,returnBegin:!0,contains:[r,i,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},p={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},m=[p,o,a,e.NUMBER_MODE,r,i,s,n,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],u={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",m,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return p.contains.unshift(u),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:t,contains:m.concat(l,c,_,d,u)}})),Sl.registerLanguage("processing",_o?co:(_o=1,co=function(e){const t=e.regex,a=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],n=e.IDENT_RE,r={variants:[{match:t.concat(t.either(...a),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,n,t.lookahead(/\s*\(/)),className:"title.function"}]},i={match:[/new\s+/,n],className:{1:"keyword",2:"class.title"}},o={relevance:0,match:[/\./,n],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,n]},{match:[/class/,/\s+/,n]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}};return{name:"Processing",aliases:["pde"],keywords:{keyword:["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...a,"BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"],type:["boolean","byte","char","color","double","float","int","long","short"]},contains:[s,i,r,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}})),Sl.registerLanguage("profile",mo?po:(mo=1,po=function(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}})),Sl.registerLanguage("prolog",go?uo:(go=1,uo=function(e){const t={begin:/\(/,end:/\)/,relevance:0},a={begin:/\[/,end:/\]/},n={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},r={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},i=[{begin:/[a-z][A-Za-z0-9_]*/,relevance:0},{className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},t,{begin:/:-/},a,n,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,r,{className:"string",begin:/0'(\\'|.)/},{className:"string",begin:/0'\\s/},e.C_NUMBER_MODE];return t.contains=i,a.contains=i,{name:"Prolog",contains:i.concat([{begin:/\.$/}])}})),Sl.registerLanguage("properties",So?Eo:(So=1,Eo=function(e){const t="[ \\t\\f]*",a=t+"[:=]"+t,n="[ \\t\\f]+",r="([^\\\\:= \\t\\f\\n]|\\\\.)+",i={end:"("+a+"|"+n+")",relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:r+a},{begin:r+n}],contains:[{className:"attr",begin:r,endsParent:!0}],starts:i},{className:"attr",begin:r+t+"$"}]}})),Sl.registerLanguage("protobuf",To?bo:(To=1,bo=function(e){const t={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:["package","import","option","optional","required","repeated","group","oneof"],type:["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}})),Sl.registerLanguage("puppet",Co?fo:(Co=1,fo=function(e){const t=e.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",n=e.inherit(e.TITLE_MODE,{begin:a}),r={className:"variable",begin:"\\$"+a},i={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[t,r,i,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[n,t]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:{keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[i,t,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},r]}],relevance:0}]}})),Sl.registerLanguage("purebasic",Ro?ho:(Ro=1,ho=function(e){return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},{className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},{className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"}]}})),Sl.registerLanguage("python",Oo?No:(Oo=1,No=function(e){const t=e.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:r,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",_="(\\b(".concat(c,"))?\\.(").concat(c,")|\\b(").concat(c,")\\."),d="\\b|".concat(n.join("|")),p={className:"number",relevance:0,variants:[{begin:"(\\b(".concat(c,")|(").concat(_,"))[eE][+-]?(").concat(c,")[jJ]?(?=").concat(d,")")},{begin:"(".concat(_,")[jJ]?")},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=".concat(d,")")},{begin:"\\b0[bB](_?[01])+[lL]?(?=".concat(d,")")},{begin:"\\b0[oO](_?[0-7])+[lL]?(?=".concat(d,")")},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=".concat(d,")")},{begin:"\\b(".concat(c,")[jJ](?=").concat(d,")")}]},m={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:r,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},u={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:["self",i,p,l,e.HASH_COMMENT_MODE]}]};return o.contains=[l,p,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:r,illegal:/(<\/|\?)|=>/,contains:[i,p,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,m,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[u]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,u,l]}]}})),Sl.registerLanguage("python-repl",vo?yo:(vo=1,yo=function(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}})),Sl.registerLanguage("q",Io?Ao:(Io=1,Ao=function(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}})),Sl.registerLanguage("qml",xo?Do:(xo=1,Do=function(e){const t="[a-zA-Z_][a-zA-Z0-9\\._]*",a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:t,returnEnd:!1}},n={begin:t+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:t,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},r={begin:e.regex.concat(t,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:{keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},{className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,n,r],illegal:/#/}})),Sl.registerLanguage("r",wo?Mo:(wo=1,Mo=function(e){const t=e.regex,a=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:a,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:a},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[i,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[a,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}})),Sl.registerLanguage("reasonml",Po?Lo:(Po=1,Lo=function(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}})),Sl.registerLanguage("rib",Fo?ko:(Fo=1,ko=function(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),r,i,n,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[r,i,n,{className:"literal",begin:"\\b("+a.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+"add remove enable disable set get print export edit find run debug error info warning".split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+"traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw".split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}})),Sl.registerLanguage("rsl",Ho?Vo:(Ho=1,Vo=function(e){const t={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:["while","for","if","do","return","else","break","extern","continue"],built_in:["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],type:["matrix","float","color","point","normal","vector"]},illegal:""},i]}})),Sl.registerLanguage("sas",Ko?Qo:(Ko=1,Qo=function(e){const t=e.regex;return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"]},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either("bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window")},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either("abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate")+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}})),Sl.registerLanguage("scala",Xo?jo:(Xo=1,jo=function(e){const t=e.regex,a={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},n={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,a]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[a],relevance:10}]},r={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},i={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},o={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i]},s={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[i]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r,s,o,e.C_NUMBER_MODE,{begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},{begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"},{begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}},{className:"meta",begin:"@[A-Za-z]+"}]}})),Sl.registerLanguage("scheme",Jo?Zo:(Jo=1,Zo=function(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",a="(-|\\+)?\\d+([./]\\d+)?",n={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},r={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},i={className:"number",variants:[{begin:a,relevance:0},{begin:a+"[+\\-]"+a+"i",relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},o=e.QUOTE_STRING_MODE,s=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],l={begin:t,relevance:0},c={className:"symbol",begin:"'"+t},_={endsWithParent:!0,relevance:0},d={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",r,o,i,l,c]}]},p={className:"name",relevance:0,begin:t,keywords:n},m={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[p,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[l]}]},p,_]};return _.contains=[r,i,o,l,c,d,m].concat(s),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),i,o,c,d,m].concat(s)}})),Sl.registerLanguage("scilab",ts?es:(ts=1,es=function(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:"'|\"",end:"'|\"",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}})),Sl.registerLanguage("scss",function(){if(ns)return as;ns=1;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();return as=function(i){const o=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(i),s=n,l=a,c="@[a-z-]+",_={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,o.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},o.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+l.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+s.join("|")+")"},_,{begin:/\(/,end:/\)/,contains:[o.CSS_NUMBER_MODE]},o.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[o.BLOCK_COMMENT,_,o.HEXCOLOR,o.CSS_NUMBER_MODE,i.QUOTE_STRING_MODE,i.APOS_STRING_MODE,o.IMPORTANT,o.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:c,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[{begin:c,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},_,i.QUOTE_STRING_MODE,i.APOS_STRING_MODE,o.HEXCOLOR,o.CSS_NUMBER_MODE]},o.FUNCTION_DISPATCH]}}}()),Sl.registerLanguage("shell",is?rs:(is=1,rs=function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}})),Sl.registerLanguage("smali",ss?os:(ss=1,os=function(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"].join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"].join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{begin:"[vp][0-9]+"}]}})),Sl.registerLanguage("smalltalk",cs?ls:(cs=1,ls=function(e){const t="[a-z][a-zA-Z0-9_]*",a={className:"string",begin:"\\$.{1}"},n={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,n,a,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,a,e.C_NUMBER_MODE,n]}]}})),Sl.registerLanguage("sml",ds?_s:(ds=1,_s=function(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}})),Sl.registerLanguage("sqf",ms?ps:(ms=1,ps=function(e){const t={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},a={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(t,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],built_in:["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],literal:["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,{className:"variable",begin:/\b_+[a-zA-Z]\w*/},{className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},t,a],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}})),Sl.registerLanguage("sql",gs?us:(gs=1,us=function(e){const t=e.regex,a=e.COMMENT("--","$"),n=["true","false","unknown"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],i=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],o=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],s=i,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!i.includes(e))),c={begin:t.concat(/\b/,t.either(...s),/\s*\(/),relevance:0,keywords:{built_in:s}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:a}={}){const n=a;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:n(e)?"".concat(e,"|0"):e))}(l,{when:e=>e.length<3}),literal:n,type:r,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:t.either(...o),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:l.concat(o),literal:n,type:r}},{className:"type",begin:t.either("double precision","large object","with timezone","without timezone")},c,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}})),Sl.registerLanguage("stan",Ss?Es:(Ss=1,Es=function(e){const t=e.regex,a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],n=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),r={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},i=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:["functions","model","data","parameters","quantities","transformed","generated"],type:["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],keyword:["for","in","if","else","while","break","continue","return"],built_in:["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"]},contains:[e.C_LINE_COMMENT_MODE,r,e.HASH_COMMENT_MODE,n,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...i),/\s*=/),keywords:i},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:t.concat(/\w*/,t.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}})),Sl.registerLanguage("stata",Ts?bs:(Ts=1,bs=function(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:'`"[^\r\n]*?"\''},{begin:'"[^\r\n"]*"'}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ \t]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}})),Sl.registerLanguage("step21",Cs?fs:(Cs=1,fs=function(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}})),Sl.registerLanguage("stylus",function(){if(Rs)return hs;Rs=1;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),n=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();return hs=function(i){const o=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(i),s={className:"variable",begin:"\\$"+i.IDENT_RE},l="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[i.QUOTE_STRING_MODE,i.APOS_STRING_MODE,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,o.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+l,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+l,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+l,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+a.join("|")+")"+l},{className:"selector-pseudo",begin:"&?:(:)?("+n.join("|")+")"+l},o.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[o.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"].join("|")+"))\\b"},s,o.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[o.HEXCOLOR,s,i.APOS_STRING_MODE,o.CSS_NUMBER_MODE,i.QUOTE_STRING_MODE]}]},o.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",starts:{end:/;|$/,contains:[o.HEXCOLOR,s,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,o.CSS_NUMBER_MODE,i.C_BLOCK_COMMENT_MODE,o.IMPORTANT,o.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},o.FUNCTION_DISPATCH]}}}()),Sl.registerLanguage("subunit",Os?Ns:(Os=1,Ns=function(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:"\\[\n(multipart)?",end:"\\]\n"},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}})),Sl.registerLanguage("swift",function(){if(vs)return ys;function e(e){return e?"string"==typeof e?e:e.source:null}function t(e){return a("(?=",e,")")}function a(...t){return t.map((t=>e(t))).join("")}function n(...t){const a=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(t);return"("+(a.capture?"":"?:")+t.map((t=>e(t))).join("|")+")"}vs=1;const r=e=>a(/\b/,e,/\w$/.test(e)?/\b/:/\B/),i=["Protocol","Type"].map(r),o=["init","self"].map(r),s=["Any","Self"],l=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],c=["false","nil","true"],_=["assignment","associativity","higherThan","left","lowerThan","none","right"],d=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],p=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m=n(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),u=n(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),g=a(m,u,"*"),E=n(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),S=n(E,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),b=a(E,S,"*"),T=a(/[A-Z]/,S,"*"),f=["attached","autoclosure",a(/convention\(/,n("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",a(/objc\(/,b,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],C=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];return ys=function(e){const m={match:/\s+/,relevance:0},E=e.COMMENT("/\\*","\\*/",{contains:["self"]}),h=[e.C_LINE_COMMENT_MODE,E],R={match:[/\./,n(...i,...o)],className:{2:"keyword"}},N={match:a(/\./,n(...l)),relevance:0},O=l.filter((e=>"string"==typeof e)).concat(["_|0"]),y={variants:[{className:"keyword",match:n(...l.filter((e=>"string"!=typeof e)).concat(s).map(r),...o)}]},v={$pattern:n(/\b\w+/,/#\w+/),keyword:O.concat(d),literal:c},A=[R,N,y],I=[{match:a(/\./,n(...p)),relevance:0},{className:"built_in",match:a(/\b/,n(...p),/(?=\()/)}],D={match:/->/,relevance:0},x=[D,{className:"operator",relevance:0,variants:[{match:g},{match:"\\.(\\.|".concat(u,")+")}]}],M="([0-9]_*)+",w="([0-9a-fA-F]_*)+",L={className:"number",relevance:0,variants:[{match:"\\b(".concat(M,")(\\.(").concat(M,"))?")+"([eE][+-]?(".concat(M,"))?\\b")},{match:"\\b0x(".concat(w,")(\\.(").concat(w,"))?")+"([pP][+-]?(".concat(M,"))?\\b")},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},P=(e="")=>({className:"subst",variants:[{match:a(/\\/,e,/[0\\tnr"']/)},{match:a(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),k=(e="")=>({className:"subst",match:a(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),F=(e="")=>({className:"subst",label:"interpol",begin:a(/\\/,e,/\(/),end:/\)/}),U=(e="")=>({begin:a(e,/"""/),end:a(/"""/,e),contains:[P(e),k(e),F(e)]}),B=(e="")=>({begin:a(e,/"/),end:a(/"/,e),contains:[P(e),F(e)]}),G={className:"string",variants:[U(),U("#"),U("##"),U("###"),B(),B("#"),B("##"),B("###")]},Y=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],V={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Y},H=e=>{const t=a(e,/\//),n=a(/\//,e);return{begin:t,end:n,contains:[...Y,{scope:"comment",begin:"#(?!.*".concat(n,")"),end:/$/}]}},q={scope:"regexp",variants:[H("###"),H("##"),H("#"),V]},z={match:a(/`/,b,/`/)},$=[z,{className:"variable",match:/\$\d+/},{className:"variable",match:"\\$".concat(S,"+")}],W=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:C,contains:[...x,L,G]}]}},{scope:"keyword",match:a(/@/,n(...f),t(n(/\(/,/\s+/)))},{scope:"meta",match:a(/@/,b)}],Q={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:a(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,S,"+")},{className:"type",match:T,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:a(/\s+&\s+/,t(T)),relevance:0}]},K={begin://,keywords:v,contains:[...h,...A,...W,D,Q]};Q.contains.push(K);const j={begin:/\(/,end:/\)/,relevance:0,keywords:v,contains:["self",{match:a(b,/\s*:/),keywords:"_|0",relevance:0},...h,q,...A,...I,...x,L,G,...$,...W,Q]},X={begin://,keywords:"repeat each",contains:[...h,Q]},Z={begin:/\(/,end:/\)/,keywords:v,contains:[{begin:n(t(a(b,/\s*:/)),t(a(b,/\s+/,b,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:b}]},...h,...A,...x,L,G,...W,Q,j],endsParent:!0,illegal:/["']/},J={match:[/(func|macro)/,/\s+/,n(z.match,b,g)],className:{1:"keyword",3:"title.function"},contains:[X,Z,m],illegal:[/\[/,/%/]},ee={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[X,Z,m],illegal:/\[|%/},te={match:[/operator/,/\s+/,g],className:{1:"keyword",3:"title"}},ae={begin:[/precedencegroup/,/\s+/,T],className:{1:"keyword",3:"title"},contains:[Q],keywords:[..._,...c],end:/}/},ne={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,b,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:v,contains:[X,...A,{begin:/:/,end:/\{/,keywords:v,contains:[{scope:"title.class.inherited",match:T},...A],relevance:0}]};for(const t of G.variants){const e=t.contains.find((e=>"interpol"===e.label));e.keywords=v;const a=[...A,...I,...x,L,G,...$];e.contains=[...a,{begin:/\(/,end:/\)/,contains:["self",...a]}]}return{name:"Swift",keywords:v,contains:[...h,J,ee,ne,te,ae,{beginKeywords:"import",end:/$/,contains:[...h],relevance:0},q,...A,...I,...x,L,G,...$,...W,Q,j]}}}()),Sl.registerLanguage("taggerscript",Is?As:(Is=1,As=function(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}})),Sl.registerLanguage("yaml",xs?Ds:(xs=1,Ds=function(e){const t="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},r=e.inherit(n,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},o={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[o],illegal:"\\n",relevance:0},l={begin:"\\[",end:"\\]",contains:[o],illegal:"\\n",relevance:0},c=[{className:"attr",variants:[{begin:/\w[\w :()\./-]*:(?=[ \t]|$)/},{begin:/"\w[\w :()\./-]*":(?=[ \t]|$)/},{begin:/'\w[\w :()\./-]*':(?=[ \t]|$)/}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},i,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,n],_=[...c];return _.pop(),_.push(r),o.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:c}})),Sl.registerLanguage("tap",ws?Ms:(ws=1,Ms=function(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}})),Sl.registerLanguage("tcl",Ps?Ls:(Ps=1,Ls=function(e){const t=e.regex,a=/[a-zA-Z_][a-zA-Z0-9_]*/,n={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),a,"(::",a,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[n]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n]}})),Sl.registerLanguage("thrift",Fs?ks:(Fs=1,ks=function(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}})),Sl.registerLanguage("tp",Bs?Us:(Bs=1,Us=function(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},a={className:"symbol",begin:":[^\\]]+"};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[{className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,a]},{className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,a]},{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}})),Sl.registerLanguage("twig",Ys?Gs:(Ys=1,Gs=function(e){const t=e.regex,a=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"];let n=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];n=n.concat(n.map((e=>"end".concat(e))));const r={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},i={scope:"number",match:/\d+/},o={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[r,i]},s={beginKeywords:a.join(" "),keywords:{name:a},relevance:0,contains:[o]},l={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"]}]},c=(e,{relevance:a})=>({beginScope:{1:"template-tag",3:"name"},relevance:a||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...e)],end:/%\}/,keywords:"in",contains:[l,s,r,i]}),_=c(n,{relevance:2}),d=c([/[a-z_]+/],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),_,d,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",l,s,r,i]}]}})),Sl.registerLanguage("typescript",function(){if(Hs)return Vs;Hs=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(i,n,r);return Vs=function(l){const c=function(l){const c=l.regex,_=e,d="<>",p="",m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const a=e[0].length+e.index,n=e.input[a];if("<"===n||","===n)return void t.ignoreMatch();let r;">"===n&&(((e,{after:t})=>{const a=""".concat(e,"\\s*\\("))),c.concat("(?!",w.join("|"),")")),_,c.lookahead(/\s*\(/)),className:"title.function",relevance:0};var w;const L={begin:c.concat(/\./,c.lookahead(c.concat(_,/(?![0-9A-Za-z$_(])/))),end:_,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},P={match:[/get|set/,/\s+/,_,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},A]},k="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",F={match:[/const|var|let/,/\s+/,_,/\s*/,/=\s*/,/(async\s*)?/,c.lookahead(k)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[A]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:u,exports:{PARAMS_CONTAINS:v,CLASS_REFERENCE:D},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,f,C,h,R,N,{match:/\$\d+/},b,D,{className:"attr",begin:_+c.lookahead(":"),relevance:0},F,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[N,l.REGEXP_MODE,{className:"function",begin:k,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:v}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:d,end:p},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},x,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[A,l.inherit(l.TITLE_MODE,{begin:_,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+_,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[A]},M,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},I,P,{match:/\$[(.]/}]}}(l),_=e,d=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={begin:[/namespace/,/\s+/,l.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},m={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:d},contains:[c.exports.CLASS_REFERENCE]},u={$pattern:e,keyword:t.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:a,built_in:s.concat(d),"variable.language":o},g={className:"meta",begin:"@"+_},E=(e,t,a)=>{const n=e.contains.findIndex((e=>e.label===t));if(-1===n)throw new Error("can not find mode to replace");e.contains.splice(n,1,a)};Object.assign(c.keywords,u),c.exports.PARAMS_CONTAINS.push(g);const S=c.contains.find((e=>"attr"===e.className));return c.exports.PARAMS_CONTAINS.push([c.exports.CLASS_REFERENCE,S]),c.contains=c.contains.concat([g,p,m]),E(c,"shebang",l.SHEBANG()),E(c,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),c.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(c,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),c}}()),Sl.registerLanguage("vala",zs?qs:(zs=1,qs=function(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}})),Sl.registerLanguage("vbnet",Ws?$s:(Ws=1,$s=function(e){const t=e.regex,a=/\d{1,2}\/\d{1,2}\/\d{4}/,n=/\d{4}-\d{1,2}-\d{1,2}/,r=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,i=/\d{1,2}(:\d{1,2}){1,2}/,o={className:"literal",variants:[{begin:t.concat(/# */,t.either(n,a),/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,r,/ *#/)},{begin:t.concat(/# */,t.either(n,a),/ +/,t.either(r,i),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}})),Sl.registerLanguage("vbscript",Ks?Qs:(Ks=1,Qs=function(e){const t=e.regex,a=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"];return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[{begin:t.concat(t.either(...a),"\\s*\\("),relevance:0,keywords:{built_in:a}},e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}})),Sl.registerLanguage("vbscript-html",Xs?js:(Xs=1,js=function(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}})),Sl.registerLanguage("verilog",Js?Zs:(Js=1,Zs=function(e){const t=e.regex,a=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either("__FILE__","__LINE__"))},{scope:"meta",begin:t.concat(/`/,t.either(...a)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:a}]}})),Sl.registerLanguage("vhdl",tl?el:(tl=1,el=function(e){const t="\\d(_|\\d)*",a="[eE][-+]?"+t,n="\\b("+t+"#\\w+(\\.\\w+)?#("+a+")?|"+t+"(\\."+t+")?("+a+")?)";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:n,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}})),Sl.registerLanguage("vim",nl?al:(nl=1,al=function(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}})),Sl.registerLanguage("wasm",il?rl:(il=1,rl=function(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);return t.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}})),Sl.registerLanguage("wren",sl?ol:(sl=1,ol=function(e){const t=e.regex,a=/[a-zA-Z]\w*/,n=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],r=["true","false","null"],i=["this","super"],o=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],s={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,a,/(?=\s*[({])/),className:"title.function"},l={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,a),t.either(...o)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:a}]}]}},c={variants:[{match:[/class\s+/,a,/\s+is\s+/,a]},{match:[/class\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:n},_={relevance:0,match:t.either(...o),className:"operator"},d={className:"property",begin:t.concat(/\./,t.lookahead(a)),end:a,excludeBegin:!0,relevance:0},p={relevance:0,match:t.concat(/\b_/,a),scope:"variable"},m={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"]}},u=e.C_NUMBER_MODE,g={match:[a,/\s*/,/=/,/\s*/,/\(/,a,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},E=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),S={scope:"subst",begin:/%\(/,end:/\)/,contains:[u,m,s,p,_]},b={scope:"string",begin:/"/,end:/"/,contains:[S,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};S.contains.push(b);const T=[...n,...i,...r],f={relevance:0,match:t.concat("\\b(?!",T.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:n,"variable.language":i,literal:r},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:r},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},u,b,{className:"string",begin:/"""/,end:/"""/},E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,c,g,l,s,_,p,d,f]}})),Sl.registerLanguage("x86asm",cl?ll:(cl=1,ll=function(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}})),Sl.registerLanguage("xl",dl?_l:(dl=1,_l=function(e){const t={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],literal:["true","false","nil"],built_in:["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"].concat(["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"])},a={className:"string",begin:'"',end:'"',illegal:"\\n"},n={beginKeywords:"import",end:"$",keywords:t,contains:[a]},r={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:t}})]};return{name:"XL",aliases:["tao"],keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:"<<",end:">>"},r,n,{className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},e.NUMBER_MODE]}})),Sl.registerLanguage("xquery",ml?pl:(ml=1,pl=function(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}})),Sl.registerLanguage("zephir",gl?ul:(gl=1,ul=function(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},a=e.UNDERSCORE_TITLE_MODE,n={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},r="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:r,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[a,{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:["self",e.C_BLOCK_COMMENT_MODE,t,n]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},a]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[a]},{beginKeywords:"use",end:/;/,contains:[a]},{begin:/=>/},t,n]}})),Sl.HighlightJS=Sl,Sl.default=Sl;const bl=t(Sl),Tl=["id"],fl={__name:"previewCodeDialg",props:{previewCode:{type:Object,default:()=>({})}},setup(e,{expose:t}){const u=e,g=a("");n((()=>{Z.setOptions({renderer:new Z.Renderer,highlight:function(e){return bl.highlightAuto(e).value},pedantic:!1,gfm:!0,tables:!0,breaks:!1,sanitize:!1,smartLists:!0,smartypants:!1,xhtml:!1,langPrefix:"hljs language-"});for(const e in u.previewCode)""===g.value&&(g.value=e),document.getElementById(e).innerHTML=Z(u.previewCode[e])}));return t({copy:()=>{(()=>{const e=document.getElementById(g.value);if(document.body.createTextRange){const t=document.body.createTextRange();t.moveToElementText(e),t.select()}else if(window.getSelection){const t=window.getSelection(),a=document.createRange();a.selectNodeContents(e),t.removeAllRanges(),t.addRange(a)}else alert("none")})(),document.execCommand("copy"),d.success("复制成功")}}),(t,a)=>{const n=p,d=m;return r(),i(d,{modelValue:g.value,"onUpdate:modelValue":a[0]||(a[0]=e=>g.value=e)},{default:o((()=>[(r(!0),s(l,null,c(e.previewCode,((e,t)=>(r(),i(n,{key:t,label:t,name:t},{default:o((()=>[_("div",{id:t,class:"h-[50vh] bg-white px-5 overflow-y-scroll"},null,8,Tl)])),_:2},1032,["label","name"])))),128))])),_:1},8,["modelValue"])}}};export{fl as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0progress-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0progress-legacy.js new file mode 100644 index 000000000..4c13bc44f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0progress-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(e,r){"use strict";return{execute:function(){var e=document.createElement("style");e.textContent='.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);animation:indeterminate 3s infinite}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}\n',document.head.appendChild(e)}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0progress.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0progress.css new file mode 100644 index 000000000..2e1ca188a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0progress.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);animation:indeterminate 3s infinite}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pubPlug-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pubPlug-legacy.js new file mode 100644 index 000000000..bb267fc9b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pubPlug-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return e};var r,e={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,r,e){t[r]=e.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{f({},"")}catch(r){f=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var o=r&&r.prototype instanceof m?r:m,a=Object.create(o.prototype),c=new G(n||[]);return i(a,"_invoke",{value:k(t,e,c)}),a}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",y="suspendedYield",v="executing",d="completed",g={};function m(){}function w(){}function b(){}var x={};f(x,c,(function(){return this}));var E=Object.getPrototypeOf,L=E&&E(E(A([])));L&&L!==n&&o.call(L,c)&&(x=L);var j=b.prototype=m.prototype=Object.create(x);function _(t){["next","throw","return"].forEach((function(r){f(t,r,(function(t){return this._invoke(r,t)}))}))}function O(t,r){function e(n,i,a,c){var u=h(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&o.call(f,"__await")?r.resolve(f.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return e("throw",t,a,c)}))}c(u.arg)}var n;i(this,"_invoke",{value:function(t,o){function i(){return new r((function(r,n){e(t,o,r,n)}))}return n=n?n.then(i,i):i()}})}function k(t,e,n){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:r,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=B(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=h(t,e,n);if("normal"===l.type){if(o=n.done?d:y,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function B(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,B(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=h(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function P(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function N(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function A(t){if(t||""===t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),N(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;N(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),g}},e}function r(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0autoCode-legacy.js"],(function(e,n){"use strict";var o,i,a,c,u,l,f,s,h,p,y,v;return{setters:[function(t){o=t.a,i=t.o,a=t.c,c=t.e,u=t.b,l=t.w,f=t.g,s=t.j,h=t.k,p=t.E},null,null,function(t){y=t._},function(t){v=t.l}],execute:function(){var n={class:"p-5 bg-white"},d={class:"flex items-center gap-3"};e("default",{__name:"pubPlug",setup:function(e){var g=o(""),m=function(){var e,n=(e=t().mark((function r(){var e;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v({plugName:g.value});case 2:0===(e=t.sent).code&&s.success(e.msg);case 4:case"end":return t.stop()}}),r)})),function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))});return function(){return n.apply(this,arguments)}}();return function(t,r){var e=h,o=p;return i(),a("div",n,[c(y,{title:"目前只支持标准插件(通过插件模板生成的标准目录插件),非标准插件请自行打包"}),u("div",d,[c(e,{modelValue:g.value,"onUpdate:modelValue":r[0]||(r[0]=function(t){return g.value=t}),placeholder:"插件模板处填写的【插件名】"},null,8,["modelValue"]),c(o,{type:"primary",onClick:m},{default:l((function(){return r[1]||(r[1]=[f("打包插件")])})),_:1})])])}}})}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pubPlug.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pubPlug.js new file mode 100644 index 000000000..61536251a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0pubPlug.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a,o as s,c as e,e as t,b as o,w as l,g as r,j as u,k as n,E as i}from"./087AC4D233B64EB0index.js";/* empty css *//* empty css */import{_ as m}from"./087AC4D233B64EB0warningBar.js";import{l as p}from"./087AC4D233B64EB0autoCode.js";const c={class:"p-5 bg-white"},d={class:"flex items-center gap-3"},B={__name:"pubPlug",setup(B){const g=a(""),C=async()=>{const a=await p({plugName:g.value});0===a.code&&u.success(a.msg)};return(a,u)=>{const p=n,B=i;return s(),e("div",c,[t(m,{title:"目前只支持标准插件(通过插件模板生成的标准目录插件),非标准插件请自行打包"}),o("div",d,[t(p,{modelValue:g.value,"onUpdate:modelValue":u[0]||(u[0]=a=>g.value=a),placeholder:"插件模板处填写的【插件名】"},null,8,["modelValue"]),t(B,{type:"primary",onClick:C},{default:l((()=>u[1]||(u[1]=[r("打包插件")]))),_:1})])])}}};export{B as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0qm.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0qm.png new file mode 100644 index 000000000..9f598ca8d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0qm.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio-legacy.js new file mode 100644 index 000000000..1892b16ce --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var r,t={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(e,r,t){e[r]=t.value},l="function"==typeof Symbol?Symbol:{},i=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function d(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{d({},"")}catch(r){d=function(e,r,t){return e[r]=t}}function s(e,r,t,n){var a=r&&r.prototype instanceof m?r:m,l=Object.create(a.prototype),i=new V(n||[]);return o(l,"_invoke",{value:N(e,t,i)}),l}function p(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",v="suspendedYield",h="executing",g="completed",b={};function m(){}function y(){}function x(){}var _={};d(_,i,(function(){return this}));var k=Object.getPrototypeOf,w=k&&k(k(j([])));w&&w!==n&&a.call(w,i)&&(_=w);var C=x.prototype=m.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(r){d(e,r,(function(e){return this._invoke(r,e)}))}))}function S(e,r){function t(n,o,l,i){var c=p(e[n],e,o);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&a.call(d,"__await")?r.resolve(d.__await).then((function(e){t("next",e,l,i)}),(function(e){t("throw",e,l,i)})):r.resolve(d).then((function(e){u.value=e,l(u)}),(function(e){return t("throw",e,l,i)}))}i(c.arg)}var n;o(this,"_invoke",{value:function(e,a){function o(){return new r((function(r,n){t(e,a,r,n)}))}return n=n?n.then(o,o):o()}})}function N(e,t,n){var a=f;return function(o,l){if(a===h)throw Error("Generator is already running");if(a===g){if("throw"===o)throw l;return{value:r,done:!0}}for(n.method=o,n.arg=l;;){var i=n.delegate;if(i){var c=L(i,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var u=p(e,t,n);if("normal"===u.type){if(a=n.done?g:v,u.arg===b)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function L(e,t){var n=t.method,a=e.iterator[n];if(a===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=r,L(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=p(a,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,b;var l=o.arg;return l?l.done?(t[e.resultName]=l.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,b):l:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function z(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function B(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function j(e){if(e||""===e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n=0;--o){var l=this.tryEntries[o],i=l.completion;if("root"===l.tryLoc)return n("end");if(l.tryLoc<=this.prev){var c=a.call(l,"catchLoc"),u=a.call(l,"finallyLoc");if(c&&u){if(this.prev=0;--t){var n=this.tryEntries[t];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),B(t),b}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var a=n.arg;B(t)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),b}},t}function r(e,r,t,n,a,o,l){try{var i=e[o](l),c=i.value}catch(e){return void t(e)}i.done?r(c):Promise.resolve(c).then(n,a)}function t(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var l=e.apply(t,n);function i(e){r(l,a,o,i,c,"next",e)}function c(e){r(l,a,o,i,c,"throw",e)}i(void 0)}))}}function n(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return a(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);tspan{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-fill-color)}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:var(--el-font-size-base);color:var(--el-cascader-menu-text-color);text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:none;cursor:pointer}.el-cascader__suggestion-item:hover,.el-cascader__suggestion-item:focus{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:var(--el-cascader-color-empty)}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 11px;padding:0;color:var(--el-cascader-menu-text-color);border:none;outline:none;box-sizing:border-box;background:transparent}.el-cascader__search-input::placeholder{color:transparent}.el-cascader-panel{--el-cascader-menu-text-color: var(--el-text-color-regular);--el-cascader-menu-selected-text-color: var(--el-color-primary);--el-cascader-menu-fill: var(--el-bg-color-overlay);--el-cascader-menu-font-size: var(--el-font-size-base);--el-cascader-menu-radius: var(--el-border-radius-base);--el-cascader-menu-border: solid 1px var(--el-border-color-light);--el-cascader-menu-shadow: var(--el-box-shadow-light);--el-cascader-node-background-hover: var(--el-fill-color-light);--el-cascader-node-color-disabled: var(--el-text-color-placeholder);--el-cascader-color-empty: var(--el-text-color-placeholder);--el-cascader-tag-background: var(--el-fill-color);display:flex;border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:var(--el-cascader-menu-text-color);border-right:var(--el-cascader-menu-border)}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;color:var(--el-cascader-color-empty)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:none}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-selectable.in-checked-path,.el-cascader-node.is-active{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):hover,.el-cascader-node:not(.is-disabled):focus{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;text-align:left;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-checkbox{margin-right:0}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-radio{--el-radio-font-size: var(--el-font-size-base);--el-radio-text-color: var(--el-text-color-regular);--el-radio-font-weight: var(--el-font-weight-primary);--el-radio-input-height: 14px;--el-radio-input-width: 14px;--el-radio-input-border-radius: var(--el-border-radius-circle);--el-radio-input-bg-color: var(--el-fill-color-blank);--el-radio-input-border: var(--el-border);--el-radio-input-border-color: var(--el-border-color);--el-radio-input-border-color-hover: var(--el-color-primary);color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:none;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;margin-right:30px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio__original:focus-visible+.el-radio__inner{outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px;border-radius:var(--el-radio-input-border-radius)}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}\n',document.head.appendChild(a);var Je=1/0;var Qe=c({modelValue:{type:[String,Number,Boolean],default:void 0},size:s,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),er=c(u(u({},Qe),{},{border:Boolean})),rr=d(d({},p,(function(e){return f(e)||v(e)||h(e)})),g,(function(e){return f(e)||v(e)||h(e)})),tr=Symbol("radioGroupKey"),nr=function(e,r){var t=b(),n=m(tr,void 0),a=y((function(){return!!n})),o=y((function(){return x(e.value)?e.label:e.value})),l=y({get:function(){return a.value?n.modelValue:e.modelValue},set:function(l){a.value?n.changeEvent(l):r&&r(p,l),t.value.checked=e.modelValue===o.value}}),i=_(y((function(){return null==n?void 0:n.size}))),c=k(y((function(){return null==n?void 0:n.disabled}))),u=b(!1),d=y((function(){return c.value||a.value&&l.value!==o.value?-1:0}));return w({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},y((function(){return a.value&&x(e.value)}))),{radioRef:t,isGroup:a,radioGroup:n,focus:u,size:i,disabled:c,tabIndex:d,modelValue:l,actualValue:o}},ar=C({name:"ElRadio"}),or=C(u(u({},ar),{},{props:er,emits:rr,setup:function(e,r){var t=r.emit,n=e,a=E("radio"),o=nr(n,t),l=o.radioRef,i=o.radioGroup,c=o.focus,u=o.size,d=o.disabled,s=o.modelValue,p=o.actualValue;function f(){M((function(){return t("change",s.value)}))}return function(e,r){var t;return S(),N("label",{class:T([V(a).b(),V(a).is("disabled",V(d)),V(a).is("focus",V(c)),V(a).is("bordered",e.border),V(a).is("checked",V(s)===V(p)),V(a).m(V(u))])},[L("span",{class:T([V(a).e("input"),V(a).is("disabled",V(d)),V(a).is("checked",V(s)===V(p))])},[z(L("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":function(e){return j(s)?s.value=e:null},class:T(V(a).e("original")),value:V(p),name:e.name||(null==(t=V(i))?void 0:t.name),disabled:V(d),checked:V(s)===V(p),type:"radio",onFocus:function(e){return c.value=!0},onBlur:function(e){return c.value=!1},onChange:f,onClick:O((function(){}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[B,V(s)]]),L("span",{class:T(V(a).e("inner"))},null,2)],2),L("span",{class:T(V(a).e("label")),onKeydown:O((function(){}),["stop"])},[D(e.$slots,"default",{},(function(){return[P(A(e.label),1)]}))],42,["onKeydown"])],2)}}})),lr=F(or,[["__file","radio.vue"]]),ir=c(u({},Qe)),cr=C({name:"ElRadioButton"}),ur=C(u(u({},cr),{},{props:ir,setup:function(e){var r=e,t=E("radio"),n=nr(r),a=n.radioRef,o=n.focus,l=n.size,i=n.disabled,c=n.modelValue,u=n.radioGroup,d=n.actualValue,s=y((function(){return{backgroundColor:(null==u?void 0:u.fill)||"",borderColor:(null==u?void 0:u.fill)||"",boxShadow:(null==u?void 0:u.fill)?"-1px 0 0 0 ".concat(u.fill):"",color:(null==u?void 0:u.textColor)||""}}));return function(e,r){var n;return S(),N("label",{class:T([V(t).b("button"),V(t).is("active",V(c)===V(d)),V(t).is("disabled",V(i)),V(t).is("focus",V(o)),V(t).bm("button",V(l))])},[z(L("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":function(e){return j(c)?c.value=e:null},class:T(V(t).be("button","original-radio")),value:V(d),type:"radio",name:e.name||(null==(n=V(u))?void 0:n.name),disabled:V(i),onFocus:function(e){return o.value=!0},onBlur:function(e){return o.value=!1},onClick:O((function(){}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[B,V(c)]]),L("span",{class:T(V(t).be("button","inner")),style:I(V(c)===V(d)?V(s):{}),onKeydown:O((function(){}),["stop"])},[D(e.$slots,"default",{},(function(){return[P(A(e.label),1)]}))],46,["onKeydown"])],2)}}})),dr=F(ur,[["__file","radio-button.vue"]]),sr=c(u({id:{type:String,default:void 0},size:s,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}},R(["ariaLabel"]))),pr=rr,fr=C({name:"ElRadioGroup"}),vr=C(u(u({},fr),{},{props:sr,emits:pr,setup:function(e,r){var t=r.emit,n=e,a=E("radio"),o=$(),l=b(),i=H().formItem,c=U(n,{formItemContext:i}),d=c.inputId,s=c.isLabeledByFormItem;q((function(){var e=l.value.querySelectorAll("[type=radio]"),r=e[0];!Array.from(e).some((function(e){return e.checked}))&&r&&(r.tabIndex=0)}));var f=y((function(){return n.name||o.value}));return G(tr,K(u(u({},Z(n)),{},{changeEvent:function(e){t(p,e),M((function(){return t("change",e)}))},name:f}))),W((function(){return n.modelValue}),(function(){n.validateEvent&&(null==i||i.validate("change").catch((function(e){return Y()})))})),function(e,r){return S(),N("div",{id:V(d),ref_key:"radioGroupRef",ref:l,class:T(V(a).b("group")),role:"radiogroup","aria-label":V(s)?void 0:e.ariaLabel||"radio-group","aria-labelledby":V(s)?V(i).labelId:void 0},[D(e.$slots,"default")],10,["id","aria-label","aria-labelledby"])}}})),hr=F(vr,[["__file","radio-group.vue"]]),gr=X(lr,{RadioButton:dr,RadioGroup:hr});J(hr),J(dr);var br=C({name:"NodeContent",setup:function(){return{ns:E("cascader-node")}},render:function(){var e=this.ns,r=this.$parent,t=r.node,n=r.panel,a=t.data,o=t.label,l=n.renderLabelFn;return Q("span",{class:e.e("label")},l?l({node:t,data:a}):o)}}),mr=Symbol(),yr=C({name:"ElCascaderNode",components:{ElCheckbox:Me,ElRadio:gr,NodeContent:br,ElIcon:ee,Check:re,Loading:te,ArrowRight:ne},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup:function(e,r){var t=r.emit,n=m(mr),a=E("cascader-node"),o=y((function(){return n.isHoverMenu})),l=y((function(){return n.config.multiple})),i=y((function(){return n.config.checkStrictly})),c=y((function(){var e;return null==(e=n.checkedNodes[0])?void 0:e.uid})),u=y((function(){return e.node.isDisabled})),d=y((function(){return e.node.isLeaf})),s=y((function(){return i.value&&!d.value||!u.value})),p=y((function(){return v(n.expandingNode)})),f=y((function(){return i.value&&n.checkedNodes.some(v)})),v=function(r){var t,n=e.node,a=n.level,o=n.uid;return(null==(t=null==r?void 0:r.pathNodes[a-1])?void 0:t.uid)===o},h=function(){p.value||n.expandNode(e.node)},g=function(r){var t=e.node;r!==t.checked&&n.handleCheckChange(t,r)},b=function(){n.lazyLoad(e.node,(function(){d.value||h()}))},x=function(){var r=e.node;s.value&&!r.loading&&(r.loaded?h():b())},_=function(r){e.node.loaded?(g(r),!i.value&&h()):b()};return{panel:n,isHoverMenu:o,multiple:l,checkStrictly:i,checkedNodeId:c,isDisabled:u,isLeaf:d,expandable:s,inExpandingPath:p,inCheckedPath:f,ns:a,handleHoverExpand:function(e){o.value&&(x(),!d.value&&t("expand",e))},handleExpand:x,handleClick:function(){o.value&&!d.value||(!d.value||u.value||i.value||l.value?x():_(!0))},handleCheck:_,handleSelectCheck:function(r){i.value?(g(r),e.node.loaded&&h()):_(r)}}}});var xr=C({name:"ElCascaderMenu",components:{Loading:te,ElIcon:ee,ElScrollbar:Fe,ElCascaderNode:F(yr,[["render",function(e,r,t,n,a,o){var l=ae("el-checkbox"),i=ae("el-radio"),c=ae("check"),u=ae("el-icon"),d=ae("node-content"),s=ae("loading"),p=ae("arrow-right");return S(),N("li",{id:"".concat(e.menuId,"-").concat(e.node.uid),role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:T([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:e.handleHoverExpand,onFocus:e.handleHoverExpand,onClick:e.handleClick},[oe(" prefix "),e.multiple?(S(),le(l,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:O((function(){}),["stop"]),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onClick","onUpdate:modelValue"])):e.checkStrictly?(S(),le(i,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:O((function(){}),["stop"])},{default:ie((function(){return[oe("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),L("span")]})),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):e.isLeaf&&e.node.checked?(S(),le(u,{key:2,class:T(e.ns.e("prefix"))},{default:ie((function(){return[ce(c)]})),_:1},8,["class"])):oe("v-if",!0),oe(" content "),ce(d),oe(" postfix "),e.isLeaf?oe("v-if",!0):(S(),N(ue,{key:3},[e.node.loading?(S(),le(u,{key:0,class:T([e.ns.is("loading"),e.ns.e("postfix")])},{default:ie((function(){return[ce(s)]})),_:1},8,["class"])):(S(),le(u,{key:1,class:T(["arrow-right",e.ns.e("postfix")])},{default:ie((function(){return[ce(p)]})),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}],["__file","node.vue"]])},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup:function(e){var r=pe(),t=E("cascader-menu"),n=de().t,a=$(),o=null,l=null,i=m(mr),c=b(null),u=y((function(){return!e.nodes.length})),d=y((function(){return!i.initialLoaded})),s=y((function(){return"".concat(a.value,"-").concat(e.index)})),p=function(){l&&(clearTimeout(l),l=null)},f=function(){c.value&&(c.value.innerHTML="",p())};return{ns:t,panel:i,hoverZone:c,isEmpty:u,isLoading:d,menuId:s,t:n,handleExpand:function(e){o=e.target},handleMouseMove:function(e){if(i.isHoverMenu&&o&&c.value)if(o.contains(e.target)){p();var t=r.vnode.el,n=t.getBoundingClientRect().left,a=t.offsetWidth,u=t.offsetHeight,d=e.clientX-n,s=o.offsetTop,v=s+o.offsetHeight;c.value.innerHTML='\n \n \n ')}else l||(l=window.setTimeout(f,i.config.hoverThreshold))},clearHoverZone:f}}});var _r=F(xr,[["render",function(e,r,t,n,a,o){var l=ae("el-cascader-node"),i=ae("loading"),c=ae("el-icon"),u=ae("el-scrollbar");return S(),le(u,{key:e.menuId,tag:"ul",role:"menu",class:T(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:ie((function(){var r;return[(S(!0),N(ue,null,se(e.nodes,(function(r){return S(),le(l,{key:r.uid,node:r,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"])})),128)),e.isLoading?(S(),N("div",{key:0,class:T(e.ns.e("empty-text"))},[ce(c,{size:"14",class:T(e.ns.is("loading"))},{default:ie((function(){return[ce(i)]})),_:1},8,["class"]),P(" "+A(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(S(),N("div",{key:1,class:T(e.ns.e("empty-text"))},[D(e.$slots,"empty",{},(function(){return[P(A(e.t("el.cascader.noData")),1)]}))],2)):(null==(r=e.panel)?void 0:r.isHoverMenu)?(S(),N("svg",{key:2,ref:"hoverZone",class:T(e.ns.e("hover-zone"))},null,2)):oe("v-if",!0)]})),_:3},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}],["__file","menu.vue"]]),kr=0,wr=function(){function e(r,t,n){var a=this,l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];o(this,e),this.data=r,this.config=t,this.parent=n,this.root=l,this.uid=kr++,this.checked=!1,this.indeterminate=!1,this.loading=!1;var i=t.value,c=t.label,u=r[t.children],d=function(e){for(var r=[e],t=e.parent;t;)r.unshift(t),t=t.parent;return r}(this);this.level=l?0:n?n.level+1:1,this.value=r[i],this.label=r[c],this.pathNodes=d,this.pathValues=d.map((function(e){return e.value})),this.pathLabels=d.map((function(e){return e.label})),this.childrenData=u,this.children=(u||[]).map((function(r){return new e(r,t,a)})),this.loaded=!t.lazy||this.isLeaf||!fe(u)}return i(e,[{key:"isDisabled",get:function(){var e=this.data,r=this.parent,t=this.config,n=t.disabled,a=t.checkStrictly;return(ve(n)?n(e,this):!!e[n])||!a&&(null==r?void 0:r.isDisabled)}},{key:"isLeaf",get:function(){var e=this.data,r=this.config,t=this.childrenData,n=this.loaded,a=r.lazy,o=r.leaf,l=ve(o)?o(e,this):e[o];return he(l)?!(a&&!n)&&!(Array.isArray(t)&&t.length):!!l}},{key:"valueByOption",get:function(){return this.config.emitPath?this.pathValues:this.value}},{key:"appendChild",value:function(r){var t=this.childrenData,n=this.children,a=new e(r,this.config,this);return Array.isArray(t)?t.push(r):this.childrenData=[r],n.push(a),a}},{key:"calcText",value:function(e,r){var t=e?this.pathLabels.join(r):this.label;return this.text=t,t}},{key:"broadcast",value:function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n1?n-1:0),o=1;o0}},{key:"doCheck",value:function(e){if(this.checked!==e){var r=this.config,t=r.checkStrictly,n=r.multiple;t||!n?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check"))}}}])}(),Cr=function(e,r){return e.reduce((function(e,t){return t.isLeaf?e.push(t):(!r&&e.push(t),e=e.concat(Cr(t.children,r))),e}),[])},Er=function(){return i((function e(r,t){var n=this;o(this,e),this.config=t;var a=(r||[]).map((function(e){return new wr(e,n.config)}));this.nodes=a,this.allNodes=Cr(a,!1),this.leafNodes=Cr(a,!0)}),[{key:"getNodes",value:function(){return this.nodes}},{key:"getFlattedNodes",value:function(e){return e?this.leafNodes:this.allNodes}},{key:"appendNode",value:function(e,r){var t=r?r.appendChild(e):new wr(e,this.config);r||this.nodes.push(t),this.allNodes.push(t),t.isLeaf&&this.leafNodes.push(t)}},{key:"appendNodes",value:function(e,r){var t=this;e.forEach((function(e){return t.appendNode(e,r)}))}},{key:"getNodeByValue",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(e||0===e)&&this.getFlattedNodes(r).find((function(r){return Re(r.value,e)||Re(r.pathValues,e)}))||null}},{key:"getSameNode",value:function(e){return e&&this.getFlattedNodes(!1).find((function(r){var t=r.value,n=r.level;return Re(e.value,t)&&e.level===n}))||null}}])}(),Sr=c({modelValue:{type:ge([Number,String,Array])},options:{type:ge(Array),default:function(){return[]}},props:{type:ge(Object),default:function(){return{}}}}),Nr={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:be,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Lr=function(e){if(!e)return 0;var r=e.id.split("-");return Number(r[r.length-2])},zr=C({name:"ElCascaderPanel",components:{ElCascaderMenu:_r},props:u(u({},Sr),{},{border:{type:Boolean,default:!0},renderLabel:Function}),emits:[p,g,"close","expand-change"],setup:function(e,r){var t=r.emit,a=r.slots,o=!1,i=E("cascader"),c=function(e){return y((function(){return u(u({},Nr),e.props)}))}(e),d=null,s=b(!0),f=b([]),v=b(null),h=b([]),m=b(null),x=b([]),_=y((function(){return"hover"===c.value.expandTrigger})),k=y((function(){return e.renderLabel||a.default})),w=function(e,r){var t=c.value;(e=e||new wr({},t,void 0,!0)).loading=!0;t.lazyLoad(e,(function(t){var n=e,a=n.root?null:n;t&&(null==d||d.appendNodes(t,a)),n.loading=!1,n.loaded=!0,n.childrenData=n.childrenData||[],r&&r(t)}))},C=function(e,r){var n,a,o=e.level,l=h.value.slice(0,o);e.isLeaf?a=e.pathNodes[o-2]:(a=e,l.push(e.children)),(null==(n=m.value)?void 0:n.uid)!==(null==a?void 0:a.uid)&&(m.value=e,h.value=l,!r&&t("expand-change",(null==e?void 0:e.pathValues)||[]))},S=function(e,r){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=c.value,l=a.checkStrictly,i=a.multiple,u=x.value[0];o=!0,!i&&(null==u||u.doCheck(!1)),e.doCheck(r),B(),n&&!i&&!l&&t("close"),!n&&!i&&!l&&N(e)},N=function(e){e&&(e=e.parent,N(e),e&&C(e))},L=function(e){return null==d?void 0:d.getFlattedNodes(e)},z=function(e){var r;return null==(r=L(e))?void 0:r.filter((function(e){return!1!==e.checked}))},B=function(){var e,r=c.value,t=r.checkStrictly,a=r.multiple,o=function(e,r){var t=r.slice(0),a=t.map((function(e){return e.uid})),o=e.reduce((function(e,r){var n=a.indexOf(r.uid);return n>-1&&(e.push(r),t.splice(n,1),a.splice(n,1)),e}),[]);return o.push.apply(o,n(t)),o}(x.value,z(!t)),l=o.map((function(e){return e.valueByOption}));x.value=o,v.value=a?l:null!=(e=l[0])?e:null},V=function(){var r,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e.modelValue,i=c.value,u=i.lazy,p=i.multiple,f=!i.checkStrictly;if(s.value&&!o&&(n||!Re(a,v.value)))if(u&&!t){var h=$e(null!=(r=He(a))&&r.length?l(r,Je):[]).map((function(e){return null==d?void 0:d.getNodeByValue(e)})).filter((function(e){return!!e&&!e.loaded&&!e.loading}));h.length?h.forEach((function(e){w(e,(function(){return V(!1,n)}))})):V(!0,n)}else{var g=p?He(a):[a],b=$e(g.map((function(e){return null==d?void 0:d.getNodeByValue(e,f)})));j(b,n),v.value=Ue(a)}},j=function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=c.value.checkStrictly,n=x.value,a=e.filter((function(e){return!!e&&(t||e.isLeaf)})),o=null==d?void 0:d.getSameNode(m.value),l=r&&o||a[0];l?l.pathNodes.forEach((function(e){return C(e,!0)})):m.value=null,n.forEach((function(e){return e.doCheck(!1)})),K(a).forEach((function(e){return e.doCheck(!0)})),x.value=a,M(T)},T=function(){xe&&f.value.forEach((function(e){var r=null==e?void 0:e.$el;if(r){var t=r.querySelector(".".concat(i.namespace.value,"-scrollbar__wrap")),n=r.querySelector(".".concat(i.b("node"),".").concat(i.is("active")))||r.querySelector(".".concat(i.b("node"),".in-active-path"));_e(t,n)}}))};return G(mr,K({config:c,expandingNode:m,checkedNodes:x,isHoverMenu:_,initialLoaded:s,renderLabelFn:k,lazyLoad:w,expandNode:C,handleCheckChange:S})),W([c,function(){return e.options}],(function(){var r=e.options,t=c.value;o=!1,d=new Er(r,t),h.value=[d.getNodes()],t.lazy&&fe(e.options)?(s.value=!1,w(void 0,(function(e){e&&(d=new Er(e,t),h.value=[d.getNodes()]),s.value=!0,V(!1,!0)}))):V(!1,!0)}),{deep:!0,immediate:!0}),W((function(){return e.modelValue}),(function(){o=!1,V()}),{deep:!0}),W((function(){return v.value}),(function(r){Re(r,e.modelValue)||(t(p,r),t(g,r))})),ye((function(){return f.value=[]})),q((function(){return!fe(e.modelValue)&&V()})),{ns:i,menuList:f,menus:h,checkedNodes:x,handleKeyDown:function(e){var r=e.target,t=e.code;switch(t){case ke.up:case ke.down:e.preventDefault();var n=t===ke.up?-1:1;we(Ce(r,n,".".concat(i.b("node"),'[tabindex="-1"]')));break;case ke.left:e.preventDefault();var a=f.value[Lr(r)-1],o=null==a?void 0:a.$el.querySelector(".".concat(i.b("node"),'[aria-expanded="true"]'));we(o);break;case ke.right:e.preventDefault();var l=f.value[Lr(r)+1],c=null==l?void 0:l.$el.querySelector(".".concat(i.b("node"),'[tabindex="-1"]'));we(c);break;case ke.enter:!function(e){if(e){var r=e.querySelector("input");r?r.click():me(e)&&e.click()}}(r)}},handleCheckChange:S,getFlattedNodes:L,getCheckedNodes:z,clearCheckedNodes:function(){x.value.forEach((function(e){return e.doCheck(!1)})),B(),h.value=h.value.slice(0,1),m.value=null,t("expand-change",[])},calculateCheckedValue:B,scrollToExpandingNode:T}}});var Br=X(F(zr,[["render",function(e,r,t,a,o,l){var i=ae("el-cascader-menu");return S(),N("div",{class:T([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:e.handleKeyDown},[(S(!0),N(ue,null,se(e.menus,(function(r,t){return S(),le(i,{key:t,ref_for:!0,ref:function(r){return e.menuList[t]=r},index:t,nodes:n(r)},{empty:ie((function(){return[D(e.$slots,"empty")]})),_:2},1032,["index","nodes"])})),128))],42,["onKeydown"])}],["__file","index.vue"]])),Vr=c(u(u({},Sr),{},{size:s,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:ge(Function),default:function(e,r){return e.text.includes(r)}},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:ge(Function),default:function(){return!0}},placement:{type:ge(String),values:qe,default:"bottom-start"},fallbackPlacements:{type:ge(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:{type:String,default:""},teleported:Ge.teleported,tagType:u(u({},We.type),{},{default:"info"}),tagEffect:u(u({},We.effect),{},{default:"light"}),validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0}},Ee)),jr=d(d(d(d(d(d(d(d({},p,(function(e){return!0})),g,(function(e){return!0})),"focus",(function(e){return e instanceof FocusEvent})),"blur",(function(e){return e instanceof FocusEvent})),"clear",(function(){return!0})),"visibleChange",(function(e){return h(e)})),"expandChange",(function(e){return!!e})),"removeTag",(function(e){return!!e})),Tr=C({name:"ElCascader"}),Or=C(u(u({},Tr),{},{props:Vr,emits:jr,setup:function(r,n){var a=n.expose,o=n.emit,l=r,i={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:function(e){var r=e.state,t=r.modifiersData,n=r.placement;["right","left","bottom","top"].includes(n)||(t.arrow.x=35)},requires:["arrow"]}]},c=Se(),u=0,d=0,s=E("cascader"),f=E("input"),v=de().t,h=H(),m=h.form,x=h.formItem,k=Ne(l).valueOnClear,w=Le({afterComposition:function(e){var r,t=null==(r=e.target)?void 0:r.value;hr(t)}}),C=w.isComposing,B=w.handleComposition,P=b(null),F=b(null),R=b(null),$=b(null),U=b(null),G=b(!1),K=b(!1),Z=b(!1),X=b(!1),J=b(""),Q=b(""),te=b([]),ne=b([]),ae=b([]),pe=y((function(){return c.style})),fe=y((function(){return l.disabled||(null==m?void 0:m.disabled)})),ve=y((function(){return l.placeholder||v("el.cascader.placeholder")})),he=y((function(){return Q.value||te.value.length>0||C.value?"":ve.value})),ge=_(),be=y((function(){return["small"].includes(ge.value)?"small":"default"})),me=y((function(){return!!l.props.multiple})),ye=y((function(){return!l.filterable||me.value})),_e=y((function(){return me.value?Q.value:J.value})),Ee=y((function(){var e;return(null==(e=$.value)?void 0:e.checkedNodes)||[]})),Me=y((function(){return!(!l.clearable||fe.value||Z.value||!K.value)&&!!Ee.value.length})),Ie=y((function(){var e=l.showAllLevels,r=l.separator,t=Ee.value;return t.length?me.value?"":t[0].calcText(e,r):""})),Re=y((function(){return(null==x?void 0:x.validateState)||""})),$e=y({get:function(){return Ue(l.modelValue)},set:function(e){var r=null!=e?e:k.value;o(p,r),o(g,r),l.validateEvent&&(null==x||x.validate("change").catch((function(e){return Y()})))}}),He=y((function(){return[s.b(),s.m(ge.value),s.is("disabled",fe.value),c.class]})),qe=y((function(){return[f.e("icon"),"icon-arrow-down",s.is("reverse",G.value)]})),Ge=y((function(){return s.is("focus",G.value||X.value)})),We=y((function(){var e,r;return null==(r=null==(e=P.value)?void 0:e.popperRef)?void 0:r.contentRef})),Je=function(e){var r,t,n;fe.value||(e=null!=e?e:!G.value)!==G.value&&(G.value=e,null==(t=null==(r=F.value)?void 0:r.input)||t.setAttribute("aria-expanded","".concat(e)),e?(Qe(),M(null==(n=$.value)?void 0:n.scrollToExpandingNode)):l.filterable&&ur(),o("visibleChange",e))},Qe=function(){M((function(){var e;null==(e=P.value)||e.updatePopper()}))},er=function(){Z.value=!1},rr=function(e){var r=l.showAllLevels,t=l.separator;return{node:e,key:e.uid,text:e.calcText(r,t),hitState:!1,closable:!fe.value&&!e.isDisabled,isCollapseTag:!1}},tr=function(e){var r,t=e.node;t.doCheck(!1),null==(r=$.value)||r.calculateCheckedValue(),o("removeTag",t.valueByOption)},nr=function(){var e,r,t=l.filterMethod,n=l.showAllLevels,a=l.separator,o=null==(r=null==(e=$.value)?void 0:e.getFlattedNodes(!l.props.checkStrictly))?void 0:r.filter((function(e){return!e.isDisabled&&(e.calcText(n,a),t(e,_e.value))}));me.value&&(te.value.forEach((function(e){e.hitState=!1})),ne.value.forEach((function(e){e.hitState=!1}))),Z.value=!0,ae.value=o,Qe()},ar=function(){var e,r;(r=Z.value&&U.value?U.value.$el.querySelector(".".concat(s.e("suggestion-item"))):null==(e=$.value)?void 0:e.$el.querySelector(".".concat(s.b("node"),'[tabindex="-1"]')))&&(r.focus(),!Z.value&&r.click())},or=function(){var e,r,t=null==(e=F.value)?void 0:e.input,n=R.value,a=null==(r=U.value)?void 0:r.$el;if(xe&&t){if(a)a.querySelector(".".concat(s.e("suggestion-list"))).style.minWidth="".concat(t.offsetWidth,"px");if(n){var o=n.offsetHeight,l=te.value.length>0?"".concat(Math.max(o+6,u),"px"):"".concat(u,"px");t.style.height=l,Qe()}}},lr=function(e){Qe(),o("expandChange",e)},ir=function(e){if(!C.value)switch(e.code){case ke.enter:Je();break;case ke.down:Je(!0),M(ar),e.preventDefault();break;case ke.esc:!0===G.value&&(e.preventDefault(),e.stopPropagation(),Je(!1));break;case ke.tab:Je(!1)}},cr=function(){var e;null==(e=$.value)||e.clearCheckedNodes(),!G.value&&l.filterable&&ur(),Je(!1),o("clear")},ur=function(){var e=Ie.value;J.value=e,Q.value=e},dr=function(e){var r=e.target,t=e.code;switch(t){case ke.up:case ke.down:var n=t===ke.up?-1:1;we(Ce(r,n,".".concat(s.e("suggestion-item"),'[tabindex="-1"]')));break;case ke.enter:r.click()}},sr=function(){var e=te.value,r=e[e.length-1];d=Q.value?0:d+1,!r||!d||l.collapseTags&&e.length>1||(r.hitState?tr(r):r.hitState=!0)},pr=function(e){var r=e.target,t=s.e("search-input");r.className===t&&(X.value=!0),o("focus",e)},fr=function(e){X.value=!1,o("blur",e)},vr=Xe((function(){var e=_e.value;if(e){var r=l.beforeFilter(e);ze(r)?r.then(nr).catch((function(){})):!1!==r?nr():er()}}),l.debounce),hr=function(e,r){!G.value&&Je(!0),(null==r?void 0:r.isComposing)||(e?vr():er())},gr=function(e){return Number.parseFloat(Ae(f.cssVarName("input-height"),e).value)-2};return W(Z,Qe),W([Ee,fe,function(){return l.collapseTags}],(function(){if(me.value){var e=Ee.value,r=[],t=[];if(e.forEach((function(e){return t.push(rr(e))})),ne.value=t,e.length){e.slice(0,l.maxCollapseTags).forEach((function(e){return r.push(rr(e))}));var n=e.slice(l.maxCollapseTags),a=n.length;a&&(l.collapseTags?r.push({key:-1,text:"+ ".concat(a),closable:!1,isCollapseTag:!0}):n.forEach((function(e){return r.push(rr(e))})))}te.value=r}})),W(te,(function(){M((function(){return or()}))})),W(ge,t(e().mark((function r(){var t;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,M();case 2:t=F.value.input,u=gr(t)||u,or();case 5:case"end":return e.stop()}}),r)})))),W(Ie,ur,{immediate:!0}),q((function(){var e=F.value.input,r=gr(e);u=e.offsetHeight||r,Be(e,or)})),a({getCheckedNodes:function(e){var r;return null==(r=$.value)?void 0:r.getCheckedNodes(e)},cascaderPanelRef:$,togglePopperVisible:Je,contentRef:We,presentText:Ie}),function(e,r){return S(),le(V(Ke),{ref_key:"tooltipRef",ref:P,visible:G.value,teleported:e.teleported,"popper-class":[V(s).e("dropdown"),e.popperClass],"popper-options":i,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:"".concat(V(s).namespace.value,"-zoom-in-top"),effect:"light",pure:"",persistent:e.persistent,onHide:er},{default:ie((function(){return[z((S(),N("div",{class:T(V(He)),style:I(V(pe)),onClick:function(){return Je(!V(ye)||void 0)},onKeydown:ir,onMouseenter:function(e){return K.value=!0},onMouseleave:function(e){return K.value=!1}},[ce(V(Ve),{ref_key:"input",ref:F,modelValue:J.value,"onUpdate:modelValue":function(e){return J.value=e},placeholder:V(he),readonly:V(ye),disabled:V(fe),"validate-event":!1,size:V(ge),class:T(V(Ge)),tabindex:V(me)&&e.filterable&&!V(fe)?-1:void 0,onCompositionstart:V(B),onCompositionupdate:V(B),onCompositionend:V(B),onFocus:pr,onBlur:fr,onInput:hr},{suffix:ie((function(){return[V(Me)?(S(),le(V(ee),{key:"clear",class:T([V(f).e("icon"),"icon-circle-close"]),onClick:O(cr,["stop"])},{default:ie((function(){return[ce(V(je))]})),_:1},8,["class","onClick"])):(S(),le(V(ee),{key:"arrow-down",class:T(V(qe)),onClick:O((function(e){return Je()}),["stop"])},{default:ie((function(){return[ce(V(Te))]})),_:1},8,["class","onClick"]))]})),_:1},8,["modelValue","onUpdate:modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),V(me)?(S(),N("div",{key:0,ref_key:"tagWrapper",ref:R,class:T([V(s).e("tags"),V(s).is("validate",Boolean(V(Re)))])},[(S(!0),N(ue,null,se(te.value,(function(r){return S(),le(V(Ye),{key:r.key,type:e.tagType,size:V(be),effect:e.tagEffect,hit:r.hitState,closable:r.closable,"disable-transitions":"",onClose:function(e){return tr(r)}},{default:ie((function(){return[!1===r.isCollapseTag?(S(),N("span",{key:0},A(r.text),1)):(S(),le(V(Ke),{key:1,disabled:G.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:ie((function(){return[L("span",null,A(r.text),1)]})),content:ie((function(){return[L("div",{class:T(V(s).e("collapse-tags"))},[(S(!0),N(ue,null,se(ne.value.slice(e.maxCollapseTags),(function(r,t){return S(),N("div",{key:t,class:T(V(s).e("collapse-tag"))},[(S(),le(V(Ye),{key:r.key,class:"in-tooltip",type:e.tagType,size:V(be),effect:e.tagEffect,hit:r.hitState,closable:r.closable,"disable-transitions":"",onClose:function(e){return tr(r)}},{default:ie((function(){return[L("span",null,A(r.text),1)]})),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2)})),128))],2)]})),_:2},1032,["disabled"]))]})),_:2},1032,["type","size","effect","hit","closable","onClose"])})),128)),e.filterable&&!V(fe)?z((S(),N("input",{key:0,"onUpdate:modelValue":function(e){return Q.value=e},type:"text",class:T(V(s).e("search-input")),placeholder:V(Ie)?"":V(ve),onInput:function(e){return hr(Q.value,e)},onClick:O((function(e){return Je(!0)}),["stop"]),onKeydown:Oe(sr,["delete"]),onCompositionstart:V(B),onCompositionupdate:V(B),onCompositionend:V(B),onFocus:pr,onBlur:fr},null,42,["onUpdate:modelValue","placeholder","onInput","onClick","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend"])),[[De,Q.value]]):oe("v-if",!0)],2)):oe("v-if",!0)],46,["onClick","onMouseenter","onMouseleave"])),[[V(Ze),function(){return Je(!1)},V(We)]])]})),content:ie((function(){return[z(ce(V(Br),{ref_key:"cascaderPanelRef",ref:$,modelValue:V($e),"onUpdate:modelValue":function(e){return j($e)?$e.value=e:null},options:e.options,props:l.props,border:!1,"render-label":e.$slots.default,onExpandChange:lr,onClose:function(r){return e.$nextTick((function(){return Je(!1)}))}},{empty:ie((function(){return[D(e.$slots,"empty")]})),_:3},8,["modelValue","onUpdate:modelValue","options","props","render-label","onClose"]),[[Pe,!Z.value]]),e.filterable?z((S(),le(V(Fe),{key:0,ref_key:"suggestionPanel",ref:U,tag:"ul",class:T(V(s).e("suggestion-panel")),"view-class":V(s).e("suggestion-list"),onKeydown:dr},{default:ie((function(){return[ae.value.length?(S(!0),N(ue,{key:0},se(ae.value,(function(e){return S(),N("li",{key:e.uid,class:T([V(s).e("suggestion-item"),V(s).is("checked",e.checked)]),tabindex:-1,onClick:function(r){return o=(t=e).checked,void(me.value?null==(n=$.value)||n.handleCheckChange(t,!o,!1):(!o&&(null==(a=$.value)||a.handleCheckChange(t,!0,!1)),Je(!1)));var t,n,a,o}},[L("span",null,A(e.text),1),e.checked?(S(),le(V(ee),{key:0},{default:ie((function(){return[ce(V(re))]})),_:1})):oe("v-if",!0)],10,["onClick"])})),128)):D(e.$slots,"empty",{key:1},(function(){return[L("li",{class:T(V(s).e("empty-text"))},A(V(v)("el.cascader.noMatch")),3)]}))]})),_:3},8,["class","view-class"])),[[Pe,Z.value]]):oe("v-if",!0)]})),_:3},8,["visible","teleported","popper-class","fallback-placements","placement","transition","persistent"])}}}));r("E",X(F(Or,[["__file","cascader.vue"]])))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio.css new file mode 100644 index 000000000..c07092a5b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +@charset "UTF-8";.el-cascader{--el-cascader-menu-text-color: var(--el-text-color-regular);--el-cascader-menu-selected-text-color: var(--el-color-primary);--el-cascader-menu-fill: var(--el-bg-color-overlay);--el-cascader-menu-font-size: var(--el-font-size-base);--el-cascader-menu-radius: var(--el-border-radius-base);--el-cascader-menu-border: solid 1px var(--el-border-color-light);--el-cascader-menu-shadow: var(--el-box-shadow-light);--el-cascader-node-background-hover: var(--el-fill-color-light);--el-cascader-node-color-disabled: var(--el-text-color-placeholder);--el-cascader-color-empty: var(--el-text-color-placeholder);--el-cascader-tag-background: var(--el-fill-color);display:inline-block;vertical-align:middle;position:relative;font-size:var(--el-font-size-base);line-height:32px;outline:none}.el-cascader:not(.is-disabled):hover .el-input__wrapper{cursor:pointer;box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-cascader .el-input{display:flex;cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis;cursor:pointer}.el-cascader .el-input .el-input__suffix-inner .el-icon{height:calc(100% - 2px)}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{transition:transform var(--el-transition-duration);font-size:14px}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color, var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader.is-disabled .el-cascader__label{z-index:calc(var(--el-index-normal) + 1);color:var(--el-disabled-text-color)}.el-cascader__dropdown{--el-cascader-menu-text-color: var(--el-text-color-regular);--el-cascader-menu-selected-text-color: var(--el-color-primary);--el-cascader-menu-fill: var(--el-bg-color-overlay);--el-cascader-menu-font-size: var(--el-font-size-base);--el-cascader-menu-radius: var(--el-border-radius-base);--el-cascader-menu-border: solid 1px var(--el-border-color-light);--el-cascader-menu-shadow: var(--el-box-shadow-light);--el-cascader-node-background-hover: var(--el-fill-color-light);--el-cascader-node-color-disabled: var(--el-text-color-placeholder);--el-cascader-color-empty: var(--el-text-color-placeholder);--el-cascader-tag-background: var(--el-fill-color);font-size:var(--el-cascader-menu-font-size);border-radius:var(--el-cascader-menu-radius)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill);border:var(--el-cascader-menu-border);box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-cascader-tag-background)}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-fill-color)}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:var(--el-font-size-base);color:var(--el-cascader-menu-text-color);text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:none;cursor:pointer}.el-cascader__suggestion-item:hover,.el-cascader__suggestion-item:focus{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:var(--el-cascader-color-empty)}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 11px;padding:0;color:var(--el-cascader-menu-text-color);border:none;outline:none;box-sizing:border-box;background:transparent}.el-cascader__search-input::placeholder{color:transparent}.el-cascader-panel{--el-cascader-menu-text-color: var(--el-text-color-regular);--el-cascader-menu-selected-text-color: var(--el-color-primary);--el-cascader-menu-fill: var(--el-bg-color-overlay);--el-cascader-menu-font-size: var(--el-font-size-base);--el-cascader-menu-radius: var(--el-border-radius-base);--el-cascader-menu-border: solid 1px var(--el-border-color-light);--el-cascader-menu-shadow: var(--el-box-shadow-light);--el-cascader-node-background-hover: var(--el-fill-color-light);--el-cascader-node-color-disabled: var(--el-text-color-placeholder);--el-cascader-color-empty: var(--el-text-color-placeholder);--el-cascader-tag-background: var(--el-fill-color);display:flex;border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:var(--el-cascader-menu-text-color);border-right:var(--el-cascader-menu-border)}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;color:var(--el-cascader-color-empty)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:none}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-selectable.in-checked-path,.el-cascader-node.is-active{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):hover,.el-cascader-node:not(.is-disabled):focus{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;text-align:left;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-checkbox{margin-right:0}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-radio{--el-radio-font-size: var(--el-font-size-base);--el-radio-text-color: var(--el-text-color-regular);--el-radio-font-weight: var(--el-font-weight-primary);--el-radio-input-height: 14px;--el-radio-input-width: 14px;--el-radio-input-border-radius: var(--el-border-radius-circle);--el-radio-input-bg-color: var(--el-fill-color-blank);--el-radio-input-border: var(--el-border);--el-radio-input-border-color: var(--el-border-color);--el-radio-input-border-color-hover: var(--el-color-primary);color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:none;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;margin-right:30px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio__original:focus-visible+.el-radio__inner{outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px;border-radius:var(--el-radio-input-border-radius)}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio.js new file mode 100644 index 000000000..eca92dee3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0radio.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{c6 as e,A as a,a2 as l,a4 as t,ag as o,a7 as n,aZ as s,a6 as i,a as d,ab as c,C as u,cd as r,aj as p,cc as v,ce as h,q as f,v as m,o as b,c as g,b as y,S as k,cU as C,D as x,c9 as E,n as N,ak as S,z as w,g as B,t as V,_,Q as L,F as D,a3 as T,al as M,aa as A,ai as z,P as F,x as I,r as P,af as R,X as $,ae as H,I as q,J as U,y as j,H as K,cK as G,cb as O,aJ as Z,N as W,f as X,h as J,w as Y,e as Q,K as ee,ah as ae,L as le,ap as te,cV as oe,a$ as ne,bi as se,$ as ie,bz as de,cW as ce,cX as ue,bk as re,bm as pe,ac as ve,cY as he,cZ as fe,bo as me,cE as be,bg as ge,be as ye,c_ as ke,aO as Ce,k as xe,bn as Ee,av as Ne,m as Se,ao as we,Y as Be,c$ as Ve}from"./087AC4D233B64EB0index.js";import{E as _e}from"./087AC4D233B64EB0scrollbar.js";import{E as Le}from"./087AC4D233B64EB0checkbox.js";import{c as De}from"./087AC4D233B64EB0strings.js";import{i as Te}from"./087AC4D233B64EB0isEqual.js";import{u as Me,c as Ae}from"./087AC4D233B64EB0arrays.js";import{c as ze}from"./087AC4D233B64EB0cloneDeep.js";import{E as Fe,u as Ie,a as Pe,C as Re}from"./087AC4D233B64EB0index20.js";import{t as $e,E as He}from"./087AC4D233B64EB0index22.js";import{d as qe}from"./087AC4D233B64EB0debounce.js";var Ue=1/0;const je=a({modelValue:{type:[String,Number,Boolean],default:void 0},size:l,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Ke=a({...je,border:Boolean}),Ge={[t]:e=>o(e)||n(e)||s(e),[i]:e=>o(e)||n(e)||s(e)},Oe=Symbol("radioGroupKey"),Ze=(e,a)=>{const l=d(),o=c(Oe,void 0),n=u((()=>!!o)),s=u((()=>r(e.value)?e.label:e.value)),i=u({get:()=>n.value?o.modelValue:e.modelValue,set(i){n.value?o.changeEvent(i):a&&a(t,i),l.value.checked=e.modelValue===s.value}}),f=p(u((()=>null==o?void 0:o.size))),m=v(u((()=>null==o?void 0:o.disabled))),b=d(!1),g=u((()=>m.value||n.value&&i.value!==s.value?-1:0));return h({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},u((()=>n.value&&r(e.value)))),{radioRef:l,isGroup:n,radioGroup:o,focus:b,size:f,disabled:m,tabIndex:g,modelValue:i,actualValue:s}},We=f({name:"ElRadio"});var Xe=_(f({...We,props:Ke,emits:Ge,setup(e,{emit:a}){const l=e,t=m("radio"),{radioRef:o,radioGroup:n,focus:s,size:i,disabled:d,modelValue:c,actualValue:u}=Ze(l,a);function r(){L((()=>a("change",c.value)))}return(e,a)=>{var l;return b(),g("label",{class:N([x(t).b(),x(t).is("disabled",x(d)),x(t).is("focus",x(s)),x(t).is("bordered",e.border),x(t).is("checked",x(c)===x(u)),x(t).m(x(i))])},[y("span",{class:N([x(t).e("input"),x(t).is("disabled",x(d)),x(t).is("checked",x(c)===x(u))])},[k(y("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":e=>E(c)?c.value=e:null,class:N(x(t).e("original")),value:x(u),name:e.name||(null==(l=x(n))?void 0:l.name),disabled:x(d),checked:x(c)===x(u),type:"radio",onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onChange:r,onClick:S((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[C,x(c)]]),y("span",{class:N(x(t).e("inner"))},null,2)],2),y("span",{class:N(x(t).e("label")),onKeydown:S((()=>{}),["stop"])},[w(e.$slots,"default",{},(()=>[B(V(e.label),1)]))],42,["onKeydown"])],2)}}}),[["__file","radio.vue"]]);const Je=a({...je}),Ye=f({name:"ElRadioButton"});var Qe=_(f({...Ye,props:Je,setup(e){const a=e,l=m("radio"),{radioRef:t,focus:o,size:n,disabled:s,modelValue:i,radioGroup:d,actualValue:c}=Ze(a),r=u((()=>({backgroundColor:(null==d?void 0:d.fill)||"",borderColor:(null==d?void 0:d.fill)||"",boxShadow:(null==d?void 0:d.fill)?"-1px 0 0 0 ".concat(d.fill):"",color:(null==d?void 0:d.textColor)||""})));return(e,a)=>{var u;return b(),g("label",{class:N([x(l).b("button"),x(l).is("active",x(i)===x(c)),x(l).is("disabled",x(s)),x(l).is("focus",x(o)),x(l).bm("button",x(n))])},[k(y("input",{ref_key:"radioRef",ref:t,"onUpdate:modelValue":e=>E(i)?i.value=e:null,class:N(x(l).be("button","original-radio")),value:x(c),type:"radio",name:e.name||(null==(u=x(d))?void 0:u.name),disabled:x(s),onFocus:e=>o.value=!0,onBlur:e=>o.value=!1,onClick:S((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[C,x(i)]]),y("span",{class:N(x(l).be("button","inner")),style:D(x(i)===x(c)?x(r):{}),onKeydown:S((()=>{}),["stop"])},[w(e.$slots,"default",{},(()=>[B(V(e.label),1)]))],46,["onKeydown"])],2)}}}),[["__file","radio-button.vue"]]);const ea=a({id:{type:String,default:void 0},size:l,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...T(["ariaLabel"])}),aa=Ge,la=f({name:"ElRadioGroup"});var ta=_(f({...la,props:ea,emits:aa,setup(e,{emit:a}){const l=e,o=m("radio"),n=M(),s=d(),{formItem:i}=A(),{inputId:c,isLabeledByFormItem:r}=z(l,{formItemContext:i});F((()=>{const e=s.value.querySelectorAll("[type=radio]"),a=e[0];!Array.from(e).some((e=>e.checked))&&a&&(a.tabIndex=0)}));const p=u((()=>l.name||n.value));return I(Oe,P({...R(l),changeEvent:e=>{a(t,e),L((()=>a("change",e)))},name:p})),$((()=>l.modelValue),(()=>{l.validateEvent&&(null==i||i.validate("change").catch((e=>H())))})),(e,a)=>(b(),g("div",{id:x(c),ref_key:"radioGroupRef",ref:s,class:N(x(o).b("group")),role:"radiogroup","aria-label":x(r)?void 0:e.ariaLabel||"radio-group","aria-labelledby":x(r)?x(i).labelId:void 0},[w(e.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}}),[["__file","radio-group.vue"]]);const oa=q(Xe,{RadioButton:Qe,RadioGroup:ta});U(ta),U(Qe);var na=f({name:"NodeContent",setup:()=>({ns:m("cascader-node")}),render(){const{ns:e}=this,{node:a,panel:l}=this.$parent,{data:t,label:o}=a,{renderLabelFn:n}=l;return j("span",{class:e.e("label")},n?n({node:a,data:t}):o)}});const sa=Symbol(),ia=f({name:"ElCascaderNode",components:{ElCheckbox:Le,ElRadio:oa,NodeContent:na,ElIcon:K,Check:G,Loading:O,ArrowRight:Z},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:a}){const l=c(sa),t=m("cascader-node"),o=u((()=>l.isHoverMenu)),n=u((()=>l.config.multiple)),s=u((()=>l.config.checkStrictly)),i=u((()=>{var e;return null==(e=l.checkedNodes[0])?void 0:e.uid})),d=u((()=>e.node.isDisabled)),r=u((()=>e.node.isLeaf)),p=u((()=>s.value&&!r.value||!d.value)),v=u((()=>f(l.expandingNode))),h=u((()=>s.value&&l.checkedNodes.some(f))),f=a=>{var l;const{level:t,uid:o}=e.node;return(null==(l=null==a?void 0:a.pathNodes[t-1])?void 0:l.uid)===o},b=()=>{v.value||l.expandNode(e.node)},g=a=>{const{node:t}=e;a!==t.checked&&l.handleCheckChange(t,a)},y=()=>{l.lazyLoad(e.node,(()=>{r.value||b()}))},k=()=>{const{node:a}=e;p.value&&!a.loading&&(a.loaded?b():y())},C=a=>{e.node.loaded?(g(a),!s.value&&b()):y()};return{panel:l,isHoverMenu:o,multiple:n,checkStrictly:s,checkedNodeId:i,isDisabled:d,isLeaf:r,expandable:p,inExpandingPath:v,inCheckedPath:h,ns:t,handleHoverExpand:e=>{o.value&&(k(),!r.value&&a("expand",e))},handleExpand:k,handleClick:()=>{o.value&&!r.value||(!r.value||d.value||s.value||n.value?k():C(!0))},handleCheck:C,handleSelectCheck:a=>{s.value?(g(a),e.node.loaded&&b()):C(a)}}}});var da=_(f({name:"ElCascaderMenu",components:{Loading:O,ElIcon:K,ElScrollbar:_e,ElCascaderNode:_(ia,[["render",function(e,a,l,t,o,n){const s=W("el-checkbox"),i=W("el-radio"),d=W("check"),c=W("el-icon"),u=W("node-content"),r=W("loading"),p=W("arrow-right");return b(),g("li",{id:"".concat(e.menuId,"-").concat(e.node.uid),role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:N([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:e.handleHoverExpand,onFocus:e.handleHoverExpand,onClick:e.handleClick},[X(" prefix "),e.multiple?(b(),J(s,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:S((()=>{}),["stop"]),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onClick","onUpdate:modelValue"])):e.checkStrictly?(b(),J(i,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:S((()=>{}),["stop"])},{default:Y((()=>[X("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),y("span")])),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):e.isLeaf&&e.node.checked?(b(),J(c,{key:2,class:N(e.ns.e("prefix"))},{default:Y((()=>[Q(d)])),_:1},8,["class"])):X("v-if",!0),X(" content "),Q(u),X(" postfix "),e.isLeaf?X("v-if",!0):(b(),g(ee,{key:3},[e.node.loading?(b(),J(c,{key:0,class:N([e.ns.is("loading"),e.ns.e("postfix")])},{default:Y((()=>[Q(r)])),_:1},8,["class"])):(b(),J(c,{key:1,class:N(["arrow-right",e.ns.e("postfix")])},{default:Y((()=>[Q(p)])),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}],["__file","node.vue"]])},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const a=te(),l=m("cascader-menu"),{t:t}=ae(),o=M();let n=null,s=null;const i=c(sa),r=d(null),p=u((()=>!e.nodes.length)),v=u((()=>!i.initialLoaded)),h=u((()=>"".concat(o.value,"-").concat(e.index))),f=()=>{s&&(clearTimeout(s),s=null)},b=()=>{r.value&&(r.value.innerHTML="",f())};return{ns:l,panel:i,hoverZone:r,isEmpty:p,isLoading:v,menuId:h,t:t,handleExpand:e=>{n=e.target},handleMouseMove:e=>{if(i.isHoverMenu&&n&&r.value)if(n.contains(e.target)){f();const l=a.vnode.el,{left:t}=l.getBoundingClientRect(),{offsetWidth:o,offsetHeight:s}=l,i=e.clientX-t,d=n.offsetTop,c=d+n.offsetHeight;r.value.innerHTML='\n \n \n ')}else s||(s=window.setTimeout(b,i.config.hoverThreshold))},clearHoverZone:b}}}),[["render",function(e,a,l,t,o,n){const s=W("el-cascader-node"),i=W("loading"),d=W("el-icon"),c=W("el-scrollbar");return b(),J(c,{key:e.menuId,tag:"ul",role:"menu",class:N(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:Y((()=>{var a;return[(b(!0),g(ee,null,le(e.nodes,(a=>(b(),J(s,{key:a.uid,node:a,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"])))),128)),e.isLoading?(b(),g("div",{key:0,class:N(e.ns.e("empty-text"))},[Q(d,{size:"14",class:N(e.ns.is("loading"))},{default:Y((()=>[Q(i)])),_:1},8,["class"]),B(" "+V(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(b(),g("div",{key:1,class:N(e.ns.e("empty-text"))},[w(e.$slots,"empty",{},(()=>[B(V(e.t("el.cascader.noData")),1)]))],2)):(null==(a=e.panel)?void 0:a.isHoverMenu)?(b(),g("svg",{key:2,ref:"hoverZone",class:N(e.ns.e("hover-zone"))},null,2)):X("v-if",!0)]})),_:3},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}],["__file","menu.vue"]]);let ca=0;class ua{constructor(e,a,l,t=!1){this.data=e,this.config=a,this.parent=l,this.root=t,this.uid=ca++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:o,label:n,children:s}=a,i=e[s],d=(e=>{const a=[e];let{parent:l}=e;for(;l;)a.unshift(l),l=l.parent;return a})(this);this.level=t?0:l?l.level+1:1,this.value=e[o],this.label=e[n],this.pathNodes=d,this.pathValues=d.map((e=>e.value)),this.pathLabels=d.map((e=>e.label)),this.childrenData=i,this.children=(i||[]).map((e=>new ua(e,a,this))),this.loaded=!a.lazy||this.isLeaf||!oe(i)}get isDisabled(){const{data:e,parent:a,config:l}=this,{disabled:t,checkStrictly:o}=l;return(ne(t)?t(e,this):!!e[t])||!o&&(null==a?void 0:a.isDisabled)}get isLeaf(){const{data:e,config:a,childrenData:l,loaded:t}=this,{lazy:o,leaf:n}=a,s=ne(n)?n(e,this):e[n];return se(s)?!(o&&!t)&&!(Array.isArray(l)&&l.length):!!s}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(e){const{childrenData:a,children:l}=this,t=new ua(e,this.config,this);return Array.isArray(a)?a.push(e):this.childrenData=[e],l.push(t),t}calcText(e,a){const l=e?this.pathLabels.join(a):this.label;return this.text=l,l}broadcast(e,...a){const l="onParent".concat(De(e));this.children.forEach((t=>{t&&(t.broadcast(e,...a),t[l]&&t[l](...a))}))}emit(e,...a){const{parent:l}=this,t="onChild".concat(De(e));l&&(l[t]&&l[t](...a),l.emit(e,...a))}onParentCheck(e){this.isDisabled||this.setCheckState(e)}onChildCheck(){const{children:e}=this,a=e.filter((e=>!e.isDisabled)),l=!!a.length&&a.every((e=>e.checked));this.setCheckState(l)}setCheckState(e){const a=this.children.length,l=this.children.reduce(((e,a)=>e+(a.checked?1:a.indeterminate?.5:0)),0);this.checked=this.loaded&&this.children.filter((e=>!e.isDisabled)).every((e=>e.loaded&&e.checked))&&e,this.indeterminate=this.loaded&&l!==a&&l>0}doCheck(e){if(this.checked===e)return;const{checkStrictly:a,multiple:l}=this.config;a||!l?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check"))}}const ra=(e,a)=>e.reduce(((e,l)=>(l.isLeaf?e.push(l):(!a&&e.push(l),e=e.concat(ra(l.children,a))),e)),[]);class pa{constructor(e,a){this.config=a;const l=(e||[]).map((e=>new ua(e,this.config)));this.nodes=l,this.allNodes=ra(l,!1),this.leafNodes=ra(l,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,a){const l=a?a.appendChild(e):new ua(e,this.config);a||this.nodes.push(l),this.allNodes.push(l),l.isLeaf&&this.leafNodes.push(l)}appendNodes(e,a){e.forEach((e=>this.appendNode(e,a)))}getNodeByValue(e,a=!1){if(!e&&0!==e)return null;return this.getFlattedNodes(a).find((a=>Te(a.value,e)||Te(a.pathValues,e)))||null}getSameNode(e){if(!e)return null;return this.getFlattedNodes(!1).find((({value:a,level:l})=>Te(e.value,a)&&e.level===l))||null}}const va=a({modelValue:{type:ie([Number,String,Array])},options:{type:ie(Array),default:()=>[]},props:{type:ie(Object),default:()=>({})}}),ha={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:de,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},fa=e=>{if(!e)return 0;const a=e.id.split("-");return Number(a[a.length-2])};const ma=q(_(f({name:"ElCascaderPanel",components:{ElCascaderMenu:da},props:{...va,border:{type:Boolean,default:!0},renderLabel:Function},emits:[t,i,"close","expand-change"],setup(a,{emit:l,slots:o}){let n=!1;const s=m("cascader"),c=(e=>u((()=>({...ha,...e.props}))))(a);let r=null;const p=d(!0),v=d([]),h=d(null),f=d([]),b=d(null),g=d([]),y=u((()=>"hover"===c.value.expandTrigger)),k=u((()=>a.renderLabel||o.default)),C=(e,a)=>{const l=c.value;(e=e||new ua({},l,void 0,!0)).loading=!0;l.lazyLoad(e,(l=>{const t=e,o=t.root?null:t;l&&(null==r||r.appendNodes(l,o)),t.loading=!1,t.loaded=!0,t.childrenData=t.childrenData||[],a&&a(l)}))},x=(e,a)=>{var t;const{level:o}=e,n=f.value.slice(0,o);let s;e.isLeaf?s=e.pathNodes[o-2]:(s=e,n.push(e.children)),(null==(t=b.value)?void 0:t.uid)!==(null==s?void 0:s.uid)&&(b.value=e,f.value=n,!a&&l("expand-change",(null==e?void 0:e.pathValues)||[]))},E=(e,a,t=!0)=>{const{checkStrictly:o,multiple:s}=c.value,i=g.value[0];n=!0,!s&&(null==i||i.doCheck(!1)),e.doCheck(a),B(),t&&!s&&!o&&l("close"),!t&&!s&&!o&&N(e)},N=e=>{e&&(e=e.parent,N(e),e&&x(e))},S=e=>null==r?void 0:r.getFlattedNodes(e),w=e=>{var a;return null==(a=S(e))?void 0:a.filter((e=>!1!==e.checked))},B=()=>{var e;const{checkStrictly:a,multiple:l}=c.value,t=((e,a)=>{const l=a.slice(0),t=l.map((e=>e.uid)),o=e.reduce(((e,a)=>{const o=t.indexOf(a.uid);return o>-1&&(e.push(a),l.splice(o,1),t.splice(o,1)),e}),[]);return o.push(...l),o})(g.value,w(!a)),o=t.map((e=>e.valueByOption));g.value=t,h.value=l?o:null!=(e=o[0])?e:null},V=(l=!1,t=!1)=>{const{modelValue:o}=a,{lazy:s,multiple:i,checkStrictly:d}=c.value,u=!d;var v;if(p.value&&!n&&(t||!Te(o,h.value)))if(s&&!l){const a=Me(null!=(v=Ae(o))&&v.length?e(v,Ue):[]).map((e=>null==r?void 0:r.getNodeByValue(e))).filter((e=>!!e&&!e.loaded&&!e.loading));a.length?a.forEach((e=>{C(e,(()=>V(!1,t)))})):V(!0,t)}else{const e=i?Ae(o):[o],a=Me(e.map((e=>null==r?void 0:r.getNodeByValue(e,u))));_(a,t),h.value=ze(o)}},_=(e,a=!0)=>{const{checkStrictly:l}=c.value,t=g.value,o=e.filter((e=>!!e&&(l||e.isLeaf))),n=null==r?void 0:r.getSameNode(b.value),s=a&&n||o[0];s?s.pathNodes.forEach((e=>x(e,!0))):b.value=null,t.forEach((e=>e.doCheck(!1))),P(o).forEach((e=>e.doCheck(!0))),g.value=o,L(D)},D=()=>{re&&v.value.forEach((e=>{const a=null==e?void 0:e.$el;if(a){const e=a.querySelector(".".concat(s.namespace.value,"-scrollbar__wrap")),l=a.querySelector(".".concat(s.b("node"),".").concat(s.is("active")))||a.querySelector(".".concat(s.b("node"),".in-active-path"));pe(e,l)}}))};return I(sa,P({config:c,expandingNode:b,checkedNodes:g,isHoverMenu:y,initialLoaded:p,renderLabelFn:k,lazyLoad:C,expandNode:x,handleCheckChange:E})),$([c,()=>a.options],(()=>{const{options:e}=a,l=c.value;n=!1,r=new pa(e,l),f.value=[r.getNodes()],l.lazy&&oe(a.options)?(p.value=!1,C(void 0,(e=>{e&&(r=new pa(e,l),f.value=[r.getNodes()]),p.value=!0,V(!1,!0)}))):V(!1,!0)}),{deep:!0,immediate:!0}),$((()=>a.modelValue),(()=>{n=!1,V()}),{deep:!0}),$((()=>h.value),(e=>{Te(e,a.modelValue)||(l(t,e),l(i,e))})),ue((()=>v.value=[])),F((()=>!oe(a.modelValue)&&V())),{ns:s,menuList:v,menus:f,checkedNodes:g,handleKeyDown:e=>{const a=e.target,{code:l}=e;switch(l){case ve.up:case ve.down:{e.preventDefault();const t=l===ve.up?-1:1;he(fe(a,t,".".concat(s.b("node"),'[tabindex="-1"]')));break}case ve.left:{e.preventDefault();const l=v.value[fa(a)-1],t=null==l?void 0:l.$el.querySelector(".".concat(s.b("node"),'[aria-expanded="true"]'));he(t);break}case ve.right:{e.preventDefault();const l=v.value[fa(a)+1],t=null==l?void 0:l.$el.querySelector(".".concat(s.b("node"),'[tabindex="-1"]'));he(t);break}case ve.enter:(e=>{if(!e)return;const a=e.querySelector("input");a?a.click():ce(e)&&e.click()})(a)}},handleCheckChange:E,getFlattedNodes:S,getCheckedNodes:w,clearCheckedNodes:()=>{g.value.forEach((e=>e.doCheck(!1))),B(),f.value=f.value.slice(0,1),b.value=null,l("expand-change",[])},calculateCheckedValue:B,scrollToExpandingNode:D}}}),[["render",function(e,a,l,t,o,n){const s=W("el-cascader-menu");return b(),g("div",{class:N([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:e.handleKeyDown},[(b(!0),g(ee,null,le(e.menus,((a,l)=>(b(),J(s,{key:l,ref_for:!0,ref:a=>e.menuList[l]=a,index:l,nodes:[...a]},{empty:Y((()=>[w(e.$slots,"empty")])),_:2},1032,["index","nodes"])))),128))],42,["onKeydown"])}],["__file","index.vue"]])),ba=a({...va,size:l,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:ie(Function),default:(e,a)=>e.text.includes(a)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:ie(Function),default:()=>!0},placement:{type:ie(String),values:Fe,default:"bottom-start"},fallbackPlacements:{type:ie(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:{type:String,default:""},teleported:Ie.teleported,tagType:{...$e.type,default:"info"},tagEffect:{...$e.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...me}),ga={[t]:e=>!0,[i]:e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>s(e),expandChange:e=>!!e,removeTag:e=>!!e},ya=f({name:"ElCascader"});const ka=q(_(f({...ya,props:ba,emits:ga,setup(e,{expose:a,emit:l}){const o=e,n={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:a,placement:l}=e;["right","left","bottom","top"].includes(l)||(a.arrow.x=35)},requires:["arrow"]}]},s=be();let c=0,r=0;const v=m("cascader"),h=m("input"),{t:f}=ae(),{form:C,formItem:B}=A(),{valueOnClear:_}=ge(o),{isComposing:T,handleComposition:M}=ye({afterComposition(e){var a;const l=null==(a=e.target)?void 0:a.value;ua(l)}}),z=d(null),I=d(null),P=d(null),R=d(null),q=d(null),U=d(!1),j=d(!1),O=d(!1),Z=d(!1),W=d(""),te=d(""),oe=d([]),ne=d([]),se=d([]),ie=u((()=>s.style)),de=u((()=>o.disabled||(null==C?void 0:C.disabled))),ce=u((()=>o.placeholder||f("el.cascader.placeholder"))),ue=u((()=>te.value||oe.value.length>0||T.value?"":ce.value)),pe=p(),me=u((()=>["small"].includes(pe.value)?"small":"default")),Le=u((()=>!!o.props.multiple)),De=u((()=>!o.filterable||Le.value)),Te=u((()=>Le.value?te.value:W.value)),Me=u((()=>{var e;return(null==(e=R.value)?void 0:e.checkedNodes)||[]})),Ae=u((()=>!(!o.clearable||de.value||O.value||!j.value)&&!!Me.value.length)),Fe=u((()=>{const{showAllLevels:e,separator:a}=o,l=Me.value;return l.length?Le.value?"":l[0].calcText(e,a):""})),Ie=u((()=>(null==B?void 0:B.validateState)||"")),$e=u({get:()=>ze(o.modelValue),set(e){const a=null!=e?e:_.value;l(t,a),l(i,a),o.validateEvent&&(null==B||B.validate("change").catch((e=>H())))}}),Ue=u((()=>[v.b(),v.m(pe.value),v.is("disabled",de.value),s.class])),je=u((()=>[h.e("icon"),"icon-arrow-down",v.is("reverse",U.value)])),Ke=u((()=>v.is("focus",U.value||Z.value))),Ge=u((()=>{var e,a;return null==(a=null==(e=z.value)?void 0:e.popperRef)?void 0:a.contentRef})),Oe=e=>{var a,t,n;de.value||(e=null!=e?e:!U.value)!==U.value&&(U.value=e,null==(t=null==(a=I.value)?void 0:a.input)||t.setAttribute("aria-expanded","".concat(e)),e?(Ze(),L(null==(n=R.value)?void 0:n.scrollToExpandingNode)):o.filterable&&oa(),l("visibleChange",e))},Ze=()=>{L((()=>{var e;null==(e=z.value)||e.updatePopper()}))},We=()=>{O.value=!1},Xe=e=>{const{showAllLevels:a,separator:l}=o;return{node:e,key:e.uid,text:e.calcText(a,l),hitState:!1,closable:!de.value&&!e.isDisabled,isCollapseTag:!1}},Je=e=>{var a;const t=e.node;t.doCheck(!1),null==(a=R.value)||a.calculateCheckedValue(),l("removeTag",t.valueByOption)},Ye=()=>{var e,a;const{filterMethod:l,showAllLevels:t,separator:n}=o,s=null==(a=null==(e=R.value)?void 0:e.getFlattedNodes(!o.props.checkStrictly))?void 0:a.filter((e=>!e.isDisabled&&(e.calcText(t,n),l(e,Te.value))));Le.value&&(oe.value.forEach((e=>{e.hitState=!1})),ne.value.forEach((e=>{e.hitState=!1}))),O.value=!0,se.value=s,Ze()},Qe=()=>{var e;let a;a=O.value&&q.value?q.value.$el.querySelector(".".concat(v.e("suggestion-item"))):null==(e=R.value)?void 0:e.$el.querySelector(".".concat(v.b("node"),'[tabindex="-1"]')),a&&(a.focus(),!O.value&&a.click())},ea=()=>{var e,a;const l=null==(e=I.value)?void 0:e.input,t=P.value,o=null==(a=q.value)?void 0:a.$el;if(re&&l){if(o){o.querySelector(".".concat(v.e("suggestion-list"))).style.minWidth="".concat(l.offsetWidth,"px")}if(t){const{offsetHeight:e}=t,a=oe.value.length>0?"".concat(Math.max(e+6,c),"px"):"".concat(c,"px");l.style.height=a,Ze()}}},aa=e=>{Ze(),l("expandChange",e)},la=e=>{if(!T.value)switch(e.code){case ve.enter:Oe();break;case ve.down:Oe(!0),L(Qe),e.preventDefault();break;case ve.esc:!0===U.value&&(e.preventDefault(),e.stopPropagation(),Oe(!1));break;case ve.tab:Oe(!1)}},ta=()=>{var e;null==(e=R.value)||e.clearCheckedNodes(),!U.value&&o.filterable&&oa(),Oe(!1),l("clear")},oa=()=>{const{value:e}=Fe;W.value=e,te.value=e},na=e=>{const a=e.target,{code:l}=e;switch(l){case ve.up:case ve.down:{const e=l===ve.up?-1:1;he(fe(a,e,".".concat(v.e("suggestion-item"),'[tabindex="-1"]')));break}case ve.enter:a.click()}},sa=()=>{const e=oe.value,a=e[e.length-1];r=te.value?0:r+1,!a||!r||o.collapseTags&&e.length>1||(a.hitState?Je(a):a.hitState=!0)},ia=e=>{const a=e.target,t=v.e("search-input");a.className===t&&(Z.value=!0),l("focus",e)},da=e=>{Z.value=!1,l("blur",e)},ca=qe((()=>{const{value:e}=Te;if(!e)return;const a=o.beforeFilter(e);ke(a)?a.then(Ye).catch((()=>{})):!1!==a?Ye():We()}),o.debounce),ua=(e,a)=>{!U.value&&Oe(!0),(null==a?void 0:a.isComposing)||(e?ca():We())},ra=e=>Number.parseFloat(Ve(h.cssVarName("input-height"),e).value)-2;return $(O,Ze),$([Me,de,()=>o.collapseTags],(()=>{if(!Le.value)return;const e=Me.value,a=[],l=[];if(e.forEach((e=>l.push(Xe(e)))),ne.value=l,e.length){e.slice(0,o.maxCollapseTags).forEach((e=>a.push(Xe(e))));const l=e.slice(o.maxCollapseTags),t=l.length;t&&(o.collapseTags?a.push({key:-1,text:"+ ".concat(t),closable:!1,isCollapseTag:!0}):l.forEach((e=>a.push(Xe(e)))))}oe.value=a})),$(oe,(()=>{L((()=>ea()))})),$(pe,(async()=>{await L();const e=I.value.input;c=ra(e)||c,ea()})),$(Fe,oa,{immediate:!0}),F((()=>{const e=I.value.input,a=ra(e);c=e.offsetHeight||a,Ce(e,ea)})),a({getCheckedNodes:e=>{var a;return null==(a=R.value)?void 0:a.getCheckedNodes(e)},cascaderPanelRef:R,togglePopperVisible:Oe,contentRef:Ge,presentText:Fe}),(e,a)=>(b(),J(x(Pe),{ref_key:"tooltipRef",ref:z,visible:U.value,teleported:e.teleported,"popper-class":[x(v).e("dropdown"),e.popperClass],"popper-options":n,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:"".concat(x(v).namespace.value,"-zoom-in-top"),effect:"light",pure:"",persistent:e.persistent,onHide:We},{default:Y((()=>[k((b(),g("div",{class:N(x(Ue)),style:D(x(ie)),onClick:()=>Oe(!x(De)||void 0),onKeydown:la,onMouseenter:e=>j.value=!0,onMouseleave:e=>j.value=!1},[Q(x(xe),{ref_key:"input",ref:I,modelValue:W.value,"onUpdate:modelValue":e=>W.value=e,placeholder:x(ue),readonly:x(De),disabled:x(de),"validate-event":!1,size:x(pe),class:N(x(Ke)),tabindex:x(Le)&&e.filterable&&!x(de)?-1:void 0,onCompositionstart:x(M),onCompositionupdate:x(M),onCompositionend:x(M),onFocus:ia,onBlur:da,onInput:ua},{suffix:Y((()=>[x(Ae)?(b(),J(x(K),{key:"clear",class:N([x(h).e("icon"),"icon-circle-close"]),onClick:S(ta,["stop"])},{default:Y((()=>[Q(x(Ee))])),_:1},8,["class","onClick"])):(b(),J(x(K),{key:"arrow-down",class:N(x(je)),onClick:S((e=>Oe()),["stop"])},{default:Y((()=>[Q(x(Ne))])),_:1},8,["class","onClick"]))])),_:1},8,["modelValue","onUpdate:modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),x(Le)?(b(),g("div",{key:0,ref_key:"tagWrapper",ref:P,class:N([x(v).e("tags"),x(v).is("validate",Boolean(x(Ie)))])},[(b(!0),g(ee,null,le(oe.value,(a=>(b(),J(x(He),{key:a.key,type:e.tagType,size:x(me),effect:e.tagEffect,hit:a.hitState,closable:a.closable,"disable-transitions":"",onClose:e=>Je(a)},{default:Y((()=>[!1===a.isCollapseTag?(b(),g("span",{key:0},V(a.text),1)):(b(),J(x(Pe),{key:1,disabled:U.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:Y((()=>[y("span",null,V(a.text),1)])),content:Y((()=>[y("div",{class:N(x(v).e("collapse-tags"))},[(b(!0),g(ee,null,le(ne.value.slice(e.maxCollapseTags),((a,l)=>(b(),g("div",{key:l,class:N(x(v).e("collapse-tag"))},[(b(),J(x(He),{key:a.key,class:"in-tooltip",type:e.tagType,size:x(me),effect:e.tagEffect,hit:a.hitState,closable:a.closable,"disable-transitions":"",onClose:e=>Je(a)},{default:Y((()=>[y("span",null,V(a.text),1)])),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2)))),128))],2)])),_:2},1032,["disabled"]))])),_:2},1032,["type","size","effect","hit","closable","onClose"])))),128)),e.filterable&&!x(de)?k((b(),g("input",{key:0,"onUpdate:modelValue":e=>te.value=e,type:"text",class:N(x(v).e("search-input")),placeholder:x(Fe)?"":x(ce),onInput:e=>ua(te.value,e),onClick:S((e=>Oe(!0)),["stop"]),onKeydown:Se(sa,["delete"]),onCompositionstart:x(M),onCompositionupdate:x(M),onCompositionend:x(M),onFocus:ia,onBlur:da},null,42,["onUpdate:modelValue","placeholder","onInput","onClick","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend"])),[[we,te.value]]):X("v-if",!0)],2)):X("v-if",!0)],46,["onClick","onMouseenter","onMouseleave"])),[[x(Re),()=>Oe(!1),x(Ge)]])])),content:Y((()=>[k(Q(x(ma),{ref_key:"cascaderPanelRef",ref:R,modelValue:x($e),"onUpdate:modelValue":e=>E($e)?$e.value=e:null,options:e.options,props:o.props,border:!1,"render-label":e.$slots.default,onExpandChange:aa,onClose:a=>e.$nextTick((()=>Oe(!1)))},{empty:Y((()=>[w(e.$slots,"empty")])),_:3},8,["modelValue","onUpdate:modelValue","options","props","render-label","onClose"]),[[Be,!O.value]]),e.filterable?k((b(),J(x(_e),{key:0,ref_key:"suggestionPanel",ref:q,tag:"ul",class:N(x(v).e("suggestion-panel")),"view-class":x(v).e("suggestion-list"),onKeydown:na},{default:Y((()=>[se.value.length?(b(!0),g(ee,{key:0},le(se.value,(e=>(b(),g("li",{key:e.uid,class:N([x(v).e("suggestion-item"),x(v).is("checked",e.checked)]),tabindex:-1,onClick:a=>(e=>{var a,l;const{checked:t}=e;Le.value?null==(a=R.value)||a.handleCheckChange(e,!t,!1):(!t&&(null==(l=R.value)||l.handleCheckChange(e,!0,!1)),Oe(!1))})(e)},[y("span",null,V(e.text),1),e.checked?(b(),J(x(K),{key:0},{default:Y((()=>[Q(x(G))])),_:1})):X("v-if",!0)],10,["onClick"])))),128)):w(e.$slots,"empty",{key:1},(()=>[y("li",{class:N(x(v).e("empty-text"))},V(x(f)("el.cascader.noMatch")),3)]))])),_:3},8,["class","view-class"])),[[Be,O.value]]):X("v-if",!0)])),_:3},8,["visible","teleported","popper-class","fallback-placements","placement","transition","persistent"]))}}),[["__file","cascader.vue"]]));export{ka as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0reload-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0reload-legacy.js new file mode 100644 index 000000000..7418a8ecd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0reload-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var n,u,r;return{setters:[function(e){n=e.u,u=e.o,r=e.c}],execute:function(){e("default",Object.assign({name:"Reload"},{__name:"reload",setup:function(e){return n().go(-1),function(e,t){return u(),r("div")}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0reload.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0reload.js new file mode 100644 index 000000000..0371e9b18 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0reload.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{u as a,o as e,c as s}from"./087AC4D233B64EB0index.js";const o=Object.assign({name:"Reload"},{__name:"reload",setup:o=>(a().go(-1),(a,o)=>(e(),s("div")))});export{o as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0routerHolder-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0routerHolder-legacy.js new file mode 100644 index 000000000..e5173b28d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0routerHolder-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,n){"use strict";var t,r,u,i,o,a,l,c,d,f,s;return{setters:[function(e){t=e.a0,r=e.N,u=e.o,i=e.c,o=e.e,a=e.w,l=e.Z,c=e.h,d=e.a1,f=e.D,s=e.G}],execute:function(){e("default",Object.assign({name:"RouterHolder"},{__name:"routerHolder",setup:function(e){var n=t();return function(e,t){var v=r("router-view");return u(),i("div",null,[o(v,null,{default:a((function(e){var t=e.Component;return[o(l,{mode:"out-in",name:"el-fade-in-linear"},{default:a((function(){return[(u(),c(d,{include:f(n).keepAliveRouters},[(u(),c(s(t)))],1032,["include"]))]})),_:2},1024)]})),_:1})])}}}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0routerHolder.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0routerHolder.js new file mode 100644 index 000000000..92b321164 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0routerHolder.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a0 as e,N as a,o as s,c as n,e as t,w as o,Z as r,h as u,a1 as l,D as d,G as i}from"./087AC4D233B64EB0index.js";const c=Object.assign({name:"RouterHolder"},{__name:"routerHolder",setup(c){const m=e();return(e,c)=>{const f=a("router-view");return s(),n("div",null,[t(f,null,{default:o((({Component:e})=>[t(r,{mode:"out-in",name:"el-fade-in-linear"},{default:o((()=>[(s(),u(l,{include:d(m).keepAliveRouters},[(s(),u(i(e)))],1032,["include"]))])),_:2},1024)])),_:1})])}}});export{c as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0scrollbar-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0scrollbar-legacy.js new file mode 100644 index 000000000..c63a42c12 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0scrollbar-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function t(t){for(var l=1;ldiv{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}\n",document.head.appendChild(l);var Q={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},$=Symbol("scrollbarContextKey"),F=a({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),G=n({__name:"thumb",props:F,setup:function(e){var t=e,l=i($),a=u("scrollbar");l||c("Thumb","can not inject scrollbar context");var o=s(),n=s(),O=s({}),j=s(!1),k=!1,L=!1,T=E?document.onselectstart:null,P=v((function(){return Q[t.vertical?"vertical":"horizontal"]})),C=v((function(){return function(e){var t=e.move,l=e.size,a=e.bar;return r(r({},a.size,l),"transform","translate".concat(a.axis,"(").concat(t,"%)"))}({size:t.size,move:t.move,bar:P.value})})),B=v((function(){return Math.pow(o.value[P.value.offset],2)/l.wrapElement[P.value.scrollSize]/t.ratio/n.value[P.value.offset]})),H=function(e){var t;if(e.stopPropagation(),!e.ctrlKey&&![1,2].includes(e.button)){null==(t=window.getSelection())||t.removeAllRanges(),M(e);var r=e.currentTarget;r&&(O.value[P.value.axis]=r[P.value.offset]-(e[P.value.client]-r.getBoundingClientRect()[P.value.direction]))}},R=function(e){if(n.value&&o.value&&l.wrapElement){var t=100*(Math.abs(e.target.getBoundingClientRect()[P.value.direction]-e[P.value.client])-n.value[P.value.offset]/2)*B.value/o.value[P.value.offset];l.wrapElement[P.value.scroll]=t*l.wrapElement[P.value.scrollSize]/100}},M=function(e){e.stopImmediatePropagation(),k=!0,document.addEventListener("mousemove",N),document.addEventListener("mouseup",A),T=document.onselectstart,document.onselectstart=function(){return!1}},N=function(e){if(o.value&&n.value&&!1!==k){var t=O.value[P.value.axis];if(t){var r=100*(-1*(o.value.getBoundingClientRect()[P.value.direction]-e[P.value.client])-(n.value[P.value.offset]-t))*B.value/o.value[P.value.offset];l.wrapElement[P.value.scroll]=r*l.wrapElement[P.value.scrollSize]/100}}},A=function(){k=!1,O.value[P.value.axis]=0,document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",A),D(),L&&(j.value=!1)};f((function(){D(),document.removeEventListener("mouseup",A)}));var D=function(){document.onselectstart!==T&&(document.onselectstart=T)};return d(b(l,"scrollbarElement"),"mousemove",(function(){L=!1,j.value=!!t.size})),d(b(l,"scrollbarElement"),"mouseleave",(function(){L=!0,j.value=k})),function(e,t){return p(),m(z,{name:S(a).b("fade"),persisted:""},{default:y((function(){return[h(g("div",{ref_key:"instance",ref:o,class:w([S(a).e("bar"),S(a).is(S(P).key)]),onMousedown:R},[g("div",{ref_key:"thumb",ref:n,class:w(S(a).e("thumb")),style:x(S(C)),onMousedown:H},null,38)],34),[[_,e.always||j.value]])]})),_:1},8,["name"])}}}),Z=o(G,[["__file","thumb.vue"]]),J=a({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),U=n({__name:"bar",props:J,setup:function(e,t){var r=t.expose,l=e,a=i($),o=s(0),n=s(0),u=s(""),c=s(""),v=s(1),f=s(1);return r({handleScroll:function(e){if(e){var t=e.offsetHeight-4,r=e.offsetWidth-4;n.value=100*e.scrollTop/t*v.value,o.value=100*e.scrollLeft/r*f.value}},update:function(){var e=null==a?void 0:a.wrapElement;if(e){var t=e.offsetHeight-4,r=e.offsetWidth-4,o=Math.pow(t,2)/e.scrollHeight,n=Math.pow(r,2)/e.scrollWidth,i=Math.max(o,l.minSize),s=Math.max(n,l.minSize);v.value=o/(t-o)/(i/(t-i)),f.value=n/(r-n)/(s/(r-s)),c.value=i+4div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0scrollbar.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0scrollbar.js new file mode 100644 index 000000000..05788c401 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0scrollbar.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,_ as a,q as l,ab as t,v as s,ad as r,a as o,C as i,aw as n,a9 as u,as as c,o as v,h as f,w as m,S as d,b as p,n as y,D as b,F as h,Y as g,Z as w,bk as S,c as z,e as x,K as E,$ as _,a3 as L,a7 as T,am as k,X as B,aO as C,Q as H,x as R,r as A,bs as N,P as M,b1 as O,z as W,G as j,f as q,aQ as K,I as P}from"./087AC4D233B64EB0index.js";const X={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Y=Symbol("scrollbarContextKey"),D=e({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var I=a(l({__name:"thumb",props:D,setup(e){const a=e,l=t(Y),z=s("scrollbar");l||r("Thumb","can not inject scrollbar context");const x=o(),E=o(),_=o({}),L=o(!1);let T=!1,k=!1,B=S?document.onselectstart:null;const C=i((()=>X[a.vertical?"vertical":"horizontal"])),H=i((()=>(({move:e,size:a,bar:l})=>({[l.size]:a,transform:"translate".concat(l.axis,"(").concat(e,"%)")}))({size:a.size,move:a.move,bar:C.value}))),R=i((()=>x.value[C.value.offset]**2/l.wrapElement[C.value.scrollSize]/a.ratio/E.value[C.value.offset])),A=e=>{var a;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(a=window.getSelection())||a.removeAllRanges(),M(e);const l=e.currentTarget;l&&(_.value[C.value.axis]=l[C.value.offset]-(e[C.value.client]-l.getBoundingClientRect()[C.value.direction]))},N=e=>{if(!E.value||!x.value||!l.wrapElement)return;const a=100*(Math.abs(e.target.getBoundingClientRect()[C.value.direction]-e[C.value.client])-E.value[C.value.offset]/2)*R.value/x.value[C.value.offset];l.wrapElement[C.value.scroll]=a*l.wrapElement[C.value.scrollSize]/100},M=e=>{e.stopImmediatePropagation(),T=!0,document.addEventListener("mousemove",O),document.addEventListener("mouseup",W),B=document.onselectstart,document.onselectstart=()=>!1},O=e=>{if(!x.value||!E.value)return;if(!1===T)return;const a=_.value[C.value.axis];if(!a)return;const t=100*(-1*(x.value.getBoundingClientRect()[C.value.direction]-e[C.value.client])-(E.value[C.value.offset]-a))*R.value/x.value[C.value.offset];l.wrapElement[C.value.scroll]=t*l.wrapElement[C.value.scrollSize]/100},W=()=>{T=!1,_.value[C.value.axis]=0,document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",W),j(),k&&(L.value=!1)};n((()=>{j(),document.removeEventListener("mouseup",W)}));const j=()=>{document.onselectstart!==B&&(document.onselectstart=B)};return u(c(l,"scrollbarElement"),"mousemove",(()=>{k=!1,L.value=!!a.size})),u(c(l,"scrollbarElement"),"mouseleave",(()=>{k=!0,L.value=T})),(e,a)=>(v(),f(w,{name:b(z).b("fade"),persisted:""},{default:m((()=>[d(p("div",{ref_key:"instance",ref:x,class:y([b(z).e("bar"),b(z).is(b(C).key)]),onMousedown:N},[p("div",{ref_key:"thumb",ref:E,class:y(b(z).e("thumb")),style:h(b(H)),onMousedown:A},null,38)],34),[[g,e.always||L.value]])])),_:1},8,["name"]))}}),[["__file","thumb.vue"]]);var Q=a(l({__name:"bar",props:e({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),setup(e,{expose:a}){const l=e,s=t(Y),r=o(0),i=o(0),n=o(""),u=o(""),c=o(1),f=o(1);return a({handleScroll:e=>{if(e){const a=e.offsetHeight-4,l=e.offsetWidth-4;i.value=100*e.scrollTop/a*c.value,r.value=100*e.scrollLeft/l*f.value}},update:()=>{const e=null==s?void 0:s.wrapElement;if(!e)return;const a=e.offsetHeight-4,t=e.offsetWidth-4,r=a**2/e.scrollHeight,o=t**2/e.scrollWidth,i=Math.max(r,l.minSize),v=Math.max(o,l.minSize);c.value=r/(a-r)/(i/(a-i)),f.value=o/(t-o)/(v/(t-v)),u.value=i+4(v(),z(E,null,[x(I,{move:r.value,ratio:f.value,size:n.value,always:e.always},null,8,["move","ratio","size","always"]),x(I,{move:i.value,ratio:c.value,size:u.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),[["__file","bar.vue"]]);const $=e({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:_([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...L(["ariaLabel","ariaOrientation"])}),F={scroll:({scrollTop:e,scrollLeft:a})=>[e,a].every(T)},G=l({name:"ElScrollbar"});const Z=P(a(l({...G,props:$,emits:F,setup(e,{expose:a,emit:l}){const t=e,r=s("scrollbar");let n,c,d=0,g=0;const w=o(),S=o(),x=o(),E=o(),_=i((()=>{const e={};return t.height&&(e.height=k(t.height)),t.maxHeight&&(e.maxHeight=k(t.maxHeight)),[t.wrapStyle,e]})),L=i((()=>[t.wrapClass,r.e("wrap"),{[r.em("wrap","hidden-default")]:!t.native}])),P=i((()=>[r.e("view"),t.viewClass])),X=()=>{var e;S.value&&(null==(e=E.value)||e.handleScroll(S.value),d=S.value.scrollTop,g=S.value.scrollLeft,l("scroll",{scrollTop:S.value.scrollTop,scrollLeft:S.value.scrollLeft}))};const D=()=>{var e;null==(e=E.value)||e.update()};return B((()=>t.noresize),(e=>{e?(null==n||n(),null==c||c()):(({stop:n}=C(x,D)),c=u("resize",D))}),{immediate:!0}),B((()=>[t.maxHeight,t.height]),(()=>{t.native||H((()=>{var e;D(),S.value&&(null==(e=E.value)||e.handleScroll(S.value))}))})),R(Y,A({scrollbarElement:w,wrapElement:S})),N((()=>{S.value&&(S.value.scrollTop=d,S.value.scrollLeft=g)})),M((()=>{t.native||H((()=>{D()}))})),O((()=>D())),a({wrapRef:S,update:D,scrollTo:function(e,a){K(e)?S.value.scrollTo(e):T(e)&&T(a)&&S.value.scrollTo(e,a)},setScrollTop:e=>{T(e)&&(S.value.scrollTop=e)},setScrollLeft:e=>{T(e)&&(S.value.scrollLeft=e)},handleScroll:X}),(e,a)=>(v(),z("div",{ref_key:"scrollbarRef",ref:w,class:y(b(r).b())},[p("div",{ref_key:"wrapRef",ref:S,class:y(b(L)),style:h(b(_)),tabindex:e.tabindex,onScroll:X},[(v(),f(j(e.tag),{id:e.id,ref_key:"resizeRef",ref:x,class:y(b(P)),style:h(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:m((()=>[W(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),e.native?q("v-if",!0):(v(),f(Q,{key:0,ref_key:"barRef",ref:E,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),[["__file","scrollbar.vue"]]));export{Z as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search-legacy.js new file mode 100644 index 000000000..11e5f6621 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy11.js","./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js"],(function(e,t){"use strict";var n,a,r,o,c,i,d,s,l;return{setters:[function(e){n=e.default},function(e){a=e.a,r=e.o,o=e.c,c=e.b,i=e.n,d=e.e,s=e.aA},function(e){l=e._}],execute:function(){var t=document.createElement("style");t.textContent=".search-component[data-v-c3d5b86a]{margin-right:1.25rem;display:inline-flex;gap:1.25rem;overflow:hidden;text-align:center}.search-component div[data-v-c3d5b86a]{cursor:pointer}.search-component .el-input__inner[data-v-c3d5b86a]{border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.search-component .el-dropdown-link[data-v-c3d5b86a]{cursor:pointer}.reload[data-v-c3d5b86a]{font-size:18px}.reloading[data-v-c3d5b86a]{animation:turn-c3d5b86a .5s linear infinite}@keyframes turn-c3d5b86a{0%{transform:rotate(0)}25%{transform:rotate(90deg)}50%{transform:rotate(180deg)}75%{transform:rotate(270deg)}to{transform:rotate(360deg)}}\n",document.head.appendChild(t);var u={class:"search-component"};e("default",l(Object.assign({name:"BtnBox"},{__name:"search",setup:function(e){var t=a(!1),l=function(){t.value=!0,s.emit("reload"),setTimeout((function(){t.value=!1}),500)},p=function(){window.open("https://support.qq.com/product/371961")};return function(e,a){return r(),o("div",u,[c("div",{class:i(["gvaIcon gvaIcon-refresh",[t.value?"reloading":""]]),onClick:l},null,2),d(n,{class:"search-icon"}),c("div",{class:"gvaIcon gvaIcon-customer-service",onClick:p})])}}}),[["__scopeId","data-v-c3d5b86a"]]))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search.css new file mode 100644 index 000000000..4db800973 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.search-component[data-v-c3d5b86a]{margin-right:1.25rem;display:inline-flex;gap:1.25rem;overflow:hidden;text-align:center}.search-component div[data-v-c3d5b86a]{cursor:pointer}.search-component .el-input__inner[data-v-c3d5b86a]{border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.search-component .el-dropdown-link[data-v-c3d5b86a]{cursor:pointer}.reload[data-v-c3d5b86a]{font-size:18px}.reloading[data-v-c3d5b86a]{animation:turn-c3d5b86a .5s linear infinite}@keyframes turn-c3d5b86a{0%{transform:rotate(0)}25%{transform:rotate(90deg)}50%{transform:rotate(180deg)}75%{transform:rotate(270deg)}to{transform:rotate(360deg)}} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search.js new file mode 100644 index 000000000..06d260718 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0search.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import s from"./087AC4D233B64EB0index11.js";import{a,o as e,c as o,b as c,n,e as r,aA as t}from"./087AC4D233B64EB0index.js";import{_ as i}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";const l={class:"search-component"},p=i(Object.assign({name:"BtnBox"},{__name:"search",setup(i){const p=a(!1),d=()=>{p.value=!0,t.emit("reload"),setTimeout((()=>{p.value=!1}),500)},m=()=>{window.open("https://support.qq.com/product/371961")};return(a,t)=>(e(),o("div",l,[c("div",{class:n(["gvaIcon gvaIcon-refresh",[p.value?"reloading":""]]),onClick:d},null,2),r(s,{class:"search-icon"}),c("div",{class:"gvaIcon gvaIcon-customer-service",onClick:m})]))}}),[["__scopeId","data-v-c3d5b86a"]]);export{p as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select-legacy.js new file mode 100644 index 000000000..3c2745caf --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||n(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,n)}return l}function l(e){for(var l=1;le.length)&&(t=e.length);for(var l=0,n=Array(t);l=l.props.multipleLimit&&l.props.multipleLimit>0}return!1})),f=i((function(){return e.label||(s(e.value)?"":e.value)})),v=i((function(){return e.value||e.label||""})),b=i((function(){return e.disabled||t.groupDisabled||r.value})),g=d(),m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;if(s(e.value)){var o=l.props.valueKey;return t&&t.some((function(e){return u(c(e,o))===c(n,o)}))}return t&&t.includes(n)};return p((function(){return f.value}),(function(){e.created||l.props.remote||l.setSelected()})),p((function(){return e.value}),(function(t,n){var o=l.props,r=o.remote,a=o.valueKey;if(t!==n&&(l.onOptionDestroy(n,g.proxy),l.onOptionCreate(g.proxy)),!e.created&&!r){if(a&&s(t)&&s(n)&&t[a]===n[a])return;l.setSelected()}})),p((function(){return n.disabled}),(function(){t.groupDisabled=n.disabled}),{immediate:!0}),{select:l,currentLabel:f,currentValue:v,itemSelected:o,isDisabled:b,hoverItem:function(){e.disabled||n.disabled||(l.states.hoveringIndex=l.optionsArray.indexOf(g.proxy))},updateOption:function(l){var n=new RegExp(Ae(l),"i");t.visible=n.test(f.value)||e.created}}}(e,o),f=r.currentLabel,v=r.itemSelected,_=r.isDisabled,C=r.select,S=r.hoverItem,O=r.updateOption,E=x(o),k=E.visible,V=E.hover,I=d().proxy;return C.onOptionCreate(I),w((function(){var e=I.value,t=C.states.selected,l=(C.props.multiple?t:[t]).some((function(e){return e.value===I.value}));y((function(){C.states.cachedOptions.get(e)!==I||l||C.states.cachedOptions.delete(e)})),C.onOptionDestroy(e,I)})),{ns:t,id:l,containerKls:n,currentLabel:f,itemSelected:v,isDisabled:_,select:C,hoverItem:S,updateOption:O,visible:k,hover:V,selectOptionClick:function(){_.value||C.handleOptionSelect(I)},states:o}}});var Ge=f(Ue,[["render",function(e,t,l,n,o,r){return _((S(),O("li",{id:e.id,class:I(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:e.hoverItem,onClick:B(e.selectOptionClick,["stop"])},[E(e.$slots,"default",{},(function(){return[k("span",null,V(e.currentLabel),1)]}))],42,["id","aria-disabled","aria-selected","onMouseenter","onClick"])),[[C,e.visible]])}],["__file","option.vue"]]),Ye=v({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup:function(){var e=a(Re),t=b("select"),l=i((function(){return e.props.popperClass})),n=i((function(){return e.props.multiple})),o=i((function(){return e.props.fitInputWidth})),r=T("");function s(){var t;r.value="".concat(null==(t=e.selectRef)?void 0:t.offsetWidth,"px")}return z((function(){s(),L(e.selectRef,s)})),{ns:t,minWidth:r,popperClass:l,isMultiple:n,isFitInputWidth:o}}});var Je=f(Ye,[["render",function(e,t,l,n,o,a){return S(),O("div",{class:I([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:M(r({},e.isFitInputWidth?"width":"minWidth",e.minWidth))},[e.$slots.header?(S(),O("div",{key:0,class:I(e.ns.be("dropdown","header"))},[E(e.$slots,"header")],2)):D("v-if",!0),E(e.$slots,"default"),e.$slots.footer?(S(),O("div",{key:1,class:I(e.ns.be("dropdown","footer"))},[E(e.$slots,"footer")],2)):D("v-if",!0)],6)}],["__file","select-dropdown.vue"]]),Xe=function(e,t){var l=R().t,o=g(),r=b("select"),a=b("input"),d=h({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:[],selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),f=T(null),v=T(null),m=T(null),x=T(null),w=T(null),_=T(null),C=T(null),S=T(null),O=T(null),E=T(null),k=T(null),V=T(null),I=j({afterComposition:function(e){return Ze(e)}}),B=I.isComposing,D=I.handleCompositionStart,M=I.handleCompositionUpdate,ne=I.handleCompositionEnd,oe=A(w,{beforeFocus:function(){return me.value},afterFocus:function(){e.automaticDropdown&&!se.value&&(se.value=!0,d.menuVisibleOnFocus=!0)},beforeBlur:function(e){var t,l;return(null==(t=m.value)?void 0:t.isFocusInsideContent(e))||(null==(l=x.value)?void 0:l.isFocusInsideContent(e))},afterBlur:function(){se.value=!1,d.menuVisibleOnFocus=!1}}),re=oe.wrapperRef,ae=oe.isFocused,ie=oe.handleBlur,se=T(!1),ue=T(),ce=P(),pe=ce.form,de=ce.formItem,fe=$(e,{formItemContext:de}).inputId,ve=F(e),be=ve.valueOnClear,ge=ve.isEmptyValue,me=i((function(){return e.disabled||(null==pe?void 0:pe.disabled)})),he=i((function(){return W(e.modelValue)?e.modelValue.length>0:!ge(e.modelValue)})),xe=i((function(){return e.clearable&&!me.value&&d.inputHovering&&he.value})),we=i((function(){return e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon})),ye=i((function(){return r.is("reverse",we.value&&se.value)})),_e=i((function(){return(null==de?void 0:de.validateState)||""})),Ce=i((function(){return K[_e.value]})),Se=i((function(){return e.remote?300:0})),Oe=i((function(){return e.loading?e.loadingText||l("el.select.loading"):!(e.remote&&!d.inputValue&&0===d.options.size)&&(e.filterable&&d.inputValue&&d.options.size>0&&0===Ee.value?e.noMatchText||l("el.select.noMatch"):0===d.options.size?e.noDataText||l("el.select.noData"):null)})),Ee=i((function(){return ke.value.filter((function(e){return e.visible})).length})),ke=i((function(){var e=Array.from(d.options.values()),t=[];return d.optionValues.forEach((function(l){var n=e.findIndex((function(e){return e.value===l}));n>-1&&t.push(e[n])})),t.length>=e.length?t:e})),Ve=i((function(){return Array.from(d.cachedOptions.values())})),Ie=i((function(){var t=ke.value.filter((function(e){return!e.created})).some((function(e){return e.currentLabel===d.inputValue}));return e.filterable&&e.allowCreate&&""!==d.inputValue&&!t})),Be=function(){e.filterable&&J(e.filterMethod)||e.filterable&&e.remote&&J(e.remoteMethod)||ke.value.forEach((function(e){var t;null==(t=e.updateOption)||t.call(e,d.inputValue)}))},Te=N(),ze=i((function(){return["small"].includes(Te.value)?"small":"default"})),Le=i({get:function(){return se.value&&!1!==Oe.value},set:function(e){se.value=e}}),De=i((function(){if(e.multiple&&!H(e.modelValue))return 0===Pe(e.modelValue).length&&!d.inputValue;var t=W(e.modelValue)?e.modelValue[0]:e.modelValue;return!e.filterable&&!H(t)||!d.inputValue})),Me=i((function(){var t,n=null!=(t=e.placeholder)?t:l("el.select.placeholder");return e.multiple||!he.value?n:d.selectedLabel})),Re=i((function(){return q?null:"mouseenter"}));p((function(){return e.modelValue}),(function(t,l){e.multiple&&e.filterable&&!e.reserveKeyword&&(d.inputValue="",je("")),Fe(),!$e(t,l)&&e.validateEvent&&(null==de||de.validate("change").catch((function(e){return Q()})))}),{flush:"post",deep:!0}),p((function(){return se.value}),(function(e){e?je(d.inputValue):(d.inputValue="",d.previousQuery=null,d.isBeforeHide=!0),t("visible-change",e)})),p((function(){return d.options.entries()}),(function(){var t;if(U){var l=(null==(t=f.value)?void 0:t.querySelectorAll("input"))||[];(e.filterable||e.defaultFirstOption||H(e.modelValue))&&Array.from(l).includes(document.activeElement)||Fe(),e.defaultFirstOption&&(e.filterable||e.remote)&&Ee.value&&Ae()}}),{flush:"post"}),p((function(){return d.hoveringIndex}),(function(e){G(e)&&e>-1?ue.value=ke.value[e]||{}:ue.value={},ke.value.forEach((function(e){e.hover=ue.value===e}))})),Y((function(){d.isBeforeHide||Be()}));var je=function(t){d.previousQuery===t||B.value||(d.previousQuery=t,e.filterable&&J(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&J(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&Ee.value?y(Ae):y(Ue))},Ae=function(){var e=ke.value.filter((function(e){return e.visible&&!e.disabled&&!e.states.groupDisabled})),t=e.find((function(e){return e.created})),l=e[0];d.hoveringIndex=rt(ke.value,t||l)},Fe=function(){if(!e.multiple){var t=W(e.modelValue)?e.modelValue[0]:e.modelValue,l=Ne(t);return d.selectedLabel=l.currentLabel,void(d.selected=[l])}d.selectedLabel="";var n=[];H(e.modelValue)||Pe(e.modelValue).forEach((function(e){n.push(Ne(e))})),d.selected=n},Ne=function(t){for(var l,n="object"===X(t).toLowerCase(),o="null"===X(t).toLowerCase(),r="undefined"===X(t).toLowerCase(),a=function(){var o=Ve.value[i];if(n?c(o.value,e.valueKey)===c(t,e.valueKey):o.value===t)return l={value:t,currentLabel:o.currentLabel,get isDisabled(){return o.isDisabled}},1},i=d.cachedOptions.size-1;i>=0&&!a();i--);if(l)return l;var s=n?t.label:o||r?"":t;return{value:t,currentLabel:s}},Ue=function(){d.hoveringIndex=ke.value.findIndex((function(e){return d.selected.some((function(t){return ct(t)===ct(e)}))}))},Ge=function(){d.calculatorWidth=_.value.getBoundingClientRect().width},Ye=function(){var e,t;null==(t=null==(e=m.value)?void 0:e.updatePopper)||t.call(e)},Je=function(){var e,t;null==(t=null==(e=x.value)?void 0:e.updatePopper)||t.call(e)},Xe=function(){d.inputValue.length>0&&!se.value&&(se.value=!0),je(d.inputValue)},Ze=function(t){if(d.inputValue=t.target.value,!e.remote)return Xe();et()},et=We((function(){Xe()}),Se.value),tt=function(l){$e(e.modelValue,l)||t(le,l)},lt=function(e){return function(e,t,l){var n=null==e?0:e.length;if(!n)return-1;var o=n-1;return void 0!==l&&(o=He(l),o=l<0?qe(n+o,0):Qe(o,n-1)),function(e,t,l,n){for(var o=e.length,r=l+(n?1:-1);n?r--:++r=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){l=l.call(e)},n:function(){var e=l.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==l.return||l.return()}finally{if(s)throw a}}}}(d.selected);try{for(a.s();!(r=a.n()).done;){var i=r.value;i.isDisabled&&o.push(i.value)}}catch(s){a.e(s)}finally{a.f()}}t(ee,o),tt(o),d.hoveringIndex=-1,se.value=!1,t("clear"),st()},ot=function(l){var n;if(e.multiple){var o=Pe(null!=(n=e.modelValue)?n:[]).slice(),r=rt(o,l.value);r>-1?o.splice(r,1):(e.multipleLimit<=0||o.length0&&void 0!==arguments[0]?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;if(!s(l))return t.indexOf(l);var n=e.valueKey,o=-1;return t.some((function(e,t){return u(c(e,n))===c(l,n)&&(o=t,!0)})),o},at=function(e){var t,l,n,o,a,i=W(e)?e[0]:e,s=null;if(null==i?void 0:i.value){var u=ke.value.filter((function(e){return e.value===i.value}));u.length>0&&(s=u[0].$el)}if(m.value&&s){var c=null==(o=null==(n=null==(l=null==(t=m.value)?void 0:t.popperRef)?void 0:l.contentRef)?void 0:n.querySelector)?void 0:o.call(n,".".concat(r.be("dropdown","wrap")));c&&te(c,s)}null==(a=V.value)||a.handleScroll()},it=i((function(){var e,t;return null==(t=null==(e=m.value)?void 0:e.popperRef)?void 0:t.contentRef})),st=function(){var e;null==(e=w.value)||e.focus()},ut=function(){me.value||(q&&(d.inputHovering=!0),d.menuVisibleOnFocus?d.menuVisibleOnFocus=!1:se.value=!se.value)},ct=function(t){return s(t.value)?c(t.value,e.valueKey):t.value},pt=i((function(){return ke.value.filter((function(e){return e.visible})).every((function(e){return e.disabled}))})),dt=i((function(){return e.multiple?e.collapseTags?d.selected.slice(0,e.maxCollapseTags):d.selected:[]})),ft=i((function(){return e.multiple&&e.collapseTags?d.selected.slice(e.maxCollapseTags):[]})),vt=function(e){if(se.value){if(0!==d.options.size&&0!==d.filteredOptionsCount&&!B.value&&!pt.value){"next"===e?(d.hoveringIndex++,d.hoveringIndex===d.options.size&&(d.hoveringIndex=0)):"prev"===e&&(d.hoveringIndex--,d.hoveringIndex<0&&(d.hoveringIndex=d.options.size-1));var t=ke.value[d.hoveringIndex];!0!==t.disabled&&!0!==t.states.groupDisabled&&t.visible||vt(e),y((function(){return at(ue.value)}))}}else se.value=!0},bt=i((function(){var t=function(){if(!v.value)return 0;var e=window.getComputedStyle(v.value);return Number.parseFloat(e.gap||"6px")}(),l=k.value&&1===e.maxCollapseTags?d.selectionWidth-d.collapseItemWidth-t:d.selectionWidth;return{maxWidth:"".concat(l,"px")}})),gt=i((function(){return{maxWidth:"".concat(d.selectionWidth,"px")}})),mt=i((function(){return{width:"".concat(Math.max(d.calculatorWidth,11),"px")}}));return L(v,(function(){d.selectionWidth=v.value.getBoundingClientRect().width})),L(_,Ge),L(O,Ye),L(re,Ye),L(E,Je),L(k,(function(){d.collapseItemWidth=k.value.getBoundingClientRect().width})),z((function(){Fe()})),{inputId:fe,contentId:o,nsSelect:r,nsInput:a,states:d,isFocused:ae,expanded:se,optionsArray:ke,hoverOption:ue,selectSize:Te,filteredOptionsCount:Ee,resetCalculatorWidth:Ge,updateTooltip:Ye,updateTagTooltip:Je,debouncedOnInputChange:et,onInput:Ze,deletePrevTag:function(l){if(e.multiple&&l.code!==Z.delete&&l.target.value.length<=0){var n=Pe(e.modelValue).slice(),o=lt(n);if(o<0)return;var r=n[o];n.splice(o,1),t(ee,n),tt(n),t("remove-tag",r)}},deleteTag:function(l,n){var o=d.selected.indexOf(n);if(o>-1&&!me.value){var r=Pe(e.modelValue).slice();r.splice(o,1),t(ee,r),tt(r),t("remove-tag",n.value)}l.stopPropagation(),st()},deleteSelected:nt,handleOptionSelect:ot,scrollToOption:at,hasModelValue:he,shouldShowPlaceholder:De,currentPlaceholder:Me,mouseEnterEventName:Re,showClose:xe,iconComponent:we,iconReverse:ye,validateState:_e,validateIcon:Ce,showNewOption:Ie,updateOptions:Be,collapseTagSize:ze,setSelected:Fe,selectDisabled:me,emptyText:Oe,handleCompositionStart:D,handleCompositionUpdate:M,handleCompositionEnd:ne,onOptionCreate:function(e){d.options.set(e.value,e),d.cachedOptions.set(e.value,e),e.disabled&&d.disabledOptions.set(e.value,e)},onOptionDestroy:function(e,t){d.options.get(e)===t&&d.options.delete(e)},handleMenuEnter:function(){d.isBeforeHide=!1,y((function(){return at(d.selected)}))},focus:st,blur:function(){var e;if(se.value)return se.value=!1,void y((function(){var e;return null==(e=w.value)?void 0:e.blur()}));null==(e=w.value)||e.blur()},handleClearClick:function(e){nt(e)},handleClickOutside:function(e){if(se.value=!1,ae.value){var t=new FocusEvent("focus",e);y((function(){return ie(t)}))}},handleEsc:function(){d.inputValue.length>0?d.inputValue="":se.value=!1},toggleMenu:ut,selectOption:function(){se.value?ke.value[d.hoveringIndex]&&ot(ke.value[d.hoveringIndex]):ut()},getValueKey:ct,navigateOptions:vt,dropdownMenuVisible:Le,showTagList:dt,collapseTagList:ft,tagStyle:bt,collapseTagStyle:gt,inputStyle:mt,popperRef:it,inputRef:w,tooltipRef:m,tagTooltipRef:x,calculatorRef:_,prefixRef:C,suffixRef:S,selectRef:f,wrapperRef:re,selectionRef:v,scrollbarRef:V,menuRef:O,tagMenuRef:E,collapseItemRef:k}},Ze=v({name:"ElOptions",setup:function(e,t){var l=t.slots,n=a(Re),o=[];return function(){var e,t,r=null==(e=l.default)?void 0:e.call(l),a=[];return r.length&&function e(t){W(t)&&t.forEach((function(t){var l,n,o,r,i=null==(l=(null==t?void 0:t.type)||{})?void 0:l.name;"ElOptionGroup"===i?e(ne(t.children)||W(t.children)||!J(null==(n=t.children)?void 0:n.default)?t.children:null==(o=t.children)?void 0:o.default()):"ElOption"===i?a.push(null==(r=t.props)?void 0:r.value):W(t.children)&&e(t.children)}))}(null==(t=r[0])?void 0:t.children),$e(a,o)||(o=a,n&&(n.states.optionValues=a)),r}}}),et=oe(l(l({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:re,effect:{type:ae(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:ae(Object),default:function(){return{}}},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:Ie.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:ie,default:se},fitInputWidth:Boolean,suffixIcon:{type:ie,default:ue},tagType:l(l({},De.type),{},{default:"info"}),tagEffect:l(l({},De.effect),{},{default:"light"}),validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:ae(String),values:Be,default:"bottom-start"},fallbackPlacements:{type:ae(Array),default:["bottom-start","top-start","right","left"]},appendTo:String},ce),pe(["ariaLabel"]))),tt="ElSelect",lt=v({name:tt,componentName:tt,components:{ElSelectMenu:Je,ElOption:Ge,ElOptions:Ze,ElTag:Me,ElScrollbar:Le,ElTooltip:Te,ElIcon:de},directives:{ClickOutside:ze},props:et,emits:[ee,le,"remove-tag","clear","visible-change","focus","blur"],setup:function(e,t){var n=t.emit,o=i((function(){var t=e.modelValue,l=e.multiple,n=l?[]:void 0;return W(t)?l?t:n:l?n:t})),r=h(l(l({},x(e)),{},{modelValue:o})),a=Xe(r,n);fe(Re,h({props:r,states:a.states,optionsArray:a.optionsArray,handleOptionSelect:a.handleOptionSelect,onOptionCreate:a.onOptionCreate,onOptionDestroy:a.onOptionDestroy,selectRef:a.selectRef,setSelected:a.setSelected}));var s=i((function(){return e.multiple?a.states.selected.map((function(e){return e.currentLabel})):a.states.selectedLabel}));return l(l({},a),{},{modelValue:o,selectedLabel:s})}});var nt=f(lt,[["render",function(e,t,l,n,o,a){var i=ve("el-tag"),s=ve("el-tooltip"),u=ve("el-icon"),c=ve("el-option"),p=ve("el-options"),d=ve("el-scrollbar"),f=ve("el-select-menu"),v=be("click-outside");return _((S(),O("div",r(r({ref:"selectRef",class:I([e.nsSelect.b(),e.nsSelect.m(e.selectSize)])},Oe(e.mouseEnterEventName),(function(t){return e.states.inputHovering=!0})),"onMouseleave",(function(t){return e.states.inputHovering=!1})),[ge(s,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:"".concat(e.nsSelect.namespace.value,"-zoom-in-top"),"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,onBeforeShow:e.handleMenuEnter,onHide:function(t){return e.states.isBeforeHide=!1}},{default:me((function(){var t;return[k("div",{ref:"wrapperRef",class:I([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:B(e.toggleMenu,["prevent"])},[e.$slots.prefix?(S(),O("div",{key:0,ref:"prefixRef",class:I(e.nsSelect.e("prefix"))},[E(e.$slots,"prefix")],2)):D("v-if",!0),k("div",{ref:"selectionRef",class:I([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?E(e.$slots,"tag",{key:0},(function(){return[(S(!0),O(he,null,xe(e.showTagList,(function(t){return S(),O("div",{key:e.getValueKey(t),class:I(e.nsSelect.e("selected-item"))},[ge(i,{closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:M(e.tagStyle),onClose:function(l){return e.deleteTag(l,t)}},{default:me((function(){return[k("span",{class:I(e.nsSelect.e("tags-text"))},[E(e.$slots,"label",{label:t.currentLabel,value:t.value},(function(){return[we(V(t.currentLabel),1)]}))],2)]})),_:2},1032,["closable","size","type","effect","style","onClose"])],2)})),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(S(),ye(s,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:me((function(){return[k("div",{ref:"collapseItemRef",class:I(e.nsSelect.e("selected-item"))},[ge(i,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:M(e.collapseTagStyle)},{default:me((function(){return[k("span",{class:I(e.nsSelect.e("tags-text"))}," + "+V(e.states.selected.length-e.maxCollapseTags),3)]})),_:1},8,["size","type","effect","style"])],2)]})),content:me((function(){return[k("div",{ref:"tagMenuRef",class:I(e.nsSelect.e("selection"))},[(S(!0),O(he,null,xe(e.collapseTagList,(function(t){return S(),O("div",{key:e.getValueKey(t),class:I(e.nsSelect.e("selected-item"))},[ge(i,{class:"in-tooltip",closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:function(l){return e.deleteTag(l,t)}},{default:me((function(){return[k("span",{class:I(e.nsSelect.e("tags-text"))},[E(e.$slots,"label",{label:t.currentLabel,value:t.value},(function(){return[we(V(t.currentLabel),1)]}))],2)]})),_:2},1032,["closable","size","type","effect","onClose"])],2)})),128))],2)]})),_:3},8,["disabled","effect","teleported"])):D("v-if",!0)]})):D("v-if",!0),e.selectDisabled?D("v-if",!0):(S(),O("div",{key:1,class:I([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[_(k("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":function(t){return e.states.inputValue=t},type:"text",name:e.name,class:I([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:M(e.inputStyle),role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":(null==(t=e.hoverOption)?void 0:t.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[_e(B((function(t){return e.navigateOptions("next")}),["stop","prevent"]),["down"]),_e(B((function(t){return e.navigateOptions("prev")}),["stop","prevent"]),["up"]),_e(B(e.handleEsc,["stop","prevent"]),["esc"]),_e(B(e.selectOption,["stop","prevent"]),["enter"]),_e(B(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:B(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[Ce,e.states.inputValue]]),e.filterable?(S(),O("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:I(e.nsSelect.e("input-calculator")),textContent:V(e.states.inputValue)},null,10,["textContent"])):D("v-if",!0)],2)),e.shouldShowPlaceholder?(S(),O("div",{key:2,class:I([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?E(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},(function(){return[k("span",null,V(e.currentPlaceholder),1)]})):(S(),O("span",{key:1},V(e.currentPlaceholder),1))],2)):D("v-if",!0)],2),k("div",{ref:"suffixRef",class:I(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(S(),ye(u,{key:0,class:I([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:me((function(){return[(S(),ye(Se(e.iconComponent)))]})),_:1},8,["class"])):D("v-if",!0),e.showClose&&e.clearIcon?(S(),ye(u,{key:1,class:I([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:me((function(){return[(S(),ye(Se(e.clearIcon)))]})),_:1},8,["class","onClick"])):D("v-if",!0),e.validateState&&e.validateIcon?(S(),ye(u,{key:2,class:I([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:me((function(){return[(S(),ye(Se(e.validateIcon)))]})),_:1},8,["class"])):D("v-if",!0)],2)],10,["onClick"])]})),content:me((function(){return[ge(f,{ref:"menuRef"},{default:me((function(){return[e.$slots.header?(S(),O("div",{key:0,class:I(e.nsSelect.be("dropdown","header")),onClick:B((function(){}),["stop"])},[E(e.$slots,"header")],10,["onClick"])):D("v-if",!0),_(ge(d,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:I([e.nsSelect.is("empty",0===e.filteredOptionsCount)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:me((function(){return[e.showNewOption?(S(),ye(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):D("v-if",!0),ge(p,null,{default:me((function(){return[E(e.$slots,"default")]})),_:3})]})),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[C,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(S(),O("div",{key:1,class:I(e.nsSelect.be("dropdown","loading"))},[E(e.$slots,"loading")],2)):e.loading||0===e.filteredOptionsCount?(S(),O("div",{key:2,class:I(e.nsSelect.be("dropdown","empty"))},[E(e.$slots,"empty",{},(function(){return[k("span",null,V(e.emptyText),1)]}))],2)):D("v-if",!0),e.$slots.footer?(S(),O("div",{key:3,class:I(e.nsSelect.be("dropdown","footer")),onClick:B((function(){}),["stop"])},[E(e.$slots,"footer")],10,["onClick"])):D("v-if",!0)]})),_:3},512)]})),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","append-to","onBeforeShow","onHide"])],16,["onMouseleave"])),[[v,e.handleClickOutside,e.popperRef]])}],["__file","select.vue"]]),ot=v({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup:function(t){var n=b("select"),o=T(null),r=d(),a=T([]);fe(je,h(l({},x(t))));var s=i((function(){return a.value.some((function(e){return!0===e.visible}))})),u=function(t){var l=Pe(t),n=[];return l.forEach((function(t){var l,o;!function(e){var t,l;return"ElOption"===(null==(t=e.type)?void 0:t.name)&&!!(null==(l=e.component)?void 0:l.proxy)}(t)?(null==(l=t.children)?void 0:l.length)?n.push.apply(n,e(u(t.children))):(null==(o=t.component)?void 0:o.subTree)&&n.push.apply(n,e(u(t.component.subTree))):n.push(t.component.proxy)})),n},c=function(){a.value=u(r.subTree)};return z((function(){c()})),Ee(o,c,{attributes:!0,subtree:!0,childList:!0}),{groupRef:o,visible:s,ns:n}}});var rt=f(ot,[["render",function(e,t,l,n,o,r){return _((S(),O("ul",{ref:"groupRef",class:I(e.ns.be("group","wrap"))},[k("li",{class:I(e.ns.be("group","title"))},V(e.label),3),k("li",null,[k("ul",{class:I(e.ns.b("group"))},[E(e.$slots,"default")],2)])],2)),[[C,e.visible]])}],["__file","option-group.vue"]]);t("a",ke(nt,{Option:Ge,OptionGroup:rt})),t("E",Ve(Ge));Ve(rt)}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select.css new file mode 100644 index 000000000..98618fe1b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__loading,.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{padding:10px;border-bottom:1px solid var(--el-border-color-light)}.el-select-dropdown__footer{padding:10px;border-top:1px solid var(--el-border-color-light)}.el-select-dropdown__item{font-size:var(--el-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed;background-color:unset}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__title{padding-left:20px;font-size:12px;color:var(--el-color-info);line-height:34px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover: var(--el-border-color-hover);--el-select-disabled-color: var(--el-disabled-text-color);--el-select-disabled-border: var(--el-disabled-border-color);--el-select-font-size: var(--el-font-size-base);--el-select-close-hover-color: var(--el-text-color-secondary);--el-select-input-color: var(--el-text-color-placeholder);--el-select-multiple-input-color: var(--el-text-color-regular);--el-select-input-focus-border-color: var(--el-color-primary);--el-select-input-font-size: 14px;--el-select-width: 100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{display:flex;align-items:center;position:relative;box-sizing:border-box;cursor:pointer;text-align:left;font-size:14px;padding:4px 12px;gap:6px;min-height:32px;line-height:24px;border-radius:var(--el-border-radius-base);background-color:var(--el-fill-color-blank);transition:var(--el-transition-duration);transform:translateZ(0);box-shadow:0 0 0 1px var(--el-border-color) inset}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag{cursor:not-allowed}.el-select__prefix,.el-select__suffix{display:flex;align-items:center;flex-shrink:0;gap:6px;color:var(--el-input-icon-color, var(--el-text-color-placeholder))}.el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:var(--el-transition-duration);transform:rotate(0);cursor:pointer}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__selection{position:relative;display:flex;flex-wrap:wrap;align-items:center;flex:1;min-width:0;gap:6px}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{cursor:pointer;border-color:transparent}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.el-select__tags-text{display:block;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{position:absolute;display:block;top:50%;transform:translateY(-50%);width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--el-input-text-color, var(--el-text-color-regular))}.el-select__placeholder.is-transparent{-webkit-user-select:none;user-select:none;color:var(--el-text-color-placeholder)}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select__input-wrapper{max-width:100%}.el-select__input-wrapper.is-hidden{position:absolute;opacity:0}.el-select__input{border:none;outline:none;padding:0;color:var(--el-select-multiple-input-color);font-size:inherit;font-family:inherit;-webkit-appearance:none;appearance:none;height:24px;max-width:100%;background-color:transparent}.el-select__input.is-disabled{cursor:not-allowed}.el-select__input-calculator{position:absolute;left:0;top:0;max-width:100%;visibility:hidden;white-space:pre;overflow:hidden}.el-select--large .el-select__wrapper{gap:6px;padding:8px 16px;min-height:40px;line-height:24px;font-size:14px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{gap:4px;padding:2px 8px;min-height:24px;line-height:20px;font-size:12px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select.js new file mode 100644 index 000000000..f7f2c6020 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0select.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{ab as e,C as l,aQ as t,bd as a,b8 as o,X as s,ap as n,_ as i,q as r,v as u,al as p,D as d,r as c,af as v,aw as f,Q as m,S as b,Y as h,o as g,c as y,z as S,b as C,t as x,n as O,ak as w,a as V,P as E,aO as I,f as B,F as T,ah as k,be as R,bf as D,aa as M,ai as L,bg as $,a8 as z,bh as F,aj as A,bi as W,bj as _,ae as K,bk as j,a7 as N,aN as P,a$ as H,bl as q,ac as Q,a4 as G,bm as U,a6 as J,ag as X,A as Y,a2 as Z,$ as ee,B as le,bn as te,av as ae,bo as oe,a3 as se,H as ne,x as ie,N as re,bp as ue,e as pe,w as de,K as ce,L as ve,g as fe,h as me,m as be,ao as he,G as ge,bq as ye,br as Se,I as Ce,J as xe}from"./087AC4D233B64EB0index.js";import{u as Oe,E as we,a as Ve,C as Ee}from"./087AC4D233B64EB0index20.js";import{E as Ie}from"./087AC4D233B64EB0scrollbar.js";import{t as Be,E as Te}from"./087AC4D233B64EB0index22.js";import{s as ke,a as Re}from"./087AC4D233B64EB0token.js";import{e as De}from"./087AC4D233B64EB0strings.js";import{c as Me}from"./087AC4D233B64EB0castArray.js";import{i as Le}from"./087AC4D233B64EB0isEqual.js";import{t as $e,d as ze}from"./087AC4D233B64EB0debounce.js";import{b as Fe}from"./087AC4D233B64EB0tag.js";var Ae=1/0;function We(e){var l=function(e){return e?(e=$e(e))===Ae||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),t=l%1;return l==l?t?l-t:l:0}var _e=Math.max,Ke=Math.min;var je=i(r({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(i){const r=u("select"),b=p(),h=l((()=>[r.be("dropdown","item"),r.is("disabled",d(C)),r.is("selected",d(S)),r.is("hovering",d(E))])),g=c({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:y,itemSelected:S,isDisabled:C,select:x,hoverItem:O,updateOption:w}=function(i,r){const u=e(ke),p=e(Re,{disabled:!1}),d=l((()=>h(Me(u.props.modelValue),i.value))),c=l((()=>{var e;if(u.props.multiple){const l=Me(null!=(e=u.props.modelValue)?e:[]);return!d.value&&l.length>=u.props.multipleLimit&&u.props.multipleLimit>0}return!1})),v=l((()=>i.label||(t(i.value)?"":i.value))),f=l((()=>i.value||i.label||"")),m=l((()=>i.disabled||r.groupDisabled||c.value)),b=n(),h=(e=[],l)=>{if(t(i.value)){const t=u.props.valueKey;return e&&e.some((e=>a(o(e,t))===o(l,t)))}return e&&e.includes(l)};return s((()=>v.value),(()=>{i.created||u.props.remote||u.setSelected()})),s((()=>i.value),((e,l)=>{const{remote:a,valueKey:o}=u.props;if(e!==l&&(u.onOptionDestroy(l,b.proxy),u.onOptionCreate(b.proxy)),!i.created&&!a){if(o&&t(e)&&t(l)&&e[o]===l[o])return;u.setSelected()}})),s((()=>p.disabled),(()=>{r.groupDisabled=p.disabled}),{immediate:!0}),{select:u,currentLabel:v,currentValue:f,itemSelected:d,isDisabled:m,hoverItem:()=>{i.disabled||p.disabled||(u.states.hoveringIndex=u.optionsArray.indexOf(b.proxy))},updateOption:e=>{const l=new RegExp(De(e),"i");r.visible=l.test(v.value)||i.created}}}(i,g),{visible:V,hover:E}=v(g),I=n().proxy;return x.onOptionCreate(I),f((()=>{const e=I.value,{selected:l}=x.states,t=(x.props.multiple?l:[l]).some((e=>e.value===I.value));m((()=>{x.states.cachedOptions.get(e)!==I||t||x.states.cachedOptions.delete(e)})),x.onOptionDestroy(e,I)})),{ns:r,id:b,containerKls:h,currentLabel:y,itemSelected:S,isDisabled:C,select:x,hoverItem:O,updateOption:w,visible:V,hover:E,selectOptionClick:function(){C.value||x.handleOptionSelect(I)},states:g}}}),[["render",function(e,l,t,a,o,s){return b((g(),y("li",{id:e.id,class:O(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:e.hoverItem,onClick:w(e.selectOptionClick,["stop"])},[S(e.$slots,"default",{},(()=>[C("span",null,x(e.currentLabel),1)]))],42,["id","aria-disabled","aria-selected","onMouseenter","onClick"])),[[h,e.visible]])}],["__file","option.vue"]]);var Ne=i(r({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const t=e(ke),a=u("select"),o=l((()=>t.props.popperClass)),s=l((()=>t.props.multiple)),n=l((()=>t.props.fitInputWidth)),i=V("");function r(){var e;i.value="".concat(null==(e=t.selectRef)?void 0:e.offsetWidth,"px")}return E((()=>{r(),I(t.selectRef,r)})),{ns:a,minWidth:i,popperClass:o,isMultiple:s,isFitInputWidth:n}}}),[["render",function(e,l,t,a,o,s){return g(),y("div",{class:O([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:T({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(g(),y("div",{key:0,class:O(e.ns.be("dropdown","header"))},[S(e.$slots,"header")],2)):B("v-if",!0),S(e.$slots,"default"),e.$slots.footer?(g(),y("div",{key:1,class:O(e.ns.be("dropdown","footer"))},[S(e.$slots,"footer")],2)):B("v-if",!0)],6)}],["__file","select-dropdown.vue"]]);const Pe=(e,n)=>{const{t:i}=k(),r=p(),d=u("select"),v=u("input"),f=c({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:[],selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),b=V(null),h=V(null),g=V(null),y=V(null),S=V(null),C=V(null),x=V(null),O=V(null),w=V(null),B=V(null),T=V(null),X=V(null),{isComposing:Y,handleCompositionStart:Z,handleCompositionUpdate:ee,handleCompositionEnd:le}=R({afterComposition:e=>Ge(e)}),{wrapperRef:te,isFocused:ae,handleBlur:oe}=D(S,{beforeFocus:()=>ce.value,afterFocus(){e.automaticDropdown&&!se.value&&(se.value=!0,f.menuVisibleOnFocus=!0)},beforeBlur(e){var l,t;return(null==(l=g.value)?void 0:l.isFocusInsideContent(e))||(null==(t=y.value)?void 0:t.isFocusInsideContent(e))},afterBlur(){se.value=!1,f.menuVisibleOnFocus=!1}}),se=V(!1),ne=V(),{form:ie,formItem:re}=M(),{inputId:ue}=L(e,{formItemContext:re}),{valueOnClear:pe,isEmptyValue:de}=$(e),ce=l((()=>e.disabled||(null==ie?void 0:ie.disabled))),ve=l((()=>z(e.modelValue)?e.modelValue.length>0:!de(e.modelValue))),fe=l((()=>e.clearable&&!ce.value&&f.inputHovering&&ve.value)),me=l((()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon)),be=l((()=>d.is("reverse",me.value&&se.value))),he=l((()=>(null==re?void 0:re.validateState)||"")),ge=l((()=>F[he.value])),ye=l((()=>e.remote?300:0)),Se=l((()=>e.loading?e.loadingText||i("el.select.loading"):!(e.remote&&!f.inputValue&&0===f.options.size)&&(e.filterable&&f.inputValue&&f.options.size>0&&0===Ce.value?e.noMatchText||i("el.select.noMatch"):0===f.options.size?e.noDataText||i("el.select.noData"):null))),Ce=l((()=>xe.value.filter((e=>e.visible)).length)),xe=l((()=>{const e=Array.from(f.options.values()),l=[];return f.optionValues.forEach((t=>{const a=e.findIndex((e=>e.value===t));a>-1&&l.push(e[a])})),l.length>=e.length?l:e})),Oe=l((()=>Array.from(f.cachedOptions.values()))),we=l((()=>{const l=xe.value.filter((e=>!e.created)).some((e=>e.currentLabel===f.inputValue));return e.filterable&&e.allowCreate&&""!==f.inputValue&&!l})),Ve=()=>{e.filterable&&H(e.filterMethod)||e.filterable&&e.remote&&H(e.remoteMethod)||xe.value.forEach((e=>{var l;null==(l=e.updateOption)||l.call(e,f.inputValue)}))},Ee=A(),Ie=l((()=>["small"].includes(Ee.value)?"small":"default")),Be=l({get:()=>se.value&&!1!==Se.value,set(e){se.value=e}}),Te=l((()=>{if(e.multiple&&!W(e.modelValue))return 0===Me(e.modelValue).length&&!f.inputValue;const l=z(e.modelValue)?e.modelValue[0]:e.modelValue;return!e.filterable&&!W(l)||!f.inputValue})),ke=l((()=>{var l;const t=null!=(l=e.placeholder)?l:i("el.select.placeholder");return e.multiple||!ve.value?t:f.selectedLabel})),Re=l((()=>_?null:"mouseenter"));s((()=>e.modelValue),((l,t)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(f.inputValue="",De("")),Ae(),!Le(l,t)&&e.validateEvent&&(null==re||re.validate("change").catch((e=>K())))}),{flush:"post",deep:!0}),s((()=>se.value),(e=>{e?De(f.inputValue):(f.inputValue="",f.previousQuery=null,f.isBeforeHide=!0),n("visible-change",e)})),s((()=>f.options.entries()),(()=>{var l;if(!j)return;const t=(null==(l=b.value)?void 0:l.querySelectorAll("input"))||[];(e.filterable||e.defaultFirstOption||W(e.modelValue))&&Array.from(t).includes(document.activeElement)||Ae(),e.defaultFirstOption&&(e.filterable||e.remote)&&Ce.value&&$e()}),{flush:"post"}),s((()=>f.hoveringIndex),(e=>{N(e)&&e>-1?ne.value=xe.value[e]||{}:ne.value={},xe.value.forEach((e=>{e.hover=ne.value===e}))})),P((()=>{f.isBeforeHide||Ve()}));const De=l=>{f.previousQuery===l||Y.value||(f.previousQuery=l,e.filterable&&H(e.filterMethod)?e.filterMethod(l):e.filterable&&e.remote&&H(e.remoteMethod)&&e.remoteMethod(l),e.defaultFirstOption&&(e.filterable||e.remote)&&Ce.value?m($e):m(Ne))},$e=()=>{const e=xe.value.filter((e=>e.visible&&!e.disabled&&!e.states.groupDisabled)),l=e.find((e=>e.created)),t=e[0];f.hoveringIndex=el(xe.value,l||t)},Ae=()=>{if(!e.multiple){const l=z(e.modelValue)?e.modelValue[0]:e.modelValue,t=je(l);return f.selectedLabel=t.currentLabel,void(f.selected=[t])}f.selectedLabel="";const l=[];W(e.modelValue)||Me(e.modelValue).forEach((e=>{l.push(je(e))})),f.selected=l},je=l=>{let t;const a="object"===q(l).toLowerCase(),s="null"===q(l).toLowerCase(),n="undefined"===q(l).toLowerCase();for(let i=f.cachedOptions.size-1;i>=0;i--){const s=Oe.value[i];if(a?o(s.value,e.valueKey)===o(l,e.valueKey):s.value===l){t={value:l,currentLabel:s.currentLabel,get isDisabled(){return s.isDisabled}};break}}if(t)return t;return{value:l,currentLabel:a?l.label:s||n?"":l}},Ne=()=>{f.hoveringIndex=xe.value.findIndex((e=>f.selected.some((l=>sl(l)===sl(e)))))},Pe=()=>{f.calculatorWidth=C.value.getBoundingClientRect().width},He=()=>{var e,l;null==(l=null==(e=g.value)?void 0:e.updatePopper)||l.call(e)},qe=()=>{var e,l;null==(l=null==(e=y.value)?void 0:e.updatePopper)||l.call(e)},Qe=()=>{f.inputValue.length>0&&!se.value&&(se.value=!0),De(f.inputValue)},Ge=l=>{if(f.inputValue=l.target.value,!e.remote)return Qe();Ue()},Ue=ze((()=>{Qe()}),ye.value),Je=l=>{Le(e.modelValue,l)||n(J,l)},Xe=e=>function(e,l,t){var a=null==e?0:e.length;if(!a)return-1;var o=a-1;return void 0!==t&&(o=We(t),o=t<0?_e(a+o,0):Ke(o,a-1)),function(e,l,t,a){for(var o=e.length,s=t+(a?1:-1);a?s--:++s!f.disabledOptions.has(e))),Ye=l=>{l.stopPropagation();const t=e.multiple?[]:pe.value;if(e.multiple)for(const e of f.selected)e.isDisabled&&t.push(e.value);n(G,t),Je(t),f.hoveringIndex=-1,se.value=!1,n("clear"),al()},Ze=l=>{var t;if(e.multiple){const a=Me(null!=(t=e.modelValue)?t:[]).slice(),o=el(a,l.value);o>-1?a.splice(o,1):(e.multipleLimit<=0||a.length{ll(l)}))},el=(l=[],s)=>{if(!t(s))return l.indexOf(s);const n=e.valueKey;let i=-1;return l.some(((e,l)=>a(o(e,n))===o(s,n)&&(i=l,!0))),i},ll=e=>{var l,t,a,o,s;const n=z(e)?e[0]:e;let i=null;if(null==n?void 0:n.value){const e=xe.value.filter((e=>e.value===n.value));e.length>0&&(i=e[0].$el)}if(g.value&&i){const e=null==(o=null==(a=null==(t=null==(l=g.value)?void 0:l.popperRef)?void 0:t.contentRef)?void 0:a.querySelector)?void 0:o.call(a,".".concat(d.be("dropdown","wrap")));e&&U(e,i)}null==(s=X.value)||s.handleScroll()},tl=l((()=>{var e,l;return null==(l=null==(e=g.value)?void 0:e.popperRef)?void 0:l.contentRef})),al=()=>{var e;null==(e=S.value)||e.focus()},ol=()=>{ce.value||(_&&(f.inputHovering=!0),f.menuVisibleOnFocus?f.menuVisibleOnFocus=!1:se.value=!se.value)},sl=l=>t(l.value)?o(l.value,e.valueKey):l.value,nl=l((()=>xe.value.filter((e=>e.visible)).every((e=>e.disabled)))),il=l((()=>e.multiple?e.collapseTags?f.selected.slice(0,e.maxCollapseTags):f.selected:[])),rl=l((()=>e.multiple&&e.collapseTags?f.selected.slice(e.maxCollapseTags):[])),ul=e=>{if(se.value){if(0!==f.options.size&&0!==f.filteredOptionsCount&&!Y.value&&!nl.value){"next"===e?(f.hoveringIndex++,f.hoveringIndex===f.options.size&&(f.hoveringIndex=0)):"prev"===e&&(f.hoveringIndex--,f.hoveringIndex<0&&(f.hoveringIndex=f.options.size-1));const l=xe.value[f.hoveringIndex];!0!==l.disabled&&!0!==l.states.groupDisabled&&l.visible||ul(e),m((()=>ll(ne.value)))}}else se.value=!0},pl=l((()=>{const l=(()=>{if(!h.value)return 0;const e=window.getComputedStyle(h.value);return Number.parseFloat(e.gap||"6px")})(),t=T.value&&1===e.maxCollapseTags?f.selectionWidth-f.collapseItemWidth-l:f.selectionWidth;return{maxWidth:"".concat(t,"px")}})),dl=l((()=>({maxWidth:"".concat(f.selectionWidth,"px")}))),cl=l((()=>({width:"".concat(Math.max(f.calculatorWidth,11),"px")})));return I(h,(()=>{f.selectionWidth=h.value.getBoundingClientRect().width})),I(C,Pe),I(w,He),I(te,He),I(B,qe),I(T,(()=>{f.collapseItemWidth=T.value.getBoundingClientRect().width})),E((()=>{Ae()})),{inputId:ue,contentId:r,nsSelect:d,nsInput:v,states:f,isFocused:ae,expanded:se,optionsArray:xe,hoverOption:ne,selectSize:Ee,filteredOptionsCount:Ce,resetCalculatorWidth:Pe,updateTooltip:He,updateTagTooltip:qe,debouncedOnInputChange:Ue,onInput:Ge,deletePrevTag:l=>{if(e.multiple&&l.code!==Q.delete&&l.target.value.length<=0){const l=Me(e.modelValue).slice(),t=Xe(l);if(t<0)return;const a=l[t];l.splice(t,1),n(G,l),Je(l),n("remove-tag",a)}},deleteTag:(l,t)=>{const a=f.selected.indexOf(t);if(a>-1&&!ce.value){const l=Me(e.modelValue).slice();l.splice(a,1),n(G,l),Je(l),n("remove-tag",t.value)}l.stopPropagation(),al()},deleteSelected:Ye,handleOptionSelect:Ze,scrollToOption:ll,hasModelValue:ve,shouldShowPlaceholder:Te,currentPlaceholder:ke,mouseEnterEventName:Re,showClose:fe,iconComponent:me,iconReverse:be,validateState:he,validateIcon:ge,showNewOption:we,updateOptions:Ve,collapseTagSize:Ie,setSelected:Ae,selectDisabled:ce,emptyText:Se,handleCompositionStart:Z,handleCompositionUpdate:ee,handleCompositionEnd:le,onOptionCreate:e=>{f.options.set(e.value,e),f.cachedOptions.set(e.value,e),e.disabled&&f.disabledOptions.set(e.value,e)},onOptionDestroy:(e,l)=>{f.options.get(e)===l&&f.options.delete(e)},handleMenuEnter:()=>{f.isBeforeHide=!1,m((()=>ll(f.selected)))},focus:al,blur:()=>{var e;if(se.value)return se.value=!1,void m((()=>{var e;return null==(e=S.value)?void 0:e.blur()}));null==(e=S.value)||e.blur()},handleClearClick:e=>{Ye(e)},handleClickOutside:e=>{if(se.value=!1,ae.value){const l=new FocusEvent("focus",e);m((()=>oe(l)))}},handleEsc:()=>{f.inputValue.length>0?f.inputValue="":se.value=!1},toggleMenu:ol,selectOption:()=>{se.value?xe.value[f.hoveringIndex]&&Ze(xe.value[f.hoveringIndex]):ol()},getValueKey:sl,navigateOptions:ul,dropdownMenuVisible:Be,showTagList:il,collapseTagList:rl,tagStyle:pl,collapseTagStyle:dl,inputStyle:cl,popperRef:tl,inputRef:S,tooltipRef:g,tagTooltipRef:y,calculatorRef:C,prefixRef:x,suffixRef:O,selectRef:b,wrapperRef:te,selectionRef:h,scrollbarRef:X,menuRef:w,tagMenuRef:B,collapseItemRef:T}};var He=r({name:"ElOptions",setup(l,{slots:t}){const a=e(ke);let o=[];return()=>{var e,l;const s=null==(e=t.default)?void 0:e.call(t),n=[];return s.length&&function e(l){z(l)&&l.forEach((l=>{var t,a,o,s;const i=null==(t=(null==l?void 0:l.type)||{})?void 0:t.name;"ElOptionGroup"===i?e(X(l.children)||z(l.children)||!H(null==(a=l.children)?void 0:a.default)?l.children:null==(o=l.children)?void 0:o.default()):"ElOption"===i?n.push(null==(s=l.props)?void 0:s.value):z(l.children)&&e(l.children)}))}(null==(l=s[0])?void 0:l.children),Le(n,o)||(o=n,a&&(a.states.optionValues=n)),s}}});const qe="ElSelect";var Qe=i(r({name:qe,componentName:qe,components:{ElSelectMenu:Ne,ElOption:je,ElOptions:He,ElTag:Te,ElScrollbar:Ie,ElTooltip:Ve,ElIcon:ne},directives:{ClickOutside:Ee},props:Y({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:Z,effect:{type:ee(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:ee(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:Oe.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:le,default:te},fitInputWidth:Boolean,suffixIcon:{type:le,default:ae},tagType:{...Be.type,default:"info"},tagEffect:{...Be.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:ee(String),values:we,default:"bottom-start"},fallbackPlacements:{type:ee(Array),default:["bottom-start","top-start","right","left"]},appendTo:String,...oe,...se(["ariaLabel"])}),emits:[G,J,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const a=l((()=>{const{modelValue:l,multiple:t}=e,a=t?[]:void 0;return z(l)?t?l:a:t?a:l})),o=c({...v(e),modelValue:a}),s=Pe(o,t);ie(ke,c({props:o,states:s.states,optionsArray:s.optionsArray,handleOptionSelect:s.handleOptionSelect,onOptionCreate:s.onOptionCreate,onOptionDestroy:s.onOptionDestroy,selectRef:s.selectRef,setSelected:s.setSelected}));const n=l((()=>e.multiple?s.states.selected.map((e=>e.currentLabel)):s.states.selectedLabel));return{...s,modelValue:a,selectedLabel:n}}}),[["render",function(e,l,t,a,o,s){const n=re("el-tag"),i=re("el-tooltip"),r=re("el-icon"),u=re("el-option"),p=re("el-options"),d=re("el-scrollbar"),c=re("el-select-menu"),v=ue("click-outside");return b((g(),y("div",{ref:"selectRef",class:O([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[ye(e.mouseEnterEventName)]:l=>e.states.inputHovering=!0,onMouseleave:l=>e.states.inputHovering=!1},[pe(i,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:"".concat(e.nsSelect.namespace.value,"-zoom-in-top"),"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,onBeforeShow:e.handleMenuEnter,onHide:l=>e.states.isBeforeHide=!1},{default:de((()=>{var l;return[C("div",{ref:"wrapperRef",class:O([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:w(e.toggleMenu,["prevent"])},[e.$slots.prefix?(g(),y("div",{key:0,ref:"prefixRef",class:O(e.nsSelect.e("prefix"))},[S(e.$slots,"prefix")],2)):B("v-if",!0),C("div",{ref:"selectionRef",class:O([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?S(e.$slots,"tag",{key:0},(()=>[(g(!0),y(ce,null,ve(e.showTagList,(l=>(g(),y("div",{key:e.getValueKey(l),class:O(e.nsSelect.e("selected-item"))},[pe(n,{closable:!e.selectDisabled&&!l.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:T(e.tagStyle),onClose:t=>e.deleteTag(t,l)},{default:de((()=>[C("span",{class:O(e.nsSelect.e("tags-text"))},[S(e.$slots,"label",{label:l.currentLabel,value:l.value},(()=>[fe(x(l.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","style","onClose"])],2)))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(g(),me(i,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:de((()=>[C("div",{ref:"collapseItemRef",class:O(e.nsSelect.e("selected-item"))},[pe(n,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:T(e.collapseTagStyle)},{default:de((()=>[C("span",{class:O(e.nsSelect.e("tags-text"))}," + "+x(e.states.selected.length-e.maxCollapseTags),3)])),_:1},8,["size","type","effect","style"])],2)])),content:de((()=>[C("div",{ref:"tagMenuRef",class:O(e.nsSelect.e("selection"))},[(g(!0),y(ce,null,ve(e.collapseTagList,(l=>(g(),y("div",{key:e.getValueKey(l),class:O(e.nsSelect.e("selected-item"))},[pe(n,{class:"in-tooltip",closable:!e.selectDisabled&&!l.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:t=>e.deleteTag(t,l)},{default:de((()=>[C("span",{class:O(e.nsSelect.e("tags-text"))},[S(e.$slots,"label",{label:l.currentLabel,value:l.value},(()=>[fe(x(l.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","onClose"])],2)))),128))],2)])),_:3},8,["disabled","effect","teleported"])):B("v-if",!0)])):B("v-if",!0),e.selectDisabled?B("v-if",!0):(g(),y("div",{key:1,class:O([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[b(C("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":l=>e.states.inputValue=l,type:"text",name:e.name,class:O([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:T(e.inputStyle),role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":(null==(l=e.hoverOption)?void 0:l.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[be(w((l=>e.navigateOptions("next")),["stop","prevent"]),["down"]),be(w((l=>e.navigateOptions("prev")),["stop","prevent"]),["up"]),be(w(e.handleEsc,["stop","prevent"]),["esc"]),be(w(e.selectOption,["stop","prevent"]),["enter"]),be(w(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:w(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[he,e.states.inputValue]]),e.filterable?(g(),y("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:O(e.nsSelect.e("input-calculator")),textContent:x(e.states.inputValue)},null,10,["textContent"])):B("v-if",!0)],2)),e.shouldShowPlaceholder?(g(),y("div",{key:2,class:O([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?S(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},(()=>[C("span",null,x(e.currentPlaceholder),1)])):(g(),y("span",{key:1},x(e.currentPlaceholder),1))],2)):B("v-if",!0)],2),C("div",{ref:"suffixRef",class:O(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(g(),me(r,{key:0,class:O([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:de((()=>[(g(),me(ge(e.iconComponent)))])),_:1},8,["class"])):B("v-if",!0),e.showClose&&e.clearIcon?(g(),me(r,{key:1,class:O([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:de((()=>[(g(),me(ge(e.clearIcon)))])),_:1},8,["class","onClick"])):B("v-if",!0),e.validateState&&e.validateIcon?(g(),me(r,{key:2,class:O([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:de((()=>[(g(),me(ge(e.validateIcon)))])),_:1},8,["class"])):B("v-if",!0)],2)],10,["onClick"])]})),content:de((()=>[pe(c,{ref:"menuRef"},{default:de((()=>[e.$slots.header?(g(),y("div",{key:0,class:O(e.nsSelect.be("dropdown","header")),onClick:w((()=>{}),["stop"])},[S(e.$slots,"header")],10,["onClick"])):B("v-if",!0),b(pe(d,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:O([e.nsSelect.is("empty",0===e.filteredOptionsCount)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:de((()=>[e.showNewOption?(g(),me(u,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):B("v-if",!0),pe(p,null,{default:de((()=>[S(e.$slots,"default")])),_:3})])),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[h,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(g(),y("div",{key:1,class:O(e.nsSelect.be("dropdown","loading"))},[S(e.$slots,"loading")],2)):e.loading||0===e.filteredOptionsCount?(g(),y("div",{key:2,class:O(e.nsSelect.be("dropdown","empty"))},[S(e.$slots,"empty",{},(()=>[C("span",null,x(e.emptyText),1)]))],2)):B("v-if",!0),e.$slots.footer?(g(),y("div",{key:3,class:O(e.nsSelect.be("dropdown","footer")),onClick:w((()=>{}),["stop"])},[S(e.$slots,"footer")],10,["onClick"])):B("v-if",!0)])),_:3},512)])),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","append-to","onBeforeShow","onHide"])],16,["onMouseleave"])),[[v,e.handleClickOutside,e.popperRef]])}],["__file","select.vue"]]);var Ge=i(r({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=u("select"),a=V(null),o=n(),s=V([]);ie(Re,c({...v(e)}));const i=l((()=>s.value.some((e=>!0===e.visible)))),r=e=>{const l=Me(e),t=[];return l.forEach((e=>{var l,a;(e=>{var l,t;return"ElOption"===(null==(l=e.type)?void 0:l.name)&&!!(null==(t=e.component)?void 0:t.proxy)})(e)?t.push(e.component.proxy):(null==(l=e.children)?void 0:l.length)?t.push(...r(e.children)):(null==(a=e.component)?void 0:a.subTree)&&t.push(...r(e.component.subTree))})),t},p=()=>{s.value=r(o.subTree)};return E((()=>{p()})),Se(a,p,{attributes:!0,subtree:!0,childList:!0}),{groupRef:a,visible:i,ns:t}}}),[["render",function(e,l,t,a,o,s){return b((g(),y("ul",{ref:"groupRef",class:O(e.ns.be("group","wrap"))},[C("li",{class:O(e.ns.be("group","title"))},x(e.label),3),C("li",null,[C("ul",{class:O(e.ns.b("group"))},[S(e.$slots,"default")],2)])],2)),[[h,e.visible]])}],["__file","option-group.vue"]]);const Ue=Ce(Qe,{Option:je,OptionGroup:Ge}),Je=xe(je);xe(Ge);export{Je as E,Ue as a}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage-legacy.js new file mode 100644 index 000000000..35063deea --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;n=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),D(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;D(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function o(e,t,r,n,o,a,i){try{var u=e[a](i),l=u.value}catch(e){return void r(e)}u.done?t(l):Promise.resolve(l).then(n,o)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function u(e){o(i,n,a,u,l,"next",e)}function l(e){o(i,n,a,u,l,"throw",e)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0drawer-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0image-viewer-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0image-legacy.js","./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang-legacy.js","./087AC4D233B64EB0common-legacy.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0selectImage.vue_vue_type_style_index_0_scoped_02c66713_lang-legacy.js","./087AC4D233B64EB0_plugin-vue_export-helper-legacy.js","./087AC4D233B64EB0index-legacy25.js","./087AC4D233B64EB0index-legacy28.js"],(function(e,r){"use strict";var o,i,u,l,c,s,f,p,d,v,y,h,m,g,b,w,x,_,j,E,k,B,C,O,L,D,A,P,V,S,T,U,N,z,G,F,I;return{setters:[function(e){o=e.a,i=e.P,u=e.N,l=e.o,c=e.c,s=e.F,f=e.D,p=e.h,d=e.w,v=e.e,y=e.f,h=e.b,m=e.aU,g=e.g,b=e.aV,w=e.K,x=e.L,_=e.aW,j=e.t,E=e.T,k=e.j,B=e.H,C=e.k,O=e.E},null,null,null,null,null,null,null,function(e){L=e.E},function(e){D=e.a,A=e.E},null,null,function(e){P=e.g,V=e.b},function(e){S=e.e,T=e.g},function(e){U=e._,N=e.U},function(e){z=e._},null,function(e){G=e._},function(e){F=e.E},function(e){I=e.E}],execute:function(){var r=["src"],Y={key:1,class:"multiple-img"},H=["onClick"],K=["src"],M=["onClick"],W={key:0,class:"add-image"},q={class:"gva-btn-list"},J={class:"media"},Q={class:"header-img-box-list"},R=["onClick"],X=["src"],Z={key:2,class:"header-img-box-list"},$=["onClick"],ee={__name:"selectImage",props:{modelValue:{type:[String,Array],default:""},multiple:{type:Boolean,default:!1},fileType:{type:String,default:""},maxUpdateCount:{type:Number,default:0}},emits:["update:modelValue"],setup:function(e,G){var ee=G.emit,te=o(""),re=o(""),ne=o({}),oe=o(1),ae=o(0),ie=o(20),ue=e,le=o([]);i((function(){ue.multiple&&(le.value=ue.modelValue)}));var ce=ee,se=function(e){le.value.splice(e,1),ce("update:modelValue",le.value)},fe=function(e){ie.value=e,be()},pe=function(e){oe.value=e,be()},de=function(){var e=a(n().mark((function e(t){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:E.prompt("请输入文件名或者备注","编辑",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"不能为空",inputValue:t.name}).then(function(){var e=a(n().mark((function e(r){var o;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.value,t.name=o,e.next=4,S(t);case 4:0===e.sent.code&&(k({type:"success",message:"编辑成功!"}),be());case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(){k({type:"info",message:"取消修改"})}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ve=o(!1),ye=o([]),he={image:["png","jpg","jpge","gif","bmp","webp"],video:["mp4","avi","rmvb","rm","asf","divx","mpg","mpeg","mpe","wmv","mkv","vob"]},me=function(e){if((console.log(e),ue.fileType)&&!he[ue.fileType].some((function(t){if(e.includes(t))return!0})))return void k({type:"error",message:"当前类型不支持使用"});ue.multiple?(le.value.push(e),ce("update:modelValue",le.value)):ce("update:modelValue",e),ve.value=!1},ge=function(){var e=a(n().mark((function e(){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ue.modelValue||ue.multiple){e.next=3;break}return ce("update:modelValue",""),e.abrupt("return");case 3:return e.next=5,be();case 5:ve.value=!0;case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),be=function(){var e=a(n().mark((function e(){var r;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,T(t({page:oe.value,pageSize:ie.value},ne.value));case 2:0===(r=e.sent).code&&(ye.value=r.data.list,ae.value=r.data.total,oe.value=r.data.page,ie.value=r.data.pageSize);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return function(t,n){var o=u("VideoPlay"),a=B,i=C,E=D,k=O,S=A,T=L,G=F,ee=I;return l(),c(w,null,[e.multiple?(l(),c("div",Y,[(l(!0),c(w,null,x(le.value,(function(e,t){return l(),c("div",{key:t,class:"update-image",style:s({"background-image":"url(".concat(f(P)(e),")"),position:"relative"})},[f(V)(e||"")?(l(),p(a,{key:0,size:32,class:"video video-icon"},{default:d((function(){return[v(o)]})),_:1})):y("",!0),f(V)(e||"")?(l(),c("video",{key:1,class:"avatar video-avatar video",muted:"",preload:"metadata",onClick:function(e){return se(t)}},[h("source",{src:f(P)(e)+"#t=1"},null,8,K)],8,H)):y("",!0),h("span",{class:"update",style:{position:"absolute"},onClick:function(e){return se(t)}},[v(a,null,{default:d((function(){return[v(f(m))]})),_:1}),n[6]||(n[6]=g(" 删除"))],8,M)],4)})),128)),!e.maxUpdateCount||e.maxUpdateCount>le.value.length?(l(),c("div",W,[h("span",{class:"update text-gray-600",onClick:ge},[v(a,null,{default:d((function(){return[v(f(b))]})),_:1}),n[7]||(n[7]=g(" 上传"))])])):y("",!0)])):(l(),c("div",{key:0,class:"update-image",style:s({"background-image":"url(".concat(f(P)(e.modelValue),")"),position:"relative"})},[f(V)(e.modelValue||"")?(l(),p(a,{key:0,size:32,class:"video video-icon",style:{}},{default:d((function(){return[v(o)]})),_:1})):y("",!0),f(V)(e.modelValue||"")?(l(),c("video",{key:1,class:"avatar video-avatar video",muted:"",preload:"metadata",style:{},onClick:ge},[h("source",{src:f(P)(e.modelValue)+"#t=1"},null,8,r)])):y("",!0),e.modelValue?(l(),c("span",{key:2,class:"update",style:{position:"absolute"},onClick:ge},[v(a,null,{default:d((function(){return[v(f(m))]})),_:1}),n[4]||(n[4]=g(" 删除"))])):(l(),c("span",{key:3,class:"update text-gray-600",onClick:ge},[v(a,null,{default:d((function(){return[v(f(b))]})),_:1}),n[5]||(n[5]=g(" 上传"))]))],4)),v(ee,{modelValue:ve.value,"onUpdate:modelValue":n[3]||(n[3]=function(e){return ve.value=e}),title:"媒体库",size:"650px"},{default:d((function(){return[v(z,{title:"点击“文件名/备注”可以编辑文件名或者备注内容。"}),h("div",q,[v(U,{imageCommon:re.value,"onUpdate:imageCommon":n[0]||(n[0]=function(e){return re.value=e}),class:"upload-btn-media-library",onOnSuccess:be},null,8,["imageCommon"]),v(N,{imageUrl:te.value,"onUpdate:imageUrl":n[1]||(n[1]=function(e){return te.value=e}),"file-size":512,"max-w-h":1080,class:"upload-btn-media-library",onOnSuccess:be},null,8,["imageUrl"]),v(S,{ref:"searchForm",inline:!0,model:ne.value},{default:d((function(){return[v(E,{label:""},{default:d((function(){return[v(i,{modelValue:ne.value.keyword,"onUpdate:modelValue":n[2]||(n[2]=function(e){return ne.value.keyword=e}),class:"keyword",placeholder:"请输入文件名或备注"},null,8,["modelValue"])]})),_:1}),v(E,null,{default:d((function(){return[v(k,{type:"primary",icon:"search",onClick:be},{default:d((function(){return n[8]||(n[8]=[g("查询 ")])})),_:1})]})),_:1})]})),_:1},8,["model"])]),h("div",J,[(l(!0),c(w,null,x(ye.value,(function(e,t){return l(),c("div",{key:t,class:"media-box"},[h("div",Q,[(l(),p(T,{key:t,src:f(P)(e.url),fit:"cover",style:{width:"100%",height:"100%"},onClick:function(t){return me(e.url)}},{error:d((function(){return[f(V)(e.url||"")?(l(),p(a,{key:0,size:32,class:"video video-icon"},{default:d((function(){return[v(o)]})),_:1})):y("",!0),f(V)(e.url||"")?(l(),c("video",{key:1,class:"avatar video-avatar video",muted:"",preload:"metadata",onClick:function(t){return me(e.url)}},[h("source",{src:f(P)(e.url)+"#t=1"},null,8,X),n[9]||(n[9]=g(" 您的浏览器不支持视频播放 "))],8,R)):(l(),c("div",Z,[v(a,{class:"lost-image"},{default:d((function(){return[v(f(_))]})),_:1})]))]})),_:2},1032,["src","onClick"]))]),h("div",{class:"img-title",onClick:function(t){return de(e)}},j(e.name),9,$)])})),128))]),v(G,{"current-page":oe.value,"page-size":ie.value,total:ae.value,style:{"justify-content":"center"},layout:"total, prev, pager, next, jumper",onCurrentChange:pe,onSizeChange:fe},null,8,["current-page","page-size","total"])]})),_:1},8,["modelValue"])],64)}}};e("S",G(ee,[["__scopeId","data-v-02c66713"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.css new file mode 100644 index 000000000..71387402f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.multiple-img[data-v-02c66713]{display:flex;gap:8px;width:100%;flex-wrap:wrap}.add-image[data-v-02c66713]{width:120px;height:120px;line-height:120px;display:flex;justify-content:center;border-radius:20px;border:1px dashed #ccc;background-size:cover;cursor:pointer}.update-image[data-v-02c66713]{cursor:pointer;width:120px;height:120px;line-height:120px;display:flex;justify-content:center;border-radius:20px;border:1px dashed #ccc;background-repeat:no-repeat;background-size:cover;position:relative}.update-image[data-v-02c66713]:hover{color:#fff;background:linear-gradient(to bottom,rgba(255,255,255,.15) 0%,rgba(0,0,0,.15) 100%),radial-gradient(at top center,rgba(255,255,255,.4) 0%,rgba(0,0,0,.4) 120%) #989898;background-blend-mode:multiply,multiply;background-size:cover}.update-image:hover .update[data-v-02c66713]{color:#fff}.update-image:hover .video[data-v-02c66713]{opacity:.2}.update-image .video-icon[data-v-02c66713]{position:absolute;left:calc(50% - 16px);top:calc(50% - 16px)}.update-image video[data-v-02c66713]{-o-object-fit:cover;object-fit:cover;max-width:100%;border-radius:20px}.update-image .update[data-v-02c66713]{height:120px;width:120px;text-align:center;color:transparent;position:absolute}.upload-btn-media-library[data-v-02c66713]{margin-left:20px}.media[data-v-02c66713]{display:flex;flex-wrap:wrap}.media .media-box[data-v-02c66713]{width:120px;margin-left:20px}.media .media-box .img-title[data-v-02c66713]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:36px;text-align:center;cursor:pointer}.media .media-box .header-img-box-list[data-v-02c66713]{width:120px;height:120px;border:1px dashed #ccc;border-radius:8px;text-align:center;line-height:120px;cursor:pointer;overflow:hidden}.media .media-box .header-img-box-list .el-image__inner[data-v-02c66713]{max-width:120px;max-height:120px;vertical-align:middle;width:unset;height:unset}.media .media-box .header-img-box-list .el-image[data-v-02c66713]{position:relative}.media .media-box .header-img-box-list .video-icon[data-v-02c66713]{position:absolute;left:calc(50% - 16px);top:calc(50% - 16px)}.media .media-box .header-img-box-list video[data-v-02c66713]{-o-object-fit:cover;object-fit:cover;max-width:100%;min-height:100%;border-radius:8px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.js new file mode 100644 index 000000000..9443a9a89 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,P as a,N as l,o as t,c as s,F as o,D as i,h as u,w as r,e as d,f as m,b as n,aU as p,g as c,aV as v,K as g,L as y,aW as B,t as C,T as f,j as _,H as k,k as E,E as j}from"./087AC4D233B64EB0index.js";/* empty css */import"./087AC4D233B64EB0overlay.js";/* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as b}from"./087AC4D233B64EB0image-viewer.js";import{a as V,E as x}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{g as A,b as D}from"./087AC4D233B64EB0image.js";import{e as h,g as w}from"./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js";import{_ as U,U as z}from"./087AC4D233B64EB0common.js";import{_ as S}from"./087AC4D233B64EB0warningBar.js";/* empty css */import{_ as T}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{E as I}from"./087AC4D233B64EB0index25.js";import{E as P}from"./087AC4D233B64EB0index28.js";const F=["src"],N={key:1,class:"multiple-img"},O=["onClick"],H=["src"],K=["onClick"],L={key:0,class:"add-image"},M={class:"gva-btn-list"},W={class:"media"},q={class:"header-img-box-list"},G=["onClick"],J=["src"],Q={key:2,class:"header-img-box-list"},R=["onClick"],X=T({__name:"selectImage",props:{modelValue:{type:[String,Array],default:""},multiple:{type:Boolean,default:!1},fileType:{type:String,default:""},maxUpdateCount:{type:Number,default:0}},emits:["update:modelValue"],setup(T,{emit:X}){const Y=e(""),Z=e(""),$=e({}),ee=e(1),ae=e(0),le=e(20),te=T,se=e([]);a((()=>{te.multiple&&(se.value=te.modelValue)}));const oe=X,ie=e=>{se.value.splice(e,1),oe("update:modelValue",se.value)},ue=e=>{le.value=e,ve()},re=e=>{ee.value=e,ve()},de=e(!1),me=e([]),ne={image:["png","jpg","jpge","gif","bmp","webp"],video:["mp4","avi","rmvb","rm","asf","divx","mpg","mpeg","mpe","wmv","mkv","vob"]},pe=e=>{if(console.log(e),te.fileType){if(!ne[te.fileType].some((a=>{if(e.includes(a))return!0})))return void _({type:"error",message:"当前类型不支持使用"})}te.multiple?(se.value.push(e),oe("update:modelValue",se.value)):oe("update:modelValue",e),de.value=!1},ce=async()=>{!te.modelValue||te.multiple?(await ve(),de.value=!0):oe("update:modelValue","")},ve=async()=>{const e=await w({page:ee.value,pageSize:le.value,...$.value});0===e.code&&(me.value=e.data.list,ae.value=e.data.total,ee.value=e.data.page,le.value=e.data.pageSize)};return(e,a)=>{const w=l("VideoPlay"),X=k,te=E,oe=V,ne=j,ge=x,ye=b,Be=I,Ce=P;return t(),s(g,null,[T.multiple?(t(),s("div",N,[(t(!0),s(g,null,y(se.value,((e,l)=>(t(),s("div",{key:l,class:"update-image",style:o({"background-image":"url(".concat(i(A)(e),")"),position:"relative"})},[i(D)(e||"")?(t(),u(X,{key:0,size:32,class:"video video-icon"},{default:r((()=>[d(w)])),_:1})):m("",!0),i(D)(e||"")?(t(),s("video",{key:1,class:"avatar video-avatar video",muted:"",preload:"metadata",onClick:e=>ie(l)},[n("source",{src:i(A)(e)+"#t=1"},null,8,H)],8,O)):m("",!0),n("span",{class:"update",style:{position:"absolute"},onClick:e=>ie(l)},[d(X,null,{default:r((()=>[d(i(p))])),_:1}),a[6]||(a[6]=c(" 删除"))],8,K)],4)))),128)),!T.maxUpdateCount||T.maxUpdateCount>se.value.length?(t(),s("div",L,[n("span",{class:"update text-gray-600",onClick:ce},[d(X,null,{default:r((()=>[d(i(v))])),_:1}),a[7]||(a[7]=c(" 上传"))])])):m("",!0)])):(t(),s("div",{key:0,class:"update-image",style:o({"background-image":"url(".concat(i(A)(T.modelValue),")"),position:"relative"})},[i(D)(T.modelValue||"")?(t(),u(X,{key:0,size:32,class:"video video-icon",style:{}},{default:r((()=>[d(w)])),_:1})):m("",!0),i(D)(T.modelValue||"")?(t(),s("video",{key:1,class:"avatar video-avatar video",muted:"",preload:"metadata",style:{},onClick:ce},[n("source",{src:i(A)(T.modelValue)+"#t=1"},null,8,F)])):m("",!0),T.modelValue?(t(),s("span",{key:2,class:"update",style:{position:"absolute"},onClick:ce},[d(X,null,{default:r((()=>[d(i(p))])),_:1}),a[4]||(a[4]=c(" 删除"))])):(t(),s("span",{key:3,class:"update text-gray-600",onClick:ce},[d(X,null,{default:r((()=>[d(i(v))])),_:1}),a[5]||(a[5]=c(" 上传"))]))],4)),d(Ce,{modelValue:de.value,"onUpdate:modelValue":a[3]||(a[3]=e=>de.value=e),title:"媒体库",size:"650px"},{default:r((()=>[d(S,{title:"点击“文件名/备注”可以编辑文件名或者备注内容。"}),n("div",M,[d(U,{imageCommon:Z.value,"onUpdate:imageCommon":a[0]||(a[0]=e=>Z.value=e),class:"upload-btn-media-library",onOnSuccess:ve},null,8,["imageCommon"]),d(z,{imageUrl:Y.value,"onUpdate:imageUrl":a[1]||(a[1]=e=>Y.value=e),"file-size":512,"max-w-h":1080,class:"upload-btn-media-library",onOnSuccess:ve},null,8,["imageUrl"]),d(ge,{ref:"searchForm",inline:!0,model:$.value},{default:r((()=>[d(oe,{label:""},{default:r((()=>[d(te,{modelValue:$.value.keyword,"onUpdate:modelValue":a[2]||(a[2]=e=>$.value.keyword=e),class:"keyword",placeholder:"请输入文件名或备注"},null,8,["modelValue"])])),_:1}),d(oe,null,{default:r((()=>[d(ne,{type:"primary",icon:"search",onClick:ve},{default:r((()=>a[8]||(a[8]=[c("查询 ")]))),_:1})])),_:1})])),_:1},8,["model"])]),n("div",W,[(t(!0),s(g,null,y(me.value,((e,l)=>(t(),s("div",{key:l,class:"media-box"},[n("div",q,[(t(),u(ye,{key:l,src:i(A)(e.url),fit:"cover",style:{width:"100%",height:"100%"},onClick:a=>pe(e.url)},{error:r((()=>[i(D)(e.url||"")?(t(),u(X,{key:0,size:32,class:"video video-icon"},{default:r((()=>[d(w)])),_:1})):m("",!0),i(D)(e.url||"")?(t(),s("video",{key:1,class:"avatar video-avatar video",muted:"",preload:"metadata",onClick:a=>pe(e.url)},[n("source",{src:i(A)(e.url)+"#t=1"},null,8,J),a[9]||(a[9]=c(" 您的浏览器不支持视频播放 "))],8,G)):(t(),s("div",Q,[d(X,{class:"lost-image"},{default:r((()=>[d(i(B))])),_:1})]))])),_:2},1032,["src","onClick"]))]),n("div",{class:"img-title",onClick:a=>(async e=>{f.prompt("请输入文件名或者备注","编辑",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"不能为空",inputValue:e.name}).then((async({value:a})=>{e.name=a,0===(await h(e)).code&&(_({type:"success",message:"编辑成功!"}),ve())})).catch((()=>{_({type:"info",message:"取消修改"})}))})(e)},C(e.name),9,R)])))),128))]),d(Be,{"current-page":ee.value,"page-size":le.value,total:ae.value,style:{"justify-content":"center"},layout:"total, prev, pager, next, jumper",onCurrentChange:re,onSizeChange:ue},null,8,["current-page","page-size","total"])])),_:1},8,["modelValue"])],64)}}},[["__scopeId","data-v-02c66713"]]);export{X as S}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.vue_vue_type_style_index_0_scoped_02c66713_lang-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.vue_vue_type_style_index_0_scoped_02c66713_lang-legacy.js new file mode 100644 index 000000000..3a3922e1c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0selectImage.vue_vue_type_style_index_0_scoped_02c66713_lang-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(e,a){"use strict";return{execute:function(){var e=document.createElement("style");e.textContent=".multiple-img[data-v-02c66713]{display:flex;gap:8px;width:100%;flex-wrap:wrap}.add-image[data-v-02c66713]{width:120px;height:120px;line-height:120px;display:flex;justify-content:center;border-radius:20px;border:1px dashed #ccc;background-size:cover;cursor:pointer}.update-image[data-v-02c66713]{cursor:pointer;width:120px;height:120px;line-height:120px;display:flex;justify-content:center;border-radius:20px;border:1px dashed #ccc;background-repeat:no-repeat;background-size:cover;position:relative}.update-image[data-v-02c66713]:hover{color:#fff;background:linear-gradient(to bottom,rgba(255,255,255,.15) 0%,rgba(0,0,0,.15) 100%),radial-gradient(at top center,rgba(255,255,255,.4) 0%,rgba(0,0,0,.4) 120%) #989898;background-blend-mode:multiply,multiply;background-size:cover}.update-image:hover .update[data-v-02c66713]{color:#fff}.update-image:hover .video[data-v-02c66713]{opacity:.2}.update-image .video-icon[data-v-02c66713]{position:absolute;left:calc(50% - 16px);top:calc(50% - 16px)}.update-image video[data-v-02c66713]{-o-object-fit:cover;object-fit:cover;max-width:100%;border-radius:20px}.update-image .update[data-v-02c66713]{height:120px;width:120px;text-align:center;color:transparent;position:absolute}.upload-btn-media-library[data-v-02c66713]{margin-left:20px}.media[data-v-02c66713]{display:flex;flex-wrap:wrap}.media .media-box[data-v-02c66713]{width:120px;margin-left:20px}.media .media-box .img-title[data-v-02c66713]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:36px;text-align:center;cursor:pointer}.media .media-box .header-img-box-list[data-v-02c66713]{width:120px;height:120px;border:1px dashed #ccc;border-radius:8px;text-align:center;line-height:120px;cursor:pointer;overflow:hidden}.media .media-box .header-img-box-list .el-image__inner[data-v-02c66713]{max-width:120px;max-height:120px;vertical-align:middle;width:unset;height:unset}.media .media-box .header-img-box-list .el-image[data-v-02c66713]{position:relative}.media .media-box .header-img-box-list .video-icon[data-v-02c66713]{position:absolute;left:calc(50% - 16px);top:calc(50% - 16px)}.media .media-box .header-img-box-list video[data-v-02c66713]{-o-object-fit:cover;object-fit:cover;max-width:100%;min-height:100%;border-radius:8px}\n",document.head.appendChild(e)}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state-legacy.js new file mode 100644 index 000000000..3cec3b409 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var e,n={},r=Object.prototype,o=r.hasOwnProperty,u=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),i=new P(r||[]);return u(a,"_invoke",{value:j(t,n,i)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=s;var p="suspendedStart",h="suspendedYield",v="executing",y="completed",g={};function m(){}function _(){}function x(){}var w={};f(w,i,(function(){return this}));var b=Object.getPrototypeOf,C=b&&b(b(M([])));C&&C!==r&&o.call(C,i)&&(w=C);var E=x.prototype=m.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(r,u,a,i){var c=d(t[r],t,u);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,i)}),(function(t){n("throw",t,a,i)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,i)}))}i(c.arg)}var r;u(this,"_invoke",{value:function(t,o){function u(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(u,u):u()}})}function j(t,n,r){var o=p;return function(u,a){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===u)throw a;return{value:e,done:!0}}for(r.method=u,r.arg=a;;){var i=r.delegate;if(i){var c=B(i,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var l=d(t,n,r);if("normal"===l.type){if(o=r.done?y:h,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=y,r.method="throw",r.arg=l.arg)}}}function B(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,B(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var u=d(o,t.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,g;var a=u.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function G(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(G,this),this.reset(!0)}function M(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,u=function n(){for(;++r=0;--u){var a=this.tryEntries[u],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}function e(t,e,n,r,o,u,a){try{var i=t[u](a),c=i.value}catch(t){return void n(t)}i.done?e(c):Promise.resolve(c).then(r,o)}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0progress-legacy.js","./087AC4D233B64EB0card-legacy.js","./087AC4D233B64EB0col-legacy.js","./087AC4D233B64EB0system-legacy2.js","./087AC4D233B64EB0index-legacy27.js"],(function(n,r){"use strict";var o,u,a,i,c,l,f,s,d,p,h,v,y,g,m,_,x,w;return{setters:[function(t){o=t.a,u=t.R,a=t.o,i=t.c,c=t.e,l=t.w,f=t.h,s=t.b,d=t.g,p=t.t,h=t.f,v=t.K,y=t.L},null,function(t){g=t.E},function(t){m=t.E,_=t.a},function(t){x=t.g},function(t){w=t.E}],execute:function(){var r=document.createElement("style");r.textContent=".card_item{height:20rem;font-size:1.25rem;line-height:1.75rem}\n",document.head.appendChild(r);n("default",Object.assign({name:"State"},{__name:"state",setup:function(n){var r=o(null),b=o({}),C=o([{color:"#5cb87a",percentage:20},{color:"#e6a23c",percentage:40},{color:"#f56c6c",percentage:80}]),E=function(){var n,r=(n=t().mark((function e(){var n,r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x();case 2:n=t.sent,r=n.data,b.value=r.server;case 5:case"end":return t.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(o,u){var a=n.apply(t,r);function i(t){e(a,o,u,i,c,"next",t)}function c(t){e(a,o,u,i,c,"throw",t)}i(void 0)}))});return function(){return r.apply(this,arguments)}}();return E(),r.value=setInterval((function(){E()}),1e4),u((function(){clearInterval(r.value),r.value=null})),function(t,e){var n=m,r=_,o=g,u=w;return a(),i("div",null,[c(r,{gutter:15,class:"py-1"},{default:l((function(){return[c(n,{span:12},{default:l((function(){return[b.value.os?(a(),f(o,{key:0,class:"card_item"},{header:l((function(){return e[0]||(e[0]=[s("div",null,"Runtime",-1)])})),default:l((function(){return[s("div",null,[c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[1]||(e[1]=[d("os:")])})),_:1}),c(n,{span:12,textContent:p(b.value.os.goos)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[2]||(e[2]=[d("cpu nums:")])})),_:1}),c(n,{span:12,textContent:p(b.value.os.numCpu)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[3]||(e[3]=[d("compiler:")])})),_:1}),c(n,{span:12,textContent:p(b.value.os.compiler)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[4]||(e[4]=[d("go version:")])})),_:1}),c(n,{span:12,textContent:p(b.value.os.goVersion)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[5]||(e[5]=[d("goroutine nums:")])})),_:1}),c(n,{span:12,textContent:p(b.value.os.numGoroutine)},null,8,["textContent"])]})),_:1})])]})),_:1})):h("",!0)]})),_:1}),c(n,{span:12},{default:l((function(){return[b.value.disk?(a(),f(o,{key:0,class:"card_item"},{header:l((function(){return e[6]||(e[6]=[s("div",null,"Disk",-1)])})),default:l((function(){return[s("div",null,[c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return[c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[7]||(e[7]=[d("total (MB)")])})),_:1}),c(n,{span:12,textContent:p(b.value.disk.totalMb)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[8]||(e[8]=[d("used (MB)")])})),_:1}),c(n,{span:12,textContent:p(b.value.disk.usedMb)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[9]||(e[9]=[d("total (GB)")])})),_:1}),c(n,{span:12,textContent:p(b.value.disk.totalGb)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[10]||(e[10]=[d("used (GB)")])})),_:1}),c(n,{span:12,textContent:p(b.value.disk.usedGb)},null,8,["textContent"])]})),_:1})]})),_:1}),c(n,{span:12},{default:l((function(){return[c(u,{type:"dashboard",percentage:b.value.disk.usedPercent,color:C.value},null,8,["percentage","color"])]})),_:1})]})),_:1})])]})),_:1})):h("",!0)]})),_:1})]})),_:1}),c(r,{gutter:15,class:"py-1"},{default:l((function(){return[c(n,{span:12},{default:l((function(){return[b.value.cpu?(a(),f(o,{key:0,class:"card_item","body-style":{height:"180px","overflow-y":"scroll"}},{header:l((function(){return e[11]||(e[11]=[s("div",null,"CPU",-1)])})),default:l((function(){return[s("div",null,[c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[12]||(e[12]=[d("physical number of cores:")])})),_:1}),c(n,{span:12,textContent:p(b.value.cpu.cores)},null,8,["textContent"])]})),_:1}),(a(!0),i(v,null,y(b.value.cpu.cpus,(function(t,e){return a(),f(r,{key:e,gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return[d("core "+p(e)+":",1)]})),_:2},1024),c(n,{span:12},{default:l((function(){return[c(u,{type:"line",percentage:+t.toFixed(0),color:C.value},null,8,["percentage","color"])]})),_:2},1024)]})),_:2},1024)})),128))])]})),_:1})):h("",!0)]})),_:1}),c(n,{span:12},{default:l((function(){return[b.value.ram?(a(),f(o,{key:0,class:"card_item"},{header:l((function(){return e[13]||(e[13]=[s("div",null,"Ram",-1)])})),default:l((function(){return[s("div",null,[c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return[c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[14]||(e[14]=[d("total (MB)")])})),_:1}),c(n,{span:12,textContent:p(b.value.ram.totalMb)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[15]||(e[15]=[d("used (MB)")])})),_:1}),c(n,{span:12,textContent:p(b.value.ram.usedMb)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[16]||(e[16]=[d("total (GB)")])})),_:1}),c(n,{span:12,textContent:p(b.value.ram.totalMb/1024)},null,8,["textContent"])]})),_:1}),c(r,{gutter:10},{default:l((function(){return[c(n,{span:12},{default:l((function(){return e[17]||(e[17]=[d("used (GB)")])})),_:1}),c(n,{span:12,textContent:p((b.value.ram.usedMb/1024).toFixed(2))},null,8,["textContent"])]})),_:1})]})),_:1}),c(n,{span:12},{default:l((function(){return[c(u,{type:"dashboard",percentage:b.value.ram.usedPercent,color:C.value},null,8,["percentage","color"])]})),_:1})]})),_:1})])]})),_:1})):h("",!0)]})),_:1})]})),_:1})])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state.css new file mode 100644 index 000000000..af75701ec --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.card_item{height:20rem;font-size:1.25rem;line-height:1.75rem} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state.js new file mode 100644 index 000000000..4f02139bd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0state.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as t,R as e,o as a,c as l,e as n,w as u,h as s,b as o,g as d,t as r,f as p,K as f,L as c}from"./087AC4D233B64EB0index.js";/* empty css */import{E as _}from"./087AC4D233B64EB0card.js";import{E as i,a as v}from"./087AC4D233B64EB0col.js";import{g}from"./087AC4D233B64EB0system2.js";import{E as C}from"./087AC4D233B64EB0index27.js";const x=Object.assign({name:"State"},{__name:"state",setup(x){const m=t(null),B=t({}),y=t([{color:"#5cb87a",percentage:20},{color:"#e6a23c",percentage:40},{color:"#f56c6c",percentage:80}]),b=async()=>{const{data:t}=await g();B.value=t.server};return b(),m.value=setInterval((()=>{b()}),1e4),e((()=>{clearInterval(m.value),m.value=null})),(t,e)=>{const g=i,x=v,m=_,b=C;return a(),l("div",null,[n(x,{gutter:15,class:"py-1"},{default:u((()=>[n(g,{span:12},{default:u((()=>[B.value.os?(a(),s(m,{key:0,class:"card_item"},{header:u((()=>e[0]||(e[0]=[o("div",null,"Runtime",-1)]))),default:u((()=>[o("div",null,[n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[1]||(e[1]=[d("os:")]))),_:1}),n(g,{span:12,textContent:r(B.value.os.goos)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[2]||(e[2]=[d("cpu nums:")]))),_:1}),n(g,{span:12,textContent:r(B.value.os.numCpu)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[3]||(e[3]=[d("compiler:")]))),_:1}),n(g,{span:12,textContent:r(B.value.os.compiler)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[4]||(e[4]=[d("go version:")]))),_:1}),n(g,{span:12,textContent:r(B.value.os.goVersion)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[5]||(e[5]=[d("goroutine nums:")]))),_:1}),n(g,{span:12,textContent:r(B.value.os.numGoroutine)},null,8,["textContent"])])),_:1})])])),_:1})):p("",!0)])),_:1}),n(g,{span:12},{default:u((()=>[B.value.disk?(a(),s(m,{key:0,class:"card_item"},{header:u((()=>e[6]||(e[6]=[o("div",null,"Disk",-1)]))),default:u((()=>[o("div",null,[n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>[n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[7]||(e[7]=[d("total (MB)")]))),_:1}),n(g,{span:12,textContent:r(B.value.disk.totalMb)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[8]||(e[8]=[d("used (MB)")]))),_:1}),n(g,{span:12,textContent:r(B.value.disk.usedMb)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[9]||(e[9]=[d("total (GB)")]))),_:1}),n(g,{span:12,textContent:r(B.value.disk.totalGb)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[10]||(e[10]=[d("used (GB)")]))),_:1}),n(g,{span:12,textContent:r(B.value.disk.usedGb)},null,8,["textContent"])])),_:1})])),_:1}),n(g,{span:12},{default:u((()=>[n(b,{type:"dashboard",percentage:B.value.disk.usedPercent,color:y.value},null,8,["percentage","color"])])),_:1})])),_:1})])])),_:1})):p("",!0)])),_:1})])),_:1}),n(x,{gutter:15,class:"py-1"},{default:u((()=>[n(g,{span:12},{default:u((()=>[B.value.cpu?(a(),s(m,{key:0,class:"card_item","body-style":{height:"180px","overflow-y":"scroll"}},{header:u((()=>e[11]||(e[11]=[o("div",null,"CPU",-1)]))),default:u((()=>[o("div",null,[n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[12]||(e[12]=[d("physical number of cores:")]))),_:1}),n(g,{span:12,textContent:r(B.value.cpu.cores)},null,8,["textContent"])])),_:1}),(a(!0),l(f,null,c(B.value.cpu.cpus,((t,e)=>(a(),s(x,{key:e,gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>[d("core "+r(e)+":",1)])),_:2},1024),n(g,{span:12},{default:u((()=>[n(b,{type:"line",percentage:+t.toFixed(0),color:y.value},null,8,["percentage","color"])])),_:2},1024)])),_:2},1024)))),128))])])),_:1})):p("",!0)])),_:1}),n(g,{span:12},{default:u((()=>[B.value.ram?(a(),s(m,{key:0,class:"card_item"},{header:u((()=>e[13]||(e[13]=[o("div",null,"Ram",-1)]))),default:u((()=>[o("div",null,[n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>[n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[14]||(e[14]=[d("total (MB)")]))),_:1}),n(g,{span:12,textContent:r(B.value.ram.totalMb)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[15]||(e[15]=[d("used (MB)")]))),_:1}),n(g,{span:12,textContent:r(B.value.ram.usedMb)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[16]||(e[16]=[d("total (GB)")]))),_:1}),n(g,{span:12,textContent:r(B.value.ram.totalMb/1024)},null,8,["textContent"])])),_:1}),n(x,{gutter:10},{default:u((()=>[n(g,{span:12},{default:u((()=>e[17]||(e[17]=[d("used (GB)")]))),_:1}),n(g,{span:12,textContent:r((B.value.ram.usedMb/1024).toFixed(2))},null,8,["textContent"])])),_:1})])),_:1}),n(g,{span:12},{default:u((()=>[n(b,{type:"dashboard",percentage:B.value.ram.usedPercent,color:y.value},null,8,["percentage","color"])])),_:1})])),_:1})])])),_:1})):p("",!0)])),_:1})])),_:1})])}}});export{x as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0stringFun-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0stringFun-legacy.js new file mode 100644 index 000000000..cbfd58ee2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0stringFun-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(e,r){"use strict";return{execute:function(){e("b",(function(e){return e[0]?e.replace(e[0],e[0].toUpperCase()):""})),e("a",(function(e){return e[0]?e.replace(e[0],e[0].toLowerCase()):""})),e("t",(function(e){return"ID"===e?"ID":e.replace(/([A-Z])/g,"_$1").toLowerCase()})),e("c",(function(e){return e.replace(/\_(\w)/g,(function(e,r){return r.toUpperCase()}))}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0stringFun.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0stringFun.js new file mode 100644 index 000000000..43138badd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0stringFun.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +const e=e=>e[0]?e.replace(e[0],e[0].toUpperCase()):"",a=e=>e[0]?e.replace(e[0],e[0].toLowerCase()):"",r=e=>"ID"===e?"ID":e.replace(/([A-Z])/g,"_$1").toLowerCase(),o=e=>e.replace(/\_(\w)/g,(function(e,a){return a.toUpperCase()}));export{a,e as b,o as c,r as t}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0strings-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0strings-legacy.js new file mode 100644 index 000000000..de3ec10fb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0strings-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var n;return{setters:[function(e){n=e.bS}],execute:function(){e("e",(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})),e("c",(function(e){return n(e)}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0strings.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0strings.js new file mode 100644 index 000000000..0aedd014b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0strings.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{bS as e}from"./087AC4D233B64EB0index.js";const a=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),r=a=>e(a);export{r as c,a as e}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch-legacy.js new file mode 100644 index 000000000..92fa654dc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);i&&(l=l.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,l)}return t}function i(i){for(var l=1;l` or `boolean`"),X(i)?i.then((function(e){e&&ie()})).catch((function(e){})):i&&ie()}else ie()}};return O((function(){f.value.checked=ee.value})),t({focus:function(){var e,i;null==(i=null==(e=f.value)?void 0:e.focus)||i.call(e)},checked:ee}),function(e,i){return P(),S("div",{class:T(z(J)),onClick:G(te,["prevent"])},[V("input",{id:z(o),ref_key:"input",ref:f,class:T(z(r).e("input")),type:"checkbox",role:"switch","aria-checked":z(ee),"aria-disabled":z(u),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:z(u),tabindex:e.tabindex,onChange:ie,onKeydown:C(te,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),e.inlinePrompt||!e.inactiveIcon&&!e.inactiveText?N("v-if",!0):(P(),S("span",{key:0,class:T(z(M))},[e.inactiveIcon?(P(),B(z(D),{key:0},{default:E((function(){return[(P(),B(A(e.inactiveIcon)))]})),_:1})):N("v-if",!0),!e.inactiveIcon&&e.inactiveText?(P(),S("span",{key:1,"aria-hidden":z(ee)},$(e.inactiveText),9,["aria-hidden"])):N("v-if",!0)],2)),V("span",{ref_key:"core",ref:H,class:T(z(r).e("core")),style:q(z(W))},[e.inlinePrompt?(P(),S("div",{key:0,class:T(z(r).e("inner"))},[e.activeIcon||e.inactiveIcon?(P(),B(z(D),{key:0,class:T(z(r).is("icon"))},{default:E((function(){return[(P(),B(A(z(ee)?e.activeIcon:e.inactiveIcon)))]})),_:1},8,["class"])):e.activeText||e.inactiveText?(P(),S("span",{key:1,class:T(z(r).is("text")),"aria-hidden":!z(ee)},$(z(ee)?e.activeText:e.inactiveText),11,["aria-hidden"])):N("v-if",!0)],2)):N("v-if",!0),V("div",{class:T(z(r).e("action"))},[e.loading?(P(),B(z(D),{key:0,class:T(z(r).is("loading"))},{default:E((function(){return[F(z(K))]})),_:1},8,["class"])):z(ee)?L(e.$slots,"active-action",{key:1},(function(){return[e.activeActionIcon?(P(),B(z(D),{key:0},{default:E((function(){return[(P(),B(A(e.activeActionIcon)))]})),_:1})):N("v-if",!0)]})):z(ee)?N("v-if",!0):L(e.$slots,"inactive-action",{key:2},(function(){return[e.inactiveActionIcon?(P(),B(z(D),{key:0},{default:E((function(){return[(P(),B(A(e.inactiveActionIcon)))]})),_:1})):N("v-if",!0)]}))],2)],6),e.inlinePrompt||!e.activeIcon&&!e.activeText?N("v-if",!0):(P(),S("span",{key:1,class:T(z(R))},[e.activeIcon?(P(),B(z(D),{key:0},{default:E((function(){return[(P(),B(A(e.activeIcon)))]})),_:1})):N("v-if",!0),!e.activeIcon&&e.activeText?(P(),S("span",{key:1,"aria-hidden":!z(ee)},$(e.activeText),9,["aria-hidden"])):N("v-if",!0)],2))],10,["onClick"])}}}));e("E",J(H(Y,[["__file","switch.vue"]])))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch.css new file mode 100644 index 000000000..3845560a1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-switch{--el-switch-on-color: var(--el-color-primary);--el-switch-off-color: var(--el-border-color);display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:20px;height:32px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);height:20px;display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:var(--el-text-color-primary)}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{display:inline-flex;position:relative;align-items:center;min-width:40px;height:20px;border:1px solid var(--el-switch-border-color, var(--el-switch-off-color));outline:none;border-radius:10px;box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{width:100%;transition:all var(--el-transition-duration);height:16px;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:0 4px 0 18px}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{font-size:12px;color:var(--el-color-white);-webkit-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-switch__core .el-switch__action{position:absolute;left:1px;border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);width:16px;height:16px;background-color:var(--el-color-white);display:flex;justify-content:center;align-items:center;color:var(--el-switch-off-color)}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-border-color, var(--el-switch-on-color));background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{left:calc(100% - 17px);color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;line-height:24px;height:40px}.el-switch--large .el-switch__label{height:24px;font-size:14px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{min-width:50px;height:24px;border-radius:12px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{width:20px;height:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;line-height:16px;height:24px}.el-switch--small .el-switch__label{height:16px;font-size:12px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{min-width:30px;height:16px;border-radius:8px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{width:12px;height:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch.js new file mode 100644 index 000000000..2f43a8ee4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0switch.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{A as e,d5 as a,B as i,$ as t,a3 as n,a4 as c,aZ as l,ag as s,a7 as o,a6 as v,a5 as d,q as u,aa as r,aj as f,v as p,ai as y,cc as m,C as b,a as h,am as k,X as I,ae as x,P as g,o as V,c as T,b as _,D as S,n as w,m as B,h as C,w as A,G as P,H as E,f as N,t as $,e as j,cb as z,z as D,F,ak as K,_ as L,Q as q,c_ as G,ad as H,I as Q}from"./087AC4D233B64EB0index.js";const X=e({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:a},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:i},activeActionIcon:{type:i},activeIcon:{type:i},inactiveIcon:{type:i},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:t(Function)},id:String,tabindex:{type:[String,Number]},...n(["ariaLabel"])}),Z={[c]:e=>l(e)||s(e)||o(e),[v]:e=>l(e)||s(e)||o(e),[d]:e=>l(e)||s(e)||o(e)},J="ElSwitch",M=u({name:J});const O=Q(L(u({...M,props:X,emits:Z,setup(e,{expose:a,emit:i}){const t=e,{formItem:n}=r(),s=f(),o=p("switch"),{inputId:u}=y(t,{formItemContext:n}),L=m(b((()=>t.loading))),Q=h(!1!==t.modelValue),X=h(),Z=h(),M=b((()=>[o.b(),o.m(s.value),o.is("disabled",L.value),o.is("checked",Y.value)])),O=b((()=>[o.e("label"),o.em("label","left"),o.is("active",!Y.value)])),R=b((()=>[o.e("label"),o.em("label","right"),o.is("active",Y.value)])),U=b((()=>({width:k(t.width)})));I((()=>t.modelValue),(()=>{Q.value=!0}));const W=b((()=>!!Q.value&&t.modelValue)),Y=b((()=>W.value===t.activeValue));[t.activeValue,t.inactiveValue].includes(W.value)||(i(c,t.inactiveValue),i(v,t.inactiveValue),i(d,t.inactiveValue)),I(Y,(e=>{var a;X.value.checked=e,t.validateEvent&&(null==(a=null==n?void 0:n.validate)||a.call(n,"change").catch((e=>x())))}));const ee=()=>{const e=Y.value?t.inactiveValue:t.activeValue;i(c,e),i(v,e),i(d,e),q((()=>{X.value.checked=Y.value}))},ae=()=>{if(L.value)return;const{beforeChange:e}=t;if(!e)return void ee();const a=e();[G(a),l(a)].includes(!0)||H(J,"beforeChange must return type `Promise` or `boolean`"),G(a)?a.then((e=>{e&&ee()})).catch((e=>{})):a&&ee()};return g((()=>{X.value.checked=Y.value})),a({focus:()=>{var e,a;null==(a=null==(e=X.value)?void 0:e.focus)||a.call(e)},checked:Y}),(e,a)=>(V(),T("div",{class:w(S(M)),onClick:K(ae,["prevent"])},[_("input",{id:S(u),ref_key:"input",ref:X,class:w(S(o).e("input")),type:"checkbox",role:"switch","aria-checked":S(Y),"aria-disabled":S(L),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:S(L),tabindex:e.tabindex,onChange:ee,onKeydown:B(ae,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),e.inlinePrompt||!e.inactiveIcon&&!e.inactiveText?N("v-if",!0):(V(),T("span",{key:0,class:w(S(O))},[e.inactiveIcon?(V(),C(S(E),{key:0},{default:A((()=>[(V(),C(P(e.inactiveIcon)))])),_:1})):N("v-if",!0),!e.inactiveIcon&&e.inactiveText?(V(),T("span",{key:1,"aria-hidden":S(Y)},$(e.inactiveText),9,["aria-hidden"])):N("v-if",!0)],2)),_("span",{ref_key:"core",ref:Z,class:w(S(o).e("core")),style:F(S(U))},[e.inlinePrompt?(V(),T("div",{key:0,class:w(S(o).e("inner"))},[e.activeIcon||e.inactiveIcon?(V(),C(S(E),{key:0,class:w(S(o).is("icon"))},{default:A((()=>[(V(),C(P(S(Y)?e.activeIcon:e.inactiveIcon)))])),_:1},8,["class"])):e.activeText||e.inactiveText?(V(),T("span",{key:1,class:w(S(o).is("text")),"aria-hidden":!S(Y)},$(S(Y)?e.activeText:e.inactiveText),11,["aria-hidden"])):N("v-if",!0)],2)):N("v-if",!0),_("div",{class:w(S(o).e("action"))},[e.loading?(V(),C(S(E),{key:0,class:w(S(o).is("loading"))},{default:A((()=>[j(S(z))])),_:1},8,["class"])):S(Y)?D(e.$slots,"active-action",{key:1},(()=>[e.activeActionIcon?(V(),C(S(E),{key:0},{default:A((()=>[(V(),C(P(e.activeActionIcon)))])),_:1})):N("v-if",!0)])):S(Y)?N("v-if",!0):D(e.$slots,"inactive-action",{key:2},(()=>[e.inactiveActionIcon?(V(),C(S(E),{key:0},{default:A((()=>[(V(),C(P(e.inactiveActionIcon)))])),_:1})):N("v-if",!0)]))],2)],6),e.inlinePrompt||!e.activeIcon&&!e.activeText?N("v-if",!0):(V(),T("span",{key:1,class:w(S(R))},[e.activeIcon?(V(),C(S(E),{key:0},{default:A((()=>[(V(),C(P(e.activeIcon)))])),_:1})):N("v-if",!0),!e.activeIcon&&e.activeText?(V(),T("span",{key:1,"aria-hidden":!S(Y)},$(e.activeText),9,["aria-hidden"])):N("v-if",!0)],2))],10,["onClick"]))}}),[["__file","switch.vue"]]));export{O as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary-legacy.js new file mode 100644 index 000000000..73041da02 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},u="function"==typeof Symbol?Symbol:{},i=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,u=Object.create(a.prototype),i=new O(n||[]);return o(u,"_invoke",{value:A(t,r,i)}),u}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",g={};function m(){}function b(){}function w(){}var B={};s(B,i,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(V([])));E&&E!==n&&a.call(E,i)&&(B=E);var j=w.prototype=m.prototype=Object.create(B);function D(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function r(n,o,u,i){var l=p(t[n],t,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,u,i)}),(function(t){r("throw",t,u,i)})):e.resolve(s).then((function(t){c.value=t,u(c)}),(function(t){return r("throw",t,u,i)}))}i(l.arg)}var n;o(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,n){r(t,a,e,n)}))}return n=n?n.then(o,o):o()}})}function A(t,r,n){var a=d;return function(o,u){if(a===y)throw Error("Generator is already running");if(a===v){if("throw"===o)throw u;return{value:e,done:!0}}for(n.method=o,n.arg=u;;){var i=n.delegate;if(i){var l=k(i,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var c=p(t,r,n);if("normal"===c.type){if(a=n.done?v:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=v,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var u=o.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function V(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n=0;--o){var u=this.tryEntries[o],i=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var l=a.call(u,"catchLoc"),c=a.call(u,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:V(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t,e,r,n,a,o,u){try{var i=t[o](u),l=i.value}catch(t){return void r(t)}i.done?e(l):Promise.resolve(l).then(n,a)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(a,o){var u=t.apply(r,n);function i(t){e(u,a,o,i,l,"next",t)}function l(t){e(u,a,o,i,l,"throw",t)}i(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0dialog-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0switch-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0popover-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0sysDictionary-legacy2.js","./087AC4D233B64EB0warningBar-legacy.js","./087AC4D233B64EB0sysDictionaryDetail-legacy.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0dropdown-legacy.js","./087AC4D233B64EB0input-number-legacy.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0format-legacy.js","./087AC4D233B64EB0date-legacy.js","./087AC4D233B64EB0index-legacy25.js"],(function(e,n){"use strict";var a,o,u,i,l,c,s,f,p,d,h,y,v,g,m,b,w,B,x,E,j,D,C,A,k,_,L,O,V,I,N,P;return{setters:[function(t){a=t.a,o=t.N,u=t.o,i=t.c,l=t.e,c=t.b,s=t.w,f=t.g,p=t.K,d=t.L,h=t.n,y=t.t,v=t.ak,g=t.D,m=t.d4,b=t.j,w=t.E,B=t.H,x=t.k},function(t){E=t.E},null,function(t){j=t.a,D=t.E},function(t){C=t.E},null,function(t){A=t.E},null,function(t){k=t.E},null,function(t){_=t.g,L=t.f,O=t.d,V=t.c,I=t.u},function(t){N=t._},function(t){P=t.default},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n=document.createElement("style");n.textContent=".dict-box{height:calc(100vh - 240px)}.active{background-color:var(--el-color-primary)!important;color:#fff}\n",document.head.appendChild(n);var G={class:"dict-box flex gap-4"},S={class:"w-64 bg-white p-4"},F={class:"flex justify-between items-center"},T=["onClick"],U={class:"max-w-[160px] truncate"},q={style:{"text-align":"right","margin-top":"8px"}},Y={class:"flex-1 bg-white"},H={class:"dialog-footer"};e("default",Object.assign({name:"SysDictionary"},{__name:"sysDictionary",setup:function(e){var n=a(1),K=a({name:null,type:null,status:!0,desc:null}),z=a({name:[{required:!0,message:"请输入字典名(中)",trigger:"blur"}],type:[{required:!0,message:"请输入字典名(英)",trigger:"blur"}],desc:[{required:!0,message:"请输入描述",trigger:"blur"}]}),J=a([]),M=function(){var e=r(t().mark((function e(){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_();case 2:0===(r=t.sent).code&&(J.value=r.data);case 4:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();M();var Q=a(!1),R=a(""),W=function(){var e=r(t().mark((function e(r){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,L({ID:r.ID,status:r.status});case 2:n=t.sent,R.value="update",0===n.code&&(K.value=n.data.resysDictionary,Q.value=!0);case 5:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),X=function(){Q.value=!1,K.value={name:null,type:null,status:!0,desc:null}},Z=function(){var e=r(t().mark((function e(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.visible=!1,t.next=3,O({ID:r.ID});case 3:0===t.sent.code&&(b({type:"success",message:"删除成功"}),M());case 5:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$=a(null),tt=function(){var e=r(t().mark((function e(){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:$.value.validate(function(){var e=r(t().mark((function e(r){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:t.t0=R.value,t.next="create"===t.t0?5:"update"===t.t0?9:13;break;case 5:return t.next=7,V(K.value);case 7:return n=t.sent,t.abrupt("break",17);case 9:return t.next=11,I(K.value);case 11:return n=t.sent,t.abrupt("break",17);case 13:return t.next=15,V(K.value);case 15:return n=t.sent,t.abrupt("break",17);case 17:0===n.code&&(b.success("操作成功"),X(),M());case 18:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),et=function(){R.value="create",Q.value=!0};return function(t,e){var r=w,a=B,b=o("Delete"),_=k,L=A,O=x,V=j,I=C,M=D,rt=E;return u(),i("div",null,[l(N,{title:"获取字典且缓存方法已在前端utils/dictionary 已经封装完成 不必自己书写 使用方法查看文件内注释"}),c("div",G,[c("div",S,[c("div",F,[e[6]||(e[6]=c("span",{class:"text font-bold"},"字典列表",-1)),l(r,{type:"primary",onClick:et},{default:s((function(){return e[5]||(e[5]=[f(" 新增 ")])})),_:1})]),l(L,{class:"mt-4",style:{height:"calc(100vh - 300px)"}},{default:s((function(){return[(u(!0),i(p,null,d(J.value,(function(t){return u(),i("div",{key:t.ID,class:h(["rounded flex justify-between items-center px-2 py-4 cursor-pointer mt-2 hover:bg-blue-50 hover:text-gray-800 group bg-gray-50",n.value===t.ID&&"active"]),onClick:function(e){return r=t,void(n.value=r.ID);var r}},[c("span",U,y(t.name),1),c("div",null,[l(a,{class:h(["group-hover:text-blue-500",n.value===t.ID?"text-white-800":"text-blue-500"]),onClick:v((function(e){return W(t)}),["stop"])},{default:s((function(){return[l(g(m))]})),_:2},1032,["class","onClick"]),l(_,{placement:"top",width:"160"},{reference:s((function(){return[l(a,{class:h(["ml-2 group-hover:text-red-500",n.value===t.ID?"text-white-800":"text-red-500"])},{default:s((function(){return[l(b)]})),_:2},1032,["class"])]})),default:s((function(){return[e[9]||(e[9]=c("p",null,"确定要删除吗?",-1)),c("div",q,[l(r,{type:"primary",link:"",onClick:function(e){return t.visible=!1}},{default:s((function(){return e[7]||(e[7]=[f("取消")])})),_:2},1032,["onClick"]),l(r,{type:"primary",onClick:function(e){return Z(t)}},{default:s((function(){return e[8]||(e[8]=[f("确定")])})),_:2},1032,["onClick"])])]})),_:2},1024)])],10,T)})),128))]})),_:1})]),c("div",Y,[l(P,{"sys-dictionary-i-d":n.value},null,8,["sys-dictionary-i-d"])])]),l(rt,{modelValue:Q.value,"onUpdate:modelValue":e[4]||(e[4]=function(t){return Q.value=t}),"before-close":X,title:"create"===R.value?"添加字典":"修改字典"},{footer:s((function(){return[c("div",H,[l(r,{onClick:X},{default:s((function(){return e[10]||(e[10]=[f("取 消")])})),_:1}),l(r,{type:"primary",onClick:tt},{default:s((function(){return e[11]||(e[11]=[f("确 定")])})),_:1})])]})),default:s((function(){return[l(M,{ref_key:"dialogForm",ref:$,model:K.value,rules:z.value,"label-width":"110px"},{default:s((function(){return[l(V,{label:"字典名(中)",prop:"name"},{default:s((function(){return[l(O,{modelValue:K.value.name,"onUpdate:modelValue":e[0]||(e[0]=function(t){return K.value.name=t}),placeholder:"请输入字典名(中)",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]})),_:1}),l(V,{label:"字典名(英)",prop:"type"},{default:s((function(){return[l(O,{modelValue:K.value.type,"onUpdate:modelValue":e[1]||(e[1]=function(t){return K.value.type=t}),placeholder:"请输入字典名(英)",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]})),_:1}),l(V,{label:"状态",prop:"status",required:""},{default:s((function(){return[l(I,{modelValue:K.value.status,"onUpdate:modelValue":e[2]||(e[2]=function(t){return K.value.status=t}),"active-text":"开启","inactive-text":"停用"},null,8,["modelValue"])]})),_:1}),l(V,{label:"描述",prop:"desc"},{default:s((function(){return[l(O,{modelValue:K.value.desc,"onUpdate:modelValue":e[3]||(e[3]=function(t){return K.value.desc=t}),placeholder:"请输入描述",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])]})),_:1},8,["modelValue","title"])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary-legacy2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary-legacy2.js new file mode 100644 index 000000000..0493644bb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary-legacy2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,r){"use strict";var e;return{setters:[function(t){e=t.s}],execute:function(){t("c",(function(t){return e({url:"/sysDictionary/createSysDictionary",method:"post",data:t})})),t("d",(function(t){return e({url:"/sysDictionary/deleteSysDictionary",method:"delete",data:t})})),t("u",(function(t){return e({url:"/sysDictionary/updateSysDictionary",method:"put",data:t})})),t("f",(function(t){return e({url:"/sysDictionary/findSysDictionary",method:"get",params:t})})),t("g",(function(t){return e({url:"/sysDictionary/getSysDictionaryList",method:"get",params:t})}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary.css new file mode 100644 index 000000000..4f22d4b42 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.dict-box{height:calc(100vh - 240px)}.active{background-color:var(--el-color-primary)!important;color:#fff} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary.js new file mode 100644 index 000000000..1feb0c1fb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,N as a,o as t,c as l,e as s,b as o,w as i,g as r,K as u,L as n,n as d,t as p,ak as c,D as m,d4 as B,j as v,E as D,H as y,k as C}from"./087AC4D233B64EB0index.js";import{E as f}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import{a as E,E as j}from"./087AC4D233B64EB0form-item.js";import{E as A}from"./087AC4D233B64EB0switch.js";/* empty css */import{E as b}from"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as g}from"./087AC4D233B64EB0popover.js";/* empty css */import{g as x,f as h,d as w,c as _,u as k}from"./087AC4D233B64EB0sysDictionary2.js";import{_ as V}from"./087AC4D233B64EB0warningBar.js";import I from"./087AC4D233B64EB0sysDictionaryDetail.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0dropdown.js";import"./087AC4D233B64EB0input-number.js";/* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css */import"./087AC4D233B64EB0format.js";import"./087AC4D233B64EB0date.js";import"./087AC4D233B64EB0index25.js";const U={class:"dict-box flex gap-4"},q={class:"w-64 bg-white p-4"},O={class:"flex justify-between items-center"},F=["onClick"],H={class:"max-w-[160px] truncate"},K={style:{"text-align":"right","margin-top":"8px"}},L={class:"flex-1 bg-white"},N={class:"dialog-footer"},S=Object.assign({name:"SysDictionary"},{__name:"sysDictionary",setup(S){const z=e(1),G=e({name:null,type:null,status:!0,desc:null}),J=e({name:[{required:!0,message:"请输入字典名(中)",trigger:"blur"}],type:[{required:!0,message:"请输入字典名(英)",trigger:"blur"}],desc:[{required:!0,message:"请输入描述",trigger:"blur"}]}),M=e([]),P=async()=>{const e=await x();0===e.code&&(M.value=e.data)};P();const Q=e(!1),R=e(""),T=()=>{Q.value=!1,G.value={name:null,type:null,status:!0,desc:null}},W=e(null),X=async()=>{W.value.validate((async e=>{if(!e)return;let a;switch(R.value){case"create":default:a=await _(G.value);break;case"update":a=await k(G.value)}0===a.code&&(v.success("操作成功"),T(),P())}))},Y=()=>{R.value="create",Q.value=!0};return(e,x)=>{const _=D,k=y,S=a("Delete"),Z=g,$=b,ee=C,ae=E,te=A,le=j,se=f;return t(),l("div",null,[s(V,{title:"获取字典且缓存方法已在前端utils/dictionary 已经封装完成 不必自己书写 使用方法查看文件内注释"}),o("div",U,[o("div",q,[o("div",O,[x[6]||(x[6]=o("span",{class:"text font-bold"},"字典列表",-1)),s(_,{type:"primary",onClick:Y},{default:i((()=>x[5]||(x[5]=[r(" 新增 ")]))),_:1})]),s($,{class:"mt-4",style:{height:"calc(100vh - 300px)"}},{default:i((()=>[(t(!0),l(u,null,n(M.value,(e=>(t(),l("div",{key:e.ID,class:d(["rounded flex justify-between items-center px-2 py-4 cursor-pointer mt-2 hover:bg-blue-50 hover:text-gray-800 group bg-gray-50",z.value===e.ID&&"active"]),onClick:a=>{return t=e,void(z.value=t.ID);var t}},[o("span",H,p(e.name),1),o("div",null,[s(k,{class:d(["group-hover:text-blue-500",z.value===e.ID?"text-white-800":"text-blue-500"]),onClick:c((a=>(async e=>{const a=await h({ID:e.ID,status:e.status});R.value="update",0===a.code&&(G.value=a.data.resysDictionary,Q.value=!0)})(e)),["stop"])},{default:i((()=>[s(m(B))])),_:2},1032,["class","onClick"]),s(Z,{placement:"top",width:"160"},{reference:i((()=>[s(k,{class:d(["ml-2 group-hover:text-red-500",z.value===e.ID?"text-white-800":"text-red-500"])},{default:i((()=>[s(S)])),_:2},1032,["class"])])),default:i((()=>[x[9]||(x[9]=o("p",null,"确定要删除吗?",-1)),o("div",K,[s(_,{type:"primary",link:"",onClick:a=>e.visible=!1},{default:i((()=>x[7]||(x[7]=[r("取消")]))),_:2},1032,["onClick"]),s(_,{type:"primary",onClick:a=>(async e=>{e.visible=!1,0===(await w({ID:e.ID})).code&&(v({type:"success",message:"删除成功"}),P())})(e)},{default:i((()=>x[8]||(x[8]=[r("确定")]))),_:2},1032,["onClick"])])])),_:2},1024)])],10,F)))),128))])),_:1})]),o("div",L,[s(I,{"sys-dictionary-i-d":z.value},null,8,["sys-dictionary-i-d"])])]),s(se,{modelValue:Q.value,"onUpdate:modelValue":x[4]||(x[4]=e=>Q.value=e),"before-close":T,title:"create"===R.value?"添加字典":"修改字典"},{footer:i((()=>[o("div",N,[s(_,{onClick:T},{default:i((()=>x[10]||(x[10]=[r("取 消")]))),_:1}),s(_,{type:"primary",onClick:X},{default:i((()=>x[11]||(x[11]=[r("确 定")]))),_:1})])])),default:i((()=>[s(le,{ref_key:"dialogForm",ref:W,model:G.value,rules:J.value,"label-width":"110px"},{default:i((()=>[s(ae,{label:"字典名(中)",prop:"name"},{default:i((()=>[s(ee,{modelValue:G.value.name,"onUpdate:modelValue":x[0]||(x[0]=e=>G.value.name=e),placeholder:"请输入字典名(中)",clearable:"",style:{width:"100%"}},null,8,["modelValue"])])),_:1}),s(ae,{label:"字典名(英)",prop:"type"},{default:i((()=>[s(ee,{modelValue:G.value.type,"onUpdate:modelValue":x[1]||(x[1]=e=>G.value.type=e),placeholder:"请输入字典名(英)",clearable:"",style:{width:"100%"}},null,8,["modelValue"])])),_:1}),s(ae,{label:"状态",prop:"status",required:""},{default:i((()=>[s(te,{modelValue:G.value.status,"onUpdate:modelValue":x[2]||(x[2]=e=>G.value.status=e),"active-text":"开启","inactive-text":"停用"},null,8,["modelValue"])])),_:1}),s(ae,{label:"描述",prop:"desc"},{default:i((()=>[s(ee,{modelValue:G.value.desc,"onUpdate:modelValue":x[3]||(x[3]=e=>G.value.desc=e),placeholder:"请输入描述",clearable:"",style:{width:"100%"}},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1},8,["modelValue","title"])])}}});export{S as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary2.js new file mode 100644 index 000000000..45f99e0a0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionary2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as t}from"./087AC4D233B64EB0index.js";const a=a=>t({url:"/sysDictionary/createSysDictionary",method:"post",data:a}),s=a=>t({url:"/sysDictionary/deleteSysDictionary",method:"delete",data:a}),i=a=>t({url:"/sysDictionary/updateSysDictionary",method:"put",data:a}),r=a=>t({url:"/sysDictionary/findSysDictionary",method:"get",params:a}),o=a=>t({url:"/sysDictionary/getSysDictionaryList",method:"get",params:a});export{a as c,s as d,r as f,o as g,i as u}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionaryDetail-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionaryDetail-legacy.js new file mode 100644 index 000000000..a8dd725b3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionaryDetail-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},i=l.iterator||"@@iterator",u=l.asyncIterator||"@@asyncIterator",c=l.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var a=t&&t.prototype instanceof m?t:m,l=Object.create(a.prototype),i=new V(n||[]);return o(l,"_invoke",{value:_(e,r,i)}),l}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=f;var d="suspendedStart",y="suspendedYield",h="executing",v="completed",g={};function m(){}function b(){}function D(){}var w={};s(w,i,(function(){return this}));var B=Object.getPrototypeOf,E=B&&B(B(S([])));E&&E!==n&&a.call(E,i)&&(w=E);var x=D.prototype=m.prototype=Object.create(w);function j(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function r(n,o,l,i){var u=p(e[n],e,o);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&a.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,l,i)}),(function(e){r("throw",e,l,i)})):t.resolve(s).then((function(e){c.value=e,l(c)}),(function(e){return r("throw",e,l,i)}))}i(u.arg)}var n;o(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,n){r(e,a,t,n)}))}return n=n?n.then(o,o):o()}})}function _(e,r,n){var a=d;return function(o,l){if(a===h)throw Error("Generator is already running");if(a===v){if("throw"===o)throw l;return{value:t,done:!0}}for(n.method=o,n.arg=l;;){var i=n.delegate;if(i){var u=k(i,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var c=p(e,r,n);if("normal"===c.type){if(a=n.done?v:y,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=v,n.method="throw",n.arg=c.arg)}}}function k(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=p(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var l=o.arg;return l?l.done?(r[e.resultName]=l.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function r(){for(;++n=0;--o){var l=this.tryEntries[o],i=l.completion;if("root"===l.tryLoc)return n("end");if(l.tryLoc<=this.prev){var u=a.call(l,"catchLoc"),c=a.call(l,"finallyLoc");if(u&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:S(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},r}function t(e,t,r,n,a,o,l){try{var i=e[o](l),u=i.value}catch(e){return void r(e)}i.done?t(u):Promise.resolve(u).then(n,a)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(a,o){var l=e.apply(r,n);function i(e){t(l,a,o,i,u,"next",e)}function u(e){t(l,a,o,i,u,"throw",e)}i(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0dialog-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0switch-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0input-number-legacy.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popover-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0format-legacy.js","./087AC4D233B64EB0index-legacy25.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0dropdown-legacy.js","./087AC4D233B64EB0date-legacy.js"],(function(t,n){"use strict";var a,o,l,i,u,c,s,f,p,d,y,h,v,g,m,b,D,w,B,E,x,j,C,_,k;return{setters:[function(e){a=e.s,o=e.a,l=e.X,i=e.o,u=e.c,c=e.b,s=e.e,f=e.w,p=e.g,d=e.t,y=e.D,h=e.j,v=e.E,g=e.k},function(e){m=e.E},null,function(e){b=e.a,D=e.E},function(e){w=e.E},null,function(e){B=e.E},null,null,null,null,null,function(e){E=e.E,x=e.a},null,null,function(e){j=e.E},null,function(e){C=e.f,_=e.a},function(e){k=e.E},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n=function(e){return a({url:"/sysDictionaryDetail/createSysDictionaryDetail",method:"post",data:e})},A={class:"gva-table-box"},L={class:"gva-btn-list justify-between"},V={style:{"text-align":"right","margin-top":"8px"}},S={class:"gva-pagination"},I={class:"dialog-footer"};t("default",Object.assign({name:"SysDictionaryDetail"},{__name:"sysDictionaryDetail",props:{sysDictionaryID:{type:Number,default:0}},setup:function(t){var O=t,N=o({label:null,value:null,status:!0,sort:null}),P=o({label:[{required:!0,message:"请输入展示值",trigger:"blur"}],value:[{required:!0,message:"请输入字典值",trigger:"blur"}],sort:[{required:!0,message:"排序标记",trigger:"blur"}]}),U=o(1),G=o(0),z=o(10),T=o([]),F=function(e){z.value=e,M()},q=function(e){U.value=e,M()},M=function(){var t=r(e().mark((function t(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t={page:U.value,pageSize:z.value,sysDictionaryID:O.sysDictionaryID},a({url:"/sysDictionaryDetail/getSysDictionaryDetailList",method:"get",params:t});case 2:0===(r=e.sent).code&&(T.value=r.data.list,G.value=r.data.total,U.value=r.data.page,z.value=r.data.pageSize);case 4:case"end":return e.stop()}var t}),t)})));return function(){return t.apply(this,arguments)}}();M();var Y=o(""),X=o(!1),H=function(){var t=r(e().mark((function t(r){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t={ID:r.ID},a({url:"/sysDictionaryDetail/findSysDictionaryDetail",method:"get",params:t});case 2:n=e.sent,Y.value="update",0===n.code&&(N.value=n.data.reSysDictionaryDetail,X.value=!0);case 5:case"end":return e.stop()}var t}),t)})));return function(e){return t.apply(this,arguments)}}(),J=function(){X.value=!1,N.value={label:null,value:null,status:!0,sort:null,sysDictionaryID:O.sysDictionaryID}},K=function(){var t=r(e().mark((function t(r){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.visible=!1,e.next=3,t={ID:r.ID},a({url:"/sysDictionaryDetail/deleteSysDictionaryDetail",method:"delete",data:t});case 3:0===e.sent.code&&(h({type:"success",message:"删除成功"}),1===T.value.length&&U.value>1&&U.value--,M());case 5:case"end":return e.stop()}var t}),t)})));return function(e){return t.apply(this,arguments)}}(),Q=o(null),R=function(){var t=r(e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:Q.value.validate(function(){var t=r(e().mark((function t(r){var o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(N.value.sysDictionaryID=O.sysDictionaryID,r){e.next=3;break}return e.abrupt("return");case 3:e.t0=Y.value,e.next="create"===e.t0?6:"update"===e.t0?10:14;break;case 6:return e.next=8,n(N.value);case 8:return o=e.sent,e.abrupt("break",18);case 10:return e.next=12,t=N.value,a({url:"/sysDictionaryDetail/updateSysDictionaryDetail",method:"put",data:t});case 12:return o=e.sent,e.abrupt("break",18);case 14:return e.next=16,n(N.value);case 16:return o=e.sent,e.abrupt("break",18);case 18:0===o.code&&(h({type:"success",message:"创建/更改成功"}),J(),M());case 19:case"end":return e.stop()}var t}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),W=function(){Y.value="create",X.value=!0};return l((function(){return O.sysDictionaryID}),(function(){M()})),function(e,t){var r=v,n=E,a=j,o=x,l=k,h=g,O=b,M=B,Z=w,$=D,ee=m;return i(),u("div",null,[c("div",A,[c("div",L,[t[7]||(t[7]=c("span",{class:"text font-bold"},"字典详细内容",-1)),s(r,{type:"primary",icon:"plus",onClick:W},{default:f((function(){return t[6]||(t[6]=[p("新增字典项")])})),_:1})]),s(o,{ref:"multipleTable",data:T.value,style:{width:"100%"},"tooltip-effect":"dark","row-key":"ID"},{default:f((function(){return[s(n,{type:"selection",width:"55"}),s(n,{align:"left",label:"日期",width:"180"},{default:f((function(e){return[p(d(y(C)(e.row.CreatedAt)),1)]})),_:1}),s(n,{align:"left",label:"展示值",prop:"label"}),s(n,{align:"left",label:"字典值",prop:"value"}),s(n,{align:"left",label:"扩展值",prop:"extend"}),s(n,{align:"left",label:"启用状态",prop:"status",width:"120"},{default:f((function(e){return[p(d(y(_)(e.row.status)),1)]})),_:1}),s(n,{align:"left",label:"排序标记",prop:"sort",width:"120"}),s(n,{align:"left",label:"操作",width:"180"},{default:f((function(e){return[s(r,{type:"primary",link:"",icon:"edit",onClick:function(t){return H(e.row)}},{default:f((function(){return t[8]||(t[8]=[p("变更")])})),_:2},1032,["onClick"]),s(a,{modelValue:e.row.visible,"onUpdate:modelValue":function(t){return e.row.visible=t},placement:"top",width:"160"},{reference:f((function(){return[s(r,{type:"primary",link:"",icon:"delete",onClick:function(t){return e.row.visible=!0}},{default:f((function(){return t[11]||(t[11]=[p("删除")])})),_:2},1032,["onClick"])]})),default:f((function(){return[t[12]||(t[12]=c("p",null,"确定要删除吗?",-1)),c("div",V,[s(r,{type:"primary",link:"",onClick:function(t){return e.row.visible=!1}},{default:f((function(){return t[9]||(t[9]=[p("取消")])})),_:2},1032,["onClick"]),s(r,{type:"primary",onClick:function(t){return K(e.row)}},{default:f((function(){return t[10]||(t[10]=[p("确定")])})),_:2},1032,["onClick"])])]})),_:2},1032,["modelValue","onUpdate:modelValue"])]})),_:1})]})),_:1},8,["data"]),c("div",S,[s(l,{"current-page":U.value,"page-size":z.value,"page-sizes":[10,30,50,100],total:G.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:q,onSizeChange:F},null,8,["current-page","page-size","total"])])]),s(ee,{modelValue:X.value,"onUpdate:modelValue":t[5]||(t[5]=function(e){return X.value=e}),"before-close":J,title:"create"===Y.value?"添加字典项":"修改字典项"},{footer:f((function(){return[c("div",I,[s(r,{onClick:J},{default:f((function(){return t[13]||(t[13]=[p("取 消")])})),_:1}),s(r,{type:"primary",onClick:R},{default:f((function(){return t[14]||(t[14]=[p("确 定")])})),_:1})])]})),default:f((function(){return[s($,{ref_key:"dialogForm",ref:Q,model:N.value,rules:P.value,"label-width":"110px"},{default:f((function(){return[s(O,{label:"展示值",prop:"label"},{default:f((function(){return[s(h,{modelValue:N.value.label,"onUpdate:modelValue":t[0]||(t[0]=function(e){return N.value.label=e}),placeholder:"请输入展示值",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]})),_:1}),s(O,{label:"字典值",prop:"value"},{default:f((function(){return[s(M,{modelValue:N.value.value,"onUpdate:modelValue":t[1]||(t[1]=function(e){return N.value.value=e}),modelModifiers:{number:!0},"step-strictly":"",step:1,placeholder:"请输入字典值",clearable:"",style:{width:"100%"},min:"-2147483648",max:"2147483647"},null,8,["modelValue"])]})),_:1}),s(O,{label:"扩展值",prop:"extend"},{default:f((function(){return[s(h,{modelValue:N.value.extend,"onUpdate:modelValue":t[2]||(t[2]=function(e){return N.value.extend=e}),placeholder:"请输入扩展值",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]})),_:1}),s(O,{label:"启用状态",prop:"status",required:""},{default:f((function(){return[s(Z,{modelValue:N.value.status,"onUpdate:modelValue":t[3]||(t[3]=function(e){return N.value.status=e}),"active-text":"开启","inactive-text":"停用"},null,8,["modelValue"])]})),_:1}),s(O,{label:"排序标记",prop:"sort"},{default:f((function(){return[s(M,{modelValue:N.value.sort,"onUpdate:modelValue":t[4]||(t[4]=function(e){return N.value.sort=e}),modelModifiers:{number:!0},placeholder:"排序标记"},null,8,["modelValue"])]})),_:1})]})),_:1},8,["model","rules"])]})),_:1},8,["modelValue","title"])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionaryDetail.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionaryDetail.js new file mode 100644 index 000000000..5f6023800 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysDictionaryDetail.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as e,a,X as l,o as t,c as i,b as o,e as s,w as r,g as u,t as n,D as d,j as p,E as m,k as c}from"./087AC4D233B64EB0index.js";import{E as D}from"./087AC4D233B64EB0dialog.js";import"./087AC4D233B64EB0overlay.js";import{a as y,E as v}from"./087AC4D233B64EB0form-item.js";import{E as B}from"./087AC4D233B64EB0switch.js";/* empty css */import{E as f}from"./087AC4D233B64EB0input-number.js";/* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as b,a as g}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css */import{E as C}from"./087AC4D233B64EB0popover.js";/* empty css */import{f as E,a as j}from"./087AC4D233B64EB0format.js";import{E as A}from"./087AC4D233B64EB0index25.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0dropdown.js";import"./087AC4D233B64EB0date.js";const w=a=>e({url:"/sysDictionaryDetail/createSysDictionaryDetail",method:"post",data:a}),h={class:"gva-table-box"},_={class:"gva-btn-list justify-between"},V={style:{"text-align":"right","margin-top":"8px"}},k={class:"gva-pagination"},x={class:"dialog-footer"},I=Object.assign({name:"SysDictionaryDetail"},{__name:"sysDictionaryDetail",props:{sysDictionaryID:{type:Number,default:0}},setup(I){const S=I,U=a({label:null,value:null,status:!0,sort:null}),z=a({label:[{required:!0,message:"请输入展示值",trigger:"blur"}],value:[{required:!0,message:"请输入字典值",trigger:"blur"}],sort:[{required:!0,message:"排序标记",trigger:"blur"}]}),q=a(1),M=a(0),O=a(10),F=a([]),L=e=>{O.value=e,T()},N=e=>{q.value=e,T()},T=async()=>{const a=await(l={page:q.value,pageSize:O.value,sysDictionaryID:S.sysDictionaryID},e({url:"/sysDictionaryDetail/getSysDictionaryDetailList",method:"get",params:l}));var l;0===a.code&&(F.value=a.data.list,M.value=a.data.total,q.value=a.data.page,O.value=a.data.pageSize)};T();const X=a(""),G=a(!1),H=async a=>{const l=await(t={ID:a.ID},e({url:"/sysDictionaryDetail/findSysDictionaryDetail",method:"get",params:t}));var t;X.value="update",0===l.code&&(U.value=l.data.reSysDictionaryDetail,G.value=!0)},J=()=>{G.value=!1,U.value={label:null,value:null,status:!0,sort:null,sysDictionaryID:S.sysDictionaryID}},K=async a=>{a.visible=!1;var l;0===(await(l={ID:a.ID},e({url:"/sysDictionaryDetail/deleteSysDictionaryDetail",method:"delete",data:l}))).code&&(p({type:"success",message:"删除成功"}),1===F.value.length&&q.value>1&&q.value--,T())},P=a(null),Q=async()=>{P.value.validate((async a=>{if(U.value.sysDictionaryID=S.sysDictionaryID,!a)return;let l;switch(X.value){case"create":default:l=await w(U.value);break;case"update":l=await(t=U.value,e({url:"/sysDictionaryDetail/updateSysDictionaryDetail",method:"put",data:t}))}var t;0===l.code&&(p({type:"success",message:"创建/更改成功"}),J(),T())}))},R=()=>{X.value="create",G.value=!0};return l((()=>S.sysDictionaryID),(()=>{T()})),(e,a)=>{const l=m,p=b,w=C,I=g,S=A,T=c,W=y,Y=f,Z=B,$=v,ee=D;return t(),i("div",null,[o("div",h,[o("div",_,[a[7]||(a[7]=o("span",{class:"text font-bold"},"字典详细内容",-1)),s(l,{type:"primary",icon:"plus",onClick:R},{default:r((()=>a[6]||(a[6]=[u("新增字典项")]))),_:1})]),s(I,{ref:"multipleTable",data:F.value,style:{width:"100%"},"tooltip-effect":"dark","row-key":"ID"},{default:r((()=>[s(p,{type:"selection",width:"55"}),s(p,{align:"left",label:"日期",width:"180"},{default:r((e=>[u(n(d(E)(e.row.CreatedAt)),1)])),_:1}),s(p,{align:"left",label:"展示值",prop:"label"}),s(p,{align:"left",label:"字典值",prop:"value"}),s(p,{align:"left",label:"扩展值",prop:"extend"}),s(p,{align:"left",label:"启用状态",prop:"status",width:"120"},{default:r((e=>[u(n(d(j)(e.row.status)),1)])),_:1}),s(p,{align:"left",label:"排序标记",prop:"sort",width:"120"}),s(p,{align:"left",label:"操作",width:"180"},{default:r((e=>[s(l,{type:"primary",link:"",icon:"edit",onClick:a=>H(e.row)},{default:r((()=>a[8]||(a[8]=[u("变更")]))),_:2},1032,["onClick"]),s(w,{modelValue:e.row.visible,"onUpdate:modelValue":a=>e.row.visible=a,placement:"top",width:"160"},{reference:r((()=>[s(l,{type:"primary",link:"",icon:"delete",onClick:a=>e.row.visible=!0},{default:r((()=>a[11]||(a[11]=[u("删除")]))),_:2},1032,["onClick"])])),default:r((()=>[a[12]||(a[12]=o("p",null,"确定要删除吗?",-1)),o("div",V,[s(l,{type:"primary",link:"",onClick:a=>e.row.visible=!1},{default:r((()=>a[9]||(a[9]=[u("取消")]))),_:2},1032,["onClick"]),s(l,{type:"primary",onClick:a=>K(e.row)},{default:r((()=>a[10]||(a[10]=[u("确定")]))),_:2},1032,["onClick"])])])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:1})])),_:1},8,["data"]),o("div",k,[s(S,{"current-page":q.value,"page-size":O.value,"page-sizes":[10,30,50,100],total:M.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:N,onSizeChange:L},null,8,["current-page","page-size","total"])])]),s(ee,{modelValue:G.value,"onUpdate:modelValue":a[5]||(a[5]=e=>G.value=e),"before-close":J,title:"create"===X.value?"添加字典项":"修改字典项"},{footer:r((()=>[o("div",x,[s(l,{onClick:J},{default:r((()=>a[13]||(a[13]=[u("取 消")]))),_:1}),s(l,{type:"primary",onClick:Q},{default:r((()=>a[14]||(a[14]=[u("确 定")]))),_:1})])])),default:r((()=>[s($,{ref_key:"dialogForm",ref:P,model:U.value,rules:z.value,"label-width":"110px"},{default:r((()=>[s(W,{label:"展示值",prop:"label"},{default:r((()=>[s(T,{modelValue:U.value.label,"onUpdate:modelValue":a[0]||(a[0]=e=>U.value.label=e),placeholder:"请输入展示值",clearable:"",style:{width:"100%"}},null,8,["modelValue"])])),_:1}),s(W,{label:"字典值",prop:"value"},{default:r((()=>[s(Y,{modelValue:U.value.value,"onUpdate:modelValue":a[1]||(a[1]=e=>U.value.value=e),modelModifiers:{number:!0},"step-strictly":"",step:1,placeholder:"请输入字典值",clearable:"",style:{width:"100%"},min:"-2147483648",max:"2147483647"},null,8,["modelValue"])])),_:1}),s(W,{label:"扩展值",prop:"extend"},{default:r((()=>[s(T,{modelValue:U.value.extend,"onUpdate:modelValue":a[2]||(a[2]=e=>U.value.extend=e),placeholder:"请输入扩展值",clearable:"",style:{width:"100%"}},null,8,["modelValue"])])),_:1}),s(W,{label:"启用状态",prop:"status",required:""},{default:r((()=>[s(Z,{modelValue:U.value.status,"onUpdate:modelValue":a[3]||(a[3]=e=>U.value.status=e),"active-text":"开启","inactive-text":"停用"},null,8,["modelValue"])])),_:1}),s(W,{label:"排序标记",prop:"sort"},{default:r((()=>[s(Y,{modelValue:U.value.sort,"onUpdate:modelValue":a[4]||(a[4]=e=>U.value.sort=e),modelModifiers:{number:!0},placeholder:"排序标记"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1},8,["modelValue","title"])])}}});export{I as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord-legacy.js new file mode 100644 index 000000000..cf01cd6bc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),l=new L(n||[]);return a(i,"_invoke",{value:O(e,r,l)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=f;var d="suspendedStart",h="suspendedYield",v="executing",y="completed",g={};function m(){}function b(){}function w(){}var E={};s(E,l,(function(){return this}));var j=Object.getPrototypeOf,x=j&&j(j(P([])));x&&x!==n&&o.call(x,l)&&(E=x);var B=w.prototype=m.prototype=Object.create(E);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(n,a,i,l){var u=p(e[n],e,a);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(s).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,l)}))}l(u.arg)}var n;a(this,"_invoke",{value:function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}})}function O(e,r,n){var o=d;return function(a,i){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var u=k(l,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=p(e,r,n);if("normal"===c.type){if(o=n.done?y:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=p(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},r}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(e){for(var r=1;r1&&n.value--,M.value=!1,K());case 6:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Z=function(){var t=a(e().mark((function t(r){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.visible=!1,e.next=3,t={ID:r.ID},o({url:"/sysOperationRecord/deleteSysOperationRecord",method:"delete",data:t});case 3:0===e.sent.code&&(g({type:"success",message:"删除成功"}),1===U.value.length&&n.value>1&&n.value--,K());case 5:case"end":return e.stop()}var t}),t)})));return function(e){return t.apply(this,arguments)}}(),$=function(e){try{return JSON.parse(e)}catch(t){return e}};return function(e,t){var r=m,o=B,a=b,i=C,g=x,K=E,ee=O,te=l("warning"),re=w,ne=j,oe=k;return u(),c("div",null,[s("div",D,[f(i,{inline:!0,model:F.value},{default:p((function(){return[f(o,{label:"请求方法"},{default:p((function(){return[f(r,{modelValue:F.value.method,"onUpdate:modelValue":t[0]||(t[0]=function(e){return F.value.method=e}),placeholder:"搜索条件"},null,8,["modelValue"])]})),_:1}),f(o,{label:"请求路径"},{default:p((function(){return[f(r,{modelValue:F.value.path,"onUpdate:modelValue":t[1]||(t[1]=function(e){return F.value.path=e}),placeholder:"搜索条件"},null,8,["modelValue"])]})),_:1}),f(o,{label:"结果状态码"},{default:p((function(){return[f(r,{modelValue:F.value.status,"onUpdate:modelValue":t[2]||(t[2]=function(e){return F.value.status=e}),placeholder:"搜索条件"},null,8,["modelValue"])]})),_:1}),f(o,null,{default:p((function(){return[f(a,{type:"primary",icon:"search",onClick:q},{default:p((function(){return t[6]||(t[6]=[d("查询")])})),_:1}),f(a,{icon:"refresh",onClick:Y},{default:p((function(){return t[7]||(t[7]=[d("重置")])})),_:1})]})),_:1})]})),_:1},8,["model"])]),s("div",A,[s("div",L,[f(g,{modelValue:M.value,"onUpdate:modelValue":t[5]||(t[5]=function(e){return M.value=e}),placement:"top",width:"160"},{reference:p((function(){return[f(a,{icon:"delete",style:{"margin-left":"10px"},disabled:!Q.value.length,onClick:t[4]||(t[4]=function(e){return M.value=!0})},{default:p((function(){return t[10]||(t[10]=[d("删除")])})),_:1},8,["disabled"])]})),default:p((function(){return[t[11]||(t[11]=s("p",null,"确定要删除吗?",-1)),s("div",P,[f(a,{type:"primary",link:"",onClick:t[3]||(t[3]=function(e){return M.value=!1})},{default:p((function(){return t[8]||(t[8]=[d("取消")])})),_:1}),f(a,{type:"primary",onClick:X},{default:p((function(){return t[9]||(t[9]=[d("确定")])})),_:1})])]})),_:1},8,["modelValue"])]),f(ne,{ref:"multipleTable",data:U.value,style:{width:"100%"},"tooltip-effect":"dark","row-key":"ID",onSelectionChange:W},{default:p((function(){return[f(K,{align:"left",type:"selection",width:"55"}),f(K,{align:"left",label:"操作人",width:"140"},{default:p((function(e){return[s("div",null,h(e.row.user.userName)+"("+h(e.row.user.nickName)+")",1)]})),_:1}),f(K,{align:"left",label:"日期",width:"180"},{default:p((function(e){return[d(h(v(_)(e.row.CreatedAt)),1)]})),_:1}),f(K,{align:"left",label:"状态码",prop:"status",width:"120"},{default:p((function(e){return[s("div",null,[f(ee,{type:"success"},{default:p((function(){return[d(h(e.row.status),1)]})),_:2},1024)])]})),_:1}),f(K,{align:"left",label:"请求IP",prop:"ip",width:"120"}),f(K,{align:"left",label:"请求方法",prop:"method",width:"120"}),f(K,{align:"left",label:"请求路径",prop:"path",width:"240"}),f(K,{align:"left",label:"请求",prop:"path",width:"80"},{default:p((function(e){return[s("div",null,[e.row.body?(u(),y(g,{key:0,placement:"left-start",trigger:"click"},{reference:p((function(){return[f(re,{style:{cursor:"pointer"}},{default:p((function(){return[f(te)]})),_:1})]})),default:p((function(){return[s("div",S,[s("pre",null,h($(e.row.body)),1)])]})),_:2},1024)):(u(),c("span",V,"无"))])]})),_:1}),f(K,{align:"left",label:"响应",prop:"path",width:"80"},{default:p((function(e){return[s("div",null,[e.row.resp?(u(),y(g,{key:0,placement:"left-start",trigger:"click"},{reference:p((function(){return[f(re,{style:{cursor:"pointer"}},{default:p((function(){return[f(te)]})),_:1})]})),default:p((function(){return[s("div",N,[s("pre",null,h($(e.row.resp)),1)])]})),_:2},1024)):(u(),c("span",I,"无"))])]})),_:1}),f(K,{align:"left",label:"操作"},{default:p((function(e){return[f(g,{modelValue:e.row.visible,"onUpdate:modelValue":function(t){return e.row.visible=t},placement:"top",width:"160"},{reference:p((function(){return[f(a,{icon:"delete",type:"primary",link:"",onClick:function(t){return e.row.visible=!0}},{default:p((function(){return t[14]||(t[14]=[d("删除")])})),_:2},1032,["onClick"])]})),default:p((function(){return[t[15]||(t[15]=s("p",null,"确定要删除吗?",-1)),s("div",z,[f(a,{type:"primary",link:"",onClick:function(t){return e.row.visible=!1}},{default:p((function(){return t[12]||(t[12]=[d("取消")])})),_:2},1032,["onClick"]),f(a,{type:"primary",onClick:function(t){return Z(e.row)}},{default:p((function(){return t[13]||(t[13]=[d("确定")])})),_:2},1032,["onClick"])])]})),_:2},1032,["modelValue","onUpdate:modelValue"])]})),_:1})]})),_:1},8,["data"]),s("div",G,[f(oe,{"current-page":n.value,"page-size":T.value,"page-sizes":[10,30,50,100],total:R.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:J,onSizeChange:H},null,8,["current-page","page-size","total"])])])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord.css new file mode 100644 index 000000000..7eea4e988 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.table-expand{padding-left:60px;font-size:0}.table-expand label{width:90px;color:#99a9bf}.table-expand label .el-form-item{margin-right:0;margin-bottom:0;width:50%}.popover-box{background:#112435;color:#f08047;height:600px;width:420px;overflow:auto}.popover-box::-webkit-scrollbar{display:none} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord.js new file mode 100644 index 000000000..ebabb4860 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0sysOperationRecord.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as e,a,N as l,o as t,c as o,b as r,e as s,w as i,g as p,t as u,D as n,h as d,j as c,k as m,E as v,H as f}from"./087AC4D233B64EB0index.js";/* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as B,a as g}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css */import{E as C}from"./087AC4D233B64EB0popover.js";import{a as y,E as h}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{f as b}from"./087AC4D233B64EB0format.js";import{E}from"./087AC4D233B64EB0index22.js";import{E as D}from"./087AC4D233B64EB0index25.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0dropdown.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0date.js";const j={class:"gva-search-box"},w={class:"gva-table-box"},_={class:"gva-btn-list"},A={style:{"text-align":"right","margin-top":"8px"}},k={class:"popover-box"},x={key:1},V={class:"popover-box"},O={key:1},S={style:{"text-align":"right","margin-top":"8px"}},R={class:"gva-pagination"},z=Object.assign({name:"SysOperationRecord"},{__name:"sysOperationRecord",setup(z){const U=a(1),I=a(0),N=a(10),q=a([]),H=a({}),J=()=>{H.value={}},L=()=>{U.value=1,N.value=10,""===H.value.status&&(H.value.status=null),F()},P=e=>{N.value=e,F()},T=e=>{U.value=e,F()},F=async()=>{const a=await(l={page:U.value,pageSize:N.value,...H.value},e({url:"/sysOperationRecord/getSysOperationRecordList",method:"get",params:l}));var l;0===a.code&&(q.value=a.data.list,I.value=a.data.total,U.value=a.data.page,N.value=a.data.pageSize)};F();const G=a(!1),K=a([]),M=e=>{K.value=e},Q=async()=>{const a=[];K.value&&K.value.forEach((e=>{a.push(e.ID)}));var l;0===(await(l={ids:a},e({url:"/sysOperationRecord/deleteSysOperationRecordByIds",method:"delete",data:l}))).code&&(c({type:"success",message:"删除成功"}),q.value.length===a.length&&U.value>1&&U.value--,G.value=!1,F())},W=async a=>{a.visible=!1;var l;0===(await(l={ID:a.ID},e({url:"/sysOperationRecord/deleteSysOperationRecord",method:"delete",data:l}))).code&&(c({type:"success",message:"删除成功"}),1===q.value.length&&U.value>1&&U.value--,F())},X=e=>{try{return JSON.parse(e)}catch(a){return e}};return(e,a)=>{const c=m,z=y,F=v,Y=h,Z=C,$=B,ee=E,ae=l("warning"),le=f,te=g,oe=D;return t(),o("div",null,[r("div",j,[s(Y,{inline:!0,model:H.value},{default:i((()=>[s(z,{label:"请求方法"},{default:i((()=>[s(c,{modelValue:H.value.method,"onUpdate:modelValue":a[0]||(a[0]=e=>H.value.method=e),placeholder:"搜索条件"},null,8,["modelValue"])])),_:1}),s(z,{label:"请求路径"},{default:i((()=>[s(c,{modelValue:H.value.path,"onUpdate:modelValue":a[1]||(a[1]=e=>H.value.path=e),placeholder:"搜索条件"},null,8,["modelValue"])])),_:1}),s(z,{label:"结果状态码"},{default:i((()=>[s(c,{modelValue:H.value.status,"onUpdate:modelValue":a[2]||(a[2]=e=>H.value.status=e),placeholder:"搜索条件"},null,8,["modelValue"])])),_:1}),s(z,null,{default:i((()=>[s(F,{type:"primary",icon:"search",onClick:L},{default:i((()=>a[6]||(a[6]=[p("查询")]))),_:1}),s(F,{icon:"refresh",onClick:J},{default:i((()=>a[7]||(a[7]=[p("重置")]))),_:1})])),_:1})])),_:1},8,["model"])]),r("div",w,[r("div",_,[s(Z,{modelValue:G.value,"onUpdate:modelValue":a[5]||(a[5]=e=>G.value=e),placement:"top",width:"160"},{reference:i((()=>[s(F,{icon:"delete",style:{"margin-left":"10px"},disabled:!K.value.length,onClick:a[4]||(a[4]=e=>G.value=!0)},{default:i((()=>a[10]||(a[10]=[p("删除")]))),_:1},8,["disabled"])])),default:i((()=>[a[11]||(a[11]=r("p",null,"确定要删除吗?",-1)),r("div",A,[s(F,{type:"primary",link:"",onClick:a[3]||(a[3]=e=>G.value=!1)},{default:i((()=>a[8]||(a[8]=[p("取消")]))),_:1}),s(F,{type:"primary",onClick:Q},{default:i((()=>a[9]||(a[9]=[p("确定")]))),_:1})])])),_:1},8,["modelValue"])]),s(te,{ref:"multipleTable",data:q.value,style:{width:"100%"},"tooltip-effect":"dark","row-key":"ID",onSelectionChange:M},{default:i((()=>[s($,{align:"left",type:"selection",width:"55"}),s($,{align:"left",label:"操作人",width:"140"},{default:i((e=>[r("div",null,u(e.row.user.userName)+"("+u(e.row.user.nickName)+")",1)])),_:1}),s($,{align:"left",label:"日期",width:"180"},{default:i((e=>[p(u(n(b)(e.row.CreatedAt)),1)])),_:1}),s($,{align:"left",label:"状态码",prop:"status",width:"120"},{default:i((e=>[r("div",null,[s(ee,{type:"success"},{default:i((()=>[p(u(e.row.status),1)])),_:2},1024)])])),_:1}),s($,{align:"left",label:"请求IP",prop:"ip",width:"120"}),s($,{align:"left",label:"请求方法",prop:"method",width:"120"}),s($,{align:"left",label:"请求路径",prop:"path",width:"240"}),s($,{align:"left",label:"请求",prop:"path",width:"80"},{default:i((e=>[r("div",null,[e.row.body?(t(),d(Z,{key:0,placement:"left-start",trigger:"click"},{reference:i((()=>[s(le,{style:{cursor:"pointer"}},{default:i((()=>[s(ae)])),_:1})])),default:i((()=>[r("div",k,[r("pre",null,u(X(e.row.body)),1)])])),_:2},1024)):(t(),o("span",x,"无"))])])),_:1}),s($,{align:"left",label:"响应",prop:"path",width:"80"},{default:i((e=>[r("div",null,[e.row.resp?(t(),d(Z,{key:0,placement:"left-start",trigger:"click"},{reference:i((()=>[s(le,{style:{cursor:"pointer"}},{default:i((()=>[s(ae)])),_:1})])),default:i((()=>[r("div",V,[r("pre",null,u(X(e.row.resp)),1)])])),_:2},1024)):(t(),o("span",O,"无"))])])),_:1}),s($,{align:"left",label:"操作"},{default:i((e=>[s(Z,{modelValue:e.row.visible,"onUpdate:modelValue":a=>e.row.visible=a,placement:"top",width:"160"},{reference:i((()=>[s(F,{icon:"delete",type:"primary",link:"",onClick:a=>e.row.visible=!0},{default:i((()=>a[14]||(a[14]=[p("删除")]))),_:2},1032,["onClick"])])),default:i((()=>[a[15]||(a[15]=r("p",null,"确定要删除吗?",-1)),r("div",S,[s(F,{type:"primary",link:"",onClick:a=>e.row.visible=!1},{default:i((()=>a[12]||(a[12]=[p("取消")]))),_:2},1032,["onClick"]),s(F,{type:"primary",onClick:a=>W(e.row)},{default:i((()=>a[13]||(a[13]=[p("确定")]))),_:2},1032,["onClick"])])])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:1})])),_:1},8,["data"]),r("div",R,[s(oe,{"current-page":U.value,"page-size":N.value,"page-sizes":[10,30,50,100],total:I.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:T,onSizeChange:P},null,8,["current-page","page-size","total"])])])])}}});export{z as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system-legacy.js new file mode 100644 index 000000000..6679d8c04 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return u};var l,u={},n=Object.prototype,t=n.hasOwnProperty,a=Object.defineProperty||function(e,l,u){e[l]=u.value},o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",d=o.toStringTag||"@@toStringTag";function c(e,l,u){return Object.defineProperty(e,l,{value:u,enumerable:!0,configurable:!0,writable:!0}),e[l]}try{c({},"")}catch(l){c=function(e,l,u){return e[l]=u}}function m(e,l,u,n){var t=l&&l.prototype instanceof b?l:b,o=Object.create(t.prototype),r=new z(n||[]);return a(o,"_invoke",{value:E(e,u,r)}),o}function s(e,l,u){try{return{type:"normal",arg:e.call(l,u)}}catch(e){return{type:"throw",arg:e}}}u.wrap=m;var f="suspendedStart",p="suspendedYield",v="executing",V="completed",y={};function b(){}function h(){}function g(){}var _={};c(_,r,(function(){return this}));var w=Object.getPrototypeOf,U=w&&w(w(A([])));U&&U!==n&&t.call(U,r)&&(_=U);var x=g.prototype=b.prototype=Object.create(_);function q(e){["next","throw","return"].forEach((function(l){c(e,l,(function(e){return this._invoke(l,e)}))}))}function k(e,l){function u(n,a,o,r){var i=s(e[n],e,a);if("throw"!==i.type){var d=i.arg,c=d.value;return c&&"object"==typeof c&&t.call(c,"__await")?l.resolve(c.__await).then((function(e){u("next",e,o,r)}),(function(e){u("throw",e,o,r)})):l.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return u("throw",e,o,r)}))}r(i.arg)}var n;a(this,"_invoke",{value:function(e,t){function a(){return new l((function(l,n){u(e,t,l,n)}))}return n=n?n.then(a,a):a()}})}function E(e,u,n){var t=f;return function(a,o){if(t===v)throw Error("Generator is already running");if(t===V){if("throw"===a)throw o;return{value:l,done:!0}}for(n.method=a,n.arg=o;;){var r=n.delegate;if(r){var i=j(r,n);if(i){if(i===y)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(t===f)throw t=V,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);t=v;var d=s(e,u,n);if("normal"===d.type){if(t=n.done?V:p,d.arg===y)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(t=V,n.method="throw",n.arg=d.arg)}}}function j(e,u){var n=u.method,t=e.iterator[n];if(t===l)return u.delegate=null,"throw"===n&&e.iterator.return&&(u.method="return",u.arg=l,j(e,u),"throw"===u.method)||"return"!==n&&(u.method="throw",u.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=s(t,e.iterator,u.arg);if("throw"===a.type)return u.method="throw",u.arg=a.arg,u.delegate=null,y;var o=a.arg;return o?o.done?(u[e.resultName]=o.value,u.next=e.nextLoc,"return"!==u.method&&(u.method="next",u.arg=l),u.delegate=null,y):o:(u.method="throw",u.arg=new TypeError("iterator result is not an object"),u.delegate=null,y)}function B(e){var l={tryLoc:e[0]};1 in e&&(l.catchLoc=e[1]),2 in e&&(l.finallyLoc=e[2],l.afterLoc=e[3]),this.tryEntries.push(l)}function C(e){var l=e.completion||{};l.type="normal",delete l.arg,e.completion=l}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function A(e){if(e||""===e){var u=e[r];if(u)return u.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function u(){for(;++n=0;--a){var o=this.tryEntries[a],r=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var i=t.call(o,"catchLoc"),d=t.call(o,"finallyLoc");if(i&&d){if(this.prev=0;--u){var n=this.tryEntries[u];if(n.tryLoc<=this.prev&&t.call(n,"finallyLoc")&&this.prev=0;--l){var u=this.tryEntries[l];if(u.finallyLoc===e)return this.complete(u.completion,u.afterLoc),C(u),y}},catch:function(e){for(var l=this.tryEntries.length-1;l>=0;--l){var u=this.tryEntries[l];if(u.tryLoc===e){var n=u.completion;if("throw"===n.type){var t=n.arg;C(u)}return t}}throw Error("illegal catch attempt")},delegateYield:function(e,u,n){return this.delegate={iterator:A(e),resultName:u,nextLoc:n},"next"===this.method&&(this.arg=l),y}},u}function l(e,l,u,n,t,a,o){try{var r=e[a](o),i=r.value}catch(e){return void u(e)}r.done?l(i):Promise.resolve(i).then(n,t)}function u(e){return function(){var u=this,n=arguments;return new Promise((function(t,a){var o=e.apply(u,n);function r(e){l(o,t,a,r,i,"next",e)}function i(e){l(o,t,a,r,i,"throw",e)}r(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0collapse-item-legacy.js","./087AC4D233B64EB0switch-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0input-number-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0system-legacy2.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0index-legacy30.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0index-legacy21.js"],(function(l,n){"use strict";var t,a,o,r,i,d,c,m,s,f,p,v,V,y,b,h,g,_,w,U,x,q,k,E,j,B,C,z;return{setters:[function(e){t=e.s,a=e.r,o=e.a,r=e.o,i=e.c,d=e.e,c=e.w,m=e.g,s=e.K,f=e.L,p=e.h,v=e.f,V=e.b,y=e.j,b=e.k,h=e.E},function(e){g=e.a,_=e.E},function(e){w=e.E,U=e.a},function(e){x=e.E},null,null,null,null,function(e){q=e.E},function(e){k=e.E},null,function(e){E=e.E,j=e.a},null,function(e){B=e.a,C=e.s},function(e){z=e.a},null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n=document.createElement("style");n.textContent=".system{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:2.25rem}.system h2{margin-top:.625rem;margin-bottom:.625rem;padding:.625rem;font-size:1.125rem;line-height:1.75rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}\n",document.head.appendChild(n);var A={class:"system"},D={class:"mt-4"};l("default",Object.assign({name:"Config"},{__name:"system",setup:function(l){var n=a([]),L=o({system:{"iplimit-count":0,"iplimit-time":0},jwt:{},mysql:{},pgsql:{},excel:{},autocode:{},redis:{},mongo:{coll:"",options:"",database:"",username:"",password:"","min-pool-size":"","max-pool-size":"","socket-timeout-ms":"","connect-timeout-ms":"","is-zap":"",hosts:[{host:"",port:""}]},qiniu:{},"tencent-cos":{},"aliyun-oss":{},"hua-wei-obs":{},captcha:{},zap:{},local:{},email:{},timer:{detail:{}}}),O=function(){var l=u(e().mark((function l(){var u;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B();case 2:0===(u=e.sent).code&&(L.value=u.data.config);case 4:case"end":return e.stop()}}),l)})));return function(){return l.apply(this,arguments)}}();O();var S=function(){},M=function(){var l=u(e().mark((function l(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C({config:L.value});case 2:if(0!==e.sent.code){e.next=7;break}return y({type:"success",message:"配置文件设置成功"}),e.next=7,O();case 7:case"end":return e.stop()}}),l)})));return function(){return l.apply(this,arguments)}}(),T=function(){var l=u(e().mark((function l(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({url:"/email/emailTest",method:"post",data:void 0});case 2:if(0!==e.sent.code){e.next=9;break}return y({type:"success",message:"邮件发送成功"}),e.next=7,O();case 7:e.next=10;break;case 9:y({type:"error",message:"邮件发送失败"});case 10:case"end":return e.stop()}}),l)})));return function(){return l.apply(this,arguments)}}();return function(e,l){var u=E,t=j,a=g,o=b,y=k,B=q,C=z,O=w,N=h,I=x,P=U,G=_;return r(),i("div",A,[d(G,{ref:"form",model:L.value,"label-width":"240px"},{default:c((function(){return[d(P,{modelValue:n,"onUpdate:modelValue":l[107]||(l[107]=function(e){return function(e){throw new TypeError('"'+e+'" is read-only')}("activeNames")})},{default:c((function(){return[d(O,{title:"系统配置",name:"1"},{default:c((function(){return[d(a,{label:"环境值"},{default:c((function(){return[d(t,{modelValue:L.value.system.env,"onUpdate:modelValue":l[0]||(l[0]=function(e){return L.value.system.env=e}),style:{width:"100%"}},{default:c((function(){return[d(u,{value:"public"}),d(u,{value:"develop"})]})),_:1},8,["modelValue"])]})),_:1}),d(a,{label:"端口值"},{default:c((function(){return[d(o,{modelValue:L.value.system.addr,"onUpdate:modelValue":l[1]||(l[1]=function(e){return L.value.system.addr=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"数据库类型"},{default:c((function(){return[d(t,{modelValue:L.value.system["db-type"],"onUpdate:modelValue":l[2]||(l[2]=function(e){return L.value.system["db-type"]=e}),style:{width:"100%"}},{default:c((function(){return[d(u,{value:"mysql"}),d(u,{value:"pgsql"})]})),_:1},8,["modelValue"])]})),_:1}),d(a,{label:"Oss类型"},{default:c((function(){return[d(t,{modelValue:L.value.system["oss-type"],"onUpdate:modelValue":l[3]||(l[3]=function(e){return L.value.system["oss-type"]=e}),style:{width:"100%"}},{default:c((function(){return[d(u,{value:"local"}),d(u,{value:"qiniu"}),d(u,{value:"tencent-cos"}),d(u,{value:"aliyun-oss"}),d(u,{value:"huawei-obs"})]})),_:1},8,["modelValue"])]})),_:1}),d(a,{label:"多点登录拦截"},{default:c((function(){return[d(y,{modelValue:L.value.system["use-multipoint"],"onUpdate:modelValue":l[4]||(l[4]=function(e){return L.value.system["use-multipoint"]=e})},{default:c((function(){return l[108]||(l[108]=[m("开启")])})),_:1},8,["modelValue"])]})),_:1}),d(a,{label:"开启redis"},{default:c((function(){return[d(y,{modelValue:L.value.system["use-redis"],"onUpdate:modelValue":l[5]||(l[5]=function(e){return L.value.system["use-redis"]=e})},{default:c((function(){return l[109]||(l[109]=[m("开启")])})),_:1},8,["modelValue"])]})),_:1}),d(a,{label:"限流次数"},{default:c((function(){return[d(B,{modelValue:L.value.system["iplimit-count"],"onUpdate:modelValue":l[6]||(l[6]=function(e){return L.value.system["iplimit-count"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"限流时间"},{default:c((function(){return[d(B,{modelValue:L.value.system["iplimit-time"],"onUpdate:modelValue":l[7]||(l[7]=function(e){return L.value.system["iplimit-time"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(C,{content:"请修改完成后,注意一并修改前端env环境下的VITE_BASE_PATH",placement:"top-start"},{default:c((function(){return[d(a,{label:"全局路由前缀"},{default:c((function(){return[d(o,{modelValue:L.value.system["router-prefix"],"onUpdate:modelValue":l[8]||(l[8]=function(e){return L.value.system["router-prefix"]=e})},null,8,["modelValue"])]})),_:1})]})),_:1})]})),_:1}),d(O,{title:"jwt签名",name:"2"},{default:c((function(){return[d(a,{label:"jwt签名"},{default:c((function(){return[d(o,{modelValue:L.value.jwt["signing-key"],"onUpdate:modelValue":l[9]||(l[9]=function(e){return L.value.jwt["signing-key"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"有效期"},{default:c((function(){return[d(o,{modelValue:L.value.jwt["expires-time"],"onUpdate:modelValue":l[10]||(l[10]=function(e){return L.value.jwt["expires-time"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"缓冲期"},{default:c((function(){return[d(o,{modelValue:L.value.jwt["buffer-time"],"onUpdate:modelValue":l[11]||(l[11]=function(e){return L.value.jwt["buffer-time"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"签发者"},{default:c((function(){return[d(o,{modelValue:L.value.jwt.issuer,"onUpdate:modelValue":l[12]||(l[12]=function(e){return L.value.jwt.issuer=e})},null,8,["modelValue"])]})),_:1})]})),_:1}),d(O,{title:"Zap日志配置",name:"3"},{default:c((function(){return[d(a,{label:"级别"},{default:c((function(){return[d(o,{modelValue:L.value.zap.level,"onUpdate:modelValue":l[13]||(l[13]=function(e){return L.value.zap.level=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"输出"},{default:c((function(){return[d(o,{modelValue:L.value.zap.format,"onUpdate:modelValue":l[14]||(l[14]=function(e){return L.value.zap.format=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"日志前缀"},{default:c((function(){return[d(o,{modelValue:L.value.zap.prefix,"onUpdate:modelValue":l[15]||(l[15]=function(e){return L.value.zap.prefix=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"日志文件夹"},{default:c((function(){return[d(o,{modelValue:L.value.zap.director,"onUpdate:modelValue":l[16]||(l[16]=function(e){return L.value.zap.director=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"编码级"},{default:c((function(){return[d(o,{modelValue:L.value.zap["encode-level"],"onUpdate:modelValue":l[17]||(l[17]=function(e){return L.value.zap["encode-level"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"栈名"},{default:c((function(){return[d(o,{modelValue:L.value.zap["stacktrace-key"],"onUpdate:modelValue":l[18]||(l[18]=function(e){return L.value.zap["stacktrace-key"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"日志留存时间(默认以天为单位)"},{default:c((function(){return[d(o,{modelValue:L.value.zap["max-age"],"onUpdate:modelValue":l[19]||(l[19]=function(e){return L.value.zap["max-age"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"显示行"},{default:c((function(){return[d(y,{modelValue:L.value.zap["show-line"],"onUpdate:modelValue":l[20]||(l[20]=function(e){return L.value.zap["show-line"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"输出控制台"},{default:c((function(){return[d(y,{modelValue:L.value.zap["log-in-console"],"onUpdate:modelValue":l[21]||(l[21]=function(e){return L.value.zap["log-in-console"]=e})},null,8,["modelValue"])]})),_:1})]})),_:1}),d(O,{title:"Redis admin数据库配置",name:"4"},{default:c((function(){return[d(a,{label:"库"},{default:c((function(){return[d(o,{modelValue:L.value.redis.db,"onUpdate:modelValue":l[22]||(l[22]=function(e){return L.value.redis.db=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"地址"},{default:c((function(){return[d(o,{modelValue:L.value.redis.addr,"onUpdate:modelValue":l[23]||(l[23]=function(e){return L.value.redis.addr=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"密码"},{default:c((function(){return[d(o,{modelValue:L.value.redis.password,"onUpdate:modelValue":l[24]||(l[24]=function(e){return L.value.redis.password=e})},null,8,["modelValue"])]})),_:1})]})),_:1}),d(O,{title:"Mongo 数据库配置",name:"14"},{default:c((function(){return[d(a,{label:"collection name(表名,一般不写)"},{default:c((function(){return[d(o,{modelValue:L.value.mongo.coll,"onUpdate:modelValue":l[25]||(l[25]=function(e){return L.value.mongo.coll=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"mongodb options"},{default:c((function(){return[d(o,{modelValue:L.value.mongo.options,"onUpdate:modelValue":l[26]||(l[26]=function(e){return L.value.mongo.options=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"database name(数据库名)"},{default:c((function(){return[d(o,{modelValue:L.value.mongo.database,"onUpdate:modelValue":l[27]||(l[27]=function(e){return L.value.mongo.database=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"用户名"},{default:c((function(){return[d(o,{modelValue:L.value.mongo.username,"onUpdate:modelValue":l[28]||(l[28]=function(e){return L.value.mongo.username=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"密码"},{default:c((function(){return[d(o,{modelValue:L.value.mongo.password,"onUpdate:modelValue":l[29]||(l[29]=function(e){return L.value.mongo.password=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"最小连接池"},{default:c((function(){return[d(o,{modelValue:L.value.mongo["min-pool-size"],"onUpdate:modelValue":l[30]||(l[30]=function(e){return L.value.mongo["min-pool-size"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"最大连接池"},{default:c((function(){return[d(o,{modelValue:L.value.mongo["max-pool-size"],"onUpdate:modelValue":l[31]||(l[31]=function(e){return L.value.mongo["max-pool-size"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"socket超时时间"},{default:c((function(){return[d(o,{modelValue:L.value.mongo["socket-timeout-ms"],"onUpdate:modelValue":l[32]||(l[32]=function(e){return L.value.mongo["socket-timeout-ms"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"连接超时时间"},{default:c((function(){return[d(o,{modelValue:L.value.mongo["socket-timeout-ms"],"onUpdate:modelValue":l[33]||(l[33]=function(e){return L.value.mongo["socket-timeout-ms"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"是否开启zap日志"},{default:c((function(){return[d(y,{modelValue:L.value.mongo["is-zap"],"onUpdate:modelValue":l[34]||(l[34]=function(e){return L.value.mongo["is-zap"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"hosts"},{default:c((function(){return[(r(!0),i(s,null,f(L.value.mongo.hosts,(function(e,l){return r(),i(s,null,[(r(!0),i(s,null,f(e,(function(u,n){return r(),i("div",{key:n},[(r(),p(a,{key:l+n,label:n},{default:c((function(){return[d(o,{modelValue:e[n],"onUpdate:modelValue":function(l){return e[n]=l}},null,8,["modelValue","onUpdate:modelValue"])]})),_:2},1032,["label"]))])})),128))],64)})),256))]})),_:1})]})),_:1}),d(O,{title:"邮箱配置",name:"5"},{default:c((function(){return[d(a,{label:"接收者邮箱"},{default:c((function(){return[d(o,{modelValue:L.value.email.to,"onUpdate:modelValue":l[35]||(l[35]=function(e){return L.value.email.to=e}),placeholder:"可多个,以逗号分隔"},null,8,["modelValue"])]})),_:1}),d(a,{label:"端口"},{default:c((function(){return[d(o,{modelValue:L.value.email.port,"onUpdate:modelValue":l[36]||(l[36]=function(e){return L.value.email.port=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"发送者邮箱"},{default:c((function(){return[d(o,{modelValue:L.value.email.from,"onUpdate:modelValue":l[37]||(l[37]=function(e){return L.value.email.from=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"host"},{default:c((function(){return[d(o,{modelValue:L.value.email.host,"onUpdate:modelValue":l[38]||(l[38]=function(e){return L.value.email.host=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"是否为ssl"},{default:c((function(){return[d(y,{modelValue:L.value.email["is-ssl"],"onUpdate:modelValue":l[39]||(l[39]=function(e){return L.value.email["is-ssl"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"secret"},{default:c((function(){return[d(o,{modelValue:L.value.email.secret,"onUpdate:modelValue":l[40]||(l[40]=function(e){return L.value.email.secret=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"测试邮件"},{default:c((function(){return[d(N,{onClick:T},{default:c((function(){return l[110]||(l[110]=[m("测试邮件")])})),_:1})]})),_:1})]})),_:1}),d(O,{title:"验证码配置",name:"7"},{default:c((function(){return[d(a,{label:"字符长度"},{default:c((function(){return[d(o,{modelValue:L.value.captcha["key-long"],"onUpdate:modelValue":l[41]||(l[41]=function(e){return L.value.captcha["key-long"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"图片宽度"},{default:c((function(){return[d(o,{modelValue:L.value.captcha["img-width"],"onUpdate:modelValue":l[42]||(l[42]=function(e){return L.value.captcha["img-width"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"图片高度"},{default:c((function(){return[d(o,{modelValue:L.value.captcha["img-height"],"onUpdate:modelValue":l[43]||(l[43]=function(e){return L.value.captcha["img-height"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1})]})),_:1}),d(O,{title:"数据库配置",name:"9"},{default:c((function(){return["mysql"===L.value.system["db-type"]?(r(),i(s,{key:0},[d(a,{label:"用户名"},{default:c((function(){return[d(o,{modelValue:L.value.mysql.username,"onUpdate:modelValue":l[44]||(l[44]=function(e){return L.value.mysql.username=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"密码"},{default:c((function(){return[d(o,{modelValue:L.value.mysql.password,"onUpdate:modelValue":l[45]||(l[45]=function(e){return L.value.mysql.password=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"地址"},{default:c((function(){return[d(o,{modelValue:L.value.mysql.path,"onUpdate:modelValue":l[46]||(l[46]=function(e){return L.value.mysql.path=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"数据库"},{default:c((function(){return[d(o,{modelValue:L.value.mysql["db-name"],"onUpdate:modelValue":l[47]||(l[47]=function(e){return L.value.mysql["db-name"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"前缀"},{default:c((function(){return[d(o,{modelValue:L.value.mysql.refix,"onUpdate:modelValue":l[48]||(l[48]=function(e){return L.value.mysql.refix=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"复数表"},{default:c((function(){return[d(I,{modelValue:L.value.mysql.singular,"onUpdate:modelValue":l[49]||(l[49]=function(e){return L.value.mysql.singular=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"引擎"},{default:c((function(){return[d(o,{modelValue:L.value.mysql.engine,"onUpdate:modelValue":l[50]||(l[50]=function(e){return L.value.mysql.engine=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"maxIdleConns"},{default:c((function(){return[d(o,{modelValue:L.value.mysql["max-idle-conns"],"onUpdate:modelValue":l[51]||(l[51]=function(e){return L.value.mysql["max-idle-conns"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"maxOpenConns"},{default:c((function(){return[d(o,{modelValue:L.value.mysql["max-open-conns"],"onUpdate:modelValue":l[52]||(l[52]=function(e){return L.value.mysql["max-open-conns"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"写入日志"},{default:c((function(){return[d(y,{modelValue:L.value.mysql["log-zap"],"onUpdate:modelValue":l[53]||(l[53]=function(e){return L.value.mysql["log-zap"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"日志模式"},{default:c((function(){return[d(o,{modelValue:L.value.mysql["log-mode"],"onUpdate:modelValue":l[54]||(l[54]=function(e){return L.value.mysql["log-mode"]=e})},null,8,["modelValue"])]})),_:1})],64)):v("",!0),"pgsql"===L.value.system["db-type"]?(r(),i(s,{key:1},[d(a,{label:"用户名"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql.username,"onUpdate:modelValue":l[55]||(l[55]=function(e){return L.value.pgsql.username=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"密码"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql.password,"onUpdate:modelValue":l[56]||(l[56]=function(e){return L.value.pgsql.password=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"地址"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql.path,"onUpdate:modelValue":l[57]||(l[57]=function(e){return L.value.pgsql.path=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"数据库"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql.dbname,"onUpdate:modelValue":l[58]||(l[58]=function(e){return L.value.pgsql.dbname=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"前缀"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql.refix,"onUpdate:modelValue":l[59]||(l[59]=function(e){return L.value.pgsql.refix=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"复数表"},{default:c((function(){return[d(I,{modelValue:L.value.pgsql.singular,"onUpdate:modelValue":l[60]||(l[60]=function(e){return L.value.pgsql.singular=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"引擎"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql.engine,"onUpdate:modelValue":l[61]||(l[61]=function(e){return L.value.pgsql.engine=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"maxIdleConns"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql["max-idle-conns"],"onUpdate:modelValue":l[62]||(l[62]=function(e){return L.value.pgsql["max-idle-conns"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"maxOpenConns"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql["max-open-conns"],"onUpdate:modelValue":l[63]||(l[63]=function(e){return L.value.pgsql["max-open-conns"]=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1}),d(a,{label:"写入日志"},{default:c((function(){return[d(y,{modelValue:L.value.pgsql["log-zap"],"onUpdate:modelValue":l[64]||(l[64]=function(e){return L.value.pgsql["log-zap"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"日志模式"},{default:c((function(){return[d(o,{modelValue:L.value.pgsql["log-mode"],"onUpdate:modelValue":l[65]||(l[65]=function(e){return L.value.pgsql["log-mode"]=e})},null,8,["modelValue"])]})),_:1})],64)):v("",!0)]})),_:1}),d(O,{title:"oss配置",name:"10"},{default:c((function(){return["local"===L.value.system["oss-type"]?(r(),i(s,{key:0},[l[111]||(l[111]=V("h2",null,"本地文件配置",-1)),d(a,{label:"本地文件访问路径"},{default:c((function(){return[d(o,{modelValue:L.value.local.path,"onUpdate:modelValue":l[66]||(l[66]=function(e){return L.value.local.path=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"本地文件存储路径"},{default:c((function(){return[d(o,{modelValue:L.value.local["store-path"],"onUpdate:modelValue":l[67]||(l[67]=function(e){return L.value.local["store-path"]=e})},null,8,["modelValue"])]})),_:1})],64)):v("",!0),"qiniu"===L.value.system["oss-type"]?(r(),i(s,{key:1},[l[114]||(l[114]=V("h2",null,"qiniu上传配置",-1)),d(a,{label:"存储区域"},{default:c((function(){return[d(o,{modelValue:L.value.qiniu.zone,"onUpdate:modelValue":l[68]||(l[68]=function(e){return L.value.qiniu.zone=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"空间名称"},{default:c((function(){return[d(o,{modelValue:L.value.qiniu.bucket,"onUpdate:modelValue":l[69]||(l[69]=function(e){return L.value.qiniu.bucket=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"CDN加速域名"},{default:c((function(){return[d(o,{modelValue:L.value.qiniu["img-path"],"onUpdate:modelValue":l[70]||(l[70]=function(e){return L.value.qiniu["img-path"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"是否使用https"},{default:c((function(){return[d(y,{modelValue:L.value.qiniu["use-https"],"onUpdate:modelValue":l[71]||(l[71]=function(e){return L.value.qiniu["use-https"]=e})},{default:c((function(){return l[112]||(l[112]=[m("开启")])})),_:1},8,["modelValue"])]})),_:1}),d(a,{label:"accessKey"},{default:c((function(){return[d(o,{modelValue:L.value.qiniu["access-key"],"onUpdate:modelValue":l[72]||(l[72]=function(e){return L.value.qiniu["access-key"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"secretKey"},{default:c((function(){return[d(o,{modelValue:L.value.qiniu["secret-key"],"onUpdate:modelValue":l[73]||(l[73]=function(e){return L.value.qiniu["secret-key"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"上传是否使用CDN上传加速"},{default:c((function(){return[d(y,{modelValue:L.value.qiniu["use-cdn-domains"],"onUpdate:modelValue":l[74]||(l[74]=function(e){return L.value.qiniu["use-cdn-domains"]=e})},{default:c((function(){return l[113]||(l[113]=[m("开启")])})),_:1},8,["modelValue"])]})),_:1})],64)):v("",!0),"tencent-cos"===L.value.system["oss-type"]?(r(),i(s,{key:2},[l[115]||(l[115]=V("h2",null,"腾讯云COS上传配置",-1)),d(a,{label:"存储桶名称"},{default:c((function(){return[d(o,{modelValue:L.value["tencent-cos"].bucket,"onUpdate:modelValue":l[75]||(l[75]=function(e){return L.value["tencent-cos"].bucket=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"所属地域"},{default:c((function(){return[d(o,{modelValue:L.value["tencent-cos"].region,"onUpdate:modelValue":l[76]||(l[76]=function(e){return L.value["tencent-cos"].region=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"secretID"},{default:c((function(){return[d(o,{modelValue:L.value["tencent-cos"]["secret-id"],"onUpdate:modelValue":l[77]||(l[77]=function(e){return L.value["tencent-cos"]["secret-id"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"secretKey"},{default:c((function(){return[d(o,{modelValue:L.value["tencent-cos"]["secret-key"],"onUpdate:modelValue":l[78]||(l[78]=function(e){return L.value["tencent-cos"]["secret-key"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"路径前缀"},{default:c((function(){return[d(o,{modelValue:L.value["tencent-cos"]["path-prefix"],"onUpdate:modelValue":l[79]||(l[79]=function(e){return L.value["tencent-cos"]["path-prefix"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"访问域名"},{default:c((function(){return[d(o,{modelValue:L.value["tencent-cos"]["base-url"],"onUpdate:modelValue":l[80]||(l[80]=function(e){return L.value["tencent-cos"]["base-url"]=e})},null,8,["modelValue"])]})),_:1})],64)):v("",!0),"aliyun-oss"===L.value.system["oss-type"]?(r(),i(s,{key:3},[l[116]||(l[116]=V("h2",null,"阿里云OSS上传配置",-1)),d(a,{label:"区域"},{default:c((function(){return[d(o,{modelValue:L.value["aliyun-oss"].endpoint,"onUpdate:modelValue":l[81]||(l[81]=function(e){return L.value["aliyun-oss"].endpoint=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"accessKeyId"},{default:c((function(){return[d(o,{modelValue:L.value["aliyun-oss"]["access-key-id"],"onUpdate:modelValue":l[82]||(l[82]=function(e){return L.value["aliyun-oss"]["access-key-id"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"accessKeySecret"},{default:c((function(){return[d(o,{modelValue:L.value["aliyun-oss"]["access-key-secret"],"onUpdate:modelValue":l[83]||(l[83]=function(e){return L.value["aliyun-oss"]["access-key-secret"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"存储桶名称"},{default:c((function(){return[d(o,{modelValue:L.value["aliyun-oss"]["bucket-name"],"onUpdate:modelValue":l[84]||(l[84]=function(e){return L.value["aliyun-oss"]["bucket-name"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"访问域名"},{default:c((function(){return[d(o,{modelValue:L.value["aliyun-oss"]["bucket-url"],"onUpdate:modelValue":l[85]||(l[85]=function(e){return L.value["aliyun-oss"]["bucket-url"]=e})},null,8,["modelValue"])]})),_:1})],64)):v("",!0),"huawei-obs"===L.value.system["oss-type"]?(r(),i(s,{key:4},[l[117]||(l[117]=V("h2",null,"华为云Obs上传配置",-1)),d(a,{label:"路径"},{default:c((function(){return[d(o,{modelValue:L.value["hua-wei-obs"].path,"onUpdate:modelValue":l[86]||(l[86]=function(e){return L.value["hua-wei-obs"].path=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"存储桶名称"},{default:c((function(){return[d(o,{modelValue:L.value["hua-wei-obs"].bucket,"onUpdate:modelValue":l[87]||(l[87]=function(e){return L.value["hua-wei-obs"].bucket=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"区域"},{default:c((function(){return[d(o,{modelValue:L.value["hua-wei-obs"].endpoint,"onUpdate:modelValue":l[88]||(l[88]=function(e){return L.value["hua-wei-obs"].endpoint=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"accessKey"},{default:c((function(){return[d(o,{modelValue:L.value["hua-wei-obs"]["access-key"],"onUpdate:modelValue":l[89]||(l[89]=function(e){return L.value["hua-wei-obs"]["access-key"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"secretKey"},{default:c((function(){return[d(o,{modelValue:L.value["hua-wei-obs"]["secret-key"],"onUpdate:modelValue":l[90]||(l[90]=function(e){return L.value["hua-wei-obs"]["secret-key"]=e})},null,8,["modelValue"])]})),_:1})],64)):v("",!0)]})),_:1}),d(O,{title:"Excel上传配置",name:"11"},{default:c((function(){return[d(a,{label:"合成目标地址"},{default:c((function(){return[d(o,{modelValue:L.value.excel.dir,"onUpdate:modelValue":l[91]||(l[91]=function(e){return L.value.excel.dir=e})},null,8,["modelValue"])]})),_:1})]})),_:1}),d(O,{title:"自动化代码配置",name:"12"},{default:c((function(){return[d(a,{label:"是否自动重启(linux)"},{default:c((function(){return[d(y,{modelValue:L.value.autocode["transfer-restart"],"onUpdate:modelValue":l[92]||(l[92]=function(e){return L.value.autocode["transfer-restart"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"root(项目根路径)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode.root,"onUpdate:modelValue":l[93]||(l[93]=function(e){return L.value.autocode.root=e}),disabled:""},null,8,["modelValue"])]})),_:1}),d(a,{label:"Server(后端代码地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["transfer-restart"],"onUpdate:modelValue":l[94]||(l[94]=function(e){return L.value.autocode["transfer-restart"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"SApi(后端api文件夹地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["server-api"],"onUpdate:modelValue":l[95]||(l[95]=function(e){return L.value.autocode["server-api"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"SInitialize(后端Initialize文件夹)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["server-initialize"],"onUpdate:modelValue":l[96]||(l[96]=function(e){return L.value.autocode["server-initialize"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"SModel(后端Model文件地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["server-model"],"onUpdate:modelValue":l[97]||(l[97]=function(e){return L.value.autocode["server-model"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"SRequest(后端Request文件夹地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["server-request"],"onUpdate:modelValue":l[98]||(l[98]=function(e){return L.value.autocode["server-request"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"SRouter(后端Router文件夹地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["server-router"],"onUpdate:modelValue":l[99]||(l[99]=function(e){return L.value.autocode["server-router"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"SService(后端Service文件夹地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["server-service"],"onUpdate:modelValue":l[100]||(l[100]=function(e){return L.value.autocode["server-service"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"Web(前端文件夹地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode.web,"onUpdate:modelValue":l[101]||(l[101]=function(e){return L.value.autocode.web=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"WApi(后端WApi文件夹地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["web-api"],"onUpdate:modelValue":l[102]||(l[102]=function(e){return L.value.autocode["web-api"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"WForm(后端WForm文件夹地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["web-form"],"onUpdate:modelValue":l[103]||(l[103]=function(e){return L.value.autocode["web-form"]=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"WTable(后端WTable文件夹地址)"},{default:c((function(){return[d(o,{modelValue:L.value.autocode["web-table"],"onUpdate:modelValue":l[104]||(l[104]=function(e){return L.value.autocode["web-table"]=e})},null,8,["modelValue"])]})),_:1})]})),_:1}),d(O,{title:"Timer(定时任务)",name:"13"},{default:c((function(){return[d(a,{label:"Start(是否启用)"},{default:c((function(){return[d(y,{modelValue:L.value.timer.start,"onUpdate:modelValue":l[105]||(l[105]=function(e){return L.value.timer.start=e})},null,8,["modelValue"])]})),_:1}),d(a,{label:"Spec(CRON表达式)"},{default:c((function(){return[d(o,{modelValue:L.value.timer.spec,"onUpdate:modelValue":l[106]||(l[106]=function(e){return L.value.timer.spec=e})},null,8,["modelValue"])]})),_:1}),(r(!0),i(s,null,f(L.value.timer.detail,(function(e,l){return r(),i(s,null,[(r(!0),i(s,null,f(e,(function(u,n){return r(),i("div",{key:n},[(r(),p(a,{key:l+n,label:n},{default:c((function(){return[d(o,{modelValue:e[n],"onUpdate:modelValue":function(l){return e[n]=l}},null,8,["modelValue","onUpdate:modelValue"])]})),_:2},1032,["label"]))])})),128))],64)})),256))]})),_:1})]})),_:1},8,["modelValue"])]})),_:1},8,["model"]),V("div",D,[d(N,{type:"primary",onClick:M},{default:c((function(){return l[118]||(l[118]=[m("立即更新")])})),_:1}),d(N,{type:"primary",onClick:S},{default:c((function(){return l[119]||(l[119]=[m("重启服务(开发中)")])})),_:1})])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system-legacy2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system-legacy2.js new file mode 100644 index 000000000..f1852197b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system-legacy2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(t,e){"use strict";var n;return{setters:[function(t){n=t.s}],execute:function(){t("a",(function(){return n({url:"/system/getSystemConfig",method:"post"})})),t("s",(function(t){return n({url:"/system/setSystemConfig",method:"post",data:t})})),t("g",(function(){return n({url:"/system/getServerInfo",method:"post",donNotShowLoading:!0})}))}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system.css new file mode 100644 index 000000000..d4a7bc79f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.system{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:2.25rem}.system h2{margin-top:.625rem;margin-bottom:.625rem;padding:.625rem;font-size:1.125rem;line-height:1.75rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system.js new file mode 100644 index 000000000..5eb276808 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as e,r as l,a,o as u,c as o,e as d,w as t,g as m,K as s,L as n,h as i,f as V,b as p,j as v,k as r,E as c}from"./087AC4D233B64EB0index.js";import{a as b,E as f}from"./087AC4D233B64EB0form-item.js";import{E as _,a as y}from"./087AC4D233B64EB0collapse-item.js";import{E as U}from"./087AC4D233B64EB0switch.js";/* empty css *//* empty css *//* empty css *//* empty css */import{E as g}from"./087AC4D233B64EB0input-number.js";import{E as q}from"./087AC4D233B64EB0checkbox.js";import"./087AC4D233B64EB0tag.js";import{E as h,a as w}from"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";import{a as k,s as B}from"./087AC4D233B64EB0system2.js";import{a as x}from"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0index30.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index22.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0index21.js";const j={class:"system"},C={class:"mt-4"},z=Object.assign({name:"Config"},{__name:"system",setup(z){const E=l([]),A=a({system:{"iplimit-count":0,"iplimit-time":0},jwt:{},mysql:{},pgsql:{},excel:{},autocode:{},redis:{},mongo:{coll:"",options:"",database:"",username:"",password:"","min-pool-size":"","max-pool-size":"","socket-timeout-ms":"","connect-timeout-ms":"","is-zap":"",hosts:[{host:"",port:""}]},qiniu:{},"tencent-cos":{},"aliyun-oss":{},"hua-wei-obs":{},captcha:{},zap:{},local:{},email:{},timer:{detail:{}}}),D=async()=>{const e=await k();0===e.code&&(A.value=e.data.config)};D();const M=()=>{},S=async()=>{0===(await B({config:A.value})).code&&(v({type:"success",message:"配置文件设置成功"}),await D())},O=async()=>{var l;0===(await e({url:"/email/emailTest",method:"post",data:l})).code?(v({type:"success",message:"邮件发送成功"}),await D()):v({type:"error",message:"邮件发送失败"})};return(e,l)=>{const a=h,v=w,k=b,B=r,z=q,D=g,K=x,I=_,W=c,R=U,T=y,N=f;return u(),o("div",j,[d(N,{ref:"form",model:A.value,"label-width":"240px"},{default:t((()=>[d(T,{modelValue:E,"onUpdate:modelValue":l[107]||(l[107]=e=>E=e)},{default:t((()=>[d(I,{title:"系统配置",name:"1"},{default:t((()=>[d(k,{label:"环境值"},{default:t((()=>[d(v,{modelValue:A.value.system.env,"onUpdate:modelValue":l[0]||(l[0]=e=>A.value.system.env=e),style:{width:"100%"}},{default:t((()=>[d(a,{value:"public"}),d(a,{value:"develop"})])),_:1},8,["modelValue"])])),_:1}),d(k,{label:"端口值"},{default:t((()=>[d(B,{modelValue:A.value.system.addr,"onUpdate:modelValue":l[1]||(l[1]=e=>A.value.system.addr=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"数据库类型"},{default:t((()=>[d(v,{modelValue:A.value.system["db-type"],"onUpdate:modelValue":l[2]||(l[2]=e=>A.value.system["db-type"]=e),style:{width:"100%"}},{default:t((()=>[d(a,{value:"mysql"}),d(a,{value:"pgsql"})])),_:1},8,["modelValue"])])),_:1}),d(k,{label:"Oss类型"},{default:t((()=>[d(v,{modelValue:A.value.system["oss-type"],"onUpdate:modelValue":l[3]||(l[3]=e=>A.value.system["oss-type"]=e),style:{width:"100%"}},{default:t((()=>[d(a,{value:"local"}),d(a,{value:"qiniu"}),d(a,{value:"tencent-cos"}),d(a,{value:"aliyun-oss"}),d(a,{value:"huawei-obs"})])),_:1},8,["modelValue"])])),_:1}),d(k,{label:"多点登录拦截"},{default:t((()=>[d(z,{modelValue:A.value.system["use-multipoint"],"onUpdate:modelValue":l[4]||(l[4]=e=>A.value.system["use-multipoint"]=e)},{default:t((()=>l[108]||(l[108]=[m("开启")]))),_:1},8,["modelValue"])])),_:1}),d(k,{label:"开启redis"},{default:t((()=>[d(z,{modelValue:A.value.system["use-redis"],"onUpdate:modelValue":l[5]||(l[5]=e=>A.value.system["use-redis"]=e)},{default:t((()=>l[109]||(l[109]=[m("开启")]))),_:1},8,["modelValue"])])),_:1}),d(k,{label:"限流次数"},{default:t((()=>[d(D,{modelValue:A.value.system["iplimit-count"],"onUpdate:modelValue":l[6]||(l[6]=e=>A.value.system["iplimit-count"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"限流时间"},{default:t((()=>[d(D,{modelValue:A.value.system["iplimit-time"],"onUpdate:modelValue":l[7]||(l[7]=e=>A.value.system["iplimit-time"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(K,{content:"请修改完成后,注意一并修改前端env环境下的VITE_BASE_PATH",placement:"top-start"},{default:t((()=>[d(k,{label:"全局路由前缀"},{default:t((()=>[d(B,{modelValue:A.value.system["router-prefix"],"onUpdate:modelValue":l[8]||(l[8]=e=>A.value.system["router-prefix"]=e)},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),d(I,{title:"jwt签名",name:"2"},{default:t((()=>[d(k,{label:"jwt签名"},{default:t((()=>[d(B,{modelValue:A.value.jwt["signing-key"],"onUpdate:modelValue":l[9]||(l[9]=e=>A.value.jwt["signing-key"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"有效期"},{default:t((()=>[d(B,{modelValue:A.value.jwt["expires-time"],"onUpdate:modelValue":l[10]||(l[10]=e=>A.value.jwt["expires-time"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"缓冲期"},{default:t((()=>[d(B,{modelValue:A.value.jwt["buffer-time"],"onUpdate:modelValue":l[11]||(l[11]=e=>A.value.jwt["buffer-time"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"签发者"},{default:t((()=>[d(B,{modelValue:A.value.jwt.issuer,"onUpdate:modelValue":l[12]||(l[12]=e=>A.value.jwt.issuer=e)},null,8,["modelValue"])])),_:1})])),_:1}),d(I,{title:"Zap日志配置",name:"3"},{default:t((()=>[d(k,{label:"级别"},{default:t((()=>[d(B,{modelValue:A.value.zap.level,"onUpdate:modelValue":l[13]||(l[13]=e=>A.value.zap.level=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"输出"},{default:t((()=>[d(B,{modelValue:A.value.zap.format,"onUpdate:modelValue":l[14]||(l[14]=e=>A.value.zap.format=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"日志前缀"},{default:t((()=>[d(B,{modelValue:A.value.zap.prefix,"onUpdate:modelValue":l[15]||(l[15]=e=>A.value.zap.prefix=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"日志文件夹"},{default:t((()=>[d(B,{modelValue:A.value.zap.director,"onUpdate:modelValue":l[16]||(l[16]=e=>A.value.zap.director=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"编码级"},{default:t((()=>[d(B,{modelValue:A.value.zap["encode-level"],"onUpdate:modelValue":l[17]||(l[17]=e=>A.value.zap["encode-level"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"栈名"},{default:t((()=>[d(B,{modelValue:A.value.zap["stacktrace-key"],"onUpdate:modelValue":l[18]||(l[18]=e=>A.value.zap["stacktrace-key"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"日志留存时间(默认以天为单位)"},{default:t((()=>[d(B,{modelValue:A.value.zap["max-age"],"onUpdate:modelValue":l[19]||(l[19]=e=>A.value.zap["max-age"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"显示行"},{default:t((()=>[d(z,{modelValue:A.value.zap["show-line"],"onUpdate:modelValue":l[20]||(l[20]=e=>A.value.zap["show-line"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"输出控制台"},{default:t((()=>[d(z,{modelValue:A.value.zap["log-in-console"],"onUpdate:modelValue":l[21]||(l[21]=e=>A.value.zap["log-in-console"]=e)},null,8,["modelValue"])])),_:1})])),_:1}),d(I,{title:"Redis admin数据库配置",name:"4"},{default:t((()=>[d(k,{label:"库"},{default:t((()=>[d(B,{modelValue:A.value.redis.db,"onUpdate:modelValue":l[22]||(l[22]=e=>A.value.redis.db=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"地址"},{default:t((()=>[d(B,{modelValue:A.value.redis.addr,"onUpdate:modelValue":l[23]||(l[23]=e=>A.value.redis.addr=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"密码"},{default:t((()=>[d(B,{modelValue:A.value.redis.password,"onUpdate:modelValue":l[24]||(l[24]=e=>A.value.redis.password=e)},null,8,["modelValue"])])),_:1})])),_:1}),d(I,{title:"Mongo 数据库配置",name:"14"},{default:t((()=>[d(k,{label:"collection name(表名,一般不写)"},{default:t((()=>[d(B,{modelValue:A.value.mongo.coll,"onUpdate:modelValue":l[25]||(l[25]=e=>A.value.mongo.coll=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"mongodb options"},{default:t((()=>[d(B,{modelValue:A.value.mongo.options,"onUpdate:modelValue":l[26]||(l[26]=e=>A.value.mongo.options=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"database name(数据库名)"},{default:t((()=>[d(B,{modelValue:A.value.mongo.database,"onUpdate:modelValue":l[27]||(l[27]=e=>A.value.mongo.database=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"用户名"},{default:t((()=>[d(B,{modelValue:A.value.mongo.username,"onUpdate:modelValue":l[28]||(l[28]=e=>A.value.mongo.username=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"密码"},{default:t((()=>[d(B,{modelValue:A.value.mongo.password,"onUpdate:modelValue":l[29]||(l[29]=e=>A.value.mongo.password=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"最小连接池"},{default:t((()=>[d(B,{modelValue:A.value.mongo["min-pool-size"],"onUpdate:modelValue":l[30]||(l[30]=e=>A.value.mongo["min-pool-size"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"最大连接池"},{default:t((()=>[d(B,{modelValue:A.value.mongo["max-pool-size"],"onUpdate:modelValue":l[31]||(l[31]=e=>A.value.mongo["max-pool-size"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"socket超时时间"},{default:t((()=>[d(B,{modelValue:A.value.mongo["socket-timeout-ms"],"onUpdate:modelValue":l[32]||(l[32]=e=>A.value.mongo["socket-timeout-ms"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"连接超时时间"},{default:t((()=>[d(B,{modelValue:A.value.mongo["socket-timeout-ms"],"onUpdate:modelValue":l[33]||(l[33]=e=>A.value.mongo["socket-timeout-ms"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"是否开启zap日志"},{default:t((()=>[d(z,{modelValue:A.value.mongo["is-zap"],"onUpdate:modelValue":l[34]||(l[34]=e=>A.value.mongo["is-zap"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"hosts"},{default:t((()=>[(u(!0),o(s,null,n(A.value.mongo.hosts,((e,l)=>(u(),o(s,null,[(u(!0),o(s,null,n(e,((a,m)=>(u(),o("div",{key:m},[(u(),i(k,{key:l+m,label:m},{default:t((()=>[d(B,{modelValue:e[m],"onUpdate:modelValue":l=>e[m]=l},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["label"]))])))),128))],64)))),256))])),_:1})])),_:1}),d(I,{title:"邮箱配置",name:"5"},{default:t((()=>[d(k,{label:"接收者邮箱"},{default:t((()=>[d(B,{modelValue:A.value.email.to,"onUpdate:modelValue":l[35]||(l[35]=e=>A.value.email.to=e),placeholder:"可多个,以逗号分隔"},null,8,["modelValue"])])),_:1}),d(k,{label:"端口"},{default:t((()=>[d(B,{modelValue:A.value.email.port,"onUpdate:modelValue":l[36]||(l[36]=e=>A.value.email.port=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"发送者邮箱"},{default:t((()=>[d(B,{modelValue:A.value.email.from,"onUpdate:modelValue":l[37]||(l[37]=e=>A.value.email.from=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"host"},{default:t((()=>[d(B,{modelValue:A.value.email.host,"onUpdate:modelValue":l[38]||(l[38]=e=>A.value.email.host=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"是否为ssl"},{default:t((()=>[d(z,{modelValue:A.value.email["is-ssl"],"onUpdate:modelValue":l[39]||(l[39]=e=>A.value.email["is-ssl"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"secret"},{default:t((()=>[d(B,{modelValue:A.value.email.secret,"onUpdate:modelValue":l[40]||(l[40]=e=>A.value.email.secret=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"测试邮件"},{default:t((()=>[d(W,{onClick:O},{default:t((()=>l[110]||(l[110]=[m("测试邮件")]))),_:1})])),_:1})])),_:1}),d(I,{title:"验证码配置",name:"7"},{default:t((()=>[d(k,{label:"字符长度"},{default:t((()=>[d(B,{modelValue:A.value.captcha["key-long"],"onUpdate:modelValue":l[41]||(l[41]=e=>A.value.captcha["key-long"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"图片宽度"},{default:t((()=>[d(B,{modelValue:A.value.captcha["img-width"],"onUpdate:modelValue":l[42]||(l[42]=e=>A.value.captcha["img-width"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"图片高度"},{default:t((()=>[d(B,{modelValue:A.value.captcha["img-height"],"onUpdate:modelValue":l[43]||(l[43]=e=>A.value.captcha["img-height"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1})])),_:1}),d(I,{title:"数据库配置",name:"9"},{default:t((()=>["mysql"===A.value.system["db-type"]?(u(),o(s,{key:0},[d(k,{label:"用户名"},{default:t((()=>[d(B,{modelValue:A.value.mysql.username,"onUpdate:modelValue":l[44]||(l[44]=e=>A.value.mysql.username=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"密码"},{default:t((()=>[d(B,{modelValue:A.value.mysql.password,"onUpdate:modelValue":l[45]||(l[45]=e=>A.value.mysql.password=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"地址"},{default:t((()=>[d(B,{modelValue:A.value.mysql.path,"onUpdate:modelValue":l[46]||(l[46]=e=>A.value.mysql.path=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"数据库"},{default:t((()=>[d(B,{modelValue:A.value.mysql["db-name"],"onUpdate:modelValue":l[47]||(l[47]=e=>A.value.mysql["db-name"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"前缀"},{default:t((()=>[d(B,{modelValue:A.value.mysql.refix,"onUpdate:modelValue":l[48]||(l[48]=e=>A.value.mysql.refix=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"复数表"},{default:t((()=>[d(R,{modelValue:A.value.mysql.singular,"onUpdate:modelValue":l[49]||(l[49]=e=>A.value.mysql.singular=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"引擎"},{default:t((()=>[d(B,{modelValue:A.value.mysql.engine,"onUpdate:modelValue":l[50]||(l[50]=e=>A.value.mysql.engine=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"maxIdleConns"},{default:t((()=>[d(B,{modelValue:A.value.mysql["max-idle-conns"],"onUpdate:modelValue":l[51]||(l[51]=e=>A.value.mysql["max-idle-conns"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"maxOpenConns"},{default:t((()=>[d(B,{modelValue:A.value.mysql["max-open-conns"],"onUpdate:modelValue":l[52]||(l[52]=e=>A.value.mysql["max-open-conns"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"写入日志"},{default:t((()=>[d(z,{modelValue:A.value.mysql["log-zap"],"onUpdate:modelValue":l[53]||(l[53]=e=>A.value.mysql["log-zap"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"日志模式"},{default:t((()=>[d(B,{modelValue:A.value.mysql["log-mode"],"onUpdate:modelValue":l[54]||(l[54]=e=>A.value.mysql["log-mode"]=e)},null,8,["modelValue"])])),_:1})],64)):V("",!0),"pgsql"===A.value.system["db-type"]?(u(),o(s,{key:1},[d(k,{label:"用户名"},{default:t((()=>[d(B,{modelValue:A.value.pgsql.username,"onUpdate:modelValue":l[55]||(l[55]=e=>A.value.pgsql.username=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"密码"},{default:t((()=>[d(B,{modelValue:A.value.pgsql.password,"onUpdate:modelValue":l[56]||(l[56]=e=>A.value.pgsql.password=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"地址"},{default:t((()=>[d(B,{modelValue:A.value.pgsql.path,"onUpdate:modelValue":l[57]||(l[57]=e=>A.value.pgsql.path=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"数据库"},{default:t((()=>[d(B,{modelValue:A.value.pgsql.dbname,"onUpdate:modelValue":l[58]||(l[58]=e=>A.value.pgsql.dbname=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"前缀"},{default:t((()=>[d(B,{modelValue:A.value.pgsql.refix,"onUpdate:modelValue":l[59]||(l[59]=e=>A.value.pgsql.refix=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"复数表"},{default:t((()=>[d(R,{modelValue:A.value.pgsql.singular,"onUpdate:modelValue":l[60]||(l[60]=e=>A.value.pgsql.singular=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"引擎"},{default:t((()=>[d(B,{modelValue:A.value.pgsql.engine,"onUpdate:modelValue":l[61]||(l[61]=e=>A.value.pgsql.engine=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"maxIdleConns"},{default:t((()=>[d(B,{modelValue:A.value.pgsql["max-idle-conns"],"onUpdate:modelValue":l[62]||(l[62]=e=>A.value.pgsql["max-idle-conns"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"maxOpenConns"},{default:t((()=>[d(B,{modelValue:A.value.pgsql["max-open-conns"],"onUpdate:modelValue":l[63]||(l[63]=e=>A.value.pgsql["max-open-conns"]=e),modelModifiers:{number:!0}},null,8,["modelValue"])])),_:1}),d(k,{label:"写入日志"},{default:t((()=>[d(z,{modelValue:A.value.pgsql["log-zap"],"onUpdate:modelValue":l[64]||(l[64]=e=>A.value.pgsql["log-zap"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"日志模式"},{default:t((()=>[d(B,{modelValue:A.value.pgsql["log-mode"],"onUpdate:modelValue":l[65]||(l[65]=e=>A.value.pgsql["log-mode"]=e)},null,8,["modelValue"])])),_:1})],64)):V("",!0)])),_:1}),d(I,{title:"oss配置",name:"10"},{default:t((()=>["local"===A.value.system["oss-type"]?(u(),o(s,{key:0},[l[111]||(l[111]=p("h2",null,"本地文件配置",-1)),d(k,{label:"本地文件访问路径"},{default:t((()=>[d(B,{modelValue:A.value.local.path,"onUpdate:modelValue":l[66]||(l[66]=e=>A.value.local.path=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"本地文件存储路径"},{default:t((()=>[d(B,{modelValue:A.value.local["store-path"],"onUpdate:modelValue":l[67]||(l[67]=e=>A.value.local["store-path"]=e)},null,8,["modelValue"])])),_:1})],64)):V("",!0),"qiniu"===A.value.system["oss-type"]?(u(),o(s,{key:1},[l[114]||(l[114]=p("h2",null,"qiniu上传配置",-1)),d(k,{label:"存储区域"},{default:t((()=>[d(B,{modelValue:A.value.qiniu.zone,"onUpdate:modelValue":l[68]||(l[68]=e=>A.value.qiniu.zone=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"空间名称"},{default:t((()=>[d(B,{modelValue:A.value.qiniu.bucket,"onUpdate:modelValue":l[69]||(l[69]=e=>A.value.qiniu.bucket=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"CDN加速域名"},{default:t((()=>[d(B,{modelValue:A.value.qiniu["img-path"],"onUpdate:modelValue":l[70]||(l[70]=e=>A.value.qiniu["img-path"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"是否使用https"},{default:t((()=>[d(z,{modelValue:A.value.qiniu["use-https"],"onUpdate:modelValue":l[71]||(l[71]=e=>A.value.qiniu["use-https"]=e)},{default:t((()=>l[112]||(l[112]=[m("开启")]))),_:1},8,["modelValue"])])),_:1}),d(k,{label:"accessKey"},{default:t((()=>[d(B,{modelValue:A.value.qiniu["access-key"],"onUpdate:modelValue":l[72]||(l[72]=e=>A.value.qiniu["access-key"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"secretKey"},{default:t((()=>[d(B,{modelValue:A.value.qiniu["secret-key"],"onUpdate:modelValue":l[73]||(l[73]=e=>A.value.qiniu["secret-key"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"上传是否使用CDN上传加速"},{default:t((()=>[d(z,{modelValue:A.value.qiniu["use-cdn-domains"],"onUpdate:modelValue":l[74]||(l[74]=e=>A.value.qiniu["use-cdn-domains"]=e)},{default:t((()=>l[113]||(l[113]=[m("开启")]))),_:1},8,["modelValue"])])),_:1})],64)):V("",!0),"tencent-cos"===A.value.system["oss-type"]?(u(),o(s,{key:2},[l[115]||(l[115]=p("h2",null,"腾讯云COS上传配置",-1)),d(k,{label:"存储桶名称"},{default:t((()=>[d(B,{modelValue:A.value["tencent-cos"].bucket,"onUpdate:modelValue":l[75]||(l[75]=e=>A.value["tencent-cos"].bucket=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"所属地域"},{default:t((()=>[d(B,{modelValue:A.value["tencent-cos"].region,"onUpdate:modelValue":l[76]||(l[76]=e=>A.value["tencent-cos"].region=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"secretID"},{default:t((()=>[d(B,{modelValue:A.value["tencent-cos"]["secret-id"],"onUpdate:modelValue":l[77]||(l[77]=e=>A.value["tencent-cos"]["secret-id"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"secretKey"},{default:t((()=>[d(B,{modelValue:A.value["tencent-cos"]["secret-key"],"onUpdate:modelValue":l[78]||(l[78]=e=>A.value["tencent-cos"]["secret-key"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"路径前缀"},{default:t((()=>[d(B,{modelValue:A.value["tencent-cos"]["path-prefix"],"onUpdate:modelValue":l[79]||(l[79]=e=>A.value["tencent-cos"]["path-prefix"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"访问域名"},{default:t((()=>[d(B,{modelValue:A.value["tencent-cos"]["base-url"],"onUpdate:modelValue":l[80]||(l[80]=e=>A.value["tencent-cos"]["base-url"]=e)},null,8,["modelValue"])])),_:1})],64)):V("",!0),"aliyun-oss"===A.value.system["oss-type"]?(u(),o(s,{key:3},[l[116]||(l[116]=p("h2",null,"阿里云OSS上传配置",-1)),d(k,{label:"区域"},{default:t((()=>[d(B,{modelValue:A.value["aliyun-oss"].endpoint,"onUpdate:modelValue":l[81]||(l[81]=e=>A.value["aliyun-oss"].endpoint=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"accessKeyId"},{default:t((()=>[d(B,{modelValue:A.value["aliyun-oss"]["access-key-id"],"onUpdate:modelValue":l[82]||(l[82]=e=>A.value["aliyun-oss"]["access-key-id"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"accessKeySecret"},{default:t((()=>[d(B,{modelValue:A.value["aliyun-oss"]["access-key-secret"],"onUpdate:modelValue":l[83]||(l[83]=e=>A.value["aliyun-oss"]["access-key-secret"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"存储桶名称"},{default:t((()=>[d(B,{modelValue:A.value["aliyun-oss"]["bucket-name"],"onUpdate:modelValue":l[84]||(l[84]=e=>A.value["aliyun-oss"]["bucket-name"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"访问域名"},{default:t((()=>[d(B,{modelValue:A.value["aliyun-oss"]["bucket-url"],"onUpdate:modelValue":l[85]||(l[85]=e=>A.value["aliyun-oss"]["bucket-url"]=e)},null,8,["modelValue"])])),_:1})],64)):V("",!0),"huawei-obs"===A.value.system["oss-type"]?(u(),o(s,{key:4},[l[117]||(l[117]=p("h2",null,"华为云Obs上传配置",-1)),d(k,{label:"路径"},{default:t((()=>[d(B,{modelValue:A.value["hua-wei-obs"].path,"onUpdate:modelValue":l[86]||(l[86]=e=>A.value["hua-wei-obs"].path=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"存储桶名称"},{default:t((()=>[d(B,{modelValue:A.value["hua-wei-obs"].bucket,"onUpdate:modelValue":l[87]||(l[87]=e=>A.value["hua-wei-obs"].bucket=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"区域"},{default:t((()=>[d(B,{modelValue:A.value["hua-wei-obs"].endpoint,"onUpdate:modelValue":l[88]||(l[88]=e=>A.value["hua-wei-obs"].endpoint=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"accessKey"},{default:t((()=>[d(B,{modelValue:A.value["hua-wei-obs"]["access-key"],"onUpdate:modelValue":l[89]||(l[89]=e=>A.value["hua-wei-obs"]["access-key"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"secretKey"},{default:t((()=>[d(B,{modelValue:A.value["hua-wei-obs"]["secret-key"],"onUpdate:modelValue":l[90]||(l[90]=e=>A.value["hua-wei-obs"]["secret-key"]=e)},null,8,["modelValue"])])),_:1})],64)):V("",!0)])),_:1}),d(I,{title:"Excel上传配置",name:"11"},{default:t((()=>[d(k,{label:"合成目标地址"},{default:t((()=>[d(B,{modelValue:A.value.excel.dir,"onUpdate:modelValue":l[91]||(l[91]=e=>A.value.excel.dir=e)},null,8,["modelValue"])])),_:1})])),_:1}),d(I,{title:"自动化代码配置",name:"12"},{default:t((()=>[d(k,{label:"是否自动重启(linux)"},{default:t((()=>[d(z,{modelValue:A.value.autocode["transfer-restart"],"onUpdate:modelValue":l[92]||(l[92]=e=>A.value.autocode["transfer-restart"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"root(项目根路径)"},{default:t((()=>[d(B,{modelValue:A.value.autocode.root,"onUpdate:modelValue":l[93]||(l[93]=e=>A.value.autocode.root=e),disabled:""},null,8,["modelValue"])])),_:1}),d(k,{label:"Server(后端代码地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["transfer-restart"],"onUpdate:modelValue":l[94]||(l[94]=e=>A.value.autocode["transfer-restart"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"SApi(后端api文件夹地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["server-api"],"onUpdate:modelValue":l[95]||(l[95]=e=>A.value.autocode["server-api"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"SInitialize(后端Initialize文件夹)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["server-initialize"],"onUpdate:modelValue":l[96]||(l[96]=e=>A.value.autocode["server-initialize"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"SModel(后端Model文件地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["server-model"],"onUpdate:modelValue":l[97]||(l[97]=e=>A.value.autocode["server-model"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"SRequest(后端Request文件夹地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["server-request"],"onUpdate:modelValue":l[98]||(l[98]=e=>A.value.autocode["server-request"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"SRouter(后端Router文件夹地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["server-router"],"onUpdate:modelValue":l[99]||(l[99]=e=>A.value.autocode["server-router"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"SService(后端Service文件夹地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["server-service"],"onUpdate:modelValue":l[100]||(l[100]=e=>A.value.autocode["server-service"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"Web(前端文件夹地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode.web,"onUpdate:modelValue":l[101]||(l[101]=e=>A.value.autocode.web=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"WApi(后端WApi文件夹地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["web-api"],"onUpdate:modelValue":l[102]||(l[102]=e=>A.value.autocode["web-api"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"WForm(后端WForm文件夹地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["web-form"],"onUpdate:modelValue":l[103]||(l[103]=e=>A.value.autocode["web-form"]=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"WTable(后端WTable文件夹地址)"},{default:t((()=>[d(B,{modelValue:A.value.autocode["web-table"],"onUpdate:modelValue":l[104]||(l[104]=e=>A.value.autocode["web-table"]=e)},null,8,["modelValue"])])),_:1})])),_:1}),d(I,{title:"Timer(定时任务)",name:"13"},{default:t((()=>[d(k,{label:"Start(是否启用)"},{default:t((()=>[d(z,{modelValue:A.value.timer.start,"onUpdate:modelValue":l[105]||(l[105]=e=>A.value.timer.start=e)},null,8,["modelValue"])])),_:1}),d(k,{label:"Spec(CRON表达式)"},{default:t((()=>[d(B,{modelValue:A.value.timer.spec,"onUpdate:modelValue":l[106]||(l[106]=e=>A.value.timer.spec=e)},null,8,["modelValue"])])),_:1}),(u(!0),o(s,null,n(A.value.timer.detail,((e,l)=>(u(),o(s,null,[(u(!0),o(s,null,n(e,((a,m)=>(u(),o("div",{key:m},[(u(),i(k,{key:l+m,label:m},{default:t((()=>[d(B,{modelValue:e[m],"onUpdate:modelValue":l=>e[m]=l},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["label"]))])))),128))],64)))),256))])),_:1})])),_:1},8,["modelValue"])])),_:1},8,["model"]),p("div",C,[d(W,{type:"primary",onClick:S},{default:t((()=>l[118]||(l[118]=[m("立即更新")]))),_:1}),d(W,{type:"primary",onClick:M},{default:t((()=>l[119]||(l[119]=[m("重启服务(开发中)")]))),_:1})])])}}});export{z as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system2.js new file mode 100644 index 000000000..ea2a56f31 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0system2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s}from"./087AC4D233B64EB0index.js";const t=()=>s({url:"/system/getSystemConfig",method:"post"}),o=t=>s({url:"/system/setSystemConfig",method:"post",data:t}),e=()=>s({url:"/system/getServerInfo",method:"post",donNotShowLoading:!0});export{t as a,e as g,o as s}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane-legacy.js new file mode 100644 index 000000000..0988f70a8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return e(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?e(t,r):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=Array(e);r=0;--l){var i=this.tryEntries[l],o=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),b=n.call(i,"finallyLoc");if(s&&b){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),_}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var a=r.completion;if("throw"===a.type){var n=a.arg;C(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:N(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),_}},e}function a(t,e,r,a,n,l,i){try{var o=t[l](i),s=o.value}catch(t){return void r(t)}o.done?e(s):Promise.resolve(s).then(a,n)}function n(t){return function(){var e=this,r=arguments;return new Promise((function(n,l){var i=t.apply(e,r);function o(t){a(i,n,l,o,s,"next",t)}function s(t){a(i,n,l,o,s,"throw",t)}o(void 0)}))}}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function i(t){for(var e=1;e*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:var(--el-tabs-header-height);box-sizing:border-box;display:flex;align-items:center;justify-content:center;list-style:none;font-size:var(--el-font-size-base);font-weight:500;color:var(--el-text-color-primary);position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{box-shadow:0 0 2px 2px var(--el-color-primary) inset;border-radius:3px}.el-tabs__item .is-icon-close{border-radius:50%;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-left:5px}.el-tabs__item .is-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{overflow:hidden;position:relative;flex-grow:1}.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--top>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{position:relative;font-size:12px;width:0;height:14px;overflow:hidden;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border:1px solid transparent;margin-top:-1px;color:var(--el-text-color-secondary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-scroll{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row-reverse}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{right:0;left:auto}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid var(--el-border-color-light);border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid var(--el-border-color-light);border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--top{flex-direction:column-reverse}.slideInRight-transition,.slideInLeft-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{position:absolute;left:0;right:0;animation:slideInRight-leave var(--el-transition-duration)}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{position:absolute;left:0;right:0;animation:slideInLeft-leave var(--el-transition-duration)}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}}\n',document.head.appendChild(a);var at=function(t,e){var r={},a=l([]);return{children:a,addChild:function(n){r[n.uid]=n,a.value=function(t,e,r){return s(t.subTree).filter((function(t){var r;return b(t)&&(null==(r=t.type)?void 0:r.name)===e&&!!t.component})).map((function(t){return t.component.uid})).map((function(t){return r[t]})).filter((function(t){return!!t}))}(t,e,r)},removeChild:function(t){delete r[t],a.value=a.value.filter((function(e){return e.uid!==t}))}}},nt=Symbol("tabsRootContextKey"),lt=c({tabs:{type:u(Array),default:function(){return d([])}}}),it="ElTabBar",ot=f({name:it}),st=f(i(i({},ot),{},{props:lt,setup:function(t,e){var a=e.expose,l=t,i=O(),s=v(nt);s||p(it,"");var b=h("tabs"),c=_(),u=_(),d=function(){return u.value=(t=0,e=0,r=["top","bottom"].includes(s.props.tabPosition)?"width":"height",n="x"===(a="width"===r?"x":"y")?"left":"top",l.tabs.every((function(a){var l,o,s=null==(o=null==(l=i.parent)?void 0:l.refs)?void 0:o["tab-".concat(a.uid)];if(!s)return!1;if(!a.active)return!0;t=s["offset".concat(rt(n))],e=s["client".concat(rt(r))];var b=window.getComputedStyle(s);return"width"===r&&(e-=Number.parseFloat(b.paddingLeft)+Number.parseFloat(b.paddingRight),t+=Number.parseFloat(b.paddingLeft)),!1})),o(o({},r,"".concat(e,"px")),"transform","translate".concat(rt(a),"(").concat(t,"px)")));var t,e,r,a,n},f=[],j=function(){var t;f.forEach((function(t){return t.stop()})),f.length=0;var e=null==(t=i.parent)?void 0:t.refs;if(e)for(var r in e)if(r.startsWith("tab-")){var a=e[r];a&&f.push(y(a,d))}};g((function(){return l.tabs}),n(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:d(),j();case 4:case"end":return t.stop()}}),t)}))),{immediate:!0});var S=y(c,(function(){return d()}));return x((function(){f.forEach((function(t){return t.stop()})),f.length=0,S.stop()})),a({ref:c,update:d}),function(t,e){return w(),k("div",{ref_key:"barRef",ref:c,class:P([E(b).e("active-bar"),E(b).is(E(s).props.tabPosition)]),style:L(u.value)},null,6)}}})),bt=j(st,[["__file","tab-bar.vue"]]),ct=c({panes:{type:u(Array),default:function(){return d([])}},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),ut="ElTabNav",dt=f({name:ut,props:ct,emits:{tabClick:function(t,e,r){return r instanceof Event},tabRemove:function(t,e){return e instanceof Event}},setup:function(e,a){var l=a.expose,i=a.emit,o=v(nt);o||p(ut,"");var s=h("tabs"),b=S(),c=C(),u=_(),d=_(),f=_(),x=_(),w=_(!1),k=_(0),P=_(!1),E=_(!0),L=T((function(){return["top","bottom"].includes(o.props.tabPosition)?"width":"height"})),j=T((function(){var t="width"===L.value?"X":"Y";return{transform:"translate".concat(t,"(-").concat(k.value,"px)")}})),O=function(){if(u.value){var t=u.value["offset".concat(rt(L.value))],e=k.value;if(e){var r=e>t?e-t:0;k.value=r}}},D=function(){if(u.value&&d.value){var t=d.value["offset".concat(rt(L.value))],e=u.value["offset".concat(rt(L.value))],r=k.value;if(!(t-r<=e)){var a=t-r>2*e?r+e:t-e;k.value=a}}},q=function(){var t=n(r().mark((function t(){var e,a,n,l,i,s,b,c,v;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=d.value,w.value&&f.value&&u.value&&e){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,m();case 5:if(a=f.value.querySelector(".is-active")){t.next=8;break}return t.abrupt("return");case 8:n=u.value,l=["top","bottom"].includes(o.props.tabPosition),i=a.getBoundingClientRect(),s=n.getBoundingClientRect(),b=l?e.offsetWidth-s.width:e.offsetHeight-s.height,c=k.value,v=c,l?(i.lefts.right&&(v=c+i.right-s.right)):(i.tops.bottom&&(v=c+(i.bottom-s.bottom))),v=Math.max(v,0),k.value=Math.min(v,b);case 18:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),K=function(){var t;if(d.value&&u.value){e.stretch&&(null==(t=x.value)||t.update());var r=d.value["offset".concat(rt(L.value))],a=u.value["offset".concat(rt(L.value))],n=k.value;a0&&(k.value=0))}},V=function(t){var e=t.code,r=G,a=r.up,n=r.down,l=r.left;if([a,n,l,r.right].includes(e)){var i,o=Array.from(t.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),s=o.indexOf(t.target);o[i=e===l||e===a?0===s?o.length-1:s-1:s1&&void 0!==b[1]&&b[1],y.value!==a&&!Y(a)){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,null==(i=t.beforeLeave)?void 0:i.call(t,a,y.value);case 6:!1!==e.sent&&(y.value=a,n&&(l(V,a),l("tabChange",a)),null==(s=null==(o=p.value)?void 0:o.removeFocus)||s.call(o)),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(3);case 12:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}(),w=function(t,e,r){t.props.disabled||(x(e,!0),l("tabClick",t,r))},k=function(t,e){t.props.disabled||Y(t.props.name)||(e.stopPropagation(),l("edit",t.props.name,"remove"),l("tabRemove",t.props.name))},P=function(){l("edit",void 0,"add"),l("tabAdd")};g((function(){return t.modelValue}),(function(t){return x(t)})),g(y,n(r().mark((function t(){var e;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:null==(e=p.value)||e.scrollToActiveTab();case 3:case"end":return t.stop()}}),t)})))),D(nt,{props:t,currentName:y,registerPane:function(t){d.value.push(t)},sortPane:f,unregisterPane:v}),s({currentName:y});var E=function(t){return(0,t.render)()};return function(){var e=i["add-icon"],r=t.editable||t.addable?z("div",{class:[b.e("new-tab"),c.value&&b.e("new-tab-vertical")],tabindex:"0",onClick:P,onKeydown:function(t){t.code===G.enter&&P()}},[e?q(i,"add-icon"):z(A,{class:b.is("icon-plus")},{default:function(){return[z(K,null,null)]}})]):null,a=z("div",{class:[b.e("header"),c.value&&b.e("header-vertical"),b.is(t.tabPosition)]},[z(E,{render:function(){var e=d.value.some((function(t){return t.slots.label}));return z(dt,{ref:p,currentName:y.value,editable:t.editable,type:t.type,panes:d.value,stretch:t.stretch,onTabClick:w,onTabRemove:k},{$stable:!e})}},null),r]),n=z("div",{class:b.e("content")},[q(i,"default")]);return z("div",{class:[b.b(),b.m(t.tabPosition),o(o({},b.m("card"),"card"===t.type),b.m("border-card"),"border-card"===t.type)]},[n,a])}}}),_t=c({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),gt="ElTabPane",mt=f({name:gt}),yt=f(i(i({},mt),{},{props:_t,setup:function(t){var e=t,r=O(),a=M(),n=v(nt);n||p(gt,"usage: ");var l=h("tab-pane"),i=_(),o=T((function(){return e.closable||n.props.closable})),s=H((function(){var t;return n.currentName.value===(null!=(t=e.name)?t:i.value)})),b=_(s.value),c=T((function(){var t;return null!=(t=e.name)?t:i.value})),u=H((function(){return!e.lazy||b.value||s.value}));g(s,(function(t){t&&(b.value=!0)}));var d=Q({uid:r.uid,slots:a,props:e,paneName:c,active:s,index:i,isClosable:o});return n.registerPane(d),N((function(){n.sortPane(d)})),W((function(){n.unregisterPane(d.uid)})),function(t,e){return E(u)?X((w(),k("div",{key:0,id:"pane-".concat(E(c)),class:P(E(l).b()),role:"tabpanel","aria-hidden":!E(s),"aria-labelledby":"tab-".concat(E(c))},[q(t.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[U,E(s)]]):Z("v-if",!0)}}})),xt=j(yt,[["__file","tab-pane.vue"]]);e("a",tt(ht,{TabPane:xt})),e("E",et(xt))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane.css new file mode 100644 index 000000000..1169642d1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-tabs{--el-tabs-header-height: 40px;display:flex}.el-tabs__header{padding:0;position:relative;margin:0 0 15px;display:flex;align-items:center;justify-content:space-between}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:var(--el-color-primary);z-index:1;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none}.el-tabs__new-tab{display:flex;align-items:center;justify-content:center;border:1px solid var(--el-border-color);height:20px;width:20px;line-height:20px;margin:10px 0 10px 10px;border-radius:3px;text-align:center;font-size:12px;color:var(--el-text-color-primary);cursor:pointer;transition:all .15s}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative;flex:1 auto}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:var(--el-border-color-light);z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:var(--el-text-color-secondary);width:20px;text-align:center}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;white-space:nowrap;position:relative;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:var(--el-tabs-header-height);box-sizing:border-box;display:flex;align-items:center;justify-content:center;list-style:none;font-size:var(--el-font-size-base);font-weight:500;color:var(--el-text-color-primary);position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{box-shadow:0 0 2px 2px var(--el-color-primary) inset;border-radius:3px}.el-tabs__item .is-icon-close{border-radius:50%;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-left:5px}.el-tabs__item .is-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{overflow:hidden;position:relative;flex-grow:1}.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--top>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{position:relative;font-size:12px;width:0;height:14px;overflow:hidden;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border:1px solid transparent;margin-top:-1px;color:var(--el-text-color-secondary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-scroll{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row-reverse}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{right:0;left:auto}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid var(--el-border-color-light);border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid var(--el-border-color-light);border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--top{flex-direction:column-reverse}.slideInRight-transition,.slideInLeft-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{position:absolute;left:0;right:0;animation:slideInRight-leave var(--el-transition-duration)}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{position:absolute;left:0;right:0;animation:slideInLeft-leave var(--el-transition-duration)}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane.js new file mode 100644 index 000000000..fafa9dd1b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tab-pane.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{O as e,aP as a,cQ as t,A as l,$ as s,aL as o,q as n,ab as r,ad as i,v as u,a as c,X as d,Q as v,aO as b,aw as p,o as f,c as m,n as h,D as y,F as g,_ as C,ap as P,cR as x,cS as w,C as T,P as B,b1 as k,e as S,H as E,ct as N,aJ as R,bJ as A,ac as F,x as _,z as L,aV as q,a4 as K,bi as V,ag as z,a7 as D,aq as J,cT as O,r as $,R as j,S as H,Y as M,f as Q,I as W,J as X}from"./087AC4D233B64EB0index.js";import{c as Y}from"./087AC4D233B64EB0strings.js";const I=(l,s)=>{const o={},n=e([]);return{children:n,addChild:e=>{o[e.uid]=e,n.value=((e,l,s)=>a(e.subTree).filter((e=>{var a;return t(e)&&(null==(a=e.type)?void 0:a.name)===l&&!!e.component})).map((e=>e.component.uid)).map((e=>s[e])).filter((e=>!!e)))(l,s,o)},removeChild:e=>{delete o[e],n.value=n.value.filter((a=>a.uid!==e))}}},G=Symbol("tabsRootContextKey"),U=l({tabs:{type:s(Array),default:()=>o([])}}),Z="ElTabBar",ee=n({name:Z});var ae=C(n({...ee,props:U,setup(e,{expose:a}){const t=e,l=P(),s=r(G);s||i(Z,"");const o=u("tabs"),n=c(),C=c(),x=()=>C.value=(()=>{let e=0,a=0;const o=["top","bottom"].includes(s.props.tabPosition)?"width":"height",n="width"===o?"x":"y",r="x"===n?"left":"top";return t.tabs.every((t=>{var s,n;const i=null==(n=null==(s=l.parent)?void 0:s.refs)?void 0:n["tab-".concat(t.uid)];if(!i)return!1;if(!t.active)return!0;e=i["offset".concat(Y(r))],a=i["client".concat(Y(o))];const u=window.getComputedStyle(i);return"width"===o&&(a-=Number.parseFloat(u.paddingLeft)+Number.parseFloat(u.paddingRight),e+=Number.parseFloat(u.paddingLeft)),!1})),{[o]:"".concat(a,"px"),transform:"translate".concat(Y(n),"(").concat(e,"px)")}})(),w=[];d((()=>t.tabs),(async()=>{await v(),x(),(()=>{var e;w.forEach((e=>e.stop())),w.length=0;const a=null==(e=l.parent)?void 0:e.refs;if(a)for(const t in a)if(t.startsWith("tab-")){const e=a[t];e&&w.push(b(e,x))}})()}),{immediate:!0});const T=b(n,(()=>x()));return p((()=>{w.forEach((e=>e.stop())),w.length=0,T.stop()})),a({ref:n,update:x}),(e,a)=>(f(),m("div",{ref_key:"barRef",ref:n,class:h([y(o).e("active-bar"),y(o).is(y(s).props.tabPosition)]),style:g(C.value)},null,6))}}),[["__file","tab-bar.vue"]]);const te=l({panes:{type:s(Array),default:()=>o([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),le="ElTabNav",se=n({name:le,props:te,emits:{tabClick:(e,a,t)=>t instanceof Event,tabRemove:(e,a)=>a instanceof Event},setup(e,{expose:a,emit:t}){const l=r(G);l||i(le,"");const s=u("tabs"),o=x(),n=w(),p=c(),f=c(),m=c(),h=c(),y=c(!1),g=c(0),C=c(!1),P=c(!0),_=T((()=>["top","bottom"].includes(l.props.tabPosition)?"width":"height")),L=T((()=>{const e="width"===_.value?"X":"Y";return{transform:"translate".concat(e,"(-").concat(g.value,"px)")}})),q=()=>{if(!p.value)return;const e=p.value["offset".concat(Y(_.value))],a=g.value;if(!a)return;const t=a>e?a-e:0;g.value=t},K=()=>{if(!p.value||!f.value)return;const e=f.value["offset".concat(Y(_.value))],a=p.value["offset".concat(Y(_.value))],t=g.value;if(e-t<=a)return;const l=e-t>2*a?t+a:e-a;g.value=l},V=async()=>{const e=f.value;if(!(y.value&&m.value&&p.value&&e))return;await v();const a=m.value.querySelector(".is-active");if(!a)return;const t=p.value,s=["top","bottom"].includes(l.props.tabPosition),o=a.getBoundingClientRect(),n=t.getBoundingClientRect(),r=s?e.offsetWidth-n.width:e.offsetHeight-n.height,i=g.value;let u=i;s?(o.leftn.right&&(u=i+o.right-n.right)):(o.topn.bottom&&(u=i+(o.bottom-n.bottom))),u=Math.max(u,0),g.value=Math.min(u,r)},z=()=>{var a;if(!f.value||!p.value)return;e.stretch&&(null==(a=h.value)||a.update());const t=f.value["offset".concat(Y(_.value))],l=p.value["offset".concat(Y(_.value))],s=g.value;l0&&(g.value=0))},D=e=>{const a=e.code,{up:t,down:l,left:s,right:o}=F;if(![t,l,s,o].includes(a))return;const n=Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),r=n.indexOf(e.target);let i;i=a===s||a===t?0===r?n.length-1:r-1:r{P.value&&(C.value=!0)},O=()=>C.value=!1;return d(o,(e=>{"hidden"===e?P.value=!1:"visible"===e&&setTimeout((()=>P.value=!0),50)})),d(n,(e=>{e?setTimeout((()=>P.value=!0),50):P.value=!1})),b(m,z),B((()=>setTimeout((()=>V()),0))),k((()=>z())),a({scrollToActiveTab:V,removeFocus:O}),()=>{const a=y.value?[S("span",{class:[s.e("nav-prev"),s.is("disabled",!y.value.prev)],onClick:q},[S(E,null,{default:()=>[S(N,null,null)]})]),S("span",{class:[s.e("nav-next"),s.is("disabled",!y.value.next)],onClick:K},[S(E,null,{default:()=>[S(R,null,null)]})])]:null,o=e.panes.map(((a,o)=>{var n,r,i,u;const c=a.uid,d=a.props.disabled,v=null!=(r=null!=(n=a.props.name)?n:a.index)?r:"".concat(o),b=!d&&(a.isClosable||e.editable);a.index="".concat(o);const p=b?S(E,{class:"is-icon-close",onClick:e=>t("tabRemove",a,e)},{default:()=>[S(A,null,null)]}):null,f=(null==(u=(i=a.slots).label)?void 0:u.call(i))||a.props.label,m=!d&&a.active?0:-1;return S("div",{ref:"tab-".concat(c),class:[s.e("item"),s.is(l.props.tabPosition),s.is("active",a.active),s.is("disabled",d),s.is("closable",b),s.is("focus",C.value)],id:"tab-".concat(v),key:"tab-".concat(c),"aria-controls":"pane-".concat(v),role:"tab","aria-selected":a.active,tabindex:m,onFocus:()=>J(),onBlur:()=>O(),onClick:e=>{O(),t("tabClick",a,v,e)},onKeydown:e=>{!b||e.code!==F.delete&&e.code!==F.backspace||t("tabRemove",a,e)}},[f,p])}));return S("div",{ref:m,class:[s.e("nav-wrap"),s.is("scrollable",!!y.value),s.is(l.props.tabPosition)]},[a,S("div",{class:s.e("nav-scroll"),ref:p},[S("div",{class:[s.e("nav"),s.is(l.props.tabPosition),s.is("stretch",e.stretch&&["top","bottom"].includes(l.props.tabPosition))],ref:f,style:L.value,role:"tablist",onKeydown:D},[e.type?null:S(ae,{ref:h,tabs:[...e.panes]},null),o])])])}}}),oe=l({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:s(Function),default:()=>!0},stretch:Boolean}),ne=e=>z(e)||D(e),re=n({name:"ElTabs",props:oe,emits:{[K]:e=>ne(e),tabClick:(e,a)=>a instanceof Event,tabChange:e=>ne(e),edit:(e,a)=>["remove","add"].includes(a),tabRemove:e=>ne(e),tabAdd:()=>!0},setup(e,{emit:a,slots:t,expose:l}){var s;const o=u("tabs"),n=T((()=>["left","right"].includes(e.tabPosition))),{children:r,addChild:i,removeChild:b}=I(P(),"ElTabPane"),p=c(),f=c(null!=(s=e.modelValue)?s:"0"),m=async(t,l=!1)=>{var s,o,n;if(f.value!==t&&!V(t))try{!1!==await(null==(s=e.beforeLeave)?void 0:s.call(e,t,f.value))&&(f.value=t,l&&(a(K,t),a("tabChange",t)),null==(n=null==(o=p.value)?void 0:o.removeFocus)||n.call(o))}catch(r){}},h=(e,t,l)=>{e.props.disabled||(m(t,!0),a("tabClick",e,l))},y=(e,t)=>{e.props.disabled||V(e.props.name)||(t.stopPropagation(),a("edit",e.props.name,"remove"),a("tabRemove",e.props.name))},g=()=>{a("edit",void 0,"add"),a("tabAdd")};d((()=>e.modelValue),(e=>m(e))),d(f,(async()=>{var e;await v(),null==(e=p.value)||e.scrollToActiveTab()})),_(G,{props:e,currentName:f,registerPane:e=>{r.value.push(e)},sortPane:i,unregisterPane:b}),l({currentName:f});const C=({render:e})=>e();return()=>{const a=t["add-icon"],l=e.editable||e.addable?S("div",{class:[o.e("new-tab"),n.value&&o.e("new-tab-vertical")],tabindex:"0",onClick:g,onKeydown:e=>{e.code===F.enter&&g()}},[a?L(t,"add-icon"):S(E,{class:o.is("icon-plus")},{default:()=>[S(q,null,null)]})]):null,s=S("div",{class:[o.e("header"),n.value&&o.e("header-vertical"),o.is(e.tabPosition)]},[S(C,{render:()=>{const a=r.value.some((e=>e.slots.label));return S(se,{ref:p,currentName:f.value,editable:e.editable,type:e.type,panes:r.value,stretch:e.stretch,onTabClick:h,onTabRemove:y},{$stable:!a})}},null),l]),i=S("div",{class:o.e("content")},[L(t,"default")]);return S("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:"card"===e.type,[o.m("border-card")]:"border-card"===e.type}]},[i,s])}}}),ie=l({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),ue="ElTabPane",ce=n({name:ue});var de=C(n({...ce,props:ie,setup(e){const a=e,t=P(),l=J(),s=r(G);s||i(ue,"usage: ");const o=u("tab-pane"),n=c(),v=T((()=>a.closable||s.props.closable)),b=O((()=>{var e;return s.currentName.value===(null!=(e=a.name)?e:n.value)})),p=c(b.value),g=T((()=>{var e;return null!=(e=a.name)?e:n.value})),C=O((()=>!a.lazy||p.value||b.value));d(b,(e=>{e&&(p.value=!0)}));const x=$({uid:t.uid,slots:l,props:a,paneName:g,active:b,index:n,isClosable:v});return s.registerPane(x),B((()=>{s.sortPane(x)})),j((()=>{s.unregisterPane(x.uid)})),(e,a)=>y(C)?H((f(),m("div",{key:0,id:"pane-".concat(y(g)),class:h(y(o).b()),role:"tabpanel","aria-hidden":!y(b),"aria-labelledby":"tab-".concat(y(g))},[L(e.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[M,y(b)]]):Q("v-if",!0)}}),[["__file","tab-pane.vue"]]);const ve=W(re,{TabPane:de}),be=X(de);export{be as E,ve as a}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column-legacy.js new file mode 100644 index 000000000..ba8c4dd11 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column-legacy.js @@ -0,0 +1,18 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var r,n,o,a,i=[],u=!0,c=!1;try{if(o=(l=l.call(e)).next,0===t){if(Object(l)!==l)return;u=!1}else for(;!(u=(r=o.call(l)).done)&&(i.push(r.value),i.length!==t);u=!0);}catch(e){c=!0,n=e}finally{try{if(!u&&null!=l.return&&(a=l.return(),Object(a)!==a))return}finally{if(c)throw n}}return i}}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return l};var e,l={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,l){e[t]=l.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,l){return Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,l){return e[t]=l}}function d(e,t,l,r){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new A(r||[]);return o(a,"_invoke",{value:O(e,l,i)}),a}function f(e,t,l){try{return{type:"normal",arg:e.call(t,l)}}catch(e){return{type:"throw",arg:e}}}l.wrap=d;var p="suspendedStart",h="suspendedYield",v="executing",b="completed",m={};function g(){}function y(){}function w(){}var x={};s(x,i,(function(){return this}));var _=Object.getPrototypeOf,C=_&&_(_(T([])));C&&C!==r&&n.call(C,i)&&(x=C);var S=w.prototype=g.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function l(r,o,a,i){var u=f(e[r],e,o);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then((function(e){l("next",e,a,i)}),(function(e){l("throw",e,a,i)})):t.resolve(s).then((function(e){c.value=e,a(c)}),(function(e){return l("throw",e,a,i)}))}i(u.arg)}var r;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,r){l(e,n,t,r)}))}return r=r?r.then(o,o):o()}})}function O(t,l,r){var n=p;return function(o,a){if(n===v)throw Error("Generator is already running");if(n===b){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=N(i,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===p)throw n=b,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=v;var c=f(t,l,r);if("normal"===c.type){if(n=r.done?b:h,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=b,r.method="throw",r.arg=c.arg)}}}function N(t,l){var r=l.method,n=t.iterator[r];if(n===e)return l.delegate=null,"throw"===r&&t.iterator.return&&(l.method="return",l.arg=e,N(t,l),"throw"===l.method)||"return"!==r&&(l.method="throw",l.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(n,t.iterator,l.arg);if("throw"===o.type)return l.method="throw",l.arg=o.arg,l.delegate=null,m;var a=o.arg;return a?a.done?(l[t.resultName]=a.value,l.next=t.nextLoc,"return"!==l.method&&(l.method="next",l.arg=e),l.delegate=null,m):a:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,m)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function T(t){if(t||""===t){var l=t[i];if(l)return l.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function l(){for(;++r=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--l){var r=this.tryEntries[l];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var l=this.tryEntries[t];if(l.finallyLoc===e)return this.complete(l.completion,l.afterLoc),L(l),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var l=this.tryEntries[t];if(l.tryLoc===e){var r=l.completion;if("throw"===r.type){var n=r.arg;L(l)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,l,r){return this.delegate={iterator:T(t),resultName:l,nextLoc:r},"next"===this.method&&(this.arg=e),m}},l}function l(e,t,l,r,n,o,a){try{var i=e[o](a),u=i.value}catch(e){return void l(e)}i.done?t(u):Promise.resolve(u).then(r,n)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){l(a,n,o,i,u,"next",e)}function u(e){l(a,n,o,i,u,"throw",e)}i(void 0)}))}}function n(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){for(var l=0;l=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,i=!1;return{s:function(){l=l.call(e)},n:function(){var e=l.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==l.return||l.return()}finally{if(i)throw o}}}}function d(e,t){if(e){if("string"==typeof e)return f(e,t);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,r=Array(t);l.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{padding:8px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left;z-index:var(--el-table-index)}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;overflow-wrap:break-word;line-height:23px;padding:0 12px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:14px}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table th.el-table__cell.is-leaf,.el-table td.el-table__cell{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border:after,.el-table--border:before,.el-table--border .el-table__inner-wrapper:after,.el-table__inner-wrapper:before{content:"";position:absolute;background-color:var(--el-table-border-color);z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{left:0;top:0;width:100%;height:1px;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{top:-1px;left:0;width:1px;height:100%}.el-table--border:after{top:-1px;right:0;width:1px;height:100%}.el-table--border .el-table__inner-wrapper{border-right:none;border-bottom:none}.el-table--border .el-table__footer-wrapper{position:relative;flex-shrink:0}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__header-wrapper,.el-table__body-wrapper,.el-table__footer-wrapper{width:100%}.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right,.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right{position:sticky!important;background:inherit;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{content:"";position:absolute;top:0;width:10px;bottom:-1px;overflow-x:hidden;overflow-y:hidden;box-shadow:none;touch-action:none;pointer-events:none}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px;box-shadow:none}.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch,.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch{position:sticky!important;z-index:calc(var(--el-table-index) + 1);background:#fff;right:0}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__header,.el-table__body,.el-table__footer{table-layout:fixed;border-collapse:separate}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{overflow:hidden;flex-shrink:0}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__header-wrapper .el-table-column--selection>.cell,.el-table__body-wrapper .el-table-column--selection>.cell{display:inline-flex;align-items:center;height:23px}.el-table__header-wrapper .el-table-column--selection .el-checkbox,.el-table__body-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{overflow:hidden;position:relative;flex:1}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:14px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:solid 5px transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{position:sticky;bottom:0;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:var(--el-table-border);z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{display:inline-block;cursor:pointer}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{top:0;left:0;width:1px;height:100%;z-index:calc(var(--el-table-index) + 2);position:absolute;background-color:var(--el-table-border-color)}.el-table__border-bottom-patch{left:0;height:1px;z-index:calc(var(--el-table-index) + 2);position:absolute;background-color:var(--el-table-border-color)}.el-table__border-right-patch{top:0;height:100%;width:1px;z-index:calc(var(--el-table-index) + 2);position:absolute;background-color:var(--el-table-border-color)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:12px;line-height:12px;height:12px;text-align:center;margin-right:8px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);border-radius:2px;background-color:#fff;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:var(--el-font-size-base)}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:transparent;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:none}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:flex;align-items:center;margin-right:5px;margin-bottom:12px;margin-left:5px;height:unset}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}\n',document.head.appendChild(a);var lt=Function.prototype,rt=Object.prototype,nt=lt.toString,ot=rt.hasOwnProperty,at=nt.call(Object);var it,ut=function(e,t,l){for(var r=-1,n=Object(e),o=l(e),a=o.length;a--;){var i=o[it?a:++r];if(!1===t(n[i],i,n))break}return e};var ct=function(e,t){return function(l,r){if(null==l)return l;if(!Ie(l))return e(l,r);for(var n=l.length,o=t?n:-1,a=Object(l);(t?o--:++o1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(n=mt.length>3&&"function"==typeof n?(r--,n):void 0,o&&function(e,t,l){if(!p(l))return!1;var r=typeof t;return!!("number"==r?Ie(l)&&h(t,l.length):"string"==r&&t in l)&&v(l[t],e)}(t[0],t[1],o)&&(n=r<3?void 0:n,r=1),e=Object(e);++lwt},ie64:function(){return Pt.ie()&&Lt},firefox:function(){return jt()||xt},opera:function(){return jt()||_t},webkit:function(){return jt()||Ct},safari:function(){return Pt.webkit()},chrome:function(){return jt()||St},windows:function(){return jt()||Ot},osx:function(){return jt()||Et},linux:function(){return jt()||Nt},iphone:function(){return jt()||At},mobile:function(){return jt()||At||Tt||Rt||Ht},nativeApp:function(){return jt()||Ft},android:function(){return jt()||Rt},ipad:function(){return jt()||Tt}},Bt=Pt,It=!!(typeof window<"u"&&window.document&&window.document.createElement),Dt={canUseDOM:It,canUseWorkers:typeof Worker<"u",canUseEventListeners:It&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:It&&!!window.screen,isInWorker:!It};Dt.canUseDOM&&(zt=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var Kt=function(e,t){if(!Dt.canUseDOM||t&&!("addEventListener"in document))return!1;var l="on"+e,r=l in document;if(!r){var n=document.createElement("div");n.setAttribute(l,"return;"),r="function"==typeof n[l]}return!r&&zt&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r};function Vt(e){var t=0,l=0,r=0,n=0;return"detail"in e&&(l=e.detail),"wheelDelta"in e&&(l=-e.wheelDelta/120),"wheelDeltaY"in e&&(l=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=l,l=0),r=10*t,n=10*l,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||n)&&e.deltaMode&&(1==e.deltaMode?(r*=40,n*=40):(r*=800,n*=800)),r&&!t&&(t=r<1?-1:1),n&&!l&&(l=n<1?-1:1),{spinX:t,spinY:l,pixelX:r,pixelY:n}}Vt.getEventType=function(){return Bt.firefox()?"DOMMouseScroll":Kt("wheel")?"wheel":"mousewheel"};var Yt=Vt,$t={beforeMount:function(e,t){var l,r;l=e,r=t.value,l&&l.addEventListener&&l.addEventListener("wheel",(function(e){var t=Yt(e);r&&Reflect.apply(r,this,[e,t])}),{passive:!0})}},Gt=function(e){var t;return null==(t=e.target)?void 0:t.closest("td")},qt=function(e,t,l,r,n){if(!t&&!r&&(!n||Array.isArray(n)&&!n.length))return e;l="string"==typeof l?"descending"===l?-1:1:l&&l<0?-1:1;var o=r?null:function(l,r){return n?(Array.isArray(n)||(n=[n]),n.map((function(t){return"string"==typeof t?A(l,t):t(l,r,e)}))):("$key"!==t&&T(l)&&"$value"in l&&(l=l.$value),[T(l)?A(l,t):l])};return e.map((function(e,t){return{value:e,index:t,key:o?o(e,t):null}})).sort((function(e,t){var n=function(e,t){if(r)return r(e.value,t.value);for(var l=0,n=e.key.length;lt.key[l])return 1}return 0}(e,t);return n||(n=e.index-t.index),n*+l})).map((function(e){return e.value}))},Xt=function(e,t){var l=null;return e.columns.forEach((function(e){e.id===t&&(l=e)})),l},Ut=function(e,t,l){var r=(t.className||"").match(new RegExp("".concat(l,"-table_[^\\s]+"),"gm"));return r?Xt(e,r[0]):null},Qt=function(e,t){if(!e)throw new Error("Row is required when get row identity");if("string"==typeof t){if(!t.includes("."))return"".concat(e[t]);var l,r=e,n=s(t.split("."));try{for(n.s();!(l=n.n()).done;){r=r[l.value]}}catch(o){n.e(o)}finally{n.f()}return"".concat(r)}if("function"==typeof t)return t.call(null,e)},Zt=function(e,t){var l={};return(e||[]).forEach((function(e,r){l[Qt(e,t)]={row:e,index:r}})),l}; +/** + * Checks if an event is supported in the current execution environment. + * + * NOTE: This will not work correctly for non-generic events such as `change`, + * `reset`, `load`, `error`, and `select`. + * + * Borrows from Modernizr. + * + * @param {string} eventNameSuffix Event name, e.g. "click". + * @param {?boolean} capture Check if the capture phase is supported. + * @return {boolean} True if the event is supported. + * @internal + * @license Modernizr 3.0.0pre (Custom Build) | MIT + */function Jt(e){return""===e||void 0!==e&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function el(e){return""===e||void 0!==e&&(e=Jt(e),Number.isNaN(e)&&(e=80)),e}function tl(e,t,l,r,n,o){var a=null!=o?o:0,i=!1,u=e.indexOf(t),c=-1!==u,s=null==n?void 0:n.call(null,t,o),d=function(l){"add"===l?e.push(t):e.splice(u,1),i=!0},f=function(e){var t=0,l=(null==r?void 0:r.children)&&e[r.children];return l&&N(l)&&(t+=l.length,l.forEach((function(e){t+=f(e)}))),t};return n&&!s||(O(l)?l&&!c?d("add"):!l&&c&&d("remove"):d(c?"remove":"add")),!(null==r?void 0:r.checkStrictly)&&(null==r?void 0:r.children)&&N(t[r.children])&&t[r.children].forEach((function(t){tl(e,t,null!=l?l:!c,r,n,a+1),a+=f(t)+1})),i}function ll(e,t){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hasChildren",n=function(e){return!(Array.isArray(e)&&e.length)};function o(e,a,i){t(e,a,i),a.forEach((function(e){if(e[r])t(e,null,i+1);else{var a=e[l];n(a)||o(e,a,i+1)}}))}e.forEach((function(e){if(e[r])t(e,null,0);else{var a=e[l];n(a)||o(e,a,0)}}))}var rl=null;function nl(e){return e.children?bt(e.children,nl):[e]}function ol(e,t){return e+t.colSpan}var al=function(e,t,l,r){var n,o=0,a=e,i=l.states.columns.value;if(r){var u=nl(r[e]);a=(o=i.slice(0,i.indexOf(u[0])).reduce(ol,0))+u.reduce(ol,0)-1}else o=e;switch(t){case"left":a=i.length-l.states.rightFixedLeafColumnsLength.value&&(n="right");break;default:a=i.length-l.states.rightFixedLeafColumnsLength.value&&(n="right")}return n?{direction:n,start:o,after:a}:{}},il=function(e,t,l,r,n){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=[],i=al(t,l,r,n),u=i.direction,c=i.start,s=i.after;if(u){var d="left"===u;a.push("".concat(e,"-fixed-column--").concat(u)),d&&s+o===r.states.fixedLeafColumnsLength.value-1?a.push("is-last-column"):d||c-o!=r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value||a.push("is-first-column")}return a};function ul(e,t){return e+(null===t.realWidth||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}var cl=function(e,t,l,r){var n=al(e,t,l,r),o=n.direction,a=n.start,i=void 0===a?0:a,u=n.after,c=void 0===u?0:u;if(o){var s={},d="left"===o,f=l.states.columns.value;return d?s.left=f.slice(0,i).reduce(ul,0):s.right=f.slice(c+1).reverse().reduce(ul,0),s}},sl=function(e,t){e&&(Number.isNaN(e[t])||(e[t]="".concat(e[t],"px")))};var dl=function(e){var t=[];return e.forEach((function(e){e.children&&e.children.length>0?t.push.apply(t,dl(e.children)):t.push(e)})),t};function fl(){var e,t=H(),l=z(null==(e=t.proxy)?void 0:e.$props).size,r=F(null),n=F([]),o=F([]),a=F(!1),u=F([]),c=F([]),d=F([]),f=F([]),p=F([]),h=F([]),v=F([]),b=F([]),m=F(0),g=F(0),y=F(0),w=F(!1),x=F([]),_=F(!1),C=F(!1),S=F(null),O=F({}),N=F(null),R=F(null),L=F(null),A=F(null),T=F(null);j(n,(function(){return t.state&&K(!1)}),{deep:!0});var B=function(e){var t;null==(t=e.children)||t.forEach((function(t){t.fixed=e.fixed,B(t)}))},I=void 0,D=function(){(u.value.forEach((function(e){B(e)})),f.value=u.value.filter((function(e){return!0===e.fixed||"left"===e.fixed})),p.value=u.value.filter((function(e){return"right"===e.fixed})),P(I)&&u.value[0]&&"selection"===u.value[0].type&&(I=Boolean(u.value[0].fixed)),f.value.length>0&&u.value[0]&&"selection"===u.value[0].type)&&(u.value[0].fixed?f.value.some((function(e){return"selection"!==e.type}))?I=void 0:(u.value[0].fixed=I,I||f.value.shift()):(u.value[0].fixed=!0,f.value.unshift(u.value[0])));var e=u.value.filter((function(e){return!e.fixed}));c.value=[].concat(f.value).concat(e).concat(p.value);var t=dl(e),l=dl(f.value),r=dl(p.value);m.value=t.length,g.value=l.length,y.value=r.length,d.value=[].concat(l).concat(t).concat(r),a.value=f.value.length>0||p.value.length>0},K=function(e){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e&&D(),l?t.state.doLayout():t.state.debouncedUpdateLayout()},V=function(e){var l;if(!t||!t.store)return 0;var r=t.store.states.treeData,n=0,o=null==(l=r.value[e])?void 0:l.children;return o&&(n+=o.length,o.forEach((function(e){n+=V(e)}))),n},Y=function(e,t,l){R.value&&R.value!==e&&(R.value.order=null),R.value=e,L.value=t,A.value=l},$=function(){var e=W(o);Object.keys(O.value).forEach((function(t){var l=O.value[t];if(l&&0!==l.length){var r=Xt({columns:d.value},t);r&&r.filterMethod&&(e=e.filter((function(e){return l.some((function(t){return r.filterMethod.call(null,t,e,r)}))})))}})),N.value=e},G=function(){n.value=function(e,t){var l=t.sortingColumn;return l&&"string"!=typeof l.sortable?qt(e,t.sortProp,t.sortOrder,l.sortMethod,l.sortBy):e}(N.value,{sortingColumn:R.value,sortProp:L.value,sortOrder:A.value})},q=function(e){var t=H(),l=F(!1),r=F([]);return{updateExpandRows:function(){var t=e.data.value||[],n=e.rowKey.value;if(l.value)r.value=t.slice();else if(n){var o=Zt(r.value,n);r.value=t.reduce((function(e,t){var l=Qt(t,n);return o[l]&&e.push(t),e}),[])}else r.value=[]},toggleRowExpansion:function(e,l){tl(r.value,e,l)&&t.emit("expand-change",e,r.value.slice())},setExpandRowKeys:function(l){t.store.assertRowKey();var n=e.data.value||[],o=e.rowKey.value,a=Zt(n,o);r.value=l.reduce((function(e,t){var l=a[t];return l&&e.push(l.row),e}),[])},isRowExpanded:function(t){var l=e.rowKey.value;return l?!!Zt(r.value,l)[Qt(t,l)]:r.value.includes(t)},states:{expandRows:r,defaultExpandAll:l}}}({data:n,rowKey:r}),X=q.setExpandRowKeys,U=q.toggleRowExpansion,Q=q.updateExpandRows,Z=q.states,J=q.isRowExpanded,ee=function(e){var t=F([]),l=F({}),r=F(16),n=F(!1),o=F({}),a=F("hasChildren"),u=F("children"),c=F(!1),s=H(),d=M((function(){if(!e.rowKey.value)return{};var t=e.data.value||[];return p(t)})),f=M((function(){var t=e.rowKey.value,l=Object.keys(o.value),r={};return l.length?(l.forEach((function(e){if(o.value[e].length){var l={children:[]};o.value[e].forEach((function(e){var n=Qt(e,t);l.children.push(n),e[a.value]&&!r[n]&&(r[n]={children:[]})})),r[e]=l}})),r):r})),p=function(t){var l=e.rowKey.value,r={};return ll(t,(function(e,t,o){var a=Qt(e,l);Array.isArray(t)?r[a]={children:t.map((function(e){return Qt(e,l)})),level:o}:n.value&&(r[a]={children:[],lazy:!0,level:o})}),u.value,a.value),r},h=function(){var e,r,o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(e=s.store)?void 0:e.states.defaultExpandAll.value,u=d.value,c=f.value,p=Object.keys(u),h={};if(p.length){var v=W(l),b=[],m=function(e,l){if(o)return t.value?a||t.value.includes(l):!(!a&&!(null==e?void 0:e.expanded));var r=a||t.value&&t.value.includes(l);return!(!(null==e?void 0:e.expanded)&&!r)};p.forEach((function(e){var t=v[e],l=i({},u[e]);if(l.expanded=m(t,e),l.lazy){var r=t||{},n=r.loaded,o=void 0!==n&&n,a=r.loading,c=void 0!==a&&a;l.loaded=!!o,l.loading=!!c,b.push(e)}h[e]=l}));var g=Object.keys(c);n.value&&g.length&&b.length&&g.forEach((function(e){var t=v[e],l=c[e].children;if(b.includes(e)){if(0!==h[e].children.length)throw new Error("[ElTable]children must be an empty array.");h[e].children=l}else{var r=t||{},n=r.loaded,o=void 0!==n&&n,a=r.loading,i=void 0!==a&&a;h[e]={lazy:!0,loaded:!!o,loading:!!i,expanded:m(t,e),children:l,level:""}}}))}l.value=h,null==(r=s.store)||r.updateTableScrollY()};j((function(){return t.value}),(function(){h(!0)})),j((function(){return d.value}),(function(){h()})),j((function(){return f.value}),(function(){h()}));var v=function(t,r){s.store.assertRowKey();var n=e.rowKey.value,o=Qt(t,n),a=o&&l.value[o];if(o&&a&&"expanded"in a){var i=a.expanded;r=void 0===r?!a.expanded:r,l.value[o].expanded=r,i!==r&&s.emit("expand-change",t,r),s.store.updateTableScrollY()}},b=function(e,t,r){var n=s.props.load;n&&!l.value[t].loaded&&(l.value[t].loading=!0,n(e,r,(function(r){if(!Array.isArray(r))throw new TypeError("[ElTable] data must be an array");l.value[t].loading=!1,l.value[t].loaded=!0,l.value[t].expanded=!0,r.length&&(o.value[t]=r),s.emit("expand-change",e,!0)})))};return{loadData:b,loadOrToggle:function(t){s.store.assertRowKey();var r=e.rowKey.value,o=Qt(t,r),a=l.value[o];n.value&&a&&"loaded"in a&&!a.loaded?b(t,o,a):v(t,void 0)},toggleTreeExpansion:v,updateTreeExpandKeys:function(e){t.value=e,h()},updateTreeData:h,updateKeyChildren:function(e,t){var l=s.props,r=l.lazy,n=l.rowKey;if(r){if(!n)throw new Error("[Table] rowKey is required in updateKeyChild");o.value[e]&&(o.value[e]=t)}},normalize:p,states:{expandRowKeys:t,treeData:l,indent:r,lazy:n,lazyTreeNodeMap:o,lazyColumnIdentifier:a,childrenColumnName:u,checkStrictly:c}}}({data:n,rowKey:r}),te=ee.updateTreeExpandKeys,le=ee.toggleTreeExpansion,re=ee.updateTreeData,ne=ee.updateKeyChildren,oe=ee.loadOrToggle,ae=ee.states,ie=function(e){var t=H(),l=F(null),r=F(null),n=function(){l.value=null},o=function(l){var n=e.data,o=e.rowKey,a=null;o.value&&(a=(W(n)||[]).find((function(e){return Qt(e,o.value)===l}))),r.value=a,t.emit("current-change",r.value,null)};return{setCurrentRowKey:function(e){t.store.assertRowKey(),l.value=e,o(e)},restoreCurrentRowKey:n,setCurrentRowByKey:o,updateCurrentRow:function(e){var l=r.value;if(e&&e!==l)return r.value=e,void t.emit("current-change",r.value,l);!e&&l&&(r.value=null,t.emit("current-change",null,l))},updateCurrentRowData:function(){var a=e.rowKey.value,i=e.data.value||[],u=r.value;if(!i.includes(u)&&u){if(a){var c=Qt(u,a);o(c)}else r.value=null;null===r.value&&t.emit("current-change",null,u)}else l.value&&(o(l.value),n())},states:{_currentRowKey:l,currentRow:r}}}({data:n,rowKey:r}),ue=ie.updateCurrentRowData,ce=ie.updateCurrentRow,se=ie.setCurrentRowKey,de=ie.states;return{assertRowKey:function(){if(!r.value)throw new Error("[ElTable] prop row-key is required")},updateColumns:D,scheduleLayout:K,isSelected:function(e){return x.value.some((function(t){return $e(t,e)}))},clearSelection:function(){w.value=!1;var e=x.value;x.value=[],e.length&&t.emit("selection-change",[])},cleanSelection:function(){var e;if(r.value){e=[];var l=Zt(x.value,r.value),o=Zt(n.value,r.value);for(var a in l)k(l,a)&&!o[a]&&e.push(l[a].row)}else e=x.value.filter((function(e){return!n.value.includes(e)}));if(e.length){var i=x.value.filter((function(t){return!e.includes(t)}));x.value=i,t.emit("selection-change",i.slice())}},getSelectionRows:function(){return(x.value||[]).slice()},toggleRowSelection:function(e,l){var r,n,o,a,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c={children:null==(n=null==(r=null==t?void 0:t.store)?void 0:r.states)?void 0:n.childrenColumnName.value,checkStrictly:null==(a=null==(o=null==t?void 0:t.store)?void 0:o.states)?void 0:a.checkStrictly.value};if(tl(x.value,e,l,c,u?void 0:S.value)){var s=(x.value||[]).slice();i&&t.emit("select",s,e),t.emit("selection-change",s)}},_toggleAllSelection:function(){var e,l,r=C.value?!w.value:!(w.value||x.value.length);w.value=r;var o=!1,a=0,i=null==(l=null==(e=null==t?void 0:t.store)?void 0:e.states)?void 0:l.rowKey.value,u={children:t.store.states.childrenColumnName.value,checkStrictly:!1};n.value.forEach((function(e,t){var l=t+a;tl(x.value,e,r,u,S.value,l)&&(o=!0),a+=V(Qt(e,i))})),o&&t.emit("selection-change",x.value?x.value.slice():[]),t.emit("select-all",(x.value||[]).slice())},toggleAllSelection:null,updateSelectionByRowKey:function(){var e=Zt(x.value,r.value);n.value.forEach((function(t){var l=Qt(t,r.value),n=e[l];n&&(x.value[n.index]=t)}))},updateAllSelected:function(){var e;if(0!==(null==(e=n.value)?void 0:e.length)){var l=t.store.states.childrenColumnName,o=r.value?Zt(x.value,r.value):void 0,a=0,i=0,u=function(e){return o?!!o[Qt(e,r.value)]:x.value.includes(e)},c=function(e){var t,r,n=s(e);try{for(n.s();!(r=n.n()).done;){var o=r.value,d=S.value&&S.value.call(null,o,a);if(u(o))i++;else if(!S.value||d)return!1;if(a++,(null==(t=o[l.value])?void 0:t.length)&&!c(o[l.value]))return!1}}catch(f){n.e(f)}finally{n.f()}return!0},d=c(n.value||[]);w.value=0!==i&&d}else w.value=!1},updateFilters:function(e,t){Array.isArray(e)||(e=[e]);var l={};return e.forEach((function(e){O.value[e.id]=t,l[e.columnKey||e.id]=t})),l},updateCurrentRow:ce,updateSort:Y,execFilter:$,execSort:G,execQuery:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;e&&e.filter||$(),G()},clearFilter:function(e){var l=t.refs.tableHeaderRef;if(l){var r=Object.assign({},l.filterPanels),n=Object.keys(r);if(n.length)if("string"==typeof e&&(e=[e]),Array.isArray(e)){var o=e.map((function(e){return function(e,t){for(var l=null,r=0;r-1&&(o.splice(a,1),e._columns.value=o)}var i=e.updateOrderFns.indexOf(n);i>-1&&e.updateOrderFns.splice(i,1),l.$ready&&(l.store.updateColumns(),l.store.scheduleLayout())},sort:function(e,t){var r=t.prop,n=t.order,o=t.init;if(r){var a=W(e.columns).find((function(e){return e.property===r}));a&&(a.order=n,l.store.updateSort(a,r,n),l.store.commit("changeSortCondition",{init:o}))}},changeSortCondition:function(e,t){var r=e.sortingColumn,n=e.sortProp,o=e.sortOrder,a=W(r),i=W(n),u=W(o);null===u&&(e.sortingColumn.value=null,e.sortProp.value=null),l.store.execQuery({filter:!0}),t&&(t.silent||t.init)||l.emit("sort-change",{column:a,prop:i,order:u}),l.store.updateTableScrollY()},filterChange:function(e,t){var r=t.column,n=t.values,o=t.silent,a=l.store.updateFilters(r,n);l.store.execQuery(),o||l.emit("filter-change",a),l.store.updateTableScrollY()},toggleAllSelection:function(){l.store.toggleAllSelection()},rowSelectedChanged:function(e,t){l.store.toggleRowSelection(t),l.store.updateAllSelected()},setHoverRow:function(e,t){e.hoverRow.value=t},setCurrentRow:function(e,t){l.store.updateCurrentRow(t)}},i(i({ns:B("table")},r),{},{mutations:n,commit:function(e){var t=l.store.mutations;if(!t[e])throw new Error("Action not found: ".concat(e));for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;oe.wrapRef.clientHeight,this.scrollY.value=t,l!==t}return!1}},{key:"setHeight",value:function(e){var t=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";if(S){var r,n=this.table.vnode.el;if(e="number"==typeof(r=e)?r:"string"==typeof r?/^\d+(?:px)?$/.test(r)?Number.parseInt(r,10):r:null,this.height.value=Number(e),!n&&(e||0===e))return I((function(){return t.setHeight(e,l)}));"number"==typeof e?(n.style[l]="".concat(e,"px"),this.updateElsHeight()):"string"==typeof e&&(n.style[l]=e,this.updateElsHeight())}}},{key:"setMaxHeight",value:function(e){this.setHeight(e,"max-height")}},{key:"getFlattenColumns",value:function(){var e=[];return this.table.store.states.columns.value.forEach((function(t){t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)})),e}},{key:"updateElsHeight",value:function(){this.updateScrollY(),this.notifyObservers("scrollable")}},{key:"headerDisplayNone",value:function(e){if(!e)return!0;for(var t=e;"DIV"!==t.tagName;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1}},{key:"updateColumnsWidth",value:function(){if(S){var e=this.fit,t=this.table.vnode.el.clientWidth,l=0,r=this.getFlattenColumns(),n=r.filter((function(e){return"number"!=typeof e.width}));if(r.forEach((function(e){"number"==typeof e.width&&e.realWidth&&(e.realWidth=null)})),n.length>0&&e){if(r.forEach((function(e){l+=Number(e.width||e.minWidth||80)})),l<=t){this.scrollX.value=!1;var o=t-l;if(1===n.length)n[0].realWidth=Number(n[0].minWidth||80)+o;else{var a=o/n.reduce((function(e,t){return e+Number(t.minWidth||80)}),0),i=0;n.forEach((function(e,t){if(0!==t){var l=Math.floor(Number(e.minWidth||80)*a);i+=l,e.realWidth=Number(e.minWidth||80)+l}})),n[0].realWidth=Number(n[0].minWidth||80)+o-i}}else this.scrollX.value=!0,n.forEach((function(e){e.realWidth=Number(e.minWidth)}));this.bodyWidth.value=Math.max(l,t),this.table.state.resizeState.value.width=this.bodyWidth.value}else r.forEach((function(e){e.width||e.minWidth?e.realWidth=Number(e.width||e.minWidth):e.realWidth=80,l+=e.realWidth})),this.scrollX.value=l>t,this.bodyWidth.value=l;var u=this.store.states.fixedColumns.value;if(u.length>0){var c=0;u.forEach((function(e){c+=Number(e.realWidth||e.width)})),this.fixedWidth.value=c}var s=this.store.states.rightFixedColumns.value;if(s.length>0){var d=0;s.forEach((function(e){d+=Number(e.realWidth||e.width)})),this.rightFixedWidth.value=d}this.notifyObservers("columns")}}},{key:"addObserver",value:function(e){this.observers.push(e)}},{key:"removeObserver",value:function(e){var t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)}},{key:"notifyObservers",value:function(e){var t=this;this.observers.forEach((function(l){var r,n;switch(e){case"columns":null==(r=l.state)||r.onColumnsChange(t);break;case"scrollable":null==(n=l.state)||n.onScrollableChange(t);break;default:throw new Error("Table Layout don't have event ".concat(e,"."))}}))}}],t&&o(e.prototype,t),l&&o(e,l),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,l}(),wl=qe.CheckboxGroup,xl=V({name:"ElTableFilterPanel",components:{ElCheckbox:qe,ElCheckboxGroup:wl,ElScrollbar:je,ElTooltip:ze,ElIcon:Y,ArrowDown:$,ArrowUp:G},directives:{ClickOutside:Pe},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:{type:String}},setup:function(e){var t=H(),l=q().t,r=B("table-filter"),n=null==t?void 0:t.parent;n.filterPanels.value[e.column.id]||(n.filterPanels.value[e.column.id]=t);var o=F(!1),a=F(null),i=M((function(){return e.column&&e.column.filters})),u=M((function(){return e.column.filterClassName?"".concat(r.b()," ").concat(e.column.filterClassName):r.b()})),c=M({get:function(){var t;return((null==(t=e.column)?void 0:t.filteredValue)||[])[0]},set:function(e){s.value&&(null!=e?s.value.splice(0,1,e):s.value.splice(0,1))}}),s=M({get:function(){return e.column&&e.column.filteredValue||[]},set:function(t){e.column&&e.upDataColumn("filteredValue",t)}}),d=M((function(){return!e.column||e.column.filterMultiple})),f=function(){o.value=!1},p=function(t){e.store.commit("filterChange",{column:e.column,values:t}),e.store.updateAllSelected()};j(o,(function(t){e.column&&e.upDataColumn("filterOpened",t)}),{immediate:!0});var h=M((function(){var e,t;return null==(t=null==(e=a.value)?void 0:e.popperRef)?void 0:t.contentRef}));return{tooltipVisible:o,multiple:d,filterClassName:u,filteredValue:s,filterValue:c,filters:i,handleConfirm:function(){p(s.value),f()},handleReset:function(){s.value=[],p(s.value),f()},handleSelect:function(e){c.value=e,p(null!=e?s.value:[]),f()},isActive:function(e){return e.value===c.value},t:l,ns:r,showFilterPanel:function(e){e.stopPropagation(),o.value=!o.value},hideFilterPanel:function(){o.value=!1},popperPaneRef:h,tooltip:a}}});var _l=K(xl,[["render",function(e,t,l,r,n,o){var a=X("el-checkbox"),i=X("el-checkbox-group"),c=X("el-scrollbar"),s=X("arrow-up"),d=X("arrow-down"),f=X("el-icon"),p=X("el-tooltip"),h=U("click-outside");return Q(),Z(p,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo},{content:J((function(){return[e.multiple?(Q(),ee("div",{key:0},[te("div",{class:le(e.ns.e("content"))},[R(c,{"wrap-class":e.ns.e("wrap")},{default:J((function(){return[R(i,{modelValue:e.filteredValue,"onUpdate:modelValue":function(t){return e.filteredValue=t},class:le(e.ns.e("checkbox-group"))},{default:J((function(){return[(Q(!0),ee(re,null,ne(e.filters,(function(e){return Q(),Z(a,{key:e.value,value:e.value},{default:J((function(){return[oe(ae(e.text),1)]})),_:2},1032,["value"])})),128))]})),_:1},8,["modelValue","onUpdate:modelValue","class"])]})),_:1},8,["wrap-class"])],2),te("div",{class:le(e.ns.e("bottom"))},[te("button",{class:le(u({},e.ns.is("disabled"),0===e.filteredValue.length)),disabled:0===e.filteredValue.length,type:"button",onClick:e.handleConfirm},ae(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),te("button",{type:"button",onClick:e.handleReset},ae(e.t("el.table.resetFilter")),9,["onClick"])],2)])):(Q(),ee("ul",{key:1,class:le(e.ns.e("list"))},[te("li",{class:le([e.ns.e("list-item"),u({},e.ns.is("active"),void 0===e.filterValue||null===e.filterValue)]),onClick:function(t){return e.handleSelect(null)}},ae(e.t("el.table.clearFilter")),11,["onClick"]),(Q(!0),ee(re,null,ne(e.filters,(function(t){return Q(),ee("li",{key:t.value,class:le([e.ns.e("list-item"),e.ns.is("active",e.isActive(t))]),label:t.value,onClick:function(l){return e.handleSelect(t.value)}},ae(t.text),11,["label","onClick"])})),128))],2))]})),default:J((function(){return[ie((Q(),ee("span",{class:le(["".concat(e.ns.namespace.value,"-table__column-filter-trigger"),"".concat(e.ns.namespace.value,"-none-outline")]),onClick:e.showFilterPanel},[R(f,null,{default:J((function(){return[ue(e.$slots,"filter-icon",{},(function(){return[e.column.filterOpened?(Q(),Z(s,{key:0})):(Q(),Z(d,{key:1}))]}))]})),_:3})],10,["onClick"])),[[h,e.hideFilterPanel,e.popperPaneRef]])]})),_:3},8,["visible","placement","popper-class","append-to"])}],["__file","filter-panel.vue"]]);function Cl(e){var t=H();ce((function(){l.value.addObserver(t)})),se((function(){r(l.value),n(l.value)})),de((function(){r(l.value),n(l.value)})),fe((function(){l.value.removeObserver(t)}));var l=M((function(){var t=e.layout;if(!t)throw new Error("Can not find table layout.");return t})),r=function(t){var l,r=(null==(l=e.vnode.el)?void 0:l.querySelectorAll("colgroup > col"))||[];if(r.length){var n=t.getFlattenColumns(),o={};n.forEach((function(e){o[e.id]=e}));for(var a=0,i=r.length;a col[name=gutter]"))||[],o=0,a=n.length;ol.length-2?0:r+1]}(l),i=null==(o=t.target)?void 0:o.closest("th");if(i&&be(i,"noclick"))me(i,"noclick");else if(l.sortable){var u=t.currentTarget;if(!["ascending","descending"].some((function(e){return be(u,e)&&!l.sortOrders.includes(e)}))){var c,s=e.store.states,d=s.sortProp.value,f=s.sortingColumn.value;(f!==l||f===l&&null===f.order)&&(f&&(f.order=null),s.sortingColumn.value=l,d=l.property),c=l.order=a||null,s.sortProp.value=d,s.sortOrder.value=c,null==r||r.store.commit("changeSortCondition")}}};return{handleHeaderClick:function(e,t){!t.filters&&t.sortable?u(e,t,!1):t.filterable&&!t.sortable&&n(e),null==r||r.emit("header-click",t,e)},handleHeaderContextMenu:function(e,t){null==r||r.emit("header-contextmenu",t,e)},handleMouseDown:function(n,u){if(S&&!(u.children&&u.children.length>0)&&o.value&&e.border){a.value=!0;var c=r;t("set-drag-visible",!0);var s=(null==c?void 0:c.vnode.el).getBoundingClientRect().left,d=l.vnode.el.querySelector("th.".concat(u.id)),f=d.getBoundingClientRect(),p=f.left-s+30;he(d,"noclick"),i.value={startMouseLeft:n.clientX,startLeft:f.right-s,startColumnLeft:f.left-s,tableLeft:s};var h=null==c?void 0:c.refs.resizeProxy;h.style.left="".concat(i.value.startLeft,"px"),document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var v=function(e){var t=e.clientX-i.value.startMouseLeft,l=i.value.startLeft+t;h.style.left="".concat(Math.max(p,l),"px")},b=function(){if(a.value){var l=i.value,r=l.startColumnLeft,s=l.startLeft,f=Number.parseInt(h.style.left,10)-r;u.width=u.realWidth=f,null==c||c.emit("header-dragend",u.width,s-r,u,n),requestAnimationFrame((function(){e.store.scheduleLayout(!1,!0)})),document.body.style.cursor="",a.value=!1,o.value=null,i.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",b),document.onselectstart=null,document.ondragstart=null,setTimeout((function(){me(d,"noclick")}),0)};document.addEventListener("mousemove",v),document.addEventListener("mouseup",b)}},handleMouseMove:function(t,l){var r;if(!(l.children&&l.children.length>0)){var n=t.target;if(ve(n)){var i=null==n?void 0:n.closest("th");if(l&&l.resizable&&i&&!a.value&&e.border){var u=i.getBoundingClientRect(),c=document.body.style,s=(null==(r=i.parentNode)?void 0:r.lastElementChild)===i;u.width>12&&u.right-t.pageX<8&&!s?(c.cursor="col-resize",be(i,"is-sortable")&&(i.style.cursor="col-resize"),o.value=l):a.value||(c.cursor="",be(i,"is-sortable")&&(i.style.cursor="pointer"),o.value=null)}}}},handleMouseOut:function(){S&&(document.body.style.cursor="")},handleSortClick:u,handleFilterClick:n}}(e,o),h=p.handleHeaderClick,v=p.handleHeaderContextMenu,b=p.handleMouseDown,m=p.handleMouseMove,g=p.handleMouseOut,y=p.handleSortClick,w=p.handleFilterClick,x=function(e){var t=pe(Sl),l=B("table");return{getHeaderRowStyle:function(e){var l=null==t?void 0:t.props.headerRowStyle;return"function"==typeof l?l.call(null,{rowIndex:e}):l},getHeaderRowClass:function(e){var l=[],r=null==t?void 0:t.props.headerRowClassName;return"string"==typeof r?l.push(r):"function"==typeof r&&l.push(r.call(null,{rowIndex:e})),l.join(" ")},getHeaderCellStyle:function(l,r,n,o){var a,i=null!=(a=null==t?void 0:t.props.headerCellStyle)?a:{};"function"==typeof i&&(i=i.call(null,{rowIndex:l,columnIndex:r,row:n,column:o}));var u=cl(r,o.fixed,e.store,n);return sl(u,"left"),sl(u,"right"),Object.assign({},i,u)},getHeaderCellClass:function(r,o,a,i){var u=il(l.b(),o,i.fixed,e.store,a),c=[i.id,i.order,i.headerAlign,i.className,i.labelClassName].concat(n(u));i.children||c.push("is-leaf"),i.sortable&&c.push("is-sortable");var s=null==t?void 0:t.props.headerCellClassName;return"string"==typeof s?c.push(s):"function"==typeof s&&c.push(s.call(null,{rowIndex:r,columnIndex:o,row:a,column:i})),c.push(l.e("cell")),c.filter((function(e){return Boolean(e)})).join(" ")}}}(e),_=x.getHeaderRowStyle,C=x.getHeaderRowClass,k=x.getHeaderCellStyle,E=x.getHeaderCellClass,O=function(e){var t=pe(Sl),l=M((function(){return El(e.store.states.originColumns.value)}));return{isGroup:M((function(){var e=l.value.length>1;return e&&t&&(t.state.isGroup.value=!0),e})),toggleAllSelection:function(e){e.stopPropagation(),null==t||t.store.commit("toggleAllSelection")},columnRows:l}}(e),N=O.isGroup,R=O.toggleAllSelection,L=O.columnRows;return a.state={onColumnsChange:d,onScrollableChange:f},a.filterPanels=c,{ns:u,filterPanels:c,onColumnsChange:d,onScrollableChange:f,columnRows:L,getHeaderRowClass:C,getHeaderRowStyle:_,getHeaderCellClass:E,getHeaderCellStyle:k,handleHeaderClick:h,handleHeaderContextMenu:v,handleMouseDown:b,handleMouseMove:m,handleMouseOut:g,handleSortClick:y,handleFilterClick:w,isGroup:N,toggleAllSelection:R}},render:function(){var e=this.ns,t=this.isGroup,l=this.columnRows,r=this.getHeaderCellStyle,n=this.getHeaderCellClass,o=this.getHeaderRowClass,a=this.getHeaderRowStyle,i=this.handleHeaderClick,c=this.handleHeaderContextMenu,s=this.handleMouseDown,d=this.handleMouseMove,f=this.handleSortClick,p=this.handleMouseOut,h=this.store,v=this.$parent,b=1;return ge("thead",{class:u({},e.is("group"),t)},l.map((function(e,t){return ge("tr",{class:o(t),key:t,style:a(t)},e.map((function(l,o){return l.rowSpan>b&&(b=l.rowSpan),ge("th",{class:n(t,o,e,l),colspan:l.colSpan,key:"".concat(l.id,"-thead"),rowspan:l.rowSpan,style:r(t,o,e,l),onClick:function(e){e.currentTarget.classList.contains("noclick")||i(e,l)},onContextmenu:function(e){return c(e,l)},onMousedown:function(e){return s(e,l)},onMousemove:function(e){return d(e,l)},onMouseout:p},[ge("div",{class:["cell",l.filteredValue&&l.filteredValue.length>0?"highlight":""]},[l.renderHeader?l.renderHeader({column:l,$index:o,store:h,_self:v}):l.label,l.sortable&&ge("span",{onClick:function(e){return f(e,l)},class:"caret-wrapper"},[ge("i",{onClick:function(e){return f(e,l,"ascending")},class:"sort-caret ascending"}),ge("i",{onClick:function(e){return f(e,l,"descending")},class:"sort-caret descending"})]),l.filterable&&ge(_l,{store:h,placement:l.filterPlacement||"bottom-start",appendTo:v.appendFilterPanelTo,column:l,upDataColumn:function(e,t){l[e]=t}},{"filter-icon":function(){return l.renderFilterIcon?l.renderFilterIcon({filterOpened:l.filterOpened}):null}})])])})))})))}});function Nl(e,t){return e-t>(arguments.length>2&&void 0!==arguments[2]?arguments[2]:.03)}function Rl(e){var t=pe(Sl),l=F(""),r=F(ge("div")),n=function(l,r,n){var o,a,i=t,u=Gt(l),c=null==(o=null==i?void 0:i.vnode.el)?void 0:o.dataset.prefix;u&&(a=Ut({columns:e.store.states.columns.value},u,c))&&(null==i||i.emit("cell-".concat(n),r,a,u,l)),null==i||i.emit("row-".concat(n),r,a,l)},o=Ge((function(t){e.store.commit("setHoverRow",t)}),30),a=Ge((function(){e.store.commit("setHoverRow",null)}),30),u=function(e,t,l){for(var r=t.target.parentNode;e>1&&(r=null==r?void 0:r.nextSibling)&&"TR"===r.nodeName;)l(r,"hover-row hover-fixed-row"),e--};return{handleDoubleClick:function(e,t){n(e,t,"dblclick")},handleClick:function(t,l){e.store.commit("setCurrentRow",l),n(t,l,"click")},handleContextMenu:function(e,t){n(e,t,"contextmenu")},handleMouseEnter:o,handleMouseLeave:a,handleCellMouseEnter:function(l,r,n){var o,a=t,c=Gt(l),s=null==(o=null==a?void 0:a.vnode.el)?void 0:o.dataset.prefix;if(c){var d=Ut({columns:e.store.states.columns.value},c,s);c.rowSpan>1&&u(c.rowSpan,l,he);var f=a.hoverState={cell:c,column:d,row:r};null==a||a.emit("cell-mouse-enter",f.row,f.column,f.cell,l)}if(n){var p=l.target.querySelector(".cell");if(be(p,"".concat(s,"-tooltip"))&&p.childNodes.length){var h=document.createRange();h.setStart(p,0),h.setEnd(p,p.childNodes.length);var v,b,m=h.getBoundingClientRect(),g=m.width,y=m.height,w=p.getBoundingClientRect(),x=w.width,_=w.height,C=(v=p,b=window.getComputedStyle(v,null),{left:Number.parseInt(b.paddingLeft,10)||0,right:Number.parseInt(b.paddingRight,10)||0,top:Number.parseInt(b.paddingTop,10)||0,bottom:Number.parseInt(b.paddingBottom,10)||0}),S=C.top+C.bottom;(Nl(g+(C.left+C.right),x)||Nl(y+S,_)||Nl(p.scrollWidth,x))&&function(e,t,l,r){if((null==rl?void 0:rl.trigger)!==l){null==rl||rl();var n=null==r?void 0:r.refs.tableWrapper,o=null==n?void 0:n.dataset.prefix,a=i({strategy:"fixed"},e.popperOptions),u=R(ze,i(i({content:t,virtualTriggering:!0,virtualRef:l,appendTo:n,placement:"top",transition:"none",offset:0,hideAfter:0},e),{},{popperOptions:a,onHide:function(){null==rl||rl()}}));u.appContext=i(i({},r.appContext),r);var c=document.createElement("div");L(u,c),u.component.exposed.onOpen();var s=null==n?void 0:n.querySelector(".".concat(o,"-scrollbar__wrap"));(rl=function(){L(null,c),null==s||s.removeEventListener("scroll",rl),rl=null}).trigger=l,null==s||s.addEventListener("scroll",rl)}}(n,c.innerText||c.textContent,c,a)}}},handleCellMouseLeave:function(e){var l=Gt(e);if(l){l.rowSpan>1&&u(l.rowSpan,e,me);var r=null==t?void 0:t.hoverState;null==t||t.emit("cell-mouse-leave",null==r?void 0:r.row,null==r?void 0:r.column,null==r?void 0:r.cell,e)}},tooltipContent:l,tooltipTrigger:r}}var Ll=V({name:"TableTdWrapper"}),Al=V(i(i({},Ll),{},{props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup:function(e){return function(t,l){return Q(),ee("td",{colspan:e.colspan,rowspan:e.rowspan},[ue(t.$slots,"default")],8,["colspan","rowspan"])}}})),Tl=K(Al,[["__file","td-wrapper.vue"]]);function Fl(e){var t=pe(Sl),l=B("table"),r=Rl(e),o=r.handleDoubleClick,a=r.handleClick,u=r.handleContextMenu,c=r.handleMouseEnter,s=r.handleMouseLeave,d=r.handleCellMouseEnter,f=r.handleCellMouseLeave,p=r.tooltipContent,h=r.tooltipTrigger,v=function(e){var t=pe(Sl),l=B("table");return{getRowStyle:function(e,l){var r=null==t?void 0:t.props.rowStyle;return"function"==typeof r?r.call(null,{row:e,rowIndex:l}):r||null},getRowClass:function(r,n){var o=[l.e("row")];(null==t?void 0:t.props.highlightCurrentRow)&&r===e.store.states.currentRow.value&&o.push("current-row"),e.stripe&&n%2==1&&o.push(l.em("row","striped"));var a=null==t?void 0:t.props.rowClassName;return"string"==typeof a?o.push(a):"function"==typeof a&&o.push(a.call(null,{row:r,rowIndex:n})),o},getCellStyle:function(l,r,n,o){var a=null==t?void 0:t.props.cellStyle,i=null!=a?a:{};"function"==typeof a&&(i=a.call(null,{rowIndex:l,columnIndex:r,row:n,column:o}));var u=cl(r,null==e?void 0:e.fixed,e.store);return sl(u,"left"),sl(u,"right"),Object.assign({},i,u)},getCellClass:function(r,o,a,i,u){var c=il(l.b(),o,null==e?void 0:e.fixed,e.store,void 0,u),s=[i.id,i.align,i.className].concat(n(c)),d=null==t?void 0:t.props.cellClassName;return"string"==typeof d?s.push(d):"function"==typeof d&&s.push(d.call(null,{rowIndex:r,columnIndex:o,row:a,column:i})),s.push(l.e("cell")),s.filter((function(e){return Boolean(e)})).join(" ")},getSpan:function(e,l,r,n){var o=1,a=1,i=null==t?void 0:t.props.spanMethod;if("function"==typeof i){var u=i({row:e,column:l,rowIndex:r,columnIndex:n});Array.isArray(u)?(o=u[0],a=u[1]):"object"==typeof u&&(o=u.rowspan,a=u.colspan)}return{rowspan:o,colspan:a}},getColspanRealWidth:function(e,t,l){if(t<1)return e[l].realWidth;var r=e.map((function(e){var t=e.realWidth,l=e.width;return t||l})).slice(l,l+t);return Number(r.reduce((function(e,t){return Number(e)+Number(t)}),-1))}}}(e),b=v.getRowStyle,m=v.getRowClass,g=v.getCellStyle,y=v.getCellClass,w=v.getSpan,x=v.getColspanRealWidth,_=M((function(){return e.store.states.columns.value.findIndex((function(e){return"default"===e.type}))})),C=function(e,l){var r=t.props.rowKey;return r?Qt(e,r):l},S=function(r,n,i){var p=arguments.length>3&&void 0!==arguments[3]&&arguments[3],h=e.tooltipEffect,v=e.tooltipOptions,S=e.store.states,E=S.indent,O=S.columns,N=m(r,n),R=!0;return i&&(N.push(l.em("row","level-".concat(i.level))),R=i.display),ge("tr",{style:[R?null:{display:"none"},b(r,n)],class:N,key:C(r,n),onDblclick:function(e){return o(e,r)},onClick:function(e){return a(e,r)},onContextmenu:function(e){return u(e,r)},onMouseenter:function(){return c(n)},onMouseleave:s},O.value.map((function(l,o){var a=w(r,l,n,o),u=a.rowspan,c=a.colspan;if(!u||!c)return null;var s=Object.assign({},l);s.realWidth=x(O.value,c,o);var b={store:e.store,_self:e.context||t,column:s,row:r,$index:n,cellIndex:o,expanded:p};o===_.value&&i&&(b.treeNode={indent:i.level*E.value,level:i.level},"boolean"==typeof i.expanded&&(b.treeNode.expanded=i.expanded,"loading"in i&&(b.treeNode.loading=i.loading),"noLazyChildren"in i&&(b.treeNode.noLazyChildren=i.noLazyChildren)));var m="".concat(C(r,n),",").concat(o),S=s.columnKey||s.rawColumnKey||"",N=l.showOverflowTooltip&&Wt({effect:h},v,l.showOverflowTooltip);return ge(Tl,{style:g(n,o,r,l),class:y(n,o,r,l,c-1),key:"".concat(S).concat(m),rowspan:u,colspan:c,onMouseenter:function(e){return d(e,r,N)},onMouseleave:f},{default:function(){return k(o,l,b)}})})))},k=function(e,t,l){return t.renderCell(l)};return{wrappedRowRender:function(r,n){var o=e.store,a=o.isRowExpanded,u=o.assertRowKey,c=o.states,s=c.treeData,d=c.lazyTreeNodeMap,f=c.childrenColumnName,p=c.rowKey,h=o.states.columns.value;if(h.some((function(e){return"expand"===e.type}))){var v=a(r),b=S(r,n,void 0,v),m=t.renderExpanded;return v?m?[[b,ge("tr",{key:"expanded-row__".concat(b.key)},[ge("td",{colspan:h.length,class:"".concat(l.e("cell")," ").concat(l.e("expanded-cell"))},[m({row:r,$index:n,store:o,expanded:v})])])]]:(console.error("[Element Error]renderExpanded is required."),b):[[b]]}if(Object.keys(s.value).length){u();var g=Qt(r,p.value),y=s.value[g],w=null;y&&(w={expanded:y.expanded,level:y.level,display:!0},"boolean"==typeof y.lazy&&("boolean"==typeof y.loaded&&y.loaded&&(w.noLazyChildren=!(y.children&&y.children.length)),w.loading=y.loading));var x=[S(r,n,w)];if(y){var _=0,C=function(e,t){e&&e.length&&t&&e.forEach((function(e){var l={display:t.display&&t.expanded,level:t.level+1,expanded:!1,noLazyChildren:!1,loading:!1},r=Qt(e,p.value);if(null==r)throw new Error("For nested data item, row-key is required.");if((y=i({},s.value[r]))&&(l.expanded=y.expanded,y.level=y.level||l.level,y.display=!(!y.expanded||!l.display),"boolean"==typeof y.lazy&&("boolean"==typeof y.loaded&&y.loaded&&(l.noLazyChildren=!(y.children&&y.children.length)),l.loading=y.loading)),_++,x.push(S(e,n+_,l)),y){var o=d.value[r]||e[f.value];C(o,y)}}))};y.display=!0;var k=d.value[g]||r[f.value];C(k,y)}return x}return S(r,n,void 0)},tooltipContent:p,tooltipTrigger:h}}var Hl={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:function(){return{}},type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean},Wl=V({name:"ElTableBody",props:Hl,setup:function(e){var t=H(),l=pe(Sl),r=B("table"),n=Fl(e),o=n.wrappedRowRender,a=n.tooltipContent,i=n.tooltipTrigger,u=Cl(l),c=u.onColumnsChange,s=u.onScrollableChange,d=[];return j(e.store.states.hoverRow,(function(l,n){var o,a,i=null==t?void 0:t.vnode.el,u=Array.from((null==i?void 0:i.children)||[]).filter((function(e){return null==e?void 0:e.classList.contains("".concat(r.e("row")))})),c=l,s=null==(o=u[c])?void 0:o.childNodes;if(null==s?void 0:s.length){var f=0;Array.from(s).reduce((function(e,t,l){var r,n;return(null==(r=s[l])?void 0:r.colSpan)>1&&(f=null==(n=s[l])?void 0:n.colSpan),"TD"!==t.nodeName&&0===f&&e.push(l),f>0&&f--,e}),[]).forEach((function(e){var t;for(c=l;c>0;){var r=null==(t=u[c-1])?void 0:t.childNodes;if(r[e]&&"TD"===r[e].nodeName&&r[e].rowSpan>1){he(r[e],"hover-cell"),d.push(r[e]);break}c--}}))}else d.forEach((function(e){return me(e,"hover-cell")})),d.length=0;e.store.states.isComplex.value&&S&&(a=function(){var e=u[n],t=u[l];e&&!e.classList.contains("hover-fixed-row")&&me(e,"hover-row"),t&&he(t,"hover-row")},S?window.requestAnimationFrame(a):setTimeout(a,16))})),fe((function(){var e;null==(e=rl)||e()})),{ns:r,onColumnsChange:c,onScrollableChange:s,wrappedRowRender:o,tooltipContent:a,tooltipTrigger:i}},render:function(){var e=this.wrappedRowRender,t=this.store.states.data.value||[];return ge("tbody",{tabIndex:-1},[t.reduce((function(t,l){return t.concat(e(l,t.length))}),[])])}});function Ml(e){var t=function(){var e=pe(Sl),t=null==e?void 0:e.store;return{leftFixedLeafCount:M((function(){return t.states.fixedLeafColumnsLength.value})),rightFixedLeafCount:M((function(){return t.states.rightFixedColumns.value.length})),columnsCount:M((function(){return t.states.columns.value.length})),leftFixedCount:M((function(){return t.states.fixedColumns.value.length})),rightFixedCount:M((function(){return t.states.rightFixedColumns.value.length})),columns:t.states.columns}}(),l=t.columns,r=B("table");return{getCellClasses:function(t,l){var o=t[l],a=[r.e("cell"),o.id,o.align,o.labelClassName].concat(n(il(r.b(),l,o.fixed,e.store)));return o.className&&a.push(o.className),o.children||a.push(r.is("leaf")),a},getCellStyles:function(t,l){var r=cl(l,t.fixed,e.store);return sl(r,"left"),sl(r,"right"),r},columns:l}}var jl=V({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},setup:function(e){var t=Ml(e),l=t.getCellClasses,r=t.getCellStyles,n=t.columns;return{ns:B("table"),getCellClasses:l,getCellStyles:r,columns:n}},render:function(){var e=this.columns,t=this.getCellStyles,l=this.getCellClasses,r=this.summaryMethod,o=this.sumText,a=this.store.states.data.value,i=[];return r?i=r({columns:e,data:a}):e.forEach((function(e,t){if(0!==t){var l=a.map((function(t){return Number(t[e.property])})),r=[],n=!0;l.forEach((function(e){if(!Number.isNaN(+e)){n=!1;var t="".concat(e).split(".")[1];r.push(t?t.length:0)}}));var u=Math.max.apply(null,r);i[t]=n?"":l.reduce((function(e,t){var l=Number(t);return Number.isNaN(+l)?e:Number.parseFloat((e+t).toFixed(Math.min(u,20)))}),0)}else i[t]=o})),ge(ge("tfoot",[ge("tr",{},n(e.map((function(r,n){return ge("td",{key:n,colspan:r.colSpan,rowspan:r.rowSpan,class:l(e,n),style:t(r,n)},[ge("div",{class:["cell",r.labelClassName]},[i[n]])])}))))]))}});function zl(l,n,o,a){var i=F(!1),u=F(null),c=F(!1),s=F({width:null,height:null,headerHeight:null}),d=F(!1),f=F(),p=F(0),h=F(0),v=F(0),b=F(0),m=F(0);ye((function(){n.setHeight(l.height)})),ye((function(){n.setMaxHeight(l.maxHeight)})),j((function(){return[l.currentRowKey,o.states.rowKey]}),(function(t){var l=e(t,2),r=l[0],n=l[1];W(n)&&W(r)&&o.setCurrentRowKey("".concat(r))}),{immediate:!0}),j((function(){return l.data}),(function(e){a.store.commit("setData",e)}),{immediate:!0,deep:!0}),ye((function(){l.expandRowKeys&&o.setExpandRowKeysAdapter(l.expandRowKeys)}));var g=M((function(){return l.height||l.maxHeight||o.states.fixedColumns.value.length>0||o.states.rightFixedColumns.value.length>0})),y=M((function(){return{width:n.bodyWidth.value?"".concat(n.bodyWidth.value,"px"):""}})),w=function(){g.value&&n.updateElsHeight(),n.updateColumnsWidth(),requestAnimationFrame(_)};se(r(t().mark((function e(){var r,n;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I();case 2:o.updateColumns(),C(),requestAnimationFrame(w),r=a.vnode.el,n=a.refs.headerWrapper,l.flexible&&r&&r.parentElement&&(r.parentElement.style.minWidth="0"),s.value={width:f.value=r.offsetWidth,height:r.offsetHeight,headerHeight:l.showHeader&&n?n.offsetHeight:null},o.states.columns.value.forEach((function(e){e.filteredValue&&e.filteredValue.length&&a.store.commit("filterChange",{column:e,values:e.filteredValue,silent:!0})})),a.$ready=!0;case 11:case"end":return e.stop()}}),e)}))));var x=function(e){!function(e,t){if(e){var l=Array.from(e.classList).filter((function(e){return!e.startsWith("is-scrolling-")}));l.push(n.scrollX.value?t:"is-scrolling-none"),e.className=l.join(" ")}}(a.refs.tableWrapper,e)},_=function(){if(a.refs.scrollBarRef){if(!n.scrollX.value){var e="is-scrolling-none";return t=e,void((l=a.refs.tableWrapper)&&l.classList.contains(t)||x(e))}var t,l,r=a.refs.scrollBarRef.wrapRef;if(r){var o=r.scrollLeft,i=r.offsetWidth,u=r.scrollWidth,c=a.refs,s=c.headerWrapper,d=c.footerWrapper;s&&(s.scrollLeft=o),d&&(d.scrollLeft=o),x(o>=u-i-1?"is-scrolling-right":0===o?"is-scrolling-left":"is-scrolling-middle")}}},C=function(){a.refs.scrollBarRef&&(a.refs.scrollBarRef.wrapRef&&we(a.refs.scrollBarRef.wrapRef,"scroll",_,{passive:!0}),l.fit?xe(a.vnode.el,S):we(window,"resize",S),xe(a.refs.bodyWrapper,(function(){var e,t;S(),null==(t=null==(e=a.refs)?void 0:e.scrollBarRef)||t.update()})))},S=function(){var e,t,r,n,o=a.vnode.el;if(a.$ready&&o){var i=!1,u=s.value,c=u.width,d=u.height,y=u.headerHeight,x=f.value=o.offsetWidth;c!==x&&(i=!0);var _=o.offsetHeight;(l.height||g.value)&&d!==_&&(i=!0);var C="fixed"===l.tableLayout?a.refs.headerWrapper:null==(e=a.refs.tableHeaderRef)?void 0:e.$el;l.showHeader&&(null==C?void 0:C.offsetHeight)!==y&&(i=!0),p.value=(null==(t=a.refs.tableWrapper)?void 0:t.scrollHeight)||0,v.value=(null==C?void 0:C.scrollHeight)||0,b.value=(null==(r=a.refs.footerWrapper)?void 0:r.offsetHeight)||0,m.value=(null==(n=a.refs.appendWrapper)?void 0:n.offsetHeight)||0,h.value=p.value-v.value-b.value-m.value,i&&(s.value={width:x,height:_,headerHeight:l.showHeader&&(null==C?void 0:C.offsetHeight)||0},w())}},k=_e(),E=M((function(){var e=n.bodyWidth,t=n.scrollY,l=n.gutterWidth;return e.value?"".concat(e.value-(t.value?l:0),"px"):""})),O=M((function(){return l.maxHeight?"fixed":l.tableLayout})),N=M((function(){if(l.data&&l.data.length)return null;var e="100%";l.height&&h.value&&(e="".concat(h.value,"px"));var t=f.value;return{width:t?"".concat(t,"px"):"",height:e}})),R=M((function(){return l.height?{height:Number.isNaN(Number(l.height))?l.height:"".concat(l.height,"px")}:l.maxHeight?{maxHeight:Number.isNaN(Number(l.maxHeight))?l.maxHeight:"".concat(l.maxHeight,"px")}:{}})),L=M((function(){return l.height?{height:"100%"}:l.maxHeight?Number.isNaN(Number(l.maxHeight))?{maxHeight:"calc(".concat(l.maxHeight," - ").concat(v.value+b.value,"px)")}:{maxHeight:"".concat(l.maxHeight-v.value-b.value,"px")}:{}}));return{isHidden:i,renderExpanded:u,setDragVisible:function(e){c.value=e},isGroup:d,handleMouseLeave:function(){a.store.commit("setHoverRow",null),a.hoverState&&(a.hoverState=null)},handleHeaderFooterMousewheel:function(e,t){var l=t.pixelX,r=t.pixelY;Math.abs(l)>=Math.abs(r)&&(a.refs.bodyWrapper.scrollLeft+=t.pixelX/5)},tableSize:k,emptyBlockStyle:N,handleFixedMousewheel:function(e,t){var l=a.refs.bodyWrapper;if(Math.abs(t.spinY)>0){var r=l.scrollTop;t.pixelY<0&&0!==r&&e.preventDefault(),t.pixelY>0&&l.scrollHeight-l.clientHeight>r&&e.preventDefault(),l.scrollTop+=Math.ceil(t.pixelY/5)}else l.scrollLeft+=Math.ceil(t.pixelX/5)},resizeProxyVisible:c,bodyWidth:E,resizeState:s,doLayout:w,tableBodyStyles:y,tableLayout:O,scrollbarViewStyle:{display:"inline-block",verticalAlign:"middle"},tableInnerStyle:R,scrollbarStyle:L}}function Pl(e){var t=F();se((function(){var l,r;l=e.vnode.el.querySelector(".hidden-columns"),r=e.store.states.updateOrderFns,t.value=new MutationObserver((function(){r.forEach((function(e){return e()}))})),t.value.observe(l,{childList:!0,subtree:!0})})),fe((function(){var e;null==(e=t.value)||e.disconnect()}))}var Bl={data:{type:Array,default:function(){return[]}},size:Ce,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:function(){return{hasChildren:"hasChildren",children:"children",checkStrictly:!1}}},lazy:Boolean,load:Function,style:{type:Object,default:function(){return{}}},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0}};function Il(e){var t="auto"===e.tableLayout,l=e.columns||[];t&&l.every((function(e){return void 0===e.width}))&&(l=[]);return ge("colgroup",{},l.map((function(l){return ge("col",function(l){var r={key:"".concat(e.tableLayout,"_").concat(l.id),style:{},name:void 0};return t?r.style={width:"".concat(l.width,"px")}:r.name=l.id,r}(l))})))}Il.props=["columns","tableLayout"];var Dl=1,Kl=V({name:"ElTable",directives:{Mousewheel:$t},components:{TableHeader:Ol,TableBody:Wl,TableFooter:jl,ElScrollbar:je,hColgroup:Il},props:Bl,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup:function(e){var t=q().t,l=B("table"),r=H();ke(Sl,r);var n=bl(r,e);r.store=n;var o=new yl({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=o;var a=M((function(){return 0===(n.states.data.value||[]).length})),i=function(e){return{setCurrentRow:function(t){e.commit("setCurrentRow",t)},getSelectionRows:function(){return e.getSelectionRows()},toggleRowSelection:function(t,l){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e.toggleRowSelection(t,l,!1,r),e.updateAllSelected()},clearSelection:function(){e.clearSelection()},clearFilter:function(t){e.clearFilter(t)},toggleAllSelection:function(){e.commit("toggleAllSelection")},toggleRowExpansion:function(t,l){e.toggleRowExpansionAdapter(t,l)},clearSort:function(){e.clearSort()},sort:function(t,l){e.commit("sort",{prop:t,order:l})},updateKeyChildren:function(t,l){e.updateKeyChildren(t,l)}}}(n),u=i.setCurrentRow,c=i.getSelectionRows,s=i.toggleRowSelection,d=i.clearSelection,f=i.clearFilter,p=i.toggleAllSelection,h=i.toggleRowExpansion,v=i.clearSort,b=i.sort,m=i.updateKeyChildren,g=zl(e,o,n,r),y=g.isHidden,w=g.renderExpanded,x=g.setDragVisible,_=g.isGroup,C=g.handleMouseLeave,S=g.handleHeaderFooterMousewheel,k=g.tableSize,E=g.emptyBlockStyle,O=g.handleFixedMousewheel,N=g.resizeProxyVisible,R=g.bodyWidth,L=g.resizeState,A=g.doLayout,T=g.tableBodyStyles,W=g.tableLayout,j=g.scrollbarViewStyle,z=g.tableInnerStyle,P=g.scrollbarStyle,I=function(){var e=F(),t=function(t,l){var r=e.value;r&&Se(l)&&["Top","Left"].includes(t)&&r["setScroll".concat(t)](l)};return{scrollBarRef:e,scrollTo:function(t,l){var r=e.value;r&&r.scrollTo(t,l)},setScrollTop:function(e){return t("Top",e)},setScrollLeft:function(e){return t("Left",e)}}}(),D=I.scrollBarRef,K=I.scrollTo,V=I.setScrollLeft,Y=I.setScrollTop,$=Ge(A,50),G="".concat(l.namespace.value,"-table_").concat(Dl++);r.tableId=G,r.state={isGroup:_,resizeState:L,doLayout:A,debouncedUpdateLayout:$};var X=M((function(){var l;return null!=(l=e.sumText)?l:t("el.table.sumText")})),U=M((function(){var l;return null!=(l=e.emptyText)?l:t("el.table.emptyText")})),Q=M((function(){return El(n.states.originColumns.value)[0]}));return Pl(r),Ee((function(){$.cancel()})),{ns:l,layout:o,store:n,columns:Q,handleHeaderFooterMousewheel:S,handleMouseLeave:C,tableId:G,tableSize:k,isHidden:y,isEmpty:a,renderExpanded:w,resizeProxyVisible:N,resizeState:L,isGroup:_,bodyWidth:R,tableBodyStyles:T,emptyBlockStyle:E,debouncedUpdateLayout:$,handleFixedMousewheel:O,setCurrentRow:u,getSelectionRows:c,toggleRowSelection:s,clearSelection:d,clearFilter:f,toggleAllSelection:p,toggleRowExpansion:h,clearSort:v,doLayout:A,sort:b,updateKeyChildren:m,t:t,setDragVisible:x,context:r,computedSumText:X,computedEmptyText:U,tableLayout:W,scrollbarViewStyle:j,tableInnerStyle:z,scrollbarStyle:P,scrollBarRef:D,scrollTo:K,setScrollLeft:V,setScrollTop:Y}}});var Vl=K(Kl,[["render",function(e,t,l,r,n,o){var a,i=X("hColgroup"),c=X("table-header"),s=X("table-body"),d=X("table-footer"),f=X("el-scrollbar"),p=U("mousewheel");return Q(),ee("div",{ref:"tableWrapper",class:le([(a={},u(u(u(u(u(u(u(u(u(u(a,e.ns.m("fit"),e.fit),e.ns.m("striped"),e.stripe),e.ns.m("border"),e.border||e.isGroup),e.ns.m("hidden"),e.isHidden),e.ns.m("group"),e.isGroup),e.ns.m("fluid-height"),e.maxHeight),e.ns.m("scrollable-x"),e.layout.scrollX.value),e.ns.m("scrollable-y"),e.layout.scrollY.value),e.ns.m("enable-row-hover"),!e.store.states.isComplex.value),e.ns.m("enable-row-transition"),0!==(e.store.states.data.value||[]).length&&(e.store.states.data.value||[]).length<100),u(a,"has-footer",e.showSummary)),e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m("layout-".concat(e.tableLayout))]),style:Oe(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[te("div",{class:le(e.ns.e("inner-wrapper")),style:Oe(e.tableInnerStyle)},[te("div",{ref:"hiddenColumns",class:"hidden-columns"},[ue(e.$slots,"default")],512),e.showHeader&&"fixed"===e.tableLayout?ie((Q(),ee("div",{key:0,ref:"headerWrapper",class:le(e.ns.e("header-wrapper"))},[te("table",{ref:"tableHeader",class:le(e.ns.e("header")),style:Oe(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[R(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),R(c,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","onSetDragVisible"])],6)],2)),[[p,e.handleHeaderFooterMousewheel]]):Ne("v-if",!0),te("div",{ref:"bodyWrapper",class:le(e.ns.e("body-wrapper"))},[R(f,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex},{default:J((function(){return[te("table",{ref:"tableBody",class:le(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Oe({width:e.bodyWidth,tableLayout:e.tableLayout})},[R(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&"auto"===e.tableLayout?(Q(),Z(c,{key:0,ref:"tableHeaderRef",class:le(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):Ne("v-if",!0),R(s,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&"auto"===e.tableLayout?(Q(),Z(d,{key:1,class:le(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):Ne("v-if",!0)],6),e.isEmpty?(Q(),ee("div",{key:0,ref:"emptyBlock",style:Oe(e.emptyBlockStyle),class:le(e.ns.e("empty-block"))},[te("span",{class:le(e.ns.e("empty-text"))},[ue(e.$slots,"empty",{},(function(){return[oe(ae(e.computedEmptyText),1)]}))],2)],6)):Ne("v-if",!0),e.$slots.append?(Q(),ee("div",{key:1,ref:"appendWrapper",class:le(e.ns.e("append-wrapper"))},[ue(e.$slots,"append")],2)):Ne("v-if",!0)]})),_:3},8,["view-style","wrap-style","always","tabindex"])],2),e.showSummary&&"fixed"===e.tableLayout?ie((Q(),ee("div",{key:1,ref:"footerWrapper",class:le(e.ns.e("footer-wrapper"))},[te("table",{class:le(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:Oe(e.tableBodyStyles)},[R(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),R(d,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[Re,!e.isEmpty],[p,e.handleHeaderFooterMousewheel]]):Ne("v-if",!0),e.border||e.isGroup?(Q(),ee("div",{key:2,class:le(e.ns.e("border-left-patch"))},null,2)):Ne("v-if",!0)],6),ie(te("div",{ref:"resizeProxy",class:le(e.ns.e("column-resize-proxy"))},null,2),[[Re,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}],["__file","table.vue"]]),Yl={selection:"table-column--selection",expand:"table__expand-column"},$l={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Gl={selection:{renderHeader:function(e){var t=e.store,l=e.column;return ge(qe,{disabled:t.states.data.value&&0===t.states.data.value.length,size:t.states.tableSize.value,indeterminate:t.states.selection.value.length>0&&!t.states.isAllSelected.value,"onUpdate:modelValue":t.toggleAllSelection,modelValue:t.states.isAllSelected.value,ariaLabel:l.label})},renderCell:function(e){var t=e.row,l=e.column,r=e.store,n=e.$index;return ge(qe,{disabled:!!l.selectable&&!l.selectable.call(null,t,n),size:r.states.tableSize.value,onChange:function(){r.commit("rowSelectedChanged",t)},onClick:function(e){return e.stopPropagation()},modelValue:r.isSelected(t),ariaLabel:l.label})},sortable:!1,resizable:!1},index:{renderHeader:function(e){return e.column.label||"#"},renderCell:function(e){var t=e.column,l=e.$index,r=l+1,n=t.index;return"number"==typeof n?r=l+n:"function"==typeof n&&(r=n(l)),ge("div",{},[r])},sortable:!1},expand:{renderHeader:function(e){return e.column.label||""},renderCell:function(e){var t=e.row,l=e.store,r=e.expanded,n=l.ns,o=[n.e("expand-icon")];r&&o.push(n.em("expand-icon","expanded"));return ge("div",{class:o,onClick:function(e){e.stopPropagation(),l.toggleRowExpansion(t)}},{default:function(){return[ge(Y,null,{default:function(){return[ge(Ae)]}})]}})},sortable:!1,resizable:!1}};function ql(e){var t,l=e.row,r=e.column,n=e.$index,o=r.property,a=o&&Le(l,o).value;return r&&r.formatter?r.formatter(l,r,a,n):(null==(t=null==a?void 0:a.toString)?void 0:t.call(a))||""}function Xl(e,t){return e.reduce((function(e,t){return e[t]=t,e}),t)}function Ul(e,t,l){var r=H(),n=F(""),o=F(!1),a=F(),i=F(),c=B("table");ye((function(){a.value=e.align?"is-".concat(e.align):null,a.value})),ye((function(){i.value=e.headerAlign?"is-".concat(e.headerAlign):a.value,i.value}));var s=M((function(){for(var e=r.vnode.vParent||r.parent;e&&!e.tableId&&!e.columnId;)e=e.vnode.vParent||e.parent;return e})),d=M((function(){var e=r.parent.store;if(!e)return!1;var t=e.states.treeData.value;return t&&Object.keys(t).length>0})),f=F(Jt(e.width)),p=F(el(e.minWidth));return{columnId:n,realAlign:a,isSubColumn:o,realHeaderAlign:i,columnOrTableParent:s,setColumnWidth:function(e){return f.value&&(e.width=f.value),p.value&&(e.minWidth=p.value),!f.value&&p.value&&(e.width=void 0),e.minWidth||(e.minWidth=80),e.realWidth=Number(void 0===e.width?e.minWidth:e.width),e},setColumnForcedProps:function(e){var t=e.type,l=Gl[t]||{};Object.keys(l).forEach((function(t){var r=l[t];"className"!==t&&void 0!==r&&(e[t]=r)}));var r=function(e){return Yl[e]||""}(t);if(r){var n="".concat(W(c.namespace),"-").concat(r);e.className=e.className?"".concat(e.className," ").concat(n):n}return e},setColumnRenders:function(n){e.renderHeader||"selection"!==n.type&&(n.renderHeader=function(e){return r.columnConfig.value.label,ue(t,"header",e,(function(){return[n.label]}))}),t["filter-icon"]&&(n.renderFilterIcon=function(e){return ue(t,"filter-icon",e)});var o=n.renderCell;return"expand"===n.type?(n.renderCell=function(e){return ge("div",{class:"cell"},[o(e)])},l.value.renderExpanded=function(e){return t.default?t.default(e):t.default}):(o=o||ql,n.renderCell=function(e){var a=null;if(t.default){var i=t.default(e);a=i.some((function(e){return e.type!==Fe}))?i:o(e)}else a=o(e);var s=l.value.store.states.columns.value.findIndex((function(e){return"default"===e.type})),f=function(e){var t=e.row,l=e.treeNode,r=e.store,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=r.ns;if(!l)return n?[ge("span",{class:o.e("placeholder")})]:null;var a=[];if(l.indent&&a.push(ge("span",{class:o.e("indent"),style:{"padding-left":"".concat(l.indent,"px")}})),"boolean"!=typeof l.expanded||l.noLazyChildren)a.push(ge("span",{class:o.e("placeholder")}));else{var i=[o.e("expand-icon"),l.expanded?o.em("expand-icon","expanded"):""],c=Ae;l.loading&&(c=Te),a.push(ge("div",{class:i,onClick:function(e){e.stopPropagation(),l.loading||r.loadOrToggle(t)}},{default:function(){return[ge(Y,{class:u({},o.is("loading"),l.loading)},{default:function(){return[ge(c)]}})]}}))}return a}(e,d.value&&e.cellIndex===s),p={class:"cell",style:{}};return n.showOverflowTooltip&&(p.class="".concat(p.class," ").concat(W(c.namespace),"-tooltip"),p.style={width:"".concat((e.column.realWidth||Number(e.column.width))-1,"px")}),function(e){function t(e){var t;"ElTableColumn"===(null==(t=null==e?void 0:e.type)?void 0:t.name)&&(e.vParent=r)}Array.isArray(e)?e.forEach((function(e){return t(e)})):t(e)}(a),ge("div",p,[f,a])}),n},getPropsData:function(){for(var t=arguments.length,l=new Array(t),r=0;r-1&&o.value.store.commit("insertColumn",n.value,f.value?t.columnConfig.value:null,x)})),Ee((function(){var e=n.value.getColumnIndex;(e?e():-1)>-1&&o.value.store.commit("removeColumn",n.value,f.value?_.columnConfig.value:null,x)})),r.columnId=d.value,r.columnConfig=n},render:function(){var e,t,l;try{var r=null==(t=(e=this.$slots).default)?void 0:t.call(e,{row:{},column:{},$index:-1}),n=[];if(Array.isArray(r)){var o,a=s(r);try{for(a.s();!(o=a.n()).done;){var i=o.value;"ElTableColumn"===(null==(l=i.type)?void 0:l.name)||2&i.shapeFlag?n.push(i):i.type===re&&Array.isArray(i.children)&&i.children.forEach((function(e){1024===(null==e?void 0:e.patchFlag)||He(null==e?void 0:e.children)||n.push(e)}))}}catch(u){a.e(u)}finally{a.f()}}return ge("div",n)}catch(c){return ge("div",[])}}});l("a",We(Vl,{TableColumn:Jl})),l("E",Me(Jl))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column.css new file mode 100644 index 000000000..2ddfc68dd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.el-table{--el-table-border-color: var(--el-border-color-lighter);--el-table-border: 1px solid var(--el-table-border-color);--el-table-text-color: var(--el-text-color-regular);--el-table-header-text-color: var(--el-text-color-secondary);--el-table-row-hover-bg-color: var(--el-fill-color-light);--el-table-current-row-bg-color: var(--el-color-primary-light-9);--el-table-header-bg-color: var(--el-bg-color);--el-table-fixed-box-shadow: var(--el-box-shadow-light);--el-table-bg-color: var(--el-fill-color-blank);--el-table-tr-bg-color: var(--el-bg-color);--el-table-expanded-cell-bg-color: var(--el-fill-color-blank);--el-table-fixed-left-column: inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column: inset -10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-index: var(--el-index-normal);position:relative;overflow:hidden;box-sizing:border-box;height:fit-content;width:100%;max-width:100%;background-color:var(--el-table-bg-color);font-size:14px;color:var(--el-table-text-color)}.el-table__inner-wrapper{position:relative;display:flex;flex-direction:column;height:100%}.el-table__inner-wrapper:before{left:0;bottom:0;height:1px}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell,.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{position:sticky;left:0;min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:var(--el-text-color-secondary)}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;user-select:none}.el-table__expand-icon{position:relative;cursor:pointer;color:var(--el-text-color-regular);font-size:12px;transition:transform var(--el-transition-duration-fast) ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{padding:8px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left;z-index:var(--el-table-index)}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;overflow-wrap:break-word;line-height:23px;padding:0 12px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:14px}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table th.el-table__cell.is-leaf,.el-table td.el-table__cell{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border:after,.el-table--border:before,.el-table--border .el-table__inner-wrapper:after,.el-table__inner-wrapper:before{content:"";position:absolute;background-color:var(--el-table-border-color);z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{left:0;top:0;width:100%;height:1px;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{top:-1px;left:0;width:1px;height:100%}.el-table--border:after{top:-1px;right:0;width:1px;height:100%}.el-table--border .el-table__inner-wrapper{border-right:none;border-bottom:none}.el-table--border .el-table__footer-wrapper{position:relative;flex-shrink:0}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__header-wrapper,.el-table__body-wrapper,.el-table__footer-wrapper{width:100%}.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right,.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right{position:sticky!important;background:inherit;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{content:"";position:absolute;top:0;width:10px;bottom:-1px;overflow-x:hidden;overflow-y:hidden;box-shadow:none;touch-action:none;pointer-events:none}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px;box-shadow:none}.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch,.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch{position:sticky!important;z-index:calc(var(--el-table-index) + 1);background:#fff;right:0}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__header,.el-table__body,.el-table__footer{table-layout:fixed;border-collapse:separate}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{overflow:hidden;flex-shrink:0}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__header-wrapper .el-table-column--selection>.cell,.el-table__body-wrapper .el-table-column--selection>.cell{display:inline-flex;align-items:center;height:23px}.el-table__header-wrapper .el-table-column--selection .el-checkbox,.el-table__body-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{overflow:hidden;position:relative;flex:1}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:14px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:solid 5px transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{position:sticky;bottom:0;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:var(--el-table-border);z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{display:inline-block;cursor:pointer}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{top:0;left:0;width:1px;height:100%;z-index:calc(var(--el-table-index) + 2);position:absolute;background-color:var(--el-table-border-color)}.el-table__border-bottom-patch{left:0;height:1px;z-index:calc(var(--el-table-index) + 2);position:absolute;background-color:var(--el-table-border-color)}.el-table__border-right-patch{top:0;height:100%;width:1px;z-index:calc(var(--el-table-index) + 2);position:absolute;background-color:var(--el-table-border-color)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:12px;line-height:12px;height:12px;text-align:center;margin-right:8px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);border-radius:2px;background-color:#fff;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:var(--el-font-size-base)}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:transparent;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:none}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:flex;align-items:center;margin-right:5px;margin-bottom:12px;margin-left:5px;height:unset}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column.js new file mode 100644 index 000000000..021fe313c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0table-column.js @@ -0,0 +1,18 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{c3 as e,c4 as t,bb as l,b5 as n,bZ as o,bP as a,bM as r,bW as s,c1 as i,bc as u,bY as c,bV as d,c5 as p,c6 as h,bk as f,c7 as v,ad as m,aZ as g,a8 as y,e as b,c8 as w,b8 as x,aQ as C,a as S,ap as E,D as R,C as N,X as k,af as O,bi as A,v as L,Q as H,c9 as T,_ as F,q as W,H as M,av as B,ca as K,ah as D,N as I,bp as P,o as j,h as z,w as V,c as _,b as Y,n as $,K as q,L as X,g as G,t as U,S as Q,z as Z,bw as J,P as ee,b1 as te,R as le,ab as ne,aF as oe,bE as ae,aH as re,aG as se,y as ie,aN as ue,a9 as ce,aO as de,aj as pe,a2 as he,a7 as fe,x as ve,aw as me,F as ge,f as ye,Y as be,b3 as we,aJ as xe,cb as Ce,bC as Se,ag as Ee,I as Re,J as Ne}from"./087AC4D233B64EB0index.js";import{E as ke}from"./087AC4D233B64EB0scrollbar.js";import{a as Oe,C as Ae}from"./087AC4D233B64EB0index20.js";import{b as Le}from"./087AC4D233B64EB0tag.js";import{h as He,k as Te,i as Fe,e as We,S as Me}from"./087AC4D233B64EB0_Uint8Array.js";import{i as Be}from"./087AC4D233B64EB0isEqual.js";import{d as Ke}from"./087AC4D233B64EB0debounce.js";import{E as De}from"./087AC4D233B64EB0checkbox.js";import{g as Ie,c as Pe,k as je,d as ze,e as Ve,b as _e,i as Ye}from"./087AC4D233B64EB0_initCloneObject.js";var $e,qe=Function.prototype,Xe=Object.prototype,Ge=qe.toString,Ue=Xe.hasOwnProperty,Qe=Ge.call(Object);const Ze=function(e,t,l){for(var n=-1,o=Object(e),a=l(e),r=a.length;r--;){var s=a[$e?r:++n];if(!1===t(o[s],s,o))break}return e};var Je=function(e,t){return function(l,n){if(null==l)return l;if(!He(l))return e(l,n);for(var o=l.length,a=t?o:-1,r=Object(l);(t?a--:++a1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(s=st.length>3&&"function"==typeof s?(r--,s):void 0,i&&function(e,t,l){if(!n(l))return!1;var r=typeof t;return!!("number"==r?He(l)&&o(t,l.length):"string"==r&&t in l)&&a(l[t],e)}(t[0],t[1],i)&&(s=r<3?void 0:s,r=1),e=Object(e);++ldt},ie64:function(){return At.ie()&&xt},firefox:function(){return kt()||pt},opera:function(){return kt()||ht},webkit:function(){return kt()||ft},safari:function(){return At.webkit()},chrome:function(){return kt()||vt},windows:function(){return kt()||yt},osx:function(){return kt()||gt},linux:function(){return kt()||bt},iphone:function(){return kt()||Ct},mobile:function(){return kt()||Ct||St||wt||Rt},nativeApp:function(){return kt()||Et},android:function(){return kt()||wt},ipad:function(){return kt()||St}},Lt=At,Ht=!!(typeof window<"u"&&window.document&&window.document.createElement),Tt={canUseDOM:Ht,canUseWorkers:typeof Worker<"u",canUseEventListeners:Ht&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:Ht&&!!window.screen,isInWorker:!Ht};Tt.canUseDOM&&(Ot=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var Ft=function(e,t){if(!Tt.canUseDOM||t&&!("addEventListener"in document))return!1;var l="on"+e,n=l in document;if(!n){var o=document.createElement("div");o.setAttribute(l,"return;"),n="function"==typeof o[l]}return!n&&Ot&&"wheel"===e&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n};function Wt(e){var t=0,l=0,n=0,o=0;return"detail"in e&&(l=e.detail),"wheelDelta"in e&&(l=-e.wheelDelta/120),"wheelDeltaY"in e&&(l=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=l,l=0),n=10*t,o=10*l,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(1==e.deltaMode?(n*=40,o*=40):(n*=800,o*=800)),n&&!t&&(t=n<1?-1:1),o&&!l&&(l=o<1?-1:1),{spinX:t,spinY:l,pixelX:n,pixelY:o}}Wt.getEventType=function(){return Lt.firefox()?"DOMMouseScroll":Ft("wheel")?"wheel":"mousewheel"};var Mt=Wt; +/** +* Checks if an event is supported in the current execution environment. +* +* NOTE: This will not work correctly for non-generic events such as `change`, +* `reset`, `load`, `error`, and `select`. +* +* Borrows from Modernizr. +* +* @param {string} eventNameSuffix Event name, e.g. "click". +* @param {?boolean} capture Check if the capture phase is supported. +* @return {boolean} True if the event is supported. +* @internal +* @license Modernizr 3.0.0pre (Custom Build) | MIT +*/const Bt={beforeMount(e,t){!function(e,t){if(e&&e.addEventListener){const l=function(e){const l=Mt(e);t&&Reflect.apply(t,this,[e,l])};e.addEventListener("wheel",l,{passive:!0})}}(e,t.value)}},Kt=function(e){var t;return null==(t=e.target)?void 0:t.closest("td")},Dt=function(e,t,l,n,o){if(!t&&!n&&(!o||Array.isArray(o)&&!o.length))return e;l="string"==typeof l?"descending"===l?-1:1:l&&l<0?-1:1;const a=n?null:function(l,n){return o?(Array.isArray(o)||(o=[o]),o.map((t=>"string"==typeof t?x(l,t):t(l,n,e)))):("$key"!==t&&C(l)&&"$value"in l&&(l=l.$value),[C(l)?x(l,t):l])};return e.map(((e,t)=>({value:e,index:t,key:a?a(e,t):null}))).sort(((e,t)=>{let o=function(e,t){if(n)return n(e.value,t.value);for(let l=0,n=e.key.length;lt.key[l])return 1}return 0}(e,t);return o||(o=e.index-t.index),o*+l})).map((e=>e.value))},It=function(e,t){let l=null;return e.columns.forEach((e=>{e.id===t&&(l=e)})),l},Pt=function(e,t,l){const n=(t.className||"").match(new RegExp("".concat(l,"-table_[^\\s]+"),"gm"));return n?It(e,n[0]):null},jt=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if("string"==typeof t){if(!t.includes("."))return"".concat(e[t]);const l=t.split(".");let n=e;for(const e of l)n=n[e];return"".concat(n)}if("function"==typeof t)return t.call(null,e)},zt=function(e,t){const l={};return(e||[]).forEach(((e,n)=>{l[jt(e,t)]={row:e,index:n}})),l};function Vt(e){return""===e||void 0!==e&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function _t(e){return""===e||void 0!==e&&(e=Vt(e),Number.isNaN(e)&&(e=80)),e}function Yt(e,t,l,n,o,a){let r=null!=a?a:0,s=!1;const i=e.indexOf(t),u=-1!==i,c=null==o?void 0:o.call(null,t,a),d=l=>{"add"===l?e.push(t):e.splice(i,1),s=!0},p=e=>{let t=0;const l=(null==n?void 0:n.children)&&e[n.children];return l&&y(l)&&(t+=l.length,l.forEach((e=>{t+=p(e)}))),t};return o&&!c||(g(l)?l&&!u?d("add"):!l&&u&&d("remove"):d(u?"remove":"add")),!(null==n?void 0:n.checkStrictly)&&(null==n?void 0:n.children)&&y(t[n.children])&&t[n.children].forEach((t=>{Yt(e,t,null!=l?l:!u,n,o,r+1),r+=p(t)+1})),s}function $t(e,t,l="children",n="hasChildren"){const o=e=>!(Array.isArray(e)&&e.length);function a(e,r,s){t(e,r,s),r.forEach((e=>{if(e[n])return void t(e,null,s+1);const r=e[l];o(r)||a(e,r,s+1)}))}e.forEach((e=>{if(e[n])return void t(e,null,0);const r=e[l];o(r)||a(e,r,0)}))}let qt=null;function Xt(e){return e.children?rt(e.children,Xt):[e]}function Gt(e,t){return e+t.colSpan}const Ut=(e,t,l,n)=>{let o=0,a=e;const r=l.states.columns.value;if(n){const t=Xt(n[e]);o=r.slice(0,r.indexOf(t[0])).reduce(Gt,0),a=o+t.reduce(Gt,0)-1}else o=e;let s;switch(t){case"left":a=r.length-l.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:a=r.length-l.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:o,after:a}:{}},Qt=(e,t,l,n,o,a=0)=>{const r=[],{direction:s,start:i,after:u}=Ut(t,l,n,o);if(s){const t="left"===s;r.push("".concat(e,"-fixed-column--").concat(s)),t&&u+a===n.states.fixedLeafColumnsLength.value-1?r.push("is-last-column"):t||i-a!=n.states.columns.value.length-n.states.rightFixedLeafColumnsLength.value||r.push("is-first-column")}return r};function Zt(e,t){return e+(null===t.realWidth||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const Jt=(e,t,l,n)=>{const{direction:o,start:a=0,after:r=0}=Ut(e,t,l,n);if(!o)return;const s={},i="left"===o,u=l.states.columns.value;return i?s.left=u.slice(0,a).reduce(Zt,0):s.right=u.slice(r+1).reverse().reduce(Zt,0),s},el=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]="".concat(e[t],"px")))};const tl=e=>{const t=[];return e.forEach((e=>{e.children&&e.children.length>0?t.push.apply(t,tl(e.children)):t.push(e)})),t};function ll(){var e;const t=E(),{size:l}=O(null==(e=t.proxy)?void 0:e.$props),n=S(null),o=S([]),a=S([]),r=S(!1),s=S([]),i=S([]),u=S([]),c=S([]),d=S([]),p=S([]),h=S([]),f=S([]),g=S(0),y=S(0),b=S(0),w=S(!1),x=S([]),C=S(!1),L=S(!1),H=S(null),T=S({}),F=S(null),W=S(null),M=S(null),B=S(null),K=S(null);k(o,(()=>t.state&&j(!1)),{deep:!0});const D=e=>{var t;null==(t=e.children)||t.forEach((t=>{t.fixed=e.fixed,D(t)}))};let I;const P=()=>{if(s.value.forEach((e=>{D(e)})),c.value=s.value.filter((e=>!0===e.fixed||"left"===e.fixed)),d.value=s.value.filter((e=>"right"===e.fixed)),A(I)&&s.value[0]&&"selection"===s.value[0].type&&(I=Boolean(s.value[0].fixed)),c.value.length>0&&s.value[0]&&"selection"===s.value[0].type)if(s.value[0].fixed){c.value.some((e=>"selection"!==e.type))?I=void 0:(s.value[0].fixed=I,I||c.value.shift())}else s.value[0].fixed=!0,c.value.unshift(s.value[0]);const e=s.value.filter((e=>!e.fixed));i.value=[].concat(c.value).concat(e).concat(d.value);const t=tl(e),l=tl(c.value),n=tl(d.value);g.value=t.length,y.value=l.length,b.value=n.length,u.value=[].concat(l).concat(t).concat(n),r.value=c.value.length>0||d.value.length>0},j=(e,l=!1)=>{e&&P(),l?t.state.doLayout():t.state.debouncedUpdateLayout()},z=e=>{var l;if(!t||!t.store)return 0;const{treeData:n}=t.store.states;let o=0;const a=null==(l=n.value[e])?void 0:l.children;return a&&(o+=a.length,a.forEach((e=>{o+=z(e)}))),o},V=(e,t,l)=>{W.value&&W.value!==e&&(W.value.order=null),W.value=e,M.value=t,B.value=l},_=()=>{let e=R(a);Object.keys(T.value).forEach((t=>{const l=T.value[t];if(!l||0===l.length)return;const n=It({columns:u.value},t);n&&n.filterMethod&&(e=e.filter((e=>l.some((t=>n.filterMethod.call(null,t,e,n))))))})),F.value=e},Y=()=>{o.value=((e,t)=>{const l=t.sortingColumn;return l&&"string"!=typeof l.sortable?Dt(e,t.sortProp,t.sortOrder,l.sortMethod,l.sortBy):e})(F.value,{sortingColumn:W.value,sortProp:M.value,sortOrder:B.value})},{setExpandRowKeys:$,toggleRowExpansion:q,updateExpandRows:X,states:G,isRowExpanded:U}=function(e){const t=E(),l=S(!1),n=S([]);return{updateExpandRows:()=>{const t=e.data.value||[],o=e.rowKey.value;if(l.value)n.value=t.slice();else if(o){const e=zt(n.value,o);n.value=t.reduce(((t,l)=>{const n=jt(l,o);return e[n]&&t.push(l),t}),[])}else n.value=[]},toggleRowExpansion:(e,l)=>{Yt(n.value,e,l)&&t.emit("expand-change",e,n.value.slice())},setExpandRowKeys:l=>{t.store.assertRowKey();const o=e.data.value||[],a=e.rowKey.value,r=zt(o,a);n.value=l.reduce(((e,t)=>{const l=r[t];return l&&e.push(l.row),e}),[])},isRowExpanded:t=>{const l=e.rowKey.value;return l?!!zt(n.value,l)[jt(t,l)]:n.value.includes(t)},states:{expandRows:n,defaultExpandAll:l}}}({data:o,rowKey:n}),{updateTreeExpandKeys:Q,toggleTreeExpansion:Z,updateTreeData:J,updateKeyChildren:ee,loadOrToggle:te,states:le}=function(e){const t=S([]),l=S({}),n=S(16),o=S(!1),a=S({}),r=S("hasChildren"),s=S("children"),i=S(!1),u=E(),c=N((()=>{if(!e.rowKey.value)return{};const t=e.data.value||[];return p(t)})),d=N((()=>{const t=e.rowKey.value,l=Object.keys(a.value),n={};return l.length?(l.forEach((e=>{if(a.value[e].length){const l={children:[]};a.value[e].forEach((e=>{const o=jt(e,t);l.children.push(o),e[r.value]&&!n[o]&&(n[o]={children:[]})})),n[e]=l}})),n):n})),p=t=>{const l=e.rowKey.value,n={};return $t(t,((e,t,a)=>{const r=jt(e,l);Array.isArray(t)?n[r]={children:t.map((e=>jt(e,l))),level:a}:o.value&&(n[r]={children:[],lazy:!0,level:a})}),s.value,r.value),n},h=(e=!1,n=(e=>null==(e=u.store)?void 0:e.states.defaultExpandAll.value)())=>{var a;const r=c.value,s=d.value,i=Object.keys(r),p={};if(i.length){const a=R(l),u=[],c=(l,o)=>{if(e)return t.value?n||t.value.includes(o):!(!n&&!(null==l?void 0:l.expanded));{const e=n||t.value&&t.value.includes(o);return!(!(null==l?void 0:l.expanded)&&!e)}};i.forEach((e=>{const t=a[e],l={...r[e]};if(l.expanded=c(t,e),l.lazy){const{loaded:n=!1,loading:o=!1}=t||{};l.loaded=!!n,l.loading=!!o,u.push(e)}p[e]=l}));const d=Object.keys(s);o.value&&d.length&&u.length&&d.forEach((e=>{const t=a[e],l=s[e].children;if(u.includes(e)){if(0!==p[e].children.length)throw new Error("[ElTable]children must be an empty array.");p[e].children=l}else{const{loaded:n=!1,loading:o=!1}=t||{};p[e]={lazy:!0,loaded:!!n,loading:!!o,expanded:c(t,e),children:l,level:""}}}))}l.value=p,null==(a=u.store)||a.updateTableScrollY()};k((()=>t.value),(()=>{h(!0)})),k((()=>c.value),(()=>{h()})),k((()=>d.value),(()=>{h()}));const f=(t,n)=>{u.store.assertRowKey();const o=e.rowKey.value,a=jt(t,o),r=a&&l.value[a];if(a&&r&&"expanded"in r){const e=r.expanded;n=void 0===n?!r.expanded:n,l.value[a].expanded=n,e!==n&&u.emit("expand-change",t,n),u.store.updateTableScrollY()}},v=(e,t,n)=>{const{load:o}=u.props;o&&!l.value[t].loaded&&(l.value[t].loading=!0,o(e,n,(n=>{if(!Array.isArray(n))throw new TypeError("[ElTable] data must be an array");l.value[t].loading=!1,l.value[t].loaded=!0,l.value[t].expanded=!0,n.length&&(a.value[t]=n),u.emit("expand-change",e,!0)})))};return{loadData:v,loadOrToggle:t=>{u.store.assertRowKey();const n=e.rowKey.value,a=jt(t,n),r=l.value[a];o.value&&r&&"loaded"in r&&!r.loaded?v(t,a,r):f(t,void 0)},toggleTreeExpansion:f,updateTreeExpandKeys:e=>{t.value=e,h()},updateTreeData:h,updateKeyChildren:(e,t)=>{const{lazy:l,rowKey:n}=u.props;if(l){if(!n)throw new Error("[Table] rowKey is required in updateKeyChild");a.value[e]&&(a.value[e]=t)}},normalize:p,states:{expandRowKeys:t,treeData:l,indent:n,lazy:o,lazyTreeNodeMap:a,lazyColumnIdentifier:r,childrenColumnName:s,checkStrictly:i}}}({data:o,rowKey:n}),{updateCurrentRowData:ne,updateCurrentRow:oe,setCurrentRowKey:ae,states:re}=function(e){const t=E(),l=S(null),n=S(null),o=()=>{l.value=null},a=l=>{const{data:o,rowKey:a}=e;let r=null;a.value&&(r=(R(o)||[]).find((e=>jt(e,a.value)===l))),n.value=r,t.emit("current-change",n.value,null)};return{setCurrentRowKey:e=>{t.store.assertRowKey(),l.value=e,a(e)},restoreCurrentRowKey:o,setCurrentRowByKey:a,updateCurrentRow:e=>{const l=n.value;if(e&&e!==l)return n.value=e,void t.emit("current-change",n.value,l);!e&&l&&(n.value=null,t.emit("current-change",null,l))},updateCurrentRowData:()=>{const r=e.rowKey.value,s=e.data.value||[],i=n.value;if(!s.includes(i)&&i){if(r){const e=jt(i,r);a(e)}else n.value=null;null===n.value&&t.emit("current-change",null,i)}else l.value&&(a(l.value),o())},states:{_currentRowKey:l,currentRow:n}}}({data:o,rowKey:n});return{assertRowKey:()=>{if(!n.value)throw new Error("[ElTable] prop row-key is required")},updateColumns:P,scheduleLayout:j,isSelected:e=>x.value.some((t=>Be(t,e))),clearSelection:()=>{w.value=!1;const e=x.value;x.value=[],e.length&&t.emit("selection-change",[])},cleanSelection:()=>{let e;if(n.value){e=[];const t=zt(x.value,n.value),l=zt(o.value,n.value);for(const n in t)v(t,n)&&!l[n]&&e.push(t[n].row)}else e=x.value.filter((e=>!o.value.includes(e)));if(e.length){const l=x.value.filter((t=>!e.includes(t)));x.value=l,t.emit("selection-change",l.slice())}},getSelectionRows:()=>(x.value||[]).slice(),toggleRowSelection:(e,l,n=!0,o=!1)=>{var a,r,s,i;const u={children:null==(r=null==(a=null==t?void 0:t.store)?void 0:a.states)?void 0:r.childrenColumnName.value,checkStrictly:null==(i=null==(s=null==t?void 0:t.store)?void 0:s.states)?void 0:i.checkStrictly.value};if(Yt(x.value,e,l,u,o?void 0:H.value)){const l=(x.value||[]).slice();n&&t.emit("select",l,e),t.emit("selection-change",l)}},_toggleAllSelection:()=>{var e,l;const n=L.value?!w.value:!(w.value||x.value.length);w.value=n;let a=!1,r=0;const s=null==(l=null==(e=null==t?void 0:t.store)?void 0:e.states)?void 0:l.rowKey.value,{childrenColumnName:i}=t.store.states,u={children:i.value,checkStrictly:!1};o.value.forEach(((e,t)=>{const l=t+r;Yt(x.value,e,n,u,H.value,l)&&(a=!0),r+=z(jt(e,s))})),a&&t.emit("selection-change",x.value?x.value.slice():[]),t.emit("select-all",(x.value||[]).slice())},toggleAllSelection:null,updateSelectionByRowKey:()=>{const e=zt(x.value,n.value);o.value.forEach((t=>{const l=jt(t,n.value),o=e[l];o&&(x.value[o.index]=t)}))},updateAllSelected:()=>{var e;if(0===(null==(e=o.value)?void 0:e.length))return void(w.value=!1);const{childrenColumnName:l}=t.store.states,a=n.value?zt(x.value,n.value):void 0;let r=0,s=0;const i=e=>a?!!a[jt(e,n.value)]:x.value.includes(e),u=e=>{var t;for(const n of e){const e=H.value&&H.value.call(null,n,r);if(i(n))s++;else if(!H.value||e)return!1;if(r++,(null==(t=n[l.value])?void 0:t.length)&&!u(n[l.value]))return!1}return!0},c=u(o.value||[]);w.value=0!==s&&c},updateFilters:(e,t)=>{Array.isArray(e)||(e=[e]);const l={};return e.forEach((e=>{T.value[e.id]=t,l[e.columnKey||e.id]=t})),l},updateCurrentRow:oe,updateSort:V,execFilter:_,execSort:Y,execQuery:(e=void 0)=>{e&&e.filter||_(),Y()},clearFilter:e=>{const{tableHeaderRef:l}=t.refs;if(!l)return;const n=Object.assign({},l.filterPanels),o=Object.keys(n);if(o.length)if("string"==typeof e&&(e=[e]),Array.isArray(e)){const l=e.map((e=>function(e,t){let l=null;for(let n=0;n{const t=l.find((t=>t.id===e));t&&(t.filteredValue=[])})),t.store.commit("filterChange",{column:l,values:[],silent:!0,multi:!0})}else o.forEach((e=>{const t=u.value.find((t=>t.id===e));t&&(t.filteredValue=[])})),T.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},clearSort:()=>{W.value&&(V(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},toggleRowExpansion:q,setExpandRowKeysAdapter:e=>{$(e),Q(e)},setCurrentRowKey:ae,toggleRowExpansionAdapter:(e,t)=>{u.value.some((({type:e})=>"expand"===e))?q(e,t):Z(e,t)},isRowExpanded:U,updateExpandRows:X,updateCurrentRowData:ne,loadOrToggle:te,updateTreeData:J,updateKeyChildren:ee,states:{tableSize:l,rowKey:n,data:o,_data:a,isComplex:r,_columns:s,originColumns:i,columns:u,fixedColumns:c,rightFixedColumns:d,leafColumns:p,fixedLeafColumns:h,rightFixedLeafColumns:f,updateOrderFns:[],leafColumnsLength:g,fixedLeafColumnsLength:y,rightFixedLeafColumnsLength:b,isAllSelected:w,selection:x,reserveSelection:C,selectOnIndeterminate:L,selectable:H,filters:T,filteredData:F,sortingColumn:W,sortProp:M,sortOrder:B,hoverRow:K,...G,...le,...re}}}function nl(e,t){return e.map((e=>{var l;return e.id===t.id?t:((null==(l=e.children)?void 0:l.length)&&(e.children=nl(e.children,t)),e)}))}function ol(e){e.forEach((e=>{var t,l;e.no=null==(t=e.getColumnIndex)?void 0:t.call(e),(null==(l=e.children)?void 0:l.length)&&ol(e.children)})),e.sort(((e,t)=>e.no-t.no))}const al={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function rl(e,t){if(!e)throw new Error("Table is required.");const l=function(){const e=E(),t=ll();return{ns:L("table"),...t,mutations:{setData(t,l){const n=R(t._data)!==l;t.data.value=l,t._data.value=l,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),R(t.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):n?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(t,l,n,o){const a=R(t._columns);let r=[];n?(n&&!n.children&&(n.children=[]),n.children.push(l),r=nl(a,n)):(a.push(l),r=a),ol(r),t._columns.value=r,t.updateOrderFns.push(o),"selection"===l.type&&(t.selectable.value=l.selectable,t.reserveSelection.value=l.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(t,l){var n;(null==(n=l.getColumnIndex)?void 0:n.call(l))!==l.no&&(ol(t._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(t,l,n,o){const a=R(t._columns)||[];if(n)n.children.splice(n.children.findIndex((e=>e.id===l.id)),1),H((()=>{var e;0===(null==(e=n.children)?void 0:e.length)&&delete n.children})),t._columns.value=nl(a,n);else{const e=a.indexOf(l);e>-1&&(a.splice(e,1),t._columns.value=a)}const r=t.updateOrderFns.indexOf(o);r>-1&&t.updateOrderFns.splice(r,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(t,l){const{prop:n,order:o,init:a}=l;if(n){const l=R(t.columns).find((e=>e.property===n));l&&(l.order=o,e.store.updateSort(l,n,o),e.store.commit("changeSortCondition",{init:a}))}},changeSortCondition(t,l){const{sortingColumn:n,sortProp:o,sortOrder:a}=t,r=R(n),s=R(o),i=R(a);null===i&&(t.sortingColumn.value=null,t.sortProp.value=null),e.store.execQuery({filter:!0}),l&&(l.silent||l.init)||e.emit("sort-change",{column:r,prop:s,order:i}),e.store.updateTableScrollY()},filterChange(t,l){const{column:n,values:o,silent:a}=l,r=e.store.updateFilters(n,o);e.store.execQuery(),a||e.emit("filter-change",r),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(t,l){e.store.toggleRowSelection(l),e.store.updateAllSelected()},setHoverRow(e,t){e.hoverRow.value=t},setCurrentRow(t,l){e.store.updateCurrentRow(l)}},commit:function(t,...l){const n=e.store.mutations;if(!n[t])throw new Error("Action not found: ".concat(t));n[t].apply(e,[e.store.states].concat(l))},updateTableScrollY:function(){H((()=>e.layout.updateScrollY.apply(e.layout)))}}}();return l.toggleAllSelection=Ke(l._toggleAllSelection,10),Object.keys(al).forEach((e=>{sl(il(t,e),e,l)})),function(e,t){Object.keys(al).forEach((l=>{k((()=>il(t,l)),(t=>{sl(t,l,e)}))}))}(l,t),l}function sl(e,t,l){let n=e,o=al[t];"object"==typeof al[t]&&(o=o.key,n=n||al[t].default),l.states[o].value=n}function il(e,t){if(t.includes(".")){const l=t.split(".");let n=e;return l.forEach((e=>{n=n[e]})),n}return e[t]}class ul{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=S(null),this.scrollX=S(!1),this.scrollY=S(!1),this.bodyWidth=S(null),this.fixedWidth=S(null),this.rightFixedWidth=S(null),this.gutterWidth=0;for(const t in e)v(e,t)&&(T(this[t])?this[t].value=e[t]:this[t]=e[t]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(null===this.height.value)return!1;const e=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(null==e?void 0:e.wrapRef)){let t=!0;const l=this.scrollY.value;return t=e.wrapRef.scrollHeight>e.wrapRef.clientHeight,this.scrollY.value=t,l!==t}return!1}setHeight(e,t="height"){if(!f)return;const l=this.table.vnode.el;var n;if(e="number"==typeof(n=e)?n:"string"==typeof n?/^\d+(?:px)?$/.test(n)?Number.parseInt(n,10):n:null,this.height.value=Number(e),!l&&(e||0===e))return H((()=>this.setHeight(e,t)));"number"==typeof e?(l.style[t]="".concat(e,"px"),this.updateElsHeight()):"string"==typeof e&&(l.style[t]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach((t=>{t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)})),e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let t=e;for(;"DIV"!==t.tagName;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1}updateColumnsWidth(){if(!f)return;const e=this.fit,t=this.table.vnode.el.clientWidth;let l=0;const n=this.getFlattenColumns(),o=n.filter((e=>"number"!=typeof e.width));if(n.forEach((e=>{"number"==typeof e.width&&e.realWidth&&(e.realWidth=null)})),o.length>0&&e){if(n.forEach((e=>{l+=Number(e.width||e.minWidth||80)})),l<=t){this.scrollX.value=!1;const e=t-l;if(1===o.length)o[0].realWidth=Number(o[0].minWidth||80)+e;else{const t=e/o.reduce(((e,t)=>e+Number(t.minWidth||80)),0);let l=0;o.forEach(((e,n)=>{if(0===n)return;const o=Math.floor(Number(e.minWidth||80)*t);l+=o,e.realWidth=Number(e.minWidth||80)+o})),o[0].realWidth=Number(o[0].minWidth||80)+e-l}}else this.scrollX.value=!0,o.forEach((e=>{e.realWidth=Number(e.minWidth)}));this.bodyWidth.value=Math.max(l,t),this.table.state.resizeState.value.width=this.bodyWidth.value}else n.forEach((e=>{e.width||e.minWidth?e.realWidth=Number(e.width||e.minWidth):e.realWidth=80,l+=e.realWidth})),this.scrollX.value=l>t,this.bodyWidth.value=l;const a=this.store.states.fixedColumns.value;if(a.length>0){let e=0;a.forEach((t=>{e+=Number(t.realWidth||t.width)})),this.fixedWidth.value=e}const r=this.store.states.rightFixedColumns.value;if(r.length>0){let e=0;r.forEach((t=>{e+=Number(t.realWidth||t.width)})),this.rightFixedWidth.value=e}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)}notifyObservers(e){this.observers.forEach((t=>{var l,n;switch(e){case"columns":null==(l=t.state)||l.onColumnsChange(this);break;case"scrollable":null==(n=t.state)||n.onScrollableChange(this);break;default:throw new Error("Table Layout don't have event ".concat(e,"."))}}))}}const{CheckboxGroup:cl}=De;var dl=F(W({name:"ElTableFilterPanel",components:{ElCheckbox:De,ElCheckboxGroup:cl,ElScrollbar:ke,ElTooltip:Oe,ElIcon:M,ArrowDown:B,ArrowUp:K},directives:{ClickOutside:Ae},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:{type:String}},setup(e){const t=E(),{t:l}=D(),n=L("table-filter"),o=null==t?void 0:t.parent;o.filterPanels.value[e.column.id]||(o.filterPanels.value[e.column.id]=t);const a=S(!1),r=S(null),s=N((()=>e.column&&e.column.filters)),i=N((()=>e.column.filterClassName?"".concat(n.b()," ").concat(e.column.filterClassName):n.b())),u=N({get:()=>{var t;return((null==(t=e.column)?void 0:t.filteredValue)||[])[0]},set:e=>{c.value&&(null!=e?c.value.splice(0,1,e):c.value.splice(0,1))}}),c=N({get:()=>e.column&&e.column.filteredValue||[],set(t){e.column&&e.upDataColumn("filteredValue",t)}}),d=N((()=>!e.column||e.column.filterMultiple)),p=()=>{a.value=!1},h=t=>{e.store.commit("filterChange",{column:e.column,values:t}),e.store.updateAllSelected()};k(a,(t=>{e.column&&e.upDataColumn("filterOpened",t)}),{immediate:!0});const f=N((()=>{var e,t;return null==(t=null==(e=r.value)?void 0:e.popperRef)?void 0:t.contentRef}));return{tooltipVisible:a,multiple:d,filterClassName:i,filteredValue:c,filterValue:u,filters:s,handleConfirm:()=>{h(c.value),p()},handleReset:()=>{c.value=[],h(c.value),p()},handleSelect:e=>{u.value=e,h(null!=e?c.value:[]),p()},isActive:e=>e.value===u.value,t:l,ns:n,showFilterPanel:e=>{e.stopPropagation(),a.value=!a.value},hideFilterPanel:()=>{a.value=!1},popperPaneRef:f,tooltip:r}}}),[["render",function(e,t,l,n,o,a){const r=I("el-checkbox"),s=I("el-checkbox-group"),i=I("el-scrollbar"),u=I("arrow-up"),c=I("arrow-down"),d=I("el-icon"),p=I("el-tooltip"),h=P("click-outside");return j(),z(p,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo},{content:V((()=>[e.multiple?(j(),_("div",{key:0},[Y("div",{class:$(e.ns.e("content"))},[b(i,{"wrap-class":e.ns.e("wrap")},{default:V((()=>[b(s,{modelValue:e.filteredValue,"onUpdate:modelValue":t=>e.filteredValue=t,class:$(e.ns.e("checkbox-group"))},{default:V((()=>[(j(!0),_(q,null,X(e.filters,(e=>(j(),z(r,{key:e.value,value:e.value},{default:V((()=>[G(U(e.text),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue","onUpdate:modelValue","class"])])),_:1},8,["wrap-class"])],2),Y("div",{class:$(e.ns.e("bottom"))},[Y("button",{class:$({[e.ns.is("disabled")]:0===e.filteredValue.length}),disabled:0===e.filteredValue.length,type:"button",onClick:e.handleConfirm},U(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),Y("button",{type:"button",onClick:e.handleReset},U(e.t("el.table.resetFilter")),9,["onClick"])],2)])):(j(),_("ul",{key:1,class:$(e.ns.e("list"))},[Y("li",{class:$([e.ns.e("list-item"),{[e.ns.is("active")]:void 0===e.filterValue||null===e.filterValue}]),onClick:t=>e.handleSelect(null)},U(e.t("el.table.clearFilter")),11,["onClick"]),(j(!0),_(q,null,X(e.filters,(t=>(j(),_("li",{key:t.value,class:$([e.ns.e("list-item"),e.ns.is("active",e.isActive(t))]),label:t.value,onClick:l=>e.handleSelect(t.value)},U(t.text),11,["label","onClick"])))),128))],2))])),default:V((()=>[Q((j(),_("span",{class:$(["".concat(e.ns.namespace.value,"-table__column-filter-trigger"),"".concat(e.ns.namespace.value,"-none-outline")]),onClick:e.showFilterPanel},[b(d,null,{default:V((()=>[Z(e.$slots,"filter-icon",{},(()=>[e.column.filterOpened?(j(),z(u,{key:0})):(j(),z(c,{key:1}))]))])),_:3})],10,["onClick"])),[[h,e.hideFilterPanel,e.popperPaneRef]])])),_:3},8,["visible","placement","popper-class","append-to"])}],["__file","filter-panel.vue"]]);function pl(e){const t=E();J((()=>{l.value.addObserver(t)})),ee((()=>{n(l.value),o(l.value)})),te((()=>{n(l.value),o(l.value)})),le((()=>{l.value.removeObserver(t)}));const l=N((()=>{const t=e.layout;if(!t)throw new Error("Can not find table layout.");return t})),n=t=>{var l;const n=(null==(l=e.vnode.el)?void 0:l.querySelectorAll("colgroup > col"))||[];if(!n.length)return;const o=t.getFlattenColumns(),a={};o.forEach((e=>{a[e.id]=e}));for(let e=0,r=n.length;e{var l,n;const o=(null==(l=e.vnode.el)?void 0:l.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let e=0,r=o.length;e{const t=[];return e.forEach((e=>{e.children?(t.push(e),t.push.apply(t,fl(e.children))):t.push(e)})),t},vl=e=>{let t=1;const l=(e,n)=>{if(n&&(e.level=n.level+1,t{l(n,e),t+=n.colSpan})),e.colSpan=t}else e.colSpan=1};e.forEach((e=>{e.level=1,l(e,void 0)}));const n=[];for(let o=0;o{e.children?(e.rowSpan=1,e.children.forEach((e=>e.isSubColumn=!0))):e.rowSpan=t-e.level+1,n[e.level-1].push(e)})),n};var ml=W({name:"ElTableHeader",components:{ElCheckbox:De},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String}},setup(e,{emit:t}){const l=E(),n=ne(hl),o=L("table"),a=S({}),{onColumnsChange:r,onScrollableChange:s}=pl(n);ee((async()=>{await H(),await H();const{prop:t,order:l}=e.defaultSort;null==n||n.store.commit("sort",{prop:t,order:l,init:!0})}));const{handleHeaderClick:i,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:d,handleMouseOut:p,handleSortClick:h,handleFilterClick:v}=function(e,t){const l=E(),n=ne(hl),o=e=>{e.stopPropagation()},a=S(null),r=S(!1),s=S({}),i=(t,l,o)=>{var a;t.stopPropagation();const r=l.order===o?null:o||(({order:e,sortOrders:t})=>{if(""===e)return t[0];const l=t.indexOf(e||null);return t[l>t.length-2?0:l+1]})(l),s=null==(a=t.target)?void 0:a.closest("th");if(s&&re(s,"noclick"))return void se(s,"noclick");if(!l.sortable)return;const i=t.currentTarget;if(["ascending","descending"].some((e=>re(i,e)&&!l.sortOrders.includes(e))))return;const u=e.store.states;let c,d=u.sortProp.value;const p=u.sortingColumn.value;(p!==l||p===l&&null===p.order)&&(p&&(p.order=null),u.sortingColumn.value=l,d=l.property),c=l.order=r||null,u.sortProp.value=d,u.sortOrder.value=c,null==n||n.store.commit("changeSortCondition")};return{handleHeaderClick:(e,t)=>{!t.filters&&t.sortable?i(e,t,!1):t.filterable&&!t.sortable&&o(e),null==n||n.emit("header-click",t,e)},handleHeaderContextMenu:(e,t)=>{null==n||n.emit("header-contextmenu",t,e)},handleMouseDown:(o,i)=>{if(f&&!(i.children&&i.children.length>0)&&a.value&&e.border){r.value=!0;const u=n;t("set-drag-visible",!0);const c=(null==u?void 0:u.vnode.el).getBoundingClientRect().left,d=l.vnode.el.querySelector("th.".concat(i.id)),p=d.getBoundingClientRect(),h=p.left-c+30;oe(d,"noclick"),s.value={startMouseLeft:o.clientX,startLeft:p.right-c,startColumnLeft:p.left-c,tableLeft:c};const f=null==u?void 0:u.refs.resizeProxy;f.style.left="".concat(s.value.startLeft,"px"),document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const v=e=>{const t=e.clientX-s.value.startMouseLeft,l=s.value.startLeft+t;f.style.left="".concat(Math.max(h,l),"px")},m=()=>{if(r.value){const{startColumnLeft:l,startLeft:n}=s.value,c=Number.parseInt(f.style.left,10)-l;i.width=i.realWidth=c,null==u||u.emit("header-dragend",i.width,n-l,i,o),requestAnimationFrame((()=>{e.store.scheduleLayout(!1,!0)})),document.body.style.cursor="",r.value=!1,a.value=null,s.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",m),document.onselectstart=null,document.ondragstart=null,setTimeout((()=>{se(d,"noclick")}),0)};document.addEventListener("mousemove",v),document.addEventListener("mouseup",m)}},handleMouseMove:(t,l)=>{var n;if(l.children&&l.children.length>0)return;const o=t.target;if(!ae(o))return;const s=null==o?void 0:o.closest("th");if(l&&l.resizable&&s&&!r.value&&e.border){const e=s.getBoundingClientRect(),o=document.body.style,i=(null==(n=s.parentNode)?void 0:n.lastElementChild)===s;e.width>12&&e.right-t.pageX<8&&!i?(o.cursor="col-resize",re(s,"is-sortable")&&(s.style.cursor="col-resize"),a.value=l):r.value||(o.cursor="",re(s,"is-sortable")&&(s.style.cursor="pointer"),a.value=null)}},handleMouseOut:()=>{f&&(document.body.style.cursor="")},handleSortClick:i,handleFilterClick:o}}(e,t),{getHeaderRowStyle:m,getHeaderRowClass:g,getHeaderCellStyle:y,getHeaderCellClass:b}=function(e){const t=ne(hl),l=L("table");return{getHeaderRowStyle:e=>{const l=null==t?void 0:t.props.headerRowStyle;return"function"==typeof l?l.call(null,{rowIndex:e}):l},getHeaderRowClass:e=>{const l=[],n=null==t?void 0:t.props.headerRowClassName;return"string"==typeof n?l.push(n):"function"==typeof n&&l.push(n.call(null,{rowIndex:e})),l.join(" ")},getHeaderCellStyle:(l,n,o,a)=>{var r;let s=null!=(r=null==t?void 0:t.props.headerCellStyle)?r:{};"function"==typeof s&&(s=s.call(null,{rowIndex:l,columnIndex:n,row:o,column:a}));const i=Jt(n,a.fixed,e.store,o);return el(i,"left"),el(i,"right"),Object.assign({},s,i)},getHeaderCellClass:(n,o,a,r)=>{const s=Qt(l.b(),o,r.fixed,e.store,a),i=[r.id,r.order,r.headerAlign,r.className,r.labelClassName,...s];r.children||i.push("is-leaf"),r.sortable&&i.push("is-sortable");const u=null==t?void 0:t.props.headerCellClassName;return"string"==typeof u?i.push(u):"function"==typeof u&&i.push(u.call(null,{rowIndex:n,columnIndex:o,row:a,column:r})),i.push(l.e("cell")),i.filter((e=>Boolean(e))).join(" ")}}}(e),{isGroup:w,toggleAllSelection:x,columnRows:C}=function(e){const t=ne(hl),l=N((()=>vl(e.store.states.originColumns.value)));return{isGroup:N((()=>{const e=l.value.length>1;return e&&t&&(t.state.isGroup.value=!0),e})),toggleAllSelection:e=>{e.stopPropagation(),null==t||t.store.commit("toggleAllSelection")},columnRows:l}}(e);return l.state={onColumnsChange:r,onScrollableChange:s},l.filterPanels=a,{ns:o,filterPanels:a,onColumnsChange:r,onScrollableChange:s,columnRows:C,getHeaderRowClass:g,getHeaderRowStyle:m,getHeaderCellClass:b,getHeaderCellStyle:y,handleHeaderClick:i,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:d,handleMouseOut:p,handleSortClick:h,handleFilterClick:v,isGroup:w,toggleAllSelection:x}},render(){const{ns:e,isGroup:t,columnRows:l,getHeaderCellStyle:n,getHeaderCellClass:o,getHeaderRowClass:a,getHeaderRowStyle:r,handleHeaderClick:s,handleHeaderContextMenu:i,handleMouseDown:u,handleMouseMove:c,handleSortClick:d,handleMouseOut:p,store:h,$parent:f}=this;let v=1;return ie("thead",{class:{[e.is("group")]:t}},l.map(((e,t)=>ie("tr",{class:a(t),key:t,style:r(t)},e.map(((l,a)=>(l.rowSpan>v&&(v=l.rowSpan),ie("th",{class:o(t,a,e,l),colspan:l.colSpan,key:"".concat(l.id,"-thead"),rowspan:l.rowSpan,style:n(t,a,e,l),onClick:e=>{e.currentTarget.classList.contains("noclick")||s(e,l)},onContextmenu:e=>i(e,l),onMousedown:e=>u(e,l),onMousemove:e=>c(e,l),onMouseout:p},[ie("div",{class:["cell",l.filteredValue&&l.filteredValue.length>0?"highlight":""]},[l.renderHeader?l.renderHeader({column:l,$index:a,store:h,_self:f}):l.label,l.sortable&&ie("span",{onClick:e=>d(e,l),class:"caret-wrapper"},[ie("i",{onClick:e=>d(e,l,"ascending"),class:"sort-caret ascending"}),ie("i",{onClick:e=>d(e,l,"descending"),class:"sort-caret descending"})]),l.filterable&&ie(dl,{store:h,placement:l.filterPlacement||"bottom-start",appendTo:f.appendFilterPanelTo,column:l,upDataColumn:(e,t)=>{l[e]=t}},{"filter-icon":()=>l.renderFilterIcon?l.renderFilterIcon({filterOpened:l.filterOpened}):null})])]))))))))}});function gl(e,t,l=.03){return e-t>l}function yl(e){const t=ne(hl),l=S(""),n=S(ie("div")),o=(l,n,o)=>{var a;const r=t,s=Kt(l);let i;const u=null==(a=null==r?void 0:r.vnode.el)?void 0:a.dataset.prefix;s&&(i=Pt({columns:e.store.states.columns.value},s,u),i&&(null==r||r.emit("cell-".concat(o),n,i,s,l))),null==r||r.emit("row-".concat(o),n,i,l)},a=Ke((t=>{e.store.commit("setHoverRow",t)}),30),r=Ke((()=>{e.store.commit("setHoverRow",null)}),30),s=(e,t,l)=>{let n=t.target.parentNode;for(;e>1&&(n=null==n?void 0:n.nextSibling,n&&"TR"===n.nodeName);)l(n,"hover-row hover-fixed-row"),e--};return{handleDoubleClick:(e,t)=>{o(e,t,"dblclick")},handleClick:(t,l)=>{e.store.commit("setCurrentRow",l),o(t,l,"click")},handleContextMenu:(e,t)=>{o(e,t,"contextmenu")},handleMouseEnter:a,handleMouseLeave:r,handleCellMouseEnter:(l,n,o)=>{var a;const r=t,i=Kt(l),u=null==(a=null==r?void 0:r.vnode.el)?void 0:a.dataset.prefix;if(i){const t=Pt({columns:e.store.states.columns.value},i,u);i.rowSpan>1&&s(i.rowSpan,l,oe);const o=r.hoverState={cell:i,column:t,row:n};null==r||r.emit("cell-mouse-enter",o.row,o.column,o.cell,l)}if(!o)return;const c=l.target.querySelector(".cell");if(!re(c,"".concat(u,"-tooltip"))||!c.childNodes.length)return;const d=document.createRange();d.setStart(c,0),d.setEnd(c,c.childNodes.length);const{width:p,height:h}=d.getBoundingClientRect(),{width:f,height:v}=c.getBoundingClientRect(),{top:m,left:g,right:y,bottom:x}=(e=>{const t=window.getComputedStyle(e,null);return{left:Number.parseInt(t.paddingLeft,10)||0,right:Number.parseInt(t.paddingRight,10)||0,top:Number.parseInt(t.paddingTop,10)||0,bottom:Number.parseInt(t.paddingBottom,10)||0}})(c),C=m+x;(gl(p+(g+y),f)||gl(h+C,v)||gl(c.scrollWidth,f))&&function(e,t,l,n){if((null==qt?void 0:qt.trigger)===l)return;null==qt||qt();const o=null==n?void 0:n.refs.tableWrapper,a=null==o?void 0:o.dataset.prefix,r={strategy:"fixed",...e.popperOptions},s=b(Oe,{content:t,virtualTriggering:!0,virtualRef:l,appendTo:o,placement:"top",transition:"none",offset:0,hideAfter:0,...e,popperOptions:r,onHide:()=>{null==qt||qt()}});s.appContext={...n.appContext,...n};const i=document.createElement("div");w(s,i),s.component.exposed.onOpen();const u=null==o?void 0:o.querySelector(".".concat(a,"-scrollbar__wrap"));qt=()=>{w(null,i),null==u||u.removeEventListener("scroll",qt),qt=null},qt.trigger=l,null==u||u.addEventListener("scroll",qt)}(o,i.innerText||i.textContent,i,r)},handleCellMouseLeave:e=>{const l=Kt(e);if(!l)return;l.rowSpan>1&&s(l.rowSpan,e,se);const n=null==t?void 0:t.hoverState;null==t||t.emit("cell-mouse-leave",null==n?void 0:n.row,null==n?void 0:n.column,null==n?void 0:n.cell,e)},tooltipContent:l,tooltipTrigger:n}}const bl=W({name:"TableTdWrapper"});var wl=F(W({...bl,props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup:e=>(t,l)=>(j(),_("td",{colspan:e.colspan,rowspan:e.rowspan},[Z(t.$slots,"default")],8,["colspan","rowspan"]))}),[["__file","td-wrapper.vue"]]);function xl(e){const t=ne(hl),l=L("table"),{handleDoubleClick:n,handleClick:o,handleContextMenu:a,handleMouseEnter:r,handleMouseLeave:s,handleCellMouseEnter:i,handleCellMouseLeave:u,tooltipContent:c,tooltipTrigger:d}=yl(e),{getRowStyle:p,getRowClass:h,getCellStyle:f,getCellClass:v,getSpan:m,getColspanRealWidth:g}=function(e){const t=ne(hl),l=L("table");return{getRowStyle:(e,l)=>{const n=null==t?void 0:t.props.rowStyle;return"function"==typeof n?n.call(null,{row:e,rowIndex:l}):n||null},getRowClass:(n,o)=>{const a=[l.e("row")];(null==t?void 0:t.props.highlightCurrentRow)&&n===e.store.states.currentRow.value&&a.push("current-row"),e.stripe&&o%2==1&&a.push(l.em("row","striped"));const r=null==t?void 0:t.props.rowClassName;return"string"==typeof r?a.push(r):"function"==typeof r&&a.push(r.call(null,{row:n,rowIndex:o})),a},getCellStyle:(l,n,o,a)=>{const r=null==t?void 0:t.props.cellStyle;let s=null!=r?r:{};"function"==typeof r&&(s=r.call(null,{rowIndex:l,columnIndex:n,row:o,column:a}));const i=Jt(n,null==e?void 0:e.fixed,e.store);return el(i,"left"),el(i,"right"),Object.assign({},s,i)},getCellClass:(n,o,a,r,s)=>{const i=Qt(l.b(),o,null==e?void 0:e.fixed,e.store,void 0,s),u=[r.id,r.align,r.className,...i],c=null==t?void 0:t.props.cellClassName;return"string"==typeof c?u.push(c):"function"==typeof c&&u.push(c.call(null,{rowIndex:n,columnIndex:o,row:a,column:r})),u.push(l.e("cell")),u.filter((e=>Boolean(e))).join(" ")},getSpan:(e,l,n,o)=>{let a=1,r=1;const s=null==t?void 0:t.props.spanMethod;if("function"==typeof s){const t=s({row:e,column:l,rowIndex:n,columnIndex:o});Array.isArray(t)?(a=t[0],r=t[1]):"object"==typeof t&&(a=t.rowspan,r=t.colspan)}return{rowspan:a,colspan:r}},getColspanRealWidth:(e,t,l)=>{if(t<1)return e[l].realWidth;const n=e.map((({realWidth:e,width:t})=>e||t)).slice(l,l+t);return Number(n.reduce(((e,t)=>Number(e)+Number(t)),-1))}}}(e),y=N((()=>e.store.states.columns.value.findIndex((({type:e})=>"default"===e)))),b=(e,l)=>{const n=t.props.rowKey;return n?jt(e,n):l},w=(c,d,w,C=!1)=>{const{tooltipEffect:S,tooltipOptions:E,store:R}=e,{indent:N,columns:k}=R.states,O=h(c,d);let A=!0;w&&(O.push(l.em("row","level-".concat(w.level))),A=w.display);return ie("tr",{style:[A?null:{display:"none"},p(c,d)],class:O,key:b(c,d),onDblclick:e=>n(e,c),onClick:e=>o(e,c),onContextmenu:e=>a(e,c),onMouseenter:()=>r(d),onMouseleave:s},k.value.map(((l,n)=>{const{rowspan:o,colspan:a}=m(c,l,d,n);if(!o||!a)return null;const r=Object.assign({},l);r.realWidth=g(k.value,a,n);const s={store:e.store,_self:e.context||t,column:r,row:c,$index:d,cellIndex:n,expanded:C};n===y.value&&w&&(s.treeNode={indent:w.level*N.value,level:w.level},"boolean"==typeof w.expanded&&(s.treeNode.expanded=w.expanded,"loading"in w&&(s.treeNode.loading=w.loading),"noLazyChildren"in w&&(s.treeNode.noLazyChildren=w.noLazyChildren)));const p="".concat(b(c,d),",").concat(n),h=r.columnKey||r.rawColumnKey||"",R=l.showOverflowTooltip&&ct({effect:S},E,l.showOverflowTooltip);return ie(wl,{style:f(d,n,c,l),class:v(d,n,c,l,a-1),key:"".concat(h).concat(p),rowspan:o,colspan:a,onMouseenter:e=>i(e,c,R),onMouseleave:u},{default:()=>x(n,l,s)})})))},x=(e,t,l)=>t.renderCell(l);return{wrappedRowRender:(n,o)=>{const a=e.store,{isRowExpanded:r,assertRowKey:s}=a,{treeData:i,lazyTreeNodeMap:u,childrenColumnName:c,rowKey:d}=a.states,p=a.states.columns.value;if(p.some((({type:e})=>"expand"===e))){const e=r(n),s=w(n,o,void 0,e),i=t.renderExpanded;return e?i?[[s,ie("tr",{key:"expanded-row__".concat(s.key)},[ie("td",{colspan:p.length,class:"".concat(l.e("cell")," ").concat(l.e("expanded-cell"))},[i({row:n,$index:o,store:a,expanded:e})])])]]:(console.error("[Element Error]renderExpanded is required."),s):[[s]]}if(Object.keys(i.value).length){s();const e=jt(n,d.value);let t=i.value[e],l=null;t&&(l={expanded:t.expanded,level:t.level,display:!0},"boolean"==typeof t.lazy&&("boolean"==typeof t.loaded&&t.loaded&&(l.noLazyChildren=!(t.children&&t.children.length)),l.loading=t.loading));const a=[w(n,o,l)];if(t){let l=0;const r=(e,n)=>{e&&e.length&&n&&e.forEach((e=>{const s={display:n.display&&n.expanded,level:n.level+1,expanded:!1,noLazyChildren:!1,loading:!1},p=jt(e,d.value);if(null==p)throw new Error("For nested data item, row-key is required.");if(t={...i.value[p]},t&&(s.expanded=t.expanded,t.level=t.level||s.level,t.display=!(!t.expanded||!s.display),"boolean"==typeof t.lazy&&("boolean"==typeof t.loaded&&t.loaded&&(s.noLazyChildren=!(t.children&&t.children.length)),s.loading=t.loading)),l++,a.push(w(e,o+l,s)),t){const l=u.value[p]||e[c.value];r(l,t)}}))};t.display=!0;const s=u.value[e]||n[c.value];r(s,t)}return a}return w(n,o,void 0)},tooltipContent:c,tooltipTrigger:d}}var Cl=W({name:"ElTableBody",props:{store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean},setup(e){const t=E(),l=ne(hl),n=L("table"),{wrappedRowRender:o,tooltipContent:a,tooltipTrigger:r}=xl(e),{onColumnsChange:s,onScrollableChange:i}=pl(l),u=[];return k(e.store.states.hoverRow,((l,o)=>{var a;const r=null==t?void 0:t.vnode.el,s=Array.from((null==r?void 0:r.children)||[]).filter((e=>null==e?void 0:e.classList.contains("".concat(n.e("row")))));let i=l;const c=null==(a=s[i])?void 0:a.childNodes;if(null==c?void 0:c.length){let e=0;Array.from(c).reduce(((t,l,n)=>{var o,a;return(null==(o=c[n])?void 0:o.colSpan)>1&&(e=null==(a=c[n])?void 0:a.colSpan),"TD"!==l.nodeName&&0===e&&t.push(n),e>0&&e--,t}),[]).forEach((e=>{var t;for(i=l;i>0;){const l=null==(t=s[i-1])?void 0:t.childNodes;if(l[e]&&"TD"===l[e].nodeName&&l[e].rowSpan>1){oe(l[e],"hover-cell"),u.push(l[e]);break}i--}}))}else u.forEach((e=>se(e,"hover-cell"))),u.length=0;var d;e.store.states.isComplex.value&&f&&(d=()=>{const e=s[o],t=s[l];e&&!e.classList.contains("hover-fixed-row")&&se(e,"hover-row"),t&&oe(t,"hover-row")},f?window.requestAnimationFrame(d):setTimeout(d,16))})),le((()=>{var e;null==(e=qt)||e()})),{ns:n,onColumnsChange:s,onScrollableChange:i,wrappedRowRender:o,tooltipContent:a,tooltipTrigger:r}},render(){const{wrappedRowRender:e,store:t}=this,l=t.states.data.value||[];return ie("tbody",{tabIndex:-1},[l.reduce(((t,l)=>t.concat(e(l,t.length))),[])])}});function Sl(e){const{columns:t}=function(){const e=ne(hl),t=null==e?void 0:e.store;return{leftFixedLeafCount:N((()=>t.states.fixedLeafColumnsLength.value)),rightFixedLeafCount:N((()=>t.states.rightFixedColumns.value.length)),columnsCount:N((()=>t.states.columns.value.length)),leftFixedCount:N((()=>t.states.fixedColumns.value.length)),rightFixedCount:N((()=>t.states.rightFixedColumns.value.length)),columns:t.states.columns}}(),l=L("table");return{getCellClasses:(t,n)=>{const o=t[n],a=[l.e("cell"),o.id,o.align,o.labelClassName,...Qt(l.b(),n,o.fixed,e.store)];return o.className&&a.push(o.className),o.children||a.push(l.is("leaf")),a},getCellStyles:(t,l)=>{const n=Jt(l,t.fixed,e.store);return el(n,"left"),el(n,"right"),n},columns:t}}var El=W({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const{getCellClasses:t,getCellStyles:l,columns:n}=Sl(e);return{ns:L("table"),getCellClasses:t,getCellStyles:l,columns:n}},render(){const{columns:e,getCellStyles:t,getCellClasses:l,summaryMethod:n,sumText:o}=this,a=this.store.states.data.value;let r=[];return n?r=n({columns:e,data:a}):e.forEach(((e,t)=>{if(0===t)return void(r[t]=o);const l=a.map((t=>Number(t[e.property]))),n=[];let s=!0;l.forEach((e=>{if(!Number.isNaN(+e)){s=!1;const t="".concat(e).split(".")[1];n.push(t?t.length:0)}}));const i=Math.max.apply(null,n);r[t]=s?"":l.reduce(((e,t)=>{const l=Number(t);return Number.isNaN(+l)?e:Number.parseFloat((e+t).toFixed(Math.min(i,20)))}),0)})),ie(ie("tfoot",[ie("tr",{},[...e.map(((n,o)=>ie("td",{key:o,colspan:n.colSpan,rowspan:n.rowSpan,class:l(e,o),style:t(n,o)},[ie("div",{class:["cell",n.labelClassName]},[r[o]])])))])]))}});function Rl(e,t,l,n){const o=S(!1),a=S(null),r=S(!1),s=S({width:null,height:null,headerHeight:null}),i=S(!1),u=S(),c=S(0),d=S(0),p=S(0),h=S(0),f=S(0);ue((()=>{t.setHeight(e.height)})),ue((()=>{t.setMaxHeight(e.maxHeight)})),k((()=>[e.currentRowKey,l.states.rowKey]),(([e,t])=>{R(t)&&R(e)&&l.setCurrentRowKey("".concat(e))}),{immediate:!0}),k((()=>e.data),(e=>{n.store.commit("setData",e)}),{immediate:!0,deep:!0}),ue((()=>{e.expandRowKeys&&l.setExpandRowKeysAdapter(e.expandRowKeys)}));const v=N((()=>e.height||e.maxHeight||l.states.fixedColumns.value.length>0||l.states.rightFixedColumns.value.length>0)),m=N((()=>({width:t.bodyWidth.value?"".concat(t.bodyWidth.value,"px"):""}))),g=()=>{v.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(b)};ee((async()=>{await H(),l.updateColumns(),w(),requestAnimationFrame(g);const t=n.vnode.el,o=n.refs.headerWrapper;e.flexible&&t&&t.parentElement&&(t.parentElement.style.minWidth="0"),s.value={width:u.value=t.offsetWidth,height:t.offsetHeight,headerHeight:e.showHeader&&o?o.offsetHeight:null},l.states.columns.value.forEach((e=>{e.filteredValue&&e.filteredValue.length&&n.store.commit("filterChange",{column:e,values:e.filteredValue,silent:!0})})),n.$ready=!0}));const y=e=>{const{tableWrapper:l}=n.refs;((e,l)=>{if(!e)return;const n=Array.from(e.classList).filter((e=>!e.startsWith("is-scrolling-")));n.push(t.scrollX.value?l:"is-scrolling-none"),e.className=n.join(" ")})(l,e)},b=function(){if(!n.refs.scrollBarRef)return;if(!t.scrollX.value){const e="is-scrolling-none";return void((e=>{const{tableWrapper:t}=n.refs;return!(!t||!t.classList.contains(e))})(e)||y(e))}const e=n.refs.scrollBarRef.wrapRef;if(!e)return;const{scrollLeft:l,offsetWidth:o,scrollWidth:a}=e,{headerWrapper:r,footerWrapper:s}=n.refs;r&&(r.scrollLeft=l),s&&(s.scrollLeft=l);y(l>=a-o-1?"is-scrolling-right":0===l?"is-scrolling-left":"is-scrolling-middle")},w=()=>{n.refs.scrollBarRef&&(n.refs.scrollBarRef.wrapRef&&ce(n.refs.scrollBarRef.wrapRef,"scroll",b,{passive:!0}),e.fit?de(n.vnode.el,x):ce(window,"resize",x),de(n.refs.bodyWrapper,(()=>{var e,t;x(),null==(t=null==(e=n.refs)?void 0:e.scrollBarRef)||t.update()})))},x=()=>{var t,l,o,a;const r=n.vnode.el;if(!n.$ready||!r)return;let i=!1;const{width:m,height:y,headerHeight:b}=s.value,w=u.value=r.offsetWidth;m!==w&&(i=!0);const x=r.offsetHeight;(e.height||v.value)&&y!==x&&(i=!0);const C="fixed"===e.tableLayout?n.refs.headerWrapper:null==(t=n.refs.tableHeaderRef)?void 0:t.$el;e.showHeader&&(null==C?void 0:C.offsetHeight)!==b&&(i=!0),c.value=(null==(l=n.refs.tableWrapper)?void 0:l.scrollHeight)||0,p.value=(null==C?void 0:C.scrollHeight)||0,h.value=(null==(o=n.refs.footerWrapper)?void 0:o.offsetHeight)||0,f.value=(null==(a=n.refs.appendWrapper)?void 0:a.offsetHeight)||0,d.value=c.value-p.value-h.value-f.value,i&&(s.value={width:w,height:x,headerHeight:e.showHeader&&(null==C?void 0:C.offsetHeight)||0},g())},C=pe(),E=N((()=>{const{bodyWidth:e,scrollY:l,gutterWidth:n}=t;return e.value?"".concat(e.value-(l.value?n:0),"px"):""})),O=N((()=>e.maxHeight?"fixed":e.tableLayout)),A=N((()=>{if(e.data&&e.data.length)return null;let t="100%";e.height&&d.value&&(t="".concat(d.value,"px"));const l=u.value;return{width:l?"".concat(l,"px"):"",height:t}})),L=N((()=>e.height?{height:Number.isNaN(Number(e.height))?e.height:"".concat(e.height,"px")}:e.maxHeight?{maxHeight:Number.isNaN(Number(e.maxHeight))?e.maxHeight:"".concat(e.maxHeight,"px")}:{})),T=N((()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:"calc(".concat(e.maxHeight," - ").concat(p.value+h.value,"px)")}:{maxHeight:"".concat(e.maxHeight-p.value-h.value,"px")}:{}));return{isHidden:o,renderExpanded:a,setDragVisible:e=>{r.value=e},isGroup:i,handleMouseLeave:()=>{n.store.commit("setHoverRow",null),n.hoverState&&(n.hoverState=null)},handleHeaderFooterMousewheel:(e,t)=>{const{pixelX:l,pixelY:o}=t;Math.abs(l)>=Math.abs(o)&&(n.refs.bodyWrapper.scrollLeft+=t.pixelX/5)},tableSize:C,emptyBlockStyle:A,handleFixedMousewheel:(e,t)=>{const l=n.refs.bodyWrapper;if(Math.abs(t.spinY)>0){const n=l.scrollTop;t.pixelY<0&&0!==n&&e.preventDefault(),t.pixelY>0&&l.scrollHeight-l.clientHeight>n&&e.preventDefault(),l.scrollTop+=Math.ceil(t.pixelY/5)}else l.scrollLeft+=Math.ceil(t.pixelX/5)},resizeProxyVisible:r,bodyWidth:E,resizeState:s,doLayout:g,tableBodyStyles:m,tableLayout:O,scrollbarViewStyle:{display:"inline-block",verticalAlign:"middle"},tableInnerStyle:L,scrollbarStyle:T}}function Nl(e){const t=S();ee((()=>{(()=>{const l=e.vnode.el.querySelector(".hidden-columns"),n=e.store.states.updateOrderFns;t.value=new MutationObserver((()=>{n.forEach((e=>e()))})),t.value.observe(l,{childList:!0,subtree:!0})})()})),le((()=>{var e;null==(e=t.value)||e.disconnect()}))}var kl={data:{type:Array,default:()=>[]},size:he,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0}};function Ol(e){const t="auto"===e.tableLayout;let l=e.columns||[];t&&l.every((e=>void 0===e.width))&&(l=[]);return ie("colgroup",{},l.map((l=>ie("col",(l=>{const n={key:"".concat(e.tableLayout,"_").concat(l.id),style:{},name:void 0};return t?n.style={width:"".concat(l.width,"px")}:n.name=l.id,n})(l)))))}Ol.props=["columns","tableLayout"];let Al=1;var Ll=F(W({name:"ElTable",directives:{Mousewheel:Bt},components:{TableHeader:ml,TableBody:Cl,TableFooter:El,ElScrollbar:ke,hColgroup:Ol},props:kl,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(e){const{t:t}=D(),l=L("table"),n=E();ve(hl,n);const o=rl(n,e);n.store=o;const a=new ul({store:n.store,table:n,fit:e.fit,showHeader:e.showHeader});n.layout=a;const r=N((()=>0===(o.states.data.value||[]).length)),{setCurrentRow:s,getSelectionRows:i,toggleRowSelection:u,clearSelection:c,clearFilter:d,toggleAllSelection:p,toggleRowExpansion:h,clearSort:f,sort:v,updateKeyChildren:m}=function(e){return{setCurrentRow:t=>{e.commit("setCurrentRow",t)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(t,l,n=!0)=>{e.toggleRowSelection(t,l,!1,n),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:t=>{e.clearFilter(t)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(t,l)=>{e.toggleRowExpansionAdapter(t,l)},clearSort:()=>{e.clearSort()},sort:(t,l)=>{e.commit("sort",{prop:t,order:l})},updateKeyChildren:(t,l)=>{e.updateKeyChildren(t,l)}}}(o),{isHidden:g,renderExpanded:y,setDragVisible:b,isGroup:w,handleMouseLeave:x,handleHeaderFooterMousewheel:C,tableSize:R,emptyBlockStyle:k,handleFixedMousewheel:O,resizeProxyVisible:A,bodyWidth:H,resizeState:T,doLayout:F,tableBodyStyles:W,tableLayout:M,scrollbarViewStyle:B,tableInnerStyle:K,scrollbarStyle:I}=Rl(e,a,o,n),{scrollBarRef:P,scrollTo:j,setScrollLeft:z,setScrollTop:V}=(()=>{const e=S(),t=(t,l)=>{const n=e.value;n&&fe(l)&&["Top","Left"].includes(t)&&n["setScroll".concat(t)](l)};return{scrollBarRef:e,scrollTo:(t,l)=>{const n=e.value;n&&n.scrollTo(t,l)},setScrollTop:e=>t("Top",e),setScrollLeft:e=>t("Left",e)}})(),_=Ke(F,50),Y="".concat(l.namespace.value,"-table_").concat(Al++);n.tableId=Y,n.state={isGroup:w,resizeState:T,doLayout:F,debouncedUpdateLayout:_};const $=N((()=>{var l;return null!=(l=e.sumText)?l:t("el.table.sumText")})),q=N((()=>{var l;return null!=(l=e.emptyText)?l:t("el.table.emptyText")})),X=N((()=>vl(o.states.originColumns.value)[0]));return Nl(n),me((()=>{_.cancel()})),{ns:l,layout:a,store:o,columns:X,handleHeaderFooterMousewheel:C,handleMouseLeave:x,tableId:Y,tableSize:R,isHidden:g,isEmpty:r,renderExpanded:y,resizeProxyVisible:A,resizeState:T,isGroup:w,bodyWidth:H,tableBodyStyles:W,emptyBlockStyle:k,debouncedUpdateLayout:_,handleFixedMousewheel:O,setCurrentRow:s,getSelectionRows:i,toggleRowSelection:u,clearSelection:c,clearFilter:d,toggleAllSelection:p,toggleRowExpansion:h,clearSort:f,doLayout:F,sort:v,updateKeyChildren:m,t:t,setDragVisible:b,context:n,computedSumText:$,computedEmptyText:q,tableLayout:M,scrollbarViewStyle:B,tableInnerStyle:K,scrollbarStyle:I,scrollBarRef:P,scrollTo:j,setScrollLeft:z,setScrollTop:V}}}),[["render",function(e,t,l,n,o,a){const r=I("hColgroup"),s=I("table-header"),i=I("table-body"),u=I("table-footer"),c=I("el-scrollbar"),d=P("mousewheel");return j(),_("div",{ref:"tableWrapper",class:$([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:0!==(e.store.states.data.value||[]).length&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m("layout-".concat(e.tableLayout))]),style:ge(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[Y("div",{class:$(e.ns.e("inner-wrapper")),style:ge(e.tableInnerStyle)},[Y("div",{ref:"hiddenColumns",class:"hidden-columns"},[Z(e.$slots,"default")],512),e.showHeader&&"fixed"===e.tableLayout?Q((j(),_("div",{key:0,ref:"headerWrapper",class:$(e.ns.e("header-wrapper"))},[Y("table",{ref:"tableHeader",class:$(e.ns.e("header")),style:ge(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[b(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),b(s,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","onSetDragVisible"])],6)],2)),[[d,e.handleHeaderFooterMousewheel]]):ye("v-if",!0),Y("div",{ref:"bodyWrapper",class:$(e.ns.e("body-wrapper"))},[b(c,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex},{default:V((()=>[Y("table",{ref:"tableBody",class:$(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:ge({width:e.bodyWidth,tableLayout:e.tableLayout})},[b(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&"auto"===e.tableLayout?(j(),z(s,{key:0,ref:"tableHeaderRef",class:$(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):ye("v-if",!0),b(i,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&"auto"===e.tableLayout?(j(),z(u,{key:1,class:$(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):ye("v-if",!0)],6),e.isEmpty?(j(),_("div",{key:0,ref:"emptyBlock",style:ge(e.emptyBlockStyle),class:$(e.ns.e("empty-block"))},[Y("span",{class:$(e.ns.e("empty-text"))},[Z(e.$slots,"empty",{},(()=>[G(U(e.computedEmptyText),1)]))],2)],6)):ye("v-if",!0),e.$slots.append?(j(),_("div",{key:1,ref:"appendWrapper",class:$(e.ns.e("append-wrapper"))},[Z(e.$slots,"append")],2)):ye("v-if",!0)])),_:3},8,["view-style","wrap-style","always","tabindex"])],2),e.showSummary&&"fixed"===e.tableLayout?Q((j(),_("div",{key:1,ref:"footerWrapper",class:$(e.ns.e("footer-wrapper"))},[Y("table",{class:$(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:ge(e.tableBodyStyles)},[b(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),b(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[be,!e.isEmpty],[d,e.handleHeaderFooterMousewheel]]):ye("v-if",!0),e.border||e.isGroup?(j(),_("div",{key:2,class:$(e.ns.e("border-left-patch"))},null,2)):ye("v-if",!0)],6),Q(Y("div",{ref:"resizeProxy",class:$(e.ns.e("column-resize-proxy"))},null,2),[[be,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}],["__file","table.vue"]]);const Hl={selection:"table-column--selection",expand:"table__expand-column"},Tl={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Fl={selection:{renderHeader:({store:e,column:t})=>ie(De,{disabled:e.states.data.value&&0===e.states.data.value.length,size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value,ariaLabel:t.label}),renderCell:({row:e,column:t,store:l,$index:n})=>ie(De,{disabled:!!t.selectable&&!t.selectable.call(null,e,n),size:l.states.tableSize.value,onChange:()=>{l.commit("rowSelectedChanged",e)},onClick:e=>e.stopPropagation(),modelValue:l.isSelected(e),ariaLabel:t.label}),sortable:!1,resizable:!1},index:{renderHeader:({column:e})=>e.label||"#",renderCell({column:e,$index:t}){let l=t+1;const n=e.index;return"number"==typeof n?l=t+n:"function"==typeof n&&(l=n(t)),ie("div",{},[l])},sortable:!1},expand:{renderHeader:({column:e})=>e.label||"",renderCell({row:e,store:t,expanded:l}){const{ns:n}=t,o=[n.e("expand-icon")];l&&o.push(n.em("expand-icon","expanded"));return ie("div",{class:o,onClick:function(l){l.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[ie(M,null,{default:()=>[ie(xe)]})]})},sortable:!1,resizable:!1}};function Wl({row:e,column:t,$index:l}){var n;const o=t.property,a=o&&we(e,o).value;return t&&t.formatter?t.formatter(e,t,a,l):(null==(n=null==a?void 0:a.toString)?void 0:n.call(a))||""}function Ml(e,t){return e.reduce(((e,t)=>(e[t]=t,e)),t)}function Bl(e,t,l){const n=E(),o=S(""),a=S(!1),r=S(),s=S(),i=L("table");ue((()=>{r.value=e.align?"is-".concat(e.align):null,r.value})),ue((()=>{s.value=e.headerAlign?"is-".concat(e.headerAlign):r.value,s.value}));const u=N((()=>{let e=n.vnode.vParent||n.parent;for(;e&&!e.tableId&&!e.columnId;)e=e.vnode.vParent||e.parent;return e})),c=N((()=>{const{store:e}=n.parent;if(!e)return!1;const{treeData:t}=e.states,l=t.value;return l&&Object.keys(l).length>0})),d=S(Vt(e.width)),p=S(_t(e.minWidth));return{columnId:o,realAlign:r,isSubColumn:a,realHeaderAlign:s,columnOrTableParent:u,setColumnWidth:e=>(d.value&&(e.width=d.value),p.value&&(e.minWidth=p.value),!d.value&&p.value&&(e.width=void 0),e.minWidth||(e.minWidth=80),e.realWidth=Number(void 0===e.width?e.minWidth:e.width),e),setColumnForcedProps:e=>{const t=e.type,l=Fl[t]||{};Object.keys(l).forEach((t=>{const n=l[t];"className"!==t&&void 0!==n&&(e[t]=n)}));const n=(e=>Hl[e]||"")(t);if(n){const t="".concat(R(i.namespace),"-").concat(n);e.className=e.className?"".concat(e.className," ").concat(t):t}return e},setColumnRenders:o=>{e.renderHeader||"selection"!==o.type&&(o.renderHeader=e=>(n.columnConfig.value.label,Z(t,"header",e,(()=>[o.label])))),t["filter-icon"]&&(o.renderFilterIcon=e=>Z(t,"filter-icon",e));let a=o.renderCell;return"expand"===o.type?(o.renderCell=e=>ie("div",{class:"cell"},[a(e)]),l.value.renderExpanded=e=>t.default?t.default(e):t.default):(a=a||Wl,o.renderCell=e=>{let r=null;if(t.default){const l=t.default(e);r=l.some((e=>e.type!==Se))?l:a(e)}else r=a(e);const{columns:s}=l.value.store.states,u=s.value.findIndex((e=>"default"===e.type)),d=function({row:e,treeNode:t,store:l},n=!1){const{ns:o}=l;if(!t)return n?[ie("span",{class:o.e("placeholder")})]:null;const a=[],r=function(n){n.stopPropagation(),t.loading||l.loadOrToggle(e)};if(t.indent&&a.push(ie("span",{class:o.e("indent"),style:{"padding-left":"".concat(t.indent,"px")}})),"boolean"!=typeof t.expanded||t.noLazyChildren)a.push(ie("span",{class:o.e("placeholder")}));else{const e=[o.e("expand-icon"),t.expanded?o.em("expand-icon","expanded"):""];let l=xe;t.loading&&(l=Ce),a.push(ie("div",{class:e,onClick:r},{default:()=>[ie(M,{class:{[o.is("loading")]:t.loading}},{default:()=>[ie(l)]})]}))}return a}(e,c.value&&e.cellIndex===u),p={class:"cell",style:{}};return o.showOverflowTooltip&&(p.class="".concat(p.class," ").concat(R(i.namespace),"-tooltip"),p.style={width:"".concat((e.column.realWidth||Number(e.column.width))-1,"px")}),(e=>{function t(e){var t;"ElTableColumn"===(null==(t=null==e?void 0:e.type)?void 0:t.name)&&(e.vParent=n)}Array.isArray(e)?e.forEach((e=>t(e))):t(e)})(r),ie("div",p,[d,r])}),o},getPropsData:(...t)=>t.reduce(((t,l)=>(Array.isArray(l)&&l.forEach((l=>{t[l]=e[l]})),t)),{}),getColumnElIndex:(e,t)=>Array.prototype.indexOf.call(e,t),updateColumnOrder:()=>{l.value.store.commit("updateColumnOrder",n.columnConfig.value)}}}var Kl={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every((e=>["ascending","descending",null].includes(e)))}};let Dl=1;var Il=W({name:"ElTableColumn",components:{ElCheckbox:De},props:Kl,setup(e,{slots:t}){const l=E(),n=S({}),o=N((()=>{let e=l.parent;for(;e&&!e.tableId;)e=e.parent;return e})),{registerNormalWatchers:a,registerComplexWatchers:r}=function(e,t){const l=E();return{registerComplexWatchers:()=>{const n={realWidth:"width",realMinWidth:"minWidth"},o=Ml(["fixed"],n);Object.keys(o).forEach((o=>{const a=n[o];v(t,a)&&k((()=>t[a]),(t=>{let n=t;"width"===a&&"realWidth"===o&&(n=Vt(t)),"minWidth"===a&&"realMinWidth"===o&&(n=_t(t)),l.columnConfig.value[a]=n,l.columnConfig.value[o]=n;const r="fixed"===a;e.value.store.scheduleLayout(r)}))}))},registerNormalWatchers:()=>{const e={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},n=Ml(["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],e);Object.keys(n).forEach((n=>{const o=e[n];v(t,o)&&k((()=>t[o]),(e=>{l.columnConfig.value[n]=e}))}))}}}(o,e),{columnId:s,isSubColumn:i,realHeaderAlign:u,columnOrTableParent:c,setColumnWidth:d,setColumnForcedProps:p,setColumnRenders:h,getPropsData:f,getColumnElIndex:m,realAlign:g,updateColumnOrder:y}=Bl(e,t,o),b=c.value;s.value="".concat(b.tableId||b.columnId,"_column_").concat(Dl++),J((()=>{i.value=o.value!==b;const t=e.type||"default",c=""===e.sortable||e.sortable,m=A(e.showOverflowTooltip)?b.props.showOverflowTooltip:e.showOverflowTooltip,y={...Tl[t],id:s.value,type:t,property:e.prop||e.property,align:g,headerAlign:u,showOverflowTooltip:m,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:c,index:e.index,rawColumnKey:l.vnode.key};let w=f(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);w=function(e,t){const l={};let n;for(n in e)l[n]=e[n];for(n in t)if(v(t,n)){const e=t[n];void 0!==e&&(l[n]=e)}return l}(y,w);w=function(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...l)=>e(t(...l))))}(h,d,p)(w),n.value=w,a(),r()})),ee((()=>{var e;const t=c.value,a=i.value?t.vnode.el.children:null==(e=t.refs.hiddenColumns)?void 0:e.children,r=()=>m(a||[],l.vnode.el);n.value.getColumnIndex=r;r()>-1&&o.value.store.commit("insertColumn",n.value,i.value?t.columnConfig.value:null,y)})),me((()=>{const e=n.value.getColumnIndex;(e?e():-1)>-1&&o.value.store.commit("removeColumn",n.value,i.value?b.columnConfig.value:null,y)})),l.columnId=s.value,l.columnConfig=n},render(){var e,t,l;try{const n=null==(t=(e=this.$slots).default)?void 0:t.call(e,{row:{},column:{},$index:-1}),o=[];if(Array.isArray(n))for(const e of n)"ElTableColumn"===(null==(l=e.type)?void 0:l.name)||2&e.shapeFlag?o.push(e):e.type===q&&Array.isArray(e.children)&&e.children.forEach((e=>{1024===(null==e?void 0:e.patchFlag)||Ee(null==e?void 0:e.children)||o.push(e)}));return ie("div",o)}catch(n){return ie("div",[])}}});const Pl=Re(Ll,{TableColumn:Il}),jl=Ne(Il);export{jl as E,Pl as a}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tag-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tag-legacy.js new file mode 100644 index 000000000..0be35f809 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tag-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0index-legacy.js"],(function(r,l){"use strict";var o,e,a,t,g,c,i,n,v,s,d;return{setters:[function(r){o=r.S,e=r.k},function(r){a=r.b},function(r){t=r.b5,g=r.b6,c=r.b7,i=r.b8,n=r.b9,v=r.ba,s=r.bb,d=r.bc}],execute:function(){var l=document.createElement("style");l.textContent=".el-tag{--el-tag-font-size: 12px;--el-tag-border-radius: 4px;--el-tag-border-radius-rounded: 9999px;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:24px;padding:0 9px;font-size:var(--el-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size: 14px;--el-tag-bg-color: var(--el-color-primary-light-9);--el-tag-border-color: var(--el-color-primary-light-8);--el-tag-hover-color: var(--el-color-primary)}.el-tag.el-tag--primary{--el-tag-bg-color: var(--el-color-primary-light-9);--el-tag-border-color: var(--el-color-primary-light-8);--el-tag-hover-color: var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color: var(--el-color-success-light-9);--el-tag-border-color: var(--el-color-success-light-8);--el-tag-hover-color: var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color: var(--el-color-warning-light-9);--el-tag-border-color: var(--el-color-warning-light-8);--el-tag-hover-color: var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color: var(--el-color-danger-light-9);--el-tag-border-color: var(--el-color-danger-light-8);--el-tag-hover-color: var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color: var(--el-color-error-light-9);--el-tag-border-color: var(--el-color-error-light-8);--el-tag-hover-color: var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color: var(--el-color-info-light-9);--el-tag-border-color: var(--el-color-info-light-8);--el-tag-hover-color: var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{flex-shrink:0;color:var(--el-tag-text-color)}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag.el-tag--primary{--el-tag-text-color: var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color: var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color: var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color: var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color: var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color: var(--el-color-info)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-text-color: var(--el-color-white);--el-tag-bg-color: var(--el-color-primary);--el-tag-border-color: var(--el-color-primary);--el-tag-hover-color: var(--el-color-primary-light-3)}.el-tag--dark.el-tag--primary{--el-tag-bg-color: var(--el-color-primary);--el-tag-border-color: var(--el-color-primary);--el-tag-hover-color: var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color: var(--el-color-success);--el-tag-border-color: var(--el-color-success);--el-tag-hover-color: var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color: var(--el-color-warning);--el-tag-border-color: var(--el-color-warning);--el-tag-hover-color: var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color: var(--el-color-danger);--el-tag-border-color: var(--el-color-danger);--el-tag-hover-color: var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color: var(--el-color-error);--el-tag-border-color: var(--el-color-error);--el-tag-hover-color: var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color: var(--el-color-info);--el-tag-border-color: var(--el-color-info);--el-tag-hover-color: var(--el-color-info-light-3)}.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning,.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info{--el-tag-text-color: var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-primary-light-5);--el-tag-hover-color: var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-success-light-5);--el-tag-hover-color: var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-warning-light-5);--el-tag-hover-color: var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-danger-light-5);--el-tag-hover-color: var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-error-light-5);--el-tag-hover-color: var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-info-light-5);--el-tag-hover-color: var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{padding:0 11px;height:32px;--el-icon-size: 16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{padding:0 7px;height:20px;--el-icon-size: 12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}\n",document.head.appendChild(l),r("b",(function(r){return"function"==typeof r?r:null==r?s:"object"==typeof r?d(r)?function(r,l){return g(r)&&u(l)?p(c(r),l):function(o){var e=i(o,r);return void 0===e&&e===l?n(o,r):a(l,e,f|m)}}(r[0],r[1]):(t=function(r){for(var l=e(r),o=l.length;o--;){var a=l[o],t=r[a];l[o]=[a,t,u(t)]}return l}(l=r),1==t.length&&t[0][2]?p(t[0][0],t[0][1]):function(r){return r===l||function(r,l,e,t){var g=e.length,c=g,i=!t;if(null==r)return!c;for(r=Object(r);g--;){var n=e[g];if(i&&n[2]?n[1]!==r[n[0]]:!(n[0]in r))return!1}for(;++ge.length)&&(t=e.length);for(var n=0,r=Array(t);n.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height: var(--el-tree-node-content-height);display:flex;align-items:center;height:var(--el-tree-node-content-height);cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px;box-sizing:content-box}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{margin-right:8px;font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color)}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}\n",document.head.appendChild(a);var ae="$treeNodeId",ie=function(e,t){t&&!t[ae]&&Object.defineProperty(t,ae,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},de=function(e,t){return e?t[e]:t[ae]},le=function(e,t,n){var r=e.value.currentNode;n();var o=e.value.currentNode;r!==o&&t("current-change",o?o.data:null,o)},ce=function(e){for(var t=!0,n=!0,r=!0,o=0,a=e.length;o0&&e.lazy&&e.defaultExpandAll&&!this.isLeafByUser&&this.expand(),Array.isArray(this.data)||ie(this,this.data),this.data){var r=e.defaultExpandedKeys,o=e.key;o&&r&&r.includes(this.key)&&this.expand(null,e.autoExpandParent),o&&void 0!==e.currentNodeKey&&this.key===e.currentNodeKey&&(e.currentNode=this,e.currentNode.isCurrent=!0),e.lazy&&e._initDefaultCheckedNode(this),this.updateLeafState(),!this.parent||1!==this.level&&!0!==this.parent.expanded||(this.canFocus=!0)}}},{key:"setData",value:function(e){var t;Array.isArray(e)||ie(this,e),this.data=e,this.childNodes=[];for(var n=0,r=(t=0===this.level&&Array.isArray(this.data)?this.data:ue(this,"children")||[]).length;n-1)return e.childNodes[t+1]}return null}},{key:"previousSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}},{key:"contains",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(this.childNodes||[]).some((function(n){return n===e||t&&n.contains(e)}))}},{key:"remove",value:function(){var e=this.parent;e&&e.removeChild(this)}},{key:"insertChild",value:function(t,n,r){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof e)){if(!r){var o=this.getChildren(!0);o.includes(t.data)||(void 0===n||n<0?o.push(t.data):o.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),(t=l(new e(t)))instanceof e&&t.initialize()}t.level=this.level+1,void 0===n||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}},{key:"insertBefore",value:function(e,t){var n;t&&(n=this.childNodes.indexOf(t)),this.insertChild(e,n)}},{key:"insertAfter",value:function(e,t){var n;t&&-1!==(n=this.childNodes.indexOf(t))&&(n+=1),this.insertChild(e,n)}},{key:"removeChild",value:function(e){var t=this.getChildren()||[],n=t.indexOf(e.data);n>-1&&t.splice(n,1);var r=this.childNodes.indexOf(e);r>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(r,1)),this.updateLeafState()}},{key:"removeChildByData",value:function(e){for(var t=null,n=0;n0;)r.expanded=!0,r=r.parent;n.expanded=!0,e&&e(),n.childNodes.forEach((function(e){e.canFocus=!0}))};this.shouldLoadData()?this.loadData((function(e){Array.isArray(e)&&(n.checked?n.setChecked(!0,!0):n.store.checkStrictly||se(n),r())})):r()}},{key:"doCreateChildren",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e){t.insertChild(Object.assign({data:e},n),void 0,!0)}))}},{key:"collapse",value:function(){this.expanded=!1,this.childNodes.forEach((function(e){e.canFocus=!1}))}},{key:"shouldLoadData",value:function(){return!0===this.store.lazy&&this.store.load&&!this.loaded}},{key:"updateLeafState",value:function(){if(!0!==this.store.lazy||!0===this.loaded||void 0===this.isLeafByUser){var e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}else this.isLeaf=this.isLeafByUser}},{key:"setChecked",value:function(e,t,n,r){var o=this;if(this.indeterminate="half"===e,this.checked=!0===e,!this.store.checkStrictly){if(!this.shouldLoadData()||this.store.checkDescendants){var a=ce(this.childNodes),i=a.all,d=a.allWithoutDisable;this.isLeaf||i||!d||(this.checked=!1,e=!1);var l=function(){if(t){for(var n=o.childNodes,a=0,i=n.length;a0&&void 0!==arguments[0]&&arguments[0];if(0===this.level)return this.data;var t=this.data;if(!t)return null;var n=this.store.props,r="children";return n&&(r=n.children||"children"),void 0===t[r]&&(t[r]=null),e&&!t[r]&&(t[r]=[]),t[r]}},{key:"updateChildren",value:function(){var e=this,t=this.getChildren()||[],n=this.childNodes.map((function(e){return e.data})),r={},o=[];t.forEach((function(e,t){var a=e[ae];!!a&&n.findIndex((function(e){return e[ae]===a}))>=0?r[a]={index:t,data:e}:o.push({index:t,data:e})})),this.store.lazy||n.forEach((function(t){r[t[ae]]||e.removeChildByData(t)})),o.forEach((function(t){var n=t.index,r=t.data;e.insertChild({data:r},n)})),this.updateLeafState()}},{key:"loadData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(n).length)e&&e.call(this);else{this.loading=!0;this.store.load(this,(function(r){t.childNodes=[],t.doCreateChildren(r,n),t.loaded=!0,t.loading=!1,t.updateLeafState(),e&&e.call(t,r)}),(function(){t.loading=!1}))}}},{key:"eachNode",value:function(e){for(var n=[this];n.length;){var r=n.shift();n.unshift.apply(n,t(r.childNodes)),e(r)}}},{key:"reInitChecked",value:function(){this.store.checkStrictly||se(this)}}])}(),ve=function(){return i((function e(t){for(var n in o(this,e),this.currentNode=null,this.currentNodeKey=null,t)d(t,n)&&(this[n]=t[n]);this.nodesMap={}}),[{key:"initialize",value:function(){var e=this;(this.root=new fe({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load)?(0,this.load)(this.root,(function(t){e.root.doCreateChildren(t),e._initDefaultCheckedNodes()})):this._initDefaultCheckedNodes()}},{key:"filter",value:function(e){var t=this.filterNodeMethod,n=this.lazy,r=function(o){var a=o.root?o.root.childNodes:o.childNodes;if(a.forEach((function(n){n.visible=t.call(n,e,n.data,n),r(n)})),!o.visible&&a.length){var i;i=!a.some((function(e){return e.visible})),o.root?o.root.visible=!1===i:o.visible=!1===i}e&&o.visible&&!o.isLeaf&&(n&&!o.loaded||o.expand())};r(this)}},{key:"setData",value:function(e){e!==this.root.data?(this.nodesMap={},this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()}},{key:"getNode",value:function(e){if(e instanceof fe)return e;var t=c(e)?de(this.key,e):e;return this.nodesMap[t]||null}},{key:"insertBefore",value:function(e,t){var n=this.getNode(t);n.parent.insertBefore({data:e},n)}},{key:"insertAfter",value:function(e,t){var n=this.getNode(t);n.parent.insertAfter({data:e},n)}},{key:"remove",value:function(e){var t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}},{key:"append",value:function(e,t){var n=s(t)?this.root:this.getNode(t);n&&n.insertChild({data:e})}},{key:"_initDefaultCheckedNodes",value:function(){var e=this,t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach((function(t){var r=n[t];r&&r.setChecked(!0,!e.checkStrictly)}))}},{key:"_initDefaultCheckedNode",value:function(e){(this.defaultCheckedKeys||[]).includes(e.key)&&e.setChecked(!0,!this.checkStrictly)}},{key:"setDefaultCheckedKey",value:function(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}},{key:"registerNode",value:function(e){var t=this.key;e&&e.data&&(t?void 0!==e.key&&(this.nodesMap[e.key]=e):this.nodesMap[e.id]=e)}},{key:"deregisterNode",value:function(e){var t=this;this.key&&e&&e.data&&(e.childNodes.forEach((function(e){t.deregisterNode(e)})),delete this.nodesMap[e.key])}},{key:"getCheckedNodes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[],r=function(o){(o.root?o.root.childNodes:o.childNodes).forEach((function(o){(o.checked||t&&o.indeterminate)&&(!e||e&&o.isLeaf)&&n.push(o.data),r(o)}))};return r(this),n}},{key:"getCheckedKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.getCheckedNodes(t).map((function(t){return(t||{})[e.key]}))}},{key:"getHalfCheckedNodes",value:function(){var e=[],t=function(n){(n.root?n.root.childNodes:n.childNodes).forEach((function(n){n.indeterminate&&e.push(n.data),t(n)}))};return t(this),e}},{key:"getHalfCheckedKeys",value:function(){var e=this;return this.getHalfCheckedNodes().map((function(t){return(t||{})[e.key]}))}},{key:"_getAllNodes",value:function(){var e=[],t=this.nodesMap;for(var n in t)d(t,n)&&e.push(t[n]);return e}},{key:"updateChildren",value:function(e,t){var n=this.nodesMap[e];if(n){for(var r=n.childNodes,o=r.length-1;o>=0;o--){var a=r[o];this.remove(a.data)}for(var i=0,d=t.length;i1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,o=this._getAllNodes().sort((function(e,t){return e.level-t.level})),a=Object.create(null),i=Object.keys(r);o.forEach((function(e){return e.setChecked(!1,!1)}));for(var d=function(t){t.childNodes.forEach((function(t){var n;a[t.data[e]]=!0,(null==(n=t.childNodes)?void 0:n.length)&&d(t)}))},l=function(){var r=o[c],l=r.data[e].toString();if(!i.includes(l))return r.checked&&!a[l]&&r.setChecked(!1,!1),0;if(r.childNodes.length&&d(r),r.isLeaf||t.checkStrictly)return r.setChecked(!0,!1),0;if(r.setChecked(!0,!0),n){r.setChecked(!1,!1);var s=function(e){e.childNodes.forEach((function(e){e.isLeaf||e.setChecked(!1,!1),s(e)}))};s(r)}},c=0,s=o.length;c1&&void 0!==arguments[1]&&arguments[1],n=this.key,r={};e.forEach((function(e){r[(e||{})[n]]=!0})),this._setCheckedKeys(n,t,r)}},{key:"setCheckedKeys",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.defaultCheckedKeys=e;var n=this.key,r={};e.forEach((function(e){r[e]=!0})),this._setCheckedKeys(n,t,r)}},{key:"setDefaultExpandedKeys",value:function(e){var t=this;e=e||[],this.defaultExpandedKeys=e,e.forEach((function(e){var n=t.getNode(e);n&&n.expand(null,t.autoExpandParent)}))}},{key:"setChecked",value:function(e,t,n){var r=this.getNode(e);r&&r.setChecked(!!t,n)}},{key:"getCurrentNode",value:function(){return this.currentNode}},{key:"setCurrentNode",value:function(e){var t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}},{key:"setUserCurrentNode",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e[this.key],r=this.nodesMap[n];this.setCurrentNode(r),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}},{key:"setCurrentNodeKey",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null==e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);var n=this.getNode(e);n&&(this.setCurrentNode(n),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}])}(),pe=h({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup:function(e){var t=f("tree"),n=v("NodeInstance"),r=v("RootTree");return function(){var o=e.node,a=o.data,i=o.store;return e.renderContent?e.renderContent(p,{_self:n,node:o,data:a,store:i}):y(r.ctx.slots,"default",{node:o,data:a},(function(){return[p("span",{class:t.be("node","label")},[o.label])]}))}}}),ye=u(pe,[["__file","tree-node-content.vue"]]);function ge(e){var t=v("TreeNodeMap",null),r={treeNodeExpand:function(t){e.node!==t&&e.node.collapse()},children:[]};return t&&t.children.push(r),g("TreeNodeMap",r),{broadcastExpanded:function(t){if(e.accordion){var o,a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=n(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,d=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return d=e.done,e},e:function(e){l=!0,i=e},f:function(){try{d||null==r.return||r.return()}finally{if(l)throw i}}}}(r.children);try{for(a.s();!(o=a.n()).done;){o.value.treeNodeExpand(t)}}catch(i){a.e(i)}finally{a.f()}}}}}var ke=Symbol("dragEvents");var Ne=h({name:"ElTreeNode",components:{ElCollapseTransition:re,ElCheckbox:oe,NodeContent:ye,ElIcon:C,Loading:b},props:{node:{type:fe,default:function(){return{}}},props:{type:Object,default:function(){return{}}},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup:function(n,r){var o=f("tree"),a=ge(n).broadcastExpanded,i=v("RootTree"),d=k(!1),l=k(!1),c=k(null),s=k(null),u=k(null),h=v(ke),p=P();g("NodeInstance",p),n.node.expanded&&(d.value=!0,l.value=!0);var y=i.props.props.children||"children";x((function(){var e=n.node.data[y];return e&&t(e)}),(function(){n.node.updateChildren()})),x((function(){return n.node.indeterminate}),(function(e){N(n.node.checked,e)})),x((function(){return n.node.checked}),(function(e){N(e,n.node.indeterminate)})),x((function(){return n.node.childNodes.length}),(function(){return n.node.reInitChecked()})),x((function(){return n.node.expanded}),(function(e){E((function(){return d.value=e})),e&&(l.value=!0)}));var N=function(e,t){c.value===e&&s.value===t||i.ctx.emit("check-change",n.node.data,e,t),c.value=e,s.value=t},m=function(){n.node.isLeaf||(d.value?(i.ctx.emit("node-collapse",n.node.data,n.node,p),n.node.collapse()):n.node.expand((function(){r.emit("node-expand",n.node.data,n.node,p)})))},C=function(e,t){n.node.setChecked(t.target.checked,!i.props.checkStrictly),E((function(){var e=i.store.value;i.ctx.emit("check",n.node.data,{checkedNodes:e.getCheckedNodes(),checkedKeys:e.getCheckedKeys(),halfCheckedNodes:e.getHalfCheckedNodes(),halfCheckedKeys:e.getHalfCheckedKeys()})}))};return{ns:o,node$:u,tree:i,expanded:d,childNodeRendered:l,oldChecked:c,oldIndeterminate:s,getNodeKey:function(e){return de(i.props.nodeKey,e.data)},getNodeClass:function(t){var r,o=n.props.class;if(!o)return{};R(o)?r=o(t.data,t):r=o;return H(r)?e({},r,!0):r},handleSelectChange:N,handleClick:function(e){le(i.store,i.ctx.emit,(function(){return i.store.value.setCurrentNode(n.node)})),i.currentNode.value=n.node,i.props.expandOnClickNode&&m(),i.props.checkOnClickNode&&!n.node.disabled&&C(null,{target:{checked:!n.node.checked}}),i.ctx.emit("node-click",n.node.data,n.node,p,e)},handleContextMenu:function(e){i.instance.vnode.props.onNodeContextmenu&&(e.stopPropagation(),e.preventDefault()),i.ctx.emit("node-contextmenu",e,n.node.data,n.node,p)},handleExpandIconClick:m,handleCheckChange:C,handleChildNodeExpand:function(e,t,n){a(t),i.ctx.emit("node-expand",e,t,n)},handleDragStart:function(e){i.props.draggable&&h.treeNodeDragStart({event:e,treeNode:n})},handleDragOver:function(e){e.preventDefault(),i.props.draggable&&h.treeNodeDragOver({event:e,treeNode:{$el:u.value,node:n.node}})},handleDrop:function(e){e.preventDefault()},handleDragEnd:function(e){i.props.draggable&&h.treeNodeDragEnd(e)},CaretRight:D}}});var me=h({name:"ElTree",components:{ElTreeNode:u(Ne,[["render",function(e,t,n,r,o,a){var i=K("el-icon"),d=K("el-checkbox"),l=K("loading"),c=K("node-content"),s=K("el-tree-node"),u=K("el-collapse-transition");return w((S(),A("div",{ref:"node$",class:O([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:I(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:I(e.handleDragStart,["stop"]),onDragover:I(e.handleDragOver,["stop"]),onDragend:I(e.handleDragEnd,["stop"]),onDrop:I(e.handleDrop,["stop"])},[z("div",{class:O(e.ns.be("node","content")),style:j({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(S(),B(i,{key:0,class:O([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:I(e.handleExpandIconClick,["stop"])},{default:T((function(){return[(S(),B(L(e.tree.props.icon||e.CaretRight)))]})),_:1},8,["class","onClick"])):$("v-if",!0),e.showCheckbox?(S(),B(d,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:I((function(){}),["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):$("v-if",!0),e.node.loading?(S(),B(i,{key:2,class:O([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:T((function(){return[M(l)]})),_:1},8,["class"])):$("v-if",!0),M(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),M(u,null,{default:T((function(){return[!e.renderAfterExpand||e.childNodeRendered?w((S(),A("div",{key:0,class:O(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(S(!0),A(q,null,F(e.node.childNodes,(function(t){return S(),B(s,{key:e.getNodeKey(t),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:t,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"])})),128))],10,["aria-expanded"])),[[_,e.expanded]]):$("v-if",!0)]})),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[_,e.node.visible]])}],["__file","tree-node.vue"]])},props:{data:{type:Array,default:function(){return[]}},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:function(){return{children:"children",label:"label",disabled:"disabled"}}},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:X}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup:function(e,t){var n=J().t,r=f("tree"),o=v(ne,null),a=k(new ve({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));a.value.initialize();var i=k(a.value.root),d=k(null),l=k(null),c=k(null),s=ge(e).broadcastExpanded,u=function(e){var t=e.props,n=e.ctx,r=e.el$,o=e.dropIndicator$,a=e.store,i=f("tree"),d=k({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return g(ke,{treeNodeDragStart:function(e){var r=e.event,o=e.treeNode;if("function"==typeof t.allowDrag&&!t.allowDrag(o.node))return r.preventDefault(),!1;r.dataTransfer.effectAllowed="move";try{r.dataTransfer.setData("text/plain","")}catch(a){}d.value.draggingNode=o,n.emit("node-drag-start",o.node,r)},treeNodeDragOver:function(e){var a=e.event,l=e.treeNode,c=d.value.dropNode;c&&c.node.id!==l.node.id&&N(c.$el,i.is("drop-inner"));var s=d.value.draggingNode;if(s&&l){var u=!0,h=!0,f=!0,v=!0;"function"==typeof t.allowDrop&&(u=t.allowDrop(s.node,l.node,"prev"),v=h=t.allowDrop(s.node,l.node,"inner"),f=t.allowDrop(s.node,l.node,"next")),a.dataTransfer.dropEffect=h||u||f?"move":"none",(u||h||f)&&(null==c?void 0:c.node.id)!==l.node.id&&(c&&n.emit("node-drag-leave",s.node,c.node,a),n.emit("node-drag-enter",s.node,l.node,a)),d.value.dropNode=u||h||f?l:null,l.node.nextSibling===s.node&&(f=!1),l.node.previousSibling===s.node&&(u=!1),l.node.contains(s.node,!1)&&(h=!1),(s.node===l.node||s.node.contains(l.node))&&(u=!1,h=!1,f=!1);var p,y=l.$el.querySelector(".".concat(i.be("node","content"))).getBoundingClientRect(),g=r.value.getBoundingClientRect(),k=u?h?.25:f?.45:1:-1,C=f?h?.75:u?.55:0:1,b=-9999,x=a.clientY-y.top;p=xy.height*C?"after":h?"inner":"none";var E=l.$el.querySelector(".".concat(i.be("node","expand-icon"))).getBoundingClientRect(),D=o.value;"before"===p?b=E.top-g.top:"after"===p&&(b=E.bottom-g.top),D.style.top="".concat(b,"px"),D.style.left="".concat(E.right-g.left,"px"),"inner"===p?m(l.$el,i.is("drop-inner")):N(l.$el,i.is("drop-inner")),d.value.showDropIndicator="before"===p||"after"===p,d.value.allowDrop=d.value.showDropIndicator||v,d.value.dropType=p,n.emit("node-drag-over",s.node,l.node,a)}},treeNodeDragEnd:function(e){var t=d.value,r=t.draggingNode,o=t.dropType,l=t.dropNode;if(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="move"),r&&l){var c={data:r.node.data};"none"!==o&&r.node.remove(),"before"===o?l.node.parent.insertBefore(c,l.node):"after"===o?l.node.parent.insertAfter(c,l.node):"inner"===o&&l.node.insertChild(c),"none"!==o&&(a.value.registerNode(c),a.value.key&&r.node.eachNode((function(e){var t;null==(t=a.value.nodesMap[e.data[a.value.key]])||t.setChecked(e.checked,!a.value.checkStrictly)}))),N(l.$el,i.is("drop-inner")),n.emit("node-drag-end",r.node,l.node,o,e),"none"!==o&&n.emit("node-drop",r.node,l.node,o,e)}r&&!l&&n.emit("node-drag-end",r.node,null,o,e),d.value.showDropIndicator=!1,d.value.draggingNode=null,d.value.dropNode=null,d.value.allowDrop=!0}}),{dragState:d}}({props:e,ctx:t,el$:l,dropIndicator$:c,store:a}),h=u.dragState;!function(e,t){var n=e.el$,r=f("tree"),o=U([]),a=U([]);Y((function(){i()})),G((function(){o.value=Array.from(n.value.querySelectorAll("[role=treeitem]")),a.value=Array.from(n.value.querySelectorAll("input[type=checkbox]"))})),x(a,(function(e){e.forEach((function(e){e.setAttribute("tabindex","-1")}))})),Q(n,"keydown",(function(e){var a=e.target;if(a.className.includes(r.b("node"))){var i=e.code;o.value=Array.from(n.value.querySelectorAll(".".concat(r.is("focusable"),"[role=treeitem]")));var d,l=o.value.indexOf(a);if([W.up,W.down].includes(i)){if(e.preventDefault(),i===W.up)for(var c=d=-1===l?0:0!==l?l-1:o.value.length-1;!t.value.getNode(o.value[d].dataset.key).canFocus;){if(--d===c){d=-1;break}d<0&&(d=o.value.length-1)}else for(var s=d=-1===l?0:l=o.value.length&&(d=0)}-1!==d&&o.value[d].focus()}[W.left,W.right].includes(i)&&(e.preventDefault(),a.click());var u=a.querySelector('[type="checkbox"]');[W.enter,W.space].includes(i)&&u&&(e.preventDefault(),u.click())}}));var i=function(){var e;o.value=Array.from(n.value.querySelectorAll(".".concat(r.is("focusable"),"[role=treeitem]"))),a.value=Array.from(n.value.querySelectorAll("input[type=checkbox]"));var t=n.value.querySelectorAll(".".concat(r.is("checked"),"[role=treeitem]"));t.length?t[0].setAttribute("tabindex","0"):null==(e=o.value[0])||e.setAttribute("tabindex","0")}}({el$:l},a);var p=V((function(){var e=i.value.childNodes,t=!!o&&0!==o.hasFilteredOptions;return(!e||0===e.length||e.every((function(e){return!e.visible})))&&!t}));x((function(){return e.currentNodeKey}),(function(e){a.value.setCurrentNodeKey(e)})),x((function(){return e.defaultCheckedKeys}),(function(e){a.value.setDefaultCheckedKey(e)})),x((function(){return e.defaultExpandedKeys}),(function(e){a.value.setDefaultExpandedKeys(e)})),x((function(){return e.data}),(function(e){a.value.setData(e)}),{deep:!0}),x((function(){return e.checkStrictly}),(function(e){a.value.checkStrictly=e}));var y=function(){var e=a.value.getCurrentNode();return e?e.data:null};return g("RootTree",{ctx:t,props:e,store:a,root:i,currentNode:d,instance:P()}),g(Z,void 0),{ns:r,store:a,root:i,currentNode:d,dragState:h,el$:l,dropIndicator$:c,isEmpty:p,filter:function(t){if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");a.value.filter(t)},getNodeKey:function(t){return de(e.nodeKey,t.data)},getNodePath:function(t){if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");var n=a.value.getNode(t);if(!n)return[];for(var r=[n.data],o=n.parent;o&&o!==i.value;)r.push(o.data),o=o.parent;return r.reverse()},getCheckedNodes:function(e,t){return a.value.getCheckedNodes(e,t)},getCheckedKeys:function(e){return a.value.getCheckedKeys(e)},getCurrentNode:y,getCurrentKey:function(){if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");var t=y();return t?t[e.nodeKey]:null},setCheckedNodes:function(t,n){if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");a.value.setCheckedNodes(t,n)},setCheckedKeys:function(t,n){if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");a.value.setCheckedKeys(t,n)},setChecked:function(e,t,n){a.value.setChecked(e,t,n)},getHalfCheckedNodes:function(){return a.value.getHalfCheckedNodes()},getHalfCheckedKeys:function(){return a.value.getHalfCheckedKeys()},setCurrentNode:function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");le(a,t.emit,(function(){s(n),a.value.setUserCurrentNode(n,r)}))},setCurrentKey:function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");le(a,t.emit,(function(){s(),a.value.setCurrentNodeKey(n,r)}))},t:n,getNode:function(e){return a.value.getNode(e)},remove:function(e){a.value.remove(e)},append:function(e,t){a.value.append(e,t)},insertBefore:function(e,t){a.value.insertBefore(e,t)},insertAfter:function(e,t){a.value.insertAfter(e,t)},handleNodeExpand:function(e,n,r){s(n),t.emit("node-expand",e,n,r)},updateKeyChildren:function(t,n){if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");a.value.updateChildren(t,n)}}}});r("E",te(u(me,[["render",function(t,n,r,o,a,i){var d=K("el-tree-node");return S(),A("div",{ref:"el$",class:O([t.ns.b(),t.ns.is("dragging",!!t.dragState.draggingNode),t.ns.is("drop-not-allow",!t.dragState.allowDrop),t.ns.is("drop-inner","inner"===t.dragState.dropType),e({},t.ns.m("highlight-current"),t.highlightCurrent)]),role:"tree"},[(S(!0),A(q,null,F(t.root.childNodes,(function(e){return S(),B(d,{key:t.getNodeKey(e),node:e,props:t.props,accordion:t.accordion,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,"render-content":t.renderContent,onNodeExpand:t.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"])})),128)),t.isEmpty?(S(),A("div",{key:0,class:O(t.ns.e("empty-block"))},[y(t.$slots,"empty",{},(function(){var e;return[z("span",{class:O(t.ns.e("empty-text"))},ee(null!=(e=t.emptyText)?e:t.t("el.tree.emptyText")),3)]}))],2)):$("v-if",!0),w(z("div",{ref:"dropIndicator$",class:O(t.ns.e("drop-indicator"))},null,2),[[_,t.dragState.showDropIndicator]])],2)}],["__file","tree.vue"]])))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tree.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tree.css new file mode 100644 index 000000000..32c0886b4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tree.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-tree{--el-tree-node-content-height: 26px;--el-tree-node-hover-bg-color: var(--el-fill-color-light);--el-tree-text-color: var(--el-text-color-regular);--el-tree-expand-icon-color: var(--el-text-color-placeholder);position:relative;cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color);font-size:var(--el-font-size-base)}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--el-text-color-secondary);font-size:var(--el-font-size-base)}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:var(--el-color-primary)}.el-tree-node{white-space:nowrap;outline:none}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height: var(--el-tree-node-content-height);display:flex;align-items:center;height:var(--el-tree-node-content-height);cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px;box-sizing:content-box}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{margin-right:8px;font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color)}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tree.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tree.js new file mode 100644 index 000000000..d4a90e3ff --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0tree.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{c7 as e,r as t,aQ as n,cd as d,_ as o,q as a,v as r,ab as s,y as i,z as l,x as c,a as h,aG as u,aF as p,H as f,cb as g,X as y,Q as k,d3 as N,N as v,S as C,Y as x,o as b,c as m,b as E,h as D,w as K,G as w,n as S,ak as A,f as B,e as L,F as T,K as O,L as _,ap as $,a$ as q,ag as I,O as M,P as z,b1 as F,a9 as j,ac as R,B as H,ah as P,C as U,b0 as G,t as Q,I as W}from"./087AC4D233B64EB0index.js";import{s as Y}from"./087AC4D233B64EB0token.js";import{E as X}from"./087AC4D233B64EB0index30.js";import{E as J}from"./087AC4D233B64EB0checkbox.js";const V="$treeNodeId",Z=function(e,t){t&&!t[V]&&Object.defineProperty(t,V,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},ee=function(e,t){return e?t[e]:t[V]},te=(e,t,n)=>{const d=e.value.currentNode;n();const o=e.value.currentNode;d!==o&&t("current-change",o?o.data:null,o)},ne=e=>{let t=!0,n=!0,d=!0;for(let o=0,a=e.length;o0&&e.lazy&&e.defaultExpandAll&&!this.isLeafByUser&&this.expand(),Array.isArray(this.data)||Z(this,this.data),!this.data)return;const n=e.defaultExpandedKeys,d=e.key;d&&n&&n.includes(this.key)&&this.expand(null,e.autoExpandParent),d&&void 0!==e.currentNodeKey&&this.key===e.currentNodeKey&&(e.currentNode=this,e.currentNode.isCurrent=!0),e.lazy&&e._initDefaultCheckedNode(this),this.updateLeafState(),!this.parent||1!==this.level&&!0!==this.parent.expanded||(this.canFocus=!0)}setData(e){let t;Array.isArray(e)||Z(this,e),this.data=e,this.childNodes=[],t=0===this.level&&Array.isArray(this.data)?this.data:oe(this,"children")||[];for(let n=0,d=t.length;n-1)return e.childNodes[t+1]}return null}get previousSibling(){const e=this.parent;if(e){const t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}contains(e,t=!0){return(this.childNodes||[]).some((n=>n===e||t&&n.contains(e)))}remove(){const e=this.parent;e&&e.removeChild(this)}insertChild(e,n,d){if(!e)throw new Error("InsertChild error: child is required.");if(!(e instanceof re)){if(!d){const t=this.getChildren(!0);t.includes(e.data)||(void 0===n||n<0?t.push(e.data):t.splice(n,0,e.data))}Object.assign(e,{parent:this,store:this.store}),(e=t(new re(e)))instanceof re&&e.initialize()}e.level=this.level+1,void 0===n||n<0?this.childNodes.push(e):this.childNodes.splice(n,0,e),this.updateLeafState()}insertBefore(e,t){let n;t&&(n=this.childNodes.indexOf(t)),this.insertChild(e,n)}insertAfter(e,t){let n;t&&(n=this.childNodes.indexOf(t),-1!==n&&(n+=1)),this.insertChild(e,n)}removeChild(e){const t=this.getChildren()||[],n=t.indexOf(e.data);n>-1&&t.splice(n,1);const d=this.childNodes.indexOf(e);d>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(d,1)),this.updateLeafState()}removeChildByData(e){let t=null;for(let n=0;n{if(t){let e=this.parent;for(;e.level>0;)e.expanded=!0,e=e.parent}this.expanded=!0,e&&e(),this.childNodes.forEach((e=>{e.canFocus=!0}))};this.shouldLoadData()?this.loadData((e=>{Array.isArray(e)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||de(this),n())})):n()}doCreateChildren(e,t={}){e.forEach((e=>{this.insertChild(Object.assign({data:e},t),void 0,!0)}))}collapse(){this.expanded=!1,this.childNodes.forEach((e=>{e.canFocus=!1}))}shouldLoadData(){return!0===this.store.lazy&&this.store.load&&!this.loaded}updateLeafState(){if(!0===this.store.lazy&&!0!==this.loaded&&void 0!==this.isLeafByUser)return void(this.isLeaf=this.isLeafByUser);const e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}setChecked(e,t,n,d){if(this.indeterminate="half"===e,this.checked=!0===e,this.store.checkStrictly)return;if(!this.shouldLoadData()||this.store.checkDescendants){const{all:n,allWithoutDisable:o}=ne(this.childNodes);this.isLeaf||n||!o||(this.checked=!1,e=!1);const a=()=>{if(t){const n=this.childNodes;for(let r=0,s=n.length;r{a(),de(this)}),{checked:!1!==e});a()}const o=this.parent;o&&0!==o.level&&(n||de(o))}getChildren(e=!1){if(0===this.level)return this.data;const t=this.data;if(!t)return null;const n=this.store.props;let d="children";return n&&(d=n.children||"children"),void 0===t[d]&&(t[d]=null),e&&!t[d]&&(t[d]=[]),t[d]}updateChildren(){const e=this.getChildren()||[],t=this.childNodes.map((e=>e.data)),n={},d=[];e.forEach(((e,o)=>{const a=e[V];!!a&&t.findIndex((e=>e[V]===a))>=0?n[a]={index:o,data:e}:d.push({index:o,data:e})})),this.store.lazy||t.forEach((e=>{n[e[V]]||this.removeChildByData(e)})),d.forEach((({index:e,data:t})=>{this.insertChild({data:t},e)})),this.updateLeafState()}loadData(e,t={}){if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(t).length)e&&e.call(this);else{this.loading=!0;const n=n=>{this.childNodes=[],this.doCreateChildren(n,t),this.loaded=!0,this.loading=!1,this.updateLeafState(),e&&e.call(this,n)},d=()=>{this.loading=!1};this.store.load(this,n,d)}}eachNode(e){const t=[this];for(;t.length;){const n=t.shift();t.unshift(...n.childNodes),e(n)}}reInitChecked(){this.store.checkStrictly||de(this)}}class se{constructor(t){this.currentNode=null,this.currentNodeKey=null;for(const n in t)e(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new re({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){(0,this.load)(this.root,(e=>{this.root.doCreateChildren(e),this._initDefaultCheckedNodes()}))}else this._initDefaultCheckedNodes()}filter(e){const t=this.filterNodeMethod,n=this.lazy,d=function(o){const a=o.root?o.root.childNodes:o.childNodes;if(a.forEach((n=>{n.visible=t.call(n,e,n.data,n),d(n)})),!o.visible&&a.length){let e=!0;e=!a.some((e=>e.visible)),o.root?o.root.visible=!1===e:o.visible=!1===e}e&&o.visible&&!o.isLeaf&&(n&&!o.loaded||o.expand())};d(this)}setData(e){e!==this.root.data?(this.nodesMap={},this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(e){if(e instanceof re)return e;const t=n(e)?ee(this.key,e):e;return this.nodesMap[t]||null}insertBefore(e,t){const n=this.getNode(t);n.parent.insertBefore({data:e},n)}insertAfter(e,t){const n=this.getNode(t);n.parent.insertAfter({data:e},n)}remove(e){const t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}append(e,t){const n=d(t)?this.root:this.getNode(t);n&&n.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;e.forEach((e=>{const n=t[e];n&&n.setChecked(!0,!this.checkStrictly)}))}_initDefaultCheckedNode(e){(this.defaultCheckedKeys||[]).includes(e.key)&&e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){const t=this.key;if(e&&e.data)if(t){void 0!==e.key&&(this.nodesMap[e.key]=e)}else this.nodesMap[e.id]=e}deregisterNode(e){this.key&&e&&e.data&&(e.childNodes.forEach((e=>{this.deregisterNode(e)})),delete this.nodesMap[e.key])}getCheckedNodes(e=!1,t=!1){const n=[],d=function(o){(o.root?o.root.childNodes:o.childNodes).forEach((o=>{(o.checked||t&&o.indeterminate)&&(!e||e&&o.isLeaf)&&n.push(o.data),d(o)}))};return d(this),n}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map((e=>(e||{})[this.key]))}getHalfCheckedNodes(){const e=[],t=function(n){(n.root?n.root.childNodes:n.childNodes).forEach((n=>{n.indeterminate&&e.push(n.data),t(n)}))};return t(this),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map((e=>(e||{})[this.key]))}_getAllNodes(){const t=[],n=this.nodesMap;for(const d in n)e(n,d)&&t.push(n[d]);return t}updateChildren(e,t){const n=this.nodesMap[e];if(!n)return;const d=n.childNodes;for(let o=d.length-1;o>=0;o--){const e=d[o];this.remove(e.data)}for(let o=0,a=t.length;oe.level-t.level)),o=Object.create(null),a=Object.keys(n);d.forEach((e=>e.setChecked(!1,!1)));const r=t=>{t.childNodes.forEach((t=>{var n;o[t.data[e]]=!0,(null==(n=t.childNodes)?void 0:n.length)&&r(t)}))};for(let s=0,i=d.length;s{t.isLeaf||t.setChecked(!1,!1),e(t)}))};e(n)}}else n.checked&&!o[i]&&n.setChecked(!1,!1)}}setCheckedNodes(e,t=!1){const n=this.key,d={};e.forEach((e=>{d[(e||{})[n]]=!0})),this._setCheckedKeys(n,t,d)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const n=this.key,d={};e.forEach((e=>{d[e]=!0})),this._setCheckedKeys(n,t,d)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach((e=>{const t=this.getNode(e);t&&t.expand(null,this.autoExpandParent)}))}setChecked(e,t,n){const d=this.getNode(e);d&&d.setChecked(!!t,n)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}setUserCurrentNode(e,t=!0){const n=e[this.key],d=this.nodesMap[n];this.setCurrentNode(d),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(e,t=!0){if(null==e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);const n=this.getNode(e);n&&(this.setCurrentNode(n),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}var ie=o(a({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=r("tree"),n=s("NodeInstance"),d=s("RootTree");return()=>{const o=e.node,{data:a,store:r}=o;return e.renderContent?e.renderContent(i,{_self:n,node:o,data:a,store:r}):l(d.ctx.slots,"default",{node:o,data:a},(()=>[i("span",{class:t.be("node","label")},[o.label])]))}}}),[["__file","tree-node-content.vue"]]);function le(e){const t=s("TreeNodeMap",null),n={treeNodeExpand:t=>{e.node!==t&&e.node.collapse()},children:[]};return t&&t.children.push(n),c("TreeNodeMap",n),{broadcastExpanded:t=>{if(e.accordion)for(const e of n.children)e.treeNodeExpand(t)}}}const ce=Symbol("dragEvents");const he=a({name:"ElTreeNode",components:{ElCollapseTransition:X,ElCheckbox:J,NodeContent:ie,ElIcon:f,Loading:g},props:{node:{type:re,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const n=r("tree"),{broadcastExpanded:d}=le(e),o=s("RootTree"),a=h(!1),i=h(!1),l=h(null),u=h(null),p=h(null),f=s(ce),g=$();c("NodeInstance",g),e.node.expanded&&(a.value=!0,i.value=!0);const v=o.props.props.children||"children";y((()=>{const t=e.node.data[v];return t&&[...t]}),(()=>{e.node.updateChildren()})),y((()=>e.node.indeterminate),(t=>{C(e.node.checked,t)})),y((()=>e.node.checked),(t=>{C(t,e.node.indeterminate)})),y((()=>e.node.childNodes.length),(()=>e.node.reInitChecked())),y((()=>e.node.expanded),(e=>{k((()=>a.value=e)),e&&(i.value=!0)}));const C=(t,n)=>{l.value===t&&u.value===n||o.ctx.emit("check-change",e.node.data,t,n),l.value=t,u.value=n},x=()=>{e.node.isLeaf||(a.value?(o.ctx.emit("node-collapse",e.node.data,e.node,g),e.node.collapse()):e.node.expand((()=>{t.emit("node-expand",e.node.data,e.node,g)})))},b=(t,n)=>{e.node.setChecked(n.target.checked,!o.props.checkStrictly),k((()=>{const t=o.store.value;o.ctx.emit("check",e.node.data,{checkedNodes:t.getCheckedNodes(),checkedKeys:t.getCheckedKeys(),halfCheckedNodes:t.getHalfCheckedNodes(),halfCheckedKeys:t.getHalfCheckedKeys()})}))};return{ns:n,node$:p,tree:o,expanded:a,childNodeRendered:i,oldChecked:l,oldIndeterminate:u,getNodeKey:e=>ee(o.props.nodeKey,e.data),getNodeClass:t=>{const n=e.props.class;if(!n)return{};let d;if(q(n)){const{data:e}=t;d=n(e,t)}else d=n;return I(d)?{[d]:!0}:d},handleSelectChange:C,handleClick:t=>{te(o.store,o.ctx.emit,(()=>o.store.value.setCurrentNode(e.node))),o.currentNode.value=e.node,o.props.expandOnClickNode&&x(),o.props.checkOnClickNode&&!e.node.disabled&&b(null,{target:{checked:!e.node.checked}}),o.ctx.emit("node-click",e.node.data,e.node,g,t)},handleContextMenu:t=>{o.instance.vnode.props.onNodeContextmenu&&(t.stopPropagation(),t.preventDefault()),o.ctx.emit("node-contextmenu",t,e.node.data,e.node,g)},handleExpandIconClick:x,handleCheckChange:b,handleChildNodeExpand:(e,t,n)=>{d(t),o.ctx.emit("node-expand",e,t,n)},handleDragStart:t=>{o.props.draggable&&f.treeNodeDragStart({event:t,treeNode:e})},handleDragOver:t=>{t.preventDefault(),o.props.draggable&&f.treeNodeDragOver({event:t,treeNode:{$el:p.value,node:e.node}})},handleDrop:e=>{e.preventDefault()},handleDragEnd:e=>{o.props.draggable&&f.treeNodeDragEnd(e)},CaretRight:N}}});const ue=W(o(a({name:"ElTree",components:{ElTreeNode:o(he,[["render",function(e,t,n,d,o,a){const r=v("el-icon"),s=v("el-checkbox"),i=v("loading"),l=v("node-content"),c=v("el-tree-node"),h=v("el-collapse-transition");return C((b(),m("div",{ref:"node$",class:S([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:A(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:A(e.handleDragStart,["stop"]),onDragover:A(e.handleDragOver,["stop"]),onDragend:A(e.handleDragEnd,["stop"]),onDrop:A(e.handleDrop,["stop"])},[E("div",{class:S(e.ns.be("node","content")),style:T({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(b(),D(r,{key:0,class:S([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:A(e.handleExpandIconClick,["stop"])},{default:K((()=>[(b(),D(w(e.tree.props.icon||e.CaretRight)))])),_:1},8,["class","onClick"])):B("v-if",!0),e.showCheckbox?(b(),D(s,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:A((()=>{}),["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):B("v-if",!0),e.node.loading?(b(),D(r,{key:2,class:S([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:K((()=>[L(i)])),_:1},8,["class"])):B("v-if",!0),L(l,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),L(h,null,{default:K((()=>[!e.renderAfterExpand||e.childNodeRendered?C((b(),m("div",{key:0,class:S(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(b(!0),m(O,null,_(e.node.childNodes,(t=>(b(),D(c,{key:e.getNodeKey(t),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:t,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"])))),128))],10,["aria-expanded"])),[[x,e.expanded]]):B("v-if",!0)])),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[x,e.node.visible]])}],["__file","tree-node.vue"]])},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:H}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=P(),d=r("tree"),o=s(Y,null),a=h(new se({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));a.value.initialize();const i=h(a.value.root),l=h(null),f=h(null),g=h(null),{broadcastExpanded:k}=le(e),{dragState:N}=function({props:e,ctx:t,el$:n,dropIndicator$:d,store:o}){const a=r("tree"),s=h({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return c(ce,{treeNodeDragStart:({event:n,treeNode:d})=>{if("function"==typeof e.allowDrag&&!e.allowDrag(d.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(o){}s.value.draggingNode=d,t.emit("node-drag-start",d.node,n)},treeNodeDragOver:({event:o,treeNode:r})=>{const i=r,l=s.value.dropNode;l&&l.node.id!==i.node.id&&u(l.$el,a.is("drop-inner"));const c=s.value.draggingNode;if(!c||!i)return;let h=!0,f=!0,g=!0,y=!0;"function"==typeof e.allowDrop&&(h=e.allowDrop(c.node,i.node,"prev"),y=f=e.allowDrop(c.node,i.node,"inner"),g=e.allowDrop(c.node,i.node,"next")),o.dataTransfer.dropEffect=f||h||g?"move":"none",(h||f||g)&&(null==l?void 0:l.node.id)!==i.node.id&&(l&&t.emit("node-drag-leave",c.node,l.node,o),t.emit("node-drag-enter",c.node,i.node,o)),s.value.dropNode=h||f||g?i:null,i.node.nextSibling===c.node&&(g=!1),i.node.previousSibling===c.node&&(h=!1),i.node.contains(c.node,!1)&&(f=!1),(c.node===i.node||c.node.contains(i.node))&&(h=!1,f=!1,g=!1);const k=i.$el.querySelector(".".concat(a.be("node","content"))).getBoundingClientRect(),N=n.value.getBoundingClientRect();let v;const C=h?f?.25:g?.45:1:-1,x=g?f?.75:h?.55:0:1;let b=-9999;const m=o.clientY-k.top;v=mk.height*x?"after":f?"inner":"none";const E=i.$el.querySelector(".".concat(a.be("node","expand-icon"))).getBoundingClientRect(),D=d.value;"before"===v?b=E.top-N.top:"after"===v&&(b=E.bottom-N.top),D.style.top="".concat(b,"px"),D.style.left="".concat(E.right-N.left,"px"),"inner"===v?p(i.$el,a.is("drop-inner")):u(i.$el,a.is("drop-inner")),s.value.showDropIndicator="before"===v||"after"===v,s.value.allowDrop=s.value.showDropIndicator||y,s.value.dropType=v,t.emit("node-drag-over",c.node,i.node,o)},treeNodeDragEnd:e=>{const{draggingNode:n,dropType:d,dropNode:r}=s.value;if(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="move"),n&&r){const s={data:n.node.data};"none"!==d&&n.node.remove(),"before"===d?r.node.parent.insertBefore(s,r.node):"after"===d?r.node.parent.insertAfter(s,r.node):"inner"===d&&r.node.insertChild(s),"none"!==d&&(o.value.registerNode(s),o.value.key&&n.node.eachNode((e=>{var t;null==(t=o.value.nodesMap[e.data[o.value.key]])||t.setChecked(e.checked,!o.value.checkStrictly)}))),u(r.$el,a.is("drop-inner")),t.emit("node-drag-end",n.node,r.node,d,e),"none"!==d&&t.emit("node-drop",n.node,r.node,d,e)}n&&!r&&t.emit("node-drag-end",n.node,null,d,e),s.value.showDropIndicator=!1,s.value.draggingNode=null,s.value.dropNode=null,s.value.allowDrop=!0}}),{dragState:s}}({props:e,ctx:t,el$:f,dropIndicator$:g,store:a});!function({el$:e},t){const n=r("tree"),d=M([]),o=M([]);z((()=>{a()})),F((()=>{d.value=Array.from(e.value.querySelectorAll("[role=treeitem]")),o.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"))})),y(o,(e=>{e.forEach((e=>{e.setAttribute("tabindex","-1")}))})),j(e,"keydown",(o=>{const a=o.target;if(!a.className.includes(n.b("node")))return;const r=o.code;d.value=Array.from(e.value.querySelectorAll(".".concat(n.is("focusable"),"[role=treeitem]")));const s=d.value.indexOf(a);let i;if([R.up,R.down].includes(r)){if(o.preventDefault(),r===R.up){i=-1===s?0:0!==s?s-1:d.value.length-1;const e=i;for(;!t.value.getNode(d.value[i].dataset.key).canFocus;){if(i--,i===e){i=-1;break}i<0&&(i=d.value.length-1)}}else{i=-1===s?0:s=d.value.length&&(i=0)}}-1!==i&&d.value[i].focus()}[R.left,R.right].includes(r)&&(o.preventDefault(),a.click());const l=a.querySelector('[type="checkbox"]');[R.enter,R.space].includes(r)&&l&&(o.preventDefault(),l.click())}));const a=()=>{var t;d.value=Array.from(e.value.querySelectorAll(".".concat(n.is("focusable"),"[role=treeitem]"))),o.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"));const a=e.value.querySelectorAll(".".concat(n.is("checked"),"[role=treeitem]"));a.length?a[0].setAttribute("tabindex","0"):null==(t=d.value[0])||t.setAttribute("tabindex","0")}}({el$:f},a);const v=U((()=>{const{childNodes:e}=i.value,t=!!o&&0!==o.hasFilteredOptions;return(!e||0===e.length||e.every((({visible:e})=>!e)))&&!t}));y((()=>e.currentNodeKey),(e=>{a.value.setCurrentNodeKey(e)})),y((()=>e.defaultCheckedKeys),(e=>{a.value.setDefaultCheckedKey(e)})),y((()=>e.defaultExpandedKeys),(e=>{a.value.setDefaultExpandedKeys(e)})),y((()=>e.data),(e=>{a.value.setData(e)}),{deep:!0}),y((()=>e.checkStrictly),(e=>{a.value.checkStrictly=e}));const C=()=>{const e=a.value.getCurrentNode();return e?e.data:null};return c("RootTree",{ctx:t,props:e,store:a,root:i,currentNode:l,instance:$()}),c(G,void 0),{ns:d,store:a,root:i,currentNode:l,dragState:N,el$:f,dropIndicator$:g,isEmpty:v,filter:t=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");a.value.filter(t)},getNodeKey:t=>ee(e.nodeKey,t.data),getNodePath:t=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const n=a.value.getNode(t);if(!n)return[];const d=[n.data];let o=n.parent;for(;o&&o!==i.value;)d.push(o.data),o=o.parent;return d.reverse()},getCheckedNodes:(e,t)=>a.value.getCheckedNodes(e,t),getCheckedKeys:e=>a.value.getCheckedKeys(e),getCurrentNode:C,getCurrentKey:()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const t=C();return t?t[e.nodeKey]:null},setCheckedNodes:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");a.value.setCheckedNodes(t,n)},setCheckedKeys:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");a.value.setCheckedKeys(t,n)},setChecked:(e,t,n)=>{a.value.setChecked(e,t,n)},getHalfCheckedNodes:()=>a.value.getHalfCheckedNodes(),getHalfCheckedKeys:()=>a.value.getHalfCheckedKeys(),setCurrentNode:(n,d=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");te(a,t.emit,(()=>{k(n),a.value.setUserCurrentNode(n,d)}))},setCurrentKey:(n,d=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");te(a,t.emit,(()=>{k(),a.value.setCurrentNodeKey(n,d)}))},t:n,getNode:e=>a.value.getNode(e),remove:e=>{a.value.remove(e)},append:(e,t)=>{a.value.append(e,t)},insertBefore:(e,t)=>{a.value.insertBefore(e,t)},insertAfter:(e,t)=>{a.value.insertAfter(e,t)},handleNodeExpand:(e,n,d)=>{k(n),t.emit("node-expand",e,n,d)},updateKeyChildren:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");a.value.updateChildren(t,n)}}}}),[["render",function(e,t,n,d,o,a){const r=v("el-tree-node");return b(),m("div",{ref:"el$",class:S([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner","inner"===e.dragState.dropType),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(b(!0),m(O,null,_(e.root.childNodes,(t=>(b(),D(r,{key:e.getNodeKey(t),node:t,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"])))),128)),e.isEmpty?(b(),m("div",{key:0,class:S(e.ns.e("empty-block"))},[l(e.$slots,"empty",{},(()=>{var t;return[E("span",{class:S(e.ns.e("empty-text"))},Q(null!=(t=e.emptyText)?t:e.t("el.tree.emptyText")),3)]}))],2)):B("v-if",!0),C(E("div",{ref:"dropIndicator$",class:S(e.ns.e("drop-indicator"))},null,2),[[x,e.dragState.showDropIndicator]])],2)}],["__file","tree.vue"]]));export{ue as E}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload-legacy.js new file mode 100644 index 000000000..461bb265d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var e,n={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),c=new L(r||[]);return a(i,"_invoke",{value:D(t,n,c)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var h="suspendedStart",g="suspendedYield",y="executing",d="completed",v={};function m(){}function w(){}function B(){}var E={};s(E,c,(function(){return this}));var b=Object.getPrototypeOf,j=b&&b(b(P([])));j&&j!==r&&o.call(j,c)&&(E=j);var x=B.prototype=m.prototype=Object.create(E);function C(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(r,a,i,c){var u=p(t[r],t,a);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&o.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(s).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}var r;a(this,"_invoke",{value:function(t,o){function a(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(a,a):a()}})}function D(t,n,r){var o=h;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:e,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var u=_(c,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var l=p(t,n,r);if("normal"===l.type){if(o=r.done?d:g,l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=d,r.method="throw",r.arg=l.arg)}}}function _(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,_(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=p(o,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},n}function e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function n(t){for(var n=1;n1&&I.value--,H());case 4:case"end":return t.stop()}}),e)})))).catch((function(){d({type:"info",message:"已取消删除"})}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),K=function(){var e=a(t().mark((function e(n){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y.prompt("请输入文件名或者备注","编辑",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"不能为空",inputValue:n.name}).then(function(){var e=a(t().mark((function e(r){var o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=r.value,n.name=o,t.next=4,x(n);case 4:0===t.sent.code&&(d({type:"success",message:"编辑成功!"}),H());case 6:case"end":return t.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(){d({type:"info",message:"取消修改"})}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return function(t,e){var n=v,o=m,a=B,y=L,d=E,b=P,j=w;return i((c(),u("div",null,[l("div",T,[s(O,{title:"点击“文件名/备注”可以编辑文件名或者备注内容。"}),l("div",U,[s(A,{imageCommon:G.value,"onUpdate:imageCommon":e[0]||(e[0]=function(t){return G.value=t}),onOnSuccess:H},null,8,["imageCommon"]),s(D,{imageUrl:k.value,"onUpdate:imageUrl":e[1]||(e[1]=function(t){return k.value=t}),"file-size":512,"max-w-h":1080,onOnSuccess:H},null,8,["imageUrl"]),s(n,{modelValue:M.value.keyword,"onUpdate:modelValue":e[2]||(e[2]=function(t){return M.value.keyword=t}),class:"keyword",placeholder:"请输入文件名或备注"},null,8,["modelValue"]),s(o,{type:"primary",icon:"search",onClick:H},{default:f((function(){return e[3]||(e[3]=[p("查询")])})),_:1})]),s(d,{data:Y.value},{default:f((function(){return[s(a,{align:"left",label:"预览",width:"100"},{default:f((function(t){return[s(C,{"pic-type":"file","pic-src":t.row.faker,preview:""},null,8,["pic-src"])]})),_:1}),s(a,{align:"left",label:"日期",prop:"UpdatedAt",width:"180"},{default:f((function(t){return[l("div",null,h(g(_)(t.row.UpdatedAt)),1)]})),_:1}),s(a,{align:"left",label:"文件名/备注",prop:"name",width:"180"},{default:f((function(t){return[l("div",{class:"name",onClick:function(e){return K(t.row)}},h(t.row.name),9,N)]})),_:1}),s(a,{align:"left",label:"链接",prop:"url","min-width":"300"}),s(a,{align:"left",label:"标签",prop:"tag",width:"100"},{default:f((function(t){return[s(y,{type:"jpg"===t.row.tag?"primary":"success","disable-transitions":""},{default:f((function(){return[p(h(t.row.tag),1)]})),_:2},1032,["type"])]})),_:1}),s(a,{align:"left",label:"操作",width:"160"},{default:f((function(t){return[s(o,{icon:"download",type:"primary",link:"",onClick:function(e){var n;(n=t.row).url.indexOf("http://")>-1||n.url.indexOf("https://")>-1?S(n.url,n.name):S(r.value+"/"+n.url,n.name)}},{default:f((function(){return e[4]||(e[4]=[p("下载")])})),_:2},1032,["onClick"]),s(o,{icon:"delete",type:"primary",link:"",onClick:function(e){return J(t.row)}},{default:f((function(){return e[5]||(e[5]=[p("删除")])})),_:2},1032,["onClick"])]})),_:1})]})),_:1},8,["data"]),l("div",z,[s(b,{"current-page":I.value,"page-size":V.value,"page-sizes":[10,30,50,100],style:{float:"right",padding:"20px"},total:F.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:R,onSizeChange:q},null,8,["current-page","page-size","total"])])])])),[[j,t.fullscreenLoading,void 0,{fullscreen:!0,lock:!0}]])}}});e("default",k(G,[["__scopeId","data-v-1ec4b466"]]))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload-legacy2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload-legacy2.js new file mode 100644 index 000000000..9a4c88034 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload-legacy2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register([],(function(e,l){"use strict";return{execute:function(){var e=document.createElement("style");e.textContent='@charset "UTF-8";.el-upload{--el-upload-dragger-padding-horizontal: 40px;--el-upload-dragger-padding-vertical: 10px;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{border-color:var(--el-border-color-darker);color:inherit}.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:var(--el-text-color-regular);margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.el-upload--picture-card{--el-upload-picture-card-size: 148px;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;display:inline-flex;justify-content:center;align-items:center}.el-upload--picture-card>i{font-size:28px;color:var(--el-text-color-secondary)}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{padding:var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{font-size:67px;color:var(--el-text-color-placeholder);margin-bottom:16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{padding:calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px);background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:var(--el-text-color-regular);margin-bottom:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{display:none;position:absolute;right:5px;top:50%;cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{display:none;position:absolute;top:1px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:var(--el-color-primary);font-style:normal}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;justify-content:center;flex-direction:column;width:calc(100% - 30px);margin-left:4px}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:hover,.el-upload-list__item.is-success .el-upload-list__item-name:focus{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:not(.focusing):focus,.el-upload-list__item.is-success:active{outline-width:0}.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip,.el-upload-list__item.is-success:active .el-icon--close-tip{display:none}.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{color:var(--el-text-color-regular);display:inline-flex;text-align:center;align-items:center;padding:0 4px;transition:color var(--el-transition-duration);font-size:var(--el-font-size-base)}.el-upload-list__item-name .el-icon{margin-right:6px;color:var(--el-text-color-secondary)}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none;height:100%;justify-content:center;align-items:center;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:var(--el-text-color-regular);display:none}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size: 148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;padding:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%;object-fit:contain}.el-upload-list--picture-card .el-upload-list__item-status-label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;display:inline-flex;justify-content:center;align-items:center;color:#fff;opacity:0;font-size:20px;background-color:var(--el-overlay-color-lighter);transition:opacity var(--el-transition-duration)}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px;display:flex;align-items:center}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:inline-flex}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;object-fit:contain;position:relative;z-index:1;background-color:var(--el-color-white)}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:var(--el-overlay-color-light);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:var(--el-text-color-primary)}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}\n',document.head.appendChild(e)}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload.css new file mode 100644 index 000000000..663ae545f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +.name[data-v-1ec4b466]{cursor:pointer} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload.js new file mode 100644 index 000000000..9e13eace4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{a as e,S as a,o as t,c as o,b as i,e as l,w as s,g as n,t as r,D as p,T as m,j as u,k as c,E as d,V as B}from"./087AC4D233B64EB0index.js";/* empty css *//* empty css */import"./087AC4D233B64EB0tag.js";import"./087AC4D233B64EB0select.js";import"./087AC4D233B64EB0scrollbar.js";/* empty css */import{E as g,a as C}from"./087AC4D233B64EB0table-column.js";import"./087AC4D233B64EB0checkbox.js";/* empty css *//* empty css *//* empty css */import{g as v,b as E,e as f}from"./087AC4D233B64EB0image.vue_vue_type_style_index_0_scoped_4d6462c8_lang.js";import{C as j}from"./087AC4D233B64EB0index24.js";import{_ as A,U as D}from"./087AC4D233B64EB0common.js";import{f as w}from"./087AC4D233B64EB0format.js";import{_ as h}from"./087AC4D233B64EB0warningBar.js";import{_ as y}from"./087AC4D233B64EB0_plugin-vue_export-helper.js";import{E as _}from"./087AC4D233B64EB0index22.js";import{E as x}from"./087AC4D233B64EB0index25.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0isEqual.js";import"./087AC4D233B64EB0index20.js";import"./087AC4D233B64EB0index21.js";import"./087AC4D233B64EB0token.js";import"./087AC4D233B64EB0strings.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0debounce.js";import"./087AC4D233B64EB0_initCloneObject.js";import"./087AC4D233B64EB0image-viewer.js";/* empty css *//* empty css */import"./087AC4D233B64EB0image.js";import"./087AC4D233B64EB0index26.js";import"./087AC4D233B64EB0index27.js";import"./087AC4D233B64EB0cloneDeep.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0date.js";const b=(e,a)=>{var t=new Image;t.setAttribute("crossOrigin","anonymous"),t.onload=function(){var e=document.createElement("canvas");e.width=t.width,e.height=t.height,e.getContext("2d").drawImage(t,0,0,t.width,t.height);var o=e.toDataURL("image/png"),i=document.createElement("a"),l=new MouseEvent("click");i.download=a||"photo",i.href=o,i.dispatchEvent(l)},t.src=e},k={class:"gva-table-box"},U={class:"gva-btn-list"},z=["onClick"],O={class:"gva-pagination"},S=y(Object.assign({name:"Upload"},{__name:"upload",setup(y){const S=e("/api"),T=e(""),V=e(""),I=e(1),L=e(0),M=e(10),q=e({}),P=e([]),R=e=>{M.value=e,G()},F=e=>{I.value=e,G()},G=async()=>{const e=await v({page:I.value,pageSize:M.value,...q.value});0===e.code&&(P.value=e.data.list,L.value=e.data.total,I.value=e.data.page,M.value=e.data.pageSize)};G();return(e,v)=>{const y=c,H=d,J=g,K=_,N=C,Q=x,W=B;return a((t(),o("div",null,[i("div",k,[l(h,{title:"点击“文件名/备注”可以编辑文件名或者备注内容。"}),i("div",U,[l(A,{imageCommon:V.value,"onUpdate:imageCommon":v[0]||(v[0]=e=>V.value=e),onOnSuccess:G},null,8,["imageCommon"]),l(D,{imageUrl:T.value,"onUpdate:imageUrl":v[1]||(v[1]=e=>T.value=e),"file-size":512,"max-w-h":1080,onOnSuccess:G},null,8,["imageUrl"]),l(y,{modelValue:q.value.keyword,"onUpdate:modelValue":v[2]||(v[2]=e=>q.value.keyword=e),class:"keyword",placeholder:"请输入文件名或备注"},null,8,["modelValue"]),l(H,{type:"primary",icon:"search",onClick:G},{default:s((()=>v[3]||(v[3]=[n("查询")]))),_:1})]),l(N,{data:P.value},{default:s((()=>[l(J,{align:"left",label:"预览",width:"100"},{default:s((e=>[l(j,{"pic-type":"file","pic-src":e.row.faker,preview:""},null,8,["pic-src"])])),_:1}),l(J,{align:"left",label:"日期",prop:"UpdatedAt",width:"180"},{default:s((e=>[i("div",null,r(p(w)(e.row.UpdatedAt)),1)])),_:1}),l(J,{align:"left",label:"文件名/备注",prop:"name",width:"180"},{default:s((e=>[i("div",{class:"name",onClick:a=>(async e=>{m.prompt("请输入文件名或者备注","编辑",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"不能为空",inputValue:e.name}).then((async({value:a})=>{e.name=a,0===(await f(e)).code&&(u({type:"success",message:"编辑成功!"}),G())})).catch((()=>{u({type:"info",message:"取消修改"})}))})(e.row)},r(e.row.name),9,z)])),_:1}),l(J,{align:"left",label:"链接",prop:"url","min-width":"300"}),l(J,{align:"left",label:"标签",prop:"tag",width:"100"},{default:s((e=>[l(K,{type:"jpg"===e.row.tag?"primary":"success","disable-transitions":""},{default:s((()=>[n(r(e.row.tag),1)])),_:2},1032,["type"])])),_:1}),l(J,{align:"left",label:"操作",width:"160"},{default:s((e=>[l(H,{icon:"download",type:"primary",link:"",onClick:a=>{var t;(t=e.row).url.indexOf("http://")>-1||t.url.indexOf("https://")>-1?b(t.url,t.name):b(S.value+"/"+t.url,t.name)}},{default:s((()=>v[4]||(v[4]=[n("下载")]))),_:2},1032,["onClick"]),l(H,{icon:"delete",type:"primary",link:"",onClick:a=>(async e=>{m.confirm("此操作将永久删除文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{0===(await E(e)).code&&(u({type:"success",message:"删除成功!"}),1===P.value.length&&I.value>1&&I.value--,G())})).catch((()=>{u({type:"info",message:"已取消删除"})}))})(e.row)},{default:s((()=>v[5]||(v[5]=[n("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"]),i("div",O,[l(Q,{"current-page":I.value,"page-size":M.value,"page-sizes":[10,30,50,100],style:{float:"right",padding:"20px"},total:L.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:F,onSizeChange:R},null,8,["current-page","page-size","total"])])])])),[[W,e.fullscreenLoading,void 0,{fullscreen:!0,lock:!0}]])}}}),[["__scopeId","data-v-1ec4b466"]]);export{S as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload2.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload2.css new file mode 100644 index 000000000..7cd791837 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0upload2.css @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +@charset "UTF-8";.el-upload{--el-upload-dragger-padding-horizontal: 40px;--el-upload-dragger-padding-vertical: 10px;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{border-color:var(--el-border-color-darker);color:inherit}.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:var(--el-text-color-regular);margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.el-upload--picture-card{--el-upload-picture-card-size: 148px;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;display:inline-flex;justify-content:center;align-items:center}.el-upload--picture-card>i{font-size:28px;color:var(--el-text-color-secondary)}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{padding:var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{font-size:67px;color:var(--el-text-color-placeholder);margin-bottom:16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{padding:calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px);background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:var(--el-text-color-regular);margin-bottom:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{display:none;position:absolute;right:5px;top:50%;cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{display:none;position:absolute;top:1px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:var(--el-color-primary);font-style:normal}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;justify-content:center;flex-direction:column;width:calc(100% - 30px);margin-left:4px}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:hover,.el-upload-list__item.is-success .el-upload-list__item-name:focus{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:not(.focusing):focus,.el-upload-list__item.is-success:active{outline-width:0}.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip,.el-upload-list__item.is-success:active .el-icon--close-tip{display:none}.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{color:var(--el-text-color-regular);display:inline-flex;text-align:center;align-items:center;padding:0 4px;transition:color var(--el-transition-duration);font-size:var(--el-font-size-base)}.el-upload-list__item-name .el-icon{margin-right:6px;color:var(--el-text-color-secondary)}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none;height:100%;justify-content:center;align-items:center;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:var(--el-text-color-regular);display:none}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size: 148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;padding:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%;object-fit:contain}.el-upload-list--picture-card .el-upload-list__item-status-label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;display:inline-flex;justify-content:center;align-items:center;color:#fff;opacity:0;font-size:20px;background-color:var(--el-overlay-color-lighter);transition:opacity var(--el-transition-duration)}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px;display:flex;align-items:center}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:inline-flex}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;object-fit:contain;position:relative;z-index:1;background-color:var(--el-color-white)}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:var(--el-overlay-color-light);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:var(--el-text-color-primary)}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0user-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0user-legacy.js new file mode 100644 index 000000000..69190aadd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0user-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;I(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t{j.value=e,N()},k=e=>{E.value=e,N()},V=f,x=e(!1),U=e([]),N=async()=>{const e=await q({page:E.value,pageSize:j.value,...w.value});0===e.code&&(U.value=e.data.list,D.value=e.data.total,E.value=e.data.page,j.value=e.data.pageSize,x.value=!0)};return B({open:N}),(e,B)=>{const f=v,z=I,S=g,q=A,Z=h,G=O,W=R,Y=$;return a(),l(Y,{modelValue:x.value,"onUpdate:modelValue":B[3]||(B[3]=e=>x.value=e),title:"媒体库",size:"650px"},{default:t((()=>[i(P,{title:"点击“文件名/备注”可以编辑文件名或者备注内容。"}),o("div",H,[i(F,{imageCommon:b.value,"onUpdate:imageCommon":B[0]||(B[0]=e=>b.value=e),class:"upload-btn-media-library",onOnSuccess:N},null,8,["imageCommon"]),i(K,{imageUrl:C.value,"onUpdate:imageUrl":B[1]||(B[1]=e=>C.value=e),"file-size":512,"max-w-h":1080,class:"upload-btn-media-library",onOnSuccess:N},null,8,["imageUrl"]),i(q,{ref:"searchForm",inline:!0,model:w.value},{default:t((()=>[i(z,{label:""},{default:t((()=>[i(f,{modelValue:w.value.keyword,"onUpdate:modelValue":B[2]||(B[2]=e=>w.value.keyword=e),class:"keyword",placeholder:"请输入文件名或备注"},null,8,["modelValue"])])),_:1}),i(z,null,{default:t((()=>[i(S,{type:"primary",icon:"search",onClick:N},{default:t((()=>B[4]||(B[4]=[r("查询")]))),_:1})])),_:1})])),_:1},8,["model"])]),o("div",L,[(a(!0),s(u,null,n(U.value,((e,r)=>(a(),s("div",{key:r,class:"media-box"},[o("div",M,[(a(),l(G,{key:r,src:d(T)(e.url),onClick:a=>{return l=e.url,t=y.target,i=y.targetKey,t&&i&&(t[i]=l),V("enterImg",l),void(x.value=!1);var l,t,i}},{error:t((()=>[o("div",Q,[i(Z,null,{default:t((()=>B[5]||(B[5]=[o("picture",null,null,-1)]))),_:1})])])),_:2},1032,["src","onClick"]))]),o("div",{class:"img-title",onClick:a=>(async e=>{p.prompt("请输入文件名或者备注","编辑",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"不能为空",inputValue:e.name}).then((async({value:a})=>{e.name=a,0===(await J(e)).code&&(c({type:"success",message:"编辑成功!"}),N())})).catch((()=>{c({type:"info",message:"取消修改"})}))})(e)},m(e.name),9,X)])))),128))]),i(W,{"current-page":E.value,"page-size":j.value,total:D.value,style:{"justify-content":"center"},layout:"total, prev, pager, next, jumper",onCurrentChange:k,onSizeChange:_},null,8,["current-page","page-size","total"])])),_:1},8,["modelValue"])}}},G={class:"gva-table-box"},W={class:"gva-btn-list"},Y={style:{"text-align":"right","margin-top":"8px"}},ee={class:"gva-pagination"},ae={style:{height:"60vh",overflow:"auto",padding:"0 12px"}},le=["src"],te={key:1,class:"header-img-box"},ie={class:"dialog-footer"},oe=Object.assign({name:"User"},{__name:"user",setup(u){const n=e("/api/"),d=(e,a)=>{e&&e.forEach((e=>{if(e.children&&e.children.length){const l={authorityId:e.authorityId,authorityName:e.authorityName,children:[]};d(e.children,l.children),a.push(l)}else{const l={authorityId:e.authorityId,authorityName:e.authorityName};a.push(l)}}))},m=e(1),h=e(0),O=e(10),T=e([]),q=e=>{O.value=e,F()},J=e=>{m.value=e,F()},F=async()=>{const e=await f({page:m.value,pageSize:O.value});0===e.code&&(T.value=e.data.list,h.value=e.data.total,m.value=e.data.page,O.value=e.data.pageSize)};y((()=>T.value),(()=>{K()}));(async()=>{F();const e=await z({page:1,pageSize:999});M(e.data.list)})();const K=()=>{T.value&&T.value.forEach((e=>{e.authorityIds=e.authorities&&e.authorities.map((e=>e.authorityId))}))},$=e(null),H=()=>{$.value.open()},L=e([]),M=e=>{L.value=[],d(e,L.value)},Q=e({username:"",password:"",nickName:"",headerImg:"",authorityId:"",authorityIds:[],enable:1}),X=e({userName:[{required:!0,message:"请输入用户名",trigger:"blur"},{min:5,message:"最低5位字符",trigger:"blur"}],password:[{required:!0,message:"请输入用户密码",trigger:"blur"},{min:6,message:"最低6位字符",trigger:"blur"}],nickName:[{required:!0,message:"请输入用户昵称",trigger:"blur"}],phone:[{pattern:/^1([38][0-9]|4[014-9]|[59][0-35-9]|6[2567]|7[0-8])\d{8}$/,message:"请输入合法手机号",trigger:"blur"}],email:[{pattern:/^([0-9A-Za-z\-_.]+)@([0-9a-z]+\.[a-z]{2,3}(\.[a-z]{2})?)$/g,message:"请输入正确的邮箱",trigger:"blur"}],authorityId:[{required:!0,message:"请选择用户角色",trigger:"blur"}]}),oe=e(null),re=async()=>{Q.value.authorityId=Q.value.authorityIds[0],oe.value.validate((async e=>{if(e){const e={...Q.value};if("add"===ne.value){0===(await w(e)).code&&(c({type:"success",message:"创建成功"}),await F(),ue())}if("edit"===ne.value){0===(await E(e)).code&&(c({type:"success",message:"编辑成功"}),await F(),ue())}}}))},se=e(!1),ue=()=>{oe.value.resetFields(),Q.value.headerImg="",Q.value.authorityIds=[],se.value=!1},ne=e("add"),de=()=>{ne.value="add",se.value=!0},me={},pe=async(e,a,l)=>{if(a)return void(l||(me[e.ID]=[...e.authorityIds]));await D();0===(await j({ID:e.ID,authorityIds:e.authorityIds})).code?c({type:"success",message:"角色设置成功"}):l?e.authorityIds=[l,...e.authorityIds]:(e.authorityIds=[...me[e.ID]],delete me[e.ID])};return(e,u)=>{const d=g,y=k,f=N,w=U,j=x,z=V,K=R,M=v,me=I,ce=A,ve=_;return a(),s("div",null,[i(P,{title:"注:右上角头像下拉可切换角色"}),o("div",G,[o("div",W,[i(d,{type:"primary",icon:"plus",onClick:de},{default:t((()=>u[8]||(u[8]=[r("新增用户")]))),_:1})]),i(z,{data:T.value,"row-key":"ID"},{default:t((()=>[i(y,{align:"left",label:"头像","min-width":"75"},{default:t((e=>[i(S,{style:{"margin-top":"8px"},"pic-src":e.row.headerImg},null,8,["pic-src"])])),_:1}),i(y,{align:"left",label:"ID","min-width":"50",prop:"ID"}),i(y,{align:"left",label:"用户名","min-width":"150",prop:"userName"}),i(y,{align:"left",label:"昵称","min-width":"150",prop:"nickName"}),i(y,{align:"left",label:"手机号","min-width":"180",prop:"phone"}),i(y,{align:"left",label:"邮箱","min-width":"180",prop:"email"}),i(y,{align:"left",label:"用户角色","min-width":"200"},{default:t((e=>[i(f,{modelValue:e.row.authorityIds,"onUpdate:modelValue":a=>e.row.authorityIds=a,options:L.value,"show-all-levels":!1,"collapse-tags":"",props:{multiple:!0,checkStrictly:!0,label:"authorityName",value:"authorityId",disabled:"disabled",emitPath:!1},clearable:!1,onVisibleChange:a=>{pe(e.row,a,0)},onRemoveTag:a=>{pe(e.row,!1,a)}},null,8,["modelValue","onUpdate:modelValue","options","onVisibleChange","onRemoveTag"])])),_:1}),i(y,{align:"left",label:"启用","min-width":"150"},{default:t((e=>[i(w,{modelValue:e.row.enable,"onUpdate:modelValue":a=>e.row.enable=a,"inline-prompt":"","active-value":1,"inactive-value":2,onChange:()=>{(async e=>{Q.value=JSON.parse(JSON.stringify(e)),await D();const a={...Q.value};0===(await E(a)).code&&(c({type:"success",message:"".concat(2===a.enable?"禁用":"启用","成功")}),await F(),Q.value.headerImg="",Q.value.authorityIds=[])})(e.row)}},null,8,["modelValue","onUpdate:modelValue","onChange"])])),_:1}),i(y,{label:"操作","min-width":"250",fixed:"right"},{default:t((e=>[i(j,{modelValue:e.row.visible,"onUpdate:modelValue":a=>e.row.visible=a,placement:"top",width:"160"},{reference:t((()=>[i(d,{type:"primary",link:"",icon:"delete"},{default:t((()=>u[11]||(u[11]=[r("删除")]))),_:1})])),default:t((()=>[u[12]||(u[12]=o("p",null,"确定要删除此用户吗",-1)),o("div",Y,[i(d,{type:"primary",link:"",onClick:a=>e.row.visible=!1},{default:t((()=>u[9]||(u[9]=[r("取消")]))),_:2},1032,["onClick"]),i(d,{type:"primary",onClick:a=>(async e=>{0===(await b({id:e.ID})).code&&(c.success("删除成功"),e.visible=!1,await F())})(e.row)},{default:t((()=>u[10]||(u[10]=[r("确定")]))),_:2},1032,["onClick"])])])),_:2},1032,["modelValue","onUpdate:modelValue"]),i(d,{type:"primary",link:"",icon:"edit",onClick:a=>{return l=e.row,ne.value="edit",Q.value=JSON.parse(JSON.stringify(l)),void(se.value=!0);var l}},{default:t((()=>u[13]||(u[13]=[r("编辑")]))),_:2},1032,["onClick"]),i(d,{type:"primary",link:"",icon:"magic-stick",onClick:a=>{return l=e.row,void p.confirm("是否将此用户密码重置为123456?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{const e=await C({ID:l.ID});0===e.code?c({type:"success",message:e.msg}):c({type:"error",message:e.msg})}));var l}},{default:t((()=>u[14]||(u[14]=[r("重置密码")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"]),o("div",ee,[i(K,{"current-page":m.value,"page-size":O.value,"page-sizes":[10,30,50,100],total:h.value,layout:"total, sizes, prev, pager, next, jumper",onCurrentChange:J,onSizeChange:q},null,8,["current-page","page-size","total"])])]),i(ve,{modelValue:se.value,"onUpdate:modelValue":u[7]||(u[7]=e=>se.value=e),title:"用户","show-close":!1,"close-on-press-escape":!1,"close-on-click-modal":!1},{footer:t((()=>[o("div",ie,[i(d,{onClick:ue},{default:t((()=>u[15]||(u[15]=[r("取 消")]))),_:1}),i(d,{type:"primary",onClick:re},{default:t((()=>u[16]||(u[16]=[r("确 定")]))),_:1})])])),default:t((()=>[o("div",ae,[i(ce,{ref_key:"userForm",ref:oe,rules:X.value,model:Q.value,"label-width":"80px"},{default:t((()=>["add"===ne.value?(a(),l(me,{key:0,label:"用户名",prop:"userName"},{default:t((()=>[i(M,{modelValue:Q.value.userName,"onUpdate:modelValue":u[0]||(u[0]=e=>Q.value.userName=e)},null,8,["modelValue"])])),_:1})):B("",!0),"add"===ne.value?(a(),l(me,{key:1,label:"密码",prop:"password"},{default:t((()=>[i(M,{modelValue:Q.value.password,"onUpdate:modelValue":u[1]||(u[1]=e=>Q.value.password=e)},null,8,["modelValue"])])),_:1})):B("",!0),i(me,{label:"昵称",prop:"nickName"},{default:t((()=>[i(M,{modelValue:Q.value.nickName,"onUpdate:modelValue":u[2]||(u[2]=e=>Q.value.nickName=e)},null,8,["modelValue"])])),_:1}),i(me,{label:"手机号",prop:"phone"},{default:t((()=>[i(M,{modelValue:Q.value.phone,"onUpdate:modelValue":u[3]||(u[3]=e=>Q.value.phone=e)},null,8,["modelValue"])])),_:1}),i(me,{label:"邮箱",prop:"email"},{default:t((()=>[i(M,{modelValue:Q.value.email,"onUpdate:modelValue":u[4]||(u[4]=e=>Q.value.email=e)},null,8,["modelValue"])])),_:1}),i(me,{label:"用户角色",prop:"authorityId"},{default:t((()=>[i(f,{modelValue:Q.value.authorityIds,"onUpdate:modelValue":u[5]||(u[5]=e=>Q.value.authorityIds=e),style:{width:"100%"},options:L.value,"show-all-levels":!1,props:{multiple:!0,checkStrictly:!0,label:"authorityName",value:"authorityId",disabled:"disabled",emitPath:!1},clearable:!1},null,8,["modelValue","options"])])),_:1}),i(me,{label:"启用",prop:"disabled"},{default:t((()=>[i(w,{modelValue:Q.value.enable,"onUpdate:modelValue":u[6]||(u[6]=e=>Q.value.enable=e),"inline-prompt":"","active-value":1,"inactive-value":2},null,8,["modelValue"])])),_:1}),i(me,{label:"头像","label-width":"80px"},{default:t((()=>[o("div",{style:{display:"inline-block"},onClick:H},[Q.value.headerImg?(a(),s("img",{key:0,alt:"头像",class:"header-img-box",src:Q.value.headerImg&&"http"!==Q.value.headerImg.slice(0,4)?n.value+Q.value.headerImg:Q.value.headerImg},null,8,le)):(a(),s("div",te,"从媒体库选择"))])])),_:1})])),_:1},8,["rules","model"])])])),_:1},8,["modelValue"]),i(Z,{ref_key:"chooseImg",ref:$,target:Q.value,"target-key":"headerImg"},null,8,["target"])])}}});export{oe as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlock-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlock-legacy.js new file mode 100644 index 000000000..f573a27f6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlock-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r=0;--o){var u=this.tryEntries[o],l=u.completion;if("root"===u.tryLoc)return r("end");if(u.tryLoc<=this.prev){var i=a.call(u,"catchLoc"),c=a.call(u,"finallyLoc");if(i&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;O(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function a(e,t,n,r,a,o,u){try{var l=e[o](u),i=l.value}catch(e){return void n(e)}l.done?t(i):Promise.resolve(i).then(r,a)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var u=e.apply(t,n);function l(e){a(u,r,o,l,i,"next",e)}function i(e){a(u,r,o,l,i,"throw",e)}l(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0date-picker-legacy.js","./087AC4D233B64EB0dialog-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0input-number-legacy.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popover-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0userBlock-legacy2.js","./087AC4D233B64EB0format-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy25.js","./087AC4D233B64EB0arrays-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0dropdown-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0date-legacy.js"],(function(e,n){"use strict";var a,u,l,i,c,s,f,d,p,v,h,y,m,g,b,w,B,C,E,x,j,k,_,A,D,O,V,L,P,T,S,U,I,N,F,G,z;return{setters:[function(e){a=e.a,u=e.r,l=e.N,i=e.o,c=e.c,s=e.b,f=e.e,d=e.w,p=e.g,v=e.m,h=e.t,y=e.D,m=e.T,g=e.j,b=e.H,w=e.E,B=e.k},function(e){C=e.E,E=e.a,x=e.b},function(e){j=e.E},null,function(e){k=e.E},null,function(e){_=e.E},null,null,null,null,function(e){A=e.E,D=e.a},null,null,function(e){O=e.E},function(e){V=e.a,L=e.E},null,function(e){P=e.g,T=e.d,S=e.f,U=e.a,I=e.c,N=e.u},function(e){F=e.f},function(e){G=e.a},function(e){z=e.E},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n={class:"gva-search-box"},R={class:"gva-table-box"},Y={class:"gva-btn-list"},q={style:{"text-align":"right","margin-top":"8px"}},H={class:"gva-pagination"},K={class:"dialog-footer"};e("default",Object.assign({name:"UserBlock"},{__name:"userBlock",setup:function(e){var M=a({name:"",biaoshi:"",money:0,workid:0,password:"",email:""}),Q=u({}),J=u({createdAt:[{validator:function(e,t,n){ne.value.startCreatedAt&&!ne.value.endCreatedAt?n(new Error("请填写结束日期")):!ne.value.startCreatedAt&&ne.value.endCreatedAt?n(new Error("请填写开始日期")):ne.value.startCreatedAt&&ne.value.endCreatedAt&&(ne.value.startCreatedAt.getTime()===ne.value.endCreatedAt.getTime()||ne.value.startCreatedAt.getTime()>ne.value.endCreatedAt.getTime())?n(new Error("开始日期应当早于结束日期")):n()},trigger:"change"}]}),W=a(),X=a(),Z=a(1),$=a(0),ee=a(10),te=a([]),ne=a({}),re=function(){ne.value={},le()},ae=function(){var e;null===(e=X.value)||void 0===e||e.validate(function(){var e=o(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:Z.value=1,ee.value=10,le();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},oe=function(e){ee.value=e,le()},ue=function(e){Z.value=e,le()},le=function(){var e=o(r().mark((function e(){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(t({page:Z.value,pageSize:ee.value},ne.value));case 2:0===(n=e.sent).code&&(te.value=n.data.list,$.value=n.data.total,Z.value=n.data.page,ee.value=n.data.pageSize);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();le();var ie=function(){var e=o(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();ie();var ce=a([]),se=function(e){ce.value=e},fe=a(!1),de=function(){var e=o(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],0!==ce.value.length){e.next=4;break}return g({type:"warning",message:"请选择要删除的数据"}),e.abrupt("return");case 4:return ce.value&&ce.value.map((function(e){t.push(e.ID)})),e.next=7,T({ids:t});case 7:0===e.sent.code&&(g({type:"success",message:"删除成功"}),te.value.length===t.length&&Z.value>1&&Z.value--,fe.value=!1,le());case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),pe=a(""),ve=function(){var e=o(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({ID:t.ID});case 2:n=e.sent,pe.value="update",0===n.code&&(M.value=n.data.reblockuser,ye.value=!0);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),he=function(){var e=o(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U({ID:t.ID});case 2:0===e.sent.code&&(g({type:"success",message:"删除成功"}),1===te.value.length&&Z.value>1&&Z.value--,le());case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ye=a(!1),me=a(!1),ge=function(){var e=o(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({ID:t.ID});case 2:0===(n=e.sent).code&&(M.value=n.data.reblockuser,me.value=!0);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),be=function(){me.value=!1,M.value={name:"",biaoshi:"",money:0,workid:0,password:"",email:""}},we=function(){pe.value="create",ye.value=!0},Be=function(){ye.value=!1,M.value={name:"",biaoshi:"",money:0,workid:0,password:"",email:""}},Ce=function(){var e=o(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null===(t=W.value)||void 0===t||t.validate(function(){var e=o(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:e.t0=pe.value,e.next="create"===e.t0?5:"update"===e.t0?9:13;break;case 5:return e.next=7,I(M.value);case 7:return n=e.sent,e.abrupt("break",17);case 9:return e.next=11,N(M.value);case 11:return n=e.sent,e.abrupt("break",17);case 13:return e.next=15,I(M.value);case 15:return n=e.sent,e.abrupt("break",17);case 17:0===n.code&&(g({type:"success",message:"创建/更改成功"}),Be(),le());case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return function(e,t){var r=l("QuestionFilled"),a=b,o=G,u=C,g=V,P=w,T=L,S=O,U=A,I=l("InfoFilled"),N=D,le=z,ie=B,Ee=_,xe=k,je=j,ke=E,_e=x;return i(),c("div",null,[s("div",n,[f(T,{ref_key:"elSearchFormRef",ref:X,inline:!0,model:ne.value,class:"demo-form-inline",rules:J,onKeyup:v(ae,["enter"])},{default:d((function(){return[f(g,{label:"创建日期",prop:"createdAt"},{label:d((function(){return[s("span",null,[t[13]||(t[13]=p(" 创建日期 ")),f(o,{content:"搜索范围是开始日期(包含)至结束日期(不包含)"},{default:d((function(){return[f(a,null,{default:d((function(){return[f(r)]})),_:1})]})),_:1})])]})),default:d((function(){return[f(u,{modelValue:ne.value.startCreatedAt,"onUpdate:modelValue":t[0]||(t[0]=function(e){return ne.value.startCreatedAt=e}),type:"datetime",placeholder:"开始日期","disabled-date":function(e){return!!ne.value.endCreatedAt&&e.getTime()>ne.value.endCreatedAt.getTime()}},null,8,["modelValue","disabled-date"]),t[14]||(t[14]=p(" — ")),f(u,{modelValue:ne.value.endCreatedAt,"onUpdate:modelValue":t[1]||(t[1]=function(e){return ne.value.endCreatedAt=e}),type:"datetime",placeholder:"结束日期","disabled-date":function(e){return!!ne.value.startCreatedAt&&e.getTime(){$.value.startCreatedAt&&!$.value.endCreatedAt?l(new Error("请填写结束日期")):!$.value.startCreatedAt&&$.value.endCreatedAt?l(new Error("请填写开始日期")):$.value.startCreatedAt&&$.value.endCreatedAt&&($.value.startCreatedAt.getTime()===$.value.endCreatedAt.getTime()||$.value.startCreatedAt.getTime()>$.value.endCreatedAt.getTime())?l(new Error("开始日期应当早于结束日期")):l()},trigger:"change"}]}),L=e(),P=e(),W=e(1),X=e(0),Y=e(10),Z=e([]),$=e({}),ee=()=>{$.value={},oe()},ae=()=>{var e;null==(e=P.value)||e.validate((async e=>{e&&(W.value=1,Y.value=10,oe())}))},le=e=>{Y.value=e,oe()},te=e=>{W.value=e,oe()},oe=async()=>{const e=await j({page:W.value,pageSize:Y.value,...$.value});0===e.code&&(Z.value=e.data.list,X.value=e.data.total,W.value=e.data.page,Y.value=e.data.pageSize)};oe();(async()=>{})();const re=e([]),ie=e=>{re.value=e},de=e(!1),se=async()=>{const e=[];if(0===re.value.length)return void c({type:"warning",message:"请选择要删除的数据"});re.value&&re.value.map((a=>{e.push(a.ID)}));0===(await V({ids:e})).code&&(c({type:"success",message:"删除成功"}),Z.value.length===e.length&&W.value>1&&W.value--,de.value=!1,oe())},ue=e(""),ne=async e=>{0===(await U({ID:e.ID})).code&&(c({type:"success",message:"删除成功"}),1===Z.value.length&&W.value>1&&W.value--,oe())},pe=e(!1),me=e(!1),ce=async e=>{const a=await x({ID:e.ID});0===a.code&&(Q.value=a.data.reblockuser,me.value=!0)},ve=()=>{me.value=!1,Q.value={name:"",biaoshi:"",money:0,workid:0,password:"",email:""}},fe=()=>{ue.value="create",pe.value=!0},be=()=>{pe.value=!1,Q.value={name:"",biaoshi:"",money:0,workid:0,password:"",email:""}},Be=async()=>{var e;null==(e=L.value)||e.validate((async e=>{if(!e)return;let a;switch(ue.value){case"create":default:a=await T(Q.value);break;case"update":a=await I(Q.value)}0===a.code&&(c({type:"success",message:"创建/更改成功"}),be(),oe())}))};return(e,a)=>{const c=l("QuestionFilled"),j=v,V=S,U=B,T=D,I=f,N=k,oe=_,Ce=w,ge=l("InfoFilled"),ye=E,Ae=F,he=b,we=h,Ee=A,_e=y,De=C,ke=g;return t(),o("div",null,[r("div",O,[i(N,{ref_key:"elSearchFormRef",ref:P,inline:!0,model:$.value,class:"demo-form-inline",rules:J,onKeyup:u(ae,["enter"])},{default:d((()=>[i(T,{label:"创建日期",prop:"createdAt"},{label:d((()=>[r("span",null,[a[13]||(a[13]=s(" 创建日期 ")),i(V,{content:"搜索范围是开始日期(包含)至结束日期(不包含)"},{default:d((()=>[i(j,null,{default:d((()=>[i(c)])),_:1})])),_:1})])])),default:d((()=>[i(U,{modelValue:$.value.startCreatedAt,"onUpdate:modelValue":a[0]||(a[0]=e=>$.value.startCreatedAt=e),type:"datetime",placeholder:"开始日期","disabled-date":e=>!!$.value.endCreatedAt&&e.getTime()>$.value.endCreatedAt.getTime()},null,8,["modelValue","disabled-date"]),a[14]||(a[14]=s(" — ")),i(U,{modelValue:$.value.endCreatedAt,"onUpdate:modelValue":a[1]||(a[1]=e=>$.value.endCreatedAt=e),type:"datetime",placeholder:"结束日期","disabled-date":e=>!!$.value.startCreatedAt&&e.getTime()<$.value.startCreatedAt.getTime()},null,8,["modelValue","disabled-date"])])),_:1}),i(T,null,{default:d((()=>[i(I,{type:"primary",icon:"search",onClick:ae},{default:d((()=>a[15]||(a[15]=[s("查询")]))),_:1}),i(I,{icon:"refresh",onClick:ee},{default:d((()=>a[16]||(a[16]=[s("重置")]))),_:1})])),_:1})])),_:1},8,["model","rules"])]),r("div",R,[r("div",q,[i(I,{type:"primary",icon:"plus",onClick:fe},{default:d((()=>a[17]||(a[17]=[s("新增")]))),_:1}),i(oe,{visible:de.value,"onUpdate:visible":a[4]||(a[4]=e=>de.value=e),disabled:!re.value.length,placement:"top",width:"160"},{reference:d((()=>[i(I,{icon:"delete",style:{"margin-left":"10px"},disabled:!re.value.length,onClick:a[3]||(a[3]=e=>de.value=!0)},{default:d((()=>a[20]||(a[20]=[s("删除")]))),_:1},8,["disabled"])])),default:d((()=>[a[21]||(a[21]=r("p",null,"确定要删除吗?",-1)),r("div",H,[i(I,{type:"primary",link:"",onClick:a[2]||(a[2]=e=>de.value=!1)},{default:d((()=>a[18]||(a[18]=[s("取消")]))),_:1}),i(I,{type:"primary",onClick:se},{default:d((()=>a[19]||(a[19]=[s("确定")]))),_:1})])])),_:1},8,["visible","disabled"])]),i(ye,{ref:"multipleTable",style:{width:"100%"},"tooltip-effect":"dark",data:Z.value,"row-key":"ID",onSelectionChange:ie},{default:d((()=>[i(Ce,{type:"selection",width:"55"}),i(Ce,{align:"left",label:"日期",width:"180"},{default:d((e=>[s(n(p(z)(e.row.CreatedAt)),1)])),_:1}),i(Ce,{align:"left",label:"用户名",prop:"name",width:"120"}),i(Ce,{align:"left",label:"用户标识",prop:"biaoshi",width:"120"}),i(Ce,{align:"left",label:"余额",prop:"money",width:"120"}),i(Ce,{align:"left",label:"作品序号",prop:"workid",width:"120"}),i(Ce,{align:"left",label:"密码",prop:"password",width:"120"}),i(Ce,{align:"left",label:"邮箱",prop:"email",width:"120"}),i(Ce,{align:"left",label:"操作","min-width":"120"},{default:d((e=>[i(I,{type:"primary",link:"",class:"table-button",onClick:a=>ce(e.row)},{default:d((()=>[i(j,{style:{"margin-right":"5px"}},{default:d((()=>[i(ge)])),_:1}),a[22]||(a[22]=s(" 查看详情 "))])),_:2},1032,["onClick"]),i(I,{type:"primary",link:"",icon:"edit",class:"table-button",onClick:a=>(async e=>{const a=await x({ID:e.ID});ue.value="update",0===a.code&&(Q.value=a.data.reblockuser,pe.value=!0)})(e.row)},{default:d((()=>a[23]||(a[23]=[s("变更")]))),_:2},1032,["onClick"]),i(I,{type:"primary",link:"",icon:"delete",onClick:a=>{return l=e.row,void m.confirm("确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{ne(l)}));var l}},{default:d((()=>a[24]||(a[24]=[s("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"]),r("div",K,[i(Ae,{layout:"total, sizes, prev, pager, next, jumper","current-page":W.value,"page-size":Y.value,"page-sizes":[10,30,50,100],total:X.value,onCurrentChange:te,onSizeChange:le},null,8,["current-page","page-size","total"])])]),i(_e,{modelValue:pe.value,"onUpdate:modelValue":a[11]||(a[11]=e=>pe.value=e),"before-close":be,title:"create"===ue.value?"添加":"修改","destroy-on-close":""},{footer:d((()=>[r("div",M,[i(I,{onClick:be},{default:d((()=>a[25]||(a[25]=[s("取 消")]))),_:1}),i(I,{type:"primary",onClick:Be},{default:d((()=>a[26]||(a[26]=[s("确 定")]))),_:1})])])),default:d((()=>[i(Ee,{height:"500px"},{default:d((()=>[i(N,{model:Q.value,"label-position":"right",ref_key:"elFormRef",ref:L,rules:G,"label-width":"80px"},{default:d((()=>[i(T,{label:"用户名:",prop:"name"},{default:d((()=>[i(he,{modelValue:Q.value.name,"onUpdate:modelValue":a[5]||(a[5]=e=>Q.value.name=e),clearable:!0,placeholder:"请输入用户名"},null,8,["modelValue"])])),_:1}),i(T,{label:"用户标识:",prop:"biaoshi"},{default:d((()=>[i(he,{modelValue:Q.value.biaoshi,"onUpdate:modelValue":a[6]||(a[6]=e=>Q.value.biaoshi=e),clearable:!0,placeholder:"请输入用户标识"},null,8,["modelValue"])])),_:1}),i(T,{label:"余额:",prop:"money"},{default:d((()=>[i(we,{modelValue:Q.value.money,"onUpdate:modelValue":a[7]||(a[7]=e=>Q.value.money=e),style:{width:"100%"},precision:2,clearable:!0},null,8,["modelValue"])])),_:1}),i(T,{label:"作品序号:",prop:"workid"},{default:d((()=>[i(he,{modelValue:Q.value.workid,"onUpdate:modelValue":a[8]||(a[8]=e=>Q.value.workid=e),modelModifiers:{number:!0},clearable:!0,placeholder:"请输入作品序号"},null,8,["modelValue"])])),_:1}),i(T,{label:"密码:",prop:"password"},{default:d((()=>[i(he,{modelValue:Q.value.password,"onUpdate:modelValue":a[9]||(a[9]=e=>Q.value.password=e),clearable:!0,placeholder:"请输入密码"},null,8,["modelValue"])])),_:1}),i(T,{label:"邮箱:",prop:"email"},{default:d((()=>[i(he,{modelValue:Q.value.email,"onUpdate:modelValue":a[10]||(a[10]=e=>Q.value.email=e),clearable:!0,placeholder:"请输入邮箱"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1})])),_:1},8,["modelValue","title"]),i(_e,{modelValue:me.value,"onUpdate:modelValue":a[12]||(a[12]=e=>me.value=e),style:{width:"800px"},"lock-scroll":"","before-close":ve,title:"查看详情","destroy-on-close":""},{default:d((()=>[i(Ee,{height:"550px"},{default:d((()=>[i(ke,{column:"1",border:""},{default:d((()=>[i(De,{label:"用户名"},{default:d((()=>[s(n(Q.value.name),1)])),_:1}),i(De,{label:"用户标识"},{default:d((()=>[s(n(Q.value.biaoshi),1)])),_:1}),i(De,{label:"余额"},{default:d((()=>[s(n(Q.value.money),1)])),_:1}),i(De,{label:"作品序号"},{default:d((()=>[s(n(Q.value.workid),1)])),_:1}),i(De,{label:"密码"},{default:d((()=>[s(n(Q.value.password),1)])),_:1}),i(De,{label:"邮箱"},{default:d((()=>[s(n(Q.value.email),1)])),_:1})])),_:1})])),_:1})])),_:1},8,["modelValue"])])}}});export{N as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlock2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlock2.js new file mode 100644 index 000000000..a690ec14c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlock2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as e}from"./087AC4D233B64EB0index.js";const s=s=>e({url:"/blockuser/createUserBlock",method:"post",data:s}),t=s=>e({url:"/blockuser/deleteUserBlock",method:"delete",data:s}),r=s=>e({url:"/blockuser/deleteUserBlockByIds",method:"delete",data:s}),o=s=>e({url:"/blockuser/updateUserBlock",method:"put",data:s}),a=s=>e({url:"/blockuser/findUserBlock",method:"get",params:s}),l=s=>e({url:"/blockuser/getUserBlockList",method:"get",params:s});export{t as a,s as c,r as d,a as f,l as g,o as u}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlockForm-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlockForm-legacy.js new file mode 100644 index 000000000..46801d492 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlockForm-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),u=new C(n||[]);return a(i,"_invoke",{value:B(e,r,u)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=f;var p="suspendedStart",d="suspendedYield",v="executing",y="completed",m={};function g(){}function b(){}function w(){}var x={};s(x,u,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(D([])));_&&_!==n&&o.call(_,u)&&(x=_);var k=w.prototype=g.prototype=Object.create(x);function L(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(n,a,i,u){var l=h(e[n],e,a);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):t.resolve(s).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,u)}))}u(l.arg)}var n;a(this,"_invoke",{value:function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}})}function B(e,r,n){var o=p;return function(a,i){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var u=n.delegate;if(u){var l=V(u,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=h(e,r,n);if("normal"===c.type){if(o=n.done?y:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function V(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,V(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function r(){for(;++n=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},r}function t(e,t,r,n,o,a,i){try{var u=e[a](i),l=u.value}catch(e){return void r(e)}u.done?t(l):Promise.resolve(l).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,a){var i=e.apply(r,n);function u(e){t(i,o,a,u,l,"next",e)}function l(e){t(i,o,a,u,l,"throw",e)}u(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0input-number-legacy.js","./087AC4D233B64EB0userBlock-legacy2.js","./087AC4D233B64EB0date-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js"],(function(t,n){"use strict";var o,a,i,u,l,c,s,f,h,p,d,v,y,m,g,b,w,x,E;return{setters:[function(e){o=e.an,a=e.u,i=e.a,u=e.r,l=e.o,c=e.c,s=e.b,f=e.e,h=e.w,p=e.g,d=e.j,v=e.k,y=e.E},function(e){m=e.a,g=e.E},null,null,function(e){b=e.E},function(e){w=e.f,x=e.c,E=e.u},null,null,null,null,null],execute:function(){var n={class:"gva-form-box"};t("default",Object.assign({name:"UserBlockForm"},{__name:"userBlockForm",setup:function(t){var _=o(),k=a(),L=i(""),j=i({name:"",biaoshi:"",money:0,workid:0,password:"",email:""}),B=u({}),V=i(),O=function(){var t=r(e().mark((function t(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_.query.id){e.next=7;break}return e.next=3,w({ID:_.query.id});case 3:0===(r=e.sent).code&&(j.value=r.data.reblockuser,L.value="update"),e.next=8;break;case 7:L.value="create";case 8:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();O();var A=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:null===(n=V.value)||void 0===n||n.validate(function(){var t=r(e().mark((function t(r){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=2;break}return e.abrupt("return");case 2:e.t0=L.value,e.next="create"===e.t0?5:"update"===e.t0?9:13;break;case 5:return e.next=7,x(j.value);case 7:return n=e.sent,e.abrupt("break",17);case 9:return e.next=11,E(j.value);case 11:return n=e.sent,e.abrupt("break",17);case 13:return e.next=15,x(j.value);case 15:return n=e.sent,e.abrupt("break",17);case 17:0===n.code&&d({type:"success",message:"创建/更改成功"});case 18:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),C=function(){k.go(-1)};return function(e,t){var r=v,o=m,a=b,i=y,u=g;return l(),c("div",null,[s("div",n,[f(u,{model:j.value,ref_key:"elFormRef",ref:V,"label-position":"right",rules:B,"label-width":"80px"},{default:h((function(){return[f(o,{label:"用户名:",prop:"name"},{default:h((function(){return[f(r,{modelValue:j.value.name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return j.value.name=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"用户标识:",prop:"biaoshi"},{default:h((function(){return[f(r,{modelValue:j.value.biaoshi,"onUpdate:modelValue":t[1]||(t[1]=function(e){return j.value.biaoshi=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"余额:",prop:"money"},{default:h((function(){return[f(a,{modelValue:j.value.money,"onUpdate:modelValue":t[2]||(t[2]=function(e){return j.value.money=e}),precision:2,clearable:!0},null,8,["modelValue"])]})),_:1}),f(o,{label:"作品序号:",prop:"workid"},{default:h((function(){return[f(r,{modelValue:j.value.workid,"onUpdate:modelValue":t[3]||(t[3]=function(e){return j.value.workid=e}),modelModifiers:{number:!0},clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"密码:",prop:"password"},{default:h((function(){return[f(r,{modelValue:j.value.password,"onUpdate:modelValue":t[4]||(t[4]=function(e){return j.value.password=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"邮箱:",prop:"email"},{default:h((function(){return[f(r,{modelValue:j.value.email,"onUpdate:modelValue":t[5]||(t[5]=function(e){return j.value.email=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,null,{default:h((function(){return[f(i,{type:"primary",onClick:A},{default:h((function(){return t[6]||(t[6]=[p("保存")])})),_:1}),f(i,{type:"primary",onClick:C},{default:h((function(){return t[7]||(t[7]=[p("返回")])})),_:1})]})),_:1})]})),_:1},8,["model","rules"])])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlockForm.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlockForm.js new file mode 100644 index 000000000..c0d4d38b9 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userBlockForm.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{an as e,u as a,a as l,r as o,o as r,c as u,b as s,e as t,w as d,g as m,j as i,k as n,E as p}from"./087AC4D233B64EB0index.js";import{a as c,E as b}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{E as f}from"./087AC4D233B64EB0input-number.js";import{f as v,c as B,u as V}from"./087AC4D233B64EB0userBlock2.js";import"./087AC4D233B64EB0date.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";const y={class:"gva-form-box"},_=Object.assign({name:"UserBlockForm"},{__name:"userBlockForm",setup(_){const C=e(),j=a(),w=l(""),E=l({name:"",biaoshi:"",money:0,workid:0,password:"",email:""}),k=o({}),A=l();(async()=>{if(C.query.id){const e=await v({ID:C.query.id});0===e.code&&(E.value=e.data.reblockuser,w.value="update")}else w.value="create"})();const h=async()=>{var e;null==(e=A.value)||e.validate((async e=>{if(!e)return;let a;switch(w.value){case"create":default:a=await B(E.value);break;case"update":a=await V(E.value)}0===a.code&&i({type:"success",message:"创建/更改成功"})}))},D=()=>{j.go(-1)};return(e,a)=>{const l=n,o=c,i=f,v=p,B=b;return r(),u("div",null,[s("div",y,[t(B,{model:E.value,ref_key:"elFormRef",ref:A,"label-position":"right",rules:k,"label-width":"80px"},{default:d((()=>[t(o,{label:"用户名:",prop:"name"},{default:d((()=>[t(l,{modelValue:E.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>E.value.name=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),t(o,{label:"用户标识:",prop:"biaoshi"},{default:d((()=>[t(l,{modelValue:E.value.biaoshi,"onUpdate:modelValue":a[1]||(a[1]=e=>E.value.biaoshi=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),t(o,{label:"余额:",prop:"money"},{default:d((()=>[t(i,{modelValue:E.value.money,"onUpdate:modelValue":a[2]||(a[2]=e=>E.value.money=e),precision:2,clearable:!0},null,8,["modelValue"])])),_:1}),t(o,{label:"作品序号:",prop:"workid"},{default:d((()=>[t(l,{modelValue:E.value.workid,"onUpdate:modelValue":a[3]||(a[3]=e=>E.value.workid=e),modelModifiers:{number:!0},clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),t(o,{label:"密码:",prop:"password"},{default:d((()=>[t(l,{modelValue:E.value.password,"onUpdate:modelValue":a[4]||(a[4]=e=>E.value.password=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),t(o,{label:"邮箱:",prop:"email"},{default:d((()=>[t(l,{modelValue:E.value.email,"onUpdate:modelValue":a[5]||(a[5]=e=>E.value.email=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),t(o,null,{default:d((()=>[t(v,{type:"primary",onClick:h},{default:d((()=>a[6]||(a[6]=[m("保存")]))),_:1}),t(v,{type:"primary",onClick:D},{default:d((()=>a[7]||(a[7]=[m("返回")]))),_:1})])),_:1})])),_:1},8,["model","rules"])])])}}});export{_ as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChain-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChain-legacy.js new file mode 100644 index 000000000..960190ac3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChain-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r=0;--o){var u=this.tryEntries[o],l=u.completion;if("root"===u.tryLoc)return r("end");if(u.tryLoc<=this.prev){var i=a.call(u,"catchLoc"),c=a.call(u,"finallyLoc");if(i&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;O(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function a(e,t,n,r,a,o,u){try{var l=e[o](u),i=l.value}catch(e){return void n(e)}l.done?t(i):Promise.resolve(i).then(r,a)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var u=e.apply(t,n);function l(e){a(u,r,o,l,i,"next",e)}function i(e){a(u,r,o,l,i,"throw",e)}l(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0date-picker-legacy.js","./087AC4D233B64EB0dialog-legacy.js","./087AC4D233B64EB0overlay-legacy.js","./087AC4D233B64EB0scrollbar-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0input-number-legacy.js","./087AC4D233B64EB0pagination-legacy.js","./087AC4D233B64EB0tag-legacy.js","./087AC4D233B64EB0select-legacy.js","./087AC4D233B64EB0popper-legacy.js","./087AC4D233B64EB0table-column-legacy.js","./087AC4D233B64EB0checkbox-legacy.js","./087AC4D233B64EB0tooltip-legacy.js","./087AC4D233B64EB0popover-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0userChain-legacy2.js","./087AC4D233B64EB0format-legacy.js","./087AC4D233B64EB0index-legacy20.js","./087AC4D233B64EB0index-legacy25.js","./087AC4D233B64EB0arrays-legacy.js","./087AC4D233B64EB0debounce-legacy.js","./087AC4D233B64EB0isEqual-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0index-legacy21.js","./087AC4D233B64EB0index-legacy22.js","./087AC4D233B64EB0token-legacy.js","./087AC4D233B64EB0strings-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js","./087AC4D233B64EB0dropdown-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0date-legacy.js"],(function(e,n){"use strict";var a,u,l,i,c,s,f,d,p,v,h,y,g,m,b,w,C,E,B,x,j,_,k,A,D,O,V,L,P,T,S,z,U,I,N,F,G;return{setters:[function(e){a=e.a,u=e.r,l=e.N,i=e.o,c=e.c,s=e.b,f=e.e,d=e.w,p=e.g,v=e.m,h=e.t,y=e.D,g=e.T,m=e.j,b=e.H,w=e.E,C=e.k},function(e){E=e.E,B=e.a,x=e.b},function(e){j=e.E},null,function(e){_=e.E},null,function(e){k=e.E},null,null,null,null,function(e){A=e.E,D=e.a},null,null,function(e){O=e.E},function(e){V=e.a,L=e.E},null,function(e){P=e.g,T=e.d,S=e.f,z=e.a,U=e.c,I=e.u},function(e){N=e.f},function(e){F=e.a},function(e){G=e.E},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n={class:"gva-search-box"},R={class:"gva-table-box"},Y={class:"gva-btn-list"},q={style:{"text-align":"right","margin-top":"8px"}},H={class:"gva-pagination"},K={class:"dialog-footer"};e("default",Object.assign({name:"Userchain"},{__name:"userChain",setup:function(e){var Q=a({name:"",biaoshi:"",money:0,workpath:"",password:"",email:"",organization:""}),J=u({}),M=u({createdAt:[{validator:function(e,t,n){ne.value.startCreatedAt&&!ne.value.endCreatedAt?n(new Error("请填写结束日期")):!ne.value.startCreatedAt&&ne.value.endCreatedAt?n(new Error("请填写开始日期")):ne.value.startCreatedAt&&ne.value.endCreatedAt&&(ne.value.startCreatedAt.getTime()===ne.value.endCreatedAt.getTime()||ne.value.startCreatedAt.getTime()>ne.value.endCreatedAt.getTime())?n(new Error("开始日期应当早于结束日期")):n()},trigger:"change"}]}),W=a(),X=a(),Z=a(1),$=a(0),ee=a(10),te=a([]),ne=a({}),re=function(){ne.value={},le()},ae=function(){var e;null===(e=X.value)||void 0===e||e.validate(function(){var e=o(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:Z.value=1,ee.value=10,le();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},oe=function(e){ee.value=e,le()},ue=function(e){Z.value=e,le()},le=function(){var e=o(r().mark((function e(){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(t({page:Z.value,pageSize:ee.value},ne.value));case 2:0===(n=e.sent).code&&(te.value=n.data.list,$.value=n.data.total,Z.value=n.data.page,ee.value=n.data.pageSize);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();le();var ie=function(){var e=o(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();ie();var ce=a([]),se=function(e){ce.value=e},fe=a(!1),de=function(){var e=o(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],0!==ce.value.length){e.next=4;break}return m({type:"warning",message:"请选择要删除的数据"}),e.abrupt("return");case 4:return ce.value&&ce.value.map((function(e){t.push(e.ID)})),e.next=7,T({ids:t});case 7:0===e.sent.code&&(m({type:"success",message:"删除成功"}),te.value.length===t.length&&Z.value>1&&Z.value--,fe.value=!1,le());case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),pe=a(""),ve=function(){var e=o(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({ID:t.ID});case 2:n=e.sent,pe.value="update",0===n.code&&(Q.value=n.data.rechainuse,ye.value=!0);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),he=function(){var e=o(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,z({ID:t.ID});case 2:0===e.sent.code&&(m({type:"success",message:"删除成功"}),1===te.value.length&&Z.value>1&&Z.value--,le());case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ye=a(!1),ge=a(!1),me=function(){var e=o(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({ID:t.ID});case 2:0===(n=e.sent).code&&(Q.value=n.data.rechainuse,ge.value=!0);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),be=function(){ge.value=!1,Q.value={name:"",biaoshi:"",money:0,workpath:"",password:"",email:"",organization:""}},we=function(){pe.value="create",ye.value=!0},Ce=function(){ye.value=!1,Q.value={name:"",biaoshi:"",money:0,workpath:"",password:"",email:"",organization:""}},Ee=function(){var e=o(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null===(t=W.value)||void 0===t||t.validate(function(){var e=o(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:e.t0=pe.value,e.next="create"===e.t0?5:"update"===e.t0?9:13;break;case 5:return e.next=7,U(Q.value);case 7:return n=e.sent,e.abrupt("break",17);case 9:return e.next=11,I(Q.value);case 11:return n=e.sent,e.abrupt("break",17);case 13:return e.next=15,U(Q.value);case 15:return n=e.sent,e.abrupt("break",17);case 17:0===n.code&&(m({type:"success",message:"创建/更改成功"}),Ce(),le());case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return function(e,t){var r=l("QuestionFilled"),a=b,o=F,u=E,m=V,P=w,T=L,S=O,z=A,U=l("InfoFilled"),I=D,le=G,ie=C,Be=k,xe=_,je=j,_e=B,ke=x;return i(),c("div",null,[s("div",n,[f(T,{ref_key:"elSearchFormRef",ref:X,inline:!0,model:ne.value,class:"demo-form-inline",rules:M,onKeyup:v(ae,["enter"])},{default:d((function(){return[f(m,{label:"创建日期",prop:"createdAt"},{label:d((function(){return[s("span",null,[t[14]||(t[14]=p(" 创建日期 ")),f(o,{content:"搜索范围是开始日期(包含)至结束日期(不包含)"},{default:d((function(){return[f(a,null,{default:d((function(){return[f(r)]})),_:1})]})),_:1})])]})),default:d((function(){return[f(u,{modelValue:ne.value.startCreatedAt,"onUpdate:modelValue":t[0]||(t[0]=function(e){return ne.value.startCreatedAt=e}),type:"datetime",placeholder:"开始日期","disabled-date":function(e){return!!ne.value.endCreatedAt&&e.getTime()>ne.value.endCreatedAt.getTime()}},null,8,["modelValue","disabled-date"]),t[15]||(t[15]=p(" — ")),f(u,{modelValue:ne.value.endCreatedAt,"onUpdate:modelValue":t[1]||(t[1]=function(e){return ne.value.endCreatedAt=e}),type:"datetime",placeholder:"结束日期","disabled-date":function(e){return!!ne.value.startCreatedAt&&e.getTime(){$.value.startCreatedAt&&!$.value.endCreatedAt?l(new Error("请填写结束日期")):!$.value.startCreatedAt&&$.value.endCreatedAt?l(new Error("请填写开始日期")):$.value.startCreatedAt&&$.value.endCreatedAt&&($.value.startCreatedAt.getTime()===$.value.endCreatedAt.getTime()||$.value.startCreatedAt.getTime()>$.value.endCreatedAt.getTime())?l(new Error("开始日期应当早于结束日期")):l()},trigger:"change"}]}),M=e(),P=e(),W=e(1),X=e(0),Y=e(10),Z=e([]),$=e({}),ee=()=>{$.value={},oe()},ae=()=>{var e;null==(e=P.value)||e.validate((async e=>{e&&(W.value=1,Y.value=10,oe())}))},le=e=>{Y.value=e,oe()},te=e=>{W.value=e,oe()},oe=async()=>{const e=await k({page:W.value,pageSize:Y.value,...$.value});0===e.code&&(Z.value=e.data.list,X.value=e.data.total,W.value=e.data.page,Y.value=e.data.pageSize)};oe();(async()=>{})();const re=e([]),ie=e=>{re.value=e},ue=e(!1),de=async()=>{const e=[];if(0===re.value.length)return void v({type:"warning",message:"请选择要删除的数据"});re.value&&re.value.map((a=>{e.push(a.ID)}));0===(await V({ids:e})).code&&(v({type:"success",message:"删除成功"}),Z.value.length===e.length&&W.value>1&&W.value--,ue.value=!1,oe())},se=e(""),ne=async e=>{0===(await z({ID:e.ID})).code&&(v({type:"success",message:"删除成功"}),1===Z.value.length&&W.value>1&&W.value--,oe())},pe=e(!1),me=e(!1),ve=async e=>{const a=await x({ID:e.ID});0===a.code&&(G.value=a.data.rechainuse,me.value=!0)},ce=()=>{me.value=!1,G.value={name:"",biaoshi:"",money:0,workpath:"",password:"",email:"",organization:""}},fe=()=>{se.value="create",pe.value=!0},be=()=>{pe.value=!1,G.value={name:"",biaoshi:"",money:0,workpath:"",password:"",email:"",organization:""}},ge=async()=>{var e;null==(e=M.value)||e.validate((async e=>{if(!e)return;let a;switch(se.value){case"create":default:a=await U(G.value);break;case"update":a=await T(G.value)}0===a.code&&(v({type:"success",message:"创建/更改成功"}),be(),oe())}))};return(e,a)=>{const v=l("QuestionFilled"),k=c,V=S,z=g,U=D,T=f,Q=j,oe=E,Ce=w,Be=l("InfoFilled"),he=_,ye=F,Ae=b,we=A,_e=y,Ee=h,De=C,je=B;return t(),o("div",null,[r("div",O,[i(Q,{ref_key:"elSearchFormRef",ref:P,inline:!0,model:$.value,class:"demo-form-inline",rules:L,onKeyup:s(ae,["enter"])},{default:u((()=>[i(U,{label:"创建日期",prop:"createdAt"},{label:u((()=>[r("span",null,[a[14]||(a[14]=d(" 创建日期 ")),i(V,{content:"搜索范围是开始日期(包含)至结束日期(不包含)"},{default:u((()=>[i(k,null,{default:u((()=>[i(v)])),_:1})])),_:1})])])),default:u((()=>[i(z,{modelValue:$.value.startCreatedAt,"onUpdate:modelValue":a[0]||(a[0]=e=>$.value.startCreatedAt=e),type:"datetime",placeholder:"开始日期","disabled-date":e=>!!$.value.endCreatedAt&&e.getTime()>$.value.endCreatedAt.getTime()},null,8,["modelValue","disabled-date"]),a[15]||(a[15]=d(" — ")),i(z,{modelValue:$.value.endCreatedAt,"onUpdate:modelValue":a[1]||(a[1]=e=>$.value.endCreatedAt=e),type:"datetime",placeholder:"结束日期","disabled-date":e=>!!$.value.startCreatedAt&&e.getTime()<$.value.startCreatedAt.getTime()},null,8,["modelValue","disabled-date"])])),_:1}),i(U,null,{default:u((()=>[i(T,{type:"primary",icon:"search",onClick:ae},{default:u((()=>a[16]||(a[16]=[d("查询")]))),_:1}),i(T,{icon:"refresh",onClick:ee},{default:u((()=>a[17]||(a[17]=[d("重置")]))),_:1})])),_:1})])),_:1},8,["model","rules"])]),r("div",R,[r("div",q,[i(T,{type:"primary",icon:"plus",onClick:fe},{default:u((()=>a[18]||(a[18]=[d("新增")]))),_:1}),i(oe,{visible:ue.value,"onUpdate:visible":a[4]||(a[4]=e=>ue.value=e),disabled:!re.value.length,placement:"top",width:"160"},{reference:u((()=>[i(T,{icon:"delete",style:{"margin-left":"10px"},disabled:!re.value.length,onClick:a[3]||(a[3]=e=>ue.value=!0)},{default:u((()=>a[21]||(a[21]=[d("删除")]))),_:1},8,["disabled"])])),default:u((()=>[a[22]||(a[22]=r("p",null,"确定要删除吗?",-1)),r("div",H,[i(T,{type:"primary",link:"",onClick:a[2]||(a[2]=e=>ue.value=!1)},{default:u((()=>a[19]||(a[19]=[d("取消")]))),_:1}),i(T,{type:"primary",onClick:de},{default:u((()=>a[20]||(a[20]=[d("确定")]))),_:1})])])),_:1},8,["visible","disabled"])]),i(he,{ref:"multipleTable",style:{width:"100%"},"tooltip-effect":"dark",data:Z.value,"row-key":"ID",onSelectionChange:ie},{default:u((()=>[i(Ce,{type:"selection",width:"55"}),i(Ce,{align:"left",label:"日期",width:"180"},{default:u((e=>[d(n(p(I)(e.row.CreatedAt)),1)])),_:1}),i(Ce,{align:"left",label:"用户名",prop:"name",width:"120"}),i(Ce,{align:"left",label:"用户标识",prop:"biaoshi",width:"120"}),i(Ce,{align:"left",label:"余额",prop:"money",width:"120"}),i(Ce,{align:"left",label:"作品路径",prop:"workpath",width:"120"}),i(Ce,{align:"left",label:"密码",prop:"password",width:"120"}),i(Ce,{align:"left",label:"邮箱",prop:"email",width:"120"}),i(Ce,{align:"left",label:"所属机构",prop:"organization",width:"120"}),i(Ce,{align:"left",label:"操作","min-width":"120"},{default:u((e=>[i(T,{type:"primary",link:"",class:"table-button",onClick:a=>ve(e.row)},{default:u((()=>[i(k,{style:{"margin-right":"5px"}},{default:u((()=>[i(Be)])),_:1}),a[23]||(a[23]=d(" 查看详情 "))])),_:2},1032,["onClick"]),i(T,{type:"primary",link:"",icon:"edit",class:"table-button",onClick:a=>(async e=>{const a=await x({ID:e.ID});se.value="update",0===a.code&&(G.value=a.data.rechainuse,pe.value=!0)})(e.row)},{default:u((()=>a[24]||(a[24]=[d("变更")]))),_:2},1032,["onClick"]),i(T,{type:"primary",link:"",icon:"delete",onClick:a=>{return l=e.row,void m.confirm("确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{ne(l)}));var l}},{default:u((()=>a[25]||(a[25]=[d("删除")]))),_:2},1032,["onClick"])])),_:1})])),_:1},8,["data"]),r("div",K,[i(ye,{layout:"total, sizes, prev, pager, next, jumper","current-page":W.value,"page-size":Y.value,"page-sizes":[10,30,50,100],total:X.value,onCurrentChange:te,onSizeChange:le},null,8,["current-page","page-size","total"])])]),i(Ee,{modelValue:pe.value,"onUpdate:modelValue":a[12]||(a[12]=e=>pe.value=e),"before-close":be,title:"create"===se.value?"添加":"修改","destroy-on-close":""},{footer:u((()=>[r("div",N,[i(T,{onClick:be},{default:u((()=>a[26]||(a[26]=[d("取 消")]))),_:1}),i(T,{type:"primary",onClick:ge},{default:u((()=>a[27]||(a[27]=[d("确 定")]))),_:1})])])),default:u((()=>[i(_e,{height:"500px"},{default:u((()=>[i(Q,{model:G.value,"label-position":"right",ref_key:"elFormRef",ref:M,rules:J,"label-width":"80px"},{default:u((()=>[i(U,{label:"用户名:",prop:"name"},{default:u((()=>[i(Ae,{modelValue:G.value.name,"onUpdate:modelValue":a[5]||(a[5]=e=>G.value.name=e),clearable:!0,placeholder:"请输入用户名"},null,8,["modelValue"])])),_:1}),i(U,{label:"用户标识:",prop:"biaoshi"},{default:u((()=>[i(Ae,{modelValue:G.value.biaoshi,"onUpdate:modelValue":a[6]||(a[6]=e=>G.value.biaoshi=e),clearable:!0,placeholder:"请输入用户标识"},null,8,["modelValue"])])),_:1}),i(U,{label:"余额:",prop:"money"},{default:u((()=>[i(we,{modelValue:G.value.money,"onUpdate:modelValue":a[7]||(a[7]=e=>G.value.money=e),style:{width:"100%"},precision:2,clearable:!0},null,8,["modelValue"])])),_:1}),i(U,{label:"作品路径:",prop:"workpath"},{default:u((()=>[i(Ae,{modelValue:G.value.workpath,"onUpdate:modelValue":a[8]||(a[8]=e=>G.value.workpath=e),clearable:!0,placeholder:"请输入作品路径"},null,8,["modelValue"])])),_:1}),i(U,{label:"密码:",prop:"password"},{default:u((()=>[i(Ae,{modelValue:G.value.password,"onUpdate:modelValue":a[9]||(a[9]=e=>G.value.password=e),clearable:!0,placeholder:"请输入密码"},null,8,["modelValue"])])),_:1}),i(U,{label:"邮箱:",prop:"email"},{default:u((()=>[i(Ae,{modelValue:G.value.email,"onUpdate:modelValue":a[10]||(a[10]=e=>G.value.email=e),clearable:!0,placeholder:"请输入邮箱"},null,8,["modelValue"])])),_:1}),i(U,{label:"所属机构:",prop:"organization"},{default:u((()=>[i(Ae,{modelValue:G.value.organization,"onUpdate:modelValue":a[11]||(a[11]=e=>G.value.organization=e),clearable:!0,placeholder:"请输入所属机构"},null,8,["modelValue"])])),_:1})])),_:1},8,["model","rules"])])),_:1})])),_:1},8,["modelValue","title"]),i(Ee,{modelValue:me.value,"onUpdate:modelValue":a[13]||(a[13]=e=>me.value=e),style:{width:"800px"},"lock-scroll":"","before-close":ce,title:"查看详情","destroy-on-close":""},{default:u((()=>[i(_e,{height:"550px"},{default:u((()=>[i(je,{column:"1",border:""},{default:u((()=>[i(De,{label:"用户名"},{default:u((()=>[d(n(G.value.name),1)])),_:1}),i(De,{label:"用户标识"},{default:u((()=>[d(n(G.value.biaoshi),1)])),_:1}),i(De,{label:"余额"},{default:u((()=>[d(n(G.value.money),1)])),_:1}),i(De,{label:"作品路径"},{default:u((()=>[d(n(G.value.workpath),1)])),_:1}),i(De,{label:"密码"},{default:u((()=>[d(n(G.value.password),1)])),_:1}),i(De,{label:"邮箱"},{default:u((()=>[d(n(G.value.email),1)])),_:1}),i(De,{label:"所属机构"},{default:u((()=>[d(n(G.value.organization),1)])),_:1})])),_:1})])),_:1})])),_:1},8,["modelValue"])])}}});export{Q as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChain2.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChain2.js new file mode 100644 index 000000000..10a96da57 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChain2.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{s as e}from"./087AC4D233B64EB0index.js";const a=a=>e({url:"/chainuse/createUserchain",method:"post",data:a}),s=a=>e({url:"/chainuse/deleteUserchain",method:"delete",data:a}),t=a=>e({url:"/chainuse/deleteUserchainByIds",method:"delete",data:a}),d=a=>e({url:"/chainuse/updateUserchain",method:"put",data:a}),h=a=>e({url:"/chainuse/findUserchain",method:"get",params:a}),r=a=>e({url:"/chainuse/getUserchainList",method:"get",params:a});export{s as a,a as c,t as d,h as f,r as g,d as u}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChainForm-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChainForm-legacy.js new file mode 100644 index 000000000..61f80df7c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChainForm-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var t,r={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},i=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(t){s=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,u=Object.create(o.prototype),i=new A(n||[]);return a(u,"_invoke",{value:B(e,r,i)}),u}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=f;var p="suspendedStart",d="suspendedYield",v="executing",y="completed",m={};function g(){}function b(){}function w(){}var x={};s(x,i,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(D([])));_&&_!==n&&o.call(_,i)&&(x=_);var L=w.prototype=g.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(n,a,u,i){var l=h(e[n],e,a);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,u,i)}),(function(e){r("throw",e,u,i)})):t.resolve(s).then((function(e){c.value=e,u(c)}),(function(e){return r("throw",e,u,i)}))}i(l.arg)}var n;a(this,"_invoke",{value:function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}})}function B(e,r,n){var o=p;return function(a,u){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===a)throw u;return{value:t,done:!0}}for(n.method=a,n.arg=u;;){var i=n.delegate;if(i){var l=V(i,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=h(e,r,n);if("normal"===c.type){if(o=n.done?y:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function V(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,V(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var u=a.arg;return u?u.done?(r[e.resultName]=u.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function r(){for(;++n=0;--a){var u=this.tryEntries[a],i=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var l=o.call(u,"catchLoc"),c=o.call(u,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},r}function t(e,t,r,n,o,a,u){try{var i=e[a](u),l=i.value}catch(e){return void r(e)}i.done?t(l):Promise.resolve(l).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,a){var u=e.apply(r,n);function i(e){t(u,o,a,i,l,"next",e)}function l(e){t(u,o,a,i,l,"throw",e)}i(void 0)}))}}System.register(["./087AC4D233B64EB0index-legacy.js","./087AC4D233B64EB0form-item-legacy.js","./087AC4D233B64EB0button-legacy.js","./087AC4D233B64EB0input-legacy.js","./087AC4D233B64EB0input-number-legacy.js","./087AC4D233B64EB0userChain-legacy2.js","./087AC4D233B64EB0date-legacy.js","./087AC4D233B64EB0castArray-legacy.js","./087AC4D233B64EB0_baseClone-legacy.js","./087AC4D233B64EB0_Uint8Array-legacy.js","./087AC4D233B64EB0_initCloneObject-legacy.js"],(function(t,n){"use strict";var o,a,u,i,l,c,s,f,h,p,d,v,y,m,g,b,w,x,E;return{setters:[function(e){o=e.an,a=e.u,u=e.a,i=e.r,l=e.o,c=e.c,s=e.b,f=e.e,h=e.w,p=e.g,d=e.j,v=e.k,y=e.E},function(e){m=e.a,g=e.E},null,null,function(e){b=e.E},function(e){w=e.f,x=e.c,E=e.u},null,null,null,null,null],execute:function(){var n={class:"gva-form-box"};t("default",Object.assign({name:"UserchainForm"},{__name:"userChainForm",setup:function(t){var _=o(),L=a(),j=u(""),k=u({name:"",biaoshi:"",money:0,workpath:"",password:"",email:"",organization:""}),B=i({}),V=u(),C=function(){var t=r(e().mark((function t(){var r;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_.query.id){e.next=7;break}return e.next=3,w({ID:_.query.id});case 3:0===(r=e.sent).code&&(k.value=r.data.rechainuse,j.value="update"),e.next=8;break;case 7:j.value="create";case 8:case"end":return e.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();C();var O=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:null===(n=V.value)||void 0===n||n.validate(function(){var t=r(e().mark((function t(r){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=2;break}return e.abrupt("return");case 2:e.t0=j.value,e.next="create"===e.t0?5:"update"===e.t0?9:13;break;case 5:return e.next=7,x(k.value);case 7:return n=e.sent,e.abrupt("break",17);case 9:return e.next=11,E(k.value);case 11:return n=e.sent,e.abrupt("break",17);case 13:return e.next=15,x(k.value);case 15:return n=e.sent,e.abrupt("break",17);case 17:0===n.code&&d({type:"success",message:"创建/更改成功"});case 18:case"end":return e.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),A=function(){L.go(-1)};return function(e,t){var r=v,o=m,a=b,u=y,i=g;return l(),c("div",null,[s("div",n,[f(i,{model:k.value,ref_key:"elFormRef",ref:V,"label-position":"right",rules:B,"label-width":"80px"},{default:h((function(){return[f(o,{label:"用户名:",prop:"name"},{default:h((function(){return[f(r,{modelValue:k.value.name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return k.value.name=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"用户标识:",prop:"biaoshi"},{default:h((function(){return[f(r,{modelValue:k.value.biaoshi,"onUpdate:modelValue":t[1]||(t[1]=function(e){return k.value.biaoshi=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"余额:",prop:"money"},{default:h((function(){return[f(a,{modelValue:k.value.money,"onUpdate:modelValue":t[2]||(t[2]=function(e){return k.value.money=e}),precision:2,clearable:!0},null,8,["modelValue"])]})),_:1}),f(o,{label:"作品路径:",prop:"workpath"},{default:h((function(){return[f(r,{modelValue:k.value.workpath,"onUpdate:modelValue":t[3]||(t[3]=function(e){return k.value.workpath=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"密码:",prop:"password"},{default:h((function(){return[f(r,{modelValue:k.value.password,"onUpdate:modelValue":t[4]||(t[4]=function(e){return k.value.password=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"邮箱:",prop:"email"},{default:h((function(){return[f(r,{modelValue:k.value.email,"onUpdate:modelValue":t[5]||(t[5]=function(e){return k.value.email=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,{label:"所属机构:",prop:"organization"},{default:h((function(){return[f(r,{modelValue:k.value.organization,"onUpdate:modelValue":t[6]||(t[6]=function(e){return k.value.organization=e}),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])]})),_:1}),f(o,null,{default:h((function(){return[f(u,{type:"primary",onClick:O},{default:h((function(){return t[7]||(t[7]=[p("保存")])})),_:1}),f(u,{type:"primary",onClick:A},{default:h((function(){return t[8]||(t[8]=[p("返回")])})),_:1})]})),_:1})]})),_:1},8,["model","rules"])])])}}}))}}}))}(); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChainForm.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChainForm.js new file mode 100644 index 000000000..e69be45f6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0userChainForm.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{an as e,u as a,a as l,r as o,o as u,c as r,b as t,e as s,w as d,g as n,j as i,k as m,E as p}from"./087AC4D233B64EB0index.js";import{a as c,E as b}from"./087AC4D233B64EB0form-item.js";/* empty css *//* empty css */import{E as v}from"./087AC4D233B64EB0input-number.js";import{f,c as B,u as h}from"./087AC4D233B64EB0userChain2.js";import"./087AC4D233B64EB0date.js";import"./087AC4D233B64EB0castArray.js";import"./087AC4D233B64EB0_baseClone.js";import"./087AC4D233B64EB0_Uint8Array.js";import"./087AC4D233B64EB0_initCloneObject.js";const V={class:"gva-form-box"},y=Object.assign({name:"UserchainForm"},{__name:"userChainForm",setup(y){const C=e(),_=a(),j=l(""),w=l({name:"",biaoshi:"",money:0,workpath:"",password:"",email:"",organization:""}),E=o({}),A=l();(async()=>{if(C.query.id){const e=await f({ID:C.query.id});0===e.code&&(w.value=e.data.rechainuse,j.value="update")}else j.value="create"})();const D=async()=>{var e;null==(e=A.value)||e.validate((async e=>{if(!e)return;let a;switch(j.value){case"create":default:a=await B(w.value);break;case"update":a=await h(w.value)}0===a.code&&i({type:"success",message:"创建/更改成功"})}))},g=()=>{_.go(-1)};return(e,a)=>{const l=m,o=c,i=v,f=p,B=b;return u(),r("div",null,[t("div",V,[s(B,{model:w.value,ref_key:"elFormRef",ref:A,"label-position":"right",rules:E,"label-width":"80px"},{default:d((()=>[s(o,{label:"用户名:",prop:"name"},{default:d((()=>[s(l,{modelValue:w.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>w.value.name=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),s(o,{label:"用户标识:",prop:"biaoshi"},{default:d((()=>[s(l,{modelValue:w.value.biaoshi,"onUpdate:modelValue":a[1]||(a[1]=e=>w.value.biaoshi=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),s(o,{label:"余额:",prop:"money"},{default:d((()=>[s(i,{modelValue:w.value.money,"onUpdate:modelValue":a[2]||(a[2]=e=>w.value.money=e),precision:2,clearable:!0},null,8,["modelValue"])])),_:1}),s(o,{label:"作品路径:",prop:"workpath"},{default:d((()=>[s(l,{modelValue:w.value.workpath,"onUpdate:modelValue":a[3]||(a[3]=e=>w.value.workpath=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),s(o,{label:"密码:",prop:"password"},{default:d((()=>[s(l,{modelValue:w.value.password,"onUpdate:modelValue":a[4]||(a[4]=e=>w.value.password=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),s(o,{label:"邮箱:",prop:"email"},{default:d((()=>[s(l,{modelValue:w.value.email,"onUpdate:modelValue":a[5]||(a[5]=e=>w.value.email=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),s(o,{label:"所属机构:",prop:"organization"},{default:d((()=>[s(l,{modelValue:w.value.organization,"onUpdate:modelValue":a[6]||(a[6]=e=>w.value.organization=e),clearable:!0,placeholder:"请输入"},null,8,["modelValue"])])),_:1}),s(o,null,{default:d((()=>[s(f,{type:"primary",onClick:D},{default:d((()=>a[7]||(a[7]=[n("保存")]))),_:1}),s(f,{type:"primary",onClick:g},{default:d((()=>a[8]||(a[8]=[n("返回")]))),_:1})])),_:1})])),_:1},8,["model","rules"])])])}}});export{y as default}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0video.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0video.png new file mode 100644 index 000000000..af4d35f4d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0video.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0warningBar-legacy.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0warningBar-legacy.js new file mode 100644 index 000000000..882b20426 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0warningBar-legacy.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +System.register(["./087AC4D233B64EB0index-legacy.js"],(function(e,t){"use strict";var n,r,i,u,c,a,s,f,o,l;return{setters:[function(e){n=e.o,r=e.c,i=e.e,u=e.w,c=e.D,a=e.ci,s=e.b,f=e.t,o=e.n,l=e.H}],execute:function(){e("_",{__name:"warningBar",props:{title:{type:String,default:""},href:{type:String,default:""}},setup:function(e){var t=e,p=function(){t.href&&window.open(t.href)};return function(t,d){var g=l;return n(),r("div",{class:o(["px-1.5 py-2 flex items-center bg-amber-50 rounded gap-2 mb-3 text-amber-500",e.href&&"cursor-pointer"]),onClick:p},[i(g,{class:"text-xl"},{default:u((function(){return[i(c(a))]})),_:1}),s("span",null,f(e.title),1)],2)}}})}}})); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0warningBar.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0warningBar.js new file mode 100644 index 000000000..db82a4342 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/087AC4D233B64EB0warningBar.js @@ -0,0 +1,4 @@ +/*! + Build based on gin-vue-admin + Time : 1730113336000 */ +import{o as e,c as t,e as s,w as a,D as r,ci as n,b as o,t as i,n as p,H as l}from"./087AC4D233B64EB0index.js";const c={__name:"warningBar",props:{title:{type:String,default:""},href:{type:String,default:""}},setup(c){const f=c,u=()=>{f.href&&window.open(f.href)};return(f,d)=>{const m=l;return e(),t("div",{class:p(["px-1.5 py-2 flex items-center bg-amber-50 rounded gap-2 mb-3 text-amber-500",c.href&&"cursor-pointer"]),onClick:u},[s(m,{class:"text-xl"},{default:a((()=>[s(r(n))])),_:1}),o("span",null,i(c.title),1)],2)}}};export{c as _}; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/index.html b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/index.html new file mode 100644 index 000000000..3b5fc59b8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/dist/index.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + +
    + + + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/favicon.ico b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/favicon.ico new file mode 100644 index 000000000..ee520ce4b Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/favicon.ico differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/index.html b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/index.html new file mode 100644 index 000000000..104563787 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/index.html @@ -0,0 +1,18 @@ + + + + + + + + + + + + + +
    + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/jsconfig.json b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/jsconfig.json new file mode 100644 index 000000000..10afc573a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/jsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": "./", + "paths": { + "@/*": ["src/*"], + } + }, + "exclude": ["node_modules", "dist"], + "include": ["src/**/*"] + } \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/limit.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/limit.js new file mode 100644 index 000000000..6ba9d4623 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/limit.js @@ -0,0 +1,37 @@ +// 运行项目前通过node执行此脚本 (此脚本与 node_modules 目录同级) +const fs = require('fs') +const path = require('path') +const wfPath = path.resolve(__dirname, './node_modules/.bin') + +fs.readdir(wfPath, (err, files) => { + if (err) { + console.log(err) + } else { + if (files.length !== 0) { + files.forEach((item) => { + if (item.split('.')[1] === 'cmd') { + replaceStr(`${wfPath}/${item}`, /"%_prog%"/, '%_prog%') + } + }) + } + } +}) + +// 参数:[文件路径、 需要修改的字符串、修改后的字符串] (替换对应文件内字符串的公共函数) +function replaceStr(filePath, sourceRegx, targetSrt) { + fs.readFile(filePath, (err, data) => { + if (err) { + console.log(err) + } else { + let str = data.toString() + str = str.replace(sourceRegx, targetSrt) + fs.writeFile(filePath, str, (err) => { + if (err) { + console.log(err) + } else { + console.log('\x1B[42m%s\x1B[0m', '文件修改成功') + } + }) + } + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/openDocument.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/openDocument.js new file mode 100644 index 000000000..2d5254169 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/openDocument.js @@ -0,0 +1,23 @@ +/* + 商用代码公司自用产品无需授权 + 若作为代码出售的产品(任何涉及代码交付第三方作为后续开发)必须保留此脚本 + 或标注原作者信息 + 否则将依法维权 +*/ + +var child_process = require('child_process') + +var url = 'https://www.gin-vue-admin.com' +var cmd = '' +console.log(process.platform) +switch (process.platform) { + case 'win32': + cmd = 'start' + child_process.exec(cmd + ' ' + url) + break + + case 'darwin': + cmd = 'open' + child_process.exec(cmd + ' ' + url) + break +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/package.json b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/package.json new file mode 100644 index 000000000..83c3f6c06 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/package.json @@ -0,0 +1,59 @@ +{ + "name": "gin-vue-admin", + "version": "2.5.7", + "private": true, + "scripts": { + "serve": "node openDocument.js && vite --host --mode development", + "build": "vite build --mode production", + "limit-build": "npm install increase-memory-limit-fixbug cross-env -g && npm run fix-memory-limit && node ./limit && npm run build", + "preview": "vite preview", + "fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit" + }, + "dependencies": { + "@element-plus/icons-vue": "^2.1.0", + "@vue-office/docx": "^1.3.0", + "@vue-office/excel": "^1.4.5", + "@vue-office/pdf": "^1.5.3", + "@wangeditor/editor": "^5.1.23", + "@wangeditor/editor-for-vue": "^5.1.12", + "axios": "^1.4.0", + "core-js": "^3.31.1", + "echarts": "5.4.3", + "element-plus": "^2.3.8", + "highlight.js": "^11.8.0", + "marked": "4.3.0", + "mitt": "^3.0.1", + "nprogress": "^0.2.0", + "path": "^0.12.7", + "pinia": "^2.1.4", + "qs": "^6.11.2", + "screenfull": "^6.0.2", + "spark-md5": "^3.0.2", + "tailwindcss": "^3.3.3", + "vue": "^3.3.4", + "vue-router": "^4.2.4" + }, + "devDependencies": { + "@babel/eslint-parser": "^7.22.9", + "@vitejs/plugin-legacy": "^4.1.0", + "@vitejs/plugin-vue": "^4.2.3", + "@vue/cli-plugin-babel": "~5.0.8", + "@vue/cli-plugin-eslint": "~5.0.8", + "@vue/cli-plugin-router": "~5.0.8", + "@vue/cli-plugin-vuex": "~5.0.8", + "@vue/cli-service": "~5.0.8", + "@vue/compiler-sfc": "^3.3.4", + "babel-plugin-import": "^1.13.6", + "chalk": "^4.1.2", + "dotenv": "^16.3.1", + "eslint": "^8.49.0", + "eslint-plugin-vue": "^9.15.1", + "sass": "^1.54.0", + "terser": "^5.19.1", + "unplugin-auto-import": "^0.16.6", + "unplugin-vue-components": "^0.25.1", + "vite": "^4.4.6", + "vite-plugin-banner": "^0.7.0", + "vite-plugin-importer": "^0.2.5" + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/postcss.config.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/postcss.config.js new file mode 100644 index 000000000..33ad091d2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/App.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/App.vue new file mode 100644 index 000000000..07b167328 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/App.vue @@ -0,0 +1,34 @@ + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/api.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/api.js new file mode 100644 index 000000000..86dd258c3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/api.js @@ -0,0 +1,146 @@ +import service from '@/utils/request' + +// @Tags api +// @Summary 分页获取角色列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body modelInterface.PageInfo true "分页获取用户列表" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /api/getApiList [post] +// { +// page int +// pageSize int +// } +export const getApiList = (data) => { + return service({ + url: '/api/getApiList', + method: 'post', + data + }) +} + +// @Tags Api +// @Summary 创建基础api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.CreateApiParams true "创建api" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /api/createApi [post] +export const createApi = (data) => { + return service({ + url: '/api/createApi', + method: 'post', + data + }) +} + +// @Tags menu +// @Summary 根据id获取菜单 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.GetById true "根据id获取菜单" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /menu/getApiById [post] +export const getApiById = (data) => { + return service({ + url: '/api/getApiById', + method: 'post', + data + }) +} + +// @Tags Api +// @Summary 更新api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.CreateApiParams true "更新api" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /api/updateApi [post] +export const updateApi = (data) => { + return service({ + url: '/api/updateApi', + method: 'post', + data + }) +} + +// @Tags Api +// @Summary 更新api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.CreateApiParams true "更新api" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /api/setAuthApi [post] +export const setAuthApi = (data) => { + return service({ + url: '/api/setAuthApi', + method: 'post', + data + }) +} + +// @Tags Api +// @Summary 获取所有的Api 不分页 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /api/getAllApis [post] +export const getAllApis = (data) => { + return service({ + url: '/api/getAllApis', + method: 'post', + data + }) +} + +// @Tags Api +// @Summary 删除指定api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body dbModel.Api true "删除api" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /api/deleteApi [post] +export const deleteApi = (data) => { + return service({ + url: '/api/deleteApi', + method: 'post', + data + }) +} + +// @Tags SysApi +// @Summary 删除选中Api +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "ID" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /api/deleteApisByIds [delete] +export const deleteApisByIds = (data) => { + return service({ + url: '/api/deleteApisByIds', + method: 'delete', + data + }) +} + +// FreshCasbin +// @Tags SysApi +// @Summary 刷新casbin缓存 +// @accept application/json +// @Produce application/json +// @Success 200 {object} response.Response{msg=string} "刷新成功" +// @Router /api/freshCasbin [get] +export const freshCasbin = () => { + return service({ + url: '/api/freshCasbin', + method: 'get' + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/authority.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/authority.js new file mode 100644 index 000000000..040127320 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/authority.js @@ -0,0 +1,85 @@ +import service from '@/utils/request' +// @Router /authority/getAuthorityList [post] +export const getAuthorityList = (data) => { + return service({ + url: '/authority/getAuthorityList', + method: 'post', + data + }) +} + +// @Summary 删除角色 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body {authorityId uint} true "删除角色" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /authority/deleteAuthority [post] +export const deleteAuthority = (data) => { + return service({ + url: '/authority/deleteAuthority', + method: 'post', + data + }) +} + +// @Summary 创建角色 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.CreateAuthorityPatams true "创建角色" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /authority/createAuthority [post] +export const createAuthority = (data) => { + return service({ + url: '/authority/createAuthority', + method: 'post', + data + }) +} + +// @Tags authority +// @Summary 拷贝角色 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.CreateAuthorityPatams true "拷贝角色" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"拷贝成功"}" +// @Router /authority/copyAuthority [post] +export const copyAuthority = (data) => { + return service({ + url: '/authority/copyAuthority', + method: 'post', + data + }) +} + +// @Summary 设置角色资源权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body sysModel.SysAuthority true "设置角色资源权限" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"设置成功"}" +// @Router /authority/setDataAuthority [post] +export const setDataAuthority = (data) => { + return service({ + url: '/authority/setDataAuthority', + method: 'post', + data + }) +} + +// @Summary 修改角色 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysAuthority true "修改角色" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"设置成功"}" +// @Router /authority/setDataAuthority [post] +export const updateAuthority = (data) => { + return service({ + url: '/authority/updateAuthority', + method: 'put', + data + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/authorityBtn.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/authorityBtn.js new file mode 100644 index 000000000..9fe73bf42 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/authorityBtn.js @@ -0,0 +1,27 @@ + +import service from '@/utils/request' + +export const getAuthorityBtnApi = (data) => { + return service({ + url: '/authorityBtn/getAuthorityBtn', + method: 'post', + data + }) +} + +export const setAuthorityBtnApi = (data) => { + return service({ + url: '/authorityBtn/setAuthorityBtn', + method: 'post', + data + }) +} + +export const canRemoveAuthorityBtnApi = (params) => { + return service({ + url: '/authorityBtn/canRemoveAuthorityBtn', + method: 'post', + params + }) +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/autoCode.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/autoCode.js new file mode 100644 index 000000000..abf1924e0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/autoCode.js @@ -0,0 +1,142 @@ +import service from '@/utils/request' + +export const preview = (data) => { + return service({ + url: '/autoCode/preview', + method: 'post', + data + }) +} + +export const createTemp = (data) => { + return service({ + url: '/autoCode/createTemp', + method: 'post', + data, + responseType: 'blob' + }) +} + +// @Tags SysApi +// @Summary 获取当前所有数据库 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /autoCode/getDatabase [get] +export const getDB = (params) => { + return service({ + url: '/autoCode/getDB', + method: 'get', + params + }) +} + +// @Tags SysApi +// @Summary 获取当前数据库所有表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /autoCode/getTables [get] +export const getTable = (params) => { + return service({ + url: '/autoCode/getTables', + method: 'get', + params + }) +} + +// @Tags SysApi +// @Summary 获取当前数据库所有表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /autoCode/getColumn [get] +export const getColumn = (params) => { + return service({ + url: '/autoCode/getColumn', + method: 'get', + params + }) +} + +export const getSysHistory = (data) => { + return service({ + url: '/autoCode/getSysHistory', + method: 'post', + data + }) +} + +export const rollback = (data) => { + return service({ + url: '/autoCode/rollback', + method: 'post', + data + }) +} + +export const getMeta = (data) => { + return service({ + url: '/autoCode/getMeta', + method: 'post', + data + }) +} + +export const delSysHistory = (data) => { + return service({ + url: '/autoCode/delSysHistory', + method: 'post', + data + }) +} + +export const createPackageApi = (data) => { + return service({ + url: '/autoCode/createPackage', + method: 'post', + data + }) +} + +export const getPackageApi = () => { + return service({ + url: '/autoCode/getPackage', + method: 'post' + }) +} + +export const deletePackageApi = (data) => { + return service({ + url: '/autoCode/delPackage', + method: 'post', + data + }) +} + +export const createPlugApi = (data) => { + return service({ + url: '/autoCode/createPlug', + method: 'post', + data + }) +} + +export const installPlug = (data) => { + return service({ + url: '/autoCode/installPlug', + method: 'post', + data + }) +} + +export const pubPlug = (params) => { + return service({ + url: '/autoCode/pubPlug', + method: 'post', + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/breakpoint.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/breakpoint.js new file mode 100644 index 000000000..1dbfba23e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/breakpoint.js @@ -0,0 +1,43 @@ +import service from '@/utils/request' +// @Summary 设置角色资源权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body sysModel.SysAuthority true "设置角色资源权限" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"设置成功"}" +// @Router /authority/setDataAuthority [post] + +export const findFile = (params) => { + return service({ + url: '/fileUploadAndDownload/findFile', + method: 'get', + params + }) +} + +export const breakpointContinue = (data) => { + return service({ + url: '/fileUploadAndDownload/breakpointContinue', + method: 'post', + donNotShowLoading: true, + headers: { 'Content-Type': 'multipart/form-data' }, + data + }) +} + +export const breakpointContinueFinish = (params) => { + return service({ + url: '/fileUploadAndDownload/breakpointContinueFinish', + method: 'post', + params + }) +} + +export const removeChunk = (data, params) => { + return service({ + url: '/fileUploadAndDownload/removeChunk', + method: 'post', + data, + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/casbin.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/casbin.js new file mode 100644 index 000000000..802e13006 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/casbin.js @@ -0,0 +1,32 @@ +import service from '@/utils/request' +// @Tags authority +// @Summary 更改角色api权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.CreateAuthorityPatams true "更改角色api权限" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /casbin/UpdateCasbin [post] +export const UpdateCasbin = (data) => { + return service({ + url: '/casbin/updateCasbin', + method: 'post', + data + }) +} + +// @Tags casbin +// @Summary 获取权限列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.CreateAuthorityPatams true "获取权限列表" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /casbin/getPolicyPathByAuthorityId [post] +export const getPolicyPathByAuthorityId = (data) => { + return service({ + url: '/casbin/getPolicyPathByAuthorityId', + method: 'post', + data + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/chatgpt.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/chatgpt.js new file mode 100644 index 000000000..a8a2ddc25 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/chatgpt.js @@ -0,0 +1,31 @@ +import service from '@/utils/request' + +export const getTableApi = (data) => { + return service({ + url: '/chatGpt/getTable', + method: 'post', + data + }) +} + +export const createSKApi = (data) => { + return service({ + url: '/chatGpt/createSK', + method: 'post', + data + }) +} + +export const getSKApi = () => { + return service({ + url: '/chatGpt/getSK', + method: 'get', + }) +} + +export const deleteSKApi = () => { + return service({ + url: '/chatGpt/deleteSK', + method: 'delete' + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/customer.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/customer.js new file mode 100644 index 000000000..4776f1c09 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/customer.js @@ -0,0 +1,80 @@ +import service from '@/utils/request' +// @Tags SysApi +// @Summary 删除客户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body dbModel.ExaCustomer true "删除客户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /customer/customer [post] +export const createExaCustomer = (data) => { + return service({ + url: '/customer/customer', + method: 'post', + data + }) +} + +// @Tags SysApi +// @Summary 更新客户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body dbModel.ExaCustomer true "更新客户信息" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /customer/customer [put] +export const updateExaCustomer = (data) => { + return service({ + url: '/customer/customer', + method: 'put', + data + }) +} + +// @Tags SysApi +// @Summary 创建客户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body dbModel.ExaCustomer true "创建客户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /customer/customer [delete] +export const deleteExaCustomer = (data) => { + return service({ + url: '/customer/customer', + method: 'delete', + data + }) +} + +// @Tags SysApi +// @Summary 获取单一客户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body dbModel.ExaCustomer true "获取单一客户信息" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /customer/customer [get] +export const getExaCustomer = (params) => { + return service({ + url: '/customer/customer', + method: 'get', + params + }) +} + +// @Tags SysApi +// @Summary 获取权限客户列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body modelInterface.PageInfo true "获取权限客户列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /customer/customerList [get] +export const getExaCustomerList = (params) => { + return service({ + url: '/customer/customerList', + method: 'get', + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/email.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/email.js new file mode 100644 index 000000000..c2f16f430 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/email.js @@ -0,0 +1,14 @@ +import service from '@/utils/request' +// @Tags email +// @Summary 发送测试邮件 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}" +// @Router /email/emailTest [post] +export const emailTest = (data) => { + return service({ + url: '/email/emailTest', + method: 'post', + data + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/fileUploadAndDownload.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/fileUploadAndDownload.js new file mode 100644 index 000000000..e685e1dda --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/fileUploadAndDownload.js @@ -0,0 +1,73 @@ +import service from '@/utils/request' +// @Tags FileUploadAndDownload +// @Summary 分页文件列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body modelInterface.PageInfo true "分页获取文件户列表" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /fileUploadAndDownload/getFileList [post] +export const getFileList = (data) => { + return service({ + url: '/fileUploadAndDownload/getFileList', + method: 'post', + data + }) +} + +// @Tags FileUploadAndDownload +// @Summary 删除文件 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body dbModel.FileUploadAndDownload true "传入文件里面id即可" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"返回成功"}" +// @Router /fileUploadAndDownload/deleteFile [post] +export const deleteFile = (data) => { + return service({ + url: '/fileUploadAndDownload/deleteFile', + method: 'post', + data + }) +} + +/** + * 编辑文件名或者备注 + * @param data + * @returns {*} + */ +export const editFileName = (data) => { + return service({ + url: '/fileUploadAndDownload/editFileName', + method: 'post', + data + }) +} + +/* +用户版权查询 +*/ +export const SelectByUser = (data) => { + return service({ + url: '/fileUploadAndDownload/getFileListofUser', + method: 'post', + data + }) +} + +/* +用户详细信息查询 +*/ +export const getDetail = (url_data) => { + return service({ + url: '/fileUploadAndDownload/findDetail?Url=' + url_data, + method: 'get', + }) +} + +export const doPurchase = (data) => { + return service({ + url: '/fileUploadAndDownload/transfer', + method: 'post', + data + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/github.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/github.js new file mode 100644 index 000000000..4dc4eed58 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/github.js @@ -0,0 +1,17 @@ +import axios from 'axios' + +const service = axios.create() + +export function Commits(page) { + return service({ + url: 'https://api.github.com/repos/flipped-aurora/gin-vue-admin/commits?page=' + page, + method: 'get' + }) +} + +export function Members() { + return service({ + url: 'https://api.github.com/orgs/FLIPPED-AURORA/members', + method: 'get' + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/img2img.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/img2img.js new file mode 100644 index 000000000..c7716cb33 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/img2img.js @@ -0,0 +1,123 @@ +import service from '@/utils/request' +import bservice from '@/utils/brequest' + + +// @Tags Img2img +// @Summary 创建图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.Img2img true "创建图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /img2img/createImg2img [post] +export const createImg2img = (data) => { + return service({ + url: '/img2img/createImg2img', + method: 'post', + data + }) +} + +// @Tags Img2img +// @Summary 删除图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.Img2img true "删除图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /img2img/deleteImg2img [delete] +export const deleteImg2img = (data) => { + return service({ + url: '/img2img/deleteImg2img', + method: 'delete', + data + }) +} + +// @Tags Img2img +// @Summary 批量删除图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "批量删除图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /img2img/deleteImg2img [delete] +export const deleteImg2imgByIds = (data) => { + return service({ + url: '/img2img/deleteImg2imgByIds', + method: 'delete', + data + }) +} + +// @Tags Img2img +// @Summary 更新图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.Img2img true "更新图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /img2img/updateImg2img [put] +export const updateImg2img = (data) => { + return service({ + url: '/img2img/updateImg2img', + method: 'put', + data + }) +} + +// @Tags Img2img +// @Summary 用id查询图生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query model.Img2img true "用id查询图生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /img2img/findImg2img [get] +export const findImg2img = (params) => { + return service({ + url: '/img2img/findImg2img', + method: 'get', + params + }) +} + +// @Tags Img2img +// @Summary 分页获取图生图列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query request.PageInfo true "分页获取图生图列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /img2img/getImg2imgList [get] +export const getImg2imgList = (params) => { + return service({ + url: '/img2img/getImg2imgList', + method: 'get', + params + }) +} +// @Tags txt2img +// @Summary 创建文生图 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.Img2img true "创建文生图" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /img2img/createImg2img [post] +export const txt2img = (data) => { + console.log("bservice") + return bservice({ + url: '/aaaa/v1/txt2img', // 接口地址 + method: 'post', // 请求方法 + data: data, // 参数数据 + }) +} + +// export function aigc_API(url,data) { +// return aigc_service({ +// url: url, // 接口地址 +// method: 'post', // 请求方法 +// data: data, // 参数数据 +// }) +// } \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/initdb.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/initdb.js new file mode 100644 index 000000000..ff009c769 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/initdb.js @@ -0,0 +1,26 @@ +import service from '@/utils/request' +// @Tags InitDB +// @Summary 初始化用户数据库 +// @Produce application/json +// @Param data body request.InitDB true "初始化数据库参数" +// @Success 200 {string} string "{"code":0,"data":{},"msg":"自动创建数据库成功"}" +// @Router /init/initdb [post] +export const initDB = (data) => { + return service({ + url: '/init/initdb', + method: 'post', + data + }) +} + +// @Tags CheckDB +// @Summary 初始化用户数据库 +// @Produce application/json +// @Success 200 {string} string "{"code":0,"data":{},"msg":"探测完成"}" +// @Router /init/checkdb [post] +export const checkDB = () => { + return service({ + url: '/init/checkdb', + method: 'post' + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/jwt.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/jwt.js new file mode 100644 index 000000000..811ffc4f4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/jwt.js @@ -0,0 +1,14 @@ +import service from '@/utils/request' +// @Tags jwt +// @Summary jwt加入黑名单 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"拉黑成功"}" +// @Router /jwt/jsonInBlacklist [post] +export const jsonInBlacklist = () => { + return service({ + url: '/jwt/jsonInBlacklist', + method: 'post' + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/menu.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/menu.js new file mode 100644 index 000000000..163b5a697 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/menu.js @@ -0,0 +1,113 @@ +import service from '@/utils/request' +// @Summary 用户登录 获取动态路由 +// @Produce application/json +// @Param 可以什么都不填 调一下即可 +// @Router /menu/getMenu [post] +export const asyncMenu = () => { + return service({ + url: '/menu/getMenu', + method: 'post' + }) +} + +// @Summary 获取menu列表 +// @Produce application/json +// @Param { +// page int +// pageSize int +// } +// @Router /menu/getMenuList [post] +export const getMenuList = (data) => { + return service({ + url: '/menu/getMenuList', + method: 'post', + data + }) +} + +// @Summary 新增基础menu +// @Produce application/json +// @Param menu Object +// @Router /menu/getMenuList [post] +export const addBaseMenu = (data) => { + return service({ + url: '/menu/addBaseMenu', + method: 'post', + data + }) +} + +// @Summary 获取基础路由列表 +// @Produce application/json +// @Param 可以什么都不填 调一下即可 +// @Router /menu/getBaseMenuTree [post] +export const getBaseMenuTree = () => { + return service({ + url: '/menu/getBaseMenuTree', + method: 'post' + }) +} + +// @Summary 添加用户menu关联关系 +// @Produce application/json +// @Param menus Object authorityId string +// @Router /menu/getMenuList [post] +export const addMenuAuthority = (data) => { + return service({ + url: '/menu/addMenuAuthority', + method: 'post', + data + }) +} + +// @Summary 获取用户menu关联关系 +// @Produce application/json +// @Param authorityId string +// @Router /menu/getMenuAuthority [post] +export const getMenuAuthority = (data) => { + return service({ + url: '/menu/getMenuAuthority', + method: 'post', + data + }) +} + +// @Summary 删除menu +// @Produce application/json +// @Param ID float64 +// @Router /menu/deleteBaseMenu [post] +export const deleteBaseMenu = (data) => { + return service({ + url: '/menu/deleteBaseMenu', + method: 'post', + data + }) +} + +// @Summary 修改menu列表 +// @Produce application/json +// @Param menu Object +// @Router /menu/updateBaseMenu [post] +export const updateBaseMenu = (data) => { + return service({ + url: '/menu/updateBaseMenu', + method: 'post', + data + }) +} + +// @Tags menu +// @Summary 根据id获取菜单 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.GetById true "根据id获取菜单" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /menu/getBaseMenuById [post] +export const getBaseMenuById = (data) => { + return service({ + url: '/menu/getBaseMenuById', + method: 'post', + data + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysDictionary.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysDictionary.js new file mode 100644 index 000000000..f5d6c8620 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysDictionary.js @@ -0,0 +1,80 @@ +import service from '@/utils/request' +// @Tags SysDictionary +// @Summary 创建SysDictionary +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysDictionary true "创建SysDictionary" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /sysDictionary/createSysDictionary [post] +export const createSysDictionary = (data) => { + return service({ + url: '/sysDictionary/createSysDictionary', + method: 'post', + data + }) +} + +// @Tags SysDictionary +// @Summary 删除SysDictionary +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysDictionary true "删除SysDictionary" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /sysDictionary/deleteSysDictionary [delete] +export const deleteSysDictionary = (data) => { + return service({ + url: '/sysDictionary/deleteSysDictionary', + method: 'delete', + data + }) +} + +// @Tags SysDictionary +// @Summary 更新SysDictionary +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysDictionary true "更新SysDictionary" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /sysDictionary/updateSysDictionary [put] +export const updateSysDictionary = (data) => { + return service({ + url: '/sysDictionary/updateSysDictionary', + method: 'put', + data + }) +} + +// @Tags SysDictionary +// @Summary 用id查询SysDictionary +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysDictionary true "用id查询SysDictionary" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /sysDictionary/findSysDictionary [get] +export const findSysDictionary = (params) => { + return service({ + url: '/sysDictionary/findSysDictionary', + method: 'get', + params + }) +} + +// @Tags SysDictionary +// @Summary 分页获取SysDictionary列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.PageInfo true "分页获取SysDictionary列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /sysDictionary/getSysDictionaryList [get] +export const getSysDictionaryList = (params) => { + return service({ + url: '/sysDictionary/getSysDictionaryList', + method: 'get', + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysDictionaryDetail.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysDictionaryDetail.js new file mode 100644 index 000000000..d4f877224 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysDictionaryDetail.js @@ -0,0 +1,80 @@ +import service from '@/utils/request' +// @Tags SysDictionaryDetail +// @Summary 创建SysDictionaryDetail +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysDictionaryDetail true "创建SysDictionaryDetail" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /sysDictionaryDetail/createSysDictionaryDetail [post] +export const createSysDictionaryDetail = (data) => { + return service({ + url: '/sysDictionaryDetail/createSysDictionaryDetail', + method: 'post', + data + }) +} + +// @Tags SysDictionaryDetail +// @Summary 删除SysDictionaryDetail +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysDictionaryDetail true "删除SysDictionaryDetail" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /sysDictionaryDetail/deleteSysDictionaryDetail [delete] +export const deleteSysDictionaryDetail = (data) => { + return service({ + url: '/sysDictionaryDetail/deleteSysDictionaryDetail', + method: 'delete', + data + }) +} + +// @Tags SysDictionaryDetail +// @Summary 更新SysDictionaryDetail +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysDictionaryDetail true "更新SysDictionaryDetail" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /sysDictionaryDetail/updateSysDictionaryDetail [put] +export const updateSysDictionaryDetail = (data) => { + return service({ + url: '/sysDictionaryDetail/updateSysDictionaryDetail', + method: 'put', + data + }) +} + +// @Tags SysDictionaryDetail +// @Summary 用id查询SysDictionaryDetail +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysDictionaryDetail true "用id查询SysDictionaryDetail" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /sysDictionaryDetail/findSysDictionaryDetail [get] +export const findSysDictionaryDetail = (params) => { + return service({ + url: '/sysDictionaryDetail/findSysDictionaryDetail', + method: 'get', + params + }) +} + +// @Tags SysDictionaryDetail +// @Summary 分页获取SysDictionaryDetail列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.PageInfo true "分页获取SysDictionaryDetail列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /sysDictionaryDetail/getSysDictionaryDetailList [get] +export const getSysDictionaryDetailList = (params) => { + return service({ + url: '/sysDictionaryDetail/getSysDictionaryDetailList', + method: 'get', + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysOperationRecord.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysOperationRecord.js new file mode 100644 index 000000000..4428c036f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/sysOperationRecord.js @@ -0,0 +1,48 @@ +import service from '@/utils/request' +// @Tags SysOperationRecord +// @Summary 删除SysOperationRecord +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysOperationRecord true "删除SysOperationRecord" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /sysOperationRecord/deleteSysOperationRecord [delete] +export const deleteSysOperationRecord = (data) => { + return service({ + url: '/sysOperationRecord/deleteSysOperationRecord', + method: 'delete', + data + }) +} + +// @Tags SysOperationRecord +// @Summary 删除SysOperationRecord +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "删除SysOperationRecord" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /sysOperationRecord/deleteSysOperationRecord [delete] +export const deleteSysOperationRecordByIds = (data) => { + return service({ + url: '/sysOperationRecord/deleteSysOperationRecordByIds', + method: 'delete', + data + }) +} + +// @Tags SysOperationRecord +// @Summary 分页获取SysOperationRecord列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.PageInfo true "分页获取SysOperationRecord列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /sysOperationRecord/getSysOperationRecordList [get] +export const getSysOperationRecordList = (params) => { + return service({ + url: '/sysOperationRecord/getSysOperationRecordList', + method: 'get', + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/system.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/system.js new file mode 100644 index 000000000..27b715e86 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/system.js @@ -0,0 +1,42 @@ +import service from '@/utils/request' +// @Tags systrm +// @Summary 获取配置文件内容 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}" +// @Router /system/getSystemConfig [post] +export const getSystemConfig = () => { + return service({ + url: '/system/getSystemConfig', + method: 'post' + }) +} + +// @Tags system +// @Summary 设置配置文件内容 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body sysModel.System true +// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}" +// @Router /system/setSystemConfig [post] +export const setSystemConfig = (data) => { + return service({ + url: '/system/setSystemConfig', + method: 'post', + data + }) +} + +// @Tags system +// @Summary 获取服务器运行状态 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}" +// @Router /system/getServerInfo [post] +export const getSystemState = () => { + return service({ + url: '/system/getServerInfo', + method: 'post', + donNotShowLoading: true + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/user.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/user.js new file mode 100644 index 000000000..857b54349 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/user.js @@ -0,0 +1,181 @@ +import service from '@/utils/request' +import { useUserStore } from '@/pinia/modules/user' + +// @Summary 用户登录 +// @Produce application/json +// @Param data body {username:"string",password:"string"} +// @Router /base/login [post] +export const login = (data) => { + return service({ + url: '/base/login', + method: 'post', + data: data + }) +} + +// @Summary 获取验证码 +// @Produce application/json +// @Param data body {username:"string",password:"string"} +// @Router /base/captcha [post] +export const captcha = (data) => { + return service({ + url: '/base/captcha', + method: 'post', + data: data + }) +} + +// @Summary 用户注册 +// @Produce application/json +// @Param data body {username:"string",password:"string"} +// @Router /base/resige [post] +export const register = (data) => { + return service({ + url: '/user/admin_register', + method: 'post', + data: data + }) +} + +// @Summary 修改密码 +// @Produce application/json +// @Param data body {username:"string",password:"string",newPassword:"string"} +// @Router /user/changePassword [post] +export const changePassword = (data) => { + return service({ + url: '/user/changePassword', + method: 'post', + data: data + }) +} + +// @Tags User +// @Summary 分页获取用户列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body modelInterface.PageInfo true "分页获取用户列表" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /user/getUserList [post] +export const getUserList = (data) => { + return service({ + url: '/user/getUserList', + method: 'post', + data: data + }) +} + +// @Tags User +// @Summary 设置用户权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.SetUserAuth true "设置用户权限" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"修改成功"}" +// @Router /user/setUserAuthority [post] +export const setUserAuthority = (data) => { + return service({ + url: '/user/setUserAuthority', + method: 'post', + data: data + }) +} + +// @Tags SysUser +// @Summary 删除用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.SetUserAuth true "删除用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}" +// @Router /user/deleteUser [delete] +export const deleteUser = (data) => { + return service({ + url: '/user/deleteUser', + method: 'delete', + data: data + }) +} + +// @Tags SysUser +// @Summary 设置用户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysUser true "设置用户信息" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}" +// @Router /user/setUserInfo [put] +export const setUserInfo = (data) => { + return service({ + url: '/user/setUserInfo', + method: 'put', + data: data + }) +} + +// @Tags SysUser +// @Summary 设置用户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.SysUser true "设置用户信息" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}" +// @Router /user/setSelfInfo [put] +export const setSelfInfo = (data) => { + return service({ + url: '/user/setSelfInfo', + method: 'put', + data: data + }) +} + +// @Tags User +// @Summary 设置用户权限 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body api.setUserAuthorities true "设置用户权限" +// @Success 200 {string} json "{"success":true,"data":{},"msg":"修改成功"}" +// @Router /user/setUserAuthorities [post] +export const setUserAuthorities = (data) => { + return service({ + url: '/user/setUserAuthorities', + method: 'post', + data: data + }) +} + +// @Tags User +// @Summary 获取用户信息 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /user/getUserInfo [get] +export const getUserInfo = () => { + return service({ + url: '/user/getUserInfo', + method: 'get' + }); +} + +export const resetPassword = (data) => { + return service({ + url: '/user/resetPassword', + method: 'post', + data: data + }) +} + + +//获取用户余额 +export const getMoreInfo = (nickName) => { + console.log(nickName) + return service({ + url: '/chainuse/findUserchain?name=' + nickName, + method: 'get', + }) +} + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/userBlock.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/userBlock.js new file mode 100644 index 000000000..7152eae36 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/userBlock.js @@ -0,0 +1,97 @@ +import service from '@/utils/request' + +// @Tags UserBlock +// @Summary 创建区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.UserBlock true "创建区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /blockuser/createUserBlock [post] +export const createUserBlock = (data) => { + return service({ + url: '/blockuser/createUserBlock', + method: 'post', + data + }) +} + +// @Tags UserBlock +// @Summary 删除区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.UserBlock true "删除区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /blockuser/deleteUserBlock [delete] +export const deleteUserBlock = (data) => { + return service({ + url: '/blockuser/deleteUserBlock', + method: 'delete', + data + }) +} + +// @Tags UserBlock +// @Summary 批量删除区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "批量删除区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /blockuser/deleteUserBlock [delete] +export const deleteUserBlockByIds = (data) => { + return service({ + url: '/blockuser/deleteUserBlockByIds', + method: 'delete', + data + }) +} + +// @Tags UserBlock +// @Summary 更新区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.UserBlock true "更新区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /blockuser/updateUserBlock [put] +export const updateUserBlock = (data) => { + return service({ + url: '/blockuser/updateUserBlock', + method: 'put', + data + }) +} + +// @Tags UserBlock +// @Summary 用id查询区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query model.UserBlock true "用id查询区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /blockuser/findUserBlock [get] +export const findUserBlock = (params) => { + return service({ + url: '/blockuser/findUserBlock', + method: 'get', + params + }) +} + +// @Tags UserBlock +// @Summary 分页获取区块链用户列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query request.PageInfo true "分页获取区块链用户列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /blockuser/getUserBlockList [get] +export const getUserBlockList = (params) => { + return service({ + url: '/blockuser/getUserBlockList', + method: 'get', + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/userChain.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/userChain.js new file mode 100644 index 000000000..ffc606bba --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/api/userChain.js @@ -0,0 +1,97 @@ +import service from '@/utils/request' + +// @Tags Userchain +// @Summary 创建区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.Userchain true "创建区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" +// @Router /chainuse/createUserchain [post] +export const createUserchain = (data) => { + return service({ + url: '/chainuse/createUserchain', + method: 'post', + data + }) +} + +// @Tags Userchain +// @Summary 删除区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.Userchain true "删除区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /chainuse/deleteUserchain [delete] +export const deleteUserchain = (data) => { + return service({ + url: '/chainuse/deleteUserchain', + method: 'delete', + data + }) +} + +// @Tags Userchain +// @Summary 批量删除区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body request.IdsReq true "批量删除区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" +// @Router /chainuse/deleteUserchain [delete] +export const deleteUserchainByIds = (data) => { + return service({ + url: '/chainuse/deleteUserchainByIds', + method: 'delete', + data + }) +} + +// @Tags Userchain +// @Summary 更新区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data body model.Userchain true "更新区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" +// @Router /chainuse/updateUserchain [put] +export const updateUserchain = (data) => { + return service({ + url: '/chainuse/updateUserchain', + method: 'put', + data + }) +} + +// @Tags Userchain +// @Summary 用id查询区块链用户 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query model.Userchain true "用id查询区块链用户" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" +// @Router /chainuse/findUserchain [get] +export const findUserchain = (params) => { + return service({ + url: '/chainuse/findUserchain', + method: 'get', + params + }) +} + +// @Tags Userchain +// @Summary 分页获取区块链用户列表 +// @Security ApiKeyAuth +// @accept application/json +// @Produce application/json +// @Param data query request.PageInfo true "分页获取区块链用户列表" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" +// @Router /chainuse/getUserchainList [get] +export const getUserchainList = (params) => { + return service({ + url: '/chainuse/getUserchainList', + method: 'get', + params + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/background.svg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/background.svg new file mode 100644 index 000000000..7375bb59d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/background.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/dashboard.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/dashboard.png new file mode 100644 index 000000000..64981d0d0 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/dashboard.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/docs.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/docs.png new file mode 100644 index 000000000..bb98d6e09 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/docs.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/flipped-aurora.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/flipped-aurora.png new file mode 100644 index 000000000..c94033bd2 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/flipped-aurora.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/github.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/github.png new file mode 100644 index 000000000..d1d200ed1 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/github.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/kefu.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/kefu.png new file mode 100644 index 000000000..47cab15b6 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/kefu.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_background.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_background.jpg new file mode 100644 index 000000000..e601f24af Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_background.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_background.svg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_background.svg new file mode 100644 index 000000000..0a9514b58 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_background.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_left.svg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_left.svg new file mode 100644 index 000000000..9c48b0b15 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_left.svg @@ -0,0 +1,123 @@ + + + 搭建网站 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_right_banner.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_right_banner.jpg new file mode 100644 index 000000000..0a597c155 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/login_right_banner.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo.jpg b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo.jpg new file mode 100644 index 000000000..09502d587 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo.jpg differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo.png new file mode 100644 index 000000000..b497ee073 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo_login.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo_login.png new file mode 100644 index 000000000..e330458ea Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/logo_login.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/nav_logo.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/nav_logo.png new file mode 100644 index 000000000..468cdabe6 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/nav_logo.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/noBody.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/noBody.png new file mode 100644 index 000000000..e16488e45 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/noBody.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/notFound.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/notFound.png new file mode 100644 index 000000000..59ca9f004 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/notFound.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/qm.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/qm.png new file mode 100644 index 000000000..9f598ca8d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/qm.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/video.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/video.png new file mode 100644 index 000000000..af4d35f4d Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/assets/video.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/chooseImg/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/chooseImg/index.vue new file mode 100644 index 000000000..71d56dbdc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/chooseImg/index.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/commandMenu/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/commandMenu/index.vue new file mode 100644 index 000000000..3389de016 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/commandMenu/index.vue @@ -0,0 +1,196 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/customPic/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/customPic/index.vue new file mode 100644 index 000000000..638223044 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/customPic/index.vue @@ -0,0 +1,104 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/Charts.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/Charts.vue new file mode 100644 index 000000000..6f93183cb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/Charts.vue @@ -0,0 +1,268 @@ + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/Keywords.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/Keywords.vue new file mode 100644 index 000000000..b8fece618 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/Keywords.vue @@ -0,0 +1,172 @@ + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/KnowledgeGraph.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/KnowledgeGraph.vue new file mode 100644 index 000000000..0f3be13f4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/KnowledgeGraph.vue @@ -0,0 +1,123 @@ + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/data.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/data.js new file mode 100644 index 000000000..f25bce617 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/data.js @@ -0,0 +1,330 @@ +export const data = [ + { + id: 10000, + name: '文物', + categary: '', + children: [ + { + id: 2, + name: '三星堆', + categary: '' + }, + { + id: 3, + name: '古器物', + categary: '', + children: [ + { + id: 30101, + name: '瓷器', + categary: '', + children: [ + { + id: 3010101, + name: '青花瓷', + categary: '' + }, + { + id: 3010102, + name: '白瓷', + categary: '' + }, + { + id: 3010103, + name: '黑瓷', + categary: '' + }, + { + id: 3010104, + name: '珐琅彩', + categary: '' + } + ] + }, + { + id: 30102, + name: '陶器', + categary: '' + }, + { + id: 30103, + name: '石器', + categary: '' + }, + { + id: 30104, + name: '骨器', + categary: '' + } + ] + }, + { + id: 4, + name: '书卷', + categary: '', + children: [ + { + id: 30401, + name: '四大名著', + categary: '' + }, + { + id: 30402, + name: '永乐大典', + categary: '' + }, + { + id: 30403, + name: '多宝塔碑', + categary: '' + }, + { + id: 30404, + name: '兰亭集序', + categary: '' + } + ] + } + ] + }, + { + id: 20000, + name: '动物形象', + categary: '', + children: [ + { + id: 1599811251651, + name: '龙', + categary: '' + }, + { + id: 1599811251652, + name: '凤凰', + categary: '' + }, + { + id: 1599811251653, + name: '牛', + categary: '' + }, + { + id: 1599811251654, + name: '马', + categary: '' + }, + { + id: 1599811251655, + name: '羊', + categary: '' + }, + { + id: 1599811251656, + name: '鹤', + categary: '' + } + ] + }, + { + id: 30000, + name: '文艺经典', + categary: '', + children: [ + { + id: 1599811494936, + name: '小说', + categary: '' + }, + { + id: 1599811494937, + name: '戏剧', + categary: '' + }, + { + id: 1599811494938, + name: '唐诗', + categary: '' + }, + { + id: 1599811494939, + name: '宋词', + categary: '' + }, + { + id: 1599811494930, + name: '元曲', + categary: '' + }, + { + id: 1599811494931, + name: '绘画', + categary: '' + } + ] + }, + { + id: 90000, + name: '机器人', + categary: '', + children: [ + { + id: 1599814026913, + name: 'Robot', + categary: '' + }, + { + id: 1599814026914, + name: '自动执行工作的机器装置', + categary: '' + }, + { + id: 1599814026915, + name: '人工智能技术', + categary: '' + }, + { + id: 1599814026916, + name: '微型计算机', + categary: '' + }, + { + id: 1599814026917, + name: '电能', + categary: '' + } + ] + }, + { + id: 90010, + name: '景点', + categary: '', + children: [ + { + id: 1599814026922, + name: '北京', + categary: '' + }, + { + id: 1599814026923, + name: '江苏', + categary: '' + }, + { + id: 1599814026924, + name: '上海', + categary: '' + }, + { + id: 1599814026925, + name: '山东', + categary: '' + }, + { + id: 1599814026926, + name: '山西', + categary: '' + } + ] + }, + { + id: 90020, + name: '电影', + categary: '', + children: [ + { + id: 1599814026931, + name: '动作电影', + categary: '' + }, + { + id: 1599814026932, + name: '推理电影', + categary: '' + }, + { + id: 1599814026933, + name: '悬疑电影', + categary: '' + }, + { + id: 1599814026934, + name: '恐怖电影', + categary: '' + }, + { + id: 1599814026935, + name: '喜剧电影', + categary: '' + } + ] + }, + { + id: 90020, + name: '流行元素', + categary: '', + children: [ + { + id: 1599814026941, + name: '爆炸', + categary: '' + }, + { + id: 1599814026942, + name: '涂鸦', + categary: '' + }, + { + id: 1599814026943, + name: '气球', + categary: '' + }, + { + id: 1599814026944, + name: '羽毛', + categary: '' + }, + { + id: 1599814026945, + name: '闪光', + categary: '' + } + ] + }, + { + id: 90020, + name: '歌曲', + categary: '', + children: [ + { + id: 1599814026951, + name: '流行', + categary: '' + }, + { + id: 1599814026952, + name: '摇滚', + categary: '' + }, + { + id: 1599814026953, + name: '爵士', + categary: '' + }, + { + id: 1599814026954, + name: '古典', + categary: '' + }, + { + id: 1599814026955, + name: '弦乐', + categary: '' + } + ] + } +]; + +export const categarys = ["文物","动物形象","文艺经典","机器人","景点","电影","流行元素","歌曲"] + +export function addCategarys(){ + categarys.push('红色经典'); +} \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/mock.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/mock.js new file mode 100644 index 000000000..88a72b497 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/knowledgeGraph/mock.js @@ -0,0 +1,75 @@ +import { data } from './data' + +/** + * 图谱数据源 + */ + + + +/** + * 模糊查询大类 + * @param {*} name + */ +export const search = (name)=>{ + return new Promise((resolve,reject)=>{ + let result = [] + let list = data.filter(item=>item.name.indexOf(name)>=0) + if(list&&list.length>0){ + result = list||[] + } + if(result.length>0){ + resolve(result) + }else{ + reject() + } + }) +} + +/** + * 点击节点展开 + * @param {*} id + */ +export const expendNodes = (id)=>{ + return new Promise((resolve,reject)=>{ + let totalList = [] + //拆除来所有的children到第一层 + data.forEach(item=>{ + getDeepChildrens(totalList,item,0) + }) + + let list = [] + for(let item of totalList){ + if(item.parentId.toString() === id){ + const {children,...reset} = item + list.push({ + ...reset + }) + } + } + if(list.length>0){ + resolve(list) + }else{ + reject(new Error('节点展开失败')) + } + }) +} + +/** + * 递归数组,把所有children都拆出来到第一层 + * @param {*} list + * @param {*} item + */ +function getDeepChildrens(list,item,parentId){ + const {children,...reset} = item + list.push( + { + ...reset, + parentId, + } + ) + if(children&&children.length>0){ + children.forEach(child=>{ + getDeepChildrens(list,child,item.id) + }) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/docx.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/docx.vue new file mode 100644 index 000000000..36bba79a3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/docx.vue @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/excel.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/excel.vue new file mode 100644 index 000000000..ac449dac6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/excel.vue @@ -0,0 +1,33 @@ + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/index.vue new file mode 100644 index 000000000..e2b773e65 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/index.vue @@ -0,0 +1,57 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/pdf.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/pdf.vue new file mode 100644 index 000000000..8098f06ff --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/office/pdf.vue @@ -0,0 +1,36 @@ + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/richtext/rich-edit.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/richtext/rich-edit.vue new file mode 100644 index 000000000..d642cf585 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/richtext/rich-edit.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/richtext/rich-view.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/richtext/rich-view.vue new file mode 100644 index 000000000..fd6616e4a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/richtext/rich-view.vue @@ -0,0 +1,62 @@ + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/selectFile/selectFile.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/selectFile/selectFile.vue new file mode 100644 index 000000000..768ba8b8b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/selectFile/selectFile.vue @@ -0,0 +1,86 @@ + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/selectImage/selectImage.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/selectImage/selectImage.vue new file mode 100644 index 000000000..7a2a789d2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/selectImage/selectImage.vue @@ -0,0 +1,489 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/upload/common.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/upload/common.vue new file mode 100644 index 000000000..57493c48b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/upload/common.vue @@ -0,0 +1,78 @@ + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/upload/image.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/upload/image.vue new file mode 100644 index 000000000..2eb7e255f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/upload/image.vue @@ -0,0 +1,98 @@ + + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/warningBar/warningBar.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/warningBar/warningBar.vue new file mode 100644 index 000000000..1a88c1e19 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/components/warningBar/warningBar.vue @@ -0,0 +1,33 @@ + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/config.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/config.js new file mode 100644 index 000000000..bae1619fd --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/config.js @@ -0,0 +1,58 @@ +/** + * 网站配置文件 + */ + +const config = { + appName: 'AIGCCM', + appLogo: 'tju.png', + showViteLogo: true +} + +export const viteLogo = (env) => { + if (config.showViteLogo) { + const chalk = require('chalk') + console.log( + chalk.green( + `> 欢迎使用Gin-Vue-Admin,开源地址:https://github.com/flipped-aurora/gin-vue-admin` + ) + ) + console.log( + chalk.green( + `> 当前版本:v2.5.7` + ) + ) + console.log( + chalk.green( + `> 加群方式:微信:shouzi_1994 QQ群:622360840` + ) + ) + console.log( + chalk.green( + `> GVA讨论社区:https://support.qq.com/products/371961` + ) + ) + console.log( + chalk.green( + `> 插件市场:https://plugin.gin-vue-admin.com` + ) + ) + console.log( + chalk.green( + `> 默认自动化文档地址:http://127.0.0.1:${env.VITE_SERVER_PORT}/swagger/index.html` + ) + ) + console.log( + chalk.green( + `> 默认前端文件运行地址:http://127.0.0.1:${env.VITE_CLI_PORT}` + ) + ) + console.log( + chalk.green( + `> 如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/coffee/index.html` + ) + ) + console.log('\n') + } +} + +export default config diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/gin-vue-admin.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/gin-vue-admin.js new file mode 100644 index 000000000..3112b6e81 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/gin-vue-admin.js @@ -0,0 +1,22 @@ +/* + * gin-vue-admin web框架组 + * + * */ +// 加载网站配置文件夹 +import { register } from './global' + +export default { + install: (app) => { + register(app) + console.log(` + 欢迎使用 Gin-Vue-Admin + 当前版本:v2.5.7 + 加群方式:微信:shouzi_1994 QQ群:622360840 + GVA讨论社区:https://support.qq.com/products/371961 + 插件市场:https://plugin.gin-vue-admin.com + 默认自动化文档地址:http://127.0.0.1:${import.meta.env.VITE_SERVER_PORT}/swagger/index.html + 默认前端文件运行地址:http://127.0.0.1:${import.meta.env.VITE_CLI_PORT} + 如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/coffee/index.html + `) + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/global.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/global.js new file mode 100644 index 000000000..0d9c19e3b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/global.js @@ -0,0 +1,13 @@ +import config from './config' + +// 统一导入el-icon图标 +import * as ElIconModules from '@element-plus/icons-vue' +// 导入转换图标名称的函数 + +export const register = (app) => { + // 统一注册el-icon图标 + for (const iconName in ElIconModules) { + app.component(iconName, ElIconModules[iconName]) + } + app.config.globalProperties.$GIN_VUE_ADMIN = config +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/tju.png b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/tju.png new file mode 100644 index 000000000..9433b4700 Binary files /dev/null and b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/core/tju.png differ diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/directive/auth.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/directive/auth.js new file mode 100644 index 000000000..50594d45f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/directive/auth.js @@ -0,0 +1,41 @@ +// 权限按钮展示指令 +import { useUserStore } from '@/pinia/modules/user' +export default { + install: (app) => { + const userStore = useUserStore() + app.directive('auth', { + // 当被绑定的元素插入到 DOM 中时…… + mounted: function(el, binding) { + const userInfo = userStore.userInfo + let type = '' + switch (Object.prototype.toString.call(binding.value)) { + case '[object Array]': + type = 'Array' + break + case '[object String]': + type = 'String' + break + case '[object Number]': + type = 'Number' + break + default: + type = '' + break + } + if (type === '') { + el.parentNode.removeChild(el) + return + } + const waitUse = binding.value.toString().split(',') + let flag = waitUse.some(item => Number(item) === userInfo.authorityId) + if (binding.modifiers.not) { + flag = !flag + } + if (!flag) { + el.parentNode.removeChild(el) + } + } + }) + } +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/main.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/main.js new file mode 100644 index 000000000..fdb0f3440 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/main.js @@ -0,0 +1,46 @@ +import 'element-plus/es/components/message/style/css' +import 'element-plus/es/components/loading/style/css' +import 'element-plus/es/components/notification/style/css' +import 'element-plus/es/components/message-box/style/css' +import './style/element_visiable.scss' +import { createApp } from 'vue' +// 引入gin-vue-admin前端初始化相关内容 +import './core/gin-vue-admin' +// 引入封装的router +import router from '@/router/index' +import '@/permission' +import run from '@/core/gin-vue-admin.js' +import auth from '@/directive/auth' +import { store } from '@/pinia' +import App from './App.vue' +import { initDom } from './utils/positionToCode' + +initDom() +/** + * @description 导入加载进度条,防止首屏加载时间过长,用户等待 + * + * */ +import Nprogress from 'nprogress' +import 'nprogress/nprogress.css' +Nprogress.configure({ showSpinner: false, ease: 'ease', speed: 500 }) +Nprogress.start() + +/** + * 无需在这块结束,会在路由中间件中结束此块内容 + * */ + +const app = createApp(App) +app.config.productionTip = false +app.config.globalProperties.$count = { + name: 'count', + value: 0 +}; + +app + .use(run) + .use(store) + .use(auth) + .use(router) + .mount('#app') + +export default app diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/permission.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/permission.js new file mode 100644 index 000000000..b23dcc827 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/permission.js @@ -0,0 +1,119 @@ +import { useUserStore } from '@/pinia/modules/user' +import { useRouterStore } from '@/pinia/modules/router' +import getPageTitle from '@/utils/page' +import router from '@/router' +import Nprogress from 'nprogress' + +const whiteList = ['Login', 'Init', 'Txt2img', 'Img2img', 'Img2imgForm', 'Test111', 'Search','Transaction'] + +const getRouter = async(userStore) => { + const routerStore = useRouterStore() + await routerStore.SetAsyncRouter() + await userStore.GetUserInfo() + const asyncRouters = routerStore.asyncRouters + asyncRouters.forEach(asyncRouter => { + router.addRoute(asyncRouter) + }) +} + +async function handleKeepAlive(to) { + if (to.matched.some(item => item.meta.keepAlive)) { + if (to.matched && to.matched.length > 2) { + for (let i = 1; i < to.matched.length; i++) { + const element = to.matched[i - 1] + if (element.name === 'layout') { + to.matched.splice(i, 1) + await handleKeepAlive(to) + } + // 如果没有按需加载完成则等待加载 + if (typeof element.components.default === 'function') { + await element.components.default() + await handleKeepAlive(to) + } + } + } + } +} + +router.beforeEach(async(to, from) => { + const routerStore = useRouterStore() + Nprogress.start() + const userStore = useUserStore() + to.meta.matched = [...to.matched] + handleKeepAlive(to) + const token = userStore.token + // 在白名单中的判断情况 + document.title = getPageTitle(to.meta.title, to) + if (whiteList.indexOf(to.name) > -1) { + // if (token) { + // if (!routerStore.asyncRouterFlag && whiteList.indexOf(from.name) < 0) { + // await getRouter(userStore) + // } + // token 可以解析但是却是不存在的用户 id 或角色 id 会导致无限调用 + // (userStore.userInfo?.authority?.defaultRouter != null) { + // if (router.hasRoute(userStore.userInfo.authority.defaultRouter)) { + // return { name: userStore.userInfo.authority.defaultRouter } + // } else { + // return { path: '/layout/404' } + // } + // } else { + // 强制退出账号 + // userStore.ClearStorage() + // return { + // name: 'Login', + // query: { + // redirect: document.location.hash + // } + // } + // } + // } else { + return true + // } + } else { + // 不在白名单中并且已经登录的时候 + if (token) { + // 添加flag防止多次获取动态路由和栈溢出 + if (!routerStore.asyncRouterFlag && whiteList.indexOf(from.name) < 0) { + await getRouter(userStore) + if (userStore.token) { + if (router.hasRoute(userStore.userInfo.authority.defaultRouter)) { + return { ...to, replace: true } + } else { + return { path: '/layout/404' } + } + } else { + return { + name: 'Login', + query: { redirect: to.href } + } + } + } else { + if (to.matched.length) { + return true + } else { + return { path: '/layout/404' } + } + } + } + // 不在白名单中并且未登录的时候 + if (!token) { + return { + name: 'Login', + query: { + redirect: document.location.hash + } + } + } + } +}) + +router.afterEach(() => { + // 路由加载完成后关闭进度条 + document.getElementsByClassName('main-cont main-right')[0]?.scrollTo(0, 0) + Nprogress.done() +}) + +router.onError(() => { + // 路由发生错误后销毁进度条 + Nprogress.remove() +}) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/index.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/index.js new file mode 100644 index 000000000..a6063cf9d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/index.js @@ -0,0 +1,7 @@ +import { createPinia } from 'pinia' + +const store = createPinia() + +export { + store +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/dictionary.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/dictionary.js new file mode 100644 index 000000000..536922282 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/dictionary.js @@ -0,0 +1,39 @@ +import { findSysDictionary } from '@/api/sysDictionary' + +import { defineStore } from 'pinia' +import { ref } from 'vue' + +export const useDictionaryStore = defineStore('dictionary', () => { + const dictionaryMap = ref({}) + + const setDictionaryMap = (dictionaryRes) => { + dictionaryMap.value = { ...dictionaryMap.value, ...dictionaryRes } + } + + const getDictionary = async(type) => { + if (dictionaryMap.value[type] && dictionaryMap.value[type].length) { + return dictionaryMap.value[type] + } else { + const res = await findSysDictionary({ type }) + if (res.code === 0) { + const dictionaryRes = {} + const dict = [] + res.data.resysDictionary.sysDictionaryDetails && res.data.resysDictionary.sysDictionaryDetails.forEach(item => { + dict.push({ + label: item.label, + value: item.value + }) + }) + dictionaryRes[res.data.resysDictionary.type] = dict + setDictionaryMap(dictionaryRes) + return dictionaryMap.value[type] + } + } + } + + return { + dictionaryMap, + setDictionaryMap, + getDictionary + } +}) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/router.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/router.js new file mode 100644 index 000000000..36b9ec009 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/router.js @@ -0,0 +1,103 @@ +import { asyncRouterHandle } from '@/utils/asyncRouter' +import { emitter } from '@/utils/bus.js' +import { asyncMenu } from '@/api/menu' +import { defineStore } from 'pinia' +import { ref } from 'vue' + +const notLayoutRouterArr = [] +const keepAliveRoutersArr = [] +const nameMap = {} + +const formatRouter = (routes, routeMap, parent) => { + routes && routes.forEach(item => { + item.parent = parent + item.meta.btns = item.btns + item.meta.hidden = item.hidden + if (item.meta.defaultMenu === true) { + if (!parent) { + item = { ...item, path: `/${item.path}` } + notLayoutRouterArr.push(item) + } + } + routeMap[item.name] = item + if (item.children && item.children.length > 0) { + formatRouter(item.children, routeMap, item) + } + }) +} + +const KeepAliveFilter = (routes) => { + routes && routes.forEach(item => { + // 子菜单中有 keep-alive 的,父菜单也必须 keep-alive,否则无效。这里将子菜单中有 keep-alive 的父菜单也加入。 + if ((item.children && item.children.some(ch => ch.meta.keepAlive) || item.meta.keepAlive)) { + item.component && item.component().then(val => { + keepAliveRoutersArr.push(val.default.name) + nameMap[item.name] = val.default.name + }) + } + if (item.children && item.children.length > 0) { + KeepAliveFilter(item.children) + } + }) +} + +export const useRouterStore = defineStore('router', () => { + const keepAliveRouters = ref([]) + const asyncRouterFlag = ref(0) + const setKeepAliveRouters = (history) => { + const keepArrTemp = [] + history.forEach(item => { + if (nameMap[item.name]) { + keepArrTemp.push(nameMap[item.name]) + } + }) + keepAliveRouters.value = Array.from(new Set(keepArrTemp)) + } + emitter.on('setKeepAlive', setKeepAliveRouters) + + const asyncRouters = ref([]) + const routeMap = ({}) + // 从后台获取动态路由 + const SetAsyncRouter = async() => { + asyncRouterFlag.value++ + const baseRouter = [{ + path: '/layout', + name: 'layout', + component: 'view/layout/index.vue', + meta: { + title: '底层layout' + }, + children: [] + }] + const asyncRouterRes = await asyncMenu() + const asyncRouter = asyncRouterRes.data.menus + asyncRouter && asyncRouter.push({ + path: 'reload', + name: 'Reload', + hidden: true, + meta: { + title: '', + closeTab: true, + }, + component: 'view/error/reload.vue' + }) + formatRouter(asyncRouter, routeMap) + baseRouter[0].children = asyncRouter + if (notLayoutRouterArr.length !== 0) { + baseRouter.push(...notLayoutRouterArr) + } + asyncRouterHandle(baseRouter) + KeepAliveFilter(asyncRouter) + asyncRouters.value = baseRouter + return true + } + + return { + asyncRouters, + keepAliveRouters, + asyncRouterFlag, + SetAsyncRouter, + routeMap + } +}) + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/user.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/user.js new file mode 100644 index 000000000..c53ddc6c8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/pinia/modules/user.js @@ -0,0 +1,175 @@ +import { login, getUserInfo, setSelfInfo, getMoreInfo} from '@/api/user' +import { jsonInBlacklist } from '@/api/jwt' +import router from '@/router/index' +import { ElLoading, ElMessage } from 'element-plus' +import { defineStore } from 'pinia' +import { ref, computed, watch } from 'vue' +import { useRouterStore } from './router' + +export const useUserStore = defineStore('user', () => { + const loadingInstance = ref(null) + + const userInfo = ref({ + uuid: '', + nickName: '', + headerImg: '', + authority: {}, + sideMode: 'dark', + activeColor: 'var(--el-color-primary)', + baseColor: '#fff', + money: 0, + }) + + const usermoney = ref(0) + + const token = ref(window.localStorage.getItem('token') || '') + const setUserInfo = (val) => { + userInfo.value = val + } + + + const setToken = (val) => { + token.value = val + } + + const NeedInit = () => { + token.value = '' + window.localStorage.removeItem('token') + localStorage.clear() + router.push({ name: 'Init', replace: true }) + } + + const ResetUserInfo = (value = {}) => { + userInfo.value = { + ...userInfo.value, + ...value + } + } + /* 获取用户信息*/ + const GetUserInfo = async() => { + const res = await getUserInfo() + if (res.code === 0) { + console.log(res) + const moreInfo = await getMoreInfo(res.data.userInfo.nickName) + res.data.userInfo.money = moreInfo.data.rechainuse.money + res.data.userInfo.organization = moreInfo.data.rechainuse.organization + res.data.userInfo.biaoshi = moreInfo.data.rechainuse.biaoshi + setUserInfo(res.data.userInfo) + } + return res + } + + + /* 登录*/ + const LoginIn = async(loginInfo) => { + loadingInstance.value = ElLoading.service({ + fullscreen: true, + text: '登录中,请稍候...', + }) + try { + const res = await login(loginInfo) + if (res.code === 0) { + setUserInfo(res.data.user) + setToken(res.data.token) + const routerStore = useRouterStore() + await routerStore.SetAsyncRouter() + const asyncRouters = routerStore.asyncRouters + asyncRouters.forEach(asyncRouter => { + router.addRoute(asyncRouter) + }) + + if (!router.hasRoute(userInfo.value.authority.defaultRouter)) { + ElMessage.error('请联系管理员进行授权') + } else { + await router.replace({ name: userInfo.value.authority.defaultRouter }) + } + + loadingInstance.value.close() + + const isWin = ref(/windows/i.test(navigator.userAgent)) + if (isWin.value) { + window.localStorage.setItem('osType', 'WIN') + } else { + window.localStorage.setItem('osType', 'MAC') + } + return true + } + } catch (e) { + loadingInstance.value.close() + } + loadingInstance.value.close() + } + /* 登出*/ + const LoginOut = async() => { + const res = await jsonInBlacklist() + if (res.code === 0) { + token.value = '' + sessionStorage.clear() + localStorage.clear() + router.push({ name: 'Login', replace: true }) + window.location.reload() + } + } + /* 清理数据 */ + const ClearStorage = async() => { + token.value = '' + sessionStorage.clear() + localStorage.clear() + } + /* 设置侧边栏模式*/ + const changeSideMode = async(data) => { + const res = await setSelfInfo({ sideMode: data }) + if (res.code === 0) { + userInfo.value.sideMode = data + ElMessage({ + type: 'success', + message: '设置成功' + }) + } + } + + const mode = computed(() => userInfo.value.sideMode) + const sideMode = computed(() => { + if (userInfo.value.sideMode === 'dark') { + return '#191a23' + } else if (userInfo.value.sideMode === 'light') { + return '#fff' + } else { + return userInfo.value.sideMode + } + }) + const baseColor = computed(() => { + if (userInfo.value.sideMode === 'dark') { + return '#fff' + } else if (userInfo.value.sideMode === 'light') { + return '#191a23' + } else { + return userInfo.value.baseColor + } + }) + const activeColor = computed(() => { + return 'var(--el-color-primary)' + }) + + watch(() => token.value, () => { + window.localStorage.setItem('token', token.value) + }) + + return { + userInfo, + token, + NeedInit, + ResetUserInfo, + GetUserInfo, + LoginIn, + LoginOut, + changeSideMode, + mode, + sideMode, + setToken, + baseColor, + activeColor, + loadingInstance, + ClearStorage, + } +}) diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/plugin/email/api/email.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/plugin/email/api/email.js new file mode 100644 index 000000000..590c862f4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/plugin/email/api/email.js @@ -0,0 +1,30 @@ +import service from '@/utils/request' +// @Tags System +// @Summary 发送测试邮件 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"发送成功"}" +// @Router /email/emailTest [post] +export const emailTest = (data) => { + return service({ + url: '/email/emailTest', + method: 'post', + data + }) +} + +// @Tags System +// @Summary 发送邮件 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body email_response.Email true "发送邮件必须的参数" +// @Success 200 {string} string "{"success":true,"data":{},"msg":"发送成功"}" +// @Router /email/sendEmail [post] +export const sendEmail = (data) => { + return service({ + url: '/email/sendEmail', + method: 'post', + data + }) +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/plugin/email/view/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/plugin/email/view/index.vue new file mode 100644 index 000000000..11d57e44f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/plugin/email/view/index.vue @@ -0,0 +1,63 @@ + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/router/index.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/router/index.js new file mode 100644 index 000000000..93816f37f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/router/index.js @@ -0,0 +1,63 @@ +import { createRouter, createWebHashHistory } from 'vue-router' + +const routes = [{ + path: '/', + redirect: '/login' +}, +{ + path: '/init', + name: 'Init', + component: () => import('@/view/init/index.vue') +}, +{ + path: '/login', + name: 'Login', + component: () => import('@/view/login/index.vue') +}, +{ + path: '/txt2img', + name: 'Txt2img', + component: () => import('@/view/txt2img/index.vue') +}, +{ + path: '/:catchAll(.*)', + meta: { + closeTab: true, + }, + component: () => import('@/view/error/index.vue') +}, +{ + path: '/img2img', + name: 'Img2img', + component: () => import('@/view/img2img/img2img.vue') +}, +{ + path: '/img2imgForm', + name: 'Img2imgForm', + component: () => import('@/view/img2img/img2imgForm.vue') +}, +{ + path: '/test111', + name: 'Test111', + component: () => import('@/view/test111/index.vue') +}, +{ + path: '/search', + name: 'Search', + component: () => import('@/view/search/index.vue') +}, + { + path: '/transaction', + name: 'Transaction', + component: () => import('@/view/transaction/index.vue') + }, + + +] + +const router = createRouter({ + history: createWebHashHistory(), + routes, +}) + +export default router diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/element/index.scss b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/element/index.scss new file mode 100644 index 000000000..40ef0df5c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/element/index.scss @@ -0,0 +1,24 @@ +@forward 'element-plus/theme-chalk/src/common/var.scss' with ( + $colors: ( + 'white': #ffffff, + 'black': #000000, + 'primary': ( + 'base': #4d70ff, + ), + 'success': ( + 'base': #67c23a, + ), + 'warning': ( + 'base': #e6a23c, + ), + 'danger': ( + 'base': #f56c6c, + ), + 'error': ( + 'base': #f56c6c, + ), + 'info': ( + 'base': #909399, + ), + ) +); diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/element_visiable.scss b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/element_visiable.scss new file mode 100644 index 000000000..52aaf161c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/element_visiable.scss @@ -0,0 +1,37 @@ +@import '@/style/main.scss'; + +#app { + .el-button { + font-weight: 400; + border-radius: 2px; + } +} + +::-webkit-scrollbar { + @apply hidden; +} + + +.gva-search-box { + @apply p-6 pb-0.5 bg-white rounded mb-3; +} + +.gva-form-box { + @apply p-6 bg-white rounded; +} + +.gva-pagination { + @apply flex justify-end; + .el-pagination__editor { + .el-input__inner { + @apply h-8; + } + } + + .is-active { + @apply rounded text-white; + background: var(--el-color-primary); + color: #ffffff !important; + } +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/iconfont.css b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/iconfont.css new file mode 100644 index 000000000..bc091a05c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/iconfont.css @@ -0,0 +1,47 @@ +@font-face { + font-family: 'gvaIcon'; + src: url('data:font/ttf;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTZJUyU8AAA14AAAAHEdERUYAKQARAAANWAAAAB5PUy8yPJpJTAAAAVgAAABgY21hcM0T0L4AAAHYAAABWmdhc3D//wADAAANUAAAAAhnbHlmRk3UvwAAA0wAAAbYaGVhZB/a5jgAAADcAAAANmhoZWEHngOFAAABFAAAACRobXR4DaoBrAAAAbgAAAAebG9jYQbMCGgAAAM0AAAAGG1heHABGgB+AAABOAAAACBuYW1lXoIBAgAACiQAAAKCcG9zdN15OnUAAAyoAAAAqAABAAAAAQAA+a916l8PPPUACwQAAAAAAN5YUSMAAAAA3lhRIwBL/8ADwAM1AAAACAACAAAAAAAAAAEAAAOA/4AAXAQAAAAAAAPAAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAALAHIABQAAAAAAAgAAAAoACgAAAP8AAAAAAAAABAQAAZAABQAAAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZADA5mXmfQOA/4AAAAPcAIAAAAABAAAAAAAAAAAAAAAgAAEEAAAAAAAAAAQAAAAEAACLAIoAYAB1AHYASwBLAGAAAAAAAAMAAAADAAAAHAABAAAAAABUAAMAAQAAABwABAA4AAAACgAIAAIAAuZm5mrmduZ9//8AAOZl5mrmdeZ7//8ZnhmbGZEZjQABAAAAAAAAAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEYAigEcAbgCUAK6AxoDbAACAIsAIANsAswAEQAjAAAlIicBJjQ3ATYeAQYHCQEeAQYhIicBJjQ3ATYeAQYHCQEeAQYDSw0J/qsLCwFVChsSAgr+xAE8CgIV/qkNCP6qCgoBVgkbEgIK/sUBOwoCFCAJATULGQsBNQoCExwI/uL+4ggbFAkBNQsZCwE1CgITHAj+4v7iCRoUAAAAAAIAigAgA2sCzAARACIAAAE0JwEmDgEWFwkBDgEWMjcBNiUBJg4BFhcJAQ4BFjI3ATY0AiAL/qsJHBECCQE8/sQJAhQZCQFVCwFA/qsKGxICCgE8/sQKAhUZCQFVCwF1DQsBNQoCExwI/uL+4gkaFAkBNQskATUKAhMcCP7i/uIJGhQJATULGQADAGD/wAOgAzUATABcAGwAAAE1NCcmJyYiBwYHBh0BDgEdARQWOwEyNj0BNCYrATU0NzY3NjIXFhcWHQEjIgYdARQWOwEGBwYHLgEjIgYUFjMyNjc2NzY3PgE9ATQmBRUUBisBIiY9ATQ2OwEyFgUUBisBIiY9ATQ2OwEyFhUDYDAvT1O+U08vMBslLB9VHi0tHiAoJkFDnENBJiggHi0tHhUPJC5SChwRHCQkHBEeCHJAMxAfKiX9kAYFVQUGBgVVBQYCVQYFVQUGBgVVBQYByQxgUlAuMDAuUFJgDAQqG6seLCweqx4tCk5DQScnJydBQ04KLR6rHiwrGiAGDxElNiUSEAc1KkUBKx6rGyhFqwQGBgSrBQYGsAQGBgSrBQYGBQAABAB1//UDjQMLABsANwBSAHEAABMyNj0BFxYyNjQvATMyNjQmKwEiBwYHBh0BFBYFIgYdAScmIgYUHwEjIgYUFjsBMjc2NzY9ATYmJQc1NCYiBh0BFBcWFxY7ATI2NCYrATc2NCYGATQ1FSYnJisBIgYUFjsBBwYUFjI/ARUUFjI2PQEnJpUNE7wJHRMKvIcMFBQM1ggCDAgCFALiDRPJCRoTCcmJDBQUDNYIAg8CAwES/gbJExkUAggKBAbWDBQUDInJCRMXAgEHCwQG2AwUFAyJvAkSHgi8ExoTAgEB9RQMibwIEhkKvBMZFAIGDAQI1gwU6hQMickJExoJyRMZFAIICgQG2AwUIsmHDBQUDNYIAg8CAxQZE8kKGRMBAcABAQIOAwMUGRO8ChkTCbyHDBQUDNYFBAAABAB2//cDjgMMABoANQBRAG0AAAEjIgYUFjsBMjc2NzY9ATQmIgYdAScmIgYUFwEzMjY0JisBIgcGBwYdARQWMjY9ARcWMjY0JyUmJyYrASIGFBY7AQcGFBYyPwEVFBYyNj0BLgE3FhcWOwEyNjQmKwE3NjQmIg8BNTQmIgYdAR4BATqJDRMTDdUJAg8CAhMaE7cKGRQKAjeJDRMTDdUJAg8CAhMaE8gJHhIK/i8HCgQH1w0TEw2JyQoTHQnIFBkTAQKoBwoEBtYNExMNibwKFBkKvBMZFAICAhoUGRMCBwoEBtYNExMNib4KExoK/iAUGRMCBwoEB9UNExMNickIEhkK8w8CAhMZFMgKGRMJyYkNExMN1QIJzQ8CAhMZFLsKGhMKvIkNExMN1QMIAAAAAAUAS//LA7UDNQAUACkAKgA3AEQAAAEiBwYHBhQXFhcWMjc2NzY0JyYnJgMiJyYnJjQ3Njc2MhcWFxYUBwYHBgMjFB4BMj4BNC4BIg4BFyIGHQEUFjI2PQE0JgIAd2ZiOzs7O2Jm7mZiOzs7O2Jmd2VXVDIzMzJUV8pXVDIzMzJUV2UrDBQWFAwMFBYUDCsNExMaExMDNTs7YmbuZmI7Ozs7YmbuZmI7O/zWMzJUV8pXVDIzMzJUV8pXVDIzAjULFAwMFBYUDAwUgBQM6w0TEw3rDBQAAQBL/+ADwAMgAD0AAAEmBg8BLgEjIgcGBwYUFxYXFjMyPgE3Ni4BBgcOAiMiJyYnJjQ3Njc2MzIeARcnJg4BFh8BMj8BNj8BNCYDpgwXAxc5yXZyY184Ojo4X2NyWaB4HgULGhcFGWaJS2FUUTAwMTBRU2FIhGQbgA0WBw4NwgUIBAwDMQ0CsQMODFhmeDk3XmHiYV43OUV9UQ0XCQsMRWo6MC9PUr9TTy8wNmNBJQMOGhYDMwMBCAu6DRYAAAAAAgBg/8YDugMiAB4AMwAABSc+ATU0JyYnJiIHBgcGFBcWFxYzMjc2NxcWMjc2JiUiJyYnJjQ3Njc2MhcWFxYUBwYHBgOxviouNDFVV8lXVTIzMzJVV2RDPzwzvgkeCAcB/hxUSEYpKiopRkioSEYpKyspRkgCvjB9RGRYVDIzNDJVWMlXVTE0GBYqvgkJChuBKylGSKhIRikqKilGSKhIRikrAAAAABIA3gABAAAAAAAAABMAKAABAAAAAAABAAgATgABAAAAAAACAAcAZwABAAAAAAADAAgAgQABAAAAAAAEAAgAnAABAAAAAAAFAAsAvQABAAAAAAAGAAgA2wABAAAAAAAKACsBPAABAAAAAAALABMBkAADAAEECQAAACYAAAADAAEECQABABAAPAADAAEECQACAA4AVwADAAEECQADABAAbwADAAEECQAEABAAigADAAEECQAFABYApQADAAEECQAGABAAyQADAAEECQAKAFYA5AADAAEECQALACYBaABDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AABDcmVhdGVkIGJ5IGljb25mb250AABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAABHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuAABoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAABodHRwOi8vZm9udGVsbG8uY29tAAAAAAIAAAAAAAAACgAAAAAAAQAAAAAAAAAAAAAAAAAAAAAACwAAAAEAAgECAQMBBAEFAQYBBwEIAQkRYXJyb3ctZG91YmxlLWxlZnQSYXJyb3ctZG91YmxlLXJpZ2h0EGN1c3RvbWVyLXNlcnZpY2URZnVsbHNjcmVlbi1leHBhbmQRZnVsbHNjcmVlbi1zaHJpbmsGcHJvbXB0B3JlZnJlc2gGc2VhcmNoAAAAAf//AAIAAQAAAAwAAAAWAAAAAgABAAMACgABAAQAAAACAAAAAAAAAAEAAAAA1aQnCAAAAADeWFEjAAAAAN5YUSM=') format('truetype'); + font-weight: 600; + font-style: normal; + font-display: swap; +} +.gvaIcon { + font-family: "gvaIcon" !important; + font-size: 16px; + font-style: normal; + font-weight: 800; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + +.gvaIcon-arrow-double-left:before { + content: "\e665"; + } + +.gvaIcon-arrow-double-right:before { + content: "\e666"; +} + +.gvaIcon-fullscreen-shrink:before { + content: "\e676"; +} +.gvaIcon-customer-service:before { + content: "\e66a"; + } + +.gvaIcon-fullscreen-expand:before { + content: "\e675"; +} + +.gvaIcon-prompt:before { + content: "\e67b"; +} + +.gvaIcon-refresh:before { + content: "\e67c"; +} + +.gvaIcon-search:before { + content: "\e67d"; +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/main.scss b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/main.scss new file mode 100644 index 000000000..4976e741f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/style/main.scss @@ -0,0 +1,690 @@ +/* Document + ========================================================================== */ + + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +@import '@/style/iconfont.css'; +html { + line-height: 1.15; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} + + +/* Sections + ========================================================================== */ + + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + + +/* Grouping content + ========================================================================== */ + + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; + /* 1 */ + height: 0; + /* 1 */ + overflow: visible; + /* 2 */ +} + + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ +} + + +/* Text-level semantics + ========================================================================== */ + + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; + /* 1 */ + text-decoration: underline; + /* 2 */ + text-decoration: underline dotted; + /* 2 */ +} + + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ +} + + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + + +/* Embedded content + ========================================================================== */ + + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + + +/* Forms + ========================================================================== */ + + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 1 */ + line-height: 1.15; + /* 1 */ + margin: 0; + /* 2 */ +} + + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { + /* 1 */ + overflow: visible; +} + + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { + /* 1 */ + text-transform: none; +} + + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; + /* 1 */ + color: inherit; + /* 2 */ + display: table; + /* 1 */ + max-width: 100%; + /* 1 */ + padding: 0; + /* 3 */ + white-space: normal; + /* 1 */ +} + + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ +} + + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ +} + + +/* Interactive + ========================================================================== */ + + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + + +/* Misc + ========================================================================== */ + + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} + +HTML, +body, +div, +ul, +ol, +dl, +li, +dt, +dd, +p, +blockquote, +pre, +form, +fieldset, +table, +th, +td { + border: none; + font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif; + font-size: 14px; + margin: 0px; + padding: 0px; +} + +html, +body { + height: 100%; + width: 100%; +} + +address, +caption, +cite, +code, +th, +var { + font-style: normal; + font-weight: normal; +} + +a { + text-decoration: none; +} + +input::-ms-clear { + display: none; +} + +input::-ms-reveal { + display: none; +} + +input { + -webkit-appearance: none; + margin: 0; + outline: none; + padding: 0; +} + +input::-webkit-input-placeholder { + color: #ccc; +} + +input::-ms-input-placeholder { + color: #ccc; +} + +input::-moz-placeholder { + color: #ccc; +} + +input[type=submit], +input[type=button] { + cursor: pointer; +} + +button[disabled], +input[disabled] { + cursor: default; +} + +img { + border: none; +} + +ul, +ol, +li { + list-style-type: none; +} + +// 导航 +#app { + .el-container { + @apply relative h-full w-full; + } + .el-container.mobile.openside { + @apply fixed top-0; + } + .gva-aside { + @apply fixed top-0 left-0 z-[1001] overflow-hidden; + .el-menu { + @apply border-r-0; + } + } + .aside { + .el-menu--collapse { + >.el-menu-item { + display: flex; + justify-content: center; + } + } + .el-sub-menu { + .el-menu { + .is-active { + // 关闭三级菜单二级菜单样式 + ul { + border: none; + } + } + // 关闭三级菜单二级菜单样式 + .is-active.is-opened { + ul { + border: none; + } + } + } + } + } + .hideside { + .aside { + @apply w-[54px] + } + } + + .mobile { + .gva-aside { + @apply w-[54px]; + } + } + + .hideside { + .main-cont.el-main { + @apply ml-[54px]; + } + } + .mobile { + .main-cont.el-main { + @apply ml-0; + } + } +} + +// layout + +.admin-box { + @apply min-h-[calc(100vh-200px)] px-3 py-4 mt-28 mb-4 mx-1; + .el-table { + th { + @apply px-0 py-2; + .cell { + @apply leading-[40px] text-gray-700; + } + } + td { + @apply px-0 py-2; + .cell { + @apply leading-[40px] text-gray-600; + } + } + .is-leaf { + @apply border-b border-t-0 border-l-0 border-solid border-gray-50; + border-right:var(--el-table-border); + background: #F7FBFF !important; + } + } +} + +// table +.el-pagination { + @apply mt-8; + .btn-prev, + .btn-next { + @apply border border-solid border-gray-300 rounded; + } + .el-pager { + li { + @apply border border-solid border-gray-300 rounded text-gray-600 text-sm mx-1; + } + } +} + + +.el-container.layout-cont { + .header-cont { + @apply px-4 h-16 bg-white; + } + + + .main-cont { + @apply h-screen overflow-visible; + &.el-main { + @apply min-h-full ml-[220px] bg-main p-0 overflow-auto; + } + + .breadcrumb { + @apply h-16 flex items-center p-0 ml-12 text-lg; + .el-breadcrumb__item { + .el-breadcrumb__inner { + @apply text-gray-600; + } + } + .el-breadcrumb__item:nth-last-child(1) { + .el-breadcrumb__inner { + @apply text-gray-600; + } + } + } + + .router-history { + @apply bg-white p-0 border-t border-l-0 border-r-0 border-b-0 border-solid border-gray-100; + .el-tabs__header { + @apply m-0; + .el-tabs__item{ + @apply border-solid border-r border-t-0 border-gray-100 border-b-0 border-l-0; + } + .el-tabs__item.is-active { + @apply bg-blue-500 bg-opacity-5; + } + .el-tabs__nav { + @apply border-0; + } + } + } + + .aside { + @apply overflow-auto; + } + .el-menu-vertical { + @apply h-[calc(100vh-60px)]; + &:not(.el-menu--collapse) { + @apply w-[220px]; + } + } + .el-menu--collapse { + @apply w-[54px]; + li { + .el-tooltip, + .el-sub-menu__title { + @apply px-4; + } + } + } + } +} + +.el-dropdown { + @apply overflow-hidden +} + +.gva-table-box { + @apply p-6 bg-white rounded; +} + +.gva-btn-list { + @apply mb-3 flex gap-3 items-center; +} + + +#nprogress .bar { + background: #29d !important; +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/asyncRouter.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/asyncRouter.js new file mode 100644 index 000000000..dfa62bbd1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/asyncRouter.js @@ -0,0 +1,31 @@ +const viewModules = import.meta.glob('../view/**/*.vue') +const pluginModules = import.meta.glob('../plugin/**/*.vue') + +export const asyncRouterHandle = (asyncRouter) => { + asyncRouter.forEach(item => { + if (item.component && typeof item.component === 'string') { + if (item.component.split('/')[0] === 'view') { + item.component = dynamicImport(viewModules, item.component) + } else if (item.component.split('/')[0] === 'plugin') { + item.component = dynamicImport(pluginModules, item.component) + } + } + if (item.children) { + asyncRouterHandle(item.children) + } + }) +} + +function dynamicImport( + dynamicViewsModules, + component +) { + const keys = Object.keys(dynamicViewsModules) + const matchKeys = keys.filter((key) => { + const k = key.replace('../', '') + return k === component + }) + const matchKey = matchKeys[0] + + return dynamicViewsModules[matchKey] +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/brequest.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/brequest.js new file mode 100644 index 000000000..ca4fa9713 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/brequest.js @@ -0,0 +1,60 @@ +import axios from 'axios' // 引入axios + + + +const bservice = axios.create({ + baseURL: '/aaaa', + timeout: 1000 +}) + +let acitveAxios = 0 +let timer +const showLoading = () => { + acitveAxios++ + if (timer) { + clearTimeout(timer) + } + timer = setTimeout(() => { + if (acitveAxios > 0) { + emitter.emit('showLoading') + } + }, 400) +} + +const closeLoading = () => { + acitveAxios-- + if (acitveAxios <= 0) { + clearTimeout(timer) + emitter.emit('closeLoading') + } +} +// http request 拦截器 +bservice.interceptors.request.use( + config => { + + config.headers = { + 'Content-Type': 'application/json', + ...config.headers + } + return config + }, + error => { + ElMessage({ + showClose: true, + message: error, + type: 'error' + }) + return error + } +) + +// http response 拦截器 +bservice.interceptors.response.use( + response => { + return response.data + }, + error => { + return + } +) +export default bservice diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/btnAuth.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/btnAuth.js new file mode 100644 index 000000000..f94fa9bcb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/btnAuth.js @@ -0,0 +1,6 @@ +import { useRoute } from 'vue-router' +import { reactive } from 'vue' +export const useBtnAuth = () => { + const route = useRoute() + return route.meta.btns || reactive({}) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/bus.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/bus.js new file mode 100644 index 000000000..4b673fa2f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/bus.js @@ -0,0 +1,6 @@ + +// using ES6 modules +import mitt from 'mitt' + +export const emitter = mitt() + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/closeThisPage.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/closeThisPage.js new file mode 100644 index 000000000..b2a0c051c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/closeThisPage.js @@ -0,0 +1,5 @@ +import { emitter } from '@/utils/bus.js' + +export const closeThisPage = () => { + emitter.emit('closeThisPage') +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/date.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/date.js new file mode 100644 index 000000000..6bb8570bf --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/date.js @@ -0,0 +1,30 @@ +// 对Date的扩展,将 Date 转化为指定格式的String +// 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符, +// 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字) +// (new Date()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2006-07-02 08:09:04.423 +// (new Date()).Format("yyyy-M-d h:m:s.S") ==> 2006-7-2 8:9:4.18 +// eslint-disable-next-line no-extend-native +Date.prototype.Format = function(fmt) { + var o = { + 'M+': this.getMonth() + 1, // 月份 + 'd+': this.getDate(), // 日 + 'h+': this.getHours(), // 小时 + 'm+': this.getMinutes(), // 分 + 's+': this.getSeconds(), // 秒 + 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度 + 'S': this.getMilliseconds() // 毫秒 + } + if (/(y+)/.test(fmt)) { fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length)) } + for (var k in o) { + if (new RegExp('(' + k + ')').test(fmt)) { fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length))) } + } + return fmt +} + +export function formatTimeToStr(times, pattern) { + var d = new Date(times).Format('yyyy-MM-dd hh:mm:ss') + if (pattern) { + d = new Date(times).Format(pattern) + } + return d.toLocaleString() +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/dictionary.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/dictionary.js new file mode 100644 index 000000000..1b0dba829 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/dictionary.js @@ -0,0 +1,19 @@ +import { useDictionaryStore } from '@/pinia/modules/dictionary' +// 获取字典方法 使用示例 getDict('sex').then(res) 或者 async函数下 const res = await getDict('sex') +export const getDict = async(type) => { + const dictionaryStore = useDictionaryStore() + await dictionaryStore.getDictionary(type) + return dictionaryStore.dictionaryMap[type] +} + +// 字典文字展示方法 +export const showDictLabel = (dict, code) => { + if (!dict) { + return '' + } + const dictMap = {} + dict.forEach(item => { + dictMap[item.value] = item.label + }) + return dictMap[code] +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/doc.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/doc.js new file mode 100644 index 000000000..55a39490c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/doc.js @@ -0,0 +1,3 @@ +export const toDoc = (url) => { + window.open(url, '_blank') +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/downloadImg.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/downloadImg.js new file mode 100644 index 000000000..93fb2222d --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/downloadImg.js @@ -0,0 +1,19 @@ +export const downloadImage = (imgsrc, name) => { // 下载图片地址和图片名 + var image = new Image() + image.setAttribute('crossOrigin', 'anonymous') + image.onload = function() { + var canvas = document.createElement('canvas') + canvas.width = image.width + canvas.height = image.height + var context = canvas.getContext('2d') + context.drawImage(image, 0, 0, image.width, image.height) + var url = canvas.toDataURL('image/png') // 得到图片的base64编码数据 + + var a = document.createElement('a') // 生成一个a元素 + var event = new MouseEvent('click') // 创建一个单击事件 + a.download = name || 'photo' // 设置图片名称 + a.href = url // 将生成的URL设置为a.href属性 + a.dispatchEvent(event) // 触发a的单击事件 + } + image.src = imgsrc +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/fmtRouterTitle.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/fmtRouterTitle.js new file mode 100644 index 000000000..bcaeb676c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/fmtRouterTitle.js @@ -0,0 +1,13 @@ +export const fmtTitle = (title, now) => { + const reg = /\$\{(.+?)\}/ + const reg_g = /\$\{(.+?)\}/g + const result = title.match(reg_g) + if (result) { + result.forEach((item) => { + const key = item.match(reg)[1] + const value = now.params[key] || now.query[key] + title = title.replace(item, value) + }) + } + return title +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/format.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/format.js new file mode 100644 index 000000000..6fcd49446 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/format.js @@ -0,0 +1,53 @@ +import { formatTimeToStr } from '@/utils/date' +import { getDict } from '@/utils/dictionary' + +export const formatBoolean = (bool) => { + if (bool !== null) { + return bool ? '是' : '否' + } else { + return '' + } +} +export const formatDate = (time) => { + if (time !== null && time !== '') { + var date = new Date(time) + return formatTimeToStr(date, 'yyyy-MM-dd hh:mm:ss') + } else { + return '' + } +} + +export const filterDict = (value, options) => { + const rowLabel = options && options.filter(item => item.value === value) + return rowLabel && rowLabel[0] && rowLabel[0].label +} + +export const getDictFunc = async(type) => { + const dicts = await getDict(type) + return dicts +} + +const path = import.meta.env.VITE_BASE_PATH + ':' + import.meta.env.VITE_SERVER_PORT + '/' +export const ReturnArrImg = (arr) => { + const imgArr = [] + if (arr instanceof Array) { // 如果是数组类型 + for (const arrKey in arr) { + if (arr[arrKey].slice(0, 4) !== 'http') { + imgArr.push(path + arr[arrKey]) + } else { + imgArr.push(arr[arrKey]) + } + } + } else { // 如果不是数组类型 + if (arr.slice(0, 4) !== 'http') { + imgArr.push(path + arr) + } else { + imgArr.push(arr) + } + } + return imgArr +} + +export const onDownloadFile = (url) => { + window.open(path + url) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/image.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/image.js new file mode 100644 index 000000000..0111b8105 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/image.js @@ -0,0 +1,101 @@ +export default class ImageCompress { + constructor(file, fileSize, maxWH = 1920) { + this.file = file + this.fileSize = fileSize + this.maxWH = maxWH // 最大长宽 + } + + compress() { + // 压缩 + const fileType = this.file.type + const fileSize = this.file.size / 1024 + return new Promise(resolve => { + const reader = new FileReader() + reader.readAsDataURL(this.file) + reader.onload = () => { + const canvas = document.createElement('canvas') + const img = document.createElement('img') + img.src = reader.result + img.onload = () => { + const ctx = canvas.getContext('2d') + const _dWH = this.dWH(img.width, img.height, this.maxWH) + canvas.width = _dWH.width + canvas.height = _dWH.height + + // 清空后, 重写画布 + ctx.clearRect(0, 0, canvas.width, canvas.height) + ctx.drawImage(img, 0, 0, canvas.width, canvas.height) + + const newImgData = canvas.toDataURL(fileType, 0.90) + + // 压缩宽高后的图像大小 + const newImgSize = this.fileSizeKB(newImgData) + + if (newImgSize > this.fileSize) { + console.log('图片尺寸太大!' + fileSize + ' >> ' + newImgSize) + } + + const blob = this.dataURLtoBlob(newImgData, fileType) + const nfile = new File([blob], this.file.name) + resolve(nfile) + } + } + }) + } + + /** + * 长宽等比缩小 + * 图像的一边(长或宽)为最大目标值 + */ + dWH(srcW, srcH, dMax) { + const defaults = { + width: srcW, + height: srcH + } + if (Math.max(srcW, srcH) > dMax) { + if (srcW > srcH) { + defaults.width = dMax + defaults.height = Math.round(srcH * (dMax / srcW)) + return defaults + } else { + defaults.height = dMax + defaults.width = Math.round(srcW * (dMax / srcH)) + return defaults + } + } else { + return defaults + } + } + + fileSizeKB(dataURL) { + let sizeKB = 0 + sizeKB = Math.round((dataURL.split(',')[1].length * 3 / 4) / 1024) + return sizeKB + } + + /** + * 转为Blob + */ + dataURLtoBlob(dataURL, fileType) { + const byteString = atob(dataURL.split(',')[1]) + let mimeString = dataURL.split(',')[0].split(':')[1].split(';')[0] + const ab = new ArrayBuffer(byteString.length) + const ia = new Uint8Array(ab) + for (let i = 0; i < byteString.length; i++) { + ia[i] = byteString.charCodeAt(i) + } + if (fileType) { + mimeString = fileType + } + return new Blob([ab], { type: mimeString, lastModifiedDate: new Date() }) + } +} + +const path = import.meta.env.VITE_FILE_API + '/' +export const getUrl = (url) => url && url.slice(0, 4) !== 'http' ? path + url : url + +export const isVideoExt = (url) => url.endsWith('.mp4') || url.endsWith('.mov') || url.endsWith('.webm') || url.endsWith('.ogg'); + +export const isVideoMime = (type) => type == 'video/mp4' || type == 'video/webm' || type == 'video/ogg'; + +export const isImageMime = (type) => type == 'image/jpeg' || type == 'image/png' || type == 'image/webp' || type == 'image/svg+xml'; diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/page.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/page.js new file mode 100644 index 000000000..6a3c6d843 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/page.js @@ -0,0 +1,9 @@ +import { fmtTitle } from '@/utils/fmtRouterTitle' +import config from '@/core/config' +export default function getPageTitle(pageTitle, route) { + if (pageTitle) { + const title = fmtTitle(pageTitle, route) + return `${title} - ${config.appName}` + } + return `${config.appName}` +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/positionToCode.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/positionToCode.js new file mode 100644 index 000000000..3fb1f9fa3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/positionToCode.js @@ -0,0 +1,36 @@ +export const initDom = () => { + if (import.meta.env.MODE === 'development') { + document.onmousedown = function(e) { + if (e.shiftKey && e.button === 0) { + e.preventDefault() + sendRequestToOpenFileInEditor(getFilePath(e)) + } + } + } +} + +const getFilePath = (e) => { + let element = e + if (e.target) { + element = e.target + } + if (!element || !element.getAttribute) return null + if (element.getAttribute('code-location')) { + return element.getAttribute('code-location') + } + return getFilePath(element.parentNode) +} + +const sendRequestToOpenFileInEditor = (filePath) => { + const protocol = window.location.protocol + ? window.location.protocol + : 'http:' + const hostname = window.location.hostname + ? window.location.hostname + : 'localhost' + const port = window.location.port ? window.location.port : '80' + fetch(`${protocol}//${hostname}:${port}/gvaPositionCode?filePath=${filePath}`) + .catch((error) => { + console.log(error) + }) +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/request.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/request.js new file mode 100644 index 000000000..747168254 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/request.js @@ -0,0 +1,143 @@ +import axios from 'axios' // 引入axios +import { ElMessage, ElMessageBox } from 'element-plus' +import { useUserStore } from '@/pinia/modules/user' +import { emitter } from '@/utils/bus.js' +import router from '@/router/index' + +const service = axios.create({ + baseURL: import.meta.env.VITE_BASE_API, + timeout: 99999 +}) + +let acitveAxios = 0 +let timer +const showLoading = () => { + acitveAxios++ + if (timer) { + clearTimeout(timer) + } + timer = setTimeout(() => { + if (acitveAxios > 0) { + emitter.emit('showLoading') + } + }, 400) +} + +const closeLoading = () => { + acitveAxios-- + if (acitveAxios <= 0) { + clearTimeout(timer) + emitter.emit('closeLoading') + } +} +// http request 拦截器 +service.interceptors.request.use( + config => { + if (!config.donNotShowLoading) { + showLoading() + } + const userStore = useUserStore() + config.headers = { + 'Content-Type': 'application/json', + 'x-token': userStore.token, + 'x-user-id': userStore.userInfo.ID, + ...config.headers + } + return config + }, + error => { + if (!error.config.donNotShowLoading) { + closeLoading() + } + ElMessage({ + showClose: true, + message: error, + type: 'error' + }) + return error + } +) + +// http response 拦截器 +service.interceptors.response.use( + response => { + const userStore = useUserStore() + if (!response.config.donNotShowLoading) { + closeLoading() + } + if (response.headers['new-token']) { + userStore.setToken(response.headers['new-token']) + } + if (response.data.code === 0 || response.headers.success === 'true') { + if (response.headers.msg) { + response.data.msg = decodeURI(response.headers.msg) + } + return response.data + } else { + ElMessage({ + showClose: true, + message: response.data.msg || decodeURI(response.headers.msg), + type: 'error' + }) + if (response.data.data && response.data.data.reload) { + userStore.token = '' + localStorage.clear() + router.push({ name: 'Login', replace: true }) + } + return response.data.msg ? response.data : response + } + }, + error => { + if (!error.config.donNotShowLoading) { + closeLoading() + } + + if (!error.response) { + ElMessageBox.confirm(` +

    检测到请求错误

    +

    ${error}

    + `, '请求报错', { + dangerouslyUseHTMLString: true, + distinguishCancelAndClose: true, + confirmButtonText: '稍后重试', + cancelButtonText: '取消' + }) + return + } + + switch (error.response.status) { + case 500: + ElMessageBox.confirm(` +

    检测到接口错误${error}

    +

    错误码 500 :此类错误内容常见于后台panic,请先查看后台日志,如果影响您正常使用可强制登出清理缓存

    + `, '接口报错', { + dangerouslyUseHTMLString: true, + distinguishCancelAndClose: true, + confirmButtonText: '清理缓存', + cancelButtonText: '取消' + }) + .then(() => { + const userStore = useUserStore() + userStore.token = '' + localStorage.clear() + router.push({ name: 'Login', replace: true }) + }) + break + case 404: + ElMessageBox.confirm(` +

    检测到接口错误${error}

    +

    错误码 404 :此类错误多为接口未注册(或未重启)或者请求路径(方法)与api路径(方法)不符--如果为自动化代码请检查是否存在空格

    + `, '接口报错', { + dangerouslyUseHTMLString: true, + distinguishCancelAndClose: true, + confirmButtonText: '我知道了', + cancelButtonText: '取消' + }) + break + } + + return error + } + +) +export default service diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/stringFun.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/stringFun.js new file mode 100644 index 000000000..eac417911 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/utils/stringFun.js @@ -0,0 +1,29 @@ +/* eslint-disable */ +export const toUpperCase = (str) => { + if (str[0]) { + return str.replace(str[0], str[0].toUpperCase()) + } else { + return '' + } +} + +export const toLowerCase = (str) => { + if (str[0]) { + return str.replace(str[0], str[0].toLowerCase()) + } else { + return '' + } +} + +// 驼峰转换下划线 +export const toSQLLine = (str) => { + if (str === 'ID') return 'ID' + return str.replace(/([A-Z])/g, "_$1").toLowerCase(); +} + +// 下划线转换驼峰 +export const toHump = (name) => { + return name.replace(/\_(\w)/g, function(all, letter) { + return letter.toUpperCase(); + }); +} \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/about/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/about/index.vue new file mode 100644 index 000000000..89d0e4e71 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/about/index.vue @@ -0,0 +1,208 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/background/Index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/background/Index.vue new file mode 100644 index 000000000..9fa499977 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/background/Index.vue @@ -0,0 +1,230 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/background/neon.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/background/neon.js new file mode 100644 index 000000000..8e63e0185 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/background/neon.js @@ -0,0 +1,164 @@ +export function neonPath(canvas, config = {}) { + const BW = config.blockWidth ?? 100 + const gap = config.gap ?? 80 + const rows = config.rows ?? 3 + const cols = config.cols ?? 4 + + const w = canvas.width + const h = canvas.height + const ctx = canvas.getContext('2d') + + function Network() { + this.crosses = [] + this.init() + } + + Network.prototype.init = function() { + for (let r = 0; r < rows; r++) { + const row = [] + for (let c = 0; c < cols; c++) { + row.push({ + x: BW / 2 + c * (BW + gap), + y: BW / 2 + r * (BW + gap), + }) + } + this.crosses.push(row) + } + // console.log(this.crosses); + } + + Network.prototype.randomPath = function() { + const fc = parseInt(Math.random() * cols) + const fr = parseInt(Math.random() * rows) + + let tc = parseInt(Math.random() * cols) + while (tc === fc) { + tc = parseInt(Math.random() * cols) + } + + let tr = parseInt(Math.random() * rows) + while (tr === fr) { + tr = parseInt(Math.random() * rows) + } + + const deltac = Math.abs(tc - fc) + const deltar = Math.abs(tr - fr) + + let delr = 0 + let delc = 0 + + if (deltar > deltac) { + delr = (tr - fr) > 0 ? 1 : -1 + } else { + delc = (tc - fc) > 0 ? 1 : -1 + } + + return { + from: this.crosses[fr][fc], + dis: BW + gap, + dir: { + x: delc, + y: delr + } + } + } + + const network = new Network() + + var opts = { + count: rows * cols + 10, + spawnChance: 0.3, + sparkChance: 0.1, + sparkDist: 10, + sparkSize: 2, + speed: 2.5, + neonSize: 3, + + // 重绘时,上一次图像的透明度 + repaintAlpha: 0.9, + // 主亮点阴影 + shadowToTimePropMult: 6, + + // color: 'hsl(hue, 100%, 0%)', + // 色彩变化率 + // hueChange: .1 + color: 'hsl(6, 100%, 0%)' + } + + // let tick = 0; + const lines = [] + + function Line() { + this.reset() + } + + Line.prototype.reset = function() { + const { from, dis, dir } = network.randomPath() + this.distance = dis + + this.x = from.x + this.y = from.y + // 速度 + this.vx = opts.speed * dir.x + this.vy = opts.speed * dir.y + // 进度为 0 + this.process = 0 + + // this.color = opts.color.replace('hue', tick * opts.hueChange); + } + + Line.prototype.step = function() { + // 行程 + const rate = this.process / this.distance + if (rate > 0.99) this.reset() + + // 这一步走的距离 + const sx = this.vx * (2 - rate) + const sy = this.vy * (2 - rate) + this.process += Math.sqrt(sx * sx + sy * sy) + + // 更新当前位置 + this.x += sx + this.y += sy + + // 大亮点 + ctx.shadowBlur = rate * opts.shadowToTimePropMult + ctx.fillStyle = ctx.shadowColor = this.color + ctx.fillRect(this.x, this.y, opts.neonSize, opts.neonSize) + + // 周围的小火花点 + if (Math.random() < opts.sparkChance) { + const xx = this.x + Math.random() * opts.sparkDist * (Math.random() < 0.5 ? 1 : -1) - opts.sparkSize / 2 + const yy = this.y + Math.random() * opts.sparkDist * (Math.random() < 0.5 ? 1 : -1) - opts.sparkSize / 2 + ctx.fillRect(xx, yy, opts.sparkSize, opts.sparkSize) + } + } + + function loop() { + requestAnimationFrame(loop) + // ++tick; + + // 下面这段代码值 $ 10M + var data = ctx.getImageData(0, 0, w, h).data + var newImgData = ctx.createImageData(w, h) + for (var i = 0; i < newImgData.data.length; i += 4) { + newImgData.data[i + 0] = data[i + 0] + newImgData.data[i + 1] = data[i + 1] + newImgData.data[i + 2] = data[i + 2] + const alpha = data[i + 3] * opts.repaintAlpha + // 设置一个 20 阈值,不会留痕迹 + newImgData.data[i + 3] = alpha > 20 ? alpha : 0 + } + ctx.putImageData(newImgData, 0, 0) + + if (lines.length < opts.count && Math.random() < opts.spawnChance) { lines.push(new Line()) } + + lines.map(function(line) { line.step() }) + } + + return { + init: function() { + requestAnimationFrame(loop) + } + } +} diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/backgroundtest/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/backgroundtest/index.vue new file mode 100644 index 000000000..923e17d76 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/backgroundtest/index.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/chatgpt/chatTable.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/chatgpt/chatTable.vue new file mode 100644 index 000000000..e7b4310f5 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/chatgpt/chatTable.vue @@ -0,0 +1,199 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/dashboardCharts/echartsLine.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/dashboardCharts/echartsLine.vue new file mode 100644 index 000000000..f52561969 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/dashboardCharts/echartsLine.vue @@ -0,0 +1,129 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/dashboardTable/dashboardTable.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/dashboardTable/dashboardTable.vue new file mode 100644 index 000000000..b9795df4b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/dashboardTable/dashboardTable.vue @@ -0,0 +1,118 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/index.vue new file mode 100644 index 000000000..d778001b3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/index.vue @@ -0,0 +1,261 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/weather.js b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/weather.js new file mode 100644 index 000000000..11b2152be --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dashboard/weather.js @@ -0,0 +1,31 @@ + +import axios from 'axios' +import { ref } from 'vue' + +const weatherInfo = ref('今日晴,0℃ - 10℃,天气寒冷,注意添加衣物。') +const amapKey = '8e8baa8a7317586c29ec694895de6e0a' + +export const useWeatherInfo = () => { + ip() + return weatherInfo +} + +export const ip = async() => { + // key换成你自己的 https://console.amap.com/dev/index + if (amapKey === '') { + return false + } + const res = await axios.get('https://restapi.amap.com/v3/ip?key=' + amapKey) + if (res.data.adcode) { + getWeather(res.data.adcode) + } +} + +const getWeather = async(code) => { + const response = await axios.get('https://restapi.amap.com/v3/weather/weatherInfo?key=' + amapKey + '&extensions=base&city=' + code) + if (response.data.status === '1') { + const s = response.data.lives[0] + weatherInfo.value = s.city + ' 天气:' + s.weather + ' 温度:' + s.temperature + '摄氏度 风向:' + s.winddirection + ' 风力:' + s.windpower + '级 空气湿度:' + s.humidity + } +} + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/datasearch/datasearch.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/datasearch/datasearch.vue new file mode 100644 index 000000000..a96d193dc --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/datasearch/datasearch.vue @@ -0,0 +1,519 @@ + + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dataupload/dataupload.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dataupload/dataupload.vue new file mode 100644 index 000000000..c1865369f --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/dataupload/dataupload.vue @@ -0,0 +1,131 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/error/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/error/index.vue new file mode 100644 index 000000000..9a0b6b9f8 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/error/index.vue @@ -0,0 +1,32 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/error/reload.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/error/reload.vue new file mode 100644 index 000000000..2504c55f0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/error/reload.vue @@ -0,0 +1,14 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/breakpoint/breakpoint.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/breakpoint/breakpoint.vue new file mode 100644 index 000000000..2d564ab21 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/breakpoint/breakpoint.vue @@ -0,0 +1,292 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/customer/customer.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/customer/customer.vue new file mode 100644 index 000000000..14539d8b4 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/customer/customer.vue @@ -0,0 +1,248 @@ + + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/index.vue new file mode 100644 index 000000000..8b322d621 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/index.vue @@ -0,0 +1,22 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/upload/upload.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/upload/upload.vue new file mode 100644 index 000000000..58588891b --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/example/upload/upload.vue @@ -0,0 +1,248 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/header/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/header/index.vue new file mode 100644 index 000000000..9a0b3aaae --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/header/index.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/img2img/img2img.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/img2img/img2img.vue new file mode 100644 index 000000000..dfe4b8351 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/img2img/img2img.vue @@ -0,0 +1,628 @@ + + + + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/img2img/img2imgForm.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/img2img/img2imgForm.vue new file mode 100644 index 000000000..bc5d98461 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/img2img/img2imgForm.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/init/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/init/index.vue new file mode 100644 index 000000000..bb10c1001 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/init/index.vue @@ -0,0 +1,419 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/knowledgegraph/graph.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/knowledgegraph/graph.vue new file mode 100644 index 000000000..d7d850cc0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/knowledgegraph/graph.vue @@ -0,0 +1,41 @@ + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/asyncSubmenu.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/asyncSubmenu.vue new file mode 100644 index 000000000..8b487f5a6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/asyncSubmenu.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/index.vue new file mode 100644 index 000000000..8cb1a6fb0 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/index.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/menuItem.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/menuItem.vue new file mode 100644 index 000000000..031d1def1 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/asideComponent/menuItem.vue @@ -0,0 +1,120 @@ + + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/historyComponent/history.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/historyComponent/history.vue new file mode 100644 index 000000000..12ab16269 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/historyComponent/history.vue @@ -0,0 +1,362 @@ + + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/index.vue new file mode 100644 index 000000000..22860eb20 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/aside/index.vue @@ -0,0 +1,149 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/bottomInfo/bottomInfo.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/bottomInfo/bottomInfo.vue new file mode 100644 index 000000000..7547096d2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/bottomInfo/bottomInfo.vue @@ -0,0 +1,37 @@ + + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/index.vue new file mode 100644 index 000000000..643eb780a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/index.vue @@ -0,0 +1,383 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/screenfull/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/screenfull/index.vue new file mode 100644 index 000000000..ab8da7f0a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/screenfull/index.vue @@ -0,0 +1,69 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/search/search.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/search/search.vue new file mode 100644 index 000000000..bc9e41034 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/search/search.vue @@ -0,0 +1,83 @@ + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/setting/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/setting/index.vue new file mode 100644 index 000000000..e360ae356 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/layout/setting/index.vue @@ -0,0 +1,153 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/login/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/login/index.vue new file mode 100644 index 000000000..f40960a1c --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/login/index.vue @@ -0,0 +1,300 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/person/person.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/person/person.vue new file mode 100644 index 000000000..78b007c0e --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/person/person.vue @@ -0,0 +1,775 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/routerHolder.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/routerHolder.vue new file mode 100644 index 000000000..4566d7bc6 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/routerHolder.vue @@ -0,0 +1,23 @@ + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/search/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/search/index.vue new file mode 100644 index 000000000..c60c8387a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/search/index.vue @@ -0,0 +1,415 @@ + + + + + \ No newline at end of file diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/api/api.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/api/api.vue new file mode 100644 index 000000000..1cbc3fe88 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/api/api.vue @@ -0,0 +1,544 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/authority.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/authority.vue new file mode 100644 index 000000000..4134314a2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/authority.vue @@ -0,0 +1,469 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/apis.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/apis.vue new file mode 100644 index 000000000..609169cd2 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/apis.vue @@ -0,0 +1,146 @@ + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/datas.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/datas.vue new file mode 100644 index 000000000..169186070 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/datas.vue @@ -0,0 +1,143 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/menus.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/menus.vue new file mode 100644 index 000000000..e22adc584 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/authority/components/menus.vue @@ -0,0 +1,247 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/dictionary/sysDictionary.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/dictionary/sysDictionary.vue new file mode 100644 index 000000000..7fc4de7eb --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/dictionary/sysDictionary.vue @@ -0,0 +1,275 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/dictionary/sysDictionaryDetail.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/dictionary/sysDictionaryDetail.vue new file mode 100644 index 000000000..331214f09 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/dictionary/sysDictionaryDetail.vue @@ -0,0 +1,363 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/index.vue new file mode 100644 index 000000000..d622809a7 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/index.vue @@ -0,0 +1,23 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/menu/icon.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/menu/icon.vue new file mode 100644 index 000000000..92c1db606 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/menu/icon.vue @@ -0,0 +1,1202 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/menu/menu.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/menu/menu.vue new file mode 100644 index 000000000..fe4adcef3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/menu/menu.vue @@ -0,0 +1,767 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/operation/sysOperationRecord.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/operation/sysOperationRecord.vue new file mode 100644 index 000000000..f98e3382a --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/operation/sysOperationRecord.vue @@ -0,0 +1,358 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/user/user.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/user/user.vue new file mode 100644 index 000000000..212713315 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/superAdmin/user/user.vue @@ -0,0 +1,530 @@ + + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/system/state.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/system/state.vue new file mode 100644 index 000000000..f3c05c587 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/system/state.vue @@ -0,0 +1,237 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/component/fieldDialog.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/component/fieldDialog.vue new file mode 100644 index 000000000..514ca5079 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/component/fieldDialog.vue @@ -0,0 +1,235 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/component/previewCodeDialg.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/component/previewCodeDialg.vue new file mode 100644 index 000000000..fec1ce344 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/component/previewCodeDialg.vue @@ -0,0 +1,82 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/index.vue new file mode 100644 index 000000000..7eacf07df --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCode/index.vue @@ -0,0 +1,947 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCodeAdmin/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCodeAdmin/index.vue new file mode 100644 index 000000000..4375531b3 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoCodeAdmin/index.vue @@ -0,0 +1,227 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoPkg/autoPkg.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoPkg/autoPkg.vue new file mode 100644 index 000000000..b9f120291 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoPkg/autoPkg.vue @@ -0,0 +1,213 @@ + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoPlug/autoPlug.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoPlug/autoPlug.vue new file mode 100644 index 000000000..e22453c24 --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/autoPlug/autoPlug.vue @@ -0,0 +1,350 @@ + + + + + diff --git a/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/formCreate/index.vue b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/formCreate/index.vue new file mode 100644 index 000000000..8dbc2cfae --- /dev/null +++ b/2024-shenzhen-FinTechathon/AIGCCM/Projects/web5.0/src/view/systemTools/formCreate/index.vue @@ -0,0 +1,19 @@ +